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 |
|---|---|---|---|---|---|---|---|---|
[
49,
26,
5,
50
] | 21 | [
"50-49=1",
"26-5=21",
"1*21=21"
] | Current State: 21:[49, 26, 5, 50], Operations: []
Exploring Operation: 50-49=1, Resulting Numbers: [26, 5, 1]
Generated Node #2: [26, 5, 1] from Operation: 50-49=1
Current State: 21:[26, 5, 1], Operations: ['50-49=1']
Exploring Operation: 26-5=21, Resulting Numbers: [1, 21]
Generated Node #3: [1, 21] from Operation: 26-5=21
Current State: 21:[1, 21], Operations: ['50-49=1', '26-5=21']
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[49, 26, 5, 50], Operations: []
Exploring Operation: 49-26=23, Resulting Numbers: [5, 50, 23]
Generated Node #0,0: 21:[5, 50, 23] Operation: 49-26=23
Exploring Operation: 50-26=24, Resulting Numbers: [49, 5, 24]
Generated Node #0,1: 21:[49, 5, 24] Operation: 50-26=24
Exploring Operation: 50-49=1, Resulting Numbers: [26, 5, 1]
Generated Node #0,2: 21:[26, 5, 1] Operation: 50-49=1
Moving to Node #0,2
Current State: 21:[26, 5, 1], Operations: ['50-49=1']
Exploring Operation: 26-1=25, Resulting Numbers: [5, 25]
Generated Node #0,2,0: 21:[5, 25] Operation: 26-1=25
Exploring Operation: 5+1=6, Resulting Numbers: [26, 6]
Generated Node #0,2,1: 21:[26, 6] Operation: 5+1=6
Exploring Operation: 26-5=21, Resulting Numbers: [1, 21]
Generated Node #0,2,2: 21:[1, 21] Operation: 26-5=21
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 21:[1, 21], Operations: ['50-49=1', '26-5=21']
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[49, 26, 5, 50], Operations: []
Exploring Operation: 50-49=1, Resulting Numbers: [26, 5, 1]
Generated Node #0,2: 21:[26, 5, 1] Operation: 50-49=1
Moving to Node #0,2
Current State: 21:[26, 5, 1], Operations: ['50-49=1']
Exploring Operation: 26-5=21, Resulting Numbers: [1, 21]
Generated Node #0,2,2: 21:[1, 21] Operation: 26-5=21
Moving to Node #0,2,2
Current State: 21:[1, 21], Operations: ['50-49=1', '26-5=21']
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
46,
25,
8,
64
] | 13 | [
"46-25=21",
"64/8=8",
"21-8=13"
] | Current State: 13:[46, 25, 8, 64], Operations: []
Exploring Operation: 46-25=21, Resulting Numbers: [8, 64, 21]
Generated Node #2: [8, 64, 21] from Operation: 46-25=21
Current State: 13:[8, 64, 21], Operations: ['46-25=21']
Exploring Operation: 64/8=8, Resulting Numbers: [21, 8]
Generated Node #3: [21, 8] from Operation: 64/8=8
Current State: 13:[21, 8], Operations: ['46-25=21', '64/8=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[46, 25, 8, 64], Operations: []
Exploring Operation: 64-25=39, Resulting Numbers: [46, 8, 39]
Generated Node #0,0: 13:[46, 8, 39] Operation: 64-25=39
Exploring Operation: 64-46=18, Resulting Numbers: [25, 8, 18]
Generated Node #0,1: 13:[25, 8, 18] Operation: 64-46=18
Exploring Operation: 46-25=21, Resulting Numbers: [8, 64, 21]
Generated Node #0,2: 13:[8, 64, 21] Operation: 46-25=21
Exploring Operation: 64/8=8, Resulting Numbers: [46, 25, 8]
Generated Node #0,3: 13:[46, 25, 8] Operation: 64/8=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[25, 8, 18], Operations: ['64-46=18']
Exploring Operation: 18-8=10, Resulting Numbers: [25, 10]
Generated Node #0,1,0: 13:[25, 10] Operation: 18-8=10
Exploring Operation: 25-18=7, Resulting Numbers: [8, 7]
Generated Node #0,1,1: 13:[8, 7] Operation: 25-18=7
Exploring Operation: 25+8=33, Resulting Numbers: [18, 33]
Generated Node #0,1,2: 13:[18, 33] Operation: 25+8=33
Exploring Operation: 25-8=17, Resulting Numbers: [18, 17]
Generated Node #0,1,3: 13:[18, 17] Operation: 25-8=17
Moving to Node #0,1,3
Current State: 13:[18, 17], Operations: ['64-46=18', '25-8=17']
Exploring Operation: 18*17=306, Resulting Numbers: [306]
306,13 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[8, 7], Operations: ['64-46=18', '25-18=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[25, 10], Operations: ['64-46=18', '18-8=10']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 25*10=250, Resulting Numbers: [250]
250,13 unequal: No Solution
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Moving to Node #0,1,2
Current State: 13:[18, 33], Operations: ['64-46=18', '25+8=33']
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,13 unequal: No Solution
Exploring Operation: 18*33=594, Resulting Numbers: [594]
594,13 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,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,3
Current State: 13:[46, 25, 8], Operations: ['64/8=8']
Exploring Operation: 25-8=17, Resulting Numbers: [46, 17]
Generated Node #0,3,0: 13:[46, 17] Operation: 25-8=17
Exploring Operation: 46+8=54, Resulting Numbers: [25, 54]
Generated Node #0,3,1: 13:[25, 54] Operation: 46+8=54
Exploring Operation: 46-25=21, Resulting Numbers: [8, 21]
Generated Node #0,3,2: 13:[8, 21] Operation: 46-25=21
Exploring Operation: 46-8=38, Resulting Numbers: [25, 38]
Generated Node #0,3,3: 13:[25, 38] Operation: 46-8=38
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 13:[8, 21], Operations: ['64/8=8', '46-25=21']
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,13 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[46, 25, 8, 64], Operations: []
Exploring Operation: 64/8=8, Resulting Numbers: [46, 25, 8]
Generated Node #0,3: 13:[46, 25, 8] Operation: 64/8=8
Moving to Node #0,3
Current State: 13:[46, 25, 8], Operations: ['64/8=8']
Exploring Operation: 46-25=21, Resulting Numbers: [8, 21]
Generated Node #0,3,2: 13:[8, 21] Operation: 46-25=21
Moving to Node #0,3,2
Current State: 13:[8, 21], Operations: ['64/8=8', '46-25=21']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
56,
15,
3,
66
] | 29 | [
"15+66=81",
"81/3=27",
"56-27=29"
] | Current State: 29:[56, 15, 3, 66], Operations: []
Exploring Operation: 15+66=81, Resulting Numbers: [56, 3, 81]
Generated Node #2: [56, 3, 81] from Operation: 15+66=81
Current State: 29:[56, 3, 81], Operations: ['15+66=81']
Exploring Operation: 81/3=27, Resulting Numbers: [56, 27]
Generated Node #3: [56, 27] from Operation: 81/3=27
Current State: 29:[56, 27], Operations: ['15+66=81', '81/3=27']
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[56, 15, 3, 66], Operations: []
Exploring Operation: 56-15=41, Resulting Numbers: [3, 66, 41]
Generated Node #0,0: 29:[3, 66, 41] Operation: 56-15=41
Exploring Operation: 66-56=10, Resulting Numbers: [15, 3, 10]
Generated Node #0,1: 29:[15, 3, 10] Operation: 66-56=10
Exploring Operation: 56-3=53, Resulting Numbers: [15, 66, 53]
Generated Node #0,2: 29:[15, 66, 53] Operation: 56-3=53
Exploring Operation: 66/3=22, Resulting Numbers: [56, 15, 22]
Generated Node #0,3: 29:[56, 15, 22] Operation: 66/3=22
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[56, 15, 22], Operations: ['66/3=22']
Exploring Operation: 56-15=41, Resulting Numbers: [22, 41]
Generated Node #0,3,0: 29:[22, 41] Operation: 56-15=41
Exploring Operation: 56-22=34, Resulting Numbers: [15, 34]
Generated Node #0,3,1: 29:[15, 34] Operation: 56-22=34
Exploring Operation: 15+22=37, Resulting Numbers: [56, 37]
Generated Node #0,3,2: 29:[56, 37] Operation: 15+22=37
Exploring Operation: 56+15=71, Resulting Numbers: [22, 71]
Generated Node #0,3,3: 29:[22, 71] Operation: 56+15=71
Moving to Node #0,3,0
Current State: 29:[22, 41], Operations: ['66/3=22', '56-15=41']
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,29 unequal: No Solution
Exploring Operation: 22*41=902, Resulting Numbers: [902]
902,29 unequal: No Solution
Exploring Operation: 22+41=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[15, 34], Operations: ['66/3=22', '56-22=34']
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,29 unequal: No Solution
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 15*34=510, Resulting Numbers: [510]
510,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[56, 37], Operations: ['66/3=22', '15+22=37']
Exploring Operation: 56-37=19, Resulting Numbers: [19]
19,29 unequal: No Solution
Exploring Operation: 56+37=93, Resulting Numbers: [93]
93,29 unequal: No Solution
Exploring Operation: 56*37=2072, Resulting Numbers: [2072]
2072,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[22, 71], Operations: ['66/3=22', '56+15=71']
Exploring Operation: 22+71=93, Resulting Numbers: [93]
93,29 unequal: No Solution
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 22*71=1562, Resulting Numbers: [1562]
1562,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[15, 3, 10], Operations: ['66-56=10']
Exploring Operation: 3*10=30, Resulting Numbers: [15, 30]
Generated Node #0,1,0: 29:[15, 30] Operation: 3*10=30
Exploring Operation: 15+3=18, Resulting Numbers: [10, 18]
Generated Node #0,1,1: 29:[10, 18] Operation: 15+3=18
Exploring Operation: 15+10=25, Resulting Numbers: [3, 25]
Generated Node #0,1,2: 29:[3, 25] Operation: 15+10=25
Exploring Operation: 3+10=13, Resulting Numbers: [15, 13]
Generated Node #0,1,3: 29:[15, 13] Operation: 3+10=13
Moving to Node #0,1,0
Current State: 29:[15, 30], Operations: ['66-56=10', '3*10=30']
Exploring Operation: 15*30=450, Resulting Numbers: [450]
450,29 unequal: No Solution
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 15+30=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[3, 25], Operations: ['66-56=10', '15+10=25']
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,29 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[10, 18], Operations: ['66-56=10', '15+3=18']
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,29 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[15, 13], Operations: ['66-56=10', '3+10=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[3, 66, 41], Operations: ['56-15=41']
Exploring Operation: 41-3=38, Resulting Numbers: [66, 38]
Generated Node #0,0,0: 29:[66, 38] Operation: 41-3=38
Exploring Operation: 66-41=25, Resulting Numbers: [3, 25]
Generated Node #0,0,1: 29:[3, 25] Operation: 66-41=25
Exploring Operation: 66/3=22, Resulting Numbers: [41, 22]
Generated Node #0,0,2: 29:[41, 22] Operation: 66/3=22
Exploring Operation: 66-3=63, Resulting Numbers: [41, 63]
Generated Node #0,0,3: 29:[41, 63] Operation: 66-3=63
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 29:[41, 22], Operations: ['56-15=41', '66/3=22']
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,29 unequal: No Solution
Exploring Operation: 41*22=902, Resulting Numbers: [902]
902,29 unequal: No Solution
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[3, 25], Operations: ['56-15=41', '66-41=25']
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,29 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[66, 38], Operations: ['56-15=41', '41-3=38']
Exploring Operation: 66*38=2508, Resulting Numbers: [2508]
2508,29 unequal: No Solution
Exploring Operation: 66+38=104, Resulting Numbers: [104]
104,29 unequal: No Solution
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 29:[41, 63], Operations: ['56-15=41', '66-3=63']
Exploring Operation: 41*63=2583, Resulting Numbers: [2583]
2583,29 unequal: No Solution
Exploring Operation: 41+63=104, Resulting Numbers: [104]
104,29 unequal: No Solution
Exploring Operation: 63-41=22, Resulting Numbers: [22]
22,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,2
Current State: 29:[15, 66, 53], Operations: ['56-3=53']
Exploring Operation: 15+66=81, Resulting Numbers: [53, 81]
Generated Node #0,2,0: 29:[53, 81] Operation: 15+66=81
Exploring Operation: 53-15=38, Resulting Numbers: [66, 38]
Generated Node #0,2,1: 29:[66, 38] Operation: 53-15=38
Exploring Operation: 66-53=13, Resulting Numbers: [15, 13]
Generated Node #0,2,2: 29:[15, 13] Operation: 66-53=13
Exploring Operation: 66-15=51, Resulting Numbers: [53, 51]
Generated Node #0,2,3: 29:[53, 51] Operation: 66-15=51
Moving to Node #0,2,2
Current State: 29:[15, 13], Operations: ['56-3=53', '66-53=13']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[53, 51], Operations: ['56-3=53', '66-15=51']
Exploring Operation: 53*51=2703, Resulting Numbers: [2703]
2703,29 unequal: No Solution
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 53+51=104, Resulting Numbers: [104]
104,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[66, 38], Operations: ['56-3=53', '53-15=38']
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 66+38=104, Resulting Numbers: [104]
104,29 unequal: No Solution
Exploring Operation: 66*38=2508, Resulting Numbers: [2508]
2508,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[53, 81], Operations: ['56-3=53', '15+66=81']
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 53*81=4293, Resulting Numbers: [4293]
4293,29 unequal: No Solution
Exploring Operation: 53+81=134, Resulting Numbers: [134]
134,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
77,
3,
80,
51
] | 50 | [
"77+3=80",
"80/80=1",
"51-1=50"
] | Current State: 50:[77, 3, 80, 51], Operations: []
Exploring Operation: 77+3=80, Resulting Numbers: [80, 51, 80]
Generated Node #2: [80, 51, 80] from Operation: 77+3=80
Current State: 50:[80, 51, 80], Operations: ['77+3=80']
Exploring Operation: 80/80=1, Resulting Numbers: [51, 1]
Generated Node #3: [51, 1] from Operation: 80/80=1
Current State: 50:[51, 1], Operations: ['77+3=80', '80/80=1']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[77, 3, 80, 51], Operations: []
Exploring Operation: 77-51=26, Resulting Numbers: [3, 80, 26]
Generated Node #0,0: 50:[3, 80, 26] Operation: 77-51=26
Exploring Operation: 80-77=3, Resulting Numbers: [3, 51, 3]
Generated Node #0,1: 50:[3, 51, 3] Operation: 80-77=3
Exploring Operation: 77-3=74, Resulting Numbers: [80, 51, 74]
Generated Node #0,2: 50:[80, 51, 74] Operation: 77-3=74
Exploring Operation: 80-51=29, Resulting Numbers: [77, 3, 29]
Generated Node #0,3: 50:[77, 3, 29] Operation: 80-51=29
Exploring Operation: 80-3=77, Resulting Numbers: [77, 51, 77]
Generated Node #0,4: 50:[77, 51, 77] Operation: 80-3=77
Moving to Node #0,1
Current State: 50:[3, 51, 3], Operations: ['80-77=3']
Exploring Operation: 3-3=0, Resulting Numbers: [51, 0]
Generated Node #0,1,0: 50:[51, 0] Operation: 3-3=0
Exploring Operation: 3/3=1, Resulting Numbers: [51, 1]
Generated Node #0,1,1: 50:[51, 1] Operation: 3/3=1
Exploring Operation: 51-3=48, Resulting Numbers: [3, 48]
Generated Node #0,1,2: 50:[3, 48] Operation: 51-3=48
Exploring Operation: 3+3=6, Resulting Numbers: [51, 6]
Generated Node #0,1,3: 50:[51, 6] Operation: 3+3=6
Exploring Operation: 3*3=9, Resulting Numbers: [51, 9]
Generated Node #0,1,4: 50:[51, 9] Operation: 3*3=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[51, 1], Operations: ['80-77=3', '3/3=1']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[77, 3, 80, 51], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [3, 51, 3]
Generated Node #0,1: 50:[3, 51, 3] Operation: 80-77=3
Moving to Node #0,1
Current State: 50:[3, 51, 3], Operations: ['80-77=3']
Exploring Operation: 3/3=1, Resulting Numbers: [51, 1]
Generated Node #0,1,1: 50:[51, 1] Operation: 3/3=1
Moving to Node #0,1,1
Current State: 50:[51, 1], Operations: ['80-77=3', '3/3=1']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
55,
24,
4,
4
] | 47 | [
"55-24=31",
"4*4=16",
"31+16=47"
] | Current State: 47:[55, 24, 4, 4], Operations: []
Exploring Operation: 55-24=31, Resulting Numbers: [4, 4, 31]
Generated Node #2: [4, 4, 31] from Operation: 55-24=31
Current State: 47:[4, 4, 31], Operations: ['55-24=31']
Exploring Operation: 4*4=16, Resulting Numbers: [31, 16]
Generated Node #3: [31, 16] from Operation: 4*4=16
Current State: 47:[31, 16], Operations: ['55-24=31', '4*4=16']
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[55, 24, 4, 4], Operations: []
Exploring Operation: 24+4=28, Resulting Numbers: [55, 4, 28]
Generated Node #0,0: 47:[55, 4, 28] Operation: 24+4=28
Exploring Operation: 4*4=16, Resulting Numbers: [55, 24, 16]
Generated Node #0,1: 47:[55, 24, 16] Operation: 4*4=16
Exploring Operation: 55-4=51, Resulting Numbers: [24, 4, 51]
Generated Node #0,2: 47:[24, 4, 51] Operation: 55-4=51
Exploring Operation: 24+4=28, Resulting Numbers: [55, 4, 28]
Generated Node #0,3: 47:[55, 4, 28] Operation: 24+4=28
Exploring Operation: 55-4=51, Resulting Numbers: [24, 4, 51]
Generated Node #0,4: 47:[24, 4, 51] Operation: 55-4=51
Moving to Node #0,1
Current State: 47:[55, 24, 16], Operations: ['4*4=16']
Exploring Operation: 24+16=40, Resulting Numbers: [55, 40]
Generated Node #0,1,0: 47:[55, 40] Operation: 24+16=40
Exploring Operation: 24-16=8, Resulting Numbers: [55, 8]
Generated Node #0,1,1: 47:[55, 8] Operation: 24-16=8
Exploring Operation: 55-24=31, Resulting Numbers: [16, 31]
Generated Node #0,1,2: 47:[16, 31] Operation: 55-24=31
Exploring Operation: 55-16=39, Resulting Numbers: [24, 39]
Generated Node #0,1,3: 47:[24, 39] Operation: 55-16=39
Exploring Operation: 55+16=71, Resulting Numbers: [24, 71]
Generated Node #0,1,4: 47:[24, 71] Operation: 55+16=71
Moving to Node #0,2
Current State: 47:[24, 4, 51], Operations: ['55-4=51']
Exploring Operation: 51-4=47, Resulting Numbers: [24, 47]
Generated Node #0,2,0: 47:[24, 47] Operation: 51-4=47
Exploring Operation: 24+4=28, Resulting Numbers: [51, 28]
Generated Node #0,2,1: 47:[51, 28] Operation: 24+4=28
Exploring Operation: 24-4=20, Resulting Numbers: [51, 20]
Generated Node #0,2,2: 47:[51, 20] Operation: 24-4=20
Exploring Operation: 24/4=6, Resulting Numbers: [51, 6]
Generated Node #0,2,3: 47:[51, 6] Operation: 24/4=6
Exploring Operation: 4+51=55, Resulting Numbers: [24, 55]
Generated Node #0,2,4: 47:[24, 55] Operation: 4+51=55
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[24, 47], Operations: ['55-4=51', '51-4=47']
Exploring Operation: 24*47=1128, Resulting Numbers: [1128]
1128,47 unequal: No Solution
Exploring Operation: 24+47=71, Resulting Numbers: [71]
71,47 unequal: No Solution
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,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:[51, 28], Operations: ['55-4=51', '24+4=28']
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,47 unequal: No Solution
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,47 unequal: No Solution
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,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:[51, 20], Operations: ['55-4=51', '24-4=20']
Exploring Operation: 51*20=1020, Resulting Numbers: [1020]
1020,47 unequal: No Solution
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 51+20=71, Resulting Numbers: [71]
71,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:[24, 55], Operations: ['55-4=51', '4+51=55']
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 24+55=79, Resulting Numbers: [79]
79,47 unequal: No Solution
Exploring Operation: 24*55=1320, Resulting Numbers: [1320]
1320,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 47:[51, 6], Operations: ['55-4=51', '24/4=6']
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,47 unequal: No Solution
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,47 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,47 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: 47:[24, 4, 51], Operations: ['55-4=51']
Exploring Operation: 24/4=6, Resulting Numbers: [51, 6]
Generated Node #0,4,0: 47:[51, 6] Operation: 24/4=6
Exploring Operation: 24-4=20, Resulting Numbers: [51, 20]
Generated Node #0,4,1: 47:[51, 20] Operation: 24-4=20
Exploring Operation: 24+4=28, Resulting Numbers: [51, 28]
Generated Node #0,4,2: 47:[51, 28] Operation: 24+4=28
Exploring Operation: 4+51=55, Resulting Numbers: [24, 55]
Generated Node #0,4,3: 47:[24, 55] Operation: 4+51=55
Exploring Operation: 51-4=47, Resulting Numbers: [24, 47]
Generated Node #0,4,4: 47:[24, 47] Operation: 51-4=47
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 47:[51, 28], Operations: ['55-4=51', '24+4=28']
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,47 unequal: No Solution
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,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:[24, 47], Operations: ['55-4=51', '51-4=47']
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 24*47=1128, Resulting Numbers: [1128]
1128,47 unequal: No Solution
Exploring Operation: 24+47=71, Resulting Numbers: [71]
71,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:[51, 20], Operations: ['55-4=51', '24-4=20']
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 51*20=1020, Resulting Numbers: [1020]
1020,47 unequal: No Solution
Exploring Operation: 51+20=71, Resulting Numbers: [71]
71,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,3
Current State: 47:[24, 55], Operations: ['55-4=51', '4+51=55']
Exploring Operation: 24*55=1320, Resulting Numbers: [1320]
1320,47 unequal: No Solution
Exploring Operation: 24+55=79, Resulting Numbers: [79]
79,47 unequal: No Solution
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,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:[51, 6], Operations: ['55-4=51', '24/4=6']
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,47 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,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:[55, 4, 28], Operations: ['24+4=28']
Exploring Operation: 28-4=24, Resulting Numbers: [55, 24]
Generated Node #0,0,0: 47:[55, 24] Operation: 28-4=24
Exploring Operation: 28/4=7, Resulting Numbers: [55, 7]
Generated Node #0,0,1: 47:[55, 7] Operation: 28/4=7
Exploring Operation: 4+28=32, Resulting Numbers: [55, 32]
Generated Node #0,0,2: 47:[55, 32] Operation: 4+28=32
Exploring Operation: 55-4=51, Resulting Numbers: [28, 51]
Generated Node #0,0,3: 47:[28, 51] Operation: 55-4=51
Exploring Operation: 55+4=59, Resulting Numbers: [28, 59]
Generated Node #0,0,4: 47:[28, 59] Operation: 55+4=59
Moving to Node #0,3
Current State: 47:[55, 4, 28], Operations: ['24+4=28']
Exploring Operation: 28-4=24, Resulting Numbers: [55, 24]
Generated Node #0,3,0: 47:[55, 24] Operation: 28-4=24
Exploring Operation: 55-4=51, Resulting Numbers: [28, 51]
Generated Node #0,3,1: 47:[28, 51] Operation: 55-4=51
Exploring Operation: 4+28=32, Resulting Numbers: [55, 32]
Generated Node #0,3,2: 47:[55, 32] Operation: 4+28=32
Exploring Operation: 28/4=7, Resulting Numbers: [55, 7]
Generated Node #0,3,3: 47:[55, 7] Operation: 28/4=7
Exploring Operation: 55+4=59, Resulting Numbers: [28, 59]
Generated Node #0,3,4: 47:[28, 59] Operation: 55+4=59
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 47:[28, 51], Operations: ['24+4=28', '55-4=51']
Exploring Operation: 28*51=1428, Resulting Numbers: [1428]
1428,47 unequal: No Solution
Exploring Operation: 28+51=79, Resulting Numbers: [79]
79,47 unequal: No Solution
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,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:[55, 32], Operations: ['24+4=28', '4+28=32']
Exploring Operation: 55+32=87, Resulting Numbers: [87]
87,47 unequal: No Solution
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 55*32=1760, Resulting Numbers: [1760]
1760,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,0
Current State: 47:[55, 24], Operations: ['24+4=28', '28-4=24']
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 55+24=79, Resulting Numbers: [79]
79,47 unequal: No Solution
Exploring Operation: 55*24=1320, Resulting Numbers: [1320]
1320,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:[28, 59], Operations: ['24+4=28', '55+4=59']
Exploring Operation: 28*59=1652, Resulting Numbers: [1652]
1652,47 unequal: No Solution
Exploring Operation: 28+59=87, Resulting Numbers: [87]
87,47 unequal: No Solution
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,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:[55, 7], Operations: ['24+4=28', '28/4=7']
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 55+7=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 55*7=385, Resulting Numbers: [385]
385,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:[55, 40], Operations: ['4*4=16', '24+16=40']
Exploring Operation: 55*40=2200, Resulting Numbers: [2200]
2200,47 unequal: No Solution
Exploring Operation: 55+40=95, Resulting Numbers: [95]
95,47 unequal: No Solution
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[55, 32], Operations: ['24+4=28', '4+28=32']
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 55*32=1760, Resulting Numbers: [1760]
1760,47 unequal: No Solution
Exploring Operation: 55+32=87, Resulting Numbers: [87]
87,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[28, 51], Operations: ['24+4=28', '55-4=51']
Exploring Operation: 28*51=1428, Resulting Numbers: [1428]
1428,47 unequal: No Solution
Exploring Operation: 28+51=79, Resulting Numbers: [79]
79,47 unequal: No Solution
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Moving to Node #0,0,4
Current State: 47:[28, 59], Operations: ['24+4=28', '55+4=59']
Exploring Operation: 28+59=87, Resulting Numbers: [87]
87,47 unequal: No Solution
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 28*59=1652, Resulting Numbers: [1652]
1652,47 unequal: No Solution
Moving to Node #0,1,3
Current State: 47:[24, 39], Operations: ['4*4=16', '55-16=39']
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,47 unequal: No Solution
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[55, 24], Operations: ['24+4=28', '28-4=24']
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 55*24=1320, Resulting Numbers: [1320]
1320,47 unequal: No Solution
Exploring Operation: 55+24=79, Resulting Numbers: [79]
79,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[55, 8], Operations: ['4*4=16', '24-16=8']
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[55, 24, 4, 4], Operations: []
Exploring Operation: 4*4=16, Resulting Numbers: [55, 24, 16]
Generated Node #0,1: 47:[55, 24, 16] Operation: 4*4=16
Moving to Node #0,1
Current State: 47:[55, 24, 16], Operations: ['4*4=16']
Exploring Operation: 24-16=8, Resulting Numbers: [55, 8]
Generated Node #0,1,1: 47:[55, 8] Operation: 24-16=8
Moving to Node #0,1,1
Current State: 47:[55, 8], Operations: ['4*4=16', '24-16=8']
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 0.914931 | hs_5 | sum_heuristic |
[
6,
15,
77,
76
] | 63 | [
"6*15=90",
"77+76=153",
"153-90=63"
] | Current State: 63:[6, 15, 77, 76], Operations: []
Exploring Operation: 6*15=90, Resulting Numbers: [77, 76, 90]
Generated Node #2: [77, 76, 90] from Operation: 6*15=90
Current State: 63:[77, 76, 90], Operations: ['6*15=90']
Exploring Operation: 77+76=153, Resulting Numbers: [90, 153]
Generated Node #3: [90, 153] from Operation: 77+76=153
Current State: 63:[90, 153], Operations: ['6*15=90', '77+76=153']
Exploring Operation: 153-90=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[6, 15, 77, 76], Operations: []
Exploring Operation: 77-15=62, Resulting Numbers: [6, 76, 62]
Generated Node #0,0: 63:[6, 76, 62] Operation: 77-15=62
Exploring Operation: 76-15=61, Resulting Numbers: [6, 77, 61]
Generated Node #0,1: 63:[6, 77, 61] Operation: 76-15=61
Exploring Operation: 77-76=1, Resulting Numbers: [6, 15, 1]
Generated Node #0,2: 63:[6, 15, 1] Operation: 77-76=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[6, 15, 1], Operations: ['77-76=1']
Exploring Operation: 6+1=7, Resulting Numbers: [15, 7]
Generated Node #0,2,0: 63:[15, 7] Operation: 6+1=7
Exploring Operation: 15-6=9, Resulting Numbers: [1, 9]
Generated Node #0,2,1: 63:[1, 9] Operation: 15-6=9
Exploring Operation: 6+15=21, Resulting Numbers: [1, 21]
Generated Node #0,2,2: 63:[1, 21] Operation: 6+15=21
Moving to Node #0,2,1
Current State: 63:[1, 9], Operations: ['77-76=1', '15-6=9']
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[1, 21], Operations: ['77-76=1', '6+15=21']
Exploring Operation: 1+21=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,63 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[15, 7], Operations: ['77-76=1', '6+1=7']
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[6, 76, 62], Operations: ['77-15=62']
Exploring Operation: 76-6=70, Resulting Numbers: [62, 70]
Generated Node #0,0,0: 63:[62, 70] Operation: 76-6=70
Exploring Operation: 76-62=14, Resulting Numbers: [6, 14]
Generated Node #0,0,1: 63:[6, 14] Operation: 76-62=14
Exploring Operation: 6+62=68, Resulting Numbers: [76, 68]
Generated Node #0,0,2: 63:[76, 68] Operation: 6+62=68
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[6, 14], Operations: ['77-15=62', '76-62=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,63 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[62, 70], Operations: ['77-15=62', '76-6=70']
Exploring Operation: 62*70=4340, Resulting Numbers: [4340]
4340,63 unequal: No Solution
Exploring Operation: 62+70=132, Resulting Numbers: [132]
132,63 unequal: No Solution
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 63:[76, 68], Operations: ['77-15=62', '6+62=68']
Exploring Operation: 76-68=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 76+68=144, Resulting Numbers: [144]
144,63 unequal: No Solution
Exploring Operation: 76*68=5168, Resulting Numbers: [5168]
5168,63 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: 63:[6, 77, 61], Operations: ['76-15=61']
Exploring Operation: 77-6=71, Resulting Numbers: [61, 71]
Generated Node #0,1,0: 63:[61, 71] Operation: 77-6=71
Exploring Operation: 6+61=67, Resulting Numbers: [77, 67]
Generated Node #0,1,1: 63:[77, 67] Operation: 6+61=67
Exploring Operation: 77-61=16, Resulting Numbers: [6, 16]
Generated Node #0,1,2: 63:[6, 16] Operation: 77-61=16
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 63:[6, 16], Operations: ['76-15=61', '77-61=16']
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 63:[61, 71], Operations: ['76-15=61', '77-6=71']
Exploring Operation: 61+71=132, Resulting Numbers: [132]
132,63 unequal: No Solution
Exploring Operation: 61*71=4331, Resulting Numbers: [4331]
4331,63 unequal: No Solution
Exploring Operation: 71-61=10, Resulting Numbers: [10]
10,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 63:[77, 67], Operations: ['76-15=61', '6+61=67']
Exploring Operation: 77+67=144, Resulting Numbers: [144]
144,63 unequal: No Solution
Exploring Operation: 77*67=5159, Resulting Numbers: [5159]
5159,63 unequal: No Solution
Exploring Operation: 77-67=10, Resulting Numbers: [10]
10,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
74,
35,
9,
70
] | 100 | [
"74-35=39",
"70-9=61",
"39+61=100"
] | Current State: 100:[74, 35, 9, 70], Operations: []
Exploring Operation: 74-35=39, Resulting Numbers: [9, 70, 39]
Generated Node #2: [9, 70, 39] from Operation: 74-35=39
Current State: 100:[9, 70, 39], Operations: ['74-35=39']
Exploring Operation: 70-9=61, Resulting Numbers: [39, 61]
Generated Node #3: [39, 61] from Operation: 70-9=61
Current State: 100:[39, 61], Operations: ['74-35=39', '70-9=61']
Exploring Operation: 39+61=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[74, 35, 9, 70], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [35, 9, 4]
Generated Node #0,0: 100:[35, 9, 4] Operation: 74-70=4
Exploring Operation: 70/35=2, Resulting Numbers: [74, 9, 2]
Generated Node #0,1: 100:[74, 9, 2] Operation: 70/35=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[35, 9, 4], Operations: ['74-70=4']
Exploring Operation: 35-9=26, Resulting Numbers: [4, 26]
Generated Node #0,0,0: 100:[4, 26] Operation: 35-9=26
Exploring Operation: 35+9=44, Resulting Numbers: [4, 44]
Generated Node #0,0,1: 100:[4, 44] Operation: 35+9=44
Moving to Node #0,0,0
Current State: 100:[4, 26], Operations: ['74-70=4', '35-9=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[4, 44], Operations: ['74-70=4', '35+9=44']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[74, 9, 2], Operations: ['70/35=2']
Exploring Operation: 74-9=65, Resulting Numbers: [2, 65]
Generated Node #0,1,0: 100:[2, 65] Operation: 74-9=65
Exploring Operation: 74/2=37, Resulting Numbers: [9, 37]
Generated Node #0,1,1: 100:[9, 37] Operation: 74/2=37
Moving to Node #0,1,1
Current State: 100:[9, 37], Operations: ['70/35=2', '74/2=37']
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,100 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[2, 65], Operations: ['70/35=2', '74-9=65']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,100 unequal: No Solution
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,100 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 |
[
41,
12,
96,
2
] | 66 | [
"96/12=8",
"41-8=33",
"2*33=66"
] | Current State: 66:[41, 12, 96, 2], Operations: []
Exploring Operation: 96/12=8, Resulting Numbers: [41, 2, 8]
Generated Node #2: [41, 2, 8] from Operation: 96/12=8
Current State: 66:[41, 2, 8], Operations: ['96/12=8']
Exploring Operation: 41-8=33, Resulting Numbers: [2, 33]
Generated Node #3: [2, 33] from Operation: 41-8=33
Current State: 66:[2, 33], Operations: ['96/12=8', '41-8=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[41, 12, 96, 2], Operations: []
Exploring Operation: 96/12=8, Resulting Numbers: [41, 2, 8]
Generated Node #0,0: 66:[41, 2, 8] Operation: 96/12=8
Exploring Operation: 96-41=55, Resulting Numbers: [12, 2, 55]
Generated Node #0,1: 66:[12, 2, 55] Operation: 96-41=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[41, 2, 8], Operations: ['96/12=8']
Exploring Operation: 41-8=33, Resulting Numbers: [2, 33]
Generated Node #0,0,0: 66:[2, 33] Operation: 41-8=33
Exploring Operation: 41-2=39, Resulting Numbers: [8, 39]
Generated Node #0,0,1: 66:[8, 39] Operation: 41-2=39
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[2, 33], Operations: ['96/12=8', '41-8=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[41, 12, 96, 2], Operations: []
Exploring Operation: 96/12=8, Resulting Numbers: [41, 2, 8]
Generated Node #0,0: 66:[41, 2, 8] Operation: 96/12=8
Moving to Node #0,0
Current State: 66:[41, 2, 8], Operations: ['96/12=8']
Exploring Operation: 41-8=33, Resulting Numbers: [2, 33]
Generated Node #0,0,0: 66:[2, 33] Operation: 41-8=33
Moving to Node #0,0,0
Current State: 66:[2, 33], Operations: ['96/12=8', '41-8=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
22,
95,
81,
72
] | 64 | [
"95-22=73",
"81-72=9",
"73-9=64"
] | Current State: 64:[22, 95, 81, 72], Operations: []
Exploring Operation: 95-22=73, Resulting Numbers: [81, 72, 73]
Generated Node #2: [81, 72, 73] from Operation: 95-22=73
Current State: 64:[81, 72, 73], Operations: ['95-22=73']
Exploring Operation: 81-72=9, Resulting Numbers: [73, 9]
Generated Node #3: [73, 9] from Operation: 81-72=9
Current State: 64:[73, 9], Operations: ['95-22=73', '81-72=9']
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[22, 95, 81, 72], Operations: []
Exploring Operation: 95-72=23, Resulting Numbers: [22, 81, 23]
Generated Node #0,0: 64:[22, 81, 23] Operation: 95-72=23
Exploring Operation: 95-81=14, Resulting Numbers: [22, 72, 14]
Generated Node #0,1: 64:[22, 72, 14] Operation: 95-81=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[22, 72, 14], Operations: ['95-81=14']
Exploring Operation: 22-14=8, Resulting Numbers: [72, 8]
Generated Node #0,1,0: 64:[72, 8] Operation: 22-14=8
Exploring Operation: 22+14=36, Resulting Numbers: [72, 36]
Generated Node #0,1,1: 64:[72, 36] Operation: 22+14=36
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 64:[72, 8], Operations: ['95-81=14', '22-14=8']
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[22, 95, 81, 72], Operations: []
Exploring Operation: 95-81=14, Resulting Numbers: [22, 72, 14]
Generated Node #0,1: 64:[22, 72, 14] Operation: 95-81=14
Moving to Node #0,1
Current State: 64:[22, 72, 14], Operations: ['95-81=14']
Exploring Operation: 22-14=8, Resulting Numbers: [72, 8]
Generated Node #0,1,0: 64:[72, 8] Operation: 22-14=8
Moving to Node #0,1,0
Current State: 64:[72, 8], Operations: ['95-81=14', '22-14=8']
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
26,
30,
3,
93
] | 27 | [
"30-26=4",
"93/3=31",
"31-4=27"
] | Current State: 27:[26, 30, 3, 93], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [3, 93, 4]
Generated Node #2: [3, 93, 4] from Operation: 30-26=4
Current State: 27:[3, 93, 4], Operations: ['30-26=4']
Exploring Operation: 93/3=31, Resulting Numbers: [4, 31]
Generated Node #3: [4, 31] from Operation: 93/3=31
Current State: 27:[4, 31], Operations: ['30-26=4', '93/3=31']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[26, 30, 3, 93], Operations: []
Exploring Operation: 93-30=63, Resulting Numbers: [26, 3, 63]
Generated Node #0,0: 27:[26, 3, 63] Operation: 93-30=63
Exploring Operation: 93-26=67, Resulting Numbers: [30, 3, 67]
Generated Node #0,1: 27:[30, 3, 67] Operation: 93-26=67
Exploring Operation: 93/3=31, Resulting Numbers: [26, 30, 31]
Generated Node #0,2: 27:[26, 30, 31] Operation: 93/3=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[26, 30, 31], Operations: ['93/3=31']
Exploring Operation: 30-26=4, Resulting Numbers: [31, 4]
Generated Node #0,2,0: 27:[31, 4] Operation: 30-26=4
Exploring Operation: 31-30=1, Resulting Numbers: [26, 1]
Generated Node #0,2,1: 27:[26, 1] Operation: 31-30=1
Exploring Operation: 31-26=5, Resulting Numbers: [30, 5]
Generated Node #0,2,2: 27:[30, 5] Operation: 31-26=5
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 27:[26, 1], Operations: ['93/3=31', '31-30=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[26, 30, 3, 93], Operations: []
Exploring Operation: 93/3=31, Resulting Numbers: [26, 30, 31]
Generated Node #0,2: 27:[26, 30, 31] Operation: 93/3=31
Moving to Node #0,2
Current State: 27:[26, 30, 31], Operations: ['93/3=31']
Exploring Operation: 31-30=1, Resulting Numbers: [26, 1]
Generated Node #0,2,1: 27:[26, 1] Operation: 31-30=1
Moving to Node #0,2,1
Current State: 27:[26, 1], Operations: ['93/3=31', '31-30=1']
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
56,
76,
66,
4
] | 95 | [
"66+4=70",
"76*70=5320",
"5320/56=95"
] | Current State: 95:[56, 76, 66, 4], Operations: []
Exploring Operation: 66+4=70, Resulting Numbers: [56, 76, 70]
Generated Node #2: [56, 76, 70] from Operation: 66+4=70
Current State: 95:[56, 76, 70], Operations: ['66+4=70']
Exploring Operation: 76*70=5320, Resulting Numbers: [56, 5320]
Generated Node #3: [56, 5320] from Operation: 76*70=5320
Current State: 95:[56, 5320], Operations: ['66+4=70', '76*70=5320']
Exploring Operation: 5320/56=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[56, 76, 66, 4], Operations: []
Exploring Operation: 76-66=10, Resulting Numbers: [56, 4, 10]
Generated Node #0,0: 95:[56, 4, 10] Operation: 76-66=10
Exploring Operation: 66-56=10, Resulting Numbers: [76, 4, 10]
Generated Node #0,1: 95:[76, 4, 10] Operation: 66-56=10
Exploring Operation: 76-56=20, Resulting Numbers: [66, 4, 20]
Generated Node #0,2: 95:[66, 4, 20] Operation: 76-56=20
Exploring Operation: 56+66=122, Resulting Numbers: [76, 4, 122]
Generated Node #0,3: 95:[76, 4, 122] Operation: 56+66=122
Moving to Node #0,1
Current State: 95:[76, 4, 10], Operations: ['66-56=10']
Exploring Operation: 76/4=19, Resulting Numbers: [10, 19]
Generated Node #0,1,0: 95:[10, 19] Operation: 76/4=19
Exploring Operation: 10-4=6, Resulting Numbers: [76, 6]
Generated Node #0,1,1: 95:[76, 6] Operation: 10-4=6
Exploring Operation: 76+10=86, Resulting Numbers: [4, 86]
Generated Node #0,1,2: 95:[4, 86] Operation: 76+10=86
Exploring Operation: 76+4=80, Resulting Numbers: [10, 80]
Generated Node #0,1,3: 95:[10, 80] Operation: 76+4=80
Moving to Node #0,2
Current State: 95:[66, 4, 20], Operations: ['76-56=20']
Exploring Operation: 66+4=70, Resulting Numbers: [20, 70]
Generated Node #0,2,0: 95:[20, 70] Operation: 66+4=70
Exploring Operation: 66-20=46, Resulting Numbers: [4, 46]
Generated Node #0,2,1: 95:[4, 46] Operation: 66-20=46
Exploring Operation: 20/4=5, Resulting Numbers: [66, 5]
Generated Node #0,2,2: 95:[66, 5] Operation: 20/4=5
Exploring Operation: 66+20=86, Resulting Numbers: [4, 86]
Generated Node #0,2,3: 95:[4, 86] Operation: 66+20=86
Moving to Node #0,0
Current State: 95:[56, 4, 10], Operations: ['76-66=10']
Exploring Operation: 56/4=14, Resulting Numbers: [10, 14]
Generated Node #0,0,0: 95:[10, 14] Operation: 56/4=14
Exploring Operation: 56-4=52, Resulting Numbers: [10, 52]
Generated Node #0,0,1: 95:[10, 52] Operation: 56-4=52
Exploring Operation: 56+10=66, Resulting Numbers: [4, 66]
Generated Node #0,0,2: 95:[4, 66] Operation: 56+10=66
Exploring Operation: 56-10=46, Resulting Numbers: [4, 46]
Generated Node #0,0,3: 95:[4, 46] Operation: 56-10=46
Moving to Node #0,3
Current State: 95:[76, 4, 122], Operations: ['56+66=122']
Exploring Operation: 122-4=118, Resulting Numbers: [76, 118]
Generated Node #0,3,0: 95:[76, 118] Operation: 122-4=118
Exploring Operation: 76/4=19, Resulting Numbers: [122, 19]
Generated Node #0,3,1: 95:[122, 19] Operation: 76/4=19
Exploring Operation: 122-76=46, Resulting Numbers: [4, 46]
Generated Node #0,3,2: 95:[4, 46] Operation: 122-76=46
Exploring Operation: 76+4=80, Resulting Numbers: [122, 80]
Generated Node #0,3,3: 95:[122, 80] Operation: 76+4=80
Moving to Node #0,1,0
Current State: 95:[10, 19], Operations: ['66-56=10', '76/4=19']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,95 unequal: No Solution
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[4, 86], Operations: ['66-56=10', '76+10=86']
Exploring Operation: 4*86=344, Resulting Numbers: [344]
344,95 unequal: No Solution
Exploring Operation: 4+86=90, Resulting Numbers: [90]
90,95 unequal: No Solution
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,95 unequal: No Solution
Moving to Node #0,2,3
Current State: 95:[4, 86], Operations: ['76-56=20', '66+20=86']
Exploring Operation: 4*86=344, Resulting Numbers: [344]
344,95 unequal: No Solution
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,95 unequal: No Solution
Exploring Operation: 4+86=90, Resulting Numbers: [90]
90,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[10, 14], Operations: ['76-66=10', '56/4=14']
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,95 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[76, 6], Operations: ['66-56=10', '10-4=6']
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,95 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,95 unequal: No Solution
Exploring Operation: 76*6=456, Resulting Numbers: [456]
456,95 unequal: No Solution
Moving to Node #0,1,3
Current State: 95:[10, 80], Operations: ['66-56=10', '76+4=80']
Exploring Operation: 10*80=800, Resulting Numbers: [800]
800,95 unequal: No Solution
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 10+80=90, Resulting Numbers: [90]
90,95 unequal: No Solution
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[20, 70], Operations: ['76-56=20', '66+4=70']
Exploring Operation: 20+70=90, Resulting Numbers: [90]
90,95 unequal: No Solution
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 20*70=1400, Resulting Numbers: [1400]
1400,95 unequal: No Solution
Moving to Node #0,3,1
Current State: 95:[122, 19], Operations: ['56+66=122', '76/4=19']
Exploring Operation: 122-19=103, Resulting Numbers: [103]
103,95 unequal: No Solution
Exploring Operation: 122*19=2318, Resulting Numbers: [2318]
2318,95 unequal: No Solution
Exploring Operation: 122+19=141, Resulting Numbers: [141]
141,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[4, 46], Operations: ['76-56=20', '66-20=46']
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,95 unequal: No Solution
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,95 unequal: No Solution
Moving to Node #0,0,3
Current State: 95:[4, 46], Operations: ['76-66=10', '56-10=46']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,95 unequal: No Solution
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,95 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Moving to Node #0,3,2
Current State: 95:[4, 46], Operations: ['56+66=122', '122-76=46']
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,95 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[66, 5], Operations: ['76-56=20', '20/4=5']
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,95 unequal: No Solution
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,95 unequal: No Solution
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[4, 66], Operations: ['76-66=10', '56+10=66']
Exploring Operation: 4*66=264, Resulting Numbers: [264]
264,95 unequal: No Solution
Exploring Operation: 4+66=70, Resulting Numbers: [70]
70,95 unequal: No Solution
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[10, 52], Operations: ['76-66=10', '56-4=52']
Exploring Operation: 10*52=520, Resulting Numbers: [520]
520,95 unequal: No Solution
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,95 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,95 unequal: No Solution
Moving to Node #0,3,3
Current State: 95:[122, 80], Operations: ['56+66=122', '76+4=80']
Exploring Operation: 122-80=42, Resulting Numbers: [42]
42,95 unequal: No Solution
Exploring Operation: 122*80=9760, Resulting Numbers: [9760]
9760,95 unequal: No Solution
Exploring Operation: 122+80=202, Resulting Numbers: [202]
202,95 unequal: No Solution
Moving to Node #0,3,0
Current State: 95:[76, 118], Operations: ['56+66=122', '122-4=118']
Exploring Operation: 76+118=194, Resulting Numbers: [194]
194,95 unequal: No Solution
Exploring Operation: 76*118=8968, Resulting Numbers: [8968]
8968,95 unequal: No Solution
Exploring Operation: 118-76=42, Resulting Numbers: [42]
42,95 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
8,
10,
91,
78
] | 84 | [
"78-8=70",
"70/10=7",
"91-7=84"
] | Current State: 84:[8, 10, 91, 78], Operations: []
Exploring Operation: 78-8=70, Resulting Numbers: [10, 91, 70]
Generated Node #2: [10, 91, 70] from Operation: 78-8=70
Current State: 84:[10, 91, 70], Operations: ['78-8=70']
Exploring Operation: 70/10=7, Resulting Numbers: [91, 7]
Generated Node #3: [91, 7] from Operation: 70/10=7
Current State: 84:[91, 7], Operations: ['78-8=70', '70/10=7']
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[8, 10, 91, 78], Operations: []
Exploring Operation: 91-8=83, Resulting Numbers: [10, 78, 83]
Generated Node #0,0: 84:[10, 78, 83] Operation: 91-8=83
Exploring Operation: 91-78=13, Resulting Numbers: [8, 10, 13]
Generated Node #0,1: 84:[8, 10, 13] Operation: 91-78=13
Moving to Node #0,1
Current State: 84:[8, 10, 13], Operations: ['91-78=13']
Exploring Operation: 10-8=2, Resulting Numbers: [13, 2]
Generated Node #0,1,0: 84:[13, 2] Operation: 10-8=2
Exploring Operation: 13-10=3, Resulting Numbers: [8, 3]
Generated Node #0,1,1: 84:[8, 3] Operation: 13-10=3
Moving to Node #0,0
Current State: 84:[10, 78, 83], Operations: ['91-8=83']
Exploring Operation: 10+78=88, Resulting Numbers: [83, 88]
Generated Node #0,0,0: 84:[83, 88] Operation: 10+78=88
Exploring Operation: 83-78=5, Resulting Numbers: [10, 5]
Generated Node #0,0,1: 84:[10, 5] Operation: 83-78=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[10, 5], Operations: ['91-8=83', '83-78=5']
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,84 unequal: No Solution
No 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: 84:[83, 88], Operations: ['91-8=83', '10+78=88']
Exploring Operation: 83+88=171, Resulting Numbers: [171]
171,84 unequal: No Solution
Exploring Operation: 88-83=5, Resulting Numbers: [5]
5,84 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: 84:[13, 2], Operations: ['91-78=13', '10-8=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[8, 3], Operations: ['91-78=13', '13-10=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,84 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
72,
37,
38,
80
] | 68 | [
"72*37=2664",
"2664-80=2584",
"2584/38=68"
] | Current State: 68:[72, 37, 38, 80], Operations: []
Exploring Operation: 72*37=2664, Resulting Numbers: [38, 80, 2664]
Generated Node #2: [38, 80, 2664] from Operation: 72*37=2664
Current State: 68:[38, 80, 2664], Operations: ['72*37=2664']
Exploring Operation: 2664-80=2584, Resulting Numbers: [38, 2584]
Generated Node #3: [38, 2584] from Operation: 2664-80=2584
Current State: 68:[38, 2584], Operations: ['72*37=2664', '2664-80=2584']
Exploring Operation: 2584/38=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[72, 37, 38, 80], Operations: []
Exploring Operation: 72-37=35, Resulting Numbers: [38, 80, 35]
Generated Node #0,0: 68:[38, 80, 35] Operation: 72-37=35
Exploring Operation: 80-38=42, Resulting Numbers: [72, 37, 42]
Generated Node #0,1: 68:[72, 37, 42] Operation: 80-38=42
Exploring Operation: 80-72=8, Resulting Numbers: [37, 38, 8]
Generated Node #0,2: 68:[37, 38, 8] Operation: 80-72=8
Exploring Operation: 72-38=34, Resulting Numbers: [37, 80, 34]
Generated Node #0,3: 68:[37, 80, 34] Operation: 72-38=34
Moving to Node #0,2
Current State: 68:[37, 38, 8], Operations: ['80-72=8']
Exploring Operation: 38-37=1, Resulting Numbers: [8, 1]
Generated Node #0,2,0: 68:[8, 1] Operation: 38-37=1
Exploring Operation: 37+38=75, Resulting Numbers: [8, 75]
Generated Node #0,2,1: 68:[8, 75] Operation: 37+38=75
Exploring Operation: 38-8=30, Resulting Numbers: [37, 30]
Generated Node #0,2,2: 68:[37, 30] Operation: 38-8=30
Exploring Operation: 37-8=29, Resulting Numbers: [38, 29]
Generated Node #0,2,3: 68:[38, 29] Operation: 37-8=29
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[8, 1], Operations: ['80-72=8', '38-37=1']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 68:[37, 30], Operations: ['80-72=8', '38-8=30']
Exploring Operation: 37+30=67, Resulting Numbers: [67]
67,68 unequal: No Solution
Exploring Operation: 37*30=1110, Resulting Numbers: [1110]
1110,68 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 68:[38, 29], Operations: ['80-72=8', '37-8=29']
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 38*29=1102, Resulting Numbers: [1102]
1102,68 unequal: No Solution
Exploring Operation: 38+29=67, Resulting Numbers: [67]
67,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 68:[8, 75], Operations: ['80-72=8', '37+38=75']
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,68 unequal: No Solution
Exploring Operation: 8*75=600, Resulting Numbers: [600]
600,68 unequal: No Solution
Exploring Operation: 8+75=83, Resulting Numbers: [83]
83,68 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: 68:[37, 80, 34], Operations: ['72-38=34']
Exploring Operation: 80-34=46, Resulting Numbers: [37, 46]
Generated Node #0,3,0: 68:[37, 46] Operation: 80-34=46
Exploring Operation: 80-37=43, Resulting Numbers: [34, 43]
Generated Node #0,3,1: 68:[34, 43] Operation: 80-37=43
Exploring Operation: 37-34=3, Resulting Numbers: [80, 3]
Generated Node #0,3,2: 68:[80, 3] Operation: 37-34=3
Exploring Operation: 37+34=71, Resulting Numbers: [80, 71]
Generated Node #0,3,3: 68:[80, 71] Operation: 37+34=71
Moving to Node #0,1
Current State: 68:[72, 37, 42], Operations: ['80-38=42']
Exploring Operation: 72-37=35, Resulting Numbers: [42, 35]
Generated Node #0,1,0: 68:[42, 35] Operation: 72-37=35
Exploring Operation: 42-37=5, Resulting Numbers: [72, 5]
Generated Node #0,1,1: 68:[72, 5] Operation: 42-37=5
Exploring Operation: 37+42=79, Resulting Numbers: [72, 79]
Generated Node #0,1,2: 68:[72, 79] Operation: 37+42=79
Exploring Operation: 72-42=30, Resulting Numbers: [37, 30]
Generated Node #0,1,3: 68:[37, 30] Operation: 72-42=30
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[72, 5], Operations: ['80-38=42', '42-37=5']
Exploring Operation: 72+5=77, Resulting Numbers: [77]
77,68 unequal: No Solution
Exploring Operation: 72*5=360, Resulting Numbers: [360]
360,68 unequal: No Solution
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 68:[37, 30], Operations: ['80-38=42', '72-42=30']
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 37*30=1110, Resulting Numbers: [1110]
1110,68 unequal: No Solution
Exploring Operation: 37+30=67, Resulting Numbers: [67]
67,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[42, 35], Operations: ['80-38=42', '72-37=35']
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 42+35=77, Resulting Numbers: [77]
77,68 unequal: No Solution
Exploring Operation: 42*35=1470, Resulting Numbers: [1470]
1470,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[72, 79], Operations: ['80-38=42', '37+42=79']
Exploring Operation: 72+79=151, Resulting Numbers: [151]
151,68 unequal: No Solution
Exploring Operation: 72*79=5688, Resulting Numbers: [5688]
5688,68 unequal: No Solution
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,68 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: 68:[38, 80, 35], Operations: ['72-37=35']
Exploring Operation: 80-38=42, Resulting Numbers: [35, 42]
Generated Node #0,0,0: 68:[35, 42] Operation: 80-38=42
Exploring Operation: 38+35=73, Resulting Numbers: [80, 73]
Generated Node #0,0,1: 68:[80, 73] Operation: 38+35=73
Exploring Operation: 80-35=45, Resulting Numbers: [38, 45]
Generated Node #0,0,2: 68:[38, 45] Operation: 80-35=45
Exploring Operation: 38-35=3, Resulting Numbers: [80, 3]
Generated Node #0,0,3: 68:[80, 3] Operation: 38-35=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[35, 42], Operations: ['72-37=35', '80-38=42']
Exploring Operation: 35+42=77, Resulting Numbers: [77]
77,68 unequal: No Solution
Exploring Operation: 35*42=1470, Resulting Numbers: [1470]
1470,68 unequal: No Solution
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 68:[80, 3], Operations: ['72-37=35', '38-35=3']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,68 unequal: No Solution
Exploring Operation: 80*3=240, Resulting Numbers: [240]
240,68 unequal: No Solution
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 68:[38, 45], Operations: ['72-37=35', '80-35=45']
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,68 unequal: No Solution
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 38*45=1710, Resulting Numbers: [1710]
1710,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[80, 73], Operations: ['72-37=35', '38+35=73']
Exploring Operation: 80*73=5840, Resulting Numbers: [5840]
5840,68 unequal: No Solution
Exploring Operation: 80+73=153, Resulting Numbers: [153]
153,68 unequal: No Solution
Exploring Operation: 80-73=7, Resulting Numbers: [7]
7,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 68:[34, 43], Operations: ['72-38=34', '80-37=43']
Exploring Operation: 34*43=1462, Resulting Numbers: [1462]
1462,68 unequal: No Solution
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 34+43=77, Resulting Numbers: [77]
77,68 unequal: No Solution
Moving to Node #0,3,2
Current State: 68:[80, 3], Operations: ['72-38=34', '37-34=3']
Exploring Operation: 80*3=240, Resulting Numbers: [240]
240,68 unequal: No Solution
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,68 unequal: No Solution
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,68 unequal: No Solution
Moving to Node #0,3,3
Current State: 68:[80, 71], Operations: ['72-38=34', '37+34=71']
Exploring Operation: 80+71=151, Resulting Numbers: [151]
151,68 unequal: No Solution
Exploring Operation: 80*71=5680, Resulting Numbers: [5680]
5680,68 unequal: No Solution
Exploring Operation: 80-71=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Moving to Node #0,3,0
Current State: 68:[37, 46], Operations: ['72-38=34', '80-34=46']
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 37*46=1702, Resulting Numbers: [1702]
1702,68 unequal: No Solution
Exploring Operation: 37+46=83, Resulting Numbers: [83]
83,68 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
94,
24,
7,
23
] | 43 | [
"94+24=118",
"7*23=161",
"161-118=43"
] | Current State: 43:[94, 24, 7, 23], Operations: []
Exploring Operation: 94+24=118, Resulting Numbers: [7, 23, 118]
Generated Node #2: [7, 23, 118] from Operation: 94+24=118
Current State: 43:[7, 23, 118], Operations: ['94+24=118']
Exploring Operation: 7*23=161, Resulting Numbers: [118, 161]
Generated Node #3: [118, 161] from Operation: 7*23=161
Current State: 43:[118, 161], Operations: ['94+24=118', '7*23=161']
Exploring Operation: 161-118=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[94, 24, 7, 23], Operations: []
Exploring Operation: 94-24=70, Resulting Numbers: [7, 23, 70]
Generated Node #0,0: 43:[7, 23, 70] Operation: 94-24=70
Exploring Operation: 94-7=87, Resulting Numbers: [24, 23, 87]
Generated Node #0,1: 43:[24, 23, 87] Operation: 94-7=87
Exploring Operation: 94-23=71, Resulting Numbers: [24, 7, 71]
Generated Node #0,2: 43:[24, 7, 71] Operation: 94-23=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[7, 23, 70], Operations: ['94-24=70']
Exploring Operation: 70-7=63, Resulting Numbers: [23, 63]
Generated Node #0,0,0: 43:[23, 63] Operation: 70-7=63
Exploring Operation: 7+23=30, Resulting Numbers: [70, 30]
Generated Node #0,0,1: 43:[70, 30] Operation: 7+23=30
Exploring Operation: 70-23=47, Resulting Numbers: [7, 47]
Generated Node #0,0,2: 43:[7, 47] Operation: 70-23=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[23, 63], Operations: ['94-24=70', '70-7=63']
Exploring Operation: 23*63=1449, Resulting Numbers: [1449]
1449,43 unequal: No Solution
Exploring Operation: 23+63=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[70, 30], Operations: ['94-24=70', '7+23=30']
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 70*30=2100, Resulting Numbers: [2100]
2100,43 unequal: No Solution
Exploring Operation: 70+30=100, Resulting Numbers: [100]
100,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[7, 47], Operations: ['94-24=70', '70-23=47']
Exploring Operation: 7*47=329, Resulting Numbers: [329]
329,43 unequal: No Solution
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[24, 23, 87], Operations: ['94-7=87']
Exploring Operation: 87-23=64, Resulting Numbers: [24, 64]
Generated Node #0,1,0: 43:[24, 64] Operation: 87-23=64
Exploring Operation: 24+23=47, Resulting Numbers: [87, 47]
Generated Node #0,1,1: 43:[87, 47] Operation: 24+23=47
Exploring Operation: 87-24=63, Resulting Numbers: [23, 63]
Generated Node #0,1,2: 43:[23, 63] Operation: 87-24=63
Moving to Node #0,1,0
Current State: 43:[24, 64], Operations: ['94-7=87', '87-23=64']
Exploring Operation: 24+64=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 24*64=1536, Resulting Numbers: [1536]
1536,43 unequal: No Solution
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[23, 63], Operations: ['94-7=87', '87-24=63']
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 23+63=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Exploring Operation: 23*63=1449, Resulting Numbers: [1449]
1449,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[87, 47], Operations: ['94-7=87', '24+23=47']
Exploring Operation: 87*47=4089, Resulting Numbers: [4089]
4089,43 unequal: No Solution
Exploring Operation: 87+47=134, Resulting Numbers: [134]
134,43 unequal: No Solution
Exploring Operation: 87-47=40, Resulting Numbers: [40]
40,43 unequal: No Solution
No 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: 43:[24, 7, 71], Operations: ['94-23=71']
Exploring Operation: 71-24=47, Resulting Numbers: [7, 47]
Generated Node #0,2,0: 43:[7, 47] Operation: 71-24=47
Exploring Operation: 24+7=31, Resulting Numbers: [71, 31]
Generated Node #0,2,1: 43:[71, 31] Operation: 24+7=31
Exploring Operation: 71-7=64, Resulting Numbers: [24, 64]
Generated Node #0,2,2: 43:[24, 64] Operation: 71-7=64
Moving to Node #0,2,0
Current State: 43:[7, 47], Operations: ['94-23=71', '71-24=47']
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 7*47=329, Resulting Numbers: [329]
329,43 unequal: No Solution
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[71, 31], Operations: ['94-23=71', '24+7=31']
Exploring Operation: 71*31=2201, Resulting Numbers: [2201]
2201,43 unequal: No Solution
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 71+31=102, Resulting Numbers: [102]
102,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[24, 64], Operations: ['94-23=71', '71-7=64']
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 24+64=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 24*64=1536, Resulting Numbers: [1536]
1536,43 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 |
[
29,
79,
54,
20
] | 85 | [
"29-20=9",
"54/9=6",
"79+6=85"
] | Current State: 85:[29, 79, 54, 20], Operations: []
Exploring Operation: 29-20=9, Resulting Numbers: [79, 54, 9]
Generated Node #2: [79, 54, 9] from Operation: 29-20=9
Current State: 85:[79, 54, 9], Operations: ['29-20=9']
Exploring Operation: 54/9=6, Resulting Numbers: [79, 6]
Generated Node #3: [79, 6] from Operation: 54/9=6
Current State: 85:[79, 6], Operations: ['29-20=9', '54/9=6']
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[29, 79, 54, 20], Operations: []
Exploring Operation: 29+54=83, Resulting Numbers: [79, 20, 83]
Generated Node #0,0: 85:[79, 20, 83] Operation: 29+54=83
Exploring Operation: 54+20=74, Resulting Numbers: [29, 79, 74]
Generated Node #0,1: 85:[29, 79, 74] Operation: 54+20=74
Exploring Operation: 79-54=25, Resulting Numbers: [29, 20, 25]
Generated Node #0,2: 85:[29, 20, 25] Operation: 79-54=25
Exploring Operation: 54-29=25, Resulting Numbers: [79, 20, 25]
Generated Node #0,3: 85:[79, 20, 25] Operation: 54-29=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[79, 20, 83], Operations: ['29+54=83']
Exploring Operation: 79-20=59, Resulting Numbers: [83, 59]
Generated Node #0,0,0: 85:[83, 59] Operation: 79-20=59
Exploring Operation: 83-79=4, Resulting Numbers: [20, 4]
Generated Node #0,0,1: 85:[20, 4] Operation: 83-79=4
Exploring Operation: 20+83=103, Resulting Numbers: [79, 103]
Generated Node #0,0,2: 85:[79, 103] Operation: 20+83=103
Exploring Operation: 79+20=99, Resulting Numbers: [83, 99]
Generated Node #0,0,3: 85:[83, 99] Operation: 79+20=99
Moving to Node #0,0,1
Current State: 85:[20, 4], Operations: ['29+54=83', '83-79=4']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[83, 99], Operations: ['29+54=83', '79+20=99']
Exploring Operation: 99-83=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 83+99=182, Resulting Numbers: [182]
182,85 unequal: No Solution
Exploring Operation: 83*99=8217, Resulting Numbers: [8217]
8217,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[79, 103], Operations: ['29+54=83', '20+83=103']
Exploring Operation: 103-79=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 79+103=182, Resulting Numbers: [182]
182,85 unequal: No Solution
Exploring Operation: 79*103=8137, Resulting Numbers: [8137]
8137,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[83, 59], Operations: ['29+54=83', '79-20=59']
Exploring Operation: 83+59=142, Resulting Numbers: [142]
142,85 unequal: No Solution
Exploring Operation: 83-59=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 83*59=4897, Resulting Numbers: [4897]
4897,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,3
Current State: 85:[79, 20, 25], Operations: ['54-29=25']
Exploring Operation: 79-20=59, Resulting Numbers: [25, 59]
Generated Node #0,3,0: 85:[25, 59] Operation: 79-20=59
Exploring Operation: 79+25=104, Resulting Numbers: [20, 104]
Generated Node #0,3,1: 85:[20, 104] Operation: 79+25=104
Exploring Operation: 79+20=99, Resulting Numbers: [25, 99]
Generated Node #0,3,2: 85:[25, 99] Operation: 79+20=99
Exploring Operation: 25-20=5, Resulting Numbers: [79, 5]
Generated Node #0,3,3: 85:[79, 5] Operation: 25-20=5
Moving to Node #0,3,3
Current State: 85:[79, 5], Operations: ['54-29=25', '25-20=5']
Exploring Operation: 79*5=395, Resulting Numbers: [395]
395,85 unequal: No Solution
Exploring Operation: 79+5=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[25, 99], Operations: ['54-29=25', '79+20=99']
Exploring Operation: 99-25=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 25*99=2475, Resulting Numbers: [2475]
2475,85 unequal: No Solution
Exploring Operation: 25+99=124, Resulting Numbers: [124]
124,85 unequal: No Solution
Moving to Node #0,3,1
Current State: 85:[20, 104], Operations: ['54-29=25', '79+25=104']
Exploring Operation: 104-20=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 20*104=2080, Resulting Numbers: [2080]
2080,85 unequal: No Solution
Exploring Operation: 20+104=124, Resulting Numbers: [124]
124,85 unequal: No Solution
Moving to Node #0,3,0
Current State: 85:[25, 59], Operations: ['54-29=25', '79-20=59']
Exploring Operation: 25+59=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 25*59=1475, Resulting Numbers: [1475]
1475,85 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,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
Current State: 85:[29, 20, 25], Operations: ['79-54=25']
Exploring Operation: 29+25=54, Resulting Numbers: [20, 54]
Generated Node #0,2,0: 85:[20, 54] Operation: 29+25=54
Exploring Operation: 25-20=5, Resulting Numbers: [29, 5]
Generated Node #0,2,1: 85:[29, 5] Operation: 25-20=5
Exploring Operation: 29-20=9, Resulting Numbers: [25, 9]
Generated Node #0,2,2: 85:[25, 9] Operation: 29-20=9
Exploring Operation: 29-25=4, Resulting Numbers: [20, 4]
Generated Node #0,2,3: 85:[20, 4] Operation: 29-25=4
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 85:[20, 4], Operations: ['79-54=25', '29-25=4']
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,85 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 85:[29, 5], Operations: ['79-54=25', '25-20=5']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 85:[25, 9], Operations: ['79-54=25', '29-20=9']
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,85 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 85:[20, 54], Operations: ['79-54=25', '29+25=54']
Exploring Operation: 20+54=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 20*54=1080, Resulting Numbers: [1080]
1080,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[29, 79, 74], Operations: ['54+20=74']
Exploring Operation: 29+74=103, Resulting Numbers: [79, 103]
Generated Node #0,1,0: 85:[79, 103] Operation: 29+74=103
Exploring Operation: 79-74=5, Resulting Numbers: [29, 5]
Generated Node #0,1,1: 85:[29, 5] Operation: 79-74=5
Exploring Operation: 29+79=108, Resulting Numbers: [74, 108]
Generated Node #0,1,2: 85:[74, 108] Operation: 29+79=108
Exploring Operation: 74-29=45, Resulting Numbers: [79, 45]
Generated Node #0,1,3: 85:[79, 45] Operation: 74-29=45
Moving to Node #0,1,1
Current State: 85:[29, 5], Operations: ['54+20=74', '79-74=5']
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,85 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[79, 103], Operations: ['54+20=74', '29+74=103']
Exploring Operation: 103-79=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 79+103=182, Resulting Numbers: [182]
182,85 unequal: No Solution
Exploring Operation: 79*103=8137, Resulting Numbers: [8137]
8137,85 unequal: No Solution
Moving to Node #0,1,3
Current State: 85:[79, 45], Operations: ['54+20=74', '74-29=45']
Exploring Operation: 79+45=124, Resulting Numbers: [124]
124,85 unequal: No Solution
Exploring Operation: 79-45=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 79*45=3555, Resulting Numbers: [3555]
3555,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[74, 108], Operations: ['54+20=74', '29+79=108']
Exploring Operation: 74+108=182, Resulting Numbers: [182]
182,85 unequal: No Solution
Exploring Operation: 74*108=7992, Resulting Numbers: [7992]
7992,85 unequal: No Solution
Exploring Operation: 108-74=34, Resulting Numbers: [34]
34,85 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 |
[
57,
50,
68,
29
] | 90 | [
"57-50=7",
"68+29=97",
"97-7=90"
] | Current State: 90:[57, 50, 68, 29], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [68, 29, 7]
Generated Node #2: [68, 29, 7] from Operation: 57-50=7
Current State: 90:[68, 29, 7], Operations: ['57-50=7']
Exploring Operation: 68+29=97, Resulting Numbers: [7, 97]
Generated Node #3: [7, 97] from Operation: 68+29=97
Current State: 90:[7, 97], Operations: ['57-50=7', '68+29=97']
Exploring Operation: 97-7=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[57, 50, 68, 29], Operations: []
Exploring Operation: 68-50=18, Resulting Numbers: [57, 29, 18]
Generated Node #0,0: 90:[57, 29, 18] Operation: 68-50=18
Exploring Operation: 68-57=11, Resulting Numbers: [50, 29, 11]
Generated Node #0,1: 90:[50, 29, 11] Operation: 68-57=11
Moving to Node #0,1
Current State: 90:[50, 29, 11], Operations: ['68-57=11']
Exploring Operation: 29-11=18, Resulting Numbers: [50, 18]
Generated Node #0,1,0: 90:[50, 18] Operation: 29-11=18
Exploring Operation: 50-29=21, Resulting Numbers: [11, 21]
Generated Node #0,1,1: 90:[11, 21] Operation: 50-29=21
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[11, 21], Operations: ['68-57=11', '50-29=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,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,1,0
Current State: 90:[50, 18], Operations: ['68-57=11', '29-11=18']
Exploring Operation: 50+18=68, Resulting Numbers: [68]
68,90 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 90:[57, 29, 18], Operations: ['68-50=18']
Exploring Operation: 57+29=86, Resulting Numbers: [18, 86]
Generated Node #0,0,0: 90:[18, 86] Operation: 57+29=86
Exploring Operation: 57-29=28, Resulting Numbers: [18, 28]
Generated Node #0,0,1: 90:[18, 28] Operation: 57-29=28
Moving to Node #0,0,1
Current State: 90:[18, 28], Operations: ['68-50=18', '57-29=28']
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[18, 86], Operations: ['68-50=18', '57+29=86']
Exploring Operation: 18+86=104, Resulting Numbers: [104]
104,90 unequal: No Solution
Exploring Operation: 86-18=68, Resulting Numbers: [68]
68,90 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
86,
45,
77,
17
] | 31 | [
"77*17=1309",
"86+1309=1395",
"1395/45=31"
] | Current State: 31:[86, 45, 77, 17], Operations: []
Exploring Operation: 77*17=1309, Resulting Numbers: [86, 45, 1309]
Generated Node #2: [86, 45, 1309] from Operation: 77*17=1309
Current State: 31:[86, 45, 1309], Operations: ['77*17=1309']
Exploring Operation: 86+1309=1395, Resulting Numbers: [45, 1395]
Generated Node #3: [45, 1395] from Operation: 86+1309=1395
Current State: 31:[45, 1395], Operations: ['77*17=1309', '86+1309=1395']
Exploring Operation: 1395/45=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[86, 45, 77, 17], Operations: []
Exploring Operation: 86-77=9, Resulting Numbers: [45, 17, 9]
Generated Node #0,0: 31:[45, 17, 9] Operation: 86-77=9
Exploring Operation: 86-45=41, Resulting Numbers: [77, 17, 41]
Generated Node #0,1: 31:[77, 17, 41] Operation: 86-45=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[45, 17, 9], Operations: ['86-77=9']
Exploring Operation: 45-9=36, Resulting Numbers: [17, 36]
Generated Node #0,0,0: 31:[17, 36] Operation: 45-9=36
Exploring Operation: 17+9=26, Resulting Numbers: [45, 26]
Generated Node #0,0,1: 31:[45, 26] Operation: 17+9=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[17, 36], Operations: ['86-77=9', '45-9=36']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,31 unequal: No Solution
No 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: 31:[45, 26], Operations: ['86-77=9', '17+9=26']
Exploring Operation: 45+26=71, Resulting Numbers: [71]
71,31 unequal: No Solution
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,31 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: 31:[77, 17, 41], Operations: ['86-45=41']
Exploring Operation: 77-41=36, Resulting Numbers: [17, 36]
Generated Node #0,1,0: 31:[17, 36] Operation: 77-41=36
Exploring Operation: 77-17=60, Resulting Numbers: [41, 60]
Generated Node #0,1,1: 31:[41, 60] Operation: 77-17=60
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[17, 36], Operations: ['86-45=41', '77-41=36']
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,31 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,31 unequal: No Solution
No 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: 31:[41, 60], Operations: ['86-45=41', '77-17=60']
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 41+60=101, Resulting Numbers: [101]
101,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
25,
26,
12,
83
] | 44 | [
"25+26=51",
"12+83=95",
"95-51=44"
] | Current State: 44:[25, 26, 12, 83], Operations: []
Exploring Operation: 25+26=51, Resulting Numbers: [12, 83, 51]
Generated Node #2: [12, 83, 51] from Operation: 25+26=51
Current State: 44:[12, 83, 51], Operations: ['25+26=51']
Exploring Operation: 12+83=95, Resulting Numbers: [51, 95]
Generated Node #3: [51, 95] from Operation: 12+83=95
Current State: 44:[51, 95], Operations: ['25+26=51', '12+83=95']
Exploring Operation: 95-51=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[25, 26, 12, 83], Operations: []
Exploring Operation: 83-26=57, Resulting Numbers: [25, 12, 57]
Generated Node #0,0: 44:[25, 12, 57] Operation: 83-26=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[25, 12, 57], Operations: ['83-26=57']
Exploring Operation: 57-12=45, Resulting Numbers: [25, 45]
Generated Node #0,0,0: 44:[25, 45] Operation: 57-12=45
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[25, 45], Operations: ['83-26=57', '57-12=45']
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,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_1 | mult_heuristic |
[
65,
8,
73,
5
] | 24 | [
"73-65=8",
"8-5=3",
"8*3=24"
] | Current State: 24:[65, 8, 73, 5], Operations: []
Exploring Operation: 73-65=8, Resulting Numbers: [8, 5, 8]
Generated Node #2: [8, 5, 8] from Operation: 73-65=8
Current State: 24:[8, 5, 8], Operations: ['73-65=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,24 equal: Goal Reached
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[65, 8, 73, 5], Operations: []
Exploring Operation: 73-65=8, Resulting Numbers: [8, 5, 8]
Generated Node #0,0: 24:[8, 5, 8] Operation: 73-65=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[8, 5, 8], Operations: ['73-65=8']
Exploring Operation: 8-5=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 24:[8, 3] Operation: 8-5=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[8, 3], Operations: ['73-65=8', '8-5=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[65, 8, 73, 5], Operations: []
Exploring Operation: 73-65=8, Resulting Numbers: [8, 5, 8]
Generated Node #0,0: 24:[8, 5, 8] Operation: 73-65=8
Moving to Node #0,0
Current State: 24:[8, 5, 8], Operations: ['73-65=8']
Exploring Operation: 8-5=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 24:[8, 3] Operation: 8-5=3
Moving to Node #0,0,0
Current State: 24:[8, 3], Operations: ['73-65=8', '8-5=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
48,
40,
62,
58
] | 58 | [
"58-48=10",
"40/10=4",
"62-4=58"
] | Current State: 58:[48, 40, 62, 58], Operations: []
Exploring Operation: 58-48=10, Resulting Numbers: [40, 62, 10]
Generated Node #2: [40, 62, 10] from Operation: 58-48=10
Current State: 58:[40, 62, 10], Operations: ['58-48=10']
Exploring Operation: 40/10=4, Resulting Numbers: [62, 4]
Generated Node #3: [62, 4] from Operation: 40/10=4
Current State: 58:[62, 4], Operations: ['58-48=10', '40/10=4']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[48, 40, 62, 58], Operations: []
Exploring Operation: 48-40=8, Resulting Numbers: [62, 58, 8]
Generated Node #0,0: 58:[62, 58, 8] Operation: 48-40=8
Exploring Operation: 62-40=22, Resulting Numbers: [48, 58, 22]
Generated Node #0,1: 58:[48, 58, 22] Operation: 62-40=22
Moving to Node #0,0
Current State: 58:[62, 58, 8], Operations: ['48-40=8']
Exploring Operation: 62-58=4, Resulting Numbers: [8, 4]
Generated Node #0,0,0: 58:[8, 4] Operation: 62-58=4
Exploring Operation: 62-8=54, Resulting Numbers: [58, 54]
Generated Node #0,0,1: 58:[58, 54] Operation: 62-8=54
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[58, 54], Operations: ['48-40=8', '62-8=54']
Exploring Operation: 58+54=112, Resulting Numbers: [112]
112,58 unequal: No Solution
Exploring Operation: 58-54=4, Resulting Numbers: [4]
4,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[8, 4], Operations: ['48-40=8', '62-58=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 58:[48, 58, 22], Operations: ['62-40=22']
Exploring Operation: 48-22=26, Resulting Numbers: [58, 26]
Generated Node #0,1,0: 58:[58, 26] Operation: 48-22=26
Exploring Operation: 48+22=70, Resulting Numbers: [58, 70]
Generated Node #0,1,1: 58:[58, 70] Operation: 48+22=70
Moving to Node #0,1,0
Current State: 58:[58, 26], Operations: ['62-40=22', '48-22=26']
Exploring Operation: 58+26=84, Resulting Numbers: [84]
84,58 unequal: No Solution
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[58, 70], Operations: ['62-40=22', '48+22=70']
Exploring Operation: 58+70=128, Resulting Numbers: [128]
128,58 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,58 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
54,
29,
6,
60
] | 41 | [
"54-29=25",
"6+60=66",
"66-25=41"
] | Current State: 41:[54, 29, 6, 60], Operations: []
Exploring Operation: 54-29=25, Resulting Numbers: [6, 60, 25]
Generated Node #2: [6, 60, 25] from Operation: 54-29=25
Current State: 41:[6, 60, 25], Operations: ['54-29=25']
Exploring Operation: 6+60=66, Resulting Numbers: [25, 66]
Generated Node #3: [25, 66] from Operation: 6+60=66
Current State: 41:[25, 66], Operations: ['54-29=25', '6+60=66']
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[54, 29, 6, 60], Operations: []
Exploring Operation: 54-6=48, Resulting Numbers: [29, 60, 48]
Generated Node #0,0: 41:[29, 60, 48] Operation: 54-6=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[29, 60, 48], Operations: ['54-6=48']
Exploring Operation: 60-29=31, Resulting Numbers: [48, 31]
Generated Node #0,0,0: 41:[48, 31] Operation: 60-29=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[48, 31], Operations: ['54-6=48', '60-29=31']
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,41 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 |
[
51,
71,
79,
25
] | 57 | [
"71+79=150",
"150/25=6",
"51+6=57"
] | Current State: 57:[51, 71, 79, 25], Operations: []
Exploring Operation: 71+79=150, Resulting Numbers: [51, 25, 150]
Generated Node #2: [51, 25, 150] from Operation: 71+79=150
Current State: 57:[51, 25, 150], Operations: ['71+79=150']
Exploring Operation: 150/25=6, Resulting Numbers: [51, 6]
Generated Node #3: [51, 6] from Operation: 150/25=6
Current State: 57:[51, 6], Operations: ['71+79=150', '150/25=6']
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[51, 71, 79, 25], Operations: []
Exploring Operation: 71-51=20, Resulting Numbers: [79, 25, 20]
Generated Node #0,0: 57:[79, 25, 20] Operation: 71-51=20
Exploring Operation: 79-25=54, Resulting Numbers: [51, 71, 54]
Generated Node #0,1: 57:[51, 71, 54] Operation: 79-25=54
Exploring Operation: 79-71=8, Resulting Numbers: [51, 25, 8]
Generated Node #0,2: 57:[51, 25, 8] Operation: 79-71=8
Exploring Operation: 71-25=46, Resulting Numbers: [51, 79, 46]
Generated Node #0,3: 57:[51, 79, 46] Operation: 71-25=46
Exploring Operation: 79-51=28, Resulting Numbers: [71, 25, 28]
Generated Node #0,4: 57:[71, 25, 28] Operation: 79-51=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[51, 25, 8], Operations: ['79-71=8']
Exploring Operation: 51-8=43, Resulting Numbers: [25, 43]
Generated Node #0,2,0: 57:[25, 43] Operation: 51-8=43
Exploring Operation: 25-8=17, Resulting Numbers: [51, 17]
Generated Node #0,2,1: 57:[51, 17] Operation: 25-8=17
Exploring Operation: 25+8=33, Resulting Numbers: [51, 33]
Generated Node #0,2,2: 57:[51, 33] Operation: 25+8=33
Exploring Operation: 51-25=26, Resulting Numbers: [8, 26]
Generated Node #0,2,3: 57:[8, 26] Operation: 51-25=26
Exploring Operation: 51+8=59, Resulting Numbers: [25, 59]
Generated Node #0,2,4: 57:[25, 59] Operation: 51+8=59
Moving to Node #0,2,1
Current State: 57:[51, 17], Operations: ['79-71=8', '25-8=17']
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,57 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Moving to Node #0,2,4
Current State: 57:[25, 59], Operations: ['79-71=8', '51+8=59']
Exploring Operation: 25*59=1475, Resulting Numbers: [1475]
1475,57 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 25+59=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[8, 26], Operations: ['79-71=8', '51-25=26']
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,57 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[25, 43], Operations: ['79-71=8', '51-8=43']
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,57 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[51, 33], Operations: ['79-71=8', '25+8=33']
Exploring Operation: 51+33=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 51*33=1683, Resulting Numbers: [1683]
1683,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[51, 71, 54], Operations: ['79-25=54']
Exploring Operation: 71-51=20, Resulting Numbers: [54, 20]
Generated Node #0,1,0: 57:[54, 20] Operation: 71-51=20
Exploring Operation: 54-51=3, Resulting Numbers: [71, 3]
Generated Node #0,1,1: 57:[71, 3] Operation: 54-51=3
Exploring Operation: 51+54=105, Resulting Numbers: [71, 105]
Generated Node #0,1,2: 57:[71, 105] Operation: 51+54=105
Exploring Operation: 71-54=17, Resulting Numbers: [51, 17]
Generated Node #0,1,3: 57:[51, 17] Operation: 71-54=17
Exploring Operation: 51+71=122, Resulting Numbers: [54, 122]
Generated Node #0,1,4: 57:[54, 122] Operation: 51+71=122
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[54, 20], Operations: ['79-25=54', '71-51=20']
Exploring Operation: 54*20=1080, Resulting Numbers: [1080]
1080,57 unequal: No Solution
Exploring Operation: 54+20=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 57:[51, 17], Operations: ['79-25=54', '71-54=17']
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[71, 3], Operations: ['79-25=54', '54-51=3']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 71*3=213, Resulting Numbers: [213]
213,57 unequal: No Solution
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[71, 105], Operations: ['79-25=54', '51+54=105']
Exploring Operation: 71*105=7455, Resulting Numbers: [7455]
7455,57 unequal: No Solution
Exploring Operation: 105-71=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 71+105=176, Resulting Numbers: [176]
176,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 57:[54, 122], Operations: ['79-25=54', '51+71=122']
Exploring Operation: 122-54=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 54*122=6588, Resulting Numbers: [6588]
6588,57 unequal: No Solution
Exploring Operation: 54+122=176, Resulting Numbers: [176]
176,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,0
Current State: 57:[79, 25, 20], Operations: ['71-51=20']
Exploring Operation: 79-25=54, Resulting Numbers: [20, 54]
Generated Node #0,0,0: 57:[20, 54] Operation: 79-25=54
Exploring Operation: 79-20=59, Resulting Numbers: [25, 59]
Generated Node #0,0,1: 57:[25, 59] Operation: 79-20=59
Exploring Operation: 25+20=45, Resulting Numbers: [79, 45]
Generated Node #0,0,2: 57:[79, 45] Operation: 25+20=45
Exploring Operation: 25-20=5, Resulting Numbers: [79, 5]
Generated Node #0,0,3: 57:[79, 5] Operation: 25-20=5
Exploring Operation: 79+25=104, Resulting Numbers: [20, 104]
Generated Node #0,0,4: 57:[20, 104] Operation: 79+25=104
Moving to Node #0,0,0
Current State: 57:[20, 54], Operations: ['71-51=20', '79-25=54']
Exploring Operation: 20+54=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 20*54=1080, Resulting Numbers: [1080]
1080,57 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[25, 59], Operations: ['71-51=20', '79-20=59']
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 25+59=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 25*59=1475, Resulting Numbers: [1475]
1475,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[79, 5], Operations: ['71-51=20', '25-20=5']
Exploring Operation: 79+5=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 79*5=395, Resulting Numbers: [395]
395,57 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[79, 45], Operations: ['71-51=20', '25+20=45']
Exploring Operation: 79*45=3555, Resulting Numbers: [3555]
3555,57 unequal: No Solution
Exploring Operation: 79+45=124, Resulting Numbers: [124]
124,57 unequal: No Solution
Exploring Operation: 79-45=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Moving to Node #0,0,4
Current State: 57:[20, 104], Operations: ['71-51=20', '79+25=104']
Exploring Operation: 20+104=124, Resulting Numbers: [124]
124,57 unequal: No Solution
Exploring Operation: 20*104=2080, Resulting Numbers: [2080]
2080,57 unequal: No Solution
Exploring Operation: 104-20=84, Resulting Numbers: [84]
84,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[71, 25, 28], Operations: ['79-51=28']
Exploring Operation: 71+25=96, Resulting Numbers: [28, 96]
Generated Node #0,4,0: 57:[28, 96] Operation: 71+25=96
Exploring Operation: 71-25=46, Resulting Numbers: [28, 46]
Generated Node #0,4,1: 57:[28, 46] Operation: 71-25=46
Exploring Operation: 28-25=3, Resulting Numbers: [71, 3]
Generated Node #0,4,2: 57:[71, 3] Operation: 28-25=3
Exploring Operation: 25+28=53, Resulting Numbers: [71, 53]
Generated Node #0,4,3: 57:[71, 53] Operation: 25+28=53
Exploring Operation: 71-28=43, Resulting Numbers: [25, 43]
Generated Node #0,4,4: 57:[25, 43] Operation: 71-28=43
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 57:[71, 3], Operations: ['79-51=28', '28-25=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 71*3=213, Resulting Numbers: [213]
213,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,4,3
Current State: 57:[71, 53], Operations: ['79-51=28', '25+28=53']
Exploring Operation: 71*53=3763, Resulting Numbers: [3763]
3763,57 unequal: No Solution
Exploring Operation: 71+53=124, Resulting Numbers: [124]
124,57 unequal: No Solution
Exploring Operation: 71-53=18, Resulting Numbers: [18]
18,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,4,1
Current State: 57:[28, 46], Operations: ['79-51=28', '71-25=46']
Exploring Operation: 28+46=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 28*46=1288, Resulting Numbers: [1288]
1288,57 unequal: No Solution
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,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,4,4
Current State: 57:[25, 43], Operations: ['79-51=28', '71-28=43']
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,57 unequal: No Solution
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,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,4,0
Current State: 57:[28, 96], Operations: ['79-51=28', '71+25=96']
Exploring Operation: 28*96=2688, Resulting Numbers: [2688]
2688,57 unequal: No Solution
Exploring Operation: 96-28=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 28+96=124, Resulting Numbers: [124]
124,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,3
Current State: 57:[51, 79, 46], Operations: ['71-25=46']
Exploring Operation: 79-51=28, Resulting Numbers: [46, 28]
Generated Node #0,3,0: 57:[46, 28] Operation: 79-51=28
Exploring Operation: 79+46=125, Resulting Numbers: [51, 125]
Generated Node #0,3,1: 57:[51, 125] Operation: 79+46=125
Exploring Operation: 51-46=5, Resulting Numbers: [79, 5]
Generated Node #0,3,2: 57:[79, 5] Operation: 51-46=5
Exploring Operation: 51+46=97, Resulting Numbers: [79, 97]
Generated Node #0,3,3: 57:[79, 97] Operation: 51+46=97
Exploring Operation: 79-46=33, Resulting Numbers: [51, 33]
Generated Node #0,3,4: 57:[51, 33] Operation: 79-46=33
Moving to Node #0,3,0
Current State: 57:[46, 28], Operations: ['71-25=46', '79-51=28']
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 46+28=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 46*28=1288, Resulting Numbers: [1288]
1288,57 unequal: No Solution
Moving to Node #0,3,4
Current State: 57:[51, 33], Operations: ['71-25=46', '79-46=33']
Exploring Operation: 51*33=1683, Resulting Numbers: [1683]
1683,57 unequal: No Solution
Exploring Operation: 51+33=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Moving to Node #0,3,2
Current State: 57:[79, 5], Operations: ['71-25=46', '51-46=5']
Exploring Operation: 79*5=395, Resulting Numbers: [395]
395,57 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 79+5=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Moving to Node #0,3,3
Current State: 57:[79, 97], Operations: ['71-25=46', '51+46=97']
Exploring Operation: 79+97=176, Resulting Numbers: [176]
176,57 unequal: No Solution
Exploring Operation: 79*97=7663, Resulting Numbers: [7663]
7663,57 unequal: No Solution
Exploring Operation: 97-79=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Moving to Node #0,3,1
Current State: 57:[51, 125], Operations: ['71-25=46', '79+46=125']
Exploring Operation: 125-51=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Exploring Operation: 51*125=6375, Resulting Numbers: [6375]
6375,57 unequal: No Solution
Exploring Operation: 51+125=176, Resulting Numbers: [176]
176,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
8,
35,
64,
2
] | 76 | [
"8*35=280",
"280/2=140",
"140-64=76"
] | Current State: 76:[8, 35, 64, 2], Operations: []
Exploring Operation: 8*35=280, Resulting Numbers: [64, 2, 280]
Generated Node #2: [64, 2, 280] from Operation: 8*35=280
Current State: 76:[64, 2, 280], Operations: ['8*35=280']
Exploring Operation: 280/2=140, Resulting Numbers: [64, 140]
Generated Node #3: [64, 140] from Operation: 280/2=140
Current State: 76:[64, 140], Operations: ['8*35=280', '280/2=140']
Exploring Operation: 140-64=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[8, 35, 64, 2], Operations: []
Exploring Operation: 64/8=8, Resulting Numbers: [35, 2, 8]
Generated Node #0,0: 76:[35, 2, 8] Operation: 64/8=8
Exploring Operation: 64-35=29, Resulting Numbers: [8, 2, 29]
Generated Node #0,1: 76:[8, 2, 29] Operation: 64-35=29
Exploring Operation: 8+64=72, Resulting Numbers: [35, 2, 72]
Generated Node #0,2: 76:[35, 2, 72] Operation: 8+64=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[35, 2, 8], Operations: ['64/8=8']
Exploring Operation: 35+8=43, Resulting Numbers: [2, 43]
Generated Node #0,0,0: 76:[2, 43] Operation: 35+8=43
Exploring Operation: 8/2=4, Resulting Numbers: [35, 4]
Generated Node #0,0,1: 76:[35, 4] Operation: 8/2=4
Exploring Operation: 35+2=37, Resulting Numbers: [8, 37]
Generated Node #0,0,2: 76:[8, 37] Operation: 35+2=37
Moving to Node #0,0,1
Current State: 76:[35, 4], Operations: ['64/8=8', '8/2=4']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,76 unequal: No Solution
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[2, 43], Operations: ['64/8=8', '35+8=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,76 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[8, 37], Operations: ['64/8=8', '35+2=37']
Exploring Operation: 8+37=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 8*37=296, Resulting Numbers: [296]
296,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[35, 2, 72], Operations: ['8+64=72']
Exploring Operation: 2+72=74, Resulting Numbers: [35, 74]
Generated Node #0,2,0: 76:[35, 74] Operation: 2+72=74
Exploring Operation: 72-35=37, Resulting Numbers: [2, 37]
Generated Node #0,2,1: 76:[2, 37] Operation: 72-35=37
Exploring Operation: 35+2=37, Resulting Numbers: [72, 37]
Generated Node #0,2,2: 76:[72, 37] Operation: 35+2=37
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[2, 37], Operations: ['8+64=72', '72-35=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,76 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 76:[35, 74], Operations: ['8+64=72', '2+72=74']
Exploring Operation: 35*74=2590, Resulting Numbers: [2590]
2590,76 unequal: No Solution
Exploring Operation: 35+74=109, Resulting Numbers: [109]
109,76 unequal: No Solution
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 76:[72, 37], Operations: ['8+64=72', '35+2=37']
Exploring Operation: 72+37=109, Resulting Numbers: [109]
109,76 unequal: No Solution
Exploring Operation: 72*37=2664, Resulting Numbers: [2664]
2664,76 unequal: No Solution
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[8, 2, 29], Operations: ['64-35=29']
Exploring Operation: 8+29=37, Resulting Numbers: [2, 37]
Generated Node #0,1,0: 76:[2, 37] Operation: 8+29=37
Exploring Operation: 8/2=4, Resulting Numbers: [29, 4]
Generated Node #0,1,1: 76:[29, 4] Operation: 8/2=4
Exploring Operation: 29-8=21, Resulting Numbers: [2, 21]
Generated Node #0,1,2: 76:[2, 21] Operation: 29-8=21
Moving to Node #0,1,0
Current State: 76:[2, 37], Operations: ['64-35=29', '8+29=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,76 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[2, 21], Operations: ['64-35=29', '29-8=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[29, 4], Operations: ['64-35=29', '8/2=4']
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,76 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
9,
33,
75,
31
] | 20 | [
"33-9=24",
"75-31=44",
"44-24=20"
] | Current State: 20:[9, 33, 75, 31], Operations: []
Exploring Operation: 33-9=24, Resulting Numbers: [75, 31, 24]
Generated Node #2: [75, 31, 24] from Operation: 33-9=24
Current State: 20:[75, 31, 24], Operations: ['33-9=24']
Exploring Operation: 75-31=44, Resulting Numbers: [24, 44]
Generated Node #3: [24, 44] from Operation: 75-31=44
Current State: 20:[24, 44], Operations: ['33-9=24', '75-31=44']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[9, 33, 75, 31], Operations: []
Exploring Operation: 75-31=44, Resulting Numbers: [9, 33, 44]
Generated Node #0,0: 20:[9, 33, 44] Operation: 75-31=44
Exploring Operation: 33-31=2, Resulting Numbers: [9, 75, 2]
Generated Node #0,1: 20:[9, 75, 2] Operation: 33-31=2
Exploring Operation: 75-33=42, Resulting Numbers: [9, 31, 42]
Generated Node #0,2: 20:[9, 31, 42] Operation: 75-33=42
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[9, 31, 42], Operations: ['75-33=42']
Exploring Operation: 31-9=22, Resulting Numbers: [42, 22]
Generated Node #0,2,0: 20:[42, 22] Operation: 31-9=22
Exploring Operation: 42-9=33, Resulting Numbers: [31, 33]
Generated Node #0,2,1: 20:[31, 33] Operation: 42-9=33
Exploring Operation: 42-31=11, Resulting Numbers: [9, 11]
Generated Node #0,2,2: 20:[9, 11] Operation: 42-31=11
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 20:[9, 11], Operations: ['75-33=42', '42-31=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,20 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[9, 33, 75, 31], Operations: []
Exploring Operation: 75-33=42, Resulting Numbers: [9, 31, 42]
Generated Node #0,2: 20:[9, 31, 42] Operation: 75-33=42
Moving to Node #0,2
Current State: 20:[9, 31, 42], Operations: ['75-33=42']
Exploring Operation: 42-31=11, Resulting Numbers: [9, 11]
Generated Node #0,2,2: 20:[9, 11] Operation: 42-31=11
Moving to Node #0,2,2
Current State: 20:[9, 11], Operations: ['75-33=42', '42-31=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
11,
2,
61,
44
] | 96 | [
"11-2=9",
"61+44=105",
"105-9=96"
] | Current State: 96:[11, 2, 61, 44], Operations: []
Exploring Operation: 11-2=9, Resulting Numbers: [61, 44, 9]
Generated Node #2: [61, 44, 9] from Operation: 11-2=9
Current State: 96:[61, 44, 9], Operations: ['11-2=9']
Exploring Operation: 61+44=105, Resulting Numbers: [9, 105]
Generated Node #3: [9, 105] from Operation: 61+44=105
Current State: 96:[9, 105], Operations: ['11-2=9', '61+44=105']
Exploring Operation: 105-9=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[11, 2, 61, 44], Operations: []
Exploring Operation: 44/11=4, Resulting Numbers: [2, 61, 4]
Generated Node #0,0: 96:[2, 61, 4] Operation: 44/11=4
Exploring Operation: 61-11=50, Resulting Numbers: [2, 44, 50]
Generated Node #0,1: 96:[2, 44, 50] Operation: 61-11=50
Exploring Operation: 61+44=105, Resulting Numbers: [11, 2, 105]
Generated Node #0,2: 96:[11, 2, 105] Operation: 61+44=105
Exploring Operation: 61-44=17, Resulting Numbers: [11, 2, 17]
Generated Node #0,3: 96:[11, 2, 17] Operation: 61-44=17
Start Sub Search at level 1: Moving to Node #0,3
Current State: 96:[11, 2, 17], Operations: ['61-44=17']
Exploring Operation: 11-2=9, Resulting Numbers: [17, 9]
Generated Node #0,3,0: 96:[17, 9] Operation: 11-2=9
Exploring Operation: 17-11=6, Resulting Numbers: [2, 6]
Generated Node #0,3,1: 96:[2, 6] Operation: 17-11=6
Exploring Operation: 17-2=15, Resulting Numbers: [11, 15]
Generated Node #0,3,2: 96:[11, 15] Operation: 17-2=15
Exploring Operation: 11+2=13, Resulting Numbers: [17, 13]
Generated Node #0,3,3: 96:[17, 13] Operation: 11+2=13
Moving to Node #0,3,1
Current State: 96:[2, 6], Operations: ['61-44=17', '17-11=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Moving to Node #0,3,2
Current State: 96:[11, 15], Operations: ['61-44=17', '17-2=15']
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 11*15=165, Resulting Numbers: [165]
165,96 unequal: No Solution
Moving to Node #0,3,0
Current State: 96:[17, 9], Operations: ['61-44=17', '11-2=9']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,96 unequal: No Solution
Moving to Node #0,3,3
Current State: 96:[17, 13], Operations: ['61-44=17', '11+2=13']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[2, 44, 50], Operations: ['61-11=50']
Exploring Operation: 44+50=94, Resulting Numbers: [2, 94]
Generated Node #0,1,0: 96:[2, 94] Operation: 44+50=94
Exploring Operation: 2+44=46, Resulting Numbers: [50, 46]
Generated Node #0,1,1: 96:[50, 46] Operation: 2+44=46
Exploring Operation: 50-44=6, Resulting Numbers: [2, 6]
Generated Node #0,1,2: 96:[2, 6] Operation: 50-44=6
Exploring Operation: 44/2=22, Resulting Numbers: [50, 22]
Generated Node #0,1,3: 96:[50, 22] Operation: 44/2=22
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 96:[2, 6], Operations: ['61-11=50', '50-44=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[2, 94], Operations: ['61-11=50', '44+50=94']
Exploring Operation: 2+94=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[11, 2, 61, 44], Operations: []
Exploring Operation: 61-11=50, Resulting Numbers: [2, 44, 50]
Generated Node #0,1: 96:[2, 44, 50] Operation: 61-11=50
Moving to Node #0,1
Current State: 96:[2, 44, 50], Operations: ['61-11=50']
Exploring Operation: 44+50=94, Resulting Numbers: [2, 94]
Generated Node #0,1,0: 96:[2, 94] Operation: 44+50=94
Moving to Node #0,1,0
Current State: 96:[2, 94], Operations: ['61-11=50', '44+50=94']
Exploring Operation: 2+94=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.970486 | hs_4 | mult_heuristic |
[
12,
51,
54,
3
] | 31 | [
"51-12=39",
"54+39=93",
"93/3=31"
] | Current State: 31:[12, 51, 54, 3], Operations: []
Exploring Operation: 51-12=39, Resulting Numbers: [54, 3, 39]
Generated Node #2: [54, 3, 39] from Operation: 51-12=39
Current State: 31:[54, 3, 39], Operations: ['51-12=39']
Exploring Operation: 54+39=93, Resulting Numbers: [3, 93]
Generated Node #3: [3, 93] from Operation: 54+39=93
Current State: 31:[3, 93], Operations: ['51-12=39', '54+39=93']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[12, 51, 54, 3], Operations: []
Exploring Operation: 12*3=36, Resulting Numbers: [51, 54, 36]
Generated Node #0,0: 31:[51, 54, 36] Operation: 12*3=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[51, 54, 36], Operations: ['12*3=36']
Exploring Operation: 54-51=3, Resulting Numbers: [36, 3]
Generated Node #0,0,0: 31:[36, 3] Operation: 54-51=3
Moving to Node #0,0,0
Current State: 31:[36, 3], Operations: ['12*3=36', '54-51=3']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
66,
24,
81,
13
] | 87 | [
"24-13=11",
"66/11=6",
"81+6=87"
] | Current State: 87:[66, 24, 81, 13], Operations: []
Exploring Operation: 24-13=11, Resulting Numbers: [66, 81, 11]
Generated Node #2: [66, 81, 11] from Operation: 24-13=11
Current State: 87:[66, 81, 11], Operations: ['24-13=11']
Exploring Operation: 66/11=6, Resulting Numbers: [81, 6]
Generated Node #3: [81, 6] from Operation: 66/11=6
Current State: 87:[81, 6], Operations: ['24-13=11', '66/11=6']
Exploring Operation: 81+6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[66, 24, 81, 13], Operations: []
Exploring Operation: 66+13=79, Resulting Numbers: [24, 81, 79]
Generated Node #0,0: 87:[24, 81, 79] Operation: 66+13=79
Exploring Operation: 66-24=42, Resulting Numbers: [81, 13, 42]
Generated Node #0,1: 87:[81, 13, 42] Operation: 66-24=42
Exploring Operation: 66+24=90, Resulting Numbers: [81, 13, 90]
Generated Node #0,2: 87:[81, 13, 90] Operation: 66+24=90
Exploring Operation: 81-66=15, Resulting Numbers: [24, 13, 15]
Generated Node #0,3: 87:[24, 13, 15] Operation: 81-66=15
Exploring Operation: 81+13=94, Resulting Numbers: [66, 24, 94]
Generated Node #0,4: 87:[66, 24, 94] Operation: 81+13=94
Moving to Node #0,0
Current State: 87:[24, 81, 79], Operations: ['66+13=79']
Exploring Operation: 81-24=57, Resulting Numbers: [79, 57]
Generated Node #0,0,0: 87:[79, 57] Operation: 81-24=57
Exploring Operation: 24+81=105, Resulting Numbers: [79, 105]
Generated Node #0,0,1: 87:[79, 105] Operation: 24+81=105
Exploring Operation: 79-24=55, Resulting Numbers: [81, 55]
Generated Node #0,0,2: 87:[81, 55] Operation: 79-24=55
Exploring Operation: 24+79=103, Resulting Numbers: [81, 103]
Generated Node #0,0,3: 87:[81, 103] Operation: 24+79=103
Exploring Operation: 81-79=2, Resulting Numbers: [24, 2]
Generated Node #0,0,4: 87:[24, 2] Operation: 81-79=2
Moving to Node #0,2
Current State: 87:[81, 13, 90], Operations: ['66+24=90']
Exploring Operation: 81+13=94, Resulting Numbers: [90, 94]
Generated Node #0,2,0: 87:[90, 94] Operation: 81+13=94
Exploring Operation: 81-13=68, Resulting Numbers: [90, 68]
Generated Node #0,2,1: 87:[90, 68] Operation: 81-13=68
Exploring Operation: 13+90=103, Resulting Numbers: [81, 103]
Generated Node #0,2,2: 87:[81, 103] Operation: 13+90=103
Exploring Operation: 90-13=77, Resulting Numbers: [81, 77]
Generated Node #0,2,3: 87:[81, 77] Operation: 90-13=77
Exploring Operation: 90-81=9, Resulting Numbers: [13, 9]
Generated Node #0,2,4: 87:[13, 9] Operation: 90-81=9
Moving to Node #0,3
Current State: 87:[24, 13, 15], Operations: ['81-66=15']
Exploring Operation: 24-15=9, Resulting Numbers: [13, 9]
Generated Node #0,3,0: 87:[13, 9] Operation: 24-15=9
Exploring Operation: 24+13=37, Resulting Numbers: [15, 37]
Generated Node #0,3,1: 87:[15, 37] Operation: 24+13=37
Exploring Operation: 24-13=11, Resulting Numbers: [15, 11]
Generated Node #0,3,2: 87:[15, 11] Operation: 24-13=11
Exploring Operation: 13+15=28, Resulting Numbers: [24, 28]
Generated Node #0,3,3: 87:[24, 28] Operation: 13+15=28
Exploring Operation: 15-13=2, Resulting Numbers: [24, 2]
Generated Node #0,3,4: 87:[24, 2] Operation: 15-13=2
Moving to Node #0,1
Current State: 87:[81, 13, 42], Operations: ['66-24=42']
Exploring Operation: 81-13=68, Resulting Numbers: [42, 68]
Generated Node #0,1,0: 87:[42, 68] Operation: 81-13=68
Exploring Operation: 42-13=29, Resulting Numbers: [81, 29]
Generated Node #0,1,1: 87:[81, 29] Operation: 42-13=29
Exploring Operation: 81+13=94, Resulting Numbers: [42, 94]
Generated Node #0,1,2: 87:[42, 94] Operation: 81+13=94
Exploring Operation: 13+42=55, Resulting Numbers: [81, 55]
Generated Node #0,1,3: 87:[81, 55] Operation: 13+42=55
Exploring Operation: 81-42=39, Resulting Numbers: [13, 39]
Generated Node #0,1,4: 87:[13, 39] Operation: 81-42=39
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[81, 29], Operations: ['66-24=42', '42-13=29']
Exploring Operation: 81-29=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 81*29=2349, Resulting Numbers: [2349]
2349,87 unequal: No Solution
Exploring Operation: 81+29=110, Resulting Numbers: [110]
110,87 unequal: No Solution
No solution 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: 87:[42, 94], Operations: ['66-24=42', '81+13=94']
Exploring Operation: 42+94=136, Resulting Numbers: [136]
136,87 unequal: No Solution
Exploring Operation: 94-42=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 42*94=3948, Resulting Numbers: [3948]
3948,87 unequal: No Solution
No solution 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: 87:[13, 39], Operations: ['66-24=42', '81-42=39']
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 13*39=507, Resulting Numbers: [507]
507,87 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,87 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,87 unequal: No Solution
No solution 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: 87:[42, 68], Operations: ['66-24=42', '81-13=68']
Exploring Operation: 42*68=2856, Resulting Numbers: [2856]
2856,87 unequal: No Solution
Exploring Operation: 42+68=110, Resulting Numbers: [110]
110,87 unequal: No Solution
Exploring Operation: 68-42=26, Resulting Numbers: [26]
26,87 unequal: No Solution
No solution 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: 87:[81, 55], Operations: ['66-24=42', '13+42=55']
Exploring Operation: 81+55=136, Resulting Numbers: [136]
136,87 unequal: No Solution
Exploring Operation: 81-55=26, Resulting Numbers: [26]
26,87 unequal: No Solution
Exploring Operation: 81*55=4455, Resulting Numbers: [4455]
4455,87 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: 87:[66, 24, 94], Operations: ['81+13=94']
Exploring Operation: 94-66=28, Resulting Numbers: [24, 28]
Generated Node #0,4,0: 87:[24, 28] Operation: 94-66=28
Exploring Operation: 66+24=90, Resulting Numbers: [94, 90]
Generated Node #0,4,1: 87:[94, 90] Operation: 66+24=90
Exploring Operation: 94-24=70, Resulting Numbers: [66, 70]
Generated Node #0,4,2: 87:[66, 70] Operation: 94-24=70
Exploring Operation: 24+94=118, Resulting Numbers: [66, 118]
Generated Node #0,4,3: 87:[66, 118] Operation: 24+94=118
Exploring Operation: 66-24=42, Resulting Numbers: [94, 42]
Generated Node #0,4,4: 87:[94, 42] Operation: 66-24=42
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 87:[24, 28], Operations: ['81+13=94', '94-66=28']
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,87 unequal: No Solution
No 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: 87:[94, 90], Operations: ['81+13=94', '66+24=90']
Exploring Operation: 94-90=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 94*90=8460, Resulting Numbers: [8460]
8460,87 unequal: No Solution
Exploring Operation: 94+90=184, Resulting Numbers: [184]
184,87 unequal: No Solution
No 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: 87:[94, 42], Operations: ['81+13=94', '66-24=42']
Exploring Operation: 94-42=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 94+42=136, Resulting Numbers: [136]
136,87 unequal: No Solution
Exploring Operation: 94*42=3948, Resulting Numbers: [3948]
3948,87 unequal: No Solution
No 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: 87:[66, 70], Operations: ['81+13=94', '94-24=70']
Exploring Operation: 66*70=4620, Resulting Numbers: [4620]
4620,87 unequal: No Solution
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 66+70=136, Resulting Numbers: [136]
136,87 unequal: No Solution
No 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: 87:[66, 118], Operations: ['81+13=94', '24+94=118']
Exploring Operation: 118-66=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 66*118=7788, Resulting Numbers: [7788]
7788,87 unequal: No Solution
Exploring Operation: 66+118=184, Resulting Numbers: [184]
184,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 87:[24, 2], Operations: ['66+13=79', '81-79=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,87 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Moving to Node #0,3,4
Current State: 87:[24, 2], Operations: ['81-66=15', '15-13=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,87 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[24, 28], Operations: ['81-66=15', '13+15=28']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[90, 94], Operations: ['66+24=90', '81+13=94']
Exploring Operation: 90*94=8460, Resulting Numbers: [8460]
8460,87 unequal: No Solution
Exploring Operation: 94-90=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 90+94=184, Resulting Numbers: [184]
184,87 unequal: No Solution
Moving to Node #0,2,3
Current State: 87:[81, 77], Operations: ['66+24=90', '90-13=77']
Exploring Operation: 81+77=158, Resulting Numbers: [158]
158,87 unequal: No Solution
Exploring Operation: 81-77=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 81*77=6237, Resulting Numbers: [6237]
6237,87 unequal: No Solution
Moving to Node #0,3,0
Current State: 87:[13, 9], Operations: ['81-66=15', '24-15=9']
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,87 unequal: No Solution
Moving to Node #0,2,4
Current State: 87:[13, 9], Operations: ['66+24=90', '90-81=9']
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,87 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[15, 11], Operations: ['81-66=15', '24-13=11']
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,87 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[15, 37], Operations: ['81-66=15', '24+13=37']
Exploring Operation: 15+37=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 15*37=555, Resulting Numbers: [555]
555,87 unequal: No Solution
Exploring Operation: 37-15=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[81, 103], Operations: ['66+24=90', '13+90=103']
Exploring Operation: 81*103=8343, Resulting Numbers: [8343]
8343,87 unequal: No Solution
Exploring Operation: 103-81=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 81+103=184, Resulting Numbers: [184]
184,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[90, 68], Operations: ['66+24=90', '81-13=68']
Exploring Operation: 90*68=6120, Resulting Numbers: [6120]
6120,87 unequal: No Solution
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 90+68=158, Resulting Numbers: [158]
158,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[81, 103], Operations: ['66+13=79', '24+79=103']
Exploring Operation: 81*103=8343, Resulting Numbers: [8343]
8343,87 unequal: No Solution
Exploring Operation: 81+103=184, Resulting Numbers: [184]
184,87 unequal: No Solution
Exploring Operation: 103-81=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[79, 105], Operations: ['66+13=79', '24+81=105']
Exploring Operation: 79*105=8295, Resulting Numbers: [8295]
8295,87 unequal: No Solution
Exploring Operation: 105-79=26, Resulting Numbers: [26]
26,87 unequal: No Solution
Exploring Operation: 79+105=184, Resulting Numbers: [184]
184,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[81, 55], Operations: ['66+13=79', '79-24=55']
Exploring Operation: 81+55=136, Resulting Numbers: [136]
136,87 unequal: No Solution
Exploring Operation: 81*55=4455, Resulting Numbers: [4455]
4455,87 unequal: No Solution
Exploring Operation: 81-55=26, Resulting Numbers: [26]
26,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[79, 57], Operations: ['66+13=79', '81-24=57']
Exploring Operation: 79-57=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 79*57=4503, Resulting Numbers: [4503]
4503,87 unequal: No Solution
Exploring Operation: 79+57=136, Resulting Numbers: [136]
136,87 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
42,
50,
33,
32
] | 91 | [
"42+50=92",
"33-32=1",
"92-1=91"
] | Current State: 91:[42, 50, 33, 32], Operations: []
Exploring Operation: 42+50=92, Resulting Numbers: [33, 32, 92]
Generated Node #2: [33, 32, 92] from Operation: 42+50=92
Current State: 91:[33, 32, 92], Operations: ['42+50=92']
Exploring Operation: 33-32=1, Resulting Numbers: [92, 1]
Generated Node #3: [92, 1] from Operation: 33-32=1
Current State: 91:[92, 1], Operations: ['42+50=92', '33-32=1']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[42, 50, 33, 32], Operations: []
Exploring Operation: 50-42=8, Resulting Numbers: [33, 32, 8]
Generated Node #0,0: 91:[33, 32, 8] Operation: 50-42=8
Exploring Operation: 42+50=92, Resulting Numbers: [33, 32, 92]
Generated Node #0,1: 91:[33, 32, 92] Operation: 42+50=92
Moving to Node #0,0
Current State: 91:[33, 32, 8], Operations: ['50-42=8']
Exploring Operation: 32/8=4, Resulting Numbers: [33, 4]
Generated Node #0,0,0: 91:[33, 4] Operation: 32/8=4
Exploring Operation: 33-32=1, Resulting Numbers: [8, 1]
Generated Node #0,0,1: 91:[8, 1] Operation: 33-32=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[8, 1], Operations: ['50-42=8', '33-32=1']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[33, 4], Operations: ['50-42=8', '32/8=4']
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,91 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 91:[33, 32, 92], Operations: ['42+50=92']
Exploring Operation: 33-32=1, Resulting Numbers: [92, 1]
Generated Node #0,1,0: 91:[92, 1] Operation: 33-32=1
Exploring Operation: 33+32=65, Resulting Numbers: [92, 65]
Generated Node #0,1,1: 91:[92, 65] Operation: 33+32=65
Moving to Node #0,1,0
Current State: 91:[92, 1], Operations: ['42+50=92', '33-32=1']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[42, 50, 33, 32], Operations: []
Exploring Operation: 42+50=92, Resulting Numbers: [33, 32, 92]
Generated Node #0,1: 91:[33, 32, 92] Operation: 42+50=92
Moving to Node #0,1
Current State: 91:[33, 32, 92], Operations: ['42+50=92']
Exploring Operation: 33-32=1, Resulting Numbers: [92, 1]
Generated Node #0,1,0: 91:[92, 1] Operation: 33-32=1
Moving to Node #0,1,0
Current State: 91:[92, 1], Operations: ['42+50=92', '33-32=1']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
64,
59,
10,
36
] | 18 | [
"64-59=5",
"10/5=2",
"36/2=18"
] | Current State: 18:[64, 59, 10, 36], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [10, 36, 5]
Generated Node #2: [10, 36, 5] from Operation: 64-59=5
Current State: 18:[10, 36, 5], Operations: ['64-59=5']
Exploring Operation: 10/5=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 10/5=2
Current State: 18:[36, 2], Operations: ['64-59=5', '10/5=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[64, 59, 10, 36], Operations: []
Exploring Operation: 64-10=54, Resulting Numbers: [59, 36, 54]
Generated Node #0,0: 18:[59, 36, 54] Operation: 64-10=54
Exploring Operation: 64-36=28, Resulting Numbers: [59, 10, 28]
Generated Node #0,1: 18:[59, 10, 28] Operation: 64-36=28
Exploring Operation: 64-59=5, Resulting Numbers: [10, 36, 5]
Generated Node #0,2: 18:[10, 36, 5] Operation: 64-59=5
Exploring Operation: 59-10=49, Resulting Numbers: [64, 36, 49]
Generated Node #0,3: 18:[64, 36, 49] Operation: 59-10=49
Exploring Operation: 59-36=23, Resulting Numbers: [64, 10, 23]
Generated Node #0,4: 18:[64, 10, 23] Operation: 59-36=23
Moving to Node #0,2
Current State: 18:[10, 36, 5], Operations: ['64-59=5']
Exploring Operation: 10-5=5, Resulting Numbers: [36, 5]
Generated Node #0,2,0: 18:[36, 5] Operation: 10-5=5
Exploring Operation: 36-10=26, Resulting Numbers: [5, 26]
Generated Node #0,2,1: 18:[5, 26] Operation: 36-10=26
Exploring Operation: 10+5=15, Resulting Numbers: [36, 15]
Generated Node #0,2,2: 18:[36, 15] Operation: 10+5=15
Exploring Operation: 36-5=31, Resulting Numbers: [10, 31]
Generated Node #0,2,3: 18:[10, 31] Operation: 36-5=31
Exploring Operation: 10/5=2, Resulting Numbers: [36, 2]
Generated Node #0,2,4: 18:[36, 2] Operation: 10/5=2
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 18:[5, 26], Operations: ['64-59=5', '36-10=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,18 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 18:[10, 31], Operations: ['64-59=5', '36-5=31']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,18 unequal: No Solution
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 18:[36, 2], Operations: ['64-59=5', '10/5=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[64, 59, 10, 36], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [10, 36, 5]
Generated Node #0,2: 18:[10, 36, 5] Operation: 64-59=5
Moving to Node #0,2
Current State: 18:[10, 36, 5], Operations: ['64-59=5']
Exploring Operation: 10/5=2, Resulting Numbers: [36, 2]
Generated Node #0,2,4: 18:[36, 2] Operation: 10/5=2
Moving to Node #0,2,4
Current State: 18:[36, 2], Operations: ['64-59=5', '10/5=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
43,
2,
23,
48
] | 42 | [
"43+23=66",
"48/2=24",
"66-24=42"
] | Current State: 42:[43, 2, 23, 48], Operations: []
Exploring Operation: 43+23=66, Resulting Numbers: [2, 48, 66]
Generated Node #2: [2, 48, 66] from Operation: 43+23=66
Current State: 42:[2, 48, 66], Operations: ['43+23=66']
Exploring Operation: 48/2=24, Resulting Numbers: [66, 24]
Generated Node #3: [66, 24] from Operation: 48/2=24
Current State: 42:[66, 24], Operations: ['43+23=66', '48/2=24']
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[43, 2, 23, 48], Operations: []
Exploring Operation: 48/2=24, Resulting Numbers: [43, 23, 24]
Generated Node #0,0: 42:[43, 23, 24] Operation: 48/2=24
Exploring Operation: 48-23=25, Resulting Numbers: [43, 2, 25]
Generated Node #0,1: 42:[43, 2, 25] Operation: 48-23=25
Exploring Operation: 48-43=5, Resulting Numbers: [2, 23, 5]
Generated Node #0,2: 42:[2, 23, 5] Operation: 48-43=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[2, 23, 5], Operations: ['48-43=5']
Exploring Operation: 23-2=21, Resulting Numbers: [5, 21]
Generated Node #0,2,0: 42:[5, 21] Operation: 23-2=21
Exploring Operation: 2+5=7, Resulting Numbers: [23, 7]
Generated Node #0,2,1: 42:[23, 7] Operation: 2+5=7
Exploring Operation: 5-2=3, Resulting Numbers: [23, 3]
Generated Node #0,2,2: 42:[23, 3] Operation: 5-2=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 42:[5, 21], Operations: ['48-43=5', '23-2=21']
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,42 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,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,2,1
Current State: 42:[23, 7], Operations: ['48-43=5', '2+5=7']
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,42 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,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,2,2
Current State: 42:[23, 3], Operations: ['48-43=5', '5-2=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[43, 2, 25], Operations: ['48-23=25']
Exploring Operation: 43-25=18, Resulting Numbers: [2, 18]
Generated Node #0,1,0: 42:[2, 18] Operation: 43-25=18
Exploring Operation: 25-2=23, Resulting Numbers: [43, 23]
Generated Node #0,1,1: 42:[43, 23] Operation: 25-2=23
Exploring Operation: 43-2=41, Resulting Numbers: [25, 41]
Generated Node #0,1,2: 42:[25, 41] Operation: 43-2=41
Moving to Node #0,1,0
Current State: 42:[2, 18], Operations: ['48-23=25', '43-25=18']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,42 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[43, 23], Operations: ['48-23=25', '25-2=23']
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 43*23=989, Resulting Numbers: [989]
989,42 unequal: No Solution
Exploring Operation: 43+23=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[25, 41], Operations: ['48-23=25', '43-2=41']
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,42 unequal: No Solution
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,42 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[43, 23, 24], Operations: ['48/2=24']
Exploring Operation: 43-24=19, Resulting Numbers: [23, 19]
Generated Node #0,0,0: 42:[23, 19] Operation: 43-24=19
Exploring Operation: 43-23=20, Resulting Numbers: [24, 20]
Generated Node #0,0,1: 42:[24, 20] Operation: 43-23=20
Exploring Operation: 24-23=1, Resulting Numbers: [43, 1]
Generated Node #0,0,2: 42:[43, 1] Operation: 24-23=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 42:[43, 1], Operations: ['48/2=24', '24-23=1']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[43, 2, 23, 48], Operations: []
Exploring Operation: 48/2=24, Resulting Numbers: [43, 23, 24]
Generated Node #0,0: 42:[43, 23, 24] Operation: 48/2=24
Moving to Node #0,0
Current State: 42:[43, 23, 24], Operations: ['48/2=24']
Exploring Operation: 24-23=1, Resulting Numbers: [43, 1]
Generated Node #0,0,2: 42:[43, 1] Operation: 24-23=1
Moving to Node #0,0,2
Current State: 42:[43, 1], Operations: ['48/2=24', '24-23=1']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_3 | sum_heuristic |
[
90,
85,
80,
77
] | 55 | [
"80-77=3",
"90/3=30",
"85-30=55"
] | Current State: 55:[90, 85, 80, 77], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [90, 85, 3]
Generated Node #2: [90, 85, 3] from Operation: 80-77=3
Current State: 55:[90, 85, 3], Operations: ['80-77=3']
Exploring Operation: 90/3=30, Resulting Numbers: [85, 30]
Generated Node #3: [85, 30] from Operation: 90/3=30
Current State: 55:[85, 30], Operations: ['80-77=3', '90/3=30']
Exploring Operation: 85-30=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[90, 85, 80, 77], Operations: []
Exploring Operation: 90-85=5, Resulting Numbers: [80, 77, 5]
Generated Node #0,0: 55:[80, 77, 5] Operation: 90-85=5
Exploring Operation: 90-80=10, Resulting Numbers: [85, 77, 10]
Generated Node #0,1: 55:[85, 77, 10] Operation: 90-80=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[80, 77, 5], Operations: ['90-85=5']
Exploring Operation: 80-77=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 55:[5, 3] Operation: 80-77=3
Exploring Operation: 80/5=16, Resulting Numbers: [77, 16]
Generated Node #0,0,1: 55:[77, 16] Operation: 80/5=16
Moving to Node #0,0,0
Current State: 55:[5, 3], Operations: ['90-85=5', '80-77=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[77, 16], Operations: ['90-85=5', '80/5=16']
Exploring Operation: 77-16=61, Resulting Numbers: [61]
61,55 unequal: No Solution
Exploring Operation: 77+16=93, Resulting Numbers: [93]
93,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[85, 77, 10], Operations: ['90-80=10']
Exploring Operation: 85-10=75, Resulting Numbers: [77, 75]
Generated Node #0,1,0: 55:[77, 75] Operation: 85-10=75
Exploring Operation: 85-77=8, Resulting Numbers: [10, 8]
Generated Node #0,1,1: 55:[10, 8] Operation: 85-77=8
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[10, 8], Operations: ['90-80=10', '85-77=8']
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[77, 75], Operations: ['90-80=10', '85-10=75']
Exploring Operation: 77-75=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 77+75=152, Resulting Numbers: [152]
152,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
54,
61,
95,
24
] | 78 | [
"61-54=7",
"95-24=71",
"7+71=78"
] | Current State: 78:[54, 61, 95, 24], Operations: []
Exploring Operation: 61-54=7, Resulting Numbers: [95, 24, 7]
Generated Node #2: [95, 24, 7] from Operation: 61-54=7
Current State: 78:[95, 24, 7], Operations: ['61-54=7']
Exploring Operation: 95-24=71, Resulting Numbers: [7, 71]
Generated Node #3: [7, 71] from Operation: 95-24=71
Current State: 78:[7, 71], Operations: ['61-54=7', '95-24=71']
Exploring Operation: 7+71=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[54, 61, 95, 24], Operations: []
Exploring Operation: 61-24=37, Resulting Numbers: [54, 95, 37]
Generated Node #0,0: 78:[54, 95, 37] Operation: 61-24=37
Exploring Operation: 61-54=7, Resulting Numbers: [95, 24, 7]
Generated Node #0,1: 78:[95, 24, 7] Operation: 61-54=7
Exploring Operation: 54+24=78, Resulting Numbers: [61, 95, 78]
Generated Node #0,2: 78:[61, 95, 78] Operation: 54+24=78
Exploring Operation: 95-54=41, Resulting Numbers: [61, 24, 41]
Generated Node #0,3: 78:[61, 24, 41] Operation: 95-54=41
Exploring Operation: 95-61=34, Resulting Numbers: [54, 24, 34]
Generated Node #0,4: 78:[54, 24, 34] Operation: 95-61=34
Moving to Node #0,1
Current State: 78:[95, 24, 7], Operations: ['61-54=7']
Exploring Operation: 24+7=31, Resulting Numbers: [95, 31]
Generated Node #0,1,0: 78:[95, 31] Operation: 24+7=31
Exploring Operation: 95-7=88, Resulting Numbers: [24, 88]
Generated Node #0,1,1: 78:[24, 88] Operation: 95-7=88
Exploring Operation: 95-24=71, Resulting Numbers: [7, 71]
Generated Node #0,1,2: 78:[7, 71] Operation: 95-24=71
Exploring Operation: 24-7=17, Resulting Numbers: [95, 17]
Generated Node #0,1,3: 78:[95, 17] Operation: 24-7=17
Exploring Operation: 95+7=102, Resulting Numbers: [24, 102]
Generated Node #0,1,4: 78:[24, 102] Operation: 95+7=102
Moving to Node #0,3
Current State: 78:[61, 24, 41], Operations: ['95-54=41']
Exploring Operation: 61-24=37, Resulting Numbers: [41, 37]
Generated Node #0,3,0: 78:[41, 37] Operation: 61-24=37
Exploring Operation: 41-24=17, Resulting Numbers: [61, 17]
Generated Node #0,3,1: 78:[61, 17] Operation: 41-24=17
Exploring Operation: 61-41=20, Resulting Numbers: [24, 20]
Generated Node #0,3,2: 78:[24, 20] Operation: 61-41=20
Exploring Operation: 61+41=102, Resulting Numbers: [24, 102]
Generated Node #0,3,3: 78:[24, 102] Operation: 61+41=102
Exploring Operation: 61+24=85, Resulting Numbers: [41, 85]
Generated Node #0,3,4: 78:[41, 85] Operation: 61+24=85
Moving to Node #0,4
Current State: 78:[54, 24, 34], Operations: ['95-61=34']
Exploring Operation: 54+34=88, Resulting Numbers: [24, 88]
Generated Node #0,4,0: 78:[24, 88] Operation: 54+34=88
Exploring Operation: 34-24=10, Resulting Numbers: [54, 10]
Generated Node #0,4,1: 78:[54, 10] Operation: 34-24=10
Exploring Operation: 54-34=20, Resulting Numbers: [24, 20]
Generated Node #0,4,2: 78:[24, 20] Operation: 54-34=20
Exploring Operation: 54+24=78, Resulting Numbers: [34, 78]
Generated Node #0,4,3: 78:[34, 78] Operation: 54+24=78
Exploring Operation: 54-24=30, Resulting Numbers: [34, 30]
Generated Node #0,4,4: 78:[34, 30] Operation: 54-24=30
Moving to Node #0,0
Current State: 78:[54, 95, 37], Operations: ['61-24=37']
Exploring Operation: 95+37=132, Resulting Numbers: [54, 132]
Generated Node #0,0,0: 78:[54, 132] Operation: 95+37=132
Exploring Operation: 54-37=17, Resulting Numbers: [95, 17]
Generated Node #0,0,1: 78:[95, 17] Operation: 54-37=17
Exploring Operation: 95-37=58, Resulting Numbers: [54, 58]
Generated Node #0,0,2: 78:[54, 58] Operation: 95-37=58
Exploring Operation: 54+37=91, Resulting Numbers: [95, 91]
Generated Node #0,0,3: 78:[95, 91] Operation: 54+37=91
Exploring Operation: 95-54=41, Resulting Numbers: [37, 41]
Generated Node #0,0,4: 78:[37, 41] Operation: 95-54=41
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 78:[37, 41], Operations: ['61-24=37', '95-54=41']
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[54, 61, 95, 24], Operations: []
Exploring Operation: 61-24=37, Resulting Numbers: [54, 95, 37]
Generated Node #0,0: 78:[54, 95, 37] Operation: 61-24=37
Moving to Node #0,0
Current State: 78:[54, 95, 37], Operations: ['61-24=37']
Exploring Operation: 95-54=41, Resulting Numbers: [37, 41]
Generated Node #0,0,4: 78:[37, 41] Operation: 95-54=41
Moving to Node #0,0,4
Current State: 78:[37, 41], Operations: ['61-24=37', '95-54=41']
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_5 | sum_heuristic |
[
15,
37,
21,
33
] | 33 | [
"37-15=22",
"22-21=1",
"33*1=33"
] | Current State: 33:[15, 37, 21, 33], Operations: []
Exploring Operation: 37-15=22, Resulting Numbers: [21, 33, 22]
Generated Node #2: [21, 33, 22] from Operation: 37-15=22
Current State: 33:[21, 33, 22], Operations: ['37-15=22']
Exploring Operation: 22-21=1, Resulting Numbers: [33, 1]
Generated Node #3: [33, 1] from Operation: 22-21=1
Current State: 33:[33, 1], Operations: ['37-15=22', '22-21=1']
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[15, 37, 21, 33], Operations: []
Exploring Operation: 21-15=6, Resulting Numbers: [37, 33, 6]
Generated Node #0,0: 33:[37, 33, 6] Operation: 21-15=6
Exploring Operation: 15+21=36, Resulting Numbers: [37, 33, 36]
Generated Node #0,1: 33:[37, 33, 36] Operation: 15+21=36
Moving to Node #0,0
Current State: 33:[37, 33, 6], Operations: ['21-15=6']
Exploring Operation: 37-33=4, Resulting Numbers: [6, 4]
Generated Node #0,0,0: 33:[6, 4] Operation: 37-33=4
Exploring Operation: 37-6=31, Resulting Numbers: [33, 31]
Generated Node #0,0,1: 33:[33, 31] Operation: 37-6=31
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[33, 31], Operations: ['21-15=6', '37-6=31']
Exploring Operation: 33+31=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[6, 4], Operations: ['21-15=6', '37-33=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,33 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: 33:[37, 33, 36], Operations: ['15+21=36']
Exploring Operation: 37-36=1, Resulting Numbers: [33, 1]
Generated Node #0,1,0: 33:[33, 1] Operation: 37-36=1
Exploring Operation: 37-33=4, Resulting Numbers: [36, 4]
Generated Node #0,1,1: 33:[36, 4] Operation: 37-33=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[33, 1], Operations: ['15+21=36', '37-36=1']
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[15, 37, 21, 33], Operations: []
Exploring Operation: 15+21=36, Resulting Numbers: [37, 33, 36]
Generated Node #0,1: 33:[37, 33, 36] Operation: 15+21=36
Moving to Node #0,1
Current State: 33:[37, 33, 36], Operations: ['15+21=36']
Exploring Operation: 37-36=1, Resulting Numbers: [33, 1]
Generated Node #0,1,0: 33:[33, 1] Operation: 37-36=1
Moving to Node #0,1,0
Current State: 33:[33, 1], Operations: ['15+21=36', '37-36=1']
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
46,
25,
27,
36
] | 80 | [
"46+25=71",
"36-27=9",
"71+9=80"
] | Current State: 80:[46, 25, 27, 36], Operations: []
Exploring Operation: 46+25=71, Resulting Numbers: [27, 36, 71]
Generated Node #2: [27, 36, 71] from Operation: 46+25=71
Current State: 80:[27, 36, 71], Operations: ['46+25=71']
Exploring Operation: 36-27=9, Resulting Numbers: [71, 9]
Generated Node #3: [71, 9] from Operation: 36-27=9
Current State: 80:[71, 9], Operations: ['46+25=71', '36-27=9']
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[46, 25, 27, 36], Operations: []
Exploring Operation: 46-27=19, Resulting Numbers: [25, 36, 19]
Generated Node #0,0: 80:[25, 36, 19] Operation: 46-27=19
Exploring Operation: 27-25=2, Resulting Numbers: [46, 36, 2]
Generated Node #0,1: 80:[46, 36, 2] Operation: 27-25=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[25, 36, 19], Operations: ['46-27=19']
Exploring Operation: 25-19=6, Resulting Numbers: [36, 6]
Generated Node #0,0,0: 80:[36, 6] Operation: 25-19=6
Exploring Operation: 36-25=11, Resulting Numbers: [19, 11]
Generated Node #0,0,1: 80:[19, 11] Operation: 36-25=11
Moving to Node #0,0,1
Current State: 80:[19, 11], Operations: ['46-27=19', '36-25=11']
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[36, 6], Operations: ['46-27=19', '25-19=6']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[46, 36, 2], Operations: ['27-25=2']
Exploring Operation: 46+36=82, Resulting Numbers: [2, 82]
Generated Node #0,1,0: 80:[2, 82] Operation: 46+36=82
Exploring Operation: 46-36=10, Resulting Numbers: [2, 10]
Generated Node #0,1,1: 80:[2, 10] Operation: 46-36=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[2, 10], Operations: ['27-25=2', '46-36=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[2, 82], Operations: ['27-25=2', '46+36=82']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[46, 25, 27, 36], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [46, 36, 2]
Generated Node #0,1: 80:[46, 36, 2] Operation: 27-25=2
Moving to Node #0,1
Current State: 80:[46, 36, 2], Operations: ['27-25=2']
Exploring Operation: 46+36=82, Resulting Numbers: [2, 82]
Generated Node #0,1,0: 80:[2, 82] Operation: 46+36=82
Moving to Node #0,1,0
Current State: 80:[2, 82], Operations: ['27-25=2', '46+36=82']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
43,
22,
28,
13
] | 33 | [
"43+22=65",
"65/13=5",
"28+5=33"
] | Current State: 33:[43, 22, 28, 13], Operations: []
Exploring Operation: 43+22=65, Resulting Numbers: [28, 13, 65]
Generated Node #2: [28, 13, 65] from Operation: 43+22=65
Current State: 33:[28, 13, 65], Operations: ['43+22=65']
Exploring Operation: 65/13=5, Resulting Numbers: [28, 5]
Generated Node #3: [28, 5] from Operation: 65/13=5
Current State: 33:[28, 5], Operations: ['43+22=65', '65/13=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[43, 22, 28, 13], Operations: []
Exploring Operation: 22+13=35, Resulting Numbers: [43, 28, 35]
Generated Node #0,0: 33:[43, 28, 35] Operation: 22+13=35
Exploring Operation: 43-22=21, Resulting Numbers: [28, 13, 21]
Generated Node #0,1: 33:[28, 13, 21] Operation: 43-22=21
Exploring Operation: 28-22=6, Resulting Numbers: [43, 13, 6]
Generated Node #0,2: 33:[43, 13, 6] Operation: 28-22=6
Exploring Operation: 43-28=15, Resulting Numbers: [22, 13, 15]
Generated Node #0,3: 33:[22, 13, 15] Operation: 43-28=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[43, 13, 6], Operations: ['28-22=6']
Exploring Operation: 13-6=7, Resulting Numbers: [43, 7]
Generated Node #0,2,0: 33:[43, 7] Operation: 13-6=7
Exploring Operation: 43+6=49, Resulting Numbers: [13, 49]
Generated Node #0,2,1: 33:[13, 49] Operation: 43+6=49
Exploring Operation: 43-6=37, Resulting Numbers: [13, 37]
Generated Node #0,2,2: 33:[13, 37] Operation: 43-6=37
Exploring Operation: 43-13=30, Resulting Numbers: [6, 30]
Generated Node #0,2,3: 33:[6, 30] Operation: 43-13=30
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 33:[13, 37], Operations: ['28-22=6', '43-6=37']
Exploring Operation: 13*37=481, Resulting Numbers: [481]
481,33 unequal: No Solution
Exploring Operation: 13+37=50, Resulting Numbers: [50]
50,33 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,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,2,3
Current State: 33:[6, 30], Operations: ['28-22=6', '43-13=30']
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 6*30=180, Resulting Numbers: [180]
180,33 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,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,2,0
Current State: 33:[43, 7], Operations: ['28-22=6', '13-6=7']
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 43*7=301, Resulting Numbers: [301]
301,33 unequal: No Solution
Exploring Operation: 43+7=50, Resulting Numbers: [50]
50,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,2,1
Current State: 33:[13, 49], Operations: ['28-22=6', '43+6=49']
Exploring Operation: 13*49=637, Resulting Numbers: [637]
637,33 unequal: No Solution
Exploring Operation: 13+49=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,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:[43, 28, 35], Operations: ['22+13=35']
Exploring Operation: 43+28=71, Resulting Numbers: [35, 71]
Generated Node #0,0,0: 33:[35, 71] Operation: 43+28=71
Exploring Operation: 43-28=15, Resulting Numbers: [35, 15]
Generated Node #0,0,1: 33:[35, 15] Operation: 43-28=15
Exploring Operation: 43-35=8, Resulting Numbers: [28, 8]
Generated Node #0,0,2: 33:[28, 8] Operation: 43-35=8
Exploring Operation: 35-28=7, Resulting Numbers: [43, 7]
Generated Node #0,0,3: 33:[43, 7] Operation: 35-28=7
Moving to Node #0,0,1
Current State: 33:[35, 15], Operations: ['22+13=35', '43-28=15']
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 35*15=525, Resulting Numbers: [525]
525,33 unequal: No Solution
Exploring Operation: 35+15=50, Resulting Numbers: [50]
50,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[28, 8], Operations: ['22+13=35', '43-35=8']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,33 unequal: No Solution
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[43, 7], Operations: ['22+13=35', '35-28=7']
Exploring Operation: 43*7=301, Resulting Numbers: [301]
301,33 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 43+7=50, Resulting Numbers: [50]
50,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[35, 71], Operations: ['22+13=35', '43+28=71']
Exploring Operation: 35*71=2485, Resulting Numbers: [2485]
2485,33 unequal: No Solution
Exploring Operation: 35+71=106, Resulting Numbers: [106]
106,33 unequal: No Solution
Exploring Operation: 71-35=36, Resulting Numbers: [36]
36,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[28, 13, 21], Operations: ['43-22=21']
Exploring Operation: 28-21=7, Resulting Numbers: [13, 7]
Generated Node #0,1,0: 33:[13, 7] Operation: 28-21=7
Exploring Operation: 21-13=8, Resulting Numbers: [28, 8]
Generated Node #0,1,1: 33:[28, 8] Operation: 21-13=8
Exploring Operation: 13+21=34, Resulting Numbers: [28, 34]
Generated Node #0,1,2: 33:[28, 34] Operation: 13+21=34
Exploring Operation: 28-13=15, Resulting Numbers: [21, 15]
Generated Node #0,1,3: 33:[21, 15] Operation: 28-13=15
Moving to Node #0,1,0
Current State: 33:[13, 7], Operations: ['43-22=21', '28-21=7']
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[28, 34], Operations: ['43-22=21', '13+21=34']
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[28, 8], Operations: ['43-22=21', '21-13=8']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,33 unequal: No Solution
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Moving to Node #0,1,3
Current State: 33:[21, 15], Operations: ['43-22=21', '28-13=15']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,33 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[22, 13, 15], Operations: ['43-28=15']
Exploring Operation: 22-15=7, Resulting Numbers: [13, 7]
Generated Node #0,3,0: 33:[13, 7] Operation: 22-15=7
Exploring Operation: 22-13=9, Resulting Numbers: [15, 9]
Generated Node #0,3,1: 33:[15, 9] Operation: 22-13=9
Exploring Operation: 22+15=37, Resulting Numbers: [13, 37]
Generated Node #0,3,2: 33:[13, 37] Operation: 22+15=37
Exploring Operation: 22+13=35, Resulting Numbers: [15, 35]
Generated Node #0,3,3: 33:[15, 35] Operation: 22+13=35
Moving to Node #0,3,0
Current State: 33:[13, 7], Operations: ['43-28=15', '22-15=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,33 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Moving to Node #0,3,2
Current State: 33:[13, 37], Operations: ['43-28=15', '22+15=37']
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 13*37=481, Resulting Numbers: [481]
481,33 unequal: No Solution
Exploring Operation: 13+37=50, Resulting Numbers: [50]
50,33 unequal: No Solution
Moving to Node #0,3,1
Current State: 33:[15, 9], Operations: ['43-28=15', '22-13=9']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,33 unequal: No Solution
Moving to Node #0,3,3
Current State: 33:[15, 35], Operations: ['43-28=15', '22+13=35']
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,33 unequal: No Solution
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,33 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 |
[
48,
41,
11,
13
] | 54 | [
"48+41=89",
"11*13=143",
"143-89=54"
] | Current State: 54:[48, 41, 11, 13], Operations: []
Exploring Operation: 48+41=89, Resulting Numbers: [11, 13, 89]
Generated Node #2: [11, 13, 89] from Operation: 48+41=89
Current State: 54:[11, 13, 89], Operations: ['48+41=89']
Exploring Operation: 11*13=143, Resulting Numbers: [89, 143]
Generated Node #3: [89, 143] from Operation: 11*13=143
Current State: 54:[89, 143], Operations: ['48+41=89', '11*13=143']
Exploring Operation: 143-89=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[48, 41, 11, 13], Operations: []
Exploring Operation: 41+13=54, Resulting Numbers: [48, 11, 54]
Generated Node #0,0: 54:[48, 11, 54] Operation: 41+13=54
Exploring Operation: 41-13=28, Resulting Numbers: [48, 11, 28]
Generated Node #0,1: 54:[48, 11, 28] Operation: 41-13=28
Exploring Operation: 41+11=52, Resulting Numbers: [48, 13, 52]
Generated Node #0,2: 54:[48, 13, 52] Operation: 41+11=52
Exploring Operation: 48-41=7, Resulting Numbers: [11, 13, 7]
Generated Node #0,3: 54:[11, 13, 7] Operation: 48-41=7
Moving to Node #0,3
Current State: 54:[11, 13, 7], Operations: ['48-41=7']
Exploring Operation: 11+13=24, Resulting Numbers: [7, 24]
Generated Node #0,3,0: 54:[7, 24] Operation: 11+13=24
Exploring Operation: 13-7=6, Resulting Numbers: [11, 6]
Generated Node #0,3,1: 54:[11, 6] Operation: 13-7=6
Exploring Operation: 13-11=2, Resulting Numbers: [7, 2]
Generated Node #0,3,2: 54:[7, 2] Operation: 13-11=2
Exploring Operation: 11+7=18, Resulting Numbers: [13, 18]
Generated Node #0,3,3: 54:[13, 18] Operation: 11+7=18
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 54:[7, 2], Operations: ['48-41=7', '13-11=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 54:[11, 6], Operations: ['48-41=7', '13-7=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,54 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 54:[7, 24], Operations: ['48-41=7', '11+13=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 54:[13, 18], Operations: ['48-41=7', '11+7=18']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,54 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,54 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: 54:[48, 11, 54], Operations: ['41+13=54']
Exploring Operation: 54-48=6, Resulting Numbers: [11, 6]
Generated Node #0,0,0: 54:[11, 6] Operation: 54-48=6
Exploring Operation: 48-11=37, Resulting Numbers: [54, 37]
Generated Node #0,0,1: 54:[54, 37] Operation: 48-11=37
Exploring Operation: 48+11=59, Resulting Numbers: [54, 59]
Generated Node #0,0,2: 54:[54, 59] Operation: 48+11=59
Exploring Operation: 11+54=65, Resulting Numbers: [48, 65]
Generated Node #0,0,3: 54:[48, 65] Operation: 11+54=65
Moving to Node #0,1
Current State: 54:[48, 11, 28], Operations: ['41-13=28']
Exploring Operation: 28-11=17, Resulting Numbers: [48, 17]
Generated Node #0,1,0: 54:[48, 17] Operation: 28-11=17
Exploring Operation: 48-11=37, Resulting Numbers: [28, 37]
Generated Node #0,1,1: 54:[28, 37] Operation: 48-11=37
Exploring Operation: 48+11=59, Resulting Numbers: [28, 59]
Generated Node #0,1,2: 54:[28, 59] Operation: 48+11=59
Exploring Operation: 48-28=20, Resulting Numbers: [11, 20]
Generated Node #0,1,3: 54:[11, 20] Operation: 48-28=20
Moving to Node #0,2
Current State: 54:[48, 13, 52], Operations: ['41+11=52']
Exploring Operation: 48-13=35, Resulting Numbers: [52, 35]
Generated Node #0,2,0: 54:[52, 35] Operation: 48-13=35
Exploring Operation: 48+13=61, Resulting Numbers: [52, 61]
Generated Node #0,2,1: 54:[52, 61] Operation: 48+13=61
Exploring Operation: 52-48=4, Resulting Numbers: [13, 4]
Generated Node #0,2,2: 54:[13, 4] Operation: 52-48=4
Exploring Operation: 52/13=4, Resulting Numbers: [48, 4]
Generated Node #0,2,3: 54:[48, 4] Operation: 52/13=4
Moving to Node #0,0,0
Current State: 54:[11, 6], Operations: ['41+13=54', '54-48=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,54 unequal: No Solution
Moving to Node #0,1,3
Current State: 54:[11, 20], Operations: ['41-13=28', '48-28=20']
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,54 unequal: No Solution
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[54, 59], Operations: ['41+13=54', '48+11=59']
Exploring Operation: 59-54=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 54*59=3186, Resulting Numbers: [3186]
3186,54 unequal: No Solution
Exploring Operation: 54+59=113, Resulting Numbers: [113]
113,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[13, 4], Operations: ['41+11=52', '52-48=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[28, 59], Operations: ['41-13=28', '48+11=59']
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Exploring Operation: 28+59=87, Resulting Numbers: [87]
87,54 unequal: No Solution
Exploring Operation: 28*59=1652, Resulting Numbers: [1652]
1652,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[48, 17], Operations: ['41-13=28', '28-11=17']
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,54 unequal: No Solution
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Moving to Node #0,2,3
Current State: 54:[48, 4], Operations: ['41+11=52', '52/13=4']
Exploring Operation: 48+4=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 48*4=192, Resulting Numbers: [192]
192,54 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[52, 61], Operations: ['41+11=52', '48+13=61']
Exploring Operation: 52+61=113, Resulting Numbers: [113]
113,54 unequal: No Solution
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 52*61=3172, Resulting Numbers: [3172]
3172,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[54, 37], Operations: ['41+13=54', '48-11=37']
Exploring Operation: 54*37=1998, Resulting Numbers: [1998]
1998,54 unequal: No Solution
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[52, 35], Operations: ['41+11=52', '48-13=35']
Exploring Operation: 52*35=1820, Resulting Numbers: [1820]
1820,54 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 52+35=87, Resulting Numbers: [87]
87,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[28, 37], Operations: ['41-13=28', '48-11=37']
Exploring Operation: 28+37=65, Resulting Numbers: [65]
65,54 unequal: No Solution
Exploring Operation: 28*37=1036, Resulting Numbers: [1036]
1036,54 unequal: No Solution
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[48, 65], Operations: ['41+13=54', '11+54=65']
Exploring Operation: 48+65=113, Resulting Numbers: [113]
113,54 unequal: No Solution
Exploring Operation: 48*65=3120, Resulting Numbers: [3120]
3120,54 unequal: No Solution
Exploring Operation: 65-48=17, Resulting Numbers: [17]
17,54 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
39,
29,
56,
20
] | 76 | [
"39*56=2184",
"20+2184=2204",
"2204/29=76"
] | Current State: 76:[39, 29, 56, 20], Operations: []
Exploring Operation: 39*56=2184, Resulting Numbers: [29, 20, 2184]
Generated Node #2: [29, 20, 2184] from Operation: 39*56=2184
Current State: 76:[29, 20, 2184], Operations: ['39*56=2184']
Exploring Operation: 20+2184=2204, Resulting Numbers: [29, 2204]
Generated Node #3: [29, 2204] from Operation: 20+2184=2204
Current State: 76:[29, 2204], Operations: ['39*56=2184', '20+2184=2204']
Exploring Operation: 2204/29=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[39, 29, 56, 20], Operations: []
Exploring Operation: 56+20=76, Resulting Numbers: [39, 29, 76]
Generated Node #0,0: 76:[39, 29, 76] Operation: 56+20=76
Exploring Operation: 56-29=27, Resulting Numbers: [39, 20, 27]
Generated Node #0,1: 76:[39, 20, 27] Operation: 56-29=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[39, 29, 76], Operations: ['56+20=76']
Exploring Operation: 39-29=10, Resulting Numbers: [76, 10]
Generated Node #0,0,0: 76:[76, 10] Operation: 39-29=10
Exploring Operation: 39+29=68, Resulting Numbers: [76, 68]
Generated Node #0,0,1: 76:[76, 68] Operation: 39+29=68
Moving to Node #0,0,0
Current State: 76:[76, 10], Operations: ['56+20=76', '39-29=10']
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,76 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[76, 68], Operations: ['56+20=76', '39+29=68']
Exploring Operation: 76+68=144, Resulting Numbers: [144]
144,76 unequal: No Solution
Exploring Operation: 76-68=8, Resulting Numbers: [8]
8,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[39, 20, 27], Operations: ['56-29=27']
Exploring Operation: 27-20=7, Resulting Numbers: [39, 7]
Generated Node #0,1,0: 76:[39, 7] Operation: 27-20=7
Exploring Operation: 39-20=19, Resulting Numbers: [27, 19]
Generated Node #0,1,1: 76:[27, 19] Operation: 39-20=19
Moving to Node #0,1,0
Current State: 76:[39, 7], Operations: ['56-29=27', '27-20=7']
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Exploring Operation: 39+7=46, Resulting Numbers: [46]
46,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[27, 19], Operations: ['56-29=27', '39-20=19']
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,76 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,76 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 |
[
37,
58,
35,
24
] | 62 | [
"37*58=2146",
"24+2146=2170",
"2170/35=62"
] | Current State: 62:[37, 58, 35, 24], Operations: []
Exploring Operation: 37*58=2146, Resulting Numbers: [35, 24, 2146]
Generated Node #2: [35, 24, 2146] from Operation: 37*58=2146
Current State: 62:[35, 24, 2146], Operations: ['37*58=2146']
Exploring Operation: 24+2146=2170, Resulting Numbers: [35, 2170]
Generated Node #3: [35, 2170] from Operation: 24+2146=2170
Current State: 62:[35, 2170], Operations: ['37*58=2146', '24+2146=2170']
Exploring Operation: 2170/35=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[37, 58, 35, 24], Operations: []
Exploring Operation: 37-35=2, Resulting Numbers: [58, 24, 2]
Generated Node #0,0: 62:[58, 24, 2] Operation: 37-35=2
Exploring Operation: 37+24=61, Resulting Numbers: [58, 35, 61]
Generated Node #0,1: 62:[58, 35, 61] Operation: 37+24=61
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[58, 35, 61], Operations: ['37+24=61']
Exploring Operation: 58-35=23, Resulting Numbers: [61, 23]
Generated Node #0,1,0: 62:[61, 23] Operation: 58-35=23
Exploring Operation: 61-58=3, Resulting Numbers: [35, 3]
Generated Node #0,1,1: 62:[35, 3] Operation: 61-58=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 62:[35, 3], Operations: ['37+24=61', '61-58=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 62:[61, 23], Operations: ['37+24=61', '58-35=23']
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 61+23=84, Resulting Numbers: [84]
84,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[58, 24, 2], Operations: ['37-35=2']
Exploring Operation: 58+2=60, Resulting Numbers: [24, 60]
Generated Node #0,0,0: 62:[24, 60] Operation: 58+2=60
Exploring Operation: 58-24=34, Resulting Numbers: [2, 34]
Generated Node #0,0,1: 62:[2, 34] Operation: 58-24=34
Moving to Node #0,0,1
Current State: 62:[2, 34], Operations: ['37-35=2', '58-24=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,62 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[24, 60], Operations: ['37-35=2', '58+2=60']
Exploring Operation: 24+60=84, Resulting Numbers: [84]
84,62 unequal: No Solution
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,62 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 |
[
3,
28,
88,
60
] | 53 | [
"28-3=25",
"88-60=28",
"25+28=53"
] | Current State: 53:[3, 28, 88, 60], Operations: []
Exploring Operation: 28-3=25, Resulting Numbers: [88, 60, 25]
Generated Node #2: [88, 60, 25] from Operation: 28-3=25
Current State: 53:[88, 60, 25], Operations: ['28-3=25']
Exploring Operation: 88-60=28, Resulting Numbers: [25, 28]
Generated Node #3: [25, 28] from Operation: 88-60=28
Current State: 53:[25, 28], Operations: ['28-3=25', '88-60=28']
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[3, 28, 88, 60], Operations: []
Exploring Operation: 3+28=31, Resulting Numbers: [88, 60, 31]
Generated Node #0,0: 53:[88, 60, 31] Operation: 3+28=31
Moving to Node #0,0
Current State: 53:[88, 60, 31], Operations: ['3+28=31']
Exploring Operation: 88-31=57, Resulting Numbers: [60, 57]
Generated Node #0,0,0: 53:[60, 57] Operation: 88-31=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[60, 57], Operations: ['3+28=31', '88-31=57']
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,53 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 |
[
85,
90,
55,
7
] | 80 | [
"85+90=175",
"175/7=25",
"55+25=80"
] | Current State: 80:[85, 90, 55, 7], Operations: []
Exploring Operation: 85+90=175, Resulting Numbers: [55, 7, 175]
Generated Node #2: [55, 7, 175] from Operation: 85+90=175
Current State: 80:[55, 7, 175], Operations: ['85+90=175']
Exploring Operation: 175/7=25, Resulting Numbers: [55, 25]
Generated Node #3: [55, 25] from Operation: 175/7=25
Current State: 80:[55, 25], Operations: ['85+90=175', '175/7=25']
Exploring Operation: 55+25=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[85, 90, 55, 7], Operations: []
Exploring Operation: 90-55=35, Resulting Numbers: [85, 7, 35]
Generated Node #0,0: 80:[85, 7, 35] Operation: 90-55=35
Moving to Node #0,0
Current State: 80:[85, 7, 35], Operations: ['90-55=35']
Exploring Operation: 35/7=5, Resulting Numbers: [85, 5]
Generated Node #0,0,0: 80:[85, 5] Operation: 35/7=5
Moving to Node #0,0,0
Current State: 80:[85, 5], Operations: ['90-55=35', '35/7=5']
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[85, 90, 55, 7], Operations: []
Exploring Operation: 90-55=35, Resulting Numbers: [85, 7, 35]
Generated Node #0,0: 80:[85, 7, 35] Operation: 90-55=35
Moving to Node #0,0
Current State: 80:[85, 7, 35], Operations: ['90-55=35']
Exploring Operation: 35/7=5, Resulting Numbers: [85, 5]
Generated Node #0,0,0: 80:[85, 5] Operation: 35/7=5
Moving to Node #0,0,0
Current State: 80:[85, 5], Operations: ['90-55=35', '35/7=5']
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
63,
42,
97,
2
] | 71 | [
"63*2=126",
"97-42=55",
"126-55=71"
] | Current State: 71:[63, 42, 97, 2], Operations: []
Exploring Operation: 63*2=126, Resulting Numbers: [42, 97, 126]
Generated Node #2: [42, 97, 126] from Operation: 63*2=126
Current State: 71:[42, 97, 126], Operations: ['63*2=126']
Exploring Operation: 97-42=55, Resulting Numbers: [126, 55]
Generated Node #3: [126, 55] from Operation: 97-42=55
Current State: 71:[126, 55], Operations: ['63*2=126', '97-42=55']
Exploring Operation: 126-55=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[63, 42, 97, 2], Operations: []
Exploring Operation: 97-2=95, Resulting Numbers: [63, 42, 95]
Generated Node #0,0: 71:[63, 42, 95] Operation: 97-2=95
Exploring Operation: 63+2=65, Resulting Numbers: [42, 97, 65]
Generated Node #0,1: 71:[42, 97, 65] Operation: 63+2=65
Exploring Operation: 42*2=84, Resulting Numbers: [63, 97, 84]
Generated Node #0,2: 71:[63, 97, 84] Operation: 42*2=84
Exploring Operation: 42+2=44, Resulting Numbers: [63, 97, 44]
Generated Node #0,3: 71:[63, 97, 44] Operation: 42+2=44
Moving to Node #0,2
Current State: 71:[63, 97, 84], Operations: ['42*2=84']
Exploring Operation: 97-63=34, Resulting Numbers: [84, 34]
Generated Node #0,2,0: 71:[84, 34] Operation: 97-63=34
Exploring Operation: 63+97=160, Resulting Numbers: [84, 160]
Generated Node #0,2,1: 71:[84, 160] Operation: 63+97=160
Exploring Operation: 97-84=13, Resulting Numbers: [63, 13]
Generated Node #0,2,2: 71:[63, 13] Operation: 97-84=13
Exploring Operation: 84-63=21, Resulting Numbers: [97, 21]
Generated Node #0,2,3: 71:[97, 21] Operation: 84-63=21
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[84, 34], Operations: ['42*2=84', '97-63=34']
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,71 unequal: No Solution
Exploring Operation: 84*34=2856, Resulting Numbers: [2856]
2856,71 unequal: No Solution
Exploring Operation: 84+34=118, Resulting Numbers: [118]
118,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 71:[63, 13], Operations: ['42*2=84', '97-84=13']
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,71 unequal: No Solution
Exploring Operation: 63+13=76, Resulting Numbers: [76]
76,71 unequal: No Solution
Exploring Operation: 63*13=819, Resulting Numbers: [819]
819,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 71:[97, 21], Operations: ['42*2=84', '84-63=21']
Exploring Operation: 97*21=2037, Resulting Numbers: [2037]
2037,71 unequal: No Solution
Exploring Operation: 97+21=118, Resulting Numbers: [118]
118,71 unequal: No Solution
Exploring Operation: 97-21=76, Resulting Numbers: [76]
76,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[84, 160], Operations: ['42*2=84', '63+97=160']
Exploring Operation: 160-84=76, Resulting Numbers: [76]
76,71 unequal: No Solution
Exploring Operation: 84*160=13440, Resulting Numbers: [13440]
13440,71 unequal: No Solution
Exploring Operation: 84+160=244, Resulting Numbers: [244]
244,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:[42, 97, 65], Operations: ['63+2=65']
Exploring Operation: 97-65=32, Resulting Numbers: [42, 32]
Generated Node #0,1,0: 71:[42, 32] Operation: 97-65=32
Exploring Operation: 97-42=55, Resulting Numbers: [65, 55]
Generated Node #0,1,1: 71:[65, 55] Operation: 97-42=55
Exploring Operation: 42+65=107, Resulting Numbers: [97, 107]
Generated Node #0,1,2: 71:[97, 107] Operation: 42+65=107
Exploring Operation: 42+97=139, Resulting Numbers: [65, 139]
Generated Node #0,1,3: 71:[65, 139] Operation: 42+97=139
Moving to Node #0,0
Current State: 71:[63, 42, 95], Operations: ['97-2=95']
Exploring Operation: 63-42=21, Resulting Numbers: [95, 21]
Generated Node #0,0,0: 71:[95, 21] Operation: 63-42=21
Exploring Operation: 63+42=105, Resulting Numbers: [95, 105]
Generated Node #0,0,1: 71:[95, 105] Operation: 63+42=105
Exploring Operation: 95-63=32, Resulting Numbers: [42, 32]
Generated Node #0,0,2: 71:[42, 32] Operation: 95-63=32
Exploring Operation: 95-42=53, Resulting Numbers: [63, 53]
Generated Node #0,0,3: 71:[63, 53] Operation: 95-42=53
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 71:[63, 53], Operations: ['97-2=95', '95-42=53']
Exploring Operation: 63*53=3339, Resulting Numbers: [3339]
3339,71 unequal: No Solution
Exploring Operation: 63+53=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,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,1
Current State: 71:[95, 105], Operations: ['97-2=95', '63+42=105']
Exploring Operation: 95*105=9975, Resulting Numbers: [9975]
9975,71 unequal: No Solution
Exploring Operation: 105-95=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 95+105=200, Resulting Numbers: [200]
200,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[42, 32], Operations: ['97-2=95', '95-63=32']
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 42+32=74, Resulting Numbers: [74]
74,71 unequal: No Solution
Exploring Operation: 42*32=1344, Resulting Numbers: [1344]
1344,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:[95, 21], Operations: ['97-2=95', '63-42=21']
Exploring Operation: 95+21=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 95-21=74, Resulting Numbers: [74]
74,71 unequal: No Solution
Exploring Operation: 95*21=1995, Resulting Numbers: [1995]
1995,71 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: 71:[63, 97, 44], Operations: ['42+2=44']
Exploring Operation: 97-44=53, Resulting Numbers: [63, 53]
Generated Node #0,3,0: 71:[63, 53] Operation: 97-44=53
Exploring Operation: 97-63=34, Resulting Numbers: [44, 34]
Generated Node #0,3,1: 71:[44, 34] Operation: 97-63=34
Exploring Operation: 63-44=19, Resulting Numbers: [97, 19]
Generated Node #0,3,2: 71:[97, 19] Operation: 63-44=19
Exploring Operation: 63+44=107, Resulting Numbers: [97, 107]
Generated Node #0,3,3: 71:[97, 107] Operation: 63+44=107
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[63, 53], Operations: ['42+2=44', '97-44=53']
Exploring Operation: 63+53=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 63*53=3339, Resulting Numbers: [3339]
3339,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[97, 107], Operations: ['42+2=44', '63+44=107']
Exploring Operation: 97+107=204, Resulting Numbers: [204]
204,71 unequal: No Solution
Exploring Operation: 97*107=10379, Resulting Numbers: [10379]
10379,71 unequal: No Solution
Exploring Operation: 107-97=10, Resulting Numbers: [10]
10,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[44, 34], Operations: ['42+2=44', '97-63=34']
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,71 unequal: No Solution
Exploring Operation: 44*34=1496, Resulting Numbers: [1496]
1496,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[97, 19], Operations: ['42+2=44', '63-44=19']
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,71 unequal: No Solution
Exploring Operation: 97+19=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 97*19=1843, Resulting Numbers: [1843]
1843,71 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: 71:[65, 55], Operations: ['63+2=65', '97-42=55']
Exploring Operation: 65+55=120, Resulting Numbers: [120]
120,71 unequal: No Solution
Exploring Operation: 65-55=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 65*55=3575, Resulting Numbers: [3575]
3575,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[97, 107], Operations: ['63+2=65', '42+65=107']
Exploring Operation: 107-97=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 97*107=10379, Resulting Numbers: [10379]
10379,71 unequal: No Solution
Exploring Operation: 97+107=204, Resulting Numbers: [204]
204,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[42, 32], Operations: ['63+2=65', '97-65=32']
Exploring Operation: 42*32=1344, Resulting Numbers: [1344]
1344,71 unequal: No Solution
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 42+32=74, Resulting Numbers: [74]
74,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[65, 139], Operations: ['63+2=65', '42+97=139']
Exploring Operation: 65*139=9035, Resulting Numbers: [9035]
9035,71 unequal: No Solution
Exploring Operation: 139-65=74, Resulting Numbers: [74]
74,71 unequal: No Solution
Exploring Operation: 65+139=204, Resulting Numbers: [204]
204,71 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
28,
84,
35,
22
] | 83 | [
"84/28=3",
"35*3=105",
"105-22=83"
] | Current State: 83:[28, 84, 35, 22], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [35, 22, 3]
Generated Node #2: [35, 22, 3] from Operation: 84/28=3
Current State: 83:[35, 22, 3], Operations: ['84/28=3']
Exploring Operation: 35*3=105, Resulting Numbers: [22, 105]
Generated Node #3: [22, 105] from Operation: 35*3=105
Current State: 83:[22, 105], Operations: ['84/28=3', '35*3=105']
Exploring Operation: 105-22=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[28, 84, 35, 22], Operations: []
Exploring Operation: 35+22=57, Resulting Numbers: [28, 84, 57]
Generated Node #0,0: 83:[28, 84, 57] Operation: 35+22=57
Exploring Operation: 28+35=63, Resulting Numbers: [84, 22, 63]
Generated Node #0,1: 83:[84, 22, 63] Operation: 28+35=63
Exploring Operation: 28+22=50, Resulting Numbers: [84, 35, 50]
Generated Node #0,2: 83:[84, 35, 50] Operation: 28+22=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[28, 84, 57], Operations: ['35+22=57']
Exploring Operation: 28+84=112, Resulting Numbers: [57, 112]
Generated Node #0,0,0: 83:[57, 112] Operation: 28+84=112
Exploring Operation: 84-28=56, Resulting Numbers: [57, 56]
Generated Node #0,0,1: 83:[57, 56] Operation: 84-28=56
Exploring Operation: 28+57=85, Resulting Numbers: [84, 85]
Generated Node #0,0,2: 83:[84, 85] Operation: 28+57=85
Moving to Node #0,0,2
Current State: 83:[84, 85], Operations: ['35+22=57', '28+57=85']
Exploring Operation: 84*85=7140, Resulting Numbers: [7140]
7140,83 unequal: No Solution
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 84+85=169, Resulting Numbers: [169]
169,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[57, 56], Operations: ['35+22=57', '84-28=56']
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 57+56=113, Resulting Numbers: [113]
113,83 unequal: No Solution
Exploring Operation: 57*56=3192, Resulting Numbers: [3192]
3192,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[57, 112], Operations: ['35+22=57', '28+84=112']
Exploring Operation: 112-57=55, Resulting Numbers: [55]
55,83 unequal: No Solution
Exploring Operation: 57+112=169, Resulting Numbers: [169]
169,83 unequal: No Solution
Exploring Operation: 57*112=6384, Resulting Numbers: [6384]
6384,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[84, 22, 63], Operations: ['28+35=63']
Exploring Operation: 84-22=62, Resulting Numbers: [63, 62]
Generated Node #0,1,0: 83:[63, 62] Operation: 84-22=62
Exploring Operation: 22+63=85, Resulting Numbers: [84, 85]
Generated Node #0,1,1: 83:[84, 85] Operation: 22+63=85
Exploring Operation: 84+22=106, Resulting Numbers: [63, 106]
Generated Node #0,1,2: 83:[63, 106] Operation: 84+22=106
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[84, 85], Operations: ['28+35=63', '22+63=85']
Exploring Operation: 84*85=7140, Resulting Numbers: [7140]
7140,83 unequal: No Solution
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 84+85=169, Resulting Numbers: [169]
169,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[63, 62], Operations: ['28+35=63', '84-22=62']
Exploring Operation: 63-62=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 63*62=3906, Resulting Numbers: [3906]
3906,83 unequal: No Solution
Exploring Operation: 63+62=125, Resulting Numbers: [125]
125,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 83:[63, 106], Operations: ['28+35=63', '84+22=106']
Exploring Operation: 63*106=6678, Resulting Numbers: [6678]
6678,83 unequal: No Solution
Exploring Operation: 63+106=169, Resulting Numbers: [169]
169,83 unequal: No Solution
Exploring Operation: 106-63=43, Resulting Numbers: [43]
43,83 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: 83:[84, 35, 50], Operations: ['28+22=50']
Exploring Operation: 84+35=119, Resulting Numbers: [50, 119]
Generated Node #0,2,0: 83:[50, 119] Operation: 84+35=119
Exploring Operation: 35+50=85, Resulting Numbers: [84, 85]
Generated Node #0,2,1: 83:[84, 85] Operation: 35+50=85
Exploring Operation: 84-35=49, Resulting Numbers: [50, 49]
Generated Node #0,2,2: 83:[50, 49] Operation: 84-35=49
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 83:[84, 85], Operations: ['28+22=50', '35+50=85']
Exploring Operation: 84+85=169, Resulting Numbers: [169]
169,83 unequal: No Solution
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 84*85=7140, Resulting Numbers: [7140]
7140,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 83:[50, 49], Operations: ['28+22=50', '84-35=49']
Exploring Operation: 50*49=2450, Resulting Numbers: [2450]
2450,83 unequal: No Solution
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 50+49=99, Resulting Numbers: [99]
99,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[50, 119], Operations: ['28+22=50', '84+35=119']
Exploring Operation: 50*119=5950, Resulting Numbers: [5950]
5950,83 unequal: No Solution
Exploring Operation: 119-50=69, Resulting Numbers: [69]
69,83 unequal: No Solution
Exploring Operation: 50+119=169, Resulting Numbers: [169]
169,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
59,
3,
22,
20
] | 91 | [
"59-22=37",
"3*37=111",
"111-20=91"
] | Current State: 91:[59, 3, 22, 20], Operations: []
Exploring Operation: 59-22=37, Resulting Numbers: [3, 20, 37]
Generated Node #2: [3, 20, 37] from Operation: 59-22=37
Current State: 91:[3, 20, 37], Operations: ['59-22=37']
Exploring Operation: 3*37=111, Resulting Numbers: [20, 111]
Generated Node #3: [20, 111] from Operation: 3*37=111
Current State: 91:[20, 111], Operations: ['59-22=37', '3*37=111']
Exploring Operation: 111-20=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[59, 3, 22, 20], Operations: []
Exploring Operation: 59+22=81, Resulting Numbers: [3, 20, 81]
Generated Node #0,0: 91:[3, 20, 81] Operation: 59+22=81
Exploring Operation: 59+20=79, Resulting Numbers: [3, 22, 79]
Generated Node #0,1: 91:[3, 22, 79] Operation: 59+20=79
Moving to Node #0,0
Current State: 91:[3, 20, 81], Operations: ['59+22=81']
Exploring Operation: 3+81=84, Resulting Numbers: [20, 84]
Generated Node #0,0,0: 91:[20, 84] Operation: 3+81=84
Exploring Operation: 20-3=17, Resulting Numbers: [81, 17]
Generated Node #0,0,1: 91:[81, 17] Operation: 20-3=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[20, 84], Operations: ['59+22=81', '3+81=84']
Exploring Operation: 84-20=64, Resulting Numbers: [64]
64,91 unequal: No Solution
Exploring Operation: 20+84=104, Resulting Numbers: [104]
104,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[81, 17], Operations: ['59+22=81', '20-3=17']
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,91 unequal: No Solution
Exploring Operation: 81+17=98, Resulting Numbers: [98]
98,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 91:[3, 22, 79], Operations: ['59+20=79']
Exploring Operation: 22+79=101, Resulting Numbers: [3, 101]
Generated Node #0,1,0: 91:[3, 101] Operation: 22+79=101
Exploring Operation: 22-3=19, Resulting Numbers: [79, 19]
Generated Node #0,1,1: 91:[79, 19] Operation: 22-3=19
Moving to Node #0,1,0
Current State: 91:[3, 101], Operations: ['59+20=79', '22+79=101']
Exploring Operation: 3+101=104, Resulting Numbers: [104]
104,91 unequal: No Solution
Exploring Operation: 101-3=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[79, 19], Operations: ['59+20=79', '22-3=19']
Exploring Operation: 79+19=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Exploring Operation: 79-19=60, Resulting Numbers: [60]
60,91 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
22,
69,
63,
96
] | 36 | [
"69-63=6",
"22*6=132",
"132-96=36"
] | Current State: 36:[22, 69, 63, 96], Operations: []
Exploring Operation: 69-63=6, Resulting Numbers: [22, 96, 6]
Generated Node #2: [22, 96, 6] from Operation: 69-63=6
Current State: 36:[22, 96, 6], Operations: ['69-63=6']
Exploring Operation: 22*6=132, Resulting Numbers: [96, 132]
Generated Node #3: [96, 132] from Operation: 22*6=132
Current State: 36:[96, 132], Operations: ['69-63=6', '22*6=132']
Exploring Operation: 132-96=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[22, 69, 63, 96], Operations: []
Exploring Operation: 96-69=27, Resulting Numbers: [22, 63, 27]
Generated Node #0,0: 36:[22, 63, 27] Operation: 96-69=27
Moving to Node #0,0
Current State: 36:[22, 63, 27], Operations: ['96-69=27']
Exploring Operation: 63-27=36, Resulting Numbers: [22, 36]
Generated Node #0,0,0: 36:[22, 36] Operation: 63-27=36
Moving to Node #0,0,0
Current State: 36:[22, 36], Operations: ['96-69=27', '63-27=36']
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,36 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
74,
30,
10,
52
] | 66 | [
"74-52=22",
"30/10=3",
"22*3=66"
] | Current State: 66:[74, 30, 10, 52], Operations: []
Exploring Operation: 74-52=22, Resulting Numbers: [30, 10, 22]
Generated Node #2: [30, 10, 22] from Operation: 74-52=22
Current State: 66:[30, 10, 22], Operations: ['74-52=22']
Exploring Operation: 30/10=3, Resulting Numbers: [22, 3]
Generated Node #3: [22, 3] from Operation: 30/10=3
Current State: 66:[22, 3], Operations: ['74-52=22', '30/10=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[74, 30, 10, 52], Operations: []
Exploring Operation: 74-10=64, Resulting Numbers: [30, 52, 64]
Generated Node #0,0: 66:[30, 52, 64] Operation: 74-10=64
Exploring Operation: 10+52=62, Resulting Numbers: [74, 30, 62]
Generated Node #0,1: 66:[74, 30, 62] Operation: 10+52=62
Exploring Operation: 52-30=22, Resulting Numbers: [74, 10, 22]
Generated Node #0,2: 66:[74, 10, 22] Operation: 52-30=22
Exploring Operation: 74-52=22, Resulting Numbers: [30, 10, 22]
Generated Node #0,3: 66:[30, 10, 22] Operation: 74-52=22
Exploring Operation: 52-10=42, Resulting Numbers: [74, 30, 42]
Generated Node #0,4: 66:[74, 30, 42] Operation: 52-10=42
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[30, 10, 22], Operations: ['74-52=22']
Exploring Operation: 30-10=20, Resulting Numbers: [22, 20]
Generated Node #0,3,0: 66:[22, 20] Operation: 30-10=20
Exploring Operation: 22-10=12, Resulting Numbers: [30, 12]
Generated Node #0,3,1: 66:[30, 12] Operation: 22-10=12
Exploring Operation: 10+22=32, Resulting Numbers: [30, 32]
Generated Node #0,3,2: 66:[30, 32] Operation: 10+22=32
Exploring Operation: 30/10=3, Resulting Numbers: [22, 3]
Generated Node #0,3,3: 66:[22, 3] Operation: 30/10=3
Exploring Operation: 30-22=8, Resulting Numbers: [10, 8]
Generated Node #0,3,4: 66:[10, 8] Operation: 30-22=8
Moving to Node #0,3,3
Current State: 66:[22, 3], Operations: ['74-52=22', '30/10=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[74, 30, 10, 52], Operations: []
Exploring Operation: 74-52=22, Resulting Numbers: [30, 10, 22]
Generated Node #0,3: 66:[30, 10, 22] Operation: 74-52=22
Moving to Node #0,3
Current State: 66:[30, 10, 22], Operations: ['74-52=22']
Exploring Operation: 30/10=3, Resulting Numbers: [22, 3]
Generated Node #0,3,3: 66:[22, 3] Operation: 30/10=3
Moving to Node #0,3,3
Current State: 66:[22, 3], Operations: ['74-52=22', '30/10=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
20,
56,
2,
19
] | 94 | [
"56-19=37",
"2*37=74",
"20+74=94"
] | Current State: 94:[20, 56, 2, 19], Operations: []
Exploring Operation: 56-19=37, Resulting Numbers: [20, 2, 37]
Generated Node #2: [20, 2, 37] from Operation: 56-19=37
Current State: 94:[20, 2, 37], Operations: ['56-19=37']
Exploring Operation: 2*37=74, Resulting Numbers: [20, 74]
Generated Node #3: [20, 74] from Operation: 2*37=74
Current State: 94:[20, 74], Operations: ['56-19=37', '2*37=74']
Exploring Operation: 20+74=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[20, 56, 2, 19], Operations: []
Exploring Operation: 56-20=36, Resulting Numbers: [2, 19, 36]
Generated Node #0,0: 94:[2, 19, 36] Operation: 56-20=36
Exploring Operation: 56-19=37, Resulting Numbers: [20, 2, 37]
Generated Node #0,1: 94:[20, 2, 37] Operation: 56-19=37
Exploring Operation: 20-19=1, Resulting Numbers: [56, 2, 1]
Generated Node #0,2: 94:[56, 2, 1] Operation: 20-19=1
Exploring Operation: 20*2=40, Resulting Numbers: [56, 19, 40]
Generated Node #0,3: 94:[56, 19, 40] Operation: 20*2=40
Exploring Operation: 20+19=39, Resulting Numbers: [56, 2, 39]
Generated Node #0,4: 94:[56, 2, 39] Operation: 20+19=39
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[56, 2, 1], Operations: ['20-19=1']
Exploring Operation: 56*1=56, Resulting Numbers: [2, 56]
Generated Node #0,2,0: 94:[2, 56] Operation: 56*1=56
Exploring Operation: 2*1=2, Resulting Numbers: [56, 2]
Generated Node #0,2,1: 94:[56, 2] Operation: 2*1=2
Exploring Operation: 56-2=54, Resulting Numbers: [1, 54]
Generated Node #0,2,2: 94:[1, 54] Operation: 56-2=54
Exploring Operation: 56/1=56, Resulting Numbers: [2, 56]
Generated Node #0,2,3: 94:[2, 56] Operation: 56/1=56
Exploring Operation: 56-1=55, Resulting Numbers: [2, 55]
Generated Node #0,2,4: 94:[2, 55] Operation: 56-1=55
Moving to Node #0,2,2
Current State: 94:[1, 54], Operations: ['20-19=1', '56-2=54']
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 1+54=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 1*54=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Moving to Node #0,2,4
Current State: 94:[2, 55], Operations: ['20-19=1', '56-1=55']
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,94 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[2, 56], Operations: ['20-19=1', '56*1=56']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,94 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[56, 2], Operations: ['20-19=1', '2*1=2']
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 56*2=112, Resulting Numbers: [112]
112,94 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Moving to Node #0,2,3
Current State: 94:[2, 56], Operations: ['20-19=1', '56/1=56']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,94 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 94:[56, 2, 39], Operations: ['20+19=39']
Exploring Operation: 56-2=54, Resulting Numbers: [39, 54]
Generated Node #0,4,0: 94:[39, 54] Operation: 56-2=54
Exploring Operation: 56+2=58, Resulting Numbers: [39, 58]
Generated Node #0,4,1: 94:[39, 58] Operation: 56+2=58
Exploring Operation: 56+39=95, Resulting Numbers: [2, 95]
Generated Node #0,4,2: 94:[2, 95] Operation: 56+39=95
Exploring Operation: 2+39=41, Resulting Numbers: [56, 41]
Generated Node #0,4,3: 94:[56, 41] Operation: 2+39=41
Exploring Operation: 56-39=17, Resulting Numbers: [2, 17]
Generated Node #0,4,4: 94:[2, 17] Operation: 56-39=17
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 94:[2, 95], Operations: ['20+19=39', '56+39=95']
Exploring Operation: 2*95=190, Resulting Numbers: [190]
190,94 unequal: No Solution
Exploring Operation: 2+95=97, Resulting Numbers: [97]
97,94 unequal: No Solution
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 94:[39, 54], Operations: ['20+19=39', '56-2=54']
Exploring Operation: 54-39=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Exploring Operation: 39+54=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 39*54=2106, Resulting Numbers: [2106]
2106,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 94:[56, 41], Operations: ['20+19=39', '2+39=41']
Exploring Operation: 56-41=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Exploring Operation: 56*41=2296, Resulting Numbers: [2296]
2296,94 unequal: No Solution
Exploring Operation: 56+41=97, Resulting Numbers: [97]
97,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 94:[2, 17], Operations: ['20+19=39', '56-39=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,94 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 94:[39, 58], Operations: ['20+19=39', '56+2=58']
Exploring Operation: 58-39=19, Resulting Numbers: [19]
19,94 unequal: No Solution
Exploring Operation: 39*58=2262, Resulting Numbers: [2262]
2262,94 unequal: No Solution
Exploring Operation: 39+58=97, Resulting Numbers: [97]
97,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[2, 19, 36], Operations: ['56-20=36']
Exploring Operation: 19+36=55, Resulting Numbers: [2, 55]
Generated Node #0,0,0: 94:[2, 55] Operation: 19+36=55
Exploring Operation: 19-2=17, Resulting Numbers: [36, 17]
Generated Node #0,0,1: 94:[36, 17] Operation: 19-2=17
Exploring Operation: 36-19=17, Resulting Numbers: [2, 17]
Generated Node #0,0,2: 94:[2, 17] Operation: 36-19=17
Exploring Operation: 2*19=38, Resulting Numbers: [36, 38]
Generated Node #0,0,3: 94:[36, 38] Operation: 2*19=38
Exploring Operation: 2+36=38, Resulting Numbers: [19, 38]
Generated Node #0,0,4: 94:[19, 38] Operation: 2+36=38
Moving to Node #0,0,0
Current State: 94:[2, 55], Operations: ['56-20=36', '19+36=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,94 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[2, 17], Operations: ['56-20=36', '36-19=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,94 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Moving to Node #0,0,3
Current State: 94:[36, 38], Operations: ['56-20=36', '2*19=38']
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 36+38=74, Resulting Numbers: [74]
74,94 unequal: No Solution
Exploring Operation: 36*38=1368, Resulting Numbers: [1368]
1368,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[36, 17], Operations: ['56-20=36', '19-2=17']
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,94 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,94 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Moving to Node #0,0,4
Current State: 94:[19, 38], Operations: ['56-20=36', '2+36=38']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,94 unequal: No Solution
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 19*38=722, Resulting Numbers: [722]
722,94 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,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,1
Current State: 94:[20, 2, 37], Operations: ['56-19=37']
Exploring Operation: 20-2=18, Resulting Numbers: [37, 18]
Generated Node #0,1,0: 94:[37, 18] Operation: 20-2=18
Exploring Operation: 20*2=40, Resulting Numbers: [37, 40]
Generated Node #0,1,1: 94:[37, 40] Operation: 20*2=40
Exploring Operation: 20/2=10, Resulting Numbers: [37, 10]
Generated Node #0,1,2: 94:[37, 10] Operation: 20/2=10
Exploring Operation: 37-20=17, Resulting Numbers: [2, 17]
Generated Node #0,1,3: 94:[2, 17] Operation: 37-20=17
Exploring Operation: 20+37=57, Resulting Numbers: [2, 57]
Generated Node #0,1,4: 94:[2, 57] Operation: 20+37=57
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 94:[2, 57], Operations: ['56-19=37', '20+37=57']
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,94 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,94 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 94:[2, 17], Operations: ['56-19=37', '37-20=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,94 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[37, 40], Operations: ['56-19=37', '20*2=40']
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,94 unequal: No Solution
Exploring Operation: 37*40=1480, Resulting Numbers: [1480]
1480,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 94:[37, 10], Operations: ['56-19=37', '20/2=10']
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,94 unequal: No Solution
Exploring Operation: 37*10=370, Resulting Numbers: [370]
370,94 unequal: No Solution
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[37, 18], Operations: ['56-19=37', '20-2=18']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,94 unequal: No Solution
Exploring Operation: 37*18=666, Resulting Numbers: [666]
666,94 unequal: No Solution
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[56, 19, 40], Operations: ['20*2=40']
Exploring Operation: 56-19=37, Resulting Numbers: [40, 37]
Generated Node #0,3,0: 94:[40, 37] Operation: 56-19=37
Exploring Operation: 40-19=21, Resulting Numbers: [56, 21]
Generated Node #0,3,1: 94:[56, 21] Operation: 40-19=21
Exploring Operation: 56+19=75, Resulting Numbers: [40, 75]
Generated Node #0,3,2: 94:[40, 75] Operation: 56+19=75
Exploring Operation: 56+40=96, Resulting Numbers: [19, 96]
Generated Node #0,3,3: 94:[19, 96] Operation: 56+40=96
Exploring Operation: 19+40=59, Resulting Numbers: [56, 59]
Generated Node #0,3,4: 94:[56, 59] Operation: 19+40=59
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 94:[40, 37], Operations: ['20*2=40', '56-19=37']
Exploring Operation: 40*37=1480, Resulting Numbers: [1480]
1480,94 unequal: No Solution
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 40+37=77, Resulting Numbers: [77]
77,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 94:[19, 96], Operations: ['20*2=40', '56+40=96']
Exploring Operation: 19*96=1824, Resulting Numbers: [1824]
1824,94 unequal: No Solution
Exploring Operation: 19+96=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 94:[56, 59], Operations: ['20*2=40', '19+40=59']
Exploring Operation: 59-56=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 56+59=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Exploring Operation: 56*59=3304, Resulting Numbers: [3304]
3304,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 94:[40, 75], Operations: ['20*2=40', '56+19=75']
Exploring Operation: 40+75=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Exploring Operation: 40*75=3000, Resulting Numbers: [3000]
3000,94 unequal: No Solution
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 94:[56, 21], Operations: ['20*2=40', '40-19=21']
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 56+21=77, Resulting Numbers: [77]
77,94 unequal: No Solution
Exploring Operation: 56*21=1176, Resulting Numbers: [1176]
1176,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
64,
62,
1,
49
] | 52 | [
"64-62=2",
"1+49=50",
"2+50=52"
] | Current State: 52:[64, 62, 1, 49], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [1, 49, 2]
Generated Node #2: [1, 49, 2] from Operation: 64-62=2
Current State: 52:[1, 49, 2], Operations: ['64-62=2']
Exploring Operation: 1+49=50, Resulting Numbers: [2, 50]
Generated Node #3: [2, 50] from Operation: 1+49=50
Current State: 52:[2, 50], Operations: ['64-62=2', '1+49=50']
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[64, 62, 1, 49], Operations: []
Exploring Operation: 64-49=15, Resulting Numbers: [62, 1, 15]
Generated Node #0,0: 52:[62, 1, 15] Operation: 64-49=15
Exploring Operation: 62-49=13, Resulting Numbers: [64, 1, 13]
Generated Node #0,1: 52:[64, 1, 13] Operation: 62-49=13
Exploring Operation: 64-62=2, Resulting Numbers: [1, 49, 2]
Generated Node #0,2: 52:[1, 49, 2] Operation: 64-62=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[1, 49, 2], Operations: ['64-62=2']
Exploring Operation: 49+2=51, Resulting Numbers: [1, 51]
Generated Node #0,2,0: 52:[1, 51] Operation: 49+2=51
Exploring Operation: 1+49=50, Resulting Numbers: [2, 50]
Generated Node #0,2,1: 52:[2, 50] Operation: 1+49=50
Exploring Operation: 1*49=49, Resulting Numbers: [2, 49]
Generated Node #0,2,2: 52:[2, 49] Operation: 1*49=49
Moving to Node #0,2,0
Current State: 52:[1, 51], Operations: ['64-62=2', '49+2=51']
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[64, 62, 1, 49], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [1, 49, 2]
Generated Node #0,2: 52:[1, 49, 2] Operation: 64-62=2
Moving to Node #0,2
Current State: 52:[1, 49, 2], Operations: ['64-62=2']
Exploring Operation: 49+2=51, Resulting Numbers: [1, 51]
Generated Node #0,2,0: 52:[1, 51] Operation: 49+2=51
Moving to Node #0,2,0
Current State: 52:[1, 51], Operations: ['64-62=2', '49+2=51']
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
70,
41,
89,
35
] | 83 | [
"70-41=29",
"89-35=54",
"29+54=83"
] | Current State: 83:[70, 41, 89, 35], Operations: []
Exploring Operation: 70-41=29, Resulting Numbers: [89, 35, 29]
Generated Node #2: [89, 35, 29] from Operation: 70-41=29
Current State: 83:[89, 35, 29], Operations: ['70-41=29']
Exploring Operation: 89-35=54, Resulting Numbers: [29, 54]
Generated Node #3: [29, 54] from Operation: 89-35=54
Current State: 83:[29, 54], Operations: ['70-41=29', '89-35=54']
Exploring Operation: 29+54=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[70, 41, 89, 35], Operations: []
Exploring Operation: 70-35=35, Resulting Numbers: [41, 89, 35]
Generated Node #0,0: 83:[41, 89, 35] Operation: 70-35=35
Exploring Operation: 70+41=111, Resulting Numbers: [89, 35, 111]
Generated Node #0,1: 83:[89, 35, 111] Operation: 70+41=111
Exploring Operation: 70+35=105, Resulting Numbers: [41, 89, 105]
Generated Node #0,2: 83:[41, 89, 105] Operation: 70+35=105
Exploring Operation: 89-35=54, Resulting Numbers: [70, 41, 54]
Generated Node #0,3: 83:[70, 41, 54] Operation: 89-35=54
Exploring Operation: 41+35=76, Resulting Numbers: [70, 89, 76]
Generated Node #0,4: 83:[70, 89, 76] Operation: 41+35=76
Start Sub Search at level 1: Moving to Node #0,4
Current State: 83:[70, 89, 76], Operations: ['41+35=76']
Exploring Operation: 76-70=6, Resulting Numbers: [89, 6]
Generated Node #0,4,0: 83:[89, 6] Operation: 76-70=6
Exploring Operation: 89-76=13, Resulting Numbers: [70, 13]
Generated Node #0,4,1: 83:[70, 13] Operation: 89-76=13
Exploring Operation: 70+89=159, Resulting Numbers: [76, 159]
Generated Node #0,4,2: 83:[76, 159] Operation: 70+89=159
Exploring Operation: 70+76=146, Resulting Numbers: [89, 146]
Generated Node #0,4,3: 83:[89, 146] Operation: 70+76=146
Exploring Operation: 89-70=19, Resulting Numbers: [76, 19]
Generated Node #0,4,4: 83:[76, 19] Operation: 89-70=19
Moving to Node #0,4,3
Current State: 83:[89, 146], Operations: ['41+35=76', '70+76=146']
Exploring Operation: 146-89=57, Resulting Numbers: [57]
57,83 unequal: No Solution
Exploring Operation: 89*146=12994, Resulting Numbers: [12994]
12994,83 unequal: No Solution
Exploring Operation: 89+146=235, Resulting Numbers: [235]
235,83 unequal: No Solution
Moving to Node #0,4,4
Current State: 83:[76, 19], Operations: ['41+35=76', '89-70=19']
Exploring Operation: 76*19=1444, Resulting Numbers: [1444]
1444,83 unequal: No Solution
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,83 unequal: No Solution
Exploring Operation: 76+19=95, Resulting Numbers: [95]
95,83 unequal: No Solution
Moving to Node #0,4,0
Current State: 83:[89, 6], Operations: ['41+35=76', '76-70=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,83 unequal: No Solution
Exploring Operation: 89*6=534, Resulting Numbers: [534]
534,83 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[70, 41, 89, 35], Operations: []
Exploring Operation: 41+35=76, Resulting Numbers: [70, 89, 76]
Generated Node #0,4: 83:[70, 89, 76] Operation: 41+35=76
Moving to Node #0,4
Current State: 83:[70, 89, 76], Operations: ['41+35=76']
Exploring Operation: 76-70=6, Resulting Numbers: [89, 6]
Generated Node #0,4,0: 83:[89, 6] Operation: 76-70=6
Moving to Node #0,4,0
Current State: 83:[89, 6], Operations: ['41+35=76', '76-70=6']
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | mult_heuristic |
[
61,
44,
55,
64
] | 19 | [
"55*64=3520",
"3520/44=80",
"80-61=19"
] | Current State: 19:[61, 44, 55, 64], Operations: []
Exploring Operation: 55*64=3520, Resulting Numbers: [61, 44, 3520]
Generated Node #2: [61, 44, 3520] from Operation: 55*64=3520
Current State: 19:[61, 44, 3520], Operations: ['55*64=3520']
Exploring Operation: 3520/44=80, Resulting Numbers: [61, 80]
Generated Node #3: [61, 80] from Operation: 3520/44=80
Current State: 19:[61, 80], Operations: ['55*64=3520', '3520/44=80']
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[61, 44, 55, 64], Operations: []
Exploring Operation: 64-61=3, Resulting Numbers: [44, 55, 3]
Generated Node #0,0: 19:[44, 55, 3] Operation: 64-61=3
Exploring Operation: 64-55=9, Resulting Numbers: [61, 44, 9]
Generated Node #0,1: 19:[61, 44, 9] Operation: 64-55=9
Exploring Operation: 64-44=20, Resulting Numbers: [61, 55, 20]
Generated Node #0,2: 19:[61, 55, 20] Operation: 64-44=20
Moving to Node #0,0
Current State: 19:[44, 55, 3], Operations: ['64-61=3']
Exploring Operation: 44-3=41, Resulting Numbers: [55, 41]
Generated Node #0,0,0: 19:[55, 41] Operation: 44-3=41
Exploring Operation: 55-44=11, Resulting Numbers: [3, 11]
Generated Node #0,0,1: 19:[3, 11] Operation: 55-44=11
Exploring Operation: 55-3=52, Resulting Numbers: [44, 52]
Generated Node #0,0,2: 19:[44, 52] Operation: 55-3=52
Moving to Node #0,1
Current State: 19:[61, 44, 9], Operations: ['64-55=9']
Exploring Operation: 44-9=35, Resulting Numbers: [61, 35]
Generated Node #0,1,0: 19:[61, 35] Operation: 44-9=35
Exploring Operation: 61-9=52, Resulting Numbers: [44, 52]
Generated Node #0,1,1: 19:[44, 52] Operation: 61-9=52
Exploring Operation: 61-44=17, Resulting Numbers: [9, 17]
Generated Node #0,1,2: 19:[9, 17] Operation: 61-44=17
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 19:[9, 17], Operations: ['64-55=9', '61-44=17']
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[61, 35], Operations: ['64-55=9', '44-9=35']
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Exploring Operation: 61+35=96, Resulting Numbers: [96]
96,19 unequal: No Solution
Exploring Operation: 61*35=2135, Resulting Numbers: [2135]
2135,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[44, 52], Operations: ['64-55=9', '61-9=52']
Exploring Operation: 44+52=96, Resulting Numbers: [96]
96,19 unequal: No Solution
Exploring Operation: 44*52=2288, Resulting Numbers: [2288]
2288,19 unequal: No Solution
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 19:[61, 55, 20], Operations: ['64-44=20']
Exploring Operation: 61-20=41, Resulting Numbers: [55, 41]
Generated Node #0,2,0: 19:[55, 41] Operation: 61-20=41
Exploring Operation: 55-20=35, Resulting Numbers: [61, 35]
Generated Node #0,2,1: 19:[61, 35] Operation: 55-20=35
Exploring Operation: 61-55=6, Resulting Numbers: [20, 6]
Generated Node #0,2,2: 19:[20, 6] Operation: 61-55=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 19:[20, 6], Operations: ['64-44=20', '61-55=6']
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,19 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 19:[55, 41], Operations: ['64-44=20', '61-20=41']
Exploring Operation: 55*41=2255, Resulting Numbers: [2255]
2255,19 unequal: No Solution
Exploring Operation: 55-41=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 55+41=96, Resulting Numbers: [96]
96,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[61, 35], Operations: ['64-44=20', '55-20=35']
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Exploring Operation: 61+35=96, Resulting Numbers: [96]
96,19 unequal: No Solution
Exploring Operation: 61*35=2135, Resulting Numbers: [2135]
2135,19 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: 19:[3, 11], Operations: ['64-61=3', '55-44=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[55, 41], Operations: ['64-61=3', '44-3=41']
Exploring Operation: 55-41=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 55+41=96, Resulting Numbers: [96]
96,19 unequal: No Solution
Exploring Operation: 55*41=2255, Resulting Numbers: [2255]
2255,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[44, 52], Operations: ['64-61=3', '55-3=52']
Exploring Operation: 44*52=2288, Resulting Numbers: [2288]
2288,19 unequal: No Solution
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 44+52=96, Resulting Numbers: [96]
96,19 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
66,
50,
8,
54
] | 46 | [
"66-50=16",
"8+54=62",
"62-16=46"
] | Current State: 46:[66, 50, 8, 54], Operations: []
Exploring Operation: 66-50=16, Resulting Numbers: [8, 54, 16]
Generated Node #2: [8, 54, 16] from Operation: 66-50=16
Current State: 46:[8, 54, 16], Operations: ['66-50=16']
Exploring Operation: 8+54=62, Resulting Numbers: [16, 62]
Generated Node #3: [16, 62] from Operation: 8+54=62
Current State: 46:[16, 62], Operations: ['66-50=16', '8+54=62']
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[66, 50, 8, 54], Operations: []
Exploring Operation: 66-54=12, Resulting Numbers: [50, 8, 12]
Generated Node #0,0: 46:[50, 8, 12] Operation: 66-54=12
Exploring Operation: 66-50=16, Resulting Numbers: [8, 54, 16]
Generated Node #0,1: 46:[8, 54, 16] Operation: 66-50=16
Moving to Node #0,0
Current State: 46:[50, 8, 12], Operations: ['66-54=12']
Exploring Operation: 8+12=20, Resulting Numbers: [50, 20]
Generated Node #0,0,0: 46:[50, 20] Operation: 8+12=20
Exploring Operation: 12-8=4, Resulting Numbers: [50, 4]
Generated Node #0,0,1: 46:[50, 4] Operation: 12-8=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[50, 4], Operations: ['66-54=12', '12-8=4']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[66, 50, 8, 54], Operations: []
Exploring Operation: 66-54=12, Resulting Numbers: [50, 8, 12]
Generated Node #0,0: 46:[50, 8, 12] Operation: 66-54=12
Moving to Node #0,0
Current State: 46:[50, 8, 12], Operations: ['66-54=12']
Exploring Operation: 12-8=4, Resulting Numbers: [50, 4]
Generated Node #0,0,1: 46:[50, 4] Operation: 12-8=4
Moving to Node #0,0,1
Current State: 46:[50, 4], Operations: ['66-54=12', '12-8=4']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
64,
12,
4,
72
] | 94 | [
"64+12=76",
"72/4=18",
"76+18=94"
] | Current State: 94:[64, 12, 4, 72], Operations: []
Exploring Operation: 64+12=76, Resulting Numbers: [4, 72, 76]
Generated Node #2: [4, 72, 76] from Operation: 64+12=76
Current State: 94:[4, 72, 76], Operations: ['64+12=76']
Exploring Operation: 72/4=18, Resulting Numbers: [76, 18]
Generated Node #3: [76, 18] from Operation: 72/4=18
Current State: 94:[76, 18], Operations: ['64+12=76', '72/4=18']
Exploring Operation: 76+18=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[64, 12, 4, 72], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [12, 4, 8]
Generated Node #0,0: 94:[12, 4, 8] Operation: 72-64=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[12, 4, 8], Operations: ['72-64=8']
Exploring Operation: 12*8=96, Resulting Numbers: [4, 96]
Generated Node #0,0,0: 94:[4, 96] Operation: 12*8=96
Moving to Node #0,0,0
Current State: 94:[4, 96], Operations: ['72-64=8', '12*8=96']
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
32,
80,
2,
13
] | 18 | [
"32/2=16",
"80/16=5",
"13+5=18"
] | Current State: 18:[32, 80, 2, 13], Operations: []
Exploring Operation: 32/2=16, Resulting Numbers: [80, 13, 16]
Generated Node #2: [80, 13, 16] from Operation: 32/2=16
Current State: 18:[80, 13, 16], Operations: ['32/2=16']
Exploring Operation: 80/16=5, Resulting Numbers: [13, 5]
Generated Node #3: [13, 5] from Operation: 80/16=5
Current State: 18:[13, 5], Operations: ['32/2=16', '80/16=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[32, 80, 2, 13], Operations: []
Exploring Operation: 80-32=48, Resulting Numbers: [2, 13, 48]
Generated Node #0,0: 18:[2, 13, 48] Operation: 80-32=48
Moving to Node #0,0
Current State: 18:[2, 13, 48], Operations: ['80-32=48']
Exploring Operation: 48/2=24, Resulting Numbers: [13, 24]
Generated Node #0,0,0: 18:[13, 24] Operation: 48/2=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[13, 24], Operations: ['80-32=48', '48/2=24']
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,18 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 |
[
66,
12,
4,
39
] | 19 | [
"66-12=54",
"39-4=35",
"54-35=19"
] | Current State: 19:[66, 12, 4, 39], Operations: []
Exploring Operation: 66-12=54, Resulting Numbers: [4, 39, 54]
Generated Node #2: [4, 39, 54] from Operation: 66-12=54
Current State: 19:[4, 39, 54], Operations: ['66-12=54']
Exploring Operation: 39-4=35, Resulting Numbers: [54, 35]
Generated Node #3: [54, 35] from Operation: 39-4=35
Current State: 19:[54, 35], Operations: ['66-12=54', '39-4=35']
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[66, 12, 4, 39], Operations: []
Exploring Operation: 66-39=27, Resulting Numbers: [12, 4, 27]
Generated Node #0,0: 19:[12, 4, 27] Operation: 66-39=27
Exploring Operation: 66-12=54, Resulting Numbers: [4, 39, 54]
Generated Node #0,1: 19:[4, 39, 54] Operation: 66-12=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[12, 4, 27], Operations: ['66-39=27']
Exploring Operation: 12+4=16, Resulting Numbers: [27, 16]
Generated Node #0,0,0: 19:[27, 16] Operation: 12+4=16
Exploring Operation: 27-4=23, Resulting Numbers: [12, 23]
Generated Node #0,0,1: 19:[12, 23] Operation: 27-4=23
Moving to Node #0,0,0
Current State: 19:[27, 16], Operations: ['66-39=27', '12+4=16']
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,19 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[12, 23], Operations: ['66-39=27', '27-4=23']
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[4, 39, 54], Operations: ['66-12=54']
Exploring Operation: 39-4=35, Resulting Numbers: [54, 35]
Generated Node #0,1,0: 19:[54, 35] Operation: 39-4=35
Exploring Operation: 54-39=15, Resulting Numbers: [4, 15]
Generated Node #0,1,1: 19:[4, 15] Operation: 54-39=15
Moving to Node #0,1,1
Current State: 19:[4, 15], Operations: ['66-12=54', '54-39=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[66, 12, 4, 39], Operations: []
Exploring Operation: 66-12=54, Resulting Numbers: [4, 39, 54]
Generated Node #0,1: 19:[4, 39, 54] Operation: 66-12=54
Moving to Node #0,1
Current State: 19:[4, 39, 54], Operations: ['66-12=54']
Exploring Operation: 54-39=15, Resulting Numbers: [4, 15]
Generated Node #0,1,1: 19:[4, 15] Operation: 54-39=15
Moving to Node #0,1,1
Current State: 19:[4, 15], Operations: ['66-12=54', '54-39=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
61,
3,
79,
58
] | 70 | [
"61-58=3",
"3*3=9",
"79-9=70"
] | Current State: 70:[61, 3, 79, 58], Operations: []
Exploring Operation: 61-58=3, Resulting Numbers: [3, 79, 3]
Generated Node #2: [3, 79, 3] from Operation: 61-58=3
Current State: 70:[3, 79, 3], Operations: ['61-58=3']
Exploring Operation: 3*3=9, Resulting Numbers: [79, 9]
Generated Node #3: [79, 9] from Operation: 3*3=9
Current State: 70:[79, 9], Operations: ['61-58=3', '3*3=9']
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[61, 3, 79, 58], Operations: []
Exploring Operation: 79-58=21, Resulting Numbers: [61, 3, 21]
Generated Node #0,0: 70:[61, 3, 21] Operation: 79-58=21
Exploring Operation: 61-58=3, Resulting Numbers: [3, 79, 3]
Generated Node #0,1: 70:[3, 79, 3] Operation: 61-58=3
Exploring Operation: 79-61=18, Resulting Numbers: [3, 58, 18]
Generated Node #0,2: 70:[3, 58, 18] Operation: 79-61=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[3, 79, 3], Operations: ['61-58=3']
Exploring Operation: 3+3=6, Resulting Numbers: [79, 6]
Generated Node #0,1,0: 70:[79, 6] Operation: 3+3=6
Exploring Operation: 79-3=76, Resulting Numbers: [3, 76]
Generated Node #0,1,1: 70:[3, 76] Operation: 79-3=76
Exploring Operation: 79-3=76, Resulting Numbers: [3, 76]
Generated Node #0,1,2: 70:[3, 76] Operation: 79-3=76
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[3, 76], Operations: ['61-58=3', '79-3=76']
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,70 unequal: No Solution
Exploring Operation: 3*76=228, Resulting Numbers: [228]
228,70 unequal: No Solution
Exploring Operation: 3+76=79, Resulting Numbers: [79]
79,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[3, 76], Operations: ['61-58=3', '79-3=76']
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,70 unequal: No Solution
Exploring Operation: 3*76=228, Resulting Numbers: [228]
228,70 unequal: No Solution
Exploring Operation: 3+76=79, Resulting Numbers: [79]
79,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[79, 6], Operations: ['61-58=3', '3+3=6']
Exploring Operation: 79*6=474, Resulting Numbers: [474]
474,70 unequal: No Solution
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,70 unequal: No Solution
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[61, 3, 21], Operations: ['79-58=21']
Exploring Operation: 21/3=7, Resulting Numbers: [61, 7]
Generated Node #0,0,0: 70:[61, 7] Operation: 21/3=7
Exploring Operation: 61+3=64, Resulting Numbers: [21, 64]
Generated Node #0,0,1: 70:[21, 64] Operation: 61+3=64
Exploring Operation: 61-21=40, Resulting Numbers: [3, 40]
Generated Node #0,0,2: 70:[3, 40] Operation: 61-21=40
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 70:[3, 40], Operations: ['79-58=21', '61-21=40']
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,70 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[61, 7], Operations: ['79-58=21', '21/3=7']
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,70 unequal: No Solution
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[21, 64], Operations: ['79-58=21', '61+3=64']
Exploring Operation: 21+64=85, Resulting Numbers: [85]
85,70 unequal: No Solution
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Exploring Operation: 21*64=1344, Resulting Numbers: [1344]
1344,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[3, 58, 18], Operations: ['79-61=18']
Exploring Operation: 58-18=40, Resulting Numbers: [3, 40]
Generated Node #0,2,0: 70:[3, 40] Operation: 58-18=40
Exploring Operation: 3+58=61, Resulting Numbers: [18, 61]
Generated Node #0,2,1: 70:[18, 61] Operation: 3+58=61
Exploring Operation: 58+18=76, Resulting Numbers: [3, 76]
Generated Node #0,2,2: 70:[3, 76] Operation: 58+18=76
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[3, 40], Operations: ['79-61=18', '58-18=40']
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,70 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 70:[3, 76], Operations: ['79-61=18', '58+18=76']
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,70 unequal: No Solution
Exploring Operation: 3+76=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 3*76=228, Resulting Numbers: [228]
228,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[18, 61], Operations: ['79-61=18', '3+58=61']
Exploring Operation: 61-18=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Exploring Operation: 18+61=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 18*61=1098, Resulting Numbers: [1098]
1098,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
42,
62,
5,
66
] | 82 | [
"42*5=210",
"62+66=128",
"210-128=82"
] | Current State: 82:[42, 62, 5, 66], Operations: []
Exploring Operation: 42*5=210, Resulting Numbers: [62, 66, 210]
Generated Node #2: [62, 66, 210] from Operation: 42*5=210
Current State: 82:[62, 66, 210], Operations: ['42*5=210']
Exploring Operation: 62+66=128, Resulting Numbers: [210, 128]
Generated Node #3: [210, 128] from Operation: 62+66=128
Current State: 82:[210, 128], Operations: ['42*5=210', '62+66=128']
Exploring Operation: 210-128=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[42, 62, 5, 66], Operations: []
Exploring Operation: 62+5=67, Resulting Numbers: [42, 66, 67]
Generated Node #0,0: 82:[42, 66, 67] Operation: 62+5=67
Exploring Operation: 66-62=4, Resulting Numbers: [42, 5, 4]
Generated Node #0,1: 82:[42, 5, 4] Operation: 66-62=4
Exploring Operation: 5+66=71, Resulting Numbers: [42, 62, 71]
Generated Node #0,2: 82:[42, 62, 71] Operation: 5+66=71
Moving to Node #0,1
Current State: 82:[42, 5, 4], Operations: ['66-62=4']
Exploring Operation: 5-4=1, Resulting Numbers: [42, 1]
Generated Node #0,1,0: 82:[42, 1] Operation: 5-4=1
Exploring Operation: 42-5=37, Resulting Numbers: [4, 37]
Generated Node #0,1,1: 82:[4, 37] Operation: 42-5=37
Exploring Operation: 42-4=38, Resulting Numbers: [5, 38]
Generated Node #0,1,2: 82:[5, 38] Operation: 42-4=38
Moving to Node #0,0
Current State: 82:[42, 66, 67], Operations: ['62+5=67']
Exploring Operation: 67-66=1, Resulting Numbers: [42, 1]
Generated Node #0,0,0: 82:[42, 1] Operation: 67-66=1
Exploring Operation: 66-42=24, Resulting Numbers: [67, 24]
Generated Node #0,0,1: 82:[67, 24] Operation: 66-42=24
Exploring Operation: 67-42=25, Resulting Numbers: [66, 25]
Generated Node #0,0,2: 82:[66, 25] Operation: 67-42=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[42, 1], Operations: ['62+5=67', '67-66=1']
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,82 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 82:[67, 24], Operations: ['62+5=67', '66-42=24']
Exploring Operation: 67-24=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 67*24=1608, Resulting Numbers: [1608]
1608,82 unequal: No Solution
Exploring Operation: 67+24=91, Resulting Numbers: [91]
91,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 82:[66, 25], Operations: ['62+5=67', '67-42=25']
Exploring Operation: 66+25=91, Resulting Numbers: [91]
91,82 unequal: No Solution
Exploring Operation: 66*25=1650, Resulting Numbers: [1650]
1650,82 unequal: No Solution
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 82:[42, 62, 71], Operations: ['5+66=71']
Exploring Operation: 71-62=9, Resulting Numbers: [42, 9]
Generated Node #0,2,0: 82:[42, 9] Operation: 71-62=9
Exploring Operation: 71-42=29, Resulting Numbers: [62, 29]
Generated Node #0,2,1: 82:[62, 29] Operation: 71-42=29
Exploring Operation: 62-42=20, Resulting Numbers: [71, 20]
Generated Node #0,2,2: 82:[71, 20] Operation: 62-42=20
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 82:[42, 9], Operations: ['5+66=71', '71-62=9']
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,82 unequal: No Solution
Exploring Operation: 42*9=378, Resulting Numbers: [378]
378,82 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 82:[71, 20], Operations: ['5+66=71', '62-42=20']
Exploring Operation: 71-20=51, Resulting Numbers: [51]
51,82 unequal: No Solution
Exploring Operation: 71*20=1420, Resulting Numbers: [1420]
1420,82 unequal: No Solution
Exploring Operation: 71+20=91, Resulting Numbers: [91]
91,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 82:[62, 29], Operations: ['5+66=71', '71-42=29']
Exploring Operation: 62*29=1798, Resulting Numbers: [1798]
1798,82 unequal: No Solution
Exploring Operation: 62+29=91, Resulting Numbers: [91]
91,82 unequal: No Solution
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,82 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: 82:[42, 1], Operations: ['66-62=4', '5-4=1']
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,82 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,82 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[4, 37], Operations: ['66-62=4', '42-5=37']
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,82 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[5, 38], Operations: ['66-62=4', '42-4=38']
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,82 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,82 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
24,
90,
44,
50
] | 60 | [
"90-24=66",
"50-44=6",
"66-6=60"
] | Current State: 60:[24, 90, 44, 50], Operations: []
Exploring Operation: 90-24=66, Resulting Numbers: [44, 50, 66]
Generated Node #2: [44, 50, 66] from Operation: 90-24=66
Current State: 60:[44, 50, 66], Operations: ['90-24=66']
Exploring Operation: 50-44=6, Resulting Numbers: [66, 6]
Generated Node #3: [66, 6] from Operation: 50-44=6
Current State: 60:[66, 6], Operations: ['90-24=66', '50-44=6']
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[24, 90, 44, 50], Operations: []
Exploring Operation: 90-50=40, Resulting Numbers: [24, 44, 40]
Generated Node #0,0: 60:[24, 44, 40] Operation: 90-50=40
Exploring Operation: 90-44=46, Resulting Numbers: [24, 50, 46]
Generated Node #0,1: 60:[24, 50, 46] Operation: 90-44=46
Exploring Operation: 90-24=66, Resulting Numbers: [44, 50, 66]
Generated Node #0,2: 60:[44, 50, 66] Operation: 90-24=66
Moving to Node #0,0
Current State: 60:[24, 44, 40], Operations: ['90-50=40']
Exploring Operation: 40-24=16, Resulting Numbers: [44, 16]
Generated Node #0,0,0: 60:[44, 16] Operation: 40-24=16
Exploring Operation: 44-40=4, Resulting Numbers: [24, 4]
Generated Node #0,0,1: 60:[24, 4] Operation: 44-40=4
Exploring Operation: 44-24=20, Resulting Numbers: [40, 20]
Generated Node #0,0,2: 60:[40, 20] Operation: 44-24=20
Moving to Node #0,1
Current State: 60:[24, 50, 46], Operations: ['90-44=46']
Exploring Operation: 50-46=4, Resulting Numbers: [24, 4]
Generated Node #0,1,0: 60:[24, 4] Operation: 50-46=4
Exploring Operation: 50-24=26, Resulting Numbers: [46, 26]
Generated Node #0,1,1: 60:[46, 26] Operation: 50-24=26
Exploring Operation: 46-24=22, Resulting Numbers: [50, 22]
Generated Node #0,1,2: 60:[50, 22] Operation: 46-24=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[24, 4], Operations: ['90-44=46', '50-46=4']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 60:[50, 22], Operations: ['90-44=46', '46-24=22']
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,60 unequal: No Solution
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[46, 26], Operations: ['90-44=46', '50-24=26']
Exploring Operation: 46*26=1196, Resulting Numbers: [1196]
1196,60 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 46+26=72, Resulting Numbers: [72]
72,60 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: 60:[44, 50, 66], Operations: ['90-24=66']
Exploring Operation: 66-44=22, Resulting Numbers: [50, 22]
Generated Node #0,2,0: 60:[50, 22] Operation: 66-44=22
Exploring Operation: 66-50=16, Resulting Numbers: [44, 16]
Generated Node #0,2,1: 60:[44, 16] Operation: 66-50=16
Exploring Operation: 50-44=6, Resulting Numbers: [66, 6]
Generated Node #0,2,2: 60:[66, 6] Operation: 50-44=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 60:[66, 6], Operations: ['90-24=66', '50-44=6']
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[24, 90, 44, 50], Operations: []
Exploring Operation: 90-24=66, Resulting Numbers: [44, 50, 66]
Generated Node #0,2: 60:[44, 50, 66] Operation: 90-24=66
Moving to Node #0,2
Current State: 60:[44, 50, 66], Operations: ['90-24=66']
Exploring Operation: 50-44=6, Resulting Numbers: [66, 6]
Generated Node #0,2,2: 60:[66, 6] Operation: 50-44=6
Moving to Node #0,2,2
Current State: 60:[66, 6], Operations: ['90-24=66', '50-44=6']
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
42,
32,
21,
54
] | 56 | [
"54-42=12",
"32*21=672",
"672/12=56"
] | Current State: 56:[42, 32, 21, 54], Operations: []
Exploring Operation: 54-42=12, Resulting Numbers: [32, 21, 12]
Generated Node #2: [32, 21, 12] from Operation: 54-42=12
Current State: 56:[32, 21, 12], Operations: ['54-42=12']
Exploring Operation: 32*21=672, Resulting Numbers: [12, 672]
Generated Node #3: [12, 672] from Operation: 32*21=672
Current State: 56:[12, 672], Operations: ['54-42=12', '32*21=672']
Exploring Operation: 672/12=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[42, 32, 21, 54], Operations: []
Exploring Operation: 54-42=12, Resulting Numbers: [32, 21, 12]
Generated Node #0,0: 56:[32, 21, 12] Operation: 54-42=12
Exploring Operation: 42/21=2, Resulting Numbers: [32, 54, 2]
Generated Node #0,1: 56:[32, 54, 2] Operation: 42/21=2
Exploring Operation: 42+21=63, Resulting Numbers: [32, 54, 63]
Generated Node #0,2: 56:[32, 54, 63] Operation: 42+21=63
Exploring Operation: 42-21=21, Resulting Numbers: [32, 54, 21]
Generated Node #0,3: 56:[32, 54, 21] Operation: 42-21=21
Exploring Operation: 42-32=10, Resulting Numbers: [21, 54, 10]
Generated Node #0,4: 56:[21, 54, 10] Operation: 42-32=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[32, 54, 2], Operations: ['42/21=2']
Exploring Operation: 32-2=30, Resulting Numbers: [54, 30]
Generated Node #0,1,0: 56:[54, 30] Operation: 32-2=30
Exploring Operation: 32/2=16, Resulting Numbers: [54, 16]
Generated Node #0,1,1: 56:[54, 16] Operation: 32/2=16
Exploring Operation: 54-32=22, Resulting Numbers: [2, 22]
Generated Node #0,1,2: 56:[2, 22] Operation: 54-32=22
Exploring Operation: 54+2=56, Resulting Numbers: [32, 56]
Generated Node #0,1,3: 56:[32, 56] Operation: 54+2=56
Exploring Operation: 54/2=27, Resulting Numbers: [32, 27]
Generated Node #0,1,4: 56:[32, 27] Operation: 54/2=27
Moving to Node #0,1,0
Current State: 56:[54, 30], Operations: ['42/21=2', '32-2=30']
Exploring Operation: 54*30=1620, Resulting Numbers: [1620]
1620,56 unequal: No Solution
Exploring Operation: 54+30=84, Resulting Numbers: [84]
84,56 unequal: No Solution
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,56 unequal: No Solution
Moving to Node #0,1,3
Current State: 56:[32, 56], Operations: ['42/21=2', '54+2=56']
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,56 unequal: No Solution
Exploring Operation: 32*56=1792, Resulting Numbers: [1792]
1792,56 unequal: No Solution
Exploring Operation: 32+56=88, Resulting Numbers: [88]
88,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[54, 16], Operations: ['42/21=2', '32/2=16']
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,56 unequal: No Solution
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,56 unequal: No Solution
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,56 unequal: No Solution
Moving to Node #0,1,4
Current State: 56:[32, 27], Operations: ['42/21=2', '54/2=27']
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 32*27=864, Resulting Numbers: [864]
864,56 unequal: No Solution
Exploring Operation: 32+27=59, Resulting Numbers: [59]
59,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[2, 22], Operations: ['42/21=2', '54-32=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,56 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,56 unequal: No Solution
No 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: 56:[21, 54, 10], Operations: ['42-32=10']
Exploring Operation: 21+10=31, Resulting Numbers: [54, 31]
Generated Node #0,4,0: 56:[54, 31] Operation: 21+10=31
Exploring Operation: 54-10=44, Resulting Numbers: [21, 44]
Generated Node #0,4,1: 56:[21, 44] Operation: 54-10=44
Exploring Operation: 54-21=33, Resulting Numbers: [10, 33]
Generated Node #0,4,2: 56:[10, 33] Operation: 54-21=33
Exploring Operation: 21-10=11, Resulting Numbers: [54, 11]
Generated Node #0,4,3: 56:[54, 11] Operation: 21-10=11
Exploring Operation: 54+10=64, Resulting Numbers: [21, 64]
Generated Node #0,4,4: 56:[21, 64] Operation: 54+10=64
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 56:[54, 31], Operations: ['42-32=10', '21+10=31']
Exploring Operation: 54*31=1674, Resulting Numbers: [1674]
1674,56 unequal: No Solution
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Exploring Operation: 54+31=85, Resulting Numbers: [85]
85,56 unequal: No Solution
No 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: 56:[54, 11], Operations: ['42-32=10', '21-10=11']
Exploring Operation: 54+11=65, Resulting Numbers: [65]
65,56 unequal: No Solution
Exploring Operation: 54*11=594, Resulting Numbers: [594]
594,56 unequal: No Solution
Exploring Operation: 54-11=43, Resulting Numbers: [43]
43,56 unequal: No Solution
No 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: 56:[10, 33], Operations: ['42-32=10', '54-21=33']
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Exploring Operation: 10*33=330, Resulting Numbers: [330]
330,56 unequal: No Solution
No 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: 56:[21, 64], Operations: ['42-32=10', '54+10=64']
Exploring Operation: 21*64=1344, Resulting Numbers: [1344]
1344,56 unequal: No Solution
Exploring Operation: 21+64=85, Resulting Numbers: [85]
85,56 unequal: No Solution
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,56 unequal: No Solution
No 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: 56:[21, 44], Operations: ['42-32=10', '54-10=44']
Exploring Operation: 21*44=924, Resulting Numbers: [924]
924,56 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Exploring Operation: 21+44=65, Resulting Numbers: [65]
65,56 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: 56:[32, 21, 12], Operations: ['54-42=12']
Exploring Operation: 32+21=53, Resulting Numbers: [12, 53]
Generated Node #0,0,0: 56:[12, 53] Operation: 32+21=53
Exploring Operation: 32-12=20, Resulting Numbers: [21, 20]
Generated Node #0,0,1: 56:[21, 20] Operation: 32-12=20
Exploring Operation: 21-12=9, Resulting Numbers: [32, 9]
Generated Node #0,0,2: 56:[32, 9] Operation: 21-12=9
Exploring Operation: 21+12=33, Resulting Numbers: [32, 33]
Generated Node #0,0,3: 56:[32, 33] Operation: 21+12=33
Exploring Operation: 32-21=11, Resulting Numbers: [12, 11]
Generated Node #0,0,4: 56:[12, 11] Operation: 32-21=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[12, 53], Operations: ['54-42=12', '32+21=53']
Exploring Operation: 12*53=636, Resulting Numbers: [636]
636,56 unequal: No Solution
Exploring Operation: 12+53=65, Resulting Numbers: [65]
65,56 unequal: No Solution
Exploring Operation: 53-12=41, Resulting Numbers: [41]
41,56 unequal: No Solution
No 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: 56:[32, 9], Operations: ['54-42=12', '21-12=9']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,56 unequal: No Solution
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,56 unequal: No Solution
No 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: 56:[12, 11], Operations: ['54-42=12', '32-21=11']
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,56 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,56 unequal: No Solution
No 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: 56:[32, 33], Operations: ['54-42=12', '21+12=33']
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,56 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,56 unequal: No Solution
No 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: 56:[21, 20], Operations: ['54-42=12', '32-12=20']
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,56 unequal: No Solution
Exploring Operation: 21*20=420, Resulting Numbers: [420]
420,56 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,56 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: 56:[32, 54, 63], Operations: ['42+21=63']
Exploring Operation: 32+54=86, Resulting Numbers: [63, 86]
Generated Node #0,2,0: 56:[63, 86] Operation: 32+54=86
Exploring Operation: 63-54=9, Resulting Numbers: [32, 9]
Generated Node #0,2,1: 56:[32, 9] Operation: 63-54=9
Exploring Operation: 63-32=31, Resulting Numbers: [54, 31]
Generated Node #0,2,2: 56:[54, 31] Operation: 63-32=31
Exploring Operation: 54-32=22, Resulting Numbers: [63, 22]
Generated Node #0,2,3: 56:[63, 22] Operation: 54-32=22
Exploring Operation: 32+63=95, Resulting Numbers: [54, 95]
Generated Node #0,2,4: 56:[54, 95] Operation: 32+63=95
Moving to Node #0,2,1
Current State: 56:[32, 9], Operations: ['42+21=63', '63-54=9']
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,56 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,56 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[54, 31], Operations: ['42+21=63', '63-32=31']
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Exploring Operation: 54*31=1674, Resulting Numbers: [1674]
1674,56 unequal: No Solution
Exploring Operation: 54+31=85, Resulting Numbers: [85]
85,56 unequal: No Solution
Moving to Node #0,2,3
Current State: 56:[63, 22], Operations: ['42+21=63', '54-32=22']
Exploring Operation: 63*22=1386, Resulting Numbers: [1386]
1386,56 unequal: No Solution
Exploring Operation: 63+22=85, Resulting Numbers: [85]
85,56 unequal: No Solution
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[63, 86], Operations: ['42+21=63', '32+54=86']
Exploring Operation: 63+86=149, Resulting Numbers: [149]
149,56 unequal: No Solution
Exploring Operation: 86-63=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Exploring Operation: 63*86=5418, Resulting Numbers: [5418]
5418,56 unequal: No Solution
Moving to Node #0,2,4
Current State: 56:[54, 95], Operations: ['42+21=63', '32+63=95']
Exploring Operation: 54+95=149, Resulting Numbers: [149]
149,56 unequal: No Solution
Exploring Operation: 54*95=5130, Resulting Numbers: [5130]
5130,56 unequal: No Solution
Exploring Operation: 95-54=41, Resulting Numbers: [41]
41,56 unequal: No Solution
No 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: 56:[32, 54, 21], Operations: ['42-21=21']
Exploring Operation: 54-21=33, Resulting Numbers: [32, 33]
Generated Node #0,3,0: 56:[32, 33] Operation: 54-21=33
Exploring Operation: 32-21=11, Resulting Numbers: [54, 11]
Generated Node #0,3,1: 56:[54, 11] Operation: 32-21=11
Exploring Operation: 32+21=53, Resulting Numbers: [54, 53]
Generated Node #0,3,2: 56:[54, 53] Operation: 32+21=53
Exploring Operation: 54+21=75, Resulting Numbers: [32, 75]
Generated Node #0,3,3: 56:[32, 75] Operation: 54+21=75
Exploring Operation: 54-32=22, Resulting Numbers: [21, 22]
Generated Node #0,3,4: 56:[21, 22] Operation: 54-32=22
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 56:[54, 11], Operations: ['42-21=21', '32-21=11']
Exploring Operation: 54+11=65, Resulting Numbers: [65]
65,56 unequal: No Solution
Exploring Operation: 54-11=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 54*11=594, Resulting Numbers: [594]
594,56 unequal: No Solution
No 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: 56:[54, 53], Operations: ['42-21=21', '32+21=53']
Exploring Operation: 54+53=107, Resulting Numbers: [107]
107,56 unequal: No Solution
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 54*53=2862, Resulting Numbers: [2862]
2862,56 unequal: No Solution
No 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: 56:[32, 33], Operations: ['42-21=21', '54-21=33']
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,56 unequal: No Solution
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,56 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,56 unequal: No Solution
No 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: 56:[21, 22], Operations: ['42-21=21', '54-32=22']
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 21*22=462, Resulting Numbers: [462]
462,56 unequal: No Solution
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,56 unequal: No Solution
No 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: 56:[32, 75], Operations: ['42-21=21', '54+21=75']
Exploring Operation: 32+75=107, Resulting Numbers: [107]
107,56 unequal: No Solution
Exploring Operation: 32*75=2400, Resulting Numbers: [2400]
2400,56 unequal: No Solution
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,56 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 |
[
99,
61,
63,
96
] | 82 | [
"99-96=3",
"63/3=21",
"61+21=82"
] | Current State: 82:[99, 61, 63, 96], Operations: []
Exploring Operation: 99-96=3, Resulting Numbers: [61, 63, 3]
Generated Node #2: [61, 63, 3] from Operation: 99-96=3
Current State: 82:[61, 63, 3], Operations: ['99-96=3']
Exploring Operation: 63/3=21, Resulting Numbers: [61, 21]
Generated Node #3: [61, 21] from Operation: 63/3=21
Current State: 82:[61, 21], Operations: ['99-96=3', '63/3=21']
Exploring Operation: 61+21=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[99, 61, 63, 96], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [99, 96, 2]
Generated Node #0,0: 82:[99, 96, 2] Operation: 63-61=2
Exploring Operation: 99-61=38, Resulting Numbers: [63, 96, 38]
Generated Node #0,1: 82:[63, 96, 38] Operation: 99-61=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[99, 96, 2], Operations: ['63-61=2']
Exploring Operation: 96/2=48, Resulting Numbers: [99, 48]
Generated Node #0,0,0: 82:[99, 48] Operation: 96/2=48
Exploring Operation: 99-96=3, Resulting Numbers: [2, 3]
Generated Node #0,0,1: 82:[2, 3] Operation: 99-96=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[2, 3], Operations: ['63-61=2', '99-96=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[99, 48], Operations: ['63-61=2', '96/2=48']
Exploring Operation: 99+48=147, Resulting Numbers: [147]
147,82 unequal: No Solution
Exploring Operation: 99-48=51, Resulting Numbers: [51]
51,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[63, 96, 38], Operations: ['99-61=38']
Exploring Operation: 63-38=25, Resulting Numbers: [96, 25]
Generated Node #0,1,0: 82:[96, 25] Operation: 63-38=25
Exploring Operation: 96-63=33, Resulting Numbers: [38, 33]
Generated Node #0,1,1: 82:[38, 33] Operation: 96-63=33
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[38, 33], Operations: ['99-61=38', '96-63=33']
Exploring Operation: 38+33=71, Resulting Numbers: [71]
71,82 unequal: No Solution
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[96, 25], Operations: ['99-61=38', '63-38=25']
Exploring Operation: 96-25=71, Resulting Numbers: [71]
71,82 unequal: No Solution
Exploring Operation: 96+25=121, Resulting Numbers: [121]
121,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
5,
5,
41,
3
] | 22 | [
"5*5=25",
"41+25=66",
"66/3=22"
] | Current State: 22:[5, 5, 41, 3], Operations: []
Exploring Operation: 5*5=25, Resulting Numbers: [41, 3, 25]
Generated Node #2: [41, 3, 25] from Operation: 5*5=25
Current State: 22:[41, 3, 25], Operations: ['5*5=25']
Exploring Operation: 41+25=66, Resulting Numbers: [3, 66]
Generated Node #3: [3, 66] from Operation: 41+25=66
Current State: 22:[3, 66], Operations: ['5*5=25', '41+25=66']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[5, 5, 41, 3], Operations: []
Exploring Operation: 41-5=36, Resulting Numbers: [5, 3, 36]
Generated Node #0,0: 22:[5, 3, 36] Operation: 41-5=36
Moving to Node #0,0
Current State: 22:[5, 3, 36], Operations: ['41-5=36']
Exploring Operation: 36/3=12, Resulting Numbers: [5, 12]
Generated Node #0,0,0: 22:[5, 12] Operation: 36/3=12
Moving to Node #0,0,0
Current State: 22:[5, 12], Operations: ['41-5=36', '36/3=12']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,22 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
9,
74,
75,
10
] | 91 | [
"9*10=90",
"75-74=1",
"90+1=91"
] | Current State: 91:[9, 74, 75, 10], Operations: []
Exploring Operation: 9*10=90, Resulting Numbers: [74, 75, 90]
Generated Node #2: [74, 75, 90] from Operation: 9*10=90
Current State: 91:[74, 75, 90], Operations: ['9*10=90']
Exploring Operation: 75-74=1, Resulting Numbers: [90, 1]
Generated Node #3: [90, 1] from Operation: 75-74=1
Current State: 91:[90, 1], Operations: ['9*10=90', '75-74=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[9, 74, 75, 10], Operations: []
Exploring Operation: 75-74=1, Resulting Numbers: [9, 10, 1]
Generated Node #0,0: 91:[9, 10, 1] Operation: 75-74=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[9, 10, 1], Operations: ['75-74=1']
Exploring Operation: 9-1=8, Resulting Numbers: [10, 8]
Generated Node #0,0,0: 91:[10, 8] Operation: 9-1=8
Moving to Node #0,0,0
Current State: 91:[10, 8], Operations: ['75-74=1', '9-1=8']
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
78,
93,
13,
54
] | 56 | [
"93-78=15",
"54-13=41",
"15+41=56"
] | Current State: 56:[78, 93, 13, 54], Operations: []
Exploring Operation: 93-78=15, Resulting Numbers: [13, 54, 15]
Generated Node #2: [13, 54, 15] from Operation: 93-78=15
Current State: 56:[13, 54, 15], Operations: ['93-78=15']
Exploring Operation: 54-13=41, Resulting Numbers: [15, 41]
Generated Node #3: [15, 41] from Operation: 54-13=41
Current State: 56:[15, 41], Operations: ['93-78=15', '54-13=41']
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[78, 93, 13, 54], Operations: []
Exploring Operation: 78/13=6, Resulting Numbers: [93, 54, 6]
Generated Node #0,0: 56:[93, 54, 6] Operation: 78/13=6
Exploring Operation: 93-54=39, Resulting Numbers: [78, 13, 39]
Generated Node #0,1: 56:[78, 13, 39] Operation: 93-54=39
Exploring Operation: 78-54=24, Resulting Numbers: [93, 13, 24]
Generated Node #0,2: 56:[93, 13, 24] Operation: 78-54=24
Exploring Operation: 93-78=15, Resulting Numbers: [13, 54, 15]
Generated Node #0,3: 56:[13, 54, 15] Operation: 93-78=15
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[13, 54, 15], Operations: ['93-78=15']
Exploring Operation: 15-13=2, Resulting Numbers: [54, 2]
Generated Node #0,3,0: 56:[54, 2] Operation: 15-13=2
Exploring Operation: 54-15=39, Resulting Numbers: [13, 39]
Generated Node #0,3,1: 56:[13, 39] Operation: 54-15=39
Exploring Operation: 13+54=67, Resulting Numbers: [15, 67]
Generated Node #0,3,2: 56:[15, 67] Operation: 13+54=67
Exploring Operation: 13+15=28, Resulting Numbers: [54, 28]
Generated Node #0,3,3: 56:[54, 28] Operation: 13+15=28
Moving to Node #0,3,0
Current State: 56:[54, 2], Operations: ['93-78=15', '15-13=2']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,56 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[78, 93, 13, 54], Operations: []
Exploring Operation: 93-78=15, Resulting Numbers: [13, 54, 15]
Generated Node #0,3: 56:[13, 54, 15] Operation: 93-78=15
Moving to Node #0,3
Current State: 56:[13, 54, 15], Operations: ['93-78=15']
Exploring Operation: 15-13=2, Resulting Numbers: [54, 2]
Generated Node #0,3,0: 56:[54, 2] Operation: 15-13=2
Moving to Node #0,3,0
Current State: 56:[54, 2], Operations: ['93-78=15', '15-13=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
88,
34,
2,
10
] | 43 | [
"88+2=90",
"90/10=9",
"34+9=43"
] | Current State: 43:[88, 34, 2, 10], Operations: []
Exploring Operation: 88+2=90, Resulting Numbers: [34, 10, 90]
Generated Node #2: [34, 10, 90] from Operation: 88+2=90
Current State: 43:[34, 10, 90], Operations: ['88+2=90']
Exploring Operation: 90/10=9, Resulting Numbers: [34, 9]
Generated Node #3: [34, 9] from Operation: 90/10=9
Current State: 43:[34, 9], Operations: ['88+2=90', '90/10=9']
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[88, 34, 2, 10], Operations: []
Exploring Operation: 88/2=44, Resulting Numbers: [34, 10, 44]
Generated Node #0,0: 43:[34, 10, 44] Operation: 88/2=44
Exploring Operation: 2*10=20, Resulting Numbers: [88, 34, 20]
Generated Node #0,1: 43:[88, 34, 20] Operation: 2*10=20
Exploring Operation: 88-34=54, Resulting Numbers: [2, 10, 54]
Generated Node #0,2: 43:[2, 10, 54] Operation: 88-34=54
Exploring Operation: 88-2=86, Resulting Numbers: [34, 10, 86]
Generated Node #0,3: 43:[34, 10, 86] Operation: 88-2=86
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[34, 10, 44], Operations: ['88/2=44']
Exploring Operation: 34-10=24, Resulting Numbers: [44, 24]
Generated Node #0,0,0: 43:[44, 24] Operation: 34-10=24
Exploring Operation: 44-10=34, Resulting Numbers: [34, 34]
Generated Node #0,0,1: 43:[34, 34] Operation: 44-10=34
Exploring Operation: 34+10=44, Resulting Numbers: [44, 44]
Generated Node #0,0,2: 43:[44, 44] Operation: 34+10=44
Exploring Operation: 10+44=54, Resulting Numbers: [34, 54]
Generated Node #0,0,3: 43:[34, 54] Operation: 10+44=54
Moving to Node #0,0,2
Current State: 43:[44, 44], Operations: ['88/2=44', '34+10=44']
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 44/44=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 44*44=1936, Resulting Numbers: [1936]
1936,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[34, 34], Operations: ['88/2=44', '44-10=34']
Exploring Operation: 34-34=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 34/34=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 34*34=1156, Resulting Numbers: [1156]
1156,43 unequal: No Solution
Exploring Operation: 34+34=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[34, 54], Operations: ['88/2=44', '10+44=54']
Exploring Operation: 34+54=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 34*54=1836, Resulting Numbers: [1836]
1836,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[44, 24], Operations: ['88/2=44', '34-10=24']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,43 unequal: No Solution
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,43 unequal: No Solution
No solution 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: 43:[88, 34, 20], Operations: ['2*10=20']
Exploring Operation: 34+20=54, Resulting Numbers: [88, 54]
Generated Node #0,1,0: 43:[88, 54] Operation: 34+20=54
Exploring Operation: 88-34=54, Resulting Numbers: [20, 54]
Generated Node #0,1,1: 43:[20, 54] Operation: 88-34=54
Exploring Operation: 88+20=108, Resulting Numbers: [34, 108]
Generated Node #0,1,2: 43:[34, 108] Operation: 88+20=108
Exploring Operation: 88-20=68, Resulting Numbers: [34, 68]
Generated Node #0,1,3: 43:[34, 68] Operation: 88-20=68
Moving to Node #0,1,1
Current State: 43:[20, 54], Operations: ['2*10=20', '88-34=54']
Exploring Operation: 20*54=1080, Resulting Numbers: [1080]
1080,43 unequal: No Solution
Exploring Operation: 20+54=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[34, 68], Operations: ['2*10=20', '88-20=68']
Exploring Operation: 34+68=102, Resulting Numbers: [102]
102,43 unequal: No Solution
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,43 unequal: No Solution
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 34*68=2312, Resulting Numbers: [2312]
2312,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[88, 54], Operations: ['2*10=20', '34+20=54']
Exploring Operation: 88+54=142, Resulting Numbers: [142]
142,43 unequal: No Solution
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,43 unequal: No Solution
Exploring Operation: 88*54=4752, Resulting Numbers: [4752]
4752,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[34, 108], Operations: ['2*10=20', '88+20=108']
Exploring Operation: 108-34=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 34*108=3672, Resulting Numbers: [3672]
3672,43 unequal: No Solution
Exploring Operation: 34+108=142, Resulting Numbers: [142]
142,43 unequal: No Solution
No 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: 43:[2, 10, 54], Operations: ['88-34=54']
Exploring Operation: 54-10=44, Resulting Numbers: [2, 44]
Generated Node #0,2,0: 43:[2, 44] Operation: 54-10=44
Exploring Operation: 2+10=12, Resulting Numbers: [54, 12]
Generated Node #0,2,1: 43:[54, 12] Operation: 2+10=12
Exploring Operation: 2*10=20, Resulting Numbers: [54, 20]
Generated Node #0,2,2: 43:[54, 20] Operation: 2*10=20
Exploring Operation: 54-2=52, Resulting Numbers: [10, 52]
Generated Node #0,2,3: 43:[10, 52] Operation: 54-2=52
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[54, 20], Operations: ['88-34=54', '2*10=20']
Exploring Operation: 54*20=1080, Resulting Numbers: [1080]
1080,43 unequal: No Solution
Exploring Operation: 54+20=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[2, 44], Operations: ['88-34=54', '54-10=44']
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[54, 12], Operations: ['88-34=54', '2+10=12']
Exploring Operation: 54+12=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 54*12=648, Resulting Numbers: [648]
648,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 43:[10, 52], Operations: ['88-34=54', '54-2=52']
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 10*52=520, Resulting Numbers: [520]
520,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[34, 10, 86], Operations: ['88-2=86']
Exploring Operation: 34+10=44, Resulting Numbers: [86, 44]
Generated Node #0,3,0: 43:[86, 44] Operation: 34+10=44
Exploring Operation: 86-10=76, Resulting Numbers: [34, 76]
Generated Node #0,3,1: 43:[34, 76] Operation: 86-10=76
Exploring Operation: 34-10=24, Resulting Numbers: [86, 24]
Generated Node #0,3,2: 43:[86, 24] Operation: 34-10=24
Exploring Operation: 86-34=52, Resulting Numbers: [10, 52]
Generated Node #0,3,3: 43:[10, 52] Operation: 86-34=52
Moving to Node #0,3,1
Current State: 43:[34, 76], Operations: ['88-2=86', '86-10=76']
Exploring Operation: 34*76=2584, Resulting Numbers: [2584]
2584,43 unequal: No Solution
Exploring Operation: 76-34=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 34+76=110, Resulting Numbers: [110]
110,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[10, 52], Operations: ['88-2=86', '86-34=52']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 10*52=520, Resulting Numbers: [520]
520,43 unequal: No Solution
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Moving to Node #0,3,0
Current State: 43:[86, 44], Operations: ['88-2=86', '34+10=44']
Exploring Operation: 86-44=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 86+44=130, Resulting Numbers: [130]
130,43 unequal: No Solution
Exploring Operation: 86*44=3784, Resulting Numbers: [3784]
3784,43 unequal: No Solution
Moving to Node #0,3,2
Current State: 43:[86, 24], Operations: ['88-2=86', '34-10=24']
Exploring Operation: 86*24=2064, Resulting Numbers: [2064]
2064,43 unequal: No Solution
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 86+24=110, Resulting Numbers: [110]
110,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
11,
82,
60,
80
] | 41 | [
"82-80=2",
"60/2=30",
"11+30=41"
] | Current State: 41:[11, 82, 60, 80], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [11, 60, 2]
Generated Node #2: [11, 60, 2] from Operation: 82-80=2
Current State: 41:[11, 60, 2], Operations: ['82-80=2']
Exploring Operation: 60/2=30, Resulting Numbers: [11, 30]
Generated Node #3: [11, 30] from Operation: 60/2=30
Current State: 41:[11, 30], Operations: ['82-80=2', '60/2=30']
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[11, 82, 60, 80], Operations: []
Exploring Operation: 60-11=49, Resulting Numbers: [82, 80, 49]
Generated Node #0,0: 41:[82, 80, 49] Operation: 60-11=49
Exploring Operation: 82-60=22, Resulting Numbers: [11, 80, 22]
Generated Node #0,1: 41:[11, 80, 22] Operation: 82-60=22
Exploring Operation: 82-80=2, Resulting Numbers: [11, 60, 2]
Generated Node #0,2: 41:[11, 60, 2] Operation: 82-80=2
Exploring Operation: 82-11=71, Resulting Numbers: [60, 80, 71]
Generated Node #0,3: 41:[60, 80, 71] Operation: 82-11=71
Exploring Operation: 80-11=69, Resulting Numbers: [82, 60, 69]
Generated Node #0,4: 41:[82, 60, 69] Operation: 80-11=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[82, 80, 49], Operations: ['60-11=49']
Exploring Operation: 82+49=131, Resulting Numbers: [80, 131]
Generated Node #0,0,0: 41:[80, 131] Operation: 82+49=131
Exploring Operation: 82-80=2, Resulting Numbers: [49, 2]
Generated Node #0,0,1: 41:[49, 2] Operation: 82-80=2
Exploring Operation: 80-49=31, Resulting Numbers: [82, 31]
Generated Node #0,0,2: 41:[82, 31] Operation: 80-49=31
Exploring Operation: 82+80=162, Resulting Numbers: [49, 162]
Generated Node #0,0,3: 41:[49, 162] Operation: 82+80=162
Exploring Operation: 82-49=33, Resulting Numbers: [80, 33]
Generated Node #0,0,4: 41:[80, 33] Operation: 82-49=33
Moving to Node #0,0,1
Current State: 41:[49, 2], Operations: ['60-11=49', '82-80=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,41 unequal: No Solution
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Moving to Node #0,0,4
Current State: 41:[80, 33], Operations: ['60-11=49', '82-49=33']
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 80+33=113, Resulting Numbers: [113]
113,41 unequal: No Solution
Exploring Operation: 80*33=2640, Resulting Numbers: [2640]
2640,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[82, 31], Operations: ['60-11=49', '80-49=31']
Exploring Operation: 82+31=113, Resulting Numbers: [113]
113,41 unequal: No Solution
Exploring Operation: 82*31=2542, Resulting Numbers: [2542]
2542,41 unequal: No Solution
Exploring Operation: 82-31=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[80, 131], Operations: ['60-11=49', '82+49=131']
Exploring Operation: 80*131=10480, Resulting Numbers: [10480]
10480,41 unequal: No Solution
Exploring Operation: 131-80=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 80+131=211, Resulting Numbers: [211]
211,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[49, 162], Operations: ['60-11=49', '82+80=162']
Exploring Operation: 49*162=7938, Resulting Numbers: [7938]
7938,41 unequal: No Solution
Exploring Operation: 162-49=113, Resulting Numbers: [113]
113,41 unequal: No Solution
Exploring Operation: 49+162=211, Resulting Numbers: [211]
211,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[11, 80, 22], Operations: ['82-60=22']
Exploring Operation: 80-11=69, Resulting Numbers: [22, 69]
Generated Node #0,1,0: 41:[22, 69] Operation: 80-11=69
Exploring Operation: 11+22=33, Resulting Numbers: [80, 33]
Generated Node #0,1,1: 41:[80, 33] Operation: 11+22=33
Exploring Operation: 22-11=11, Resulting Numbers: [80, 11]
Generated Node #0,1,2: 41:[80, 11] Operation: 22-11=11
Exploring Operation: 11+80=91, Resulting Numbers: [22, 91]
Generated Node #0,1,3: 41:[22, 91] Operation: 11+80=91
Exploring Operation: 80-22=58, Resulting Numbers: [11, 58]
Generated Node #0,1,4: 41:[11, 58] Operation: 80-22=58
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[22, 69], Operations: ['82-60=22', '80-11=69']
Exploring Operation: 22*69=1518, Resulting Numbers: [1518]
1518,41 unequal: No Solution
Exploring Operation: 22+69=91, Resulting Numbers: [91]
91,41 unequal: No Solution
Exploring Operation: 69-22=47, Resulting Numbers: [47]
47,41 unequal: No Solution
No 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: 41:[80, 33], Operations: ['82-60=22', '11+22=33']
Exploring Operation: 80+33=113, Resulting Numbers: [113]
113,41 unequal: No Solution
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 80*33=2640, Resulting Numbers: [2640]
2640,41 unequal: No Solution
No 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: 41:[11, 58], Operations: ['82-60=22', '80-22=58']
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 11+58=69, Resulting Numbers: [69]
69,41 unequal: No Solution
Exploring Operation: 11*58=638, Resulting Numbers: [638]
638,41 unequal: No Solution
No 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: 41:[80, 11], Operations: ['82-60=22', '22-11=11']
Exploring Operation: 80+11=91, Resulting Numbers: [91]
91,41 unequal: No Solution
Exploring Operation: 80*11=880, Resulting Numbers: [880]
880,41 unequal: No Solution
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,41 unequal: No Solution
No 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: 41:[22, 91], Operations: ['82-60=22', '11+80=91']
Exploring Operation: 22+91=113, Resulting Numbers: [113]
113,41 unequal: No Solution
Exploring Operation: 22*91=2002, Resulting Numbers: [2002]
2002,41 unequal: No Solution
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,41 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: 41:[11, 60, 2], Operations: ['82-80=2']
Exploring Operation: 60/2=30, Resulting Numbers: [11, 30]
Generated Node #0,2,0: 41:[11, 30] Operation: 60/2=30
Exploring Operation: 60-11=49, Resulting Numbers: [2, 49]
Generated Node #0,2,1: 41:[2, 49] Operation: 60-11=49
Exploring Operation: 11+2=13, Resulting Numbers: [60, 13]
Generated Node #0,2,2: 41:[60, 13] Operation: 11+2=13
Exploring Operation: 11*2=22, Resulting Numbers: [60, 22]
Generated Node #0,2,3: 41:[60, 22] Operation: 11*2=22
Exploring Operation: 60-2=58, Resulting Numbers: [11, 58]
Generated Node #0,2,4: 41:[11, 58] Operation: 60-2=58
Moving to Node #0,2,3
Current State: 41:[60, 22], Operations: ['82-80=2', '11*2=22']
Exploring Operation: 60*22=1320, Resulting Numbers: [1320]
1320,41 unequal: No Solution
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 60+22=82, Resulting Numbers: [82]
82,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[11, 30], Operations: ['82-80=2', '60/2=30']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Exploring Operation: 11*30=330, Resulting Numbers: [330]
330,41 unequal: No Solution
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[11, 82, 60, 80], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [11, 60, 2]
Generated Node #0,2: 41:[11, 60, 2] Operation: 82-80=2
Moving to Node #0,2
Current State: 41:[11, 60, 2], Operations: ['82-80=2']
Exploring Operation: 60/2=30, Resulting Numbers: [11, 30]
Generated Node #0,2,0: 41:[11, 30] Operation: 60/2=30
Moving to Node #0,2,0
Current State: 41:[11, 30], Operations: ['82-80=2', '60/2=30']
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.947917 | hs_5 | sum_heuristic |
[
10,
56,
20,
74
] | 16 | [
"20/10=2",
"74-56=18",
"18-2=16"
] | Current State: 16:[10, 56, 20, 74], Operations: []
Exploring Operation: 20/10=2, Resulting Numbers: [56, 74, 2]
Generated Node #2: [56, 74, 2] from Operation: 20/10=2
Current State: 16:[56, 74, 2], Operations: ['20/10=2']
Exploring Operation: 74-56=18, Resulting Numbers: [2, 18]
Generated Node #3: [2, 18] from Operation: 74-56=18
Current State: 16:[2, 18], Operations: ['20/10=2', '74-56=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[10, 56, 20, 74], Operations: []
Exploring Operation: 74-56=18, Resulting Numbers: [10, 20, 18]
Generated Node #0,0: 16:[10, 20, 18] Operation: 74-56=18
Exploring Operation: 56-10=46, Resulting Numbers: [20, 74, 46]
Generated Node #0,1: 16:[20, 74, 46] Operation: 56-10=46
Exploring Operation: 56-20=36, Resulting Numbers: [10, 74, 36]
Generated Node #0,2: 16:[10, 74, 36] Operation: 56-20=36
Exploring Operation: 74-20=54, Resulting Numbers: [10, 56, 54]
Generated Node #0,3: 16:[10, 56, 54] Operation: 74-20=54
Moving to Node #0,0
Current State: 16:[10, 20, 18], Operations: ['74-56=18']
Exploring Operation: 18-10=8, Resulting Numbers: [20, 8]
Generated Node #0,0,0: 16:[20, 8] Operation: 18-10=8
Exploring Operation: 20/10=2, Resulting Numbers: [18, 2]
Generated Node #0,0,1: 16:[18, 2] Operation: 20/10=2
Exploring Operation: 20-10=10, Resulting Numbers: [18, 10]
Generated Node #0,0,2: 16:[18, 10] Operation: 20-10=10
Exploring Operation: 20-18=2, Resulting Numbers: [10, 2]
Generated Node #0,0,3: 16:[10, 2] Operation: 20-18=2
Moving to Node #0,3
Current State: 16:[10, 56, 54], Operations: ['74-20=54']
Exploring Operation: 54-10=44, Resulting Numbers: [56, 44]
Generated Node #0,3,0: 16:[56, 44] Operation: 54-10=44
Exploring Operation: 56-10=46, Resulting Numbers: [54, 46]
Generated Node #0,3,1: 16:[54, 46] Operation: 56-10=46
Exploring Operation: 10+56=66, Resulting Numbers: [54, 66]
Generated Node #0,3,2: 16:[54, 66] Operation: 10+56=66
Exploring Operation: 56-54=2, Resulting Numbers: [10, 2]
Generated Node #0,3,3: 16:[10, 2] Operation: 56-54=2
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 16:[10, 2], Operations: ['74-20=54', '56-54=2']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,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,3,0
Current State: 16:[56, 44], Operations: ['74-20=54', '54-10=44']
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,16 unequal: No Solution
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,16 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,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,3,1
Current State: 16:[54, 46], Operations: ['74-20=54', '56-10=46']
Exploring Operation: 54+46=100, Resulting Numbers: [100]
100,16 unequal: No Solution
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 54*46=2484, Resulting Numbers: [2484]
2484,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,3,2
Current State: 16:[54, 66], Operations: ['74-20=54', '10+56=66']
Exploring Operation: 54+66=120, Resulting Numbers: [120]
120,16 unequal: No Solution
Exploring Operation: 54*66=3564, Resulting Numbers: [3564]
3564,16 unequal: No Solution
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,16 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: 16:[10, 74, 36], Operations: ['56-20=36']
Exploring Operation: 74-36=38, Resulting Numbers: [10, 38]
Generated Node #0,2,0: 16:[10, 38] Operation: 74-36=38
Exploring Operation: 10+74=84, Resulting Numbers: [36, 84]
Generated Node #0,2,1: 16:[36, 84] Operation: 10+74=84
Exploring Operation: 36-10=26, Resulting Numbers: [74, 26]
Generated Node #0,2,2: 16:[74, 26] Operation: 36-10=26
Exploring Operation: 74-10=64, Resulting Numbers: [36, 64]
Generated Node #0,2,3: 16:[36, 64] Operation: 74-10=64
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[10, 38], Operations: ['56-20=36', '74-36=38']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,16 unequal: No Solution
Exploring Operation: 10*38=380, Resulting Numbers: [380]
380,16 unequal: No Solution
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,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,2,2
Current State: 16:[74, 26], Operations: ['56-20=36', '36-10=26']
Exploring Operation: 74+26=100, Resulting Numbers: [100]
100,16 unequal: No Solution
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 74*26=1924, Resulting Numbers: [1924]
1924,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,2,3
Current State: 16:[36, 64], Operations: ['56-20=36', '74-10=64']
Exploring Operation: 36+64=100, Resulting Numbers: [100]
100,16 unequal: No Solution
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,16 unequal: No Solution
Exploring Operation: 36*64=2304, Resulting Numbers: [2304]
2304,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,2,1
Current State: 16:[36, 84], Operations: ['56-20=36', '10+74=84']
Exploring Operation: 84-36=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 36*84=3024, Resulting Numbers: [3024]
3024,16 unequal: No Solution
Exploring Operation: 36+84=120, Resulting Numbers: [120]
120,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:[20, 74, 46], Operations: ['56-10=46']
Exploring Operation: 74-20=54, Resulting Numbers: [46, 54]
Generated Node #0,1,0: 16:[46, 54] Operation: 74-20=54
Exploring Operation: 74-46=28, Resulting Numbers: [20, 28]
Generated Node #0,1,1: 16:[20, 28] Operation: 74-46=28
Exploring Operation: 46-20=26, Resulting Numbers: [74, 26]
Generated Node #0,1,2: 16:[74, 26] Operation: 46-20=26
Exploring Operation: 20+74=94, Resulting Numbers: [46, 94]
Generated Node #0,1,3: 16:[46, 94] Operation: 20+74=94
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[20, 28], Operations: ['56-10=46', '74-46=28']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,16 unequal: No Solution
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,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:[46, 54], Operations: ['56-10=46', '74-20=54']
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 46+54=100, Resulting Numbers: [100]
100,16 unequal: No Solution
Exploring Operation: 46*54=2484, Resulting Numbers: [2484]
2484,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,2
Current State: 16:[74, 26], Operations: ['56-10=46', '46-20=26']
Exploring Operation: 74*26=1924, Resulting Numbers: [1924]
1924,16 unequal: No Solution
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 74+26=100, Resulting Numbers: [100]
100,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,3
Current State: 16:[46, 94], Operations: ['56-10=46', '20+74=94']
Exploring Operation: 94-46=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 46*94=4324, Resulting Numbers: [4324]
4324,16 unequal: No Solution
Exploring Operation: 46+94=140, Resulting Numbers: [140]
140,16 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: 16:[18, 2], Operations: ['74-56=18', '20/10=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[10, 56, 20, 74], Operations: []
Exploring Operation: 74-56=18, Resulting Numbers: [10, 20, 18]
Generated Node #0,0: 16:[10, 20, 18] Operation: 74-56=18
Moving to Node #0,0
Current State: 16:[10, 20, 18], Operations: ['74-56=18']
Exploring Operation: 20/10=2, Resulting Numbers: [18, 2]
Generated Node #0,0,1: 16:[18, 2] Operation: 20/10=2
Moving to Node #0,0,1
Current State: 16:[18, 2], Operations: ['74-56=18', '20/10=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.943576 | hs_4 | mult_heuristic |
[
54,
66,
38,
11
] | 86 | [
"54+38=92",
"66/11=6",
"92-6=86"
] | Current State: 86:[54, 66, 38, 11], Operations: []
Exploring Operation: 54+38=92, Resulting Numbers: [66, 11, 92]
Generated Node #2: [66, 11, 92] from Operation: 54+38=92
Current State: 86:[66, 11, 92], Operations: ['54+38=92']
Exploring Operation: 66/11=6, Resulting Numbers: [92, 6]
Generated Node #3: [92, 6] from Operation: 66/11=6
Current State: 86:[92, 6], Operations: ['54+38=92', '66/11=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[54, 66, 38, 11], Operations: []
Exploring Operation: 66+11=77, Resulting Numbers: [54, 38, 77]
Generated Node #0,0: 86:[54, 38, 77] Operation: 66+11=77
Exploring Operation: 66-54=12, Resulting Numbers: [38, 11, 12]
Generated Node #0,1: 86:[38, 11, 12] Operation: 66-54=12
Exploring Operation: 54-11=43, Resulting Numbers: [66, 38, 43]
Generated Node #0,2: 86:[66, 38, 43] Operation: 54-11=43
Exploring Operation: 66/11=6, Resulting Numbers: [54, 38, 6]
Generated Node #0,3: 86:[54, 38, 6] Operation: 66/11=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[54, 38, 6], Operations: ['66/11=6']
Exploring Operation: 54+38=92, Resulting Numbers: [6, 92]
Generated Node #0,3,0: 86:[6, 92] Operation: 54+38=92
Exploring Operation: 38+6=44, Resulting Numbers: [54, 44]
Generated Node #0,3,1: 86:[54, 44] Operation: 38+6=44
Exploring Operation: 54/6=9, Resulting Numbers: [38, 9]
Generated Node #0,3,2: 86:[38, 9] Operation: 54/6=9
Exploring Operation: 54-6=48, Resulting Numbers: [38, 48]
Generated Node #0,3,3: 86:[38, 48] Operation: 54-6=48
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 86:[6, 92], Operations: ['66/11=6', '54+38=92']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[54, 66, 38, 11], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [54, 38, 6]
Generated Node #0,3: 86:[54, 38, 6] Operation: 66/11=6
Moving to Node #0,3
Current State: 86:[54, 38, 6], Operations: ['66/11=6']
Exploring Operation: 54+38=92, Resulting Numbers: [6, 92]
Generated Node #0,3,0: 86:[6, 92] Operation: 54+38=92
Moving to Node #0,3,0
Current State: 86:[6, 92], Operations: ['66/11=6', '54+38=92']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
33,
21,
96,
57
] | 32 | [
"33+21=54",
"57-54=3",
"96/3=32"
] | Current State: 32:[33, 21, 96, 57], Operations: []
Exploring Operation: 33+21=54, Resulting Numbers: [96, 57, 54]
Generated Node #2: [96, 57, 54] from Operation: 33+21=54
Current State: 32:[96, 57, 54], Operations: ['33+21=54']
Exploring Operation: 57-54=3, Resulting Numbers: [96, 3]
Generated Node #3: [96, 3] from Operation: 57-54=3
Current State: 32:[96, 3], Operations: ['33+21=54', '57-54=3']
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[33, 21, 96, 57], Operations: []
Exploring Operation: 96-57=39, Resulting Numbers: [33, 21, 39]
Generated Node #0,0: 32:[33, 21, 39] Operation: 96-57=39
Exploring Operation: 96-21=75, Resulting Numbers: [33, 57, 75]
Generated Node #0,1: 32:[33, 57, 75] Operation: 96-21=75
Exploring Operation: 96-33=63, Resulting Numbers: [21, 57, 63]
Generated Node #0,2: 32:[21, 57, 63] Operation: 96-33=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[33, 21, 39], Operations: ['96-57=39']
Exploring Operation: 39-21=18, Resulting Numbers: [33, 18]
Generated Node #0,0,0: 32:[33, 18] Operation: 39-21=18
Exploring Operation: 33-21=12, Resulting Numbers: [39, 12]
Generated Node #0,0,1: 32:[39, 12] Operation: 33-21=12
Exploring Operation: 39-33=6, Resulting Numbers: [21, 6]
Generated Node #0,0,2: 32:[21, 6] Operation: 39-33=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[33, 18], Operations: ['96-57=39', '39-21=18']
Exploring Operation: 33*18=594, Resulting Numbers: [594]
594,32 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 33+18=51, Resulting Numbers: [51]
51,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 32:[21, 6], Operations: ['96-57=39', '39-33=6']
Exploring Operation: 21*6=126, Resulting Numbers: [126]
126,32 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[39, 12], Operations: ['96-57=39', '33-21=12']
Exploring Operation: 39+12=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Exploring Operation: 39*12=468, Resulting Numbers: [468]
468,32 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[21, 57, 63], Operations: ['96-33=63']
Exploring Operation: 63/21=3, Resulting Numbers: [57, 3]
Generated Node #0,2,0: 32:[57, 3] Operation: 63/21=3
Exploring Operation: 57-21=36, Resulting Numbers: [63, 36]
Generated Node #0,2,1: 32:[63, 36] Operation: 57-21=36
Exploring Operation: 63-57=6, Resulting Numbers: [21, 6]
Generated Node #0,2,2: 32:[21, 6] Operation: 63-57=6
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 32:[21, 6], Operations: ['96-33=63', '63-57=6']
Exploring Operation: 21*6=126, Resulting Numbers: [126]
126,32 unequal: No Solution
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,32 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 32:[57, 3], Operations: ['96-33=63', '63/21=3']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 32:[63, 36], Operations: ['96-33=63', '57-21=36']
Exploring Operation: 63+36=99, Resulting Numbers: [99]
99,32 unequal: No Solution
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,32 unequal: No Solution
Exploring Operation: 63*36=2268, Resulting Numbers: [2268]
2268,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[33, 57, 75], Operations: ['96-21=75']
Exploring Operation: 75-57=18, Resulting Numbers: [33, 18]
Generated Node #0,1,0: 32:[33, 18] Operation: 75-57=18
Exploring Operation: 75-33=42, Resulting Numbers: [57, 42]
Generated Node #0,1,1: 32:[57, 42] Operation: 75-33=42
Exploring Operation: 57-33=24, Resulting Numbers: [75, 24]
Generated Node #0,1,2: 32:[75, 24] Operation: 57-33=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 32:[33, 18], Operations: ['96-21=75', '75-57=18']
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 33*18=594, Resulting Numbers: [594]
594,32 unequal: No Solution
Exploring Operation: 33+18=51, Resulting Numbers: [51]
51,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 32:[57, 42], Operations: ['96-21=75', '75-33=42']
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 57*42=2394, Resulting Numbers: [2394]
2394,32 unequal: No Solution
Exploring Operation: 57+42=99, Resulting Numbers: [99]
99,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 32:[75, 24], Operations: ['96-21=75', '57-33=24']
Exploring Operation: 75+24=99, Resulting Numbers: [99]
99,32 unequal: No Solution
Exploring Operation: 75-24=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Exploring Operation: 75*24=1800, Resulting Numbers: [1800]
1800,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
57,
24,
43,
96
] | 93 | [
"43-24=19",
"57/19=3",
"96-3=93"
] | Current State: 93:[57, 24, 43, 96], Operations: []
Exploring Operation: 43-24=19, Resulting Numbers: [57, 96, 19]
Generated Node #2: [57, 96, 19] from Operation: 43-24=19
Current State: 93:[57, 96, 19], Operations: ['43-24=19']
Exploring Operation: 57/19=3, Resulting Numbers: [96, 3]
Generated Node #3: [96, 3] from Operation: 57/19=3
Current State: 93:[96, 3], Operations: ['43-24=19', '57/19=3']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[57, 24, 43, 96], Operations: []
Exploring Operation: 57+24=81, Resulting Numbers: [43, 96, 81]
Generated Node #0,0: 93:[43, 96, 81] Operation: 57+24=81
Exploring Operation: 57-43=14, Resulting Numbers: [24, 96, 14]
Generated Node #0,1: 93:[24, 96, 14] Operation: 57-43=14
Exploring Operation: 57+43=100, Resulting Numbers: [24, 96, 100]
Generated Node #0,2: 93:[24, 96, 100] Operation: 57+43=100
Exploring Operation: 96-57=39, Resulting Numbers: [24, 43, 39]
Generated Node #0,3: 93:[24, 43, 39] Operation: 96-57=39
Exploring Operation: 57-24=33, Resulting Numbers: [43, 96, 33]
Generated Node #0,4: 93:[43, 96, 33] Operation: 57-24=33
Moving to Node #0,2
Current State: 93:[24, 96, 100], Operations: ['57+43=100']
Exploring Operation: 100-96=4, Resulting Numbers: [24, 4]
Generated Node #0,2,0: 93:[24, 4] Operation: 100-96=4
Exploring Operation: 100-24=76, Resulting Numbers: [96, 76]
Generated Node #0,2,1: 93:[96, 76] Operation: 100-24=76
Exploring Operation: 24+96=120, Resulting Numbers: [100, 120]
Generated Node #0,2,2: 93:[100, 120] Operation: 24+96=120
Exploring Operation: 96-24=72, Resulting Numbers: [100, 72]
Generated Node #0,2,3: 93:[100, 72] Operation: 96-24=72
Exploring Operation: 96/24=4, Resulting Numbers: [100, 4]
Generated Node #0,2,4: 93:[100, 4] Operation: 96/24=4
Moving to Node #0,4
Current State: 93:[43, 96, 33], Operations: ['57-24=33']
Exploring Operation: 43+96=139, Resulting Numbers: [33, 139]
Generated Node #0,4,0: 93:[33, 139] Operation: 43+96=139
Exploring Operation: 96-33=63, Resulting Numbers: [43, 63]
Generated Node #0,4,1: 93:[43, 63] Operation: 96-33=63
Exploring Operation: 43+33=76, Resulting Numbers: [96, 76]
Generated Node #0,4,2: 93:[96, 76] Operation: 43+33=76
Exploring Operation: 96-43=53, Resulting Numbers: [33, 53]
Generated Node #0,4,3: 93:[33, 53] Operation: 96-43=53
Exploring Operation: 43-33=10, Resulting Numbers: [96, 10]
Generated Node #0,4,4: 93:[96, 10] Operation: 43-33=10
Moving to Node #0,1
Current State: 93:[24, 96, 14], Operations: ['57-43=14']
Exploring Operation: 24+14=38, Resulting Numbers: [96, 38]
Generated Node #0,1,0: 93:[96, 38] Operation: 24+14=38
Exploring Operation: 96-14=82, Resulting Numbers: [24, 82]
Generated Node #0,1,1: 93:[24, 82] Operation: 96-14=82
Exploring Operation: 24-14=10, Resulting Numbers: [96, 10]
Generated Node #0,1,2: 93:[96, 10] Operation: 24-14=10
Exploring Operation: 96+14=110, Resulting Numbers: [24, 110]
Generated Node #0,1,3: 93:[24, 110] Operation: 96+14=110
Exploring Operation: 96/24=4, Resulting Numbers: [14, 4]
Generated Node #0,1,4: 93:[14, 4] Operation: 96/24=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[96, 38], Operations: ['57-43=14', '24+14=38']
Exploring Operation: 96-38=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 96+38=134, Resulting Numbers: [134]
134,93 unequal: No Solution
Exploring Operation: 96*38=3648, Resulting Numbers: [3648]
3648,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,2
Current State: 93:[96, 10], Operations: ['57-43=14', '24-14=10']
Exploring Operation: 96*10=960, Resulting Numbers: [960]
960,93 unequal: No Solution
Exploring Operation: 96+10=106, Resulting Numbers: [106]
106,93 unequal: No Solution
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,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,4
Current State: 93:[14, 4], Operations: ['57-43=14', '96/24=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,93 unequal: No Solution
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[24, 82], Operations: ['57-43=14', '96-14=82']
Exploring Operation: 24+82=106, Resulting Numbers: [106]
106,93 unequal: No Solution
Exploring Operation: 24*82=1968, Resulting Numbers: [1968]
1968,93 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,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,3
Current State: 93:[24, 110], Operations: ['57-43=14', '96+14=110']
Exploring Operation: 24+110=134, Resulting Numbers: [134]
134,93 unequal: No Solution
Exploring Operation: 110-24=86, Resulting Numbers: [86]
86,93 unequal: No Solution
Exploring Operation: 24*110=2640, Resulting Numbers: [2640]
2640,93 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: 93:[43, 96, 81], Operations: ['57+24=81']
Exploring Operation: 96-43=53, Resulting Numbers: [81, 53]
Generated Node #0,0,0: 93:[81, 53] Operation: 96-43=53
Exploring Operation: 43+81=124, Resulting Numbers: [96, 124]
Generated Node #0,0,1: 93:[96, 124] Operation: 43+81=124
Exploring Operation: 81-43=38, Resulting Numbers: [96, 38]
Generated Node #0,0,2: 93:[96, 38] Operation: 81-43=38
Exploring Operation: 96-81=15, Resulting Numbers: [43, 15]
Generated Node #0,0,3: 93:[43, 15] Operation: 96-81=15
Exploring Operation: 43+96=139, Resulting Numbers: [81, 139]
Generated Node #0,0,4: 93:[81, 139] Operation: 43+96=139
Moving to Node #0,3
Current State: 93:[24, 43, 39], Operations: ['96-57=39']
Exploring Operation: 43-39=4, Resulting Numbers: [24, 4]
Generated Node #0,3,0: 93:[24, 4] Operation: 43-39=4
Exploring Operation: 39-24=15, Resulting Numbers: [43, 15]
Generated Node #0,3,1: 93:[43, 15] Operation: 39-24=15
Exploring Operation: 24+43=67, Resulting Numbers: [39, 67]
Generated Node #0,3,2: 93:[39, 67] Operation: 24+43=67
Exploring Operation: 43-24=19, Resulting Numbers: [39, 19]
Generated Node #0,3,3: 93:[39, 19] Operation: 43-24=19
Exploring Operation: 43+39=82, Resulting Numbers: [24, 82]
Generated Node #0,3,4: 93:[24, 82] Operation: 43+39=82
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 93:[24, 4], Operations: ['96-57=39', '43-39=4']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,93 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,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,3,4
Current State: 93:[24, 82], Operations: ['96-57=39', '43+39=82']
Exploring Operation: 24*82=1968, Resulting Numbers: [1968]
1968,93 unequal: No Solution
Exploring Operation: 24+82=106, Resulting Numbers: [106]
106,93 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,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,3,3
Current State: 93:[39, 19], Operations: ['96-57=39', '43-24=19']
Exploring Operation: 39+19=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 39*19=741, Resulting Numbers: [741]
741,93 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,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,3,1
Current State: 93:[43, 15], Operations: ['96-57=39', '39-24=15']
Exploring Operation: 43+15=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 43*15=645, Resulting Numbers: [645]
645,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,3,2
Current State: 93:[39, 67], Operations: ['96-57=39', '24+43=67']
Exploring Operation: 39+67=106, Resulting Numbers: [106]
106,93 unequal: No Solution
Exploring Operation: 39*67=2613, Resulting Numbers: [2613]
2613,93 unequal: No Solution
Exploring Operation: 67-39=28, Resulting Numbers: [28]
28,93 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: 93:[24, 4], Operations: ['57+43=100', '100-96=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,93 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Moving to Node #0,2,4
Current State: 93:[100, 4], Operations: ['57+43=100', '96/24=4']
Exploring Operation: 100-4=96, Resulting Numbers: [96]
96,93 unequal: No Solution
Exploring Operation: 100*4=400, Resulting Numbers: [400]
400,93 unequal: No Solution
Exploring Operation: 100/4=25, Resulting Numbers: [25]
25,93 unequal: No Solution
Exploring Operation: 100+4=104, Resulting Numbers: [104]
104,93 unequal: No Solution
Moving to Node #0,4,4
Current State: 93:[96, 10], Operations: ['57-24=33', '43-33=10']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,93 unequal: No Solution
Exploring Operation: 96*10=960, Resulting Numbers: [960]
960,93 unequal: No Solution
Exploring Operation: 96+10=106, Resulting Numbers: [106]
106,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[96, 38], Operations: ['57+24=81', '81-43=38']
Exploring Operation: 96+38=134, Resulting Numbers: [134]
134,93 unequal: No Solution
Exploring Operation: 96*38=3648, Resulting Numbers: [3648]
3648,93 unequal: No Solution
Exploring Operation: 96-38=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Moving to Node #0,4,2
Current State: 93:[96, 76], Operations: ['57-24=33', '43+33=76']
Exploring Operation: 96+76=172, Resulting Numbers: [172]
172,93 unequal: No Solution
Exploring Operation: 96*76=7296, Resulting Numbers: [7296]
7296,93 unequal: No Solution
Exploring Operation: 96-76=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[96, 76], Operations: ['57+43=100', '100-24=76']
Exploring Operation: 96*76=7296, Resulting Numbers: [7296]
7296,93 unequal: No Solution
Exploring Operation: 96+76=172, Resulting Numbers: [172]
172,93 unequal: No Solution
Exploring Operation: 96-76=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Moving to Node #0,0,3
Current State: 93:[43, 15], Operations: ['57+24=81', '96-81=15']
Exploring Operation: 43+15=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 43*15=645, Resulting Numbers: [645]
645,93 unequal: No Solution
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Moving to Node #0,4,3
Current State: 93:[33, 53], Operations: ['57-24=33', '96-43=53']
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Exploring Operation: 33+53=86, Resulting Numbers: [86]
86,93 unequal: No Solution
Exploring Operation: 33*53=1749, Resulting Numbers: [1749]
1749,93 unequal: No Solution
Moving to Node #0,2,3
Current State: 93:[100, 72], Operations: ['57+43=100', '96-24=72']
Exploring Operation: 100*72=7200, Resulting Numbers: [7200]
7200,93 unequal: No Solution
Exploring Operation: 100+72=172, Resulting Numbers: [172]
172,93 unequal: No Solution
Exploring Operation: 100-72=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[96, 124], Operations: ['57+24=81', '43+81=124']
Exploring Operation: 124-96=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 96*124=11904, Resulting Numbers: [11904]
11904,93 unequal: No Solution
Exploring Operation: 96+124=220, Resulting Numbers: [220]
220,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[100, 120], Operations: ['57+43=100', '24+96=120']
Exploring Operation: 100+120=220, Resulting Numbers: [220]
220,93 unequal: No Solution
Exploring Operation: 100*120=12000, Resulting Numbers: [12000]
12000,93 unequal: No Solution
Exploring Operation: 120-100=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[81, 53], Operations: ['57+24=81', '96-43=53']
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 81+53=134, Resulting Numbers: [134]
134,93 unequal: No Solution
Exploring Operation: 81*53=4293, Resulting Numbers: [4293]
4293,93 unequal: No Solution
Moving to Node #0,4,1
Current State: 93:[43, 63], Operations: ['57-24=33', '96-33=63']
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Exploring Operation: 43+63=106, Resulting Numbers: [106]
106,93 unequal: No Solution
Exploring Operation: 43*63=2709, Resulting Numbers: [2709]
2709,93 unequal: No Solution
Moving to Node #0,4,0
Current State: 93:[33, 139], Operations: ['57-24=33', '43+96=139']
Exploring Operation: 33*139=4587, Resulting Numbers: [4587]
4587,93 unequal: No Solution
Exploring Operation: 33+139=172, Resulting Numbers: [172]
172,93 unequal: No Solution
Exploring Operation: 139-33=106, Resulting Numbers: [106]
106,93 unequal: No Solution
Moving to Node #0,0,4
Current State: 93:[81, 139], Operations: ['57+24=81', '43+96=139']
Exploring Operation: 81*139=11259, Resulting Numbers: [11259]
11259,93 unequal: No Solution
Exploring Operation: 139-81=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 81+139=220, Resulting Numbers: [220]
220,93 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
72,
50,
88,
12
] | 22 | [
"72+50=122",
"88+12=100",
"122-100=22"
] | Current State: 22:[72, 50, 88, 12], Operations: []
Exploring Operation: 72+50=122, Resulting Numbers: [88, 12, 122]
Generated Node #2: [88, 12, 122] from Operation: 72+50=122
Current State: 22:[88, 12, 122], Operations: ['72+50=122']
Exploring Operation: 88+12=100, Resulting Numbers: [122, 100]
Generated Node #3: [122, 100] from Operation: 88+12=100
Current State: 22:[122, 100], Operations: ['72+50=122', '88+12=100']
Exploring Operation: 122-100=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[72, 50, 88, 12], Operations: []
Exploring Operation: 88-72=16, Resulting Numbers: [50, 12, 16]
Generated Node #0,0: 22:[50, 12, 16] Operation: 88-72=16
Moving to Node #0,0
Current State: 22:[50, 12, 16], Operations: ['88-72=16']
Exploring Operation: 50-16=34, Resulting Numbers: [12, 34]
Generated Node #0,0,0: 22:[12, 34] Operation: 50-16=34
Moving to Node #0,0,0
Current State: 22:[12, 34], Operations: ['88-72=16', '50-16=34']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[72, 50, 88, 12], Operations: []
Exploring Operation: 88-72=16, Resulting Numbers: [50, 12, 16]
Generated Node #0,0: 22:[50, 12, 16] Operation: 88-72=16
Moving to Node #0,0
Current State: 22:[50, 12, 16], Operations: ['88-72=16']
Exploring Operation: 50-16=34, Resulting Numbers: [12, 34]
Generated Node #0,0,0: 22:[12, 34] Operation: 50-16=34
Moving to Node #0,0,0
Current State: 22:[12, 34], Operations: ['88-72=16', '50-16=34']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
18,
2,
61,
43
] | 97 | [
"43-18=25",
"2*61=122",
"122-25=97"
] | Current State: 97:[18, 2, 61, 43], Operations: []
Exploring Operation: 43-18=25, Resulting Numbers: [2, 61, 25]
Generated Node #2: [2, 61, 25] from Operation: 43-18=25
Current State: 97:[2, 61, 25], Operations: ['43-18=25']
Exploring Operation: 2*61=122, Resulting Numbers: [25, 122]
Generated Node #3: [25, 122] from Operation: 2*61=122
Current State: 97:[25, 122], Operations: ['43-18=25', '2*61=122']
Exploring Operation: 122-25=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[18, 2, 61, 43], Operations: []
Exploring Operation: 18*2=36, Resulting Numbers: [61, 43, 36]
Generated Node #0,0: 97:[61, 43, 36] Operation: 18*2=36
Exploring Operation: 2*43=86, Resulting Numbers: [18, 61, 86]
Generated Node #0,1: 97:[18, 61, 86] Operation: 2*43=86
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[18, 61, 86], Operations: ['2*43=86']
Exploring Operation: 18+86=104, Resulting Numbers: [61, 104]
Generated Node #0,1,0: 97:[61, 104] Operation: 18+86=104
Exploring Operation: 18+61=79, Resulting Numbers: [86, 79]
Generated Node #0,1,1: 97:[86, 79] Operation: 18+61=79
Moving to Node #0,1,1
Current State: 97:[86, 79], Operations: ['2*43=86', '18+61=79']
Exploring Operation: 86+79=165, Resulting Numbers: [165]
165,97 unequal: No Solution
Exploring Operation: 86-79=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[61, 104], Operations: ['2*43=86', '18+86=104']
Exploring Operation: 104-61=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Exploring Operation: 61+104=165, Resulting Numbers: [165]
165,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[61, 43, 36], Operations: ['18*2=36']
Exploring Operation: 43+36=79, Resulting Numbers: [61, 79]
Generated Node #0,0,0: 97:[61, 79] Operation: 43+36=79
Exploring Operation: 61+36=97, Resulting Numbers: [43, 97]
Generated Node #0,0,1: 97:[43, 97] Operation: 61+36=97
Moving to Node #0,0,0
Current State: 97:[61, 79], Operations: ['18*2=36', '43+36=79']
Exploring Operation: 61+79=140, Resulting Numbers: [140]
140,97 unequal: No Solution
Exploring Operation: 79-61=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[43, 97], Operations: ['18*2=36', '61+36=97']
Exploring Operation: 97-43=54, Resulting Numbers: [54]
54,97 unequal: No Solution
Exploring Operation: 43+97=140, Resulting Numbers: [140]
140,97 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 |
[
66,
42,
1,
8
] | 17 | [
"66-42=24",
"8-1=7",
"24-7=17"
] | Current State: 17:[66, 42, 1, 8], Operations: []
Exploring Operation: 66-42=24, Resulting Numbers: [1, 8, 24]
Generated Node #2: [1, 8, 24] from Operation: 66-42=24
Current State: 17:[1, 8, 24], Operations: ['66-42=24']
Exploring Operation: 8-1=7, Resulting Numbers: [24, 7]
Generated Node #3: [24, 7] from Operation: 8-1=7
Current State: 17:[24, 7], Operations: ['66-42=24', '8-1=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[66, 42, 1, 8], Operations: []
Exploring Operation: 42-8=34, Resulting Numbers: [66, 1, 34]
Generated Node #0,0: 17:[66, 1, 34] Operation: 42-8=34
Exploring Operation: 66-1=65, Resulting Numbers: [42, 8, 65]
Generated Node #0,1: 17:[42, 8, 65] Operation: 66-1=65
Exploring Operation: 66-42=24, Resulting Numbers: [1, 8, 24]
Generated Node #0,2: 17:[1, 8, 24] Operation: 66-42=24
Exploring Operation: 42-1=41, Resulting Numbers: [66, 8, 41]
Generated Node #0,3: 17:[66, 8, 41] Operation: 42-1=41
Exploring Operation: 66-8=58, Resulting Numbers: [42, 1, 58]
Generated Node #0,4: 17:[42, 1, 58] Operation: 66-8=58
Moving to Node #0,2
Current State: 17:[1, 8, 24], Operations: ['66-42=24']
Exploring Operation: 1+8=9, Resulting Numbers: [24, 9]
Generated Node #0,2,0: 17:[24, 9] Operation: 1+8=9
Exploring Operation: 1*24=24, Resulting Numbers: [8, 24]
Generated Node #0,2,1: 17:[8, 24] Operation: 1*24=24
Exploring Operation: 24-1=23, Resulting Numbers: [8, 23]
Generated Node #0,2,2: 17:[8, 23] Operation: 24-1=23
Exploring Operation: 8/1=8, Resulting Numbers: [24, 8]
Generated Node #0,2,3: 17:[24, 8] Operation: 8/1=8
Exploring Operation: 1*8=8, Resulting Numbers: [24, 8]
Generated Node #0,2,4: 17:[24, 8] Operation: 1*8=8
Moving to Node #0,1
Current State: 17:[42, 8, 65], Operations: ['66-1=65']
Exploring Operation: 65-8=57, Resulting Numbers: [42, 57]
Generated Node #0,1,0: 17:[42, 57] Operation: 65-8=57
Exploring Operation: 42-8=34, Resulting Numbers: [65, 34]
Generated Node #0,1,1: 17:[65, 34] Operation: 42-8=34
Exploring Operation: 8+65=73, Resulting Numbers: [42, 73]
Generated Node #0,1,2: 17:[42, 73] Operation: 8+65=73
Exploring Operation: 42+8=50, Resulting Numbers: [65, 50]
Generated Node #0,1,3: 17:[65, 50] Operation: 42+8=50
Exploring Operation: 65-42=23, Resulting Numbers: [8, 23]
Generated Node #0,1,4: 17:[8, 23] Operation: 65-42=23
Moving to Node #0,4
Current State: 17:[42, 1, 58], Operations: ['66-8=58']
Exploring Operation: 42/1=42, Resulting Numbers: [58, 42]
Generated Node #0,4,0: 17:[58, 42] Operation: 42/1=42
Exploring Operation: 58-42=16, Resulting Numbers: [1, 16]
Generated Node #0,4,1: 17:[1, 16] Operation: 58-42=16
Exploring Operation: 42*1=42, Resulting Numbers: [58, 42]
Generated Node #0,4,2: 17:[58, 42] Operation: 42*1=42
Exploring Operation: 42-1=41, Resulting Numbers: [58, 41]
Generated Node #0,4,3: 17:[58, 41] Operation: 42-1=41
Exploring Operation: 58-1=57, Resulting Numbers: [42, 57]
Generated Node #0,4,4: 17:[42, 57] Operation: 58-1=57
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 17:[1, 16], Operations: ['66-8=58', '58-42=16']
Exploring Operation: 1+16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[66, 42, 1, 8], Operations: []
Exploring Operation: 66-8=58, Resulting Numbers: [42, 1, 58]
Generated Node #0,4: 17:[42, 1, 58] Operation: 66-8=58
Moving to Node #0,4
Current State: 17:[42, 1, 58], Operations: ['66-8=58']
Exploring Operation: 58-42=16, Resulting Numbers: [1, 16]
Generated Node #0,4,1: 17:[1, 16] Operation: 58-42=16
Moving to Node #0,4,1
Current State: 17:[1, 16], Operations: ['66-8=58', '58-42=16']
Exploring Operation: 1+16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
18,
24,
53,
81
] | 34 | [
"24-18=6",
"81-53=28",
"6+28=34"
] | Current State: 34:[18, 24, 53, 81], Operations: []
Exploring Operation: 24-18=6, Resulting Numbers: [53, 81, 6]
Generated Node #2: [53, 81, 6] from Operation: 24-18=6
Current State: 34:[53, 81, 6], Operations: ['24-18=6']
Exploring Operation: 81-53=28, Resulting Numbers: [6, 28]
Generated Node #3: [6, 28] from Operation: 81-53=28
Current State: 34:[6, 28], Operations: ['24-18=6', '81-53=28']
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[18, 24, 53, 81], Operations: []
Exploring Operation: 81-24=57, Resulting Numbers: [18, 53, 57]
Generated Node #0,0: 34:[18, 53, 57] Operation: 81-24=57
Exploring Operation: 81-53=28, Resulting Numbers: [18, 24, 28]
Generated Node #0,1: 34:[18, 24, 28] Operation: 81-53=28
Exploring Operation: 53-24=29, Resulting Numbers: [18, 81, 29]
Generated Node #0,2: 34:[18, 81, 29] Operation: 53-24=29
Exploring Operation: 53-18=35, Resulting Numbers: [24, 81, 35]
Generated Node #0,3: 34:[24, 81, 35] Operation: 53-18=35
Moving to Node #0,1
Current State: 34:[18, 24, 28], Operations: ['81-53=28']
Exploring Operation: 28-18=10, Resulting Numbers: [24, 10]
Generated Node #0,1,0: 34:[24, 10] Operation: 28-18=10
Exploring Operation: 28-24=4, Resulting Numbers: [18, 4]
Generated Node #0,1,1: 34:[18, 4] Operation: 28-24=4
Exploring Operation: 18+24=42, Resulting Numbers: [28, 42]
Generated Node #0,1,2: 34:[28, 42] Operation: 18+24=42
Exploring Operation: 24-18=6, Resulting Numbers: [28, 6]
Generated Node #0,1,3: 34:[28, 6] Operation: 24-18=6
Moving to Node #0,0
Current State: 34:[18, 53, 57], Operations: ['81-24=57']
Exploring Operation: 57-53=4, Resulting Numbers: [18, 4]
Generated Node #0,0,0: 34:[18, 4] Operation: 57-53=4
Exploring Operation: 18+53=71, Resulting Numbers: [57, 71]
Generated Node #0,0,1: 34:[57, 71] Operation: 18+53=71
Exploring Operation: 57-18=39, Resulting Numbers: [53, 39]
Generated Node #0,0,2: 34:[53, 39] Operation: 57-18=39
Exploring Operation: 53-18=35, Resulting Numbers: [57, 35]
Generated Node #0,0,3: 34:[57, 35] Operation: 53-18=35
Moving to Node #0,2
Current State: 34:[18, 81, 29], Operations: ['53-24=29']
Exploring Operation: 29-18=11, Resulting Numbers: [81, 11]
Generated Node #0,2,0: 34:[81, 11] Operation: 29-18=11
Exploring Operation: 81-18=63, Resulting Numbers: [29, 63]
Generated Node #0,2,1: 34:[29, 63] Operation: 81-18=63
Exploring Operation: 81-29=52, Resulting Numbers: [18, 52]
Generated Node #0,2,2: 34:[18, 52] Operation: 81-29=52
Exploring Operation: 18+29=47, Resulting Numbers: [81, 47]
Generated Node #0,2,3: 34:[81, 47] Operation: 18+29=47
Moving to Node #0,3
Current State: 34:[24, 81, 35], Operations: ['53-18=35']
Exploring Operation: 35-24=11, Resulting Numbers: [81, 11]
Generated Node #0,3,0: 34:[81, 11] Operation: 35-24=11
Exploring Operation: 24+81=105, Resulting Numbers: [35, 105]
Generated Node #0,3,1: 34:[35, 105] Operation: 24+81=105
Exploring Operation: 81-35=46, Resulting Numbers: [24, 46]
Generated Node #0,3,2: 34:[24, 46] Operation: 81-35=46
Exploring Operation: 81-24=57, Resulting Numbers: [35, 57]
Generated Node #0,3,3: 34:[35, 57] Operation: 81-24=57
Moving to Node #0,1,1
Current State: 34:[18, 4], Operations: ['81-53=28', '28-24=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[18, 4], Operations: ['81-24=57', '57-53=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[28, 6], Operations: ['81-53=28', '24-18=6']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[18, 24, 53, 81], Operations: []
Exploring Operation: 81-53=28, Resulting Numbers: [18, 24, 28]
Generated Node #0,1: 34:[18, 24, 28] Operation: 81-53=28
Moving to Node #0,1
Current State: 34:[18, 24, 28], Operations: ['81-53=28']
Exploring Operation: 24-18=6, Resulting Numbers: [28, 6]
Generated Node #0,1,3: 34:[28, 6] Operation: 24-18=6
Moving to Node #0,1,3
Current State: 34:[28, 6], Operations: ['81-53=28', '24-18=6']
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.972222 | hs_4 | mult_heuristic |
[
39,
82,
69,
32
] | 96 | [
"39*32=1248",
"82-69=13",
"1248/13=96"
] | Current State: 96:[39, 82, 69, 32], Operations: []
Exploring Operation: 39*32=1248, Resulting Numbers: [82, 69, 1248]
Generated Node #2: [82, 69, 1248] from Operation: 39*32=1248
Current State: 96:[82, 69, 1248], Operations: ['39*32=1248']
Exploring Operation: 82-69=13, Resulting Numbers: [1248, 13]
Generated Node #3: [1248, 13] from Operation: 82-69=13
Current State: 96:[1248, 13], Operations: ['39*32=1248', '82-69=13']
Exploring Operation: 1248/13=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[39, 82, 69, 32], Operations: []
Exploring Operation: 69+32=101, Resulting Numbers: [39, 82, 101]
Generated Node #0,0: 96:[39, 82, 101] Operation: 69+32=101
Exploring Operation: 82-69=13, Resulting Numbers: [39, 32, 13]
Generated Node #0,1: 96:[39, 32, 13] Operation: 82-69=13
Exploring Operation: 39+69=108, Resulting Numbers: [82, 32, 108]
Generated Node #0,2: 96:[82, 32, 108] Operation: 39+69=108
Exploring Operation: 69-39=30, Resulting Numbers: [82, 32, 30]
Generated Node #0,3: 96:[82, 32, 30] Operation: 69-39=30
Exploring Operation: 82-39=43, Resulting Numbers: [69, 32, 43]
Generated Node #0,4: 96:[69, 32, 43] Operation: 82-39=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[39, 32, 13], Operations: ['82-69=13']
Exploring Operation: 39/13=3, Resulting Numbers: [32, 3]
Generated Node #0,1,0: 96:[32, 3] Operation: 39/13=3
Exploring Operation: 32+13=45, Resulting Numbers: [39, 45]
Generated Node #0,1,1: 96:[39, 45] Operation: 32+13=45
Exploring Operation: 39-32=7, Resulting Numbers: [13, 7]
Generated Node #0,1,2: 96:[13, 7] Operation: 39-32=7
Exploring Operation: 39+13=52, Resulting Numbers: [32, 52]
Generated Node #0,1,3: 96:[32, 52] Operation: 39+13=52
Exploring Operation: 39-13=26, Resulting Numbers: [32, 26]
Generated Node #0,1,4: 96:[32, 26] Operation: 39-13=26
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[32, 3], Operations: ['82-69=13', '39/13=3']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,96 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[39, 82, 69, 32], Operations: []
Exploring Operation: 82-69=13, Resulting Numbers: [39, 32, 13]
Generated Node #0,1: 96:[39, 32, 13] Operation: 82-69=13
Moving to Node #0,1
Current State: 96:[39, 32, 13], Operations: ['82-69=13']
Exploring Operation: 39/13=3, Resulting Numbers: [32, 3]
Generated Node #0,1,0: 96:[32, 3] Operation: 39/13=3
Moving to Node #0,1,0
Current State: 96:[32, 3], Operations: ['82-69=13', '39/13=3']
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
2,
17,
52,
52
] | 85 | [
"2+17=19",
"52+52=104",
"104-19=85"
] | Current State: 85:[2, 17, 52, 52], Operations: []
Exploring Operation: 2+17=19, Resulting Numbers: [52, 52, 19]
Generated Node #2: [52, 52, 19] from Operation: 2+17=19
Current State: 85:[52, 52, 19], Operations: ['2+17=19']
Exploring Operation: 52+52=104, Resulting Numbers: [19, 104]
Generated Node #3: [19, 104] from Operation: 52+52=104
Current State: 85:[19, 104], Operations: ['2+17=19', '52+52=104']
Exploring Operation: 104-19=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[2, 17, 52, 52], Operations: []
Exploring Operation: 52+52=104, Resulting Numbers: [2, 17, 104]
Generated Node #0,0: 85:[2, 17, 104] Operation: 52+52=104
Exploring Operation: 52/2=26, Resulting Numbers: [17, 52, 26]
Generated Node #0,1: 85:[17, 52, 26] Operation: 52/2=26
Exploring Operation: 52-52=0, Resulting Numbers: [2, 17, 0]
Generated Node #0,2: 85:[2, 17, 0] Operation: 52-52=0
Exploring Operation: 52/52=1, Resulting Numbers: [2, 17, 1]
Generated Node #0,3: 85:[2, 17, 1] Operation: 52/52=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[2, 17, 1], Operations: ['52/52=1']
Exploring Operation: 2*1=2, Resulting Numbers: [17, 2]
Generated Node #0,3,0: 85:[17, 2] Operation: 2*1=2
Exploring Operation: 2+1=3, Resulting Numbers: [17, 3]
Generated Node #0,3,1: 85:[17, 3] Operation: 2+1=3
Exploring Operation: 17*1=17, Resulting Numbers: [2, 17]
Generated Node #0,3,2: 85:[2, 17] Operation: 17*1=17
Exploring Operation: 2/1=2, Resulting Numbers: [17, 2]
Generated Node #0,3,3: 85:[17, 2] Operation: 2/1=2
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 85:[17, 3], Operations: ['52/52=1', '2+1=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 85:[17, 2], Operations: ['52/52=1', '2*1=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 85:[2, 17], Operations: ['52/52=1', '17*1=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 85:[17, 2], Operations: ['52/52=1', '2/1=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[2, 17, 0], Operations: ['52-52=0']
Exploring Operation: 17-0=17, Resulting Numbers: [2, 17]
Generated Node #0,2,0: 85:[2, 17] Operation: 17-0=17
Exploring Operation: 17+0=17, Resulting Numbers: [2, 17]
Generated Node #0,2,1: 85:[2, 17] Operation: 17+0=17
Exploring Operation: 2+0=2, Resulting Numbers: [17, 2]
Generated Node #0,2,2: 85:[17, 2] Operation: 2+0=2
Exploring Operation: 2-0=2, Resulting Numbers: [17, 2]
Generated Node #0,2,3: 85:[17, 2] Operation: 2-0=2
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 85:[2, 17], Operations: ['52-52=0', '17-0=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 85:[2, 17], Operations: ['52-52=0', '17+0=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 85:[17, 2], Operations: ['52-52=0', '2+0=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 85:[17, 2], Operations: ['52-52=0', '2-0=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[2, 17, 104], Operations: ['52+52=104']
Exploring Operation: 104-17=87, Resulting Numbers: [2, 87]
Generated Node #0,0,0: 85:[2, 87] Operation: 104-17=87
Exploring Operation: 17-2=15, Resulting Numbers: [104, 15]
Generated Node #0,0,1: 85:[104, 15] Operation: 17-2=15
Exploring Operation: 104-2=102, Resulting Numbers: [17, 102]
Generated Node #0,0,2: 85:[17, 102] Operation: 104-2=102
Exploring Operation: 2+17=19, Resulting Numbers: [104, 19]
Generated Node #0,0,3: 85:[104, 19] Operation: 2+17=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[2, 87], Operations: ['52+52=104', '104-17=87']
Exploring Operation: 2*87=174, Resulting Numbers: [174]
174,85 unequal: No Solution
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[2, 17, 52, 52], Operations: []
Exploring Operation: 52+52=104, Resulting Numbers: [2, 17, 104]
Generated Node #0,0: 85:[2, 17, 104] Operation: 52+52=104
Moving to Node #0,0
Current State: 85:[2, 17, 104], Operations: ['52+52=104']
Exploring Operation: 104-17=87, Resulting Numbers: [2, 87]
Generated Node #0,0,0: 85:[2, 87] Operation: 104-17=87
Moving to Node #0,0,0
Current State: 85:[2, 87], Operations: ['52+52=104', '104-17=87']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960069 | hs_4 | mult_heuristic |
[
77,
92,
80,
39
] | 25 | [
"80-77=3",
"39*3=117",
"117-92=25"
] | Current State: 25:[77, 92, 80, 39], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [92, 39, 3]
Generated Node #2: [92, 39, 3] from Operation: 80-77=3
Current State: 25:[92, 39, 3], Operations: ['80-77=3']
Exploring Operation: 39*3=117, Resulting Numbers: [92, 117]
Generated Node #3: [92, 117] from Operation: 39*3=117
Current State: 25:[92, 117], Operations: ['80-77=3', '39*3=117']
Exploring Operation: 117-92=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[77, 92, 80, 39], Operations: []
Exploring Operation: 92-77=15, Resulting Numbers: [80, 39, 15]
Generated Node #0,0: 25:[80, 39, 15] Operation: 92-77=15
Exploring Operation: 92-80=12, Resulting Numbers: [77, 39, 12]
Generated Node #0,1: 25:[77, 39, 12] Operation: 92-80=12
Moving to Node #0,1
Current State: 25:[77, 39, 12], Operations: ['92-80=12']
Exploring Operation: 77-12=65, Resulting Numbers: [39, 65]
Generated Node #0,1,0: 25:[39, 65] Operation: 77-12=65
Exploring Operation: 77-39=38, Resulting Numbers: [12, 38]
Generated Node #0,1,1: 25:[12, 38] Operation: 77-39=38
Moving to Node #0,0
Current State: 25:[80, 39, 15], Operations: ['92-77=15']
Exploring Operation: 80-39=41, Resulting Numbers: [15, 41]
Generated Node #0,0,0: 25:[15, 41] Operation: 80-39=41
Exploring Operation: 80-15=65, Resulting Numbers: [39, 65]
Generated Node #0,0,1: 25:[39, 65] Operation: 80-15=65
Moving to Node #0,1,1
Current State: 25:[12, 38], Operations: ['92-80=12', '77-39=38']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[15, 41], Operations: ['92-77=15', '80-39=41']
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[39, 65], Operations: ['92-80=12', '77-12=65']
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[39, 65], Operations: ['92-77=15', '80-15=65']
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,25 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
88,
19,
25,
27
] | 29 | [
"19+25=44",
"88/44=2",
"27+2=29"
] | Current State: 29:[88, 19, 25, 27], Operations: []
Exploring Operation: 19+25=44, Resulting Numbers: [88, 27, 44]
Generated Node #2: [88, 27, 44] from Operation: 19+25=44
Current State: 29:[88, 27, 44], Operations: ['19+25=44']
Exploring Operation: 88/44=2, Resulting Numbers: [27, 2]
Generated Node #3: [27, 2] from Operation: 88/44=2
Current State: 29:[27, 2], Operations: ['19+25=44', '88/44=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[88, 19, 25, 27], Operations: []
Exploring Operation: 88-19=69, Resulting Numbers: [25, 27, 69]
Generated Node #0,0: 29:[25, 27, 69] Operation: 88-19=69
Moving to Node #0,0
Current State: 29:[25, 27, 69], Operations: ['88-19=69']
Exploring Operation: 69-25=44, Resulting Numbers: [27, 44]
Generated Node #0,0,0: 29:[27, 44] Operation: 69-25=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[27, 44], Operations: ['88-19=69', '69-25=44']
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,29 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 |
[
56,
23,
83,
20
] | 96 | [
"56-23=33",
"83-20=63",
"33+63=96"
] | Current State: 96:[56, 23, 83, 20], Operations: []
Exploring Operation: 56-23=33, Resulting Numbers: [83, 20, 33]
Generated Node #2: [83, 20, 33] from Operation: 56-23=33
Current State: 96:[83, 20, 33], Operations: ['56-23=33']
Exploring Operation: 83-20=63, Resulting Numbers: [33, 63]
Generated Node #3: [33, 63] from Operation: 83-20=63
Current State: 96:[33, 63], Operations: ['56-23=33', '83-20=63']
Exploring Operation: 33+63=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[56, 23, 83, 20], Operations: []
Exploring Operation: 83+20=103, Resulting Numbers: [56, 23, 103]
Generated Node #0,0: 96:[56, 23, 103] Operation: 83+20=103
Exploring Operation: 56-23=33, Resulting Numbers: [83, 20, 33]
Generated Node #0,1: 96:[83, 20, 33] Operation: 56-23=33
Exploring Operation: 83-56=27, Resulting Numbers: [23, 20, 27]
Generated Node #0,2: 96:[23, 20, 27] Operation: 83-56=27
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[23, 20, 27], Operations: ['83-56=27']
Exploring Operation: 27-20=7, Resulting Numbers: [23, 7]
Generated Node #0,2,0: 96:[23, 7] Operation: 27-20=7
Exploring Operation: 20+27=47, Resulting Numbers: [23, 47]
Generated Node #0,2,1: 96:[23, 47] Operation: 20+27=47
Exploring Operation: 23-20=3, Resulting Numbers: [27, 3]
Generated Node #0,2,2: 96:[27, 3] Operation: 23-20=3
Moving to Node #0,2,0
Current State: 96:[23, 7], Operations: ['83-56=27', '27-20=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,96 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[23, 47], Operations: ['83-56=27', '20+27=47']
Exploring Operation: 23+47=70, Resulting Numbers: [70]
70,96 unequal: No Solution
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 23*47=1081, Resulting Numbers: [1081]
1081,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[27, 3], Operations: ['83-56=27', '23-20=3']
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 27/3=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
Current State: 96:[56, 23, 103], Operations: ['83+20=103']
Exploring Operation: 56-23=33, Resulting Numbers: [103, 33]
Generated Node #0,0,0: 96:[103, 33] Operation: 56-23=33
Exploring Operation: 56+23=79, Resulting Numbers: [103, 79]
Generated Node #0,0,1: 96:[103, 79] Operation: 56+23=79
Exploring Operation: 103-56=47, Resulting Numbers: [23, 47]
Generated Node #0,0,2: 96:[23, 47] Operation: 103-56=47
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 96:[23, 47], Operations: ['83+20=103', '103-56=47']
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 23+47=70, Resulting Numbers: [70]
70,96 unequal: No Solution
Exploring Operation: 23*47=1081, Resulting Numbers: [1081]
1081,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[103, 33], Operations: ['83+20=103', '56-23=33']
Exploring Operation: 103-33=70, Resulting Numbers: [70]
70,96 unequal: No Solution
Exploring Operation: 103*33=3399, Resulting Numbers: [3399]
3399,96 unequal: No Solution
Exploring Operation: 103+33=136, Resulting Numbers: [136]
136,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[103, 79], Operations: ['83+20=103', '56+23=79']
Exploring Operation: 103-79=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 103+79=182, Resulting Numbers: [182]
182,96 unequal: No Solution
Exploring Operation: 103*79=8137, Resulting Numbers: [8137]
8137,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[83, 20, 33], Operations: ['56-23=33']
Exploring Operation: 83+20=103, Resulting Numbers: [33, 103]
Generated Node #0,1,0: 96:[33, 103] Operation: 83+20=103
Exploring Operation: 33-20=13, Resulting Numbers: [83, 13]
Generated Node #0,1,1: 96:[83, 13] Operation: 33-20=13
Exploring Operation: 83-33=50, Resulting Numbers: [20, 50]
Generated Node #0,1,2: 96:[20, 50] Operation: 83-33=50
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 96:[20, 50], Operations: ['56-23=33', '83-33=50']
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,96 unequal: No Solution
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 20*50=1000, Resulting Numbers: [1000]
1000,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[33, 103], Operations: ['56-23=33', '83+20=103']
Exploring Operation: 33+103=136, Resulting Numbers: [136]
136,96 unequal: No Solution
Exploring Operation: 33*103=3399, Resulting Numbers: [3399]
3399,96 unequal: No Solution
Exploring Operation: 103-33=70, Resulting Numbers: [70]
70,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[83, 13], Operations: ['56-23=33', '33-20=13']
Exploring Operation: 83*13=1079, Resulting Numbers: [1079]
1079,96 unequal: No Solution
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[56, 23, 83, 20], Operations: []
Exploring Operation: 56-23=33, Resulting Numbers: [83, 20, 33]
Generated Node #0,1: 96:[83, 20, 33] Operation: 56-23=33
Moving to Node #0,1
Current State: 96:[83, 20, 33], Operations: ['56-23=33']
Exploring Operation: 33-20=13, Resulting Numbers: [83, 13]
Generated Node #0,1,1: 96:[83, 13] Operation: 33-20=13
Moving to Node #0,1,1
Current State: 96:[83, 13], Operations: ['56-23=33', '33-20=13']
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.963542 | hs_3 | mult_heuristic |
[
17,
39,
72,
56
] | 73 | [
"17+39=56",
"56/56=1",
"72+1=73"
] | Current State: 73:[17, 39, 72, 56], Operations: []
Exploring Operation: 17+39=56, Resulting Numbers: [72, 56, 56]
Generated Node #2: [72, 56, 56] from Operation: 17+39=56
Current State: 73:[72, 56, 56], Operations: ['17+39=56']
Exploring Operation: 56/56=1, Resulting Numbers: [72, 1]
Generated Node #3: [72, 1] from Operation: 56/56=1
Current State: 73:[72, 1], Operations: ['17+39=56', '56/56=1']
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[17, 39, 72, 56], Operations: []
Exploring Operation: 17+39=56, Resulting Numbers: [72, 56, 56]
Generated Node #0,0: 73:[72, 56, 56] Operation: 17+39=56
Exploring Operation: 17+56=73, Resulting Numbers: [39, 72, 73]
Generated Node #0,1: 73:[39, 72, 73] Operation: 17+56=73
Moving to Node #0,0
Current State: 73:[72, 56, 56], Operations: ['17+39=56']
Exploring Operation: 72+56=128, Resulting Numbers: [56, 128]
Generated Node #0,0,0: 73:[56, 128] Operation: 72+56=128
Exploring Operation: 56+56=112, Resulting Numbers: [72, 112]
Generated Node #0,0,1: 73:[72, 112] Operation: 56+56=112
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[72, 112], Operations: ['17+39=56', '56+56=112']
Exploring Operation: 72+112=184, Resulting Numbers: [184]
184,73 unequal: No Solution
Exploring Operation: 112-72=40, Resulting Numbers: [40]
40,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:[56, 128], Operations: ['17+39=56', '72+56=128']
Exploring Operation: 128-56=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 56+128=184, Resulting Numbers: [184]
184,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:[39, 72, 73], Operations: ['17+56=73']
Exploring Operation: 72-39=33, Resulting Numbers: [73, 33]
Generated Node #0,1,0: 73:[73, 33] Operation: 72-39=33
Exploring Operation: 39+72=111, Resulting Numbers: [73, 111]
Generated Node #0,1,1: 73:[73, 111] Operation: 39+72=111
Moving to Node #0,1,1
Current State: 73:[73, 111], Operations: ['17+56=73', '39+72=111']
Exploring Operation: 111-73=38, Resulting Numbers: [38]
38,73 unequal: No Solution
Exploring Operation: 73+111=184, Resulting Numbers: [184]
184,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[73, 33], Operations: ['17+56=73', '72-39=33']
Exploring Operation: 73+33=106, Resulting Numbers: [106]
106,73 unequal: No Solution
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,73 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
3,
27,
52,
63
] | 91 | [
"27-3=24",
"52+63=115",
"115-24=91"
] | Current State: 91:[3, 27, 52, 63], Operations: []
Exploring Operation: 27-3=24, Resulting Numbers: [52, 63, 24]
Generated Node #2: [52, 63, 24] from Operation: 27-3=24
Current State: 91:[52, 63, 24], Operations: ['27-3=24']
Exploring Operation: 52+63=115, Resulting Numbers: [24, 115]
Generated Node #3: [24, 115] from Operation: 52+63=115
Current State: 91:[24, 115], Operations: ['27-3=24', '52+63=115']
Exploring Operation: 115-24=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[3, 27, 52, 63], Operations: []
Exploring Operation: 52-27=25, Resulting Numbers: [3, 63, 25]
Generated Node #0,0: 91:[3, 63, 25] Operation: 52-27=25
Exploring Operation: 63-52=11, Resulting Numbers: [3, 27, 11]
Generated Node #0,1: 91:[3, 27, 11] Operation: 63-52=11
Exploring Operation: 27+63=90, Resulting Numbers: [3, 52, 90]
Generated Node #0,2: 91:[3, 52, 90] Operation: 27+63=90
Exploring Operation: 27+52=79, Resulting Numbers: [3, 63, 79]
Generated Node #0,3: 91:[3, 63, 79] Operation: 27+52=79
Exploring Operation: 52+63=115, Resulting Numbers: [3, 27, 115]
Generated Node #0,4: 91:[3, 27, 115] Operation: 52+63=115
Moving to Node #0,1
Current State: 91:[3, 27, 11], Operations: ['63-52=11']
Exploring Operation: 27-3=24, Resulting Numbers: [11, 24]
Generated Node #0,1,0: 91:[11, 24] Operation: 27-3=24
Exploring Operation: 27-11=16, Resulting Numbers: [3, 16]
Generated Node #0,1,1: 91:[3, 16] Operation: 27-11=16
Exploring Operation: 27/3=9, Resulting Numbers: [11, 9]
Generated Node #0,1,2: 91:[11, 9] Operation: 27/3=9
Exploring Operation: 3*27=81, Resulting Numbers: [11, 81]
Generated Node #0,1,3: 91:[11, 81] Operation: 3*27=81
Exploring Operation: 3+11=14, Resulting Numbers: [27, 14]
Generated Node #0,1,4: 91:[27, 14] Operation: 3+11=14
Moving to Node #0,4
Current State: 91:[3, 27, 115], Operations: ['52+63=115']
Exploring Operation: 27/3=9, Resulting Numbers: [115, 9]
Generated Node #0,4,0: 91:[115, 9] Operation: 27/3=9
Exploring Operation: 115-3=112, Resulting Numbers: [27, 112]
Generated Node #0,4,1: 91:[27, 112] Operation: 115-3=112
Exploring Operation: 3*27=81, Resulting Numbers: [115, 81]
Generated Node #0,4,2: 91:[115, 81] Operation: 3*27=81
Exploring Operation: 115-27=88, Resulting Numbers: [3, 88]
Generated Node #0,4,3: 91:[3, 88] Operation: 115-27=88
Exploring Operation: 27-3=24, Resulting Numbers: [115, 24]
Generated Node #0,4,4: 91:[115, 24] Operation: 27-3=24
Moving to Node #0,0
Current State: 91:[3, 63, 25], Operations: ['52-27=25']
Exploring Operation: 63/3=21, Resulting Numbers: [25, 21]
Generated Node #0,0,0: 91:[25, 21] Operation: 63/3=21
Exploring Operation: 63-25=38, Resulting Numbers: [3, 38]
Generated Node #0,0,1: 91:[3, 38] Operation: 63-25=38
Exploring Operation: 63+25=88, Resulting Numbers: [3, 88]
Generated Node #0,0,2: 91:[3, 88] Operation: 63+25=88
Exploring Operation: 3+63=66, Resulting Numbers: [25, 66]
Generated Node #0,0,3: 91:[25, 66] Operation: 3+63=66
Exploring Operation: 25-3=22, Resulting Numbers: [63, 22]
Generated Node #0,0,4: 91:[63, 22] Operation: 25-3=22
Moving to Node #0,2
Current State: 91:[3, 52, 90], Operations: ['27+63=90']
Exploring Operation: 52-3=49, Resulting Numbers: [90, 49]
Generated Node #0,2,0: 91:[90, 49] Operation: 52-3=49
Exploring Operation: 3+52=55, Resulting Numbers: [90, 55]
Generated Node #0,2,1: 91:[90, 55] Operation: 3+52=55
Exploring Operation: 90-3=87, Resulting Numbers: [52, 87]
Generated Node #0,2,2: 91:[52, 87] Operation: 90-3=87
Exploring Operation: 3+90=93, Resulting Numbers: [52, 93]
Generated Node #0,2,3: 91:[52, 93] Operation: 3+90=93
Exploring Operation: 90-52=38, Resulting Numbers: [3, 38]
Generated Node #0,2,4: 91:[3, 38] Operation: 90-52=38
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 91:[3, 38], Operations: ['27+63=90', '90-52=38']
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,91 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,91 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[90, 49], Operations: ['27+63=90', '52-3=49']
Exploring Operation: 90*49=4410, Resulting Numbers: [4410]
4410,91 unequal: No Solution
Exploring Operation: 90-49=41, Resulting Numbers: [41]
41,91 unequal: No Solution
Exploring Operation: 90+49=139, Resulting Numbers: [139]
139,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[90, 55], Operations: ['27+63=90', '3+52=55']
Exploring Operation: 90+55=145, Resulting Numbers: [145]
145,91 unequal: No Solution
Exploring Operation: 90*55=4950, Resulting Numbers: [4950]
4950,91 unequal: No Solution
Exploring Operation: 90-55=35, Resulting Numbers: [35]
35,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[52, 93], Operations: ['27+63=90', '3+90=93']
Exploring Operation: 52*93=4836, Resulting Numbers: [4836]
4836,91 unequal: No Solution
Exploring Operation: 93-52=41, Resulting Numbers: [41]
41,91 unequal: No Solution
Exploring Operation: 52+93=145, Resulting Numbers: [145]
145,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[52, 87], Operations: ['27+63=90', '90-3=87']
Exploring Operation: 87-52=35, Resulting Numbers: [35]
35,91 unequal: No Solution
Exploring Operation: 52+87=139, Resulting Numbers: [139]
139,91 unequal: No Solution
Exploring Operation: 52*87=4524, Resulting Numbers: [4524]
4524,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 91:[3, 63, 79], Operations: ['27+52=79']
Exploring Operation: 79-63=16, Resulting Numbers: [3, 16]
Generated Node #0,3,0: 91:[3, 16] Operation: 79-63=16
Exploring Operation: 3+79=82, Resulting Numbers: [63, 82]
Generated Node #0,3,1: 91:[63, 82] Operation: 3+79=82
Exploring Operation: 63-3=60, Resulting Numbers: [79, 60]
Generated Node #0,3,2: 91:[79, 60] Operation: 63-3=60
Exploring Operation: 63/3=21, Resulting Numbers: [79, 21]
Generated Node #0,3,3: 91:[79, 21] Operation: 63/3=21
Exploring Operation: 3+63=66, Resulting Numbers: [79, 66]
Generated Node #0,3,4: 91:[79, 66] Operation: 3+63=66
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 91:[3, 16], Operations: ['27+52=79', '79-63=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,91 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,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,3,3
Current State: 91:[79, 21], Operations: ['27+52=79', '63/3=21']
Exploring Operation: 79+21=100, Resulting Numbers: [100]
100,91 unequal: No Solution
Exploring Operation: 79*21=1659, Resulting Numbers: [1659]
1659,91 unequal: No Solution
Exploring Operation: 79-21=58, Resulting Numbers: [58]
58,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,3,1
Current State: 91:[63, 82], Operations: ['27+52=79', '3+79=82']
Exploring Operation: 82-63=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 63*82=5166, Resulting Numbers: [5166]
5166,91 unequal: No Solution
Exploring Operation: 63+82=145, Resulting Numbers: [145]
145,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,3,4
Current State: 91:[79, 66], Operations: ['27+52=79', '3+63=66']
Exploring Operation: 79*66=5214, Resulting Numbers: [5214]
5214,91 unequal: No Solution
Exploring Operation: 79+66=145, Resulting Numbers: [145]
145,91 unequal: No Solution
Exploring Operation: 79-66=13, Resulting Numbers: [13]
13,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,3,2
Current State: 91:[79, 60], Operations: ['27+52=79', '63-3=60']
Exploring Operation: 79-60=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 79+60=139, Resulting Numbers: [139]
139,91 unequal: No Solution
Exploring Operation: 79*60=4740, Resulting Numbers: [4740]
4740,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 91:[11, 9], Operations: ['63-52=11', '27/3=9']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,91 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Moving to Node #0,4,3
Current State: 91:[3, 88], Operations: ['52+63=115', '115-27=88']
Exploring Operation: 3*88=264, Resulting Numbers: [264]
264,91 unequal: No Solution
Exploring Operation: 3+88=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[3, 27, 52, 63], Operations: []
Exploring Operation: 52+63=115, Resulting Numbers: [3, 27, 115]
Generated Node #0,4: 91:[3, 27, 115] Operation: 52+63=115
Moving to Node #0,4
Current State: 91:[3, 27, 115], Operations: ['52+63=115']
Exploring Operation: 115-27=88, Resulting Numbers: [3, 88]
Generated Node #0,4,3: 91:[3, 88] Operation: 115-27=88
Moving to Node #0,4,3
Current State: 91:[3, 88], Operations: ['52+63=115', '115-27=88']
Exploring Operation: 3+88=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 0.940104 | hs_5 | sum_heuristic |
[
69,
45,
99,
54
] | 44 | [
"69-45=24",
"99*24=2376",
"2376/54=44"
] | Current State: 44:[69, 45, 99, 54], Operations: []
Exploring Operation: 69-45=24, Resulting Numbers: [99, 54, 24]
Generated Node #2: [99, 54, 24] from Operation: 69-45=24
Current State: 44:[99, 54, 24], Operations: ['69-45=24']
Exploring Operation: 99*24=2376, Resulting Numbers: [54, 2376]
Generated Node #3: [54, 2376] from Operation: 99*24=2376
Current State: 44:[54, 2376], Operations: ['69-45=24', '99*24=2376']
Exploring Operation: 2376/54=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[69, 45, 99, 54], Operations: []
Exploring Operation: 99-69=30, Resulting Numbers: [45, 54, 30]
Generated Node #0,0: 44:[45, 54, 30] Operation: 99-69=30
Exploring Operation: 99-54=45, Resulting Numbers: [69, 45, 45]
Generated Node #0,1: 44:[69, 45, 45] Operation: 99-54=45
Exploring Operation: 99-45=54, Resulting Numbers: [69, 54, 54]
Generated Node #0,2: 44:[69, 54, 54] Operation: 99-45=54
Exploring Operation: 69-54=15, Resulting Numbers: [45, 99, 15]
Generated Node #0,3: 44:[45, 99, 15] Operation: 69-54=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[45, 54, 30], Operations: ['99-69=30']
Exploring Operation: 45-30=15, Resulting Numbers: [54, 15]
Generated Node #0,0,0: 44:[54, 15] Operation: 45-30=15
Exploring Operation: 54-30=24, Resulting Numbers: [45, 24]
Generated Node #0,0,1: 44:[45, 24] Operation: 54-30=24
Exploring Operation: 54-45=9, Resulting Numbers: [30, 9]
Generated Node #0,0,2: 44:[30, 9] Operation: 54-45=9
Exploring Operation: 45+30=75, Resulting Numbers: [54, 75]
Generated Node #0,0,3: 44:[54, 75] Operation: 45+30=75
Moving to Node #0,0,1
Current State: 44:[45, 24], Operations: ['99-69=30', '54-30=24']
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,44 unequal: No Solution
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,44 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[30, 9], Operations: ['99-69=30', '54-45=9']
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,44 unequal: No Solution
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,44 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[54, 15], Operations: ['99-69=30', '45-30=15']
Exploring Operation: 54+15=69, Resulting Numbers: [69]
69,44 unequal: No Solution
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,44 unequal: No Solution
Exploring Operation: 54*15=810, Resulting Numbers: [810]
810,44 unequal: No Solution
Moving to Node #0,0,3
Current State: 44:[54, 75], Operations: ['99-69=30', '45+30=75']
Exploring Operation: 54*75=4050, Resulting Numbers: [4050]
4050,44 unequal: No Solution
Exploring Operation: 75-54=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Exploring Operation: 54+75=129, Resulting Numbers: [129]
129,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:[69, 45, 45], Operations: ['99-54=45']
Exploring Operation: 45/45=1, Resulting Numbers: [69, 1]
Generated Node #0,1,0: 44:[69, 1] Operation: 45/45=1
Exploring Operation: 69-45=24, Resulting Numbers: [45, 24]
Generated Node #0,1,1: 44:[45, 24] Operation: 69-45=24
Exploring Operation: 45-45=0, Resulting Numbers: [69, 0]
Generated Node #0,1,2: 44:[69, 0] Operation: 45-45=0
Exploring Operation: 69-45=24, Resulting Numbers: [45, 24]
Generated Node #0,1,3: 44:[45, 24] Operation: 69-45=24
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[45, 24], Operations: ['99-54=45', '69-45=24']
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,44 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 44:[45, 24], Operations: ['99-54=45', '69-45=24']
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,44 unequal: No Solution
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,44 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[69, 1], Operations: ['99-54=45', '45/45=1']
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,44 unequal: No Solution
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,44 unequal: No Solution
Exploring Operation: 69+1=70, Resulting Numbers: [70]
70,44 unequal: No Solution
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 44:[69, 0], Operations: ['99-54=45', '45-45=0']
Exploring Operation: 69*0=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 69+0=69, Resulting Numbers: [69]
69,44 unequal: No Solution
Exploring Operation: 69-0=69, Resulting Numbers: [69]
69,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[69, 54, 54], Operations: ['99-45=54']
Exploring Operation: 69-54=15, Resulting Numbers: [54, 15]
Generated Node #0,2,0: 44:[54, 15] Operation: 69-54=15
Exploring Operation: 54/54=1, Resulting Numbers: [69, 1]
Generated Node #0,2,1: 44:[69, 1] Operation: 54/54=1
Exploring Operation: 54-54=0, Resulting Numbers: [69, 0]
Generated Node #0,2,2: 44:[69, 0] Operation: 54-54=0
Exploring Operation: 69-54=15, Resulting Numbers: [54, 15]
Generated Node #0,2,3: 44:[54, 15] Operation: 69-54=15
Moving to Node #0,2,0
Current State: 44:[54, 15], Operations: ['99-45=54', '69-54=15']
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,44 unequal: No Solution
Exploring Operation: 54+15=69, Resulting Numbers: [69]
69,44 unequal: No Solution
Exploring Operation: 54*15=810, Resulting Numbers: [810]
810,44 unequal: No Solution
Moving to Node #0,2,3
Current State: 44:[54, 15], Operations: ['99-45=54', '69-54=15']
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,44 unequal: No Solution
Exploring Operation: 54*15=810, Resulting Numbers: [810]
810,44 unequal: No Solution
Exploring Operation: 54+15=69, Resulting Numbers: [69]
69,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[69, 1], Operations: ['99-45=54', '54/54=1']
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,44 unequal: No Solution
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,44 unequal: No Solution
Exploring Operation: 69+1=70, Resulting Numbers: [70]
70,44 unequal: No Solution
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[69, 0], Operations: ['99-45=54', '54-54=0']
Exploring Operation: 69-0=69, Resulting Numbers: [69]
69,44 unequal: No Solution
Exploring Operation: 69*0=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 69+0=69, Resulting Numbers: [69]
69,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,3
Current State: 44:[45, 99, 15], Operations: ['69-54=15']
Exploring Operation: 99-45=54, Resulting Numbers: [15, 54]
Generated Node #0,3,0: 44:[15, 54] Operation: 99-45=54
Exploring Operation: 45-15=30, Resulting Numbers: [99, 30]
Generated Node #0,3,1: 44:[99, 30] Operation: 45-15=30
Exploring Operation: 45/15=3, Resulting Numbers: [99, 3]
Generated Node #0,3,2: 44:[99, 3] Operation: 45/15=3
Exploring Operation: 99-15=84, Resulting Numbers: [45, 84]
Generated Node #0,3,3: 44:[45, 84] Operation: 99-15=84
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 44:[15, 54], Operations: ['69-54=15', '99-45=54']
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,44 unequal: No Solution
Exploring Operation: 15*54=810, Resulting Numbers: [810]
810,44 unequal: No Solution
Exploring Operation: 15+54=69, Resulting Numbers: [69]
69,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,3,3
Current State: 44:[45, 84], Operations: ['69-54=15', '99-15=84']
Exploring Operation: 45*84=3780, Resulting Numbers: [3780]
3780,44 unequal: No Solution
Exploring Operation: 45+84=129, Resulting Numbers: [129]
129,44 unequal: No Solution
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,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,3,2
Current State: 44:[99, 3], Operations: ['69-54=15', '45/15=3']
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,44 unequal: No Solution
Exploring Operation: 99/3=33, Resulting Numbers: [33]
33,44 unequal: No Solution
Exploring Operation: 99+3=102, Resulting Numbers: [102]
102,44 unequal: No Solution
Exploring Operation: 99*3=297, Resulting Numbers: [297]
297,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,3,1
Current State: 44:[99, 30], Operations: ['69-54=15', '45-15=30']
Exploring Operation: 99*30=2970, Resulting Numbers: [2970]
2970,44 unequal: No Solution
Exploring Operation: 99-30=69, Resulting Numbers: [69]
69,44 unequal: No Solution
Exploring Operation: 99+30=129, Resulting Numbers: [129]
129,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_4 | mult_heuristic |
[
32,
77,
96,
5
] | 87 | [
"77-32=45",
"45/5=9",
"96-9=87"
] | Current State: 87:[32, 77, 96, 5], Operations: []
Exploring Operation: 77-32=45, Resulting Numbers: [96, 5, 45]
Generated Node #2: [96, 5, 45] from Operation: 77-32=45
Current State: 87:[96, 5, 45], Operations: ['77-32=45']
Exploring Operation: 45/5=9, Resulting Numbers: [96, 9]
Generated Node #3: [96, 9] from Operation: 45/5=9
Current State: 87:[96, 9], Operations: ['77-32=45', '45/5=9']
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[32, 77, 96, 5], Operations: []
Exploring Operation: 96/32=3, Resulting Numbers: [77, 5, 3]
Generated Node #0,0: 87:[77, 5, 3] Operation: 96/32=3
Exploring Operation: 96-77=19, Resulting Numbers: [32, 5, 19]
Generated Node #0,1: 87:[32, 5, 19] Operation: 96-77=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[77, 5, 3], Operations: ['96/32=3']
Exploring Operation: 77+5=82, Resulting Numbers: [3, 82]
Generated Node #0,0,0: 87:[3, 82] Operation: 77+5=82
Exploring Operation: 77+3=80, Resulting Numbers: [5, 80]
Generated Node #0,0,1: 87:[5, 80] Operation: 77+3=80
Moving to Node #0,0,0
Current State: 87:[3, 82], Operations: ['96/32=3', '77+5=82']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,87 unequal: No Solution
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[5, 80], Operations: ['96/32=3', '77+3=80']
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,87 unequal: No Solution
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,87 unequal: No Solution
No solution 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: 87:[32, 5, 19], Operations: ['96-77=19']
Exploring Operation: 5+19=24, Resulting Numbers: [32, 24]
Generated Node #0,1,0: 87:[32, 24] Operation: 5+19=24
Exploring Operation: 5*19=95, Resulting Numbers: [32, 95]
Generated Node #0,1,1: 87:[32, 95] Operation: 5*19=95
Moving to Node #0,1,0
Current State: 87:[32, 24], Operations: ['96-77=19', '5+19=24']
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,87 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[32, 95], Operations: ['96-77=19', '5*19=95']
Exploring Operation: 95-32=63, Resulting Numbers: [63]
63,87 unequal: No Solution
Exploring Operation: 32+95=127, Resulting Numbers: [127]
127,87 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 |
[
94,
18,
17,
63
] | 31 | [
"94-63=31",
"18-17=1",
"31*1=31"
] | Current State: 31:[94, 18, 17, 63], Operations: []
Exploring Operation: 94-63=31, Resulting Numbers: [18, 17, 31]
Generated Node #2: [18, 17, 31] from Operation: 94-63=31
Current State: 31:[18, 17, 31], Operations: ['94-63=31']
Exploring Operation: 18-17=1, Resulting Numbers: [31, 1]
Generated Node #3: [31, 1] from Operation: 18-17=1
Current State: 31:[31, 1], Operations: ['94-63=31', '18-17=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[94, 18, 17, 63], Operations: []
Exploring Operation: 94-63=31, Resulting Numbers: [18, 17, 31]
Generated Node #0,0: 31:[18, 17, 31] Operation: 94-63=31
Exploring Operation: 94-18=76, Resulting Numbers: [17, 63, 76]
Generated Node #0,1: 31:[17, 63, 76] Operation: 94-18=76
Exploring Operation: 94-17=77, Resulting Numbers: [18, 63, 77]
Generated Node #0,2: 31:[18, 63, 77] Operation: 94-17=77
Exploring Operation: 63-18=45, Resulting Numbers: [94, 17, 45]
Generated Node #0,3: 31:[94, 17, 45] Operation: 63-18=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[18, 17, 31], Operations: ['94-63=31']
Exploring Operation: 17+31=48, Resulting Numbers: [18, 48]
Generated Node #0,0,0: 31:[18, 48] Operation: 17+31=48
Exploring Operation: 18-17=1, Resulting Numbers: [31, 1]
Generated Node #0,0,1: 31:[31, 1] Operation: 18-17=1
Exploring Operation: 18+17=35, Resulting Numbers: [31, 35]
Generated Node #0,0,2: 31:[31, 35] Operation: 18+17=35
Exploring Operation: 31-17=14, Resulting Numbers: [18, 14]
Generated Node #0,0,3: 31:[18, 14] Operation: 31-17=14
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 31:[31, 35], Operations: ['94-63=31', '18+17=35']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 31+35=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 31*35=1085, Resulting Numbers: [1085]
1085,31 unequal: No Solution
No 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: 31:[18, 48], Operations: ['94-63=31', '17+31=48']
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 18+48=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 18*48=864, Resulting Numbers: [864]
864,31 unequal: No Solution
No 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: 31:[31, 1], Operations: ['94-63=31', '18-17=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[94, 18, 17, 63], Operations: []
Exploring Operation: 94-63=31, Resulting Numbers: [18, 17, 31]
Generated Node #0,0: 31:[18, 17, 31] Operation: 94-63=31
Moving to Node #0,0
Current State: 31:[18, 17, 31], Operations: ['94-63=31']
Exploring Operation: 18-17=1, Resulting Numbers: [31, 1]
Generated Node #0,0,1: 31:[31, 1] Operation: 18-17=1
Moving to Node #0,0,1
Current State: 31:[31, 1], Operations: ['94-63=31', '18-17=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
54,
60,
7,
42
] | 21 | [
"54*7=378",
"60-42=18",
"378/18=21"
] | Current State: 21:[54, 60, 7, 42], Operations: []
Exploring Operation: 54*7=378, Resulting Numbers: [60, 42, 378]
Generated Node #2: [60, 42, 378] from Operation: 54*7=378
Current State: 21:[60, 42, 378], Operations: ['54*7=378']
Exploring Operation: 60-42=18, Resulting Numbers: [378, 18]
Generated Node #3: [378, 18] from Operation: 60-42=18
Current State: 21:[378, 18], Operations: ['54*7=378', '60-42=18']
Exploring Operation: 378/18=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[54, 60, 7, 42], Operations: []
Exploring Operation: 42/7=6, Resulting Numbers: [54, 60, 6]
Generated Node #0,0: 21:[54, 60, 6] Operation: 42/7=6
Exploring Operation: 60-54=6, Resulting Numbers: [7, 42, 6]
Generated Node #0,1: 21:[7, 42, 6] Operation: 60-54=6
Exploring Operation: 60-42=18, Resulting Numbers: [54, 7, 18]
Generated Node #0,2: 21:[54, 7, 18] Operation: 60-42=18
Exploring Operation: 54-7=47, Resulting Numbers: [60, 42, 47]
Generated Node #0,3: 21:[60, 42, 47] Operation: 54-7=47
Exploring Operation: 54-42=12, Resulting Numbers: [60, 7, 12]
Generated Node #0,4: 21:[60, 7, 12] Operation: 54-42=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[7, 42, 6], Operations: ['60-54=6']
Exploring Operation: 7-6=1, Resulting Numbers: [42, 1]
Generated Node #0,1,0: 21:[42, 1] Operation: 7-6=1
Exploring Operation: 42/6=7, Resulting Numbers: [7, 7]
Generated Node #0,1,1: 21:[7, 7] Operation: 42/6=7
Exploring Operation: 42-6=36, Resulting Numbers: [7, 36]
Generated Node #0,1,2: 21:[7, 36] Operation: 42-6=36
Exploring Operation: 42-7=35, Resulting Numbers: [6, 35]
Generated Node #0,1,3: 21:[6, 35] Operation: 42-7=35
Exploring Operation: 42/7=6, Resulting Numbers: [6, 6]
Generated Node #0,1,4: 21:[6, 6] Operation: 42/7=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[7, 7], Operations: ['60-54=6', '42/6=7']
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,21 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,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,4
Current State: 21:[6, 6], Operations: ['60-54=6', '42/7=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,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:[7, 36], Operations: ['60-54=6', '42-6=36']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 21:[6, 35], Operations: ['60-54=6', '42-7=35']
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,21 unequal: No Solution
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,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:[42, 1], Operations: ['60-54=6', '7-6=1']
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,21 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,21 unequal: No Solution
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,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:[54, 7, 18], Operations: ['60-42=18']
Exploring Operation: 7+18=25, Resulting Numbers: [54, 25]
Generated Node #0,2,0: 21:[54, 25] Operation: 7+18=25
Exploring Operation: 54-18=36, Resulting Numbers: [7, 36]
Generated Node #0,2,1: 21:[7, 36] Operation: 54-18=36
Exploring Operation: 54/18=3, Resulting Numbers: [7, 3]
Generated Node #0,2,2: 21:[7, 3] Operation: 54/18=3
Exploring Operation: 54-7=47, Resulting Numbers: [18, 47]
Generated Node #0,2,3: 21:[18, 47] Operation: 54-7=47
Exploring Operation: 18-7=11, Resulting Numbers: [54, 11]
Generated Node #0,2,4: 21:[54, 11] Operation: 18-7=11
Moving to Node #0,2,2
Current State: 21:[7, 3], Operations: ['60-42=18', '54/18=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[54, 60, 7, 42], Operations: []
Exploring Operation: 60-42=18, Resulting Numbers: [54, 7, 18]
Generated Node #0,2: 21:[54, 7, 18] Operation: 60-42=18
Moving to Node #0,2
Current State: 21:[54, 7, 18], Operations: ['60-42=18']
Exploring Operation: 54/18=3, Resulting Numbers: [7, 3]
Generated Node #0,2,2: 21:[7, 3] Operation: 54/18=3
Moving to Node #0,2,2
Current State: 21:[7, 3], Operations: ['60-42=18', '54/18=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | sum_heuristic |
[
67,
13,
65,
78
] | 56 | [
"67*65=4355",
"13+4355=4368",
"4368/78=56"
] | Current State: 56:[67, 13, 65, 78], Operations: []
Exploring Operation: 67*65=4355, Resulting Numbers: [13, 78, 4355]
Generated Node #2: [13, 78, 4355] from Operation: 67*65=4355
Current State: 56:[13, 78, 4355], Operations: ['67*65=4355']
Exploring Operation: 13+4355=4368, Resulting Numbers: [78, 4368]
Generated Node #3: [78, 4368] from Operation: 13+4355=4368
Current State: 56:[78, 4368], Operations: ['67*65=4355', '13+4355=4368']
Exploring Operation: 4368/78=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[67, 13, 65, 78], Operations: []
Exploring Operation: 78-65=13, Resulting Numbers: [67, 13, 13]
Generated Node #0,0: 56:[67, 13, 13] Operation: 78-65=13
Exploring Operation: 78-67=11, Resulting Numbers: [13, 65, 11]
Generated Node #0,1: 56:[13, 65, 11] Operation: 78-67=11
Exploring Operation: 78/13=6, Resulting Numbers: [67, 65, 6]
Generated Node #0,2: 56:[67, 65, 6] Operation: 78/13=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[67, 13, 13], Operations: ['78-65=13']
Exploring Operation: 67-13=54, Resulting Numbers: [13, 54]
Generated Node #0,0,0: 56:[13, 54] Operation: 67-13=54
Exploring Operation: 13/13=1, Resulting Numbers: [67, 1]
Generated Node #0,0,1: 56:[67, 1] Operation: 13/13=1
Exploring Operation: 67-13=54, Resulting Numbers: [13, 54]
Generated Node #0,0,2: 56:[13, 54] Operation: 67-13=54
Moving to Node #0,0,0
Current State: 56:[13, 54], Operations: ['78-65=13', '67-13=54']
Exploring Operation: 13*54=702, Resulting Numbers: [702]
702,56 unequal: No Solution
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,56 unequal: No Solution
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[13, 54], Operations: ['78-65=13', '67-13=54']
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,56 unequal: No Solution
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,56 unequal: No Solution
Exploring Operation: 13*54=702, Resulting Numbers: [702]
702,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[67, 1], Operations: ['78-65=13', '13/13=1']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,56 unequal: No Solution
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,56 unequal: No Solution
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,56 unequal: No Solution
No solution 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: 56:[13, 65, 11], Operations: ['78-67=11']
Exploring Operation: 65/13=5, Resulting Numbers: [11, 5]
Generated Node #0,1,0: 56:[11, 5] Operation: 65/13=5
Exploring Operation: 65-13=52, Resulting Numbers: [11, 52]
Generated Node #0,1,1: 56:[11, 52] Operation: 65-13=52
Exploring Operation: 65-11=54, Resulting Numbers: [13, 54]
Generated Node #0,1,2: 56:[13, 54] Operation: 65-11=54
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 56:[13, 54], Operations: ['78-67=11', '65-11=54']
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,56 unequal: No Solution
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,56 unequal: No Solution
Exploring Operation: 13*54=702, Resulting Numbers: [702]
702,56 unequal: No Solution
No 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: 56:[11, 5], Operations: ['78-67=11', '65/13=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,56 unequal: No Solution
No 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: 56:[11, 52], Operations: ['78-67=11', '65-13=52']
Exploring Operation: 11+52=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,56 unequal: No Solution
Exploring Operation: 11*52=572, Resulting Numbers: [572]
572,56 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: 56:[67, 65, 6], Operations: ['78/13=6']
Exploring Operation: 67-65=2, Resulting Numbers: [6, 2]
Generated Node #0,2,0: 56:[6, 2] Operation: 67-65=2
Exploring Operation: 67-6=61, Resulting Numbers: [65, 61]
Generated Node #0,2,1: 56:[65, 61] Operation: 67-6=61
Exploring Operation: 65-6=59, Resulting Numbers: [67, 59]
Generated Node #0,2,2: 56:[67, 59] Operation: 65-6=59
Moving to Node #0,2,0
Current State: 56:[6, 2], Operations: ['78/13=6', '67-65=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Moving to Node #0,2,1
Current State: 56:[65, 61], Operations: ['78/13=6', '67-6=61']
Exploring Operation: 65+61=126, Resulting Numbers: [126]
126,56 unequal: No Solution
Exploring Operation: 65-61=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 65*61=3965, Resulting Numbers: [3965]
3965,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[67, 59], Operations: ['78/13=6', '65-6=59']
Exploring Operation: 67-59=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 67*59=3953, Resulting Numbers: [3953]
3953,56 unequal: No Solution
Exploring Operation: 67+59=126, Resulting Numbers: [126]
126,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
45,
84,
23,
17
] | 31 | [
"23-17=6",
"84/6=14",
"45-14=31"
] | Current State: 31:[45, 84, 23, 17], Operations: []
Exploring Operation: 23-17=6, Resulting Numbers: [45, 84, 6]
Generated Node #2: [45, 84, 6] from Operation: 23-17=6
Current State: 31:[45, 84, 6], Operations: ['23-17=6']
Exploring Operation: 84/6=14, Resulting Numbers: [45, 14]
Generated Node #3: [45, 14] from Operation: 84/6=14
Current State: 31:[45, 14], Operations: ['23-17=6', '84/6=14']
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[45, 84, 23, 17], Operations: []
Exploring Operation: 84-45=39, Resulting Numbers: [23, 17, 39]
Generated Node #0,0: 31:[23, 17, 39] Operation: 84-45=39
Exploring Operation: 84-23=61, Resulting Numbers: [45, 17, 61]
Generated Node #0,1: 31:[45, 17, 61] Operation: 84-23=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[23, 17, 39], Operations: ['84-45=39']
Exploring Operation: 39-17=22, Resulting Numbers: [23, 22]
Generated Node #0,0,0: 31:[23, 22] Operation: 39-17=22
Exploring Operation: 23+17=40, Resulting Numbers: [39, 40]
Generated Node #0,0,1: 31:[39, 40] Operation: 23+17=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[23, 22], Operations: ['84-45=39', '39-17=22']
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,31 unequal: No Solution
No 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: 31:[39, 40], Operations: ['84-45=39', '23+17=40']
Exploring Operation: 39+40=79, Resulting Numbers: [79]
79,31 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,31 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: 31:[45, 17, 61], Operations: ['84-23=61']
Exploring Operation: 61-17=44, Resulting Numbers: [45, 44]
Generated Node #0,1,0: 31:[45, 44] Operation: 61-17=44
Exploring Operation: 61-45=16, Resulting Numbers: [17, 16]
Generated Node #0,1,1: 31:[17, 16] Operation: 61-45=16
Moving to Node #0,1,0
Current State: 31:[45, 44], Operations: ['84-23=61', '61-17=44']
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 45+44=89, Resulting Numbers: [89]
89,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[17, 16], Operations: ['84-23=61', '61-45=16']
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,31 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 |
[
19,
45,
15,
11
] | 60 | [
"19+45=64",
"15-11=4",
"64-4=60"
] | Current State: 60:[19, 45, 15, 11], Operations: []
Exploring Operation: 19+45=64, Resulting Numbers: [15, 11, 64]
Generated Node #2: [15, 11, 64] from Operation: 19+45=64
Current State: 60:[15, 11, 64], Operations: ['19+45=64']
Exploring Operation: 15-11=4, Resulting Numbers: [64, 4]
Generated Node #3: [64, 4] from Operation: 15-11=4
Current State: 60:[64, 4], Operations: ['19+45=64', '15-11=4']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[19, 45, 15, 11], Operations: []
Exploring Operation: 45-15=30, Resulting Numbers: [19, 11, 30]
Generated Node #0,0: 60:[19, 11, 30] Operation: 45-15=30
Exploring Operation: 45+15=60, Resulting Numbers: [19, 11, 60]
Generated Node #0,1: 60:[19, 11, 60] Operation: 45+15=60
Moving to Node #0,0
Current State: 60:[19, 11, 30], Operations: ['45-15=30']
Exploring Operation: 19-11=8, Resulting Numbers: [30, 8]
Generated Node #0,0,0: 60:[30, 8] Operation: 19-11=8
Exploring Operation: 19+11=30, Resulting Numbers: [30, 30]
Generated Node #0,0,1: 60:[30, 30] Operation: 19+11=30
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 60:[30, 30], Operations: ['45-15=30', '19+11=30']
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[19, 45, 15, 11], Operations: []
Exploring Operation: 45-15=30, Resulting Numbers: [19, 11, 30]
Generated Node #0,0: 60:[19, 11, 30] Operation: 45-15=30
Moving to Node #0,0
Current State: 60:[19, 11, 30], Operations: ['45-15=30']
Exploring Operation: 19+11=30, Resulting Numbers: [30, 30]
Generated Node #0,0,1: 60:[30, 30] Operation: 19+11=30
Moving to Node #0,0,1
Current State: 60:[30, 30], Operations: ['45-15=30', '19+11=30']
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
82,
75,
40,
45
] | 79 | [
"75+45=120",
"120/40=3",
"82-3=79"
] | Current State: 79:[82, 75, 40, 45], Operations: []
Exploring Operation: 75+45=120, Resulting Numbers: [82, 40, 120]
Generated Node #2: [82, 40, 120] from Operation: 75+45=120
Current State: 79:[82, 40, 120], Operations: ['75+45=120']
Exploring Operation: 120/40=3, Resulting Numbers: [82, 3]
Generated Node #3: [82, 3] from Operation: 120/40=3
Current State: 79:[82, 3], Operations: ['75+45=120', '120/40=3']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[82, 75, 40, 45], Operations: []
Exploring Operation: 75+40=115, Resulting Numbers: [82, 45, 115]
Generated Node #0,0: 79:[82, 45, 115] Operation: 75+40=115
Exploring Operation: 40+45=85, Resulting Numbers: [82, 75, 85]
Generated Node #0,1: 79:[82, 75, 85] Operation: 40+45=85
Exploring Operation: 82-40=42, Resulting Numbers: [75, 45, 42]
Generated Node #0,2: 79:[75, 45, 42] Operation: 82-40=42
Moving to Node #0,1
Current State: 79:[82, 75, 85], Operations: ['40+45=85']
Exploring Operation: 85-82=3, Resulting Numbers: [75, 3]
Generated Node #0,1,0: 79:[75, 3] Operation: 85-82=3
Exploring Operation: 85-75=10, Resulting Numbers: [82, 10]
Generated Node #0,1,1: 79:[82, 10] Operation: 85-75=10
Exploring Operation: 82-75=7, Resulting Numbers: [85, 7]
Generated Node #0,1,2: 79:[85, 7] Operation: 82-75=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[82, 10], Operations: ['40+45=85', '85-75=10']
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 82+10=92, Resulting Numbers: [92]
92,79 unequal: No Solution
Exploring Operation: 82*10=820, Resulting Numbers: [820]
820,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:[85, 7], Operations: ['40+45=85', '82-75=7']
Exploring Operation: 85+7=92, Resulting Numbers: [92]
92,79 unequal: No Solution
Exploring Operation: 85*7=595, Resulting Numbers: [595]
595,79 unequal: No Solution
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,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:[75, 3], Operations: ['40+45=85', '85-82=3']
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,79 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 79:[82, 45, 115], Operations: ['75+40=115']
Exploring Operation: 115-45=70, Resulting Numbers: [82, 70]
Generated Node #0,0,0: 79:[82, 70] Operation: 115-45=70
Exploring Operation: 115-82=33, Resulting Numbers: [45, 33]
Generated Node #0,0,1: 79:[45, 33] Operation: 115-82=33
Exploring Operation: 82-45=37, Resulting Numbers: [115, 37]
Generated Node #0,0,2: 79:[115, 37] Operation: 82-45=37
Moving to Node #0,2
Current State: 79:[75, 45, 42], Operations: ['82-40=42']
Exploring Operation: 45+42=87, Resulting Numbers: [75, 87]
Generated Node #0,2,0: 79:[75, 87] Operation: 45+42=87
Exploring Operation: 75+45=120, Resulting Numbers: [42, 120]
Generated Node #0,2,1: 79:[42, 120] Operation: 75+45=120
Exploring Operation: 75+42=117, Resulting Numbers: [45, 117]
Generated Node #0,2,2: 79:[45, 117] Operation: 75+42=117
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 79:[75, 87], Operations: ['82-40=42', '45+42=87']
Exploring Operation: 87-75=12, Resulting Numbers: [12]
12,79 unequal: No Solution
Exploring Operation: 75+87=162, Resulting Numbers: [162]
162,79 unequal: No Solution
Exploring Operation: 75*87=6525, Resulting Numbers: [6525]
6525,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:[45, 117], Operations: ['82-40=42', '75+42=117']
Exploring Operation: 45*117=5265, Resulting Numbers: [5265]
5265,79 unequal: No Solution
Exploring Operation: 117-45=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 45+117=162, Resulting Numbers: [162]
162,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,1
Current State: 79:[42, 120], Operations: ['82-40=42', '75+45=120']
Exploring Operation: 120-42=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 42+120=162, Resulting Numbers: [162]
162,79 unequal: No Solution
Exploring Operation: 42*120=5040, Resulting Numbers: [5040]
5040,79 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: 79:[82, 70], Operations: ['75+40=115', '115-45=70']
Exploring Operation: 82-70=12, Resulting Numbers: [12]
12,79 unequal: No Solution
Exploring Operation: 82*70=5740, Resulting Numbers: [5740]
5740,79 unequal: No Solution
Exploring Operation: 82+70=152, Resulting Numbers: [152]
152,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[115, 37], Operations: ['75+40=115', '82-45=37']
Exploring Operation: 115*37=4255, Resulting Numbers: [4255]
4255,79 unequal: No Solution
Exploring Operation: 115-37=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 115+37=152, Resulting Numbers: [152]
152,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[45, 33], Operations: ['75+40=115', '115-82=33']
Exploring Operation: 45*33=1485, Resulting Numbers: [1485]
1485,79 unequal: No Solution
Exploring Operation: 45+33=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,79 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
36,
47,
32,
20
] | 44 | [
"32-20=12",
"36/12=3",
"47-3=44"
] | Current State: 44:[36, 47, 32, 20], Operations: []
Exploring Operation: 32-20=12, Resulting Numbers: [36, 47, 12]
Generated Node #2: [36, 47, 12] from Operation: 32-20=12
Current State: 44:[36, 47, 12], Operations: ['32-20=12']
Exploring Operation: 36/12=3, Resulting Numbers: [47, 3]
Generated Node #3: [47, 3] from Operation: 36/12=3
Current State: 44:[47, 3], Operations: ['32-20=12', '36/12=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[36, 47, 32, 20], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [47, 20, 4]
Generated Node #0,0: 44:[47, 20, 4] Operation: 36-32=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[47, 20, 4], Operations: ['36-32=4']
Exploring Operation: 47-4=43, Resulting Numbers: [20, 43]
Generated Node #0,0,0: 44:[20, 43] Operation: 47-4=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[20, 43], Operations: ['36-32=4', '47-4=43']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,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_1 | mult_heuristic |
[
64,
12,
56,
81
] | 51 | [
"64+12=76",
"81-56=25",
"76-25=51"
] | Current State: 51:[64, 12, 56, 81], Operations: []
Exploring Operation: 64+12=76, Resulting Numbers: [56, 81, 76]
Generated Node #2: [56, 81, 76] from Operation: 64+12=76
Current State: 51:[56, 81, 76], Operations: ['64+12=76']
Exploring Operation: 81-56=25, Resulting Numbers: [76, 25]
Generated Node #3: [76, 25] from Operation: 81-56=25
Current State: 51:[76, 25], Operations: ['64+12=76', '81-56=25']
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[64, 12, 56, 81], Operations: []
Exploring Operation: 81-64=17, Resulting Numbers: [12, 56, 17]
Generated Node #0,0: 51:[12, 56, 17] Operation: 81-64=17
Exploring Operation: 64-12=52, Resulting Numbers: [56, 81, 52]
Generated Node #0,1: 51:[56, 81, 52] Operation: 64-12=52
Exploring Operation: 81-56=25, Resulting Numbers: [64, 12, 25]
Generated Node #0,2: 51:[64, 12, 25] Operation: 81-56=25
Exploring Operation: 81-12=69, Resulting Numbers: [64, 56, 69]
Generated Node #0,3: 51:[64, 56, 69] Operation: 81-12=69
Moving to Node #0,0
Current State: 51:[12, 56, 17], Operations: ['81-64=17']
Exploring Operation: 12+17=29, Resulting Numbers: [56, 29]
Generated Node #0,0,0: 51:[56, 29] Operation: 12+17=29
Exploring Operation: 56-12=44, Resulting Numbers: [17, 44]
Generated Node #0,0,1: 51:[17, 44] Operation: 56-12=44
Exploring Operation: 12+56=68, Resulting Numbers: [17, 68]
Generated Node #0,0,2: 51:[17, 68] Operation: 12+56=68
Exploring Operation: 17-12=5, Resulting Numbers: [56, 5]
Generated Node #0,0,3: 51:[56, 5] Operation: 17-12=5
Moving to Node #0,2
Current State: 51:[64, 12, 25], Operations: ['81-56=25']
Exploring Operation: 64-12=52, Resulting Numbers: [25, 52]
Generated Node #0,2,0: 51:[25, 52] Operation: 64-12=52
Exploring Operation: 25-12=13, Resulting Numbers: [64, 13]
Generated Node #0,2,1: 51:[64, 13] Operation: 25-12=13
Exploring Operation: 12+25=37, Resulting Numbers: [64, 37]
Generated Node #0,2,2: 51:[64, 37] Operation: 12+25=37
Exploring Operation: 64-25=39, Resulting Numbers: [12, 39]
Generated Node #0,2,3: 51:[12, 39] Operation: 64-25=39
Moving to Node #0,3
Current State: 51:[64, 56, 69], Operations: ['81-12=69']
Exploring Operation: 69-64=5, Resulting Numbers: [56, 5]
Generated Node #0,3,0: 51:[56, 5] Operation: 69-64=5
Exploring Operation: 64-56=8, Resulting Numbers: [69, 8]
Generated Node #0,3,1: 51:[69, 8] Operation: 64-56=8
Exploring Operation: 64+56=120, Resulting Numbers: [69, 120]
Generated Node #0,3,2: 51:[69, 120] Operation: 64+56=120
Exploring Operation: 69-56=13, Resulting Numbers: [64, 13]
Generated Node #0,3,3: 51:[64, 13] Operation: 69-56=13
Moving to Node #0,1
Current State: 51:[56, 81, 52], Operations: ['64-12=52']
Exploring Operation: 81-56=25, Resulting Numbers: [52, 25]
Generated Node #0,1,0: 51:[52, 25] Operation: 81-56=25
Exploring Operation: 56-52=4, Resulting Numbers: [81, 4]
Generated Node #0,1,1: 51:[81, 4] Operation: 56-52=4
Exploring Operation: 56+81=137, Resulting Numbers: [52, 137]
Generated Node #0,1,2: 51:[52, 137] Operation: 56+81=137
Exploring Operation: 81-52=29, Resulting Numbers: [56, 29]
Generated Node #0,1,3: 51:[56, 29] Operation: 81-52=29
Moving to Node #0,0,1
Current State: 51:[17, 44], Operations: ['81-64=17', '56-12=44']
Exploring Operation: 17*44=748, Resulting Numbers: [748]
748,51 unequal: No Solution
Exploring Operation: 17+44=61, Resulting Numbers: [61]
61,51 unequal: No Solution
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[56, 5], Operations: ['81-64=17', '17-12=5']
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,51 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[64, 12, 56, 81], Operations: []
Exploring Operation: 81-64=17, Resulting Numbers: [12, 56, 17]
Generated Node #0,0: 51:[12, 56, 17] Operation: 81-64=17
Moving to Node #0,0
Current State: 51:[12, 56, 17], Operations: ['81-64=17']
Exploring Operation: 17-12=5, Resulting Numbers: [56, 5]
Generated Node #0,0,3: 51:[56, 5] Operation: 17-12=5
Moving to Node #0,0,3
Current State: 51:[56, 5], Operations: ['81-64=17', '17-12=5']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 0.974826 | hs_4 | sum_heuristic |
[
10,
30,
97,
53
] | 45 | [
"97+53=150",
"150/10=15",
"30+15=45"
] | Current State: 45:[10, 30, 97, 53], Operations: []
Exploring Operation: 97+53=150, Resulting Numbers: [10, 30, 150]
Generated Node #2: [10, 30, 150] from Operation: 97+53=150
Current State: 45:[10, 30, 150], Operations: ['97+53=150']
Exploring Operation: 150/10=15, Resulting Numbers: [30, 15]
Generated Node #3: [30, 15] from Operation: 150/10=15
Current State: 45:[30, 15], Operations: ['97+53=150', '150/10=15']
Exploring Operation: 30+15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[10, 30, 97, 53], Operations: []
Exploring Operation: 30/10=3, Resulting Numbers: [97, 53, 3]
Generated Node #0,0: 45:[97, 53, 3] Operation: 30/10=3
Exploring Operation: 10+30=40, Resulting Numbers: [97, 53, 40]
Generated Node #0,1: 45:[97, 53, 40] Operation: 10+30=40
Exploring Operation: 97-53=44, Resulting Numbers: [10, 30, 44]
Generated Node #0,2: 45:[10, 30, 44] Operation: 97-53=44
Exploring Operation: 97-30=67, Resulting Numbers: [10, 53, 67]
Generated Node #0,3: 45:[10, 53, 67] Operation: 97-30=67
Exploring Operation: 53-30=23, Resulting Numbers: [10, 97, 23]
Generated Node #0,4: 45:[10, 97, 23] Operation: 53-30=23
Moving to Node #0,2
Current State: 45:[10, 30, 44], Operations: ['97-53=44']
Exploring Operation: 10+30=40, Resulting Numbers: [44, 40]
Generated Node #0,2,0: 45:[44, 40] Operation: 10+30=40
Exploring Operation: 10+44=54, Resulting Numbers: [30, 54]
Generated Node #0,2,1: 45:[30, 54] Operation: 10+44=54
Exploring Operation: 44-30=14, Resulting Numbers: [10, 14]
Generated Node #0,2,2: 45:[10, 14] Operation: 44-30=14
Exploring Operation: 30/10=3, Resulting Numbers: [44, 3]
Generated Node #0,2,3: 45:[44, 3] Operation: 30/10=3
Exploring Operation: 30-10=20, Resulting Numbers: [44, 20]
Generated Node #0,2,4: 45:[44, 20] Operation: 30-10=20
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 45:[44, 3], Operations: ['97-53=44', '30/10=3']
Exploring Operation: 44*3=132, Resulting Numbers: [132]
132,45 unequal: No Solution
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,45 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,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,2,2
Current State: 45:[10, 14], Operations: ['97-53=44', '44-30=14']
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,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,2,0
Current State: 45:[44, 40], Operations: ['97-53=44', '10+30=40']
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,45 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 44*40=1760, Resulting Numbers: [1760]
1760,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,2,4
Current State: 45:[44, 20], Operations: ['97-53=44', '30-10=20']
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 44+20=64, Resulting Numbers: [64]
64,45 unequal: No Solution
Exploring Operation: 44*20=880, Resulting Numbers: [880]
880,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,2,1
Current State: 45:[30, 54], Operations: ['97-53=44', '10+44=54']
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 30+54=84, Resulting Numbers: [84]
84,45 unequal: No Solution
Exploring Operation: 30*54=1620, Resulting Numbers: [1620]
1620,45 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: 45:[10, 53, 67], Operations: ['97-30=67']
Exploring Operation: 10+67=77, Resulting Numbers: [53, 77]
Generated Node #0,3,0: 45:[53, 77] Operation: 10+67=77
Exploring Operation: 67-53=14, Resulting Numbers: [10, 14]
Generated Node #0,3,1: 45:[10, 14] Operation: 67-53=14
Exploring Operation: 53-10=43, Resulting Numbers: [67, 43]
Generated Node #0,3,2: 45:[67, 43] Operation: 53-10=43
Exploring Operation: 67-10=57, Resulting Numbers: [53, 57]
Generated Node #0,3,3: 45:[53, 57] Operation: 67-10=57
Exploring Operation: 10+53=63, Resulting Numbers: [67, 63]
Generated Node #0,3,4: 45:[67, 63] Operation: 10+53=63
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 45:[10, 14], Operations: ['97-30=67', '67-53=14']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,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,3,3
Current State: 45:[53, 57], Operations: ['97-30=67', '67-10=57']
Exploring Operation: 57-53=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 53+57=110, Resulting Numbers: [110]
110,45 unequal: No Solution
Exploring Operation: 53*57=3021, Resulting Numbers: [3021]
3021,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,3,2
Current State: 45:[67, 43], Operations: ['97-30=67', '53-10=43']
Exploring Operation: 67+43=110, Resulting Numbers: [110]
110,45 unequal: No Solution
Exploring Operation: 67*43=2881, Resulting Numbers: [2881]
2881,45 unequal: No Solution
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,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,3,0
Current State: 45:[53, 77], Operations: ['97-30=67', '10+67=77']
Exploring Operation: 53*77=4081, Resulting Numbers: [4081]
4081,45 unequal: No Solution
Exploring Operation: 53+77=130, Resulting Numbers: [130]
130,45 unequal: No Solution
Exploring Operation: 77-53=24, Resulting Numbers: [24]
24,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,3,4
Current State: 45:[67, 63], Operations: ['97-30=67', '10+53=63']
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 67*63=4221, Resulting Numbers: [4221]
4221,45 unequal: No Solution
Exploring Operation: 67+63=130, Resulting Numbers: [130]
130,45 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: 45:[97, 53, 3], Operations: ['30/10=3']
Exploring Operation: 53+3=56, Resulting Numbers: [97, 56]
Generated Node #0,0,0: 45:[97, 56] Operation: 53+3=56
Exploring Operation: 97-3=94, Resulting Numbers: [53, 94]
Generated Node #0,0,1: 45:[53, 94] Operation: 97-3=94
Exploring Operation: 97-53=44, Resulting Numbers: [3, 44]
Generated Node #0,0,2: 45:[3, 44] Operation: 97-53=44
Exploring Operation: 97+3=100, Resulting Numbers: [53, 100]
Generated Node #0,0,3: 45:[53, 100] Operation: 97+3=100
Exploring Operation: 53-3=50, Resulting Numbers: [97, 50]
Generated Node #0,0,4: 45:[97, 50] Operation: 53-3=50
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 45:[3, 44], Operations: ['30/10=3', '97-53=44']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,45 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,45 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,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, 94], Operations: ['30/10=3', '97-3=94']
Exploring Operation: 94-53=41, Resulting Numbers: [41]
41,45 unequal: No Solution
Exploring Operation: 53+94=147, Resulting Numbers: [147]
147,45 unequal: No Solution
Exploring Operation: 53*94=4982, Resulting Numbers: [4982]
4982,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,4
Current State: 45:[97, 50], Operations: ['30/10=3', '53-3=50']
Exploring Operation: 97+50=147, Resulting Numbers: [147]
147,45 unequal: No Solution
Exploring Operation: 97-50=47, Resulting Numbers: [47]
47,45 unequal: No Solution
Exploring Operation: 97*50=4850, Resulting Numbers: [4850]
4850,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,0
Current State: 45:[97, 56], Operations: ['30/10=3', '53+3=56']
Exploring Operation: 97*56=5432, Resulting Numbers: [5432]
5432,45 unequal: No Solution
Exploring Operation: 97-56=41, Resulting Numbers: [41]
41,45 unequal: No Solution
Exploring Operation: 97+56=153, Resulting Numbers: [153]
153,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,3
Current State: 45:[53, 100], Operations: ['30/10=3', '97+3=100']
Exploring Operation: 100-53=47, Resulting Numbers: [47]
47,45 unequal: No Solution
Exploring Operation: 53+100=153, Resulting Numbers: [153]
153,45 unequal: No Solution
Exploring Operation: 53*100=5300, Resulting Numbers: [5300]
5300,45 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: 45:[10, 97, 23], Operations: ['53-30=23']
Exploring Operation: 97-23=74, Resulting Numbers: [10, 74]
Generated Node #0,4,0: 45:[10, 74] Operation: 97-23=74
Exploring Operation: 10+97=107, Resulting Numbers: [23, 107]
Generated Node #0,4,1: 45:[23, 107] Operation: 10+97=107
Exploring Operation: 10+23=33, Resulting Numbers: [97, 33]
Generated Node #0,4,2: 45:[97, 33] Operation: 10+23=33
Exploring Operation: 23-10=13, Resulting Numbers: [97, 13]
Generated Node #0,4,3: 45:[97, 13] Operation: 23-10=13
Exploring Operation: 97-10=87, Resulting Numbers: [23, 87]
Generated Node #0,4,4: 45:[23, 87] Operation: 97-10=87
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 45:[10, 74], Operations: ['53-30=23', '97-23=74']
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,45 unequal: No Solution
Exploring Operation: 10*74=740, Resulting Numbers: [740]
740,45 unequal: No Solution
Exploring Operation: 10+74=84, Resulting Numbers: [84]
84,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,4,4
Current State: 45:[23, 87], Operations: ['53-30=23', '97-10=87']
Exploring Operation: 23+87=110, Resulting Numbers: [110]
110,45 unequal: No Solution
Exploring Operation: 87-23=64, Resulting Numbers: [64]
64,45 unequal: No Solution
Exploring Operation: 23*87=2001, Resulting Numbers: [2001]
2001,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,4,3
Current State: 45:[97, 13], Operations: ['53-30=23', '23-10=13']
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,45 unequal: No Solution
Exploring Operation: 97*13=1261, Resulting Numbers: [1261]
1261,45 unequal: No Solution
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,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,4,2
Current State: 45:[97, 33], Operations: ['53-30=23', '10+23=33']
Exploring Operation: 97+33=130, Resulting Numbers: [130]
130,45 unequal: No Solution
Exploring Operation: 97*33=3201, Resulting Numbers: [3201]
3201,45 unequal: No Solution
Exploring Operation: 97-33=64, Resulting Numbers: [64]
64,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,4,1
Current State: 45:[23, 107], Operations: ['53-30=23', '10+97=107']
Exploring Operation: 107-23=84, Resulting Numbers: [84]
84,45 unequal: No Solution
Exploring Operation: 23*107=2461, Resulting Numbers: [2461]
2461,45 unequal: No Solution
Exploring Operation: 23+107=130, Resulting Numbers: [130]
130,45 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: 45:[97, 53, 40], Operations: ['10+30=40']
Exploring Operation: 53+40=93, Resulting Numbers: [97, 93]
Generated Node #0,1,0: 45:[97, 93] Operation: 53+40=93
Exploring Operation: 53-40=13, Resulting Numbers: [97, 13]
Generated Node #0,1,1: 45:[97, 13] Operation: 53-40=13
Exploring Operation: 97-53=44, Resulting Numbers: [40, 44]
Generated Node #0,1,2: 45:[40, 44] Operation: 97-53=44
Exploring Operation: 97-40=57, Resulting Numbers: [53, 57]
Generated Node #0,1,3: 45:[53, 57] Operation: 97-40=57
Exploring Operation: 97+40=137, Resulting Numbers: [53, 137]
Generated Node #0,1,4: 45:[53, 137] Operation: 97+40=137
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[40, 44], Operations: ['10+30=40', '97-53=44']
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 40*44=1760, Resulting Numbers: [1760]
1760,45 unequal: No Solution
Exploring Operation: 40+44=84, Resulting Numbers: [84]
84,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,1,3
Current State: 45:[53, 57], Operations: ['10+30=40', '97-40=57']
Exploring Operation: 53+57=110, Resulting Numbers: [110]
110,45 unequal: No Solution
Exploring Operation: 53*57=3021, Resulting Numbers: [3021]
3021,45 unequal: No Solution
Exploring Operation: 57-53=4, Resulting Numbers: [4]
4,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,1,1
Current State: 45:[97, 13], Operations: ['10+30=40', '53-40=13']
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,45 unequal: No Solution
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,45 unequal: No Solution
Exploring Operation: 97*13=1261, Resulting Numbers: [1261]
1261,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,1,0
Current State: 45:[97, 93], Operations: ['10+30=40', '53+40=93']
Exploring Operation: 97*93=9021, Resulting Numbers: [9021]
9021,45 unequal: No Solution
Exploring Operation: 97-93=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 97+93=190, Resulting Numbers: [190]
190,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,1,4
Current State: 45:[53, 137], Operations: ['10+30=40', '97+40=137']
Exploring Operation: 53*137=7261, Resulting Numbers: [7261]
7261,45 unequal: No Solution
Exploring Operation: 137-53=84, Resulting Numbers: [84]
84,45 unequal: No Solution
Exploring Operation: 53+137=190, Resulting Numbers: [190]
190,45 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 |
[
3,
96,
18,
82
] | 60 | [
"96-82=14",
"3*14=42",
"18+42=60"
] | Current State: 60:[3, 96, 18, 82], Operations: []
Exploring Operation: 96-82=14, Resulting Numbers: [3, 18, 14]
Generated Node #2: [3, 18, 14] from Operation: 96-82=14
Current State: 60:[3, 18, 14], Operations: ['96-82=14']
Exploring Operation: 3*14=42, Resulting Numbers: [18, 42]
Generated Node #3: [18, 42] from Operation: 3*14=42
Current State: 60:[18, 42], Operations: ['96-82=14', '3*14=42']
Exploring Operation: 18+42=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[3, 96, 18, 82], Operations: []
Exploring Operation: 96-18=78, Resulting Numbers: [3, 82, 78]
Generated Node #0,0: 60:[3, 82, 78] Operation: 96-18=78
Exploring Operation: 96-82=14, Resulting Numbers: [3, 18, 14]
Generated Node #0,1: 60:[3, 18, 14] Operation: 96-82=14
Exploring Operation: 82-18=64, Resulting Numbers: [3, 96, 64]
Generated Node #0,2: 60:[3, 96, 64] Operation: 82-18=64
Exploring Operation: 96/3=32, Resulting Numbers: [18, 82, 32]
Generated Node #0,3: 60:[18, 82, 32] Operation: 96/3=32
Exploring Operation: 96-3=93, Resulting Numbers: [18, 82, 93]
Generated Node #0,4: 60:[18, 82, 93] Operation: 96-3=93
Moving to Node #0,1
Current State: 60:[3, 18, 14], Operations: ['96-82=14']
Exploring Operation: 18-3=15, Resulting Numbers: [14, 15]
Generated Node #0,1,0: 60:[14, 15] Operation: 18-3=15
Exploring Operation: 18/3=6, Resulting Numbers: [14, 6]
Generated Node #0,1,1: 60:[14, 6] Operation: 18/3=6
Exploring Operation: 18+14=32, Resulting Numbers: [3, 32]
Generated Node #0,1,2: 60:[3, 32] Operation: 18+14=32
Exploring Operation: 3+18=21, Resulting Numbers: [14, 21]
Generated Node #0,1,3: 60:[14, 21] Operation: 3+18=21
Exploring Operation: 18-14=4, Resulting Numbers: [3, 4]
Generated Node #0,1,4: 60:[3, 4] Operation: 18-14=4
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 60:[3, 4], Operations: ['96-82=14', '18-14=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[14, 15], Operations: ['96-82=14', '18-3=15']
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,60 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[14, 6], Operations: ['96-82=14', '18/3=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,60 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 60:[3, 32], Operations: ['96-82=14', '18+14=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,60 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 60:[14, 21], Operations: ['96-82=14', '3+18=21']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,60 unequal: No Solution
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,60 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: 60:[18, 82, 32], Operations: ['96/3=32']
Exploring Operation: 32-18=14, Resulting Numbers: [82, 14]
Generated Node #0,3,0: 60:[82, 14] Operation: 32-18=14
Exploring Operation: 82-18=64, Resulting Numbers: [32, 64]
Generated Node #0,3,1: 60:[32, 64] Operation: 82-18=64
Exploring Operation: 18+32=50, Resulting Numbers: [82, 50]
Generated Node #0,3,2: 60:[82, 50] Operation: 18+32=50
Exploring Operation: 18+82=100, Resulting Numbers: [32, 100]
Generated Node #0,3,3: 60:[32, 100] Operation: 18+82=100
Exploring Operation: 82-32=50, Resulting Numbers: [18, 50]
Generated Node #0,3,4: 60:[18, 50] Operation: 82-32=50
Moving to Node #0,0
Current State: 60:[3, 82, 78], Operations: ['96-18=78']
Exploring Operation: 82-3=79, Resulting Numbers: [78, 79]
Generated Node #0,0,0: 60:[78, 79] Operation: 82-3=79
Exploring Operation: 82-78=4, Resulting Numbers: [3, 4]
Generated Node #0,0,1: 60:[3, 4] Operation: 82-78=4
Exploring Operation: 3+82=85, Resulting Numbers: [78, 85]
Generated Node #0,0,2: 60:[78, 85] Operation: 3+82=85
Exploring Operation: 78-3=75, Resulting Numbers: [82, 75]
Generated Node #0,0,3: 60:[82, 75] Operation: 78-3=75
Exploring Operation: 78/3=26, Resulting Numbers: [82, 26]
Generated Node #0,0,4: 60:[82, 26] Operation: 78/3=26
Moving to Node #0,2
Current State: 60:[3, 96, 64], Operations: ['82-18=64']
Exploring Operation: 96/3=32, Resulting Numbers: [64, 32]
Generated Node #0,2,0: 60:[64, 32] Operation: 96/3=32
Exploring Operation: 64-3=61, Resulting Numbers: [96, 61]
Generated Node #0,2,1: 60:[96, 61] Operation: 64-3=61
Exploring Operation: 3+96=99, Resulting Numbers: [64, 99]
Generated Node #0,2,2: 60:[64, 99] Operation: 3+96=99
Exploring Operation: 96-3=93, Resulting Numbers: [64, 93]
Generated Node #0,2,3: 60:[64, 93] Operation: 96-3=93
Exploring Operation: 96-64=32, Resulting Numbers: [3, 32]
Generated Node #0,2,4: 60:[3, 32] Operation: 96-64=32
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 60:[3, 32], Operations: ['82-18=64', '96-64=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,60 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 60:[64, 32], Operations: ['82-18=64', '96/3=32']
Exploring Operation: 64*32=2048, Resulting Numbers: [2048]
2048,60 unequal: No Solution
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 64+32=96, Resulting Numbers: [96]
96,60 unequal: No Solution
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 60:[96, 61], Operations: ['82-18=64', '64-3=61']
Exploring Operation: 96-61=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 96+61=157, Resulting Numbers: [157]
157,60 unequal: No Solution
Exploring Operation: 96*61=5856, Resulting Numbers: [5856]
5856,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 60:[64, 93], Operations: ['82-18=64', '96-3=93']
Exploring Operation: 64*93=5952, Resulting Numbers: [5952]
5952,60 unequal: No Solution
Exploring Operation: 64+93=157, Resulting Numbers: [157]
157,60 unequal: No Solution
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 60:[64, 99], Operations: ['82-18=64', '3+96=99']
Exploring Operation: 99-64=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 64*99=6336, Resulting Numbers: [6336]
6336,60 unequal: No Solution
Exploring Operation: 64+99=163, Resulting Numbers: [163]
163,60 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: 60:[18, 82, 93], Operations: ['96-3=93']
Exploring Operation: 18+82=100, Resulting Numbers: [93, 100]
Generated Node #0,4,0: 60:[93, 100] Operation: 18+82=100
Exploring Operation: 18+93=111, Resulting Numbers: [82, 111]
Generated Node #0,4,1: 60:[82, 111] Operation: 18+93=111
Exploring Operation: 82-18=64, Resulting Numbers: [93, 64]
Generated Node #0,4,2: 60:[93, 64] Operation: 82-18=64
Exploring Operation: 93-82=11, Resulting Numbers: [18, 11]
Generated Node #0,4,3: 60:[18, 11] Operation: 93-82=11
Exploring Operation: 93-18=75, Resulting Numbers: [82, 75]
Generated Node #0,4,4: 60:[82, 75] Operation: 93-18=75
Moving to Node #0,0,1
Current State: 60:[3, 4], Operations: ['96-18=78', '82-78=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Moving to Node #0,4,3
Current State: 60:[18, 11], Operations: ['96-3=93', '93-82=11']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,60 unequal: No Solution
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[32, 64], Operations: ['96/3=32', '82-18=64']
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 32*64=2048, Resulting Numbers: [2048]
2048,60 unequal: No Solution
Exploring Operation: 32+64=96, Resulting Numbers: [96]
96,60 unequal: No Solution
Moving to Node #0,3,4
Current State: 60:[18, 50], Operations: ['96/3=32', '82-32=50']
Exploring Operation: 18*50=900, Resulting Numbers: [900]
900,60 unequal: No Solution
Exploring Operation: 18+50=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[82, 14], Operations: ['96/3=32', '32-18=14']
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 82*14=1148, Resulting Numbers: [1148]
1148,60 unequal: No Solution
Exploring Operation: 82+14=96, Resulting Numbers: [96]
96,60 unequal: No Solution
Moving to Node #0,0,4
Current State: 60:[82, 26], Operations: ['96-18=78', '78/3=26']
Exploring Operation: 82*26=2132, Resulting Numbers: [2132]
2132,60 unequal: No Solution
Exploring Operation: 82-26=56, Resulting Numbers: [56]
56,60 unequal: No Solution
Exploring Operation: 82+26=108, Resulting Numbers: [108]
108,60 unequal: No Solution
Moving to Node #0,3,2
Current State: 60:[82, 50], Operations: ['96/3=32', '18+32=50']
Exploring Operation: 82*50=4100, Resulting Numbers: [4100]
4100,60 unequal: No Solution
Exploring Operation: 82-50=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 82+50=132, Resulting Numbers: [132]
132,60 unequal: No Solution
Moving to Node #0,4,2
Current State: 60:[93, 64], Operations: ['96-3=93', '82-18=64']
Exploring Operation: 93+64=157, Resulting Numbers: [157]
157,60 unequal: No Solution
Exploring Operation: 93*64=5952, Resulting Numbers: [5952]
5952,60 unequal: No Solution
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Moving to Node #0,4,4
Current State: 60:[82, 75], Operations: ['96-3=93', '93-18=75']
Exploring Operation: 82+75=157, Resulting Numbers: [157]
157,60 unequal: No Solution
Exploring Operation: 82*75=6150, Resulting Numbers: [6150]
6150,60 unequal: No Solution
Exploring Operation: 82-75=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[82, 75], Operations: ['96-18=78', '78-3=75']
Exploring Operation: 82+75=157, Resulting Numbers: [157]
157,60 unequal: No Solution
Exploring Operation: 82-75=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 82*75=6150, Resulting Numbers: [6150]
6150,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[78, 79], Operations: ['96-18=78', '82-3=79']
Exploring Operation: 78+79=157, Resulting Numbers: [157]
157,60 unequal: No Solution
Exploring Operation: 79-78=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 78*79=6162, Resulting Numbers: [6162]
6162,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[32, 100], Operations: ['96/3=32', '18+82=100']
Exploring Operation: 100-32=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 32*100=3200, Resulting Numbers: [3200]
3200,60 unequal: No Solution
Exploring Operation: 32+100=132, Resulting Numbers: [132]
132,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[78, 85], Operations: ['96-18=78', '3+82=85']
Exploring Operation: 85-78=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 78*85=6630, Resulting Numbers: [6630]
6630,60 unequal: No Solution
Exploring Operation: 78+85=163, Resulting Numbers: [163]
163,60 unequal: No Solution
Moving to Node #0,4,1
Current State: 60:[82, 111], Operations: ['96-3=93', '18+93=111']
Exploring Operation: 111-82=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 82*111=9102, Resulting Numbers: [9102]
9102,60 unequal: No Solution
Exploring Operation: 82+111=193, Resulting Numbers: [193]
193,60 unequal: No Solution
Moving to Node #0,4,0
Current State: 60:[93, 100], Operations: ['96-3=93', '18+82=100']
Exploring Operation: 93*100=9300, Resulting Numbers: [9300]
9300,60 unequal: No Solution
Exploring Operation: 100-93=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 93+100=193, Resulting Numbers: [193]
193,60 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
98,
26,
90,
45
] | 70 | [
"98-26=72",
"90/45=2",
"72-2=70"
] | Current State: 70:[98, 26, 90, 45], Operations: []
Exploring Operation: 98-26=72, Resulting Numbers: [90, 45, 72]
Generated Node #2: [90, 45, 72] from Operation: 98-26=72
Current State: 70:[90, 45, 72], Operations: ['98-26=72']
Exploring Operation: 90/45=2, Resulting Numbers: [72, 2]
Generated Node #3: [72, 2] from Operation: 90/45=2
Current State: 70:[72, 2], Operations: ['98-26=72', '90/45=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[98, 26, 90, 45], Operations: []
Exploring Operation: 98-26=72, Resulting Numbers: [90, 45, 72]
Generated Node #0,0: 70:[90, 45, 72] Operation: 98-26=72
Exploring Operation: 98-90=8, Resulting Numbers: [26, 45, 8]
Generated Node #0,1: 70:[26, 45, 8] Operation: 98-90=8
Exploring Operation: 90/45=2, Resulting Numbers: [98, 26, 2]
Generated Node #0,2: 70:[98, 26, 2] Operation: 90/45=2
Moving to Node #0,1
Current State: 70:[26, 45, 8], Operations: ['98-90=8']
Exploring Operation: 26+8=34, Resulting Numbers: [45, 34]
Generated Node #0,1,0: 70:[45, 34] Operation: 26+8=34
Exploring Operation: 45-26=19, Resulting Numbers: [8, 19]
Generated Node #0,1,1: 70:[8, 19] Operation: 45-26=19
Exploring Operation: 26+45=71, Resulting Numbers: [8, 71]
Generated Node #0,1,2: 70:[8, 71] Operation: 26+45=71
Moving to Node #0,0
Current State: 70:[90, 45, 72], Operations: ['98-26=72']
Exploring Operation: 90-45=45, Resulting Numbers: [72, 45]
Generated Node #0,0,0: 70:[72, 45] Operation: 90-45=45
Exploring Operation: 90/45=2, Resulting Numbers: [72, 2]
Generated Node #0,0,1: 70:[72, 2] Operation: 90/45=2
Exploring Operation: 90-72=18, Resulting Numbers: [45, 18]
Generated Node #0,0,2: 70:[45, 18] Operation: 90-72=18
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[72, 2], Operations: ['98-26=72', '90/45=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[98, 26, 90, 45], Operations: []
Exploring Operation: 98-26=72, Resulting Numbers: [90, 45, 72]
Generated Node #0,0: 70:[90, 45, 72] Operation: 98-26=72
Moving to Node #0,0
Current State: 70:[90, 45, 72], Operations: ['98-26=72']
Exploring Operation: 90/45=2, Resulting Numbers: [72, 2]
Generated Node #0,0,1: 70:[72, 2] Operation: 90/45=2
Moving to Node #0,0,1
Current State: 70:[72, 2], Operations: ['98-26=72', '90/45=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
80,
43,
46,
70
] | 99 | [
"80+43=123",
"70-46=24",
"123-24=99"
] | Current State: 99:[80, 43, 46, 70], Operations: []
Exploring Operation: 80+43=123, Resulting Numbers: [46, 70, 123]
Generated Node #2: [46, 70, 123] from Operation: 80+43=123
Current State: 99:[46, 70, 123], Operations: ['80+43=123']
Exploring Operation: 70-46=24, Resulting Numbers: [123, 24]
Generated Node #3: [123, 24] from Operation: 70-46=24
Current State: 99:[123, 24], Operations: ['80+43=123', '70-46=24']
Exploring Operation: 123-24=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[80, 43, 46, 70], Operations: []
Exploring Operation: 80-70=10, Resulting Numbers: [43, 46, 10]
Generated Node #0,0: 99:[43, 46, 10] Operation: 80-70=10
Exploring Operation: 70-43=27, Resulting Numbers: [80, 46, 27]
Generated Node #0,1: 99:[80, 46, 27] Operation: 70-43=27
Moving to Node #0,0
Current State: 99:[43, 46, 10], Operations: ['80-70=10']
Exploring Operation: 46-43=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 99:[10, 3] Operation: 46-43=3
Exploring Operation: 43+46=89, Resulting Numbers: [10, 89]
Generated Node #0,0,1: 99:[10, 89] Operation: 43+46=89
Moving to Node #0,1
Current State: 99:[80, 46, 27], Operations: ['70-43=27']
Exploring Operation: 80+27=107, Resulting Numbers: [46, 107]
Generated Node #0,1,0: 99:[46, 107] Operation: 80+27=107
Exploring Operation: 80-46=34, Resulting Numbers: [27, 34]
Generated Node #0,1,1: 99:[27, 34] Operation: 80-46=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[27, 34], Operations: ['70-43=27', '80-46=34']
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,99 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[46, 107], Operations: ['70-43=27', '80+27=107']
Exploring Operation: 46+107=153, Resulting Numbers: [153]
153,99 unequal: No Solution
Exploring Operation: 107-46=61, Resulting Numbers: [61]
61,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 99:[10, 3], Operations: ['80-70=10', '46-43=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[10, 89], Operations: ['80-70=10', '43+46=89']
Exploring Operation: 10+89=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[80, 43, 46, 70], Operations: []
Exploring Operation: 80-70=10, Resulting Numbers: [43, 46, 10]
Generated Node #0,0: 99:[43, 46, 10] Operation: 80-70=10
Moving to Node #0,0
Current State: 99:[43, 46, 10], Operations: ['80-70=10']
Exploring Operation: 43+46=89, Resulting Numbers: [10, 89]
Generated Node #0,0,1: 99:[10, 89] Operation: 43+46=89
Moving to Node #0,0,1
Current State: 99:[10, 89], Operations: ['80-70=10', '43+46=89']
Exploring Operation: 10+89=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
10,
84,
55,
8
] | 31 | [
"10+84=94",
"55+8=63",
"94-63=31"
] | Current State: 31:[10, 84, 55, 8], Operations: []
Exploring Operation: 10+84=94, Resulting Numbers: [55, 8, 94]
Generated Node #2: [55, 8, 94] from Operation: 10+84=94
Current State: 31:[55, 8, 94], Operations: ['10+84=94']
Exploring Operation: 55+8=63, Resulting Numbers: [94, 63]
Generated Node #3: [94, 63] from Operation: 55+8=63
Current State: 31:[94, 63], Operations: ['10+84=94', '55+8=63']
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[10, 84, 55, 8], Operations: []
Exploring Operation: 84-55=29, Resulting Numbers: [10, 8, 29]
Generated Node #0,0: 31:[10, 8, 29] Operation: 84-55=29
Exploring Operation: 84-10=74, Resulting Numbers: [55, 8, 74]
Generated Node #0,1: 31:[55, 8, 74] Operation: 84-10=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[10, 8, 29], Operations: ['84-55=29']
Exploring Operation: 10+8=18, Resulting Numbers: [29, 18]
Generated Node #0,0,0: 31:[29, 18] Operation: 10+8=18
Exploring Operation: 8+29=37, Resulting Numbers: [10, 37]
Generated Node #0,0,1: 31:[10, 37] Operation: 8+29=37
Moving to Node #0,0,0
Current State: 31:[29, 18], Operations: ['84-55=29', '10+8=18']
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[10, 37], Operations: ['84-55=29', '8+29=37']
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[55, 8, 74], Operations: ['84-10=74']
Exploring Operation: 74-55=19, Resulting Numbers: [8, 19]
Generated Node #0,1,0: 31:[8, 19] Operation: 74-55=19
Exploring Operation: 55-8=47, Resulting Numbers: [74, 47]
Generated Node #0,1,1: 31:[74, 47] Operation: 55-8=47
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[8, 19], Operations: ['84-10=74', '74-55=19']
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,31 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,31 unequal: No Solution
No 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: 31:[74, 47], Operations: ['84-10=74', '55-8=47']
Exploring Operation: 74-47=27, Resulting Numbers: [27]
27,31 unequal: No Solution
Exploring Operation: 74+47=121, Resulting Numbers: [121]
121,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
69,
56,
29,
42
] | 26 | [
"69-56=13",
"42-29=13",
"13+13=26"
] | Current State: 26:[69, 56, 29, 42], Operations: []
Exploring Operation: 69-56=13, Resulting Numbers: [29, 42, 13]
Generated Node #2: [29, 42, 13] from Operation: 69-56=13
Current State: 26:[29, 42, 13], Operations: ['69-56=13']
Exploring Operation: 42-29=13, Resulting Numbers: [13, 13]
Generated Node #3: [13, 13] from Operation: 42-29=13
Current State: 26:[13, 13], Operations: ['69-56=13', '42-29=13']
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[69, 56, 29, 42], Operations: []
Exploring Operation: 56-42=14, Resulting Numbers: [69, 29, 14]
Generated Node #0,0: 26:[69, 29, 14] Operation: 56-42=14
Exploring Operation: 69-42=27, Resulting Numbers: [56, 29, 27]
Generated Node #0,1: 26:[56, 29, 27] Operation: 69-42=27
Exploring Operation: 69-56=13, Resulting Numbers: [29, 42, 13]
Generated Node #0,2: 26:[29, 42, 13] Operation: 69-56=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[29, 42, 13], Operations: ['69-56=13']
Exploring Operation: 42-13=29, Resulting Numbers: [29, 29]
Generated Node #0,2,0: 26:[29, 29] Operation: 42-13=29
Exploring Operation: 29-13=16, Resulting Numbers: [42, 16]
Generated Node #0,2,1: 26:[42, 16] Operation: 29-13=16
Exploring Operation: 42-29=13, Resulting Numbers: [13, 13]
Generated Node #0,2,2: 26:[13, 13] Operation: 42-29=13
Moving to Node #0,2,2
Current State: 26:[13, 13], Operations: ['69-56=13', '42-29=13']
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,26 unequal: No Solution
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[69, 56, 29, 42], Operations: []
Exploring Operation: 69-56=13, Resulting Numbers: [29, 42, 13]
Generated Node #0,2: 26:[29, 42, 13] Operation: 69-56=13
Moving to Node #0,2
Current State: 26:[29, 42, 13], Operations: ['69-56=13']
Exploring Operation: 42-29=13, Resulting Numbers: [13, 13]
Generated Node #0,2,2: 26:[13, 13] Operation: 42-29=13
Moving to Node #0,2,2
Current State: 26:[13, 13], Operations: ['69-56=13', '42-29=13']
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
39,
95,
80,
91
] | 76 | [
"95-91=4",
"39*4=156",
"156-80=76"
] | Current State: 76:[39, 95, 80, 91], Operations: []
Exploring Operation: 95-91=4, Resulting Numbers: [39, 80, 4]
Generated Node #2: [39, 80, 4] from Operation: 95-91=4
Current State: 76:[39, 80, 4], Operations: ['95-91=4']
Exploring Operation: 39*4=156, Resulting Numbers: [80, 156]
Generated Node #3: [80, 156] from Operation: 39*4=156
Current State: 76:[80, 156], Operations: ['95-91=4', '39*4=156']
Exploring Operation: 156-80=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[39, 95, 80, 91], Operations: []
Exploring Operation: 95-91=4, Resulting Numbers: [39, 80, 4]
Generated Node #0,0: 76:[39, 80, 4] Operation: 95-91=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[39, 80, 4], Operations: ['95-91=4']
Exploring Operation: 80-4=76, Resulting Numbers: [39, 76]
Generated Node #0,0,0: 76:[39, 76] Operation: 80-4=76
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[39, 76], Operations: ['95-91=4', '80-4=76']
Exploring Operation: 76-39=37, Resulting Numbers: [37]
37,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
8,
71,
14,
23
] | 64 | [
"8*14=112",
"71-23=48",
"112-48=64"
] | Current State: 64:[8, 71, 14, 23], Operations: []
Exploring Operation: 8*14=112, Resulting Numbers: [71, 23, 112]
Generated Node #2: [71, 23, 112] from Operation: 8*14=112
Current State: 64:[71, 23, 112], Operations: ['8*14=112']
Exploring Operation: 71-23=48, Resulting Numbers: [112, 48]
Generated Node #3: [112, 48] from Operation: 71-23=48
Current State: 64:[112, 48], Operations: ['8*14=112', '71-23=48']
Exploring Operation: 112-48=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[8, 71, 14, 23], Operations: []
Exploring Operation: 71-8=63, Resulting Numbers: [14, 23, 63]
Generated Node #0,0: 64:[14, 23, 63] Operation: 71-8=63
Exploring Operation: 23-14=9, Resulting Numbers: [8, 71, 9]
Generated Node #0,1: 64:[8, 71, 9] Operation: 23-14=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[8, 71, 9], Operations: ['23-14=9']
Exploring Operation: 71-9=62, Resulting Numbers: [8, 62]
Generated Node #0,1,0: 64:[8, 62] Operation: 71-9=62
Exploring Operation: 71-8=63, Resulting Numbers: [9, 63]
Generated Node #0,1,1: 64:[9, 63] Operation: 71-8=63
Moving to Node #0,1,0
Current State: 64:[8, 62], Operations: ['23-14=9', '71-9=62']
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 8+62=70, Resulting Numbers: [70]
70,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[9, 63], Operations: ['23-14=9', '71-8=63']
Exploring Operation: 9+63=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,64 unequal: No Solution
No 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: 64:[14, 23, 63], Operations: ['71-8=63']
Exploring Operation: 23-14=9, Resulting Numbers: [63, 9]
Generated Node #0,0,0: 64:[63, 9] Operation: 23-14=9
Exploring Operation: 14+23=37, Resulting Numbers: [63, 37]
Generated Node #0,0,1: 64:[63, 37] Operation: 14+23=37
Moving to Node #0,0,0
Current State: 64:[63, 9], Operations: ['71-8=63', '23-14=9']
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 63+9=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[63, 37], Operations: ['71-8=63', '14+23=37']
Exploring Operation: 63-37=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 63+37=100, Resulting Numbers: [100]
100,64 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 |
[
19,
54,
56,
91
] | 53 | [
"56-54=2",
"19*2=38",
"91-38=53"
] | Current State: 53:[19, 54, 56, 91], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [19, 91, 2]
Generated Node #2: [19, 91, 2] from Operation: 56-54=2
Current State: 53:[19, 91, 2], Operations: ['56-54=2']
Exploring Operation: 19*2=38, Resulting Numbers: [91, 38]
Generated Node #3: [91, 38] from Operation: 19*2=38
Current State: 53:[91, 38], Operations: ['56-54=2', '19*2=38']
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[19, 54, 56, 91], Operations: []
Exploring Operation: 56-19=37, Resulting Numbers: [54, 91, 37]
Generated Node #0,0: 53:[54, 91, 37] Operation: 56-19=37
Exploring Operation: 91-56=35, Resulting Numbers: [19, 54, 35]
Generated Node #0,1: 53:[19, 54, 35] Operation: 91-56=35
Exploring Operation: 91-54=37, Resulting Numbers: [19, 56, 37]
Generated Node #0,2: 53:[19, 56, 37] Operation: 91-54=37
Exploring Operation: 91-19=72, Resulting Numbers: [54, 56, 72]
Generated Node #0,3: 53:[54, 56, 72] Operation: 91-19=72
Start Sub Search at level 1: Moving to Node #0,3
Current State: 53:[54, 56, 72], Operations: ['91-19=72']
Exploring Operation: 72-54=18, Resulting Numbers: [56, 18]
Generated Node #0,3,0: 53:[56, 18] Operation: 72-54=18
Exploring Operation: 54+56=110, Resulting Numbers: [72, 110]
Generated Node #0,3,1: 53:[72, 110] Operation: 54+56=110
Exploring Operation: 56-54=2, Resulting Numbers: [72, 2]
Generated Node #0,3,2: 53:[72, 2] Operation: 56-54=2
Exploring Operation: 72-56=16, Resulting Numbers: [54, 16]
Generated Node #0,3,3: 53:[54, 16] Operation: 72-56=16
Moving to Node #0,3,0
Current State: 53:[56, 18], Operations: ['91-19=72', '72-54=18']
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,53 unequal: No Solution
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,53 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[54, 16], Operations: ['91-19=72', '72-56=16']
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,53 unequal: No Solution
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[72, 2], Operations: ['91-19=72', '56-54=2']
Exploring Operation: 72*2=144, Resulting Numbers: [144]
144,53 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[72, 110], Operations: ['91-19=72', '54+56=110']
Exploring Operation: 72+110=182, Resulting Numbers: [182]
182,53 unequal: No Solution
Exploring Operation: 110-72=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 72*110=7920, Resulting Numbers: [7920]
7920,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[19, 54, 35], Operations: ['91-56=35']
Exploring Operation: 19+54=73, Resulting Numbers: [35, 73]
Generated Node #0,1,0: 53:[35, 73] Operation: 19+54=73
Exploring Operation: 19+35=54, Resulting Numbers: [54, 54]
Generated Node #0,1,1: 53:[54, 54] Operation: 19+35=54
Exploring Operation: 54-19=35, Resulting Numbers: [35, 35]
Generated Node #0,1,2: 53:[35, 35] Operation: 54-19=35
Exploring Operation: 35-19=16, Resulting Numbers: [54, 16]
Generated Node #0,1,3: 53:[54, 16] Operation: 35-19=16
Moving to Node #0,1,1
Current State: 53:[54, 54], Operations: ['91-56=35', '19+35=54']
Exploring Operation: 54/54=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 54+54=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 54*54=2916, Resulting Numbers: [2916]
2916,53 unequal: No Solution
Exploring Operation: 54-54=0, Resulting Numbers: [0]
0,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[35, 35], Operations: ['91-56=35', '54-19=35']
Exploring Operation: 35+35=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Exploring Operation: 35*35=1225, Resulting Numbers: [1225]
1225,53 unequal: No Solution
Exploring Operation: 35-35=0, Resulting Numbers: [0]
0,53 unequal: No Solution
Exploring Operation: 35/35=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[54, 16], Operations: ['91-56=35', '35-19=16']
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,53 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[35, 73], Operations: ['91-56=35', '19+54=73']
Exploring Operation: 35+73=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 35*73=2555, Resulting Numbers: [2555]
2555,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,2
Current State: 53:[19, 56, 37], Operations: ['91-54=37']
Exploring Operation: 19+56=75, Resulting Numbers: [37, 75]
Generated Node #0,2,0: 53:[37, 75] Operation: 19+56=75
Exploring Operation: 37-19=18, Resulting Numbers: [56, 18]
Generated Node #0,2,1: 53:[56, 18] Operation: 37-19=18
Exploring Operation: 56-19=37, Resulting Numbers: [37, 37]
Generated Node #0,2,2: 53:[37, 37] Operation: 56-19=37
Exploring Operation: 19+37=56, Resulting Numbers: [56, 56]
Generated Node #0,2,3: 53:[56, 56] Operation: 19+37=56
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 53:[56, 56], Operations: ['91-54=37', '19+37=56']
Exploring Operation: 56*56=3136, Resulting Numbers: [3136]
3136,53 unequal: No Solution
Exploring Operation: 56-56=0, Resulting Numbers: [0]
0,53 unequal: No Solution
Exploring Operation: 56/56=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 56+56=112, Resulting Numbers: [112]
112,53 unequal: No Solution
No 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: 53:[37, 37], Operations: ['91-54=37', '56-19=37']
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,53 unequal: No Solution
Exploring Operation: 37*37=1369, Resulting Numbers: [1369]
1369,53 unequal: No Solution
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,53 unequal: No Solution
No 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: 53:[37, 75], Operations: ['91-54=37', '19+56=75']
Exploring Operation: 37*75=2775, Resulting Numbers: [2775]
2775,53 unequal: No Solution
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 37+75=112, Resulting Numbers: [112]
112,53 unequal: No Solution
No 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: 53:[56, 18], Operations: ['91-54=37', '37-19=18']
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,53 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[54, 91, 37], Operations: ['56-19=37']
Exploring Operation: 54+37=91, Resulting Numbers: [91, 91]
Generated Node #0,0,0: 53:[91, 91] Operation: 54+37=91
Exploring Operation: 91-37=54, Resulting Numbers: [54, 54]
Generated Node #0,0,1: 53:[54, 54] Operation: 91-37=54
Exploring Operation: 91-54=37, Resulting Numbers: [37, 37]
Generated Node #0,0,2: 53:[37, 37] Operation: 91-54=37
Exploring Operation: 54-37=17, Resulting Numbers: [91, 17]
Generated Node #0,0,3: 53:[91, 17] Operation: 54-37=17
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[54, 54], Operations: ['56-19=37', '91-37=54']
Exploring Operation: 54*54=2916, Resulting Numbers: [2916]
2916,53 unequal: No Solution
Exploring Operation: 54-54=0, Resulting Numbers: [0]
0,53 unequal: No Solution
Exploring Operation: 54/54=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 54+54=108, Resulting Numbers: [108]
108,53 unequal: No Solution
No 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: 53:[37, 37], Operations: ['56-19=37', '91-54=37']
Exploring Operation: 37*37=1369, Resulting Numbers: [1369]
1369,53 unequal: No Solution
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,53 unequal: No Solution
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,53 unequal: No Solution
No 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: 53:[91, 17], Operations: ['56-19=37', '54-37=17']
Exploring Operation: 91*17=1547, Resulting Numbers: [1547]
1547,53 unequal: No Solution
Exploring Operation: 91+17=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 91-17=74, Resulting Numbers: [74]
74,53 unequal: No Solution
No 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: 53:[91, 91], Operations: ['56-19=37', '54+37=91']
Exploring Operation: 91/91=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 91-91=0, Resulting Numbers: [0]
0,53 unequal: No Solution
Exploring Operation: 91*91=8281, Resulting Numbers: [8281]
8281,53 unequal: No Solution
Exploring Operation: 91+91=182, Resulting Numbers: [182]
182,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
59,
19,
73,
46
] | 13 | [
"59-19=40",
"73-46=27",
"40-27=13"
] | Current State: 13:[59, 19, 73, 46], Operations: []
Exploring Operation: 59-19=40, Resulting Numbers: [73, 46, 40]
Generated Node #2: [73, 46, 40] from Operation: 59-19=40
Current State: 13:[73, 46, 40], Operations: ['59-19=40']
Exploring Operation: 73-46=27, Resulting Numbers: [40, 27]
Generated Node #3: [40, 27] from Operation: 73-46=27
Current State: 13:[40, 27], Operations: ['59-19=40', '73-46=27']
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[59, 19, 73, 46], Operations: []
Exploring Operation: 73-59=14, Resulting Numbers: [19, 46, 14]
Generated Node #0,0: 13:[19, 46, 14] Operation: 73-59=14
Exploring Operation: 59-46=13, Resulting Numbers: [19, 73, 13]
Generated Node #0,1: 13:[19, 73, 13] Operation: 59-46=13
Moving to Node #0,0
Current State: 13:[19, 46, 14], Operations: ['73-59=14']
Exploring Operation: 46-14=32, Resulting Numbers: [19, 32]
Generated Node #0,0,0: 13:[19, 32] Operation: 46-14=32
Exploring Operation: 46-19=27, Resulting Numbers: [14, 27]
Generated Node #0,0,1: 13:[14, 27] Operation: 46-19=27
Moving to Node #0,1
Current State: 13:[19, 73, 13], Operations: ['59-46=13']
Exploring Operation: 73-13=60, Resulting Numbers: [19, 60]
Generated Node #0,1,0: 13:[19, 60] Operation: 73-13=60
Exploring Operation: 73-19=54, Resulting Numbers: [13, 54]
Generated Node #0,1,1: 13:[13, 54] Operation: 73-19=54
Moving to Node #0,0,1
Current State: 13:[14, 27], Operations: ['73-59=14', '46-19=27']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[59, 19, 73, 46], Operations: []
Exploring Operation: 73-59=14, Resulting Numbers: [19, 46, 14]
Generated Node #0,0: 13:[19, 46, 14] Operation: 73-59=14
Moving to Node #0,0
Current State: 13:[19, 46, 14], Operations: ['73-59=14']
Exploring Operation: 46-19=27, Resulting Numbers: [14, 27]
Generated Node #0,0,1: 13:[14, 27] Operation: 46-19=27
Moving to Node #0,0,1
Current State: 13:[14, 27], Operations: ['73-59=14', '46-19=27']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
57,
95,
73,
1
] | 36 | [
"95-57=38",
"73+1=74",
"74-38=36"
] | Current State: 36:[57, 95, 73, 1], Operations: []
Exploring Operation: 95-57=38, Resulting Numbers: [73, 1, 38]
Generated Node #2: [73, 1, 38] from Operation: 95-57=38
Current State: 36:[73, 1, 38], Operations: ['95-57=38']
Exploring Operation: 73+1=74, Resulting Numbers: [38, 74]
Generated Node #3: [38, 74] from Operation: 73+1=74
Current State: 36:[38, 74], Operations: ['95-57=38', '73+1=74']
Exploring Operation: 74-38=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[57, 95, 73, 1], Operations: []
Exploring Operation: 95-57=38, Resulting Numbers: [73, 1, 38]
Generated Node #0,0: 36:[73, 1, 38] Operation: 95-57=38
Exploring Operation: 95-73=22, Resulting Numbers: [57, 1, 22]
Generated Node #0,1: 36:[57, 1, 22] Operation: 95-73=22
Moving to Node #0,1
Current State: 36:[57, 1, 22], Operations: ['95-73=22']
Exploring Operation: 57-22=35, Resulting Numbers: [1, 35]
Generated Node #0,1,0: 36:[1, 35] Operation: 57-22=35
Exploring Operation: 57-1=56, Resulting Numbers: [22, 56]
Generated Node #0,1,1: 36:[22, 56] Operation: 57-1=56
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[1, 35], Operations: ['95-73=22', '57-22=35']
Exploring Operation: 1+35=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[57, 95, 73, 1], Operations: []
Exploring Operation: 95-73=22, Resulting Numbers: [57, 1, 22]
Generated Node #0,1: 36:[57, 1, 22] Operation: 95-73=22
Moving to Node #0,1
Current State: 36:[57, 1, 22], Operations: ['95-73=22']
Exploring Operation: 57-22=35, Resulting Numbers: [1, 35]
Generated Node #0,1,0: 36:[1, 35] Operation: 57-22=35
Moving to Node #0,1,0
Current State: 36:[1, 35], Operations: ['95-73=22', '57-22=35']
Exploring Operation: 1+35=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
2,
11,
58,
10
] | 72 | [
"2+11=13",
"10*13=130",
"130-58=72"
] | Current State: 72:[2, 11, 58, 10], Operations: []
Exploring Operation: 2+11=13, Resulting Numbers: [58, 10, 13]
Generated Node #2: [58, 10, 13] from Operation: 2+11=13
Current State: 72:[58, 10, 13], Operations: ['2+11=13']
Exploring Operation: 10*13=130, Resulting Numbers: [58, 130]
Generated Node #3: [58, 130] from Operation: 10*13=130
Current State: 72:[58, 130], Operations: ['2+11=13', '10*13=130']
Exploring Operation: 130-58=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[2, 11, 58, 10], Operations: []
Exploring Operation: 11+58=69, Resulting Numbers: [2, 10, 69]
Generated Node #0,0: 72:[2, 10, 69] Operation: 11+58=69
Exploring Operation: 58+10=68, Resulting Numbers: [2, 11, 68]
Generated Node #0,1: 72:[2, 11, 68] Operation: 58+10=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[2, 10, 69], Operations: ['11+58=69']
Exploring Operation: 2+10=12, Resulting Numbers: [69, 12]
Generated Node #0,0,0: 72:[69, 12] Operation: 2+10=12
Exploring Operation: 2+69=71, Resulting Numbers: [10, 71]
Generated Node #0,0,1: 72:[10, 71] Operation: 2+69=71
Moving to Node #0,0,1
Current State: 72:[10, 71], Operations: ['11+58=69', '2+69=71']
Exploring Operation: 10+71=81, Resulting Numbers: [81]
81,72 unequal: No Solution
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[69, 12], Operations: ['11+58=69', '2+10=12']
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,72 unequal: No Solution
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[2, 11, 68], Operations: ['58+10=68']
Exploring Operation: 68/2=34, Resulting Numbers: [11, 34]
Generated Node #0,1,0: 72:[11, 34] Operation: 68/2=34
Exploring Operation: 2+68=70, Resulting Numbers: [11, 70]
Generated Node #0,1,1: 72:[11, 70] Operation: 2+68=70
Moving to Node #0,1,0
Current State: 72:[11, 34], Operations: ['58+10=68', '68/2=34']
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,72 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[11, 70], Operations: ['58+10=68', '2+68=70']
Exploring Operation: 11+70=81, Resulting Numbers: [81]
81,72 unequal: No Solution
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,72 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.