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 |
|---|---|---|---|---|---|---|---|---|
[
10,
95,
11,
29
] | 89 | [
"10*95=950",
"29+950=979",
"979/11=89"
] | Current State: 89:[10, 95, 11, 29], Operations: []
Exploring Operation: 10*95=950, Resulting Numbers: [11, 29, 950]
Generated Node #2: [11, 29, 950] from Operation: 10*95=950
Current State: 89:[11, 29, 950], Operations: ['10*95=950']
Exploring Operation: 29+950=979, Resulting Numbers: [11, 979]
Generated Node #3: [11, 979] from Operation: 29+950=979
Current State: 89:[11, 979], Operations: ['10*95=950', '29+950=979']
Exploring Operation: 979/11=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[10, 95, 11, 29], Operations: []
Exploring Operation: 10*11=110, Resulting Numbers: [95, 29, 110]
Generated Node #0,0: 89:[95, 29, 110] Operation: 10*11=110
Exploring Operation: 10+11=21, Resulting Numbers: [95, 29, 21]
Generated Node #0,1: 89:[95, 29, 21] Operation: 10+11=21
Moving to Node #0,0
Current State: 89:[95, 29, 110], Operations: ['10*11=110']
Exploring Operation: 110-29=81, Resulting Numbers: [95, 81]
Generated Node #0,0,0: 89:[95, 81] Operation: 110-29=81
Exploring Operation: 95-29=66, Resulting Numbers: [110, 66]
Generated Node #0,0,1: 89:[110, 66] Operation: 95-29=66
Moving to Node #0,1
Current State: 89:[95, 29, 21], Operations: ['10+11=21']
Exploring Operation: 29+21=50, Resulting Numbers: [95, 50]
Generated Node #0,1,0: 89:[95, 50] Operation: 29+21=50
Exploring Operation: 95-21=74, Resulting Numbers: [29, 74]
Generated Node #0,1,1: 89:[29, 74] Operation: 95-21=74
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[95, 50], Operations: ['10+11=21', '29+21=50']
Exploring Operation: 95+50=145, Resulting Numbers: [145]
145,89 unequal: No Solution
Exploring Operation: 95-50=45, Resulting Numbers: [45]
45,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[29, 74], Operations: ['10+11=21', '95-21=74']
Exploring Operation: 74-29=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 29+74=103, Resulting Numbers: [103]
103,89 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: 89:[95, 81], Operations: ['10*11=110', '110-29=81']
Exploring Operation: 95+81=176, Resulting Numbers: [176]
176,89 unequal: No Solution
Exploring Operation: 95-81=14, Resulting Numbers: [14]
14,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[110, 66], Operations: ['10*11=110', '95-29=66']
Exploring Operation: 110+66=176, Resulting Numbers: [176]
176,89 unequal: No Solution
Exploring Operation: 110-66=44, Resulting Numbers: [44]
44,89 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
99,
95,
55,
19
] | 32 | [
"99-95=4",
"55-19=36",
"36-4=32"
] | Current State: 32:[99, 95, 55, 19], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [55, 19, 4]
Generated Node #2: [55, 19, 4] from Operation: 99-95=4
Current State: 32:[55, 19, 4], Operations: ['99-95=4']
Exploring Operation: 55-19=36, Resulting Numbers: [4, 36]
Generated Node #3: [4, 36] from Operation: 55-19=36
Current State: 32:[4, 36], Operations: ['99-95=4', '55-19=36']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[99, 95, 55, 19], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [55, 19, 4]
Generated Node #0,0: 32:[55, 19, 4] Operation: 99-95=4
Moving to Node #0,0
Current State: 32:[55, 19, 4], Operations: ['99-95=4']
Exploring Operation: 55-19=36, Resulting Numbers: [4, 36]
Generated Node #0,0,0: 32:[4, 36] Operation: 55-19=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[4, 36], Operations: ['99-95=4', '55-19=36']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[99, 95, 55, 19], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [55, 19, 4]
Generated Node #0,0: 32:[55, 19, 4] Operation: 99-95=4
Moving to Node #0,0
Current State: 32:[55, 19, 4], Operations: ['99-95=4']
Exploring Operation: 55-19=36, Resulting Numbers: [4, 36]
Generated Node #0,0,0: 32:[4, 36] Operation: 55-19=36
Moving to Node #0,0,0
Current State: 32:[4, 36], Operations: ['99-95=4', '55-19=36']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
90,
16,
20,
21
] | 33 | [
"90-16=74",
"20+21=41",
"74-41=33"
] | Current State: 33:[90, 16, 20, 21], Operations: []
Exploring Operation: 90-16=74, Resulting Numbers: [20, 21, 74]
Generated Node #2: [20, 21, 74] from Operation: 90-16=74
Current State: 33:[20, 21, 74], Operations: ['90-16=74']
Exploring Operation: 20+21=41, Resulting Numbers: [74, 41]
Generated Node #3: [74, 41] from Operation: 20+21=41
Current State: 33:[74, 41], Operations: ['90-16=74', '20+21=41']
Exploring Operation: 74-41=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[90, 16, 20, 21], Operations: []
Exploring Operation: 90-21=69, Resulting Numbers: [16, 20, 69]
Generated Node #0,0: 33:[16, 20, 69] Operation: 90-21=69
Exploring Operation: 20-16=4, Resulting Numbers: [90, 21, 4]
Generated Node #0,1: 33:[90, 21, 4] Operation: 20-16=4
Exploring Operation: 21-20=1, Resulting Numbers: [90, 16, 1]
Generated Node #0,2: 33:[90, 16, 1] Operation: 21-20=1
Exploring Operation: 90-20=70, Resulting Numbers: [16, 21, 70]
Generated Node #0,3: 33:[16, 21, 70] Operation: 90-20=70
Exploring Operation: 90-16=74, Resulting Numbers: [20, 21, 74]
Generated Node #0,4: 33:[20, 21, 74] Operation: 90-16=74
Moving to Node #0,0
Current State: 33:[16, 20, 69], Operations: ['90-21=69']
Exploring Operation: 69-20=49, Resulting Numbers: [16, 49]
Generated Node #0,0,0: 33:[16, 49] Operation: 69-20=49
Exploring Operation: 16+20=36, Resulting Numbers: [69, 36]
Generated Node #0,0,1: 33:[69, 36] Operation: 16+20=36
Exploring Operation: 20-16=4, Resulting Numbers: [69, 4]
Generated Node #0,0,2: 33:[69, 4] Operation: 20-16=4
Exploring Operation: 69-16=53, Resulting Numbers: [20, 53]
Generated Node #0,0,3: 33:[20, 53] Operation: 69-16=53
Exploring Operation: 16+69=85, Resulting Numbers: [20, 85]
Generated Node #0,0,4: 33:[20, 85] Operation: 16+69=85
Moving to Node #0,3
Current State: 33:[16, 21, 70], Operations: ['90-20=70']
Exploring Operation: 70-16=54, Resulting Numbers: [21, 54]
Generated Node #0,3,0: 33:[21, 54] Operation: 70-16=54
Exploring Operation: 21-16=5, Resulting Numbers: [70, 5]
Generated Node #0,3,1: 33:[70, 5] Operation: 21-16=5
Exploring Operation: 70-21=49, Resulting Numbers: [16, 49]
Generated Node #0,3,2: 33:[16, 49] Operation: 70-21=49
Exploring Operation: 16+21=37, Resulting Numbers: [70, 37]
Generated Node #0,3,3: 33:[70, 37] Operation: 16+21=37
Exploring Operation: 16+70=86, Resulting Numbers: [21, 86]
Generated Node #0,3,4: 33:[21, 86] Operation: 16+70=86
Moving to Node #0,4
Current State: 33:[20, 21, 74], Operations: ['90-16=74']
Exploring Operation: 74-21=53, Resulting Numbers: [20, 53]
Generated Node #0,4,0: 33:[20, 53] Operation: 74-21=53
Exploring Operation: 20+74=94, Resulting Numbers: [21, 94]
Generated Node #0,4,1: 33:[21, 94] Operation: 20+74=94
Exploring Operation: 21-20=1, Resulting Numbers: [74, 1]
Generated Node #0,4,2: 33:[74, 1] Operation: 21-20=1
Exploring Operation: 74-20=54, Resulting Numbers: [21, 54]
Generated Node #0,4,3: 33:[21, 54] Operation: 74-20=54
Exploring Operation: 20+21=41, Resulting Numbers: [74, 41]
Generated Node #0,4,4: 33:[74, 41] Operation: 20+21=41
Moving to Node #0,2
Current State: 33:[90, 16, 1], Operations: ['21-20=1']
Exploring Operation: 90/1=90, Resulting Numbers: [16, 90]
Generated Node #0,2,0: 33:[16, 90] Operation: 90/1=90
Exploring Operation: 90*1=90, Resulting Numbers: [16, 90]
Generated Node #0,2,1: 33:[16, 90] Operation: 90*1=90
Exploring Operation: 90-16=74, Resulting Numbers: [1, 74]
Generated Node #0,2,2: 33:[1, 74] Operation: 90-16=74
Exploring Operation: 16-1=15, Resulting Numbers: [90, 15]
Generated Node #0,2,3: 33:[90, 15] Operation: 16-1=15
Exploring Operation: 90-1=89, Resulting Numbers: [16, 89]
Generated Node #0,2,4: 33:[16, 89] Operation: 90-1=89
Moving to Node #0,1
Current State: 33:[90, 21, 4], Operations: ['20-16=4']
Exploring Operation: 90-4=86, Resulting Numbers: [21, 86]
Generated Node #0,1,0: 33:[21, 86] Operation: 90-4=86
Exploring Operation: 21-4=17, Resulting Numbers: [90, 17]
Generated Node #0,1,1: 33:[90, 17] Operation: 21-4=17
Exploring Operation: 90+4=94, Resulting Numbers: [21, 94]
Generated Node #0,1,2: 33:[21, 94] Operation: 90+4=94
Exploring Operation: 90-21=69, Resulting Numbers: [4, 69]
Generated Node #0,1,3: 33:[4, 69] Operation: 90-21=69
Exploring Operation: 21+4=25, Resulting Numbers: [90, 25]
Generated Node #0,1,4: 33:[90, 25] Operation: 21+4=25
Moving to Node #0,0,0
Current State: 33:[16, 49], Operations: ['90-21=69', '69-20=49']
Exploring Operation: 49-16=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[90, 16, 20, 21], Operations: []
Exploring Operation: 90-21=69, Resulting Numbers: [16, 20, 69]
Generated Node #0,0: 33:[16, 20, 69] Operation: 90-21=69
Moving to Node #0,0
Current State: 33:[16, 20, 69], Operations: ['90-21=69']
Exploring Operation: 69-20=49, Resulting Numbers: [16, 49]
Generated Node #0,0,0: 33:[16, 49] Operation: 69-20=49
Moving to Node #0,0,0
Current State: 33:[16, 49], Operations: ['90-21=69', '69-20=49']
Exploring Operation: 49-16=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 0.969618 | hs_5 | mult_heuristic |
[
28,
44,
75,
51
] | 12 | [
"28*51=1428",
"44+75=119",
"1428/119=12"
] | Current State: 12:[28, 44, 75, 51], Operations: []
Exploring Operation: 28*51=1428, Resulting Numbers: [44, 75, 1428]
Generated Node #2: [44, 75, 1428] from Operation: 28*51=1428
Current State: 12:[44, 75, 1428], Operations: ['28*51=1428']
Exploring Operation: 44+75=119, Resulting Numbers: [1428, 119]
Generated Node #3: [1428, 119] from Operation: 44+75=119
Current State: 12:[1428, 119], Operations: ['28*51=1428', '44+75=119']
Exploring Operation: 1428/119=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[28, 44, 75, 51], Operations: []
Exploring Operation: 75-51=24, Resulting Numbers: [28, 44, 24]
Generated Node #0,0: 12:[28, 44, 24] Operation: 75-51=24
Exploring Operation: 75-44=31, Resulting Numbers: [28, 51, 31]
Generated Node #0,1: 12:[28, 51, 31] Operation: 75-44=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[28, 44, 24], Operations: ['75-51=24']
Exploring Operation: 44-28=16, Resulting Numbers: [24, 16]
Generated Node #0,0,0: 12:[24, 16] Operation: 44-28=16
Exploring Operation: 44-24=20, Resulting Numbers: [28, 20]
Generated Node #0,0,1: 12:[28, 20] Operation: 44-24=20
Moving to Node #0,0,0
Current State: 12:[24, 16], Operations: ['75-51=24', '44-28=16']
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,12 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[28, 20], Operations: ['75-51=24', '44-24=20']
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[28, 51, 31], Operations: ['75-44=31']
Exploring Operation: 51-31=20, Resulting Numbers: [28, 20]
Generated Node #0,1,0: 12:[28, 20] Operation: 51-31=20
Exploring Operation: 51-28=23, Resulting Numbers: [31, 23]
Generated Node #0,1,1: 12:[31, 23] Operation: 51-28=23
Moving to Node #0,1,0
Current State: 12:[28, 20], Operations: ['75-44=31', '51-31=20']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[31, 23], Operations: ['75-44=31', '51-28=23']
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,12 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 |
[
2,
21,
38,
42
] | 37 | [
"2*21=42",
"42/42=1",
"38-1=37"
] | Current State: 37:[2, 21, 38, 42], Operations: []
Exploring Operation: 2*21=42, Resulting Numbers: [38, 42, 42]
Generated Node #2: [38, 42, 42] from Operation: 2*21=42
Current State: 37:[38, 42, 42], Operations: ['2*21=42']
Exploring Operation: 42/42=1, Resulting Numbers: [38, 1]
Generated Node #3: [38, 1] from Operation: 42/42=1
Current State: 37:[38, 1], Operations: ['2*21=42', '42/42=1']
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[2, 21, 38, 42], Operations: []
Exploring Operation: 42-2=40, Resulting Numbers: [21, 38, 40]
Generated Node #0,0: 37:[21, 38, 40] Operation: 42-2=40
Exploring Operation: 2+21=23, Resulting Numbers: [38, 42, 23]
Generated Node #0,1: 37:[38, 42, 23] Operation: 2+21=23
Exploring Operation: 2*21=42, Resulting Numbers: [38, 42, 42]
Generated Node #0,2: 37:[38, 42, 42] Operation: 2*21=42
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[38, 42, 42], Operations: ['2*21=42']
Exploring Operation: 42-38=4, Resulting Numbers: [42, 4]
Generated Node #0,2,0: 37:[42, 4] Operation: 42-38=4
Exploring Operation: 42-38=4, Resulting Numbers: [42, 4]
Generated Node #0,2,1: 37:[42, 4] Operation: 42-38=4
Exploring Operation: 42/42=1, Resulting Numbers: [38, 1]
Generated Node #0,2,2: 37:[38, 1] Operation: 42/42=1
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 37:[38, 1], Operations: ['2*21=42', '42/42=1']
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[2, 21, 38, 42], Operations: []
Exploring Operation: 2*21=42, Resulting Numbers: [38, 42, 42]
Generated Node #0,2: 37:[38, 42, 42] Operation: 2*21=42
Moving to Node #0,2
Current State: 37:[38, 42, 42], Operations: ['2*21=42']
Exploring Operation: 42/42=1, Resulting Numbers: [38, 1]
Generated Node #0,2,2: 37:[38, 1] Operation: 42/42=1
Moving to Node #0,2,2
Current State: 37:[38, 1], Operations: ['2*21=42', '42/42=1']
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
42,
4,
1,
29
] | 15 | [
"4-1=3",
"42/3=14",
"29-14=15"
] | Current State: 15:[42, 4, 1, 29], Operations: []
Exploring Operation: 4-1=3, Resulting Numbers: [42, 29, 3]
Generated Node #2: [42, 29, 3] from Operation: 4-1=3
Current State: 15:[42, 29, 3], Operations: ['4-1=3']
Exploring Operation: 42/3=14, Resulting Numbers: [29, 14]
Generated Node #3: [29, 14] from Operation: 42/3=14
Current State: 15:[29, 14], Operations: ['4-1=3', '42/3=14']
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[42, 4, 1, 29], Operations: []
Exploring Operation: 42-4=38, Resulting Numbers: [1, 29, 38]
Generated Node #0,0: 15:[1, 29, 38] Operation: 42-4=38
Exploring Operation: 42-1=41, Resulting Numbers: [4, 29, 41]
Generated Node #0,1: 15:[4, 29, 41] Operation: 42-1=41
Exploring Operation: 42-29=13, Resulting Numbers: [4, 1, 13]
Generated Node #0,2: 15:[4, 1, 13] Operation: 42-29=13
Exploring Operation: 29-4=25, Resulting Numbers: [42, 1, 25]
Generated Node #0,3: 15:[42, 1, 25] Operation: 29-4=25
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[4, 1, 13], Operations: ['42-29=13']
Exploring Operation: 4*1=4, Resulting Numbers: [13, 4]
Generated Node #0,2,0: 15:[13, 4] Operation: 4*1=4
Exploring Operation: 4+1=5, Resulting Numbers: [13, 5]
Generated Node #0,2,1: 15:[13, 5] Operation: 4+1=5
Exploring Operation: 1+13=14, Resulting Numbers: [4, 14]
Generated Node #0,2,2: 15:[4, 14] Operation: 1+13=14
Exploring Operation: 4-1=3, Resulting Numbers: [13, 3]
Generated Node #0,2,3: 15:[13, 3] Operation: 4-1=3
Moving to Node #0,2,1
Current State: 15:[13, 5], Operations: ['42-29=13', '4+1=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,15 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Moving to Node #0,2,3
Current State: 15:[13, 3], Operations: ['42-29=13', '4-1=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[4, 14], Operations: ['42-29=13', '1+13=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[13, 4], Operations: ['42-29=13', '4*1=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[1, 29, 38], Operations: ['42-4=38']
Exploring Operation: 29-1=28, Resulting Numbers: [38, 28]
Generated Node #0,0,0: 15:[38, 28] Operation: 29-1=28
Exploring Operation: 1*29=29, Resulting Numbers: [38, 29]
Generated Node #0,0,1: 15:[38, 29] Operation: 1*29=29
Exploring Operation: 38-29=9, Resulting Numbers: [1, 9]
Generated Node #0,0,2: 15:[1, 9] Operation: 38-29=9
Exploring Operation: 38-1=37, Resulting Numbers: [29, 37]
Generated Node #0,0,3: 15:[29, 37] Operation: 38-1=37
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 15:[1, 9], Operations: ['42-4=38', '38-29=9']
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[38, 28], Operations: ['42-4=38', '29-1=28']
Exploring Operation: 38+28=66, Resulting Numbers: [66]
66,15 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 38*28=1064, Resulting Numbers: [1064]
1064,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 15:[29, 37], Operations: ['42-4=38', '38-1=37']
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,15 unequal: No Solution
Exploring Operation: 29*37=1073, Resulting Numbers: [1073]
1073,15 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 15:[38, 29], Operations: ['42-4=38', '1*29=29']
Exploring Operation: 38*29=1102, Resulting Numbers: [1102]
1102,15 unequal: No Solution
Exploring Operation: 38+29=67, Resulting Numbers: [67]
67,15 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 15:[42, 1, 25], Operations: ['29-4=25']
Exploring Operation: 42*1=42, Resulting Numbers: [25, 42]
Generated Node #0,3,0: 15:[25, 42] Operation: 42*1=42
Exploring Operation: 42-1=41, Resulting Numbers: [25, 41]
Generated Node #0,3,1: 15:[25, 41] Operation: 42-1=41
Exploring Operation: 25-1=24, Resulting Numbers: [42, 24]
Generated Node #0,3,2: 15:[42, 24] Operation: 25-1=24
Exploring Operation: 42-25=17, Resulting Numbers: [1, 17]
Generated Node #0,3,3: 15:[1, 17] Operation: 42-25=17
Moving to Node #0,3,3
Current State: 15:[1, 17], Operations: ['29-4=25', '42-25=17']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Moving to Node #0,3,2
Current State: 15:[42, 24], Operations: ['29-4=25', '25-1=24']
Exploring Operation: 42*24=1008, Resulting Numbers: [1008]
1008,15 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 42+24=66, Resulting Numbers: [66]
66,15 unequal: No Solution
Moving to Node #0,3,1
Current State: 15:[25, 41], Operations: ['29-4=25', '42-1=41']
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,15 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,15 unequal: No Solution
Moving to Node #0,3,0
Current State: 15:[25, 42], Operations: ['29-4=25', '42*1=42']
Exploring Operation: 25+42=67, Resulting Numbers: [67]
67,15 unequal: No Solution
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Exploring Operation: 25*42=1050, Resulting Numbers: [1050]
1050,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[4, 29, 41], Operations: ['42-1=41']
Exploring Operation: 41-4=37, Resulting Numbers: [29, 37]
Generated Node #0,1,0: 15:[29, 37] Operation: 41-4=37
Exploring Operation: 4+29=33, Resulting Numbers: [41, 33]
Generated Node #0,1,1: 15:[41, 33] Operation: 4+29=33
Exploring Operation: 29-4=25, Resulting Numbers: [41, 25]
Generated Node #0,1,2: 15:[41, 25] Operation: 29-4=25
Exploring Operation: 41-29=12, Resulting Numbers: [4, 12]
Generated Node #0,1,3: 15:[4, 12] Operation: 41-29=12
Moving to Node #0,1,3
Current State: 15:[4, 12], Operations: ['42-1=41', '41-29=12']
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[41, 25], Operations: ['42-1=41', '29-4=25']
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,15 unequal: No Solution
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,15 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[29, 37], Operations: ['42-1=41', '41-4=37']
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,15 unequal: No Solution
Exploring Operation: 29*37=1073, Resulting Numbers: [1073]
1073,15 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[41, 33], Operations: ['42-1=41', '4+29=33']
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 41+33=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Exploring Operation: 41*33=1353, Resulting Numbers: [1353]
1353,15 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 |
[
68,
17,
62,
7
] | 11 | [
"68+62=130",
"17*7=119",
"130-119=11"
] | Current State: 11:[68, 17, 62, 7], Operations: []
Exploring Operation: 68+62=130, Resulting Numbers: [17, 7, 130]
Generated Node #2: [17, 7, 130] from Operation: 68+62=130
Current State: 11:[17, 7, 130], Operations: ['68+62=130']
Exploring Operation: 17*7=119, Resulting Numbers: [130, 119]
Generated Node #3: [130, 119] from Operation: 17*7=119
Current State: 11:[130, 119], Operations: ['68+62=130', '17*7=119']
Exploring Operation: 130-119=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[68, 17, 62, 7], Operations: []
Exploring Operation: 68-17=51, Resulting Numbers: [62, 7, 51]
Generated Node #0,0: 11:[62, 7, 51] Operation: 68-17=51
Exploring Operation: 68-62=6, Resulting Numbers: [17, 7, 6]
Generated Node #0,1: 11:[17, 7, 6] Operation: 68-62=6
Exploring Operation: 68-7=61, Resulting Numbers: [17, 62, 61]
Generated Node #0,2: 11:[17, 62, 61] Operation: 68-7=61
Exploring Operation: 62-17=45, Resulting Numbers: [68, 7, 45]
Generated Node #0,3: 11:[68, 7, 45] Operation: 62-17=45
Exploring Operation: 68/17=4, Resulting Numbers: [62, 7, 4]
Generated Node #0,4: 11:[62, 7, 4] Operation: 68/17=4
Moving to Node #0,1
Current State: 11:[17, 7, 6], Operations: ['68-62=6']
Exploring Operation: 17+6=23, Resulting Numbers: [7, 23]
Generated Node #0,1,0: 11:[7, 23] Operation: 17+6=23
Exploring Operation: 7+6=13, Resulting Numbers: [17, 13]
Generated Node #0,1,1: 11:[17, 13] Operation: 7+6=13
Exploring Operation: 17-7=10, Resulting Numbers: [6, 10]
Generated Node #0,1,2: 11:[6, 10] Operation: 17-7=10
Exploring Operation: 7-6=1, Resulting Numbers: [17, 1]
Generated Node #0,1,3: 11:[17, 1] Operation: 7-6=1
Exploring Operation: 17-6=11, Resulting Numbers: [7, 11]
Generated Node #0,1,4: 11:[7, 11] Operation: 17-6=11
Moving to Node #0,4
Current State: 11:[62, 7, 4], Operations: ['68/17=4']
Exploring Operation: 7+4=11, Resulting Numbers: [62, 11]
Generated Node #0,4,0: 11:[62, 11] Operation: 7+4=11
Exploring Operation: 62-7=55, Resulting Numbers: [4, 55]
Generated Node #0,4,1: 11:[4, 55] Operation: 62-7=55
Exploring Operation: 62+4=66, Resulting Numbers: [7, 66]
Generated Node #0,4,2: 11:[7, 66] Operation: 62+4=66
Exploring Operation: 62-4=58, Resulting Numbers: [7, 58]
Generated Node #0,4,3: 11:[7, 58] Operation: 62-4=58
Exploring Operation: 7-4=3, Resulting Numbers: [62, 3]
Generated Node #0,4,4: 11:[62, 3] Operation: 7-4=3
Moving to Node #0,0
Current State: 11:[62, 7, 51], Operations: ['68-17=51']
Exploring Operation: 51-7=44, Resulting Numbers: [62, 44]
Generated Node #0,0,0: 11:[62, 44] Operation: 51-7=44
Exploring Operation: 62+7=69, Resulting Numbers: [51, 69]
Generated Node #0,0,1: 11:[51, 69] Operation: 62+7=69
Exploring Operation: 7+51=58, Resulting Numbers: [62, 58]
Generated Node #0,0,2: 11:[62, 58] Operation: 7+51=58
Exploring Operation: 62-51=11, Resulting Numbers: [7, 11]
Generated Node #0,0,3: 11:[7, 11] Operation: 62-51=11
Exploring Operation: 62-7=55, Resulting Numbers: [51, 55]
Generated Node #0,0,4: 11:[51, 55] Operation: 62-7=55
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 11:[7, 11], Operations: ['68-17=51', '62-51=11']
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,11 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[62, 44], Operations: ['68-17=51', '51-7=44']
Exploring Operation: 62*44=2728, Resulting Numbers: [2728]
2728,11 unequal: No Solution
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 62+44=106, Resulting Numbers: [106]
106,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 11:[51, 55], Operations: ['68-17=51', '62-7=55']
Exploring Operation: 51+55=106, Resulting Numbers: [106]
106,11 unequal: No Solution
Exploring Operation: 51*55=2805, Resulting Numbers: [2805]
2805,11 unequal: No Solution
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[51, 69], Operations: ['68-17=51', '62+7=69']
Exploring Operation: 51*69=3519, Resulting Numbers: [3519]
3519,11 unequal: No Solution
Exploring Operation: 51+69=120, Resulting Numbers: [120]
120,11 unequal: No Solution
Exploring Operation: 69-51=18, Resulting Numbers: [18]
18,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 11:[62, 58], Operations: ['68-17=51', '7+51=58']
Exploring Operation: 62*58=3596, Resulting Numbers: [3596]
3596,11 unequal: No Solution
Exploring Operation: 62-58=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 62+58=120, Resulting Numbers: [120]
120,11 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: 11:[68, 7, 45], Operations: ['62-17=45']
Exploring Operation: 68-7=61, Resulting Numbers: [45, 61]
Generated Node #0,3,0: 11:[45, 61] Operation: 68-7=61
Exploring Operation: 45-7=38, Resulting Numbers: [68, 38]
Generated Node #0,3,1: 11:[68, 38] Operation: 45-7=38
Exploring Operation: 7+45=52, Resulting Numbers: [68, 52]
Generated Node #0,3,2: 11:[68, 52] Operation: 7+45=52
Exploring Operation: 68+7=75, Resulting Numbers: [45, 75]
Generated Node #0,3,3: 11:[45, 75] Operation: 68+7=75
Exploring Operation: 68-45=23, Resulting Numbers: [7, 23]
Generated Node #0,3,4: 11:[7, 23] Operation: 68-45=23
Moving to Node #0,2
Current State: 11:[17, 62, 61], Operations: ['68-7=61']
Exploring Operation: 17+62=79, Resulting Numbers: [61, 79]
Generated Node #0,2,0: 11:[61, 79] Operation: 17+62=79
Exploring Operation: 62-61=1, Resulting Numbers: [17, 1]
Generated Node #0,2,1: 11:[17, 1] Operation: 62-61=1
Exploring Operation: 61-17=44, Resulting Numbers: [62, 44]
Generated Node #0,2,2: 11:[62, 44] Operation: 61-17=44
Exploring Operation: 62-17=45, Resulting Numbers: [61, 45]
Generated Node #0,2,3: 11:[61, 45] Operation: 62-17=45
Exploring Operation: 17+61=78, Resulting Numbers: [62, 78]
Generated Node #0,2,4: 11:[62, 78] Operation: 17+61=78
Moving to Node #0,1,4
Current State: 11:[7, 11], Operations: ['68-62=6', '17-6=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,11 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[6, 10], Operations: ['68-62=6', '17-7=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[17, 13], Operations: ['68-62=6', '7+6=13']
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,11 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Moving to Node #0,1,3
Current State: 11:[17, 1], Operations: ['68-62=6', '7-6=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Moving to Node #0,3,4
Current State: 11:[7, 23], Operations: ['62-17=45', '68-45=23']
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,11 unequal: No Solution
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[7, 23], Operations: ['68-62=6', '17+6=23']
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[17, 1], Operations: ['68-7=61', '62-61=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Moving to Node #0,4,1
Current State: 11:[4, 55], Operations: ['68/17=4', '62-7=55']
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,11 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,11 unequal: No Solution
Moving to Node #0,4,0
Current State: 11:[62, 11], Operations: ['68/17=4', '7+4=11']
Exploring Operation: 62+11=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Exploring Operation: 62*11=682, Resulting Numbers: [682]
682,11 unequal: No Solution
Moving to Node #0,4,3
Current State: 11:[7, 58], Operations: ['68/17=4', '62-4=58']
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,11 unequal: No Solution
Exploring Operation: 7*58=406, Resulting Numbers: [406]
406,11 unequal: No Solution
Moving to Node #0,4,4
Current State: 11:[62, 3], Operations: ['68/17=4', '7-4=3']
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,11 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,11 unequal: No Solution
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,11 unequal: No Solution
Moving to Node #0,4,2
Current State: 11:[7, 66], Operations: ['68/17=4', '62+4=66']
Exploring Operation: 7*66=462, Resulting Numbers: [462]
462,11 unequal: No Solution
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,11 unequal: No Solution
Moving to Node #0,3,1
Current State: 11:[68, 38], Operations: ['62-17=45', '45-7=38']
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 68+38=106, Resulting Numbers: [106]
106,11 unequal: No Solution
Exploring Operation: 68*38=2584, Resulting Numbers: [2584]
2584,11 unequal: No Solution
Moving to Node #0,3,0
Current State: 11:[45, 61], Operations: ['62-17=45', '68-7=61']
Exploring Operation: 45+61=106, Resulting Numbers: [106]
106,11 unequal: No Solution
Exploring Operation: 45*61=2745, Resulting Numbers: [2745]
2745,11 unequal: No Solution
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Moving to Node #0,2,3
Current State: 11:[61, 45], Operations: ['68-7=61', '62-17=45']
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 61*45=2745, Resulting Numbers: [2745]
2745,11 unequal: No Solution
Exploring Operation: 61+45=106, Resulting Numbers: [106]
106,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[62, 44], Operations: ['68-7=61', '61-17=44']
Exploring Operation: 62*44=2728, Resulting Numbers: [2728]
2728,11 unequal: No Solution
Exploring Operation: 62+44=106, Resulting Numbers: [106]
106,11 unequal: No Solution
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Moving to Node #0,3,3
Current State: 11:[45, 75], Operations: ['62-17=45', '68+7=75']
Exploring Operation: 75-45=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 45+75=120, Resulting Numbers: [120]
120,11 unequal: No Solution
Exploring Operation: 45*75=3375, Resulting Numbers: [3375]
3375,11 unequal: No Solution
Moving to Node #0,3,2
Current State: 11:[68, 52], Operations: ['62-17=45', '7+45=52']
Exploring Operation: 68+52=120, Resulting Numbers: [120]
120,11 unequal: No Solution
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 68*52=3536, Resulting Numbers: [3536]
3536,11 unequal: No Solution
Moving to Node #0,2,4
Current State: 11:[62, 78], Operations: ['68-7=61', '17+61=78']
Exploring Operation: 78-62=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 62*78=4836, Resulting Numbers: [4836]
4836,11 unequal: No Solution
Exploring Operation: 62+78=140, Resulting Numbers: [140]
140,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[61, 79], Operations: ['68-7=61', '17+62=79']
Exploring Operation: 61*79=4819, Resulting Numbers: [4819]
4819,11 unequal: No Solution
Exploring Operation: 79-61=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 61+79=140, Resulting Numbers: [140]
140,11 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
52,
26,
14,
13
] | 51 | [
"52+26=78",
"14+13=27",
"78-27=51"
] | Current State: 51:[52, 26, 14, 13], Operations: []
Exploring Operation: 52+26=78, Resulting Numbers: [14, 13, 78]
Generated Node #2: [14, 13, 78] from Operation: 52+26=78
Current State: 51:[14, 13, 78], Operations: ['52+26=78']
Exploring Operation: 14+13=27, Resulting Numbers: [78, 27]
Generated Node #3: [78, 27] from Operation: 14+13=27
Current State: 51:[78, 27], Operations: ['52+26=78', '14+13=27']
Exploring Operation: 78-27=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[52, 26, 14, 13], Operations: []
Exploring Operation: 52/26=2, Resulting Numbers: [14, 13, 2]
Generated Node #0,0: 51:[14, 13, 2] Operation: 52/26=2
Exploring Operation: 26/13=2, Resulting Numbers: [52, 14, 2]
Generated Node #0,1: 51:[52, 14, 2] Operation: 26/13=2
Moving to Node #0,1
Current State: 51:[52, 14, 2], Operations: ['26/13=2']
Exploring Operation: 52-2=50, Resulting Numbers: [14, 50]
Generated Node #0,1,0: 51:[14, 50] Operation: 52-2=50
Exploring Operation: 14+2=16, Resulting Numbers: [52, 16]
Generated Node #0,1,1: 51:[52, 16] Operation: 14+2=16
Moving to Node #0,0
Current State: 51:[14, 13, 2], Operations: ['52/26=2']
Exploring Operation: 14+2=16, Resulting Numbers: [13, 16]
Generated Node #0,0,0: 51:[13, 16] Operation: 14+2=16
Exploring Operation: 14-13=1, Resulting Numbers: [2, 1]
Generated Node #0,0,1: 51:[2, 1] Operation: 14-13=1
Moving to Node #0,1,1
Current State: 51:[52, 16], Operations: ['26/13=2', '14+2=16']
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,51 unequal: No Solution
Exploring Operation: 52+16=68, Resulting Numbers: [68]
68,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[2, 1], Operations: ['52/26=2', '14-13=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[14, 50], Operations: ['26/13=2', '52-2=50']
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,51 unequal: No Solution
Exploring Operation: 14+50=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[13, 16], Operations: ['52/26=2', '14+2=16']
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,51 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
22,
69,
9,
38
] | 44 | [
"22+69=91",
"9+38=47",
"91-47=44"
] | Current State: 44:[22, 69, 9, 38], Operations: []
Exploring Operation: 22+69=91, Resulting Numbers: [9, 38, 91]
Generated Node #2: [9, 38, 91] from Operation: 22+69=91
Current State: 44:[9, 38, 91], Operations: ['22+69=91']
Exploring Operation: 9+38=47, Resulting Numbers: [91, 47]
Generated Node #3: [91, 47] from Operation: 9+38=47
Current State: 44:[91, 47], Operations: ['22+69=91', '9+38=47']
Exploring Operation: 91-47=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[22, 69, 9, 38], Operations: []
Exploring Operation: 69-9=60, Resulting Numbers: [22, 38, 60]
Generated Node #0,0: 44:[22, 38, 60] Operation: 69-9=60
Exploring Operation: 69-38=31, Resulting Numbers: [22, 9, 31]
Generated Node #0,1: 44:[22, 9, 31] Operation: 69-38=31
Exploring Operation: 38-22=16, Resulting Numbers: [69, 9, 16]
Generated Node #0,2: 44:[69, 9, 16] Operation: 38-22=16
Exploring Operation: 69-22=47, Resulting Numbers: [9, 38, 47]
Generated Node #0,3: 44:[9, 38, 47] Operation: 69-22=47
Exploring Operation: 9+38=47, Resulting Numbers: [22, 69, 47]
Generated Node #0,4: 44:[22, 69, 47] Operation: 9+38=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[22, 9, 31], Operations: ['69-38=31']
Exploring Operation: 22+31=53, Resulting Numbers: [9, 53]
Generated Node #0,1,0: 44:[9, 53] Operation: 22+31=53
Exploring Operation: 31-22=9, Resulting Numbers: [9, 9]
Generated Node #0,1,1: 44:[9, 9] Operation: 31-22=9
Exploring Operation: 22-9=13, Resulting Numbers: [31, 13]
Generated Node #0,1,2: 44:[31, 13] Operation: 22-9=13
Exploring Operation: 9+31=40, Resulting Numbers: [22, 40]
Generated Node #0,1,3: 44:[22, 40] Operation: 9+31=40
Exploring Operation: 31-9=22, Resulting Numbers: [22, 22]
Generated Node #0,1,4: 44:[22, 22] Operation: 31-9=22
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 44:[22, 22], Operations: ['69-38=31', '31-9=22']
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[22, 69, 9, 38], Operations: []
Exploring Operation: 69-38=31, Resulting Numbers: [22, 9, 31]
Generated Node #0,1: 44:[22, 9, 31] Operation: 69-38=31
Moving to Node #0,1
Current State: 44:[22, 9, 31], Operations: ['69-38=31']
Exploring Operation: 31-9=22, Resulting Numbers: [22, 22]
Generated Node #0,1,4: 44:[22, 22] Operation: 31-9=22
Moving to Node #0,1,4
Current State: 44:[22, 22], Operations: ['69-38=31', '31-9=22']
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
12,
70,
64,
23
] | 66 | [
"12+23=35",
"70/35=2",
"64+2=66"
] | Current State: 66:[12, 70, 64, 23], Operations: []
Exploring Operation: 12+23=35, Resulting Numbers: [70, 64, 35]
Generated Node #2: [70, 64, 35] from Operation: 12+23=35
Current State: 66:[70, 64, 35], Operations: ['12+23=35']
Exploring Operation: 70/35=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 70/35=2
Current State: 66:[64, 2], Operations: ['12+23=35', '70/35=2']
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[12, 70, 64, 23], Operations: []
Exploring Operation: 70-12=58, Resulting Numbers: [64, 23, 58]
Generated Node #0,0: 66:[64, 23, 58] Operation: 70-12=58
Exploring Operation: 70-64=6, Resulting Numbers: [12, 23, 6]
Generated Node #0,1: 66:[12, 23, 6] Operation: 70-64=6
Exploring Operation: 12+23=35, Resulting Numbers: [70, 64, 35]
Generated Node #0,2: 66:[70, 64, 35] Operation: 12+23=35
Exploring Operation: 23-12=11, Resulting Numbers: [70, 64, 11]
Generated Node #0,3: 66:[70, 64, 11] Operation: 23-12=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[12, 23, 6], Operations: ['70-64=6']
Exploring Operation: 23-12=11, Resulting Numbers: [6, 11]
Generated Node #0,1,0: 66:[6, 11] Operation: 23-12=11
Exploring Operation: 12-6=6, Resulting Numbers: [23, 6]
Generated Node #0,1,1: 66:[23, 6] Operation: 12-6=6
Exploring Operation: 12/6=2, Resulting Numbers: [23, 2]
Generated Node #0,1,2: 66:[23, 2] Operation: 12/6=2
Exploring Operation: 12+23=35, Resulting Numbers: [6, 35]
Generated Node #0,1,3: 66:[6, 35] Operation: 12+23=35
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[6, 11], Operations: ['70-64=6', '23-12=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[12, 70, 64, 23], Operations: []
Exploring Operation: 70-64=6, Resulting Numbers: [12, 23, 6]
Generated Node #0,1: 66:[12, 23, 6] Operation: 70-64=6
Moving to Node #0,1
Current State: 66:[12, 23, 6], Operations: ['70-64=6']
Exploring Operation: 23-12=11, Resulting Numbers: [6, 11]
Generated Node #0,1,0: 66:[6, 11] Operation: 23-12=11
Moving to Node #0,1,0
Current State: 66:[6, 11], Operations: ['70-64=6', '23-12=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
54,
46,
17,
54
] | 64 | [
"54/54=1",
"46+17=63",
"1+63=64"
] | Current State: 64:[54, 46, 17, 54], Operations: []
Exploring Operation: 54/54=1, Resulting Numbers: [46, 17, 1]
Generated Node #2: [46, 17, 1] from Operation: 54/54=1
Current State: 64:[46, 17, 1], Operations: ['54/54=1']
Exploring Operation: 46+17=63, Resulting Numbers: [1, 63]
Generated Node #3: [1, 63] from Operation: 46+17=63
Current State: 64:[1, 63], Operations: ['54/54=1', '46+17=63']
Exploring Operation: 1+63=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[54, 46, 17, 54], Operations: []
Exploring Operation: 54-46=8, Resulting Numbers: [17, 54, 8]
Generated Node #0,0: 64:[17, 54, 8] Operation: 54-46=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[17, 54, 8], Operations: ['54-46=8']
Exploring Operation: 54+8=62, Resulting Numbers: [17, 62]
Generated Node #0,0,0: 64:[17, 62] Operation: 54+8=62
Moving to Node #0,0,0
Current State: 64:[17, 62], Operations: ['54-46=8', '54+8=62']
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
12,
20,
92,
16
] | 19 | [
"20+92=112",
"112/16=7",
"12+7=19"
] | Current State: 19:[12, 20, 92, 16], Operations: []
Exploring Operation: 20+92=112, Resulting Numbers: [12, 16, 112]
Generated Node #2: [12, 16, 112] from Operation: 20+92=112
Current State: 19:[12, 16, 112], Operations: ['20+92=112']
Exploring Operation: 112/16=7, Resulting Numbers: [12, 7]
Generated Node #3: [12, 7] from Operation: 112/16=7
Current State: 19:[12, 7], Operations: ['20+92=112', '112/16=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[12, 20, 92, 16], Operations: []
Exploring Operation: 92-16=76, Resulting Numbers: [12, 20, 76]
Generated Node #0,0: 19:[12, 20, 76] Operation: 92-16=76
Exploring Operation: 12+16=28, Resulting Numbers: [20, 92, 28]
Generated Node #0,1: 19:[20, 92, 28] Operation: 12+16=28
Exploring Operation: 92-20=72, Resulting Numbers: [12, 16, 72]
Generated Node #0,2: 19:[12, 16, 72] Operation: 92-20=72
Exploring Operation: 92-12=80, Resulting Numbers: [20, 16, 80]
Generated Node #0,3: 19:[20, 16, 80] Operation: 92-12=80
Moving to Node #0,2
Current State: 19:[12, 16, 72], Operations: ['92-20=72']
Exploring Operation: 72-16=56, Resulting Numbers: [12, 56]
Generated Node #0,2,0: 19:[12, 56] Operation: 72-16=56
Exploring Operation: 72-12=60, Resulting Numbers: [16, 60]
Generated Node #0,2,1: 19:[16, 60] Operation: 72-12=60
Exploring Operation: 72/12=6, Resulting Numbers: [16, 6]
Generated Node #0,2,2: 19:[16, 6] Operation: 72/12=6
Exploring Operation: 12+16=28, Resulting Numbers: [72, 28]
Generated Node #0,2,3: 19:[72, 28] Operation: 12+16=28
Moving to Node #0,3
Current State: 19:[20, 16, 80], Operations: ['92-12=80']
Exploring Operation: 80-16=64, Resulting Numbers: [20, 64]
Generated Node #0,3,0: 19:[20, 64] Operation: 80-16=64
Exploring Operation: 80-20=60, Resulting Numbers: [16, 60]
Generated Node #0,3,1: 19:[16, 60] Operation: 80-20=60
Exploring Operation: 80/16=5, Resulting Numbers: [20, 5]
Generated Node #0,3,2: 19:[20, 5] Operation: 80/16=5
Exploring Operation: 80/20=4, Resulting Numbers: [16, 4]
Generated Node #0,3,3: 19:[16, 4] Operation: 80/20=4
Moving to Node #0,0
Current State: 19:[12, 20, 76], Operations: ['92-16=76']
Exploring Operation: 12+20=32, Resulting Numbers: [76, 32]
Generated Node #0,0,0: 19:[76, 32] Operation: 12+20=32
Exploring Operation: 76-20=56, Resulting Numbers: [12, 56]
Generated Node #0,0,1: 19:[12, 56] Operation: 76-20=56
Exploring Operation: 20-12=8, Resulting Numbers: [76, 8]
Generated Node #0,0,2: 19:[76, 8] Operation: 20-12=8
Exploring Operation: 76-12=64, Resulting Numbers: [20, 64]
Generated Node #0,0,3: 19:[20, 64] Operation: 76-12=64
Moving to Node #0,1
Current State: 19:[20, 92, 28], Operations: ['12+16=28']
Exploring Operation: 92-28=64, Resulting Numbers: [20, 64]
Generated Node #0,1,0: 19:[20, 64] Operation: 92-28=64
Exploring Operation: 28-20=8, Resulting Numbers: [92, 8]
Generated Node #0,1,1: 19:[92, 8] Operation: 28-20=8
Exploring Operation: 20+92=112, Resulting Numbers: [28, 112]
Generated Node #0,1,2: 19:[28, 112] Operation: 20+92=112
Exploring Operation: 92-20=72, Resulting Numbers: [28, 72]
Generated Node #0,1,3: 19:[28, 72] Operation: 92-20=72
Moving to Node #0,3,2
Current State: 19:[20, 5], Operations: ['92-12=80', '80/16=5']
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,19 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,19 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[16, 6], Operations: ['92-20=72', '72/12=6']
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,19 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Moving to Node #0,3,3
Current State: 19:[16, 4], Operations: ['92-12=80', '80/20=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Moving to Node #0,3,1
Current State: 19:[16, 60], Operations: ['92-12=80', '80-20=60']
Exploring Operation: 16*60=960, Resulting Numbers: [960]
960,19 unequal: No Solution
Exploring Operation: 16+60=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[16, 60], Operations: ['92-20=72', '72-12=60']
Exploring Operation: 16*60=960, Resulting Numbers: [960]
960,19 unequal: No Solution
Exploring Operation: 16+60=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[12, 56], Operations: ['92-20=72', '72-16=56']
Exploring Operation: 12*56=672, Resulting Numbers: [672]
672,19 unequal: No Solution
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[12, 56], Operations: ['92-16=76', '76-20=56']
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Exploring Operation: 12*56=672, Resulting Numbers: [672]
672,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[20, 64], Operations: ['12+16=28', '92-28=64']
Exploring Operation: 20+64=84, Resulting Numbers: [84]
84,19 unequal: No Solution
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 20*64=1280, Resulting Numbers: [1280]
1280,19 unequal: No Solution
Moving to Node #0,0,3
Current State: 19:[20, 64], Operations: ['92-16=76', '76-12=64']
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 20*64=1280, Resulting Numbers: [1280]
1280,19 unequal: No Solution
Exploring Operation: 20+64=84, Resulting Numbers: [84]
84,19 unequal: No Solution
Moving to Node #0,3,0
Current State: 19:[20, 64], Operations: ['92-12=80', '80-16=64']
Exploring Operation: 20*64=1280, Resulting Numbers: [1280]
1280,19 unequal: No Solution
Exploring Operation: 20+64=84, Resulting Numbers: [84]
84,19 unequal: No Solution
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[28, 72], Operations: ['12+16=28', '92-20=72']
Exploring Operation: 28*72=2016, Resulting Numbers: [2016]
2016,19 unequal: No Solution
Exploring Operation: 28+72=100, Resulting Numbers: [100]
100,19 unequal: No Solution
Exploring Operation: 72-28=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[72, 28], Operations: ['92-20=72', '12+16=28']
Exploring Operation: 72-28=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 72+28=100, Resulting Numbers: [100]
100,19 unequal: No Solution
Exploring Operation: 72*28=2016, Resulting Numbers: [2016]
2016,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[76, 8], Operations: ['92-16=76', '20-12=8']
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,19 unequal: No Solution
Exploring Operation: 76*8=608, Resulting Numbers: [608]
608,19 unequal: No Solution
Exploring Operation: 76-8=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[76, 32], Operations: ['92-16=76', '12+20=32']
Exploring Operation: 76-32=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 76+32=108, Resulting Numbers: [108]
108,19 unequal: No Solution
Exploring Operation: 76*32=2432, Resulting Numbers: [2432]
2432,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[92, 8], Operations: ['12+16=28', '28-20=8']
Exploring Operation: 92-8=84, Resulting Numbers: [84]
84,19 unequal: No Solution
Exploring Operation: 92+8=100, Resulting Numbers: [100]
100,19 unequal: No Solution
Exploring Operation: 92*8=736, Resulting Numbers: [736]
736,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[28, 112], Operations: ['12+16=28', '20+92=112']
Exploring Operation: 112-28=84, Resulting Numbers: [84]
84,19 unequal: No Solution
Exploring Operation: 28*112=3136, Resulting Numbers: [3136]
3136,19 unequal: No Solution
Exploring Operation: 112/28=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 28+112=140, Resulting Numbers: [140]
140,19 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
28,
4,
54,
46
] | 93 | [
"28/4=7",
"54+46=100",
"100-7=93"
] | Current State: 93:[28, 4, 54, 46], Operations: []
Exploring Operation: 28/4=7, Resulting Numbers: [54, 46, 7]
Generated Node #2: [54, 46, 7] from Operation: 28/4=7
Current State: 93:[54, 46, 7], Operations: ['28/4=7']
Exploring Operation: 54+46=100, Resulting Numbers: [7, 100]
Generated Node #3: [7, 100] from Operation: 54+46=100
Current State: 93:[7, 100], Operations: ['28/4=7', '54+46=100']
Exploring Operation: 100-7=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[28, 4, 54, 46], Operations: []
Exploring Operation: 54-28=26, Resulting Numbers: [4, 46, 26]
Generated Node #0,0: 93:[4, 46, 26] Operation: 54-28=26
Exploring Operation: 54-46=8, Resulting Numbers: [28, 4, 8]
Generated Node #0,1: 93:[28, 4, 8] Operation: 54-46=8
Exploring Operation: 54+46=100, Resulting Numbers: [28, 4, 100]
Generated Node #0,2: 93:[28, 4, 100] Operation: 54+46=100
Moving to Node #0,1
Current State: 93:[28, 4, 8], Operations: ['54-46=8']
Exploring Operation: 8-4=4, Resulting Numbers: [28, 4]
Generated Node #0,1,0: 93:[28, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [28, 2]
Generated Node #0,1,1: 93:[28, 2] Operation: 8/4=2
Exploring Operation: 4*8=32, Resulting Numbers: [28, 32]
Generated Node #0,1,2: 93:[28, 32] Operation: 4*8=32
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[28, 4], Operations: ['54-46=8', '8-4=4']
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,93 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,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:[28, 2], Operations: ['54-46=8', '8/4=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,93 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,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:[28, 32], Operations: ['54-46=8', '4*8=32']
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,93 unequal: No Solution
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,93 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: 93:[28, 4, 100], Operations: ['54+46=100']
Exploring Operation: 100/4=25, Resulting Numbers: [28, 25]
Generated Node #0,2,0: 93:[28, 25] Operation: 100/4=25
Exploring Operation: 100-4=96, Resulting Numbers: [28, 96]
Generated Node #0,2,1: 93:[28, 96] Operation: 100-4=96
Exploring Operation: 28+4=32, Resulting Numbers: [100, 32]
Generated Node #0,2,2: 93:[100, 32] Operation: 28+4=32
Moving to Node #0,0
Current State: 93:[4, 46, 26], Operations: ['54-28=26']
Exploring Operation: 46-4=42, Resulting Numbers: [26, 42]
Generated Node #0,0,0: 93:[26, 42] Operation: 46-4=42
Exploring Operation: 4+26=30, Resulting Numbers: [46, 30]
Generated Node #0,0,1: 93:[46, 30] Operation: 4+26=30
Exploring Operation: 46-26=20, Resulting Numbers: [4, 20]
Generated Node #0,0,2: 93:[4, 20] Operation: 46-26=20
Moving to Node #0,2,1
Current State: 93:[28, 96], Operations: ['54+46=100', '100-4=96']
Exploring Operation: 96-28=68, Resulting Numbers: [68]
68,93 unequal: No Solution
Exploring Operation: 28+96=124, Resulting Numbers: [124]
124,93 unequal: No Solution
Exploring Operation: 28*96=2688, Resulting Numbers: [2688]
2688,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[100, 32], Operations: ['54+46=100', '28+4=32']
Exploring Operation: 100-32=68, Resulting Numbers: [68]
68,93 unequal: No Solution
Exploring Operation: 100+32=132, Resulting Numbers: [132]
132,93 unequal: No Solution
Exploring Operation: 100*32=3200, Resulting Numbers: [3200]
3200,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[28, 25], Operations: ['54+46=100', '100/4=25']
Exploring Operation: 28*25=700, Resulting Numbers: [700]
700,93 unequal: No Solution
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 28+25=53, Resulting Numbers: [53]
53,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[4, 20], Operations: ['54-28=26', '46-26=20']
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,93 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[46, 30], Operations: ['54-28=26', '4+26=30']
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,93 unequal: No Solution
Exploring Operation: 46*30=1380, Resulting Numbers: [1380]
1380,93 unequal: No Solution
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[26, 42], Operations: ['54-28=26', '46-4=42']
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,93 unequal: No Solution
Exploring Operation: 26*42=1092, Resulting Numbers: [1092]
1092,93 unequal: No Solution
Exploring Operation: 26+42=68, Resulting Numbers: [68]
68,93 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
24,
16,
71,
4
] | 91 | [
"24+71=95",
"16/4=4",
"95-4=91"
] | Current State: 91:[24, 16, 71, 4], Operations: []
Exploring Operation: 24+71=95, Resulting Numbers: [16, 4, 95]
Generated Node #2: [16, 4, 95] from Operation: 24+71=95
Current State: 91:[16, 4, 95], Operations: ['24+71=95']
Exploring Operation: 16/4=4, Resulting Numbers: [95, 4]
Generated Node #3: [95, 4] from Operation: 16/4=4
Current State: 91:[95, 4], Operations: ['24+71=95', '16/4=4']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[24, 16, 71, 4], Operations: []
Exploring Operation: 16+71=87, Resulting Numbers: [24, 4, 87]
Generated Node #0,0: 91:[24, 4, 87] Operation: 16+71=87
Exploring Operation: 24/4=6, Resulting Numbers: [16, 71, 6]
Generated Node #0,1: 91:[16, 71, 6] Operation: 24/4=6
Exploring Operation: 24+71=95, Resulting Numbers: [16, 4, 95]
Generated Node #0,2: 91:[16, 4, 95] Operation: 24+71=95
Exploring Operation: 24-16=8, Resulting Numbers: [71, 4, 8]
Generated Node #0,3: 91:[71, 4, 8] Operation: 24-16=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[16, 4, 95], Operations: ['24+71=95']
Exploring Operation: 95-4=91, Resulting Numbers: [16, 91]
Generated Node #0,2,0: 91:[16, 91] Operation: 95-4=91
Exploring Operation: 16+4=20, Resulting Numbers: [95, 20]
Generated Node #0,2,1: 91:[95, 20] Operation: 16+4=20
Exploring Operation: 16/4=4, Resulting Numbers: [95, 4]
Generated Node #0,2,2: 91:[95, 4] Operation: 16/4=4
Exploring Operation: 16-4=12, Resulting Numbers: [95, 12]
Generated Node #0,2,3: 91:[95, 12] Operation: 16-4=12
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 91:[16, 91], Operations: ['24+71=95', '95-4=91']
Exploring Operation: 16*91=1456, Resulting Numbers: [1456]
1456,91 unequal: No Solution
Exploring Operation: 16+91=107, Resulting Numbers: [107]
107,91 unequal: No Solution
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,91 unequal: No Solution
No 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: 91:[95, 12], Operations: ['24+71=95', '16-4=12']
Exploring Operation: 95+12=107, Resulting Numbers: [107]
107,91 unequal: No Solution
Exploring Operation: 95*12=1140, Resulting Numbers: [1140]
1140,91 unequal: No Solution
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,91 unequal: No Solution
No 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: 91:[95, 4], Operations: ['24+71=95', '16/4=4']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[24, 16, 71, 4], Operations: []
Exploring Operation: 24+71=95, Resulting Numbers: [16, 4, 95]
Generated Node #0,2: 91:[16, 4, 95] Operation: 24+71=95
Moving to Node #0,2
Current State: 91:[16, 4, 95], Operations: ['24+71=95']
Exploring Operation: 16/4=4, Resulting Numbers: [95, 4]
Generated Node #0,2,2: 91:[95, 4] Operation: 16/4=4
Moving to Node #0,2,2
Current State: 91:[95, 4], Operations: ['24+71=95', '16/4=4']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
85,
63,
5,
87
] | 66 | [
"85+63=148",
"87-5=82",
"148-82=66"
] | Current State: 66:[85, 63, 5, 87], Operations: []
Exploring Operation: 85+63=148, Resulting Numbers: [5, 87, 148]
Generated Node #2: [5, 87, 148] from Operation: 85+63=148
Current State: 66:[5, 87, 148], Operations: ['85+63=148']
Exploring Operation: 87-5=82, Resulting Numbers: [148, 82]
Generated Node #3: [148, 82] from Operation: 87-5=82
Current State: 66:[148, 82], Operations: ['85+63=148', '87-5=82']
Exploring Operation: 148-82=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[85, 63, 5, 87], Operations: []
Exploring Operation: 85-63=22, Resulting Numbers: [5, 87, 22]
Generated Node #0,0: 66:[5, 87, 22] Operation: 85-63=22
Exploring Operation: 87-85=2, Resulting Numbers: [63, 5, 2]
Generated Node #0,1: 66:[63, 5, 2] Operation: 87-85=2
Exploring Operation: 85/5=17, Resulting Numbers: [63, 87, 17]
Generated Node #0,2: 66:[63, 87, 17] Operation: 85/5=17
Exploring Operation: 85-5=80, Resulting Numbers: [63, 87, 80]
Generated Node #0,3: 66:[63, 87, 80] Operation: 85-5=80
Exploring Operation: 87-63=24, Resulting Numbers: [85, 5, 24]
Generated Node #0,4: 66:[85, 5, 24] Operation: 87-63=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[63, 5, 2], Operations: ['87-85=2']
Exploring Operation: 5+2=7, Resulting Numbers: [63, 7]
Generated Node #0,1,0: 66:[63, 7] Operation: 5+2=7
Exploring Operation: 63+2=65, Resulting Numbers: [5, 65]
Generated Node #0,1,1: 66:[5, 65] Operation: 63+2=65
Exploring Operation: 5*2=10, Resulting Numbers: [63, 10]
Generated Node #0,1,2: 66:[63, 10] Operation: 5*2=10
Exploring Operation: 5-2=3, Resulting Numbers: [63, 3]
Generated Node #0,1,3: 66:[63, 3] Operation: 5-2=3
Exploring Operation: 63+5=68, Resulting Numbers: [2, 68]
Generated Node #0,1,4: 66:[2, 68] Operation: 63+5=68
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[5, 65], Operations: ['87-85=2', '63+2=65']
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,66 unequal: No Solution
Exploring Operation: 5*65=325, Resulting Numbers: [325]
325,66 unequal: No Solution
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,66 unequal: No Solution
Exploring Operation: 5+65=70, Resulting Numbers: [70]
70,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 66:[2, 68], Operations: ['87-85=2', '63+5=68']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[85, 63, 5, 87], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [63, 5, 2]
Generated Node #0,1: 66:[63, 5, 2] Operation: 87-85=2
Moving to Node #0,1
Current State: 66:[63, 5, 2], Operations: ['87-85=2']
Exploring Operation: 63+5=68, Resulting Numbers: [2, 68]
Generated Node #0,1,4: 66:[2, 68] Operation: 63+5=68
Moving to Node #0,1,4
Current State: 66:[2, 68], Operations: ['87-85=2', '63+5=68']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
41,
24,
9,
3
] | 99 | [
"41*9=369",
"369/3=123",
"123-24=99"
] | Current State: 99:[41, 24, 9, 3], Operations: []
Exploring Operation: 41*9=369, Resulting Numbers: [24, 3, 369]
Generated Node #2: [24, 3, 369] from Operation: 41*9=369
Current State: 99:[24, 3, 369], Operations: ['41*9=369']
Exploring Operation: 369/3=123, Resulting Numbers: [24, 123]
Generated Node #3: [24, 123] from Operation: 369/3=123
Current State: 99:[24, 123], Operations: ['41*9=369', '369/3=123']
Exploring Operation: 123-24=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[41, 24, 9, 3], Operations: []
Exploring Operation: 24/3=8, Resulting Numbers: [41, 9, 8]
Generated Node #0,0: 99:[41, 9, 8] Operation: 24/3=8
Exploring Operation: 24+9=33, Resulting Numbers: [41, 3, 33]
Generated Node #0,1: 99:[41, 3, 33] Operation: 24+9=33
Exploring Operation: 41-24=17, Resulting Numbers: [9, 3, 17]
Generated Node #0,2: 99:[9, 3, 17] Operation: 41-24=17
Moving to Node #0,2
Current State: 99:[9, 3, 17], Operations: ['41-24=17']
Exploring Operation: 17-3=14, Resulting Numbers: [9, 14]
Generated Node #0,2,0: 99:[9, 14] Operation: 17-3=14
Exploring Operation: 9/3=3, Resulting Numbers: [17, 3]
Generated Node #0,2,1: 99:[17, 3] Operation: 9/3=3
Exploring Operation: 17-9=8, Resulting Numbers: [3, 8]
Generated Node #0,2,2: 99:[3, 8] Operation: 17-9=8
Moving to Node #0,1
Current State: 99:[41, 3, 33], Operations: ['24+9=33']
Exploring Operation: 41-33=8, Resulting Numbers: [3, 8]
Generated Node #0,1,0: 99:[3, 8] Operation: 41-33=8
Exploring Operation: 41-3=38, Resulting Numbers: [33, 38]
Generated Node #0,1,1: 99:[33, 38] Operation: 41-3=38
Exploring Operation: 3*33=99, Resulting Numbers: [41, 99]
Generated Node #0,1,2: 99:[41, 99] Operation: 3*33=99
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[3, 8], Operations: ['24+9=33', '41-33=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[33, 38], Operations: ['24+9=33', '41-3=38']
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 33*38=1254, Resulting Numbers: [1254]
1254,99 unequal: No Solution
Exploring Operation: 33+38=71, Resulting Numbers: [71]
71,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,2
Current State: 99:[41, 99], Operations: ['24+9=33', '3*33=99']
Exploring Operation: 41+99=140, Resulting Numbers: [140]
140,99 unequal: No Solution
Exploring Operation: 99-41=58, Resulting Numbers: [58]
58,99 unequal: No Solution
Exploring Operation: 41*99=4059, Resulting Numbers: [4059]
4059,99 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: 99:[41, 9, 8], Operations: ['24/3=8']
Exploring Operation: 41-9=32, Resulting Numbers: [8, 32]
Generated Node #0,0,0: 99:[8, 32] Operation: 41-9=32
Exploring Operation: 9-8=1, Resulting Numbers: [41, 1]
Generated Node #0,0,1: 99:[41, 1] Operation: 9-8=1
Exploring Operation: 41-8=33, Resulting Numbers: [9, 33]
Generated Node #0,0,2: 99:[9, 33] Operation: 41-8=33
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 99:[9, 33], Operations: ['24/3=8', '41-8=33']
Exploring Operation: 9*33=297, Resulting Numbers: [297]
297,99 unequal: No Solution
Exploring Operation: 9+33=42, Resulting Numbers: [42]
42,99 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,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,0,0
Current State: 99:[8, 32], Operations: ['24/3=8', '41-9=32']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 8+32=40, Resulting Numbers: [40]
40,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,0,1
Current State: 99:[41, 1], Operations: ['24/3=8', '9-8=1']
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,99 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,99 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 99:[3, 8], Operations: ['41-24=17', '17-9=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Moving to Node #0,2,0
Current State: 99:[9, 14], Operations: ['41-24=17', '17-3=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,99 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,99 unequal: No Solution
Moving to Node #0,2,1
Current State: 99:[17, 3], Operations: ['41-24=17', '9/3=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,99 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,99 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
21,
17,
62,
92
] | 68 | [
"21+17=38",
"92-62=30",
"38+30=68"
] | Current State: 68:[21, 17, 62, 92], Operations: []
Exploring Operation: 21+17=38, Resulting Numbers: [62, 92, 38]
Generated Node #2: [62, 92, 38] from Operation: 21+17=38
Current State: 68:[62, 92, 38], Operations: ['21+17=38']
Exploring Operation: 92-62=30, Resulting Numbers: [38, 30]
Generated Node #3: [38, 30] from Operation: 92-62=30
Current State: 68:[38, 30], Operations: ['21+17=38', '92-62=30']
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[21, 17, 62, 92], Operations: []
Exploring Operation: 62-21=41, Resulting Numbers: [17, 92, 41]
Generated Node #0,0: 68:[17, 92, 41] Operation: 62-21=41
Exploring Operation: 92-21=71, Resulting Numbers: [17, 62, 71]
Generated Node #0,1: 68:[17, 62, 71] Operation: 92-21=71
Exploring Operation: 21-17=4, Resulting Numbers: [62, 92, 4]
Generated Node #0,2: 68:[62, 92, 4] Operation: 21-17=4
Exploring Operation: 92-17=75, Resulting Numbers: [21, 62, 75]
Generated Node #0,3: 68:[21, 62, 75] Operation: 92-17=75
Exploring Operation: 92-62=30, Resulting Numbers: [21, 17, 30]
Generated Node #0,4: 68:[21, 17, 30] Operation: 92-62=30
Moving to Node #0,4
Current State: 68:[21, 17, 30], Operations: ['92-62=30']
Exploring Operation: 21+17=38, Resulting Numbers: [30, 38]
Generated Node #0,4,0: 68:[30, 38] Operation: 21+17=38
Exploring Operation: 30-17=13, Resulting Numbers: [21, 13]
Generated Node #0,4,1: 68:[21, 13] Operation: 30-17=13
Exploring Operation: 21-17=4, Resulting Numbers: [30, 4]
Generated Node #0,4,2: 68:[30, 4] Operation: 21-17=4
Exploring Operation: 30-21=9, Resulting Numbers: [17, 9]
Generated Node #0,4,3: 68:[17, 9] Operation: 30-21=9
Exploring Operation: 21+30=51, Resulting Numbers: [17, 51]
Generated Node #0,4,4: 68:[17, 51] Operation: 21+30=51
Moving to Node #0,1
Current State: 68:[17, 62, 71], Operations: ['92-21=71']
Exploring Operation: 62-17=45, Resulting Numbers: [71, 45]
Generated Node #0,1,0: 68:[71, 45] Operation: 62-17=45
Exploring Operation: 71-62=9, Resulting Numbers: [17, 9]
Generated Node #0,1,1: 68:[17, 9] Operation: 71-62=9
Exploring Operation: 17+71=88, Resulting Numbers: [62, 88]
Generated Node #0,1,2: 68:[62, 88] Operation: 17+71=88
Exploring Operation: 17+62=79, Resulting Numbers: [71, 79]
Generated Node #0,1,3: 68:[71, 79] Operation: 17+62=79
Exploring Operation: 71-17=54, Resulting Numbers: [62, 54]
Generated Node #0,1,4: 68:[62, 54] Operation: 71-17=54
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[17, 9], Operations: ['92-21=71', '71-62=9']
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,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:[71, 45], Operations: ['92-21=71', '62-17=45']
Exploring Operation: 71+45=116, Resulting Numbers: [116]
116,68 unequal: No Solution
Exploring Operation: 71-45=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 71*45=3195, Resulting Numbers: [3195]
3195,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:[71, 79], Operations: ['92-21=71', '17+62=79']
Exploring Operation: 79-71=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 71+79=150, Resulting Numbers: [150]
150,68 unequal: No Solution
Exploring Operation: 71*79=5609, Resulting Numbers: [5609]
5609,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,4
Current State: 68:[62, 54], Operations: ['92-21=71', '71-17=54']
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 62*54=3348, Resulting Numbers: [3348]
3348,68 unequal: No Solution
Exploring Operation: 62+54=116, Resulting Numbers: [116]
116,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:[62, 88], Operations: ['92-21=71', '17+71=88']
Exploring Operation: 62+88=150, Resulting Numbers: [150]
150,68 unequal: No Solution
Exploring Operation: 88-62=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 62*88=5456, Resulting Numbers: [5456]
5456,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:[21, 62, 75], Operations: ['92-17=75']
Exploring Operation: 75-62=13, Resulting Numbers: [21, 13]
Generated Node #0,3,0: 68:[21, 13] Operation: 75-62=13
Exploring Operation: 75-21=54, Resulting Numbers: [62, 54]
Generated Node #0,3,1: 68:[62, 54] Operation: 75-21=54
Exploring Operation: 62-21=41, Resulting Numbers: [75, 41]
Generated Node #0,3,2: 68:[75, 41] Operation: 62-21=41
Exploring Operation: 21+75=96, Resulting Numbers: [62, 96]
Generated Node #0,3,3: 68:[62, 96] Operation: 21+75=96
Exploring Operation: 21+62=83, Resulting Numbers: [75, 83]
Generated Node #0,3,4: 68:[75, 83] Operation: 21+62=83
Moving to Node #0,2
Current State: 68:[62, 92, 4], Operations: ['21-17=4']
Exploring Operation: 92/4=23, Resulting Numbers: [62, 23]
Generated Node #0,2,0: 68:[62, 23] Operation: 92/4=23
Exploring Operation: 62-4=58, Resulting Numbers: [92, 58]
Generated Node #0,2,1: 68:[92, 58] Operation: 62-4=58
Exploring Operation: 92-4=88, Resulting Numbers: [62, 88]
Generated Node #0,2,2: 68:[62, 88] Operation: 92-4=88
Exploring Operation: 92-62=30, Resulting Numbers: [4, 30]
Generated Node #0,2,3: 68:[4, 30] Operation: 92-62=30
Exploring Operation: 62+4=66, Resulting Numbers: [92, 66]
Generated Node #0,2,4: 68:[92, 66] Operation: 62+4=66
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 68:[4, 30], Operations: ['21-17=4', '92-62=30']
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,68 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,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,0
Current State: 68:[62, 23], Operations: ['21-17=4', '92/4=23']
Exploring Operation: 62*23=1426, Resulting Numbers: [1426]
1426,68 unequal: No Solution
Exploring Operation: 62+23=85, Resulting Numbers: [85]
85,68 unequal: No Solution
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,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:[62, 88], Operations: ['21-17=4', '92-4=88']
Exploring Operation: 88-62=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 62+88=150, Resulting Numbers: [150]
150,68 unequal: No Solution
Exploring Operation: 62*88=5456, Resulting Numbers: [5456]
5456,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,4
Current State: 68:[92, 66], Operations: ['21-17=4', '62+4=66']
Exploring Operation: 92-66=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 92+66=158, Resulting Numbers: [158]
158,68 unequal: No Solution
Exploring Operation: 92*66=6072, Resulting Numbers: [6072]
6072,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:[92, 58], Operations: ['21-17=4', '62-4=58']
Exploring Operation: 92+58=150, Resulting Numbers: [150]
150,68 unequal: No Solution
Exploring Operation: 92-58=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 92*58=5336, Resulting Numbers: [5336]
5336,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:[17, 92, 41], Operations: ['62-21=41']
Exploring Operation: 17+41=58, Resulting Numbers: [92, 58]
Generated Node #0,0,0: 68:[92, 58] Operation: 17+41=58
Exploring Operation: 92-41=51, Resulting Numbers: [17, 51]
Generated Node #0,0,1: 68:[17, 51] Operation: 92-41=51
Exploring Operation: 41-17=24, Resulting Numbers: [92, 24]
Generated Node #0,0,2: 68:[92, 24] Operation: 41-17=24
Exploring Operation: 92-17=75, Resulting Numbers: [41, 75]
Generated Node #0,0,3: 68:[41, 75] Operation: 92-17=75
Exploring Operation: 17+92=109, Resulting Numbers: [41, 109]
Generated Node #0,0,4: 68:[41, 109] Operation: 17+92=109
Moving to Node #0,4,2
Current State: 68:[30, 4], Operations: ['92-62=30', '21-17=4']
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,68 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Moving to Node #0,4,3
Current State: 68:[17, 9], Operations: ['92-62=30', '30-21=9']
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,68 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Moving to Node #0,4,0
Current State: 68:[30, 38], Operations: ['92-62=30', '21+17=38']
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[21, 17, 62, 92], Operations: []
Exploring Operation: 92-62=30, Resulting Numbers: [21, 17, 30]
Generated Node #0,4: 68:[21, 17, 30] Operation: 92-62=30
Moving to Node #0,4
Current State: 68:[21, 17, 30], Operations: ['92-62=30']
Exploring Operation: 21+17=38, Resulting Numbers: [30, 38]
Generated Node #0,4,0: 68:[30, 38] Operation: 21+17=38
Moving to Node #0,4,0
Current State: 68:[30, 38], Operations: ['92-62=30', '21+17=38']
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.9375 | hs_5 | sum_heuristic |
[
57,
66,
61,
44
] | 26 | [
"66-57=9",
"61-44=17",
"9+17=26"
] | Current State: 26:[57, 66, 61, 44], Operations: []
Exploring Operation: 66-57=9, Resulting Numbers: [61, 44, 9]
Generated Node #2: [61, 44, 9] from Operation: 66-57=9
Current State: 26:[61, 44, 9], Operations: ['66-57=9']
Exploring Operation: 61-44=17, Resulting Numbers: [9, 17]
Generated Node #3: [9, 17] from Operation: 61-44=17
Current State: 26:[9, 17], Operations: ['66-57=9', '61-44=17']
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[57, 66, 61, 44], Operations: []
Exploring Operation: 66-61=5, Resulting Numbers: [57, 44, 5]
Generated Node #0,0: 26:[57, 44, 5] Operation: 66-61=5
Moving to Node #0,0
Current State: 26:[57, 44, 5], Operations: ['66-61=5']
Exploring Operation: 57-44=13, Resulting Numbers: [5, 13]
Generated Node #0,0,0: 26:[5, 13] Operation: 57-44=13
Moving to Node #0,0,0
Current State: 26:[5, 13], Operations: ['66-61=5', '57-44=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,26 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
46,
77,
11,
61
] | 33 | [
"77+61=138",
"138/46=3",
"11*3=33"
] | Current State: 33:[46, 77, 11, 61], Operations: []
Exploring Operation: 77+61=138, Resulting Numbers: [46, 11, 138]
Generated Node #2: [46, 11, 138] from Operation: 77+61=138
Current State: 33:[46, 11, 138], Operations: ['77+61=138']
Exploring Operation: 138/46=3, Resulting Numbers: [11, 3]
Generated Node #3: [11, 3] from Operation: 138/46=3
Current State: 33:[11, 3], Operations: ['77+61=138', '138/46=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[46, 77, 11, 61], Operations: []
Exploring Operation: 77-46=31, Resulting Numbers: [11, 61, 31]
Generated Node #0,0: 33:[11, 61, 31] Operation: 77-46=31
Exploring Operation: 77-61=16, Resulting Numbers: [46, 11, 16]
Generated Node #0,1: 33:[46, 11, 16] Operation: 77-61=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[46, 11, 16], Operations: ['77-61=16']
Exploring Operation: 46-11=35, Resulting Numbers: [16, 35]
Generated Node #0,1,0: 33:[16, 35] Operation: 46-11=35
Exploring Operation: 46-16=30, Resulting Numbers: [11, 30]
Generated Node #0,1,1: 33:[11, 30] Operation: 46-16=30
Moving to Node #0,1,1
Current State: 33:[11, 30], Operations: ['77-61=16', '46-16=30']
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,33 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[16, 35], Operations: ['77-61=16', '46-11=35']
Exploring Operation: 16+35=51, Resulting Numbers: [51]
51,33 unequal: No Solution
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[11, 61, 31], Operations: ['77-46=31']
Exploring Operation: 61-31=30, Resulting Numbers: [11, 30]
Generated Node #0,0,0: 33:[11, 30] Operation: 61-31=30
Exploring Operation: 61-11=50, Resulting Numbers: [31, 50]
Generated Node #0,0,1: 33:[31, 50] Operation: 61-11=50
Moving to Node #0,0,0
Current State: 33:[11, 30], Operations: ['77-46=31', '61-31=30']
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,33 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[31, 50], Operations: ['77-46=31', '61-11=50']
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 31+50=81, Resulting Numbers: [81]
81,33 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 |
[
75,
26,
90,
51
] | 62 | [
"75+26=101",
"90-51=39",
"101-39=62"
] | Current State: 62:[75, 26, 90, 51], Operations: []
Exploring Operation: 75+26=101, Resulting Numbers: [90, 51, 101]
Generated Node #2: [90, 51, 101] from Operation: 75+26=101
Current State: 62:[90, 51, 101], Operations: ['75+26=101']
Exploring Operation: 90-51=39, Resulting Numbers: [101, 39]
Generated Node #3: [101, 39] from Operation: 90-51=39
Current State: 62:[101, 39], Operations: ['75+26=101', '90-51=39']
Exploring Operation: 101-39=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[75, 26, 90, 51], Operations: []
Exploring Operation: 90-26=64, Resulting Numbers: [75, 51, 64]
Generated Node #0,0: 62:[75, 51, 64] Operation: 90-26=64
Moving to Node #0,0
Current State: 62:[75, 51, 64], Operations: ['90-26=64']
Exploring Operation: 75-51=24, Resulting Numbers: [64, 24]
Generated Node #0,0,0: 62:[64, 24] Operation: 75-51=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[64, 24], Operations: ['90-26=64', '75-51=24']
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,62 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 |
[
6,
23,
16,
25
] | 25 | [
"23-6=17",
"17-16=1",
"25*1=25"
] | Current State: 25:[6, 23, 16, 25], Operations: []
Exploring Operation: 23-6=17, Resulting Numbers: [16, 25, 17]
Generated Node #2: [16, 25, 17] from Operation: 23-6=17
Current State: 25:[16, 25, 17], Operations: ['23-6=17']
Exploring Operation: 17-16=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 17-16=1
Current State: 25:[25, 1], Operations: ['23-6=17', '17-16=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[6, 23, 16, 25], Operations: []
Exploring Operation: 25-16=9, Resulting Numbers: [6, 23, 9]
Generated Node #0,0: 25:[6, 23, 9] Operation: 25-16=9
Exploring Operation: 23-16=7, Resulting Numbers: [6, 25, 7]
Generated Node #0,1: 25:[6, 25, 7] Operation: 23-16=7
Exploring Operation: 6+16=22, Resulting Numbers: [23, 25, 22]
Generated Node #0,2: 25:[23, 25, 22] Operation: 6+16=22
Exploring Operation: 16-6=10, Resulting Numbers: [23, 25, 10]
Generated Node #0,3: 25:[23, 25, 10] Operation: 16-6=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[6, 25, 7], Operations: ['23-16=7']
Exploring Operation: 25-6=19, Resulting Numbers: [7, 19]
Generated Node #0,1,0: 25:[7, 19] Operation: 25-6=19
Exploring Operation: 6+25=31, Resulting Numbers: [7, 31]
Generated Node #0,1,1: 25:[7, 31] Operation: 6+25=31
Exploring Operation: 6+7=13, Resulting Numbers: [25, 13]
Generated Node #0,1,2: 25:[25, 13] Operation: 6+7=13
Exploring Operation: 7-6=1, Resulting Numbers: [25, 1]
Generated Node #0,1,3: 25:[25, 1] Operation: 7-6=1
Moving to Node #0,1,3
Current State: 25:[25, 1], Operations: ['23-16=7', '7-6=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[6, 23, 16, 25], Operations: []
Exploring Operation: 23-16=7, Resulting Numbers: [6, 25, 7]
Generated Node #0,1: 25:[6, 25, 7] Operation: 23-16=7
Moving to Node #0,1
Current State: 25:[6, 25, 7], Operations: ['23-16=7']
Exploring Operation: 7-6=1, Resulting Numbers: [25, 1]
Generated Node #0,1,3: 25:[25, 1] Operation: 7-6=1
Moving to Node #0,1,3
Current State: 25:[25, 1], Operations: ['23-16=7', '7-6=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
63,
26,
21,
61
] | 45 | [
"63-26=37",
"21+61=82",
"82-37=45"
] | Current State: 45:[63, 26, 21, 61], Operations: []
Exploring Operation: 63-26=37, Resulting Numbers: [21, 61, 37]
Generated Node #2: [21, 61, 37] from Operation: 63-26=37
Current State: 45:[21, 61, 37], Operations: ['63-26=37']
Exploring Operation: 21+61=82, Resulting Numbers: [37, 82]
Generated Node #3: [37, 82] from Operation: 21+61=82
Current State: 45:[37, 82], Operations: ['63-26=37', '21+61=82']
Exploring Operation: 82-37=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[63, 26, 21, 61], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [26, 61, 3]
Generated Node #0,0: 45:[26, 61, 3] Operation: 63/21=3
Exploring Operation: 63-61=2, Resulting Numbers: [26, 21, 2]
Generated Node #0,1: 45:[26, 21, 2] Operation: 63-61=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[26, 21, 2], Operations: ['63-61=2']
Exploring Operation: 26+21=47, Resulting Numbers: [2, 47]
Generated Node #0,1,0: 45:[2, 47] Operation: 26+21=47
Exploring Operation: 26-21=5, Resulting Numbers: [2, 5]
Generated Node #0,1,1: 45:[2, 5] Operation: 26-21=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[2, 5], Operations: ['63-61=2', '26-21=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,45 unequal: No Solution
No 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: 45:[2, 47], Operations: ['63-61=2', '26+21=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[63, 26, 21, 61], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [26, 21, 2]
Generated Node #0,1: 45:[26, 21, 2] Operation: 63-61=2
Moving to Node #0,1
Current State: 45:[26, 21, 2], Operations: ['63-61=2']
Exploring Operation: 26+21=47, Resulting Numbers: [2, 47]
Generated Node #0,1,0: 45:[2, 47] Operation: 26+21=47
Moving to Node #0,1,0
Current State: 45:[2, 47], Operations: ['63-61=2', '26+21=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
23,
69,
11,
69
] | 61 | [
"69/23=3",
"69-11=58",
"3+58=61"
] | Current State: 61:[23, 69, 11, 69], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [11, 3]
Generated Node #2: [11, 3] from Operation: 69/23=3
Current State: 61:[11, 3], Operations: ['69/23=3']
Exploring Operation: 69-11=58, Resulting Numbers: [3, 58]
Generated Node #3: [3, 58] from Operation: 69-11=58
Current State: 61:[3, 58], Operations: ['69/23=3', '69-11=58']
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[23, 69, 11, 69], Operations: []
Exploring Operation: 23+11=34, Resulting Numbers: [69, 69, 34]
Generated Node #0,0: 61:[69, 69, 34] Operation: 23+11=34
Exploring Operation: 69-11=58, Resulting Numbers: [23, 69, 58]
Generated Node #0,1: 61:[23, 69, 58] Operation: 69-11=58
Exploring Operation: 23-11=12, Resulting Numbers: [69, 69, 12]
Generated Node #0,2: 61:[69, 69, 12] Operation: 23-11=12
Exploring Operation: 69+11=80, Resulting Numbers: [23, 69, 80]
Generated Node #0,3: 61:[23, 69, 80] Operation: 69+11=80
Exploring Operation: 69-11=58, Resulting Numbers: [23, 69, 58]
Generated Node #0,4: 61:[23, 69, 58] Operation: 69-11=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[69, 69, 34], Operations: ['23+11=34']
Exploring Operation: 69-34=35, Resulting Numbers: [69, 35]
Generated Node #0,0,0: 61:[69, 35] Operation: 69-34=35
Exploring Operation: 69+34=103, Resulting Numbers: [69, 103]
Generated Node #0,0,1: 61:[69, 103] Operation: 69+34=103
Exploring Operation: 69-34=35, Resulting Numbers: [69, 35]
Generated Node #0,0,2: 61:[69, 35] Operation: 69-34=35
Exploring Operation: 69+34=103, Resulting Numbers: [69, 103]
Generated Node #0,0,3: 61:[69, 103] Operation: 69+34=103
Exploring Operation: 69/69=1, Resulting Numbers: [34, 1]
Generated Node #0,0,4: 61:[34, 1] Operation: 69/69=1
Moving to Node #0,0,0
Current State: 61:[69, 35], Operations: ['23+11=34', '69-34=35']
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 69*35=2415, Resulting Numbers: [2415]
2415,61 unequal: No Solution
Exploring Operation: 69+35=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[69, 35], Operations: ['23+11=34', '69-34=35']
Exploring Operation: 69+35=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Exploring Operation: 69*35=2415, Resulting Numbers: [2415]
2415,61 unequal: No Solution
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[69, 103], Operations: ['23+11=34', '69+34=103']
Exploring Operation: 103-69=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 69+103=172, Resulting Numbers: [172]
172,61 unequal: No Solution
Exploring Operation: 69*103=7107, Resulting Numbers: [7107]
7107,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[69, 103], Operations: ['23+11=34', '69+34=103']
Exploring Operation: 103-69=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 69*103=7107, Resulting Numbers: [7107]
7107,61 unequal: No Solution
Exploring Operation: 69+103=172, Resulting Numbers: [172]
172,61 unequal: No Solution
Moving to Node #0,0,4
Current State: 61:[34, 1], Operations: ['23+11=34', '69/69=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,61 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[23, 69, 58], Operations: ['69-11=58']
Exploring Operation: 23+58=81, Resulting Numbers: [69, 81]
Generated Node #0,1,0: 61:[69, 81] Operation: 23+58=81
Exploring Operation: 69/23=3, Resulting Numbers: [58, 3]
Generated Node #0,1,1: 61:[58, 3] Operation: 69/23=3
Exploring Operation: 58-23=35, Resulting Numbers: [69, 35]
Generated Node #0,1,2: 61:[69, 35] Operation: 58-23=35
Exploring Operation: 69-23=46, Resulting Numbers: [58, 46]
Generated Node #0,1,3: 61:[58, 46] Operation: 69-23=46
Exploring Operation: 23+69=92, Resulting Numbers: [58, 92]
Generated Node #0,1,4: 61:[58, 92] Operation: 23+69=92
Moving to Node #0,1,3
Current State: 61:[58, 46], Operations: ['69-11=58', '69-23=46']
Exploring Operation: 58*46=2668, Resulting Numbers: [2668]
2668,61 unequal: No Solution
Exploring Operation: 58+46=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Exploring Operation: 58-46=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[69, 81], Operations: ['69-11=58', '23+58=81']
Exploring Operation: 69*81=5589, Resulting Numbers: [5589]
5589,61 unequal: No Solution
Exploring Operation: 69+81=150, Resulting Numbers: [150]
150,61 unequal: No Solution
Exploring Operation: 81-69=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[69, 35], Operations: ['69-11=58', '58-23=35']
Exploring Operation: 69*35=2415, Resulting Numbers: [2415]
2415,61 unequal: No Solution
Exploring Operation: 69+35=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Moving to Node #0,1,4
Current State: 61:[58, 92], Operations: ['69-11=58', '23+69=92']
Exploring Operation: 58*92=5336, Resulting Numbers: [5336]
5336,61 unequal: No Solution
Exploring Operation: 92-58=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 58+92=150, Resulting Numbers: [150]
150,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[58, 3], Operations: ['69-11=58', '69/23=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[23, 69, 11, 69], Operations: []
Exploring Operation: 69-11=58, Resulting Numbers: [23, 69, 58]
Generated Node #0,1: 61:[23, 69, 58] Operation: 69-11=58
Moving to Node #0,1
Current State: 61:[23, 69, 58], Operations: ['69-11=58']
Exploring Operation: 69/23=3, Resulting Numbers: [58, 3]
Generated Node #0,1,1: 61:[58, 3] Operation: 69/23=3
Moving to Node #0,1,1
Current State: 61:[58, 3], Operations: ['69-11=58', '69/23=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_5 | sum_heuristic |
[
32,
91,
26,
91
] | 32 | [
"91-91=0",
"26*0=0",
"32+0=32"
] | Current State: 32:[32, 91, 26, 91], Operations: []
Exploring Operation: 91-91=0, Resulting Numbers: [32, 26, 0]
Generated Node #2: [32, 26, 0] from Operation: 91-91=0
Current State: 32:[32, 26, 0], Operations: ['91-91=0']
Exploring Operation: 26*0=0, Resulting Numbers: [32, 0]
Generated Node #3: [32, 0] from Operation: 26*0=0
Current State: 32:[32, 0], Operations: ['91-91=0', '26*0=0']
Exploring Operation: 32+0=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[32, 91, 26, 91], Operations: []
Exploring Operation: 91-26=65, Resulting Numbers: [32, 91, 65]
Generated Node #0,0: 32:[32, 91, 65] Operation: 91-26=65
Exploring Operation: 91-32=59, Resulting Numbers: [91, 26, 59]
Generated Node #0,1: 32:[91, 26, 59] Operation: 91-32=59
Exploring Operation: 91-91=0, Resulting Numbers: [32, 26, 0]
Generated Node #0,2: 32:[32, 26, 0] Operation: 91-91=0
Exploring Operation: 91/91=1, Resulting Numbers: [32, 26, 1]
Generated Node #0,3: 32:[32, 26, 1] Operation: 91/91=1
Exploring Operation: 91-32=59, Resulting Numbers: [26, 91, 59]
Generated Node #0,4: 32:[26, 91, 59] Operation: 91-32=59
Start Sub Search at level 1: Moving to Node #0,3
Current State: 32:[32, 26, 1], Operations: ['91/91=1']
Exploring Operation: 32*1=32, Resulting Numbers: [26, 32]
Generated Node #0,3,0: 32:[26, 32] Operation: 32*1=32
Exploring Operation: 32-26=6, Resulting Numbers: [1, 6]
Generated Node #0,3,1: 32:[1, 6] Operation: 32-26=6
Exploring Operation: 26+1=27, Resulting Numbers: [32, 27]
Generated Node #0,3,2: 32:[32, 27] Operation: 26+1=27
Exploring Operation: 26*1=26, Resulting Numbers: [32, 26]
Generated Node #0,3,3: 32:[32, 26] Operation: 26*1=26
Exploring Operation: 32/1=32, Resulting Numbers: [26, 32]
Generated Node #0,3,4: 32:[26, 32] Operation: 32/1=32
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 32:[1, 6], Operations: ['91/91=1', '32-26=6']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,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,3,2
Current State: 32:[32, 27], Operations: ['91/91=1', '26+1=27']
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 32+27=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 32*27=864, Resulting Numbers: [864]
864,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,3,0
Current State: 32:[26, 32], Operations: ['91/91=1', '32*1=32']
Exploring Operation: 26*32=832, Resulting Numbers: [832]
832,32 unequal: No Solution
Exploring Operation: 26+32=58, Resulting Numbers: [58]
58,32 unequal: No Solution
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,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,3,3
Current State: 32:[32, 26], Operations: ['91/91=1', '26*1=26']
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,32 unequal: No Solution
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 32*26=832, Resulting Numbers: [832]
832,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,3,4
Current State: 32:[26, 32], Operations: ['91/91=1', '32/1=32']
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 26+32=58, Resulting Numbers: [58]
58,32 unequal: No Solution
Exploring Operation: 26*32=832, Resulting Numbers: [832]
832,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:[32, 26, 0], Operations: ['91-91=0']
Exploring Operation: 26*0=0, Resulting Numbers: [32, 0]
Generated Node #0,2,0: 32:[32, 0] Operation: 26*0=0
Exploring Operation: 32-26=6, Resulting Numbers: [0, 6]
Generated Node #0,2,1: 32:[0, 6] Operation: 32-26=6
Exploring Operation: 32-0=32, Resulting Numbers: [26, 32]
Generated Node #0,2,2: 32:[26, 32] Operation: 32-0=32
Exploring Operation: 32+0=32, Resulting Numbers: [26, 32]
Generated Node #0,2,3: 32:[26, 32] Operation: 32+0=32
Exploring Operation: 26+0=26, Resulting Numbers: [32, 26]
Generated Node #0,2,4: 32:[32, 26] Operation: 26+0=26
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 32:[32, 0], Operations: ['91-91=0', '26*0=0']
Exploring Operation: 32*0=0, Resulting Numbers: [0]
0,32 unequal: No Solution
Exploring Operation: 32+0=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[32, 91, 26, 91], Operations: []
Exploring Operation: 91-91=0, Resulting Numbers: [32, 26, 0]
Generated Node #0,2: 32:[32, 26, 0] Operation: 91-91=0
Moving to Node #0,2
Current State: 32:[32, 26, 0], Operations: ['91-91=0']
Exploring Operation: 26*0=0, Resulting Numbers: [32, 0]
Generated Node #0,2,0: 32:[32, 0] Operation: 26*0=0
Moving to Node #0,2,0
Current State: 32:[32, 0], Operations: ['91-91=0', '26*0=0']
Exploring Operation: 32+0=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
70,
64,
30,
51
] | 56 | [
"70-64=6",
"30/6=5",
"51+5=56"
] | Current State: 56:[70, 64, 30, 51], Operations: []
Exploring Operation: 70-64=6, Resulting Numbers: [30, 51, 6]
Generated Node #2: [30, 51, 6] from Operation: 70-64=6
Current State: 56:[30, 51, 6], Operations: ['70-64=6']
Exploring Operation: 30/6=5, Resulting Numbers: [51, 5]
Generated Node #3: [51, 5] from Operation: 30/6=5
Current State: 56:[51, 5], Operations: ['70-64=6', '30/6=5']
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[70, 64, 30, 51], Operations: []
Exploring Operation: 70-64=6, Resulting Numbers: [30, 51, 6]
Generated Node #0,0: 56:[30, 51, 6] Operation: 70-64=6
Exploring Operation: 64-51=13, Resulting Numbers: [70, 30, 13]
Generated Node #0,1: 56:[70, 30, 13] Operation: 64-51=13
Exploring Operation: 70-51=19, Resulting Numbers: [64, 30, 19]
Generated Node #0,2: 56:[64, 30, 19] Operation: 70-51=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[30, 51, 6], Operations: ['70-64=6']
Exploring Operation: 51+6=57, Resulting Numbers: [30, 57]
Generated Node #0,0,0: 56:[30, 57] Operation: 51+6=57
Exploring Operation: 30/6=5, Resulting Numbers: [51, 5]
Generated Node #0,0,1: 56:[51, 5] Operation: 30/6=5
Exploring Operation: 51-30=21, Resulting Numbers: [6, 21]
Generated Node #0,0,2: 56:[6, 21] Operation: 51-30=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[30, 57], Operations: ['70-64=6', '51+6=57']
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 30+57=87, Resulting Numbers: [87]
87,56 unequal: No Solution
Exploring Operation: 30*57=1710, Resulting Numbers: [1710]
1710,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:[51, 5], Operations: ['70-64=6', '30/6=5']
Exploring Operation: 51*5=255, Resulting Numbers: [255]
255,56 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[70, 64, 30, 51], Operations: []
Exploring Operation: 70-64=6, Resulting Numbers: [30, 51, 6]
Generated Node #0,0: 56:[30, 51, 6] Operation: 70-64=6
Moving to Node #0,0
Current State: 56:[30, 51, 6], Operations: ['70-64=6']
Exploring Operation: 30/6=5, Resulting Numbers: [51, 5]
Generated Node #0,0,1: 56:[51, 5] Operation: 30/6=5
Moving to Node #0,0,1
Current State: 56:[51, 5], Operations: ['70-64=6', '30/6=5']
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
40,
66,
34,
80
] | 60 | [
"40+66=106",
"80-34=46",
"106-46=60"
] | Current State: 60:[40, 66, 34, 80], Operations: []
Exploring Operation: 40+66=106, Resulting Numbers: [34, 80, 106]
Generated Node #2: [34, 80, 106] from Operation: 40+66=106
Current State: 60:[34, 80, 106], Operations: ['40+66=106']
Exploring Operation: 80-34=46, Resulting Numbers: [106, 46]
Generated Node #3: [106, 46] from Operation: 80-34=46
Current State: 60:[106, 46], Operations: ['40+66=106', '80-34=46']
Exploring Operation: 106-46=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[40, 66, 34, 80], Operations: []
Exploring Operation: 80-66=14, Resulting Numbers: [40, 34, 14]
Generated Node #0,0: 60:[40, 34, 14] Operation: 80-66=14
Exploring Operation: 80-40=40, Resulting Numbers: [66, 34, 40]
Generated Node #0,1: 60:[66, 34, 40] Operation: 80-40=40
Exploring Operation: 80/40=2, Resulting Numbers: [66, 34, 2]
Generated Node #0,2: 60:[66, 34, 2] Operation: 80/40=2
Exploring Operation: 66-40=26, Resulting Numbers: [34, 80, 26]
Generated Node #0,3: 60:[34, 80, 26] Operation: 66-40=26
Exploring Operation: 40-34=6, Resulting Numbers: [66, 80, 6]
Generated Node #0,4: 60:[66, 80, 6] Operation: 40-34=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[66, 34, 2], Operations: ['80/40=2']
Exploring Operation: 34-2=32, Resulting Numbers: [66, 32]
Generated Node #0,2,0: 60:[66, 32] Operation: 34-2=32
Exploring Operation: 66-2=64, Resulting Numbers: [34, 64]
Generated Node #0,2,1: 60:[34, 64] Operation: 66-2=64
Exploring Operation: 66-34=32, Resulting Numbers: [2, 32]
Generated Node #0,2,2: 60:[2, 32] Operation: 66-34=32
Exploring Operation: 66/2=33, Resulting Numbers: [34, 33]
Generated Node #0,2,3: 60:[34, 33] Operation: 66/2=33
Exploring Operation: 34/2=17, Resulting Numbers: [66, 17]
Generated Node #0,2,4: 60:[66, 17] Operation: 34/2=17
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 60:[2, 32], Operations: ['80/40=2', '66-34=32']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 60:[34, 33], Operations: ['80/40=2', '66/2=33']
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 34*33=1122, Resulting Numbers: [1122]
1122,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[66, 32], Operations: ['80/40=2', '34-2=32']
Exploring Operation: 66+32=98, Resulting Numbers: [98]
98,60 unequal: No Solution
Exploring Operation: 66*32=2112, Resulting Numbers: [2112]
2112,60 unequal: No Solution
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[34, 64], Operations: ['80/40=2', '66-2=64']
Exploring Operation: 64-34=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 34*64=2176, Resulting Numbers: [2176]
2176,60 unequal: No Solution
Exploring Operation: 34+64=98, Resulting Numbers: [98]
98,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 60:[66, 17], Operations: ['80/40=2', '34/2=17']
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[40, 34, 14], Operations: ['80-66=14']
Exploring Operation: 40-34=6, Resulting Numbers: [14, 6]
Generated Node #0,0,0: 60:[14, 6] Operation: 40-34=6
Exploring Operation: 40+14=54, Resulting Numbers: [34, 54]
Generated Node #0,0,1: 60:[34, 54] Operation: 40+14=54
Exploring Operation: 40+34=74, Resulting Numbers: [14, 74]
Generated Node #0,0,2: 60:[14, 74] Operation: 40+34=74
Exploring Operation: 40-14=26, Resulting Numbers: [34, 26]
Generated Node #0,0,3: 60:[34, 26] Operation: 40-14=26
Exploring Operation: 34-14=20, Resulting Numbers: [40, 20]
Generated Node #0,0,4: 60:[40, 20] Operation: 34-14=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[14, 6], Operations: ['80-66=14', '40-34=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,60 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 60:[34, 26], Operations: ['80-66=14', '40-14=26']
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,60 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[40, 66, 34, 80], Operations: []
Exploring Operation: 80-66=14, Resulting Numbers: [40, 34, 14]
Generated Node #0,0: 60:[40, 34, 14] Operation: 80-66=14
Moving to Node #0,0
Current State: 60:[40, 34, 14], Operations: ['80-66=14']
Exploring Operation: 40-14=26, Resulting Numbers: [34, 26]
Generated Node #0,0,3: 60:[34, 26] Operation: 40-14=26
Moving to Node #0,0,3
Current State: 60:[34, 26], Operations: ['80-66=14', '40-14=26']
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278 | hs_5 | sum_heuristic |
[
25,
99,
84,
46
] | 86 | [
"25+99=124",
"84-46=38",
"124-38=86"
] | Current State: 86:[25, 99, 84, 46], Operations: []
Exploring Operation: 25+99=124, Resulting Numbers: [84, 46, 124]
Generated Node #2: [84, 46, 124] from Operation: 25+99=124
Current State: 86:[84, 46, 124], Operations: ['25+99=124']
Exploring Operation: 84-46=38, Resulting Numbers: [124, 38]
Generated Node #3: [124, 38] from Operation: 84-46=38
Current State: 86:[124, 38], Operations: ['25+99=124', '84-46=38']
Exploring Operation: 124-38=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[25, 99, 84, 46], Operations: []
Exploring Operation: 99-46=53, Resulting Numbers: [25, 84, 53]
Generated Node #0,0: 86:[25, 84, 53] Operation: 99-46=53
Exploring Operation: 99-25=74, Resulting Numbers: [84, 46, 74]
Generated Node #0,1: 86:[84, 46, 74] Operation: 99-25=74
Exploring Operation: 25+46=71, Resulting Numbers: [99, 84, 71]
Generated Node #0,2: 86:[99, 84, 71] Operation: 25+46=71
Moving to Node #0,1
Current State: 86:[84, 46, 74], Operations: ['99-25=74']
Exploring Operation: 84-46=38, Resulting Numbers: [74, 38]
Generated Node #0,1,0: 86:[74, 38] Operation: 84-46=38
Exploring Operation: 74-46=28, Resulting Numbers: [84, 28]
Generated Node #0,1,1: 86:[84, 28] Operation: 74-46=28
Exploring Operation: 84-74=10, Resulting Numbers: [46, 10]
Generated Node #0,1,2: 86:[46, 10] Operation: 84-74=10
Moving to Node #0,0
Current State: 86:[25, 84, 53], Operations: ['99-46=53']
Exploring Operation: 53-25=28, Resulting Numbers: [84, 28]
Generated Node #0,0,0: 86:[84, 28] Operation: 53-25=28
Exploring Operation: 25+53=78, Resulting Numbers: [84, 78]
Generated Node #0,0,1: 86:[84, 78] Operation: 25+53=78
Exploring Operation: 84-25=59, Resulting Numbers: [53, 59]
Generated Node #0,0,2: 86:[53, 59] Operation: 84-25=59
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[84, 78], Operations: ['99-46=53', '25+53=78']
Exploring Operation: 84*78=6552, Resulting Numbers: [6552]
6552,86 unequal: No Solution
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 84+78=162, Resulting Numbers: [162]
162,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[84, 28], Operations: ['99-46=53', '53-25=28']
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Exploring Operation: 84+28=112, Resulting Numbers: [112]
112,86 unequal: No Solution
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[53, 59], Operations: ['99-46=53', '84-25=59']
Exploring Operation: 53+59=112, Resulting Numbers: [112]
112,86 unequal: No Solution
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 53*59=3127, Resulting Numbers: [3127]
3127,86 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: 86:[99, 84, 71], Operations: ['25+46=71']
Exploring Operation: 99-71=28, Resulting Numbers: [84, 28]
Generated Node #0,2,0: 86:[84, 28] Operation: 99-71=28
Exploring Operation: 99-84=15, Resulting Numbers: [71, 15]
Generated Node #0,2,1: 86:[71, 15] Operation: 99-84=15
Exploring Operation: 84-71=13, Resulting Numbers: [99, 13]
Generated Node #0,2,2: 86:[99, 13] Operation: 84-71=13
Moving to Node #0,1,2
Current State: 86:[46, 10], Operations: ['99-25=74', '84-74=10']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[84, 28], Operations: ['99-25=74', '74-46=28']
Exploring Operation: 84+28=112, Resulting Numbers: [112]
112,86 unequal: No Solution
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[74, 38], Operations: ['99-25=74', '84-46=38']
Exploring Operation: 74+38=112, Resulting Numbers: [112]
112,86 unequal: No Solution
Exploring Operation: 74*38=2812, Resulting Numbers: [2812]
2812,86 unequal: No Solution
Exploring Operation: 74-38=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[84, 28], Operations: ['25+46=71', '99-71=28']
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Exploring Operation: 84+28=112, Resulting Numbers: [112]
112,86 unequal: No Solution
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[99, 13], Operations: ['25+46=71', '84-71=13']
Exploring Operation: 99-13=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[25, 99, 84, 46], Operations: []
Exploring Operation: 25+46=71, Resulting Numbers: [99, 84, 71]
Generated Node #0,2: 86:[99, 84, 71] Operation: 25+46=71
Moving to Node #0,2
Current State: 86:[99, 84, 71], Operations: ['25+46=71']
Exploring Operation: 84-71=13, Resulting Numbers: [99, 13]
Generated Node #0,2,2: 86:[99, 13] Operation: 84-71=13
Moving to Node #0,2,2
Current State: 86:[99, 13], Operations: ['25+46=71', '84-71=13']
Exploring Operation: 99-13=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.967014 | hs_3 | mult_heuristic |
[
92,
61,
5,
56
] | 91 | [
"61-5=56",
"56/56=1",
"92-1=91"
] | Current State: 91:[92, 61, 5, 56], Operations: []
Exploring Operation: 61-5=56, Resulting Numbers: [92, 56, 56]
Generated Node #2: [92, 56, 56] from Operation: 61-5=56
Current State: 91:[92, 56, 56], Operations: ['61-5=56']
Exploring Operation: 56/56=1, Resulting Numbers: [92, 1]
Generated Node #3: [92, 1] from Operation: 56/56=1
Current State: 91:[92, 1], Operations: ['61-5=56', '56/56=1']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[92, 61, 5, 56], Operations: []
Exploring Operation: 92-61=31, Resulting Numbers: [5, 56, 31]
Generated Node #0,0: 91:[5, 56, 31] Operation: 92-61=31
Exploring Operation: 61+56=117, Resulting Numbers: [92, 5, 117]
Generated Node #0,1: 91:[92, 5, 117] Operation: 61+56=117
Exploring Operation: 92-56=36, Resulting Numbers: [61, 5, 36]
Generated Node #0,2: 91:[61, 5, 36] Operation: 92-56=36
Exploring Operation: 61-56=5, Resulting Numbers: [92, 5, 5]
Generated Node #0,3: 91:[92, 5, 5] Operation: 61-56=5
Moving to Node #0,3
Current State: 91:[92, 5, 5], Operations: ['61-56=5']
Exploring Operation: 92-5=87, Resulting Numbers: [5, 87]
Generated Node #0,3,0: 91:[5, 87] Operation: 92-5=87
Exploring Operation: 5/5=1, Resulting Numbers: [92, 1]
Generated Node #0,3,1: 91:[92, 1] Operation: 5/5=1
Exploring Operation: 92-5=87, Resulting Numbers: [5, 87]
Generated Node #0,3,2: 91:[5, 87] Operation: 92-5=87
Exploring Operation: 5+5=10, Resulting Numbers: [92, 10]
Generated Node #0,3,3: 91:[92, 10] Operation: 5+5=10
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 91:[92, 10], Operations: ['61-56=5', '5+5=10']
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,91 unequal: No Solution
Exploring Operation: 92+10=102, Resulting Numbers: [102]
102,91 unequal: No Solution
Exploring Operation: 92*10=920, Resulting Numbers: [920]
920,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,0
Current State: 91:[5, 87], Operations: ['61-56=5', '92-5=87']
Exploring Operation: 5*87=435, Resulting Numbers: [435]
435,91 unequal: No Solution
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,91 unequal: No Solution
Exploring Operation: 5+87=92, Resulting Numbers: [92]
92,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:[5, 87], Operations: ['61-56=5', '92-5=87']
Exploring Operation: 5*87=435, Resulting Numbers: [435]
435,91 unequal: No Solution
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,91 unequal: No Solution
Exploring Operation: 5+87=92, Resulting Numbers: [92]
92,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:[92, 1], Operations: ['61-56=5', '5/5=1']
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,91 unequal: No Solution
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[92, 61, 5, 56], Operations: []
Exploring Operation: 61-56=5, Resulting Numbers: [92, 5, 5]
Generated Node #0,3: 91:[92, 5, 5] Operation: 61-56=5
Moving to Node #0,3
Current State: 91:[92, 5, 5], Operations: ['61-56=5']
Exploring Operation: 5/5=1, Resulting Numbers: [92, 1]
Generated Node #0,3,1: 91:[92, 1] Operation: 5/5=1
Moving to Node #0,3,1
Current State: 91:[92, 1], Operations: ['61-56=5', '5/5=1']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
54,
12,
61,
70
] | 75 | [
"54+12=66",
"70-61=9",
"66+9=75"
] | Current State: 75:[54, 12, 61, 70], Operations: []
Exploring Operation: 54+12=66, Resulting Numbers: [61, 70, 66]
Generated Node #2: [61, 70, 66] from Operation: 54+12=66
Current State: 75:[61, 70, 66], Operations: ['54+12=66']
Exploring Operation: 70-61=9, Resulting Numbers: [66, 9]
Generated Node #3: [66, 9] from Operation: 70-61=9
Current State: 75:[66, 9], Operations: ['54+12=66', '70-61=9']
Exploring Operation: 66+9=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[54, 12, 61, 70], Operations: []
Exploring Operation: 61-54=7, Resulting Numbers: [12, 70, 7]
Generated Node #0,0: 75:[12, 70, 7] Operation: 61-54=7
Exploring Operation: 54+12=66, Resulting Numbers: [61, 70, 66]
Generated Node #0,1: 75:[61, 70, 66] Operation: 54+12=66
Exploring Operation: 70-54=16, Resulting Numbers: [12, 61, 16]
Generated Node #0,2: 75:[12, 61, 16] Operation: 70-54=16
Exploring Operation: 12+61=73, Resulting Numbers: [54, 70, 73]
Generated Node #0,3: 75:[54, 70, 73] Operation: 12+61=73
Moving to Node #0,0
Current State: 75:[12, 70, 7], Operations: ['61-54=7']
Exploring Operation: 70/7=10, Resulting Numbers: [12, 10]
Generated Node #0,0,0: 75:[12, 10] Operation: 70/7=10
Exploring Operation: 70+7=77, Resulting Numbers: [12, 77]
Generated Node #0,0,1: 75:[12, 77] Operation: 70+7=77
Exploring Operation: 12+70=82, Resulting Numbers: [7, 82]
Generated Node #0,0,2: 75:[7, 82] Operation: 12+70=82
Exploring Operation: 12-7=5, Resulting Numbers: [70, 5]
Generated Node #0,0,3: 75:[70, 5] Operation: 12-7=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[12, 77], Operations: ['61-54=7', '70+7=77']
Exploring Operation: 12*77=924, Resulting Numbers: [924]
924,75 unequal: No Solution
Exploring Operation: 12+77=89, Resulting Numbers: [89]
89,75 unequal: No Solution
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 75:[70, 5], Operations: ['61-54=7', '12-7=5']
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,75 unequal: No Solution
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[54, 12, 61, 70], Operations: []
Exploring Operation: 61-54=7, Resulting Numbers: [12, 70, 7]
Generated Node #0,0: 75:[12, 70, 7] Operation: 61-54=7
Moving to Node #0,0
Current State: 75:[12, 70, 7], Operations: ['61-54=7']
Exploring Operation: 12-7=5, Resulting Numbers: [70, 5]
Generated Node #0,0,3: 75:[70, 5] Operation: 12-7=5
Moving to Node #0,0,3
Current State: 75:[70, 5], Operations: ['61-54=7', '12-7=5']
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
60,
13,
39,
10
] | 47 | [
"60-10=50",
"39/13=3",
"50-3=47"
] | Current State: 47:[60, 13, 39, 10], Operations: []
Exploring Operation: 60-10=50, Resulting Numbers: [13, 39, 50]
Generated Node #2: [13, 39, 50] from Operation: 60-10=50
Current State: 47:[13, 39, 50], Operations: ['60-10=50']
Exploring Operation: 39/13=3, Resulting Numbers: [50, 3]
Generated Node #3: [50, 3] from Operation: 39/13=3
Current State: 47:[50, 3], Operations: ['60-10=50', '39/13=3']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[60, 13, 39, 10], Operations: []
Exploring Operation: 60-13=47, Resulting Numbers: [39, 10, 47]
Generated Node #0,0: 47:[39, 10, 47] Operation: 60-13=47
Exploring Operation: 60-10=50, Resulting Numbers: [13, 39, 50]
Generated Node #0,1: 47:[13, 39, 50] Operation: 60-10=50
Exploring Operation: 13+10=23, Resulting Numbers: [60, 39, 23]
Generated Node #0,2: 47:[60, 39, 23] Operation: 13+10=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[39, 10, 47], Operations: ['60-13=47']
Exploring Operation: 39-10=29, Resulting Numbers: [47, 29]
Generated Node #0,0,0: 47:[47, 29] Operation: 39-10=29
Exploring Operation: 39+10=49, Resulting Numbers: [47, 49]
Generated Node #0,0,1: 47:[47, 49] Operation: 39+10=49
Exploring Operation: 10+47=57, Resulting Numbers: [39, 57]
Generated Node #0,0,2: 47:[39, 57] Operation: 10+47=57
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[47, 49], Operations: ['60-13=47', '39+10=49']
Exploring Operation: 47+49=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 47*49=2303, Resulting Numbers: [2303]
2303,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[47, 29], Operations: ['60-13=47', '39-10=29']
Exploring Operation: 47+29=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 47*29=1363, Resulting Numbers: [1363]
1363,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[39, 57], Operations: ['60-13=47', '10+47=57']
Exploring Operation: 57-39=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 39*57=2223, Resulting Numbers: [2223]
2223,47 unequal: No Solution
Exploring Operation: 39+57=96, Resulting Numbers: [96]
96,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[13, 39, 50], Operations: ['60-10=50']
Exploring Operation: 39-13=26, Resulting Numbers: [50, 26]
Generated Node #0,1,0: 47:[50, 26] Operation: 39-13=26
Exploring Operation: 13+39=52, Resulting Numbers: [50, 52]
Generated Node #0,1,1: 47:[50, 52] Operation: 13+39=52
Exploring Operation: 50-13=37, Resulting Numbers: [39, 37]
Generated Node #0,1,2: 47:[39, 37] Operation: 50-13=37
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[50, 52], Operations: ['60-10=50', '13+39=52']
Exploring Operation: 50*52=2600, Resulting Numbers: [2600]
2600,47 unequal: No Solution
Exploring Operation: 50+52=102, Resulting Numbers: [102]
102,47 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[39, 37], Operations: ['60-10=50', '50-13=37']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 39*37=1443, Resulting Numbers: [1443]
1443,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[50, 26], Operations: ['60-10=50', '39-13=26']
Exploring Operation: 50+26=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 50*26=1300, Resulting Numbers: [1300]
1300,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[60, 39, 23], Operations: ['13+10=23']
Exploring Operation: 60+23=83, Resulting Numbers: [39, 83]
Generated Node #0,2,0: 47:[39, 83] Operation: 60+23=83
Exploring Operation: 39+23=62, Resulting Numbers: [60, 62]
Generated Node #0,2,1: 47:[60, 62] Operation: 39+23=62
Exploring Operation: 60-23=37, Resulting Numbers: [39, 37]
Generated Node #0,2,2: 47:[39, 37] Operation: 60-23=37
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 47:[39, 37], Operations: ['13+10=23', '60-23=37']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 39*37=1443, Resulting Numbers: [1443]
1443,47 unequal: No Solution
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 47:[60, 62], Operations: ['13+10=23', '39+23=62']
Exploring Operation: 60+62=122, Resulting Numbers: [122]
122,47 unequal: No Solution
Exploring Operation: 60*62=3720, Resulting Numbers: [3720]
3720,47 unequal: No Solution
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 47:[39, 83], Operations: ['13+10=23', '60+23=83']
Exploring Operation: 39*83=3237, Resulting Numbers: [3237]
3237,47 unequal: No Solution
Exploring Operation: 83-39=44, Resulting Numbers: [44]
44,47 unequal: No Solution
Exploring Operation: 39+83=122, Resulting Numbers: [122]
122,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
50,
12,
17,
61
] | 40 | [
"50-12=38",
"17+61=78",
"78-38=40"
] | Current State: 40:[50, 12, 17, 61], Operations: []
Exploring Operation: 50-12=38, Resulting Numbers: [17, 61, 38]
Generated Node #2: [17, 61, 38] from Operation: 50-12=38
Current State: 40:[17, 61, 38], Operations: ['50-12=38']
Exploring Operation: 17+61=78, Resulting Numbers: [38, 78]
Generated Node #3: [38, 78] from Operation: 17+61=78
Current State: 40:[38, 78], Operations: ['50-12=38', '17+61=78']
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[50, 12, 17, 61], Operations: []
Exploring Operation: 61-50=11, Resulting Numbers: [12, 17, 11]
Generated Node #0,0: 40:[12, 17, 11] Operation: 61-50=11
Exploring Operation: 61-17=44, Resulting Numbers: [50, 12, 44]
Generated Node #0,1: 40:[50, 12, 44] Operation: 61-17=44
Moving to Node #0,0
Current State: 40:[12, 17, 11], Operations: ['61-50=11']
Exploring Operation: 17-12=5, Resulting Numbers: [11, 5]
Generated Node #0,0,0: 40:[11, 5] Operation: 17-12=5
Exploring Operation: 17-11=6, Resulting Numbers: [12, 6]
Generated Node #0,0,1: 40:[12, 6] Operation: 17-11=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[11, 5], Operations: ['61-50=11', '17-12=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[12, 6], Operations: ['61-50=11', '17-11=6']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,40 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: 40:[50, 12, 44], Operations: ['61-17=44']
Exploring Operation: 50-12=38, Resulting Numbers: [44, 38]
Generated Node #0,1,0: 40:[44, 38] Operation: 50-12=38
Exploring Operation: 50-44=6, Resulting Numbers: [12, 6]
Generated Node #0,1,1: 40:[12, 6] Operation: 50-44=6
Moving to Node #0,1,1
Current State: 40:[12, 6], Operations: ['61-17=44', '50-44=6']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[44, 38], Operations: ['61-17=44', '50-12=38']
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,40 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
95,
80,
20,
84
] | 79 | [
"95-80=15",
"84-20=64",
"15+64=79"
] | Current State: 79:[95, 80, 20, 84], Operations: []
Exploring Operation: 95-80=15, Resulting Numbers: [20, 84, 15]
Generated Node #2: [20, 84, 15] from Operation: 95-80=15
Current State: 79:[20, 84, 15], Operations: ['95-80=15']
Exploring Operation: 84-20=64, Resulting Numbers: [15, 64]
Generated Node #3: [15, 64] from Operation: 84-20=64
Current State: 79:[15, 64], Operations: ['95-80=15', '84-20=64']
Exploring Operation: 15+64=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[95, 80, 20, 84], Operations: []
Exploring Operation: 95-20=75, Resulting Numbers: [80, 84, 75]
Generated Node #0,0: 79:[80, 84, 75] Operation: 95-20=75
Exploring Operation: 84-20=64, Resulting Numbers: [95, 80, 64]
Generated Node #0,1: 79:[95, 80, 64] Operation: 84-20=64
Moving to Node #0,0
Current State: 79:[80, 84, 75], Operations: ['95-20=75']
Exploring Operation: 84-80=4, Resulting Numbers: [75, 4]
Generated Node #0,0,0: 79:[75, 4] Operation: 84-80=4
Exploring Operation: 84-75=9, Resulting Numbers: [80, 9]
Generated Node #0,0,1: 79:[80, 9] Operation: 84-75=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[80, 9], Operations: ['95-20=75', '84-75=9']
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,79 unequal: No Solution
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[75, 4], Operations: ['95-20=75', '84-80=4']
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[95, 80, 20, 84], Operations: []
Exploring Operation: 95-20=75, Resulting Numbers: [80, 84, 75]
Generated Node #0,0: 79:[80, 84, 75] Operation: 95-20=75
Moving to Node #0,0
Current State: 79:[80, 84, 75], Operations: ['95-20=75']
Exploring Operation: 84-80=4, Resulting Numbers: [75, 4]
Generated Node #0,0,0: 79:[75, 4] Operation: 84-80=4
Moving to Node #0,0,0
Current State: 79:[75, 4], Operations: ['95-20=75', '84-80=4']
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
98,
79,
36,
76
] | 86 | [
"79-76=3",
"36/3=12",
"98-12=86"
] | Current State: 86:[98, 79, 36, 76], Operations: []
Exploring Operation: 79-76=3, Resulting Numbers: [98, 36, 3]
Generated Node #2: [98, 36, 3] from Operation: 79-76=3
Current State: 86:[98, 36, 3], Operations: ['79-76=3']
Exploring Operation: 36/3=12, Resulting Numbers: [98, 12]
Generated Node #3: [98, 12] from Operation: 36/3=12
Current State: 86:[98, 12], Operations: ['79-76=3', '36/3=12']
Exploring Operation: 98-12=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[98, 79, 36, 76], Operations: []
Exploring Operation: 76-36=40, Resulting Numbers: [98, 79, 40]
Generated Node #0,0: 86:[98, 79, 40] Operation: 76-36=40
Exploring Operation: 79-76=3, Resulting Numbers: [98, 36, 3]
Generated Node #0,1: 86:[98, 36, 3] Operation: 79-76=3
Exploring Operation: 98-79=19, Resulting Numbers: [36, 76, 19]
Generated Node #0,2: 86:[36, 76, 19] Operation: 98-79=19
Exploring Operation: 79-36=43, Resulting Numbers: [98, 76, 43]
Generated Node #0,3: 86:[98, 76, 43] Operation: 79-36=43
Moving to Node #0,1
Current State: 86:[98, 36, 3], Operations: ['79-76=3']
Exploring Operation: 98-3=95, Resulting Numbers: [36, 95]
Generated Node #0,1,0: 86:[36, 95] Operation: 98-3=95
Exploring Operation: 36+3=39, Resulting Numbers: [98, 39]
Generated Node #0,1,1: 86:[98, 39] Operation: 36+3=39
Exploring Operation: 98+3=101, Resulting Numbers: [36, 101]
Generated Node #0,1,2: 86:[36, 101] Operation: 98+3=101
Exploring Operation: 98-36=62, Resulting Numbers: [3, 62]
Generated Node #0,1,3: 86:[3, 62] Operation: 98-36=62
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[36, 95], Operations: ['79-76=3', '98-3=95']
Exploring Operation: 95-36=59, Resulting Numbers: [59]
59,86 unequal: No Solution
Exploring Operation: 36*95=3420, Resulting Numbers: [3420]
3420,86 unequal: No Solution
Exploring Operation: 36+95=131, Resulting Numbers: [131]
131,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[98, 39], Operations: ['79-76=3', '36+3=39']
Exploring Operation: 98-39=59, Resulting Numbers: [59]
59,86 unequal: No Solution
Exploring Operation: 98+39=137, Resulting Numbers: [137]
137,86 unequal: No Solution
Exploring Operation: 98*39=3822, Resulting Numbers: [3822]
3822,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[3, 62], Operations: ['79-76=3', '98-36=62']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,86 unequal: No Solution
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,86 unequal: No Solution
Exploring Operation: 3*62=186, Resulting Numbers: [186]
186,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[36, 101], Operations: ['79-76=3', '98+3=101']
Exploring Operation: 101-36=65, Resulting Numbers: [65]
65,86 unequal: No Solution
Exploring Operation: 36*101=3636, Resulting Numbers: [3636]
3636,86 unequal: No Solution
Exploring Operation: 36+101=137, Resulting Numbers: [137]
137,86 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: 86:[98, 76, 43], Operations: ['79-36=43']
Exploring Operation: 76+43=119, Resulting Numbers: [98, 119]
Generated Node #0,3,0: 86:[98, 119] Operation: 76+43=119
Exploring Operation: 98-76=22, Resulting Numbers: [43, 22]
Generated Node #0,3,1: 86:[43, 22] Operation: 98-76=22
Exploring Operation: 76-43=33, Resulting Numbers: [98, 33]
Generated Node #0,3,2: 86:[98, 33] Operation: 76-43=33
Exploring Operation: 98-43=55, Resulting Numbers: [76, 55]
Generated Node #0,3,3: 86:[76, 55] Operation: 98-43=55
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 86:[43, 22], Operations: ['79-36=43', '98-76=22']
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 43+22=65, Resulting Numbers: [65]
65,86 unequal: No Solution
Exploring Operation: 43*22=946, Resulting Numbers: [946]
946,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 86:[98, 33], Operations: ['79-36=43', '76-43=33']
Exploring Operation: 98+33=131, Resulting Numbers: [131]
131,86 unequal: No Solution
Exploring Operation: 98*33=3234, Resulting Numbers: [3234]
3234,86 unequal: No Solution
Exploring Operation: 98-33=65, Resulting Numbers: [65]
65,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 86:[76, 55], Operations: ['79-36=43', '98-43=55']
Exploring Operation: 76-55=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 76*55=4180, Resulting Numbers: [4180]
4180,86 unequal: No Solution
Exploring Operation: 76+55=131, Resulting Numbers: [131]
131,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 86:[98, 119], Operations: ['79-36=43', '76+43=119']
Exploring Operation: 98*119=11662, Resulting Numbers: [11662]
11662,86 unequal: No Solution
Exploring Operation: 119-98=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 98+119=217, Resulting Numbers: [217]
217,86 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: 86:[98, 79, 40], Operations: ['76-36=40']
Exploring Operation: 79+40=119, Resulting Numbers: [98, 119]
Generated Node #0,0,0: 86:[98, 119] Operation: 79+40=119
Exploring Operation: 79-40=39, Resulting Numbers: [98, 39]
Generated Node #0,0,1: 86:[98, 39] Operation: 79-40=39
Exploring Operation: 98-40=58, Resulting Numbers: [79, 58]
Generated Node #0,0,2: 86:[79, 58] Operation: 98-40=58
Exploring Operation: 98-79=19, Resulting Numbers: [40, 19]
Generated Node #0,0,3: 86:[40, 19] Operation: 98-79=19
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[98, 39], Operations: ['76-36=40', '79-40=39']
Exploring Operation: 98-39=59, Resulting Numbers: [59]
59,86 unequal: No Solution
Exploring Operation: 98+39=137, Resulting Numbers: [137]
137,86 unequal: No Solution
Exploring Operation: 98*39=3822, Resulting Numbers: [3822]
3822,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 86:[40, 19], Operations: ['76-36=40', '98-79=19']
Exploring Operation: 40+19=59, Resulting Numbers: [59]
59,86 unequal: No Solution
Exploring Operation: 40*19=760, Resulting Numbers: [760]
760,86 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[79, 58], Operations: ['76-36=40', '98-40=58']
Exploring Operation: 79*58=4582, Resulting Numbers: [4582]
4582,86 unequal: No Solution
Exploring Operation: 79-58=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 79+58=137, Resulting Numbers: [137]
137,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[98, 119], Operations: ['76-36=40', '79+40=119']
Exploring Operation: 98*119=11662, Resulting Numbers: [11662]
11662,86 unequal: No Solution
Exploring Operation: 98+119=217, Resulting Numbers: [217]
217,86 unequal: No Solution
Exploring Operation: 119-98=21, Resulting Numbers: [21]
21,86 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: 86:[36, 76, 19], Operations: ['98-79=19']
Exploring Operation: 76-36=40, Resulting Numbers: [19, 40]
Generated Node #0,2,0: 86:[19, 40] Operation: 76-36=40
Exploring Operation: 76-19=57, Resulting Numbers: [36, 57]
Generated Node #0,2,1: 86:[36, 57] Operation: 76-19=57
Exploring Operation: 76/19=4, Resulting Numbers: [36, 4]
Generated Node #0,2,2: 86:[36, 4] Operation: 76/19=4
Exploring Operation: 76+19=95, Resulting Numbers: [36, 95]
Generated Node #0,2,3: 86:[36, 95] Operation: 76+19=95
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[36, 4], Operations: ['98-79=19', '76/19=4']
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,86 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,86 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 86:[36, 95], Operations: ['98-79=19', '76+19=95']
Exploring Operation: 95-36=59, Resulting Numbers: [59]
59,86 unequal: No Solution
Exploring Operation: 36*95=3420, Resulting Numbers: [3420]
3420,86 unequal: No Solution
Exploring Operation: 36+95=131, Resulting Numbers: [131]
131,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[19, 40], Operations: ['98-79=19', '76-36=40']
Exploring Operation: 19+40=59, Resulting Numbers: [59]
59,86 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 19*40=760, Resulting Numbers: [760]
760,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[36, 57], Operations: ['98-79=19', '76-19=57']
Exploring Operation: 36*57=2052, Resulting Numbers: [2052]
2052,86 unequal: No Solution
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 36+57=93, Resulting Numbers: [93]
93,86 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 |
[
13,
73,
42,
40
] | 99 | [
"42-40=2",
"13*2=26",
"73+26=99"
] | Current State: 99:[13, 73, 42, 40], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [13, 73, 2]
Generated Node #2: [13, 73, 2] from Operation: 42-40=2
Current State: 99:[13, 73, 2], Operations: ['42-40=2']
Exploring Operation: 13*2=26, Resulting Numbers: [73, 26]
Generated Node #3: [73, 26] from Operation: 13*2=26
Current State: 99:[73, 26], Operations: ['42-40=2', '13*2=26']
Exploring Operation: 73+26=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[13, 73, 42, 40], Operations: []
Exploring Operation: 73-40=33, Resulting Numbers: [13, 42, 33]
Generated Node #0,0: 99:[13, 42, 33] Operation: 73-40=33
Exploring Operation: 73-42=31, Resulting Numbers: [13, 40, 31]
Generated Node #0,1: 99:[13, 40, 31] Operation: 73-42=31
Exploring Operation: 73+40=113, Resulting Numbers: [13, 42, 113]
Generated Node #0,2: 99:[13, 42, 113] Operation: 73+40=113
Exploring Operation: 73+42=115, Resulting Numbers: [13, 40, 115]
Generated Node #0,3: 99:[13, 40, 115] Operation: 73+42=115
Moving to Node #0,0
Current State: 99:[13, 42, 33], Operations: ['73-40=33']
Exploring Operation: 33-13=20, Resulting Numbers: [42, 20]
Generated Node #0,0,0: 99:[42, 20] Operation: 33-13=20
Exploring Operation: 42-13=29, Resulting Numbers: [33, 29]
Generated Node #0,0,1: 99:[33, 29] Operation: 42-13=29
Exploring Operation: 42-33=9, Resulting Numbers: [13, 9]
Generated Node #0,0,2: 99:[13, 9] Operation: 42-33=9
Exploring Operation: 13+42=55, Resulting Numbers: [33, 55]
Generated Node #0,0,3: 99:[33, 55] Operation: 13+42=55
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 99:[13, 9], Operations: ['73-40=33', '42-33=9']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,99 unequal: No Solution
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,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,0,1
Current State: 99:[33, 29], Operations: ['73-40=33', '42-13=29']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 33*29=957, Resulting Numbers: [957]
957,99 unequal: No Solution
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,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,0,0
Current State: 99:[42, 20], Operations: ['73-40=33', '33-13=20']
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,99 unequal: No Solution
Exploring Operation: 42*20=840, Resulting Numbers: [840]
840,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,0,3
Current State: 99:[33, 55], Operations: ['73-40=33', '13+42=55']
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 33*55=1815, Resulting Numbers: [1815]
1815,99 unequal: No Solution
Exploring Operation: 33+55=88, Resulting Numbers: [88]
88,99 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: 99:[13, 40, 31], Operations: ['73-42=31']
Exploring Operation: 40-31=9, Resulting Numbers: [13, 9]
Generated Node #0,1,0: 99:[13, 9] Operation: 40-31=9
Exploring Operation: 31-13=18, Resulting Numbers: [40, 18]
Generated Node #0,1,1: 99:[40, 18] Operation: 31-13=18
Exploring Operation: 40-13=27, Resulting Numbers: [31, 27]
Generated Node #0,1,2: 99:[31, 27] Operation: 40-13=27
Exploring Operation: 13+31=44, Resulting Numbers: [40, 44]
Generated Node #0,1,3: 99:[40, 44] Operation: 13+31=44
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[13, 9], Operations: ['73-42=31', '40-31=9']
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,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,2
Current State: 99:[31, 27], Operations: ['73-42=31', '40-13=27']
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,99 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[40, 18], Operations: ['73-42=31', '31-13=18']
Exploring Operation: 40+18=58, Resulting Numbers: [58]
58,99 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 40*18=720, Resulting Numbers: [720]
720,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,3
Current State: 99:[40, 44], Operations: ['73-42=31', '13+31=44']
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 40+44=84, Resulting Numbers: [84]
84,99 unequal: No Solution
Exploring Operation: 40*44=1760, Resulting Numbers: [1760]
1760,99 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: 99:[13, 40, 115], Operations: ['73+42=115']
Exploring Operation: 13+40=53, Resulting Numbers: [115, 53]
Generated Node #0,3,0: 99:[115, 53] Operation: 13+40=53
Exploring Operation: 115-40=75, Resulting Numbers: [13, 75]
Generated Node #0,3,1: 99:[13, 75] Operation: 115-40=75
Exploring Operation: 40-13=27, Resulting Numbers: [115, 27]
Generated Node #0,3,2: 99:[115, 27] Operation: 40-13=27
Exploring Operation: 115-13=102, Resulting Numbers: [40, 102]
Generated Node #0,3,3: 99:[40, 102] Operation: 115-13=102
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 99:[40, 102], Operations: ['73+42=115', '115-13=102']
Exploring Operation: 40+102=142, Resulting Numbers: [142]
142,99 unequal: No Solution
Exploring Operation: 102-40=62, Resulting Numbers: [62]
62,99 unequal: No Solution
Exploring Operation: 40*102=4080, Resulting Numbers: [4080]
4080,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,3,2
Current State: 99:[115, 27], Operations: ['73+42=115', '40-13=27']
Exploring Operation: 115*27=3105, Resulting Numbers: [3105]
3105,99 unequal: No Solution
Exploring Operation: 115+27=142, Resulting Numbers: [142]
142,99 unequal: No Solution
Exploring Operation: 115-27=88, Resulting Numbers: [88]
88,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,3,1
Current State: 99:[13, 75], Operations: ['73+42=115', '115-40=75']
Exploring Operation: 75-13=62, Resulting Numbers: [62]
62,99 unequal: No Solution
Exploring Operation: 13+75=88, Resulting Numbers: [88]
88,99 unequal: No Solution
Exploring Operation: 13*75=975, Resulting Numbers: [975]
975,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,3,0
Current State: 99:[115, 53], Operations: ['73+42=115', '13+40=53']
Exploring Operation: 115-53=62, Resulting Numbers: [62]
62,99 unequal: No Solution
Exploring Operation: 115+53=168, Resulting Numbers: [168]
168,99 unequal: No Solution
Exploring Operation: 115*53=6095, Resulting Numbers: [6095]
6095,99 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: 99:[13, 42, 113], Operations: ['73+40=113']
Exploring Operation: 13+42=55, Resulting Numbers: [113, 55]
Generated Node #0,2,0: 99:[113, 55] Operation: 13+42=55
Exploring Operation: 113-13=100, Resulting Numbers: [42, 100]
Generated Node #0,2,1: 99:[42, 100] Operation: 113-13=100
Exploring Operation: 113-42=71, Resulting Numbers: [13, 71]
Generated Node #0,2,2: 99:[13, 71] Operation: 113-42=71
Exploring Operation: 42-13=29, Resulting Numbers: [113, 29]
Generated Node #0,2,3: 99:[113, 29] Operation: 42-13=29
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 99:[42, 100], Operations: ['73+40=113', '113-13=100']
Exploring Operation: 42*100=4200, Resulting Numbers: [4200]
4200,99 unequal: No Solution
Exploring Operation: 42+100=142, Resulting Numbers: [142]
142,99 unequal: No Solution
Exploring Operation: 100-42=58, Resulting Numbers: [58]
58,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,2,3
Current State: 99:[113, 29], Operations: ['73+40=113', '42-13=29']
Exploring Operation: 113+29=142, Resulting Numbers: [142]
142,99 unequal: No Solution
Exploring Operation: 113*29=3277, Resulting Numbers: [3277]
3277,99 unequal: No Solution
Exploring Operation: 113-29=84, Resulting Numbers: [84]
84,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,2,2
Current State: 99:[13, 71], Operations: ['73+40=113', '113-42=71']
Exploring Operation: 13+71=84, Resulting Numbers: [84]
84,99 unequal: No Solution
Exploring Operation: 13*71=923, Resulting Numbers: [923]
923,99 unequal: No Solution
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,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,2,0
Current State: 99:[113, 55], Operations: ['73+40=113', '13+42=55']
Exploring Operation: 113*55=6215, Resulting Numbers: [6215]
6215,99 unequal: No Solution
Exploring Operation: 113+55=168, Resulting Numbers: [168]
168,99 unequal: No Solution
Exploring Operation: 113-55=58, Resulting Numbers: [58]
58,99 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 |
[
41,
2,
93,
46
] | 31 | [
"41+2=43",
"46-43=3",
"93/3=31"
] | Current State: 31:[41, 2, 93, 46], Operations: []
Exploring Operation: 41+2=43, Resulting Numbers: [93, 46, 43]
Generated Node #2: [93, 46, 43] from Operation: 41+2=43
Current State: 31:[93, 46, 43], Operations: ['41+2=43']
Exploring Operation: 46-43=3, Resulting Numbers: [93, 3]
Generated Node #3: [93, 3] from Operation: 46-43=3
Current State: 31:[93, 3], Operations: ['41+2=43', '46-43=3']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[41, 2, 93, 46], Operations: []
Exploring Operation: 41-2=39, Resulting Numbers: [93, 46, 39]
Generated Node #0,0: 31:[93, 46, 39] Operation: 41-2=39
Exploring Operation: 93-41=52, Resulting Numbers: [2, 46, 52]
Generated Node #0,1: 31:[2, 46, 52] Operation: 93-41=52
Exploring Operation: 46/2=23, Resulting Numbers: [41, 93, 23]
Generated Node #0,2: 31:[41, 93, 23] Operation: 46/2=23
Exploring Operation: 93-46=47, Resulting Numbers: [41, 2, 47]
Generated Node #0,3: 31:[41, 2, 47] Operation: 93-46=47
Moving to Node #0,3
Current State: 31:[41, 2, 47], Operations: ['93-46=47']
Exploring Operation: 47-2=45, Resulting Numbers: [41, 45]
Generated Node #0,3,0: 31:[41, 45] Operation: 47-2=45
Exploring Operation: 2+47=49, Resulting Numbers: [41, 49]
Generated Node #0,3,1: 31:[41, 49] Operation: 2+47=49
Exploring Operation: 41+2=43, Resulting Numbers: [47, 43]
Generated Node #0,3,2: 31:[47, 43] Operation: 41+2=43
Exploring Operation: 41-2=39, Resulting Numbers: [47, 39]
Generated Node #0,3,3: 31:[47, 39] Operation: 41-2=39
Moving to Node #0,1
Current State: 31:[2, 46, 52], Operations: ['93-41=52']
Exploring Operation: 52-2=50, Resulting Numbers: [46, 50]
Generated Node #0,1,0: 31:[46, 50] Operation: 52-2=50
Exploring Operation: 46/2=23, Resulting Numbers: [52, 23]
Generated Node #0,1,1: 31:[52, 23] Operation: 46/2=23
Exploring Operation: 52/2=26, Resulting Numbers: [46, 26]
Generated Node #0,1,2: 31:[46, 26] Operation: 52/2=26
Exploring Operation: 46-2=44, Resulting Numbers: [52, 44]
Generated Node #0,1,3: 31:[52, 44] Operation: 46-2=44
Moving to Node #0,2
Current State: 31:[41, 93, 23], Operations: ['46/2=23']
Exploring Operation: 41+23=64, Resulting Numbers: [93, 64]
Generated Node #0,2,0: 31:[93, 64] Operation: 41+23=64
Exploring Operation: 41-23=18, Resulting Numbers: [93, 18]
Generated Node #0,2,1: 31:[93, 18] Operation: 41-23=18
Exploring Operation: 93-41=52, Resulting Numbers: [23, 52]
Generated Node #0,2,2: 31:[23, 52] Operation: 93-41=52
Exploring Operation: 93-23=70, Resulting Numbers: [41, 70]
Generated Node #0,2,3: 31:[41, 70] Operation: 93-23=70
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 31:[23, 52], Operations: ['46/2=23', '93-41=52']
Exploring Operation: 23+52=75, Resulting Numbers: [75]
75,31 unequal: No Solution
Exploring Operation: 23*52=1196, Resulting Numbers: [1196]
1196,31 unequal: No Solution
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,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,2,3
Current State: 31:[41, 70], Operations: ['46/2=23', '93-23=70']
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 41+70=111, Resulting Numbers: [111]
111,31 unequal: No Solution
Exploring Operation: 41*70=2870, Resulting Numbers: [2870]
2870,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,2,1
Current State: 31:[93, 18], Operations: ['46/2=23', '41-23=18']
Exploring Operation: 93-18=75, Resulting Numbers: [75]
75,31 unequal: No Solution
Exploring Operation: 93*18=1674, Resulting Numbers: [1674]
1674,31 unequal: No Solution
Exploring Operation: 93+18=111, Resulting Numbers: [111]
111,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,2,0
Current State: 31:[93, 64], Operations: ['46/2=23', '41+23=64']
Exploring Operation: 93+64=157, Resulting Numbers: [157]
157,31 unequal: No Solution
Exploring Operation: 93*64=5952, Resulting Numbers: [5952]
5952,31 unequal: No Solution
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 31:[93, 46, 39], Operations: ['41-2=39']
Exploring Operation: 46-39=7, Resulting Numbers: [93, 7]
Generated Node #0,0,0: 31:[93, 7] Operation: 46-39=7
Exploring Operation: 93-39=54, Resulting Numbers: [46, 54]
Generated Node #0,0,1: 31:[46, 54] Operation: 93-39=54
Exploring Operation: 93+46=139, Resulting Numbers: [39, 139]
Generated Node #0,0,2: 31:[39, 139] Operation: 93+46=139
Exploring Operation: 93-46=47, Resulting Numbers: [39, 47]
Generated Node #0,0,3: 31:[39, 47] Operation: 93-46=47
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 31:[39, 47], Operations: ['41-2=39', '93-46=47']
Exploring Operation: 47-39=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 39+47=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 39*47=1833, Resulting Numbers: [1833]
1833,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,0,1
Current State: 31:[46, 54], Operations: ['41-2=39', '93-39=54']
Exploring Operation: 46*54=2484, Resulting Numbers: [2484]
2484,31 unequal: No Solution
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 46+54=100, Resulting Numbers: [100]
100,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,0,0
Current State: 31:[93, 7], Operations: ['41-2=39', '46-39=7']
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 93+7=100, Resulting Numbers: [100]
100,31 unequal: No Solution
Exploring Operation: 93*7=651, Resulting Numbers: [651]
651,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,0,2
Current State: 31:[39, 139], Operations: ['41-2=39', '93+46=139']
Exploring Operation: 139-39=100, Resulting Numbers: [100]
100,31 unequal: No Solution
Exploring Operation: 39+139=178, Resulting Numbers: [178]
178,31 unequal: No Solution
Exploring Operation: 39*139=5421, Resulting Numbers: [5421]
5421,31 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: 31:[46, 26], Operations: ['93-41=52', '52/2=26']
Exploring Operation: 46+26=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Exploring Operation: 46*26=1196, Resulting Numbers: [1196]
1196,31 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[41, 45], Operations: ['93-46=47', '47-2=45']
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 41*45=1845, Resulting Numbers: [1845]
1845,31 unequal: No Solution
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[47, 39], Operations: ['93-46=47', '41-2=39']
Exploring Operation: 47+39=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 47-39=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 47*39=1833, Resulting Numbers: [1833]
1833,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[41, 49], Operations: ['93-46=47', '2+47=49']
Exploring Operation: 41+49=90, Resulting Numbers: [90]
90,31 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 41*49=2009, Resulting Numbers: [2009]
2009,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[47, 43], Operations: ['93-46=47', '41+2=43']
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 47+43=90, Resulting Numbers: [90]
90,31 unequal: No Solution
Exploring Operation: 47*43=2021, Resulting Numbers: [2021]
2021,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[52, 23], Operations: ['93-41=52', '46/2=23']
Exploring Operation: 52+23=75, Resulting Numbers: [75]
75,31 unequal: No Solution
Exploring Operation: 52*23=1196, Resulting Numbers: [1196]
1196,31 unequal: No Solution
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[46, 50], Operations: ['93-41=52', '52-2=50']
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 46*50=2300, Resulting Numbers: [2300]
2300,31 unequal: No Solution
Exploring Operation: 46+50=96, Resulting Numbers: [96]
96,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[52, 44], Operations: ['93-41=52', '46-2=44']
Exploring Operation: 52*44=2288, Resulting Numbers: [2288]
2288,31 unequal: No Solution
Exploring Operation: 52+44=96, Resulting Numbers: [96]
96,31 unequal: No Solution
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,31 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
58,
26,
83,
60
] | 61 | [
"58+26=84",
"83-60=23",
"84-23=61"
] | Current State: 61:[58, 26, 83, 60], Operations: []
Exploring Operation: 58+26=84, Resulting Numbers: [83, 60, 84]
Generated Node #2: [83, 60, 84] from Operation: 58+26=84
Current State: 61:[83, 60, 84], Operations: ['58+26=84']
Exploring Operation: 83-60=23, Resulting Numbers: [84, 23]
Generated Node #3: [84, 23] from Operation: 83-60=23
Current State: 61:[84, 23], Operations: ['58+26=84', '83-60=23']
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[58, 26, 83, 60], Operations: []
Exploring Operation: 58-26=32, Resulting Numbers: [83, 60, 32]
Generated Node #0,0: 61:[83, 60, 32] Operation: 58-26=32
Exploring Operation: 58+26=84, Resulting Numbers: [83, 60, 84]
Generated Node #0,1: 61:[83, 60, 84] Operation: 58+26=84
Exploring Operation: 83-26=57, Resulting Numbers: [58, 60, 57]
Generated Node #0,2: 61:[58, 60, 57] Operation: 83-26=57
Exploring Operation: 26+60=86, Resulting Numbers: [58, 83, 86]
Generated Node #0,3: 61:[58, 83, 86] Operation: 26+60=86
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[58, 60, 57], Operations: ['83-26=57']
Exploring Operation: 58+57=115, Resulting Numbers: [60, 115]
Generated Node #0,2,0: 61:[60, 115] Operation: 58+57=115
Exploring Operation: 58-57=1, Resulting Numbers: [60, 1]
Generated Node #0,2,1: 61:[60, 1] Operation: 58-57=1
Exploring Operation: 58+60=118, Resulting Numbers: [57, 118]
Generated Node #0,2,2: 61:[57, 118] Operation: 58+60=118
Exploring Operation: 60+57=117, Resulting Numbers: [58, 117]
Generated Node #0,2,3: 61:[58, 117] Operation: 60+57=117
Moving to Node #0,2,0
Current State: 61:[60, 115], Operations: ['83-26=57', '58+57=115']
Exploring Operation: 115-60=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 60+115=175, Resulting Numbers: [175]
175,61 unequal: No Solution
Exploring Operation: 60*115=6900, Resulting Numbers: [6900]
6900,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[58, 117], Operations: ['83-26=57', '60+57=117']
Exploring Operation: 117-58=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Exploring Operation: 58+117=175, Resulting Numbers: [175]
175,61 unequal: No Solution
Exploring Operation: 58*117=6786, Resulting Numbers: [6786]
6786,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[57, 118], Operations: ['83-26=57', '58+60=118']
Exploring Operation: 57*118=6726, Resulting Numbers: [6726]
6726,61 unequal: No Solution
Exploring Operation: 118-57=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[58, 26, 83, 60], Operations: []
Exploring Operation: 83-26=57, Resulting Numbers: [58, 60, 57]
Generated Node #0,2: 61:[58, 60, 57] Operation: 83-26=57
Moving to Node #0,2
Current State: 61:[58, 60, 57], Operations: ['83-26=57']
Exploring Operation: 58+60=118, Resulting Numbers: [57, 118]
Generated Node #0,2,2: 61:[57, 118] Operation: 58+60=118
Moving to Node #0,2,2
Current State: 61:[57, 118], Operations: ['83-26=57', '58+60=118']
Exploring Operation: 118-57=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
35,
10,
16,
76
] | 85 | [
"35-10=25",
"76-16=60",
"25+60=85"
] | Current State: 85:[35, 10, 16, 76], Operations: []
Exploring Operation: 35-10=25, Resulting Numbers: [16, 76, 25]
Generated Node #2: [16, 76, 25] from Operation: 35-10=25
Current State: 85:[16, 76, 25], Operations: ['35-10=25']
Exploring Operation: 76-16=60, Resulting Numbers: [25, 60]
Generated Node #3: [25, 60] from Operation: 76-16=60
Current State: 85:[25, 60], Operations: ['35-10=25', '76-16=60']
Exploring Operation: 25+60=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[35, 10, 16, 76], Operations: []
Exploring Operation: 35-10=25, Resulting Numbers: [16, 76, 25]
Generated Node #0,0: 85:[16, 76, 25] Operation: 35-10=25
Exploring Operation: 10+76=86, Resulting Numbers: [35, 16, 86]
Generated Node #0,1: 85:[35, 16, 86] Operation: 10+76=86
Exploring Operation: 35-16=19, Resulting Numbers: [10, 76, 19]
Generated Node #0,2: 85:[10, 76, 19] Operation: 35-16=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[10, 76, 19], Operations: ['35-16=19']
Exploring Operation: 76/19=4, Resulting Numbers: [10, 4]
Generated Node #0,2,0: 85:[10, 4] Operation: 76/19=4
Exploring Operation: 19-10=9, Resulting Numbers: [76, 9]
Generated Node #0,2,1: 85:[76, 9] Operation: 19-10=9
Exploring Operation: 10+76=86, Resulting Numbers: [19, 86]
Generated Node #0,2,2: 85:[19, 86] Operation: 10+76=86
Moving to Node #0,2,2
Current State: 85:[19, 86], Operations: ['35-16=19', '10+76=86']
Exploring Operation: 19+86=105, Resulting Numbers: [105]
105,85 unequal: No Solution
Exploring Operation: 86-19=67, Resulting Numbers: [67]
67,85 unequal: No Solution
Exploring Operation: 19*86=1634, Resulting Numbers: [1634]
1634,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[10, 4], Operations: ['35-16=19', '76/19=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[76, 9], Operations: ['35-16=19', '19-10=9']
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[35, 10, 16, 76], Operations: []
Exploring Operation: 35-16=19, Resulting Numbers: [10, 76, 19]
Generated Node #0,2: 85:[10, 76, 19] Operation: 35-16=19
Moving to Node #0,2
Current State: 85:[10, 76, 19], Operations: ['35-16=19']
Exploring Operation: 19-10=9, Resulting Numbers: [76, 9]
Generated Node #0,2,1: 85:[76, 9] Operation: 19-10=9
Moving to Node #0,2,1
Current State: 85:[76, 9], Operations: ['35-16=19', '19-10=9']
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
18,
18,
74,
37
] | 75 | [
"18+18=36",
"74+37=111",
"111-36=75"
] | Current State: 75:[18, 18, 74, 37], Operations: []
Exploring Operation: 18+18=36, Resulting Numbers: [74, 37, 36]
Generated Node #2: [74, 37, 36] from Operation: 18+18=36
Current State: 75:[74, 37, 36], Operations: ['18+18=36']
Exploring Operation: 74+37=111, Resulting Numbers: [36, 111]
Generated Node #3: [36, 111] from Operation: 74+37=111
Current State: 75:[36, 111], Operations: ['18+18=36', '74+37=111']
Exploring Operation: 111-36=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[18, 18, 74, 37], Operations: []
Exploring Operation: 37-18=19, Resulting Numbers: [18, 74, 19]
Generated Node #0,0: 75:[18, 74, 19] Operation: 37-18=19
Exploring Operation: 37-18=19, Resulting Numbers: [18, 74, 19]
Generated Node #0,1: 75:[18, 74, 19] Operation: 37-18=19
Exploring Operation: 74/37=2, Resulting Numbers: [18, 18, 2]
Generated Node #0,2: 75:[18, 18, 2] Operation: 74/37=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[18, 18, 2], Operations: ['74/37=2']
Exploring Operation: 18-2=16, Resulting Numbers: [18, 16]
Generated Node #0,2,0: 75:[18, 16] Operation: 18-2=16
Exploring Operation: 18/18=1, Resulting Numbers: [2, 1]
Generated Node #0,2,1: 75:[2, 1] Operation: 18/18=1
Exploring Operation: 18-18=0, Resulting Numbers: [2, 0]
Generated Node #0,2,2: 75:[2, 0] Operation: 18-18=0
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[2, 1], Operations: ['74/37=2', '18/18=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 75:[18, 16], Operations: ['74/37=2', '18-2=16']
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 75:[2, 0], Operations: ['74/37=2', '18-18=0']
Exploring Operation: 2*0=0, Resulting Numbers: [0]
0,75 unequal: No Solution
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 2+0=2, Resulting Numbers: [2]
2,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[18, 74, 19], Operations: ['37-18=19']
Exploring Operation: 18+19=37, Resulting Numbers: [74, 37]
Generated Node #0,0,0: 75:[74, 37] Operation: 18+19=37
Exploring Operation: 18+74=92, Resulting Numbers: [19, 92]
Generated Node #0,0,1: 75:[19, 92] Operation: 18+74=92
Exploring Operation: 19-18=1, Resulting Numbers: [74, 1]
Generated Node #0,0,2: 75:[74, 1] Operation: 19-18=1
Moving to Node #0,0,2
Current State: 75:[74, 1], Operations: ['37-18=19', '19-18=1']
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[18, 18, 74, 37], Operations: []
Exploring Operation: 37-18=19, Resulting Numbers: [18, 74, 19]
Generated Node #0,0: 75:[18, 74, 19] Operation: 37-18=19
Moving to Node #0,0
Current State: 75:[18, 74, 19], Operations: ['37-18=19']
Exploring Operation: 19-18=1, Resulting Numbers: [74, 1]
Generated Node #0,0,2: 75:[74, 1] Operation: 19-18=1
Moving to Node #0,0,2
Current State: 75:[74, 1], Operations: ['37-18=19', '19-18=1']
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
80,
92,
35,
68
] | 33 | [
"92+68=160",
"160/80=2",
"35-2=33"
] | Current State: 33:[80, 92, 35, 68], Operations: []
Exploring Operation: 92+68=160, Resulting Numbers: [80, 35, 160]
Generated Node #2: [80, 35, 160] from Operation: 92+68=160
Current State: 33:[80, 35, 160], Operations: ['92+68=160']
Exploring Operation: 160/80=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 160/80=2
Current State: 33:[35, 2], Operations: ['92+68=160', '160/80=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[80, 92, 35, 68], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [35, 68, 12]
Generated Node #0,0: 33:[35, 68, 12] Operation: 92-80=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[35, 68, 12], Operations: ['92-80=12']
Exploring Operation: 68-35=33, Resulting Numbers: [12, 33]
Generated Node #0,0,0: 33:[12, 33] Operation: 68-35=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[12, 33], Operations: ['92-80=12', '68-35=33']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
15,
41,
70,
45
] | 36 | [
"15+41=56",
"45*56=2520",
"2520/70=36"
] | Current State: 36:[15, 41, 70, 45], Operations: []
Exploring Operation: 15+41=56, Resulting Numbers: [70, 45, 56]
Generated Node #2: [70, 45, 56] from Operation: 15+41=56
Current State: 36:[70, 45, 56], Operations: ['15+41=56']
Exploring Operation: 45*56=2520, Resulting Numbers: [70, 2520]
Generated Node #3: [70, 2520] from Operation: 45*56=2520
Current State: 36:[70, 2520], Operations: ['15+41=56', '45*56=2520']
Exploring Operation: 2520/70=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[15, 41, 70, 45], Operations: []
Exploring Operation: 70-45=25, Resulting Numbers: [15, 41, 25]
Generated Node #0,0: 36:[15, 41, 25] Operation: 70-45=25
Moving to Node #0,0
Current State: 36:[15, 41, 25], Operations: ['70-45=25']
Exploring Operation: 41-25=16, Resulting Numbers: [15, 16]
Generated Node #0,0,0: 36:[15, 16] Operation: 41-25=16
Moving to Node #0,0,0
Current State: 36:[15, 16], Operations: ['70-45=25', '41-25=16']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,36 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
89,
24,
45,
61
] | 80 | [
"89+61=150",
"24*150=3600",
"3600/45=80"
] | Current State: 80:[89, 24, 45, 61], Operations: []
Exploring Operation: 89+61=150, Resulting Numbers: [24, 45, 150]
Generated Node #2: [24, 45, 150] from Operation: 89+61=150
Current State: 80:[24, 45, 150], Operations: ['89+61=150']
Exploring Operation: 24*150=3600, Resulting Numbers: [45, 3600]
Generated Node #3: [45, 3600] from Operation: 24*150=3600
Current State: 80:[45, 3600], Operations: ['89+61=150', '24*150=3600']
Exploring Operation: 3600/45=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[89, 24, 45, 61], Operations: []
Exploring Operation: 61-45=16, Resulting Numbers: [89, 24, 16]
Generated Node #0,0: 80:[89, 24, 16] Operation: 61-45=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[89, 24, 16], Operations: ['61-45=16']
Exploring Operation: 24+16=40, Resulting Numbers: [89, 40]
Generated Node #0,0,0: 80:[89, 40] Operation: 24+16=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[89, 40], Operations: ['61-45=16', '24+16=40']
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
21,
91,
30,
7
] | 77 | [
"21*30=630",
"630-91=539",
"539/7=77"
] | Current State: 77:[21, 91, 30, 7], Operations: []
Exploring Operation: 21*30=630, Resulting Numbers: [91, 7, 630]
Generated Node #2: [91, 7, 630] from Operation: 21*30=630
Current State: 77:[91, 7, 630], Operations: ['21*30=630']
Exploring Operation: 630-91=539, Resulting Numbers: [7, 539]
Generated Node #3: [7, 539] from Operation: 630-91=539
Current State: 77:[7, 539], Operations: ['21*30=630', '630-91=539']
Exploring Operation: 539/7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[21, 91, 30, 7], Operations: []
Exploring Operation: 30-21=9, Resulting Numbers: [91, 7, 9]
Generated Node #0,0: 77:[91, 7, 9] Operation: 30-21=9
Moving to Node #0,0
Current State: 77:[91, 7, 9], Operations: ['30-21=9']
Exploring Operation: 91/7=13, Resulting Numbers: [9, 13]
Generated Node #0,0,0: 77:[9, 13] Operation: 91/7=13
Moving to Node #0,0,0
Current State: 77:[9, 13], Operations: ['30-21=9', '91/7=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,77 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
33,
65,
47,
2
] | 84 | [
"33*2=66",
"65-47=18",
"66+18=84"
] | Current State: 84:[33, 65, 47, 2], Operations: []
Exploring Operation: 33*2=66, Resulting Numbers: [65, 47, 66]
Generated Node #2: [65, 47, 66] from Operation: 33*2=66
Current State: 84:[65, 47, 66], Operations: ['33*2=66']
Exploring Operation: 65-47=18, Resulting Numbers: [66, 18]
Generated Node #3: [66, 18] from Operation: 65-47=18
Current State: 84:[66, 18], Operations: ['33*2=66', '65-47=18']
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[33, 65, 47, 2], Operations: []
Exploring Operation: 65-33=32, Resulting Numbers: [47, 2, 32]
Generated Node #0,0: 84:[47, 2, 32] Operation: 65-33=32
Exploring Operation: 65-47=18, Resulting Numbers: [33, 2, 18]
Generated Node #0,1: 84:[33, 2, 18] Operation: 65-47=18
Exploring Operation: 47-33=14, Resulting Numbers: [65, 2, 14]
Generated Node #0,2: 84:[65, 2, 14] Operation: 47-33=14
Exploring Operation: 33+65=98, Resulting Numbers: [47, 2, 98]
Generated Node #0,3: 84:[47, 2, 98] Operation: 33+65=98
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[33, 2, 18], Operations: ['65-47=18']
Exploring Operation: 33-2=31, Resulting Numbers: [18, 31]
Generated Node #0,1,0: 84:[18, 31] Operation: 33-2=31
Exploring Operation: 18-2=16, Resulting Numbers: [33, 16]
Generated Node #0,1,1: 84:[33, 16] Operation: 18-2=16
Exploring Operation: 33-18=15, Resulting Numbers: [2, 15]
Generated Node #0,1,2: 84:[2, 15] Operation: 33-18=15
Exploring Operation: 2+18=20, Resulting Numbers: [33, 20]
Generated Node #0,1,3: 84:[33, 20] Operation: 2+18=20
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 84:[2, 15], Operations: ['65-47=18', '33-18=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,84 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,84 unequal: No Solution
No 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: 84:[18, 31], Operations: ['65-47=18', '33-2=31']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,84 unequal: No Solution
Exploring Operation: 18*31=558, Resulting Numbers: [558]
558,84 unequal: No Solution
No 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: 84:[33, 20], Operations: ['65-47=18', '2+18=20']
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 33*20=660, Resulting Numbers: [660]
660,84 unequal: No Solution
No 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: 84:[33, 16], Operations: ['65-47=18', '18-2=16']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,84 unequal: No Solution
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,84 unequal: No Solution
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,84 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: 84:[47, 2, 32], Operations: ['65-33=32']
Exploring Operation: 32-2=30, Resulting Numbers: [47, 30]
Generated Node #0,0,0: 84:[47, 30] Operation: 32-2=30
Exploring Operation: 47-32=15, Resulting Numbers: [2, 15]
Generated Node #0,0,1: 84:[2, 15] Operation: 47-32=15
Exploring Operation: 47-2=45, Resulting Numbers: [32, 45]
Generated Node #0,0,2: 84:[32, 45] Operation: 47-2=45
Exploring Operation: 47+32=79, Resulting Numbers: [2, 79]
Generated Node #0,0,3: 84:[2, 79] Operation: 47+32=79
Moving to Node #0,0,1
Current State: 84:[2, 15], Operations: ['65-33=32', '47-32=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,84 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Moving to Node #0,0,3
Current State: 84:[2, 79], Operations: ['65-33=32', '47+32=79']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,84 unequal: No Solution
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[32, 45], Operations: ['65-33=32', '47-2=45']
Exploring Operation: 32*45=1440, Resulting Numbers: [1440]
1440,84 unequal: No Solution
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Exploring Operation: 32+45=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[47, 30], Operations: ['65-33=32', '32-2=30']
Exploring Operation: 47+30=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Exploring Operation: 47*30=1410, Resulting Numbers: [1410]
1410,84 unequal: No Solution
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,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,2
Current State: 84:[65, 2, 14], Operations: ['47-33=14']
Exploring Operation: 2*14=28, Resulting Numbers: [65, 28]
Generated Node #0,2,0: 84:[65, 28] Operation: 2*14=28
Exploring Operation: 65-14=51, Resulting Numbers: [2, 51]
Generated Node #0,2,1: 84:[2, 51] Operation: 65-14=51
Exploring Operation: 65+2=67, Resulting Numbers: [14, 67]
Generated Node #0,2,2: 84:[14, 67] Operation: 65+2=67
Exploring Operation: 65+14=79, Resulting Numbers: [2, 79]
Generated Node #0,2,3: 84:[2, 79] Operation: 65+14=79
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 84:[2, 79], Operations: ['47-33=14', '65+14=79']
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,84 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,84 unequal: No Solution
No 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: 84:[2, 51], Operations: ['47-33=14', '65-14=51']
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,84 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,84 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,84 unequal: No Solution
No 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: 84:[14, 67], Operations: ['47-33=14', '65+2=67']
Exploring Operation: 67-14=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 14+67=81, Resulting Numbers: [81]
81,84 unequal: No Solution
Exploring Operation: 14*67=938, Resulting Numbers: [938]
938,84 unequal: No Solution
No 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: 84:[65, 28], Operations: ['47-33=14', '2*14=28']
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 65+28=93, Resulting Numbers: [93]
93,84 unequal: No Solution
Exploring Operation: 65*28=1820, Resulting Numbers: [1820]
1820,84 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: 84:[47, 2, 98], Operations: ['33+65=98']
Exploring Operation: 98/2=49, Resulting Numbers: [47, 49]
Generated Node #0,3,0: 84:[47, 49] Operation: 98/2=49
Exploring Operation: 47-2=45, Resulting Numbers: [98, 45]
Generated Node #0,3,1: 84:[98, 45] Operation: 47-2=45
Exploring Operation: 98-2=96, Resulting Numbers: [47, 96]
Generated Node #0,3,2: 84:[47, 96] Operation: 98-2=96
Exploring Operation: 98-47=51, Resulting Numbers: [2, 51]
Generated Node #0,3,3: 84:[2, 51] Operation: 98-47=51
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 84:[2, 51], Operations: ['33+65=98', '98-47=51']
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,84 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,84 unequal: No Solution
No 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: 84:[47, 49], Operations: ['33+65=98', '98/2=49']
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 47*49=2303, Resulting Numbers: [2303]
2303,84 unequal: No Solution
Exploring Operation: 47+49=96, Resulting Numbers: [96]
96,84 unequal: No Solution
No 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: 84:[98, 45], Operations: ['33+65=98', '47-2=45']
Exploring Operation: 98+45=143, Resulting Numbers: [143]
143,84 unequal: No Solution
Exploring Operation: 98*45=4410, Resulting Numbers: [4410]
4410,84 unequal: No Solution
Exploring Operation: 98-45=53, Resulting Numbers: [53]
53,84 unequal: No Solution
No 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: 84:[47, 96], Operations: ['33+65=98', '98-2=96']
Exploring Operation: 47+96=143, Resulting Numbers: [143]
143,84 unequal: No Solution
Exploring Operation: 96-47=49, Resulting Numbers: [49]
49,84 unequal: No Solution
Exploring Operation: 47*96=4512, Resulting Numbers: [4512]
4512,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
21,
53,
38,
31
] | 65 | [
"21*53=1113",
"38*31=1178",
"1178-1113=65"
] | Current State: 65:[21, 53, 38, 31], Operations: []
Exploring Operation: 21*53=1113, Resulting Numbers: [38, 31, 1113]
Generated Node #2: [38, 31, 1113] from Operation: 21*53=1113
Current State: 65:[38, 31, 1113], Operations: ['21*53=1113']
Exploring Operation: 38*31=1178, Resulting Numbers: [1113, 1178]
Generated Node #3: [1113, 1178] from Operation: 38*31=1178
Current State: 65:[1113, 1178], Operations: ['21*53=1113', '38*31=1178']
Exploring Operation: 1178-1113=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[21, 53, 38, 31], Operations: []
Exploring Operation: 38-31=7, Resulting Numbers: [21, 53, 7]
Generated Node #0,0: 65:[21, 53, 7] Operation: 38-31=7
Exploring Operation: 38+31=69, Resulting Numbers: [21, 53, 69]
Generated Node #0,1: 65:[21, 53, 69] Operation: 38+31=69
Exploring Operation: 53-38=15, Resulting Numbers: [21, 31, 15]
Generated Node #0,2: 65:[21, 31, 15] Operation: 53-38=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[21, 53, 7], Operations: ['38-31=7']
Exploring Operation: 53+7=60, Resulting Numbers: [21, 60]
Generated Node #0,0,0: 65:[21, 60] Operation: 53+7=60
Exploring Operation: 21+53=74, Resulting Numbers: [7, 74]
Generated Node #0,0,1: 65:[7, 74] Operation: 21+53=74
Exploring Operation: 21-7=14, Resulting Numbers: [53, 14]
Generated Node #0,0,2: 65:[53, 14] Operation: 21-7=14
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[7, 74], Operations: ['38-31=7', '21+53=74']
Exploring Operation: 7*74=518, Resulting Numbers: [518]
518,65 unequal: No Solution
Exploring Operation: 7+74=81, Resulting Numbers: [81]
81,65 unequal: No Solution
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,65 unequal: No Solution
No 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: 65:[21, 60], Operations: ['38-31=7', '53+7=60']
Exploring Operation: 21*60=1260, Resulting Numbers: [1260]
1260,65 unequal: No Solution
Exploring Operation: 21+60=81, Resulting Numbers: [81]
81,65 unequal: No Solution
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,65 unequal: No Solution
No 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: 65:[53, 14], Operations: ['38-31=7', '21-7=14']
Exploring Operation: 53*14=742, Resulting Numbers: [742]
742,65 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Exploring Operation: 53+14=67, Resulting Numbers: [67]
67,65 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: 65:[21, 53, 69], Operations: ['38+31=69']
Exploring Operation: 53-21=32, Resulting Numbers: [69, 32]
Generated Node #0,1,0: 65:[69, 32] Operation: 53-21=32
Exploring Operation: 69-53=16, Resulting Numbers: [21, 16]
Generated Node #0,1,1: 65:[21, 16] Operation: 69-53=16
Exploring Operation: 21+53=74, Resulting Numbers: [69, 74]
Generated Node #0,1,2: 65:[69, 74] Operation: 21+53=74
Moving to Node #0,1,1
Current State: 65:[21, 16], Operations: ['38+31=69', '69-53=16']
Exploring Operation: 21+16=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 21*16=336, Resulting Numbers: [336]
336,65 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[69, 74], Operations: ['38+31=69', '21+53=74']
Exploring Operation: 74-69=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 69+74=143, Resulting Numbers: [143]
143,65 unequal: No Solution
Exploring Operation: 69*74=5106, Resulting Numbers: [5106]
5106,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[69, 32], Operations: ['38+31=69', '53-21=32']
Exploring Operation: 69-32=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 69+32=101, Resulting Numbers: [101]
101,65 unequal: No Solution
Exploring Operation: 69*32=2208, Resulting Numbers: [2208]
2208,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[21, 31, 15], Operations: ['53-38=15']
Exploring Operation: 31-21=10, Resulting Numbers: [15, 10]
Generated Node #0,2,0: 65:[15, 10] Operation: 31-21=10
Exploring Operation: 21+31=52, Resulting Numbers: [15, 52]
Generated Node #0,2,1: 65:[15, 52] Operation: 21+31=52
Exploring Operation: 31-15=16, Resulting Numbers: [21, 16]
Generated Node #0,2,2: 65:[21, 16] Operation: 31-15=16
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 65:[15, 10], Operations: ['53-38=15', '31-21=10']
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,65 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,65 unequal: No Solution
No 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: 65:[21, 16], Operations: ['53-38=15', '31-15=16']
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 21*16=336, Resulting Numbers: [336]
336,65 unequal: No Solution
Exploring Operation: 21+16=37, Resulting Numbers: [37]
37,65 unequal: No Solution
No 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: 65:[15, 52], Operations: ['53-38=15', '21+31=52']
Exploring Operation: 15+52=67, Resulting Numbers: [67]
67,65 unequal: No Solution
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 15*52=780, Resulting Numbers: [780]
780,65 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 |
[
3,
19,
61,
47
] | 92 | [
"19-3=16",
"61+47=108",
"108-16=92"
] | Current State: 92:[3, 19, 61, 47], Operations: []
Exploring Operation: 19-3=16, Resulting Numbers: [61, 47, 16]
Generated Node #2: [61, 47, 16] from Operation: 19-3=16
Current State: 92:[61, 47, 16], Operations: ['19-3=16']
Exploring Operation: 61+47=108, Resulting Numbers: [16, 108]
Generated Node #3: [16, 108] from Operation: 61+47=108
Current State: 92:[16, 108], Operations: ['19-3=16', '61+47=108']
Exploring Operation: 108-16=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[3, 19, 61, 47], Operations: []
Exploring Operation: 19+61=80, Resulting Numbers: [3, 47, 80]
Generated Node #0,0: 92:[3, 47, 80] Operation: 19+61=80
Exploring Operation: 3+19=22, Resulting Numbers: [61, 47, 22]
Generated Node #0,1: 92:[61, 47, 22] Operation: 3+19=22
Exploring Operation: 61-47=14, Resulting Numbers: [3, 19, 14]
Generated Node #0,2: 92:[3, 19, 14] Operation: 61-47=14
Exploring Operation: 61-19=42, Resulting Numbers: [3, 47, 42]
Generated Node #0,3: 92:[3, 47, 42] Operation: 61-19=42
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[3, 47, 42], Operations: ['61-19=42']
Exploring Operation: 47-42=5, Resulting Numbers: [3, 5]
Generated Node #0,3,0: 92:[3, 5] Operation: 47-42=5
Exploring Operation: 47-3=44, Resulting Numbers: [42, 44]
Generated Node #0,3,1: 92:[42, 44] Operation: 47-3=44
Exploring Operation: 47+42=89, Resulting Numbers: [3, 89]
Generated Node #0,3,2: 92:[3, 89] Operation: 47+42=89
Exploring Operation: 3+42=45, Resulting Numbers: [47, 45]
Generated Node #0,3,3: 92:[47, 45] Operation: 3+42=45
Moving to Node #0,3,0
Current State: 92:[3, 5], Operations: ['61-19=42', '47-42=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Moving to Node #0,3,3
Current State: 92:[47, 45], Operations: ['61-19=42', '3+42=45']
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[3, 19, 61, 47], Operations: []
Exploring Operation: 61-19=42, Resulting Numbers: [3, 47, 42]
Generated Node #0,3: 92:[3, 47, 42] Operation: 61-19=42
Moving to Node #0,3
Current State: 92:[3, 47, 42], Operations: ['61-19=42']
Exploring Operation: 3+42=45, Resulting Numbers: [47, 45]
Generated Node #0,3,3: 92:[47, 45] Operation: 3+42=45
Moving to Node #0,3,3
Current State: 92:[47, 45], Operations: ['61-19=42', '3+42=45']
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
63,
92,
90,
60
] | 75 | [
"92*90=8280",
"8280/60=138",
"138-63=75"
] | Current State: 75:[63, 92, 90, 60], Operations: []
Exploring Operation: 92*90=8280, Resulting Numbers: [63, 60, 8280]
Generated Node #2: [63, 60, 8280] from Operation: 92*90=8280
Current State: 75:[63, 60, 8280], Operations: ['92*90=8280']
Exploring Operation: 8280/60=138, Resulting Numbers: [63, 138]
Generated Node #3: [63, 138] from Operation: 8280/60=138
Current State: 75:[63, 138], Operations: ['92*90=8280', '8280/60=138']
Exploring Operation: 138-63=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[63, 92, 90, 60], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [63, 60, 2]
Generated Node #0,0: 75:[63, 60, 2] Operation: 92-90=2
Exploring Operation: 63-60=3, Resulting Numbers: [92, 90, 3]
Generated Node #0,1: 75:[92, 90, 3] Operation: 63-60=3
Moving to Node #0,0
Current State: 75:[63, 60, 2], Operations: ['92-90=2']
Exploring Operation: 60/2=30, Resulting Numbers: [63, 30]
Generated Node #0,0,0: 75:[63, 30] Operation: 60/2=30
Exploring Operation: 63-60=3, Resulting Numbers: [2, 3]
Generated Node #0,0,1: 75:[2, 3] Operation: 63-60=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[2, 3], Operations: ['92-90=2', '63-60=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[63, 30], Operations: ['92-90=2', '60/2=30']
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,75 unequal: No Solution
Exploring Operation: 63+30=93, Resulting Numbers: [93]
93,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 75:[92, 90, 3], Operations: ['63-60=3']
Exploring Operation: 92-90=2, Resulting Numbers: [3, 2]
Generated Node #0,1,0: 75:[3, 2] Operation: 92-90=2
Exploring Operation: 90/3=30, Resulting Numbers: [92, 30]
Generated Node #0,1,1: 75:[92, 30] Operation: 90/3=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[3, 2], Operations: ['63-60=3', '92-90=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[92, 30], Operations: ['63-60=3', '90/3=30']
Exploring Operation: 92+30=122, Resulting Numbers: [122]
122,75 unequal: No Solution
Exploring Operation: 92-30=62, Resulting Numbers: [62]
62,75 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 |
[
16,
14,
50,
44
] | 48 | [
"44-16=28",
"28/14=2",
"50-2=48"
] | Current State: 48:[16, 14, 50, 44], Operations: []
Exploring Operation: 44-16=28, Resulting Numbers: [14, 50, 28]
Generated Node #2: [14, 50, 28] from Operation: 44-16=28
Current State: 48:[14, 50, 28], Operations: ['44-16=28']
Exploring Operation: 28/14=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 28/14=2
Current State: 48:[50, 2], Operations: ['44-16=28', '28/14=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[16, 14, 50, 44], Operations: []
Exploring Operation: 50-44=6, Resulting Numbers: [16, 14, 6]
Generated Node #0,0: 48:[16, 14, 6] Operation: 50-44=6
Exploring Operation: 16-14=2, Resulting Numbers: [50, 44, 2]
Generated Node #0,1: 48:[50, 44, 2] Operation: 16-14=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[16, 14, 6], Operations: ['50-44=6']
Exploring Operation: 16-14=2, Resulting Numbers: [6, 2]
Generated Node #0,0,0: 48:[6, 2] Operation: 16-14=2
Exploring Operation: 14-6=8, Resulting Numbers: [16, 8]
Generated Node #0,0,1: 48:[16, 8] Operation: 14-6=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[6, 2], Operations: ['50-44=6', '16-14=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 48:[16, 8], Operations: ['50-44=6', '14-6=8']
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[50, 44, 2], Operations: ['16-14=2']
Exploring Operation: 50-2=48, Resulting Numbers: [44, 48]
Generated Node #0,1,0: 48:[44, 48] Operation: 50-2=48
Exploring Operation: 50-44=6, Resulting Numbers: [2, 6]
Generated Node #0,1,1: 48:[2, 6] Operation: 50-44=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 48:[2, 6], Operations: ['16-14=2', '50-44=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 48:[44, 48], Operations: ['16-14=2', '50-2=48']
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
54,
52,
96,
3
] | 97 | [
"54-52=2",
"96+3=99",
"99-2=97"
] | Current State: 97:[54, 52, 96, 3], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [96, 3, 2]
Generated Node #2: [96, 3, 2] from Operation: 54-52=2
Current State: 97:[96, 3, 2], Operations: ['54-52=2']
Exploring Operation: 96+3=99, Resulting Numbers: [2, 99]
Generated Node #3: [2, 99] from Operation: 96+3=99
Current State: 97:[2, 99], Operations: ['54-52=2', '96+3=99']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[54, 52, 96, 3], Operations: []
Exploring Operation: 54+3=57, Resulting Numbers: [52, 96, 57]
Generated Node #0,0: 97:[52, 96, 57] Operation: 54+3=57
Exploring Operation: 52+3=55, Resulting Numbers: [54, 96, 55]
Generated Node #0,1: 97:[54, 96, 55] Operation: 52+3=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[52, 96, 57], Operations: ['54+3=57']
Exploring Operation: 52+96=148, Resulting Numbers: [57, 148]
Generated Node #0,0,0: 97:[57, 148] Operation: 52+96=148
Exploring Operation: 52+57=109, Resulting Numbers: [96, 109]
Generated Node #0,0,1: 97:[96, 109] Operation: 52+57=109
Moving to Node #0,0,1
Current State: 97:[96, 109], Operations: ['54+3=57', '52+57=109']
Exploring Operation: 109-96=13, Resulting Numbers: [13]
13,97 unequal: No Solution
Exploring Operation: 96+109=205, Resulting Numbers: [205]
205,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[57, 148], Operations: ['54+3=57', '52+96=148']
Exploring Operation: 57+148=205, Resulting Numbers: [205]
205,97 unequal: No Solution
Exploring Operation: 148-57=91, Resulting Numbers: [91]
91,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,1
Current State: 97:[54, 96, 55], Operations: ['52+3=55']
Exploring Operation: 54+55=109, Resulting Numbers: [96, 109]
Generated Node #0,1,0: 97:[96, 109] Operation: 54+55=109
Exploring Operation: 54+96=150, Resulting Numbers: [55, 150]
Generated Node #0,1,1: 97:[55, 150] Operation: 54+96=150
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[96, 109], Operations: ['52+3=55', '54+55=109']
Exploring Operation: 109-96=13, Resulting Numbers: [13]
13,97 unequal: No Solution
Exploring Operation: 96+109=205, Resulting Numbers: [205]
205,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[55, 150], Operations: ['52+3=55', '54+96=150']
Exploring Operation: 55+150=205, Resulting Numbers: [205]
205,97 unequal: No Solution
Exploring Operation: 150-55=95, Resulting Numbers: [95]
95,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
46,
66,
38,
1
] | 73 | [
"46+66=112",
"38+1=39",
"112-39=73"
] | Current State: 73:[46, 66, 38, 1], Operations: []
Exploring Operation: 46+66=112, Resulting Numbers: [38, 1, 112]
Generated Node #2: [38, 1, 112] from Operation: 46+66=112
Current State: 73:[38, 1, 112], Operations: ['46+66=112']
Exploring Operation: 38+1=39, Resulting Numbers: [112, 39]
Generated Node #3: [112, 39] from Operation: 38+1=39
Current State: 73:[112, 39], Operations: ['46+66=112', '38+1=39']
Exploring Operation: 112-39=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[46, 66, 38, 1], Operations: []
Exploring Operation: 46+1=47, Resulting Numbers: [66, 38, 47]
Generated Node #0,0: 73:[66, 38, 47] Operation: 46+1=47
Exploring Operation: 66+1=67, Resulting Numbers: [46, 38, 67]
Generated Node #0,1: 73:[46, 38, 67] Operation: 66+1=67
Moving to Node #0,0
Current State: 73:[66, 38, 47], Operations: ['46+1=47']
Exploring Operation: 66+38=104, Resulting Numbers: [47, 104]
Generated Node #0,0,0: 73:[47, 104] Operation: 66+38=104
Exploring Operation: 38+47=85, Resulting Numbers: [66, 85]
Generated Node #0,0,1: 73:[66, 85] Operation: 38+47=85
Moving to Node #0,1
Current State: 73:[46, 38, 67], Operations: ['66+1=67']
Exploring Operation: 46+38=84, Resulting Numbers: [67, 84]
Generated Node #0,1,0: 73:[67, 84] Operation: 46+38=84
Exploring Operation: 38+67=105, Resulting Numbers: [46, 105]
Generated Node #0,1,1: 73:[46, 105] Operation: 38+67=105
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[67, 84], Operations: ['66+1=67', '46+38=84']
Exploring Operation: 84-67=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 67+84=151, Resulting Numbers: [151]
151,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[46, 105], Operations: ['66+1=67', '38+67=105']
Exploring Operation: 105-46=59, Resulting Numbers: [59]
59,73 unequal: No Solution
Exploring Operation: 46+105=151, Resulting Numbers: [151]
151,73 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: 73:[66, 85], Operations: ['46+1=47', '38+47=85']
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,73 unequal: No Solution
Exploring Operation: 66+85=151, Resulting Numbers: [151]
151,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[47, 104], Operations: ['46+1=47', '66+38=104']
Exploring Operation: 104-47=57, Resulting Numbers: [57]
57,73 unequal: No Solution
Exploring Operation: 47+104=151, Resulting Numbers: [151]
151,73 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
79,
4,
47,
36
] | 94 | [
"79+4=83",
"47-36=11",
"83+11=94"
] | Current State: 94:[79, 4, 47, 36], Operations: []
Exploring Operation: 79+4=83, Resulting Numbers: [47, 36, 83]
Generated Node #2: [47, 36, 83] from Operation: 79+4=83
Current State: 94:[47, 36, 83], Operations: ['79+4=83']
Exploring Operation: 47-36=11, Resulting Numbers: [83, 11]
Generated Node #3: [83, 11] from Operation: 47-36=11
Current State: 94:[83, 11], Operations: ['79+4=83', '47-36=11']
Exploring Operation: 83+11=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[79, 4, 47, 36], Operations: []
Exploring Operation: 79+4=83, Resulting Numbers: [47, 36, 83]
Generated Node #0,0: 94:[47, 36, 83] Operation: 79+4=83
Exploring Operation: 4+36=40, Resulting Numbers: [79, 47, 40]
Generated Node #0,1: 94:[79, 47, 40] Operation: 4+36=40
Exploring Operation: 36/4=9, Resulting Numbers: [79, 47, 9]
Generated Node #0,2: 94:[79, 47, 9] Operation: 36/4=9
Exploring Operation: 79-36=43, Resulting Numbers: [4, 47, 43]
Generated Node #0,3: 94:[4, 47, 43] Operation: 79-36=43
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[4, 47, 43], Operations: ['79-36=43']
Exploring Operation: 47+43=90, Resulting Numbers: [4, 90]
Generated Node #0,3,0: 94:[4, 90] Operation: 47+43=90
Exploring Operation: 4+47=51, Resulting Numbers: [43, 51]
Generated Node #0,3,1: 94:[43, 51] Operation: 4+47=51
Exploring Operation: 47-43=4, Resulting Numbers: [4, 4]
Generated Node #0,3,2: 94:[4, 4] Operation: 47-43=4
Exploring Operation: 4+43=47, Resulting Numbers: [47, 47]
Generated Node #0,3,3: 94:[47, 47] Operation: 4+43=47
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 94:[47, 47], Operations: ['79-36=43', '4+43=47']
Exploring Operation: 47*47=2209, Resulting Numbers: [2209]
2209,94 unequal: No Solution
Exploring Operation: 47/47=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[79, 4, 47, 36], Operations: []
Exploring Operation: 79-36=43, Resulting Numbers: [4, 47, 43]
Generated Node #0,3: 94:[4, 47, 43] Operation: 79-36=43
Moving to Node #0,3
Current State: 94:[4, 47, 43], Operations: ['79-36=43']
Exploring Operation: 4+43=47, Resulting Numbers: [47, 47]
Generated Node #0,3,3: 94:[47, 47] Operation: 4+43=47
Moving to Node #0,3,3
Current State: 94:[47, 47], Operations: ['79-36=43', '4+43=47']
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
44,
44,
66,
83
] | 26 | [
"83-44=39",
"44*39=1716",
"1716/66=26"
] | Current State: 26:[44, 44, 66, 83], Operations: []
Exploring Operation: 83-44=39, Resulting Numbers: [66, 39]
Generated Node #2: [66, 39] from Operation: 83-44=39
Current State: 26:[66, 39], Operations: ['83-44=39']
Exploring Operation: 44*39=1716, Resulting Numbers: [66, 1716]
Generated Node #3: [66, 1716] from Operation: 44*39=1716
Current State: 26:[66, 1716], Operations: ['83-44=39', '44*39=1716']
Exploring Operation: 1716/66=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[44, 44, 66, 83], Operations: []
Exploring Operation: 83-66=17, Resulting Numbers: [44, 44, 17]
Generated Node #0,0: 26:[44, 44, 17] Operation: 83-66=17
Exploring Operation: 83-44=39, Resulting Numbers: [44, 66, 39]
Generated Node #0,1: 26:[44, 66, 39] Operation: 83-44=39
Exploring Operation: 83-44=39, Resulting Numbers: [44, 66, 39]
Generated Node #0,2: 26:[44, 66, 39] Operation: 83-44=39
Exploring Operation: 66-44=22, Resulting Numbers: [44, 83, 22]
Generated Node #0,3: 26:[44, 83, 22] Operation: 66-44=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[44, 44, 17], Operations: ['83-66=17']
Exploring Operation: 44/44=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 26:[17, 1] Operation: 44/44=1
Exploring Operation: 44-17=27, Resulting Numbers: [44, 27]
Generated Node #0,0,1: 26:[44, 27] Operation: 44-17=27
Exploring Operation: 44-17=27, Resulting Numbers: [44, 27]
Generated Node #0,0,2: 26:[44, 27] Operation: 44-17=27
Exploring Operation: 44-44=0, Resulting Numbers: [17, 0]
Generated Node #0,0,3: 26:[17, 0] Operation: 44-44=0
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[17, 1], Operations: ['83-66=17', '44/44=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,26 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 26:[17, 0], Operations: ['83-66=17', '44-44=0']
Exploring Operation: 17+0=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 17-0=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 17*0=0, Resulting Numbers: [0]
0,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 26:[44, 27], Operations: ['83-66=17', '44-17=27']
Exploring Operation: 44*27=1188, Resulting Numbers: [1188]
1188,26 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 26:[44, 27], Operations: ['83-66=17', '44-17=27']
Exploring Operation: 44*27=1188, Resulting Numbers: [1188]
1188,26 unequal: No Solution
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,26 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[44, 66, 39], Operations: ['83-44=39']
Exploring Operation: 44-39=5, Resulting Numbers: [66, 5]
Generated Node #0,1,0: 26:[66, 5] Operation: 44-39=5
Exploring Operation: 66-39=27, Resulting Numbers: [44, 27]
Generated Node #0,1,1: 26:[44, 27] Operation: 66-39=27
Exploring Operation: 44+66=110, Resulting Numbers: [39, 110]
Generated Node #0,1,2: 26:[39, 110] Operation: 44+66=110
Exploring Operation: 66-44=22, Resulting Numbers: [39, 22]
Generated Node #0,1,3: 26:[39, 22] Operation: 66-44=22
Moving to Node #0,1,3
Current State: 26:[39, 22], Operations: ['83-44=39', '66-44=22']
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 39*22=858, Resulting Numbers: [858]
858,26 unequal: No Solution
Exploring Operation: 39+22=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[44, 27], Operations: ['83-44=39', '66-39=27']
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,26 unequal: No Solution
Exploring Operation: 44*27=1188, Resulting Numbers: [1188]
1188,26 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[66, 5], Operations: ['83-44=39', '44-39=5']
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,26 unequal: No Solution
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[39, 110], Operations: ['83-44=39', '44+66=110']
Exploring Operation: 39+110=149, Resulting Numbers: [149]
149,26 unequal: No Solution
Exploring Operation: 39*110=4290, Resulting Numbers: [4290]
4290,26 unequal: No Solution
Exploring Operation: 110-39=71, Resulting Numbers: [71]
71,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[44, 66, 39], Operations: ['83-44=39']
Exploring Operation: 44+66=110, Resulting Numbers: [39, 110]
Generated Node #0,2,0: 26:[39, 110] Operation: 44+66=110
Exploring Operation: 44-39=5, Resulting Numbers: [66, 5]
Generated Node #0,2,1: 26:[66, 5] Operation: 44-39=5
Exploring Operation: 66-44=22, Resulting Numbers: [39, 22]
Generated Node #0,2,2: 26:[39, 22] Operation: 66-44=22
Exploring Operation: 66-39=27, Resulting Numbers: [44, 27]
Generated Node #0,2,3: 26:[44, 27] Operation: 66-39=27
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 26:[39, 22], Operations: ['83-44=39', '66-44=22']
Exploring Operation: 39+22=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Exploring Operation: 39*22=858, Resulting Numbers: [858]
858,26 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 26:[44, 27], Operations: ['83-44=39', '66-39=27']
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,26 unequal: No Solution
Exploring Operation: 44*27=1188, Resulting Numbers: [1188]
1188,26 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 26:[66, 5], Operations: ['83-44=39', '44-39=5']
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,26 unequal: No Solution
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,26 unequal: No Solution
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 26:[39, 110], Operations: ['83-44=39', '44+66=110']
Exploring Operation: 39+110=149, Resulting Numbers: [149]
149,26 unequal: No Solution
Exploring Operation: 39*110=4290, Resulting Numbers: [4290]
4290,26 unequal: No Solution
Exploring Operation: 110-39=71, Resulting Numbers: [71]
71,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 26:[44, 83, 22], Operations: ['66-44=22']
Exploring Operation: 83-44=39, Resulting Numbers: [22, 39]
Generated Node #0,3,0: 26:[22, 39] Operation: 83-44=39
Exploring Operation: 44/22=2, Resulting Numbers: [83, 2]
Generated Node #0,3,1: 26:[83, 2] Operation: 44/22=2
Exploring Operation: 83-22=61, Resulting Numbers: [44, 61]
Generated Node #0,3,2: 26:[44, 61] Operation: 83-22=61
Exploring Operation: 44-22=22, Resulting Numbers: [83, 22]
Generated Node #0,3,3: 26:[83, 22] Operation: 44-22=22
Moving to Node #0,3,0
Current State: 26:[22, 39], Operations: ['66-44=22', '83-44=39']
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,26 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Moving to Node #0,3,2
Current State: 26:[44, 61], Operations: ['66-44=22', '83-22=61']
Exploring Operation: 61-44=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 44*61=2684, Resulting Numbers: [2684]
2684,26 unequal: No Solution
Exploring Operation: 44+61=105, Resulting Numbers: [105]
105,26 unequal: No Solution
Moving to Node #0,3,1
Current State: 26:[83, 2], Operations: ['66-44=22', '44/22=2']
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,26 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,26 unequal: No Solution
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,26 unequal: No Solution
Moving to Node #0,3,3
Current State: 26:[83, 22], Operations: ['66-44=22', '44-22=22']
Exploring Operation: 83*22=1826, Resulting Numbers: [1826]
1826,26 unequal: No Solution
Exploring Operation: 83+22=105, Resulting Numbers: [105]
105,26 unequal: No Solution
Exploring Operation: 83-22=61, Resulting Numbers: [61]
61,26 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 |
[
72,
70,
16,
61
] | 24 | [
"70-61=9",
"72/9=8",
"16+8=24"
] | Current State: 24:[72, 70, 16, 61], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [72, 16, 9]
Generated Node #2: [72, 16, 9] from Operation: 70-61=9
Current State: 24:[72, 16, 9], Operations: ['70-61=9']
Exploring Operation: 72/9=8, Resulting Numbers: [16, 8]
Generated Node #3: [16, 8] from Operation: 72/9=8
Current State: 24:[16, 8], Operations: ['70-61=9', '72/9=8']
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[72, 70, 16, 61], Operations: []
Exploring Operation: 72-70=2, Resulting Numbers: [16, 61, 2]
Generated Node #0,0: 24:[16, 61, 2] Operation: 72-70=2
Exploring Operation: 72-61=11, Resulting Numbers: [70, 16, 11]
Generated Node #0,1: 24:[70, 16, 11] Operation: 72-61=11
Exploring Operation: 70-61=9, Resulting Numbers: [72, 16, 9]
Generated Node #0,2: 24:[72, 16, 9] Operation: 70-61=9
Exploring Operation: 72-16=56, Resulting Numbers: [70, 61, 56]
Generated Node #0,3: 24:[70, 61, 56] Operation: 72-16=56
Moving to Node #0,0
Current State: 24:[16, 61, 2], Operations: ['72-70=2']
Exploring Operation: 61-2=59, Resulting Numbers: [16, 59]
Generated Node #0,0,0: 24:[16, 59] Operation: 61-2=59
Exploring Operation: 61-16=45, Resulting Numbers: [2, 45]
Generated Node #0,0,1: 24:[2, 45] Operation: 61-16=45
Exploring Operation: 16-2=14, Resulting Numbers: [61, 14]
Generated Node #0,0,2: 24:[61, 14] Operation: 16-2=14
Exploring Operation: 16/2=8, Resulting Numbers: [61, 8]
Generated Node #0,0,3: 24:[61, 8] Operation: 16/2=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[2, 45], Operations: ['72-70=2', '61-16=45']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,24 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 24:[61, 8], Operations: ['72-70=2', '16/2=8']
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 61+8=69, Resulting Numbers: [69]
69,24 unequal: No Solution
Exploring Operation: 61*8=488, Resulting Numbers: [488]
488,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[16, 59], Operations: ['72-70=2', '61-2=59']
Exploring Operation: 16+59=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,24 unequal: No Solution
Exploring Operation: 16*59=944, Resulting Numbers: [944]
944,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 24:[61, 14], Operations: ['72-70=2', '16-2=14']
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,24 unequal: No Solution
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,24 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: 24:[70, 16, 11], Operations: ['72-61=11']
Exploring Operation: 16-11=5, Resulting Numbers: [70, 5]
Generated Node #0,1,0: 24:[70, 5] Operation: 16-11=5
Exploring Operation: 70-16=54, Resulting Numbers: [11, 54]
Generated Node #0,1,1: 24:[11, 54] Operation: 70-16=54
Exploring Operation: 70-11=59, Resulting Numbers: [16, 59]
Generated Node #0,1,2: 24:[16, 59] Operation: 70-11=59
Exploring Operation: 16+11=27, Resulting Numbers: [70, 27]
Generated Node #0,1,3: 24:[70, 27] Operation: 16+11=27
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[11, 54], Operations: ['72-61=11', '70-16=54']
Exploring Operation: 11*54=594, Resulting Numbers: [594]
594,24 unequal: No Solution
Exploring Operation: 11+54=65, Resulting Numbers: [65]
65,24 unequal: No Solution
Exploring Operation: 54-11=43, Resulting Numbers: [43]
43,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[16, 59], Operations: ['72-61=11', '70-11=59']
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,24 unequal: No Solution
Exploring Operation: 16+59=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 16*59=944, Resulting Numbers: [944]
944,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[70, 5], Operations: ['72-61=11', '16-11=5']
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 70*5=350, Resulting Numbers: [350]
350,24 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,24 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 24:[70, 27], Operations: ['72-61=11', '16+11=27']
Exploring Operation: 70+27=97, Resulting Numbers: [97]
97,24 unequal: No Solution
Exploring Operation: 70*27=1890, Resulting Numbers: [1890]
1890,24 unequal: No Solution
Exploring Operation: 70-27=43, Resulting Numbers: [43]
43,24 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: 24:[72, 16, 9], Operations: ['70-61=9']
Exploring Operation: 72/9=8, Resulting Numbers: [16, 8]
Generated Node #0,2,0: 24:[16, 8] Operation: 72/9=8
Exploring Operation: 16+9=25, Resulting Numbers: [72, 25]
Generated Node #0,2,1: 24:[72, 25] Operation: 16+9=25
Exploring Operation: 72-9=63, Resulting Numbers: [16, 63]
Generated Node #0,2,2: 24:[16, 63] Operation: 72-9=63
Exploring Operation: 72-16=56, Resulting Numbers: [9, 56]
Generated Node #0,2,3: 24:[9, 56] Operation: 72-16=56
Moving to Node #0,3
Current State: 24:[70, 61, 56], Operations: ['72-16=56']
Exploring Operation: 61-56=5, Resulting Numbers: [70, 5]
Generated Node #0,3,0: 24:[70, 5] Operation: 61-56=5
Exploring Operation: 70-61=9, Resulting Numbers: [56, 9]
Generated Node #0,3,1: 24:[56, 9] Operation: 70-61=9
Exploring Operation: 70+61=131, Resulting Numbers: [56, 131]
Generated Node #0,3,2: 24:[56, 131] Operation: 70+61=131
Exploring Operation: 70-56=14, Resulting Numbers: [61, 14]
Generated Node #0,3,3: 24:[61, 14] Operation: 70-56=14
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 24:[56, 9], Operations: ['72-16=56', '70-61=9']
Exploring Operation: 56+9=65, Resulting Numbers: [65]
65,24 unequal: No Solution
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 56*9=504, Resulting Numbers: [504]
504,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 24:[61, 14], Operations: ['72-16=56', '70-56=14']
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,24 unequal: No Solution
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 24:[70, 5], Operations: ['72-16=56', '61-56=5']
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,24 unequal: No Solution
Exploring Operation: 70*5=350, Resulting Numbers: [350]
350,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 24:[56, 131], Operations: ['72-16=56', '70+61=131']
Exploring Operation: 56*131=7336, Resulting Numbers: [7336]
7336,24 unequal: No Solution
Exploring Operation: 131-56=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 56+131=187, Resulting Numbers: [187]
187,24 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: 24:[16, 8], Operations: ['70-61=9', '72/9=8']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[72, 70, 16, 61], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [72, 16, 9]
Generated Node #0,2: 24:[72, 16, 9] Operation: 70-61=9
Moving to Node #0,2
Current State: 24:[72, 16, 9], Operations: ['70-61=9']
Exploring Operation: 72/9=8, Resulting Numbers: [16, 8]
Generated Node #0,2,0: 24:[16, 8] Operation: 72/9=8
Moving to Node #0,2,0
Current State: 24:[16, 8], Operations: ['70-61=9', '72/9=8']
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.944444 | hs_4 | mult_heuristic |
[
91,
86,
41,
66
] | 20 | [
"91-86=5",
"66-41=25",
"25-5=20"
] | Current State: 20:[91, 86, 41, 66], Operations: []
Exploring Operation: 91-86=5, Resulting Numbers: [41, 66, 5]
Generated Node #2: [41, 66, 5] from Operation: 91-86=5
Current State: 20:[41, 66, 5], Operations: ['91-86=5']
Exploring Operation: 66-41=25, Resulting Numbers: [5, 25]
Generated Node #3: [5, 25] from Operation: 66-41=25
Current State: 20:[5, 25], Operations: ['91-86=5', '66-41=25']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[91, 86, 41, 66], Operations: []
Exploring Operation: 91-66=25, Resulting Numbers: [86, 41, 25]
Generated Node #0,0: 20:[86, 41, 25] Operation: 91-66=25
Exploring Operation: 91-86=5, Resulting Numbers: [41, 66, 5]
Generated Node #0,1: 20:[41, 66, 5] Operation: 91-86=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[41, 66, 5], Operations: ['91-86=5']
Exploring Operation: 41-5=36, Resulting Numbers: [66, 36]
Generated Node #0,1,0: 20:[66, 36] Operation: 41-5=36
Exploring Operation: 66-41=25, Resulting Numbers: [5, 25]
Generated Node #0,1,1: 20:[5, 25] Operation: 66-41=25
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[5, 25], Operations: ['91-86=5', '66-41=25']
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[91, 86, 41, 66], Operations: []
Exploring Operation: 91-86=5, Resulting Numbers: [41, 66, 5]
Generated Node #0,1: 20:[41, 66, 5] Operation: 91-86=5
Moving to Node #0,1
Current State: 20:[41, 66, 5], Operations: ['91-86=5']
Exploring Operation: 66-41=25, Resulting Numbers: [5, 25]
Generated Node #0,1,1: 20:[5, 25] Operation: 66-41=25
Moving to Node #0,1,1
Current State: 20:[5, 25], Operations: ['91-86=5', '66-41=25']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
60,
54,
12,
57
] | 90 | [
"60-57=3",
"12*3=36",
"54+36=90"
] | Current State: 90:[60, 54, 12, 57], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [54, 12, 3]
Generated Node #2: [54, 12, 3] from Operation: 60-57=3
Current State: 90:[54, 12, 3], Operations: ['60-57=3']
Exploring Operation: 12*3=36, Resulting Numbers: [54, 36]
Generated Node #3: [54, 36] from Operation: 12*3=36
Current State: 90:[54, 36], Operations: ['60-57=3', '12*3=36']
Exploring Operation: 54+36=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[60, 54, 12, 57], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [60, 12, 3]
Generated Node #0,0: 90:[60, 12, 3] Operation: 57-54=3
Exploring Operation: 60-57=3, Resulting Numbers: [54, 12, 3]
Generated Node #0,1: 90:[54, 12, 3] Operation: 60-57=3
Exploring Operation: 60-54=6, Resulting Numbers: [12, 57, 6]
Generated Node #0,2: 90:[12, 57, 6] Operation: 60-54=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[54, 12, 3], Operations: ['60-57=3']
Exploring Operation: 54/3=18, Resulting Numbers: [12, 18]
Generated Node #0,1,0: 90:[12, 18] Operation: 54/3=18
Exploring Operation: 54-3=51, Resulting Numbers: [12, 51]
Generated Node #0,1,1: 90:[12, 51] Operation: 54-3=51
Exploring Operation: 54-12=42, Resulting Numbers: [3, 42]
Generated Node #0,1,2: 90:[3, 42] Operation: 54-12=42
Moving to Node #0,1,0
Current State: 90:[12, 18], Operations: ['60-57=3', '54/3=18']
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,90 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[3, 42], Operations: ['60-57=3', '54-12=42']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[12, 51], Operations: ['60-57=3', '54-3=51']
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 12+51=63, Resulting Numbers: [63]
63,90 unequal: No Solution
Exploring Operation: 12*51=612, Resulting Numbers: [612]
612,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,2
Current State: 90:[12, 57, 6], Operations: ['60-54=6']
Exploring Operation: 12+6=18, Resulting Numbers: [57, 18]
Generated Node #0,2,0: 90:[57, 18] Operation: 12+6=18
Exploring Operation: 57-6=51, Resulting Numbers: [12, 51]
Generated Node #0,2,1: 90:[12, 51] Operation: 57-6=51
Exploring Operation: 57-12=45, Resulting Numbers: [6, 45]
Generated Node #0,2,2: 90:[6, 45] Operation: 57-12=45
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 90:[6, 45], Operations: ['60-54=6', '57-12=45']
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,90 unequal: No Solution
No 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: 90:[12, 51], Operations: ['60-54=6', '57-6=51']
Exploring Operation: 12*51=612, Resulting Numbers: [612]
612,90 unequal: No Solution
Exploring Operation: 12+51=63, Resulting Numbers: [63]
63,90 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,90 unequal: No Solution
No 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: 90:[57, 18], Operations: ['60-54=6', '12+6=18']
Exploring Operation: 57+18=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 57*18=1026, Resulting Numbers: [1026]
1026,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[60, 12, 3], Operations: ['57-54=3']
Exploring Operation: 60/3=20, Resulting Numbers: [12, 20]
Generated Node #0,0,0: 90:[12, 20] Operation: 60/3=20
Exploring Operation: 60/12=5, Resulting Numbers: [3, 5]
Generated Node #0,0,1: 90:[3, 5] Operation: 60/12=5
Exploring Operation: 60-12=48, Resulting Numbers: [3, 48]
Generated Node #0,0,2: 90:[3, 48] Operation: 60-12=48
Moving to Node #0,0,1
Current State: 90:[3, 5], Operations: ['57-54=3', '60/12=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[3, 48], Operations: ['57-54=3', '60-12=48']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[12, 20], Operations: ['57-54=3', '60/3=20']
Exploring Operation: 12*20=240, Resulting Numbers: [240]
240,90 unequal: No Solution
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,90 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
57,
41,
8,
34
] | 68 | [
"57-41=16",
"16/8=2",
"34*2=68"
] | Current State: 68:[57, 41, 8, 34], Operations: []
Exploring Operation: 57-41=16, Resulting Numbers: [8, 34, 16]
Generated Node #2: [8, 34, 16] from Operation: 57-41=16
Current State: 68:[8, 34, 16], Operations: ['57-41=16']
Exploring Operation: 16/8=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 16/8=2
Current State: 68:[34, 2], Operations: ['57-41=16', '16/8=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[57, 41, 8, 34], Operations: []
Exploring Operation: 57+8=65, Resulting Numbers: [41, 34, 65]
Generated Node #0,0: 68:[41, 34, 65] Operation: 57+8=65
Exploring Operation: 41-8=33, Resulting Numbers: [57, 34, 33]
Generated Node #0,1: 68:[57, 34, 33] Operation: 41-8=33
Exploring Operation: 57-34=23, Resulting Numbers: [41, 8, 23]
Generated Node #0,2: 68:[41, 8, 23] Operation: 57-34=23
Exploring Operation: 57-41=16, Resulting Numbers: [8, 34, 16]
Generated Node #0,3: 68:[8, 34, 16] Operation: 57-41=16
Start Sub Search at level 1: Moving to Node #0,3
Current State: 68:[8, 34, 16], Operations: ['57-41=16']
Exploring Operation: 34-16=18, Resulting Numbers: [8, 18]
Generated Node #0,3,0: 68:[8, 18] Operation: 34-16=18
Exploring Operation: 16-8=8, Resulting Numbers: [34, 8]
Generated Node #0,3,1: 68:[34, 8] Operation: 16-8=8
Exploring Operation: 16/8=2, Resulting Numbers: [34, 2]
Generated Node #0,3,2: 68:[34, 2] Operation: 16/8=2
Exploring Operation: 8+16=24, Resulting Numbers: [34, 24]
Generated Node #0,3,3: 68:[34, 24] Operation: 8+16=24
Moving to Node #0,3,2
Current State: 68:[34, 2], Operations: ['57-41=16', '16/8=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[57, 41, 8, 34], Operations: []
Exploring Operation: 57-41=16, Resulting Numbers: [8, 34, 16]
Generated Node #0,3: 68:[8, 34, 16] Operation: 57-41=16
Moving to Node #0,3
Current State: 68:[8, 34, 16], Operations: ['57-41=16']
Exploring Operation: 16/8=2, Resulting Numbers: [34, 2]
Generated Node #0,3,2: 68:[34, 2] Operation: 16/8=2
Moving to Node #0,3,2
Current State: 68:[34, 2], Operations: ['57-41=16', '16/8=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
2,
60,
78,
83
] | 13 | [
"2*78=156",
"60+83=143",
"156-143=13"
] | Current State: 13:[2, 60, 78, 83], Operations: []
Exploring Operation: 2*78=156, Resulting Numbers: [60, 83, 156]
Generated Node #2: [60, 83, 156] from Operation: 2*78=156
Current State: 13:[60, 83, 156], Operations: ['2*78=156']
Exploring Operation: 60+83=143, Resulting Numbers: [156, 143]
Generated Node #3: [156, 143] from Operation: 60+83=143
Current State: 13:[156, 143], Operations: ['2*78=156', '60+83=143']
Exploring Operation: 156-143=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[2, 60, 78, 83], Operations: []
Exploring Operation: 78-60=18, Resulting Numbers: [2, 83, 18]
Generated Node #0,0: 13:[2, 83, 18] Operation: 78-60=18
Exploring Operation: 83-78=5, Resulting Numbers: [2, 60, 5]
Generated Node #0,1: 13:[2, 60, 5] Operation: 83-78=5
Exploring Operation: 83-60=23, Resulting Numbers: [2, 78, 23]
Generated Node #0,2: 13:[2, 78, 23] Operation: 83-60=23
Exploring Operation: 78/2=39, Resulting Numbers: [60, 83, 39]
Generated Node #0,3: 13:[60, 83, 39] Operation: 78/2=39
Exploring Operation: 60/2=30, Resulting Numbers: [78, 83, 30]
Generated Node #0,4: 13:[78, 83, 30] Operation: 60/2=30
Moving to Node #0,1
Current State: 13:[2, 60, 5], Operations: ['83-78=5']
Exploring Operation: 2*5=10, Resulting Numbers: [60, 10]
Generated Node #0,1,0: 13:[60, 10] Operation: 2*5=10
Exploring Operation: 60/5=12, Resulting Numbers: [2, 12]
Generated Node #0,1,1: 13:[2, 12] Operation: 60/5=12
Exploring Operation: 2+5=7, Resulting Numbers: [60, 7]
Generated Node #0,1,2: 13:[60, 7] Operation: 2+5=7
Exploring Operation: 60-2=58, Resulting Numbers: [5, 58]
Generated Node #0,1,3: 13:[5, 58] Operation: 60-2=58
Exploring Operation: 60/2=30, Resulting Numbers: [5, 30]
Generated Node #0,1,4: 13:[5, 30] Operation: 60/2=30
Moving to Node #0,2
Current State: 13:[2, 78, 23], Operations: ['83-60=23']
Exploring Operation: 78-2=76, Resulting Numbers: [23, 76]
Generated Node #0,2,0: 13:[23, 76] Operation: 78-2=76
Exploring Operation: 78/2=39, Resulting Numbers: [23, 39]
Generated Node #0,2,1: 13:[23, 39] Operation: 78/2=39
Exploring Operation: 23-2=21, Resulting Numbers: [78, 21]
Generated Node #0,2,2: 13:[78, 21] Operation: 23-2=21
Exploring Operation: 78-23=55, Resulting Numbers: [2, 55]
Generated Node #0,2,3: 13:[2, 55] Operation: 78-23=55
Exploring Operation: 2+78=80, Resulting Numbers: [23, 80]
Generated Node #0,2,4: 13:[23, 80] Operation: 2+78=80
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 13:[23, 39], Operations: ['83-60=23', '78/2=39']
Exploring Operation: 23*39=897, Resulting Numbers: [897]
897,13 unequal: No Solution
Exploring Operation: 23+39=62, Resulting Numbers: [62]
62,13 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 13:[2, 55], Operations: ['83-60=23', '78-23=55']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,13 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 13:[23, 76], Operations: ['83-60=23', '78-2=76']
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Exploring Operation: 23*76=1748, Resulting Numbers: [1748]
1748,13 unequal: No Solution
Exploring Operation: 23+76=99, Resulting Numbers: [99]
99,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 13:[78, 21], Operations: ['83-60=23', '23-2=21']
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,13 unequal: No Solution
Exploring Operation: 78*21=1638, Resulting Numbers: [1638]
1638,13 unequal: No Solution
Exploring Operation: 78+21=99, Resulting Numbers: [99]
99,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 13:[23, 80], Operations: ['83-60=23', '2+78=80']
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,13 unequal: No Solution
Exploring Operation: 23+80=103, Resulting Numbers: [103]
103,13 unequal: No Solution
Exploring Operation: 23*80=1840, Resulting Numbers: [1840]
1840,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 13:[2, 83, 18], Operations: ['78-60=18']
Exploring Operation: 2+83=85, Resulting Numbers: [18, 85]
Generated Node #0,0,0: 13:[18, 85] Operation: 2+83=85
Exploring Operation: 18-2=16, Resulting Numbers: [83, 16]
Generated Node #0,0,1: 13:[83, 16] Operation: 18-2=16
Exploring Operation: 83-18=65, Resulting Numbers: [2, 65]
Generated Node #0,0,2: 13:[2, 65] Operation: 83-18=65
Exploring Operation: 83-2=81, Resulting Numbers: [18, 81]
Generated Node #0,0,3: 13:[18, 81] Operation: 83-2=81
Exploring Operation: 18/2=9, Resulting Numbers: [83, 9]
Generated Node #0,0,4: 13:[83, 9] Operation: 18/2=9
Moving to Node #0,3
Current State: 13:[60, 83, 39], Operations: ['78/2=39']
Exploring Operation: 83-39=44, Resulting Numbers: [60, 44]
Generated Node #0,3,0: 13:[60, 44] Operation: 83-39=44
Exploring Operation: 83-60=23, Resulting Numbers: [39, 23]
Generated Node #0,3,1: 13:[39, 23] Operation: 83-60=23
Exploring Operation: 60-39=21, Resulting Numbers: [83, 21]
Generated Node #0,3,2: 13:[83, 21] Operation: 60-39=21
Exploring Operation: 60+39=99, Resulting Numbers: [83, 99]
Generated Node #0,3,3: 13:[83, 99] Operation: 60+39=99
Exploring Operation: 60+83=143, Resulting Numbers: [39, 143]
Generated Node #0,3,4: 13:[39, 143] Operation: 60+83=143
Moving to Node #0,4
Current State: 13:[78, 83, 30], Operations: ['60/2=30']
Exploring Operation: 78+30=108, Resulting Numbers: [83, 108]
Generated Node #0,4,0: 13:[83, 108] Operation: 78+30=108
Exploring Operation: 83-78=5, Resulting Numbers: [30, 5]
Generated Node #0,4,1: 13:[30, 5] Operation: 83-78=5
Exploring Operation: 78-30=48, Resulting Numbers: [83, 48]
Generated Node #0,4,2: 13:[83, 48] Operation: 78-30=48
Exploring Operation: 78+83=161, Resulting Numbers: [30, 161]
Generated Node #0,4,3: 13:[30, 161] Operation: 78+83=161
Exploring Operation: 83-30=53, Resulting Numbers: [78, 53]
Generated Node #0,4,4: 13:[78, 53] Operation: 83-30=53
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 13:[30, 5], Operations: ['60/2=30', '83-78=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 30*5=150, Resulting Numbers: [150]
150,13 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,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,4,2
Current State: 13:[83, 48], Operations: ['60/2=30', '78-30=48']
Exploring Operation: 83*48=3984, Resulting Numbers: [3984]
3984,13 unequal: No Solution
Exploring Operation: 83-48=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 83+48=131, Resulting Numbers: [131]
131,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,4,4
Current State: 13:[78, 53], Operations: ['60/2=30', '83-30=53']
Exploring Operation: 78+53=131, Resulting Numbers: [131]
131,13 unequal: No Solution
Exploring Operation: 78-53=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 78*53=4134, Resulting Numbers: [4134]
4134,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,4,0
Current State: 13:[83, 108], Operations: ['60/2=30', '78+30=108']
Exploring Operation: 83*108=8964, Resulting Numbers: [8964]
8964,13 unequal: No Solution
Exploring Operation: 108-83=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 83+108=191, Resulting Numbers: [191]
191,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,4,3
Current State: 13:[30, 161], Operations: ['60/2=30', '78+83=161']
Exploring Operation: 30+161=191, Resulting Numbers: [191]
191,13 unequal: No Solution
Exploring Operation: 30*161=4830, Resulting Numbers: [4830]
4830,13 unequal: No Solution
Exploring Operation: 161-30=131, Resulting Numbers: [131]
131,13 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: 13:[2, 12], Operations: ['83-78=5', '60/5=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Moving to Node #0,1,4
Current State: 13:[5, 30], Operations: ['83-78=5', '60/2=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 5*30=150, Resulting Numbers: [150]
150,13 unequal: No Solution
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[39, 23], Operations: ['78/2=39', '83-60=23']
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,13 unequal: No Solution
Exploring Operation: 39*23=897, Resulting Numbers: [897]
897,13 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[60, 10], Operations: ['83-78=5', '2*5=10']
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 60+10=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 60*10=600, Resulting Numbers: [600]
600,13 unequal: No Solution
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Moving to Node #0,1,3
Current State: 13:[5, 58], Operations: ['83-78=5', '60-2=58']
Exploring Operation: 5+58=63, Resulting Numbers: [63]
63,13 unequal: No Solution
Exploring Operation: 5*58=290, Resulting Numbers: [290]
290,13 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Moving to Node #0,1,2
Current State: 13:[60, 7], Operations: ['83-78=5', '2+5=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Exploring Operation: 60*7=420, Resulting Numbers: [420]
420,13 unequal: No Solution
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[2, 65], Operations: ['78-60=18', '83-18=65']
Exploring Operation: 2*65=130, Resulting Numbers: [130]
130,13 unequal: No Solution
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,13 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[83, 16], Operations: ['78-60=18', '18-2=16']
Exploring Operation: 83+16=99, Resulting Numbers: [99]
99,13 unequal: No Solution
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,13 unequal: No Solution
Exploring Operation: 83*16=1328, Resulting Numbers: [1328]
1328,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[18, 81], Operations: ['78-60=18', '83-2=81']
Exploring Operation: 18*81=1458, Resulting Numbers: [1458]
1458,13 unequal: No Solution
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,13 unequal: No Solution
Exploring Operation: 18+81=99, Resulting Numbers: [99]
99,13 unequal: No Solution
Moving to Node #0,0,4
Current State: 13:[83, 9], Operations: ['78-60=18', '18/2=9']
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,13 unequal: No Solution
Exploring Operation: 83+9=92, Resulting Numbers: [92]
92,13 unequal: No Solution
Exploring Operation: 83*9=747, Resulting Numbers: [747]
747,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[18, 85], Operations: ['78-60=18', '2+83=85']
Exploring Operation: 18*85=1530, Resulting Numbers: [1530]
1530,13 unequal: No Solution
Exploring Operation: 18+85=103, Resulting Numbers: [103]
103,13 unequal: No Solution
Exploring Operation: 85-18=67, Resulting Numbers: [67]
67,13 unequal: No Solution
Moving to Node #0,3,0
Current State: 13:[60, 44], Operations: ['78/2=39', '83-39=44']
Exploring Operation: 60+44=104, Resulting Numbers: [104]
104,13 unequal: No Solution
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 60*44=2640, Resulting Numbers: [2640]
2640,13 unequal: No Solution
Moving to Node #0,3,2
Current State: 13:[83, 21], Operations: ['78/2=39', '60-39=21']
Exploring Operation: 83-21=62, Resulting Numbers: [62]
62,13 unequal: No Solution
Exploring Operation: 83+21=104, Resulting Numbers: [104]
104,13 unequal: No Solution
Exploring Operation: 83*21=1743, Resulting Numbers: [1743]
1743,13 unequal: No Solution
Moving to Node #0,3,4
Current State: 13:[39, 143], Operations: ['78/2=39', '60+83=143']
Exploring Operation: 39*143=5577, Resulting Numbers: [5577]
5577,13 unequal: No Solution
Exploring Operation: 39+143=182, Resulting Numbers: [182]
182,13 unequal: No Solution
Exploring Operation: 143-39=104, Resulting Numbers: [104]
104,13 unequal: No Solution
Moving to Node #0,3,3
Current State: 13:[83, 99], Operations: ['78/2=39', '60+39=99']
Exploring Operation: 83+99=182, Resulting Numbers: [182]
182,13 unequal: No Solution
Exploring Operation: 83*99=8217, Resulting Numbers: [8217]
8217,13 unequal: No Solution
Exploring Operation: 99-83=16, Resulting Numbers: [16]
16,13 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
92,
30,
29,
44
] | 77 | [
"92-30=62",
"44-29=15",
"62+15=77"
] | Current State: 77:[92, 30, 29, 44], Operations: []
Exploring Operation: 92-30=62, Resulting Numbers: [29, 44, 62]
Generated Node #2: [29, 44, 62] from Operation: 92-30=62
Current State: 77:[29, 44, 62], Operations: ['92-30=62']
Exploring Operation: 44-29=15, Resulting Numbers: [62, 15]
Generated Node #3: [62, 15] from Operation: 44-29=15
Current State: 77:[62, 15], Operations: ['92-30=62', '44-29=15']
Exploring Operation: 62+15=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[92, 30, 29, 44], Operations: []
Exploring Operation: 30+44=74, Resulting Numbers: [92, 29, 74]
Generated Node #0,0: 77:[92, 29, 74] Operation: 30+44=74
Exploring Operation: 44-30=14, Resulting Numbers: [92, 29, 14]
Generated Node #0,1: 77:[92, 29, 14] Operation: 44-30=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[92, 29, 74], Operations: ['30+44=74']
Exploring Operation: 92-29=63, Resulting Numbers: [74, 63]
Generated Node #0,0,0: 77:[74, 63] Operation: 92-29=63
Exploring Operation: 92-74=18, Resulting Numbers: [29, 18]
Generated Node #0,0,1: 77:[29, 18] Operation: 92-74=18
Moving to Node #0,0,0
Current State: 77:[74, 63], Operations: ['30+44=74', '92-29=63']
Exploring Operation: 74+63=137, Resulting Numbers: [137]
137,77 unequal: No Solution
Exploring Operation: 74-63=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[29, 18], Operations: ['30+44=74', '92-74=18']
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,77 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[92, 29, 14], Operations: ['44-30=14']
Exploring Operation: 92-14=78, Resulting Numbers: [29, 78]
Generated Node #0,1,0: 77:[29, 78] Operation: 92-14=78
Exploring Operation: 92-29=63, Resulting Numbers: [14, 63]
Generated Node #0,1,1: 77:[14, 63] Operation: 92-29=63
Moving to Node #0,1,1
Current State: 77:[14, 63], Operations: ['44-30=14', '92-29=63']
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[92, 30, 29, 44], Operations: []
Exploring Operation: 44-30=14, Resulting Numbers: [92, 29, 14]
Generated Node #0,1: 77:[92, 29, 14] Operation: 44-30=14
Moving to Node #0,1
Current State: 77:[92, 29, 14], Operations: ['44-30=14']
Exploring Operation: 92-29=63, Resulting Numbers: [14, 63]
Generated Node #0,1,1: 77:[14, 63] Operation: 92-29=63
Moving to Node #0,1,1
Current State: 77:[14, 63], Operations: ['44-30=14', '92-29=63']
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
45,
18,
51,
42
] | 13 | [
"51-42=9",
"45/9=5",
"18-5=13"
] | Current State: 13:[45, 18, 51, 42], Operations: []
Exploring Operation: 51-42=9, Resulting Numbers: [45, 18, 9]
Generated Node #2: [45, 18, 9] from Operation: 51-42=9
Current State: 13:[45, 18, 9], Operations: ['51-42=9']
Exploring Operation: 45/9=5, Resulting Numbers: [18, 5]
Generated Node #3: [18, 5] from Operation: 45/9=5
Current State: 13:[18, 5], Operations: ['51-42=9', '45/9=5']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[45, 18, 51, 42], Operations: []
Exploring Operation: 51-45=6, Resulting Numbers: [18, 42, 6]
Generated Node #0,0: 13:[18, 42, 6] Operation: 51-45=6
Exploring Operation: 51-42=9, Resulting Numbers: [45, 18, 9]
Generated Node #0,1: 13:[45, 18, 9] Operation: 51-42=9
Moving to Node #0,0
Current State: 13:[18, 42, 6], Operations: ['51-45=6']
Exploring Operation: 42/6=7, Resulting Numbers: [18, 7]
Generated Node #0,0,0: 13:[18, 7] Operation: 42/6=7
Exploring Operation: 42-18=24, Resulting Numbers: [6, 24]
Generated Node #0,0,1: 13:[6, 24] Operation: 42-18=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[18, 7], Operations: ['51-45=6', '42/6=7']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 13:[6, 24], Operations: ['51-45=6', '42-18=24']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,13 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: 13:[45, 18, 9], Operations: ['51-42=9']
Exploring Operation: 45-18=27, Resulting Numbers: [9, 27]
Generated Node #0,1,0: 13:[9, 27] Operation: 45-18=27
Exploring Operation: 45/9=5, Resulting Numbers: [18, 5]
Generated Node #0,1,1: 13:[18, 5] Operation: 45/9=5
Moving to Node #0,1,1
Current State: 13:[18, 5], Operations: ['51-42=9', '45/9=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[45, 18, 51, 42], Operations: []
Exploring Operation: 51-42=9, Resulting Numbers: [45, 18, 9]
Generated Node #0,1: 13:[45, 18, 9] Operation: 51-42=9
Moving to Node #0,1
Current State: 13:[45, 18, 9], Operations: ['51-42=9']
Exploring Operation: 45/9=5, Resulting Numbers: [18, 5]
Generated Node #0,1,1: 13:[18, 5] Operation: 45/9=5
Moving to Node #0,1,1
Current State: 13:[18, 5], Operations: ['51-42=9', '45/9=5']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
55,
42,
16,
47
] | 40 | [
"55-47=8",
"16/8=2",
"42-2=40"
] | Current State: 40:[55, 42, 16, 47], Operations: []
Exploring Operation: 55-47=8, Resulting Numbers: [42, 16, 8]
Generated Node #2: [42, 16, 8] from Operation: 55-47=8
Current State: 40:[42, 16, 8], Operations: ['55-47=8']
Exploring Operation: 16/8=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 16/8=2
Current State: 40:[42, 2], Operations: ['55-47=8', '16/8=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[55, 42, 16, 47], Operations: []
Exploring Operation: 47-16=31, Resulting Numbers: [55, 42, 31]
Generated Node #0,0: 40:[55, 42, 31] Operation: 47-16=31
Exploring Operation: 55-16=39, Resulting Numbers: [42, 47, 39]
Generated Node #0,1: 40:[42, 47, 39] Operation: 55-16=39
Exploring Operation: 47-42=5, Resulting Numbers: [55, 16, 5]
Generated Node #0,2: 40:[55, 16, 5] Operation: 47-42=5
Exploring Operation: 55-47=8, Resulting Numbers: [42, 16, 8]
Generated Node #0,3: 40:[42, 16, 8] Operation: 55-47=8
Exploring Operation: 55-42=13, Resulting Numbers: [16, 47, 13]
Generated Node #0,4: 40:[16, 47, 13] Operation: 55-42=13
Start Sub Search at level 1: Moving to Node #0,3
Current State: 40:[42, 16, 8], Operations: ['55-47=8']
Exploring Operation: 16/8=2, Resulting Numbers: [42, 2]
Generated Node #0,3,0: 40:[42, 2] Operation: 16/8=2
Exploring Operation: 16-8=8, Resulting Numbers: [42, 8]
Generated Node #0,3,1: 40:[42, 8] Operation: 16-8=8
Exploring Operation: 42-8=34, Resulting Numbers: [16, 34]
Generated Node #0,3,2: 40:[16, 34] Operation: 42-8=34
Exploring Operation: 16+8=24, Resulting Numbers: [42, 24]
Generated Node #0,3,3: 40:[42, 24] Operation: 16+8=24
Exploring Operation: 42-16=26, Resulting Numbers: [8, 26]
Generated Node #0,3,4: 40:[8, 26] Operation: 42-16=26
Moving to Node #0,3,0
Current State: 40:[42, 2], Operations: ['55-47=8', '16/8=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,40 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[55, 42, 16, 47], Operations: []
Exploring Operation: 55-47=8, Resulting Numbers: [42, 16, 8]
Generated Node #0,3: 40:[42, 16, 8] Operation: 55-47=8
Moving to Node #0,3
Current State: 40:[42, 16, 8], Operations: ['55-47=8']
Exploring Operation: 16/8=2, Resulting Numbers: [42, 2]
Generated Node #0,3,0: 40:[42, 2] Operation: 16/8=2
Moving to Node #0,3,0
Current State: 40:[42, 2], Operations: ['55-47=8', '16/8=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
72,
22,
90,
27
] | 33 | [
"90-72=18",
"22*27=594",
"594/18=33"
] | Current State: 33:[72, 22, 90, 27], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [22, 27, 18]
Generated Node #2: [22, 27, 18] from Operation: 90-72=18
Current State: 33:[22, 27, 18], Operations: ['90-72=18']
Exploring Operation: 22*27=594, Resulting Numbers: [18, 594]
Generated Node #3: [18, 594] from Operation: 22*27=594
Current State: 33:[18, 594], Operations: ['90-72=18', '22*27=594']
Exploring Operation: 594/18=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[72, 22, 90, 27], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [22, 27, 18]
Generated Node #0,0: 33:[22, 27, 18] Operation: 90-72=18
Moving to Node #0,0
Current State: 33:[22, 27, 18], Operations: ['90-72=18']
Exploring Operation: 22-18=4, Resulting Numbers: [27, 4]
Generated Node #0,0,0: 33:[27, 4] Operation: 22-18=4
Moving to Node #0,0,0
Current State: 33:[27, 4], Operations: ['90-72=18', '22-18=4']
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,33 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
73,
31,
43,
32
] | 62 | [
"73-43=30",
"32-30=2",
"31*2=62"
] | Current State: 62:[73, 31, 43, 32], Operations: []
Exploring Operation: 73-43=30, Resulting Numbers: [31, 32, 30]
Generated Node #2: [31, 32, 30] from Operation: 73-43=30
Current State: 62:[31, 32, 30], Operations: ['73-43=30']
Exploring Operation: 32-30=2, Resulting Numbers: [31, 2]
Generated Node #3: [31, 2] from Operation: 32-30=2
Current State: 62:[31, 2], Operations: ['73-43=30', '32-30=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[73, 31, 43, 32], Operations: []
Exploring Operation: 43-32=11, Resulting Numbers: [73, 31, 11]
Generated Node #0,0: 62:[73, 31, 11] Operation: 43-32=11
Exploring Operation: 73-43=30, Resulting Numbers: [31, 32, 30]
Generated Node #0,1: 62:[31, 32, 30] Operation: 73-43=30
Moving to Node #0,1
Current State: 62:[31, 32, 30], Operations: ['73-43=30']
Exploring Operation: 32+30=62, Resulting Numbers: [31, 62]
Generated Node #0,1,0: 62:[31, 62] Operation: 32+30=62
Exploring Operation: 32-30=2, Resulting Numbers: [31, 2]
Generated Node #0,1,1: 62:[31, 2] Operation: 32-30=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[31, 62], Operations: ['73-43=30', '32+30=62']
Exploring Operation: 62/31=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[31, 2], Operations: ['73-43=30', '32-30=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[73, 31, 43, 32], Operations: []
Exploring Operation: 73-43=30, Resulting Numbers: [31, 32, 30]
Generated Node #0,1: 62:[31, 32, 30] Operation: 73-43=30
Moving to Node #0,1
Current State: 62:[31, 32, 30], Operations: ['73-43=30']
Exploring Operation: 32-30=2, Resulting Numbers: [31, 2]
Generated Node #0,1,1: 62:[31, 2] Operation: 32-30=2
Moving to Node #0,1,1
Current State: 62:[31, 2], Operations: ['73-43=30', '32-30=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
43,
57,
87,
7
] | 94 | [
"57-43=14",
"87-7=80",
"14+80=94"
] | Current State: 94:[43, 57, 87, 7], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [87, 7, 14]
Generated Node #2: [87, 7, 14] from Operation: 57-43=14
Current State: 94:[87, 7, 14], Operations: ['57-43=14']
Exploring Operation: 87-7=80, Resulting Numbers: [14, 80]
Generated Node #3: [14, 80] from Operation: 87-7=80
Current State: 94:[14, 80], Operations: ['57-43=14', '87-7=80']
Exploring Operation: 14+80=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[43, 57, 87, 7], Operations: []
Exploring Operation: 57-7=50, Resulting Numbers: [43, 87, 50]
Generated Node #0,0: 94:[43, 87, 50] Operation: 57-7=50
Exploring Operation: 87+7=94, Resulting Numbers: [43, 57, 94]
Generated Node #0,1: 94:[43, 57, 94] Operation: 87+7=94
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[43, 87, 50], Operations: ['57-7=50']
Exploring Operation: 43+50=93, Resulting Numbers: [87, 93]
Generated Node #0,0,0: 94:[87, 93] Operation: 43+50=93
Exploring Operation: 87-43=44, Resulting Numbers: [50, 44]
Generated Node #0,0,1: 94:[50, 44] Operation: 87-43=44
Moving to Node #0,0,1
Current State: 94:[50, 44], Operations: ['57-7=50', '87-43=44']
Exploring Operation: 50+44=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[43, 57, 87, 7], Operations: []
Exploring Operation: 57-7=50, Resulting Numbers: [43, 87, 50]
Generated Node #0,0: 94:[43, 87, 50] Operation: 57-7=50
Moving to Node #0,0
Current State: 94:[43, 87, 50], Operations: ['57-7=50']
Exploring Operation: 87-43=44, Resulting Numbers: [50, 44]
Generated Node #0,0,1: 94:[50, 44] Operation: 87-43=44
Moving to Node #0,0,1
Current State: 94:[50, 44], Operations: ['57-7=50', '87-43=44']
Exploring Operation: 50+44=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
24,
5,
22,
80
] | 33 | [
"24*5=120",
"22*120=2640",
"2640/80=33"
] | Current State: 33:[24, 5, 22, 80], Operations: []
Exploring Operation: 24*5=120, Resulting Numbers: [22, 80, 120]
Generated Node #2: [22, 80, 120] from Operation: 24*5=120
Current State: 33:[22, 80, 120], Operations: ['24*5=120']
Exploring Operation: 22*120=2640, Resulting Numbers: [80, 2640]
Generated Node #3: [80, 2640] from Operation: 22*120=2640
Current State: 33:[80, 2640], Operations: ['24*5=120', '22*120=2640']
Exploring Operation: 2640/80=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[24, 5, 22, 80], Operations: []
Exploring Operation: 80/5=16, Resulting Numbers: [24, 22, 16]
Generated Node #0,0: 33:[24, 22, 16] Operation: 80/5=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[24, 22, 16], Operations: ['80/5=16']
Exploring Operation: 24-22=2, Resulting Numbers: [16, 2]
Generated Node #0,0,0: 33:[16, 2] Operation: 24-22=2
Moving to Node #0,0,0
Current State: 33:[16, 2], Operations: ['80/5=16', '24-22=2']
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
64,
80,
39,
9
] | 32 | [
"80-64=16",
"39+9=48",
"48-16=32"
] | Current State: 32:[64, 80, 39, 9], Operations: []
Exploring Operation: 80-64=16, Resulting Numbers: [39, 9, 16]
Generated Node #2: [39, 9, 16] from Operation: 80-64=16
Current State: 32:[39, 9, 16], Operations: ['80-64=16']
Exploring Operation: 39+9=48, Resulting Numbers: [16, 48]
Generated Node #3: [16, 48] from Operation: 39+9=48
Current State: 32:[16, 48], Operations: ['80-64=16', '39+9=48']
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[64, 80, 39, 9], Operations: []
Exploring Operation: 80-64=16, Resulting Numbers: [39, 9, 16]
Generated Node #0,0: 32:[39, 9, 16] Operation: 80-64=16
Exploring Operation: 80-9=71, Resulting Numbers: [64, 39, 71]
Generated Node #0,1: 32:[64, 39, 71] Operation: 80-9=71
Exploring Operation: 64-9=55, Resulting Numbers: [80, 39, 55]
Generated Node #0,2: 32:[80, 39, 55] Operation: 64-9=55
Exploring Operation: 64-39=25, Resulting Numbers: [80, 9, 25]
Generated Node #0,3: 32:[80, 9, 25] Operation: 64-39=25
Exploring Operation: 80-39=41, Resulting Numbers: [64, 9, 41]
Generated Node #0,4: 32:[64, 9, 41] Operation: 80-39=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[39, 9, 16], Operations: ['80-64=16']
Exploring Operation: 39+9=48, Resulting Numbers: [16, 48]
Generated Node #0,0,0: 32:[16, 48] Operation: 39+9=48
Exploring Operation: 39-9=30, Resulting Numbers: [16, 30]
Generated Node #0,0,1: 32:[16, 30] Operation: 39-9=30
Exploring Operation: 16-9=7, Resulting Numbers: [39, 7]
Generated Node #0,0,2: 32:[39, 7] Operation: 16-9=7
Exploring Operation: 9+16=25, Resulting Numbers: [39, 25]
Generated Node #0,0,3: 32:[39, 25] Operation: 9+16=25
Exploring Operation: 39-16=23, Resulting Numbers: [9, 23]
Generated Node #0,0,4: 32:[9, 23] Operation: 39-16=23
Moving to Node #0,0,1
Current State: 32:[16, 30], Operations: ['80-64=16', '39-9=30']
Exploring Operation: 16*30=480, Resulting Numbers: [480]
480,32 unequal: No Solution
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Moving to Node #0,0,4
Current State: 32:[9, 23], Operations: ['80-64=16', '39-16=23']
Exploring Operation: 9+23=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[64, 80, 39, 9], Operations: []
Exploring Operation: 80-64=16, Resulting Numbers: [39, 9, 16]
Generated Node #0,0: 32:[39, 9, 16] Operation: 80-64=16
Moving to Node #0,0
Current State: 32:[39, 9, 16], Operations: ['80-64=16']
Exploring Operation: 39-16=23, Resulting Numbers: [9, 23]
Generated Node #0,0,4: 32:[9, 23] Operation: 39-16=23
Moving to Node #0,0,4
Current State: 32:[9, 23], Operations: ['80-64=16', '39-16=23']
Exploring Operation: 9+23=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
44,
70,
8,
28
] | 84 | [
"44*28=1232",
"1232/8=154",
"154-70=84"
] | Current State: 84:[44, 70, 8, 28], Operations: []
Exploring Operation: 44*28=1232, Resulting Numbers: [70, 8, 1232]
Generated Node #2: [70, 8, 1232] from Operation: 44*28=1232
Current State: 84:[70, 8, 1232], Operations: ['44*28=1232']
Exploring Operation: 1232/8=154, Resulting Numbers: [70, 154]
Generated Node #3: [70, 154] from Operation: 1232/8=154
Current State: 84:[70, 154], Operations: ['44*28=1232', '1232/8=154']
Exploring Operation: 154-70=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[44, 70, 8, 28], Operations: []
Exploring Operation: 70+8=78, Resulting Numbers: [44, 28, 78]
Generated Node #0,0: 84:[44, 28, 78] Operation: 70+8=78
Exploring Operation: 70-28=42, Resulting Numbers: [44, 8, 42]
Generated Node #0,1: 84:[44, 8, 42] Operation: 70-28=42
Exploring Operation: 70-44=26, Resulting Numbers: [8, 28, 26]
Generated Node #0,2: 84:[8, 28, 26] Operation: 70-44=26
Moving to Node #0,1
Current State: 84:[44, 8, 42], Operations: ['70-28=42']
Exploring Operation: 44+42=86, Resulting Numbers: [8, 86]
Generated Node #0,1,0: 84:[8, 86] Operation: 44+42=86
Exploring Operation: 44-42=2, Resulting Numbers: [8, 2]
Generated Node #0,1,1: 84:[8, 2] Operation: 44-42=2
Exploring Operation: 44-8=36, Resulting Numbers: [42, 36]
Generated Node #0,1,2: 84:[42, 36] Operation: 44-8=36
Moving to Node #0,2
Current State: 84:[8, 28, 26], Operations: ['70-44=26']
Exploring Operation: 26-8=18, Resulting Numbers: [28, 18]
Generated Node #0,2,0: 84:[28, 18] Operation: 26-8=18
Exploring Operation: 28-26=2, Resulting Numbers: [8, 2]
Generated Node #0,2,1: 84:[8, 2] Operation: 28-26=2
Exploring Operation: 28-8=20, Resulting Numbers: [26, 20]
Generated Node #0,2,2: 84:[26, 20] Operation: 28-8=20
Moving to Node #0,0
Current State: 84:[44, 28, 78], Operations: ['70+8=78']
Exploring Operation: 44-28=16, Resulting Numbers: [78, 16]
Generated Node #0,0,0: 84:[78, 16] Operation: 44-28=16
Exploring Operation: 78-28=50, Resulting Numbers: [44, 50]
Generated Node #0,0,1: 84:[44, 50] Operation: 78-28=50
Exploring Operation: 78-44=34, Resulting Numbers: [28, 34]
Generated Node #0,0,2: 84:[28, 34] Operation: 78-44=34
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 84:[28, 34], Operations: ['70+8=78', '78-44=34']
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,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:[78, 16], Operations: ['70+8=78', '44-28=16']
Exploring Operation: 78*16=1248, Resulting Numbers: [1248]
1248,84 unequal: No Solution
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,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,1
Current State: 84:[44, 50], Operations: ['70+8=78', '78-28=50']
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 44+50=94, Resulting Numbers: [94]
94,84 unequal: No Solution
Exploring Operation: 44*50=2200, Resulting Numbers: [2200]
2200,84 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: 84:[8, 2], Operations: ['70-28=42', '44-42=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[8, 2], Operations: ['70-44=26', '28-26=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[26, 20], Operations: ['70-44=26', '28-8=20']
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,84 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[28, 18], Operations: ['70-44=26', '26-8=18']
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,84 unequal: No Solution
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[8, 86], Operations: ['70-28=42', '44+42=86']
Exploring Operation: 8+86=94, Resulting Numbers: [94]
94,84 unequal: No Solution
Exploring Operation: 8*86=688, Resulting Numbers: [688]
688,84 unequal: No Solution
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[42, 36], Operations: ['70-28=42', '44-8=36']
Exploring Operation: 42+36=78, Resulting Numbers: [78]
78,84 unequal: No Solution
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 42*36=1512, Resulting Numbers: [1512]
1512,84 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
40,
55,
33,
60
] | 68 | [
"40+55=95",
"60-33=27",
"95-27=68"
] | Current State: 68:[40, 55, 33, 60], Operations: []
Exploring Operation: 40+55=95, Resulting Numbers: [33, 60, 95]
Generated Node #2: [33, 60, 95] from Operation: 40+55=95
Current State: 68:[33, 60, 95], Operations: ['40+55=95']
Exploring Operation: 60-33=27, Resulting Numbers: [95, 27]
Generated Node #3: [95, 27] from Operation: 60-33=27
Current State: 68:[95, 27], Operations: ['40+55=95', '60-33=27']
Exploring Operation: 95-27=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[40, 55, 33, 60], Operations: []
Exploring Operation: 60-55=5, Resulting Numbers: [40, 33, 5]
Generated Node #0,0: 68:[40, 33, 5] Operation: 60-55=5
Moving to Node #0,0
Current State: 68:[40, 33, 5], Operations: ['60-55=5']
Exploring Operation: 40-5=35, Resulting Numbers: [33, 35]
Generated Node #0,0,0: 68:[33, 35] Operation: 40-5=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[33, 35], Operations: ['60-55=5', '40-5=35']
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[40, 55, 33, 60], Operations: []
Exploring Operation: 60-55=5, Resulting Numbers: [40, 33, 5]
Generated Node #0,0: 68:[40, 33, 5] Operation: 60-55=5
Moving to Node #0,0
Current State: 68:[40, 33, 5], Operations: ['60-55=5']
Exploring Operation: 40-5=35, Resulting Numbers: [33, 35]
Generated Node #0,0,0: 68:[33, 35] Operation: 40-5=35
Moving to Node #0,0,0
Current State: 68:[33, 35], Operations: ['60-55=5', '40-5=35']
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
73,
78,
76,
20
] | 80 | [
"78-73=5",
"20/5=4",
"76+4=80"
] | Current State: 80:[73, 78, 76, 20], Operations: []
Exploring Operation: 78-73=5, Resulting Numbers: [76, 20, 5]
Generated Node #2: [76, 20, 5] from Operation: 78-73=5
Current State: 80:[76, 20, 5], Operations: ['78-73=5']
Exploring Operation: 20/5=4, Resulting Numbers: [76, 4]
Generated Node #3: [76, 4] from Operation: 20/5=4
Current State: 80:[76, 4], Operations: ['78-73=5', '20/5=4']
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[73, 78, 76, 20], Operations: []
Exploring Operation: 78-73=5, Resulting Numbers: [76, 20, 5]
Generated Node #0,0: 80:[76, 20, 5] Operation: 78-73=5
Exploring Operation: 76-73=3, Resulting Numbers: [78, 20, 3]
Generated Node #0,1: 80:[78, 20, 3] Operation: 76-73=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[78, 20, 3], Operations: ['76-73=3']
Exploring Operation: 78+3=81, Resulting Numbers: [20, 81]
Generated Node #0,1,0: 80:[20, 81] Operation: 78+3=81
Exploring Operation: 20-3=17, Resulting Numbers: [78, 17]
Generated Node #0,1,1: 80:[78, 17] Operation: 20-3=17
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[20, 81], Operations: ['76-73=3', '78+3=81']
Exploring Operation: 20+81=101, Resulting Numbers: [101]
101,80 unequal: No Solution
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,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,1
Current State: 80:[78, 17], Operations: ['76-73=3', '20-3=17']
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[76, 20, 5], Operations: ['78-73=5']
Exploring Operation: 20/5=4, Resulting Numbers: [76, 4]
Generated Node #0,0,0: 80:[76, 4] Operation: 20/5=4
Exploring Operation: 76+5=81, Resulting Numbers: [20, 81]
Generated Node #0,0,1: 80:[20, 81] Operation: 76+5=81
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[20, 81], Operations: ['78-73=5', '76+5=81']
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 20+81=101, Resulting Numbers: [101]
101,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,0,0
Current State: 80:[76, 4], Operations: ['78-73=5', '20/5=4']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[73, 78, 76, 20], Operations: []
Exploring Operation: 78-73=5, Resulting Numbers: [76, 20, 5]
Generated Node #0,0: 80:[76, 20, 5] Operation: 78-73=5
Moving to Node #0,0
Current State: 80:[76, 20, 5], Operations: ['78-73=5']
Exploring Operation: 20/5=4, Resulting Numbers: [76, 4]
Generated Node #0,0,0: 80:[76, 4] Operation: 20/5=4
Moving to Node #0,0,0
Current State: 80:[76, 4], Operations: ['78-73=5', '20/5=4']
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
34,
88,
82,
63
] | 68 | [
"88+82=170",
"170/34=5",
"63+5=68"
] | Current State: 68:[34, 88, 82, 63], Operations: []
Exploring Operation: 88+82=170, Resulting Numbers: [34, 63, 170]
Generated Node #2: [34, 63, 170] from Operation: 88+82=170
Current State: 68:[34, 63, 170], Operations: ['88+82=170']
Exploring Operation: 170/34=5, Resulting Numbers: [63, 5]
Generated Node #3: [63, 5] from Operation: 170/34=5
Current State: 68:[63, 5], Operations: ['88+82=170', '170/34=5']
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[34, 88, 82, 63], Operations: []
Exploring Operation: 88-82=6, Resulting Numbers: [34, 63, 6]
Generated Node #0,0: 68:[34, 63, 6] Operation: 88-82=6
Moving to Node #0,0
Current State: 68:[34, 63, 6], Operations: ['88-82=6']
Exploring Operation: 63+6=69, Resulting Numbers: [34, 69]
Generated Node #0,0,0: 68:[34, 69] Operation: 63+6=69
Moving to Node #0,0,0
Current State: 68:[34, 69], Operations: ['88-82=6', '63+6=69']
Exploring Operation: 69-34=35, Resulting Numbers: [35]
35,68 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
43,
9,
1,
11
] | 63 | [
"43+9=52",
"1*11=11",
"52+11=63"
] | Current State: 63:[43, 9, 1, 11], Operations: []
Exploring Operation: 43+9=52, Resulting Numbers: [1, 11, 52]
Generated Node #2: [1, 11, 52] from Operation: 43+9=52
Current State: 63:[1, 11, 52], Operations: ['43+9=52']
Exploring Operation: 1*11=11, Resulting Numbers: [52, 11]
Generated Node #3: [52, 11] from Operation: 1*11=11
Current State: 63:[52, 11], Operations: ['43+9=52', '1*11=11']
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[43, 9, 1, 11], Operations: []
Exploring Operation: 43-11=32, Resulting Numbers: [9, 1, 32]
Generated Node #0,0: 63:[9, 1, 32] Operation: 43-11=32
Exploring Operation: 43+9=52, Resulting Numbers: [1, 11, 52]
Generated Node #0,1: 63:[1, 11, 52] Operation: 43+9=52
Exploring Operation: 43+11=54, Resulting Numbers: [9, 1, 54]
Generated Node #0,2: 63:[9, 1, 54] Operation: 43+11=54
Exploring Operation: 43-9=34, Resulting Numbers: [1, 11, 34]
Generated Node #0,3: 63:[1, 11, 34] Operation: 43-9=34
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[9, 1, 54], Operations: ['43+11=54']
Exploring Operation: 54/9=6, Resulting Numbers: [1, 6]
Generated Node #0,2,0: 63:[1, 6] Operation: 54/9=6
Exploring Operation: 9*1=9, Resulting Numbers: [54, 9]
Generated Node #0,2,1: 63:[54, 9] Operation: 9*1=9
Exploring Operation: 1+54=55, Resulting Numbers: [9, 55]
Generated Node #0,2,2: 63:[9, 55] Operation: 1+54=55
Exploring Operation: 9+54=63, Resulting Numbers: [1, 63]
Generated Node #0,2,3: 63:[1, 63] Operation: 9+54=63
Moving to Node #0,2,3
Current State: 63:[1, 63], Operations: ['43+11=54', '9+54=63']
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[43, 9, 1, 11], Operations: []
Exploring Operation: 43+11=54, Resulting Numbers: [9, 1, 54]
Generated Node #0,2: 63:[9, 1, 54] Operation: 43+11=54
Moving to Node #0,2
Current State: 63:[9, 1, 54], Operations: ['43+11=54']
Exploring Operation: 9+54=63, Resulting Numbers: [1, 63]
Generated Node #0,2,3: 63:[1, 63] Operation: 9+54=63
Moving to Node #0,2,3
Current State: 63:[1, 63], Operations: ['43+11=54', '9+54=63']
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
53,
53,
48,
6
] | 42 | [
"53-53=0",
"48-6=42",
"0+42=42"
] | Current State: 42:[53, 53, 48, 6], Operations: []
Exploring Operation: 53-53=0, Resulting Numbers: [48, 6, 0]
Generated Node #2: [48, 6, 0] from Operation: 53-53=0
Current State: 42:[48, 6, 0], Operations: ['53-53=0']
Exploring Operation: 48-6=42, Resulting Numbers: [0, 42]
Generated Node #3: [0, 42] from Operation: 48-6=42
Current State: 42:[0, 42], Operations: ['53-53=0', '48-6=42']
Exploring Operation: 0+42=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[53, 53, 48, 6], Operations: []
Exploring Operation: 53-48=5, Resulting Numbers: [53, 6, 5]
Generated Node #0,0: 42:[53, 6, 5] Operation: 53-48=5
Exploring Operation: 53-53=0, Resulting Numbers: [48, 6, 0]
Generated Node #0,1: 42:[48, 6, 0] Operation: 53-53=0
Exploring Operation: 53/53=1, Resulting Numbers: [48, 6, 1]
Generated Node #0,2: 42:[48, 6, 1] Operation: 53/53=1
Exploring Operation: 53-48=5, Resulting Numbers: [53, 6, 5]
Generated Node #0,3: 42:[53, 6, 5] Operation: 53-48=5
Moving to Node #0,2
Current State: 42:[48, 6, 1], Operations: ['53/53=1']
Exploring Operation: 48-6=42, Resulting Numbers: [1, 42]
Generated Node #0,2,0: 42:[1, 42] Operation: 48-6=42
Exploring Operation: 48-1=47, Resulting Numbers: [6, 47]
Generated Node #0,2,1: 42:[6, 47] Operation: 48-1=47
Exploring Operation: 48*1=48, Resulting Numbers: [6, 48]
Generated Node #0,2,2: 42:[6, 48] Operation: 48*1=48
Exploring Operation: 48/6=8, Resulting Numbers: [1, 8]
Generated Node #0,2,3: 42:[1, 8] Operation: 48/6=8
Moving to Node #0,1
Current State: 42:[48, 6, 0], Operations: ['53-53=0']
Exploring Operation: 48/6=8, Resulting Numbers: [0, 8]
Generated Node #0,1,0: 42:[0, 8] Operation: 48/6=8
Exploring Operation: 48-6=42, Resulting Numbers: [0, 42]
Generated Node #0,1,1: 42:[0, 42] Operation: 48-6=42
Exploring Operation: 48+0=48, Resulting Numbers: [6, 48]
Generated Node #0,1,2: 42:[6, 48] Operation: 48+0=48
Exploring Operation: 48*0=0, Resulting Numbers: [6, 0]
Generated Node #0,1,3: 42:[6, 0] Operation: 48*0=0
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[0, 42], Operations: ['53-53=0', '48-6=42']
Exploring Operation: 42-0=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[53, 53, 48, 6], Operations: []
Exploring Operation: 53-53=0, Resulting Numbers: [48, 6, 0]
Generated Node #0,1: 42:[48, 6, 0] Operation: 53-53=0
Moving to Node #0,1
Current State: 42:[48, 6, 0], Operations: ['53-53=0']
Exploring Operation: 48-6=42, Resulting Numbers: [0, 42]
Generated Node #0,1,1: 42:[0, 42] Operation: 48-6=42
Moving to Node #0,1,1
Current State: 42:[0, 42], Operations: ['53-53=0', '48-6=42']
Exploring Operation: 42-0=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
96,
84,
26,
6
] | 87 | [
"26+6=32",
"96/32=3",
"84+3=87"
] | Current State: 87:[96, 84, 26, 6], Operations: []
Exploring Operation: 26+6=32, Resulting Numbers: [96, 84, 32]
Generated Node #2: [96, 84, 32] from Operation: 26+6=32
Current State: 87:[96, 84, 32], Operations: ['26+6=32']
Exploring Operation: 96/32=3, Resulting Numbers: [84, 3]
Generated Node #3: [84, 3] from Operation: 96/32=3
Current State: 87:[84, 3], Operations: ['26+6=32', '96/32=3']
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[96, 84, 26, 6], Operations: []
Exploring Operation: 96-6=90, Resulting Numbers: [84, 26, 90]
Generated Node #0,0: 87:[84, 26, 90] Operation: 96-6=90
Moving to Node #0,0
Current State: 87:[84, 26, 90], Operations: ['96-6=90']
Exploring Operation: 90-84=6, Resulting Numbers: [26, 6]
Generated Node #0,0,0: 87:[26, 6] Operation: 90-84=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[26, 6], Operations: ['96-6=90', '90-84=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,87 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 |
[
6,
49,
1,
66
] | 60 | [
"6*1=6",
"66/6=11",
"49+11=60"
] | Current State: 60:[6, 49, 1, 66], Operations: []
Exploring Operation: 6*1=6, Resulting Numbers: [49, 66, 6]
Generated Node #2: [49, 66, 6] from Operation: 6*1=6
Current State: 60:[49, 66, 6], Operations: ['6*1=6']
Exploring Operation: 66/6=11, Resulting Numbers: [49, 11]
Generated Node #3: [49, 11] from Operation: 66/6=11
Current State: 60:[49, 11], Operations: ['6*1=6', '66/6=11']
Exploring Operation: 49+11=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[6, 49, 1, 66], Operations: []
Exploring Operation: 66-6=60, Resulting Numbers: [49, 1, 60]
Generated Node #0,0: 60:[49, 1, 60] Operation: 66-6=60
Exploring Operation: 66-49=17, Resulting Numbers: [6, 1, 17]
Generated Node #0,1: 60:[6, 1, 17] Operation: 66-49=17
Exploring Operation: 66/6=11, Resulting Numbers: [49, 1, 11]
Generated Node #0,2: 60:[49, 1, 11] Operation: 66/6=11
Exploring Operation: 6+49=55, Resulting Numbers: [1, 66, 55]
Generated Node #0,3: 60:[1, 66, 55] Operation: 6+49=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[6, 1, 17], Operations: ['66-49=17']
Exploring Operation: 6-1=5, Resulting Numbers: [17, 5]
Generated Node #0,1,0: 60:[17, 5] Operation: 6-1=5
Exploring Operation: 6/1=6, Resulting Numbers: [17, 6]
Generated Node #0,1,1: 60:[17, 6] Operation: 6/1=6
Exploring Operation: 17-1=16, Resulting Numbers: [6, 16]
Generated Node #0,1,2: 60:[6, 16] Operation: 17-1=16
Exploring Operation: 6*1=6, Resulting Numbers: [17, 6]
Generated Node #0,1,3: 60:[17, 6] Operation: 6*1=6
Moving to Node #0,1,2
Current State: 60:[6, 16], Operations: ['66-49=17', '17-1=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[17, 6], Operations: ['66-49=17', '6/1=6']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,60 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[17, 5], Operations: ['66-49=17', '6-1=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,60 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Moving to Node #0,1,3
Current State: 60:[17, 6], Operations: ['66-49=17', '6*1=6']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[49, 1, 60], Operations: ['66-6=60']
Exploring Operation: 49/1=49, Resulting Numbers: [60, 49]
Generated Node #0,0,0: 60:[60, 49] Operation: 49/1=49
Exploring Operation: 49*1=49, Resulting Numbers: [60, 49]
Generated Node #0,0,1: 60:[60, 49] Operation: 49*1=49
Exploring Operation: 60-49=11, Resulting Numbers: [1, 11]
Generated Node #0,0,2: 60:[1, 11] Operation: 60-49=11
Exploring Operation: 49+1=50, Resulting Numbers: [60, 50]
Generated Node #0,0,3: 60:[60, 50] Operation: 49+1=50
Moving to Node #0,0,2
Current State: 60:[1, 11], Operations: ['66-6=60', '60-49=11']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[60, 50], Operations: ['66-6=60', '49+1=50']
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 60*50=3000, Resulting Numbers: [3000]
3000,60 unequal: No Solution
Exploring Operation: 60+50=110, Resulting Numbers: [110]
110,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[60, 49], Operations: ['66-6=60', '49*1=49']
Exploring Operation: 60*49=2940, Resulting Numbers: [2940]
2940,60 unequal: No Solution
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 60+49=109, Resulting Numbers: [109]
109,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[60, 49], Operations: ['66-6=60', '49/1=49']
Exploring Operation: 60*49=2940, Resulting Numbers: [2940]
2940,60 unequal: No Solution
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 60+49=109, Resulting Numbers: [109]
109,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[1, 66, 55], Operations: ['6+49=55']
Exploring Operation: 1+55=56, Resulting Numbers: [66, 56]
Generated Node #0,3,0: 60:[66, 56] Operation: 1+55=56
Exploring Operation: 66-55=11, Resulting Numbers: [1, 11]
Generated Node #0,3,1: 60:[1, 11] Operation: 66-55=11
Exploring Operation: 66-1=65, Resulting Numbers: [55, 65]
Generated Node #0,3,2: 60:[55, 65] Operation: 66-1=65
Exploring Operation: 1*66=66, Resulting Numbers: [55, 66]
Generated Node #0,3,3: 60:[55, 66] Operation: 1*66=66
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 60:[1, 11], Operations: ['6+49=55', '66-55=11']
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 60:[66, 56], Operations: ['6+49=55', '1+55=56']
Exploring Operation: 66*56=3696, Resulting Numbers: [3696]
3696,60 unequal: No Solution
Exploring Operation: 66+56=122, Resulting Numbers: [122]
122,60 unequal: No Solution
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 60:[55, 65], Operations: ['6+49=55', '66-1=65']
Exploring Operation: 55+65=120, Resulting Numbers: [120]
120,60 unequal: No Solution
Exploring Operation: 55*65=3575, Resulting Numbers: [3575]
3575,60 unequal: No Solution
Exploring Operation: 65-55=10, Resulting Numbers: [10]
10,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 60:[55, 66], Operations: ['6+49=55', '1*66=66']
Exploring Operation: 55+66=121, Resulting Numbers: [121]
121,60 unequal: No Solution
Exploring Operation: 55*66=3630, Resulting Numbers: [3630]
3630,60 unequal: No Solution
Exploring Operation: 66-55=11, Resulting Numbers: [11]
11,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[49, 1, 11], Operations: ['66/6=11']
Exploring Operation: 49+1=50, Resulting Numbers: [11, 50]
Generated Node #0,2,0: 60:[11, 50] Operation: 49+1=50
Exploring Operation: 1+11=12, Resulting Numbers: [49, 12]
Generated Node #0,2,1: 60:[49, 12] Operation: 1+11=12
Exploring Operation: 49-11=38, Resulting Numbers: [1, 38]
Generated Node #0,2,2: 60:[1, 38] Operation: 49-11=38
Exploring Operation: 49+11=60, Resulting Numbers: [1, 60]
Generated Node #0,2,3: 60:[1, 60] Operation: 49+11=60
Moving to Node #0,2,3
Current State: 60:[1, 60], Operations: ['66/6=11', '49+11=60']
Exploring Operation: 1+60=61, Resulting Numbers: [61]
61,60 unequal: No Solution
Exploring Operation: 1*60=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[6, 49, 1, 66], Operations: []
Exploring Operation: 66/6=11, Resulting Numbers: [49, 1, 11]
Generated Node #0,2: 60:[49, 1, 11] Operation: 66/6=11
Moving to Node #0,2
Current State: 60:[49, 1, 11], Operations: ['66/6=11']
Exploring Operation: 49+11=60, Resulting Numbers: [1, 60]
Generated Node #0,2,3: 60:[1, 60] Operation: 49+11=60
Moving to Node #0,2,3
Current State: 60:[1, 60], Operations: ['66/6=11', '49+11=60']
Exploring Operation: 1*60=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.944444 | hs_4 | mult_heuristic |
[
30,
27,
34,
75
] | 90 | [
"27+75=102",
"30*102=3060",
"3060/34=90"
] | Current State: 90:[30, 27, 34, 75], Operations: []
Exploring Operation: 27+75=102, Resulting Numbers: [30, 34, 102]
Generated Node #2: [30, 34, 102] from Operation: 27+75=102
Current State: 90:[30, 34, 102], Operations: ['27+75=102']
Exploring Operation: 30*102=3060, Resulting Numbers: [34, 3060]
Generated Node #3: [34, 3060] from Operation: 30*102=3060
Current State: 90:[34, 3060], Operations: ['27+75=102', '30*102=3060']
Exploring Operation: 3060/34=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[30, 27, 34, 75], Operations: []
Exploring Operation: 75-27=48, Resulting Numbers: [30, 34, 48]
Generated Node #0,0: 90:[30, 34, 48] Operation: 75-27=48
Exploring Operation: 75-30=45, Resulting Numbers: [27, 34, 45]
Generated Node #0,1: 90:[27, 34, 45] Operation: 75-30=45
Exploring Operation: 75-34=41, Resulting Numbers: [30, 27, 41]
Generated Node #0,2: 90:[30, 27, 41] Operation: 75-34=41
Moving to Node #0,0
Current State: 90:[30, 34, 48], Operations: ['75-27=48']
Exploring Operation: 48-30=18, Resulting Numbers: [34, 18]
Generated Node #0,0,0: 90:[34, 18] Operation: 48-30=18
Exploring Operation: 48-34=14, Resulting Numbers: [30, 14]
Generated Node #0,0,1: 90:[30, 14] Operation: 48-34=14
Exploring Operation: 34-30=4, Resulting Numbers: [48, 4]
Generated Node #0,0,2: 90:[48, 4] Operation: 34-30=4
Moving to Node #0,1
Current State: 90:[27, 34, 45], Operations: ['75-30=45']
Exploring Operation: 45-27=18, Resulting Numbers: [34, 18]
Generated Node #0,1,0: 90:[34, 18] Operation: 45-27=18
Exploring Operation: 45-34=11, Resulting Numbers: [27, 11]
Generated Node #0,1,1: 90:[27, 11] Operation: 45-34=11
Exploring Operation: 34-27=7, Resulting Numbers: [45, 7]
Generated Node #0,1,2: 90:[45, 7] Operation: 34-27=7
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[45, 7], Operations: ['75-30=45', '34-27=7']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 45+7=52, Resulting Numbers: [52]
52,90 unequal: No Solution
Exploring Operation: 45*7=315, Resulting Numbers: [315]
315,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:[34, 18], Operations: ['75-30=45', '45-27=18']
Exploring Operation: 34*18=612, Resulting Numbers: [612]
612,90 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,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,1
Current State: 90:[27, 11], Operations: ['75-30=45', '45-34=11']
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 27*11=297, Resulting Numbers: [297]
297,90 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: 90:[30, 27, 41], Operations: ['75-34=41']
Exploring Operation: 30-27=3, Resulting Numbers: [41, 3]
Generated Node #0,2,0: 90:[41, 3] Operation: 30-27=3
Exploring Operation: 41-30=11, Resulting Numbers: [27, 11]
Generated Node #0,2,1: 90:[27, 11] Operation: 41-30=11
Exploring Operation: 41-27=14, Resulting Numbers: [30, 14]
Generated Node #0,2,2: 90:[30, 14] Operation: 41-27=14
Moving to Node #0,0,1
Current State: 90:[30, 14], Operations: ['75-27=48', '48-34=14']
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,90 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[30, 14], Operations: ['75-34=41', '41-27=14']
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,90 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[48, 4], Operations: ['75-27=48', '34-30=4']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Exploring Operation: 48+4=52, Resulting Numbers: [52]
52,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[27, 11], Operations: ['75-34=41', '41-30=11']
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 27*11=297, Resulting Numbers: [297]
297,90 unequal: No Solution
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[41, 3], Operations: ['75-34=41', '30-27=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,90 unequal: No Solution
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[34, 18], Operations: ['75-27=48', '48-30=18']
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,90 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 34*18=612, Resulting Numbers: [612]
612,90 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
10,
43,
93,
80
] | 40 | [
"10+43=53",
"93-80=13",
"53-13=40"
] | Current State: 40:[10, 43, 93, 80], Operations: []
Exploring Operation: 10+43=53, Resulting Numbers: [93, 80, 53]
Generated Node #2: [93, 80, 53] from Operation: 10+43=53
Current State: 40:[93, 80, 53], Operations: ['10+43=53']
Exploring Operation: 93-80=13, Resulting Numbers: [53, 13]
Generated Node #3: [53, 13] from Operation: 93-80=13
Current State: 40:[53, 13], Operations: ['10+43=53', '93-80=13']
Exploring Operation: 53-13=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[10, 43, 93, 80], Operations: []
Exploring Operation: 93-80=13, Resulting Numbers: [10, 43, 13]
Generated Node #0,0: 40:[10, 43, 13] Operation: 93-80=13
Exploring Operation: 93-43=50, Resulting Numbers: [10, 80, 50]
Generated Node #0,1: 40:[10, 80, 50] Operation: 93-43=50
Moving to Node #0,0
Current State: 40:[10, 43, 13], Operations: ['93-80=13']
Exploring Operation: 13-10=3, Resulting Numbers: [43, 3]
Generated Node #0,0,0: 40:[43, 3] Operation: 13-10=3
Exploring Operation: 10+13=23, Resulting Numbers: [43, 23]
Generated Node #0,0,1: 40:[43, 23] Operation: 10+13=23
Moving to Node #0,1
Current State: 40:[10, 80, 50], Operations: ['93-43=50']
Exploring Operation: 80/10=8, Resulting Numbers: [50, 8]
Generated Node #0,1,0: 40:[50, 8] Operation: 80/10=8
Exploring Operation: 80-50=30, Resulting Numbers: [10, 30]
Generated Node #0,1,1: 40:[10, 30] Operation: 80-50=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[50, 8], Operations: ['93-43=50', '80/10=8']
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,40 unequal: No Solution
Exploring Operation: 50+8=58, Resulting Numbers: [58]
58,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[10, 30], Operations: ['93-43=50', '80-50=30']
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[10, 43, 93, 80], Operations: []
Exploring Operation: 93-43=50, Resulting Numbers: [10, 80, 50]
Generated Node #0,1: 40:[10, 80, 50] Operation: 93-43=50
Moving to Node #0,1
Current State: 40:[10, 80, 50], Operations: ['93-43=50']
Exploring Operation: 80-50=30, Resulting Numbers: [10, 30]
Generated Node #0,1,1: 40:[10, 30] Operation: 80-50=30
Moving to Node #0,1,1
Current State: 40:[10, 30], Operations: ['93-43=50', '80-50=30']
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_2 | mult_heuristic |
[
17,
15,
88,
98
] | 12 | [
"17-15=2",
"98-88=10",
"2+10=12"
] | Current State: 12:[17, 15, 88, 98], Operations: []
Exploring Operation: 17-15=2, Resulting Numbers: [88, 98, 2]
Generated Node #2: [88, 98, 2] from Operation: 17-15=2
Current State: 12:[88, 98, 2], Operations: ['17-15=2']
Exploring Operation: 98-88=10, Resulting Numbers: [2, 10]
Generated Node #3: [2, 10] from Operation: 98-88=10
Current State: 12:[2, 10], Operations: ['17-15=2', '98-88=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[17, 15, 88, 98], Operations: []
Exploring Operation: 98-88=10, Resulting Numbers: [17, 15, 10]
Generated Node #0,0: 12:[17, 15, 10] Operation: 98-88=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[17, 15, 10], Operations: ['98-88=10']
Exploring Operation: 17-15=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 12:[10, 2] Operation: 17-15=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[10, 2], Operations: ['98-88=10', '17-15=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[17, 15, 88, 98], Operations: []
Exploring Operation: 98-88=10, Resulting Numbers: [17, 15, 10]
Generated Node #0,0: 12:[17, 15, 10] Operation: 98-88=10
Moving to Node #0,0
Current State: 12:[17, 15, 10], Operations: ['98-88=10']
Exploring Operation: 17-15=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 12:[10, 2] Operation: 17-15=2
Moving to Node #0,0,0
Current State: 12:[10, 2], Operations: ['98-88=10', '17-15=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
88,
80,
83,
21
] | 85 | [
"88-80=8",
"21*8=168",
"168-83=85"
] | Current State: 85:[88, 80, 83, 21], Operations: []
Exploring Operation: 88-80=8, Resulting Numbers: [83, 21, 8]
Generated Node #2: [83, 21, 8] from Operation: 88-80=8
Current State: 85:[83, 21, 8], Operations: ['88-80=8']
Exploring Operation: 21*8=168, Resulting Numbers: [83, 168]
Generated Node #3: [83, 168] from Operation: 21*8=168
Current State: 85:[83, 168], Operations: ['88-80=8', '21*8=168']
Exploring Operation: 168-83=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[88, 80, 83, 21], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [80, 21, 5]
Generated Node #0,0: 85:[80, 21, 5] Operation: 88-83=5
Exploring Operation: 88-80=8, Resulting Numbers: [83, 21, 8]
Generated Node #0,1: 85:[83, 21, 8] Operation: 88-80=8
Moving to Node #0,0
Current State: 85:[80, 21, 5], Operations: ['88-83=5']
Exploring Operation: 80/5=16, Resulting Numbers: [21, 16]
Generated Node #0,0,0: 85:[21, 16] Operation: 80/5=16
Exploring Operation: 80+5=85, Resulting Numbers: [21, 85]
Generated Node #0,0,1: 85:[21, 85] Operation: 80+5=85
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[21, 85], Operations: ['88-83=5', '80+5=85']
Exploring Operation: 21+85=106, Resulting Numbers: [106]
106,85 unequal: No Solution
Exploring Operation: 85-21=64, Resulting Numbers: [64]
64,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[21, 16], Operations: ['88-83=5', '80/5=16']
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 21+16=37, Resulting Numbers: [37]
37,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 85:[83, 21, 8], Operations: ['88-80=8']
Exploring Operation: 21-8=13, Resulting Numbers: [83, 13]
Generated Node #0,1,0: 85:[83, 13] Operation: 21-8=13
Exploring Operation: 83+8=91, Resulting Numbers: [21, 91]
Generated Node #0,1,1: 85:[21, 91] Operation: 83+8=91
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[83, 13], Operations: ['88-80=8', '21-8=13']
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,85 unequal: No Solution
Exploring Operation: 83-13=70, Resulting Numbers: [70]
70,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[21, 91], Operations: ['88-80=8', '83+8=91']
Exploring Operation: 21+91=112, Resulting Numbers: [112]
112,85 unequal: No Solution
Exploring Operation: 91-21=70, Resulting Numbers: [70]
70,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
58,
16,
20,
68
] | 40 | [
"68-58=10",
"20-16=4",
"10*4=40"
] | Current State: 40:[58, 16, 20, 68], Operations: []
Exploring Operation: 68-58=10, Resulting Numbers: [16, 20, 10]
Generated Node #2: [16, 20, 10] from Operation: 68-58=10
Current State: 40:[16, 20, 10], Operations: ['68-58=10']
Exploring Operation: 20-16=4, Resulting Numbers: [10, 4]
Generated Node #3: [10, 4] from Operation: 20-16=4
Current State: 40:[10, 4], Operations: ['68-58=10', '20-16=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[58, 16, 20, 68], Operations: []
Exploring Operation: 68-58=10, Resulting Numbers: [16, 20, 10]
Generated Node #0,0: 40:[16, 20, 10] Operation: 68-58=10
Exploring Operation: 58-20=38, Resulting Numbers: [16, 68, 38]
Generated Node #0,1: 40:[16, 68, 38] Operation: 58-20=38
Exploring Operation: 68-16=52, Resulting Numbers: [58, 20, 52]
Generated Node #0,2: 40:[58, 20, 52] Operation: 68-16=52
Exploring Operation: 58-16=42, Resulting Numbers: [20, 68, 42]
Generated Node #0,3: 40:[20, 68, 42] Operation: 58-16=42
Exploring Operation: 68-20=48, Resulting Numbers: [58, 16, 48]
Generated Node #0,4: 40:[58, 16, 48] Operation: 68-20=48
Moving to Node #0,0
Current State: 40:[16, 20, 10], Operations: ['68-58=10']
Exploring Operation: 16+20=36, Resulting Numbers: [10, 36]
Generated Node #0,0,0: 40:[10, 36] Operation: 16+20=36
Exploring Operation: 20-16=4, Resulting Numbers: [10, 4]
Generated Node #0,0,1: 40:[10, 4] Operation: 20-16=4
Exploring Operation: 20/10=2, Resulting Numbers: [16, 2]
Generated Node #0,0,2: 40:[16, 2] Operation: 20/10=2
Exploring Operation: 16-10=6, Resulting Numbers: [20, 6]
Generated Node #0,0,3: 40:[20, 6] Operation: 16-10=6
Exploring Operation: 20-10=10, Resulting Numbers: [16, 10]
Generated Node #0,0,4: 40:[16, 10] Operation: 20-10=10
Moving to Node #0,3
Current State: 40:[20, 68, 42], Operations: ['58-16=42']
Exploring Operation: 42-20=22, Resulting Numbers: [68, 22]
Generated Node #0,3,0: 40:[68, 22] Operation: 42-20=22
Exploring Operation: 68-42=26, Resulting Numbers: [20, 26]
Generated Node #0,3,1: 40:[20, 26] Operation: 68-42=26
Exploring Operation: 20+68=88, Resulting Numbers: [42, 88]
Generated Node #0,3,2: 40:[42, 88] Operation: 20+68=88
Exploring Operation: 20+42=62, Resulting Numbers: [68, 62]
Generated Node #0,3,3: 40:[68, 62] Operation: 20+42=62
Exploring Operation: 68-20=48, Resulting Numbers: [42, 48]
Generated Node #0,3,4: 40:[42, 48] Operation: 68-20=48
Moving to Node #0,2
Current State: 40:[58, 20, 52], Operations: ['68-16=52']
Exploring Operation: 52-20=32, Resulting Numbers: [58, 32]
Generated Node #0,2,0: 40:[58, 32] Operation: 52-20=32
Exploring Operation: 58+20=78, Resulting Numbers: [52, 78]
Generated Node #0,2,1: 40:[52, 78] Operation: 58+20=78
Exploring Operation: 20+52=72, Resulting Numbers: [58, 72]
Generated Node #0,2,2: 40:[58, 72] Operation: 20+52=72
Exploring Operation: 58-52=6, Resulting Numbers: [20, 6]
Generated Node #0,2,3: 40:[20, 6] Operation: 58-52=6
Exploring Operation: 58-20=38, Resulting Numbers: [52, 38]
Generated Node #0,2,4: 40:[52, 38] Operation: 58-20=38
Moving to Node #0,4
Current State: 40:[58, 16, 48], Operations: ['68-20=48']
Exploring Operation: 48-16=32, Resulting Numbers: [58, 32]
Generated Node #0,4,0: 40:[58, 32] Operation: 48-16=32
Exploring Operation: 58+16=74, Resulting Numbers: [48, 74]
Generated Node #0,4,1: 40:[48, 74] Operation: 58+16=74
Exploring Operation: 58-16=42, Resulting Numbers: [48, 42]
Generated Node #0,4,2: 40:[48, 42] Operation: 58-16=42
Exploring Operation: 48/16=3, Resulting Numbers: [58, 3]
Generated Node #0,4,3: 40:[58, 3] Operation: 48/16=3
Exploring Operation: 58-48=10, Resulting Numbers: [16, 10]
Generated Node #0,4,4: 40:[16, 10] Operation: 58-48=10
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 40:[16, 10], Operations: ['68-20=48', '58-48=10']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 40:[48, 42], Operations: ['68-20=48', '58-16=42']
Exploring Operation: 48+42=90, Resulting Numbers: [90]
90,40 unequal: No Solution
Exploring Operation: 48*42=2016, Resulting Numbers: [2016]
2016,40 unequal: No Solution
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 40:[58, 3], Operations: ['68-20=48', '48/16=3']
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,40 unequal: No Solution
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 40:[58, 32], Operations: ['68-20=48', '48-16=32']
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 58+32=90, Resulting Numbers: [90]
90,40 unequal: No Solution
Exploring Operation: 58*32=1856, Resulting Numbers: [1856]
1856,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 40:[48, 74], Operations: ['68-20=48', '58+16=74']
Exploring Operation: 48+74=122, Resulting Numbers: [122]
122,40 unequal: No Solution
Exploring Operation: 48*74=3552, Resulting Numbers: [3552]
3552,40 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,40 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: 40:[16, 68, 38], Operations: ['58-20=38']
Exploring Operation: 16+68=84, Resulting Numbers: [38, 84]
Generated Node #0,1,0: 40:[38, 84] Operation: 16+68=84
Exploring Operation: 16+38=54, Resulting Numbers: [68, 54]
Generated Node #0,1,1: 40:[68, 54] Operation: 16+38=54
Exploring Operation: 38-16=22, Resulting Numbers: [68, 22]
Generated Node #0,1,2: 40:[68, 22] Operation: 38-16=22
Exploring Operation: 68-16=52, Resulting Numbers: [38, 52]
Generated Node #0,1,3: 40:[38, 52] Operation: 68-16=52
Exploring Operation: 68-38=30, Resulting Numbers: [16, 30]
Generated Node #0,1,4: 40:[16, 30] Operation: 68-38=30
Moving to Node #0,0,1
Current State: 40:[10, 4], Operations: ['68-58=10', '20-16=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[58, 16, 20, 68], Operations: []
Exploring Operation: 68-58=10, Resulting Numbers: [16, 20, 10]
Generated Node #0,0: 40:[16, 20, 10] Operation: 68-58=10
Moving to Node #0,0
Current State: 40:[16, 20, 10], Operations: ['68-58=10']
Exploring Operation: 20-16=4, Resulting Numbers: [10, 4]
Generated Node #0,0,1: 40:[10, 4] Operation: 20-16=4
Moving to Node #0,0,1
Current State: 40:[10, 4], Operations: ['68-58=10', '20-16=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.954861 | hs_5 | sum_heuristic |
[
6,
58,
54,
12
] | 13 | [
"58*12=696",
"6+696=702",
"702/54=13"
] | Current State: 13:[6, 58, 54, 12], Operations: []
Exploring Operation: 58*12=696, Resulting Numbers: [6, 54, 696]
Generated Node #2: [6, 54, 696] from Operation: 58*12=696
Current State: 13:[6, 54, 696], Operations: ['58*12=696']
Exploring Operation: 6+696=702, Resulting Numbers: [54, 702]
Generated Node #3: [54, 702] from Operation: 6+696=702
Current State: 13:[54, 702], Operations: ['58*12=696', '6+696=702']
Exploring Operation: 702/54=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[6, 58, 54, 12], Operations: []
Exploring Operation: 58-54=4, Resulting Numbers: [6, 12, 4]
Generated Node #0,0: 13:[6, 12, 4] Operation: 58-54=4
Exploring Operation: 54/6=9, Resulting Numbers: [58, 12, 9]
Generated Node #0,1: 13:[58, 12, 9] Operation: 54/6=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[6, 12, 4], Operations: ['58-54=4']
Exploring Operation: 12+4=16, Resulting Numbers: [6, 16]
Generated Node #0,0,0: 13:[6, 16] Operation: 12+4=16
Exploring Operation: 6+4=10, Resulting Numbers: [12, 10]
Generated Node #0,0,1: 13:[12, 10] Operation: 6+4=10
Moving to Node #0,0,1
Current State: 13:[12, 10], Operations: ['58-54=4', '6+4=10']
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[6, 16], Operations: ['58-54=4', '12+4=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[58, 12, 9], Operations: ['54/6=9']
Exploring Operation: 58-9=49, Resulting Numbers: [12, 49]
Generated Node #0,1,0: 13:[12, 49] Operation: 58-9=49
Exploring Operation: 58-12=46, Resulting Numbers: [9, 46]
Generated Node #0,1,1: 13:[9, 46] Operation: 58-12=46
Moving to Node #0,1,0
Current State: 13:[12, 49], Operations: ['54/6=9', '58-9=49']
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 12+49=61, Resulting Numbers: [61]
61,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[9, 46], Operations: ['54/6=9', '58-12=46']
Exploring Operation: 9+46=55, Resulting Numbers: [55]
55,13 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,13 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 |
[
5,
76,
78,
81
] | 79 | [
"5+76=81",
"81/81=1",
"78+1=79"
] | Current State: 79:[5, 76, 78, 81], Operations: []
Exploring Operation: 5+76=81, Resulting Numbers: [78, 81, 81]
Generated Node #2: [78, 81, 81] from Operation: 5+76=81
Current State: 79:[78, 81, 81], Operations: ['5+76=81']
Exploring Operation: 81/81=1, Resulting Numbers: [78, 1]
Generated Node #3: [78, 1] from Operation: 81/81=1
Current State: 79:[78, 1], Operations: ['5+76=81', '81/81=1']
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[5, 76, 78, 81], Operations: []
Exploring Operation: 76-5=71, Resulting Numbers: [78, 81, 71]
Generated Node #0,0: 79:[78, 81, 71] Operation: 76-5=71
Exploring Operation: 81-5=76, Resulting Numbers: [76, 78, 76]
Generated Node #0,1: 79:[76, 78, 76] Operation: 81-5=76
Exploring Operation: 5+78=83, Resulting Numbers: [76, 81, 83]
Generated Node #0,2: 79:[76, 81, 83] Operation: 5+78=83
Exploring Operation: 78-5=73, Resulting Numbers: [76, 81, 73]
Generated Node #0,3: 79:[76, 81, 73] Operation: 78-5=73
Exploring Operation: 5+76=81, Resulting Numbers: [78, 81, 81]
Generated Node #0,4: 79:[78, 81, 81] Operation: 5+76=81
Moving to Node #0,4
Current State: 79:[78, 81, 81], Operations: ['5+76=81']
Exploring Operation: 78+81=159, Resulting Numbers: [81, 159]
Generated Node #0,4,0: 79:[81, 159] Operation: 78+81=159
Exploring Operation: 81-78=3, Resulting Numbers: [81, 3]
Generated Node #0,4,1: 79:[81, 3] Operation: 81-78=3
Exploring Operation: 81-81=0, Resulting Numbers: [78, 0]
Generated Node #0,4,2: 79:[78, 0] Operation: 81-81=0
Exploring Operation: 81-78=3, Resulting Numbers: [81, 3]
Generated Node #0,4,3: 79:[81, 3] Operation: 81-78=3
Exploring Operation: 81/81=1, Resulting Numbers: [78, 1]
Generated Node #0,4,4: 79:[78, 1] Operation: 81/81=1
Moving to Node #0,1
Current State: 79:[76, 78, 76], Operations: ['81-5=76']
Exploring Operation: 78-76=2, Resulting Numbers: [76, 2]
Generated Node #0,1,0: 79:[76, 2] Operation: 78-76=2
Exploring Operation: 76/76=1, Resulting Numbers: [78, 1]
Generated Node #0,1,1: 79:[78, 1] Operation: 76/76=1
Exploring Operation: 78+76=154, Resulting Numbers: [76, 154]
Generated Node #0,1,2: 79:[76, 154] Operation: 78+76=154
Exploring Operation: 76+78=154, Resulting Numbers: [76, 154]
Generated Node #0,1,3: 79:[76, 154] Operation: 76+78=154
Exploring Operation: 76+76=152, Resulting Numbers: [78, 152]
Generated Node #0,1,4: 79:[78, 152] Operation: 76+76=152
Moving to Node #0,2
Current State: 79:[76, 81, 83], Operations: ['5+78=83']
Exploring Operation: 83-76=7, Resulting Numbers: [81, 7]
Generated Node #0,2,0: 79:[81, 7] Operation: 83-76=7
Exploring Operation: 81-76=5, Resulting Numbers: [83, 5]
Generated Node #0,2,1: 79:[83, 5] Operation: 81-76=5
Exploring Operation: 76+81=157, Resulting Numbers: [83, 157]
Generated Node #0,2,2: 79:[83, 157] Operation: 76+81=157
Exploring Operation: 76+83=159, Resulting Numbers: [81, 159]
Generated Node #0,2,3: 79:[81, 159] Operation: 76+83=159
Exploring Operation: 83-81=2, Resulting Numbers: [76, 2]
Generated Node #0,2,4: 79:[76, 2] Operation: 83-81=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 79:[81, 7], Operations: ['5+78=83', '83-76=7']
Exploring Operation: 81+7=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 81*7=567, Resulting Numbers: [567]
567,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:[83, 5], Operations: ['5+78=83', '81-76=5']
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 83*5=415, Resulting Numbers: [415]
415,79 unequal: No Solution
Exploring Operation: 83+5=88, Resulting Numbers: [88]
88,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 79:[76, 2], Operations: ['5+78=83', '83-81=2']
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,79 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,79 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,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:[83, 157], Operations: ['5+78=83', '76+81=157']
Exploring Operation: 83*157=13031, Resulting Numbers: [13031]
13031,79 unequal: No Solution
Exploring Operation: 157-83=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 83+157=240, Resulting Numbers: [240]
240,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 79:[81, 159], Operations: ['5+78=83', '76+83=159']
Exploring Operation: 81*159=12879, Resulting Numbers: [12879]
12879,79 unequal: No Solution
Exploring Operation: 159-81=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 81+159=240, Resulting Numbers: [240]
240,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:[78, 81, 71], Operations: ['76-5=71']
Exploring Operation: 81+71=152, Resulting Numbers: [78, 152]
Generated Node #0,0,0: 79:[78, 152] Operation: 81+71=152
Exploring Operation: 78-71=7, Resulting Numbers: [81, 7]
Generated Node #0,0,1: 79:[81, 7] Operation: 78-71=7
Exploring Operation: 78+71=149, Resulting Numbers: [81, 149]
Generated Node #0,0,2: 79:[81, 149] Operation: 78+71=149
Exploring Operation: 81-78=3, Resulting Numbers: [71, 3]
Generated Node #0,0,3: 79:[71, 3] Operation: 81-78=3
Exploring Operation: 81-71=10, Resulting Numbers: [78, 10]
Generated Node #0,0,4: 79:[78, 10] Operation: 81-71=10
Moving to Node #0,3
Current State: 79:[76, 81, 73], Operations: ['78-5=73']
Exploring Operation: 81-76=5, Resulting Numbers: [73, 5]
Generated Node #0,3,0: 79:[73, 5] Operation: 81-76=5
Exploring Operation: 81+73=154, Resulting Numbers: [76, 154]
Generated Node #0,3,1: 79:[76, 154] Operation: 81+73=154
Exploring Operation: 76-73=3, Resulting Numbers: [81, 3]
Generated Node #0,3,2: 79:[81, 3] Operation: 76-73=3
Exploring Operation: 76+73=149, Resulting Numbers: [81, 149]
Generated Node #0,3,3: 79:[81, 149] Operation: 76+73=149
Exploring Operation: 81-73=8, Resulting Numbers: [76, 8]
Generated Node #0,3,4: 79:[76, 8] Operation: 81-73=8
Moving to Node #0,0,4
Current State: 79:[78, 10], Operations: ['76-5=71', '81-71=10']
Exploring Operation: 78+10=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 78*10=780, Resulting Numbers: [780]
780,79 unequal: No Solution
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[81, 149], Operations: ['76-5=71', '78+71=149']
Exploring Operation: 81*149=12069, Resulting Numbers: [12069]
12069,79 unequal: No Solution
Exploring Operation: 149-81=68, Resulting Numbers: [68]
68,79 unequal: No Solution
Exploring Operation: 81+149=230, Resulting Numbers: [230]
230,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[81, 149], Operations: ['78-5=73', '76+73=149']
Exploring Operation: 149-81=68, Resulting Numbers: [68]
68,79 unequal: No Solution
Exploring Operation: 81*149=12069, Resulting Numbers: [12069]
12069,79 unequal: No Solution
Exploring Operation: 81+149=230, Resulting Numbers: [230]
230,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[81, 7], Operations: ['76-5=71', '78-71=7']
Exploring Operation: 81*7=567, Resulting Numbers: [567]
567,79 unequal: No Solution
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 81+7=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[78, 152], Operations: ['76-5=71', '81+71=152']
Exploring Operation: 78+152=230, Resulting Numbers: [230]
230,79 unequal: No Solution
Exploring Operation: 78*152=11856, Resulting Numbers: [11856]
11856,79 unequal: No Solution
Exploring Operation: 152-78=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Moving to Node #0,1,4
Current State: 79:[78, 152], Operations: ['81-5=76', '76+76=152']
Exploring Operation: 78*152=11856, Resulting Numbers: [11856]
11856,79 unequal: No Solution
Exploring Operation: 152-78=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 78+152=230, Resulting Numbers: [230]
230,79 unequal: No Solution
Moving to Node #0,3,4
Current State: 79:[76, 8], Operations: ['78-5=73', '81-73=8']
Exploring Operation: 76*8=608, Resulting Numbers: [608]
608,79 unequal: No Solution
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 76-8=68, Resulting Numbers: [68]
68,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[76, 154], Operations: ['81-5=76', '78+76=154']
Exploring Operation: 76*154=11704, Resulting Numbers: [11704]
11704,79 unequal: No Solution
Exploring Operation: 154-76=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 76+154=230, Resulting Numbers: [230]
230,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[81, 3], Operations: ['78-5=73', '76-73=3']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,79 unequal: No Solution
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 81*3=243, Resulting Numbers: [243]
243,79 unequal: No Solution
Moving to Node #0,4,1
Current State: 79:[81, 3], Operations: ['5+76=81', '81-78=3']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,79 unequal: No Solution
Exploring Operation: 81*3=243, Resulting Numbers: [243]
243,79 unequal: No Solution
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Moving to Node #0,4,3
Current State: 79:[81, 3], Operations: ['5+76=81', '81-78=3']
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 81*3=243, Resulting Numbers: [243]
243,79 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,79 unequal: No Solution
Moving to Node #0,3,1
Current State: 79:[76, 154], Operations: ['78-5=73', '81+73=154']
Exploring Operation: 76+154=230, Resulting Numbers: [230]
230,79 unequal: No Solution
Exploring Operation: 154-76=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 76*154=11704, Resulting Numbers: [11704]
11704,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[76, 154], Operations: ['81-5=76', '76+78=154']
Exploring Operation: 154-76=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 76+154=230, Resulting Numbers: [230]
230,79 unequal: No Solution
Exploring Operation: 76*154=11704, Resulting Numbers: [11704]
11704,79 unequal: No Solution
Moving to Node #0,4,4
Current State: 79:[78, 1], Operations: ['5+76=81', '81/81=1']
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[5, 76, 78, 81], Operations: []
Exploring Operation: 5+76=81, Resulting Numbers: [78, 81, 81]
Generated Node #0,4: 79:[78, 81, 81] Operation: 5+76=81
Moving to Node #0,4
Current State: 79:[78, 81, 81], Operations: ['5+76=81']
Exploring Operation: 81/81=1, Resulting Numbers: [78, 1]
Generated Node #0,4,4: 79:[78, 1] Operation: 81/81=1
Moving to Node #0,4,4
Current State: 79:[78, 1], Operations: ['5+76=81', '81/81=1']
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 0.919271 | hs_5 | sum_heuristic |
[
70,
4,
91,
27
] | 52 | [
"70-4=66",
"91+27=118",
"118-66=52"
] | Current State: 52:[70, 4, 91, 27], Operations: []
Exploring Operation: 70-4=66, Resulting Numbers: [91, 27, 66]
Generated Node #2: [91, 27, 66] from Operation: 70-4=66
Current State: 52:[91, 27, 66], Operations: ['70-4=66']
Exploring Operation: 91+27=118, Resulting Numbers: [66, 118]
Generated Node #3: [66, 118] from Operation: 91+27=118
Current State: 52:[66, 118], Operations: ['70-4=66', '91+27=118']
Exploring Operation: 118-66=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[70, 4, 91, 27], Operations: []
Exploring Operation: 91-70=21, Resulting Numbers: [4, 27, 21]
Generated Node #0,0: 52:[4, 27, 21] Operation: 91-70=21
Exploring Operation: 70-27=43, Resulting Numbers: [4, 91, 43]
Generated Node #0,1: 52:[4, 91, 43] Operation: 70-27=43
Exploring Operation: 70-4=66, Resulting Numbers: [91, 27, 66]
Generated Node #0,2: 52:[91, 27, 66] Operation: 70-4=66
Exploring Operation: 91-27=64, Resulting Numbers: [70, 4, 64]
Generated Node #0,3: 52:[70, 4, 64] Operation: 91-27=64
Moving to Node #0,0
Current State: 52:[4, 27, 21], Operations: ['91-70=21']
Exploring Operation: 4+21=25, Resulting Numbers: [27, 25]
Generated Node #0,0,0: 52:[27, 25] Operation: 4+21=25
Exploring Operation: 27-21=6, Resulting Numbers: [4, 6]
Generated Node #0,0,1: 52:[4, 6] Operation: 27-21=6
Exploring Operation: 21-4=17, Resulting Numbers: [27, 17]
Generated Node #0,0,2: 52:[27, 17] Operation: 21-4=17
Exploring Operation: 27+21=48, Resulting Numbers: [4, 48]
Generated Node #0,0,3: 52:[4, 48] Operation: 27+21=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[27, 25], Operations: ['91-70=21', '4+21=25']
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[70, 4, 91, 27], Operations: []
Exploring Operation: 91-70=21, Resulting Numbers: [4, 27, 21]
Generated Node #0,0: 52:[4, 27, 21] Operation: 91-70=21
Moving to Node #0,0
Current State: 52:[4, 27, 21], Operations: ['91-70=21']
Exploring Operation: 4+21=25, Resulting Numbers: [27, 25]
Generated Node #0,0,0: 52:[27, 25] Operation: 4+21=25
Moving to Node #0,0,0
Current State: 52:[27, 25], Operations: ['91-70=21', '4+21=25']
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
42,
83,
41,
4
] | 39 | [
"42+83=125",
"41*4=164",
"164-125=39"
] | Current State: 39:[42, 83, 41, 4], Operations: []
Exploring Operation: 42+83=125, Resulting Numbers: [41, 4, 125]
Generated Node #2: [41, 4, 125] from Operation: 42+83=125
Current State: 39:[41, 4, 125], Operations: ['42+83=125']
Exploring Operation: 41*4=164, Resulting Numbers: [125, 164]
Generated Node #3: [125, 164] from Operation: 41*4=164
Current State: 39:[125, 164], Operations: ['42+83=125', '41*4=164']
Exploring Operation: 164-125=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[42, 83, 41, 4], Operations: []
Exploring Operation: 83-41=42, Resulting Numbers: [42, 4, 42]
Generated Node #0,0: 39:[42, 4, 42] Operation: 83-41=42
Exploring Operation: 83-4=79, Resulting Numbers: [42, 41, 79]
Generated Node #0,1: 39:[42, 41, 79] Operation: 83-4=79
Exploring Operation: 83-42=41, Resulting Numbers: [41, 4, 41]
Generated Node #0,2: 39:[41, 4, 41] Operation: 83-42=41
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[41, 4, 41], Operations: ['83-42=41']
Exploring Operation: 41-4=37, Resulting Numbers: [41, 37]
Generated Node #0,2,0: 39:[41, 37] Operation: 41-4=37
Exploring Operation: 41-41=0, Resulting Numbers: [4, 0]
Generated Node #0,2,1: 39:[4, 0] Operation: 41-41=0
Exploring Operation: 41/41=1, Resulting Numbers: [4, 1]
Generated Node #0,2,2: 39:[4, 1] Operation: 41/41=1
Moving to Node #0,2,2
Current State: 39:[4, 1], Operations: ['83-42=41', '41/41=1']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[41, 37], Operations: ['83-42=41', '41-4=37']
Exploring Operation: 41*37=1517, Resulting Numbers: [1517]
1517,39 unequal: No Solution
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 41+37=78, Resulting Numbers: [78]
78,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[4, 0], Operations: ['83-42=41', '41-41=0']
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[42, 4, 42], Operations: ['83-41=42']
Exploring Operation: 42-4=38, Resulting Numbers: [42, 38]
Generated Node #0,0,0: 39:[42, 38] Operation: 42-4=38
Exploring Operation: 42/42=1, Resulting Numbers: [4, 1]
Generated Node #0,0,1: 39:[4, 1] Operation: 42/42=1
Exploring Operation: 42-42=0, Resulting Numbers: [4, 0]
Generated Node #0,0,2: 39:[4, 0] Operation: 42-42=0
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 39:[4, 1], Operations: ['83-41=42', '42/42=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,39 unequal: No Solution
No 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: 39:[42, 38], Operations: ['83-41=42', '42-4=38']
Exploring Operation: 42+38=80, Resulting Numbers: [80]
80,39 unequal: No Solution
Exploring Operation: 42*38=1596, Resulting Numbers: [1596]
1596,39 unequal: No Solution
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,39 unequal: No Solution
No 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: 39:[4, 0], Operations: ['83-41=42', '42-42=0']
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,39 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: 39:[42, 41, 79], Operations: ['83-4=79']
Exploring Operation: 79-42=37, Resulting Numbers: [41, 37]
Generated Node #0,1,0: 39:[41, 37] Operation: 79-42=37
Exploring Operation: 79-41=38, Resulting Numbers: [42, 38]
Generated Node #0,1,1: 39:[42, 38] Operation: 79-41=38
Exploring Operation: 42-41=1, Resulting Numbers: [79, 1]
Generated Node #0,1,2: 39:[79, 1] Operation: 42-41=1
Moving to Node #0,1,0
Current State: 39:[41, 37], Operations: ['83-4=79', '79-42=37']
Exploring Operation: 41*37=1517, Resulting Numbers: [1517]
1517,39 unequal: No Solution
Exploring Operation: 41+37=78, Resulting Numbers: [78]
78,39 unequal: No Solution
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[42, 38], Operations: ['83-4=79', '79-41=38']
Exploring Operation: 42*38=1596, Resulting Numbers: [1596]
1596,39 unequal: No Solution
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 42+38=80, Resulting Numbers: [80]
80,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[79, 1], Operations: ['83-4=79', '42-41=1']
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,39 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 |
[
67,
19,
69,
34
] | 51 | [
"67+19=86",
"69-34=35",
"86-35=51"
] | Current State: 51:[67, 19, 69, 34], Operations: []
Exploring Operation: 67+19=86, Resulting Numbers: [69, 34, 86]
Generated Node #2: [69, 34, 86] from Operation: 67+19=86
Current State: 51:[69, 34, 86], Operations: ['67+19=86']
Exploring Operation: 69-34=35, Resulting Numbers: [86, 35]
Generated Node #3: [86, 35] from Operation: 69-34=35
Current State: 51:[86, 35], Operations: ['67+19=86', '69-34=35']
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[67, 19, 69, 34], Operations: []
Exploring Operation: 67-34=33, Resulting Numbers: [19, 69, 33]
Generated Node #0,0: 51:[19, 69, 33] Operation: 67-34=33
Exploring Operation: 69-19=50, Resulting Numbers: [67, 34, 50]
Generated Node #0,1: 51:[67, 34, 50] Operation: 69-19=50
Exploring Operation: 69-67=2, Resulting Numbers: [19, 34, 2]
Generated Node #0,2: 51:[19, 34, 2] Operation: 69-67=2
Exploring Operation: 69-34=35, Resulting Numbers: [67, 19, 35]
Generated Node #0,3: 51:[67, 19, 35] Operation: 69-34=35
Exploring Operation: 19+34=53, Resulting Numbers: [67, 69, 53]
Generated Node #0,4: 51:[67, 69, 53] Operation: 19+34=53
Moving to Node #0,2
Current State: 51:[19, 34, 2], Operations: ['69-67=2']
Exploring Operation: 34/2=17, Resulting Numbers: [19, 17]
Generated Node #0,2,0: 51:[19, 17] Operation: 34/2=17
Exploring Operation: 34-19=15, Resulting Numbers: [2, 15]
Generated Node #0,2,1: 51:[2, 15] Operation: 34-19=15
Exploring Operation: 34+2=36, Resulting Numbers: [19, 36]
Generated Node #0,2,2: 51:[19, 36] Operation: 34+2=36
Exploring Operation: 19-2=17, Resulting Numbers: [34, 17]
Generated Node #0,2,3: 51:[34, 17] Operation: 19-2=17
Exploring Operation: 19+34=53, Resulting Numbers: [2, 53]
Generated Node #0,2,4: 51:[2, 53] Operation: 19+34=53
Moving to Node #0,3
Current State: 51:[67, 19, 35], Operations: ['69-34=35']
Exploring Operation: 67-35=32, Resulting Numbers: [19, 32]
Generated Node #0,3,0: 51:[19, 32] Operation: 67-35=32
Exploring Operation: 67+19=86, Resulting Numbers: [35, 86]
Generated Node #0,3,1: 51:[35, 86] Operation: 67+19=86
Exploring Operation: 67-19=48, Resulting Numbers: [35, 48]
Generated Node #0,3,2: 51:[35, 48] Operation: 67-19=48
Exploring Operation: 35-19=16, Resulting Numbers: [67, 16]
Generated Node #0,3,3: 51:[67, 16] Operation: 35-19=16
Exploring Operation: 19+35=54, Resulting Numbers: [67, 54]
Generated Node #0,3,4: 51:[67, 54] Operation: 19+35=54
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 51:[19, 32], Operations: ['69-34=35', '67-35=32']
Exploring Operation: 19+32=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[67, 19, 69, 34], Operations: []
Exploring Operation: 69-34=35, Resulting Numbers: [67, 19, 35]
Generated Node #0,3: 51:[67, 19, 35] Operation: 69-34=35
Moving to Node #0,3
Current State: 51:[67, 19, 35], Operations: ['69-34=35']
Exploring Operation: 67-35=32, Resulting Numbers: [19, 32]
Generated Node #0,3,0: 51:[19, 32] Operation: 67-35=32
Moving to Node #0,3,0
Current State: 51:[19, 32], Operations: ['69-34=35', '67-35=32']
Exploring Operation: 19+32=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
9,
70,
46,
18
] | 93 | [
"9*46=414",
"414/18=23",
"70+23=93"
] | Current State: 93:[9, 70, 46, 18], Operations: []
Exploring Operation: 9*46=414, Resulting Numbers: [70, 18, 414]
Generated Node #2: [70, 18, 414] from Operation: 9*46=414
Current State: 93:[70, 18, 414], Operations: ['9*46=414']
Exploring Operation: 414/18=23, Resulting Numbers: [70, 23]
Generated Node #3: [70, 23] from Operation: 414/18=23
Current State: 93:[70, 23], Operations: ['9*46=414', '414/18=23']
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[9, 70, 46, 18], Operations: []
Exploring Operation: 70-46=24, Resulting Numbers: [9, 18, 24]
Generated Node #0,0: 93:[9, 18, 24] Operation: 70-46=24
Exploring Operation: 46-18=28, Resulting Numbers: [9, 70, 28]
Generated Node #0,1: 93:[9, 70, 28] Operation: 46-18=28
Exploring Operation: 70+18=88, Resulting Numbers: [9, 46, 88]
Generated Node #0,2: 93:[9, 46, 88] Operation: 70+18=88
Moving to Node #0,0
Current State: 93:[9, 18, 24], Operations: ['70-46=24']
Exploring Operation: 9+18=27, Resulting Numbers: [24, 27]
Generated Node #0,0,0: 93:[24, 27] Operation: 9+18=27
Exploring Operation: 18/9=2, Resulting Numbers: [24, 2]
Generated Node #0,0,1: 93:[24, 2] Operation: 18/9=2
Exploring Operation: 24-18=6, Resulting Numbers: [9, 6]
Generated Node #0,0,2: 93:[9, 6] Operation: 24-18=6
Moving to Node #0,2
Current State: 93:[9, 46, 88], Operations: ['70+18=88']
Exploring Operation: 88-46=42, Resulting Numbers: [9, 42]
Generated Node #0,2,0: 93:[9, 42] Operation: 88-46=42
Exploring Operation: 9+88=97, Resulting Numbers: [46, 97]
Generated Node #0,2,1: 93:[46, 97] Operation: 9+88=97
Exploring Operation: 46-9=37, Resulting Numbers: [88, 37]
Generated Node #0,2,2: 93:[88, 37] Operation: 46-9=37
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[88, 37], Operations: ['70+18=88', '46-9=37']
Exploring Operation: 88-37=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 88+37=125, Resulting Numbers: [125]
125,93 unequal: No Solution
Exploring Operation: 88*37=3256, Resulting Numbers: [3256]
3256,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,2,0
Current State: 93:[9, 42], Operations: ['70+18=88', '88-46=42']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,93 unequal: No Solution
Exploring Operation: 9*42=378, Resulting Numbers: [378]
378,93 unequal: No Solution
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,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,2,1
Current State: 93:[46, 97], Operations: ['70+18=88', '9+88=97']
Exploring Operation: 97-46=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 46+97=143, Resulting Numbers: [143]
143,93 unequal: No Solution
Exploring Operation: 46*97=4462, Resulting Numbers: [4462]
4462,93 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: 93:[9, 70, 28], Operations: ['46-18=28']
Exploring Operation: 9+70=79, Resulting Numbers: [28, 79]
Generated Node #0,1,0: 93:[28, 79] Operation: 9+70=79
Exploring Operation: 70+28=98, Resulting Numbers: [9, 98]
Generated Node #0,1,1: 93:[9, 98] Operation: 70+28=98
Exploring Operation: 70-28=42, Resulting Numbers: [9, 42]
Generated Node #0,1,2: 93:[9, 42] Operation: 70-28=42
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[9, 98], Operations: ['46-18=28', '70+28=98']
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,93 unequal: No Solution
Exploring Operation: 9+98=107, Resulting Numbers: [107]
107,93 unequal: No Solution
Exploring Operation: 9*98=882, Resulting Numbers: [882]
882,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,0
Current State: 93:[28, 79], Operations: ['46-18=28', '9+70=79']
Exploring Operation: 28+79=107, Resulting Numbers: [107]
107,93 unequal: No Solution
Exploring Operation: 28*79=2212, Resulting Numbers: [2212]
2212,93 unequal: No Solution
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,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:[9, 42], Operations: ['46-18=28', '70-28=42']
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 9*42=378, Resulting Numbers: [378]
378,93 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,93 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: 93:[24, 2], Operations: ['70-46=24', '18/9=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,93 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[9, 6], Operations: ['70-46=24', '24-18=6']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[24, 27], Operations: ['70-46=24', '9+18=27']
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,93 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,93 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
12,
5,
9,
9
] | 96 | [
"12+9=21",
"5*21=105",
"105-9=96"
] | Current State: 96:[12, 5, 9, 9], Operations: []
Exploring Operation: 12+9=21, Resulting Numbers: [5, 21]
Generated Node #2: [5, 21] from Operation: 12+9=21
Current State: 96:[5, 21], Operations: ['12+9=21']
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,96 equal: Goal Reached
Exploring Operation: 105-9=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[12, 5, 9, 9], Operations: []
Exploring Operation: 12-9=3, Resulting Numbers: [5, 9, 3]
Generated Node #0,0: 96:[5, 9, 3] Operation: 12-9=3
Exploring Operation: 12-9=3, Resulting Numbers: [5, 9, 3]
Generated Node #0,1: 96:[5, 9, 3] Operation: 12-9=3
Exploring Operation: 9/9=1, Resulting Numbers: [12, 5, 1]
Generated Node #0,2: 96:[12, 5, 1] Operation: 9/9=1
Exploring Operation: 9-5=4, Resulting Numbers: [12, 9, 4]
Generated Node #0,3: 96:[12, 9, 4] Operation: 9-5=4
Exploring Operation: 9-5=4, Resulting Numbers: [12, 9, 4]
Generated Node #0,4: 96:[12, 9, 4] Operation: 9-5=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 96:[12, 9, 4], Operations: ['9-5=4']
Exploring Operation: 12-4=8, Resulting Numbers: [9, 8]
Generated Node #0,3,0: 96:[9, 8] Operation: 12-4=8
Exploring Operation: 12-9=3, Resulting Numbers: [4, 3]
Generated Node #0,3,1: 96:[4, 3] Operation: 12-9=3
Exploring Operation: 12/4=3, Resulting Numbers: [9, 3]
Generated Node #0,3,2: 96:[9, 3] Operation: 12/4=3
Exploring Operation: 12+4=16, Resulting Numbers: [9, 16]
Generated Node #0,3,3: 96:[9, 16] Operation: 12+4=16
Exploring Operation: 12*4=48, Resulting Numbers: [9, 48]
Generated Node #0,3,4: 96:[9, 48] Operation: 12*4=48
Moving to Node #0,3,1
Current State: 96:[4, 3], Operations: ['9-5=4', '12-9=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Moving to Node #0,3,2
Current State: 96:[9, 3], Operations: ['9-5=4', '12/4=3']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Moving to Node #0,3,4
Current State: 96:[9, 48], Operations: ['9-5=4', '12*4=48']
Exploring Operation: 9*48=432, Resulting Numbers: [432]
432,96 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,96 unequal: No Solution
Moving to Node #0,3,0
Current State: 96:[9, 8], Operations: ['9-5=4', '12-4=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Moving to Node #0,3,3
Current State: 96:[9, 16], Operations: ['9-5=4', '12+4=16']
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 96:[12, 9, 4], Operations: ['9-5=4']
Exploring Operation: 12+4=16, Resulting Numbers: [9, 16]
Generated Node #0,4,0: 96:[9, 16] Operation: 12+4=16
Exploring Operation: 12-4=8, Resulting Numbers: [9, 8]
Generated Node #0,4,1: 96:[9, 8] Operation: 12-4=8
Exploring Operation: 12-9=3, Resulting Numbers: [4, 3]
Generated Node #0,4,2: 96:[4, 3] Operation: 12-9=3
Exploring Operation: 12/4=3, Resulting Numbers: [9, 3]
Generated Node #0,4,3: 96:[9, 3] Operation: 12/4=3
Exploring Operation: 12*4=48, Resulting Numbers: [9, 48]
Generated Node #0,4,4: 96:[9, 48] Operation: 12*4=48
Moving to Node #0,4,2
Current State: 96:[4, 3], Operations: ['9-5=4', '12-9=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Moving to Node #0,4,1
Current State: 96:[9, 8], Operations: ['9-5=4', '12-4=8']
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Moving to Node #0,4,4
Current State: 96:[9, 48], Operations: ['9-5=4', '12*4=48']
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,96 unequal: No Solution
Exploring Operation: 9*48=432, Resulting Numbers: [432]
432,96 unequal: No Solution
Moving to Node #0,4,0
Current State: 96:[9, 16], Operations: ['9-5=4', '12+4=16']
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,96 unequal: No Solution
Moving to Node #0,4,3
Current State: 96:[9, 3], Operations: ['9-5=4', '12/4=3']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,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:[5, 9, 3], Operations: ['12-9=3']
Exploring Operation: 9-5=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 96:[3, 4] Operation: 9-5=4
Exploring Operation: 9+3=12, Resulting Numbers: [5, 12]
Generated Node #0,0,1: 96:[5, 12] Operation: 9+3=12
Exploring Operation: 5+3=8, Resulting Numbers: [9, 8]
Generated Node #0,0,2: 96:[9, 8] Operation: 5+3=8
Exploring Operation: 9-3=6, Resulting Numbers: [5, 6]
Generated Node #0,0,3: 96:[5, 6] Operation: 9-3=6
Exploring Operation: 5-3=2, Resulting Numbers: [9, 2]
Generated Node #0,0,4: 96:[9, 2] Operation: 5-3=2
Moving to Node #0,0,0
Current State: 96:[3, 4], Operations: ['12-9=3', '9-5=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[9, 8], Operations: ['12-9=3', '5+3=8']
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Moving to Node #0,0,4
Current State: 96:[9, 2], Operations: ['12-9=3', '5-3=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[5, 12], Operations: ['12-9=3', '9+3=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[5, 6], Operations: ['12-9=3', '9-3=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,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:[5, 9, 3], Operations: ['12-9=3']
Exploring Operation: 9-3=6, Resulting Numbers: [5, 6]
Generated Node #0,1,0: 96:[5, 6] Operation: 9-3=6
Exploring Operation: 9-5=4, Resulting Numbers: [3, 4]
Generated Node #0,1,1: 96:[3, 4] Operation: 9-5=4
Exploring Operation: 5-3=2, Resulting Numbers: [9, 2]
Generated Node #0,1,2: 96:[9, 2] Operation: 5-3=2
Exploring Operation: 9+3=12, Resulting Numbers: [5, 12]
Generated Node #0,1,3: 96:[5, 12] Operation: 9+3=12
Exploring Operation: 5+3=8, Resulting Numbers: [9, 8]
Generated Node #0,1,4: 96:[9, 8] Operation: 5+3=8
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[3, 4], Operations: ['12-9=3', '9-5=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,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:[5, 6], Operations: ['12-9=3', '9-3=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 96:[9, 2], Operations: ['12-9=3', '5-3=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 96:[5, 12], Operations: ['12-9=3', '9+3=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,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,4
Current State: 96:[9, 8], Operations: ['12-9=3', '5+3=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[12, 5, 1], Operations: ['9/9=1']
Exploring Operation: 5*1=5, Resulting Numbers: [12, 5]
Generated Node #0,2,0: 96:[12, 5] Operation: 5*1=5
Exploring Operation: 5+1=6, Resulting Numbers: [12, 6]
Generated Node #0,2,1: 96:[12, 6] Operation: 5+1=6
Exploring Operation: 5-1=4, Resulting Numbers: [12, 4]
Generated Node #0,2,2: 96:[12, 4] Operation: 5-1=4
Exploring Operation: 12*1=12, Resulting Numbers: [5, 12]
Generated Node #0,2,3: 96:[5, 12] Operation: 12*1=12
Exploring Operation: 12/1=12, Resulting Numbers: [5, 12]
Generated Node #0,2,4: 96:[5, 12] Operation: 12/1=12
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 96:[12, 6], Operations: ['9/9=1', '5+1=6']
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 96:[12, 4], Operations: ['9/9=1', '5-1=4']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[12, 5], Operations: ['9/9=1', '5*1=5']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 96:[5, 12], Operations: ['9/9=1', '12*1=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 96:[5, 12], Operations: ['9/9=1', '12/1=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
17,
21,
84,
8
] | 31 | [
"17*8=136",
"21+84=105",
"136-105=31"
] | Current State: 31:[17, 21, 84, 8], Operations: []
Exploring Operation: 17*8=136, Resulting Numbers: [21, 84, 136]
Generated Node #2: [21, 84, 136] from Operation: 17*8=136
Current State: 31:[21, 84, 136], Operations: ['17*8=136']
Exploring Operation: 21+84=105, Resulting Numbers: [136, 105]
Generated Node #3: [136, 105] from Operation: 21+84=105
Current State: 31:[136, 105], Operations: ['17*8=136', '21+84=105']
Exploring Operation: 136-105=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[17, 21, 84, 8], Operations: []
Exploring Operation: 17+8=25, Resulting Numbers: [21, 84, 25]
Generated Node #0,0: 31:[21, 84, 25] Operation: 17+8=25
Exploring Operation: 84-21=63, Resulting Numbers: [17, 8, 63]
Generated Node #0,1: 31:[17, 8, 63] Operation: 84-21=63
Exploring Operation: 84-17=67, Resulting Numbers: [21, 8, 67]
Generated Node #0,2: 31:[21, 8, 67] Operation: 84-17=67
Exploring Operation: 84/21=4, Resulting Numbers: [17, 8, 4]
Generated Node #0,3: 31:[17, 8, 4] Operation: 84/21=4
Moving to Node #0,3
Current State: 31:[17, 8, 4], Operations: ['84/21=4']
Exploring Operation: 8*4=32, Resulting Numbers: [17, 32]
Generated Node #0,3,0: 31:[17, 32] Operation: 8*4=32
Exploring Operation: 8+4=12, Resulting Numbers: [17, 12]
Generated Node #0,3,1: 31:[17, 12] Operation: 8+4=12
Exploring Operation: 17+8=25, Resulting Numbers: [4, 25]
Generated Node #0,3,2: 31:[4, 25] Operation: 17+8=25
Exploring Operation: 17+4=21, Resulting Numbers: [8, 21]
Generated Node #0,3,3: 31:[8, 21] Operation: 17+4=21
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 31:[17, 32], Operations: ['84/21=4', '8*4=32']
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Exploring Operation: 17+32=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 17*32=544, Resulting Numbers: [544]
544,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 31:[17, 12], Operations: ['84/21=4', '8+4=12']
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,31 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 31:[4, 25], Operations: ['84/21=4', '17+8=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 31:[8, 21], Operations: ['84/21=4', '17+4=21']
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,31 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,31 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: 31:[17, 8, 63], Operations: ['84-21=63']
Exploring Operation: 63-8=55, Resulting Numbers: [17, 55]
Generated Node #0,1,0: 31:[17, 55] Operation: 63-8=55
Exploring Operation: 17-8=9, Resulting Numbers: [63, 9]
Generated Node #0,1,1: 31:[63, 9] Operation: 17-8=9
Exploring Operation: 63-17=46, Resulting Numbers: [8, 46]
Generated Node #0,1,2: 31:[8, 46] Operation: 63-17=46
Exploring Operation: 17+8=25, Resulting Numbers: [63, 25]
Generated Node #0,1,3: 31:[63, 25] Operation: 17+8=25
Moving to Node #0,0
Current State: 31:[21, 84, 25], Operations: ['17+8=25']
Exploring Operation: 84-21=63, Resulting Numbers: [25, 63]
Generated Node #0,0,0: 31:[25, 63] Operation: 84-21=63
Exploring Operation: 21+25=46, Resulting Numbers: [84, 46]
Generated Node #0,0,1: 31:[84, 46] Operation: 21+25=46
Exploring Operation: 84-25=59, Resulting Numbers: [21, 59]
Generated Node #0,0,2: 31:[21, 59] Operation: 84-25=59
Exploring Operation: 84/21=4, Resulting Numbers: [25, 4]
Generated Node #0,0,3: 31:[25, 4] Operation: 84/21=4
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 31:[25, 4], Operations: ['17+8=25', '84/21=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,31 unequal: No Solution
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,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,0,0
Current State: 31:[25, 63], Operations: ['17+8=25', '84-21=63']
Exploring Operation: 25*63=1575, Resulting Numbers: [1575]
1575,31 unequal: No Solution
Exploring Operation: 25+63=88, Resulting Numbers: [88]
88,31 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,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,0,2
Current State: 31:[21, 59], Operations: ['17+8=25', '84-25=59']
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 21*59=1239, Resulting Numbers: [1239]
1239,31 unequal: No Solution
Exploring Operation: 21+59=80, Resulting Numbers: [80]
80,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,0,1
Current State: 31:[84, 46], Operations: ['17+8=25', '21+25=46']
Exploring Operation: 84*46=3864, Resulting Numbers: [3864]
3864,31 unequal: No Solution
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 84+46=130, Resulting Numbers: [130]
130,31 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: 31:[21, 8, 67], Operations: ['84-17=67']
Exploring Operation: 67-8=59, Resulting Numbers: [21, 59]
Generated Node #0,2,0: 31:[21, 59] Operation: 67-8=59
Exploring Operation: 21+8=29, Resulting Numbers: [67, 29]
Generated Node #0,2,1: 31:[67, 29] Operation: 21+8=29
Exploring Operation: 67-21=46, Resulting Numbers: [8, 46]
Generated Node #0,2,2: 31:[8, 46] Operation: 67-21=46
Exploring Operation: 21-8=13, Resulting Numbers: [67, 13]
Generated Node #0,2,3: 31:[67, 13] Operation: 21-8=13
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[21, 59], Operations: ['84-17=67', '67-8=59']
Exploring Operation: 21+59=80, Resulting Numbers: [80]
80,31 unequal: No Solution
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 21*59=1239, Resulting Numbers: [1239]
1239,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,2,1
Current State: 31:[67, 29], Operations: ['84-17=67', '21+8=29']
Exploring Operation: 67*29=1943, Resulting Numbers: [1943]
1943,31 unequal: No Solution
Exploring Operation: 67-29=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 67+29=96, Resulting Numbers: [96]
96,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,2,2
Current State: 31:[8, 46], Operations: ['84-17=67', '67-21=46']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,31 unequal: No Solution
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,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,2,3
Current State: 31:[67, 13], Operations: ['84-17=67', '21-8=13']
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,31 unequal: No Solution
Exploring Operation: 67*13=871, Resulting Numbers: [871]
871,31 unequal: No Solution
Exploring Operation: 67+13=80, Resulting Numbers: [80]
80,31 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: 31:[17, 55], Operations: ['84-21=63', '63-8=55']
Exploring Operation: 17*55=935, Resulting Numbers: [935]
935,31 unequal: No Solution
Exploring Operation: 17+55=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[63, 25], Operations: ['84-21=63', '17+8=25']
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 63*25=1575, Resulting Numbers: [1575]
1575,31 unequal: No Solution
Exploring Operation: 63+25=88, Resulting Numbers: [88]
88,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[8, 46], Operations: ['84-21=63', '63-17=46']
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,31 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[63, 9], Operations: ['84-21=63', '17-8=9']
Exploring Operation: 63*9=567, Resulting Numbers: [567]
567,31 unequal: No Solution
Exploring Operation: 63+9=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,31 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
24,
19,
37,
2
] | 25 | [
"37-24=13",
"19*2=38",
"38-13=25"
] | Current State: 25:[24, 19, 37, 2], Operations: []
Exploring Operation: 37-24=13, Resulting Numbers: [19, 2, 13]
Generated Node #2: [19, 2, 13] from Operation: 37-24=13
Current State: 25:[19, 2, 13], Operations: ['37-24=13']
Exploring Operation: 19*2=38, Resulting Numbers: [13, 38]
Generated Node #3: [13, 38] from Operation: 19*2=38
Current State: 25:[13, 38], Operations: ['37-24=13', '19*2=38']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[24, 19, 37, 2], Operations: []
Exploring Operation: 24-19=5, Resulting Numbers: [37, 2, 5]
Generated Node #0,0: 25:[37, 2, 5] Operation: 24-19=5
Exploring Operation: 37-19=18, Resulting Numbers: [24, 2, 18]
Generated Node #0,1: 25:[24, 2, 18] Operation: 37-19=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[24, 2, 18], Operations: ['37-19=18']
Exploring Operation: 24-18=6, Resulting Numbers: [2, 6]
Generated Node #0,1,0: 25:[2, 6] Operation: 24-18=6
Exploring Operation: 18/2=9, Resulting Numbers: [24, 9]
Generated Node #0,1,1: 25:[24, 9] Operation: 18/2=9
Moving to Node #0,1,0
Current State: 25:[2, 6], Operations: ['37-19=18', '24-18=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[24, 9], Operations: ['37-19=18', '18/2=9']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,25 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[37, 2, 5], Operations: ['24-19=5']
Exploring Operation: 37-2=35, Resulting Numbers: [5, 35]
Generated Node #0,0,0: 25:[5, 35] Operation: 37-2=35
Exploring Operation: 37-5=32, Resulting Numbers: [2, 32]
Generated Node #0,0,1: 25:[2, 32] Operation: 37-5=32
Moving to Node #0,0,0
Current State: 25:[5, 35], Operations: ['24-19=5', '37-2=35']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[2, 32], Operations: ['24-19=5', '37-5=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
7,
25,
73,
62
] | 76 | [
"25+73=98",
"98/7=14",
"62+14=76"
] | Current State: 76:[7, 25, 73, 62], Operations: []
Exploring Operation: 25+73=98, Resulting Numbers: [7, 62, 98]
Generated Node #2: [7, 62, 98] from Operation: 25+73=98
Current State: 76:[7, 62, 98], Operations: ['25+73=98']
Exploring Operation: 98/7=14, Resulting Numbers: [62, 14]
Generated Node #3: [62, 14] from Operation: 98/7=14
Current State: 76:[62, 14], Operations: ['25+73=98', '98/7=14']
Exploring Operation: 62+14=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[7, 25, 73, 62], Operations: []
Exploring Operation: 62-25=37, Resulting Numbers: [7, 73, 37]
Generated Node #0,0: 76:[7, 73, 37] Operation: 62-25=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[7, 73, 37], Operations: ['62-25=37']
Exploring Operation: 7+73=80, Resulting Numbers: [37, 80]
Generated Node #0,0,0: 76:[37, 80] Operation: 7+73=80
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[37, 80], Operations: ['62-25=37', '7+73=80']
Exploring Operation: 80-37=43, Resulting Numbers: [43]
43,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 | mult_heuristic |
[
77,
47,
81,
56
] | 61 | [
"81-77=4",
"56/4=14",
"47+14=61"
] | Current State: 61:[77, 47, 81, 56], Operations: []
Exploring Operation: 81-77=4, Resulting Numbers: [47, 56, 4]
Generated Node #2: [47, 56, 4] from Operation: 81-77=4
Current State: 61:[47, 56, 4], Operations: ['81-77=4']
Exploring Operation: 56/4=14, Resulting Numbers: [47, 14]
Generated Node #3: [47, 14] from Operation: 56/4=14
Current State: 61:[47, 14], Operations: ['81-77=4', '56/4=14']
Exploring Operation: 47+14=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[77, 47, 81, 56], Operations: []
Exploring Operation: 81-56=25, Resulting Numbers: [77, 47, 25]
Generated Node #0,0: 61:[77, 47, 25] Operation: 81-56=25
Exploring Operation: 81-47=34, Resulting Numbers: [77, 56, 34]
Generated Node #0,1: 61:[77, 56, 34] Operation: 81-47=34
Exploring Operation: 77-47=30, Resulting Numbers: [81, 56, 30]
Generated Node #0,2: 61:[81, 56, 30] Operation: 77-47=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[77, 56, 34], Operations: ['81-47=34']
Exploring Operation: 77-34=43, Resulting Numbers: [56, 43]
Generated Node #0,1,0: 61:[56, 43] Operation: 77-34=43
Exploring Operation: 56+34=90, Resulting Numbers: [77, 90]
Generated Node #0,1,1: 61:[77, 90] Operation: 56+34=90
Exploring Operation: 77+34=111, Resulting Numbers: [56, 111]
Generated Node #0,1,2: 61:[56, 111] Operation: 77+34=111
Moving to Node #0,1,0
Current State: 61:[56, 43], Operations: ['81-47=34', '77-34=43']
Exploring Operation: 56-43=13, Resulting Numbers: [13]
13,61 unequal: No Solution
Exploring Operation: 56*43=2408, Resulting Numbers: [2408]
2408,61 unequal: No Solution
Exploring Operation: 56+43=99, Resulting Numbers: [99]
99,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[77, 90], Operations: ['81-47=34', '56+34=90']
Exploring Operation: 77*90=6930, Resulting Numbers: [6930]
6930,61 unequal: No Solution
Exploring Operation: 90-77=13, Resulting Numbers: [13]
13,61 unequal: No Solution
Exploring Operation: 77+90=167, Resulting Numbers: [167]
167,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[56, 111], Operations: ['81-47=34', '77+34=111']
Exploring Operation: 111-56=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 56+111=167, Resulting Numbers: [167]
167,61 unequal: No Solution
Exploring Operation: 56*111=6216, Resulting Numbers: [6216]
6216,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[81, 56, 30], Operations: ['77-47=30']
Exploring Operation: 81+30=111, Resulting Numbers: [56, 111]
Generated Node #0,2,0: 61:[56, 111] Operation: 81+30=111
Exploring Operation: 56+30=86, Resulting Numbers: [81, 86]
Generated Node #0,2,1: 61:[81, 86] Operation: 56+30=86
Exploring Operation: 81-30=51, Resulting Numbers: [56, 51]
Generated Node #0,2,2: 61:[56, 51] Operation: 81-30=51
Moving to Node #0,2,2
Current State: 61:[56, 51], Operations: ['77-47=30', '81-30=51']
Exploring Operation: 56+51=107, Resulting Numbers: [107]
107,61 unequal: No Solution
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 56*51=2856, Resulting Numbers: [2856]
2856,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[81, 86], Operations: ['77-47=30', '56+30=86']
Exploring Operation: 81+86=167, Resulting Numbers: [167]
167,61 unequal: No Solution
Exploring Operation: 81*86=6966, Resulting Numbers: [6966]
6966,61 unequal: No Solution
Exploring Operation: 86-81=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[56, 111], Operations: ['77-47=30', '81+30=111']
Exploring Operation: 56*111=6216, Resulting Numbers: [6216]
6216,61 unequal: No Solution
Exploring Operation: 111-56=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 56+111=167, Resulting Numbers: [167]
167,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[77, 47, 25], Operations: ['81-56=25']
Exploring Operation: 77+25=102, Resulting Numbers: [47, 102]
Generated Node #0,0,0: 61:[47, 102] Operation: 77+25=102
Exploring Operation: 77-25=52, Resulting Numbers: [47, 52]
Generated Node #0,0,1: 61:[47, 52] Operation: 77-25=52
Exploring Operation: 47+25=72, Resulting Numbers: [77, 72]
Generated Node #0,0,2: 61:[77, 72] Operation: 47+25=72
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[47, 52], Operations: ['81-56=25', '77-25=52']
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 47+52=99, Resulting Numbers: [99]
99,61 unequal: No Solution
Exploring Operation: 47*52=2444, Resulting Numbers: [2444]
2444,61 unequal: No Solution
No 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: 61:[77, 72], Operations: ['81-56=25', '47+25=72']
Exploring Operation: 77*72=5544, Resulting Numbers: [5544]
5544,61 unequal: No Solution
Exploring Operation: 77+72=149, Resulting Numbers: [149]
149,61 unequal: No Solution
Exploring Operation: 77-72=5, Resulting Numbers: [5]
5,61 unequal: No Solution
No 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: 61:[47, 102], Operations: ['81-56=25', '77+25=102']
Exploring Operation: 47+102=149, Resulting Numbers: [149]
149,61 unequal: No Solution
Exploring Operation: 102-47=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 47*102=4794, Resulting Numbers: [4794]
4794,61 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 |
[
2,
34,
36,
96
] | 44 | [
"36/2=18",
"96-34=62",
"62-18=44"
] | Current State: 44:[2, 34, 36, 96], Operations: []
Exploring Operation: 36/2=18, Resulting Numbers: [34, 96, 18]
Generated Node #2: [34, 96, 18] from Operation: 36/2=18
Current State: 44:[34, 96, 18], Operations: ['36/2=18']
Exploring Operation: 96-34=62, Resulting Numbers: [18, 62]
Generated Node #3: [18, 62] from Operation: 96-34=62
Current State: 44:[18, 62], Operations: ['36/2=18', '96-34=62']
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[2, 34, 36, 96], Operations: []
Exploring Operation: 96/2=48, Resulting Numbers: [34, 36, 48]
Generated Node #0,0: 44:[34, 36, 48] Operation: 96/2=48
Moving to Node #0,0
Current State: 44:[34, 36, 48], Operations: ['96/2=48']
Exploring Operation: 36-34=2, Resulting Numbers: [48, 2]
Generated Node #0,0,0: 44:[48, 2] Operation: 36-34=2
Moving to Node #0,0,0
Current State: 44:[48, 2], Operations: ['96/2=48', '36-34=2']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,44 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
46,
23,
70,
50
] | 85 | [
"46/23=2",
"70/2=35",
"50+35=85"
] | Current State: 85:[46, 23, 70, 50], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [70, 50, 2]
Generated Node #2: [70, 50, 2] from Operation: 46/23=2
Current State: 85:[70, 50, 2], Operations: ['46/23=2']
Exploring Operation: 70/2=35, Resulting Numbers: [50, 35]
Generated Node #3: [50, 35] from Operation: 70/2=35
Current State: 85:[50, 35], Operations: ['46/23=2', '70/2=35']
Exploring Operation: 50+35=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[46, 23, 70, 50], Operations: []
Exploring Operation: 50-46=4, Resulting Numbers: [23, 70, 4]
Generated Node #0,0: 85:[23, 70, 4] Operation: 50-46=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[23, 70, 4], Operations: ['50-46=4']
Exploring Operation: 23+70=93, Resulting Numbers: [4, 93]
Generated Node #0,0,0: 85:[4, 93] Operation: 23+70=93
Moving to Node #0,0,0
Current State: 85:[4, 93], Operations: ['50-46=4', '23+70=93']
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,85 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 |
[
28,
54,
78,
78
] | 83 | [
"28+54=82",
"78/78=1",
"82+1=83"
] | Current State: 83:[28, 54, 78, 78], Operations: []
Exploring Operation: 28+54=82, Resulting Numbers: [78, 78, 82]
Generated Node #2: [78, 78, 82] from Operation: 28+54=82
Current State: 83:[78, 78, 82], Operations: ['28+54=82']
Exploring Operation: 78/78=1, Resulting Numbers: [82, 1]
Generated Node #3: [82, 1] from Operation: 78/78=1
Current State: 83:[82, 1], Operations: ['28+54=82', '78/78=1']
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[28, 54, 78, 78], Operations: []
Exploring Operation: 54-28=26, Resulting Numbers: [78, 78, 26]
Generated Node #0,0: 83:[78, 78, 26] Operation: 54-28=26
Exploring Operation: 28+78=106, Resulting Numbers: [54, 78, 106]
Generated Node #0,1: 83:[54, 78, 106] Operation: 28+78=106
Exploring Operation: 28+78=106, Resulting Numbers: [54, 78, 106]
Generated Node #0,2: 83:[54, 78, 106] Operation: 28+78=106
Exploring Operation: 28+54=82, Resulting Numbers: [78, 78, 82]
Generated Node #0,3: 83:[78, 78, 82] Operation: 28+54=82
Exploring Operation: 78-28=50, Resulting Numbers: [54, 78, 50]
Generated Node #0,4: 83:[54, 78, 50] Operation: 78-28=50
Moving to Node #0,3
Current State: 83:[78, 78, 82], Operations: ['28+54=82']
Exploring Operation: 78+82=160, Resulting Numbers: [78, 160]
Generated Node #0,3,0: 83:[78, 160] Operation: 78+82=160
Exploring Operation: 78-78=0, Resulting Numbers: [82, 0]
Generated Node #0,3,1: 83:[82, 0] Operation: 78-78=0
Exploring Operation: 78/78=1, Resulting Numbers: [82, 1]
Generated Node #0,3,2: 83:[82, 1] Operation: 78/78=1
Exploring Operation: 78+82=160, Resulting Numbers: [78, 160]
Generated Node #0,3,3: 83:[78, 160] Operation: 78+82=160
Exploring Operation: 78+78=156, Resulting Numbers: [82, 156]
Generated Node #0,3,4: 83:[82, 156] Operation: 78+78=156
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 83:[82, 156], Operations: ['28+54=82', '78+78=156']
Exploring Operation: 82+156=238, Resulting Numbers: [238]
238,83 unequal: No Solution
Exploring Operation: 156-82=74, Resulting Numbers: [74]
74,83 unequal: No Solution
Exploring Operation: 82*156=12792, Resulting Numbers: [12792]
12792,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,3,0
Current State: 83:[78, 160], Operations: ['28+54=82', '78+82=160']
Exploring Operation: 78+160=238, Resulting Numbers: [238]
238,83 unequal: No Solution
Exploring Operation: 78*160=12480, Resulting Numbers: [12480]
12480,83 unequal: No Solution
Exploring Operation: 160-78=82, Resulting Numbers: [82]
82,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,3,3
Current State: 83:[78, 160], Operations: ['28+54=82', '78+82=160']
Exploring Operation: 160-78=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 78+160=238, Resulting Numbers: [238]
238,83 unequal: No Solution
Exploring Operation: 78*160=12480, Resulting Numbers: [12480]
12480,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,3,2
Current State: 83:[82, 1], Operations: ['28+54=82', '78/78=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,83 unequal: No Solution
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[28, 54, 78, 78], Operations: []
Exploring Operation: 28+54=82, Resulting Numbers: [78, 78, 82]
Generated Node #0,3: 83:[78, 78, 82] Operation: 28+54=82
Moving to Node #0,3
Current State: 83:[78, 78, 82], Operations: ['28+54=82']
Exploring Operation: 78/78=1, Resulting Numbers: [82, 1]
Generated Node #0,3,2: 83:[82, 1] Operation: 78/78=1
Moving to Node #0,3,2
Current State: 83:[82, 1], Operations: ['28+54=82', '78/78=1']
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
50,
29,
91,
27
] | 97 | [
"50-29=21",
"91+27=118",
"118-21=97"
] | Current State: 97:[50, 29, 91, 27], Operations: []
Exploring Operation: 50-29=21, Resulting Numbers: [91, 27, 21]
Generated Node #2: [91, 27, 21] from Operation: 50-29=21
Current State: 97:[91, 27, 21], Operations: ['50-29=21']
Exploring Operation: 91+27=118, Resulting Numbers: [21, 118]
Generated Node #3: [21, 118] from Operation: 91+27=118
Current State: 97:[21, 118], Operations: ['50-29=21', '91+27=118']
Exploring Operation: 118-21=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[50, 29, 91, 27], Operations: []
Exploring Operation: 50+27=77, Resulting Numbers: [29, 91, 77]
Generated Node #0,0: 97:[29, 91, 77] Operation: 50+27=77
Exploring Operation: 91+27=118, Resulting Numbers: [50, 29, 118]
Generated Node #0,1: 97:[50, 29, 118] Operation: 91+27=118
Exploring Operation: 50+29=79, Resulting Numbers: [91, 27, 79]
Generated Node #0,2: 97:[91, 27, 79] Operation: 50+29=79
Exploring Operation: 29+27=56, Resulting Numbers: [50, 91, 56]
Generated Node #0,3: 97:[50, 91, 56] Operation: 29+27=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[29, 91, 77], Operations: ['50+27=77']
Exploring Operation: 77-29=48, Resulting Numbers: [91, 48]
Generated Node #0,0,0: 97:[91, 48] Operation: 77-29=48
Exploring Operation: 91-29=62, Resulting Numbers: [77, 62]
Generated Node #0,0,1: 97:[77, 62] Operation: 91-29=62
Exploring Operation: 29+77=106, Resulting Numbers: [91, 106]
Generated Node #0,0,2: 97:[91, 106] Operation: 29+77=106
Exploring Operation: 29+91=120, Resulting Numbers: [77, 120]
Generated Node #0,0,3: 97:[77, 120] Operation: 29+91=120
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 97:[91, 106], Operations: ['50+27=77', '29+77=106']
Exploring Operation: 91*106=9646, Resulting Numbers: [9646]
9646,97 unequal: No Solution
Exploring Operation: 106-91=15, Resulting Numbers: [15]
15,97 unequal: No Solution
Exploring Operation: 91+106=197, Resulting Numbers: [197]
197,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 97:[77, 120], Operations: ['50+27=77', '29+91=120']
Exploring Operation: 120-77=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Exploring Operation: 77+120=197, Resulting Numbers: [197]
197,97 unequal: No Solution
Exploring Operation: 77*120=9240, Resulting Numbers: [9240]
9240,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[91, 48], Operations: ['50+27=77', '77-29=48']
Exploring Operation: 91-48=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Exploring Operation: 91*48=4368, Resulting Numbers: [4368]
4368,97 unequal: No Solution
Exploring Operation: 91+48=139, Resulting Numbers: [139]
139,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[77, 62], Operations: ['50+27=77', '91-29=62']
Exploring Operation: 77+62=139, Resulting Numbers: [139]
139,97 unequal: No Solution
Exploring Operation: 77*62=4774, Resulting Numbers: [4774]
4774,97 unequal: No Solution
Exploring Operation: 77-62=15, Resulting Numbers: [15]
15,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[91, 27, 79], Operations: ['50+29=79']
Exploring Operation: 91-27=64, Resulting Numbers: [79, 64]
Generated Node #0,2,0: 97:[79, 64] Operation: 91-27=64
Exploring Operation: 27+79=106, Resulting Numbers: [91, 106]
Generated Node #0,2,1: 97:[91, 106] Operation: 27+79=106
Exploring Operation: 91+27=118, Resulting Numbers: [79, 118]
Generated Node #0,2,2: 97:[79, 118] Operation: 91+27=118
Exploring Operation: 79-27=52, Resulting Numbers: [91, 52]
Generated Node #0,2,3: 97:[91, 52] Operation: 79-27=52
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 97:[91, 106], Operations: ['50+29=79', '27+79=106']
Exploring Operation: 91*106=9646, Resulting Numbers: [9646]
9646,97 unequal: No Solution
Exploring Operation: 91+106=197, Resulting Numbers: [197]
197,97 unequal: No Solution
Exploring Operation: 106-91=15, Resulting Numbers: [15]
15,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 97:[79, 118], Operations: ['50+29=79', '91+27=118']
Exploring Operation: 79*118=9322, Resulting Numbers: [9322]
9322,97 unequal: No Solution
Exploring Operation: 79+118=197, Resulting Numbers: [197]
197,97 unequal: No Solution
Exploring Operation: 118-79=39, Resulting Numbers: [39]
39,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 97:[79, 64], Operations: ['50+29=79', '91-27=64']
Exploring Operation: 79-64=15, Resulting Numbers: [15]
15,97 unequal: No Solution
Exploring Operation: 79*64=5056, Resulting Numbers: [5056]
5056,97 unequal: No Solution
Exploring Operation: 79+64=143, Resulting Numbers: [143]
143,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 97:[91, 52], Operations: ['50+29=79', '79-27=52']
Exploring Operation: 91-52=39, Resulting Numbers: [39]
39,97 unequal: No Solution
Exploring Operation: 91+52=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Exploring Operation: 91*52=4732, Resulting Numbers: [4732]
4732,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 97:[50, 91, 56], Operations: ['29+27=56']
Exploring Operation: 56-50=6, Resulting Numbers: [91, 6]
Generated Node #0,3,0: 97:[91, 6] Operation: 56-50=6
Exploring Operation: 50+56=106, Resulting Numbers: [91, 106]
Generated Node #0,3,1: 97:[91, 106] Operation: 50+56=106
Exploring Operation: 50+91=141, Resulting Numbers: [56, 141]
Generated Node #0,3,2: 97:[56, 141] Operation: 50+91=141
Exploring Operation: 91-50=41, Resulting Numbers: [56, 41]
Generated Node #0,3,3: 97:[56, 41] Operation: 91-50=41
Moving to Node #0,3,1
Current State: 97:[91, 106], Operations: ['29+27=56', '50+56=106']
Exploring Operation: 106-91=15, Resulting Numbers: [15]
15,97 unequal: No Solution
Exploring Operation: 91+106=197, Resulting Numbers: [197]
197,97 unequal: No Solution
Exploring Operation: 91*106=9646, Resulting Numbers: [9646]
9646,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[56, 141], Operations: ['29+27=56', '50+91=141']
Exploring Operation: 141-56=85, Resulting Numbers: [85]
85,97 unequal: No Solution
Exploring Operation: 56*141=7896, Resulting Numbers: [7896]
7896,97 unequal: No Solution
Exploring Operation: 56+141=197, Resulting Numbers: [197]
197,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[56, 41], Operations: ['29+27=56', '91-50=41']
Exploring Operation: 56+41=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[50, 29, 91, 27], Operations: []
Exploring Operation: 29+27=56, Resulting Numbers: [50, 91, 56]
Generated Node #0,3: 97:[50, 91, 56] Operation: 29+27=56
Moving to Node #0,3
Current State: 97:[50, 91, 56], Operations: ['29+27=56']
Exploring Operation: 91-50=41, Resulting Numbers: [56, 41]
Generated Node #0,3,3: 97:[56, 41] Operation: 91-50=41
Moving to Node #0,3,3
Current State: 97:[56, 41], Operations: ['29+27=56', '91-50=41']
Exploring Operation: 56+41=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729 | hs_4 | sum_heuristic |
[
47,
9,
82,
71
] | 94 | [
"82-9=73",
"73-71=2",
"47*2=94"
] | Current State: 94:[47, 9, 82, 71], Operations: []
Exploring Operation: 82-9=73, Resulting Numbers: [47, 71, 73]
Generated Node #2: [47, 71, 73] from Operation: 82-9=73
Current State: 94:[47, 71, 73], Operations: ['82-9=73']
Exploring Operation: 73-71=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 73-71=2
Current State: 94:[47, 2], Operations: ['82-9=73', '73-71=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[47, 9, 82, 71], Operations: []
Exploring Operation: 9+71=80, Resulting Numbers: [47, 82, 80]
Generated Node #0,0: 94:[47, 82, 80] Operation: 9+71=80
Exploring Operation: 82-71=11, Resulting Numbers: [47, 9, 11]
Generated Node #0,1: 94:[47, 9, 11] Operation: 82-71=11
Exploring Operation: 71-9=62, Resulting Numbers: [47, 82, 62]
Generated Node #0,2: 94:[47, 82, 62] Operation: 71-9=62
Exploring Operation: 9+82=91, Resulting Numbers: [47, 71, 91]
Generated Node #0,3: 94:[47, 71, 91] Operation: 9+82=91
Moving to Node #0,1
Current State: 94:[47, 9, 11], Operations: ['82-71=11']
Exploring Operation: 9*11=99, Resulting Numbers: [47, 99]
Generated Node #0,1,0: 94:[47, 99] Operation: 9*11=99
Exploring Operation: 47-9=38, Resulting Numbers: [11, 38]
Generated Node #0,1,1: 94:[11, 38] Operation: 47-9=38
Exploring Operation: 47+9=56, Resulting Numbers: [11, 56]
Generated Node #0,1,2: 94:[11, 56] Operation: 47+9=56
Exploring Operation: 11-9=2, Resulting Numbers: [47, 2]
Generated Node #0,1,3: 94:[47, 2] Operation: 11-9=2
Moving to Node #0,3
Current State: 94:[47, 71, 91], Operations: ['9+82=91']
Exploring Operation: 91-71=20, Resulting Numbers: [47, 20]
Generated Node #0,3,0: 94:[47, 20] Operation: 91-71=20
Exploring Operation: 91-47=44, Resulting Numbers: [71, 44]
Generated Node #0,3,1: 94:[71, 44] Operation: 91-47=44
Exploring Operation: 71-47=24, Resulting Numbers: [91, 24]
Generated Node #0,3,2: 94:[91, 24] Operation: 71-47=24
Exploring Operation: 47+71=118, Resulting Numbers: [91, 118]
Generated Node #0,3,3: 94:[91, 118] Operation: 47+71=118
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 94:[47, 20], Operations: ['9+82=91', '91-71=20']
Exploring Operation: 47*20=940, Resulting Numbers: [940]
940,94 unequal: No Solution
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,94 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 94:[91, 24], Operations: ['9+82=91', '71-47=24']
Exploring Operation: 91*24=2184, Resulting Numbers: [2184]
2184,94 unequal: No Solution
Exploring Operation: 91+24=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Exploring Operation: 91-24=67, Resulting Numbers: [67]
67,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 94:[71, 44], Operations: ['9+82=91', '91-47=44']
Exploring Operation: 71+44=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Exploring Operation: 71*44=3124, Resulting Numbers: [3124]
3124,94 unequal: No Solution
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 94:[91, 118], Operations: ['9+82=91', '47+71=118']
Exploring Operation: 91+118=209, Resulting Numbers: [209]
209,94 unequal: No Solution
Exploring Operation: 91*118=10738, Resulting Numbers: [10738]
10738,94 unequal: No Solution
Exploring Operation: 118-91=27, Resulting Numbers: [27]
27,94 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: 94:[47, 82, 80], Operations: ['9+71=80']
Exploring Operation: 82-80=2, Resulting Numbers: [47, 2]
Generated Node #0,0,0: 94:[47, 2] Operation: 82-80=2
Exploring Operation: 80-47=33, Resulting Numbers: [82, 33]
Generated Node #0,0,1: 94:[82, 33] Operation: 80-47=33
Exploring Operation: 47+80=127, Resulting Numbers: [82, 127]
Generated Node #0,0,2: 94:[82, 127] Operation: 47+80=127
Exploring Operation: 82-47=35, Resulting Numbers: [80, 35]
Generated Node #0,0,3: 94:[80, 35] Operation: 82-47=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[47, 2], Operations: ['9+71=80', '82-80=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[47, 9, 82, 71], Operations: []
Exploring Operation: 9+71=80, Resulting Numbers: [47, 82, 80]
Generated Node #0,0: 94:[47, 82, 80] Operation: 9+71=80
Moving to Node #0,0
Current State: 94:[47, 82, 80], Operations: ['9+71=80']
Exploring Operation: 82-80=2, Resulting Numbers: [47, 2]
Generated Node #0,0,0: 94:[47, 2] Operation: 82-80=2
Moving to Node #0,0,0
Current State: 94:[47, 2], Operations: ['9+71=80', '82-80=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
99,
84,
46,
97
] | 61 | [
"99-97=2",
"46/2=23",
"84-23=61"
] | Current State: 61:[99, 84, 46, 97], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [84, 46, 2]
Generated Node #2: [84, 46, 2] from Operation: 99-97=2
Current State: 61:[84, 46, 2], Operations: ['99-97=2']
Exploring Operation: 46/2=23, Resulting Numbers: [84, 23]
Generated Node #3: [84, 23] from Operation: 46/2=23
Current State: 61:[84, 23], Operations: ['99-97=2', '46/2=23']
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[99, 84, 46, 97], Operations: []
Exploring Operation: 97-46=51, Resulting Numbers: [99, 84, 51]
Generated Node #0,0: 61:[99, 84, 51] Operation: 97-46=51
Exploring Operation: 99-46=53, Resulting Numbers: [84, 97, 53]
Generated Node #0,1: 61:[84, 97, 53] Operation: 99-46=53
Moving to Node #0,1
Current State: 61:[84, 97, 53], Operations: ['99-46=53']
Exploring Operation: 97-84=13, Resulting Numbers: [53, 13]
Generated Node #0,1,0: 61:[53, 13] Operation: 97-84=13
Exploring Operation: 97-53=44, Resulting Numbers: [84, 44]
Generated Node #0,1,1: 61:[84, 44] Operation: 97-53=44
Moving to Node #0,0
Current State: 61:[99, 84, 51], Operations: ['97-46=51']
Exploring Operation: 99-84=15, Resulting Numbers: [51, 15]
Generated Node #0,0,0: 61:[51, 15] Operation: 99-84=15
Exploring Operation: 99-51=48, Resulting Numbers: [84, 48]
Generated Node #0,0,1: 61:[84, 48] Operation: 99-51=48
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[84, 48], Operations: ['97-46=51', '99-51=48']
Exploring Operation: 84-48=36, Resulting Numbers: [36]
36,61 unequal: No Solution
Exploring Operation: 84+48=132, Resulting Numbers: [132]
132,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[51, 15], Operations: ['97-46=51', '99-84=15']
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,61 unequal: No Solution
Exploring Operation: 51+15=66, Resulting Numbers: [66]
66,61 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: 61:[84, 44], Operations: ['99-46=53', '97-53=44']
Exploring Operation: 84-44=40, Resulting Numbers: [40]
40,61 unequal: No Solution
Exploring Operation: 84+44=128, Resulting Numbers: [128]
128,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[53, 13], Operations: ['99-46=53', '97-84=13']
Exploring Operation: 53-13=40, Resulting Numbers: [40]
40,61 unequal: No Solution
Exploring Operation: 53+13=66, Resulting Numbers: [66]
66,61 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
31,
19,
28,
34
] | 50 | [
"31-19=12",
"28+34=62",
"62-12=50"
] | Current State: 50:[31, 19, 28, 34], Operations: []
Exploring Operation: 31-19=12, Resulting Numbers: [28, 34, 12]
Generated Node #2: [28, 34, 12] from Operation: 31-19=12
Current State: 50:[28, 34, 12], Operations: ['31-19=12']
Exploring Operation: 28+34=62, Resulting Numbers: [12, 62]
Generated Node #3: [12, 62] from Operation: 28+34=62
Current State: 50:[12, 62], Operations: ['31-19=12', '28+34=62']
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[31, 19, 28, 34], Operations: []
Exploring Operation: 31-19=12, Resulting Numbers: [28, 34, 12]
Generated Node #0,0: 50:[28, 34, 12] Operation: 31-19=12
Exploring Operation: 34-28=6, Resulting Numbers: [31, 19, 6]
Generated Node #0,1: 50:[31, 19, 6] Operation: 34-28=6
Exploring Operation: 19+34=53, Resulting Numbers: [31, 28, 53]
Generated Node #0,2: 50:[31, 28, 53] Operation: 19+34=53
Exploring Operation: 31+19=50, Resulting Numbers: [28, 34, 50]
Generated Node #0,3: 50:[28, 34, 50] Operation: 31+19=50
Exploring Operation: 34-31=3, Resulting Numbers: [19, 28, 3]
Generated Node #0,4: 50:[19, 28, 3] Operation: 34-31=3
Start Sub Search at level 1: Moving to Node #0,4
Current State: 50:[19, 28, 3], Operations: ['34-31=3']
Exploring Operation: 28-19=9, Resulting Numbers: [3, 9]
Generated Node #0,4,0: 50:[3, 9] Operation: 28-19=9
Exploring Operation: 19+3=22, Resulting Numbers: [28, 22]
Generated Node #0,4,1: 50:[28, 22] Operation: 19+3=22
Exploring Operation: 19+28=47, Resulting Numbers: [3, 47]
Generated Node #0,4,2: 50:[3, 47] Operation: 19+28=47
Exploring Operation: 19-3=16, Resulting Numbers: [28, 16]
Generated Node #0,4,3: 50:[28, 16] Operation: 19-3=16
Exploring Operation: 28-3=25, Resulting Numbers: [19, 25]
Generated Node #0,4,4: 50:[19, 25] Operation: 28-3=25
Moving to Node #0,4,0
Current State: 50:[3, 9], Operations: ['34-31=3', '28-19=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Moving to Node #0,4,2
Current State: 50:[3, 47], Operations: ['34-31=3', '19+28=47']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,50 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[31, 19, 28, 34], Operations: []
Exploring Operation: 34-31=3, Resulting Numbers: [19, 28, 3]
Generated Node #0,4: 50:[19, 28, 3] Operation: 34-31=3
Moving to Node #0,4
Current State: 50:[19, 28, 3], Operations: ['34-31=3']
Exploring Operation: 19+28=47, Resulting Numbers: [3, 47]
Generated Node #0,4,2: 50:[3, 47] Operation: 19+28=47
Moving to Node #0,4,2
Current State: 50:[3, 47], Operations: ['34-31=3', '19+28=47']
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
9,
26,
4,
42
] | 98 | [
"9+26=35",
"4*35=140",
"140-42=98"
] | Current State: 98:[9, 26, 4, 42], Operations: []
Exploring Operation: 9+26=35, Resulting Numbers: [4, 42, 35]
Generated Node #2: [4, 42, 35] from Operation: 9+26=35
Current State: 98:[4, 42, 35], Operations: ['9+26=35']
Exploring Operation: 4*35=140, Resulting Numbers: [42, 140]
Generated Node #3: [42, 140] from Operation: 4*35=140
Current State: 98:[42, 140], Operations: ['9+26=35', '4*35=140']
Exploring Operation: 140-42=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[9, 26, 4, 42], Operations: []
Exploring Operation: 42-26=16, Resulting Numbers: [9, 4, 16]
Generated Node #0,0: 98:[9, 4, 16] Operation: 42-26=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[9, 4, 16], Operations: ['42-26=16']
Exploring Operation: 16-9=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 98:[4, 7] Operation: 16-9=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[4, 7], Operations: ['42-26=16', '16-9=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
45,
57,
72,
46
] | 49 | [
"72-57=15",
"45/15=3",
"46+3=49"
] | Current State: 49:[45, 57, 72, 46], Operations: []
Exploring Operation: 72-57=15, Resulting Numbers: [45, 46, 15]
Generated Node #2: [45, 46, 15] from Operation: 72-57=15
Current State: 49:[45, 46, 15], Operations: ['72-57=15']
Exploring Operation: 45/15=3, Resulting Numbers: [46, 3]
Generated Node #3: [46, 3] from Operation: 45/15=3
Current State: 49:[46, 3], Operations: ['72-57=15', '45/15=3']
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[45, 57, 72, 46], Operations: []
Exploring Operation: 72-57=15, Resulting Numbers: [45, 46, 15]
Generated Node #0,0: 49:[45, 46, 15] Operation: 72-57=15
Exploring Operation: 72-46=26, Resulting Numbers: [45, 57, 26]
Generated Node #0,1: 49:[45, 57, 26] Operation: 72-46=26
Exploring Operation: 72-45=27, Resulting Numbers: [57, 46, 27]
Generated Node #0,2: 49:[57, 46, 27] Operation: 72-45=27
Exploring Operation: 57-45=12, Resulting Numbers: [72, 46, 12]
Generated Node #0,3: 49:[72, 46, 12] Operation: 57-45=12
Exploring Operation: 57-46=11, Resulting Numbers: [45, 72, 11]
Generated Node #0,4: 49:[45, 72, 11] Operation: 57-46=11
Moving to Node #0,0
Current State: 49:[45, 46, 15], Operations: ['72-57=15']
Exploring Operation: 46+15=61, Resulting Numbers: [45, 61]
Generated Node #0,0,0: 49:[45, 61] Operation: 46+15=61
Exploring Operation: 45+15=60, Resulting Numbers: [46, 60]
Generated Node #0,0,1: 49:[46, 60] Operation: 45+15=60
Exploring Operation: 45-15=30, Resulting Numbers: [46, 30]
Generated Node #0,0,2: 49:[46, 30] Operation: 45-15=30
Exploring Operation: 46-45=1, Resulting Numbers: [15, 1]
Generated Node #0,0,3: 49:[15, 1] Operation: 46-45=1
Exploring Operation: 45/15=3, Resulting Numbers: [46, 3]
Generated Node #0,0,4: 49:[46, 3] Operation: 45/15=3
Moving to Node #0,2
Current State: 49:[57, 46, 27], Operations: ['72-45=27']
Exploring Operation: 57+27=84, Resulting Numbers: [46, 84]
Generated Node #0,2,0: 49:[46, 84] Operation: 57+27=84
Exploring Operation: 46+27=73, Resulting Numbers: [57, 73]
Generated Node #0,2,1: 49:[57, 73] Operation: 46+27=73
Exploring Operation: 57-46=11, Resulting Numbers: [27, 11]
Generated Node #0,2,2: 49:[27, 11] Operation: 57-46=11
Exploring Operation: 57-27=30, Resulting Numbers: [46, 30]
Generated Node #0,2,3: 49:[46, 30] Operation: 57-27=30
Exploring Operation: 46-27=19, Resulting Numbers: [57, 19]
Generated Node #0,2,4: 49:[57, 19] Operation: 46-27=19
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 49:[57, 19], Operations: ['72-45=27', '46-27=19']
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 57+19=76, Resulting Numbers: [76]
76,49 unequal: No Solution
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 57*19=1083, Resulting Numbers: [1083]
1083,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 49:[46, 30], Operations: ['72-45=27', '57-27=30']
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,49 unequal: No Solution
Exploring Operation: 46*30=1380, Resulting Numbers: [1380]
1380,49 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[27, 11], Operations: ['72-45=27', '57-46=11']
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,49 unequal: No Solution
Exploring Operation: 27*11=297, Resulting Numbers: [297]
297,49 unequal: No Solution
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[57, 73], Operations: ['72-45=27', '46+27=73']
Exploring Operation: 57*73=4161, Resulting Numbers: [4161]
4161,49 unequal: No Solution
Exploring Operation: 57+73=130, Resulting Numbers: [130]
130,49 unequal: No Solution
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[46, 84], Operations: ['72-45=27', '57+27=84']
Exploring Operation: 46*84=3864, Resulting Numbers: [3864]
3864,49 unequal: No Solution
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 46+84=130, Resulting Numbers: [130]
130,49 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: 49:[45, 72, 11], Operations: ['57-46=11']
Exploring Operation: 45-11=34, Resulting Numbers: [72, 34]
Generated Node #0,4,0: 49:[72, 34] Operation: 45-11=34
Exploring Operation: 45+11=56, Resulting Numbers: [72, 56]
Generated Node #0,4,1: 49:[72, 56] Operation: 45+11=56
Exploring Operation: 72-45=27, Resulting Numbers: [11, 27]
Generated Node #0,4,2: 49:[11, 27] Operation: 72-45=27
Exploring Operation: 72+11=83, Resulting Numbers: [45, 83]
Generated Node #0,4,3: 49:[45, 83] Operation: 72+11=83
Exploring Operation: 72-11=61, Resulting Numbers: [45, 61]
Generated Node #0,4,4: 49:[45, 61] Operation: 72-11=61
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 49:[45, 61], Operations: ['57-46=11', '72-11=61']
Exploring Operation: 45*61=2745, Resulting Numbers: [2745]
2745,49 unequal: No Solution
Exploring Operation: 45+61=106, Resulting Numbers: [106]
106,49 unequal: No Solution
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 49:[11, 27], Operations: ['57-46=11', '72-45=27']
Exploring Operation: 11*27=297, Resulting Numbers: [297]
297,49 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,49 unequal: No Solution
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 49:[72, 56], Operations: ['57-46=11', '45+11=56']
Exploring Operation: 72+56=128, Resulting Numbers: [128]
128,49 unequal: No Solution
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,49 unequal: No Solution
Exploring Operation: 72*56=4032, Resulting Numbers: [4032]
4032,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 49:[72, 34], Operations: ['57-46=11', '45-11=34']
Exploring Operation: 72+34=106, Resulting Numbers: [106]
106,49 unequal: No Solution
Exploring Operation: 72*34=2448, Resulting Numbers: [2448]
2448,49 unequal: No Solution
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 49:[45, 83], Operations: ['57-46=11', '72+11=83']
Exploring Operation: 45+83=128, Resulting Numbers: [128]
128,49 unequal: No Solution
Exploring Operation: 45*83=3735, Resulting Numbers: [3735]
3735,49 unequal: No Solution
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,49 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: 49:[45, 57, 26], Operations: ['72-46=26']
Exploring Operation: 45-26=19, Resulting Numbers: [57, 19]
Generated Node #0,1,0: 49:[57, 19] Operation: 45-26=19
Exploring Operation: 57-26=31, Resulting Numbers: [45, 31]
Generated Node #0,1,1: 49:[45, 31] Operation: 57-26=31
Exploring Operation: 57-45=12, Resulting Numbers: [26, 12]
Generated Node #0,1,2: 49:[26, 12] Operation: 57-45=12
Exploring Operation: 57+26=83, Resulting Numbers: [45, 83]
Generated Node #0,1,3: 49:[45, 83] Operation: 57+26=83
Exploring Operation: 45+26=71, Resulting Numbers: [57, 71]
Generated Node #0,1,4: 49:[57, 71] Operation: 45+26=71
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[57, 19], Operations: ['72-46=26', '45-26=19']
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 57*19=1083, Resulting Numbers: [1083]
1083,49 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 57+19=76, Resulting Numbers: [76]
76,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[45, 31], Operations: ['72-46=26', '57-26=31']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,49 unequal: No Solution
Exploring Operation: 45*31=1395, Resulting Numbers: [1395]
1395,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[26, 12], Operations: ['72-46=26', '57-45=12']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 49:[57, 71], Operations: ['72-46=26', '45+26=71']
Exploring Operation: 57+71=128, Resulting Numbers: [128]
128,49 unequal: No Solution
Exploring Operation: 71-57=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 57*71=4047, Resulting Numbers: [4047]
4047,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 49:[45, 83], Operations: ['72-46=26', '57+26=83']
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 45*83=3735, Resulting Numbers: [3735]
3735,49 unequal: No Solution
Exploring Operation: 45+83=128, Resulting Numbers: [128]
128,49 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: 49:[72, 46, 12], Operations: ['57-45=12']
Exploring Operation: 72-12=60, Resulting Numbers: [46, 60]
Generated Node #0,3,0: 49:[46, 60] Operation: 72-12=60
Exploring Operation: 72-46=26, Resulting Numbers: [12, 26]
Generated Node #0,3,1: 49:[12, 26] Operation: 72-46=26
Exploring Operation: 72+12=84, Resulting Numbers: [46, 84]
Generated Node #0,3,2: 49:[46, 84] Operation: 72+12=84
Exploring Operation: 46+12=58, Resulting Numbers: [72, 58]
Generated Node #0,3,3: 49:[72, 58] Operation: 46+12=58
Exploring Operation: 72/12=6, Resulting Numbers: [46, 6]
Generated Node #0,3,4: 49:[46, 6] Operation: 72/12=6
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 49:[46, 6], Operations: ['57-45=12', '72/12=6']
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 46+6=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 46*6=276, Resulting Numbers: [276]
276,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 49:[46, 60], Operations: ['57-45=12', '72-12=60']
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 46+60=106, Resulting Numbers: [106]
106,49 unequal: No Solution
Exploring Operation: 46*60=2760, Resulting Numbers: [2760]
2760,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 49:[12, 26], Operations: ['57-45=12', '72-46=26']
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,49 unequal: No Solution
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 49:[72, 58], Operations: ['57-45=12', '46+12=58']
Exploring Operation: 72+58=130, Resulting Numbers: [130]
130,49 unequal: No Solution
Exploring Operation: 72*58=4176, Resulting Numbers: [4176]
4176,49 unequal: No Solution
Exploring Operation: 72-58=14, Resulting Numbers: [14]
14,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 49:[46, 84], Operations: ['57-45=12', '72+12=84']
Exploring Operation: 46+84=130, Resulting Numbers: [130]
130,49 unequal: No Solution
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 46*84=3864, Resulting Numbers: [3864]
3864,49 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: 49:[46, 3], Operations: ['72-57=15', '45/15=3']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[45, 57, 72, 46], Operations: []
Exploring Operation: 72-57=15, Resulting Numbers: [45, 46, 15]
Generated Node #0,0: 49:[45, 46, 15] Operation: 72-57=15
Moving to Node #0,0
Current State: 49:[45, 46, 15], Operations: ['72-57=15']
Exploring Operation: 45/15=3, Resulting Numbers: [46, 3]
Generated Node #0,0,4: 49:[46, 3] Operation: 45/15=3
Moving to Node #0,0,4
Current State: 49:[46, 3], Operations: ['72-57=15', '45/15=3']
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.914931 | hs_5 | mult_heuristic |
[
77,
72,
85,
40
] | 50 | [
"77-72=5",
"85-40=45",
"5+45=50"
] | Current State: 50:[77, 72, 85, 40], Operations: []
Exploring Operation: 77-72=5, Resulting Numbers: [85, 40, 5]
Generated Node #2: [85, 40, 5] from Operation: 77-72=5
Current State: 50:[85, 40, 5], Operations: ['77-72=5']
Exploring Operation: 85-40=45, Resulting Numbers: [5, 45]
Generated Node #3: [5, 45] from Operation: 85-40=45
Current State: 50:[5, 45], Operations: ['77-72=5', '85-40=45']
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[77, 72, 85, 40], Operations: []
Exploring Operation: 85-77=8, Resulting Numbers: [72, 40, 8]
Generated Node #0,0: 50:[72, 40, 8] Operation: 85-77=8
Exploring Operation: 85-72=13, Resulting Numbers: [77, 40, 13]
Generated Node #0,1: 50:[77, 40, 13] Operation: 85-72=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[72, 40, 8], Operations: ['85-77=8']
Exploring Operation: 72-40=32, Resulting Numbers: [8, 32]
Generated Node #0,0,0: 50:[8, 32] Operation: 72-40=32
Exploring Operation: 72/8=9, Resulting Numbers: [40, 9]
Generated Node #0,0,1: 50:[40, 9] Operation: 72/8=9
Moving to Node #0,0,0
Current State: 50:[8, 32], Operations: ['85-77=8', '72-40=32']
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[40, 9], Operations: ['85-77=8', '72/8=9']
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[77, 40, 13], Operations: ['85-72=13']
Exploring Operation: 77-40=37, Resulting Numbers: [13, 37]
Generated Node #0,1,0: 50:[13, 37] Operation: 77-40=37
Exploring Operation: 77-13=64, Resulting Numbers: [40, 64]
Generated Node #0,1,1: 50:[40, 64] Operation: 77-13=64
Moving to Node #0,1,0
Current State: 50:[13, 37], Operations: ['85-72=13', '77-40=37']
Exploring Operation: 13+37=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[77, 72, 85, 40], Operations: []
Exploring Operation: 85-72=13, Resulting Numbers: [77, 40, 13]
Generated Node #0,1: 50:[77, 40, 13] Operation: 85-72=13
Moving to Node #0,1
Current State: 50:[77, 40, 13], Operations: ['85-72=13']
Exploring Operation: 77-40=37, Resulting Numbers: [13, 37]
Generated Node #0,1,0: 50:[13, 37] Operation: 77-40=37
Moving to Node #0,1,0
Current State: 50:[13, 37], Operations: ['85-72=13', '77-40=37']
Exploring Operation: 13+37=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
61,
4,
3,
32
] | 28 | [
"61-4=57",
"32-3=29",
"57-29=28"
] | Current State: 28:[61, 4, 3, 32], Operations: []
Exploring Operation: 61-4=57, Resulting Numbers: [3, 32, 57]
Generated Node #2: [3, 32, 57] from Operation: 61-4=57
Current State: 28:[3, 32, 57], Operations: ['61-4=57']
Exploring Operation: 32-3=29, Resulting Numbers: [57, 29]
Generated Node #3: [57, 29] from Operation: 32-3=29
Current State: 28:[57, 29], Operations: ['61-4=57', '32-3=29']
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[61, 4, 3, 32], Operations: []
Exploring Operation: 32-4=28, Resulting Numbers: [61, 3, 28]
Generated Node #0,0: 28:[61, 3, 28] Operation: 32-4=28
Exploring Operation: 61-3=58, Resulting Numbers: [4, 32, 58]
Generated Node #0,1: 28:[4, 32, 58] Operation: 61-3=58
Exploring Operation: 61-4=57, Resulting Numbers: [3, 32, 57]
Generated Node #0,2: 28:[3, 32, 57] Operation: 61-4=57
Exploring Operation: 61-32=29, Resulting Numbers: [4, 3, 29]
Generated Node #0,3: 28:[4, 3, 29] Operation: 61-32=29
Moving to Node #0,3
Current State: 28:[4, 3, 29], Operations: ['61-32=29']
Exploring Operation: 4+3=7, Resulting Numbers: [29, 7]
Generated Node #0,3,0: 28:[29, 7] Operation: 4+3=7
Exploring Operation: 29-3=26, Resulting Numbers: [4, 26]
Generated Node #0,3,1: 28:[4, 26] Operation: 29-3=26
Exploring Operation: 4-3=1, Resulting Numbers: [29, 1]
Generated Node #0,3,2: 28:[29, 1] Operation: 4-3=1
Exploring Operation: 4*3=12, Resulting Numbers: [29, 12]
Generated Node #0,3,3: 28:[29, 12] Operation: 4*3=12
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 28:[29, 7], Operations: ['61-32=29', '4+3=7']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,28 unequal: No Solution
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 28:[4, 26], Operations: ['61-32=29', '29-3=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,28 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 28:[29, 1], Operations: ['61-32=29', '4-3=1']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,28 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,28 unequal: No Solution
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[61, 4, 3, 32], Operations: []
Exploring Operation: 61-32=29, Resulting Numbers: [4, 3, 29]
Generated Node #0,3: 28:[4, 3, 29] Operation: 61-32=29
Moving to Node #0,3
Current State: 28:[4, 3, 29], Operations: ['61-32=29']
Exploring Operation: 4-3=1, Resulting Numbers: [29, 1]
Generated Node #0,3,2: 28:[29, 1] Operation: 4-3=1
Moving to Node #0,3,2
Current State: 28:[29, 1], Operations: ['61-32=29', '4-3=1']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
9,
6,
11,
32
] | 73 | [
"9*11=99",
"32-6=26",
"99-26=73"
] | Current State: 73:[9, 6, 11, 32], Operations: []
Exploring Operation: 9*11=99, Resulting Numbers: [6, 32, 99]
Generated Node #2: [6, 32, 99] from Operation: 9*11=99
Current State: 73:[6, 32, 99], Operations: ['9*11=99']
Exploring Operation: 32-6=26, Resulting Numbers: [99, 26]
Generated Node #3: [99, 26] from Operation: 32-6=26
Current State: 73:[99, 26], Operations: ['9*11=99', '32-6=26']
Exploring Operation: 99-26=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[9, 6, 11, 32], Operations: []
Exploring Operation: 6*11=66, Resulting Numbers: [9, 32, 66]
Generated Node #0,0: 73:[9, 32, 66] Operation: 6*11=66
Exploring Operation: 9*11=99, Resulting Numbers: [6, 32, 99]
Generated Node #0,1: 73:[6, 32, 99] Operation: 9*11=99
Exploring Operation: 9*6=54, Resulting Numbers: [11, 32, 54]
Generated Node #0,2: 73:[11, 32, 54] Operation: 9*6=54
Exploring Operation: 9+6=15, Resulting Numbers: [11, 32, 15]
Generated Node #0,3: 73:[11, 32, 15] Operation: 9+6=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[9, 32, 66], Operations: ['6*11=66']
Exploring Operation: 9+32=41, Resulting Numbers: [66, 41]
Generated Node #0,0,0: 73:[66, 41] Operation: 9+32=41
Exploring Operation: 32-9=23, Resulting Numbers: [66, 23]
Generated Node #0,0,1: 73:[66, 23] Operation: 32-9=23
Exploring Operation: 9+66=75, Resulting Numbers: [32, 75]
Generated Node #0,0,2: 73:[32, 75] Operation: 9+66=75
Exploring Operation: 66-9=57, Resulting Numbers: [32, 57]
Generated Node #0,0,3: 73:[32, 57] Operation: 66-9=57
Moving to Node #0,0,0
Current State: 73:[66, 41], Operations: ['6*11=66', '9+32=41']
Exploring Operation: 66*41=2706, Resulting Numbers: [2706]
2706,73 unequal: No Solution
Exploring Operation: 66+41=107, Resulting Numbers: [107]
107,73 unequal: No Solution
Exploring Operation: 66-41=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[32, 75], Operations: ['6*11=66', '9+66=75']
Exploring Operation: 32*75=2400, Resulting Numbers: [2400]
2400,73 unequal: No Solution
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 32+75=107, Resulting Numbers: [107]
107,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[32, 57], Operations: ['6*11=66', '66-9=57']
Exploring Operation: 32+57=89, Resulting Numbers: [89]
89,73 unequal: No Solution
Exploring Operation: 57-32=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 32*57=1824, Resulting Numbers: [1824]
1824,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[66, 23], Operations: ['6*11=66', '32-9=23']
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 66*23=1518, Resulting Numbers: [1518]
1518,73 unequal: No Solution
Exploring Operation: 66+23=89, Resulting Numbers: [89]
89,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[11, 32, 54], Operations: ['9*6=54']
Exploring Operation: 11+32=43, Resulting Numbers: [54, 43]
Generated Node #0,2,0: 73:[54, 43] Operation: 11+32=43
Exploring Operation: 32-11=21, Resulting Numbers: [54, 21]
Generated Node #0,2,1: 73:[54, 21] Operation: 32-11=21
Exploring Operation: 54-11=43, Resulting Numbers: [32, 43]
Generated Node #0,2,2: 73:[32, 43] Operation: 54-11=43
Exploring Operation: 11+54=65, Resulting Numbers: [32, 65]
Generated Node #0,2,3: 73:[32, 65] Operation: 11+54=65
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 73:[54, 43], Operations: ['9*6=54', '11+32=43']
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,73 unequal: No Solution
Exploring Operation: 54*43=2322, Resulting Numbers: [2322]
2322,73 unequal: No Solution
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,73 unequal: No Solution
No 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: 73:[32, 65], Operations: ['9*6=54', '11+54=65']
Exploring Operation: 32+65=97, Resulting Numbers: [97]
97,73 unequal: No Solution
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 32*65=2080, Resulting Numbers: [2080]
2080,73 unequal: No Solution
No 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: 73:[54, 21], Operations: ['9*6=54', '32-11=21']
Exploring Operation: 54-21=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 54*21=1134, Resulting Numbers: [1134]
1134,73 unequal: No Solution
Exploring Operation: 54+21=75, Resulting Numbers: [75]
75,73 unequal: No Solution
No 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: 73:[32, 43], Operations: ['9*6=54', '54-11=43']
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Exploring Operation: 32*43=1376, Resulting Numbers: [1376]
1376,73 unequal: No Solution
Exploring Operation: 32+43=75, Resulting Numbers: [75]
75,73 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: 73:[6, 32, 99], Operations: ['9*11=99']
Exploring Operation: 99-6=93, Resulting Numbers: [32, 93]
Generated Node #0,1,0: 73:[32, 93] Operation: 99-6=93
Exploring Operation: 32-6=26, Resulting Numbers: [99, 26]
Generated Node #0,1,1: 73:[99, 26] Operation: 32-6=26
Exploring Operation: 6+99=105, Resulting Numbers: [32, 105]
Generated Node #0,1,2: 73:[32, 105] Operation: 6+99=105
Exploring Operation: 6+32=38, Resulting Numbers: [99, 38]
Generated Node #0,1,3: 73:[99, 38] Operation: 6+32=38
Moving to Node #0,1,0
Current State: 73:[32, 93], Operations: ['9*11=99', '99-6=93']
Exploring Operation: 32+93=125, Resulting Numbers: [125]
125,73 unequal: No Solution
Exploring Operation: 93-32=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 32*93=2976, Resulting Numbers: [2976]
2976,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[99, 38], Operations: ['9*11=99', '6+32=38']
Exploring Operation: 99+38=137, Resulting Numbers: [137]
137,73 unequal: No Solution
Exploring Operation: 99-38=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 99*38=3762, Resulting Numbers: [3762]
3762,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[32, 105], Operations: ['9*11=99', '6+99=105']
Exploring Operation: 32+105=137, Resulting Numbers: [137]
137,73 unequal: No Solution
Exploring Operation: 32*105=3360, Resulting Numbers: [3360]
3360,73 unequal: No Solution
Exploring Operation: 105-32=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[9, 6, 11, 32], Operations: []
Exploring Operation: 9*11=99, Resulting Numbers: [6, 32, 99]
Generated Node #0,1: 73:[6, 32, 99] Operation: 9*11=99
Moving to Node #0,1
Current State: 73:[6, 32, 99], Operations: ['9*11=99']
Exploring Operation: 6+99=105, Resulting Numbers: [32, 105]
Generated Node #0,1,2: 73:[32, 105] Operation: 6+99=105
Moving to Node #0,1,2
Current State: 73:[32, 105], Operations: ['9*11=99', '6+99=105']
Exploring Operation: 105-32=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.953993 | hs_4 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.