nums listlengths 4 4 | target int64 10 100 | solution listlengths 3 3 | optimal_path stringlengths 282 529 | start_size int64 4 4 | search_path stringlengths 505 16.8k | rating float64 0 0.99 | search_type stringclasses 5 values | heuristic stringclasses 2 values |
|---|---|---|---|---|---|---|---|---|
[
44,
19,
37,
93
] | 41 | [
"19*93=1767",
"37+1767=1804",
"1804/44=41"
] | Current State: 41:[44, 19, 37, 93], Operations: []
Exploring Operation: 19*93=1767, Resulting Numbers: [44, 37, 1767]
Generated Node #2: [44, 37, 1767] from Operation: 19*93=1767
Current State: 41:[44, 37, 1767], Operations: ['19*93=1767']
Exploring Operation: 37+1767=1804, Resulting Numbers: [44, 1804]
Generated Node #3: [44, 1804] from Operation: 37+1767=1804
Current State: 41:[44, 1804], Operations: ['19*93=1767', '37+1767=1804']
Exploring Operation: 1804/44=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[44, 19, 37, 93], Operations: []
Exploring Operation: 93-44=49, Resulting Numbers: [19, 37, 49]
Generated Node #0,0: 41:[19, 37, 49] Operation: 93-44=49
Moving to Node #0,0
Current State: 41:[19, 37, 49], Operations: ['93-44=49']
Exploring Operation: 49-19=30, Resulting Numbers: [37, 30]
Generated Node #0,0,0: 41:[37, 30] Operation: 49-19=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[37, 30], Operations: ['93-44=49', '49-19=30']
Exploring Operation: 37+30=67, Resulting Numbers: [67]
67,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
72,
87,
19,
39
] | 43 | [
"87-72=15",
"19+39=58",
"58-15=43"
] | Current State: 43:[72, 87, 19, 39], Operations: []
Exploring Operation: 87-72=15, Resulting Numbers: [19, 39, 15]
Generated Node #2: [19, 39, 15] from Operation: 87-72=15
Current State: 43:[19, 39, 15], Operations: ['87-72=15']
Exploring Operation: 19+39=58, Resulting Numbers: [15, 58]
Generated Node #3: [15, 58] from Operation: 19+39=58
Current State: 43:[15, 58], Operations: ['87-72=15', '19+39=58']
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[72, 87, 19, 39], Operations: []
Exploring Operation: 87-72=15, Resulting Numbers: [19, 39, 15]
Generated Node #0,0: 43:[19, 39, 15] Operation: 87-72=15
Moving to Node #0,0
Current State: 43:[19, 39, 15], Operations: ['87-72=15']
Exploring Operation: 19+15=34, Resulting Numbers: [39, 34]
Generated Node #0,0,0: 43:[39, 34] Operation: 19+15=34
Moving to Node #0,0,0
Current State: 43:[39, 34], Operations: ['87-72=15', '19+15=34']
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,43 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
74,
88,
72,
83
] | 25 | [
"88-74=14",
"83-72=11",
"14+11=25"
] | Current State: 25:[74, 88, 72, 83], Operations: []
Exploring Operation: 88-74=14, Resulting Numbers: [72, 83, 14]
Generated Node #2: [72, 83, 14] from Operation: 88-74=14
Current State: 25:[72, 83, 14], Operations: ['88-74=14']
Exploring Operation: 83-72=11, Resulting Numbers: [14, 11]
Generated Node #3: [14, 11] from Operation: 83-72=11
Current State: 25:[14, 11], Operations: ['88-74=14', '83-72=11']
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[74, 88, 72, 83], Operations: []
Exploring Operation: 88-74=14, Resulting Numbers: [72, 83, 14]
Generated Node #0,0: 25:[72, 83, 14] Operation: 88-74=14
Exploring Operation: 83-74=9, Resulting Numbers: [88, 72, 9]
Generated Node #0,1: 25:[88, 72, 9] Operation: 83-74=9
Exploring Operation: 88-83=5, Resulting Numbers: [74, 72, 5]
Generated Node #0,2: 25:[74, 72, 5] Operation: 88-83=5
Moving to Node #0,2
Current State: 25:[74, 72, 5], Operations: ['88-83=5']
Exploring Operation: 72-5=67, Resulting Numbers: [74, 67]
Generated Node #0,2,0: 25:[74, 67] Operation: 72-5=67
Exploring Operation: 74-72=2, Resulting Numbers: [5, 2]
Generated Node #0,2,1: 25:[5, 2] Operation: 74-72=2
Exploring Operation: 74-5=69, Resulting Numbers: [72, 69]
Generated Node #0,2,2: 25:[72, 69] Operation: 74-5=69
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 25:[5, 2], Operations: ['88-83=5', '74-72=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,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,2,0
Current State: 25:[74, 67], Operations: ['88-83=5', '72-5=67']
Exploring Operation: 74+67=141, Resulting Numbers: [141]
141,25 unequal: No Solution
Exploring Operation: 74-67=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 74*67=4958, Resulting Numbers: [4958]
4958,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,2,2
Current State: 25:[72, 69], Operations: ['88-83=5', '74-5=69']
Exploring Operation: 72+69=141, Resulting Numbers: [141]
141,25 unequal: No Solution
Exploring Operation: 72*69=4968, Resulting Numbers: [4968]
4968,25 unequal: No Solution
Exploring Operation: 72-69=3, Resulting Numbers: [3]
3,25 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: 25:[72, 83, 14], Operations: ['88-74=14']
Exploring Operation: 72-14=58, Resulting Numbers: [83, 58]
Generated Node #0,0,0: 25:[83, 58] Operation: 72-14=58
Exploring Operation: 83-72=11, Resulting Numbers: [14, 11]
Generated Node #0,0,1: 25:[14, 11] Operation: 83-72=11
Exploring Operation: 83-14=69, Resulting Numbers: [72, 69]
Generated Node #0,0,2: 25:[72, 69] Operation: 83-14=69
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[14, 11], Operations: ['88-74=14', '83-72=11']
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,25 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[74, 88, 72, 83], Operations: []
Exploring Operation: 88-74=14, Resulting Numbers: [72, 83, 14]
Generated Node #0,0: 25:[72, 83, 14] Operation: 88-74=14
Moving to Node #0,0
Current State: 25:[72, 83, 14], Operations: ['88-74=14']
Exploring Operation: 83-72=11, Resulting Numbers: [14, 11]
Generated Node #0,0,1: 25:[14, 11] Operation: 83-72=11
Moving to Node #0,0,1
Current State: 25:[14, 11], Operations: ['88-74=14', '83-72=11']
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
35,
46,
33,
93
] | 70 | [
"35-33=2",
"46/2=23",
"93-23=70"
] | Current State: 70:[35, 46, 33, 93], Operations: []
Exploring Operation: 35-33=2, Resulting Numbers: [46, 93, 2]
Generated Node #2: [46, 93, 2] from Operation: 35-33=2
Current State: 70:[46, 93, 2], Operations: ['35-33=2']
Exploring Operation: 46/2=23, Resulting Numbers: [93, 23]
Generated Node #3: [93, 23] from Operation: 46/2=23
Current State: 70:[93, 23], Operations: ['35-33=2', '46/2=23']
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[35, 46, 33, 93], Operations: []
Exploring Operation: 93-46=47, Resulting Numbers: [35, 33, 47]
Generated Node #0,0: 70:[35, 33, 47] Operation: 93-46=47
Exploring Operation: 46-33=13, Resulting Numbers: [35, 93, 13]
Generated Node #0,1: 70:[35, 93, 13] Operation: 46-33=13
Exploring Operation: 93-33=60, Resulting Numbers: [35, 46, 60]
Generated Node #0,2: 70:[35, 46, 60] Operation: 93-33=60
Moving to Node #0,0
Current State: 70:[35, 33, 47], Operations: ['93-46=47']
Exploring Operation: 47-33=14, Resulting Numbers: [35, 14]
Generated Node #0,0,0: 70:[35, 14] Operation: 47-33=14
Exploring Operation: 47-35=12, Resulting Numbers: [33, 12]
Generated Node #0,0,1: 70:[33, 12] Operation: 47-35=12
Exploring Operation: 33+47=80, Resulting Numbers: [35, 80]
Generated Node #0,0,2: 70:[35, 80] Operation: 33+47=80
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[35, 14], Operations: ['93-46=47', '47-33=14']
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 35+14=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Exploring Operation: 35*14=490, Resulting Numbers: [490]
490,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[33, 12], Operations: ['93-46=47', '47-35=12']
Exploring Operation: 33*12=396, Resulting Numbers: [396]
396,70 unequal: No Solution
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 70:[35, 80], Operations: ['93-46=47', '33+47=80']
Exploring Operation: 35*80=2800, Resulting Numbers: [2800]
2800,70 unequal: No Solution
Exploring Operation: 35+80=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 80-35=45, Resulting Numbers: [45]
45,70 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: 70:[35, 46, 60], Operations: ['93-33=60']
Exploring Operation: 35+46=81, Resulting Numbers: [60, 81]
Generated Node #0,2,0: 70:[60, 81] Operation: 35+46=81
Exploring Operation: 46-35=11, Resulting Numbers: [60, 11]
Generated Node #0,2,1: 70:[60, 11] Operation: 46-35=11
Exploring Operation: 60-46=14, Resulting Numbers: [35, 14]
Generated Node #0,2,2: 70:[35, 14] Operation: 60-46=14
Moving to Node #0,1
Current State: 70:[35, 93, 13], Operations: ['46-33=13']
Exploring Operation: 93-35=58, Resulting Numbers: [13, 58]
Generated Node #0,1,0: 70:[13, 58] Operation: 93-35=58
Exploring Operation: 93-13=80, Resulting Numbers: [35, 80]
Generated Node #0,1,1: 70:[35, 80] Operation: 93-13=80
Exploring Operation: 35-13=22, Resulting Numbers: [93, 22]
Generated Node #0,1,2: 70:[93, 22] Operation: 35-13=22
Moving to Node #0,2,2
Current State: 70:[35, 14], Operations: ['93-33=60', '60-46=14']
Exploring Operation: 35+14=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Exploring Operation: 35*14=490, Resulting Numbers: [490]
490,70 unequal: No Solution
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[35, 80], Operations: ['46-33=13', '93-13=80']
Exploring Operation: 35+80=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 80-35=45, Resulting Numbers: [45]
45,70 unequal: No Solution
Exploring Operation: 35*80=2800, Resulting Numbers: [2800]
2800,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[60, 11], Operations: ['93-33=60', '46-35=11']
Exploring Operation: 60*11=660, Resulting Numbers: [660]
660,70 unequal: No Solution
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[13, 58], Operations: ['46-33=13', '93-35=58']
Exploring Operation: 13+58=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,70 unequal: No Solution
Exploring Operation: 13*58=754, Resulting Numbers: [754]
754,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[60, 81], Operations: ['93-33=60', '35+46=81']
Exploring Operation: 81-60=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 60*81=4860, Resulting Numbers: [4860]
4860,70 unequal: No Solution
Exploring Operation: 60+81=141, Resulting Numbers: [141]
141,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[93, 22], Operations: ['46-33=13', '35-13=22']
Exploring Operation: 93+22=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 93*22=2046, Resulting Numbers: [2046]
2046,70 unequal: No Solution
Exploring Operation: 93-22=71, Resulting Numbers: [71]
71,70 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
54,
74,
75,
92
] | 38 | [
"92-54=38",
"75-74=1",
"38*1=38"
] | Current State: 38:[54, 74, 75, 92], Operations: []
Exploring Operation: 92-54=38, Resulting Numbers: [74, 75, 38]
Generated Node #2: [74, 75, 38] from Operation: 92-54=38
Current State: 38:[74, 75, 38], Operations: ['92-54=38']
Exploring Operation: 75-74=1, Resulting Numbers: [38, 1]
Generated Node #3: [38, 1] from Operation: 75-74=1
Current State: 38:[38, 1], Operations: ['92-54=38', '75-74=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[54, 74, 75, 92], Operations: []
Exploring Operation: 92-74=18, Resulting Numbers: [54, 75, 18]
Generated Node #0,0: 38:[54, 75, 18] Operation: 92-74=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[54, 75, 18], Operations: ['92-74=18']
Exploring Operation: 75-54=21, Resulting Numbers: [18, 21]
Generated Node #0,0,0: 38:[18, 21] Operation: 75-54=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[18, 21], Operations: ['92-74=18', '75-54=21']
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
9,
66,
10
] | 79 | [
"9-6=3",
"66+10=76",
"3+76=79"
] | Current State: 79:[6, 9, 66, 10], Operations: []
Exploring Operation: 9-6=3, Resulting Numbers: [66, 10, 3]
Generated Node #2: [66, 10, 3] from Operation: 9-6=3
Current State: 79:[66, 10, 3], Operations: ['9-6=3']
Exploring Operation: 66+10=76, Resulting Numbers: [3, 76]
Generated Node #3: [3, 76] from Operation: 66+10=76
Current State: 79:[3, 76], Operations: ['9-6=3', '66+10=76']
Exploring Operation: 3+76=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[6, 9, 66, 10], Operations: []
Exploring Operation: 6*9=54, Resulting Numbers: [66, 10, 54]
Generated Node #0,0: 79:[66, 10, 54] Operation: 6*9=54
Exploring Operation: 6+9=15, Resulting Numbers: [66, 10, 15]
Generated Node #0,1: 79:[66, 10, 15] Operation: 6+9=15
Exploring Operation: 9*10=90, Resulting Numbers: [6, 66, 90]
Generated Node #0,2: 79:[6, 66, 90] Operation: 9*10=90
Exploring Operation: 6*10=60, Resulting Numbers: [9, 66, 60]
Generated Node #0,3: 79:[9, 66, 60] Operation: 6*10=60
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[6, 66, 90], Operations: ['9*10=90']
Exploring Operation: 6+66=72, Resulting Numbers: [90, 72]
Generated Node #0,2,0: 79:[90, 72] Operation: 6+66=72
Exploring Operation: 66-6=60, Resulting Numbers: [90, 60]
Generated Node #0,2,1: 79:[90, 60] Operation: 66-6=60
Exploring Operation: 90-6=84, Resulting Numbers: [66, 84]
Generated Node #0,2,2: 79:[66, 84] Operation: 90-6=84
Exploring Operation: 6+90=96, Resulting Numbers: [66, 96]
Generated Node #0,2,3: 79:[66, 96] Operation: 6+90=96
Moving to Node #0,2,0
Current State: 79:[90, 72], Operations: ['9*10=90', '6+66=72']
Exploring Operation: 90*72=6480, Resulting Numbers: [6480]
6480,79 unequal: No Solution
Exploring Operation: 90-72=18, Resulting Numbers: [18]
18,79 unequal: No Solution
Exploring Operation: 90+72=162, Resulting Numbers: [162]
162,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[66, 84], Operations: ['9*10=90', '90-6=84']
Exploring Operation: 84-66=18, Resulting Numbers: [18]
18,79 unequal: No Solution
Exploring Operation: 66*84=5544, Resulting Numbers: [5544]
5544,79 unequal: No Solution
Exploring Operation: 66+84=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[66, 96], Operations: ['9*10=90', '6+90=96']
Exploring Operation: 66+96=162, Resulting Numbers: [162]
162,79 unequal: No Solution
Exploring Operation: 96-66=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 66*96=6336, Resulting Numbers: [6336]
6336,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[90, 60], Operations: ['9*10=90', '66-6=60']
Exploring Operation: 90+60=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 90*60=5400, Resulting Numbers: [5400]
5400,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[9, 66, 60], Operations: ['6*10=60']
Exploring Operation: 9+60=69, Resulting Numbers: [66, 69]
Generated Node #0,3,0: 79:[66, 69] Operation: 9+60=69
Exploring Operation: 60-9=51, Resulting Numbers: [66, 51]
Generated Node #0,3,1: 79:[66, 51] Operation: 60-9=51
Exploring Operation: 9+66=75, Resulting Numbers: [60, 75]
Generated Node #0,3,2: 79:[60, 75] Operation: 9+66=75
Exploring Operation: 66-9=57, Resulting Numbers: [60, 57]
Generated Node #0,3,3: 79:[60, 57] Operation: 66-9=57
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 79:[66, 69], Operations: ['6*10=60', '9+60=69']
Exploring Operation: 66*69=4554, Resulting Numbers: [4554]
4554,79 unequal: No Solution
Exploring Operation: 69-66=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 66+69=135, Resulting Numbers: [135]
135,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 79:[60, 75], Operations: ['6*10=60', '9+66=75']
Exploring Operation: 60*75=4500, Resulting Numbers: [4500]
4500,79 unequal: No Solution
Exploring Operation: 60+75=135, Resulting Numbers: [135]
135,79 unequal: No Solution
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 79:[66, 51], Operations: ['6*10=60', '60-9=51']
Exploring Operation: 66+51=117, Resulting Numbers: [117]
117,79 unequal: No Solution
Exploring Operation: 66*51=3366, Resulting Numbers: [3366]
3366,79 unequal: No Solution
Exploring Operation: 66-51=15, Resulting Numbers: [15]
15,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 79:[60, 57], Operations: ['6*10=60', '66-9=57']
Exploring Operation: 60+57=117, Resulting Numbers: [117]
117,79 unequal: No Solution
Exploring Operation: 60*57=3420, Resulting Numbers: [3420]
3420,79 unequal: No Solution
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[66, 10, 54], Operations: ['6*9=54']
Exploring Operation: 66-10=56, Resulting Numbers: [54, 56]
Generated Node #0,0,0: 79:[54, 56] Operation: 66-10=56
Exploring Operation: 10+54=64, Resulting Numbers: [66, 64]
Generated Node #0,0,1: 79:[66, 64] Operation: 10+54=64
Exploring Operation: 66+10=76, Resulting Numbers: [54, 76]
Generated Node #0,0,2: 79:[54, 76] Operation: 66+10=76
Exploring Operation: 54-10=44, Resulting Numbers: [66, 44]
Generated Node #0,0,3: 79:[66, 44] Operation: 54-10=44
Moving to Node #0,0,1
Current State: 79:[66, 64], Operations: ['6*9=54', '10+54=64']
Exploring Operation: 66*64=4224, Resulting Numbers: [4224]
4224,79 unequal: No Solution
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 66+64=130, Resulting Numbers: [130]
130,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[54, 76], Operations: ['6*9=54', '66+10=76']
Exploring Operation: 54+76=130, Resulting Numbers: [130]
130,79 unequal: No Solution
Exploring Operation: 54*76=4104, Resulting Numbers: [4104]
4104,79 unequal: No Solution
Exploring Operation: 76-54=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[66, 44], Operations: ['6*9=54', '54-10=44']
Exploring Operation: 66*44=2904, Resulting Numbers: [2904]
2904,79 unequal: No Solution
Exploring Operation: 66+44=110, Resulting Numbers: [110]
110,79 unequal: No Solution
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[54, 56], Operations: ['6*9=54', '66-10=56']
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 54+56=110, Resulting Numbers: [110]
110,79 unequal: No Solution
Exploring Operation: 54*56=3024, Resulting Numbers: [3024]
3024,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[66, 10, 15], Operations: ['6+9=15']
Exploring Operation: 66+15=81, Resulting Numbers: [10, 81]
Generated Node #0,1,0: 79:[10, 81] Operation: 66+15=81
Exploring Operation: 10*15=150, Resulting Numbers: [66, 150]
Generated Node #0,1,1: 79:[66, 150] Operation: 10*15=150
Exploring Operation: 10+15=25, Resulting Numbers: [66, 25]
Generated Node #0,1,2: 79:[66, 25] Operation: 10+15=25
Exploring Operation: 66+10=76, Resulting Numbers: [15, 76]
Generated Node #0,1,3: 79:[15, 76] Operation: 66+10=76
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[66, 25], Operations: ['6+9=15', '10+15=25']
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,79 unequal: No Solution
Exploring Operation: 66*25=1650, Resulting Numbers: [1650]
1650,79 unequal: No Solution
Exploring Operation: 66+25=91, Resulting Numbers: [91]
91,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 79:[15, 76], Operations: ['6+9=15', '66+10=76']
Exploring Operation: 15+76=91, Resulting Numbers: [91]
91,79 unequal: No Solution
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,79 unequal: No Solution
Exploring Operation: 15*76=1140, Resulting Numbers: [1140]
1140,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[10, 81], Operations: ['6+9=15', '66+15=81']
Exploring Operation: 10+81=91, Resulting Numbers: [91]
91,79 unequal: No Solution
Exploring Operation: 10*81=810, Resulting Numbers: [810]
810,79 unequal: No Solution
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[66, 150], Operations: ['6+9=15', '10*15=150']
Exploring Operation: 66*150=9900, Resulting Numbers: [9900]
9900,79 unequal: No Solution
Exploring Operation: 66+150=216, Resulting Numbers: [216]
216,79 unequal: No Solution
Exploring Operation: 150-66=84, Resulting Numbers: [84]
84,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
12,
76,
52,
78
] | 39 | [
"12*78=936",
"76-52=24",
"936/24=39"
] | Current State: 39:[12, 76, 52, 78], Operations: []
Exploring Operation: 12*78=936, Resulting Numbers: [76, 52, 936]
Generated Node #2: [76, 52, 936] from Operation: 12*78=936
Current State: 39:[76, 52, 936], Operations: ['12*78=936']
Exploring Operation: 76-52=24, Resulting Numbers: [936, 24]
Generated Node #3: [936, 24] from Operation: 76-52=24
Current State: 39:[936, 24], Operations: ['12*78=936', '76-52=24']
Exploring Operation: 936/24=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[12, 76, 52, 78], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [12, 52, 2]
Generated Node #0,0: 39:[12, 52, 2] Operation: 78-76=2
Exploring Operation: 76-52=24, Resulting Numbers: [12, 78, 24]
Generated Node #0,1: 39:[12, 78, 24] Operation: 76-52=24
Exploring Operation: 78-52=26, Resulting Numbers: [12, 76, 26]
Generated Node #0,2: 39:[12, 76, 26] Operation: 78-52=26
Moving to Node #0,0
Current State: 39:[12, 52, 2], Operations: ['78-76=2']
Exploring Operation: 52-2=50, Resulting Numbers: [12, 50]
Generated Node #0,0,0: 39:[12, 50] Operation: 52-2=50
Exploring Operation: 12+2=14, Resulting Numbers: [52, 14]
Generated Node #0,0,1: 39:[52, 14] Operation: 12+2=14
Exploring Operation: 52-12=40, Resulting Numbers: [2, 40]
Generated Node #0,0,2: 39:[2, 40] Operation: 52-12=40
Moving to Node #0,1
Current State: 39:[12, 78, 24], Operations: ['76-52=24']
Exploring Operation: 78-12=66, Resulting Numbers: [24, 66]
Generated Node #0,1,0: 39:[24, 66] Operation: 78-12=66
Exploring Operation: 24-12=12, Resulting Numbers: [78, 12]
Generated Node #0,1,1: 39:[78, 12] Operation: 24-12=12
Exploring Operation: 78-24=54, Resulting Numbers: [12, 54]
Generated Node #0,1,2: 39:[12, 54] Operation: 78-24=54
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[12, 54], Operations: ['76-52=24', '78-24=54']
Exploring Operation: 12+54=66, Resulting Numbers: [66]
66,39 unequal: No Solution
Exploring Operation: 12*54=648, Resulting Numbers: [648]
648,39 unequal: No Solution
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[24, 66], Operations: ['76-52=24', '78-12=66']
Exploring Operation: 24*66=1584, Resulting Numbers: [1584]
1584,39 unequal: No Solution
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 24+66=90, Resulting Numbers: [90]
90,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[78, 12], Operations: ['76-52=24', '24-12=12']
Exploring Operation: 78*12=936, Resulting Numbers: [936]
936,39 unequal: No Solution
Exploring Operation: 78+12=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,39 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: 39:[12, 76, 26], Operations: ['78-52=26']
Exploring Operation: 76-26=50, Resulting Numbers: [12, 50]
Generated Node #0,2,0: 39:[12, 50] Operation: 76-26=50
Exploring Operation: 76-12=64, Resulting Numbers: [26, 64]
Generated Node #0,2,1: 39:[26, 64] Operation: 76-12=64
Exploring Operation: 12+26=38, Resulting Numbers: [76, 38]
Generated Node #0,2,2: 39:[76, 38] Operation: 12+26=38
Moving to Node #0,0,2
Current State: 39:[2, 40], Operations: ['78-76=2', '52-12=40']
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[12, 50], Operations: ['78-76=2', '52-2=50']
Exploring Operation: 12*50=600, Resulting Numbers: [600]
600,39 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[12, 50], Operations: ['78-52=26', '76-26=50']
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 12*50=600, Resulting Numbers: [600]
600,39 unequal: No Solution
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[52, 14], Operations: ['78-76=2', '12+2=14']
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 52*14=728, Resulting Numbers: [728]
728,39 unequal: No Solution
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[76, 38], Operations: ['78-52=26', '12+26=38']
Exploring Operation: 76+38=114, Resulting Numbers: [114]
114,39 unequal: No Solution
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[26, 64], Operations: ['78-52=26', '76-12=64']
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 26+64=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Exploring Operation: 26*64=1664, Resulting Numbers: [1664]
1664,39 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
46,
30,
76,
44
] | 53 | [
"46-44=2",
"30+76=106",
"106/2=53"
] | Current State: 53:[46, 30, 76, 44], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [30, 76, 2]
Generated Node #2: [30, 76, 2] from Operation: 46-44=2
Current State: 53:[30, 76, 2], Operations: ['46-44=2']
Exploring Operation: 30+76=106, Resulting Numbers: [2, 106]
Generated Node #3: [2, 106] from Operation: 30+76=106
Current State: 53:[2, 106], Operations: ['46-44=2', '30+76=106']
Exploring Operation: 106/2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[46, 30, 76, 44], Operations: []
Exploring Operation: 76-44=32, Resulting Numbers: [46, 30, 32]
Generated Node #0,0: 53:[46, 30, 32] Operation: 76-44=32
Exploring Operation: 30+44=74, Resulting Numbers: [46, 76, 74]
Generated Node #0,1: 53:[46, 76, 74] Operation: 30+44=74
Exploring Operation: 76-30=46, Resulting Numbers: [46, 44, 46]
Generated Node #0,2: 53:[46, 44, 46] Operation: 76-30=46
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[46, 44, 46], Operations: ['76-30=46']
Exploring Operation: 44+46=90, Resulting Numbers: [46, 90]
Generated Node #0,2,0: 53:[46, 90] Operation: 44+46=90
Exploring Operation: 46+44=90, Resulting Numbers: [46, 90]
Generated Node #0,2,1: 53:[46, 90] Operation: 46+44=90
Exploring Operation: 46+46=92, Resulting Numbers: [44, 92]
Generated Node #0,2,2: 53:[44, 92] Operation: 46+46=92
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 53:[46, 90], Operations: ['76-30=46', '44+46=90']
Exploring Operation: 46+90=136, Resulting Numbers: [136]
136,53 unequal: No Solution
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 46*90=4140, Resulting Numbers: [4140]
4140,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 53:[46, 90], Operations: ['76-30=46', '46+44=90']
Exploring Operation: 46*90=4140, Resulting Numbers: [4140]
4140,53 unequal: No Solution
Exploring Operation: 46+90=136, Resulting Numbers: [136]
136,53 unequal: No Solution
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 53:[44, 92], Operations: ['76-30=46', '46+46=92']
Exploring Operation: 44*92=4048, Resulting Numbers: [4048]
4048,53 unequal: No Solution
Exploring Operation: 92-44=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 44+92=136, Resulting Numbers: [136]
136,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[46, 30, 32], Operations: ['76-44=32']
Exploring Operation: 46+30=76, Resulting Numbers: [32, 76]
Generated Node #0,0,0: 53:[32, 76] Operation: 46+30=76
Exploring Operation: 30+32=62, Resulting Numbers: [46, 62]
Generated Node #0,0,1: 53:[46, 62] Operation: 30+32=62
Exploring Operation: 46+32=78, Resulting Numbers: [30, 78]
Generated Node #0,0,2: 53:[30, 78] Operation: 46+32=78
Moving to Node #0,0,1
Current State: 53:[46, 62], Operations: ['76-44=32', '30+32=62']
Exploring Operation: 46*62=2852, Resulting Numbers: [2852]
2852,53 unequal: No Solution
Exploring Operation: 46+62=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[32, 76], Operations: ['76-44=32', '46+30=76']
Exploring Operation: 32+76=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 76-32=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 32*76=2432, Resulting Numbers: [2432]
2432,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[30, 78], Operations: ['76-44=32', '46+32=78']
Exploring Operation: 30+78=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 78-30=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 30*78=2340, Resulting Numbers: [2340]
2340,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[46, 76, 74], Operations: ['30+44=74']
Exploring Operation: 76-46=30, Resulting Numbers: [74, 30]
Generated Node #0,1,0: 53:[74, 30] Operation: 76-46=30
Exploring Operation: 76-74=2, Resulting Numbers: [46, 2]
Generated Node #0,1,1: 53:[46, 2] Operation: 76-74=2
Exploring Operation: 74-46=28, Resulting Numbers: [76, 28]
Generated Node #0,1,2: 53:[76, 28] Operation: 74-46=28
Moving to Node #0,1,0
Current State: 53:[74, 30], Operations: ['30+44=74', '76-46=30']
Exploring Operation: 74*30=2220, Resulting Numbers: [2220]
2220,53 unequal: No Solution
Exploring Operation: 74+30=104, Resulting Numbers: [104]
104,53 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[76, 28], Operations: ['30+44=74', '74-46=28']
Exploring Operation: 76+28=104, Resulting Numbers: [104]
104,53 unequal: No Solution
Exploring Operation: 76*28=2128, Resulting Numbers: [2128]
2128,53 unequal: No Solution
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[46, 2], Operations: ['30+44=74', '76-74=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,53 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,53 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 |
[
8,
91,
6,
23
] | 95 | [
"8+23=31",
"6*31=186",
"186-91=95"
] | Current State: 95:[8, 91, 6, 23], Operations: []
Exploring Operation: 8+23=31, Resulting Numbers: [91, 6, 31]
Generated Node #2: [91, 6, 31] from Operation: 8+23=31
Current State: 95:[91, 6, 31], Operations: ['8+23=31']
Exploring Operation: 6*31=186, Resulting Numbers: [91, 186]
Generated Node #3: [91, 186] from Operation: 6*31=186
Current State: 95:[91, 186], Operations: ['8+23=31', '6*31=186']
Exploring Operation: 186-91=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[8, 91, 6, 23], Operations: []
Exploring Operation: 8+91=99, Resulting Numbers: [6, 23, 99]
Generated Node #0,0: 95:[6, 23, 99] Operation: 8+91=99
Moving to Node #0,0
Current State: 95:[6, 23, 99], Operations: ['8+91=99']
Exploring Operation: 23-6=17, Resulting Numbers: [99, 17]
Generated Node #0,0,0: 95:[99, 17] Operation: 23-6=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[99, 17], Operations: ['8+91=99', '23-6=17']
Exploring Operation: 99-17=82, Resulting Numbers: [82]
82,95 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 |
[
19,
15,
60,
45
] | 76 | [
"19+60=79",
"45/15=3",
"79-3=76"
] | Current State: 76:[19, 15, 60, 45], Operations: []
Exploring Operation: 19+60=79, Resulting Numbers: [15, 45, 79]
Generated Node #2: [15, 45, 79] from Operation: 19+60=79
Current State: 76:[15, 45, 79], Operations: ['19+60=79']
Exploring Operation: 45/15=3, Resulting Numbers: [79, 3]
Generated Node #3: [79, 3] from Operation: 45/15=3
Current State: 76:[79, 3], Operations: ['19+60=79', '45/15=3']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[19, 15, 60, 45], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [19, 45, 4]
Generated Node #0,0: 76:[19, 45, 4] Operation: 60/15=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[19, 45, 4], Operations: ['60/15=4']
Exploring Operation: 45-4=41, Resulting Numbers: [19, 41]
Generated Node #0,0,0: 76:[19, 41] Operation: 45-4=41
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[19, 41], Operations: ['60/15=4', '45-4=41']
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,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 |
[
91,
9,
26,
89
] | 70 | [
"91-89=2",
"9+26=35",
"2*35=70"
] | Current State: 70:[91, 9, 26, 89], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [9, 26, 2]
Generated Node #2: [9, 26, 2] from Operation: 91-89=2
Current State: 70:[9, 26, 2], Operations: ['91-89=2']
Exploring Operation: 9+26=35, Resulting Numbers: [2, 35]
Generated Node #3: [2, 35] from Operation: 9+26=35
Current State: 70:[2, 35], Operations: ['91-89=2', '9+26=35']
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[91, 9, 26, 89], Operations: []
Exploring Operation: 91-9=82, Resulting Numbers: [26, 89, 82]
Generated Node #0,0: 70:[26, 89, 82] Operation: 91-9=82
Exploring Operation: 89-26=63, Resulting Numbers: [91, 9, 63]
Generated Node #0,1: 70:[91, 9, 63] Operation: 89-26=63
Exploring Operation: 91-89=2, Resulting Numbers: [9, 26, 2]
Generated Node #0,2: 70:[9, 26, 2] Operation: 91-89=2
Exploring Operation: 91-26=65, Resulting Numbers: [9, 89, 65]
Generated Node #0,3: 70:[9, 89, 65] Operation: 91-26=65
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[9, 26, 2], Operations: ['91-89=2']
Exploring Operation: 9+26=35, Resulting Numbers: [2, 35]
Generated Node #0,2,0: 70:[2, 35] Operation: 9+26=35
Exploring Operation: 26-9=17, Resulting Numbers: [2, 17]
Generated Node #0,2,1: 70:[2, 17] Operation: 26-9=17
Exploring Operation: 26/2=13, Resulting Numbers: [9, 13]
Generated Node #0,2,2: 70:[9, 13] Operation: 26/2=13
Exploring Operation: 26+2=28, Resulting Numbers: [9, 28]
Generated Node #0,2,3: 70:[9, 28] Operation: 26+2=28
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[2, 35], Operations: ['91-89=2', '9+26=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,70 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[91, 9, 26, 89], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [9, 26, 2]
Generated Node #0,2: 70:[9, 26, 2] Operation: 91-89=2
Moving to Node #0,2
Current State: 70:[9, 26, 2], Operations: ['91-89=2']
Exploring Operation: 9+26=35, Resulting Numbers: [2, 35]
Generated Node #0,2,0: 70:[2, 35] Operation: 9+26=35
Moving to Node #0,2,0
Current State: 70:[2, 35], Operations: ['91-89=2', '9+26=35']
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
71,
12,
49,
26
] | 82 | [
"71-12=59",
"49-26=23",
"59+23=82"
] | Current State: 82:[71, 12, 49, 26], Operations: []
Exploring Operation: 71-12=59, Resulting Numbers: [49, 26, 59]
Generated Node #2: [49, 26, 59] from Operation: 71-12=59
Current State: 82:[49, 26, 59], Operations: ['71-12=59']
Exploring Operation: 49-26=23, Resulting Numbers: [59, 23]
Generated Node #3: [59, 23] from Operation: 49-26=23
Current State: 82:[59, 23], Operations: ['71-12=59', '49-26=23']
Exploring Operation: 59+23=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[71, 12, 49, 26], Operations: []
Exploring Operation: 12+26=38, Resulting Numbers: [71, 49, 38]
Generated Node #0,0: 82:[71, 49, 38] Operation: 12+26=38
Exploring Operation: 49+26=75, Resulting Numbers: [71, 12, 75]
Generated Node #0,1: 82:[71, 12, 75] Operation: 49+26=75
Exploring Operation: 71-26=45, Resulting Numbers: [12, 49, 45]
Generated Node #0,2: 82:[12, 49, 45] Operation: 71-26=45
Exploring Operation: 71+12=83, Resulting Numbers: [49, 26, 83]
Generated Node #0,3: 82:[49, 26, 83] Operation: 71+12=83
Exploring Operation: 49-12=37, Resulting Numbers: [71, 26, 37]
Generated Node #0,4: 82:[71, 26, 37] Operation: 49-12=37
Moving to Node #0,0
Current State: 82:[71, 49, 38], Operations: ['12+26=38']
Exploring Operation: 49+38=87, Resulting Numbers: [71, 87]
Generated Node #0,0,0: 82:[71, 87] Operation: 49+38=87
Exploring Operation: 71+38=109, Resulting Numbers: [49, 109]
Generated Node #0,0,1: 82:[49, 109] Operation: 71+38=109
Exploring Operation: 71-38=33, Resulting Numbers: [49, 33]
Generated Node #0,0,2: 82:[49, 33] Operation: 71-38=33
Exploring Operation: 49-38=11, Resulting Numbers: [71, 11]
Generated Node #0,0,3: 82:[71, 11] Operation: 49-38=11
Exploring Operation: 71-49=22, Resulting Numbers: [38, 22]
Generated Node #0,0,4: 82:[38, 22] Operation: 71-49=22
Moving to Node #0,2
Current State: 82:[12, 49, 45], Operations: ['71-26=45']
Exploring Operation: 12+49=61, Resulting Numbers: [45, 61]
Generated Node #0,2,0: 82:[45, 61] Operation: 12+49=61
Exploring Operation: 45-12=33, Resulting Numbers: [49, 33]
Generated Node #0,2,1: 82:[49, 33] Operation: 45-12=33
Exploring Operation: 49-45=4, Resulting Numbers: [12, 4]
Generated Node #0,2,2: 82:[12, 4] Operation: 49-45=4
Exploring Operation: 49+45=94, Resulting Numbers: [12, 94]
Generated Node #0,2,3: 82:[12, 94] Operation: 49+45=94
Exploring Operation: 49-12=37, Resulting Numbers: [45, 37]
Generated Node #0,2,4: 82:[45, 37] Operation: 49-12=37
Moving to Node #0,3
Current State: 82:[49, 26, 83], Operations: ['71+12=83']
Exploring Operation: 83-26=57, Resulting Numbers: [49, 57]
Generated Node #0,3,0: 82:[49, 57] Operation: 83-26=57
Exploring Operation: 49+26=75, Resulting Numbers: [83, 75]
Generated Node #0,3,1: 82:[83, 75] Operation: 49+26=75
Exploring Operation: 49-26=23, Resulting Numbers: [83, 23]
Generated Node #0,3,2: 82:[83, 23] Operation: 49-26=23
Exploring Operation: 83-49=34, Resulting Numbers: [26, 34]
Generated Node #0,3,3: 82:[26, 34] Operation: 83-49=34
Exploring Operation: 26+83=109, Resulting Numbers: [49, 109]
Generated Node #0,3,4: 82:[49, 109] Operation: 26+83=109
Moving to Node #0,1
Current State: 82:[71, 12, 75], Operations: ['49+26=75']
Exploring Operation: 71+12=83, Resulting Numbers: [75, 83]
Generated Node #0,1,0: 82:[75, 83] Operation: 71+12=83
Exploring Operation: 12+75=87, Resulting Numbers: [71, 87]
Generated Node #0,1,1: 82:[71, 87] Operation: 12+75=87
Exploring Operation: 71-12=59, Resulting Numbers: [75, 59]
Generated Node #0,1,2: 82:[75, 59] Operation: 71-12=59
Exploring Operation: 75-71=4, Resulting Numbers: [12, 4]
Generated Node #0,1,3: 82:[12, 4] Operation: 75-71=4
Exploring Operation: 75-12=63, Resulting Numbers: [71, 63]
Generated Node #0,1,4: 82:[71, 63] Operation: 75-12=63
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[75, 83], Operations: ['49+26=75', '71+12=83']
Exploring Operation: 75+83=158, Resulting Numbers: [158]
158,82 unequal: No Solution
Exploring Operation: 75*83=6225, Resulting Numbers: [6225]
6225,82 unequal: No Solution
Exploring Operation: 83-75=8, Resulting Numbers: [8]
8,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 82:[12, 4], Operations: ['49+26=75', '75-71=4']
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,82 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[71, 87], Operations: ['49+26=75', '12+75=87']
Exploring Operation: 87-71=16, Resulting Numbers: [16]
16,82 unequal: No Solution
Exploring Operation: 71+87=158, Resulting Numbers: [158]
158,82 unequal: No Solution
Exploring Operation: 71*87=6177, Resulting Numbers: [6177]
6177,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 82:[75, 59], Operations: ['49+26=75', '71-12=59']
Exploring Operation: 75+59=134, Resulting Numbers: [134]
134,82 unequal: No Solution
Exploring Operation: 75*59=4425, Resulting Numbers: [4425]
4425,82 unequal: No Solution
Exploring Operation: 75-59=16, Resulting Numbers: [16]
16,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 82:[71, 63], Operations: ['49+26=75', '75-12=63']
Exploring Operation: 71+63=134, Resulting Numbers: [134]
134,82 unequal: No Solution
Exploring Operation: 71*63=4473, Resulting Numbers: [4473]
4473,82 unequal: No Solution
Exploring Operation: 71-63=8, Resulting Numbers: [8]
8,82 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: 82:[71, 26, 37], Operations: ['49-12=37']
Exploring Operation: 26+37=63, Resulting Numbers: [71, 63]
Generated Node #0,4,0: 82:[71, 63] Operation: 26+37=63
Exploring Operation: 71-26=45, Resulting Numbers: [37, 45]
Generated Node #0,4,1: 82:[37, 45] Operation: 71-26=45
Exploring Operation: 37-26=11, Resulting Numbers: [71, 11]
Generated Node #0,4,2: 82:[71, 11] Operation: 37-26=11
Exploring Operation: 71-37=34, Resulting Numbers: [26, 34]
Generated Node #0,4,3: 82:[26, 34] Operation: 71-37=34
Exploring Operation: 71+26=97, Resulting Numbers: [37, 97]
Generated Node #0,4,4: 82:[37, 97] Operation: 71+26=97
Moving to Node #0,2,4
Current State: 82:[45, 37], Operations: ['71-26=45', '49-12=37']
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[71, 12, 49, 26], Operations: []
Exploring Operation: 71-26=45, Resulting Numbers: [12, 49, 45]
Generated Node #0,2: 82:[12, 49, 45] Operation: 71-26=45
Moving to Node #0,2
Current State: 82:[12, 49, 45], Operations: ['71-26=45']
Exploring Operation: 49-12=37, Resulting Numbers: [45, 37]
Generated Node #0,2,4: 82:[45, 37] Operation: 49-12=37
Moving to Node #0,2,4
Current State: 82:[45, 37], Operations: ['71-26=45', '49-12=37']
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.955729 | hs_5 | sum_heuristic |
[
88,
55,
57,
96
] | 92 | [
"88+96=184",
"57-55=2",
"184/2=92"
] | Current State: 92:[88, 55, 57, 96], Operations: []
Exploring Operation: 88+96=184, Resulting Numbers: [55, 57, 184]
Generated Node #2: [55, 57, 184] from Operation: 88+96=184
Current State: 92:[55, 57, 184], Operations: ['88+96=184']
Exploring Operation: 57-55=2, Resulting Numbers: [184, 2]
Generated Node #3: [184, 2] from Operation: 57-55=2
Current State: 92:[184, 2], Operations: ['88+96=184', '57-55=2']
Exploring Operation: 184/2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[88, 55, 57, 96], Operations: []
Exploring Operation: 96-57=39, Resulting Numbers: [88, 55, 39]
Generated Node #0,0: 92:[88, 55, 39] Operation: 96-57=39
Exploring Operation: 57-55=2, Resulting Numbers: [88, 96, 2]
Generated Node #0,1: 92:[88, 96, 2] Operation: 57-55=2
Exploring Operation: 96-55=41, Resulting Numbers: [88, 57, 41]
Generated Node #0,2: 92:[88, 57, 41] Operation: 96-55=41
Moving to Node #0,1
Current State: 92:[88, 96, 2], Operations: ['57-55=2']
Exploring Operation: 88/2=44, Resulting Numbers: [96, 44]
Generated Node #0,1,0: 92:[96, 44] Operation: 88/2=44
Exploring Operation: 96-88=8, Resulting Numbers: [2, 8]
Generated Node #0,1,1: 92:[2, 8] Operation: 96-88=8
Exploring Operation: 88+2=90, Resulting Numbers: [96, 90]
Generated Node #0,1,2: 92:[96, 90] Operation: 88+2=90
Moving to Node #0,0
Current State: 92:[88, 55, 39], Operations: ['96-57=39']
Exploring Operation: 55+39=94, Resulting Numbers: [88, 94]
Generated Node #0,0,0: 92:[88, 94] Operation: 55+39=94
Exploring Operation: 55-39=16, Resulting Numbers: [88, 16]
Generated Node #0,0,1: 92:[88, 16] Operation: 55-39=16
Exploring Operation: 88-39=49, Resulting Numbers: [55, 49]
Generated Node #0,0,2: 92:[55, 49] Operation: 88-39=49
Moving to Node #0,2
Current State: 92:[88, 57, 41], Operations: ['96-55=41']
Exploring Operation: 88-41=47, Resulting Numbers: [57, 47]
Generated Node #0,2,0: 92:[57, 47] Operation: 88-41=47
Exploring Operation: 57-41=16, Resulting Numbers: [88, 16]
Generated Node #0,2,1: 92:[88, 16] Operation: 57-41=16
Exploring Operation: 57+41=98, Resulting Numbers: [88, 98]
Generated Node #0,2,2: 92:[88, 98] Operation: 57+41=98
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[88, 98], Operations: ['96-55=41', '57+41=98']
Exploring Operation: 88+98=186, Resulting Numbers: [186]
186,92 unequal: No Solution
Exploring Operation: 98-88=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 88*98=8624, Resulting Numbers: [8624]
8624,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[88, 16], Operations: ['96-55=41', '57-41=16']
Exploring Operation: 88*16=1408, Resulting Numbers: [1408]
1408,92 unequal: No Solution
Exploring Operation: 88+16=104, Resulting Numbers: [104]
104,92 unequal: No Solution
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[57, 47], Operations: ['96-55=41', '88-41=47']
Exploring Operation: 57+47=104, Resulting Numbers: [104]
104,92 unequal: No Solution
Exploring Operation: 57*47=2679, Resulting Numbers: [2679]
2679,92 unequal: No Solution
Exploring Operation: 57-47=10, Resulting Numbers: [10]
10,92 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: 92:[2, 8], Operations: ['57-55=2', '96-88=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[96, 90], Operations: ['57-55=2', '88+2=90']
Exploring Operation: 96+90=186, Resulting Numbers: [186]
186,92 unequal: No Solution
Exploring Operation: 96*90=8640, Resulting Numbers: [8640]
8640,92 unequal: No Solution
Exploring Operation: 96-90=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[96, 44], Operations: ['57-55=2', '88/2=44']
Exploring Operation: 96-44=52, Resulting Numbers: [52]
52,92 unequal: No Solution
Exploring Operation: 96+44=140, Resulting Numbers: [140]
140,92 unequal: No Solution
Exploring Operation: 96*44=4224, Resulting Numbers: [4224]
4224,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[88, 94], Operations: ['96-57=39', '55+39=94']
Exploring Operation: 88*94=8272, Resulting Numbers: [8272]
8272,92 unequal: No Solution
Exploring Operation: 94-88=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 88+94=182, Resulting Numbers: [182]
182,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[88, 16], Operations: ['96-57=39', '55-39=16']
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Exploring Operation: 88*16=1408, Resulting Numbers: [1408]
1408,92 unequal: No Solution
Exploring Operation: 88+16=104, Resulting Numbers: [104]
104,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[55, 49], Operations: ['96-57=39', '88-39=49']
Exploring Operation: 55+49=104, Resulting Numbers: [104]
104,92 unequal: No Solution
Exploring Operation: 55*49=2695, Resulting Numbers: [2695]
2695,92 unequal: No Solution
Exploring Operation: 55-49=6, Resulting Numbers: [6]
6,92 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
4,
18,
26,
63
] | 65 | [
"26-18=8",
"8/4=2",
"63+2=65"
] | Current State: 65:[4, 18, 26, 63], Operations: []
Exploring Operation: 26-18=8, Resulting Numbers: [4, 63, 8]
Generated Node #2: [4, 63, 8] from Operation: 26-18=8
Current State: 65:[4, 63, 8], Operations: ['26-18=8']
Exploring Operation: 8/4=2, Resulting Numbers: [63, 2]
Generated Node #3: [63, 2] from Operation: 8/4=2
Current State: 65:[63, 2], Operations: ['26-18=8', '8/4=2']
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[4, 18, 26, 63], Operations: []
Exploring Operation: 18-4=14, Resulting Numbers: [26, 63, 14]
Generated Node #0,0: 65:[26, 63, 14] Operation: 18-4=14
Exploring Operation: 26-18=8, Resulting Numbers: [4, 63, 8]
Generated Node #0,1: 65:[4, 63, 8] Operation: 26-18=8
Moving to Node #0,1
Current State: 65:[4, 63, 8], Operations: ['26-18=8']
Exploring Operation: 4+8=12, Resulting Numbers: [63, 12]
Generated Node #0,1,0: 65:[63, 12] Operation: 4+8=12
Exploring Operation: 8-4=4, Resulting Numbers: [63, 4]
Generated Node #0,1,1: 65:[63, 4] Operation: 8-4=4
Moving to Node #0,0
Current State: 65:[26, 63, 14], Operations: ['18-4=14']
Exploring Operation: 26+63=89, Resulting Numbers: [14, 89]
Generated Node #0,0,0: 65:[14, 89] Operation: 26+63=89
Exploring Operation: 26-14=12, Resulting Numbers: [63, 12]
Generated Node #0,0,1: 65:[63, 12] Operation: 26-14=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[63, 12], Operations: ['18-4=14', '26-14=12']
Exploring Operation: 63+12=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[14, 89], Operations: ['18-4=14', '26+63=89']
Exploring Operation: 89-14=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 14+89=103, Resulting Numbers: [103]
103,65 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: 65:[63, 12], Operations: ['26-18=8', '4+8=12']
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,65 unequal: No Solution
Exploring Operation: 63+12=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[63, 4], Operations: ['26-18=8', '8-4=4']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,65 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
39,
35,
27,
36
] | 59 | [
"39-35=4",
"27+36=63",
"63-4=59"
] | Current State: 59:[39, 35, 27, 36], Operations: []
Exploring Operation: 39-35=4, Resulting Numbers: [27, 36, 4]
Generated Node #2: [27, 36, 4] from Operation: 39-35=4
Current State: 59:[27, 36, 4], Operations: ['39-35=4']
Exploring Operation: 27+36=63, Resulting Numbers: [4, 63]
Generated Node #3: [4, 63] from Operation: 27+36=63
Current State: 59:[4, 63], Operations: ['39-35=4', '27+36=63']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[39, 35, 27, 36], Operations: []
Exploring Operation: 35+27=62, Resulting Numbers: [39, 36, 62]
Generated Node #0,0: 59:[39, 36, 62] Operation: 35+27=62
Exploring Operation: 27+36=63, Resulting Numbers: [39, 35, 63]
Generated Node #0,1: 59:[39, 35, 63] Operation: 27+36=63
Moving to Node #0,0
Current State: 59:[39, 36, 62], Operations: ['35+27=62']
Exploring Operation: 62-36=26, Resulting Numbers: [39, 26]
Generated Node #0,0,0: 59:[39, 26] Operation: 62-36=26
Exploring Operation: 39+36=75, Resulting Numbers: [62, 75]
Generated Node #0,0,1: 59:[62, 75] Operation: 39+36=75
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[62, 75], Operations: ['35+27=62', '39+36=75']
Exploring Operation: 75-62=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 62+75=137, Resulting Numbers: [137]
137,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[39, 26], Operations: ['35+27=62', '62-36=26']
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 39+26=65, Resulting Numbers: [65]
65,59 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: 59:[39, 35, 63], Operations: ['27+36=63']
Exploring Operation: 39+35=74, Resulting Numbers: [63, 74]
Generated Node #0,1,0: 59:[63, 74] Operation: 39+35=74
Exploring Operation: 63-35=28, Resulting Numbers: [39, 28]
Generated Node #0,1,1: 59:[39, 28] Operation: 63-35=28
Moving to Node #0,1,0
Current State: 59:[63, 74], Operations: ['27+36=63', '39+35=74']
Exploring Operation: 74-63=11, Resulting Numbers: [11]
11,59 unequal: No Solution
Exploring Operation: 63+74=137, Resulting Numbers: [137]
137,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[39, 28], Operations: ['27+36=63', '63-35=28']
Exploring Operation: 39+28=67, Resulting Numbers: [67]
67,59 unequal: No Solution
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,59 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
72,
77,
82,
52
] | 15 | [
"72+77=149",
"82+52=134",
"149-134=15"
] | Current State: 15:[72, 77, 82, 52], Operations: []
Exploring Operation: 72+77=149, Resulting Numbers: [82, 52, 149]
Generated Node #2: [82, 52, 149] from Operation: 72+77=149
Current State: 15:[82, 52, 149], Operations: ['72+77=149']
Exploring Operation: 82+52=134, Resulting Numbers: [149, 134]
Generated Node #3: [149, 134] from Operation: 82+52=134
Current State: 15:[149, 134], Operations: ['72+77=149', '82+52=134']
Exploring Operation: 149-134=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[72, 77, 82, 52], Operations: []
Exploring Operation: 82-77=5, Resulting Numbers: [72, 52, 5]
Generated Node #0,0: 15:[72, 52, 5] Operation: 82-77=5
Exploring Operation: 82-72=10, Resulting Numbers: [77, 52, 10]
Generated Node #0,1: 15:[77, 52, 10] Operation: 82-72=10
Exploring Operation: 77-72=5, Resulting Numbers: [82, 52, 5]
Generated Node #0,2: 15:[82, 52, 5] Operation: 77-72=5
Exploring Operation: 77-52=25, Resulting Numbers: [72, 82, 25]
Generated Node #0,3: 15:[72, 82, 25] Operation: 77-52=25
Exploring Operation: 72-52=20, Resulting Numbers: [77, 82, 20]
Generated Node #0,4: 15:[77, 82, 20] Operation: 72-52=20
Moving to Node #0,0
Current State: 15:[72, 52, 5], Operations: ['82-77=5']
Exploring Operation: 52-5=47, Resulting Numbers: [72, 47]
Generated Node #0,0,0: 15:[72, 47] Operation: 52-5=47
Exploring Operation: 72-5=67, Resulting Numbers: [52, 67]
Generated Node #0,0,1: 15:[52, 67] Operation: 72-5=67
Exploring Operation: 72-52=20, Resulting Numbers: [5, 20]
Generated Node #0,0,2: 15:[5, 20] Operation: 72-52=20
Exploring Operation: 72+5=77, Resulting Numbers: [52, 77]
Generated Node #0,0,3: 15:[52, 77] Operation: 72+5=77
Exploring Operation: 52+5=57, Resulting Numbers: [72, 57]
Generated Node #0,0,4: 15:[72, 57] Operation: 52+5=57
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 15:[5, 20], Operations: ['82-77=5', '72-52=20']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[72, 77, 82, 52], Operations: []
Exploring Operation: 82-77=5, Resulting Numbers: [72, 52, 5]
Generated Node #0,0: 15:[72, 52, 5] Operation: 82-77=5
Moving to Node #0,0
Current State: 15:[72, 52, 5], Operations: ['82-77=5']
Exploring Operation: 72-52=20, Resulting Numbers: [5, 20]
Generated Node #0,0,2: 15:[5, 20] Operation: 72-52=20
Moving to Node #0,0,2
Current State: 15:[5, 20], Operations: ['82-77=5', '72-52=20']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
45,
3,
13,
76
] | 82 | [
"45+76=121",
"3*13=39",
"121-39=82"
] | Current State: 82:[45, 3, 13, 76], Operations: []
Exploring Operation: 45+76=121, Resulting Numbers: [3, 13, 121]
Generated Node #2: [3, 13, 121] from Operation: 45+76=121
Current State: 82:[3, 13, 121], Operations: ['45+76=121']
Exploring Operation: 3*13=39, Resulting Numbers: [121, 39]
Generated Node #3: [121, 39] from Operation: 3*13=39
Current State: 82:[121, 39], Operations: ['45+76=121', '3*13=39']
Exploring Operation: 121-39=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[45, 3, 13, 76], Operations: []
Exploring Operation: 45-3=42, Resulting Numbers: [13, 76, 42]
Generated Node #0,0: 82:[13, 76, 42] Operation: 45-3=42
Exploring Operation: 3*13=39, Resulting Numbers: [45, 76, 39]
Generated Node #0,1: 82:[45, 76, 39] Operation: 3*13=39
Exploring Operation: 13+76=89, Resulting Numbers: [45, 3, 89]
Generated Node #0,2: 82:[45, 3, 89] Operation: 13+76=89
Exploring Operation: 45-13=32, Resulting Numbers: [3, 76, 32]
Generated Node #0,3: 82:[3, 76, 32] Operation: 45-13=32
Exploring Operation: 13-3=10, Resulting Numbers: [45, 76, 10]
Generated Node #0,4: 82:[45, 76, 10] Operation: 13-3=10
Moving to Node #0,1
Current State: 82:[45, 76, 39], Operations: ['3*13=39']
Exploring Operation: 76-45=31, Resulting Numbers: [39, 31]
Generated Node #0,1,0: 82:[39, 31] Operation: 76-45=31
Exploring Operation: 76+39=115, Resulting Numbers: [45, 115]
Generated Node #0,1,1: 82:[45, 115] Operation: 76+39=115
Exploring Operation: 45-39=6, Resulting Numbers: [76, 6]
Generated Node #0,1,2: 82:[76, 6] Operation: 45-39=6
Exploring Operation: 76-39=37, Resulting Numbers: [45, 37]
Generated Node #0,1,3: 82:[45, 37] Operation: 76-39=37
Exploring Operation: 45+39=84, Resulting Numbers: [76, 84]
Generated Node #0,1,4: 82:[76, 84] Operation: 45+39=84
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 82:[45, 37], Operations: ['3*13=39', '76-39=37']
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[45, 3, 13, 76], Operations: []
Exploring Operation: 3*13=39, Resulting Numbers: [45, 76, 39]
Generated Node #0,1: 82:[45, 76, 39] Operation: 3*13=39
Moving to Node #0,1
Current State: 82:[45, 76, 39], Operations: ['3*13=39']
Exploring Operation: 76-39=37, Resulting Numbers: [45, 37]
Generated Node #0,1,3: 82:[45, 37] Operation: 76-39=37
Moving to Node #0,1,3
Current State: 82:[45, 37], Operations: ['3*13=39', '76-39=37']
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
1,
90,
82,
22
] | 30 | [
"1*90=90",
"82-22=60",
"90-60=30"
] | Current State: 30:[1, 90, 82, 22], Operations: []
Exploring Operation: 1*90=90, Resulting Numbers: [82, 22, 90]
Generated Node #2: [82, 22, 90] from Operation: 1*90=90
Current State: 30:[82, 22, 90], Operations: ['1*90=90']
Exploring Operation: 82-22=60, Resulting Numbers: [90, 60]
Generated Node #3: [90, 60] from Operation: 82-22=60
Current State: 30:[90, 60], Operations: ['1*90=90', '82-22=60']
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[1, 90, 82, 22], Operations: []
Exploring Operation: 90-82=8, Resulting Numbers: [1, 22, 8]
Generated Node #0,0: 30:[1, 22, 8] Operation: 90-82=8
Exploring Operation: 90-22=68, Resulting Numbers: [1, 82, 68]
Generated Node #0,1: 30:[1, 82, 68] Operation: 90-22=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[1, 22, 8], Operations: ['90-82=8']
Exploring Operation: 22-8=14, Resulting Numbers: [1, 14]
Generated Node #0,0,0: 30:[1, 14] Operation: 22-8=14
Exploring Operation: 22+8=30, Resulting Numbers: [1, 30]
Generated Node #0,0,1: 30:[1, 30] Operation: 22+8=30
Moving to Node #0,0,1
Current State: 30:[1, 30], Operations: ['90-82=8', '22+8=30']
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[1, 90, 82, 22], Operations: []
Exploring Operation: 90-82=8, Resulting Numbers: [1, 22, 8]
Generated Node #0,0: 30:[1, 22, 8] Operation: 90-82=8
Moving to Node #0,0
Current State: 30:[1, 22, 8], Operations: ['90-82=8']
Exploring Operation: 22+8=30, Resulting Numbers: [1, 30]
Generated Node #0,0,1: 30:[1, 30] Operation: 22+8=30
Moving to Node #0,0,1
Current State: 30:[1, 30], Operations: ['90-82=8', '22+8=30']
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
24,
85,
28,
6
] | 87 | [
"24+85=109",
"28-6=22",
"109-22=87"
] | Current State: 87:[24, 85, 28, 6], Operations: []
Exploring Operation: 24+85=109, Resulting Numbers: [28, 6, 109]
Generated Node #2: [28, 6, 109] from Operation: 24+85=109
Current State: 87:[28, 6, 109], Operations: ['24+85=109']
Exploring Operation: 28-6=22, Resulting Numbers: [109, 22]
Generated Node #3: [109, 22] from Operation: 28-6=22
Current State: 87:[109, 22], Operations: ['24+85=109', '28-6=22']
Exploring Operation: 109-22=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[24, 85, 28, 6], Operations: []
Exploring Operation: 28-24=4, Resulting Numbers: [85, 6, 4]
Generated Node #0,0: 87:[85, 6, 4] Operation: 28-24=4
Exploring Operation: 24+6=30, Resulting Numbers: [85, 28, 30]
Generated Node #0,1: 87:[85, 28, 30] Operation: 24+6=30
Exploring Operation: 24/6=4, Resulting Numbers: [85, 28, 4]
Generated Node #0,2: 87:[85, 28, 4] Operation: 24/6=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[85, 28, 30], Operations: ['24+6=30']
Exploring Operation: 30-28=2, Resulting Numbers: [85, 2]
Generated Node #0,1,0: 87:[85, 2] Operation: 30-28=2
Exploring Operation: 85+28=113, Resulting Numbers: [30, 113]
Generated Node #0,1,1: 87:[30, 113] Operation: 85+28=113
Exploring Operation: 85-30=55, Resulting Numbers: [28, 55]
Generated Node #0,1,2: 87:[28, 55] Operation: 85-30=55
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 87:[85, 2], Operations: ['24+6=30', '30-28=2']
Exploring Operation: 85*2=170, Resulting Numbers: [170]
170,87 unequal: No Solution
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[24, 85, 28, 6], Operations: []
Exploring Operation: 24+6=30, Resulting Numbers: [85, 28, 30]
Generated Node #0,1: 87:[85, 28, 30] Operation: 24+6=30
Moving to Node #0,1
Current State: 87:[85, 28, 30], Operations: ['24+6=30']
Exploring Operation: 30-28=2, Resulting Numbers: [85, 2]
Generated Node #0,1,0: 87:[85, 2] Operation: 30-28=2
Moving to Node #0,1,0
Current State: 87:[85, 2], Operations: ['24+6=30', '30-28=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
57,
94,
44,
65
] | 72 | [
"94-57=37",
"44+65=109",
"109-37=72"
] | Current State: 72:[57, 94, 44, 65], Operations: []
Exploring Operation: 94-57=37, Resulting Numbers: [44, 65, 37]
Generated Node #2: [44, 65, 37] from Operation: 94-57=37
Current State: 72:[44, 65, 37], Operations: ['94-57=37']
Exploring Operation: 44+65=109, Resulting Numbers: [37, 109]
Generated Node #3: [37, 109] from Operation: 44+65=109
Current State: 72:[37, 109], Operations: ['94-57=37', '44+65=109']
Exploring Operation: 109-37=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[57, 94, 44, 65], Operations: []
Exploring Operation: 94-57=37, Resulting Numbers: [44, 65, 37]
Generated Node #0,0: 72:[44, 65, 37] Operation: 94-57=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[44, 65, 37], Operations: ['94-57=37']
Exploring Operation: 65-44=21, Resulting Numbers: [37, 21]
Generated Node #0,0,0: 72:[37, 21] Operation: 65-44=21
Moving to Node #0,0,0
Current State: 72:[37, 21], Operations: ['94-57=37', '65-44=21']
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
66,
57,
69,
40
] | 59 | [
"69-66=3",
"57/3=19",
"40+19=59"
] | Current State: 59:[66, 57, 69, 40], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [57, 40, 3]
Generated Node #2: [57, 40, 3] from Operation: 69-66=3
Current State: 59:[57, 40, 3], Operations: ['69-66=3']
Exploring Operation: 57/3=19, Resulting Numbers: [40, 19]
Generated Node #3: [40, 19] from Operation: 57/3=19
Current State: 59:[40, 19], Operations: ['69-66=3', '57/3=19']
Exploring Operation: 40+19=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[66, 57, 69, 40], Operations: []
Exploring Operation: 69-40=29, Resulting Numbers: [66, 57, 29]
Generated Node #0,0: 59:[66, 57, 29] Operation: 69-40=29
Exploring Operation: 66-40=26, Resulting Numbers: [57, 69, 26]
Generated Node #0,1: 59:[57, 69, 26] Operation: 66-40=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[66, 57, 29], Operations: ['69-40=29']
Exploring Operation: 66-29=37, Resulting Numbers: [57, 37]
Generated Node #0,0,0: 59:[57, 37] Operation: 66-29=37
Exploring Operation: 57+29=86, Resulting Numbers: [66, 86]
Generated Node #0,0,1: 59:[66, 86] Operation: 57+29=86
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[57, 37], Operations: ['69-40=29', '66-29=37']
Exploring Operation: 57-37=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 57+37=94, Resulting Numbers: [94]
94,59 unequal: No Solution
No 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: 59:[66, 86], Operations: ['69-40=29', '57+29=86']
Exploring Operation: 66+86=152, Resulting Numbers: [152]
152,59 unequal: No Solution
Exploring Operation: 86-66=20, Resulting Numbers: [20]
20,59 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: 59:[57, 69, 26], Operations: ['66-40=26']
Exploring Operation: 69-26=43, Resulting Numbers: [57, 43]
Generated Node #0,1,0: 59:[57, 43] Operation: 69-26=43
Exploring Operation: 57+26=83, Resulting Numbers: [69, 83]
Generated Node #0,1,1: 59:[69, 83] Operation: 57+26=83
Moving to Node #0,1,0
Current State: 59:[57, 43], Operations: ['66-40=26', '69-26=43']
Exploring Operation: 57+43=100, Resulting Numbers: [100]
100,59 unequal: No Solution
Exploring Operation: 57-43=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[69, 83], Operations: ['66-40=26', '57+26=83']
Exploring Operation: 69+83=152, Resulting Numbers: [152]
152,59 unequal: No Solution
Exploring Operation: 83-69=14, Resulting Numbers: [14]
14,59 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 |
[
63,
88,
54,
61
] | 97 | [
"61-54=7",
"63/7=9",
"88+9=97"
] | Current State: 97:[63, 88, 54, 61], Operations: []
Exploring Operation: 61-54=7, Resulting Numbers: [63, 88, 7]
Generated Node #2: [63, 88, 7] from Operation: 61-54=7
Current State: 97:[63, 88, 7], Operations: ['61-54=7']
Exploring Operation: 63/7=9, Resulting Numbers: [88, 9]
Generated Node #3: [88, 9] from Operation: 63/7=9
Current State: 97:[88, 9], Operations: ['61-54=7', '63/7=9']
Exploring Operation: 88+9=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[63, 88, 54, 61], Operations: []
Exploring Operation: 63+54=117, Resulting Numbers: [88, 61, 117]
Generated Node #0,0: 97:[88, 61, 117] Operation: 63+54=117
Exploring Operation: 88+61=149, Resulting Numbers: [63, 54, 149]
Generated Node #0,1: 97:[63, 54, 149] Operation: 88+61=149
Exploring Operation: 54+61=115, Resulting Numbers: [63, 88, 115]
Generated Node #0,2: 97:[63, 88, 115] Operation: 54+61=115
Exploring Operation: 88+54=142, Resulting Numbers: [63, 61, 142]
Generated Node #0,3: 97:[63, 61, 142] Operation: 88+54=142
Exploring Operation: 63+61=124, Resulting Numbers: [88, 54, 124]
Generated Node #0,4: 97:[88, 54, 124] Operation: 63+61=124
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[63, 88, 115], Operations: ['54+61=115']
Exploring Operation: 115-63=52, Resulting Numbers: [88, 52]
Generated Node #0,2,0: 97:[88, 52] Operation: 115-63=52
Exploring Operation: 88-63=25, Resulting Numbers: [115, 25]
Generated Node #0,2,1: 97:[115, 25] Operation: 88-63=25
Exploring Operation: 63+88=151, Resulting Numbers: [115, 151]
Generated Node #0,2,2: 97:[115, 151] Operation: 63+88=151
Exploring Operation: 63+115=178, Resulting Numbers: [88, 178]
Generated Node #0,2,3: 97:[88, 178] Operation: 63+115=178
Exploring Operation: 115-88=27, Resulting Numbers: [63, 27]
Generated Node #0,2,4: 97:[63, 27] Operation: 115-88=27
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 97:[88, 52], Operations: ['54+61=115', '115-63=52']
Exploring Operation: 88*52=4576, Resulting Numbers: [4576]
4576,97 unequal: No Solution
Exploring Operation: 88-52=36, Resulting Numbers: [36]
36,97 unequal: No Solution
Exploring Operation: 88+52=140, Resulting Numbers: [140]
140,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:[115, 151], Operations: ['54+61=115', '63+88=151']
Exploring Operation: 115+151=266, Resulting Numbers: [266]
266,97 unequal: No Solution
Exploring Operation: 151-115=36, Resulting Numbers: [36]
36,97 unequal: No Solution
Exploring Operation: 115*151=17365, Resulting Numbers: [17365]
17365,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,1
Current State: 97:[115, 25], Operations: ['54+61=115', '88-63=25']
Exploring Operation: 115+25=140, Resulting Numbers: [140]
140,97 unequal: No Solution
Exploring Operation: 115*25=2875, Resulting Numbers: [2875]
2875,97 unequal: No Solution
Exploring Operation: 115-25=90, Resulting Numbers: [90]
90,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:[88, 178], Operations: ['54+61=115', '63+115=178']
Exploring Operation: 178-88=90, Resulting Numbers: [90]
90,97 unequal: No Solution
Exploring Operation: 88*178=15664, Resulting Numbers: [15664]
15664,97 unequal: No Solution
Exploring Operation: 88+178=266, Resulting Numbers: [266]
266,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,4
Current State: 97:[63, 27], Operations: ['54+61=115', '115-88=27']
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,97 unequal: No Solution
Exploring Operation: 63+27=90, Resulting Numbers: [90]
90,97 unequal: No Solution
Exploring Operation: 63*27=1701, Resulting Numbers: [1701]
1701,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,0
Current State: 97:[88, 61, 117], Operations: ['63+54=117']
Exploring Operation: 117-88=29, Resulting Numbers: [61, 29]
Generated Node #0,0,0: 97:[61, 29] Operation: 117-88=29
Exploring Operation: 88-61=27, Resulting Numbers: [117, 27]
Generated Node #0,0,1: 97:[117, 27] Operation: 88-61=27
Exploring Operation: 117-61=56, Resulting Numbers: [88, 56]
Generated Node #0,0,2: 97:[88, 56] Operation: 117-61=56
Exploring Operation: 61+117=178, Resulting Numbers: [88, 178]
Generated Node #0,0,3: 97:[88, 178] Operation: 61+117=178
Exploring Operation: 88+61=149, Resulting Numbers: [117, 149]
Generated Node #0,0,4: 97:[117, 149] Operation: 88+61=149
Moving to Node #0,0,2
Current State: 97:[88, 56], Operations: ['63+54=117', '117-61=56']
Exploring Operation: 88+56=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Exploring Operation: 88-56=32, Resulting Numbers: [32]
32,97 unequal: No Solution
Exploring Operation: 88*56=4928, Resulting Numbers: [4928]
4928,97 unequal: No Solution
Moving to Node #0,0,4
Current State: 97:[117, 149], Operations: ['63+54=117', '88+61=149']
Exploring Operation: 149-117=32, Resulting Numbers: [32]
32,97 unequal: No Solution
Exploring Operation: 117*149=17433, Resulting Numbers: [17433]
17433,97 unequal: No Solution
Exploring Operation: 117+149=266, Resulting Numbers: [266]
266,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[117, 27], Operations: ['63+54=117', '88-61=27']
Exploring Operation: 117-27=90, Resulting Numbers: [90]
90,97 unequal: No Solution
Exploring Operation: 117*27=3159, Resulting Numbers: [3159]
3159,97 unequal: No Solution
Exploring Operation: 117+27=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[88, 178], Operations: ['63+54=117', '61+117=178']
Exploring Operation: 88+178=266, Resulting Numbers: [266]
266,97 unequal: No Solution
Exploring Operation: 178-88=90, Resulting Numbers: [90]
90,97 unequal: No Solution
Exploring Operation: 88*178=15664, Resulting Numbers: [15664]
15664,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[61, 29], Operations: ['63+54=117', '117-88=29']
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,97 unequal: No Solution
Exploring Operation: 61+29=90, Resulting Numbers: [90]
90,97 unequal: No Solution
Exploring Operation: 61*29=1769, Resulting Numbers: [1769]
1769,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,4
Current State: 97:[88, 54, 124], Operations: ['63+61=124']
Exploring Operation: 88-54=34, Resulting Numbers: [124, 34]
Generated Node #0,4,0: 97:[124, 34] Operation: 88-54=34
Exploring Operation: 124-54=70, Resulting Numbers: [88, 70]
Generated Node #0,4,1: 97:[88, 70] Operation: 124-54=70
Exploring Operation: 124-88=36, Resulting Numbers: [54, 36]
Generated Node #0,4,2: 97:[54, 36] Operation: 124-88=36
Exploring Operation: 88+54=142, Resulting Numbers: [124, 142]
Generated Node #0,4,3: 97:[124, 142] Operation: 88+54=142
Exploring Operation: 54+124=178, Resulting Numbers: [88, 178]
Generated Node #0,4,4: 97:[88, 178] Operation: 54+124=178
Moving to Node #0,4,1
Current State: 97:[88, 70], Operations: ['63+61=124', '124-54=70']
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Exploring Operation: 88+70=158, Resulting Numbers: [158]
158,97 unequal: No Solution
Exploring Operation: 88*70=6160, Resulting Numbers: [6160]
6160,97 unequal: No Solution
Moving to Node #0,4,3
Current State: 97:[124, 142], Operations: ['63+61=124', '88+54=142']
Exploring Operation: 124*142=17608, Resulting Numbers: [17608]
17608,97 unequal: No Solution
Exploring Operation: 142-124=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Exploring Operation: 124+142=266, Resulting Numbers: [266]
266,97 unequal: No Solution
Moving to Node #0,4,0
Current State: 97:[124, 34], Operations: ['63+61=124', '88-54=34']
Exploring Operation: 124*34=4216, Resulting Numbers: [4216]
4216,97 unequal: No Solution
Exploring Operation: 124+34=158, Resulting Numbers: [158]
158,97 unequal: No Solution
Exploring Operation: 124-34=90, Resulting Numbers: [90]
90,97 unequal: No Solution
Moving to Node #0,4,4
Current State: 97:[88, 178], Operations: ['63+61=124', '54+124=178']
Exploring Operation: 88+178=266, Resulting Numbers: [266]
266,97 unequal: No Solution
Exploring Operation: 178-88=90, Resulting Numbers: [90]
90,97 unequal: No Solution
Exploring Operation: 88*178=15664, Resulting Numbers: [15664]
15664,97 unequal: No Solution
Moving to Node #0,4,2
Current State: 97:[54, 36], Operations: ['63+61=124', '124-88=36']
Exploring Operation: 54*36=1944, Resulting Numbers: [1944]
1944,97 unequal: No Solution
Exploring Operation: 54+36=90, Resulting Numbers: [90]
90,97 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,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,3
Current State: 97:[63, 61, 142], Operations: ['88+54=142']
Exploring Operation: 63+61=124, Resulting Numbers: [142, 124]
Generated Node #0,3,0: 97:[142, 124] Operation: 63+61=124
Exploring Operation: 142-61=81, Resulting Numbers: [63, 81]
Generated Node #0,3,1: 97:[63, 81] Operation: 142-61=81
Exploring Operation: 63-61=2, Resulting Numbers: [142, 2]
Generated Node #0,3,2: 97:[142, 2] Operation: 63-61=2
Exploring Operation: 142-63=79, Resulting Numbers: [61, 79]
Generated Node #0,3,3: 97:[61, 79] Operation: 142-63=79
Exploring Operation: 61+142=203, Resulting Numbers: [63, 203]
Generated Node #0,3,4: 97:[63, 203] Operation: 61+142=203
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 97:[63, 81], Operations: ['88+54=142', '142-61=81']
Exploring Operation: 81-63=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Exploring Operation: 63+81=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Exploring Operation: 63*81=5103, Resulting Numbers: [5103]
5103,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,3,3
Current State: 97:[61, 79], Operations: ['88+54=142', '142-63=79']
Exploring Operation: 61+79=140, Resulting Numbers: [140]
140,97 unequal: No Solution
Exploring Operation: 61*79=4819, Resulting Numbers: [4819]
4819,97 unequal: No Solution
Exploring Operation: 79-61=18, Resulting Numbers: [18]
18,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,3,0
Current State: 97:[142, 124], Operations: ['88+54=142', '63+61=124']
Exploring Operation: 142-124=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Exploring Operation: 142+124=266, Resulting Numbers: [266]
266,97 unequal: No Solution
Exploring Operation: 142*124=17608, Resulting Numbers: [17608]
17608,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,3,2
Current State: 97:[142, 2], Operations: ['88+54=142', '63-61=2']
Exploring Operation: 142+2=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Exploring Operation: 142/2=71, Resulting Numbers: [71]
71,97 unequal: No Solution
Exploring Operation: 142*2=284, Resulting Numbers: [284]
284,97 unequal: No Solution
Exploring Operation: 142-2=140, Resulting Numbers: [140]
140,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,3,4
Current State: 97:[63, 203], Operations: ['88+54=142', '61+142=203']
Exploring Operation: 203-63=140, Resulting Numbers: [140]
140,97 unequal: No Solution
Exploring Operation: 63*203=12789, Resulting Numbers: [12789]
12789,97 unequal: No Solution
Exploring Operation: 63+203=266, Resulting Numbers: [266]
266,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,1
Current State: 97:[63, 54, 149], Operations: ['88+61=149']
Exploring Operation: 54+149=203, Resulting Numbers: [63, 203]
Generated Node #0,1,0: 97:[63, 203] Operation: 54+149=203
Exploring Operation: 149-54=95, Resulting Numbers: [63, 95]
Generated Node #0,1,1: 97:[63, 95] Operation: 149-54=95
Exploring Operation: 63+54=117, Resulting Numbers: [149, 117]
Generated Node #0,1,2: 97:[149, 117] Operation: 63+54=117
Exploring Operation: 63-54=9, Resulting Numbers: [149, 9]
Generated Node #0,1,3: 97:[149, 9] Operation: 63-54=9
Exploring Operation: 149-63=86, Resulting Numbers: [54, 86]
Generated Node #0,1,4: 97:[54, 86] Operation: 149-63=86
Moving to Node #0,1,1
Current State: 97:[63, 95], Operations: ['88+61=149', '149-54=95']
Exploring Operation: 63*95=5985, Resulting Numbers: [5985]
5985,97 unequal: No Solution
Exploring Operation: 95-63=32, Resulting Numbers: [32]
32,97 unequal: No Solution
Exploring Operation: 63+95=158, Resulting Numbers: [158]
158,97 unequal: No Solution
Moving to Node #0,1,4
Current State: 97:[54, 86], Operations: ['88+61=149', '149-63=86']
Exploring Operation: 86-54=32, Resulting Numbers: [32]
32,97 unequal: No Solution
Exploring Operation: 54*86=4644, Resulting Numbers: [4644]
4644,97 unequal: No Solution
Exploring Operation: 54+86=140, Resulting Numbers: [140]
140,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[149, 117], Operations: ['88+61=149', '63+54=117']
Exploring Operation: 149-117=32, Resulting Numbers: [32]
32,97 unequal: No Solution
Exploring Operation: 149*117=17433, Resulting Numbers: [17433]
17433,97 unequal: No Solution
Exploring Operation: 149+117=266, Resulting Numbers: [266]
266,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[63, 203], Operations: ['88+61=149', '54+149=203']
Exploring Operation: 63*203=12789, Resulting Numbers: [12789]
12789,97 unequal: No Solution
Exploring Operation: 203-63=140, Resulting Numbers: [140]
140,97 unequal: No Solution
Exploring Operation: 63+203=266, Resulting Numbers: [266]
266,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[149, 9], Operations: ['88+61=149', '63-54=9']
Exploring Operation: 149*9=1341, Resulting Numbers: [1341]
1341,97 unequal: No Solution
Exploring Operation: 149+9=158, Resulting Numbers: [158]
158,97 unequal: No Solution
Exploring Operation: 149-9=140, Resulting Numbers: [140]
140,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
36,
58,
76,
79
] | 70 | [
"79-76=3",
"36/3=12",
"58+12=70"
] | Current State: 70:[36, 58, 76, 79], Operations: []
Exploring Operation: 79-76=3, Resulting Numbers: [36, 58, 3]
Generated Node #2: [36, 58, 3] from Operation: 79-76=3
Current State: 70:[36, 58, 3], Operations: ['79-76=3']
Exploring Operation: 36/3=12, Resulting Numbers: [58, 12]
Generated Node #3: [58, 12] from Operation: 36/3=12
Current State: 70:[58, 12], Operations: ['79-76=3', '36/3=12']
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[36, 58, 76, 79], Operations: []
Exploring Operation: 76-58=18, Resulting Numbers: [36, 79, 18]
Generated Node #0,0: 70:[36, 79, 18] Operation: 76-58=18
Moving to Node #0,0
Current State: 70:[36, 79, 18], Operations: ['76-58=18']
Exploring Operation: 36/18=2, Resulting Numbers: [79, 2]
Generated Node #0,0,0: 70:[79, 2] Operation: 36/18=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[79, 2], Operations: ['76-58=18', '36/18=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
91,
38,
19,
61
] | 28 | [
"91-61=30",
"38/19=2",
"30-2=28"
] | Current State: 28:[91, 38, 19, 61], Operations: []
Exploring Operation: 91-61=30, Resulting Numbers: [38, 19, 30]
Generated Node #2: [38, 19, 30] from Operation: 91-61=30
Current State: 28:[38, 19, 30], Operations: ['91-61=30']
Exploring Operation: 38/19=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 38/19=2
Current State: 28:[30, 2], Operations: ['91-61=30', '38/19=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[91, 38, 19, 61], Operations: []
Exploring Operation: 61-38=23, Resulting Numbers: [91, 19, 23]
Generated Node #0,0: 28:[91, 19, 23] Operation: 61-38=23
Exploring Operation: 91-38=53, Resulting Numbers: [19, 61, 53]
Generated Node #0,1: 28:[19, 61, 53] Operation: 91-38=53
Exploring Operation: 91-61=30, Resulting Numbers: [38, 19, 30]
Generated Node #0,2: 28:[38, 19, 30] Operation: 91-61=30
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[38, 19, 30], Operations: ['91-61=30']
Exploring Operation: 38-30=8, Resulting Numbers: [19, 8]
Generated Node #0,2,0: 28:[19, 8] Operation: 38-30=8
Exploring Operation: 38/19=2, Resulting Numbers: [30, 2]
Generated Node #0,2,1: 28:[30, 2] Operation: 38/19=2
Exploring Operation: 38-19=19, Resulting Numbers: [30, 19]
Generated Node #0,2,2: 28:[30, 19] Operation: 38-19=19
Moving to Node #0,2,1
Current State: 28:[30, 2], Operations: ['91-61=30', '38/19=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[91, 38, 19, 61], Operations: []
Exploring Operation: 91-61=30, Resulting Numbers: [38, 19, 30]
Generated Node #0,2: 28:[38, 19, 30] Operation: 91-61=30
Moving to Node #0,2
Current State: 28:[38, 19, 30], Operations: ['91-61=30']
Exploring Operation: 38/19=2, Resulting Numbers: [30, 2]
Generated Node #0,2,1: 28:[30, 2] Operation: 38/19=2
Moving to Node #0,2,1
Current State: 28:[30, 2], Operations: ['91-61=30', '38/19=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
78,
39,
57,
69
] | 27 | [
"78-39=39",
"69-57=12",
"39-12=27"
] | Current State: 27:[78, 39, 57, 69], Operations: []
Exploring Operation: 78-39=39, Resulting Numbers: [57, 69, 39]
Generated Node #2: [57, 69, 39] from Operation: 78-39=39
Current State: 27:[57, 69, 39], Operations: ['78-39=39']
Exploring Operation: 69-57=12, Resulting Numbers: [39, 12]
Generated Node #3: [39, 12] from Operation: 69-57=12
Current State: 27:[39, 12], Operations: ['78-39=39', '69-57=12']
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[78, 39, 57, 69], Operations: []
Exploring Operation: 78-69=9, Resulting Numbers: [39, 57, 9]
Generated Node #0,0: 27:[39, 57, 9] Operation: 78-69=9
Moving to Node #0,0
Current State: 27:[39, 57, 9], Operations: ['78-69=9']
Exploring Operation: 57-39=18, Resulting Numbers: [9, 18]
Generated Node #0,0,0: 27:[9, 18] Operation: 57-39=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[9, 18], Operations: ['78-69=9', '57-39=18']
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[78, 39, 57, 69], Operations: []
Exploring Operation: 78-69=9, Resulting Numbers: [39, 57, 9]
Generated Node #0,0: 27:[39, 57, 9] Operation: 78-69=9
Moving to Node #0,0
Current State: 27:[39, 57, 9], Operations: ['78-69=9']
Exploring Operation: 57-39=18, Resulting Numbers: [9, 18]
Generated Node #0,0,0: 27:[9, 18] Operation: 57-39=18
Moving to Node #0,0,0
Current State: 27:[9, 18], Operations: ['78-69=9', '57-39=18']
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
80,
6,
94,
42
] | 18 | [
"94-80=14",
"6*42=252",
"252/14=18"
] | Current State: 18:[80, 6, 94, 42], Operations: []
Exploring Operation: 94-80=14, Resulting Numbers: [6, 42, 14]
Generated Node #2: [6, 42, 14] from Operation: 94-80=14
Current State: 18:[6, 42, 14], Operations: ['94-80=14']
Exploring Operation: 6*42=252, Resulting Numbers: [14, 252]
Generated Node #3: [14, 252] from Operation: 6*42=252
Current State: 18:[14, 252], Operations: ['94-80=14', '6*42=252']
Exploring Operation: 252/14=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[80, 6, 94, 42], Operations: []
Exploring Operation: 94-80=14, Resulting Numbers: [6, 42, 14]
Generated Node #0,0: 18:[6, 42, 14] Operation: 94-80=14
Exploring Operation: 94-42=52, Resulting Numbers: [80, 6, 52]
Generated Node #0,1: 18:[80, 6, 52] Operation: 94-42=52
Exploring Operation: 80-42=38, Resulting Numbers: [6, 94, 38]
Generated Node #0,2: 18:[6, 94, 38] Operation: 80-42=38
Moving to Node #0,0
Current State: 18:[6, 42, 14], Operations: ['94-80=14']
Exploring Operation: 42/6=7, Resulting Numbers: [14, 7]
Generated Node #0,0,0: 18:[14, 7] Operation: 42/6=7
Exploring Operation: 42/14=3, Resulting Numbers: [6, 3]
Generated Node #0,0,1: 18:[6, 3] Operation: 42/14=3
Exploring Operation: 42-14=28, Resulting Numbers: [6, 28]
Generated Node #0,0,2: 18:[6, 28] Operation: 42-14=28
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[6, 3], Operations: ['94-80=14', '42/14=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[80, 6, 94, 42], Operations: []
Exploring Operation: 94-80=14, Resulting Numbers: [6, 42, 14]
Generated Node #0,0: 18:[6, 42, 14] Operation: 94-80=14
Moving to Node #0,0
Current State: 18:[6, 42, 14], Operations: ['94-80=14']
Exploring Operation: 42/14=3, Resulting Numbers: [6, 3]
Generated Node #0,0,1: 18:[6, 3] Operation: 42/14=3
Moving to Node #0,0,1
Current State: 18:[6, 3], Operations: ['94-80=14', '42/14=3']
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
18,
82,
88,
39
] | 36 | [
"88-82=6",
"18/6=3",
"39-3=36"
] | Current State: 36:[18, 82, 88, 39], Operations: []
Exploring Operation: 88-82=6, Resulting Numbers: [18, 39, 6]
Generated Node #2: [18, 39, 6] from Operation: 88-82=6
Current State: 36:[18, 39, 6], Operations: ['88-82=6']
Exploring Operation: 18/6=3, Resulting Numbers: [39, 3]
Generated Node #3: [39, 3] from Operation: 18/6=3
Current State: 36:[39, 3], Operations: ['88-82=6', '18/6=3']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[18, 82, 88, 39], Operations: []
Exploring Operation: 82-18=64, Resulting Numbers: [88, 39, 64]
Generated Node #0,0: 36:[88, 39, 64] Operation: 82-18=64
Exploring Operation: 88-18=70, Resulting Numbers: [82, 39, 70]
Generated Node #0,1: 36:[82, 39, 70] Operation: 88-18=70
Exploring Operation: 88-82=6, Resulting Numbers: [18, 39, 6]
Generated Node #0,2: 36:[18, 39, 6] Operation: 88-82=6
Exploring Operation: 82-39=43, Resulting Numbers: [18, 88, 43]
Generated Node #0,3: 36:[18, 88, 43] Operation: 82-39=43
Exploring Operation: 88-39=49, Resulting Numbers: [18, 82, 49]
Generated Node #0,4: 36:[18, 82, 49] Operation: 88-39=49
Moving to Node #0,2
Current State: 36:[18, 39, 6], Operations: ['88-82=6']
Exploring Operation: 39-6=33, Resulting Numbers: [18, 33]
Generated Node #0,2,0: 36:[18, 33] Operation: 39-6=33
Exploring Operation: 39-18=21, Resulting Numbers: [6, 21]
Generated Node #0,2,1: 36:[6, 21] Operation: 39-18=21
Exploring Operation: 18/6=3, Resulting Numbers: [39, 3]
Generated Node #0,2,2: 36:[39, 3] Operation: 18/6=3
Exploring Operation: 18-6=12, Resulting Numbers: [39, 12]
Generated Node #0,2,3: 36:[39, 12] Operation: 18-6=12
Exploring Operation: 18+6=24, Resulting Numbers: [39, 24]
Generated Node #0,2,4: 36:[39, 24] Operation: 18+6=24
Moving to Node #0,4
Current State: 36:[18, 82, 49], Operations: ['88-39=49']
Exploring Operation: 18+82=100, Resulting Numbers: [49, 100]
Generated Node #0,4,0: 36:[49, 100] Operation: 18+82=100
Exploring Operation: 82-49=33, Resulting Numbers: [18, 33]
Generated Node #0,4,1: 36:[18, 33] Operation: 82-49=33
Exploring Operation: 18+49=67, Resulting Numbers: [82, 67]
Generated Node #0,4,2: 36:[82, 67] Operation: 18+49=67
Exploring Operation: 82-18=64, Resulting Numbers: [49, 64]
Generated Node #0,4,3: 36:[49, 64] Operation: 82-18=64
Exploring Operation: 49-18=31, Resulting Numbers: [82, 31]
Generated Node #0,4,4: 36:[82, 31] Operation: 49-18=31
Moving to Node #0,3
Current State: 36:[18, 88, 43], Operations: ['82-39=43']
Exploring Operation: 18+88=106, Resulting Numbers: [43, 106]
Generated Node #0,3,0: 36:[43, 106] Operation: 18+88=106
Exploring Operation: 88-43=45, Resulting Numbers: [18, 45]
Generated Node #0,3,1: 36:[18, 45] Operation: 88-43=45
Exploring Operation: 43-18=25, Resulting Numbers: [88, 25]
Generated Node #0,3,2: 36:[88, 25] Operation: 43-18=25
Exploring Operation: 18+43=61, Resulting Numbers: [88, 61]
Generated Node #0,3,3: 36:[88, 61] Operation: 18+43=61
Exploring Operation: 88-18=70, Resulting Numbers: [43, 70]
Generated Node #0,3,4: 36:[43, 70] Operation: 88-18=70
Moving to Node #0,0
Current State: 36:[88, 39, 64], Operations: ['82-18=64']
Exploring Operation: 88+64=152, Resulting Numbers: [39, 152]
Generated Node #0,0,0: 36:[39, 152] Operation: 88+64=152
Exploring Operation: 88-64=24, Resulting Numbers: [39, 24]
Generated Node #0,0,1: 36:[39, 24] Operation: 88-64=24
Exploring Operation: 88-39=49, Resulting Numbers: [64, 49]
Generated Node #0,0,2: 36:[64, 49] Operation: 88-39=49
Exploring Operation: 88+39=127, Resulting Numbers: [64, 127]
Generated Node #0,0,3: 36:[64, 127] Operation: 88+39=127
Exploring Operation: 64-39=25, Resulting Numbers: [88, 25]
Generated Node #0,0,4: 36:[88, 25] Operation: 64-39=25
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[39, 24], Operations: ['82-18=64', '88-64=24']
Exploring Operation: 39*24=936, Resulting Numbers: [936]
936,36 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 39+24=63, Resulting Numbers: [63]
63,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 36:[64, 49], Operations: ['82-18=64', '88-39=49']
Exploring Operation: 64+49=113, Resulting Numbers: [113]
113,36 unequal: No Solution
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 64*49=3136, Resulting Numbers: [3136]
3136,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 36:[88, 25], Operations: ['82-18=64', '64-39=25']
Exploring Operation: 88-25=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 88+25=113, Resulting Numbers: [113]
113,36 unequal: No Solution
Exploring Operation: 88*25=2200, Resulting Numbers: [2200]
2200,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[39, 152], Operations: ['82-18=64', '88+64=152']
Exploring Operation: 39*152=5928, Resulting Numbers: [5928]
5928,36 unequal: No Solution
Exploring Operation: 39+152=191, Resulting Numbers: [191]
191,36 unequal: No Solution
Exploring Operation: 152-39=113, Resulting Numbers: [113]
113,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 36:[64, 127], Operations: ['82-18=64', '88+39=127']
Exploring Operation: 64*127=8128, Resulting Numbers: [8128]
8128,36 unequal: No Solution
Exploring Operation: 64+127=191, Resulting Numbers: [191]
191,36 unequal: No Solution
Exploring Operation: 127-64=63, Resulting Numbers: [63]
63,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 36:[82, 39, 70], Operations: ['88-18=70']
Exploring Operation: 82+70=152, Resulting Numbers: [39, 152]
Generated Node #0,1,0: 36:[39, 152] Operation: 82+70=152
Exploring Operation: 82-70=12, Resulting Numbers: [39, 12]
Generated Node #0,1,1: 36:[39, 12] Operation: 82-70=12
Exploring Operation: 82-39=43, Resulting Numbers: [70, 43]
Generated Node #0,1,2: 36:[70, 43] Operation: 82-39=43
Exploring Operation: 70-39=31, Resulting Numbers: [82, 31]
Generated Node #0,1,3: 36:[82, 31] Operation: 70-39=31
Exploring Operation: 82+39=121, Resulting Numbers: [70, 121]
Generated Node #0,1,4: 36:[70, 121] Operation: 82+39=121
Moving to Node #0,2,0
Current State: 36:[18, 33], Operations: ['88-82=6', '39-6=33']
Exploring Operation: 18*33=594, Resulting Numbers: [594]
594,36 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[39, 3], Operations: ['88-82=6', '18/6=3']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[18, 82, 88, 39], Operations: []
Exploring Operation: 88-82=6, Resulting Numbers: [18, 39, 6]
Generated Node #0,2: 36:[18, 39, 6] Operation: 88-82=6
Moving to Node #0,2
Current State: 36:[18, 39, 6], Operations: ['88-82=6']
Exploring Operation: 18/6=3, Resulting Numbers: [39, 3]
Generated Node #0,2,2: 36:[39, 3] Operation: 18/6=3
Moving to Node #0,2,2
Current State: 36:[39, 3], Operations: ['88-82=6', '18/6=3']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.953993 | hs_5 | mult_heuristic |
[
72,
41,
8,
8
] | 58 | [
"72/8=9",
"41+8=49",
"9+49=58"
] | Current State: 58:[72, 41, 8, 8], Operations: []
Exploring Operation: 72/8=9, Resulting Numbers: [41, 9]
Generated Node #2: [41, 9] from Operation: 72/8=9
Current State: 58:[41, 9], Operations: ['72/8=9']
Exploring Operation: 41+8=49, Resulting Numbers: [9, 49]
Generated Node #3: [9, 49] from Operation: 41+8=49
Current State: 58:[9, 49], Operations: ['72/8=9', '41+8=49']
Exploring Operation: 9+49=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[72, 41, 8, 8], Operations: []
Exploring Operation: 72-41=31, Resulting Numbers: [8, 8, 31]
Generated Node #0,0: 58:[8, 8, 31] Operation: 72-41=31
Exploring Operation: 72-8=64, Resulting Numbers: [41, 8, 64]
Generated Node #0,1: 58:[41, 8, 64] Operation: 72-8=64
Moving to Node #0,0
Current State: 58:[8, 8, 31], Operations: ['72-41=31']
Exploring Operation: 8/8=1, Resulting Numbers: [31, 1]
Generated Node #0,0,0: 58:[31, 1] Operation: 8/8=1
Exploring Operation: 8-8=0, Resulting Numbers: [31, 0]
Generated Node #0,0,1: 58:[31, 0] Operation: 8-8=0
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[31, 1], Operations: ['72-41=31', '8/8=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[31, 0], Operations: ['72-41=31', '8-8=0']
Exploring Operation: 31+0=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 31*0=0, Resulting Numbers: [0]
0,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 58:[41, 8, 64], Operations: ['72-8=64']
Exploring Operation: 64-41=23, Resulting Numbers: [8, 23]
Generated Node #0,1,0: 58:[8, 23] Operation: 64-41=23
Exploring Operation: 41-8=33, Resulting Numbers: [64, 33]
Generated Node #0,1,1: 58:[64, 33] Operation: 41-8=33
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[64, 33], Operations: ['72-8=64', '41-8=33']
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,58 unequal: No Solution
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[8, 23], Operations: ['72-8=64', '64-41=23']
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,58 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 |
[
50,
97,
98,
2
] | 24 | [
"50/2=25",
"98-97=1",
"25-1=24"
] | Current State: 24:[50, 97, 98, 2], Operations: []
Exploring Operation: 50/2=25, Resulting Numbers: [97, 98, 25]
Generated Node #2: [97, 98, 25] from Operation: 50/2=25
Current State: 24:[97, 98, 25], Operations: ['50/2=25']
Exploring Operation: 98-97=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 98-97=1
Current State: 24:[25, 1], Operations: ['50/2=25', '98-97=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[50, 97, 98, 2], Operations: []
Exploring Operation: 98-97=1, Resulting Numbers: [50, 2, 1]
Generated Node #0,0: 24:[50, 2, 1] Operation: 98-97=1
Exploring Operation: 98/2=49, Resulting Numbers: [50, 97, 49]
Generated Node #0,1: 24:[50, 97, 49] Operation: 98/2=49
Exploring Operation: 98-50=48, Resulting Numbers: [97, 2, 48]
Generated Node #0,2: 24:[97, 2, 48] Operation: 98-50=48
Exploring Operation: 97-50=47, Resulting Numbers: [98, 2, 47]
Generated Node #0,3: 24:[98, 2, 47] Operation: 97-50=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[50, 2, 1], Operations: ['98-97=1']
Exploring Operation: 50-1=49, Resulting Numbers: [2, 49]
Generated Node #0,0,0: 24:[2, 49] Operation: 50-1=49
Exploring Operation: 50/2=25, Resulting Numbers: [1, 25]
Generated Node #0,0,1: 24:[1, 25] Operation: 50/2=25
Exploring Operation: 50*1=50, Resulting Numbers: [2, 50]
Generated Node #0,0,2: 24:[2, 50] Operation: 50*1=50
Exploring Operation: 50-2=48, Resulting Numbers: [1, 48]
Generated Node #0,0,3: 24:[1, 48] Operation: 50-2=48
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 24:[1, 25], Operations: ['98-97=1', '50/2=25']
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,24 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[50, 97, 98, 2], Operations: []
Exploring Operation: 98-97=1, Resulting Numbers: [50, 2, 1]
Generated Node #0,0: 24:[50, 2, 1] Operation: 98-97=1
Moving to Node #0,0
Current State: 24:[50, 2, 1], Operations: ['98-97=1']
Exploring Operation: 50/2=25, Resulting Numbers: [1, 25]
Generated Node #0,0,1: 24:[1, 25] Operation: 50/2=25
Moving to Node #0,0,1
Current State: 24:[1, 25], Operations: ['98-97=1', '50/2=25']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
48,
95,
44,
24
] | 27 | [
"95-48=47",
"44-24=20",
"47-20=27"
] | Current State: 27:[48, 95, 44, 24], Operations: []
Exploring Operation: 95-48=47, Resulting Numbers: [44, 24, 47]
Generated Node #2: [44, 24, 47] from Operation: 95-48=47
Current State: 27:[44, 24, 47], Operations: ['95-48=47']
Exploring Operation: 44-24=20, Resulting Numbers: [47, 20]
Generated Node #3: [47, 20] from Operation: 44-24=20
Current State: 27:[47, 20], Operations: ['95-48=47', '44-24=20']
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[48, 95, 44, 24], Operations: []
Exploring Operation: 48-44=4, Resulting Numbers: [95, 24, 4]
Generated Node #0,0: 27:[95, 24, 4] Operation: 48-44=4
Exploring Operation: 95-48=47, Resulting Numbers: [44, 24, 47]
Generated Node #0,1: 27:[44, 24, 47] Operation: 95-48=47
Exploring Operation: 95-44=51, Resulting Numbers: [48, 24, 51]
Generated Node #0,2: 27:[48, 24, 51] Operation: 95-44=51
Moving to Node #0,1
Current State: 27:[44, 24, 47], Operations: ['95-48=47']
Exploring Operation: 47-24=23, Resulting Numbers: [44, 23]
Generated Node #0,1,0: 27:[44, 23] Operation: 47-24=23
Exploring Operation: 47-44=3, Resulting Numbers: [24, 3]
Generated Node #0,1,1: 27:[24, 3] Operation: 47-44=3
Exploring Operation: 44-24=20, Resulting Numbers: [47, 20]
Generated Node #0,1,2: 27:[47, 20] Operation: 44-24=20
Moving to Node #0,2
Current State: 27:[48, 24, 51], Operations: ['95-44=51']
Exploring Operation: 48/24=2, Resulting Numbers: [51, 2]
Generated Node #0,2,0: 27:[51, 2] Operation: 48/24=2
Exploring Operation: 51-48=3, Resulting Numbers: [24, 3]
Generated Node #0,2,1: 27:[24, 3] Operation: 51-48=3
Exploring Operation: 51-24=27, Resulting Numbers: [48, 27]
Generated Node #0,2,2: 27:[48, 27] Operation: 51-24=27
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 27:[24, 3], Operations: ['95-44=51', '51-48=3']
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[48, 95, 44, 24], Operations: []
Exploring Operation: 95-44=51, Resulting Numbers: [48, 24, 51]
Generated Node #0,2: 27:[48, 24, 51] Operation: 95-44=51
Moving to Node #0,2
Current State: 27:[48, 24, 51], Operations: ['95-44=51']
Exploring Operation: 51-48=3, Resulting Numbers: [24, 3]
Generated Node #0,2,1: 27:[24, 3] Operation: 51-48=3
Moving to Node #0,2,1
Current State: 27:[24, 3], Operations: ['95-44=51', '51-48=3']
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
71,
59,
1,
30
] | 19 | [
"71-59=12",
"1+30=31",
"31-12=19"
] | Current State: 19:[71, 59, 1, 30], Operations: []
Exploring Operation: 71-59=12, Resulting Numbers: [1, 30, 12]
Generated Node #2: [1, 30, 12] from Operation: 71-59=12
Current State: 19:[1, 30, 12], Operations: ['71-59=12']
Exploring Operation: 1+30=31, Resulting Numbers: [12, 31]
Generated Node #3: [12, 31] from Operation: 1+30=31
Current State: 19:[12, 31], Operations: ['71-59=12', '1+30=31']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[71, 59, 1, 30], Operations: []
Exploring Operation: 71-59=12, Resulting Numbers: [1, 30, 12]
Generated Node #0,0: 19:[1, 30, 12] Operation: 71-59=12
Moving to Node #0,0
Current State: 19:[1, 30, 12], Operations: ['71-59=12']
Exploring Operation: 30-1=29, Resulting Numbers: [12, 29]
Generated Node #0,0,0: 19:[12, 29] Operation: 30-1=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[12, 29], Operations: ['71-59=12', '30-1=29']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
92,
98,
12,
89
] | 94 | [
"92-89=3",
"12/3=4",
"98-4=94"
] | Current State: 94:[92, 98, 12, 89], Operations: []
Exploring Operation: 92-89=3, Resulting Numbers: [98, 12, 3]
Generated Node #2: [98, 12, 3] from Operation: 92-89=3
Current State: 94:[98, 12, 3], Operations: ['92-89=3']
Exploring Operation: 12/3=4, Resulting Numbers: [98, 4]
Generated Node #3: [98, 4] from Operation: 12/3=4
Current State: 94:[98, 4], Operations: ['92-89=3', '12/3=4']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[92, 98, 12, 89], Operations: []
Exploring Operation: 92-89=3, Resulting Numbers: [98, 12, 3]
Generated Node #0,0: 94:[98, 12, 3] Operation: 92-89=3
Exploring Operation: 12+89=101, Resulting Numbers: [92, 98, 101]
Generated Node #0,1: 94:[92, 98, 101] Operation: 12+89=101
Moving to Node #0,1
Current State: 94:[92, 98, 101], Operations: ['12+89=101']
Exploring Operation: 101-98=3, Resulting Numbers: [92, 3]
Generated Node #0,1,0: 94:[92, 3] Operation: 101-98=3
Exploring Operation: 98-92=6, Resulting Numbers: [101, 6]
Generated Node #0,1,1: 94:[101, 6] Operation: 98-92=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[92, 3], Operations: ['12+89=101', '101-98=3']
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,94 unequal: No Solution
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[101, 6], Operations: ['12+89=101', '98-92=6']
Exploring Operation: 101-6=95, Resulting Numbers: [95]
95,94 unequal: No Solution
Exploring Operation: 101+6=107, Resulting Numbers: [107]
107,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:[98, 12, 3], Operations: ['92-89=3']
Exploring Operation: 12/3=4, Resulting Numbers: [98, 4]
Generated Node #0,0,0: 94:[98, 4] Operation: 12/3=4
Exploring Operation: 98-12=86, Resulting Numbers: [3, 86]
Generated Node #0,0,1: 94:[3, 86] Operation: 98-12=86
Moving to Node #0,0,0
Current State: 94:[98, 4], Operations: ['92-89=3', '12/3=4']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[92, 98, 12, 89], Operations: []
Exploring Operation: 92-89=3, Resulting Numbers: [98, 12, 3]
Generated Node #0,0: 94:[98, 12, 3] Operation: 92-89=3
Moving to Node #0,0
Current State: 94:[98, 12, 3], Operations: ['92-89=3']
Exploring Operation: 12/3=4, Resulting Numbers: [98, 4]
Generated Node #0,0,0: 94:[98, 4] Operation: 12/3=4
Moving to Node #0,0,0
Current State: 94:[98, 4], Operations: ['92-89=3', '12/3=4']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
98,
36,
34,
78
] | 18 | [
"98-36=62",
"78-34=44",
"62-44=18"
] | Current State: 18:[98, 36, 34, 78], Operations: []
Exploring Operation: 98-36=62, Resulting Numbers: [34, 78, 62]
Generated Node #2: [34, 78, 62] from Operation: 98-36=62
Current State: 18:[34, 78, 62], Operations: ['98-36=62']
Exploring Operation: 78-34=44, Resulting Numbers: [62, 44]
Generated Node #3: [62, 44] from Operation: 78-34=44
Current State: 18:[62, 44], Operations: ['98-36=62', '78-34=44']
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[98, 36, 34, 78], Operations: []
Exploring Operation: 98-78=20, Resulting Numbers: [36, 34, 20]
Generated Node #0,0: 18:[36, 34, 20] Operation: 98-78=20
Moving to Node #0,0
Current State: 18:[36, 34, 20], Operations: ['98-78=20']
Exploring Operation: 36-34=2, Resulting Numbers: [20, 2]
Generated Node #0,0,0: 18:[20, 2] Operation: 36-34=2
Moving to Node #0,0,0
Current State: 18:[20, 2], Operations: ['98-78=20', '36-34=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[98, 36, 34, 78], Operations: []
Exploring Operation: 98-78=20, Resulting Numbers: [36, 34, 20]
Generated Node #0,0: 18:[36, 34, 20] Operation: 98-78=20
Moving to Node #0,0
Current State: 18:[36, 34, 20], Operations: ['98-78=20']
Exploring Operation: 36-34=2, Resulting Numbers: [20, 2]
Generated Node #0,0,0: 18:[20, 2] Operation: 36-34=2
Moving to Node #0,0,0
Current State: 18:[20, 2], Operations: ['98-78=20', '36-34=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
4,
1,
6,
79
] | 79 | [
"4+1=5",
"6-5=1",
"79*1=79"
] | Current State: 79:[4, 1, 6, 79], Operations: []
Exploring Operation: 4+1=5, Resulting Numbers: [6, 79, 5]
Generated Node #2: [6, 79, 5] from Operation: 4+1=5
Current State: 79:[6, 79, 5], Operations: ['4+1=5']
Exploring Operation: 6-5=1, Resulting Numbers: [79, 1]
Generated Node #3: [79, 1] from Operation: 6-5=1
Current State: 79:[79, 1], Operations: ['4+1=5', '6-5=1']
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[4, 1, 6, 79], Operations: []
Exploring Operation: 4+6=10, Resulting Numbers: [1, 79, 10]
Generated Node #0,0: 79:[1, 79, 10] Operation: 4+6=10
Exploring Operation: 4*6=24, Resulting Numbers: [1, 79, 24]
Generated Node #0,1: 79:[1, 79, 24] Operation: 4*6=24
Exploring Operation: 4+1=5, Resulting Numbers: [6, 79, 5]
Generated Node #0,2: 79:[6, 79, 5] Operation: 4+1=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[1, 79, 24], Operations: ['4*6=24']
Exploring Operation: 1+24=25, Resulting Numbers: [79, 25]
Generated Node #0,1,0: 79:[79, 25] Operation: 1+24=25
Exploring Operation: 79/1=79, Resulting Numbers: [24, 79]
Generated Node #0,1,1: 79:[24, 79] Operation: 79/1=79
Exploring Operation: 1*79=79, Resulting Numbers: [24, 79]
Generated Node #0,1,2: 79:[24, 79] Operation: 1*79=79
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[79, 25], Operations: ['4*6=24', '1+24=25']
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,79 unequal: No Solution
Exploring Operation: 79+25=104, Resulting Numbers: [104]
104,79 unequal: No Solution
Exploring Operation: 79*25=1975, Resulting Numbers: [1975]
1975,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[24, 79], Operations: ['4*6=24', '79/1=79']
Exploring Operation: 24+79=103, Resulting Numbers: [103]
103,79 unequal: No Solution
Exploring Operation: 79-24=55, Resulting Numbers: [55]
55,79 unequal: No Solution
Exploring Operation: 24*79=1896, Resulting Numbers: [1896]
1896,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[24, 79], Operations: ['4*6=24', '1*79=79']
Exploring Operation: 24+79=103, Resulting Numbers: [103]
103,79 unequal: No Solution
Exploring Operation: 79-24=55, Resulting Numbers: [55]
55,79 unequal: No Solution
Exploring Operation: 24*79=1896, Resulting Numbers: [1896]
1896,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[1, 79, 10], Operations: ['4+6=10']
Exploring Operation: 1*79=79, Resulting Numbers: [10, 79]
Generated Node #0,0,0: 79:[10, 79] Operation: 1*79=79
Exploring Operation: 79/1=79, Resulting Numbers: [10, 79]
Generated Node #0,0,1: 79:[10, 79] Operation: 79/1=79
Exploring Operation: 1+10=11, Resulting Numbers: [79, 11]
Generated Node #0,0,2: 79:[79, 11] Operation: 1+10=11
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[79, 11], Operations: ['4+6=10', '1+10=11']
Exploring Operation: 79*11=869, Resulting Numbers: [869]
869,79 unequal: No Solution
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,79 unequal: No Solution
Exploring Operation: 79+11=90, Resulting Numbers: [90]
90,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[10, 79], Operations: ['4+6=10', '1*79=79']
Exploring Operation: 10+79=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,79 unequal: No Solution
Exploring Operation: 10*79=790, Resulting Numbers: [790]
790,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[10, 79], Operations: ['4+6=10', '79/1=79']
Exploring Operation: 10+79=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 10*79=790, Resulting Numbers: [790]
790,79 unequal: No Solution
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[6, 79, 5], Operations: ['4+1=5']
Exploring Operation: 6-5=1, Resulting Numbers: [79, 1]
Generated Node #0,2,0: 79:[79, 1] Operation: 6-5=1
Exploring Operation: 6+5=11, Resulting Numbers: [79, 11]
Generated Node #0,2,1: 79:[79, 11] Operation: 6+5=11
Exploring Operation: 6*5=30, Resulting Numbers: [79, 30]
Generated Node #0,2,2: 79:[79, 30] Operation: 6*5=30
Moving to Node #0,2,2
Current State: 79:[79, 30], Operations: ['4+1=5', '6*5=30']
Exploring Operation: 79*30=2370, Resulting Numbers: [2370]
2370,79 unequal: No Solution
Exploring Operation: 79+30=109, Resulting Numbers: [109]
109,79 unequal: No Solution
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[79, 11], Operations: ['4+1=5', '6+5=11']
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,79 unequal: No Solution
Exploring Operation: 79*11=869, Resulting Numbers: [869]
869,79 unequal: No Solution
Exploring Operation: 79+11=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[79, 1], Operations: ['4+1=5', '6-5=1']
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[4, 1, 6, 79], Operations: []
Exploring Operation: 4+1=5, Resulting Numbers: [6, 79, 5]
Generated Node #0,2: 79:[6, 79, 5] Operation: 4+1=5
Moving to Node #0,2
Current State: 79:[6, 79, 5], Operations: ['4+1=5']
Exploring Operation: 6-5=1, Resulting Numbers: [79, 1]
Generated Node #0,2,0: 79:[79, 1] Operation: 6-5=1
Moving to Node #0,2,0
Current State: 79:[79, 1], Operations: ['4+1=5', '6-5=1']
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_3 | sum_heuristic |
[
96,
6,
18,
22
] | 71 | [
"96-22=74",
"18/6=3",
"74-3=71"
] | Current State: 71:[96, 6, 18, 22], Operations: []
Exploring Operation: 96-22=74, Resulting Numbers: [6, 18, 74]
Generated Node #2: [6, 18, 74] from Operation: 96-22=74
Current State: 71:[6, 18, 74], Operations: ['96-22=74']
Exploring Operation: 18/6=3, Resulting Numbers: [74, 3]
Generated Node #3: [74, 3] from Operation: 18/6=3
Current State: 71:[74, 3], Operations: ['96-22=74', '18/6=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[96, 6, 18, 22], Operations: []
Exploring Operation: 96-18=78, Resulting Numbers: [6, 22, 78]
Generated Node #0,0: 71:[6, 22, 78] Operation: 96-18=78
Exploring Operation: 6*18=108, Resulting Numbers: [96, 22, 108]
Generated Node #0,1: 71:[96, 22, 108] Operation: 6*18=108
Exploring Operation: 96-6=90, Resulting Numbers: [18, 22, 90]
Generated Node #0,2: 71:[18, 22, 90] Operation: 96-6=90
Moving to Node #0,1
Current State: 71:[96, 22, 108], Operations: ['6*18=108']
Exploring Operation: 96+22=118, Resulting Numbers: [108, 118]
Generated Node #0,1,0: 71:[108, 118] Operation: 96+22=118
Exploring Operation: 108-22=86, Resulting Numbers: [96, 86]
Generated Node #0,1,1: 71:[96, 86] Operation: 108-22=86
Exploring Operation: 96-22=74, Resulting Numbers: [108, 74]
Generated Node #0,1,2: 71:[108, 74] Operation: 96-22=74
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[96, 86], Operations: ['6*18=108', '108-22=86']
Exploring Operation: 96-86=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 96+86=182, Resulting Numbers: [182]
182,71 unequal: No Solution
Exploring Operation: 96*86=8256, Resulting Numbers: [8256]
8256,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[108, 74], Operations: ['6*18=108', '96-22=74']
Exploring Operation: 108-74=34, Resulting Numbers: [34]
34,71 unequal: No Solution
Exploring Operation: 108*74=7992, Resulting Numbers: [7992]
7992,71 unequal: No Solution
Exploring Operation: 108+74=182, Resulting Numbers: [182]
182,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[108, 118], Operations: ['6*18=108', '96+22=118']
Exploring Operation: 108+118=226, Resulting Numbers: [226]
226,71 unequal: No Solution
Exploring Operation: 108*118=12744, Resulting Numbers: [12744]
12744,71 unequal: No Solution
Exploring Operation: 118-108=10, Resulting Numbers: [10]
10,71 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: 71:[6, 22, 78], Operations: ['96-18=78']
Exploring Operation: 6+22=28, Resulting Numbers: [78, 28]
Generated Node #0,0,0: 71:[78, 28] Operation: 6+22=28
Exploring Operation: 22-6=16, Resulting Numbers: [78, 16]
Generated Node #0,0,1: 71:[78, 16] Operation: 22-6=16
Exploring Operation: 78-6=72, Resulting Numbers: [22, 72]
Generated Node #0,0,2: 71:[22, 72] Operation: 78-6=72
Moving to Node #0,2
Current State: 71:[18, 22, 90], Operations: ['96-6=90']
Exploring Operation: 90-18=72, Resulting Numbers: [22, 72]
Generated Node #0,2,0: 71:[22, 72] Operation: 90-18=72
Exploring Operation: 90-22=68, Resulting Numbers: [18, 68]
Generated Node #0,2,1: 71:[18, 68] Operation: 90-22=68
Exploring Operation: 18+22=40, Resulting Numbers: [90, 40]
Generated Node #0,2,2: 71:[90, 40] Operation: 18+22=40
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[22, 72], Operations: ['96-6=90', '90-18=72']
Exploring Operation: 22+72=94, Resulting Numbers: [94]
94,71 unequal: No Solution
Exploring Operation: 22*72=1584, Resulting Numbers: [1584]
1584,71 unequal: No Solution
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 71:[90, 40], Operations: ['96-6=90', '18+22=40']
Exploring Operation: 90-40=50, Resulting Numbers: [50]
50,71 unequal: No Solution
Exploring Operation: 90+40=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Exploring Operation: 90*40=3600, Resulting Numbers: [3600]
3600,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[18, 68], Operations: ['96-6=90', '90-22=68']
Exploring Operation: 18*68=1224, Resulting Numbers: [1224]
1224,71 unequal: No Solution
Exploring Operation: 18+68=86, Resulting Numbers: [86]
86,71 unequal: No Solution
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,71 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: 71:[78, 28], Operations: ['96-18=78', '6+22=28']
Exploring Operation: 78+28=106, Resulting Numbers: [106]
106,71 unequal: No Solution
Exploring Operation: 78*28=2184, Resulting Numbers: [2184]
2184,71 unequal: No Solution
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[22, 72], Operations: ['96-18=78', '78-6=72']
Exploring Operation: 22*72=1584, Resulting Numbers: [1584]
1584,71 unequal: No Solution
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,71 unequal: No Solution
Exploring Operation: 22+72=94, Resulting Numbers: [94]
94,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[78, 16], Operations: ['96-18=78', '22-6=16']
Exploring Operation: 78*16=1248, Resulting Numbers: [1248]
1248,71 unequal: No Solution
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,71 unequal: No Solution
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,71 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
34,
31,
16,
70
] | 83 | [
"34-31=3",
"16+70=86",
"86-3=83"
] | Current State: 83:[34, 31, 16, 70], Operations: []
Exploring Operation: 34-31=3, Resulting Numbers: [16, 70, 3]
Generated Node #2: [16, 70, 3] from Operation: 34-31=3
Current State: 83:[16, 70, 3], Operations: ['34-31=3']
Exploring Operation: 16+70=86, Resulting Numbers: [3, 86]
Generated Node #3: [3, 86] from Operation: 16+70=86
Current State: 83:[3, 86], Operations: ['34-31=3', '16+70=86']
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[34, 31, 16, 70], Operations: []
Exploring Operation: 34+31=65, Resulting Numbers: [16, 70, 65]
Generated Node #0,0: 83:[16, 70, 65] Operation: 34+31=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[16, 70, 65], Operations: ['34+31=65']
Exploring Operation: 16+65=81, Resulting Numbers: [70, 81]
Generated Node #0,0,0: 83:[70, 81] Operation: 16+65=81
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[70, 81], Operations: ['34+31=65', '16+65=81']
Exploring Operation: 70+81=151, Resulting Numbers: [151]
151,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
89,
8,
98,
74
] | 92 | [
"98-74=24",
"24/8=3",
"89+3=92"
] | Current State: 92:[89, 8, 98, 74], Operations: []
Exploring Operation: 98-74=24, Resulting Numbers: [89, 8, 24]
Generated Node #2: [89, 8, 24] from Operation: 98-74=24
Current State: 92:[89, 8, 24], Operations: ['98-74=24']
Exploring Operation: 24/8=3, Resulting Numbers: [89, 3]
Generated Node #3: [89, 3] from Operation: 24/8=3
Current State: 92:[89, 3], Operations: ['98-74=24', '24/8=3']
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[89, 8, 98, 74], Operations: []
Exploring Operation: 89-74=15, Resulting Numbers: [8, 98, 15]
Generated Node #0,0: 92:[8, 98, 15] Operation: 89-74=15
Exploring Operation: 8+74=82, Resulting Numbers: [89, 98, 82]
Generated Node #0,1: 92:[89, 98, 82] Operation: 8+74=82
Exploring Operation: 98-74=24, Resulting Numbers: [89, 8, 24]
Generated Node #0,2: 92:[89, 8, 24] Operation: 98-74=24
Exploring Operation: 98-8=90, Resulting Numbers: [89, 74, 90]
Generated Node #0,3: 92:[89, 74, 90] Operation: 98-8=90
Exploring Operation: 98-89=9, Resulting Numbers: [8, 74, 9]
Generated Node #0,4: 92:[8, 74, 9] Operation: 98-89=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[89, 8, 24], Operations: ['98-74=24']
Exploring Operation: 89+8=97, Resulting Numbers: [24, 97]
Generated Node #0,2,0: 92:[24, 97] Operation: 89+8=97
Exploring Operation: 24-8=16, Resulting Numbers: [89, 16]
Generated Node #0,2,1: 92:[89, 16] Operation: 24-8=16
Exploring Operation: 89-8=81, Resulting Numbers: [24, 81]
Generated Node #0,2,2: 92:[24, 81] Operation: 89-8=81
Exploring Operation: 24/8=3, Resulting Numbers: [89, 3]
Generated Node #0,2,3: 92:[89, 3] Operation: 24/8=3
Exploring Operation: 8+24=32, Resulting Numbers: [89, 32]
Generated Node #0,2,4: 92:[89, 32] Operation: 8+24=32
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 92:[89, 3], Operations: ['98-74=24', '24/8=3']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,92 unequal: No Solution
Exploring Operation: 89*3=267, Resulting Numbers: [267]
267,92 unequal: No Solution
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[89, 8, 98, 74], Operations: []
Exploring Operation: 98-74=24, Resulting Numbers: [89, 8, 24]
Generated Node #0,2: 92:[89, 8, 24] Operation: 98-74=24
Moving to Node #0,2
Current State: 92:[89, 8, 24], Operations: ['98-74=24']
Exploring Operation: 24/8=3, Resulting Numbers: [89, 3]
Generated Node #0,2,3: 92:[89, 3] Operation: 24/8=3
Moving to Node #0,2,3
Current State: 92:[89, 3], Operations: ['98-74=24', '24/8=3']
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
77,
46,
32,
56
] | 90 | [
"77*32=2464",
"2464/56=44",
"46+44=90"
] | Current State: 90:[77, 46, 32, 56], Operations: []
Exploring Operation: 77*32=2464, Resulting Numbers: [46, 56, 2464]
Generated Node #2: [46, 56, 2464] from Operation: 77*32=2464
Current State: 90:[46, 56, 2464], Operations: ['77*32=2464']
Exploring Operation: 2464/56=44, Resulting Numbers: [46, 44]
Generated Node #3: [46, 44] from Operation: 2464/56=44
Current State: 90:[46, 44], Operations: ['77*32=2464', '2464/56=44']
Exploring Operation: 46+44=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[77, 46, 32, 56], Operations: []
Exploring Operation: 77-32=45, Resulting Numbers: [46, 56, 45]
Generated Node #0,0: 90:[46, 56, 45] Operation: 77-32=45
Exploring Operation: 77-56=21, Resulting Numbers: [46, 32, 21]
Generated Node #0,1: 90:[46, 32, 21] Operation: 77-56=21
Moving to Node #0,1
Current State: 90:[46, 32, 21], Operations: ['77-56=21']
Exploring Operation: 46-32=14, Resulting Numbers: [21, 14]
Generated Node #0,1,0: 90:[21, 14] Operation: 46-32=14
Exploring Operation: 32-21=11, Resulting Numbers: [46, 11]
Generated Node #0,1,1: 90:[46, 11] Operation: 32-21=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[46, 11], Operations: ['77-56=21', '32-21=11']
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 46+11=57, Resulting Numbers: [57]
57,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:[21, 14], Operations: ['77-56=21', '46-32=14']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 21+14=35, Resulting Numbers: [35]
35,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 90:[46, 56, 45], Operations: ['77-32=45']
Exploring Operation: 56-45=11, Resulting Numbers: [46, 11]
Generated Node #0,0,0: 90:[46, 11] Operation: 56-45=11
Exploring Operation: 56-46=10, Resulting Numbers: [45, 10]
Generated Node #0,0,1: 90:[45, 10] Operation: 56-46=10
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[45, 10], Operations: ['77-32=45', '56-46=10']
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[46, 11], Operations: ['77-32=45', '56-45=11']
Exploring Operation: 46+11=57, Resulting Numbers: [57]
57,90 unequal: No Solution
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
14,
32,
25,
99
] | 92 | [
"32-14=18",
"99-25=74",
"18+74=92"
] | Current State: 92:[14, 32, 25, 99], Operations: []
Exploring Operation: 32-14=18, Resulting Numbers: [25, 99, 18]
Generated Node #2: [25, 99, 18] from Operation: 32-14=18
Current State: 92:[25, 99, 18], Operations: ['32-14=18']
Exploring Operation: 99-25=74, Resulting Numbers: [18, 74]
Generated Node #3: [18, 74] from Operation: 99-25=74
Current State: 92:[18, 74], Operations: ['32-14=18', '99-25=74']
Exploring Operation: 18+74=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[14, 32, 25, 99], Operations: []
Exploring Operation: 32-14=18, Resulting Numbers: [25, 99, 18]
Generated Node #0,0: 92:[25, 99, 18] Operation: 32-14=18
Exploring Operation: 14+32=46, Resulting Numbers: [25, 99, 46]
Generated Node #0,1: 92:[25, 99, 46] Operation: 14+32=46
Exploring Operation: 99-14=85, Resulting Numbers: [32, 25, 85]
Generated Node #0,2: 92:[32, 25, 85] Operation: 99-14=85
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[25, 99, 46], Operations: ['14+32=46']
Exploring Operation: 99-25=74, Resulting Numbers: [46, 74]
Generated Node #0,1,0: 92:[46, 74] Operation: 99-25=74
Exploring Operation: 46-25=21, Resulting Numbers: [99, 21]
Generated Node #0,1,1: 92:[99, 21] Operation: 46-25=21
Exploring Operation: 99-46=53, Resulting Numbers: [25, 53]
Generated Node #0,1,2: 92:[25, 53] Operation: 99-46=53
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[99, 21], Operations: ['14+32=46', '46-25=21']
Exploring Operation: 99+21=120, Resulting Numbers: [120]
120,92 unequal: No Solution
Exploring Operation: 99*21=2079, Resulting Numbers: [2079]
2079,92 unequal: No Solution
Exploring Operation: 99-21=78, Resulting Numbers: [78]
78,92 unequal: No Solution
No 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: 92:[25, 53], Operations: ['14+32=46', '99-46=53']
Exploring Operation: 25*53=1325, Resulting Numbers: [1325]
1325,92 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 25+53=78, Resulting Numbers: [78]
78,92 unequal: No Solution
No 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: 92:[46, 74], Operations: ['14+32=46', '99-25=74']
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 46+74=120, Resulting Numbers: [120]
120,92 unequal: No Solution
Exploring Operation: 46*74=3404, Resulting Numbers: [3404]
3404,92 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: 92:[25, 99, 18], Operations: ['32-14=18']
Exploring Operation: 99-18=81, Resulting Numbers: [25, 81]
Generated Node #0,0,0: 92:[25, 81] Operation: 99-18=81
Exploring Operation: 25-18=7, Resulting Numbers: [99, 7]
Generated Node #0,0,1: 92:[99, 7] Operation: 25-18=7
Exploring Operation: 25+18=43, Resulting Numbers: [99, 43]
Generated Node #0,0,2: 92:[99, 43] Operation: 25+18=43
Moving to Node #0,0,1
Current State: 92:[99, 7], Operations: ['32-14=18', '25-18=7']
Exploring Operation: 99*7=693, Resulting Numbers: [693]
693,92 unequal: No Solution
Exploring Operation: 99+7=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[14, 32, 25, 99], Operations: []
Exploring Operation: 32-14=18, Resulting Numbers: [25, 99, 18]
Generated Node #0,0: 92:[25, 99, 18] Operation: 32-14=18
Moving to Node #0,0
Current State: 92:[25, 99, 18], Operations: ['32-14=18']
Exploring Operation: 25-18=7, Resulting Numbers: [99, 7]
Generated Node #0,0,1: 92:[99, 7] Operation: 25-18=7
Moving to Node #0,0,1
Current State: 92:[99, 7], Operations: ['32-14=18', '25-18=7']
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
64,
74,
82,
5
] | 97 | [
"74-64=10",
"82+5=87",
"10+87=97"
] | Current State: 97:[64, 74, 82, 5], Operations: []
Exploring Operation: 74-64=10, Resulting Numbers: [82, 5, 10]
Generated Node #2: [82, 5, 10] from Operation: 74-64=10
Current State: 97:[82, 5, 10], Operations: ['74-64=10']
Exploring Operation: 82+5=87, Resulting Numbers: [10, 87]
Generated Node #3: [10, 87] from Operation: 82+5=87
Current State: 97:[10, 87], Operations: ['74-64=10', '82+5=87']
Exploring Operation: 10+87=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[64, 74, 82, 5], Operations: []
Exploring Operation: 64+5=69, Resulting Numbers: [74, 82, 69]
Generated Node #0,0: 97:[74, 82, 69] Operation: 64+5=69
Exploring Operation: 64-5=59, Resulting Numbers: [74, 82, 59]
Generated Node #0,1: 97:[74, 82, 59] Operation: 64-5=59
Exploring Operation: 74+5=79, Resulting Numbers: [64, 82, 79]
Generated Node #0,2: 97:[64, 82, 79] Operation: 74+5=79
Exploring Operation: 82+5=87, Resulting Numbers: [64, 74, 87]
Generated Node #0,3: 97:[64, 74, 87] Operation: 82+5=87
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[74, 82, 69], Operations: ['64+5=69']
Exploring Operation: 74+82=156, Resulting Numbers: [69, 156]
Generated Node #0,0,0: 97:[69, 156] Operation: 74+82=156
Exploring Operation: 74+69=143, Resulting Numbers: [82, 143]
Generated Node #0,0,1: 97:[82, 143] Operation: 74+69=143
Exploring Operation: 74-69=5, Resulting Numbers: [82, 5]
Generated Node #0,0,2: 97:[82, 5] Operation: 74-69=5
Exploring Operation: 82+69=151, Resulting Numbers: [74, 151]
Generated Node #0,0,3: 97:[74, 151] Operation: 82+69=151
Moving to Node #0,0,1
Current State: 97:[82, 143], Operations: ['64+5=69', '74+69=143']
Exploring Operation: 143-82=61, Resulting Numbers: [61]
61,97 unequal: No Solution
Exploring Operation: 82*143=11726, Resulting Numbers: [11726]
11726,97 unequal: No Solution
Exploring Operation: 82+143=225, Resulting Numbers: [225]
225,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[74, 151], Operations: ['64+5=69', '82+69=151']
Exploring Operation: 74+151=225, Resulting Numbers: [225]
225,97 unequal: No Solution
Exploring Operation: 74*151=11174, Resulting Numbers: [11174]
11174,97 unequal: No Solution
Exploring Operation: 151-74=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[69, 156], Operations: ['64+5=69', '74+82=156']
Exploring Operation: 156-69=87, Resulting Numbers: [87]
87,97 unequal: No Solution
Exploring Operation: 69+156=225, Resulting Numbers: [225]
225,97 unequal: No Solution
Exploring Operation: 69*156=10764, Resulting Numbers: [10764]
10764,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[82, 5], Operations: ['64+5=69', '74-69=5']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Exploring Operation: 82*5=410, Resulting Numbers: [410]
410,97 unequal: No Solution
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,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,2
Current State: 97:[64, 82, 79], Operations: ['74+5=79']
Exploring Operation: 64+82=146, Resulting Numbers: [79, 146]
Generated Node #0,2,0: 97:[79, 146] Operation: 64+82=146
Exploring Operation: 79-64=15, Resulting Numbers: [82, 15]
Generated Node #0,2,1: 97:[82, 15] Operation: 79-64=15
Exploring Operation: 64+79=143, Resulting Numbers: [82, 143]
Generated Node #0,2,2: 97:[82, 143] Operation: 64+79=143
Exploring Operation: 82-64=18, Resulting Numbers: [79, 18]
Generated Node #0,2,3: 97:[79, 18] Operation: 82-64=18
Moving to Node #0,2,2
Current State: 97:[82, 143], Operations: ['74+5=79', '64+79=143']
Exploring Operation: 143-82=61, Resulting Numbers: [61]
61,97 unequal: No Solution
Exploring Operation: 82+143=225, Resulting Numbers: [225]
225,97 unequal: No Solution
Exploring Operation: 82*143=11726, Resulting Numbers: [11726]
11726,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[79, 146], Operations: ['74+5=79', '64+82=146']
Exploring Operation: 79*146=11534, Resulting Numbers: [11534]
11534,97 unequal: No Solution
Exploring Operation: 146-79=67, Resulting Numbers: [67]
67,97 unequal: No Solution
Exploring Operation: 79+146=225, Resulting Numbers: [225]
225,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[79, 18], Operations: ['74+5=79', '82-64=18']
Exploring Operation: 79*18=1422, Resulting Numbers: [1422]
1422,97 unequal: No Solution
Exploring Operation: 79+18=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[64, 74, 82, 5], Operations: []
Exploring Operation: 74+5=79, Resulting Numbers: [64, 82, 79]
Generated Node #0,2: 97:[64, 82, 79] Operation: 74+5=79
Moving to Node #0,2
Current State: 97:[64, 82, 79], Operations: ['74+5=79']
Exploring Operation: 82-64=18, Resulting Numbers: [79, 18]
Generated Node #0,2,3: 97:[79, 18] Operation: 82-64=18
Moving to Node #0,2,3
Current State: 97:[79, 18], Operations: ['74+5=79', '82-64=18']
Exploring Operation: 79+18=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_4 | sum_heuristic |
[
54,
84,
32,
80
] | 14 | [
"54+32=86",
"86-80=6",
"84/6=14"
] | Current State: 14:[54, 84, 32, 80], Operations: []
Exploring Operation: 54+32=86, Resulting Numbers: [84, 80, 86]
Generated Node #2: [84, 80, 86] from Operation: 54+32=86
Current State: 14:[84, 80, 86], Operations: ['54+32=86']
Exploring Operation: 86-80=6, Resulting Numbers: [84, 6]
Generated Node #3: [84, 6] from Operation: 86-80=6
Current State: 14:[84, 6], Operations: ['54+32=86', '86-80=6']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[54, 84, 32, 80], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [54, 32, 4]
Generated Node #0,0: 14:[54, 32, 4] Operation: 84-80=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[54, 32, 4], Operations: ['84-80=4']
Exploring Operation: 54-32=22, Resulting Numbers: [4, 22]
Generated Node #0,0,0: 14:[4, 22] Operation: 54-32=22
Moving to Node #0,0,0
Current State: 14:[4, 22], Operations: ['84-80=4', '54-32=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,14 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 |
[
68,
22,
93,
34
] | 31 | [
"68+22=90",
"93-34=59",
"90-59=31"
] | Current State: 31:[68, 22, 93, 34], Operations: []
Exploring Operation: 68+22=90, Resulting Numbers: [93, 34, 90]
Generated Node #2: [93, 34, 90] from Operation: 68+22=90
Current State: 31:[93, 34, 90], Operations: ['68+22=90']
Exploring Operation: 93-34=59, Resulting Numbers: [90, 59]
Generated Node #3: [90, 59] from Operation: 93-34=59
Current State: 31:[90, 59], Operations: ['68+22=90', '93-34=59']
Exploring Operation: 90-59=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[68, 22, 93, 34], Operations: []
Exploring Operation: 93-68=25, Resulting Numbers: [22, 34, 25]
Generated Node #0,0: 31:[22, 34, 25] Operation: 93-68=25
Exploring Operation: 93-34=59, Resulting Numbers: [68, 22, 59]
Generated Node #0,1: 31:[68, 22, 59] Operation: 93-34=59
Exploring Operation: 68-34=34, Resulting Numbers: [22, 93, 34]
Generated Node #0,2: 31:[22, 93, 34] Operation: 68-34=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[22, 34, 25], Operations: ['93-68=25']
Exploring Operation: 22+34=56, Resulting Numbers: [25, 56]
Generated Node #0,0,0: 31:[25, 56] Operation: 22+34=56
Exploring Operation: 34-22=12, Resulting Numbers: [25, 12]
Generated Node #0,0,1: 31:[25, 12] Operation: 34-22=12
Exploring Operation: 22+25=47, Resulting Numbers: [34, 47]
Generated Node #0,0,2: 31:[34, 47] Operation: 22+25=47
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 31:[34, 47], Operations: ['93-68=25', '22+25=47']
Exploring Operation: 34*47=1598, Resulting Numbers: [1598]
1598,31 unequal: No Solution
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Exploring Operation: 34+47=81, Resulting Numbers: [81]
81,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 31:[25, 12], Operations: ['93-68=25', '34-22=12']
Exploring Operation: 25*12=300, Resulting Numbers: [300]
300,31 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[25, 56], Operations: ['93-68=25', '22+34=56']
Exploring Operation: 25*56=1400, Resulting Numbers: [1400]
1400,31 unequal: No Solution
Exploring Operation: 25+56=81, Resulting Numbers: [81]
81,31 unequal: No Solution
Exploring Operation: 56-25=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[68, 22, 93, 34], Operations: []
Exploring Operation: 93-68=25, Resulting Numbers: [22, 34, 25]
Generated Node #0,0: 31:[22, 34, 25] Operation: 93-68=25
Moving to Node #0,0
Current State: 31:[22, 34, 25], Operations: ['93-68=25']
Exploring Operation: 22+34=56, Resulting Numbers: [25, 56]
Generated Node #0,0,0: 31:[25, 56] Operation: 22+34=56
Moving to Node #0,0,0
Current State: 31:[25, 56], Operations: ['93-68=25', '22+34=56']
Exploring Operation: 56-25=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
74,
10,
52,
78
] | 58 | [
"74+10=84",
"78-52=26",
"84-26=58"
] | Current State: 58:[74, 10, 52, 78], Operations: []
Exploring Operation: 74+10=84, Resulting Numbers: [52, 78, 84]
Generated Node #2: [52, 78, 84] from Operation: 74+10=84
Current State: 58:[52, 78, 84], Operations: ['74+10=84']
Exploring Operation: 78-52=26, Resulting Numbers: [84, 26]
Generated Node #3: [84, 26] from Operation: 78-52=26
Current State: 58:[84, 26], Operations: ['74+10=84', '78-52=26']
Exploring Operation: 84-26=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[74, 10, 52, 78], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [10, 52, 4]
Generated Node #0,0: 58:[10, 52, 4] Operation: 78-74=4
Exploring Operation: 78-52=26, Resulting Numbers: [74, 10, 26]
Generated Node #0,1: 58:[74, 10, 26] Operation: 78-52=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[10, 52, 4], Operations: ['78-74=4']
Exploring Operation: 10+52=62, Resulting Numbers: [4, 62]
Generated Node #0,0,0: 58:[4, 62] Operation: 10+52=62
Exploring Operation: 10-4=6, Resulting Numbers: [52, 6]
Generated Node #0,0,1: 58:[52, 6] Operation: 10-4=6
Moving to Node #0,0,0
Current State: 58:[4, 62], Operations: ['78-74=4', '10+52=62']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[74, 10, 52, 78], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [10, 52, 4]
Generated Node #0,0: 58:[10, 52, 4] Operation: 78-74=4
Moving to Node #0,0
Current State: 58:[10, 52, 4], Operations: ['78-74=4']
Exploring Operation: 10+52=62, Resulting Numbers: [4, 62]
Generated Node #0,0,0: 58:[4, 62] Operation: 10+52=62
Moving to Node #0,0,0
Current State: 58:[4, 62], Operations: ['78-74=4', '10+52=62']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
53,
72,
68,
19
] | 74 | [
"53-19=34",
"68/34=2",
"72+2=74"
] | Current State: 74:[53, 72, 68, 19], Operations: []
Exploring Operation: 53-19=34, Resulting Numbers: [72, 68, 34]
Generated Node #2: [72, 68, 34] from Operation: 53-19=34
Current State: 74:[72, 68, 34], Operations: ['53-19=34']
Exploring Operation: 68/34=2, Resulting Numbers: [72, 2]
Generated Node #3: [72, 2] from Operation: 68/34=2
Current State: 74:[72, 2], Operations: ['53-19=34', '68/34=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[53, 72, 68, 19], Operations: []
Exploring Operation: 53-19=34, Resulting Numbers: [72, 68, 34]
Generated Node #0,0: 74:[72, 68, 34] Operation: 53-19=34
Exploring Operation: 53+19=72, Resulting Numbers: [72, 68, 72]
Generated Node #0,1: 74:[72, 68, 72] Operation: 53+19=72
Moving to Node #0,1
Current State: 74:[72, 68, 72], Operations: ['53+19=72']
Exploring Operation: 72-68=4, Resulting Numbers: [72, 4]
Generated Node #0,1,0: 74:[72, 4] Operation: 72-68=4
Exploring Operation: 72-68=4, Resulting Numbers: [72, 4]
Generated Node #0,1,1: 74:[72, 4] Operation: 72-68=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[72, 4], Operations: ['53+19=72', '72-68=4']
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[72, 4], Operations: ['53+19=72', '72-68=4']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,74 unequal: No Solution
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 74:[72, 68, 34], Operations: ['53-19=34']
Exploring Operation: 72-68=4, Resulting Numbers: [34, 4]
Generated Node #0,0,0: 74:[34, 4] Operation: 72-68=4
Exploring Operation: 68/34=2, Resulting Numbers: [72, 2]
Generated Node #0,0,1: 74:[72, 2] Operation: 68/34=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[72, 2], Operations: ['53-19=34', '68/34=2']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[53, 72, 68, 19], Operations: []
Exploring Operation: 53-19=34, Resulting Numbers: [72, 68, 34]
Generated Node #0,0: 74:[72, 68, 34] Operation: 53-19=34
Moving to Node #0,0
Current State: 74:[72, 68, 34], Operations: ['53-19=34']
Exploring Operation: 68/34=2, Resulting Numbers: [72, 2]
Generated Node #0,0,1: 74:[72, 2] Operation: 68/34=2
Moving to Node #0,0,1
Current State: 74:[72, 2], Operations: ['53-19=34', '68/34=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
83,
18,
40,
11
] | 72 | [
"83+18=101",
"40-11=29",
"101-29=72"
] | Current State: 72:[83, 18, 40, 11], Operations: []
Exploring Operation: 83+18=101, Resulting Numbers: [40, 11, 101]
Generated Node #2: [40, 11, 101] from Operation: 83+18=101
Current State: 72:[40, 11, 101], Operations: ['83+18=101']
Exploring Operation: 40-11=29, Resulting Numbers: [101, 29]
Generated Node #3: [101, 29] from Operation: 40-11=29
Current State: 72:[101, 29], Operations: ['83+18=101', '40-11=29']
Exploring Operation: 101-29=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[83, 18, 40, 11], Operations: []
Exploring Operation: 40-18=22, Resulting Numbers: [83, 11, 22]
Generated Node #0,0: 72:[83, 11, 22] Operation: 40-18=22
Exploring Operation: 83-40=43, Resulting Numbers: [18, 11, 43]
Generated Node #0,1: 72:[18, 11, 43] Operation: 83-40=43
Exploring Operation: 83-11=72, Resulting Numbers: [18, 40, 72]
Generated Node #0,2: 72:[18, 40, 72] Operation: 83-11=72
Exploring Operation: 83-18=65, Resulting Numbers: [40, 11, 65]
Generated Node #0,3: 72:[40, 11, 65] Operation: 83-18=65
Moving to Node #0,2
Current State: 72:[18, 40, 72], Operations: ['83-11=72']
Exploring Operation: 72/18=4, Resulting Numbers: [40, 4]
Generated Node #0,2,0: 72:[40, 4] Operation: 72/18=4
Exploring Operation: 40-18=22, Resulting Numbers: [72, 22]
Generated Node #0,2,1: 72:[72, 22] Operation: 40-18=22
Exploring Operation: 18+40=58, Resulting Numbers: [72, 58]
Generated Node #0,2,2: 72:[72, 58] Operation: 18+40=58
Exploring Operation: 72-40=32, Resulting Numbers: [18, 32]
Generated Node #0,2,3: 72:[18, 32] Operation: 72-40=32
Moving to Node #0,1
Current State: 72:[18, 11, 43], Operations: ['83-40=43']
Exploring Operation: 18-11=7, Resulting Numbers: [43, 7]
Generated Node #0,1,0: 72:[43, 7] Operation: 18-11=7
Exploring Operation: 18+11=29, Resulting Numbers: [43, 29]
Generated Node #0,1,1: 72:[43, 29] Operation: 18+11=29
Exploring Operation: 43-11=32, Resulting Numbers: [18, 32]
Generated Node #0,1,2: 72:[18, 32] Operation: 43-11=32
Exploring Operation: 43-18=25, Resulting Numbers: [11, 25]
Generated Node #0,1,3: 72:[11, 25] Operation: 43-18=25
Moving to Node #0,3
Current State: 72:[40, 11, 65], Operations: ['83-18=65']
Exploring Operation: 40-11=29, Resulting Numbers: [65, 29]
Generated Node #0,3,0: 72:[65, 29] Operation: 40-11=29
Exploring Operation: 65-40=25, Resulting Numbers: [11, 25]
Generated Node #0,3,1: 72:[11, 25] Operation: 65-40=25
Exploring Operation: 40+11=51, Resulting Numbers: [65, 51]
Generated Node #0,3,2: 72:[65, 51] Operation: 40+11=51
Exploring Operation: 11+65=76, Resulting Numbers: [40, 76]
Generated Node #0,3,3: 72:[40, 76] Operation: 11+65=76
Moving to Node #0,0
Current State: 72:[83, 11, 22], Operations: ['40-18=22']
Exploring Operation: 83-22=61, Resulting Numbers: [11, 61]
Generated Node #0,0,0: 72:[11, 61] Operation: 83-22=61
Exploring Operation: 83-11=72, Resulting Numbers: [22, 72]
Generated Node #0,0,1: 72:[22, 72] Operation: 83-11=72
Exploring Operation: 22-11=11, Resulting Numbers: [83, 11]
Generated Node #0,0,2: 72:[83, 11] Operation: 22-11=11
Exploring Operation: 22/11=2, Resulting Numbers: [83, 2]
Generated Node #0,0,3: 72:[83, 2] Operation: 22/11=2
Moving to Node #0,2,1
Current State: 72:[72, 22], Operations: ['83-11=72', '40-18=22']
Exploring Operation: 72*22=1584, Resulting Numbers: [1584]
1584,72 unequal: No Solution
Exploring Operation: 72+22=94, Resulting Numbers: [94]
94,72 unequal: No Solution
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[22, 72], Operations: ['40-18=22', '83-11=72']
Exploring Operation: 22*72=1584, Resulting Numbers: [1584]
1584,72 unequal: No Solution
Exploring Operation: 22+72=94, Resulting Numbers: [94]
94,72 unequal: No Solution
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Moving to Node #0,1,3
Current State: 72:[11, 25], Operations: ['83-40=43', '43-18=25']
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,72 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,72 unequal: No Solution
Moving to Node #0,3,1
Current State: 72:[11, 25], Operations: ['83-18=65', '65-40=25']
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,72 unequal: No Solution
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[18, 32], Operations: ['83-11=72', '72-40=32']
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,72 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,72 unequal: No Solution
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[18, 32], Operations: ['83-40=43', '43-11=32']
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,72 unequal: No Solution
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[40, 4], Operations: ['83-11=72', '72/18=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,72 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[43, 7], Operations: ['83-40=43', '18-11=7']
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 43*7=301, Resulting Numbers: [301]
301,72 unequal: No Solution
Exploring Operation: 43+7=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Moving to Node #0,3,3
Current State: 72:[40, 76], Operations: ['83-18=65', '11+65=76']
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 40*76=3040, Resulting Numbers: [3040]
3040,72 unequal: No Solution
Exploring Operation: 40+76=116, Resulting Numbers: [116]
116,72 unequal: No Solution
Moving to Node #0,0,3
Current State: 72:[83, 2], Operations: ['40-18=22', '22/11=2']
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,72 unequal: No Solution
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,72 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,72 unequal: No Solution
Moving to Node #0,3,0
Current State: 72:[65, 29], Operations: ['83-18=65', '40-11=29']
Exploring Operation: 65+29=94, Resulting Numbers: [94]
94,72 unequal: No Solution
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 65*29=1885, Resulting Numbers: [1885]
1885,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[11, 61], Operations: ['40-18=22', '83-22=61']
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Exploring Operation: 11*61=671, Resulting Numbers: [671]
671,72 unequal: No Solution
Exploring Operation: 11+61=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[83, 18, 40, 11], Operations: []
Exploring Operation: 40-18=22, Resulting Numbers: [83, 11, 22]
Generated Node #0,0: 72:[83, 11, 22] Operation: 40-18=22
Moving to Node #0,0
Current State: 72:[83, 11, 22], Operations: ['40-18=22']
Exploring Operation: 83-22=61, Resulting Numbers: [11, 61]
Generated Node #0,0,0: 72:[11, 61] Operation: 83-22=61
Moving to Node #0,0,0
Current State: 72:[11, 61], Operations: ['40-18=22', '83-22=61']
Exploring Operation: 11+61=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.947049 | hs_4 | sum_heuristic |
[
23,
6,
81,
13
] | 97 | [
"23+6=29",
"81-13=68",
"29+68=97"
] | Current State: 97:[23, 6, 81, 13], Operations: []
Exploring Operation: 23+6=29, Resulting Numbers: [81, 13, 29]
Generated Node #2: [81, 13, 29] from Operation: 23+6=29
Current State: 97:[81, 13, 29], Operations: ['23+6=29']
Exploring Operation: 81-13=68, Resulting Numbers: [29, 68]
Generated Node #3: [29, 68] from Operation: 81-13=68
Current State: 97:[29, 68], Operations: ['23+6=29', '81-13=68']
Exploring Operation: 29+68=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[23, 6, 81, 13], Operations: []
Exploring Operation: 23*6=138, Resulting Numbers: [81, 13, 138]
Generated Node #0,0: 97:[81, 13, 138] Operation: 23*6=138
Exploring Operation: 23+13=36, Resulting Numbers: [6, 81, 36]
Generated Node #0,1: 97:[6, 81, 36] Operation: 23+13=36
Exploring Operation: 23+6=29, Resulting Numbers: [81, 13, 29]
Generated Node #0,2: 97:[81, 13, 29] Operation: 23+6=29
Exploring Operation: 6*13=78, Resulting Numbers: [23, 81, 78]
Generated Node #0,3: 97:[23, 81, 78] Operation: 6*13=78
Moving to Node #0,3
Current State: 97:[23, 81, 78], Operations: ['6*13=78']
Exploring Operation: 23+78=101, Resulting Numbers: [81, 101]
Generated Node #0,3,0: 97:[81, 101] Operation: 23+78=101
Exploring Operation: 78-23=55, Resulting Numbers: [81, 55]
Generated Node #0,3,1: 97:[81, 55] Operation: 78-23=55
Exploring Operation: 81-23=58, Resulting Numbers: [78, 58]
Generated Node #0,3,2: 97:[78, 58] Operation: 81-23=58
Exploring Operation: 23+81=104, Resulting Numbers: [78, 104]
Generated Node #0,3,3: 97:[78, 104] Operation: 23+81=104
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[81, 101], Operations: ['6*13=78', '23+78=101']
Exploring Operation: 81*101=8181, Resulting Numbers: [8181]
8181,97 unequal: No Solution
Exploring Operation: 101-81=20, Resulting Numbers: [20]
20,97 unequal: No Solution
Exploring Operation: 81+101=182, Resulting Numbers: [182]
182,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,3,3
Current State: 97:[78, 104], Operations: ['6*13=78', '23+81=104']
Exploring Operation: 104-78=26, Resulting Numbers: [26]
26,97 unequal: No Solution
Exploring Operation: 78*104=8112, Resulting Numbers: [8112]
8112,97 unequal: No Solution
Exploring Operation: 78+104=182, Resulting Numbers: [182]
182,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,3,1
Current State: 97:[81, 55], Operations: ['6*13=78', '78-23=55']
Exploring Operation: 81*55=4455, Resulting Numbers: [4455]
4455,97 unequal: No Solution
Exploring Operation: 81+55=136, Resulting Numbers: [136]
136,97 unequal: No Solution
Exploring Operation: 81-55=26, Resulting Numbers: [26]
26,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,3,2
Current State: 97:[78, 58], Operations: ['6*13=78', '81-23=58']
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,97 unequal: No Solution
Exploring Operation: 78*58=4524, Resulting Numbers: [4524]
4524,97 unequal: No Solution
Exploring Operation: 78+58=136, Resulting Numbers: [136]
136,97 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: 97:[81, 13, 138], Operations: ['23*6=138']
Exploring Operation: 81-13=68, Resulting Numbers: [138, 68]
Generated Node #0,0,0: 97:[138, 68] Operation: 81-13=68
Exploring Operation: 13+138=151, Resulting Numbers: [81, 151]
Generated Node #0,0,1: 97:[81, 151] Operation: 13+138=151
Exploring Operation: 81+13=94, Resulting Numbers: [138, 94]
Generated Node #0,0,2: 97:[138, 94] Operation: 81+13=94
Exploring Operation: 138-13=125, Resulting Numbers: [81, 125]
Generated Node #0,0,3: 97:[81, 125] Operation: 138-13=125
Moving to Node #0,2
Current State: 97:[81, 13, 29], Operations: ['23+6=29']
Exploring Operation: 13+29=42, Resulting Numbers: [81, 42]
Generated Node #0,2,0: 97:[81, 42] Operation: 13+29=42
Exploring Operation: 81+29=110, Resulting Numbers: [13, 110]
Generated Node #0,2,1: 97:[13, 110] Operation: 81+29=110
Exploring Operation: 81-13=68, Resulting Numbers: [29, 68]
Generated Node #0,2,2: 97:[29, 68] Operation: 81-13=68
Exploring Operation: 81+13=94, Resulting Numbers: [29, 94]
Generated Node #0,2,3: 97:[29, 94] Operation: 81+13=94
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[81, 42], Operations: ['23+6=29', '13+29=42']
Exploring Operation: 81-42=39, Resulting Numbers: [39]
39,97 unequal: No Solution
Exploring Operation: 81*42=3402, Resulting Numbers: [3402]
3402,97 unequal: No Solution
Exploring Operation: 81+42=123, Resulting Numbers: [123]
123,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,2,3
Current State: 97:[29, 94], Operations: ['23+6=29', '81+13=94']
Exploring Operation: 29+94=123, Resulting Numbers: [123]
123,97 unequal: No Solution
Exploring Operation: 29*94=2726, Resulting Numbers: [2726]
2726,97 unequal: No Solution
Exploring Operation: 94-29=65, Resulting Numbers: [65]
65,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,2,1
Current State: 97:[13, 110], Operations: ['23+6=29', '81+29=110']
Exploring Operation: 110-13=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[23, 6, 81, 13], Operations: []
Exploring Operation: 23+6=29, Resulting Numbers: [81, 13, 29]
Generated Node #0,2: 97:[81, 13, 29] Operation: 23+6=29
Moving to Node #0,2
Current State: 97:[81, 13, 29], Operations: ['23+6=29']
Exploring Operation: 81+29=110, Resulting Numbers: [13, 110]
Generated Node #0,2,1: 97:[13, 110] Operation: 81+29=110
Moving to Node #0,2,1
Current State: 97:[13, 110], Operations: ['23+6=29', '81+29=110']
Exploring Operation: 110-13=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_4 | mult_heuristic |
[
92,
57,
87,
91
] | 29 | [
"92+57=149",
"87+91=178",
"178-149=29"
] | Current State: 29:[92, 57, 87, 91], Operations: []
Exploring Operation: 92+57=149, Resulting Numbers: [87, 91, 149]
Generated Node #2: [87, 91, 149] from Operation: 92+57=149
Current State: 29:[87, 91, 149], Operations: ['92+57=149']
Exploring Operation: 87+91=178, Resulting Numbers: [149, 178]
Generated Node #3: [149, 178] from Operation: 87+91=178
Current State: 29:[149, 178], Operations: ['92+57=149', '87+91=178']
Exploring Operation: 178-149=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[92, 57, 87, 91], Operations: []
Exploring Operation: 92-91=1, Resulting Numbers: [57, 87, 1]
Generated Node #0,0: 29:[57, 87, 1] Operation: 92-91=1
Exploring Operation: 92-57=35, Resulting Numbers: [87, 91, 35]
Generated Node #0,1: 29:[87, 91, 35] Operation: 92-57=35
Exploring Operation: 92-87=5, Resulting Numbers: [57, 91, 5]
Generated Node #0,2: 29:[57, 91, 5] Operation: 92-87=5
Exploring Operation: 91-87=4, Resulting Numbers: [92, 57, 4]
Generated Node #0,3: 29:[92, 57, 4] Operation: 91-87=4
Moving to Node #0,0
Current State: 29:[57, 87, 1], Operations: ['92-91=1']
Exploring Operation: 87-1=86, Resulting Numbers: [57, 86]
Generated Node #0,0,0: 29:[57, 86] Operation: 87-1=86
Exploring Operation: 87-57=30, Resulting Numbers: [1, 30]
Generated Node #0,0,1: 29:[1, 30] Operation: 87-57=30
Exploring Operation: 57*1=57, Resulting Numbers: [87, 57]
Generated Node #0,0,2: 29:[87, 57] Operation: 57*1=57
Exploring Operation: 57-1=56, Resulting Numbers: [87, 56]
Generated Node #0,0,3: 29:[87, 56] Operation: 57-1=56
Moving to Node #0,2
Current State: 29:[57, 91, 5], Operations: ['92-87=5']
Exploring Operation: 91-5=86, Resulting Numbers: [57, 86]
Generated Node #0,2,0: 29:[57, 86] Operation: 91-5=86
Exploring Operation: 57+5=62, Resulting Numbers: [91, 62]
Generated Node #0,2,1: 29:[91, 62] Operation: 57+5=62
Exploring Operation: 57-5=52, Resulting Numbers: [91, 52]
Generated Node #0,2,2: 29:[91, 52] Operation: 57-5=52
Exploring Operation: 91-57=34, Resulting Numbers: [5, 34]
Generated Node #0,2,3: 29:[5, 34] Operation: 91-57=34
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 29:[5, 34], Operations: ['92-87=5', '91-57=34']
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,29 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[92, 57, 87, 91], Operations: []
Exploring Operation: 92-87=5, Resulting Numbers: [57, 91, 5]
Generated Node #0,2: 29:[57, 91, 5] Operation: 92-87=5
Moving to Node #0,2
Current State: 29:[57, 91, 5], Operations: ['92-87=5']
Exploring Operation: 91-57=34, Resulting Numbers: [5, 34]
Generated Node #0,2,3: 29:[5, 34] Operation: 91-57=34
Moving to Node #0,2,3
Current State: 29:[5, 34], Operations: ['92-87=5', '91-57=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
48,
13,
97,
3
] | 34 | [
"48*3=144",
"13+97=110",
"144-110=34"
] | Current State: 34:[48, 13, 97, 3], Operations: []
Exploring Operation: 48*3=144, Resulting Numbers: [13, 97, 144]
Generated Node #2: [13, 97, 144] from Operation: 48*3=144
Current State: 34:[13, 97, 144], Operations: ['48*3=144']
Exploring Operation: 13+97=110, Resulting Numbers: [144, 110]
Generated Node #3: [144, 110] from Operation: 13+97=110
Current State: 34:[144, 110], Operations: ['48*3=144', '13+97=110']
Exploring Operation: 144-110=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[48, 13, 97, 3], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [48, 3, 84]
Generated Node #0,0: 34:[48, 3, 84] Operation: 97-13=84
Exploring Operation: 97-48=49, Resulting Numbers: [13, 3, 49]
Generated Node #0,1: 34:[13, 3, 49] Operation: 97-48=49
Exploring Operation: 48/3=16, Resulting Numbers: [13, 97, 16]
Generated Node #0,2: 34:[13, 97, 16] Operation: 48/3=16
Exploring Operation: 48-13=35, Resulting Numbers: [97, 3, 35]
Generated Node #0,3: 34:[97, 3, 35] Operation: 48-13=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[13, 3, 49], Operations: ['97-48=49']
Exploring Operation: 13+3=16, Resulting Numbers: [49, 16]
Generated Node #0,1,0: 34:[49, 16] Operation: 13+3=16
Exploring Operation: 49-3=46, Resulting Numbers: [13, 46]
Generated Node #0,1,1: 34:[13, 46] Operation: 49-3=46
Exploring Operation: 13*3=39, Resulting Numbers: [49, 39]
Generated Node #0,1,2: 34:[49, 39] Operation: 13*3=39
Exploring Operation: 49-13=36, Resulting Numbers: [3, 36]
Generated Node #0,1,3: 34:[3, 36] Operation: 49-13=36
Moving to Node #0,1,3
Current State: 34:[3, 36], Operations: ['97-48=49', '49-13=36']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 3*36=108, Resulting Numbers: [108]
108,34 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[13, 46], Operations: ['97-48=49', '49-3=46']
Exploring Operation: 13*46=598, Resulting Numbers: [598]
598,34 unequal: No Solution
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 13+46=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[49, 16], Operations: ['97-48=49', '13+3=16']
Exploring Operation: 49-16=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 49*16=784, Resulting Numbers: [784]
784,34 unequal: No Solution
Exploring Operation: 49+16=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[49, 39], Operations: ['97-48=49', '13*3=39']
Exploring Operation: 49+39=88, Resulting Numbers: [88]
88,34 unequal: No Solution
Exploring Operation: 49*39=1911, Resulting Numbers: [1911]
1911,34 unequal: No Solution
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[48, 3, 84], Operations: ['97-13=84']
Exploring Operation: 48/3=16, Resulting Numbers: [84, 16]
Generated Node #0,0,0: 34:[84, 16] Operation: 48/3=16
Exploring Operation: 48-3=45, Resulting Numbers: [84, 45]
Generated Node #0,0,1: 34:[84, 45] Operation: 48-3=45
Exploring Operation: 84-48=36, Resulting Numbers: [3, 36]
Generated Node #0,0,2: 34:[3, 36] Operation: 84-48=36
Exploring Operation: 84/3=28, Resulting Numbers: [48, 28]
Generated Node #0,0,3: 34:[48, 28] Operation: 84/3=28
Moving to Node #0,0,2
Current State: 34:[3, 36], Operations: ['97-13=84', '84-48=36']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 3*36=108, Resulting Numbers: [108]
108,34 unequal: No Solution
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[48, 28], Operations: ['97-13=84', '84/3=28']
Exploring Operation: 48*28=1344, Resulting Numbers: [1344]
1344,34 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[84, 16], Operations: ['97-13=84', '48/3=16']
Exploring Operation: 84*16=1344, Resulting Numbers: [1344]
1344,34 unequal: No Solution
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Exploring Operation: 84+16=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[84, 45], Operations: ['97-13=84', '48-3=45']
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 84+45=129, Resulting Numbers: [129]
129,34 unequal: No Solution
Exploring Operation: 84*45=3780, Resulting Numbers: [3780]
3780,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[97, 3, 35], Operations: ['48-13=35']
Exploring Operation: 97-3=94, Resulting Numbers: [35, 94]
Generated Node #0,3,0: 34:[35, 94] Operation: 97-3=94
Exploring Operation: 97-35=62, Resulting Numbers: [3, 62]
Generated Node #0,3,1: 34:[3, 62] Operation: 97-35=62
Exploring Operation: 35-3=32, Resulting Numbers: [97, 32]
Generated Node #0,3,2: 34:[97, 32] Operation: 35-3=32
Exploring Operation: 97+3=100, Resulting Numbers: [35, 100]
Generated Node #0,3,3: 34:[35, 100] Operation: 97+3=100
Moving to Node #0,3,1
Current State: 34:[3, 62], Operations: ['48-13=35', '97-35=62']
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 3*62=186, Resulting Numbers: [186]
186,34 unequal: No Solution
Moving to Node #0,3,0
Current State: 34:[35, 94], Operations: ['48-13=35', '97-3=94']
Exploring Operation: 35+94=129, Resulting Numbers: [129]
129,34 unequal: No Solution
Exploring Operation: 35*94=3290, Resulting Numbers: [3290]
3290,34 unequal: No Solution
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Moving to Node #0,3,2
Current State: 34:[97, 32], Operations: ['48-13=35', '35-3=32']
Exploring Operation: 97*32=3104, Resulting Numbers: [3104]
3104,34 unequal: No Solution
Exploring Operation: 97+32=129, Resulting Numbers: [129]
129,34 unequal: No Solution
Exploring Operation: 97-32=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[35, 100], Operations: ['48-13=35', '97+3=100']
Exploring Operation: 35*100=3500, Resulting Numbers: [3500]
3500,34 unequal: No Solution
Exploring Operation: 100-35=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 35+100=135, Resulting Numbers: [135]
135,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[13, 97, 16], Operations: ['48/3=16']
Exploring Operation: 97-16=81, Resulting Numbers: [13, 81]
Generated Node #0,2,0: 34:[13, 81] Operation: 97-16=81
Exploring Operation: 97-13=84, Resulting Numbers: [16, 84]
Generated Node #0,2,1: 34:[16, 84] Operation: 97-13=84
Exploring Operation: 16-13=3, Resulting Numbers: [97, 3]
Generated Node #0,2,2: 34:[97, 3] Operation: 16-13=3
Exploring Operation: 13+16=29, Resulting Numbers: [97, 29]
Generated Node #0,2,3: 34:[97, 29] Operation: 13+16=29
Moving to Node #0,2,0
Current State: 34:[13, 81], Operations: ['48/3=16', '97-16=81']
Exploring Operation: 13+81=94, Resulting Numbers: [94]
94,34 unequal: No Solution
Exploring Operation: 81-13=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Exploring Operation: 13*81=1053, Resulting Numbers: [1053]
1053,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[16, 84], Operations: ['48/3=16', '97-13=84']
Exploring Operation: 16*84=1344, Resulting Numbers: [1344]
1344,34 unequal: No Solution
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Exploring Operation: 16+84=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[97, 3], Operations: ['48/3=16', '16-13=3']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,34 unequal: No Solution
Exploring Operation: 97*3=291, Resulting Numbers: [291]
291,34 unequal: No Solution
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[97, 29], Operations: ['48/3=16', '13+16=29']
Exploring Operation: 97+29=126, Resulting Numbers: [126]
126,34 unequal: No Solution
Exploring Operation: 97*29=2813, Resulting Numbers: [2813]
2813,34 unequal: No Solution
Exploring Operation: 97-29=68, Resulting Numbers: [68]
68,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
86,
13,
16,
24
] | 65 | [
"86-13=73",
"24-16=8",
"73-8=65"
] | Current State: 65:[86, 13, 16, 24], Operations: []
Exploring Operation: 86-13=73, Resulting Numbers: [16, 24, 73]
Generated Node #2: [16, 24, 73] from Operation: 86-13=73
Current State: 65:[16, 24, 73], Operations: ['86-13=73']
Exploring Operation: 24-16=8, Resulting Numbers: [73, 8]
Generated Node #3: [73, 8] from Operation: 24-16=8
Current State: 65:[73, 8], Operations: ['86-13=73', '24-16=8']
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[86, 13, 16, 24], Operations: []
Exploring Operation: 86-24=62, Resulting Numbers: [13, 16, 62]
Generated Node #0,0: 65:[13, 16, 62] Operation: 86-24=62
Moving to Node #0,0
Current State: 65:[13, 16, 62], Operations: ['86-24=62']
Exploring Operation: 16-13=3, Resulting Numbers: [62, 3]
Generated Node #0,0,0: 65:[62, 3] Operation: 16-13=3
Moving to Node #0,0,0
Current State: 65:[62, 3], Operations: ['86-24=62', '16-13=3']
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[86, 13, 16, 24], Operations: []
Exploring Operation: 86-24=62, Resulting Numbers: [13, 16, 62]
Generated Node #0,0: 65:[13, 16, 62] Operation: 86-24=62
Moving to Node #0,0
Current State: 65:[13, 16, 62], Operations: ['86-24=62']
Exploring Operation: 16-13=3, Resulting Numbers: [62, 3]
Generated Node #0,0,0: 65:[62, 3] Operation: 16-13=3
Moving to Node #0,0,0
Current State: 65:[62, 3], Operations: ['86-24=62', '16-13=3']
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
77,
3,
64,
74
] | 63 | [
"77-3=74",
"74/74=1",
"64-1=63"
] | Current State: 63:[77, 3, 64, 74], Operations: []
Exploring Operation: 77-3=74, Resulting Numbers: [64, 74, 74]
Generated Node #2: [64, 74, 74] from Operation: 77-3=74
Current State: 63:[64, 74, 74], Operations: ['77-3=74']
Exploring Operation: 74/74=1, Resulting Numbers: [64, 1]
Generated Node #3: [64, 1] from Operation: 74/74=1
Current State: 63:[64, 1], Operations: ['77-3=74', '74/74=1']
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[77, 3, 64, 74], Operations: []
Exploring Operation: 77-74=3, Resulting Numbers: [3, 64, 3]
Generated Node #0,0: 63:[3, 64, 3] Operation: 77-74=3
Moving to Node #0,0
Current State: 63:[3, 64, 3], Operations: ['77-74=3']
Exploring Operation: 3*3=9, Resulting Numbers: [64, 9]
Generated Node #0,0,0: 63:[64, 9] Operation: 3*3=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[64, 9], Operations: ['77-74=3', '3*3=9']
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
27,
58,
34,
29
] | 17 | [
"27+58=85",
"34-29=5",
"85/5=17"
] | Current State: 17:[27, 58, 34, 29], Operations: []
Exploring Operation: 27+58=85, Resulting Numbers: [34, 29, 85]
Generated Node #2: [34, 29, 85] from Operation: 27+58=85
Current State: 17:[34, 29, 85], Operations: ['27+58=85']
Exploring Operation: 34-29=5, Resulting Numbers: [85, 5]
Generated Node #3: [85, 5] from Operation: 34-29=5
Current State: 17:[85, 5], Operations: ['27+58=85', '34-29=5']
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[27, 58, 34, 29], Operations: []
Exploring Operation: 58-29=29, Resulting Numbers: [27, 34, 29]
Generated Node #0,0: 17:[27, 34, 29] Operation: 58-29=29
Exploring Operation: 58-27=31, Resulting Numbers: [34, 29, 31]
Generated Node #0,1: 17:[34, 29, 31] Operation: 58-27=31
Exploring Operation: 58/29=2, Resulting Numbers: [27, 34, 2]
Generated Node #0,2: 17:[27, 34, 2] Operation: 58/29=2
Exploring Operation: 58-34=24, Resulting Numbers: [27, 29, 24]
Generated Node #0,3: 17:[27, 29, 24] Operation: 58-34=24
Start Sub Search at level 1: Moving to Node #0,3
Current State: 17:[27, 29, 24], Operations: ['58-34=24']
Exploring Operation: 29-24=5, Resulting Numbers: [27, 5]
Generated Node #0,3,0: 17:[27, 5] Operation: 29-24=5
Exploring Operation: 27+29=56, Resulting Numbers: [24, 56]
Generated Node #0,3,1: 17:[24, 56] Operation: 27+29=56
Exploring Operation: 27-24=3, Resulting Numbers: [29, 3]
Generated Node #0,3,2: 17:[29, 3] Operation: 27-24=3
Exploring Operation: 29-27=2, Resulting Numbers: [24, 2]
Generated Node #0,3,3: 17:[24, 2] Operation: 29-27=2
Moving to Node #0,3,0
Current State: 17:[27, 5], Operations: ['58-34=24', '29-24=5']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,17 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,17 unequal: No Solution
Moving to Node #0,3,3
Current State: 17:[24, 2], Operations: ['58-34=24', '29-27=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,17 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Moving to Node #0,3,2
Current State: 17:[29, 3], Operations: ['58-34=24', '27-24=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,17 unequal: No Solution
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Moving to Node #0,3,1
Current State: 17:[24, 56], Operations: ['58-34=24', '27+29=56']
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 24*56=1344, Resulting Numbers: [1344]
1344,17 unequal: No Solution
Exploring Operation: 24+56=80, Resulting Numbers: [80]
80,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[27, 34, 29], Operations: ['58-29=29']
Exploring Operation: 34-29=5, Resulting Numbers: [27, 5]
Generated Node #0,0,0: 17:[27, 5] Operation: 34-29=5
Exploring Operation: 34-27=7, Resulting Numbers: [29, 7]
Generated Node #0,0,1: 17:[29, 7] Operation: 34-27=7
Exploring Operation: 27+34=61, Resulting Numbers: [29, 61]
Generated Node #0,0,2: 17:[29, 61] Operation: 27+34=61
Exploring Operation: 29-27=2, Resulting Numbers: [34, 2]
Generated Node #0,0,3: 17:[34, 2] Operation: 29-27=2
Moving to Node #0,0,0
Current State: 17:[27, 5], Operations: ['58-29=29', '34-29=5']
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,17 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,17 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[29, 7], Operations: ['58-29=29', '34-27=7']
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,17 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,17 unequal: No Solution
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[34, 2], Operations: ['58-29=29', '29-27=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[27, 58, 34, 29], Operations: []
Exploring Operation: 58-29=29, Resulting Numbers: [27, 34, 29]
Generated Node #0,0: 17:[27, 34, 29] Operation: 58-29=29
Moving to Node #0,0
Current State: 17:[27, 34, 29], Operations: ['58-29=29']
Exploring Operation: 29-27=2, Resulting Numbers: [34, 2]
Generated Node #0,0,3: 17:[34, 2] Operation: 29-27=2
Moving to Node #0,0,3
Current State: 17:[34, 2], Operations: ['58-29=29', '29-27=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | mult_heuristic |
[
20,
76,
66,
46
] | 75 | [
"66-20=46",
"46/46=1",
"76-1=75"
] | Current State: 75:[20, 76, 66, 46], Operations: []
Exploring Operation: 66-20=46, Resulting Numbers: [76, 46, 46]
Generated Node #2: [76, 46, 46] from Operation: 66-20=46
Current State: 75:[76, 46, 46], Operations: ['66-20=46']
Exploring Operation: 46/46=1, Resulting Numbers: [76, 1]
Generated Node #3: [76, 1] from Operation: 46/46=1
Current State: 75:[76, 1], Operations: ['66-20=46', '46/46=1']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[20, 76, 66, 46], Operations: []
Exploring Operation: 46-20=26, Resulting Numbers: [76, 66, 26]
Generated Node #0,0: 75:[76, 66, 26] Operation: 46-20=26
Exploring Operation: 66-46=20, Resulting Numbers: [20, 76, 20]
Generated Node #0,1: 75:[20, 76, 20] Operation: 66-46=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[76, 66, 26], Operations: ['46-20=26']
Exploring Operation: 76-66=10, Resulting Numbers: [26, 10]
Generated Node #0,0,0: 75:[26, 10] Operation: 76-66=10
Exploring Operation: 66-26=40, Resulting Numbers: [76, 40]
Generated Node #0,0,1: 75:[76, 40] Operation: 66-26=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[26, 10], Operations: ['46-20=26', '76-66=10']
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[76, 40], Operations: ['46-20=26', '66-26=40']
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,75 unequal: No Solution
Exploring Operation: 76+40=116, Resulting Numbers: [116]
116,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,1
Current State: 75:[20, 76, 20], Operations: ['66-46=20']
Exploring Operation: 20/20=1, Resulting Numbers: [76, 1]
Generated Node #0,1,0: 75:[76, 1] Operation: 20/20=1
Exploring Operation: 20-20=0, Resulting Numbers: [76, 0]
Generated Node #0,1,1: 75:[76, 0] Operation: 20-20=0
Moving to Node #0,1,0
Current State: 75:[76, 1], Operations: ['66-46=20', '20/20=1']
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[20, 76, 66, 46], Operations: []
Exploring Operation: 66-46=20, Resulting Numbers: [20, 76, 20]
Generated Node #0,1: 75:[20, 76, 20] Operation: 66-46=20
Moving to Node #0,1
Current State: 75:[20, 76, 20], Operations: ['66-46=20']
Exploring Operation: 20/20=1, Resulting Numbers: [76, 1]
Generated Node #0,1,0: 75:[76, 1] Operation: 20/20=1
Moving to Node #0,1,0
Current State: 75:[76, 1], Operations: ['66-46=20', '20/20=1']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
4,
82,
2,
70
] | 46 | [
"82-70=12",
"4*12=48",
"48-2=46"
] | Current State: 46:[4, 82, 2, 70], Operations: []
Exploring Operation: 82-70=12, Resulting Numbers: [4, 2, 12]
Generated Node #2: [4, 2, 12] from Operation: 82-70=12
Current State: 46:[4, 2, 12], Operations: ['82-70=12']
Exploring Operation: 4*12=48, Resulting Numbers: [2, 48]
Generated Node #3: [2, 48] from Operation: 4*12=48
Current State: 46:[2, 48], Operations: ['82-70=12', '4*12=48']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[4, 82, 2, 70], Operations: []
Exploring Operation: 82-4=78, Resulting Numbers: [2, 70, 78]
Generated Node #0,0: 46:[2, 70, 78] Operation: 82-4=78
Exploring Operation: 82/2=41, Resulting Numbers: [4, 70, 41]
Generated Node #0,1: 46:[4, 70, 41] Operation: 82/2=41
Exploring Operation: 70-4=66, Resulting Numbers: [82, 2, 66]
Generated Node #0,2: 46:[82, 2, 66] Operation: 70-4=66
Exploring Operation: 70/2=35, Resulting Numbers: [4, 82, 35]
Generated Node #0,3: 46:[4, 82, 35] Operation: 70/2=35
Exploring Operation: 82-70=12, Resulting Numbers: [4, 2, 12]
Generated Node #0,4: 46:[4, 2, 12] Operation: 82-70=12
Start Sub Search at level 1: Moving to Node #0,4
Current State: 46:[4, 2, 12], Operations: ['82-70=12']
Exploring Operation: 12/2=6, Resulting Numbers: [4, 6]
Generated Node #0,4,0: 46:[4, 6] Operation: 12/2=6
Exploring Operation: 12/4=3, Resulting Numbers: [2, 3]
Generated Node #0,4,1: 46:[2, 3] Operation: 12/4=3
Exploring Operation: 4*12=48, Resulting Numbers: [2, 48]
Generated Node #0,4,2: 46:[2, 48] Operation: 4*12=48
Exploring Operation: 2*12=24, Resulting Numbers: [4, 24]
Generated Node #0,4,3: 46:[4, 24] Operation: 2*12=24
Exploring Operation: 12-4=8, Resulting Numbers: [2, 8]
Generated Node #0,4,4: 46:[2, 8] Operation: 12-4=8
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 46:[2, 3], Operations: ['82-70=12', '12/4=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 46:[2, 48], Operations: ['82-70=12', '4*12=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,46 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[4, 82, 2, 70], Operations: []
Exploring Operation: 82-70=12, Resulting Numbers: [4, 2, 12]
Generated Node #0,4: 46:[4, 2, 12] Operation: 82-70=12
Moving to Node #0,4
Current State: 46:[4, 2, 12], Operations: ['82-70=12']
Exploring Operation: 4*12=48, Resulting Numbers: [2, 48]
Generated Node #0,4,2: 46:[2, 48] Operation: 4*12=48
Moving to Node #0,4,2
Current State: 46:[2, 48], Operations: ['82-70=12', '4*12=48']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
16,
43,
33,
91
] | 83 | [
"43*33=1419",
"1419-91=1328",
"1328/16=83"
] | Current State: 83:[16, 43, 33, 91], Operations: []
Exploring Operation: 43*33=1419, Resulting Numbers: [16, 91, 1419]
Generated Node #2: [16, 91, 1419] from Operation: 43*33=1419
Current State: 83:[16, 91, 1419], Operations: ['43*33=1419']
Exploring Operation: 1419-91=1328, Resulting Numbers: [16, 1328]
Generated Node #3: [16, 1328] from Operation: 1419-91=1328
Current State: 83:[16, 1328], Operations: ['43*33=1419', '1419-91=1328']
Exploring Operation: 1328/16=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[16, 43, 33, 91], Operations: []
Exploring Operation: 91-16=75, Resulting Numbers: [43, 33, 75]
Generated Node #0,0: 83:[43, 33, 75] Operation: 91-16=75
Exploring Operation: 43+33=76, Resulting Numbers: [16, 91, 76]
Generated Node #0,1: 83:[16, 91, 76] Operation: 43+33=76
Exploring Operation: 16+33=49, Resulting Numbers: [43, 91, 49]
Generated Node #0,2: 83:[43, 91, 49] Operation: 16+33=49
Exploring Operation: 16+43=59, Resulting Numbers: [33, 91, 59]
Generated Node #0,3: 83:[33, 91, 59] Operation: 16+43=59
Moving to Node #0,1
Current State: 83:[16, 91, 76], Operations: ['43+33=76']
Exploring Operation: 91-16=75, Resulting Numbers: [76, 75]
Generated Node #0,1,0: 83:[76, 75] Operation: 91-16=75
Exploring Operation: 76-16=60, Resulting Numbers: [91, 60]
Generated Node #0,1,1: 83:[91, 60] Operation: 76-16=60
Exploring Operation: 16+91=107, Resulting Numbers: [76, 107]
Generated Node #0,1,2: 83:[76, 107] Operation: 16+91=107
Exploring Operation: 16+76=92, Resulting Numbers: [91, 92]
Generated Node #0,1,3: 83:[91, 92] Operation: 16+76=92
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[76, 75], Operations: ['43+33=76', '91-16=75']
Exploring Operation: 76+75=151, Resulting Numbers: [151]
151,83 unequal: No Solution
Exploring Operation: 76-75=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 76*75=5700, Resulting Numbers: [5700]
5700,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 83:[91, 92], Operations: ['43+33=76', '16+76=92']
Exploring Operation: 91+92=183, Resulting Numbers: [183]
183,83 unequal: No Solution
Exploring Operation: 91*92=8372, Resulting Numbers: [8372]
8372,83 unequal: No Solution
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[91, 60], Operations: ['43+33=76', '76-16=60']
Exploring Operation: 91*60=5460, Resulting Numbers: [5460]
5460,83 unequal: No Solution
Exploring Operation: 91-60=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 91+60=151, Resulting Numbers: [151]
151,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[76, 107], Operations: ['43+33=76', '16+91=107']
Exploring Operation: 76*107=8132, Resulting Numbers: [8132]
8132,83 unequal: No Solution
Exploring Operation: 76+107=183, Resulting Numbers: [183]
183,83 unequal: No Solution
Exploring Operation: 107-76=31, Resulting Numbers: [31]
31,83 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: 83:[33, 91, 59], Operations: ['16+43=59']
Exploring Operation: 33+91=124, Resulting Numbers: [59, 124]
Generated Node #0,3,0: 83:[59, 124] Operation: 33+91=124
Exploring Operation: 33+59=92, Resulting Numbers: [91, 92]
Generated Node #0,3,1: 83:[91, 92] Operation: 33+59=92
Exploring Operation: 91-33=58, Resulting Numbers: [59, 58]
Generated Node #0,3,2: 83:[59, 58] Operation: 91-33=58
Exploring Operation: 59-33=26, Resulting Numbers: [91, 26]
Generated Node #0,3,3: 83:[91, 26] Operation: 59-33=26
Moving to Node #0,2
Current State: 83:[43, 91, 49], Operations: ['16+33=49']
Exploring Operation: 91-43=48, Resulting Numbers: [49, 48]
Generated Node #0,2,0: 83:[49, 48] Operation: 91-43=48
Exploring Operation: 43+91=134, Resulting Numbers: [49, 134]
Generated Node #0,2,1: 83:[49, 134] Operation: 43+91=134
Exploring Operation: 43+49=92, Resulting Numbers: [91, 92]
Generated Node #0,2,2: 83:[91, 92] Operation: 43+49=92
Exploring Operation: 91-49=42, Resulting Numbers: [43, 42]
Generated Node #0,2,3: 83:[43, 42] Operation: 91-49=42
Moving to Node #0,0
Current State: 83:[43, 33, 75], Operations: ['91-16=75']
Exploring Operation: 75-33=42, Resulting Numbers: [43, 42]
Generated Node #0,0,0: 83:[43, 42] Operation: 75-33=42
Exploring Operation: 43+33=76, Resulting Numbers: [75, 76]
Generated Node #0,0,1: 83:[75, 76] Operation: 43+33=76
Exploring Operation: 43-33=10, Resulting Numbers: [75, 10]
Generated Node #0,0,2: 83:[75, 10] Operation: 43-33=10
Exploring Operation: 33+75=108, Resulting Numbers: [43, 108]
Generated Node #0,0,3: 83:[43, 108] Operation: 33+75=108
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[75, 76], Operations: ['91-16=75', '43+33=76']
Exploring Operation: 75+76=151, Resulting Numbers: [151]
151,83 unequal: No Solution
Exploring Operation: 76-75=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 75*76=5700, Resulting Numbers: [5700]
5700,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,0,3
Current State: 83:[43, 108], Operations: ['91-16=75', '33+75=108']
Exploring Operation: 43*108=4644, Resulting Numbers: [4644]
4644,83 unequal: No Solution
Exploring Operation: 43+108=151, Resulting Numbers: [151]
151,83 unequal: No Solution
Exploring Operation: 108-43=65, Resulting Numbers: [65]
65,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,0,0
Current State: 83:[43, 42], Operations: ['91-16=75', '75-33=42']
Exploring Operation: 43*42=1806, Resulting Numbers: [1806]
1806,83 unequal: No Solution
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,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,0,2
Current State: 83:[75, 10], Operations: ['91-16=75', '43-33=10']
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,83 unequal: No Solution
Exploring Operation: 75+10=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 75*10=750, Resulting Numbers: [750]
750,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 83:[91, 92], Operations: ['16+43=59', '33+59=92']
Exploring Operation: 91+92=183, Resulting Numbers: [183]
183,83 unequal: No Solution
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 91*92=8372, Resulting Numbers: [8372]
8372,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[91, 92], Operations: ['16+33=49', '43+49=92']
Exploring Operation: 91+92=183, Resulting Numbers: [183]
183,83 unequal: No Solution
Exploring Operation: 91*92=8372, Resulting Numbers: [8372]
8372,83 unequal: No Solution
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[59, 58], Operations: ['16+43=59', '91-33=58']
Exploring Operation: 59-58=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 59*58=3422, Resulting Numbers: [3422]
3422,83 unequal: No Solution
Exploring Operation: 59+58=117, Resulting Numbers: [117]
117,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[59, 124], Operations: ['16+43=59', '33+91=124']
Exploring Operation: 59*124=7316, Resulting Numbers: [7316]
7316,83 unequal: No Solution
Exploring Operation: 59+124=183, Resulting Numbers: [183]
183,83 unequal: No Solution
Exploring Operation: 124-59=65, Resulting Numbers: [65]
65,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[91, 26], Operations: ['16+43=59', '59-33=26']
Exploring Operation: 91+26=117, Resulting Numbers: [117]
117,83 unequal: No Solution
Exploring Operation: 91-26=65, Resulting Numbers: [65]
65,83 unequal: No Solution
Exploring Operation: 91*26=2366, Resulting Numbers: [2366]
2366,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[49, 48], Operations: ['16+33=49', '91-43=48']
Exploring Operation: 49*48=2352, Resulting Numbers: [2352]
2352,83 unequal: No Solution
Exploring Operation: 49+48=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[43, 42], Operations: ['16+33=49', '91-49=42']
Exploring Operation: 43*42=1806, Resulting Numbers: [1806]
1806,83 unequal: No Solution
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[49, 134], Operations: ['16+33=49', '43+91=134']
Exploring Operation: 49*134=6566, Resulting Numbers: [6566]
6566,83 unequal: No Solution
Exploring Operation: 49+134=183, Resulting Numbers: [183]
183,83 unequal: No Solution
Exploring Operation: 134-49=85, Resulting Numbers: [85]
85,83 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
15,
81,
4,
6
] | 39 | [
"81*4=324",
"324/6=54",
"54-15=39"
] | Current State: 39:[15, 81, 4, 6], Operations: []
Exploring Operation: 81*4=324, Resulting Numbers: [15, 6, 324]
Generated Node #2: [15, 6, 324] from Operation: 81*4=324
Current State: 39:[15, 6, 324], Operations: ['81*4=324']
Exploring Operation: 324/6=54, Resulting Numbers: [15, 54]
Generated Node #3: [15, 54] from Operation: 324/6=54
Current State: 39:[15, 54], Operations: ['81*4=324', '324/6=54']
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[15, 81, 4, 6], Operations: []
Exploring Operation: 81-4=77, Resulting Numbers: [15, 6, 77]
Generated Node #0,0: 39:[15, 6, 77] Operation: 81-4=77
Exploring Operation: 81-6=75, Resulting Numbers: [15, 4, 75]
Generated Node #0,1: 39:[15, 4, 75] Operation: 81-6=75
Exploring Operation: 81-15=66, Resulting Numbers: [4, 6, 66]
Generated Node #0,2: 39:[4, 6, 66] Operation: 81-15=66
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[4, 6, 66], Operations: ['81-15=66']
Exploring Operation: 66/6=11, Resulting Numbers: [4, 11]
Generated Node #0,2,0: 39:[4, 11] Operation: 66/6=11
Exploring Operation: 66-6=60, Resulting Numbers: [4, 60]
Generated Node #0,2,1: 39:[4, 60] Operation: 66-6=60
Exploring Operation: 66-4=62, Resulting Numbers: [6, 62]
Generated Node #0,2,2: 39:[6, 62] Operation: 66-4=62
Moving to Node #0,2,0
Current State: 39:[4, 11], Operations: ['81-15=66', '66/6=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[4, 60], Operations: ['81-15=66', '66-6=60']
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,39 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[6, 62], Operations: ['81-15=66', '66-4=62']
Exploring Operation: 6+62=68, Resulting Numbers: [68]
68,39 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,39 unequal: No Solution
Exploring Operation: 6*62=372, Resulting Numbers: [372]
372,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[15, 4, 75], Operations: ['81-6=75']
Exploring Operation: 75/15=5, Resulting Numbers: [4, 5]
Generated Node #0,1,0: 39:[4, 5] Operation: 75/15=5
Exploring Operation: 75-4=71, Resulting Numbers: [15, 71]
Generated Node #0,1,1: 39:[15, 71] Operation: 75-4=71
Exploring Operation: 75-15=60, Resulting Numbers: [4, 60]
Generated Node #0,1,2: 39:[4, 60] Operation: 75-15=60
Moving to Node #0,1,0
Current State: 39:[4, 5], Operations: ['81-6=75', '75/15=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[4, 60], Operations: ['81-6=75', '75-15=60']
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,39 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[15, 71], Operations: ['81-6=75', '75-4=71']
Exploring Operation: 15+71=86, Resulting Numbers: [86]
86,39 unequal: No Solution
Exploring Operation: 15*71=1065, Resulting Numbers: [1065]
1065,39 unequal: No Solution
Exploring Operation: 71-15=56, Resulting Numbers: [56]
56,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:[15, 6, 77], Operations: ['81-4=77']
Exploring Operation: 77-15=62, Resulting Numbers: [6, 62]
Generated Node #0,0,0: 39:[6, 62] Operation: 77-15=62
Exploring Operation: 15-6=9, Resulting Numbers: [77, 9]
Generated Node #0,0,1: 39:[77, 9] Operation: 15-6=9
Exploring Operation: 77-6=71, Resulting Numbers: [15, 71]
Generated Node #0,0,2: 39:[15, 71] Operation: 77-6=71
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[6, 62], Operations: ['81-4=77', '77-15=62']
Exploring Operation: 6*62=372, Resulting Numbers: [372]
372,39 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,39 unequal: No Solution
Exploring Operation: 6+62=68, Resulting Numbers: [68]
68,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:[15, 71], Operations: ['81-4=77', '77-6=71']
Exploring Operation: 15*71=1065, Resulting Numbers: [1065]
1065,39 unequal: No Solution
Exploring Operation: 71-15=56, Resulting Numbers: [56]
56,39 unequal: No Solution
Exploring Operation: 15+71=86, Resulting Numbers: [86]
86,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,1
Current State: 39:[77, 9], Operations: ['81-4=77', '15-6=9']
Exploring Operation: 77+9=86, Resulting Numbers: [86]
86,39 unequal: No Solution
Exploring Operation: 77*9=693, Resulting Numbers: [693]
693,39 unequal: No Solution
Exploring Operation: 77-9=68, Resulting Numbers: [68]
68,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
No solution found.
| 0 | hs_3 | sum_heuristic |
[
62,
38,
59,
49
] | 84 | [
"62-38=24",
"59+49=108",
"108-24=84"
] | Current State: 84:[62, 38, 59, 49], Operations: []
Exploring Operation: 62-38=24, Resulting Numbers: [59, 49, 24]
Generated Node #2: [59, 49, 24] from Operation: 62-38=24
Current State: 84:[59, 49, 24], Operations: ['62-38=24']
Exploring Operation: 59+49=108, Resulting Numbers: [24, 108]
Generated Node #3: [24, 108] from Operation: 59+49=108
Current State: 84:[24, 108], Operations: ['62-38=24', '59+49=108']
Exploring Operation: 108-24=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[62, 38, 59, 49], Operations: []
Exploring Operation: 62-59=3, Resulting Numbers: [38, 49, 3]
Generated Node #0,0: 84:[38, 49, 3] Operation: 62-59=3
Exploring Operation: 62-49=13, Resulting Numbers: [38, 59, 13]
Generated Node #0,1: 84:[38, 59, 13] Operation: 62-49=13
Exploring Operation: 62-38=24, Resulting Numbers: [59, 49, 24]
Generated Node #0,2: 84:[59, 49, 24] Operation: 62-38=24
Exploring Operation: 59-49=10, Resulting Numbers: [62, 38, 10]
Generated Node #0,3: 84:[62, 38, 10] Operation: 59-49=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[38, 49, 3], Operations: ['62-59=3']
Exploring Operation: 38+49=87, Resulting Numbers: [3, 87]
Generated Node #0,0,0: 84:[3, 87] Operation: 38+49=87
Exploring Operation: 49-3=46, Resulting Numbers: [38, 46]
Generated Node #0,0,1: 84:[38, 46] Operation: 49-3=46
Exploring Operation: 49-38=11, Resulting Numbers: [3, 11]
Generated Node #0,0,2: 84:[3, 11] Operation: 49-38=11
Exploring Operation: 38+3=41, Resulting Numbers: [49, 41]
Generated Node #0,0,3: 84:[49, 41] Operation: 38+3=41
Moving to Node #0,0,2
Current State: 84:[3, 11], Operations: ['62-59=3', '49-38=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[3, 87], Operations: ['62-59=3', '38+49=87']
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[62, 38, 59, 49], Operations: []
Exploring Operation: 62-59=3, Resulting Numbers: [38, 49, 3]
Generated Node #0,0: 84:[38, 49, 3] Operation: 62-59=3
Moving to Node #0,0
Current State: 84:[38, 49, 3], Operations: ['62-59=3']
Exploring Operation: 38+49=87, Resulting Numbers: [3, 87]
Generated Node #0,0,0: 84:[3, 87] Operation: 38+49=87
Moving to Node #0,0,0
Current State: 84:[3, 87], Operations: ['62-59=3', '38+49=87']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
17,
33,
24,
23
] | 16 | [
"33-17=16",
"24-23=1",
"16*1=16"
] | Current State: 16:[17, 33, 24, 23], Operations: []
Exploring Operation: 33-17=16, Resulting Numbers: [24, 23, 16]
Generated Node #2: [24, 23, 16] from Operation: 33-17=16
Current State: 16:[24, 23, 16], Operations: ['33-17=16']
Exploring Operation: 24-23=1, Resulting Numbers: [16, 1]
Generated Node #3: [16, 1] from Operation: 24-23=1
Current State: 16:[16, 1], Operations: ['33-17=16', '24-23=1']
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[17, 33, 24, 23], Operations: []
Exploring Operation: 33-24=9, Resulting Numbers: [17, 23, 9]
Generated Node #0,0: 16:[17, 23, 9] Operation: 33-24=9
Exploring Operation: 33-23=10, Resulting Numbers: [17, 24, 10]
Generated Node #0,1: 16:[17, 24, 10] Operation: 33-23=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[17, 23, 9], Operations: ['33-24=9']
Exploring Operation: 23-17=6, Resulting Numbers: [9, 6]
Generated Node #0,0,0: 16:[9, 6] Operation: 23-17=6
Exploring Operation: 23-9=14, Resulting Numbers: [17, 14]
Generated Node #0,0,1: 16:[17, 14] Operation: 23-9=14
Moving to Node #0,0,0
Current State: 16:[9, 6], Operations: ['33-24=9', '23-17=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[17, 14], Operations: ['33-24=9', '23-9=14']
Exploring Operation: 17+14=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[17, 24, 10], Operations: ['33-23=10']
Exploring Operation: 24-17=7, Resulting Numbers: [10, 7]
Generated Node #0,1,0: 16:[10, 7] Operation: 24-17=7
Exploring Operation: 24-10=14, Resulting Numbers: [17, 14]
Generated Node #0,1,1: 16:[17, 14] Operation: 24-10=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[10, 7], Operations: ['33-23=10', '24-17=7']
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,16 unequal: No Solution
No 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: 16:[17, 14], Operations: ['33-23=10', '24-10=14']
Exploring Operation: 17+14=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
44,
4,
78,
6
] | 48 | [
"44*6=264",
"4*78=312",
"312-264=48"
] | Current State: 48:[44, 4, 78, 6], Operations: []
Exploring Operation: 44*6=264, Resulting Numbers: [4, 78, 264]
Generated Node #2: [4, 78, 264] from Operation: 44*6=264
Current State: 48:[4, 78, 264], Operations: ['44*6=264']
Exploring Operation: 4*78=312, Resulting Numbers: [264, 312]
Generated Node #3: [264, 312] from Operation: 4*78=312
Current State: 48:[264, 312], Operations: ['44*6=264', '4*78=312']
Exploring Operation: 312-264=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[44, 4, 78, 6], Operations: []
Exploring Operation: 44+4=48, Resulting Numbers: [78, 6, 48]
Generated Node #0,0: 48:[78, 6, 48] Operation: 44+4=48
Exploring Operation: 78-6=72, Resulting Numbers: [44, 4, 72]
Generated Node #0,1: 48:[44, 4, 72] Operation: 78-6=72
Exploring Operation: 78-44=34, Resulting Numbers: [4, 6, 34]
Generated Node #0,2: 48:[4, 6, 34] Operation: 78-44=34
Exploring Operation: 78/6=13, Resulting Numbers: [44, 4, 13]
Generated Node #0,3: 48:[44, 4, 13] Operation: 78/6=13
Moving to Node #0,3
Current State: 48:[44, 4, 13], Operations: ['78/6=13']
Exploring Operation: 4+13=17, Resulting Numbers: [44, 17]
Generated Node #0,3,0: 48:[44, 17] Operation: 4+13=17
Exploring Operation: 44/4=11, Resulting Numbers: [13, 11]
Generated Node #0,3,1: 48:[13, 11] Operation: 44/4=11
Exploring Operation: 44+4=48, Resulting Numbers: [13, 48]
Generated Node #0,3,2: 48:[13, 48] Operation: 44+4=48
Exploring Operation: 13-4=9, Resulting Numbers: [44, 9]
Generated Node #0,3,3: 48:[44, 9] Operation: 13-4=9
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 48:[13, 48], Operations: ['78/6=13', '44+4=48']
Exploring Operation: 13+48=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,48 unequal: No Solution
Exploring Operation: 13*48=624, Resulting Numbers: [624]
624,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 48:[13, 11], Operations: ['78/6=13', '44/4=11']
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,48 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 48:[44, 17], Operations: ['78/6=13', '4+13=17']
Exploring Operation: 44+17=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 44*17=748, Resulting Numbers: [748]
748,48 unequal: No Solution
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 48:[44, 9], Operations: ['78/6=13', '13-4=9']
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,48 unequal: No Solution
Exploring Operation: 44*9=396, Resulting Numbers: [396]
396,48 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 48:[4, 6, 34], Operations: ['78-44=34']
Exploring Operation: 34-4=30, Resulting Numbers: [6, 30]
Generated Node #0,2,0: 48:[6, 30] Operation: 34-4=30
Exploring Operation: 34-6=28, Resulting Numbers: [4, 28]
Generated Node #0,2,1: 48:[4, 28] Operation: 34-6=28
Exploring Operation: 6+34=40, Resulting Numbers: [4, 40]
Generated Node #0,2,2: 48:[4, 40] Operation: 6+34=40
Exploring Operation: 4*6=24, Resulting Numbers: [34, 24]
Generated Node #0,2,3: 48:[34, 24] Operation: 4*6=24
Moving to Node #0,1
Current State: 48:[44, 4, 72], Operations: ['78-6=72']
Exploring Operation: 44+4=48, Resulting Numbers: [72, 48]
Generated Node #0,1,0: 48:[72, 48] Operation: 44+4=48
Exploring Operation: 72-4=68, Resulting Numbers: [44, 68]
Generated Node #0,1,1: 48:[44, 68] Operation: 72-4=68
Exploring Operation: 72/4=18, Resulting Numbers: [44, 18]
Generated Node #0,1,2: 48:[44, 18] Operation: 72/4=18
Exploring Operation: 72-44=28, Resulting Numbers: [4, 28]
Generated Node #0,1,3: 48:[4, 28] Operation: 72-44=28
Moving to Node #0,0
Current State: 48:[78, 6, 48], Operations: ['44+4=48']
Exploring Operation: 78/6=13, Resulting Numbers: [48, 13]
Generated Node #0,0,0: 48:[48, 13] Operation: 78/6=13
Exploring Operation: 48/6=8, Resulting Numbers: [78, 8]
Generated Node #0,0,1: 48:[78, 8] Operation: 48/6=8
Exploring Operation: 78-6=72, Resulting Numbers: [48, 72]
Generated Node #0,0,2: 48:[48, 72] Operation: 78-6=72
Exploring Operation: 78-48=30, Resulting Numbers: [6, 30]
Generated Node #0,0,3: 48:[6, 30] Operation: 78-48=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[48, 13], Operations: ['44+4=48', '78/6=13']
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,48 unequal: No Solution
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 48*13=624, Resulting Numbers: [624]
624,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 48:[6, 30], Operations: ['44+4=48', '78-48=30']
Exploring Operation: 6*30=180, Resulting Numbers: [180]
180,48 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 48:[48, 72], Operations: ['44+4=48', '78-6=72']
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 48*72=3456, Resulting Numbers: [3456]
3456,48 unequal: No Solution
Exploring Operation: 48+72=120, Resulting Numbers: [120]
120,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[78, 8], Operations: ['44+4=48', '48/6=8']
Exploring Operation: 78+8=86, Resulting Numbers: [86]
86,48 unequal: No Solution
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,48 unequal: No Solution
Exploring Operation: 78*8=624, Resulting Numbers: [624]
624,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 48:[4, 28], Operations: ['78-44=34', '34-6=28']
Exploring Operation: 4*28=112, Resulting Numbers: [112]
112,48 unequal: No Solution
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,48 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Moving to Node #0,1,3
Current State: 48:[4, 28], Operations: ['78-6=72', '72-44=28']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 4*28=112, Resulting Numbers: [112]
112,48 unequal: No Solution
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[44, 18], Operations: ['78-6=72', '72/4=18']
Exploring Operation: 44+18=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 44*18=792, Resulting Numbers: [792]
792,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[6, 30], Operations: ['78-44=34', '34-4=30']
Exploring Operation: 6*30=180, Resulting Numbers: [180]
180,48 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[4, 40], Operations: ['78-44=34', '6+34=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,48 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,48 unequal: No Solution
Moving to Node #0,2,3
Current State: 48:[34, 24], Operations: ['78-44=34', '4*6=24']
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,48 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[72, 48], Operations: ['78-6=72', '44+4=48']
Exploring Operation: 72+48=120, Resulting Numbers: [120]
120,48 unequal: No Solution
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 72*48=3456, Resulting Numbers: [3456]
3456,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[44, 68], Operations: ['78-6=72', '72-4=68']
Exploring Operation: 44+68=112, Resulting Numbers: [112]
112,48 unequal: No Solution
Exploring Operation: 44*68=2992, Resulting Numbers: [2992]
2992,48 unequal: No Solution
Exploring Operation: 68-44=24, Resulting Numbers: [24]
24,48 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
83,
59,
27,
21
] | 81 | [
"83-59=24",
"24-21=3",
"27*3=81"
] | Current State: 81:[83, 59, 27, 21], Operations: []
Exploring Operation: 83-59=24, Resulting Numbers: [27, 21, 24]
Generated Node #2: [27, 21, 24] from Operation: 83-59=24
Current State: 81:[27, 21, 24], Operations: ['83-59=24']
Exploring Operation: 24-21=3, Resulting Numbers: [27, 3]
Generated Node #3: [27, 3] from Operation: 24-21=3
Current State: 81:[27, 3], Operations: ['83-59=24', '24-21=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[83, 59, 27, 21], Operations: []
Exploring Operation: 83-59=24, Resulting Numbers: [27, 21, 24]
Generated Node #0,0: 81:[27, 21, 24] Operation: 83-59=24
Exploring Operation: 59+21=80, Resulting Numbers: [83, 27, 80]
Generated Node #0,1: 81:[83, 27, 80] Operation: 59+21=80
Moving to Node #0,1
Current State: 81:[83, 27, 80], Operations: ['59+21=80']
Exploring Operation: 83-80=3, Resulting Numbers: [27, 3]
Generated Node #0,1,0: 81:[27, 3] Operation: 83-80=3
Exploring Operation: 83-27=56, Resulting Numbers: [80, 56]
Generated Node #0,1,1: 81:[80, 56] Operation: 83-27=56
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[27, 3], Operations: ['59+21=80', '83-80=3']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[83, 59, 27, 21], Operations: []
Exploring Operation: 59+21=80, Resulting Numbers: [83, 27, 80]
Generated Node #0,1: 81:[83, 27, 80] Operation: 59+21=80
Moving to Node #0,1
Current State: 81:[83, 27, 80], Operations: ['59+21=80']
Exploring Operation: 83-80=3, Resulting Numbers: [27, 3]
Generated Node #0,1,0: 81:[27, 3] Operation: 83-80=3
Moving to Node #0,1,0
Current State: 81:[27, 3], Operations: ['59+21=80', '83-80=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
73,
25,
30,
17
] | 28 | [
"73+17=90",
"90/30=3",
"25+3=28"
] | Current State: 28:[73, 25, 30, 17], Operations: []
Exploring Operation: 73+17=90, Resulting Numbers: [25, 30, 90]
Generated Node #2: [25, 30, 90] from Operation: 73+17=90
Current State: 28:[25, 30, 90], Operations: ['73+17=90']
Exploring Operation: 90/30=3, Resulting Numbers: [25, 3]
Generated Node #3: [25, 3] from Operation: 90/30=3
Current State: 28:[25, 3], Operations: ['73+17=90', '90/30=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[73, 25, 30, 17], Operations: []
Exploring Operation: 73-25=48, Resulting Numbers: [30, 17, 48]
Generated Node #0,0: 28:[30, 17, 48] Operation: 73-25=48
Exploring Operation: 73-30=43, Resulting Numbers: [25, 17, 43]
Generated Node #0,1: 28:[25, 17, 43] Operation: 73-30=43
Moving to Node #0,1
Current State: 28:[25, 17, 43], Operations: ['73-30=43']
Exploring Operation: 43-25=18, Resulting Numbers: [17, 18]
Generated Node #0,1,0: 28:[17, 18] Operation: 43-25=18
Exploring Operation: 43-17=26, Resulting Numbers: [25, 26]
Generated Node #0,1,1: 28:[25, 26] Operation: 43-17=26
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[25, 26], Operations: ['73-30=43', '43-17=26']
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 25+26=51, Resulting Numbers: [51]
51,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[17, 18], Operations: ['73-30=43', '43-25=18']
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 28:[30, 17, 48], Operations: ['73-25=48']
Exploring Operation: 48-30=18, Resulting Numbers: [17, 18]
Generated Node #0,0,0: 28:[17, 18] Operation: 48-30=18
Exploring Operation: 48-17=31, Resulting Numbers: [30, 31]
Generated Node #0,0,1: 28:[30, 31] Operation: 48-17=31
Moving to Node #0,0,1
Current State: 28:[30, 31], Operations: ['73-25=48', '48-17=31']
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,28 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[17, 18], Operations: ['73-25=48', '48-30=18']
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,28 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
97,
3,
12,
91
] | 21 | [
"97+3=100",
"91-12=79",
"100-79=21"
] | Current State: 21:[97, 3, 12, 91], Operations: []
Exploring Operation: 97+3=100, Resulting Numbers: [12, 91, 100]
Generated Node #2: [12, 91, 100] from Operation: 97+3=100
Current State: 21:[12, 91, 100], Operations: ['97+3=100']
Exploring Operation: 91-12=79, Resulting Numbers: [100, 79]
Generated Node #3: [100, 79] from Operation: 91-12=79
Current State: 21:[100, 79], Operations: ['97+3=100', '91-12=79']
Exploring Operation: 100-79=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[97, 3, 12, 91], Operations: []
Exploring Operation: 97-12=85, Resulting Numbers: [3, 91, 85]
Generated Node #0,0: 21:[3, 91, 85] Operation: 97-12=85
Exploring Operation: 91-12=79, Resulting Numbers: [97, 3, 79]
Generated Node #0,1: 21:[97, 3, 79] Operation: 91-12=79
Exploring Operation: 97-91=6, Resulting Numbers: [3, 12, 6]
Generated Node #0,2: 21:[3, 12, 6] Operation: 97-91=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[3, 12, 6], Operations: ['97-91=6']
Exploring Operation: 12/6=2, Resulting Numbers: [3, 2]
Generated Node #0,2,0: 21:[3, 2] Operation: 12/6=2
Exploring Operation: 12-6=6, Resulting Numbers: [3, 6]
Generated Node #0,2,1: 21:[3, 6] Operation: 12-6=6
Exploring Operation: 12/3=4, Resulting Numbers: [6, 4]
Generated Node #0,2,2: 21:[6, 4] Operation: 12/3=4
Moving to Node #0,2,0
Current State: 21:[3, 2], Operations: ['97-91=6', '12/6=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[3, 6], Operations: ['97-91=6', '12-6=6']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[6, 4], Operations: ['97-91=6', '12/3=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[3, 91, 85], Operations: ['97-12=85']
Exploring Operation: 85-3=82, Resulting Numbers: [91, 82]
Generated Node #0,0,0: 21:[91, 82] Operation: 85-3=82
Exploring Operation: 91-85=6, Resulting Numbers: [3, 6]
Generated Node #0,0,1: 21:[3, 6] Operation: 91-85=6
Exploring Operation: 91-3=88, Resulting Numbers: [85, 88]
Generated Node #0,0,2: 21:[85, 88] Operation: 91-3=88
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[3, 6], Operations: ['97-12=85', '91-85=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[91, 82], Operations: ['97-12=85', '85-3=82']
Exploring Operation: 91*82=7462, Resulting Numbers: [7462]
7462,21 unequal: No Solution
Exploring Operation: 91+82=173, Resulting Numbers: [173]
173,21 unequal: No Solution
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[85, 88], Operations: ['97-12=85', '91-3=88']
Exploring Operation: 88-85=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 85+88=173, Resulting Numbers: [173]
173,21 unequal: No Solution
Exploring Operation: 85*88=7480, Resulting Numbers: [7480]
7480,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[97, 3, 79], Operations: ['91-12=79']
Exploring Operation: 97-3=94, Resulting Numbers: [79, 94]
Generated Node #0,1,0: 21:[79, 94] Operation: 97-3=94
Exploring Operation: 79-3=76, Resulting Numbers: [97, 76]
Generated Node #0,1,1: 21:[97, 76] Operation: 79-3=76
Exploring Operation: 97-79=18, Resulting Numbers: [3, 18]
Generated Node #0,1,2: 21:[3, 18] Operation: 97-79=18
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 21:[3, 18], Operations: ['91-12=79', '97-79=18']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[97, 3, 12, 91], Operations: []
Exploring Operation: 91-12=79, Resulting Numbers: [97, 3, 79]
Generated Node #0,1: 21:[97, 3, 79] Operation: 91-12=79
Moving to Node #0,1
Current State: 21:[97, 3, 79], Operations: ['91-12=79']
Exploring Operation: 97-79=18, Resulting Numbers: [3, 18]
Generated Node #0,1,2: 21:[3, 18] Operation: 97-79=18
Moving to Node #0,1,2
Current State: 21:[3, 18], Operations: ['91-12=79', '97-79=18']
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_3 | sum_heuristic |
[
30,
75,
46,
15
] | 15 | [
"75-30=45",
"46-45=1",
"15*1=15"
] | Current State: 15:[30, 75, 46, 15], Operations: []
Exploring Operation: 75-30=45, Resulting Numbers: [46, 15, 45]
Generated Node #2: [46, 15, 45] from Operation: 75-30=45
Current State: 15:[46, 15, 45], Operations: ['75-30=45']
Exploring Operation: 46-45=1, Resulting Numbers: [15, 1]
Generated Node #3: [15, 1] from Operation: 46-45=1
Current State: 15:[15, 1], Operations: ['75-30=45', '46-45=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[30, 75, 46, 15], Operations: []
Exploring Operation: 75-30=45, Resulting Numbers: [46, 15, 45]
Generated Node #0,0: 15:[46, 15, 45] Operation: 75-30=45
Exploring Operation: 75-46=29, Resulting Numbers: [30, 15, 29]
Generated Node #0,1: 15:[30, 15, 29] Operation: 75-46=29
Exploring Operation: 46-30=16, Resulting Numbers: [75, 15, 16]
Generated Node #0,2: 15:[75, 15, 16] Operation: 46-30=16
Exploring Operation: 75/15=5, Resulting Numbers: [30, 46, 5]
Generated Node #0,3: 15:[30, 46, 5] Operation: 75/15=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[30, 15, 29], Operations: ['75-46=29']
Exploring Operation: 29-15=14, Resulting Numbers: [30, 14]
Generated Node #0,1,0: 15:[30, 14] Operation: 29-15=14
Exploring Operation: 30/15=2, Resulting Numbers: [29, 2]
Generated Node #0,1,1: 15:[29, 2] Operation: 30/15=2
Exploring Operation: 30-29=1, Resulting Numbers: [15, 1]
Generated Node #0,1,2: 15:[15, 1] Operation: 30-29=1
Exploring Operation: 30-15=15, Resulting Numbers: [29, 15]
Generated Node #0,1,3: 15:[29, 15] Operation: 30-15=15
Moving to Node #0,1,2
Current State: 15:[15, 1], Operations: ['75-46=29', '30-29=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[30, 75, 46, 15], Operations: []
Exploring Operation: 75-46=29, Resulting Numbers: [30, 15, 29]
Generated Node #0,1: 15:[30, 15, 29] Operation: 75-46=29
Moving to Node #0,1
Current State: 15:[30, 15, 29], Operations: ['75-46=29']
Exploring Operation: 30-29=1, Resulting Numbers: [15, 1]
Generated Node #0,1,2: 15:[15, 1] Operation: 30-29=1
Moving to Node #0,1,2
Current State: 15:[15, 1], Operations: ['75-46=29', '30-29=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
3,
58,
2,
6
] | 34 | [
"2+6=8",
"3*8=24",
"58-24=34"
] | Current State: 34:[3, 58, 2, 6], Operations: []
Exploring Operation: 2+6=8, Resulting Numbers: [3, 58, 8]
Generated Node #2: [3, 58, 8] from Operation: 2+6=8
Current State: 34:[3, 58, 8], Operations: ['2+6=8']
Exploring Operation: 3*8=24, Resulting Numbers: [58, 24]
Generated Node #3: [58, 24] from Operation: 3*8=24
Current State: 34:[58, 24], Operations: ['2+6=8', '3*8=24']
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[3, 58, 2, 6], Operations: []
Exploring Operation: 58-6=52, Resulting Numbers: [3, 2, 52]
Generated Node #0,0: 34:[3, 2, 52] Operation: 58-6=52
Exploring Operation: 6/3=2, Resulting Numbers: [58, 2, 2]
Generated Node #0,1: 34:[58, 2, 2] Operation: 6/3=2
Exploring Operation: 58/2=29, Resulting Numbers: [3, 6, 29]
Generated Node #0,2: 34:[3, 6, 29] Operation: 58/2=29
Moving to Node #0,2
Current State: 34:[3, 6, 29], Operations: ['58/2=29']
Exploring Operation: 6/3=2, Resulting Numbers: [29, 2]
Generated Node #0,2,0: 34:[29, 2] Operation: 6/3=2
Exploring Operation: 6+29=35, Resulting Numbers: [3, 35]
Generated Node #0,2,1: 34:[3, 35] Operation: 6+29=35
Exploring Operation: 3*6=18, Resulting Numbers: [29, 18]
Generated Node #0,2,2: 34:[29, 18] Operation: 3*6=18
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[3, 35], Operations: ['58/2=29', '6+29=35']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,34 unequal: No Solution
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[29, 2], Operations: ['58/2=29', '6/3=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[29, 18], Operations: ['58/2=29', '3*6=18']
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,34 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 29*18=522, Resulting Numbers: [522]
522,34 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: 34:[3, 2, 52], Operations: ['58-6=52']
Exploring Operation: 52/2=26, Resulting Numbers: [3, 26]
Generated Node #0,0,0: 34:[3, 26] Operation: 52/2=26
Exploring Operation: 52-3=49, Resulting Numbers: [2, 49]
Generated Node #0,0,1: 34:[2, 49] Operation: 52-3=49
Exploring Operation: 52-2=50, Resulting Numbers: [3, 50]
Generated Node #0,0,2: 34:[3, 50] Operation: 52-2=50
Moving to Node #0,1
Current State: 34:[58, 2, 2], Operations: ['6/3=2']
Exploring Operation: 58/2=29, Resulting Numbers: [2, 29]
Generated Node #0,1,0: 34:[2, 29] Operation: 58/2=29
Exploring Operation: 58/2=29, Resulting Numbers: [2, 29]
Generated Node #0,1,1: 34:[2, 29] Operation: 58/2=29
Exploring Operation: 58-2=56, Resulting Numbers: [2, 56]
Generated Node #0,1,2: 34:[2, 56] Operation: 58-2=56
Moving to Node #0,1,0
Current State: 34:[2, 29], Operations: ['6/3=2', '58/2=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[2, 29], Operations: ['6/3=2', '58/2=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[3, 26], Operations: ['58-6=52', '52/2=26']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[2, 49], Operations: ['58-6=52', '52-3=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,34 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,34 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[3, 50], Operations: ['58-6=52', '52-2=50']
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,34 unequal: No Solution
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[2, 56], Operations: ['6/3=2', '58-2=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,34 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
60,
94,
98,
4
] | 68 | [
"94-60=34",
"98+4=102",
"102-34=68"
] | Current State: 68:[60, 94, 98, 4], Operations: []
Exploring Operation: 94-60=34, Resulting Numbers: [98, 4, 34]
Generated Node #2: [98, 4, 34] from Operation: 94-60=34
Current State: 68:[98, 4, 34], Operations: ['94-60=34']
Exploring Operation: 98+4=102, Resulting Numbers: [34, 102]
Generated Node #3: [34, 102] from Operation: 98+4=102
Current State: 68:[34, 102], Operations: ['94-60=34', '98+4=102']
Exploring Operation: 102-34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[60, 94, 98, 4], Operations: []
Exploring Operation: 98-60=38, Resulting Numbers: [94, 4, 38]
Generated Node #0,0: 68:[94, 4, 38] Operation: 98-60=38
Exploring Operation: 98-94=4, Resulting Numbers: [60, 4, 4]
Generated Node #0,1: 68:[60, 4, 4] Operation: 98-94=4
Exploring Operation: 94-60=34, Resulting Numbers: [98, 4, 34]
Generated Node #0,2: 68:[98, 4, 34] Operation: 94-60=34
Moving to Node #0,1
Current State: 68:[60, 4, 4], Operations: ['98-94=4']
Exploring Operation: 60+4=64, Resulting Numbers: [4, 64]
Generated Node #0,1,0: 68:[4, 64] Operation: 60+4=64
Exploring Operation: 60/4=15, Resulting Numbers: [4, 15]
Generated Node #0,1,1: 68:[4, 15] Operation: 60/4=15
Exploring Operation: 60/4=15, Resulting Numbers: [4, 15]
Generated Node #0,1,2: 68:[4, 15] Operation: 60/4=15
Moving to Node #0,0
Current State: 68:[94, 4, 38], Operations: ['98-60=38']
Exploring Operation: 38-4=34, Resulting Numbers: [94, 34]
Generated Node #0,0,0: 68:[94, 34] Operation: 38-4=34
Exploring Operation: 94-4=90, Resulting Numbers: [38, 90]
Generated Node #0,0,1: 68:[38, 90] Operation: 94-4=90
Exploring Operation: 94-38=56, Resulting Numbers: [4, 56]
Generated Node #0,0,2: 68:[4, 56] Operation: 94-38=56
Moving to Node #0,2
Current State: 68:[98, 4, 34], Operations: ['94-60=34']
Exploring Operation: 98-34=64, Resulting Numbers: [4, 64]
Generated Node #0,2,0: 68:[4, 64] Operation: 98-34=64
Exploring Operation: 98-4=94, Resulting Numbers: [34, 94]
Generated Node #0,2,1: 68:[34, 94] Operation: 98-4=94
Exploring Operation: 98+4=102, Resulting Numbers: [34, 102]
Generated Node #0,2,2: 68:[34, 102] Operation: 98+4=102
Moving to Node #0,1,1
Current State: 68:[4, 15], Operations: ['98-94=4', '60/4=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[4, 15], Operations: ['98-94=4', '60/4=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[4, 64], Operations: ['98-94=4', '60+4=64']
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[60, 94, 98, 4], Operations: []
Exploring Operation: 98-94=4, Resulting Numbers: [60, 4, 4]
Generated Node #0,1: 68:[60, 4, 4] Operation: 98-94=4
Moving to Node #0,1
Current State: 68:[60, 4, 4], Operations: ['98-94=4']
Exploring Operation: 60+4=64, Resulting Numbers: [4, 64]
Generated Node #0,1,0: 68:[4, 64] Operation: 60+4=64
Moving to Node #0,1,0
Current State: 68:[4, 64], Operations: ['98-94=4', '60+4=64']
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.980035 | hs_3 | sum_heuristic |
[
41,
21,
2,
10
] | 83 | [
"41-10=31",
"2*31=62",
"21+62=83"
] | Current State: 83:[41, 21, 2, 10], Operations: []
Exploring Operation: 41-10=31, Resulting Numbers: [21, 2, 31]
Generated Node #2: [21, 2, 31] from Operation: 41-10=31
Current State: 83:[21, 2, 31], Operations: ['41-10=31']
Exploring Operation: 2*31=62, Resulting Numbers: [21, 62]
Generated Node #3: [21, 62] from Operation: 2*31=62
Current State: 83:[21, 62], Operations: ['41-10=31', '2*31=62']
Exploring Operation: 21+62=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[41, 21, 2, 10], Operations: []
Exploring Operation: 2*10=20, Resulting Numbers: [41, 21, 20]
Generated Node #0,0: 83:[41, 21, 20] Operation: 2*10=20
Exploring Operation: 41*2=82, Resulting Numbers: [21, 10, 82]
Generated Node #0,1: 83:[21, 10, 82] Operation: 41*2=82
Exploring Operation: 41+21=62, Resulting Numbers: [2, 10, 62]
Generated Node #0,2: 83:[2, 10, 62] Operation: 41+21=62
Exploring Operation: 21*2=42, Resulting Numbers: [41, 10, 42]
Generated Node #0,3: 83:[41, 10, 42] Operation: 21*2=42
Exploring Operation: 41+2=43, Resulting Numbers: [21, 10, 43]
Generated Node #0,4: 83:[21, 10, 43] Operation: 41+2=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[21, 10, 82], Operations: ['41*2=82']
Exploring Operation: 21+82=103, Resulting Numbers: [10, 103]
Generated Node #0,1,0: 83:[10, 103] Operation: 21+82=103
Exploring Operation: 10+82=92, Resulting Numbers: [21, 92]
Generated Node #0,1,1: 83:[21, 92] Operation: 10+82=92
Exploring Operation: 21-10=11, Resulting Numbers: [82, 11]
Generated Node #0,1,2: 83:[82, 11] Operation: 21-10=11
Exploring Operation: 82-10=72, Resulting Numbers: [21, 72]
Generated Node #0,1,3: 83:[21, 72] Operation: 82-10=72
Exploring Operation: 21+10=31, Resulting Numbers: [82, 31]
Generated Node #0,1,4: 83:[82, 31] Operation: 21+10=31
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 83:[82, 31], Operations: ['41*2=82', '21+10=31']
Exploring Operation: 82+31=113, Resulting Numbers: [113]
113,83 unequal: No Solution
Exploring Operation: 82-31=51, Resulting Numbers: [51]
51,83 unequal: No Solution
Exploring Operation: 82*31=2542, Resulting Numbers: [2542]
2542,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[21, 92], Operations: ['41*2=82', '10+82=92']
Exploring Operation: 21+92=113, Resulting Numbers: [113]
113,83 unequal: No Solution
Exploring Operation: 21*92=1932, Resulting Numbers: [1932]
1932,83 unequal: No Solution
Exploring Operation: 92-21=71, Resulting Numbers: [71]
71,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 83:[82, 11], Operations: ['41*2=82', '21-10=11']
Exploring Operation: 82+11=93, Resulting Numbers: [93]
93,83 unequal: No Solution
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,83 unequal: No Solution
Exploring Operation: 82*11=902, Resulting Numbers: [902]
902,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 83:[21, 72], Operations: ['41*2=82', '82-10=72']
Exploring Operation: 21+72=93, Resulting Numbers: [93]
93,83 unequal: No Solution
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,83 unequal: No Solution
Exploring Operation: 21*72=1512, Resulting Numbers: [1512]
1512,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[10, 103], Operations: ['41*2=82', '21+82=103']
Exploring Operation: 10*103=1030, Resulting Numbers: [1030]
1030,83 unequal: No Solution
Exploring Operation: 103-10=93, Resulting Numbers: [93]
93,83 unequal: No Solution
Exploring Operation: 10+103=113, Resulting Numbers: [113]
113,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[41, 10, 42], Operations: ['21*2=42']
Exploring Operation: 10+42=52, Resulting Numbers: [41, 52]
Generated Node #0,3,0: 83:[41, 52] Operation: 10+42=52
Exploring Operation: 42-10=32, Resulting Numbers: [41, 32]
Generated Node #0,3,1: 83:[41, 32] Operation: 42-10=32
Exploring Operation: 41+42=83, Resulting Numbers: [10, 83]
Generated Node #0,3,2: 83:[10, 83] Operation: 41+42=83
Exploring Operation: 41+10=51, Resulting Numbers: [42, 51]
Generated Node #0,3,3: 83:[42, 51] Operation: 41+10=51
Exploring Operation: 41-10=31, Resulting Numbers: [42, 31]
Generated Node #0,3,4: 83:[42, 31] Operation: 41-10=31
Moving to Node #0,3,0
Current State: 83:[41, 52], Operations: ['21*2=42', '10+42=52']
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 41*52=2132, Resulting Numbers: [2132]
2132,83 unequal: No Solution
Exploring Operation: 41+52=93, Resulting Numbers: [93]
93,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[42, 51], Operations: ['21*2=42', '41+10=51']
Exploring Operation: 42*51=2142, Resulting Numbers: [2142]
2142,83 unequal: No Solution
Exploring Operation: 42+51=93, Resulting Numbers: [93]
93,83 unequal: No Solution
Exploring Operation: 51-42=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[10, 83], Operations: ['21*2=42', '41+42=83']
Exploring Operation: 10+83=93, Resulting Numbers: [93]
93,83 unequal: No Solution
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,83 unequal: No Solution
Exploring Operation: 10*83=830, Resulting Numbers: [830]
830,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[41, 32], Operations: ['21*2=42', '42-10=32']
Exploring Operation: 41+32=73, Resulting Numbers: [73]
73,83 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 41*32=1312, Resulting Numbers: [1312]
1312,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[42, 31], Operations: ['21*2=42', '41-10=31']
Exploring Operation: 42*31=1302, Resulting Numbers: [1302]
1302,83 unequal: No Solution
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 42+31=73, Resulting Numbers: [73]
73,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,0
Current State: 83:[41, 21, 20], Operations: ['2*10=20']
Exploring Operation: 41+20=61, Resulting Numbers: [21, 61]
Generated Node #0,0,0: 83:[21, 61] Operation: 41+20=61
Exploring Operation: 21-20=1, Resulting Numbers: [41, 1]
Generated Node #0,0,1: 83:[41, 1] Operation: 21-20=1
Exploring Operation: 21+20=41, Resulting Numbers: [41, 41]
Generated Node #0,0,2: 83:[41, 41] Operation: 21+20=41
Exploring Operation: 41+21=62, Resulting Numbers: [20, 62]
Generated Node #0,0,3: 83:[20, 62] Operation: 41+21=62
Exploring Operation: 41-20=21, Resulting Numbers: [21, 21]
Generated Node #0,0,4: 83:[21, 21] Operation: 41-20=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[21, 61], Operations: ['2*10=20', '41+20=61']
Exploring Operation: 21+61=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 21*61=1281, Resulting Numbers: [1281]
1281,83 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 83:[41, 41], Operations: ['2*10=20', '21+20=41']
Exploring Operation: 41+41=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 41-41=0, Resulting Numbers: [0]
0,83 unequal: No Solution
Exploring Operation: 41/41=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 41*41=1681, Resulting Numbers: [1681]
1681,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 83:[20, 62], Operations: ['2*10=20', '41+21=62']
Exploring Operation: 20+62=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 20*62=1240, Resulting Numbers: [1240]
1240,83 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[41, 1], Operations: ['2*10=20', '21-20=1']
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,83 unequal: No Solution
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,83 unequal: No Solution
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 83:[21, 21], Operations: ['2*10=20', '41-20=21']
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,83 unequal: No Solution
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 21*21=441, Resulting Numbers: [441]
441,83 unequal: No Solution
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[2, 10, 62], Operations: ['41+21=62']
Exploring Operation: 2+62=64, Resulting Numbers: [10, 64]
Generated Node #0,2,0: 83:[10, 64] Operation: 2+62=64
Exploring Operation: 2*10=20, Resulting Numbers: [62, 20]
Generated Node #0,2,1: 83:[62, 20] Operation: 2*10=20
Exploring Operation: 2+10=12, Resulting Numbers: [62, 12]
Generated Node #0,2,2: 83:[62, 12] Operation: 2+10=12
Exploring Operation: 10-2=8, Resulting Numbers: [62, 8]
Generated Node #0,2,3: 83:[62, 8] Operation: 10-2=8
Exploring Operation: 10+62=72, Resulting Numbers: [2, 72]
Generated Node #0,2,4: 83:[2, 72] Operation: 10+62=72
Moving to Node #0,2,1
Current State: 83:[62, 20], Operations: ['41+21=62', '2*10=20']
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,83 unequal: No Solution
Exploring Operation: 62*20=1240, Resulting Numbers: [1240]
1240,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[62, 12], Operations: ['41+21=62', '2+10=12']
Exploring Operation: 62+12=74, Resulting Numbers: [74]
74,83 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,83 unequal: No Solution
Exploring Operation: 62*12=744, Resulting Numbers: [744]
744,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[10, 64], Operations: ['41+21=62', '2+62=64']
Exploring Operation: 10+64=74, Resulting Numbers: [74]
74,83 unequal: No Solution
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 10*64=640, Resulting Numbers: [640]
640,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[2, 72], Operations: ['41+21=62', '10+62=72']
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,83 unequal: No Solution
Exploring Operation: 2*72=144, Resulting Numbers: [144]
144,83 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[62, 8], Operations: ['41+21=62', '10-2=8']
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,83 unequal: No Solution
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,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,4
Current State: 83:[21, 10, 43], Operations: ['41+2=43']
Exploring Operation: 21+10=31, Resulting Numbers: [43, 31]
Generated Node #0,4,0: 83:[43, 31] Operation: 21+10=31
Exploring Operation: 43-10=33, Resulting Numbers: [21, 33]
Generated Node #0,4,1: 83:[21, 33] Operation: 43-10=33
Exploring Operation: 21-10=11, Resulting Numbers: [43, 11]
Generated Node #0,4,2: 83:[43, 11] Operation: 21-10=11
Exploring Operation: 21+43=64, Resulting Numbers: [10, 64]
Generated Node #0,4,3: 83:[10, 64] Operation: 21+43=64
Exploring Operation: 10+43=53, Resulting Numbers: [21, 53]
Generated Node #0,4,4: 83:[21, 53] Operation: 10+43=53
Moving to Node #0,4,0
Current State: 83:[43, 31], Operations: ['41+2=43', '21+10=31']
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 43+31=74, Resulting Numbers: [74]
74,83 unequal: No Solution
Exploring Operation: 43*31=1333, Resulting Numbers: [1333]
1333,83 unequal: No Solution
Moving to Node #0,4,4
Current State: 83:[21, 53], Operations: ['41+2=43', '10+43=53']
Exploring Operation: 21*53=1113, Resulting Numbers: [1113]
1113,83 unequal: No Solution
Exploring Operation: 21+53=74, Resulting Numbers: [74]
74,83 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,83 unequal: No Solution
Moving to Node #0,4,3
Current State: 83:[10, 64], Operations: ['41+2=43', '21+43=64']
Exploring Operation: 10+64=74, Resulting Numbers: [74]
74,83 unequal: No Solution
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 10*64=640, Resulting Numbers: [640]
640,83 unequal: No Solution
Moving to Node #0,4,1
Current State: 83:[21, 33], Operations: ['41+2=43', '43-10=33']
Exploring Operation: 21+33=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 21*33=693, Resulting Numbers: [693]
693,83 unequal: No Solution
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Moving to Node #0,4,2
Current State: 83:[43, 11], Operations: ['41+2=43', '21-10=11']
Exploring Operation: 43*11=473, Resulting Numbers: [473]
473,83 unequal: No Solution
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,83 unequal: No Solution
Exploring Operation: 43+11=54, Resulting Numbers: [54]
54,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
48,
10,
18,
22
] | 78 | [
"48-10=38",
"18+22=40",
"38+40=78"
] | Current State: 78:[48, 10, 18, 22], Operations: []
Exploring Operation: 48-10=38, Resulting Numbers: [18, 22, 38]
Generated Node #2: [18, 22, 38] from Operation: 48-10=38
Current State: 78:[18, 22, 38], Operations: ['48-10=38']
Exploring Operation: 18+22=40, Resulting Numbers: [38, 40]
Generated Node #3: [38, 40] from Operation: 18+22=40
Current State: 78:[38, 40], Operations: ['48-10=38', '18+22=40']
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[48, 10, 18, 22], Operations: []
Exploring Operation: 48-22=26, Resulting Numbers: [10, 18, 26]
Generated Node #0,0: 78:[10, 18, 26] Operation: 48-22=26
Exploring Operation: 18+22=40, Resulting Numbers: [48, 10, 40]
Generated Node #0,1: 78:[48, 10, 40] Operation: 18+22=40
Exploring Operation: 48-10=38, Resulting Numbers: [18, 22, 38]
Generated Node #0,2: 78:[18, 22, 38] Operation: 48-10=38
Exploring Operation: 48-18=30, Resulting Numbers: [10, 22, 30]
Generated Node #0,3: 78:[10, 22, 30] Operation: 48-18=30
Moving to Node #0,0
Current State: 78:[10, 18, 26], Operations: ['48-22=26']
Exploring Operation: 26-18=8, Resulting Numbers: [10, 8]
Generated Node #0,0,0: 78:[10, 8] Operation: 26-18=8
Exploring Operation: 18-10=8, Resulting Numbers: [26, 8]
Generated Node #0,0,1: 78:[26, 8] Operation: 18-10=8
Exploring Operation: 10+26=36, Resulting Numbers: [18, 36]
Generated Node #0,0,2: 78:[18, 36] Operation: 10+26=36
Exploring Operation: 10+18=28, Resulting Numbers: [26, 28]
Generated Node #0,0,3: 78:[26, 28] Operation: 10+18=28
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 78:[26, 8], Operations: ['48-22=26', '18-10=8']
Exploring Operation: 26*8=208, Resulting Numbers: [208]
208,78 unequal: No Solution
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,78 unequal: No Solution
No 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: 78:[26, 28], Operations: ['48-22=26', '10+18=28']
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,78 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 26*28=728, Resulting Numbers: [728]
728,78 unequal: No Solution
No 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: 78:[10, 8], Operations: ['48-22=26', '26-18=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,78 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,78 unequal: No Solution
No 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: 78:[18, 36], Operations: ['48-22=26', '10+26=36']
Exploring Operation: 18*36=648, Resulting Numbers: [648]
648,78 unequal: No Solution
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,78 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,78 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,78 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: 78:[18, 22, 38], Operations: ['48-10=38']
Exploring Operation: 38-22=16, Resulting Numbers: [18, 16]
Generated Node #0,2,0: 78:[18, 16] Operation: 38-22=16
Exploring Operation: 18+22=40, Resulting Numbers: [38, 40]
Generated Node #0,2,1: 78:[38, 40] Operation: 18+22=40
Exploring Operation: 22-18=4, Resulting Numbers: [38, 4]
Generated Node #0,2,2: 78:[38, 4] Operation: 22-18=4
Exploring Operation: 38-18=20, Resulting Numbers: [22, 20]
Generated Node #0,2,3: 78:[22, 20] Operation: 38-18=20
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 78:[38, 40], Operations: ['48-10=38', '18+22=40']
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[48, 10, 18, 22], Operations: []
Exploring Operation: 48-10=38, Resulting Numbers: [18, 22, 38]
Generated Node #0,2: 78:[18, 22, 38] Operation: 48-10=38
Moving to Node #0,2
Current State: 78:[18, 22, 38], Operations: ['48-10=38']
Exploring Operation: 18+22=40, Resulting Numbers: [38, 40]
Generated Node #0,2,1: 78:[38, 40] Operation: 18+22=40
Moving to Node #0,2,1
Current State: 78:[38, 40], Operations: ['48-10=38', '18+22=40']
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
3,
83,
23,
46
] | 84 | [
"3+83=86",
"46/23=2",
"86-2=84"
] | Current State: 84:[3, 83, 23, 46], Operations: []
Exploring Operation: 3+83=86, Resulting Numbers: [23, 46, 86]
Generated Node #2: [23, 46, 86] from Operation: 3+83=86
Current State: 84:[23, 46, 86], Operations: ['3+83=86']
Exploring Operation: 46/23=2, Resulting Numbers: [86, 2]
Generated Node #3: [86, 2] from Operation: 46/23=2
Current State: 84:[86, 2], Operations: ['3+83=86', '46/23=2']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[3, 83, 23, 46], Operations: []
Exploring Operation: 46-3=43, Resulting Numbers: [83, 23, 43]
Generated Node #0,0: 84:[83, 23, 43] Operation: 46-3=43
Exploring Operation: 23-3=20, Resulting Numbers: [83, 46, 20]
Generated Node #0,1: 84:[83, 46, 20] Operation: 23-3=20
Exploring Operation: 46/23=2, Resulting Numbers: [3, 83, 2]
Generated Node #0,2: 84:[3, 83, 2] Operation: 46/23=2
Exploring Operation: 46-23=23, Resulting Numbers: [3, 83, 23]
Generated Node #0,3: 84:[3, 83, 23] Operation: 46-23=23
Moving to Node #0,2
Current State: 84:[3, 83, 2], Operations: ['46/23=2']
Exploring Operation: 3+2=5, Resulting Numbers: [83, 5]
Generated Node #0,2,0: 84:[83, 5] Operation: 3+2=5
Exploring Operation: 83+2=85, Resulting Numbers: [3, 85]
Generated Node #0,2,1: 84:[3, 85] Operation: 83+2=85
Exploring Operation: 3*2=6, Resulting Numbers: [83, 6]
Generated Node #0,2,2: 84:[83, 6] Operation: 3*2=6
Exploring Operation: 3+83=86, Resulting Numbers: [2, 86]
Generated Node #0,2,3: 84:[2, 86] Operation: 3+83=86
Moving to Node #0,3
Current State: 84:[3, 83, 23], Operations: ['46-23=23']
Exploring Operation: 3+23=26, Resulting Numbers: [83, 26]
Generated Node #0,3,0: 84:[83, 26] Operation: 3+23=26
Exploring Operation: 83-3=80, Resulting Numbers: [23, 80]
Generated Node #0,3,1: 84:[23, 80] Operation: 83-3=80
Exploring Operation: 3+83=86, Resulting Numbers: [23, 86]
Generated Node #0,3,2: 84:[23, 86] Operation: 3+83=86
Exploring Operation: 23-3=20, Resulting Numbers: [83, 20]
Generated Node #0,3,3: 84:[83, 20] Operation: 23-3=20
Moving to Node #0,0
Current State: 84:[83, 23, 43], Operations: ['46-3=43']
Exploring Operation: 43-23=20, Resulting Numbers: [83, 20]
Generated Node #0,0,0: 84:[83, 20] Operation: 43-23=20
Exploring Operation: 23+43=66, Resulting Numbers: [83, 66]
Generated Node #0,0,1: 84:[83, 66] Operation: 23+43=66
Exploring Operation: 83-23=60, Resulting Numbers: [43, 60]
Generated Node #0,0,2: 84:[43, 60] Operation: 83-23=60
Exploring Operation: 83-43=40, Resulting Numbers: [23, 40]
Generated Node #0,0,3: 84:[23, 40] Operation: 83-43=40
Moving to Node #0,1
Current State: 84:[83, 46, 20], Operations: ['23-3=20']
Exploring Operation: 46+20=66, Resulting Numbers: [83, 66]
Generated Node #0,1,0: 84:[83, 66] Operation: 46+20=66
Exploring Operation: 83+20=103, Resulting Numbers: [46, 103]
Generated Node #0,1,1: 84:[46, 103] Operation: 83+20=103
Exploring Operation: 46-20=26, Resulting Numbers: [83, 26]
Generated Node #0,1,2: 84:[83, 26] Operation: 46-20=26
Exploring Operation: 83-46=37, Resulting Numbers: [20, 37]
Generated Node #0,1,3: 84:[20, 37] Operation: 83-46=37
Moving to Node #0,2,1
Current State: 84:[3, 85], Operations: ['46/23=2', '83+2=85']
Exploring Operation: 3*85=255, Resulting Numbers: [255]
255,84 unequal: No Solution
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,84 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[83, 6], Operations: ['46/23=2', '3*2=6']
Exploring Operation: 83+6=89, Resulting Numbers: [89]
89,84 unequal: No Solution
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,84 unequal: No Solution
Exploring Operation: 83*6=498, Resulting Numbers: [498]
498,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[83, 5], Operations: ['46/23=2', '3+2=5']
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,84 unequal: No Solution
Exploring Operation: 83*5=415, Resulting Numbers: [415]
415,84 unequal: No Solution
Exploring Operation: 83+5=88, Resulting Numbers: [88]
88,84 unequal: No Solution
Moving to Node #0,3,3
Current State: 84:[83, 20], Operations: ['46-23=23', '23-3=20']
Exploring Operation: 83*20=1660, Resulting Numbers: [1660]
1660,84 unequal: No Solution
Exploring Operation: 83-20=63, Resulting Numbers: [63]
63,84 unequal: No Solution
Exploring Operation: 83+20=103, Resulting Numbers: [103]
103,84 unequal: No Solution
Moving to Node #0,2,3
Current State: 84:[2, 86], Operations: ['46/23=2', '3+83=86']
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,84 unequal: No Solution
Exploring Operation: 2*86=172, Resulting Numbers: [172]
172,84 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[3, 83, 23, 46], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [3, 83, 2]
Generated Node #0,2: 84:[3, 83, 2] Operation: 46/23=2
Moving to Node #0,2
Current State: 84:[3, 83, 2], Operations: ['46/23=2']
Exploring Operation: 3+83=86, Resulting Numbers: [2, 86]
Generated Node #0,2,3: 84:[2, 86] Operation: 3+83=86
Moving to Node #0,2,3
Current State: 84:[2, 86], Operations: ['46/23=2', '3+83=86']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.965278 | hs_4 | sum_heuristic |
[
25,
20,
95,
19
] | 95 | [
"20*95=1900",
"1900/25=76",
"19+76=95"
] | Current State: 95:[25, 20, 95, 19], Operations: []
Exploring Operation: 20*95=1900, Resulting Numbers: [25, 19, 1900]
Generated Node #2: [25, 19, 1900] from Operation: 20*95=1900
Current State: 95:[25, 19, 1900], Operations: ['20*95=1900']
Exploring Operation: 1900/25=76, Resulting Numbers: [19, 76]
Generated Node #3: [19, 76] from Operation: 1900/25=76
Current State: 95:[19, 76], Operations: ['20*95=1900', '1900/25=76']
Exploring Operation: 19+76=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[25, 20, 95, 19], Operations: []
Exploring Operation: 25-20=5, Resulting Numbers: [95, 19, 5]
Generated Node #0,0: 95:[95, 19, 5] Operation: 25-20=5
Moving to Node #0,0
Current State: 95:[95, 19, 5], Operations: ['25-20=5']
Exploring Operation: 95/19=5, Resulting Numbers: [5, 5]
Generated Node #0,0,0: 95:[5, 5] Operation: 95/19=5
Moving to Node #0,0,0
Current State: 95:[5, 5], Operations: ['25-20=5', '95/19=5']
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,95 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
79,
49,
8,
73
] | 98 | [
"79-8=71",
"73-71=2",
"49*2=98"
] | Current State: 98:[79, 49, 8, 73], Operations: []
Exploring Operation: 79-8=71, Resulting Numbers: [49, 73, 71]
Generated Node #2: [49, 73, 71] from Operation: 79-8=71
Current State: 98:[49, 73, 71], Operations: ['79-8=71']
Exploring Operation: 73-71=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 73-71=2
Current State: 98:[49, 2], Operations: ['79-8=71', '73-71=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[79, 49, 8, 73], Operations: []
Exploring Operation: 79-73=6, Resulting Numbers: [49, 8, 6]
Generated Node #0,0: 98:[49, 8, 6] Operation: 79-73=6
Moving to Node #0,0
Current State: 98:[49, 8, 6], Operations: ['79-73=6']
Exploring Operation: 8+6=14, Resulting Numbers: [49, 14]
Generated Node #0,0,0: 98:[49, 14] Operation: 8+6=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[49, 14], Operations: ['79-73=6', '8+6=14']
Exploring Operation: 49+14=63, Resulting Numbers: [63]
63,98 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 |
[
52,
45,
99,
2
] | 43 | [
"99-52=47",
"45*2=90",
"90-47=43"
] | Current State: 43:[52, 45, 99, 2], Operations: []
Exploring Operation: 99-52=47, Resulting Numbers: [45, 2, 47]
Generated Node #2: [45, 2, 47] from Operation: 99-52=47
Current State: 43:[45, 2, 47], Operations: ['99-52=47']
Exploring Operation: 45*2=90, Resulting Numbers: [47, 90]
Generated Node #3: [47, 90] from Operation: 45*2=90
Current State: 43:[47, 90], Operations: ['99-52=47', '45*2=90']
Exploring Operation: 90-47=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[52, 45, 99, 2], Operations: []
Exploring Operation: 99-52=47, Resulting Numbers: [45, 2, 47]
Generated Node #0,0: 43:[45, 2, 47] Operation: 99-52=47
Exploring Operation: 99-45=54, Resulting Numbers: [52, 2, 54]
Generated Node #0,1: 43:[52, 2, 54] Operation: 99-45=54
Exploring Operation: 52-2=50, Resulting Numbers: [45, 99, 50]
Generated Node #0,2: 43:[45, 99, 50] Operation: 52-2=50
Moving to Node #0,0
Current State: 43:[45, 2, 47], Operations: ['99-52=47']
Exploring Operation: 45-2=43, Resulting Numbers: [47, 43]
Generated Node #0,0,0: 43:[47, 43] Operation: 45-2=43
Exploring Operation: 47-2=45, Resulting Numbers: [45, 45]
Generated Node #0,0,1: 43:[45, 45] Operation: 47-2=45
Exploring Operation: 45+2=47, Resulting Numbers: [47, 47]
Generated Node #0,0,2: 43:[47, 47] Operation: 45+2=47
Moving to Node #0,1
Current State: 43:[52, 2, 54], Operations: ['99-45=54']
Exploring Operation: 52+2=54, Resulting Numbers: [54, 54]
Generated Node #0,1,0: 43:[54, 54] Operation: 52+2=54
Exploring Operation: 52-2=50, Resulting Numbers: [54, 50]
Generated Node #0,1,1: 43:[54, 50] Operation: 52-2=50
Exploring Operation: 54-2=52, Resulting Numbers: [52, 52]
Generated Node #0,1,2: 43:[52, 52] Operation: 54-2=52
Moving to Node #0,2
Current State: 43:[45, 99, 50], Operations: ['52-2=50']
Exploring Operation: 99-45=54, Resulting Numbers: [50, 54]
Generated Node #0,2,0: 43:[50, 54] Operation: 99-45=54
Exploring Operation: 99-50=49, Resulting Numbers: [45, 49]
Generated Node #0,2,1: 43:[45, 49] Operation: 99-50=49
Exploring Operation: 50-45=5, Resulting Numbers: [99, 5]
Generated Node #0,2,2: 43:[99, 5] Operation: 50-45=5
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 43:[45, 49], Operations: ['52-2=50', '99-50=49']
Exploring Operation: 45+49=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 45*49=2205, Resulting Numbers: [2205]
2205,43 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 43:[50, 54], Operations: ['52-2=50', '99-45=54']
Exploring Operation: 50*54=2700, Resulting Numbers: [2700]
2700,43 unequal: No Solution
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 50+54=104, Resulting Numbers: [104]
104,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 43:[99, 5], Operations: ['52-2=50', '50-45=5']
Exploring Operation: 99*5=495, Resulting Numbers: [495]
495,43 unequal: No Solution
Exploring Operation: 99+5=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,43 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: 43:[47, 43], Operations: ['99-52=47', '45-2=43']
Exploring Operation: 47+43=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Exploring Operation: 47*43=2021, Resulting Numbers: [2021]
2021,43 unequal: No Solution
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[45, 45], Operations: ['99-52=47', '47-2=45']
Exploring Operation: 45/45=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Exploring Operation: 45-45=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[47, 47], Operations: ['99-52=47', '45+2=47']
Exploring Operation: 47-47=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 47/47=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[52, 52], Operations: ['99-45=54', '54-2=52']
Exploring Operation: 52+52=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 52/52=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 52-52=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[54, 50], Operations: ['99-45=54', '52-2=50']
Exploring Operation: 54*50=2700, Resulting Numbers: [2700]
2700,43 unequal: No Solution
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 54+50=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[54, 54], Operations: ['99-45=54', '52+2=54']
Exploring Operation: 54+54=108, Resulting Numbers: [108]
108,43 unequal: No Solution
Exploring Operation: 54/54=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 54-54=0, Resulting Numbers: [0]
0,43 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
70,
37,
11,
33
] | 26 | [
"37-33=4",
"11*4=44",
"70-44=26"
] | Current State: 26:[70, 37, 11, 33], Operations: []
Exploring Operation: 37-33=4, Resulting Numbers: [70, 11, 4]
Generated Node #2: [70, 11, 4] from Operation: 37-33=4
Current State: 26:[70, 11, 4], Operations: ['37-33=4']
Exploring Operation: 11*4=44, Resulting Numbers: [70, 44]
Generated Node #3: [70, 44] from Operation: 11*4=44
Current State: 26:[70, 44], Operations: ['37-33=4', '11*4=44']
Exploring Operation: 70-44=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[70, 37, 11, 33], Operations: []
Exploring Operation: 37-33=4, Resulting Numbers: [70, 11, 4]
Generated Node #0,0: 26:[70, 11, 4] Operation: 37-33=4
Exploring Operation: 70-33=37, Resulting Numbers: [37, 11, 37]
Generated Node #0,1: 26:[37, 11, 37] Operation: 70-33=37
Exploring Operation: 70-37=33, Resulting Numbers: [11, 33, 33]
Generated Node #0,2: 26:[11, 33, 33] Operation: 70-37=33
Moving to Node #0,2
Current State: 26:[11, 33, 33], Operations: ['70-37=33']
Exploring Operation: 33-33=0, Resulting Numbers: [11, 0]
Generated Node #0,2,0: 26:[11, 0] Operation: 33-33=0
Exploring Operation: 33/33=1, Resulting Numbers: [11, 1]
Generated Node #0,2,1: 26:[11, 1] Operation: 33/33=1
Exploring Operation: 33/11=3, Resulting Numbers: [33, 3]
Generated Node #0,2,2: 26:[33, 3] Operation: 33/11=3
Moving to Node #0,1
Current State: 26:[37, 11, 37], Operations: ['70-33=37']
Exploring Operation: 37-11=26, Resulting Numbers: [37, 26]
Generated Node #0,1,0: 26:[37, 26] Operation: 37-11=26
Exploring Operation: 37/37=1, Resulting Numbers: [11, 1]
Generated Node #0,1,1: 26:[11, 1] Operation: 37/37=1
Exploring Operation: 37-37=0, Resulting Numbers: [11, 0]
Generated Node #0,1,2: 26:[11, 0] Operation: 37-37=0
Moving to Node #0,0
Current State: 26:[70, 11, 4], Operations: ['37-33=4']
Exploring Operation: 70-4=66, Resulting Numbers: [11, 66]
Generated Node #0,0,0: 26:[11, 66] Operation: 70-4=66
Exploring Operation: 11+4=15, Resulting Numbers: [70, 15]
Generated Node #0,0,1: 26:[70, 15] Operation: 11+4=15
Exploring Operation: 70-11=59, Resulting Numbers: [4, 59]
Generated Node #0,0,2: 26:[4, 59] Operation: 70-11=59
Moving to Node #0,2,1
Current State: 26:[11, 1], Operations: ['70-37=33', '33/33=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[11, 1], Operations: ['70-33=37', '37/37=1']
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[11, 0], Operations: ['70-33=37', '37-37=0']
Exploring Operation: 11+0=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 11*0=0, Resulting Numbers: [0]
0,26 unequal: No Solution
Exploring Operation: 11-0=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[11, 0], Operations: ['70-37=33', '33-33=0']
Exploring Operation: 11*0=0, Resulting Numbers: [0]
0,26 unequal: No Solution
Exploring Operation: 11+0=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 11-0=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[33, 3], Operations: ['70-37=33', '33/11=3']
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[37, 26], Operations: ['70-33=37', '37-11=26']
Exploring Operation: 37+26=63, Resulting Numbers: [63]
63,26 unequal: No Solution
Exploring Operation: 37*26=962, Resulting Numbers: [962]
962,26 unequal: No Solution
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[4, 59], Operations: ['37-33=4', '70-11=59']
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,26 unequal: No Solution
Exploring Operation: 4*59=236, Resulting Numbers: [236]
236,26 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[11, 66], Operations: ['37-33=4', '70-4=66']
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 11+66=77, Resulting Numbers: [77]
77,26 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[70, 15], Operations: ['37-33=4', '11+4=15']
Exploring Operation: 70-15=55, Resulting Numbers: [55]
55,26 unequal: No Solution
Exploring Operation: 70+15=85, Resulting Numbers: [85]
85,26 unequal: No Solution
Exploring Operation: 70*15=1050, Resulting Numbers: [1050]
1050,26 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
15,
41,
52,
40
] | 36 | [
"15+41=56",
"52+40=92",
"92-56=36"
] | Current State: 36:[15, 41, 52, 40], Operations: []
Exploring Operation: 15+41=56, Resulting Numbers: [52, 40, 56]
Generated Node #2: [52, 40, 56] from Operation: 15+41=56
Current State: 36:[52, 40, 56], Operations: ['15+41=56']
Exploring Operation: 52+40=92, Resulting Numbers: [56, 92]
Generated Node #3: [56, 92] from Operation: 52+40=92
Current State: 36:[56, 92], Operations: ['15+41=56', '52+40=92']
Exploring Operation: 92-56=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[15, 41, 52, 40], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [15, 41, 12]
Generated Node #0,0: 36:[15, 41, 12] Operation: 52-40=12
Exploring Operation: 52-41=11, Resulting Numbers: [15, 40, 11]
Generated Node #0,1: 36:[15, 40, 11] Operation: 52-41=11
Moving to Node #0,0
Current State: 36:[15, 41, 12], Operations: ['52-40=12']
Exploring Operation: 41-15=26, Resulting Numbers: [12, 26]
Generated Node #0,0,0: 36:[12, 26] Operation: 41-15=26
Exploring Operation: 15-12=3, Resulting Numbers: [41, 3]
Generated Node #0,0,1: 36:[41, 3] Operation: 15-12=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[41, 3], Operations: ['52-40=12', '15-12=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,36 unequal: No Solution
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[12, 26], Operations: ['52-40=12', '41-15=26']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 36:[15, 40, 11], Operations: ['52-41=11']
Exploring Operation: 15-11=4, Resulting Numbers: [40, 4]
Generated Node #0,1,0: 36:[40, 4] Operation: 15-11=4
Exploring Operation: 40-15=25, Resulting Numbers: [11, 25]
Generated Node #0,1,1: 36:[11, 25] Operation: 40-15=25
Moving to Node #0,1,0
Current State: 36:[40, 4], Operations: ['52-41=11', '15-11=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[15, 41, 52, 40], Operations: []
Exploring Operation: 52-41=11, Resulting Numbers: [15, 40, 11]
Generated Node #0,1: 36:[15, 40, 11] Operation: 52-41=11
Moving to Node #0,1
Current State: 36:[15, 40, 11], Operations: ['52-41=11']
Exploring Operation: 15-11=4, Resulting Numbers: [40, 4]
Generated Node #0,1,0: 36:[40, 4] Operation: 15-11=4
Moving to Node #0,1,0
Current State: 36:[40, 4], Operations: ['52-41=11', '15-11=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
85,
24,
48,
30
] | 31 | [
"85+24=109",
"48+30=78",
"109-78=31"
] | Current State: 31:[85, 24, 48, 30], Operations: []
Exploring Operation: 85+24=109, Resulting Numbers: [48, 30, 109]
Generated Node #2: [48, 30, 109] from Operation: 85+24=109
Current State: 31:[48, 30, 109], Operations: ['85+24=109']
Exploring Operation: 48+30=78, Resulting Numbers: [109, 78]
Generated Node #3: [109, 78] from Operation: 48+30=78
Current State: 31:[109, 78], Operations: ['85+24=109', '48+30=78']
Exploring Operation: 109-78=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[85, 24, 48, 30], Operations: []
Exploring Operation: 85-24=61, Resulting Numbers: [48, 30, 61]
Generated Node #0,0: 31:[48, 30, 61] Operation: 85-24=61
Exploring Operation: 85-48=37, Resulting Numbers: [24, 30, 37]
Generated Node #0,1: 31:[24, 30, 37] Operation: 85-48=37
Moving to Node #0,1
Current State: 31:[24, 30, 37], Operations: ['85-48=37']
Exploring Operation: 37-24=13, Resulting Numbers: [30, 13]
Generated Node #0,1,0: 31:[30, 13] Operation: 37-24=13
Exploring Operation: 24+30=54, Resulting Numbers: [37, 54]
Generated Node #0,1,1: 31:[37, 54] Operation: 24+30=54
Moving to Node #0,0
Current State: 31:[48, 30, 61], Operations: ['85-24=61']
Exploring Operation: 61-48=13, Resulting Numbers: [30, 13]
Generated Node #0,0,0: 31:[30, 13] Operation: 61-48=13
Exploring Operation: 61-30=31, Resulting Numbers: [48, 31]
Generated Node #0,0,1: 31:[48, 31] Operation: 61-30=31
Moving to Node #0,0,1
Current State: 31:[48, 31], Operations: ['85-24=61', '61-30=31']
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 48+31=79, Resulting Numbers: [79]
79,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[30, 13], Operations: ['85-48=37', '37-24=13']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[30, 13], Operations: ['85-24=61', '61-48=13']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[37, 54], Operations: ['85-48=37', '24+30=54']
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 37+54=91, Resulting Numbers: [91]
91,31 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
55,
91,
57,
13
] | 16 | [
"55+57=112",
"91/13=7",
"112/7=16"
] | Current State: 16:[55, 91, 57, 13], Operations: []
Exploring Operation: 55+57=112, Resulting Numbers: [91, 13, 112]
Generated Node #2: [91, 13, 112] from Operation: 55+57=112
Current State: 16:[91, 13, 112], Operations: ['55+57=112']
Exploring Operation: 91/13=7, Resulting Numbers: [112, 7]
Generated Node #3: [112, 7] from Operation: 91/13=7
Current State: 16:[112, 7], Operations: ['55+57=112', '91/13=7']
Exploring Operation: 112/7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[55, 91, 57, 13], Operations: []
Exploring Operation: 91-55=36, Resulting Numbers: [57, 13, 36]
Generated Node #0,0: 16:[57, 13, 36] Operation: 91-55=36
Exploring Operation: 57-55=2, Resulting Numbers: [91, 13, 2]
Generated Node #0,1: 16:[91, 13, 2] Operation: 57-55=2
Exploring Operation: 91-57=34, Resulting Numbers: [55, 13, 34]
Generated Node #0,2: 16:[55, 13, 34] Operation: 91-57=34
Exploring Operation: 91/13=7, Resulting Numbers: [55, 57, 7]
Generated Node #0,3: 16:[55, 57, 7] Operation: 91/13=7
Moving to Node #0,2
Current State: 16:[55, 13, 34], Operations: ['91-57=34']
Exploring Operation: 55+13=68, Resulting Numbers: [34, 68]
Generated Node #0,2,0: 16:[34, 68] Operation: 55+13=68
Exploring Operation: 55-13=42, Resulting Numbers: [34, 42]
Generated Node #0,2,1: 16:[34, 42] Operation: 55-13=42
Exploring Operation: 55-34=21, Resulting Numbers: [13, 21]
Generated Node #0,2,2: 16:[13, 21] Operation: 55-34=21
Exploring Operation: 34-13=21, Resulting Numbers: [55, 21]
Generated Node #0,2,3: 16:[55, 21] Operation: 34-13=21
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[13, 21], Operations: ['91-57=34', '55-34=21']
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 13*21=273, Resulting Numbers: [273]
273,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 16:[34, 42], Operations: ['91-57=34', '55-13=42']
Exploring Operation: 34*42=1428, Resulting Numbers: [1428]
1428,16 unequal: No Solution
Exploring Operation: 42-34=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 34+42=76, Resulting Numbers: [76]
76,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 16:[55, 21], Operations: ['91-57=34', '34-13=21']
Exploring Operation: 55*21=1155, Resulting Numbers: [1155]
1155,16 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[34, 68], Operations: ['91-57=34', '55+13=68']
Exploring Operation: 34*68=2312, Resulting Numbers: [2312]
2312,16 unequal: No Solution
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 34+68=102, Resulting Numbers: [102]
102,16 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: 16:[57, 13, 36], Operations: ['91-55=36']
Exploring Operation: 57-36=21, Resulting Numbers: [13, 21]
Generated Node #0,0,0: 16:[13, 21] Operation: 57-36=21
Exploring Operation: 57-13=44, Resulting Numbers: [36, 44]
Generated Node #0,0,1: 16:[36, 44] Operation: 57-13=44
Exploring Operation: 57+13=70, Resulting Numbers: [36, 70]
Generated Node #0,0,2: 16:[36, 70] Operation: 57+13=70
Exploring Operation: 36-13=23, Resulting Numbers: [57, 23]
Generated Node #0,0,3: 16:[57, 23] Operation: 36-13=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[13, 21], Operations: ['91-55=36', '57-36=21']
Exploring Operation: 13*21=273, Resulting Numbers: [273]
273,16 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[36, 44], Operations: ['91-55=36', '57-13=44']
Exploring Operation: 36+44=80, Resulting Numbers: [80]
80,16 unequal: No Solution
Exploring Operation: 36*44=1584, Resulting Numbers: [1584]
1584,16 unequal: No Solution
Exploring Operation: 44-36=8, Resulting Numbers: [8]
8,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 16:[57, 23], Operations: ['91-55=36', '36-13=23']
Exploring Operation: 57*23=1311, Resulting Numbers: [1311]
1311,16 unequal: No Solution
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 57+23=80, Resulting Numbers: [80]
80,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 16:[36, 70], Operations: ['91-55=36', '57+13=70']
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 36+70=106, Resulting Numbers: [106]
106,16 unequal: No Solution
Exploring Operation: 36*70=2520, Resulting Numbers: [2520]
2520,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 16:[91, 13, 2], Operations: ['57-55=2']
Exploring Operation: 91/13=7, Resulting Numbers: [2, 7]
Generated Node #0,1,0: 16:[2, 7] Operation: 91/13=7
Exploring Operation: 91-2=89, Resulting Numbers: [13, 89]
Generated Node #0,1,1: 16:[13, 89] Operation: 91-2=89
Exploring Operation: 13+2=15, Resulting Numbers: [91, 15]
Generated Node #0,1,2: 16:[91, 15] Operation: 13+2=15
Exploring Operation: 91-13=78, Resulting Numbers: [2, 78]
Generated Node #0,1,3: 16:[2, 78] Operation: 91-13=78
Moving to Node #0,3
Current State: 16:[55, 57, 7], Operations: ['91/13=7']
Exploring Operation: 57-55=2, Resulting Numbers: [7, 2]
Generated Node #0,3,0: 16:[7, 2] Operation: 57-55=2
Exploring Operation: 55-7=48, Resulting Numbers: [57, 48]
Generated Node #0,3,1: 16:[57, 48] Operation: 55-7=48
Exploring Operation: 55+7=62, Resulting Numbers: [57, 62]
Generated Node #0,3,2: 16:[57, 62] Operation: 55+7=62
Exploring Operation: 57-7=50, Resulting Numbers: [55, 50]
Generated Node #0,3,3: 16:[55, 50] Operation: 57-7=50
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 16:[7, 2], Operations: ['91/13=7', '57-55=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 16:[57, 48], Operations: ['91/13=7', '55-7=48']
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 57*48=2736, Resulting Numbers: [2736]
2736,16 unequal: No Solution
Exploring Operation: 57+48=105, Resulting Numbers: [105]
105,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 16:[55, 50], Operations: ['91/13=7', '57-7=50']
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 55+50=105, Resulting Numbers: [105]
105,16 unequal: No Solution
Exploring Operation: 55*50=2750, Resulting Numbers: [2750]
2750,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 16:[57, 62], Operations: ['91/13=7', '55+7=62']
Exploring Operation: 62-57=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 57*62=3534, Resulting Numbers: [3534]
3534,16 unequal: No Solution
Exploring Operation: 57+62=119, Resulting Numbers: [119]
119,16 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: 16:[2, 7], Operations: ['57-55=2', '91/13=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Moving to Node #0,1,3
Current State: 16:[2, 78], Operations: ['57-55=2', '91-13=78']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,16 unequal: No Solution
Exploring Operation: 2*78=156, Resulting Numbers: [156]
156,16 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[91, 15], Operations: ['57-55=2', '13+2=15']
Exploring Operation: 91*15=1365, Resulting Numbers: [1365]
1365,16 unequal: No Solution
Exploring Operation: 91+15=106, Resulting Numbers: [106]
106,16 unequal: No Solution
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[13, 89], Operations: ['57-55=2', '91-2=89']
Exploring Operation: 13+89=102, Resulting Numbers: [102]
102,16 unequal: No Solution
Exploring Operation: 89-13=76, Resulting Numbers: [76]
76,16 unequal: No Solution
Exploring Operation: 13*89=1157, Resulting Numbers: [1157]
1157,16 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
6,
66,
99,
76
] | 19 | [
"6*66=396",
"99*76=7524",
"7524/396=19"
] | Current State: 19:[6, 66, 99, 76], Operations: []
Exploring Operation: 6*66=396, Resulting Numbers: [99, 76, 396]
Generated Node #2: [99, 76, 396] from Operation: 6*66=396
Current State: 19:[99, 76, 396], Operations: ['6*66=396']
Exploring Operation: 99*76=7524, Resulting Numbers: [396, 7524]
Generated Node #3: [396, 7524] from Operation: 99*76=7524
Current State: 19:[396, 7524], Operations: ['6*66=396', '99*76=7524']
Exploring Operation: 7524/396=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[6, 66, 99, 76], Operations: []
Exploring Operation: 76-66=10, Resulting Numbers: [6, 99, 10]
Generated Node #0,0: 19:[6, 99, 10] Operation: 76-66=10
Exploring Operation: 66/6=11, Resulting Numbers: [99, 76, 11]
Generated Node #0,1: 19:[99, 76, 11] Operation: 66/6=11
Exploring Operation: 99-66=33, Resulting Numbers: [6, 76, 33]
Generated Node #0,2: 19:[6, 76, 33] Operation: 99-66=33
Exploring Operation: 99-76=23, Resulting Numbers: [6, 66, 23]
Generated Node #0,3: 19:[6, 66, 23] Operation: 99-76=23
Start Sub Search at level 1: Moving to Node #0,3
Current State: 19:[6, 66, 23], Operations: ['99-76=23']
Exploring Operation: 23-6=17, Resulting Numbers: [66, 17]
Generated Node #0,3,0: 19:[66, 17] Operation: 23-6=17
Exploring Operation: 66/6=11, Resulting Numbers: [23, 11]
Generated Node #0,3,1: 19:[23, 11] Operation: 66/6=11
Exploring Operation: 66-6=60, Resulting Numbers: [23, 60]
Generated Node #0,3,2: 19:[23, 60] Operation: 66-6=60
Exploring Operation: 66-23=43, Resulting Numbers: [6, 43]
Generated Node #0,3,3: 19:[6, 43] Operation: 66-23=43
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 19:[23, 11], Operations: ['99-76=23', '66/6=11']
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 19:[6, 43], Operations: ['99-76=23', '66-23=43']
Exploring Operation: 6*43=258, Resulting Numbers: [258]
258,19 unequal: No Solution
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 19:[23, 60], Operations: ['99-76=23', '66-6=60']
Exploring Operation: 23+60=83, Resulting Numbers: [83]
83,19 unequal: No Solution
Exploring Operation: 23*60=1380, Resulting Numbers: [1380]
1380,19 unequal: No Solution
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 19:[66, 17], Operations: ['99-76=23', '23-6=17']
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,19 unequal: No Solution
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[6, 76, 33], Operations: ['99-66=33']
Exploring Operation: 76-33=43, Resulting Numbers: [6, 43]
Generated Node #0,2,0: 19:[6, 43] Operation: 76-33=43
Exploring Operation: 6+76=82, Resulting Numbers: [33, 82]
Generated Node #0,2,1: 19:[33, 82] Operation: 6+76=82
Exploring Operation: 76-6=70, Resulting Numbers: [33, 70]
Generated Node #0,2,2: 19:[33, 70] Operation: 76-6=70
Exploring Operation: 33-6=27, Resulting Numbers: [76, 27]
Generated Node #0,2,3: 19:[76, 27] Operation: 33-6=27
Moving to Node #0,2,0
Current State: 19:[6, 43], Operations: ['99-66=33', '76-33=43']
Exploring Operation: 6*43=258, Resulting Numbers: [258]
258,19 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,19 unequal: No Solution
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[76, 27], Operations: ['99-66=33', '33-6=27']
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 76*27=2052, Resulting Numbers: [2052]
2052,19 unequal: No Solution
Exploring Operation: 76+27=103, Resulting Numbers: [103]
103,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[33, 70], Operations: ['99-66=33', '76-6=70']
Exploring Operation: 70-33=37, Resulting Numbers: [37]
37,19 unequal: No Solution
Exploring Operation: 33+70=103, Resulting Numbers: [103]
103,19 unequal: No Solution
Exploring Operation: 33*70=2310, Resulting Numbers: [2310]
2310,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[33, 82], Operations: ['99-66=33', '6+76=82']
Exploring Operation: 33+82=115, Resulting Numbers: [115]
115,19 unequal: No Solution
Exploring Operation: 33*82=2706, Resulting Numbers: [2706]
2706,19 unequal: No Solution
Exploring Operation: 82-33=49, Resulting Numbers: [49]
49,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[6, 99, 10], Operations: ['76-66=10']
Exploring Operation: 6+10=16, Resulting Numbers: [99, 16]
Generated Node #0,0,0: 19:[99, 16] Operation: 6+10=16
Exploring Operation: 99-6=93, Resulting Numbers: [10, 93]
Generated Node #0,0,1: 19:[10, 93] Operation: 99-6=93
Exploring Operation: 6+99=105, Resulting Numbers: [10, 105]
Generated Node #0,0,2: 19:[10, 105] Operation: 6+99=105
Exploring Operation: 99-10=89, Resulting Numbers: [6, 89]
Generated Node #0,0,3: 19:[6, 89] Operation: 99-10=89
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[99, 16], Operations: ['76-66=10', '6+10=16']
Exploring Operation: 99*16=1584, Resulting Numbers: [1584]
1584,19 unequal: No Solution
Exploring Operation: 99-16=83, Resulting Numbers: [83]
83,19 unequal: No Solution
Exploring Operation: 99+16=115, Resulting Numbers: [115]
115,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[10, 93], Operations: ['76-66=10', '99-6=93']
Exploring Operation: 10+93=103, Resulting Numbers: [103]
103,19 unequal: No Solution
Exploring Operation: 93-10=83, Resulting Numbers: [83]
83,19 unequal: No Solution
Exploring Operation: 10*93=930, Resulting Numbers: [930]
930,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 19:[6, 89], Operations: ['76-66=10', '99-10=89']
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,19 unequal: No Solution
Exploring Operation: 6+89=95, Resulting Numbers: [95]
95,19 unequal: No Solution
Exploring Operation: 6*89=534, Resulting Numbers: [534]
534,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 19:[10, 105], Operations: ['76-66=10', '6+99=105']
Exploring Operation: 10+105=115, Resulting Numbers: [115]
115,19 unequal: No Solution
Exploring Operation: 105-10=95, Resulting Numbers: [95]
95,19 unequal: No Solution
Exploring Operation: 10*105=1050, Resulting Numbers: [1050]
1050,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[99, 76, 11], Operations: ['66/6=11']
Exploring Operation: 99-76=23, Resulting Numbers: [11, 23]
Generated Node #0,1,0: 19:[11, 23] Operation: 99-76=23
Exploring Operation: 99/11=9, Resulting Numbers: [76, 9]
Generated Node #0,1,1: 19:[76, 9] Operation: 99/11=9
Exploring Operation: 76-11=65, Resulting Numbers: [99, 65]
Generated Node #0,1,2: 19:[99, 65] Operation: 76-11=65
Exploring Operation: 99-11=88, Resulting Numbers: [76, 88]
Generated Node #0,1,3: 19:[76, 88] Operation: 99-11=88
Moving to Node #0,1,0
Current State: 19:[11, 23], Operations: ['66/6=11', '99-76=23']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 11*23=253, Resulting Numbers: [253]
253,19 unequal: No Solution
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[76, 9], Operations: ['66/6=11', '99/11=9']
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,19 unequal: No Solution
Exploring Operation: 76*9=684, Resulting Numbers: [684]
684,19 unequal: No Solution
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[76, 88], Operations: ['66/6=11', '99-11=88']
Exploring Operation: 88-76=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 76*88=6688, Resulting Numbers: [6688]
6688,19 unequal: No Solution
Exploring Operation: 76+88=164, Resulting Numbers: [164]
164,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[99, 65], Operations: ['66/6=11', '76-11=65']
Exploring Operation: 99-65=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 99+65=164, Resulting Numbers: [164]
164,19 unequal: No Solution
Exploring Operation: 99*65=6435, Resulting Numbers: [6435]
6435,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
18,
63,
13,
31
] | 64 | [
"18+13=31",
"31/31=1",
"63+1=64"
] | Current State: 64:[18, 63, 13, 31], Operations: []
Exploring Operation: 18+13=31, Resulting Numbers: [63, 31, 31]
Generated Node #2: [63, 31, 31] from Operation: 18+13=31
Current State: 64:[63, 31, 31], Operations: ['18+13=31']
Exploring Operation: 31/31=1, Resulting Numbers: [63, 1]
Generated Node #3: [63, 1] from Operation: 31/31=1
Current State: 64:[63, 1], Operations: ['18+13=31', '31/31=1']
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[18, 63, 13, 31], Operations: []
Exploring Operation: 18+13=31, Resulting Numbers: [63, 31, 31]
Generated Node #0,0: 64:[63, 31, 31] Operation: 18+13=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[63, 31, 31], Operations: ['18+13=31']
Exploring Operation: 63-31=32, Resulting Numbers: [31, 32]
Generated Node #0,0,0: 64:[31, 32] Operation: 63-31=32
Moving to Node #0,0,0
Current State: 64:[31, 32], Operations: ['18+13=31', '63-31=32']
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
61,
10,
6,
90
] | 89 | [
"90-61=29",
"10*6=60",
"29+60=89"
] | Current State: 89:[61, 10, 6, 90], Operations: []
Exploring Operation: 90-61=29, Resulting Numbers: [10, 6, 29]
Generated Node #2: [10, 6, 29] from Operation: 90-61=29
Current State: 89:[10, 6, 29], Operations: ['90-61=29']
Exploring Operation: 10*6=60, Resulting Numbers: [29, 60]
Generated Node #3: [29, 60] from Operation: 10*6=60
Current State: 89:[29, 60], Operations: ['90-61=29', '10*6=60']
Exploring Operation: 29+60=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[61, 10, 6, 90], Operations: []
Exploring Operation: 61+10=71, Resulting Numbers: [6, 90, 71]
Generated Node #0,0: 89:[6, 90, 71] Operation: 61+10=71
Exploring Operation: 10*6=60, Resulting Numbers: [61, 90, 60]
Generated Node #0,1: 89:[61, 90, 60] Operation: 10*6=60
Moving to Node #0,1
Current State: 89:[61, 90, 60], Operations: ['10*6=60']
Exploring Operation: 90-60=30, Resulting Numbers: [61, 30]
Generated Node #0,1,0: 89:[61, 30] Operation: 90-60=30
Exploring Operation: 61+60=121, Resulting Numbers: [90, 121]
Generated Node #0,1,1: 89:[90, 121] Operation: 61+60=121
Moving to Node #0,0
Current State: 89:[6, 90, 71], Operations: ['61+10=71']
Exploring Operation: 90-6=84, Resulting Numbers: [71, 84]
Generated Node #0,0,0: 89:[71, 84] Operation: 90-6=84
Exploring Operation: 6+71=77, Resulting Numbers: [90, 77]
Generated Node #0,0,1: 89:[90, 77] Operation: 6+71=77
Moving to Node #0,0,1
Current State: 89:[90, 77], Operations: ['61+10=71', '6+71=77']
Exploring Operation: 90+77=167, Resulting Numbers: [167]
167,89 unequal: No Solution
Exploring Operation: 90-77=13, Resulting Numbers: [13]
13,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[71, 84], Operations: ['61+10=71', '90-6=84']
Exploring Operation: 84-71=13, Resulting Numbers: [13]
13,89 unequal: No Solution
Exploring Operation: 71+84=155, Resulting Numbers: [155]
155,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[90, 121], Operations: ['10*6=60', '61+60=121']
Exploring Operation: 90+121=211, Resulting Numbers: [211]
211,89 unequal: No Solution
Exploring Operation: 121-90=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[61, 30], Operations: ['10*6=60', '90-60=30']
Exploring Operation: 61+30=91, Resulting Numbers: [91]
91,89 unequal: No Solution
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,89 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
36,
97,
84,
8
] | 91 | [
"84-36=48",
"48/8=6",
"97-6=91"
] | Current State: 91:[36, 97, 84, 8], Operations: []
Exploring Operation: 84-36=48, Resulting Numbers: [97, 8, 48]
Generated Node #2: [97, 8, 48] from Operation: 84-36=48
Current State: 91:[97, 8, 48], Operations: ['84-36=48']
Exploring Operation: 48/8=6, Resulting Numbers: [97, 6]
Generated Node #3: [97, 6] from Operation: 48/8=6
Current State: 91:[97, 6], Operations: ['84-36=48', '48/8=6']
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[36, 97, 84, 8], Operations: []
Exploring Operation: 36-8=28, Resulting Numbers: [97, 84, 28]
Generated Node #0,0: 91:[97, 84, 28] Operation: 36-8=28
Exploring Operation: 84+8=92, Resulting Numbers: [36, 97, 92]
Generated Node #0,1: 91:[36, 97, 92] Operation: 84+8=92
Exploring Operation: 97-8=89, Resulting Numbers: [36, 84, 89]
Generated Node #0,2: 91:[36, 84, 89] Operation: 97-8=89
Exploring Operation: 36+84=120, Resulting Numbers: [97, 8, 120]
Generated Node #0,3: 91:[97, 8, 120] Operation: 36+84=120
Exploring Operation: 97-84=13, Resulting Numbers: [36, 8, 13]
Generated Node #0,4: 91:[36, 8, 13] Operation: 97-84=13
Moving to Node #0,4
Current State: 91:[36, 8, 13], Operations: ['97-84=13']
Exploring Operation: 36-13=23, Resulting Numbers: [8, 23]
Generated Node #0,4,0: 91:[8, 23] Operation: 36-13=23
Exploring Operation: 36+8=44, Resulting Numbers: [13, 44]
Generated Node #0,4,1: 91:[13, 44] Operation: 36+8=44
Exploring Operation: 13-8=5, Resulting Numbers: [36, 5]
Generated Node #0,4,2: 91:[36, 5] Operation: 13-8=5
Exploring Operation: 8+13=21, Resulting Numbers: [36, 21]
Generated Node #0,4,3: 91:[36, 21] Operation: 8+13=21
Exploring Operation: 36-8=28, Resulting Numbers: [13, 28]
Generated Node #0,4,4: 91:[13, 28] Operation: 36-8=28
Moving to Node #0,0
Current State: 91:[97, 84, 28], Operations: ['36-8=28']
Exploring Operation: 97+28=125, Resulting Numbers: [84, 125]
Generated Node #0,0,0: 91:[84, 125] Operation: 97+28=125
Exploring Operation: 84/28=3, Resulting Numbers: [97, 3]
Generated Node #0,0,1: 91:[97, 3] Operation: 84/28=3
Exploring Operation: 97-84=13, Resulting Numbers: [28, 13]
Generated Node #0,0,2: 91:[28, 13] Operation: 97-84=13
Exploring Operation: 84+28=112, Resulting Numbers: [97, 112]
Generated Node #0,0,3: 91:[97, 112] Operation: 84+28=112
Exploring Operation: 97-28=69, Resulting Numbers: [84, 69]
Generated Node #0,0,4: 91:[84, 69] Operation: 97-28=69
Moving to Node #0,1
Current State: 91:[36, 97, 92], Operations: ['84+8=92']
Exploring Operation: 92-36=56, Resulting Numbers: [97, 56]
Generated Node #0,1,0: 91:[97, 56] Operation: 92-36=56
Exploring Operation: 97-36=61, Resulting Numbers: [92, 61]
Generated Node #0,1,1: 91:[92, 61] Operation: 97-36=61
Exploring Operation: 36+97=133, Resulting Numbers: [92, 133]
Generated Node #0,1,2: 91:[92, 133] Operation: 36+97=133
Exploring Operation: 36+92=128, Resulting Numbers: [97, 128]
Generated Node #0,1,3: 91:[97, 128] Operation: 36+92=128
Exploring Operation: 97-92=5, Resulting Numbers: [36, 5]
Generated Node #0,1,4: 91:[36, 5] Operation: 97-92=5
Moving to Node #0,2
Current State: 91:[36, 84, 89], Operations: ['97-8=89']
Exploring Operation: 89-36=53, Resulting Numbers: [84, 53]
Generated Node #0,2,0: 91:[84, 53] Operation: 89-36=53
Exploring Operation: 36+89=125, Resulting Numbers: [84, 125]
Generated Node #0,2,1: 91:[84, 125] Operation: 36+89=125
Exploring Operation: 84-36=48, Resulting Numbers: [89, 48]
Generated Node #0,2,2: 91:[89, 48] Operation: 84-36=48
Exploring Operation: 89-84=5, Resulting Numbers: [36, 5]
Generated Node #0,2,3: 91:[36, 5] Operation: 89-84=5
Exploring Operation: 36+84=120, Resulting Numbers: [89, 120]
Generated Node #0,2,4: 91:[89, 120] Operation: 36+84=120
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[36, 5], Operations: ['97-8=89', '89-84=5']
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,91 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 91:[89, 120], Operations: ['97-8=89', '36+84=120']
Exploring Operation: 120-89=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 89+120=209, Resulting Numbers: [209]
209,91 unequal: No Solution
Exploring Operation: 89*120=10680, Resulting Numbers: [10680]
10680,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[89, 48], Operations: ['97-8=89', '84-36=48']
Exploring Operation: 89-48=41, Resulting Numbers: [41]
41,91 unequal: No Solution
Exploring Operation: 89*48=4272, Resulting Numbers: [4272]
4272,91 unequal: No Solution
Exploring Operation: 89+48=137, Resulting Numbers: [137]
137,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[84, 125], Operations: ['97-8=89', '36+89=125']
Exploring Operation: 125-84=41, Resulting Numbers: [41]
41,91 unequal: No Solution
Exploring Operation: 84+125=209, Resulting Numbers: [209]
209,91 unequal: No Solution
Exploring Operation: 84*125=10500, Resulting Numbers: [10500]
10500,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[84, 53], Operations: ['97-8=89', '89-36=53']
Exploring Operation: 84*53=4452, Resulting Numbers: [4452]
4452,91 unequal: No Solution
Exploring Operation: 84+53=137, Resulting Numbers: [137]
137,91 unequal: No Solution
Exploring Operation: 84-53=31, Resulting Numbers: [31]
31,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 91:[97, 8, 120], Operations: ['36+84=120']
Exploring Operation: 120-8=112, Resulting Numbers: [97, 112]
Generated Node #0,3,0: 91:[97, 112] Operation: 120-8=112
Exploring Operation: 97+8=105, Resulting Numbers: [120, 105]
Generated Node #0,3,1: 91:[120, 105] Operation: 97+8=105
Exploring Operation: 120-97=23, Resulting Numbers: [8, 23]
Generated Node #0,3,2: 91:[8, 23] Operation: 120-97=23
Exploring Operation: 97-8=89, Resulting Numbers: [120, 89]
Generated Node #0,3,3: 91:[120, 89] Operation: 97-8=89
Exploring Operation: 120/8=15, Resulting Numbers: [97, 15]
Generated Node #0,3,4: 91:[97, 15] Operation: 120/8=15
Moving to Node #0,3,4
Current State: 91:[97, 15], Operations: ['36+84=120', '120/8=15']
Exploring Operation: 97+15=112, Resulting Numbers: [112]
112,91 unequal: No Solution
Exploring Operation: 97-15=82, Resulting Numbers: [82]
82,91 unequal: No Solution
Exploring Operation: 97*15=1455, Resulting Numbers: [1455]
1455,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[97, 3], Operations: ['36-8=28', '84/28=3']
Exploring Operation: 97*3=291, Resulting Numbers: [291]
291,91 unequal: No Solution
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,91 unequal: No Solution
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,91 unequal: No Solution
Moving to Node #0,4,0
Current State: 91:[8, 23], Operations: ['97-84=13', '36-13=23']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 8*23=184, Resulting Numbers: [184]
184,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[8, 23], Operations: ['36+84=120', '120-97=23']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 8*23=184, Resulting Numbers: [184]
184,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[28, 13], Operations: ['36-8=28', '97-84=13']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,91 unequal: No Solution
Exploring Operation: 28*13=364, Resulting Numbers: [364]
364,91 unequal: No Solution
Moving to Node #0,4,4
Current State: 91:[13, 28], Operations: ['97-84=13', '36-8=28']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,91 unequal: No Solution
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,91 unequal: No Solution
Moving to Node #0,4,2
Current State: 91:[36, 5], Operations: ['97-84=13', '13-8=5']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,91 unequal: No Solution
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,91 unequal: No Solution
Moving to Node #0,1,4
Current State: 91:[36, 5], Operations: ['84+8=92', '97-92=5']
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,91 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,91 unequal: No Solution
Moving to Node #0,3,0
Current State: 91:[97, 112], Operations: ['36+84=120', '120-8=112']
Exploring Operation: 97*112=10864, Resulting Numbers: [10864]
10864,91 unequal: No Solution
Exploring Operation: 97+112=209, Resulting Numbers: [209]
209,91 unequal: No Solution
Exploring Operation: 112-97=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Moving to Node #0,0,3
Current State: 91:[97, 112], Operations: ['36-8=28', '84+28=112']
Exploring Operation: 97*112=10864, Resulting Numbers: [10864]
10864,91 unequal: No Solution
Exploring Operation: 112-97=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 97+112=209, Resulting Numbers: [209]
209,91 unequal: No Solution
Moving to Node #0,0,4
Current State: 91:[84, 69], Operations: ['36-8=28', '97-28=69']
Exploring Operation: 84*69=5796, Resulting Numbers: [5796]
5796,91 unequal: No Solution
Exploring Operation: 84+69=153, Resulting Numbers: [153]
153,91 unequal: No Solution
Exploring Operation: 84-69=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Moving to Node #0,3,3
Current State: 91:[120, 89], Operations: ['36+84=120', '97-8=89']
Exploring Operation: 120+89=209, Resulting Numbers: [209]
209,91 unequal: No Solution
Exploring Operation: 120*89=10680, Resulting Numbers: [10680]
10680,91 unequal: No Solution
Exploring Operation: 120-89=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[92, 61], Operations: ['84+8=92', '97-36=61']
Exploring Operation: 92+61=153, Resulting Numbers: [153]
153,91 unequal: No Solution
Exploring Operation: 92*61=5612, Resulting Numbers: [5612]
5612,91 unequal: No Solution
Exploring Operation: 92-61=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Moving to Node #0,4,3
Current State: 91:[36, 21], Operations: ['97-84=13', '8+13=21']
Exploring Operation: 36*21=756, Resulting Numbers: [756]
756,91 unequal: No Solution
Exploring Operation: 36+21=57, Resulting Numbers: [57]
57,91 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Moving to Node #0,4,1
Current State: 91:[13, 44], Operations: ['97-84=13', '36+8=44']
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,91 unequal: No Solution
Exploring Operation: 13*44=572, Resulting Numbers: [572]
572,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[84, 125], Operations: ['36-8=28', '97+28=125']
Exploring Operation: 84*125=10500, Resulting Numbers: [10500]
10500,91 unequal: No Solution
Exploring Operation: 84+125=209, Resulting Numbers: [209]
209,91 unequal: No Solution
Exploring Operation: 125-84=41, Resulting Numbers: [41]
41,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[97, 56], Operations: ['84+8=92', '92-36=56']
Exploring Operation: 97+56=153, Resulting Numbers: [153]
153,91 unequal: No Solution
Exploring Operation: 97*56=5432, Resulting Numbers: [5432]
5432,91 unequal: No Solution
Exploring Operation: 97-56=41, Resulting Numbers: [41]
41,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[120, 105], Operations: ['36+84=120', '97+8=105']
Exploring Operation: 120*105=12600, Resulting Numbers: [12600]
12600,91 unequal: No Solution
Exploring Operation: 120+105=225, Resulting Numbers: [225]
225,91 unequal: No Solution
Exploring Operation: 120-105=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[92, 133], Operations: ['84+8=92', '36+97=133']
Exploring Operation: 92*133=12236, Resulting Numbers: [12236]
12236,91 unequal: No Solution
Exploring Operation: 92+133=225, Resulting Numbers: [225]
225,91 unequal: No Solution
Exploring Operation: 133-92=41, Resulting Numbers: [41]
41,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[97, 128], Operations: ['84+8=92', '36+92=128']
Exploring Operation: 128-97=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 97*128=12416, Resulting Numbers: [12416]
12416,91 unequal: No Solution
Exploring Operation: 97+128=225, Resulting Numbers: [225]
225,91 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
60,
36,
6,
9
] | 63 | [
"60+9=69",
"36/6=6",
"69-6=63"
] | Current State: 63:[60, 36, 6, 9], Operations: []
Exploring Operation: 60+9=69, Resulting Numbers: [36, 6, 69]
Generated Node #2: [36, 6, 69] from Operation: 60+9=69
Current State: 63:[36, 6, 69], Operations: ['60+9=69']
Exploring Operation: 36/6=6, Resulting Numbers: [69, 6]
Generated Node #3: [69, 6] from Operation: 36/6=6
Current State: 63:[69, 6], Operations: ['60+9=69', '36/6=6']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[60, 36, 6, 9], Operations: []
Exploring Operation: 36/6=6, Resulting Numbers: [60, 9, 6]
Generated Node #0,0: 63:[60, 9, 6] Operation: 36/6=6
Exploring Operation: 60-36=24, Resulting Numbers: [6, 9, 24]
Generated Node #0,1: 63:[6, 9, 24] Operation: 60-36=24
Exploring Operation: 36/9=4, Resulting Numbers: [60, 6, 4]
Generated Node #0,2: 63:[60, 6, 4] Operation: 36/9=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[60, 9, 6], Operations: ['36/6=6']
Exploring Operation: 60+6=66, Resulting Numbers: [9, 66]
Generated Node #0,0,0: 63:[9, 66] Operation: 60+6=66
Exploring Operation: 9-6=3, Resulting Numbers: [60, 3]
Generated Node #0,0,1: 63:[60, 3] Operation: 9-6=3
Exploring Operation: 60/6=10, Resulting Numbers: [9, 10]
Generated Node #0,0,2: 63:[9, 10] Operation: 60/6=10
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 63:[9, 10], Operations: ['36/6=6', '60/6=10']
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,63 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[9, 66], Operations: ['36/6=6', '60+6=66']
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,63 unequal: No Solution
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,63 unequal: No Solution
Exploring Operation: 9*66=594, Resulting Numbers: [594]
594,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[60, 3], Operations: ['36/6=6', '9-6=3']
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[60, 36, 6, 9], Operations: []
Exploring Operation: 36/6=6, Resulting Numbers: [60, 9, 6]
Generated Node #0,0: 63:[60, 9, 6] Operation: 36/6=6
Moving to Node #0,0
Current State: 63:[60, 9, 6], Operations: ['36/6=6']
Exploring Operation: 9-6=3, Resulting Numbers: [60, 3]
Generated Node #0,0,1: 63:[60, 3] Operation: 9-6=3
Moving to Node #0,0,1
Current State: 63:[60, 3], Operations: ['36/6=6', '9-6=3']
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
2,
38,
70,
18
] | 98 | [
"38+18=56",
"56/2=28",
"70+28=98"
] | Current State: 98:[2, 38, 70, 18], Operations: []
Exploring Operation: 38+18=56, Resulting Numbers: [2, 70, 56]
Generated Node #2: [2, 70, 56] from Operation: 38+18=56
Current State: 98:[2, 70, 56], Operations: ['38+18=56']
Exploring Operation: 56/2=28, Resulting Numbers: [70, 28]
Generated Node #3: [70, 28] from Operation: 56/2=28
Current State: 98:[70, 28], Operations: ['38+18=56', '56/2=28']
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[2, 38, 70, 18], Operations: []
Exploring Operation: 70-18=52, Resulting Numbers: [2, 38, 52]
Generated Node #0,0: 98:[2, 38, 52] Operation: 70-18=52
Exploring Operation: 70-38=32, Resulting Numbers: [2, 18, 32]
Generated Node #0,1: 98:[2, 18, 32] Operation: 70-38=32
Exploring Operation: 38+70=108, Resulting Numbers: [2, 18, 108]
Generated Node #0,2: 98:[2, 18, 108] Operation: 38+70=108
Moving to Node #0,0
Current State: 98:[2, 38, 52], Operations: ['70-18=52']
Exploring Operation: 38/2=19, Resulting Numbers: [52, 19]
Generated Node #0,0,0: 98:[52, 19] Operation: 38/2=19
Exploring Operation: 52-38=14, Resulting Numbers: [2, 14]
Generated Node #0,0,1: 98:[2, 14] Operation: 52-38=14
Exploring Operation: 38+52=90, Resulting Numbers: [2, 90]
Generated Node #0,0,2: 98:[2, 90] Operation: 38+52=90
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[2, 14], Operations: ['70-18=52', '52-38=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[52, 19], Operations: ['70-18=52', '38/2=19']
Exploring Operation: 52*19=988, Resulting Numbers: [988]
988,98 unequal: No Solution
Exploring Operation: 52+19=71, Resulting Numbers: [71]
71,98 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 98:[2, 90], Operations: ['70-18=52', '38+52=90']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,98 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 2+90=92, Resulting Numbers: [92]
92,98 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: 98:[2, 18, 108], Operations: ['38+70=108']
Exploring Operation: 108-18=90, Resulting Numbers: [2, 90]
Generated Node #0,2,0: 98:[2, 90] Operation: 108-18=90
Exploring Operation: 108/2=54, Resulting Numbers: [18, 54]
Generated Node #0,2,1: 98:[18, 54] Operation: 108/2=54
Exploring Operation: 108/18=6, Resulting Numbers: [2, 6]
Generated Node #0,2,2: 98:[2, 6] Operation: 108/18=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 98:[2, 6], Operations: ['38+70=108', '108/18=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 98:[2, 90], Operations: ['38+70=108', '108-18=90']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,98 unequal: No Solution
Exploring Operation: 2+90=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 98:[18, 54], Operations: ['38+70=108', '108/2=54']
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 18+54=72, Resulting Numbers: [72]
72,98 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,98 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: 98:[2, 18, 32], Operations: ['70-38=32']
Exploring Operation: 32/2=16, Resulting Numbers: [18, 16]
Generated Node #0,1,0: 98:[18, 16] Operation: 32/2=16
Exploring Operation: 18+32=50, Resulting Numbers: [2, 50]
Generated Node #0,1,1: 98:[2, 50] Operation: 18+32=50
Exploring Operation: 32-18=14, Resulting Numbers: [2, 14]
Generated Node #0,1,2: 98:[2, 14] Operation: 32-18=14
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 98:[2, 14], Operations: ['70-38=32', '32-18=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[2, 50], Operations: ['70-38=32', '18+32=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,98 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[18, 16], Operations: ['70-38=32', '32/2=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,98 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,98 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 |
[
28,
20,
13,
95
] | 99 | [
"20-13=7",
"28/7=4",
"95+4=99"
] | Current State: 99:[28, 20, 13, 95], Operations: []
Exploring Operation: 20-13=7, Resulting Numbers: [28, 95, 7]
Generated Node #2: [28, 95, 7] from Operation: 20-13=7
Current State: 99:[28, 95, 7], Operations: ['20-13=7']
Exploring Operation: 28/7=4, Resulting Numbers: [95, 4]
Generated Node #3: [95, 4] from Operation: 28/7=4
Current State: 99:[95, 4], Operations: ['20-13=7', '28/7=4']
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[28, 20, 13, 95], Operations: []
Exploring Operation: 28-20=8, Resulting Numbers: [13, 95, 8]
Generated Node #0,0: 99:[13, 95, 8] Operation: 28-20=8
Exploring Operation: 28+20=48, Resulting Numbers: [13, 95, 48]
Generated Node #0,1: 99:[13, 95, 48] Operation: 28+20=48
Exploring Operation: 20-13=7, Resulting Numbers: [28, 95, 7]
Generated Node #0,2: 99:[28, 95, 7] Operation: 20-13=7
Exploring Operation: 20+13=33, Resulting Numbers: [28, 95, 33]
Generated Node #0,3: 99:[28, 95, 33] Operation: 20+13=33
Exploring Operation: 28-13=15, Resulting Numbers: [20, 95, 15]
Generated Node #0,4: 99:[20, 95, 15] Operation: 28-13=15
Moving to Node #0,0
Current State: 99:[13, 95, 8], Operations: ['28-20=8']
Exploring Operation: 13+8=21, Resulting Numbers: [95, 21]
Generated Node #0,0,0: 99:[95, 21] Operation: 13+8=21
Exploring Operation: 13-8=5, Resulting Numbers: [95, 5]
Generated Node #0,0,1: 99:[95, 5] Operation: 13-8=5
Exploring Operation: 95+8=103, Resulting Numbers: [13, 103]
Generated Node #0,0,2: 99:[13, 103] Operation: 95+8=103
Exploring Operation: 13+95=108, Resulting Numbers: [8, 108]
Generated Node #0,0,3: 99:[8, 108] Operation: 13+95=108
Exploring Operation: 13*8=104, Resulting Numbers: [95, 104]
Generated Node #0,0,4: 99:[95, 104] Operation: 13*8=104
Moving to Node #0,3
Current State: 99:[28, 95, 33], Operations: ['20+13=33']
Exploring Operation: 28+95=123, Resulting Numbers: [33, 123]
Generated Node #0,3,0: 99:[33, 123] Operation: 28+95=123
Exploring Operation: 95-28=67, Resulting Numbers: [33, 67]
Generated Node #0,3,1: 99:[33, 67] Operation: 95-28=67
Exploring Operation: 33-28=5, Resulting Numbers: [95, 5]
Generated Node #0,3,2: 99:[95, 5] Operation: 33-28=5
Exploring Operation: 95+33=128, Resulting Numbers: [28, 128]
Generated Node #0,3,3: 99:[28, 128] Operation: 95+33=128
Exploring Operation: 28+33=61, Resulting Numbers: [95, 61]
Generated Node #0,3,4: 99:[95, 61] Operation: 28+33=61
Moving to Node #0,2
Current State: 99:[28, 95, 7], Operations: ['20-13=7']
Exploring Operation: 28+7=35, Resulting Numbers: [95, 35]
Generated Node #0,2,0: 99:[95, 35] Operation: 28+7=35
Exploring Operation: 95+7=102, Resulting Numbers: [28, 102]
Generated Node #0,2,1: 99:[28, 102] Operation: 95+7=102
Exploring Operation: 28/7=4, Resulting Numbers: [95, 4]
Generated Node #0,2,2: 99:[95, 4] Operation: 28/7=4
Exploring Operation: 28-7=21, Resulting Numbers: [95, 21]
Generated Node #0,2,3: 99:[95, 21] Operation: 28-7=21
Exploring Operation: 95-7=88, Resulting Numbers: [28, 88]
Generated Node #0,2,4: 99:[28, 88] Operation: 95-7=88
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 99:[95, 4], Operations: ['20-13=7', '28/7=4']
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[28, 20, 13, 95], Operations: []
Exploring Operation: 20-13=7, Resulting Numbers: [28, 95, 7]
Generated Node #0,2: 99:[28, 95, 7] Operation: 20-13=7
Moving to Node #0,2
Current State: 99:[28, 95, 7], Operations: ['20-13=7']
Exploring Operation: 28/7=4, Resulting Numbers: [95, 4]
Generated Node #0,2,2: 99:[95, 4] Operation: 28/7=4
Moving to Node #0,2,2
Current State: 99:[95, 4], Operations: ['20-13=7', '28/7=4']
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
18,
20,
28,
16
] | 34 | [
"18-16=2",
"28/2=14",
"20+14=34"
] | Current State: 34:[18, 20, 28, 16], Operations: []
Exploring Operation: 18-16=2, Resulting Numbers: [20, 28, 2]
Generated Node #2: [20, 28, 2] from Operation: 18-16=2
Current State: 34:[20, 28, 2], Operations: ['18-16=2']
Exploring Operation: 28/2=14, Resulting Numbers: [20, 14]
Generated Node #3: [20, 14] from Operation: 28/2=14
Current State: 34:[20, 14], Operations: ['18-16=2', '28/2=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[18, 20, 28, 16], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [28, 16, 2]
Generated Node #0,0: 34:[28, 16, 2] Operation: 20-18=2
Exploring Operation: 28-20=8, Resulting Numbers: [18, 16, 8]
Generated Node #0,1: 34:[18, 16, 8] Operation: 28-20=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[28, 16, 2], Operations: ['20-18=2']
Exploring Operation: 28/2=14, Resulting Numbers: [16, 14]
Generated Node #0,0,0: 34:[16, 14] Operation: 28/2=14
Exploring Operation: 28-16=12, Resulting Numbers: [2, 12]
Generated Node #0,0,1: 34:[2, 12] Operation: 28-16=12
Moving to Node #0,0,0
Current State: 34:[16, 14], Operations: ['20-18=2', '28/2=14']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[2, 12], Operations: ['20-18=2', '28-16=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[18, 16, 8], Operations: ['28-20=8']
Exploring Operation: 18+16=34, Resulting Numbers: [8, 34]
Generated Node #0,1,0: 34:[8, 34] Operation: 18+16=34
Exploring Operation: 16/8=2, Resulting Numbers: [18, 2]
Generated Node #0,1,1: 34:[18, 2] Operation: 16/8=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[18, 2], Operations: ['28-20=8', '16/8=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[8, 34], Operations: ['28-20=8', '18+16=34']
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 8+34=42, Resulting Numbers: [42]
42,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
98,
76,
80,
42
] | 52 | [
"98+76=174",
"80+42=122",
"174-122=52"
] | Current State: 52:[98, 76, 80, 42], Operations: []
Exploring Operation: 98+76=174, Resulting Numbers: [80, 42, 174]
Generated Node #2: [80, 42, 174] from Operation: 98+76=174
Current State: 52:[80, 42, 174], Operations: ['98+76=174']
Exploring Operation: 80+42=122, Resulting Numbers: [174, 122]
Generated Node #3: [174, 122] from Operation: 80+42=122
Current State: 52:[174, 122], Operations: ['98+76=174', '80+42=122']
Exploring Operation: 174-122=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[98, 76, 80, 42], Operations: []
Exploring Operation: 98-80=18, Resulting Numbers: [76, 42, 18]
Generated Node #0,0: 52:[76, 42, 18] Operation: 98-80=18
Exploring Operation: 98-76=22, Resulting Numbers: [80, 42, 22]
Generated Node #0,1: 52:[80, 42, 22] Operation: 98-76=22
Moving to Node #0,0
Current State: 52:[76, 42, 18], Operations: ['98-80=18']
Exploring Operation: 76-42=34, Resulting Numbers: [18, 34]
Generated Node #0,0,0: 52:[18, 34] Operation: 76-42=34
Exploring Operation: 76-18=58, Resulting Numbers: [42, 58]
Generated Node #0,0,1: 52:[42, 58] Operation: 76-18=58
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[18, 34], Operations: ['98-80=18', '76-42=34']
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 18+34=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[98, 76, 80, 42], Operations: []
Exploring Operation: 98-80=18, Resulting Numbers: [76, 42, 18]
Generated Node #0,0: 52:[76, 42, 18] Operation: 98-80=18
Moving to Node #0,0
Current State: 52:[76, 42, 18], Operations: ['98-80=18']
Exploring Operation: 76-42=34, Resulting Numbers: [18, 34]
Generated Node #0,0,0: 52:[18, 34] Operation: 76-42=34
Moving to Node #0,0,0
Current State: 52:[18, 34], Operations: ['98-80=18', '76-42=34']
Exploring Operation: 18+34=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
16,
98,
27,
1
] | 55 | [
"98-16=82",
"27*1=27",
"82-27=55"
] | Current State: 55:[16, 98, 27, 1], Operations: []
Exploring Operation: 98-16=82, Resulting Numbers: [27, 1, 82]
Generated Node #2: [27, 1, 82] from Operation: 98-16=82
Current State: 55:[27, 1, 82], Operations: ['98-16=82']
Exploring Operation: 27*1=27, Resulting Numbers: [82, 27]
Generated Node #3: [82, 27] from Operation: 27*1=27
Current State: 55:[82, 27], Operations: ['98-16=82', '27*1=27']
Exploring Operation: 82-27=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[16, 98, 27, 1], Operations: []
Exploring Operation: 27-16=11, Resulting Numbers: [98, 1, 11]
Generated Node #0,0: 55:[98, 1, 11] Operation: 27-16=11
Exploring Operation: 98-27=71, Resulting Numbers: [16, 1, 71]
Generated Node #0,1: 55:[16, 1, 71] Operation: 98-27=71
Exploring Operation: 98-16=82, Resulting Numbers: [27, 1, 82]
Generated Node #0,2: 55:[27, 1, 82] Operation: 98-16=82
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[16, 1, 71], Operations: ['98-27=71']
Exploring Operation: 71-1=70, Resulting Numbers: [16, 70]
Generated Node #0,1,0: 55:[16, 70] Operation: 71-1=70
Exploring Operation: 71-16=55, Resulting Numbers: [1, 55]
Generated Node #0,1,1: 55:[1, 55] Operation: 71-16=55
Exploring Operation: 16-1=15, Resulting Numbers: [71, 15]
Generated Node #0,1,2: 55:[71, 15] Operation: 16-1=15
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[1, 55], Operations: ['98-27=71', '71-16=55']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[16, 98, 27, 1], Operations: []
Exploring Operation: 98-27=71, Resulting Numbers: [16, 1, 71]
Generated Node #0,1: 55:[16, 1, 71] Operation: 98-27=71
Moving to Node #0,1
Current State: 55:[16, 1, 71], Operations: ['98-27=71']
Exploring Operation: 71-16=55, Resulting Numbers: [1, 55]
Generated Node #0,1,1: 55:[1, 55] Operation: 71-16=55
Moving to Node #0,1,1
Current State: 55:[1, 55], Operations: ['98-27=71', '71-16=55']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
22,
10,
60,
37
] | 40 | [
"37-22=15",
"10*60=600",
"600/15=40"
] | Current State: 40:[22, 10, 60, 37], Operations: []
Exploring Operation: 37-22=15, Resulting Numbers: [10, 60, 15]
Generated Node #2: [10, 60, 15] from Operation: 37-22=15
Current State: 40:[10, 60, 15], Operations: ['37-22=15']
Exploring Operation: 10*60=600, Resulting Numbers: [15, 600]
Generated Node #3: [15, 600] from Operation: 10*60=600
Current State: 40:[15, 600], Operations: ['37-22=15', '10*60=600']
Exploring Operation: 600/15=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[22, 10, 60, 37], Operations: []
Exploring Operation: 60-10=50, Resulting Numbers: [22, 37, 50]
Generated Node #0,0: 40:[22, 37, 50] Operation: 60-10=50
Exploring Operation: 60-22=38, Resulting Numbers: [10, 37, 38]
Generated Node #0,1: 40:[10, 37, 38] Operation: 60-22=38
Exploring Operation: 60/10=6, Resulting Numbers: [22, 37, 6]
Generated Node #0,2: 40:[22, 37, 6] Operation: 60/10=6
Exploring Operation: 60-37=23, Resulting Numbers: [22, 10, 23]
Generated Node #0,3: 40:[22, 10, 23] Operation: 60-37=23
Moving to Node #0,1
Current State: 40:[10, 37, 38], Operations: ['60-22=38']
Exploring Operation: 10+37=47, Resulting Numbers: [38, 47]
Generated Node #0,1,0: 40:[38, 47] Operation: 10+37=47
Exploring Operation: 38-37=1, Resulting Numbers: [10, 1]
Generated Node #0,1,1: 40:[10, 1] Operation: 38-37=1
Exploring Operation: 10+38=48, Resulting Numbers: [37, 48]
Generated Node #0,1,2: 40:[37, 48] Operation: 10+38=48
Exploring Operation: 37-10=27, Resulting Numbers: [38, 27]
Generated Node #0,1,3: 40:[38, 27] Operation: 37-10=27
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[10, 1], Operations: ['60-22=38', '38-37=1']
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,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,0
Current State: 40:[38, 47], Operations: ['60-22=38', '10+37=47']
Exploring Operation: 38+47=85, Resulting Numbers: [85]
85,40 unequal: No Solution
Exploring Operation: 47-38=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 38*47=1786, Resulting Numbers: [1786]
1786,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,3
Current State: 40:[38, 27], Operations: ['60-22=38', '37-10=27']
Exploring Operation: 38*27=1026, Resulting Numbers: [1026]
1026,40 unequal: No Solution
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,40 unequal: No Solution
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,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,2
Current State: 40:[37, 48], Operations: ['60-22=38', '10+38=48']
Exploring Operation: 37*48=1776, Resulting Numbers: [1776]
1776,40 unequal: No Solution
Exploring Operation: 37+48=85, Resulting Numbers: [85]
85,40 unequal: No Solution
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,40 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: 40:[22, 10, 23], Operations: ['60-37=23']
Exploring Operation: 22+23=45, Resulting Numbers: [10, 45]
Generated Node #0,3,0: 40:[10, 45] Operation: 22+23=45
Exploring Operation: 23-22=1, Resulting Numbers: [10, 1]
Generated Node #0,3,1: 40:[10, 1] Operation: 23-22=1
Exploring Operation: 22-10=12, Resulting Numbers: [23, 12]
Generated Node #0,3,2: 40:[23, 12] Operation: 22-10=12
Exploring Operation: 23-10=13, Resulting Numbers: [22, 13]
Generated Node #0,3,3: 40:[22, 13] Operation: 23-10=13
Moving to Node #0,2
Current State: 40:[22, 37, 6], Operations: ['60/10=6']
Exploring Operation: 22+6=28, Resulting Numbers: [37, 28]
Generated Node #0,2,0: 40:[37, 28] Operation: 22+6=28
Exploring Operation: 37+6=43, Resulting Numbers: [22, 43]
Generated Node #0,2,1: 40:[22, 43] Operation: 37+6=43
Exploring Operation: 22-6=16, Resulting Numbers: [37, 16]
Generated Node #0,2,2: 40:[37, 16] Operation: 22-6=16
Exploring Operation: 37-22=15, Resulting Numbers: [6, 15]
Generated Node #0,2,3: 40:[6, 15] Operation: 37-22=15
Moving to Node #0,0
Current State: 40:[22, 37, 50], Operations: ['60-10=50']
Exploring Operation: 50-22=28, Resulting Numbers: [37, 28]
Generated Node #0,0,0: 40:[37, 28] Operation: 50-22=28
Exploring Operation: 37-22=15, Resulting Numbers: [50, 15]
Generated Node #0,0,1: 40:[50, 15] Operation: 37-22=15
Exploring Operation: 50-37=13, Resulting Numbers: [22, 13]
Generated Node #0,0,2: 40:[22, 13] Operation: 50-37=13
Exploring Operation: 22+37=59, Resulting Numbers: [50, 59]
Generated Node #0,0,3: 40:[50, 59] Operation: 22+37=59
Moving to Node #0,3,1
Current State: 40:[10, 1], Operations: ['60-37=23', '23-22=1']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,40 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Moving to Node #0,3,2
Current State: 40:[23, 12], Operations: ['60-37=23', '22-10=12']
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,40 unequal: No Solution
Exploring Operation: 23*12=276, Resulting Numbers: [276]
276,40 unequal: No Solution
Moving to Node #0,3,0
Current State: 40:[10, 45], Operations: ['60-37=23', '22+23=45']
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,40 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[22, 43], Operations: ['60/10=6', '37+6=43']
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 22*43=946, Resulting Numbers: [946]
946,40 unequal: No Solution
Exploring Operation: 22+43=65, Resulting Numbers: [65]
65,40 unequal: No Solution
Moving to Node #0,3,3
Current State: 40:[22, 13], Operations: ['60-37=23', '23-10=13']
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,40 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[22, 13], Operations: ['60-10=50', '50-37=13']
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,40 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Moving to Node #0,2,3
Current State: 40:[6, 15], Operations: ['60/10=6', '37-22=15']
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[37, 16], Operations: ['60/10=6', '22-6=16']
Exploring Operation: 37+16=53, Resulting Numbers: [53]
53,40 unequal: No Solution
Exploring Operation: 37*16=592, Resulting Numbers: [592]
592,40 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[37, 28], Operations: ['60-10=50', '50-22=28']
Exploring Operation: 37*28=1036, Resulting Numbers: [1036]
1036,40 unequal: No Solution
Exploring Operation: 37+28=65, Resulting Numbers: [65]
65,40 unequal: No Solution
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[37, 28], Operations: ['60/10=6', '22+6=28']
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 37+28=65, Resulting Numbers: [65]
65,40 unequal: No Solution
Exploring Operation: 37*28=1036, Resulting Numbers: [1036]
1036,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[50, 15], Operations: ['60-10=50', '37-22=15']
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 50*15=750, Resulting Numbers: [750]
750,40 unequal: No Solution
Exploring Operation: 50+15=65, Resulting Numbers: [65]
65,40 unequal: No Solution
Moving to Node #0,0,3
Current State: 40:[50, 59], Operations: ['60-10=50', '22+37=59']
Exploring Operation: 50+59=109, Resulting Numbers: [109]
109,40 unequal: No Solution
Exploring Operation: 59-50=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 50*59=2950, Resulting Numbers: [2950]
2950,40 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
64,
46,
36,
55
] | 68 | [
"55-46=9",
"36/9=4",
"64+4=68"
] | Current State: 68:[64, 46, 36, 55], Operations: []
Exploring Operation: 55-46=9, Resulting Numbers: [64, 36, 9]
Generated Node #2: [64, 36, 9] from Operation: 55-46=9
Current State: 68:[64, 36, 9], Operations: ['55-46=9']
Exploring Operation: 36/9=4, Resulting Numbers: [64, 4]
Generated Node #3: [64, 4] from Operation: 36/9=4
Current State: 68:[64, 4], Operations: ['55-46=9', '36/9=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[64, 46, 36, 55], Operations: []
Exploring Operation: 64-46=18, Resulting Numbers: [36, 55, 18]
Generated Node #0,0: 68:[36, 55, 18] Operation: 64-46=18
Exploring Operation: 55-46=9, Resulting Numbers: [64, 36, 9]
Generated Node #0,1: 68:[64, 36, 9] Operation: 55-46=9
Moving to Node #0,1
Current State: 68:[64, 36, 9], Operations: ['55-46=9']
Exploring Operation: 36/9=4, Resulting Numbers: [64, 4]
Generated Node #0,1,0: 68:[64, 4] Operation: 36/9=4
Exploring Operation: 64+9=73, Resulting Numbers: [36, 73]
Generated Node #0,1,1: 68:[36, 73] Operation: 64+9=73
Moving to Node #0,0
Current State: 68:[36, 55, 18], Operations: ['64-46=18']
Exploring Operation: 55-18=37, Resulting Numbers: [36, 37]
Generated Node #0,0,0: 68:[36, 37] Operation: 55-18=37
Exploring Operation: 55-36=19, Resulting Numbers: [18, 19]
Generated Node #0,0,1: 68:[18, 19] Operation: 55-36=19
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[18, 19], Operations: ['64-46=18', '55-36=19']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[36, 37], Operations: ['64-46=18', '55-18=37']
Exploring Operation: 36+37=73, Resulting Numbers: [73]
73,68 unequal: No Solution
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,68 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: 68:[64, 4], Operations: ['55-46=9', '36/9=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[64, 46, 36, 55], Operations: []
Exploring Operation: 55-46=9, Resulting Numbers: [64, 36, 9]
Generated Node #0,1: 68:[64, 36, 9] Operation: 55-46=9
Moving to Node #0,1
Current State: 68:[64, 36, 9], Operations: ['55-46=9']
Exploring Operation: 36/9=4, Resulting Numbers: [64, 4]
Generated Node #0,1,0: 68:[64, 4] Operation: 36/9=4
Moving to Node #0,1,0
Current State: 68:[64, 4], Operations: ['55-46=9', '36/9=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
88,
64,
82,
66
] | 24 | [
"82-64=18",
"88*18=1584",
"1584/66=24"
] | Current State: 24:[88, 64, 82, 66], Operations: []
Exploring Operation: 82-64=18, Resulting Numbers: [88, 66, 18]
Generated Node #2: [88, 66, 18] from Operation: 82-64=18
Current State: 24:[88, 66, 18], Operations: ['82-64=18']
Exploring Operation: 88*18=1584, Resulting Numbers: [66, 1584]
Generated Node #3: [66, 1584] from Operation: 88*18=1584
Current State: 24:[66, 1584], Operations: ['82-64=18', '88*18=1584']
Exploring Operation: 1584/66=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[88, 64, 82, 66], Operations: []
Exploring Operation: 88-82=6, Resulting Numbers: [64, 66, 6]
Generated Node #0,0: 24:[64, 66, 6] Operation: 88-82=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[64, 66, 6], Operations: ['88-82=6']
Exploring Operation: 66-64=2, Resulting Numbers: [6, 2]
Generated Node #0,0,0: 24:[6, 2] Operation: 66-64=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[6, 2], Operations: ['88-82=6', '66-64=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
48,
32,
56
] | 74 | [
"2+48=50",
"56-32=24",
"50+24=74"
] | Current State: 74:[2, 48, 32, 56], Operations: []
Exploring Operation: 2+48=50, Resulting Numbers: [32, 56, 50]
Generated Node #2: [32, 56, 50] from Operation: 2+48=50
Current State: 74:[32, 56, 50], Operations: ['2+48=50']
Exploring Operation: 56-32=24, Resulting Numbers: [50, 24]
Generated Node #3: [50, 24] from Operation: 56-32=24
Current State: 74:[50, 24], Operations: ['2+48=50', '56-32=24']
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[2, 48, 32, 56], Operations: []
Exploring Operation: 48+32=80, Resulting Numbers: [2, 56, 80]
Generated Node #0,0: 74:[2, 56, 80] Operation: 48+32=80
Exploring Operation: 32+56=88, Resulting Numbers: [2, 48, 88]
Generated Node #0,1: 74:[2, 48, 88] Operation: 32+56=88
Exploring Operation: 56/2=28, Resulting Numbers: [48, 32, 28]
Generated Node #0,2: 74:[48, 32, 28] Operation: 56/2=28
Exploring Operation: 56-32=24, Resulting Numbers: [2, 48, 24]
Generated Node #0,3: 74:[2, 48, 24] Operation: 56-32=24
Exploring Operation: 56-48=8, Resulting Numbers: [2, 32, 8]
Generated Node #0,4: 74:[2, 32, 8] Operation: 56-48=8
Start Sub Search at level 1: Moving to Node #0,4
Current State: 74:[2, 32, 8], Operations: ['56-48=8']
Exploring Operation: 2+32=34, Resulting Numbers: [8, 34]
Generated Node #0,4,0: 74:[8, 34] Operation: 2+32=34
Exploring Operation: 32/8=4, Resulting Numbers: [2, 4]
Generated Node #0,4,1: 74:[2, 4] Operation: 32/8=4
Exploring Operation: 32+8=40, Resulting Numbers: [2, 40]
Generated Node #0,4,2: 74:[2, 40] Operation: 32+8=40
Exploring Operation: 8-2=6, Resulting Numbers: [32, 6]
Generated Node #0,4,3: 74:[32, 6] Operation: 8-2=6
Exploring Operation: 8/2=4, Resulting Numbers: [32, 4]
Generated Node #0,4,4: 74:[32, 4] Operation: 8/2=4
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 74:[2, 4], Operations: ['56-48=8', '32/8=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 74:[2, 40], Operations: ['56-48=8', '32+8=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,74 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,74 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 74:[32, 4], Operations: ['56-48=8', '8/2=4']
Exploring Operation: 32*4=128, Resulting Numbers: [128]
128,74 unequal: No Solution
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 74:[8, 34], Operations: ['56-48=8', '2+32=34']
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 8+34=42, Resulting Numbers: [42]
42,74 unequal: No Solution
Exploring Operation: 8*34=272, Resulting Numbers: [272]
272,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 74:[32, 6], Operations: ['56-48=8', '8-2=6']
Exploring Operation: 32*6=192, Resulting Numbers: [192]
192,74 unequal: No Solution
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,74 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: 74:[2, 56, 80], Operations: ['48+32=80']
Exploring Operation: 56/2=28, Resulting Numbers: [80, 28]
Generated Node #0,0,0: 74:[80, 28] Operation: 56/2=28
Exploring Operation: 80/2=40, Resulting Numbers: [56, 40]
Generated Node #0,0,1: 74:[56, 40] Operation: 80/2=40
Exploring Operation: 80-56=24, Resulting Numbers: [2, 24]
Generated Node #0,0,2: 74:[2, 24] Operation: 80-56=24
Exploring Operation: 80-2=78, Resulting Numbers: [56, 78]
Generated Node #0,0,3: 74:[56, 78] Operation: 80-2=78
Exploring Operation: 2+56=58, Resulting Numbers: [80, 58]
Generated Node #0,0,4: 74:[80, 58] Operation: 2+56=58
Moving to Node #0,0,2
Current State: 74:[2, 24], Operations: ['48+32=80', '80-56=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,74 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[80, 28], Operations: ['48+32=80', '56/2=28']
Exploring Operation: 80*28=2240, Resulting Numbers: [2240]
2240,74 unequal: No Solution
Exploring Operation: 80+28=108, Resulting Numbers: [108]
108,74 unequal: No Solution
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[56, 40], Operations: ['48+32=80', '80/2=40']
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 56+40=96, Resulting Numbers: [96]
96,74 unequal: No Solution
Exploring Operation: 56*40=2240, Resulting Numbers: [2240]
2240,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[56, 78], Operations: ['48+32=80', '80-2=78']
Exploring Operation: 78-56=22, Resulting Numbers: [22]
22,74 unequal: No Solution
Exploring Operation: 56+78=134, Resulting Numbers: [134]
134,74 unequal: No Solution
Exploring Operation: 56*78=4368, Resulting Numbers: [4368]
4368,74 unequal: No Solution
Moving to Node #0,0,4
Current State: 74:[80, 58], Operations: ['48+32=80', '2+56=58']
Exploring Operation: 80+58=138, Resulting Numbers: [138]
138,74 unequal: No Solution
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,74 unequal: No Solution
Exploring Operation: 80*58=4640, Resulting Numbers: [4640]
4640,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[2, 48, 24], Operations: ['56-32=24']
Exploring Operation: 48/24=2, Resulting Numbers: [2, 2]
Generated Node #0,3,0: 74:[2, 2] Operation: 48/24=2
Exploring Operation: 48-2=46, Resulting Numbers: [24, 46]
Generated Node #0,3,1: 74:[24, 46] Operation: 48-2=46
Exploring Operation: 24/2=12, Resulting Numbers: [48, 12]
Generated Node #0,3,2: 74:[48, 12] Operation: 24/2=12
Exploring Operation: 48-24=24, Resulting Numbers: [2, 24]
Generated Node #0,3,3: 74:[2, 24] Operation: 48-24=24
Exploring Operation: 48+24=72, Resulting Numbers: [2, 72]
Generated Node #0,3,4: 74:[2, 72] Operation: 48+24=72
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 74:[2, 2], Operations: ['56-32=24', '48/24=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,74 unequal: No Solution
No 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: 74:[2, 72], Operations: ['56-32=24', '48+24=72']
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[2, 48, 32, 56], Operations: []
Exploring Operation: 56-32=24, Resulting Numbers: [2, 48, 24]
Generated Node #0,3: 74:[2, 48, 24] Operation: 56-32=24
Moving to Node #0,3
Current State: 74:[2, 48, 24], Operations: ['56-32=24']
Exploring Operation: 48+24=72, Resulting Numbers: [2, 72]
Generated Node #0,3,4: 74:[2, 72] Operation: 48+24=72
Moving to Node #0,3,4
Current State: 74:[2, 72], Operations: ['56-32=24', '48+24=72']
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.945313 | hs_5 | sum_heuristic |
[
85,
10,
70,
25
] | 18 | [
"85+70=155",
"25+155=180",
"180/10=18"
] | Current State: 18:[85, 10, 70, 25], Operations: []
Exploring Operation: 85+70=155, Resulting Numbers: [10, 25, 155]
Generated Node #2: [10, 25, 155] from Operation: 85+70=155
Current State: 18:[10, 25, 155], Operations: ['85+70=155']
Exploring Operation: 25+155=180, Resulting Numbers: [10, 180]
Generated Node #3: [10, 180] from Operation: 25+155=180
Current State: 18:[10, 180], Operations: ['85+70=155', '25+155=180']
Exploring Operation: 180/10=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[85, 10, 70, 25], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [85, 25, 7]
Generated Node #0,0: 18:[85, 25, 7] Operation: 70/10=7
Exploring Operation: 85-25=60, Resulting Numbers: [10, 70, 60]
Generated Node #0,1: 18:[10, 70, 60] Operation: 85-25=60
Exploring Operation: 85-70=15, Resulting Numbers: [10, 25, 15]
Generated Node #0,2: 18:[10, 25, 15] Operation: 85-70=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[10, 25, 15], Operations: ['85-70=15']
Exploring Operation: 25-10=15, Resulting Numbers: [15, 15]
Generated Node #0,2,0: 18:[15, 15] Operation: 25-10=15
Exploring Operation: 25-15=10, Resulting Numbers: [10, 10]
Generated Node #0,2,1: 18:[10, 10] Operation: 25-15=10
Exploring Operation: 15-10=5, Resulting Numbers: [25, 5]
Generated Node #0,2,2: 18:[25, 5] Operation: 15-10=5
Moving to Node #0,2,1
Current State: 18:[10, 10], Operations: ['85-70=15', '25-15=10']
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,18 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[15, 15], Operations: ['85-70=15', '25-10=15']
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 15-15=0, Resulting Numbers: [0]
0,18 unequal: No Solution
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[25, 5], Operations: ['85-70=15', '15-10=5']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,18 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[85, 25, 7], Operations: ['70/10=7']
Exploring Operation: 25-7=18, Resulting Numbers: [85, 18]
Generated Node #0,0,0: 18:[85, 18] Operation: 25-7=18
Exploring Operation: 85-7=78, Resulting Numbers: [25, 78]
Generated Node #0,0,1: 18:[25, 78] Operation: 85-7=78
Exploring Operation: 85-25=60, Resulting Numbers: [7, 60]
Generated Node #0,0,2: 18:[7, 60] Operation: 85-25=60
Moving to Node #0,0,2
Current State: 18:[7, 60], Operations: ['70/10=7', '85-25=60']
Exploring Operation: 7*60=420, Resulting Numbers: [420]
420,18 unequal: No Solution
Exploring Operation: 7+60=67, Resulting Numbers: [67]
67,18 unequal: No Solution
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[85, 18], Operations: ['70/10=7', '25-7=18']
Exploring Operation: 85-18=67, Resulting Numbers: [67]
67,18 unequal: No Solution
Exploring Operation: 85*18=1530, Resulting Numbers: [1530]
1530,18 unequal: No Solution
Exploring Operation: 85+18=103, Resulting Numbers: [103]
103,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[25, 78], Operations: ['70/10=7', '85-7=78']
Exploring Operation: 25*78=1950, Resulting Numbers: [1950]
1950,18 unequal: No Solution
Exploring Operation: 25+78=103, Resulting Numbers: [103]
103,18 unequal: No Solution
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[10, 70, 60], Operations: ['85-25=60']
Exploring Operation: 70/10=7, Resulting Numbers: [60, 7]
Generated Node #0,1,0: 18:[60, 7] Operation: 70/10=7
Exploring Operation: 60/10=6, Resulting Numbers: [70, 6]
Generated Node #0,1,1: 18:[70, 6] Operation: 60/10=6
Exploring Operation: 70-60=10, Resulting Numbers: [10, 10]
Generated Node #0,1,2: 18:[10, 10] Operation: 70-60=10
Moving to Node #0,1,2
Current State: 18:[10, 10], Operations: ['85-25=60', '70-60=10']
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,18 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[60, 7], Operations: ['85-25=60', '70/10=7']
Exploring Operation: 60*7=420, Resulting Numbers: [420]
420,18 unequal: No Solution
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,18 unequal: No Solution
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[70, 6], Operations: ['85-25=60', '60/10=6']
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,18 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 |
[
84,
65,
12,
24
] | 61 | [
"84+12=96",
"96/24=4",
"65-4=61"
] | Current State: 61:[84, 65, 12, 24], Operations: []
Exploring Operation: 84+12=96, Resulting Numbers: [65, 24, 96]
Generated Node #2: [65, 24, 96] from Operation: 84+12=96
Current State: 61:[65, 24, 96], Operations: ['84+12=96']
Exploring Operation: 96/24=4, Resulting Numbers: [65, 4]
Generated Node #3: [65, 4] from Operation: 96/24=4
Current State: 61:[65, 4], Operations: ['84+12=96', '96/24=4']
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[84, 65, 12, 24], Operations: []
Exploring Operation: 12+24=36, Resulting Numbers: [84, 65, 36]
Generated Node #0,0: 61:[84, 65, 36] Operation: 12+24=36
Exploring Operation: 84-24=60, Resulting Numbers: [65, 12, 60]
Generated Node #0,1: 61:[65, 12, 60] Operation: 84-24=60
Exploring Operation: 84-12=72, Resulting Numbers: [65, 24, 72]
Generated Node #0,2: 61:[65, 24, 72] Operation: 84-12=72
Moving to Node #0,0
Current State: 61:[84, 65, 36], Operations: ['12+24=36']
Exploring Operation: 65-36=29, Resulting Numbers: [84, 29]
Generated Node #0,0,0: 61:[84, 29] Operation: 65-36=29
Exploring Operation: 84+36=120, Resulting Numbers: [65, 120]
Generated Node #0,0,1: 61:[65, 120] Operation: 84+36=120
Exploring Operation: 84-36=48, Resulting Numbers: [65, 48]
Generated Node #0,0,2: 61:[65, 48] Operation: 84-36=48
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[65, 48], Operations: ['12+24=36', '84-36=48']
Exploring Operation: 65-48=17, Resulting Numbers: [17]
17,61 unequal: No Solution
Exploring Operation: 65*48=3120, Resulting Numbers: [3120]
3120,61 unequal: No Solution
Exploring Operation: 65+48=113, Resulting Numbers: [113]
113,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:[84, 29], Operations: ['12+24=36', '65-36=29']
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 84+29=113, Resulting Numbers: [113]
113,61 unequal: No Solution
Exploring Operation: 84*29=2436, Resulting Numbers: [2436]
2436,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,1
Current State: 61:[65, 120], Operations: ['12+24=36', '84+36=120']
Exploring Operation: 120-65=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 65*120=7800, Resulting Numbers: [7800]
7800,61 unequal: No Solution
Exploring Operation: 65+120=185, Resulting Numbers: [185]
185,61 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: 61:[65, 24, 72], Operations: ['84-12=72']
Exploring Operation: 72-24=48, Resulting Numbers: [65, 48]
Generated Node #0,2,0: 61:[65, 48] Operation: 72-24=48
Exploring Operation: 65+24=89, Resulting Numbers: [72, 89]
Generated Node #0,2,1: 61:[72, 89] Operation: 65+24=89
Exploring Operation: 65-24=41, Resulting Numbers: [72, 41]
Generated Node #0,2,2: 61:[72, 41] Operation: 65-24=41
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[65, 48], Operations: ['84-12=72', '72-24=48']
Exploring Operation: 65-48=17, Resulting Numbers: [17]
17,61 unequal: No Solution
Exploring Operation: 65*48=3120, Resulting Numbers: [3120]
3120,61 unequal: No Solution
Exploring Operation: 65+48=113, Resulting Numbers: [113]
113,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,2
Current State: 61:[72, 41], Operations: ['84-12=72', '65-24=41']
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Exploring Operation: 72+41=113, Resulting Numbers: [113]
113,61 unequal: No Solution
Exploring Operation: 72*41=2952, Resulting Numbers: [2952]
2952,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,1
Current State: 61:[72, 89], Operations: ['84-12=72', '65+24=89']
Exploring Operation: 72+89=161, Resulting Numbers: [161]
161,61 unequal: No Solution
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,61 unequal: No Solution
Exploring Operation: 72*89=6408, Resulting Numbers: [6408]
6408,61 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: 61:[65, 12, 60], Operations: ['84-24=60']
Exploring Operation: 65-12=53, Resulting Numbers: [60, 53]
Generated Node #0,1,0: 61:[60, 53] Operation: 65-12=53
Exploring Operation: 12+60=72, Resulting Numbers: [65, 72]
Generated Node #0,1,1: 61:[65, 72] Operation: 12+60=72
Exploring Operation: 65+12=77, Resulting Numbers: [60, 77]
Generated Node #0,1,2: 61:[60, 77] Operation: 65+12=77
Moving to Node #0,1,0
Current State: 61:[60, 53], Operations: ['84-24=60', '65-12=53']
Exploring Operation: 60+53=113, Resulting Numbers: [113]
113,61 unequal: No Solution
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Exploring Operation: 60*53=3180, Resulting Numbers: [3180]
3180,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[65, 72], Operations: ['84-24=60', '12+60=72']
Exploring Operation: 65+72=137, Resulting Numbers: [137]
137,61 unequal: No Solution
Exploring Operation: 65*72=4680, Resulting Numbers: [4680]
4680,61 unequal: No Solution
Exploring Operation: 72-65=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[60, 77], Operations: ['84-24=60', '65+12=77']
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,61 unequal: No Solution
Exploring Operation: 60+77=137, Resulting Numbers: [137]
137,61 unequal: No Solution
Exploring Operation: 60*77=4620, Resulting Numbers: [4620]
4620,61 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
62,
61,
73,
31
] | 49 | [
"62*61=3782",
"3782/31=122",
"122-73=49"
] | Current State: 49:[62, 61, 73, 31], Operations: []
Exploring Operation: 62*61=3782, Resulting Numbers: [73, 31, 3782]
Generated Node #2: [73, 31, 3782] from Operation: 62*61=3782
Current State: 49:[73, 31, 3782], Operations: ['62*61=3782']
Exploring Operation: 3782/31=122, Resulting Numbers: [73, 122]
Generated Node #3: [73, 122] from Operation: 3782/31=122
Current State: 49:[73, 122], Operations: ['62*61=3782', '3782/31=122']
Exploring Operation: 122-73=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[62, 61, 73, 31], Operations: []
Exploring Operation: 73-61=12, Resulting Numbers: [62, 31, 12]
Generated Node #0,0: 49:[62, 31, 12] Operation: 73-61=12
Exploring Operation: 62/31=2, Resulting Numbers: [61, 73, 2]
Generated Node #0,1: 49:[61, 73, 2] Operation: 62/31=2
Exploring Operation: 73-31=42, Resulting Numbers: [62, 61, 42]
Generated Node #0,2: 49:[62, 61, 42] Operation: 73-31=42
Exploring Operation: 73-62=11, Resulting Numbers: [61, 31, 11]
Generated Node #0,3: 49:[61, 31, 11] Operation: 73-62=11
Moving to Node #0,2
Current State: 49:[62, 61, 42], Operations: ['73-31=42']
Exploring Operation: 61-42=19, Resulting Numbers: [62, 19]
Generated Node #0,2,0: 49:[62, 19] Operation: 61-42=19
Exploring Operation: 62-42=20, Resulting Numbers: [61, 20]
Generated Node #0,2,1: 49:[61, 20] Operation: 62-42=20
Exploring Operation: 62+42=104, Resulting Numbers: [61, 104]
Generated Node #0,2,2: 49:[61, 104] Operation: 62+42=104
Exploring Operation: 62-61=1, Resulting Numbers: [42, 1]
Generated Node #0,2,3: 49:[42, 1] Operation: 62-61=1
Moving to Node #0,3
Current State: 49:[61, 31, 11], Operations: ['73-62=11']
Exploring Operation: 31-11=20, Resulting Numbers: [61, 20]
Generated Node #0,3,0: 49:[61, 20] Operation: 31-11=20
Exploring Operation: 61-11=50, Resulting Numbers: [31, 50]
Generated Node #0,3,1: 49:[31, 50] Operation: 61-11=50
Exploring Operation: 31+11=42, Resulting Numbers: [61, 42]
Generated Node #0,3,2: 49:[61, 42] Operation: 31+11=42
Exploring Operation: 61-31=30, Resulting Numbers: [11, 30]
Generated Node #0,3,3: 49:[11, 30] Operation: 61-31=30
Moving to Node #0,0
Current State: 49:[62, 31, 12], Operations: ['73-61=12']
Exploring Operation: 31+12=43, Resulting Numbers: [62, 43]
Generated Node #0,0,0: 49:[62, 43] Operation: 31+12=43
Exploring Operation: 62/31=2, Resulting Numbers: [12, 2]
Generated Node #0,0,1: 49:[12, 2] Operation: 62/31=2
Exploring Operation: 62-31=31, Resulting Numbers: [12, 31]
Generated Node #0,0,2: 49:[12, 31] Operation: 62-31=31
Exploring Operation: 62-12=50, Resulting Numbers: [31, 50]
Generated Node #0,0,3: 49:[31, 50] Operation: 62-12=50
Moving to Node #0,1
Current State: 49:[61, 73, 2], Operations: ['62/31=2']
Exploring Operation: 61+2=63, Resulting Numbers: [73, 63]
Generated Node #0,1,0: 49:[73, 63] Operation: 61+2=63
Exploring Operation: 73-2=71, Resulting Numbers: [61, 71]
Generated Node #0,1,1: 49:[61, 71] Operation: 73-2=71
Exploring Operation: 73-61=12, Resulting Numbers: [2, 12]
Generated Node #0,1,2: 49:[2, 12] Operation: 73-61=12
Exploring Operation: 61-2=59, Resulting Numbers: [73, 59]
Generated Node #0,1,3: 49:[73, 59] Operation: 61-2=59
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[2, 12], Operations: ['62/31=2', '73-61=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,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:[61, 71], Operations: ['62/31=2', '73-2=71']
Exploring Operation: 71-61=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 61+71=132, Resulting Numbers: [132]
132,49 unequal: No Solution
Exploring Operation: 61*71=4331, Resulting Numbers: [4331]
4331,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:[73, 59], Operations: ['62/31=2', '61-2=59']
Exploring Operation: 73*59=4307, Resulting Numbers: [4307]
4307,49 unequal: No Solution
Exploring Operation: 73-59=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 73+59=132, Resulting Numbers: [132]
132,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,0
Current State: 49:[73, 63], Operations: ['62/31=2', '61+2=63']
Exploring Operation: 73*63=4599, Resulting Numbers: [4599]
4599,49 unequal: No Solution
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 73+63=136, Resulting Numbers: [136]
136,49 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: 49:[12, 2], Operations: ['73-61=12', '62/31=2']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[42, 1], Operations: ['73-31=42', '62-61=1']
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[61, 42], Operations: ['73-62=11', '31+11=42']
Exploring Operation: 61*42=2562, Resulting Numbers: [2562]
2562,49 unequal: No Solution
Exploring Operation: 61+42=103, Resulting Numbers: [103]
103,49 unequal: No Solution
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[62, 43], Operations: ['73-61=12', '31+12=43']
Exploring Operation: 62*43=2666, Resulting Numbers: [2666]
2666,49 unequal: No Solution
Exploring Operation: 62+43=105, Resulting Numbers: [105]
105,49 unequal: No Solution
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[31, 50], Operations: ['73-61=12', '62-12=50']
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 31*50=1550, Resulting Numbers: [1550]
1550,49 unequal: No Solution
Exploring Operation: 31+50=81, Resulting Numbers: [81]
81,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[31, 50], Operations: ['73-62=11', '61-11=50']
Exploring Operation: 31*50=1550, Resulting Numbers: [1550]
1550,49 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 31+50=81, Resulting Numbers: [81]
81,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[11, 30], Operations: ['73-62=11', '61-31=30']
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 11*30=330, Resulting Numbers: [330]
330,49 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[12, 31], Operations: ['73-61=12', '62-31=31']
Exploring Operation: 12+31=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 12*31=372, Resulting Numbers: [372]
372,49 unequal: No Solution
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[61, 20], Operations: ['73-31=42', '62-42=20']
Exploring Operation: 61*20=1220, Resulting Numbers: [1220]
1220,49 unequal: No Solution
Exploring Operation: 61+20=81, Resulting Numbers: [81]
81,49 unequal: No Solution
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[62, 19], Operations: ['73-31=42', '61-42=19']
Exploring Operation: 62+19=81, Resulting Numbers: [81]
81,49 unequal: No Solution
Exploring Operation: 62*19=1178, Resulting Numbers: [1178]
1178,49 unequal: No Solution
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[61, 20], Operations: ['73-62=11', '31-11=20']
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 61+20=81, Resulting Numbers: [81]
81,49 unequal: No Solution
Exploring Operation: 61*20=1220, Resulting Numbers: [1220]
1220,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[61, 104], Operations: ['73-31=42', '62+42=104']
Exploring Operation: 61+104=165, Resulting Numbers: [165]
165,49 unequal: No Solution
Exploring Operation: 104-61=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 61*104=6344, Resulting Numbers: [6344]
6344,49 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
75,
83,
48,
65
] | 45 | [
"75+83=158",
"48+65=113",
"158-113=45"
] | Current State: 45:[75, 83, 48, 65], Operations: []
Exploring Operation: 75+83=158, Resulting Numbers: [48, 65, 158]
Generated Node #2: [48, 65, 158] from Operation: 75+83=158
Current State: 45:[48, 65, 158], Operations: ['75+83=158']
Exploring Operation: 48+65=113, Resulting Numbers: [158, 113]
Generated Node #3: [158, 113] from Operation: 48+65=113
Current State: 45:[158, 113], Operations: ['75+83=158', '48+65=113']
Exploring Operation: 158-113=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[75, 83, 48, 65], Operations: []
Exploring Operation: 83-75=8, Resulting Numbers: [48, 65, 8]
Generated Node #0,0: 45:[48, 65, 8] Operation: 83-75=8
Exploring Operation: 83-65=18, Resulting Numbers: [75, 48, 18]
Generated Node #0,1: 45:[75, 48, 18] Operation: 83-65=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[48, 65, 8], Operations: ['83-75=8']
Exploring Operation: 65-48=17, Resulting Numbers: [8, 17]
Generated Node #0,0,0: 45:[8, 17] Operation: 65-48=17
Exploring Operation: 65-8=57, Resulting Numbers: [48, 57]
Generated Node #0,0,1: 45:[48, 57] Operation: 65-8=57
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[8, 17], Operations: ['83-75=8', '65-48=17']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,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,0,1
Current State: 45:[48, 57], Operations: ['83-75=8', '65-8=57']
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,45 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: 45:[75, 48, 18], Operations: ['83-65=18']
Exploring Operation: 75-18=57, Resulting Numbers: [48, 57]
Generated Node #0,1,0: 45:[48, 57] Operation: 75-18=57
Exploring Operation: 75-48=27, Resulting Numbers: [18, 27]
Generated Node #0,1,1: 45:[18, 27] Operation: 75-48=27
Moving to Node #0,1,0
Current State: 45:[48, 57], Operations: ['83-65=18', '75-18=57']
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[18, 27], Operations: ['83-65=18', '75-48=27']
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[75, 83, 48, 65], Operations: []
Exploring Operation: 83-65=18, Resulting Numbers: [75, 48, 18]
Generated Node #0,1: 45:[75, 48, 18] Operation: 83-65=18
Moving to Node #0,1
Current State: 45:[75, 48, 18], Operations: ['83-65=18']
Exploring Operation: 75-48=27, Resulting Numbers: [18, 27]
Generated Node #0,1,1: 45:[18, 27] Operation: 75-48=27
Moving to Node #0,1,1
Current State: 45:[18, 27], Operations: ['83-65=18', '75-48=27']
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | mult_heuristic |
[
44,
58,
22,
24
] | 51 | [
"44+58=102",
"24-22=2",
"102/2=51"
] | Current State: 51:[44, 58, 22, 24], Operations: []
Exploring Operation: 44+58=102, Resulting Numbers: [22, 24, 102]
Generated Node #2: [22, 24, 102] from Operation: 44+58=102
Current State: 51:[22, 24, 102], Operations: ['44+58=102']
Exploring Operation: 24-22=2, Resulting Numbers: [102, 2]
Generated Node #3: [102, 2] from Operation: 24-22=2
Current State: 51:[102, 2], Operations: ['44+58=102', '24-22=2']
Exploring Operation: 102/2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[44, 58, 22, 24], Operations: []
Exploring Operation: 58-44=14, Resulting Numbers: [22, 24, 14]
Generated Node #0,0: 51:[22, 24, 14] Operation: 58-44=14
Exploring Operation: 24-22=2, Resulting Numbers: [44, 58, 2]
Generated Node #0,1: 51:[44, 58, 2] Operation: 24-22=2
Exploring Operation: 44/22=2, Resulting Numbers: [58, 24, 2]
Generated Node #0,2: 51:[58, 24, 2] Operation: 44/22=2
Exploring Operation: 44-24=20, Resulting Numbers: [58, 22, 20]
Generated Node #0,3: 51:[58, 22, 20] Operation: 44-24=20
Moving to Node #0,0
Current State: 51:[22, 24, 14], Operations: ['58-44=14']
Exploring Operation: 24-22=2, Resulting Numbers: [14, 2]
Generated Node #0,0,0: 51:[14, 2] Operation: 24-22=2
Exploring Operation: 22+24=46, Resulting Numbers: [14, 46]
Generated Node #0,0,1: 51:[14, 46] Operation: 22+24=46
Exploring Operation: 24-14=10, Resulting Numbers: [22, 10]
Generated Node #0,0,2: 51:[22, 10] Operation: 24-14=10
Exploring Operation: 22-14=8, Resulting Numbers: [24, 8]
Generated Node #0,0,3: 51:[24, 8] Operation: 22-14=8
Moving to Node #0,2
Current State: 51:[58, 24, 2], Operations: ['44/22=2']
Exploring Operation: 24*2=48, Resulting Numbers: [58, 48]
Generated Node #0,2,0: 51:[58, 48] Operation: 24*2=48
Exploring Operation: 58-2=56, Resulting Numbers: [24, 56]
Generated Node #0,2,1: 51:[24, 56] Operation: 58-2=56
Exploring Operation: 24/2=12, Resulting Numbers: [58, 12]
Generated Node #0,2,2: 51:[58, 12] Operation: 24/2=12
Exploring Operation: 24-2=22, Resulting Numbers: [58, 22]
Generated Node #0,2,3: 51:[58, 22] Operation: 24-2=22
Moving to Node #0,1
Current State: 51:[44, 58, 2], Operations: ['24-22=2']
Exploring Operation: 58-2=56, Resulting Numbers: [44, 56]
Generated Node #0,1,0: 51:[44, 56] Operation: 58-2=56
Exploring Operation: 44/2=22, Resulting Numbers: [58, 22]
Generated Node #0,1,1: 51:[58, 22] Operation: 44/2=22
Exploring Operation: 58-44=14, Resulting Numbers: [2, 14]
Generated Node #0,1,2: 51:[2, 14] Operation: 58-44=14
Exploring Operation: 44+2=46, Resulting Numbers: [58, 46]
Generated Node #0,1,3: 51:[58, 46] Operation: 44+2=46
Moving to Node #0,3
Current State: 51:[58, 22, 20], Operations: ['44-24=20']
Exploring Operation: 22-20=2, Resulting Numbers: [58, 2]
Generated Node #0,3,0: 51:[58, 2] Operation: 22-20=2
Exploring Operation: 58-20=38, Resulting Numbers: [22, 38]
Generated Node #0,3,1: 51:[22, 38] Operation: 58-20=38
Exploring Operation: 22+20=42, Resulting Numbers: [58, 42]
Generated Node #0,3,2: 51:[58, 42] Operation: 22+20=42
Exploring Operation: 58-22=36, Resulting Numbers: [20, 36]
Generated Node #0,3,3: 51:[20, 36] Operation: 58-22=36
Moving to Node #0,0,0
Current State: 51:[14, 2], Operations: ['58-44=14', '24-22=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[2, 14], Operations: ['24-22=2', '58-44=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Moving to Node #0,3,0
Current State: 51:[58, 2], Operations: ['44-24=20', '22-20=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 58*2=116, Resulting Numbers: [116]
116,51 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[14, 46], Operations: ['58-44=14', '22+24=46']
Exploring Operation: 14*46=644, Resulting Numbers: [644]
644,51 unequal: No Solution
Exploring Operation: 14+46=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[58, 48], Operations: ['44/22=2', '24*2=48']
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 58*48=2784, Resulting Numbers: [2784]
2784,51 unequal: No Solution
Exploring Operation: 58+48=106, Resulting Numbers: [106]
106,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[58, 12], Operations: ['44/22=2', '24/2=12']
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,51 unequal: No Solution
Exploring Operation: 58*12=696, Resulting Numbers: [696]
696,51 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[22, 10], Operations: ['58-44=14', '24-14=10']
Exploring Operation: 22*10=220, Resulting Numbers: [220]
220,51 unequal: No Solution
Exploring Operation: 22+10=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[58, 46], Operations: ['24-22=2', '44+2=46']
Exploring Operation: 58+46=104, Resulting Numbers: [104]
104,51 unequal: No Solution
Exploring Operation: 58*46=2668, Resulting Numbers: [2668]
2668,51 unequal: No Solution
Exploring Operation: 58-46=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[24, 56], Operations: ['44/22=2', '58-2=56']
Exploring Operation: 24*56=1344, Resulting Numbers: [1344]
1344,51 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 24+56=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[58, 22], Operations: ['24-22=2', '44/2=22']
Exploring Operation: 58+22=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,51 unequal: No Solution
Exploring Operation: 58*22=1276, Resulting Numbers: [1276]
1276,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[44, 56], Operations: ['24-22=2', '58-2=56']
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 44+56=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 44*56=2464, Resulting Numbers: [2464]
2464,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[58, 22], Operations: ['44/22=2', '24-2=22']
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,51 unequal: No Solution
Exploring Operation: 58*22=1276, Resulting Numbers: [1276]
1276,51 unequal: No Solution
Exploring Operation: 58+22=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[24, 8], Operations: ['58-44=14', '22-14=8']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,51 unequal: No Solution
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[58, 42], Operations: ['44-24=20', '22+20=42']
Exploring Operation: 58+42=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 58*42=2436, Resulting Numbers: [2436]
2436,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[22, 38], Operations: ['44-24=20', '58-20=38']
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 22*38=836, Resulting Numbers: [836]
836,51 unequal: No Solution
Moving to Node #0,3,3
Current State: 51:[20, 36], Operations: ['44-24=20', '58-22=36']
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 20+36=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 20*36=720, Resulting Numbers: [720]
720,51 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
10,
9,
14,
44
] | 84 | [
"10+44=54",
"54/9=6",
"14*6=84"
] | Current State: 84:[10, 9, 14, 44], Operations: []
Exploring Operation: 10+44=54, Resulting Numbers: [9, 14, 54]
Generated Node #2: [9, 14, 54] from Operation: 10+44=54
Current State: 84:[9, 14, 54], Operations: ['10+44=54']
Exploring Operation: 54/9=6, Resulting Numbers: [14, 6]
Generated Node #3: [14, 6] from Operation: 54/9=6
Current State: 84:[14, 6], Operations: ['10+44=54', '54/9=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[10, 9, 14, 44], Operations: []
Exploring Operation: 10+9=19, Resulting Numbers: [14, 44, 19]
Generated Node #0,0: 84:[14, 44, 19] Operation: 10+9=19
Exploring Operation: 14-10=4, Resulting Numbers: [9, 44, 4]
Generated Node #0,1: 84:[9, 44, 4] Operation: 14-10=4
Exploring Operation: 10-9=1, Resulting Numbers: [14, 44, 1]
Generated Node #0,2: 84:[14, 44, 1] Operation: 10-9=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[14, 44, 1], Operations: ['10-9=1']
Exploring Operation: 14*1=14, Resulting Numbers: [44, 14]
Generated Node #0,2,0: 84:[44, 14] Operation: 14*1=14
Exploring Operation: 44-1=43, Resulting Numbers: [14, 43]
Generated Node #0,2,1: 84:[14, 43] Operation: 44-1=43
Exploring Operation: 14/1=14, Resulting Numbers: [44, 14]
Generated Node #0,2,2: 84:[44, 14] Operation: 14/1=14
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 84:[14, 43], Operations: ['10-9=1', '44-1=43']
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 14+43=57, Resulting Numbers: [57]
57,84 unequal: No Solution
Exploring Operation: 14*43=602, Resulting Numbers: [602]
602,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:[44, 14], Operations: ['10-9=1', '14*1=14']
Exploring Operation: 44*14=616, Resulting Numbers: [616]
616,84 unequal: No Solution
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Exploring Operation: 44+14=58, Resulting Numbers: [58]
58,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:[44, 14], Operations: ['10-9=1', '14/1=14']
Exploring Operation: 44+14=58, Resulting Numbers: [58]
58,84 unequal: No Solution
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Exploring Operation: 44*14=616, Resulting Numbers: [616]
616,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:[14, 44, 19], Operations: ['10+9=19']
Exploring Operation: 44-19=25, Resulting Numbers: [14, 25]
Generated Node #0,0,0: 84:[14, 25] Operation: 44-19=25
Exploring Operation: 19-14=5, Resulting Numbers: [44, 5]
Generated Node #0,0,1: 84:[44, 5] Operation: 19-14=5
Exploring Operation: 44-14=30, Resulting Numbers: [19, 30]
Generated Node #0,0,2: 84:[19, 30] Operation: 44-14=30
Moving to Node #0,0,0
Current State: 84:[14, 25], Operations: ['10+9=19', '44-19=25']
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,84 unequal: No Solution
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,84 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[44, 5], Operations: ['10+9=19', '19-14=5']
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,84 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,84 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[19, 30], Operations: ['10+9=19', '44-14=30']
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,84 unequal: No Solution
Exploring Operation: 19*30=570, Resulting Numbers: [570]
570,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,1
Current State: 84:[9, 44, 4], Operations: ['14-10=4']
Exploring Operation: 9+4=13, Resulting Numbers: [44, 13]
Generated Node #0,1,0: 84:[44, 13] Operation: 9+4=13
Exploring Operation: 9-4=5, Resulting Numbers: [44, 5]
Generated Node #0,1,1: 84:[44, 5] Operation: 9-4=5
Exploring Operation: 44/4=11, Resulting Numbers: [9, 11]
Generated Node #0,1,2: 84:[9, 11] Operation: 44/4=11
Moving to Node #0,1,0
Current State: 84:[44, 13], Operations: ['14-10=4', '9+4=13']
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,84 unequal: No Solution
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[44, 5], Operations: ['14-10=4', '9-4=5']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,84 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,84 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[9, 11], Operations: ['14-10=4', '44/4=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,84 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,84 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 |
[
90,
88,
45,
61
] | 18 | [
"90-88=2",
"61-45=16",
"2+16=18"
] | Current State: 18:[90, 88, 45, 61], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [45, 61, 2]
Generated Node #2: [45, 61, 2] from Operation: 90-88=2
Current State: 18:[45, 61, 2], Operations: ['90-88=2']
Exploring Operation: 61-45=16, Resulting Numbers: [2, 16]
Generated Node #3: [2, 16] from Operation: 61-45=16
Current State: 18:[2, 16], Operations: ['90-88=2', '61-45=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[90, 88, 45, 61], Operations: []
Exploring Operation: 90-61=29, Resulting Numbers: [88, 45, 29]
Generated Node #0,0: 18:[88, 45, 29] Operation: 90-61=29
Exploring Operation: 90-88=2, Resulting Numbers: [45, 61, 2]
Generated Node #0,1: 18:[45, 61, 2] Operation: 90-88=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[45, 61, 2], Operations: ['90-88=2']
Exploring Operation: 61-45=16, Resulting Numbers: [2, 16]
Generated Node #0,1,0: 18:[2, 16] Operation: 61-45=16
Exploring Operation: 45-2=43, Resulting Numbers: [61, 43]
Generated Node #0,1,1: 18:[61, 43] Operation: 45-2=43
Moving to Node #0,1,0
Current State: 18:[2, 16], Operations: ['90-88=2', '61-45=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[90, 88, 45, 61], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [45, 61, 2]
Generated Node #0,1: 18:[45, 61, 2] Operation: 90-88=2
Moving to Node #0,1
Current State: 18:[45, 61, 2], Operations: ['90-88=2']
Exploring Operation: 61-45=16, Resulting Numbers: [2, 16]
Generated Node #0,1,0: 18:[2, 16] Operation: 61-45=16
Moving to Node #0,1,0
Current State: 18:[2, 16], Operations: ['90-88=2', '61-45=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
47,
80,
17,
10
] | 40 | [
"80-47=33",
"17-10=7",
"33+7=40"
] | Current State: 40:[47, 80, 17, 10], Operations: []
Exploring Operation: 80-47=33, Resulting Numbers: [17, 10, 33]
Generated Node #2: [17, 10, 33] from Operation: 80-47=33
Current State: 40:[17, 10, 33], Operations: ['80-47=33']
Exploring Operation: 17-10=7, Resulting Numbers: [33, 7]
Generated Node #3: [33, 7] from Operation: 17-10=7
Current State: 40:[33, 7], Operations: ['80-47=33', '17-10=7']
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[47, 80, 17, 10], Operations: []
Exploring Operation: 80-17=63, Resulting Numbers: [47, 10, 63]
Generated Node #0,0: 40:[47, 10, 63] Operation: 80-17=63
Exploring Operation: 47-10=37, Resulting Numbers: [80, 17, 37]
Generated Node #0,1: 40:[80, 17, 37] Operation: 47-10=37
Exploring Operation: 80-10=70, Resulting Numbers: [47, 17, 70]
Generated Node #0,2: 40:[47, 17, 70] Operation: 80-10=70
Exploring Operation: 80-47=33, Resulting Numbers: [17, 10, 33]
Generated Node #0,3: 40:[17, 10, 33] Operation: 80-47=33
Exploring Operation: 80/10=8, Resulting Numbers: [47, 17, 8]
Generated Node #0,4: 40:[47, 17, 8] Operation: 80/10=8
Start Sub Search at level 1: Moving to Node #0,3
Current State: 40:[17, 10, 33], Operations: ['80-47=33']
Exploring Operation: 33-10=23, Resulting Numbers: [17, 23]
Generated Node #0,3,0: 40:[17, 23] Operation: 33-10=23
Exploring Operation: 10+33=43, Resulting Numbers: [17, 43]
Generated Node #0,3,1: 40:[17, 43] Operation: 10+33=43
Exploring Operation: 17+33=50, Resulting Numbers: [10, 50]
Generated Node #0,3,2: 40:[10, 50] Operation: 17+33=50
Exploring Operation: 33-17=16, Resulting Numbers: [10, 16]
Generated Node #0,3,3: 40:[10, 16] Operation: 33-17=16
Exploring Operation: 17-10=7, Resulting Numbers: [33, 7]
Generated Node #0,3,4: 40:[33, 7] Operation: 17-10=7
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 40:[10, 16], Operations: ['80-47=33', '33-17=16']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 40:[17, 23], Operations: ['80-47=33', '33-10=23']
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 17+23=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[47, 80, 17, 10], Operations: []
Exploring Operation: 80-47=33, Resulting Numbers: [17, 10, 33]
Generated Node #0,3: 40:[17, 10, 33] Operation: 80-47=33
Moving to Node #0,3
Current State: 40:[17, 10, 33], Operations: ['80-47=33']
Exploring Operation: 33-10=23, Resulting Numbers: [17, 23]
Generated Node #0,3,0: 40:[17, 23] Operation: 33-10=23
Moving to Node #0,3,0
Current State: 40:[17, 23], Operations: ['80-47=33', '33-10=23']
Exploring Operation: 17+23=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
99,
94,
13,
10
] | 75 | [
"99-94=5",
"13*5=65",
"10+65=75"
] | Current State: 75:[99, 94, 13, 10], Operations: []
Exploring Operation: 99-94=5, Resulting Numbers: [13, 10, 5]
Generated Node #2: [13, 10, 5] from Operation: 99-94=5
Current State: 75:[13, 10, 5], Operations: ['99-94=5']
Exploring Operation: 13*5=65, Resulting Numbers: [10, 65]
Generated Node #3: [10, 65] from Operation: 13*5=65
Current State: 75:[10, 65], Operations: ['99-94=5', '13*5=65']
Exploring Operation: 10+65=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[99, 94, 13, 10], Operations: []
Exploring Operation: 99-94=5, Resulting Numbers: [13, 10, 5]
Generated Node #0,0: 75:[13, 10, 5] Operation: 99-94=5
Exploring Operation: 99-13=86, Resulting Numbers: [94, 10, 86]
Generated Node #0,1: 75:[94, 10, 86] Operation: 99-13=86
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[13, 10, 5], Operations: ['99-94=5']
Exploring Operation: 13-10=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 75:[5, 3] Operation: 13-10=3
Exploring Operation: 13+10=23, Resulting Numbers: [5, 23]
Generated Node #0,0,1: 75:[5, 23] Operation: 13+10=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[5, 3], Operations: ['99-94=5', '13-10=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[5, 23], Operations: ['99-94=5', '13+10=23']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,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,1
Current State: 75:[94, 10, 86], Operations: ['99-13=86']
Exploring Operation: 94-86=8, Resulting Numbers: [10, 8]
Generated Node #0,1,0: 75:[10, 8] Operation: 94-86=8
Exploring Operation: 94-10=84, Resulting Numbers: [86, 84]
Generated Node #0,1,1: 75:[86, 84] Operation: 94-10=84
Moving to Node #0,1,0
Current State: 75:[10, 8], Operations: ['99-13=86', '94-86=8']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[86, 84], Operations: ['99-13=86', '94-10=84']
Exploring Operation: 86-84=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 86+84=170, Resulting Numbers: [170]
170,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 |
[
90,
15,
79,
79
] | 90 | [
"79-79=0",
"15*0=0",
"90+0=90"
] | Current State: 90:[90, 15, 79, 79], Operations: []
Exploring Operation: 79-79=0, Resulting Numbers: [90, 15, 0]
Generated Node #2: [90, 15, 0] from Operation: 79-79=0
Current State: 90:[90, 15, 0], Operations: ['79-79=0']
Exploring Operation: 15*0=0, Resulting Numbers: [90, 0]
Generated Node #3: [90, 0] from Operation: 15*0=0
Current State: 90:[90, 0], Operations: ['79-79=0', '15*0=0']
Exploring Operation: 90+0=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[90, 15, 79, 79], Operations: []
Exploring Operation: 79-79=0, Resulting Numbers: [90, 15, 0]
Generated Node #0,0: 90:[90, 15, 0] Operation: 79-79=0
Exploring Operation: 90-79=11, Resulting Numbers: [15, 79, 11]
Generated Node #0,1: 90:[15, 79, 11] Operation: 90-79=11
Exploring Operation: 79/79=1, Resulting Numbers: [90, 15, 1]
Generated Node #0,2: 90:[90, 15, 1] Operation: 79/79=1
Exploring Operation: 90-79=11, Resulting Numbers: [15, 79, 11]
Generated Node #0,3: 90:[15, 79, 11] Operation: 90-79=11
Exploring Operation: 15+79=94, Resulting Numbers: [90, 79, 94]
Generated Node #0,4: 90:[90, 79, 94] Operation: 15+79=94
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[90, 15, 1], Operations: ['79/79=1']
Exploring Operation: 90*1=90, Resulting Numbers: [15, 90]
Generated Node #0,2,0: 90:[15, 90] Operation: 90*1=90
Exploring Operation: 90/1=90, Resulting Numbers: [15, 90]
Generated Node #0,2,1: 90:[15, 90] Operation: 90/1=90
Exploring Operation: 15/1=15, Resulting Numbers: [90, 15]
Generated Node #0,2,2: 90:[90, 15] Operation: 15/1=15
Exploring Operation: 15*1=15, Resulting Numbers: [90, 15]
Generated Node #0,2,3: 90:[90, 15] Operation: 15*1=15
Exploring Operation: 90/15=6, Resulting Numbers: [1, 6]
Generated Node #0,2,4: 90:[1, 6] Operation: 90/15=6
Moving to Node #0,2,0
Current State: 90:[15, 90], Operations: ['79/79=1', '90*1=90']
Exploring Operation: 15*90=1350, Resulting Numbers: [1350]
1350,90 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 15+90=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[90, 15], Operations: ['79/79=1', '15/1=15']
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 90*15=1350, Resulting Numbers: [1350]
1350,90 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[15, 90], Operations: ['79/79=1', '90/1=90']
Exploring Operation: 15*90=1350, Resulting Numbers: [1350]
1350,90 unequal: No Solution
Exploring Operation: 15+90=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[90, 15], Operations: ['79/79=1', '15*1=15']
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 90*15=1350, Resulting Numbers: [1350]
1350,90 unequal: No Solution
Moving to Node #0,2,4
Current State: 90:[1, 6], Operations: ['79/79=1', '90/15=6']
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[90, 15, 0], Operations: ['79-79=0']
Exploring Operation: 15+0=15, Resulting Numbers: [90, 15]
Generated Node #0,0,0: 90:[90, 15] Operation: 15+0=15
Exploring Operation: 90/15=6, Resulting Numbers: [0, 6]
Generated Node #0,0,1: 90:[0, 6] Operation: 90/15=6
Exploring Operation: 90-0=90, Resulting Numbers: [15, 90]
Generated Node #0,0,2: 90:[15, 90] Operation: 90-0=90
Exploring Operation: 15-0=15, Resulting Numbers: [90, 15]
Generated Node #0,0,3: 90:[90, 15] Operation: 15-0=15
Exploring Operation: 90+0=90, Resulting Numbers: [15, 90]
Generated Node #0,0,4: 90:[15, 90] Operation: 90+0=90
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[90, 15], Operations: ['79-79=0', '15+0=15']
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 90*15=1350, Resulting Numbers: [1350]
1350,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,0,2
Current State: 90:[15, 90], Operations: ['79-79=0', '90-0=90']
Exploring Operation: 15+90=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 15*90=1350, Resulting Numbers: [1350]
1350,90 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,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,0,3
Current State: 90:[90, 15], Operations: ['79-79=0', '15-0=15']
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 90*15=1350, Resulting Numbers: [1350]
1350,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,0,4
Current State: 90:[15, 90], Operations: ['79-79=0', '90+0=90']
Exploring Operation: 15*90=1350, Resulting Numbers: [1350]
1350,90 unequal: No Solution
Exploring Operation: 15+90=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,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,0,1
Current State: 90:[0, 6], Operations: ['79-79=0', '90/15=6']
Exploring Operation: 0+6=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 6-0=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 0*6=0, Resulting Numbers: [0]
0,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,1
Current State: 90:[15, 79, 11], Operations: ['90-79=11']
Exploring Operation: 15+11=26, Resulting Numbers: [79, 26]
Generated Node #0,1,0: 90:[79, 26] Operation: 15+11=26
Exploring Operation: 79+11=90, Resulting Numbers: [15, 90]
Generated Node #0,1,1: 90:[15, 90] Operation: 79+11=90
Exploring Operation: 79-15=64, Resulting Numbers: [11, 64]
Generated Node #0,1,2: 90:[11, 64] Operation: 79-15=64
Exploring Operation: 15-11=4, Resulting Numbers: [79, 4]
Generated Node #0,1,3: 90:[79, 4] Operation: 15-11=4
Exploring Operation: 15+79=94, Resulting Numbers: [11, 94]
Generated Node #0,1,4: 90:[11, 94] Operation: 15+79=94
Moving to Node #0,1,1
Current State: 90:[15, 90], Operations: ['90-79=11', '79+11=90']
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 15*90=1350, Resulting Numbers: [1350]
1350,90 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 15+90=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Moving to Node #0,1,4
Current State: 90:[11, 94], Operations: ['90-79=11', '15+79=94']
Exploring Operation: 11*94=1034, Resulting Numbers: [1034]
1034,90 unequal: No Solution
Exploring Operation: 11+94=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Moving to Node #0,1,3
Current State: 90:[79, 4], Operations: ['90-79=11', '15-11=4']
Exploring Operation: 79*4=316, Resulting Numbers: [316]
316,90 unequal: No Solution
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[79, 26], Operations: ['90-79=11', '15+11=26']
Exploring Operation: 79+26=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 79*26=2054, Resulting Numbers: [2054]
2054,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[11, 64], Operations: ['90-79=11', '79-15=64']
Exploring Operation: 11+64=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 11*64=704, Resulting Numbers: [704]
704,90 unequal: No Solution
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,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,3
Current State: 90:[15, 79, 11], Operations: ['90-79=11']
Exploring Operation: 15+11=26, Resulting Numbers: [79, 26]
Generated Node #0,3,0: 90:[79, 26] Operation: 15+11=26
Exploring Operation: 79-15=64, Resulting Numbers: [11, 64]
Generated Node #0,3,1: 90:[11, 64] Operation: 79-15=64
Exploring Operation: 15-11=4, Resulting Numbers: [79, 4]
Generated Node #0,3,2: 90:[79, 4] Operation: 15-11=4
Exploring Operation: 15+79=94, Resulting Numbers: [11, 94]
Generated Node #0,3,3: 90:[11, 94] Operation: 15+79=94
Exploring Operation: 79+11=90, Resulting Numbers: [15, 90]
Generated Node #0,3,4: 90:[15, 90] Operation: 79+11=90
Moving to Node #0,3,4
Current State: 90:[15, 90], Operations: ['90-79=11', '79+11=90']
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 15+90=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 15*90=1350, Resulting Numbers: [1350]
1350,90 unequal: No Solution
Moving to Node #0,3,3
Current State: 90:[11, 94], Operations: ['90-79=11', '15+79=94']
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Exploring Operation: 11+94=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 11*94=1034, Resulting Numbers: [1034]
1034,90 unequal: No Solution
Moving to Node #0,3,2
Current State: 90:[79, 4], Operations: ['90-79=11', '15-11=4']
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 79*4=316, Resulting Numbers: [316]
316,90 unequal: No Solution
Moving to Node #0,3,0
Current State: 90:[79, 26], Operations: ['90-79=11', '15+11=26']
Exploring Operation: 79+26=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 79*26=2054, Resulting Numbers: [2054]
2054,90 unequal: No Solution
Moving to Node #0,3,1
Current State: 90:[11, 64], Operations: ['90-79=11', '79-15=64']
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 11+64=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 11*64=704, Resulting Numbers: [704]
704,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,4
Current State: 90:[90, 79, 94], Operations: ['15+79=94']
Exploring Operation: 90+79=169, Resulting Numbers: [94, 169]
Generated Node #0,4,0: 90:[94, 169] Operation: 90+79=169
Exploring Operation: 90-79=11, Resulting Numbers: [94, 11]
Generated Node #0,4,1: 90:[94, 11] Operation: 90-79=11
Exploring Operation: 94-90=4, Resulting Numbers: [79, 4]
Generated Node #0,4,2: 90:[79, 4] Operation: 94-90=4
Exploring Operation: 79+94=173, Resulting Numbers: [90, 173]
Generated Node #0,4,3: 90:[90, 173] Operation: 79+94=173
Exploring Operation: 94-79=15, Resulting Numbers: [90, 15]
Generated Node #0,4,4: 90:[90, 15] Operation: 94-79=15
Moving to Node #0,4,4
Current State: 90:[90, 15], Operations: ['15+79=94', '94-79=15']
Exploring Operation: 90*15=1350, Resulting Numbers: [1350]
1350,90 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Moving to Node #0,4,1
Current State: 90:[94, 11], Operations: ['15+79=94', '90-79=11']
Exploring Operation: 94*11=1034, Resulting Numbers: [1034]
1034,90 unequal: No Solution
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Exploring Operation: 94+11=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Moving to Node #0,4,2
Current State: 90:[79, 4], Operations: ['15+79=94', '94-90=4']
Exploring Operation: 79*4=316, Resulting Numbers: [316]
316,90 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Moving to Node #0,4,0
Current State: 90:[94, 169], Operations: ['15+79=94', '90+79=169']
Exploring Operation: 94*169=15886, Resulting Numbers: [15886]
15886,90 unequal: No Solution
Exploring Operation: 169-94=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 94+169=263, Resulting Numbers: [263]
263,90 unequal: No Solution
Moving to Node #0,4,3
Current State: 90:[90, 173], Operations: ['15+79=94', '79+94=173']
Exploring Operation: 90+173=263, Resulting Numbers: [263]
263,90 unequal: No Solution
Exploring Operation: 90*173=15570, Resulting Numbers: [15570]
15570,90 unequal: No Solution
Exploring Operation: 173-90=83, Resulting Numbers: [83]
83,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
11,
29,
13,
44
] | 51 | [
"13-11=2",
"44/2=22",
"29+22=51"
] | Current State: 51:[11, 29, 13, 44], Operations: []
Exploring Operation: 13-11=2, Resulting Numbers: [29, 44, 2]
Generated Node #2: [29, 44, 2] from Operation: 13-11=2
Current State: 51:[29, 44, 2], Operations: ['13-11=2']
Exploring Operation: 44/2=22, Resulting Numbers: [29, 22]
Generated Node #3: [29, 22] from Operation: 44/2=22
Current State: 51:[29, 22], Operations: ['13-11=2', '44/2=22']
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[11, 29, 13, 44], Operations: []
Exploring Operation: 44-29=15, Resulting Numbers: [11, 13, 15]
Generated Node #0,0: 51:[11, 13, 15] Operation: 44-29=15
Exploring Operation: 29-11=18, Resulting Numbers: [13, 44, 18]
Generated Node #0,1: 51:[13, 44, 18] Operation: 29-11=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[11, 13, 15], Operations: ['44-29=15']
Exploring Operation: 15-11=4, Resulting Numbers: [13, 4]
Generated Node #0,0,0: 51:[13, 4] Operation: 15-11=4
Exploring Operation: 13-11=2, Resulting Numbers: [15, 2]
Generated Node #0,0,1: 51:[15, 2] Operation: 13-11=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[15, 2], Operations: ['44-29=15', '13-11=2']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[13, 4], Operations: ['44-29=15', '15-11=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,51 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: 51:[13, 44, 18], Operations: ['29-11=18']
Exploring Operation: 13+44=57, Resulting Numbers: [18, 57]
Generated Node #0,1,0: 51:[18, 57] Operation: 13+44=57
Exploring Operation: 18-13=5, Resulting Numbers: [44, 5]
Generated Node #0,1,1: 51:[44, 5] Operation: 18-13=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[18, 57], Operations: ['29-11=18', '13+44=57']
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 18+57=75, Resulting Numbers: [75]
75,51 unequal: No Solution
No 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: 51:[44, 5], Operations: ['29-11=18', '18-13=5']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
18,
2,
61,
15
] | 61 | [
"18-2=16",
"16-15=1",
"61*1=61"
] | Current State: 61:[18, 2, 61, 15], Operations: []
Exploring Operation: 18-2=16, Resulting Numbers: [61, 15, 16]
Generated Node #2: [61, 15, 16] from Operation: 18-2=16
Current State: 61:[61, 15, 16], Operations: ['18-2=16']
Exploring Operation: 16-15=1, Resulting Numbers: [61, 1]
Generated Node #3: [61, 1] from Operation: 16-15=1
Current State: 61:[61, 1], Operations: ['18-2=16', '16-15=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[18, 2, 61, 15], Operations: []
Exploring Operation: 18*2=36, Resulting Numbers: [61, 15, 36]
Generated Node #0,0: 61:[61, 15, 36] Operation: 18*2=36
Exploring Operation: 2*15=30, Resulting Numbers: [18, 61, 30]
Generated Node #0,1: 61:[18, 61, 30] Operation: 2*15=30
Moving to Node #0,0
Current State: 61:[61, 15, 36], Operations: ['18*2=36']
Exploring Operation: 61+15=76, Resulting Numbers: [36, 76]
Generated Node #0,0,0: 61:[36, 76] Operation: 61+15=76
Exploring Operation: 15+36=51, Resulting Numbers: [61, 51]
Generated Node #0,0,1: 61:[61, 51] Operation: 15+36=51
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[61, 51], Operations: ['18*2=36', '15+36=51']
Exploring Operation: 61+51=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 61-51=10, Resulting Numbers: [10]
10,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:[36, 76], Operations: ['18*2=36', '61+15=76']
Exploring Operation: 36+76=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,61 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: 61:[18, 61, 30], Operations: ['2*15=30']
Exploring Operation: 18+30=48, Resulting Numbers: [61, 48]
Generated Node #0,1,0: 61:[61, 48] Operation: 18+30=48
Exploring Operation: 18+61=79, Resulting Numbers: [30, 79]
Generated Node #0,1,1: 61:[30, 79] Operation: 18+61=79
Moving to Node #0,1,0
Current State: 61:[61, 48], Operations: ['2*15=30', '18+30=48']
Exploring Operation: 61-48=13, Resulting Numbers: [13]
13,61 unequal: No Solution
Exploring Operation: 61+48=109, Resulting Numbers: [109]
109,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[30, 79], Operations: ['2*15=30', '18+61=79']
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,61 unequal: No Solution
Exploring Operation: 30+79=109, Resulting Numbers: [109]
109,61 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.