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 |
|---|---|---|---|---|---|---|---|---|
[
30,
44,
25,
45
] | 98 | [
"30*45=1350",
"1350/25=54",
"44+54=98"
] | Current State: 98:[30, 44, 25, 45], Operations: []
Exploring Operation: 30*45=1350, Resulting Numbers: [44, 25, 1350]
Generated Node #2: [44, 25, 1350] from Operation: 30*45=1350
Current State: 98:[44, 25, 1350], Operations: ['30*45=1350']
Exploring Operation: 1350/25=54, Resulting Numbers: [44, 54]
Generated Node #3: [44, 54] from Operation: 1350/25=54
Current State: 98:[44, 54], Operations: ['30*45=1350', '1350/25=54']
Exploring Operation: 44+54=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[30, 44, 25, 45], Operations: []
Exploring Operation: 30-25=5, Resulting Numbers: [44, 45, 5]
Generated Node #0,0: 98:[44, 45, 5] Operation: 30-25=5
Exploring Operation: 44-30=14, Resulting Numbers: [25, 45, 14]
Generated Node #0,1: 98:[25, 45, 14] Operation: 44-30=14
Exploring Operation: 30+25=55, Resulting Numbers: [44, 45, 55]
Generated Node #0,2: 98:[44, 45, 55] Operation: 30+25=55
Moving to Node #0,0
Current State: 98:[44, 45, 5], Operations: ['30-25=5']
Exploring Operation: 45+5=50, Resulting Numbers: [44, 50]
Generated Node #0,0,0: 98:[44, 50] Operation: 45+5=50
Exploring Operation: 45-44=1, Resulting Numbers: [5, 1]
Generated Node #0,0,1: 98:[5, 1] Operation: 45-44=1
Exploring Operation: 44+5=49, Resulting Numbers: [45, 49]
Generated Node #0,0,2: 98:[45, 49] Operation: 44+5=49
Moving to Node #0,1
Current State: 98:[25, 45, 14], Operations: ['44-30=14']
Exploring Operation: 25+14=39, Resulting Numbers: [45, 39]
Generated Node #0,1,0: 98:[45, 39] Operation: 25+14=39
Exploring Operation: 45-25=20, Resulting Numbers: [14, 20]
Generated Node #0,1,1: 98:[14, 20] Operation: 45-25=20
Exploring Operation: 25-14=11, Resulting Numbers: [45, 11]
Generated Node #0,1,2: 98:[45, 11] Operation: 25-14=11
Moving to Node #0,2
Current State: 98:[44, 45, 55], Operations: ['30+25=55']
Exploring Operation: 44+55=99, Resulting Numbers: [45, 99]
Generated Node #0,2,0: 98:[45, 99] Operation: 44+55=99
Exploring Operation: 45-44=1, Resulting Numbers: [55, 1]
Generated Node #0,2,1: 98:[55, 1] Operation: 45-44=1
Exploring Operation: 55-44=11, Resulting Numbers: [45, 11]
Generated Node #0,2,2: 98:[45, 11] Operation: 55-44=11
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 98:[45, 99], Operations: ['30+25=55', '44+55=99']
Exploring Operation: 45*99=4455, Resulting Numbers: [4455]
4455,98 unequal: No Solution
Exploring Operation: 99-45=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 45+99=144, Resulting Numbers: [144]
144,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:[55, 1], Operations: ['30+25=55', '45-44=1']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,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,2
Current State: 98:[45, 11], Operations: ['30+25=55', '55-44=11']
Exploring Operation: 45*11=495, Resulting Numbers: [495]
495,98 unequal: No Solution
Exploring Operation: 45+11=56, Resulting Numbers: [56]
56,98 unequal: No Solution
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,98 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: 98:[5, 1], Operations: ['30-25=5', '45-44=1']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[45, 49], Operations: ['30-25=5', '44+5=49']
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Exploring Operation: 45+49=94, Resulting Numbers: [94]
94,98 unequal: No Solution
Exploring Operation: 45*49=2205, Resulting Numbers: [2205]
2205,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[44, 50], Operations: ['30-25=5', '45+5=50']
Exploring Operation: 44+50=94, Resulting Numbers: [94]
94,98 unequal: No Solution
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 44*50=2200, Resulting Numbers: [2200]
2200,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[14, 20], Operations: ['44-30=14', '45-25=20']
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[45, 11], Operations: ['44-30=14', '25-14=11']
Exploring Operation: 45*11=495, Resulting Numbers: [495]
495,98 unequal: No Solution
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 45+11=56, Resulting Numbers: [56]
56,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[45, 39], Operations: ['44-30=14', '25+14=39']
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,98 unequal: No Solution
Exploring Operation: 45*39=1755, Resulting Numbers: [1755]
1755,98 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
39,
65,
11,
30
] | 29 | [
"39*30=1170",
"1170/65=18",
"11+18=29"
] | Current State: 29:[39, 65, 11, 30], Operations: []
Exploring Operation: 39*30=1170, Resulting Numbers: [65, 11, 1170]
Generated Node #2: [65, 11, 1170] from Operation: 39*30=1170
Current State: 29:[65, 11, 1170], Operations: ['39*30=1170']
Exploring Operation: 1170/65=18, Resulting Numbers: [11, 18]
Generated Node #3: [11, 18] from Operation: 1170/65=18
Current State: 29:[11, 18], Operations: ['39*30=1170', '1170/65=18']
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[39, 65, 11, 30], Operations: []
Exploring Operation: 65-30=35, Resulting Numbers: [39, 11, 35]
Generated Node #0,0: 29:[39, 11, 35] Operation: 65-30=35
Exploring Operation: 65-39=26, Resulting Numbers: [11, 30, 26]
Generated Node #0,1: 29:[11, 30, 26] Operation: 65-39=26
Exploring Operation: 65-11=54, Resulting Numbers: [39, 30, 54]
Generated Node #0,2: 29:[39, 30, 54] Operation: 65-11=54
Exploring Operation: 39-11=28, Resulting Numbers: [65, 30, 28]
Generated Node #0,3: 29:[65, 30, 28] Operation: 39-11=28
Moving to Node #0,1
Current State: 29:[11, 30, 26], Operations: ['65-39=26']
Exploring Operation: 11+30=41, Resulting Numbers: [26, 41]
Generated Node #0,1,0: 29:[26, 41] Operation: 11+30=41
Exploring Operation: 26-11=15, Resulting Numbers: [30, 15]
Generated Node #0,1,1: 29:[30, 15] Operation: 26-11=15
Exploring Operation: 11+26=37, Resulting Numbers: [30, 37]
Generated Node #0,1,2: 29:[30, 37] Operation: 11+26=37
Exploring Operation: 30-11=19, Resulting Numbers: [26, 19]
Generated Node #0,1,3: 29:[26, 19] Operation: 30-11=19
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[30, 37], Operations: ['65-39=26', '11+26=37']
Exploring Operation: 30*37=1110, Resulting Numbers: [1110]
1110,29 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 30+37=67, Resulting Numbers: [67]
67,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 29:[26, 19], Operations: ['65-39=26', '30-11=19']
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,29 unequal: No Solution
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[26, 41], Operations: ['65-39=26', '11+30=41']
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 26+41=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 26*41=1066, Resulting Numbers: [1066]
1066,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[30, 15], Operations: ['65-39=26', '26-11=15']
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 30+15=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 30*15=450, Resulting Numbers: [450]
450,29 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: 29:[39, 11, 35], Operations: ['65-30=35']
Exploring Operation: 35-11=24, Resulting Numbers: [39, 24]
Generated Node #0,0,0: 29:[39, 24] Operation: 35-11=24
Exploring Operation: 39-11=28, Resulting Numbers: [35, 28]
Generated Node #0,0,1: 29:[35, 28] Operation: 39-11=28
Exploring Operation: 11+35=46, Resulting Numbers: [39, 46]
Generated Node #0,0,2: 29:[39, 46] Operation: 11+35=46
Exploring Operation: 39+11=50, Resulting Numbers: [35, 50]
Generated Node #0,0,3: 29:[35, 50] Operation: 39+11=50
Moving to Node #0,2
Current State: 29:[39, 30, 54], Operations: ['65-11=54']
Exploring Operation: 39-30=9, Resulting Numbers: [54, 9]
Generated Node #0,2,0: 29:[54, 9] Operation: 39-30=9
Exploring Operation: 39+30=69, Resulting Numbers: [54, 69]
Generated Node #0,2,1: 29:[54, 69] Operation: 39+30=69
Exploring Operation: 54-39=15, Resulting Numbers: [30, 15]
Generated Node #0,2,2: 29:[30, 15] Operation: 54-39=15
Exploring Operation: 54-30=24, Resulting Numbers: [39, 24]
Generated Node #0,2,3: 29:[39, 24] Operation: 54-30=24
Moving to Node #0,3
Current State: 29:[65, 30, 28], Operations: ['39-11=28']
Exploring Operation: 65-28=37, Resulting Numbers: [30, 37]
Generated Node #0,3,0: 29:[30, 37] Operation: 65-28=37
Exploring Operation: 65+28=93, Resulting Numbers: [30, 93]
Generated Node #0,3,1: 29:[30, 93] Operation: 65+28=93
Exploring Operation: 30-28=2, Resulting Numbers: [65, 2]
Generated Node #0,3,2: 29:[65, 2] Operation: 30-28=2
Exploring Operation: 65-30=35, Resulting Numbers: [28, 35]
Generated Node #0,3,3: 29:[28, 35] Operation: 65-30=35
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 29:[28, 35], Operations: ['39-11=28', '65-30=35']
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 28*35=980, Resulting Numbers: [980]
980,29 unequal: No Solution
Exploring Operation: 28+35=63, Resulting Numbers: [63]
63,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 29:[30, 37], Operations: ['39-11=28', '65-28=37']
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 30+37=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 30*37=1110, Resulting Numbers: [1110]
1110,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 29:[65, 2], Operations: ['39-11=28', '30-28=2']
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 65*2=130, Resulting Numbers: [130]
130,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 29:[30, 93], Operations: ['39-11=28', '65+28=93']
Exploring Operation: 30*93=2790, Resulting Numbers: [2790]
2790,29 unequal: No Solution
Exploring Operation: 30+93=123, Resulting Numbers: [123]
123,29 unequal: No Solution
Exploring Operation: 93-30=63, Resulting Numbers: [63]
63,29 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: 29:[35, 28], Operations: ['65-30=35', '39-11=28']
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 35*28=980, Resulting Numbers: [980]
980,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[39, 24], Operations: ['65-11=54', '54-30=24']
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 39+24=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 39*24=936, Resulting Numbers: [936]
936,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[39, 24], Operations: ['65-30=35', '35-11=24']
Exploring Operation: 39*24=936, Resulting Numbers: [936]
936,29 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 39+24=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[30, 15], Operations: ['65-11=54', '54-39=15']
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 30+15=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 30*15=450, Resulting Numbers: [450]
450,29 unequal: No Solution
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[39, 46], Operations: ['65-30=35', '11+35=46']
Exploring Operation: 39+46=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 39*46=1794, Resulting Numbers: [1794]
1794,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[35, 50], Operations: ['65-30=35', '39+11=50']
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 35*50=1750, Resulting Numbers: [1750]
1750,29 unequal: No Solution
Exploring Operation: 35+50=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[54, 9], Operations: ['65-11=54', '39-30=9']
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,29 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[54, 69], Operations: ['65-11=54', '39+30=69']
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 54+69=123, Resulting Numbers: [123]
123,29 unequal: No Solution
Exploring Operation: 54*69=3726, Resulting Numbers: [3726]
3726,29 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
14,
27,
26,
69
] | 71 | [
"27-14=13",
"26/13=2",
"69+2=71"
] | Current State: 71:[14, 27, 26, 69], Operations: []
Exploring Operation: 27-14=13, Resulting Numbers: [26, 69, 13]
Generated Node #2: [26, 69, 13] from Operation: 27-14=13
Current State: 71:[26, 69, 13], Operations: ['27-14=13']
Exploring Operation: 26/13=2, Resulting Numbers: [69, 2]
Generated Node #3: [69, 2] from Operation: 26/13=2
Current State: 71:[69, 2], Operations: ['27-14=13', '26/13=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[14, 27, 26, 69], Operations: []
Exploring Operation: 27+26=53, Resulting Numbers: [14, 69, 53]
Generated Node #0,0: 71:[14, 69, 53] Operation: 27+26=53
Exploring Operation: 14+69=83, Resulting Numbers: [27, 26, 83]
Generated Node #0,1: 71:[27, 26, 83] Operation: 14+69=83
Exploring Operation: 14+27=41, Resulting Numbers: [26, 69, 41]
Generated Node #0,2: 71:[26, 69, 41] Operation: 14+27=41
Exploring Operation: 14+26=40, Resulting Numbers: [27, 69, 40]
Generated Node #0,3: 71:[27, 69, 40] Operation: 14+26=40
Moving to Node #0,0
Current State: 71:[14, 69, 53], Operations: ['27+26=53']
Exploring Operation: 53-14=39, Resulting Numbers: [69, 39]
Generated Node #0,0,0: 71:[69, 39] Operation: 53-14=39
Exploring Operation: 69-14=55, Resulting Numbers: [53, 55]
Generated Node #0,0,1: 71:[53, 55] Operation: 69-14=55
Exploring Operation: 14+69=83, Resulting Numbers: [53, 83]
Generated Node #0,0,2: 71:[53, 83] Operation: 14+69=83
Exploring Operation: 14+53=67, Resulting Numbers: [69, 67]
Generated Node #0,0,3: 71:[69, 67] Operation: 14+53=67
Moving to Node #0,3
Current State: 71:[27, 69, 40], Operations: ['14+26=40']
Exploring Operation: 69-27=42, Resulting Numbers: [40, 42]
Generated Node #0,3,0: 71:[40, 42] Operation: 69-27=42
Exploring Operation: 27+40=67, Resulting Numbers: [69, 67]
Generated Node #0,3,1: 71:[69, 67] Operation: 27+40=67
Exploring Operation: 40-27=13, Resulting Numbers: [69, 13]
Generated Node #0,3,2: 71:[69, 13] Operation: 40-27=13
Exploring Operation: 27+69=96, Resulting Numbers: [40, 96]
Generated Node #0,3,3: 71:[40, 96] Operation: 27+69=96
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[69, 67], Operations: ['14+26=40', '27+40=67']
Exploring Operation: 69*67=4623, Resulting Numbers: [4623]
4623,71 unequal: No Solution
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 69+67=136, Resulting Numbers: [136]
136,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[40, 96], Operations: ['14+26=40', '27+69=96']
Exploring Operation: 96-40=56, Resulting Numbers: [56]
56,71 unequal: No Solution
Exploring Operation: 40+96=136, Resulting Numbers: [136]
136,71 unequal: No Solution
Exploring Operation: 40*96=3840, Resulting Numbers: [3840]
3840,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[40, 42], Operations: ['14+26=40', '69-27=42']
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 40*42=1680, Resulting Numbers: [1680]
1680,71 unequal: No Solution
Exploring Operation: 40+42=82, Resulting Numbers: [82]
82,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[69, 13], Operations: ['14+26=40', '40-27=13']
Exploring Operation: 69*13=897, Resulting Numbers: [897]
897,71 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,71 unequal: No Solution
Exploring Operation: 69+13=82, Resulting Numbers: [82]
82,71 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: 71:[26, 69, 41], Operations: ['14+27=41']
Exploring Operation: 69-26=43, Resulting Numbers: [41, 43]
Generated Node #0,2,0: 71:[41, 43] Operation: 69-26=43
Exploring Operation: 26+69=95, Resulting Numbers: [41, 95]
Generated Node #0,2,1: 71:[41, 95] Operation: 26+69=95
Exploring Operation: 41-26=15, Resulting Numbers: [69, 15]
Generated Node #0,2,2: 71:[69, 15] Operation: 41-26=15
Exploring Operation: 26+41=67, Resulting Numbers: [69, 67]
Generated Node #0,2,3: 71:[69, 67] Operation: 26+41=67
Moving to Node #0,1
Current State: 71:[27, 26, 83], Operations: ['14+69=83']
Exploring Operation: 27-26=1, Resulting Numbers: [83, 1]
Generated Node #0,1,0: 71:[83, 1] Operation: 27-26=1
Exploring Operation: 83-27=56, Resulting Numbers: [26, 56]
Generated Node #0,1,1: 71:[26, 56] Operation: 83-27=56
Exploring Operation: 83-26=57, Resulting Numbers: [27, 57]
Generated Node #0,1,2: 71:[27, 57] Operation: 83-26=57
Exploring Operation: 27+26=53, Resulting Numbers: [83, 53]
Generated Node #0,1,3: 71:[83, 53] Operation: 27+26=53
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 71:[83, 53], Operations: ['14+69=83', '27+26=53']
Exploring Operation: 83-53=30, Resulting Numbers: [30]
30,71 unequal: No Solution
Exploring Operation: 83*53=4399, Resulting Numbers: [4399]
4399,71 unequal: No Solution
Exploring Operation: 83+53=136, Resulting Numbers: [136]
136,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:[27, 57], Operations: ['14+69=83', '83-26=57']
Exploring Operation: 27*57=1539, Resulting Numbers: [1539]
1539,71 unequal: No Solution
Exploring Operation: 27+57=84, Resulting Numbers: [84]
84,71 unequal: No Solution
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[26, 56], Operations: ['14+69=83', '83-27=56']
Exploring Operation: 26+56=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,71 unequal: No Solution
Exploring Operation: 26*56=1456, Resulting Numbers: [1456]
1456,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:[83, 1], Operations: ['14+69=83', '27-26=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,71 unequal: No Solution
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 71:[69, 67], Operations: ['27+26=53', '14+53=67']
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 69+67=136, Resulting Numbers: [136]
136,71 unequal: No Solution
Exploring Operation: 69*67=4623, Resulting Numbers: [4623]
4623,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[69, 67], Operations: ['14+27=41', '26+41=67']
Exploring Operation: 69*67=4623, Resulting Numbers: [4623]
4623,71 unequal: No Solution
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 69+67=136, Resulting Numbers: [136]
136,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[53, 83], Operations: ['27+26=53', '14+69=83']
Exploring Operation: 83-53=30, Resulting Numbers: [30]
30,71 unequal: No Solution
Exploring Operation: 53+83=136, Resulting Numbers: [136]
136,71 unequal: No Solution
Exploring Operation: 53*83=4399, Resulting Numbers: [4399]
4399,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[69, 39], Operations: ['27+26=53', '53-14=39']
Exploring Operation: 69+39=108, Resulting Numbers: [108]
108,71 unequal: No Solution
Exploring Operation: 69*39=2691, Resulting Numbers: [2691]
2691,71 unequal: No Solution
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[53, 55], Operations: ['27+26=53', '69-14=55']
Exploring Operation: 53*55=2915, Resulting Numbers: [2915]
2915,71 unequal: No Solution
Exploring Operation: 53+55=108, Resulting Numbers: [108]
108,71 unequal: No Solution
Exploring Operation: 55-53=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[41, 95], Operations: ['14+27=41', '26+69=95']
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,71 unequal: No Solution
Exploring Operation: 41*95=3895, Resulting Numbers: [3895]
3895,71 unequal: No Solution
Exploring Operation: 41+95=136, Resulting Numbers: [136]
136,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[41, 43], Operations: ['14+27=41', '69-26=43']
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 41*43=1763, Resulting Numbers: [1763]
1763,71 unequal: No Solution
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[69, 15], Operations: ['14+27=41', '41-26=15']
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,71 unequal: No Solution
Exploring Operation: 69+15=84, Resulting Numbers: [84]
84,71 unequal: No Solution
Exploring Operation: 69*15=1035, Resulting Numbers: [1035]
1035,71 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
4,
83,
25,
62
] | 16 | [
"83-25=58",
"62-58=4",
"4*4=16"
] | Current State: 16:[4, 83, 25, 62], Operations: []
Exploring Operation: 83-25=58, Resulting Numbers: [4, 62, 58]
Generated Node #2: [4, 62, 58] from Operation: 83-25=58
Current State: 16:[4, 62, 58], Operations: ['83-25=58']
Exploring Operation: 62-58=4, Resulting Numbers: [4, 4]
Generated Node #3: [4, 4] from Operation: 62-58=4
Current State: 16:[4, 4], Operations: ['83-25=58', '62-58=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[4, 83, 25, 62], Operations: []
Exploring Operation: 25-4=21, Resulting Numbers: [83, 62, 21]
Generated Node #0,0: 16:[83, 62, 21] Operation: 25-4=21
Exploring Operation: 83-25=58, Resulting Numbers: [4, 62, 58]
Generated Node #0,1: 16:[4, 62, 58] Operation: 83-25=58
Exploring Operation: 62-25=37, Resulting Numbers: [4, 83, 37]
Generated Node #0,2: 16:[4, 83, 37] Operation: 62-25=37
Exploring Operation: 83-4=79, Resulting Numbers: [25, 62, 79]
Generated Node #0,3: 16:[25, 62, 79] Operation: 83-4=79
Exploring Operation: 83-62=21, Resulting Numbers: [4, 25, 21]
Generated Node #0,4: 16:[4, 25, 21] Operation: 83-62=21
Moving to Node #0,4
Current State: 16:[4, 25, 21], Operations: ['83-62=21']
Exploring Operation: 25-4=21, Resulting Numbers: [21, 21]
Generated Node #0,4,0: 16:[21, 21] Operation: 25-4=21
Exploring Operation: 4+21=25, Resulting Numbers: [25, 25]
Generated Node #0,4,1: 16:[25, 25] Operation: 4+21=25
Exploring Operation: 25-21=4, Resulting Numbers: [4, 4]
Generated Node #0,4,2: 16:[4, 4] Operation: 25-21=4
Exploring Operation: 4+25=29, Resulting Numbers: [21, 29]
Generated Node #0,4,3: 16:[21, 29] Operation: 4+25=29
Exploring Operation: 21-4=17, Resulting Numbers: [25, 17]
Generated Node #0,4,4: 16:[25, 17] Operation: 21-4=17
Moving to Node #0,2
Current State: 16:[4, 83, 37], Operations: ['62-25=37']
Exploring Operation: 4+83=87, Resulting Numbers: [37, 87]
Generated Node #0,2,0: 16:[37, 87] Operation: 4+83=87
Exploring Operation: 83-37=46, Resulting Numbers: [4, 46]
Generated Node #0,2,1: 16:[4, 46] Operation: 83-37=46
Exploring Operation: 37-4=33, Resulting Numbers: [83, 33]
Generated Node #0,2,2: 16:[83, 33] Operation: 37-4=33
Exploring Operation: 4+37=41, Resulting Numbers: [83, 41]
Generated Node #0,2,3: 16:[83, 41] Operation: 4+37=41
Exploring Operation: 83-4=79, Resulting Numbers: [37, 79]
Generated Node #0,2,4: 16:[37, 79] Operation: 83-4=79
Moving to Node #0,1
Current State: 16:[4, 62, 58], Operations: ['83-25=58']
Exploring Operation: 62-4=58, Resulting Numbers: [58, 58]
Generated Node #0,1,0: 16:[58, 58] Operation: 62-4=58
Exploring Operation: 58-4=54, Resulting Numbers: [62, 54]
Generated Node #0,1,1: 16:[62, 54] Operation: 58-4=54
Exploring Operation: 4+62=66, Resulting Numbers: [58, 66]
Generated Node #0,1,2: 16:[58, 66] Operation: 4+62=66
Exploring Operation: 62-58=4, Resulting Numbers: [4, 4]
Generated Node #0,1,3: 16:[4, 4] Operation: 62-58=4
Exploring Operation: 4+58=62, Resulting Numbers: [62, 62]
Generated Node #0,1,4: 16:[62, 62] Operation: 4+58=62
Moving to Node #0,0
Current State: 16:[83, 62, 21], Operations: ['25-4=21']
Exploring Operation: 83-21=62, Resulting Numbers: [62, 62]
Generated Node #0,0,0: 16:[62, 62] Operation: 83-21=62
Exploring Operation: 62-21=41, Resulting Numbers: [83, 41]
Generated Node #0,0,1: 16:[83, 41] Operation: 62-21=41
Exploring Operation: 83+21=104, Resulting Numbers: [62, 104]
Generated Node #0,0,2: 16:[62, 104] Operation: 83+21=104
Exploring Operation: 83-62=21, Resulting Numbers: [21, 21]
Generated Node #0,0,3: 16:[21, 21] Operation: 83-62=21
Exploring Operation: 83+62=145, Resulting Numbers: [21, 145]
Generated Node #0,0,4: 16:[21, 145] Operation: 83+62=145
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 16:[21, 21], Operations: ['25-4=21', '83-62=21']
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,16 unequal: No Solution
Exploring Operation: 21*21=441, Resulting Numbers: [441]
441,16 unequal: No Solution
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[62, 62], Operations: ['25-4=21', '83-21=62']
Exploring Operation: 62/62=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 62*62=3844, Resulting Numbers: [3844]
3844,16 unequal: No Solution
Exploring Operation: 62+62=124, Resulting Numbers: [124]
124,16 unequal: No Solution
Exploring Operation: 62-62=0, Resulting Numbers: [0]
0,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[83, 41], Operations: ['25-4=21', '62-21=41']
Exploring Operation: 83+41=124, Resulting Numbers: [124]
124,16 unequal: No Solution
Exploring Operation: 83*41=3403, Resulting Numbers: [3403]
3403,16 unequal: No Solution
Exploring Operation: 83-41=42, Resulting Numbers: [42]
42,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:[62, 104], Operations: ['25-4=21', '83+21=104']
Exploring Operation: 62+104=166, Resulting Numbers: [166]
166,16 unequal: No Solution
Exploring Operation: 104-62=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 62*104=6448, Resulting Numbers: [6448]
6448,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,4
Current State: 16:[21, 145], Operations: ['25-4=21', '83+62=145']
Exploring Operation: 145-21=124, Resulting Numbers: [124]
124,16 unequal: No Solution
Exploring Operation: 21+145=166, Resulting Numbers: [166]
166,16 unequal: No Solution
Exploring Operation: 21*145=3045, Resulting Numbers: [3045]
3045,16 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: 16:[25, 62, 79], Operations: ['83-4=79']
Exploring Operation: 25+62=87, Resulting Numbers: [79, 87]
Generated Node #0,3,0: 16:[79, 87] Operation: 25+62=87
Exploring Operation: 79-25=54, Resulting Numbers: [62, 54]
Generated Node #0,3,1: 16:[62, 54] Operation: 79-25=54
Exploring Operation: 25+79=104, Resulting Numbers: [62, 104]
Generated Node #0,3,2: 16:[62, 104] Operation: 25+79=104
Exploring Operation: 79-62=17, Resulting Numbers: [25, 17]
Generated Node #0,3,3: 16:[25, 17] Operation: 79-62=17
Exploring Operation: 62-25=37, Resulting Numbers: [79, 37]
Generated Node #0,3,4: 16:[79, 37] Operation: 62-25=37
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 16:[25, 17], Operations: ['83-4=79', '79-62=17']
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 25*17=425, Resulting Numbers: [425]
425,16 unequal: No Solution
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,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:[62, 54], Operations: ['83-4=79', '79-25=54']
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 62+54=116, Resulting Numbers: [116]
116,16 unequal: No Solution
Exploring Operation: 62*54=3348, Resulting Numbers: [3348]
3348,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,4
Current State: 16:[79, 37], Operations: ['83-4=79', '62-25=37']
Exploring Operation: 79*37=2923, Resulting Numbers: [2923]
2923,16 unequal: No Solution
Exploring Operation: 79-37=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 79+37=116, Resulting Numbers: [116]
116,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 16:[79, 87], Operations: ['83-4=79', '25+62=87']
Exploring Operation: 79+87=166, Resulting Numbers: [166]
166,16 unequal: No Solution
Exploring Operation: 79*87=6873, Resulting Numbers: [6873]
6873,16 unequal: No Solution
Exploring Operation: 87-79=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,3,2
Current State: 16:[62, 104], Operations: ['83-4=79', '25+79=104']
Exploring Operation: 104-62=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 62+104=166, Resulting Numbers: [166]
166,16 unequal: No Solution
Exploring Operation: 62*104=6448, Resulting Numbers: [6448]
6448,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,2
Current State: 16:[4, 4], Operations: ['83-62=21', '25-21=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[4, 83, 25, 62], Operations: []
Exploring Operation: 83-62=21, Resulting Numbers: [4, 25, 21]
Generated Node #0,4: 16:[4, 25, 21] Operation: 83-62=21
Moving to Node #0,4
Current State: 16:[4, 25, 21], Operations: ['83-62=21']
Exploring Operation: 25-21=4, Resulting Numbers: [4, 4]
Generated Node #0,4,2: 16:[4, 4] Operation: 25-21=4
Moving to Node #0,4,2
Current State: 16:[4, 4], Operations: ['83-62=21', '25-21=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.94184 | hs_5 | sum_heuristic |
[
23,
90,
5,
75
] | 82 | [
"90-23=67",
"75/5=15",
"67+15=82"
] | Current State: 82:[23, 90, 5, 75], Operations: []
Exploring Operation: 90-23=67, Resulting Numbers: [5, 75, 67]
Generated Node #2: [5, 75, 67] from Operation: 90-23=67
Current State: 82:[5, 75, 67], Operations: ['90-23=67']
Exploring Operation: 75/5=15, Resulting Numbers: [67, 15]
Generated Node #3: [67, 15] from Operation: 75/5=15
Current State: 82:[67, 15], Operations: ['90-23=67', '75/5=15']
Exploring Operation: 67+15=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[23, 90, 5, 75], Operations: []
Exploring Operation: 90-23=67, Resulting Numbers: [5, 75, 67]
Generated Node #0,0: 82:[5, 75, 67] Operation: 90-23=67
Exploring Operation: 23+5=28, Resulting Numbers: [90, 75, 28]
Generated Node #0,1: 82:[90, 75, 28] Operation: 23+5=28
Exploring Operation: 90-5=85, Resulting Numbers: [23, 75, 85]
Generated Node #0,2: 82:[23, 75, 85] Operation: 90-5=85
Exploring Operation: 23+75=98, Resulting Numbers: [90, 5, 98]
Generated Node #0,3: 82:[90, 5, 98] Operation: 23+75=98
Exploring Operation: 75-23=52, Resulting Numbers: [90, 5, 52]
Generated Node #0,4: 82:[90, 5, 52] Operation: 75-23=52
Moving to Node #0,4
Current State: 82:[90, 5, 52], Operations: ['75-23=52']
Exploring Operation: 52-5=47, Resulting Numbers: [90, 47]
Generated Node #0,4,0: 82:[90, 47] Operation: 52-5=47
Exploring Operation: 90-5=85, Resulting Numbers: [52, 85]
Generated Node #0,4,1: 82:[52, 85] Operation: 90-5=85
Exploring Operation: 90+5=95, Resulting Numbers: [52, 95]
Generated Node #0,4,2: 82:[52, 95] Operation: 90+5=95
Exploring Operation: 5+52=57, Resulting Numbers: [90, 57]
Generated Node #0,4,3: 82:[90, 57] Operation: 5+52=57
Exploring Operation: 90-52=38, Resulting Numbers: [5, 38]
Generated Node #0,4,4: 82:[5, 38] Operation: 90-52=38
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 82:[5, 38], Operations: ['75-23=52', '90-52=38']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,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,4,0
Current State: 82:[90, 47], Operations: ['75-23=52', '52-5=47']
Exploring Operation: 90+47=137, Resulting Numbers: [137]
137,82 unequal: No Solution
Exploring Operation: 90-47=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 90*47=4230, Resulting Numbers: [4230]
4230,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,4,1
Current State: 82:[52, 85], Operations: ['75-23=52', '90-5=85']
Exploring Operation: 85-52=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Exploring Operation: 52+85=137, Resulting Numbers: [137]
137,82 unequal: No Solution
Exploring Operation: 52*85=4420, Resulting Numbers: [4420]
4420,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,4,2
Current State: 82:[52, 95], Operations: ['75-23=52', '90+5=95']
Exploring Operation: 95-52=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 52+95=147, Resulting Numbers: [147]
147,82 unequal: No Solution
Exploring Operation: 52*95=4940, Resulting Numbers: [4940]
4940,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,4,3
Current State: 82:[90, 57], Operations: ['75-23=52', '5+52=57']
Exploring Operation: 90*57=5130, Resulting Numbers: [5130]
5130,82 unequal: No Solution
Exploring Operation: 90-57=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Exploring Operation: 90+57=147, Resulting Numbers: [147]
147,82 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: 82:[5, 75, 67], Operations: ['90-23=67']
Exploring Operation: 75-67=8, Resulting Numbers: [5, 8]
Generated Node #0,0,0: 82:[5, 8] Operation: 75-67=8
Exploring Operation: 5+67=72, Resulting Numbers: [75, 72]
Generated Node #0,0,1: 82:[75, 72] Operation: 5+67=72
Exploring Operation: 75-5=70, Resulting Numbers: [67, 70]
Generated Node #0,0,2: 82:[67, 70] Operation: 75-5=70
Exploring Operation: 5+75=80, Resulting Numbers: [67, 80]
Generated Node #0,0,3: 82:[67, 80] Operation: 5+75=80
Exploring Operation: 67-5=62, Resulting Numbers: [75, 62]
Generated Node #0,0,4: 82:[75, 62] Operation: 67-5=62
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[5, 8], Operations: ['90-23=67', '75-67=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,82 unequal: No Solution
Exploring Operation: 8-5=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,0,1
Current State: 82:[75, 72], Operations: ['90-23=67', '5+67=72']
Exploring Operation: 75*72=5400, Resulting Numbers: [5400]
5400,82 unequal: No Solution
Exploring Operation: 75+72=147, Resulting Numbers: [147]
147,82 unequal: No Solution
Exploring Operation: 75-72=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,0,3
Current State: 82:[67, 80], Operations: ['90-23=67', '5+75=80']
Exploring Operation: 67*80=5360, Resulting Numbers: [5360]
5360,82 unequal: No Solution
Exploring Operation: 80-67=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 67+80=147, Resulting Numbers: [147]
147,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 82:[67, 70], Operations: ['90-23=67', '75-5=70']
Exploring Operation: 70-67=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 67+70=137, Resulting Numbers: [137]
137,82 unequal: No Solution
Exploring Operation: 67*70=4690, Resulting Numbers: [4690]
4690,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 82:[75, 62], Operations: ['90-23=67', '67-5=62']
Exploring Operation: 75-62=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 75*62=4650, Resulting Numbers: [4650]
4650,82 unequal: No Solution
Exploring Operation: 75+62=137, Resulting Numbers: [137]
137,82 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: 82:[90, 5, 98], Operations: ['23+75=98']
Exploring Operation: 90+5=95, Resulting Numbers: [98, 95]
Generated Node #0,3,0: 82:[98, 95] Operation: 90+5=95
Exploring Operation: 5+98=103, Resulting Numbers: [90, 103]
Generated Node #0,3,1: 82:[90, 103] Operation: 5+98=103
Exploring Operation: 98-90=8, Resulting Numbers: [5, 8]
Generated Node #0,3,2: 82:[5, 8] Operation: 98-90=8
Exploring Operation: 98-5=93, Resulting Numbers: [90, 93]
Generated Node #0,3,3: 82:[90, 93] Operation: 98-5=93
Exploring Operation: 90-5=85, Resulting Numbers: [98, 85]
Generated Node #0,3,4: 82:[98, 85] Operation: 90-5=85
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 82:[5, 8], Operations: ['23+75=98', '98-90=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,82 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,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,3,3
Current State: 82:[90, 93], Operations: ['23+75=98', '98-5=93']
Exploring Operation: 90*93=8370, Resulting Numbers: [8370]
8370,82 unequal: No Solution
Exploring Operation: 90+93=183, Resulting Numbers: [183]
183,82 unequal: No Solution
Exploring Operation: 93-90=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,3,4
Current State: 82:[98, 85], Operations: ['23+75=98', '90-5=85']
Exploring Operation: 98*85=8330, Resulting Numbers: [8330]
8330,82 unequal: No Solution
Exploring Operation: 98+85=183, Resulting Numbers: [183]
183,82 unequal: No Solution
Exploring Operation: 98-85=13, Resulting Numbers: [13]
13,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,3,0
Current State: 82:[98, 95], Operations: ['23+75=98', '90+5=95']
Exploring Operation: 98-95=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 98*95=9310, Resulting Numbers: [9310]
9310,82 unequal: No Solution
Exploring Operation: 98+95=193, Resulting Numbers: [193]
193,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,3,1
Current State: 82:[90, 103], Operations: ['23+75=98', '5+98=103']
Exploring Operation: 90+103=193, Resulting Numbers: [193]
193,82 unequal: No Solution
Exploring Operation: 103-90=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 90*103=9270, Resulting Numbers: [9270]
9270,82 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: 82:[90, 75, 28], Operations: ['23+5=28']
Exploring Operation: 90-28=62, Resulting Numbers: [75, 62]
Generated Node #0,1,0: 82:[75, 62] Operation: 90-28=62
Exploring Operation: 75+28=103, Resulting Numbers: [90, 103]
Generated Node #0,1,1: 82:[90, 103] Operation: 75+28=103
Exploring Operation: 90-75=15, Resulting Numbers: [28, 15]
Generated Node #0,1,2: 82:[28, 15] Operation: 90-75=15
Exploring Operation: 75-28=47, Resulting Numbers: [90, 47]
Generated Node #0,1,3: 82:[90, 47] Operation: 75-28=47
Exploring Operation: 90+28=118, Resulting Numbers: [75, 118]
Generated Node #0,1,4: 82:[75, 118] Operation: 90+28=118
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 82:[90, 47], Operations: ['23+5=28', '75-28=47']
Exploring Operation: 90-47=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 90*47=4230, Resulting Numbers: [4230]
4230,82 unequal: No Solution
Exploring Operation: 90+47=137, Resulting Numbers: [137]
137,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:[28, 15], Operations: ['23+5=28', '90-75=15']
Exploring Operation: 28+15=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 28*15=420, Resulting Numbers: [420]
420,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,0
Current State: 82:[75, 62], Operations: ['23+5=28', '90-28=62']
Exploring Operation: 75-62=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 75*62=4650, Resulting Numbers: [4650]
4650,82 unequal: No Solution
Exploring Operation: 75+62=137, Resulting Numbers: [137]
137,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:[90, 103], Operations: ['23+5=28', '75+28=103']
Exploring Operation: 103-90=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 90*103=9270, Resulting Numbers: [9270]
9270,82 unequal: No Solution
Exploring Operation: 90+103=193, Resulting Numbers: [193]
193,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:[75, 118], Operations: ['23+5=28', '90+28=118']
Exploring Operation: 75*118=8850, Resulting Numbers: [8850]
8850,82 unequal: No Solution
Exploring Operation: 75+118=193, Resulting Numbers: [193]
193,82 unequal: No Solution
Exploring Operation: 118-75=43, Resulting Numbers: [43]
43,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 82:[23, 75, 85], Operations: ['90-5=85']
Exploring Operation: 23+75=98, Resulting Numbers: [85, 98]
Generated Node #0,2,0: 82:[85, 98] Operation: 23+75=98
Exploring Operation: 85-75=10, Resulting Numbers: [23, 10]
Generated Node #0,2,1: 82:[23, 10] Operation: 85-75=10
Exploring Operation: 75-23=52, Resulting Numbers: [85, 52]
Generated Node #0,2,2: 82:[85, 52] Operation: 75-23=52
Exploring Operation: 23+85=108, Resulting Numbers: [75, 108]
Generated Node #0,2,3: 82:[75, 108] Operation: 23+85=108
Exploring Operation: 85-23=62, Resulting Numbers: [75, 62]
Generated Node #0,2,4: 82:[75, 62] Operation: 85-23=62
Moving to Node #0,2,2
Current State: 82:[85, 52], Operations: ['90-5=85', '75-23=52']
Exploring Operation: 85+52=137, Resulting Numbers: [137]
137,82 unequal: No Solution
Exploring Operation: 85*52=4420, Resulting Numbers: [4420]
4420,82 unequal: No Solution
Exploring Operation: 85-52=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[85, 98], Operations: ['90-5=85', '23+75=98']
Exploring Operation: 85*98=8330, Resulting Numbers: [8330]
8330,82 unequal: No Solution
Exploring Operation: 85+98=183, Resulting Numbers: [183]
183,82 unequal: No Solution
Exploring Operation: 98-85=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[23, 10], Operations: ['90-5=85', '85-75=10']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 23*10=230, Resulting Numbers: [230]
230,82 unequal: No Solution
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Moving to Node #0,2,4
Current State: 82:[75, 62], Operations: ['90-5=85', '85-23=62']
Exploring Operation: 75-62=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 75+62=137, Resulting Numbers: [137]
137,82 unequal: No Solution
Exploring Operation: 75*62=4650, Resulting Numbers: [4650]
4650,82 unequal: No Solution
Moving to Node #0,2,3
Current State: 82:[75, 108], Operations: ['90-5=85', '23+85=108']
Exploring Operation: 108-75=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Exploring Operation: 75+108=183, Resulting Numbers: [183]
183,82 unequal: No Solution
Exploring Operation: 75*108=8100, Resulting Numbers: [8100]
8100,82 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
94,
49,
48,
9
] | 12 | [
"94-49=45",
"48+9=57",
"57-45=12"
] | Current State: 12:[94, 49, 48, 9], Operations: []
Exploring Operation: 94-49=45, Resulting Numbers: [48, 9, 45]
Generated Node #2: [48, 9, 45] from Operation: 94-49=45
Current State: 12:[48, 9, 45], Operations: ['94-49=45']
Exploring Operation: 48+9=57, Resulting Numbers: [45, 57]
Generated Node #3: [45, 57] from Operation: 48+9=57
Current State: 12:[45, 57], Operations: ['94-49=45', '48+9=57']
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[94, 49, 48, 9], Operations: []
Exploring Operation: 94-48=46, Resulting Numbers: [49, 9, 46]
Generated Node #0,0: 12:[49, 9, 46] Operation: 94-48=46
Exploring Operation: 94-49=45, Resulting Numbers: [48, 9, 45]
Generated Node #0,1: 12:[48, 9, 45] Operation: 94-49=45
Moving to Node #0,1
Current State: 12:[48, 9, 45], Operations: ['94-49=45']
Exploring Operation: 45/9=5, Resulting Numbers: [48, 5]
Generated Node #0,1,0: 12:[48, 5] Operation: 45/9=5
Exploring Operation: 48-45=3, Resulting Numbers: [9, 3]
Generated Node #0,1,1: 12:[9, 3] Operation: 48-45=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[9, 3], Operations: ['94-49=45', '48-45=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[94, 49, 48, 9], Operations: []
Exploring Operation: 94-49=45, Resulting Numbers: [48, 9, 45]
Generated Node #0,1: 12:[48, 9, 45] Operation: 94-49=45
Moving to Node #0,1
Current State: 12:[48, 9, 45], Operations: ['94-49=45']
Exploring Operation: 48-45=3, Resulting Numbers: [9, 3]
Generated Node #0,1,1: 12:[9, 3] Operation: 48-45=3
Moving to Node #0,1,1
Current State: 12:[9, 3], Operations: ['94-49=45', '48-45=3']
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
76,
62,
66,
63
] | 10 | [
"76-66=10",
"63-62=1",
"10*1=10"
] | Current State: 10:[76, 62, 66, 63], Operations: []
Exploring Operation: 76-66=10, Resulting Numbers: [62, 63, 10]
Generated Node #2: [62, 63, 10] from Operation: 76-66=10
Current State: 10:[62, 63, 10], Operations: ['76-66=10']
Exploring Operation: 63-62=1, Resulting Numbers: [10, 1]
Generated Node #3: [10, 1] from Operation: 63-62=1
Current State: 10:[10, 1], Operations: ['76-66=10', '63-62=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[76, 62, 66, 63], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [76, 62, 3]
Generated Node #0,0: 10:[76, 62, 3] Operation: 66-63=3
Exploring Operation: 76-62=14, Resulting Numbers: [66, 63, 14]
Generated Node #0,1: 10:[66, 63, 14] Operation: 76-62=14
Exploring Operation: 76-66=10, Resulting Numbers: [62, 63, 10]
Generated Node #0,2: 10:[62, 63, 10] Operation: 76-66=10
Exploring Operation: 76-63=13, Resulting Numbers: [62, 66, 13]
Generated Node #0,3: 10:[62, 66, 13] Operation: 76-63=13
Moving to Node #0,2
Current State: 10:[62, 63, 10], Operations: ['76-66=10']
Exploring Operation: 63-62=1, Resulting Numbers: [10, 1]
Generated Node #0,2,0: 10:[10, 1] Operation: 63-62=1
Exploring Operation: 62+63=125, Resulting Numbers: [10, 125]
Generated Node #0,2,1: 10:[10, 125] Operation: 62+63=125
Exploring Operation: 63-10=53, Resulting Numbers: [62, 53]
Generated Node #0,2,2: 10:[62, 53] Operation: 63-10=53
Exploring Operation: 62-10=52, Resulting Numbers: [63, 52]
Generated Node #0,2,3: 10:[63, 52] Operation: 62-10=52
Moving to Node #0,3
Current State: 10:[62, 66, 13], Operations: ['76-63=13']
Exploring Operation: 66-62=4, Resulting Numbers: [13, 4]
Generated Node #0,3,0: 10:[13, 4] Operation: 66-62=4
Exploring Operation: 62+66=128, Resulting Numbers: [13, 128]
Generated Node #0,3,1: 10:[13, 128] Operation: 62+66=128
Exploring Operation: 62-13=49, Resulting Numbers: [66, 49]
Generated Node #0,3,2: 10:[66, 49] Operation: 62-13=49
Exploring Operation: 66-13=53, Resulting Numbers: [62, 53]
Generated Node #0,3,3: 10:[62, 53] Operation: 66-13=53
Moving to Node #0,1
Current State: 10:[66, 63, 14], Operations: ['76-62=14']
Exploring Operation: 63-14=49, Resulting Numbers: [66, 49]
Generated Node #0,1,0: 10:[66, 49] Operation: 63-14=49
Exploring Operation: 66-14=52, Resulting Numbers: [63, 52]
Generated Node #0,1,1: 10:[63, 52] Operation: 66-14=52
Exploring Operation: 66+63=129, Resulting Numbers: [14, 129]
Generated Node #0,1,2: 10:[14, 129] Operation: 66+63=129
Exploring Operation: 66-63=3, Resulting Numbers: [14, 3]
Generated Node #0,1,3: 10:[14, 3] Operation: 66-63=3
Moving to Node #0,0
Current State: 10:[76, 62, 3], Operations: ['66-63=3']
Exploring Operation: 76-3=73, Resulting Numbers: [62, 73]
Generated Node #0,0,0: 10:[62, 73] Operation: 76-3=73
Exploring Operation: 62-3=59, Resulting Numbers: [76, 59]
Generated Node #0,0,1: 10:[76, 59] Operation: 62-3=59
Exploring Operation: 76+3=79, Resulting Numbers: [62, 79]
Generated Node #0,0,2: 10:[62, 79] Operation: 76+3=79
Exploring Operation: 76-62=14, Resulting Numbers: [3, 14]
Generated Node #0,0,3: 10:[3, 14] Operation: 76-62=14
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 10:[3, 14], Operations: ['66-63=3', '76-62=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[62, 73], Operations: ['66-63=3', '76-3=73']
Exploring Operation: 62+73=135, Resulting Numbers: [135]
135,10 unequal: No Solution
Exploring Operation: 62*73=4526, Resulting Numbers: [4526]
4526,10 unequal: No Solution
Exploring Operation: 73-62=11, Resulting Numbers: [11]
11,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[76, 59], Operations: ['66-63=3', '62-3=59']
Exploring Operation: 76+59=135, Resulting Numbers: [135]
135,10 unequal: No Solution
Exploring Operation: 76*59=4484, Resulting Numbers: [4484]
4484,10 unequal: No Solution
Exploring Operation: 76-59=17, Resulting Numbers: [17]
17,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 10:[62, 79], Operations: ['66-63=3', '76+3=79']
Exploring Operation: 62+79=141, Resulting Numbers: [141]
141,10 unequal: No Solution
Exploring Operation: 62*79=4898, Resulting Numbers: [4898]
4898,10 unequal: No Solution
Exploring Operation: 79-62=17, Resulting Numbers: [17]
17,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 10:[10, 1], Operations: ['76-66=10', '63-62=1']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[76, 62, 66, 63], Operations: []
Exploring Operation: 76-66=10, Resulting Numbers: [62, 63, 10]
Generated Node #0,2: 10:[62, 63, 10] Operation: 76-66=10
Moving to Node #0,2
Current State: 10:[62, 63, 10], Operations: ['76-66=10']
Exploring Operation: 63-62=1, Resulting Numbers: [10, 1]
Generated Node #0,2,0: 10:[10, 1] Operation: 63-62=1
Moving to Node #0,2,0
Current State: 10:[10, 1], Operations: ['76-66=10', '63-62=1']
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.966146 | hs_4 | sum_heuristic |
[
4,
57,
91,
73
] | 98 | [
"91+73=164",
"164/4=41",
"57+41=98"
] | Current State: 98:[4, 57, 91, 73], Operations: []
Exploring Operation: 91+73=164, Resulting Numbers: [4, 57, 164]
Generated Node #2: [4, 57, 164] from Operation: 91+73=164
Current State: 98:[4, 57, 164], Operations: ['91+73=164']
Exploring Operation: 164/4=41, Resulting Numbers: [57, 41]
Generated Node #3: [57, 41] from Operation: 164/4=41
Current State: 98:[57, 41], Operations: ['91+73=164', '164/4=41']
Exploring Operation: 57+41=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[4, 57, 91, 73], Operations: []
Exploring Operation: 73-57=16, Resulting Numbers: [4, 91, 16]
Generated Node #0,0: 98:[4, 91, 16] Operation: 73-57=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[4, 91, 16], Operations: ['73-57=16']
Exploring Operation: 4+91=95, Resulting Numbers: [16, 95]
Generated Node #0,0,0: 98:[16, 95] Operation: 4+91=95
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[16, 95], Operations: ['73-57=16', '4+91=95']
Exploring Operation: 16+95=111, Resulting Numbers: [111]
111,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
21,
52,
24,
77
] | 96 | [
"21+52=73",
"77-73=4",
"24*4=96"
] | Current State: 96:[21, 52, 24, 77], Operations: []
Exploring Operation: 21+52=73, Resulting Numbers: [24, 77, 73]
Generated Node #2: [24, 77, 73] from Operation: 21+52=73
Current State: 96:[24, 77, 73], Operations: ['21+52=73']
Exploring Operation: 77-73=4, Resulting Numbers: [24, 4]
Generated Node #3: [24, 4] from Operation: 77-73=4
Current State: 96:[24, 4], Operations: ['21+52=73', '77-73=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[21, 52, 24, 77], Operations: []
Exploring Operation: 21+77=98, Resulting Numbers: [52, 24, 98]
Generated Node #0,0: 96:[52, 24, 98] Operation: 21+77=98
Exploring Operation: 77-52=25, Resulting Numbers: [21, 24, 25]
Generated Node #0,1: 96:[21, 24, 25] Operation: 77-52=25
Exploring Operation: 77-21=56, Resulting Numbers: [52, 24, 56]
Generated Node #0,2: 96:[52, 24, 56] Operation: 77-21=56
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[21, 24, 25], Operations: ['77-52=25']
Exploring Operation: 21+25=46, Resulting Numbers: [24, 46]
Generated Node #0,1,0: 96:[24, 46] Operation: 21+25=46
Exploring Operation: 25-21=4, Resulting Numbers: [24, 4]
Generated Node #0,1,1: 96:[24, 4] Operation: 25-21=4
Exploring Operation: 24-21=3, Resulting Numbers: [25, 3]
Generated Node #0,1,2: 96:[25, 3] Operation: 24-21=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[24, 4], Operations: ['77-52=25', '25-21=4']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[21, 52, 24, 77], Operations: []
Exploring Operation: 77-52=25, Resulting Numbers: [21, 24, 25]
Generated Node #0,1: 96:[21, 24, 25] Operation: 77-52=25
Moving to Node #0,1
Current State: 96:[21, 24, 25], Operations: ['77-52=25']
Exploring Operation: 25-21=4, Resulting Numbers: [24, 4]
Generated Node #0,1,1: 96:[24, 4] Operation: 25-21=4
Moving to Node #0,1,1
Current State: 96:[24, 4], Operations: ['77-52=25', '25-21=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
46,
34,
76,
92
] | 55 | [
"92/46=2",
"34+76=110",
"110/2=55"
] | Current State: 55:[46, 34, 76, 92], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [34, 76, 2]
Generated Node #2: [34, 76, 2] from Operation: 92/46=2
Current State: 55:[34, 76, 2], Operations: ['92/46=2']
Exploring Operation: 34+76=110, Resulting Numbers: [2, 110]
Generated Node #3: [2, 110] from Operation: 34+76=110
Current State: 55:[2, 110], Operations: ['92/46=2', '34+76=110']
Exploring Operation: 110/2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[46, 34, 76, 92], Operations: []
Exploring Operation: 92-34=58, Resulting Numbers: [46, 76, 58]
Generated Node #0,0: 55:[46, 76, 58] Operation: 92-34=58
Exploring Operation: 92-76=16, Resulting Numbers: [46, 34, 16]
Generated Node #0,1: 55:[46, 34, 16] Operation: 92-76=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[46, 76, 58], Operations: ['92-34=58']
Exploring Operation: 76-58=18, Resulting Numbers: [46, 18]
Generated Node #0,0,0: 55:[46, 18] Operation: 76-58=18
Exploring Operation: 76-46=30, Resulting Numbers: [58, 30]
Generated Node #0,0,1: 55:[58, 30] Operation: 76-46=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[46, 18], Operations: ['92-34=58', '76-58=18']
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,55 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 55:[58, 30], Operations: ['92-34=58', '76-46=30']
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 58+30=88, Resulting Numbers: [88]
88,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[46, 34, 16], Operations: ['92-76=16']
Exploring Operation: 46-34=12, Resulting Numbers: [16, 12]
Generated Node #0,1,0: 55:[16, 12] Operation: 46-34=12
Exploring Operation: 34+16=50, Resulting Numbers: [46, 50]
Generated Node #0,1,1: 55:[46, 50] Operation: 34+16=50
Moving to Node #0,1,0
Current State: 55:[16, 12], Operations: ['92-76=16', '46-34=12']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[46, 50], Operations: ['92-76=16', '34+16=50']
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 46+50=96, Resulting Numbers: [96]
96,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
7,
79,
1,
1
] | 87 | [
"7+79=86",
"1*1=1",
"86+1=87"
] | Current State: 87:[7, 79, 1, 1], Operations: []
Exploring Operation: 7+79=86, Resulting Numbers: [1, 1, 86]
Generated Node #2: [1, 1, 86] from Operation: 7+79=86
Current State: 87:[1, 1, 86], Operations: ['7+79=86']
Exploring Operation: 1*1=1, Resulting Numbers: [86, 1]
Generated Node #3: [86, 1] from Operation: 1*1=1
Current State: 87:[86, 1], Operations: ['7+79=86', '1*1=1']
Exploring Operation: 86+1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[7, 79, 1, 1], Operations: []
Exploring Operation: 79+1=80, Resulting Numbers: [7, 1, 80]
Generated Node #0,0: 87:[7, 1, 80] Operation: 79+1=80
Exploring Operation: 79+1=80, Resulting Numbers: [7, 1, 80]
Generated Node #0,1: 87:[7, 1, 80] Operation: 79+1=80
Exploring Operation: 7-1=6, Resulting Numbers: [79, 1, 6]
Generated Node #0,2: 87:[79, 1, 6] Operation: 7-1=6
Exploring Operation: 7+79=86, Resulting Numbers: [1, 1, 86]
Generated Node #0,3: 87:[1, 1, 86] Operation: 7+79=86
Exploring Operation: 7-1=6, Resulting Numbers: [79, 1, 6]
Generated Node #0,4: 87:[79, 1, 6] Operation: 7-1=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[1, 1, 86], Operations: ['7+79=86']
Exploring Operation: 1+86=87, Resulting Numbers: [1, 87]
Generated Node #0,3,0: 87:[1, 87] Operation: 1+86=87
Exploring Operation: 1*1=1, Resulting Numbers: [86, 1]
Generated Node #0,3,1: 87:[86, 1] Operation: 1*1=1
Exploring Operation: 1+1=2, Resulting Numbers: [86, 2]
Generated Node #0,3,2: 87:[86, 2] Operation: 1+1=2
Exploring Operation: 1/1=1, Resulting Numbers: [86, 1]
Generated Node #0,3,3: 87:[86, 1] Operation: 1/1=1
Exploring Operation: 1+86=87, Resulting Numbers: [1, 87]
Generated Node #0,3,4: 87:[1, 87] Operation: 1+86=87
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 87:[1, 87], Operations: ['7+79=86', '1+86=87']
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[7, 79, 1, 1], Operations: []
Exploring Operation: 7+79=86, Resulting Numbers: [1, 1, 86]
Generated Node #0,3: 87:[1, 1, 86] Operation: 7+79=86
Moving to Node #0,3
Current State: 87:[1, 1, 86], Operations: ['7+79=86']
Exploring Operation: 1+86=87, Resulting Numbers: [1, 87]
Generated Node #0,3,0: 87:[1, 87] Operation: 1+86=87
Moving to Node #0,3,0
Current State: 87:[1, 87], Operations: ['7+79=86', '1+86=87']
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
10,
2,
2,
74
] | 84 | [
"10+2=12",
"74-2=72",
"12+72=84"
] | Current State: 84:[10, 2, 2, 74], Operations: []
Exploring Operation: 10+2=12, Resulting Numbers: [74, 12]
Generated Node #2: [74, 12] from Operation: 10+2=12
Current State: 84:[74, 12], Operations: ['10+2=12']
Exploring Operation: 74-2=72, Resulting Numbers: [12, 72]
Generated Node #3: [12, 72] from Operation: 74-2=72
Current State: 84:[12, 72], Operations: ['10+2=12', '74-2=72']
Exploring Operation: 12+72=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[10, 2, 2, 74], Operations: []
Exploring Operation: 10+74=84, Resulting Numbers: [2, 2, 84]
Generated Node #0,0: 84:[2, 2, 84] Operation: 10+74=84
Exploring Operation: 74/2=37, Resulting Numbers: [10, 2, 37]
Generated Node #0,1: 84:[10, 2, 37] Operation: 74/2=37
Moving to Node #0,0
Current State: 84:[2, 2, 84], Operations: ['10+74=84']
Exploring Operation: 2+2=4, Resulting Numbers: [84, 4]
Generated Node #0,0,0: 84:[84, 4] Operation: 2+2=4
Exploring Operation: 2*2=4, Resulting Numbers: [84, 4]
Generated Node #0,0,1: 84:[84, 4] Operation: 2*2=4
Moving to Node #0,1
Current State: 84:[10, 2, 37], Operations: ['74/2=37']
Exploring Operation: 10+2=12, Resulting Numbers: [37, 12]
Generated Node #0,1,0: 84:[37, 12] Operation: 10+2=12
Exploring Operation: 37-10=27, Resulting Numbers: [2, 27]
Generated Node #0,1,1: 84:[2, 27] Operation: 37-10=27
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[2, 27], Operations: ['74/2=37', '37-10=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,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,0
Current State: 84:[37, 12], Operations: ['74/2=37', '10+2=12']
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,84 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,84 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: 84:[84, 4], Operations: ['10+74=84', '2+2=4']
Exploring Operation: 84+4=88, Resulting Numbers: [88]
88,84 unequal: No Solution
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[84, 4], Operations: ['10+74=84', '2*2=4']
Exploring Operation: 84+4=88, Resulting Numbers: [88]
88,84 unequal: No Solution
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,84 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
58,
60,
79,
55
] | 99 | [
"58-55=3",
"60/3=20",
"79+20=99"
] | Current State: 99:[58, 60, 79, 55], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [60, 79, 3]
Generated Node #2: [60, 79, 3] from Operation: 58-55=3
Current State: 99:[60, 79, 3], Operations: ['58-55=3']
Exploring Operation: 60/3=20, Resulting Numbers: [79, 20]
Generated Node #3: [79, 20] from Operation: 60/3=20
Current State: 99:[79, 20], Operations: ['58-55=3', '60/3=20']
Exploring Operation: 79+20=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[58, 60, 79, 55], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [60, 79, 3]
Generated Node #0,0: 99:[60, 79, 3] Operation: 58-55=3
Exploring Operation: 60-55=5, Resulting Numbers: [58, 79, 5]
Generated Node #0,1: 99:[58, 79, 5] Operation: 60-55=5
Exploring Operation: 60-58=2, Resulting Numbers: [79, 55, 2]
Generated Node #0,2: 99:[79, 55, 2] Operation: 60-58=2
Exploring Operation: 79-60=19, Resulting Numbers: [58, 55, 19]
Generated Node #0,3: 99:[58, 55, 19] Operation: 79-60=19
Moving to Node #0,2
Current State: 99:[79, 55, 2], Operations: ['60-58=2']
Exploring Operation: 79+2=81, Resulting Numbers: [55, 81]
Generated Node #0,2,0: 99:[55, 81] Operation: 79+2=81
Exploring Operation: 79-55=24, Resulting Numbers: [2, 24]
Generated Node #0,2,1: 99:[2, 24] Operation: 79-55=24
Exploring Operation: 79+55=134, Resulting Numbers: [2, 134]
Generated Node #0,2,2: 99:[2, 134] Operation: 79+55=134
Exploring Operation: 55*2=110, Resulting Numbers: [79, 110]
Generated Node #0,2,3: 99:[79, 110] Operation: 55*2=110
Moving to Node #0,1
Current State: 99:[58, 79, 5], Operations: ['60-55=5']
Exploring Operation: 58-5=53, Resulting Numbers: [79, 53]
Generated Node #0,1,0: 99:[79, 53] Operation: 58-5=53
Exploring Operation: 58+79=137, Resulting Numbers: [5, 137]
Generated Node #0,1,1: 99:[5, 137] Operation: 58+79=137
Exploring Operation: 79-58=21, Resulting Numbers: [5, 21]
Generated Node #0,1,2: 99:[5, 21] Operation: 79-58=21
Exploring Operation: 79+5=84, Resulting Numbers: [58, 84]
Generated Node #0,1,3: 99:[58, 84] Operation: 79+5=84
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 99:[5, 21], Operations: ['60-55=5', '79-58=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,99 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[79, 53], Operations: ['60-55=5', '58-5=53']
Exploring Operation: 79+53=132, Resulting Numbers: [132]
132,99 unequal: No Solution
Exploring Operation: 79*53=4187, Resulting Numbers: [4187]
4187,99 unequal: No Solution
Exploring Operation: 79-53=26, Resulting Numbers: [26]
26,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[5, 137], Operations: ['60-55=5', '58+79=137']
Exploring Operation: 5+137=142, Resulting Numbers: [142]
142,99 unequal: No Solution
Exploring Operation: 137-5=132, Resulting Numbers: [132]
132,99 unequal: No Solution
Exploring Operation: 5*137=685, Resulting Numbers: [685]
685,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 99:[58, 84], Operations: ['60-55=5', '79+5=84']
Exploring Operation: 58+84=142, Resulting Numbers: [142]
142,99 unequal: No Solution
Exploring Operation: 84-58=26, Resulting Numbers: [26]
26,99 unequal: No Solution
Exploring Operation: 58*84=4872, Resulting Numbers: [4872]
4872,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 99:[60, 79, 3], Operations: ['58-55=3']
Exploring Operation: 60-3=57, Resulting Numbers: [79, 57]
Generated Node #0,0,0: 99:[79, 57] Operation: 60-3=57
Exploring Operation: 60/3=20, Resulting Numbers: [79, 20]
Generated Node #0,0,1: 99:[79, 20] Operation: 60/3=20
Exploring Operation: 60+79=139, Resulting Numbers: [3, 139]
Generated Node #0,0,2: 99:[3, 139] Operation: 60+79=139
Exploring Operation: 79-60=19, Resulting Numbers: [3, 19]
Generated Node #0,0,3: 99:[3, 19] Operation: 79-60=19
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 99:[3, 19], Operations: ['58-55=3', '79-60=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[79, 20], Operations: ['58-55=3', '60/3=20']
Exploring Operation: 79-20=59, Resulting Numbers: [59]
59,99 unequal: No Solution
Exploring Operation: 79+20=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[58, 60, 79, 55], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [60, 79, 3]
Generated Node #0,0: 99:[60, 79, 3] Operation: 58-55=3
Moving to Node #0,0
Current State: 99:[60, 79, 3], Operations: ['58-55=3']
Exploring Operation: 60/3=20, Resulting Numbers: [79, 20]
Generated Node #0,0,1: 99:[79, 20] Operation: 60/3=20
Moving to Node #0,0,1
Current State: 99:[79, 20], Operations: ['58-55=3', '60/3=20']
Exploring Operation: 79+20=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | sum_heuristic |
[
78,
9,
76,
94
] | 68 | [
"94-78=16",
"9*16=144",
"144-76=68"
] | Current State: 68:[78, 9, 76, 94], Operations: []
Exploring Operation: 94-78=16, Resulting Numbers: [9, 76, 16]
Generated Node #2: [9, 76, 16] from Operation: 94-78=16
Current State: 68:[9, 76, 16], Operations: ['94-78=16']
Exploring Operation: 9*16=144, Resulting Numbers: [76, 144]
Generated Node #3: [76, 144] from Operation: 9*16=144
Current State: 68:[76, 144], Operations: ['94-78=16', '9*16=144']
Exploring Operation: 144-76=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[78, 9, 76, 94], Operations: []
Exploring Operation: 94-78=16, Resulting Numbers: [9, 76, 16]
Generated Node #0,0: 68:[9, 76, 16] Operation: 94-78=16
Exploring Operation: 78-9=69, Resulting Numbers: [76, 94, 69]
Generated Node #0,1: 68:[76, 94, 69] Operation: 78-9=69
Exploring Operation: 78-76=2, Resulting Numbers: [9, 94, 2]
Generated Node #0,2: 68:[9, 94, 2] Operation: 78-76=2
Exploring Operation: 94-9=85, Resulting Numbers: [78, 76, 85]
Generated Node #0,3: 68:[78, 76, 85] Operation: 94-9=85
Exploring Operation: 94-76=18, Resulting Numbers: [78, 9, 18]
Generated Node #0,4: 68:[78, 9, 18] Operation: 94-76=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[9, 76, 16], Operations: ['94-78=16']
Exploring Operation: 9+76=85, Resulting Numbers: [16, 85]
Generated Node #0,0,0: 68:[16, 85] Operation: 9+76=85
Exploring Operation: 16-9=7, Resulting Numbers: [76, 7]
Generated Node #0,0,1: 68:[76, 7] Operation: 16-9=7
Exploring Operation: 76-16=60, Resulting Numbers: [9, 60]
Generated Node #0,0,2: 68:[9, 60] Operation: 76-16=60
Exploring Operation: 76-9=67, Resulting Numbers: [16, 67]
Generated Node #0,0,3: 68:[16, 67] Operation: 76-9=67
Exploring Operation: 9+16=25, Resulting Numbers: [76, 25]
Generated Node #0,0,4: 68:[76, 25] Operation: 9+16=25
Moving to Node #0,0,3
Current State: 68:[16, 67], Operations: ['94-78=16', '76-9=67']
Exploring Operation: 16*67=1072, Resulting Numbers: [1072]
1072,68 unequal: No Solution
Exploring Operation: 16+67=83, Resulting Numbers: [83]
83,68 unequal: No Solution
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[76, 7], Operations: ['94-78=16', '16-9=7']
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,68 unequal: No Solution
Exploring Operation: 76*7=532, Resulting Numbers: [532]
532,68 unequal: No Solution
Exploring Operation: 76+7=83, Resulting Numbers: [83]
83,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[9, 60], Operations: ['94-78=16', '76-16=60']
Exploring Operation: 9+60=69, Resulting Numbers: [69]
69,68 unequal: No Solution
Exploring Operation: 9*60=540, Resulting Numbers: [540]
540,68 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Moving to Node #0,0,4
Current State: 68:[76, 25], Operations: ['94-78=16', '9+16=25']
Exploring Operation: 76*25=1900, Resulting Numbers: [1900]
1900,68 unequal: No Solution
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Exploring Operation: 76+25=101, Resulting Numbers: [101]
101,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[16, 85], Operations: ['94-78=16', '9+76=85']
Exploring Operation: 85-16=69, Resulting Numbers: [69]
69,68 unequal: No Solution
Exploring Operation: 16*85=1360, Resulting Numbers: [1360]
1360,68 unequal: No Solution
Exploring Operation: 16+85=101, Resulting Numbers: [101]
101,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,4
Current State: 68:[78, 9, 18], Operations: ['94-76=18']
Exploring Operation: 18-9=9, Resulting Numbers: [78, 9]
Generated Node #0,4,0: 68:[78, 9] Operation: 18-9=9
Exploring Operation: 78-9=69, Resulting Numbers: [18, 69]
Generated Node #0,4,1: 68:[18, 69] Operation: 78-9=69
Exploring Operation: 78-18=60, Resulting Numbers: [9, 60]
Generated Node #0,4,2: 68:[9, 60] Operation: 78-18=60
Exploring Operation: 18/9=2, Resulting Numbers: [78, 2]
Generated Node #0,4,3: 68:[78, 2] Operation: 18/9=2
Exploring Operation: 9+18=27, Resulting Numbers: [78, 27]
Generated Node #0,4,4: 68:[78, 27] Operation: 9+18=27
Moving to Node #0,4,1
Current State: 68:[18, 69], Operations: ['94-76=18', '78-9=69']
Exploring Operation: 18*69=1242, Resulting Numbers: [1242]
1242,68 unequal: No Solution
Exploring Operation: 18+69=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Moving to Node #0,4,3
Current State: 68:[78, 2], Operations: ['94-76=18', '18/9=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,68 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,68 unequal: No Solution
Moving to Node #0,4,2
Current State: 68:[9, 60], Operations: ['94-76=18', '78-18=60']
Exploring Operation: 9+60=69, Resulting Numbers: [69]
69,68 unequal: No Solution
Exploring Operation: 9*60=540, Resulting Numbers: [540]
540,68 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Moving to Node #0,4,0
Current State: 68:[78, 9], Operations: ['94-76=18', '18-9=9']
Exploring Operation: 78+9=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,68 unequal: No Solution
Exploring Operation: 78*9=702, Resulting Numbers: [702]
702,68 unequal: No Solution
Moving to Node #0,4,4
Current State: 68:[78, 27], Operations: ['94-76=18', '9+18=27']
Exploring Operation: 78*27=2106, Resulting Numbers: [2106]
2106,68 unequal: No Solution
Exploring Operation: 78+27=105, Resulting Numbers: [105]
105,68 unequal: No Solution
Exploring Operation: 78-27=51, Resulting Numbers: [51]
51,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[9, 94, 2], Operations: ['78-76=2']
Exploring Operation: 9-2=7, Resulting Numbers: [94, 7]
Generated Node #0,2,0: 68:[94, 7] Operation: 9-2=7
Exploring Operation: 94-2=92, Resulting Numbers: [9, 92]
Generated Node #0,2,1: 68:[9, 92] Operation: 94-2=92
Exploring Operation: 9*2=18, Resulting Numbers: [94, 18]
Generated Node #0,2,2: 68:[94, 18] Operation: 9*2=18
Exploring Operation: 94-9=85, Resulting Numbers: [2, 85]
Generated Node #0,2,3: 68:[2, 85] Operation: 94-9=85
Exploring Operation: 94/2=47, Resulting Numbers: [9, 47]
Generated Node #0,2,4: 68:[9, 47] Operation: 94/2=47
Moving to Node #0,2,3
Current State: 68:[2, 85], Operations: ['78-76=2', '94-9=85']
Exploring Operation: 2*85=170, Resulting Numbers: [170]
170,68 unequal: No Solution
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,68 unequal: No Solution
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Moving to Node #0,2,4
Current State: 68:[9, 47], Operations: ['78-76=2', '94/2=47']
Exploring Operation: 9+47=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 9*47=423, Resulting Numbers: [423]
423,68 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[94, 18], Operations: ['78-76=2', '9*2=18']
Exploring Operation: 94+18=112, Resulting Numbers: [112]
112,68 unequal: No Solution
Exploring Operation: 94-18=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 94*18=1692, Resulting Numbers: [1692]
1692,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[94, 7], Operations: ['78-76=2', '9-2=7']
Exploring Operation: 94*7=658, Resulting Numbers: [658]
658,68 unequal: No Solution
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Exploring Operation: 94+7=101, Resulting Numbers: [101]
101,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[9, 92], Operations: ['78-76=2', '94-2=92']
Exploring Operation: 9*92=828, Resulting Numbers: [828]
828,68 unequal: No Solution
Exploring Operation: 92-9=83, Resulting Numbers: [83]
83,68 unequal: No Solution
Exploring Operation: 9+92=101, Resulting Numbers: [101]
101,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[76, 94, 69], Operations: ['78-9=69']
Exploring Operation: 76-69=7, Resulting Numbers: [94, 7]
Generated Node #0,1,0: 68:[94, 7] Operation: 76-69=7
Exploring Operation: 94-69=25, Resulting Numbers: [76, 25]
Generated Node #0,1,1: 68:[76, 25] Operation: 94-69=25
Exploring Operation: 76+69=145, Resulting Numbers: [94, 145]
Generated Node #0,1,2: 68:[94, 145] Operation: 76+69=145
Exploring Operation: 94-76=18, Resulting Numbers: [69, 18]
Generated Node #0,1,3: 68:[69, 18] Operation: 94-76=18
Exploring Operation: 76+94=170, Resulting Numbers: [69, 170]
Generated Node #0,1,4: 68:[69, 170] Operation: 76+94=170
Moving to Node #0,1,3
Current State: 68:[69, 18], Operations: ['78-9=69', '94-76=18']
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Exploring Operation: 69+18=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Exploring Operation: 69*18=1242, Resulting Numbers: [1242]
1242,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[76, 25], Operations: ['78-9=69', '94-69=25']
Exploring Operation: 76+25=101, Resulting Numbers: [101]
101,68 unequal: No Solution
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Exploring Operation: 76*25=1900, Resulting Numbers: [1900]
1900,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[94, 7], Operations: ['78-9=69', '76-69=7']
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Exploring Operation: 94*7=658, Resulting Numbers: [658]
658,68 unequal: No Solution
Exploring Operation: 94+7=101, Resulting Numbers: [101]
101,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[94, 145], Operations: ['78-9=69', '76+69=145']
Exploring Operation: 94+145=239, Resulting Numbers: [239]
239,68 unequal: No Solution
Exploring Operation: 145-94=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Exploring Operation: 94*145=13630, Resulting Numbers: [13630]
13630,68 unequal: No Solution
Moving to Node #0,1,4
Current State: 68:[69, 170], Operations: ['78-9=69', '76+94=170']
Exploring Operation: 69*170=11730, Resulting Numbers: [11730]
11730,68 unequal: No Solution
Exploring Operation: 69+170=239, Resulting Numbers: [239]
239,68 unequal: No Solution
Exploring Operation: 170-69=101, Resulting Numbers: [101]
101,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,3
Current State: 68:[78, 76, 85], Operations: ['94-9=85']
Exploring Operation: 85-76=9, Resulting Numbers: [78, 9]
Generated Node #0,3,0: 68:[78, 9] Operation: 85-76=9
Exploring Operation: 78+76=154, Resulting Numbers: [85, 154]
Generated Node #0,3,1: 68:[85, 154] Operation: 78+76=154
Exploring Operation: 85-78=7, Resulting Numbers: [76, 7]
Generated Node #0,3,2: 68:[76, 7] Operation: 85-78=7
Exploring Operation: 78-76=2, Resulting Numbers: [85, 2]
Generated Node #0,3,3: 68:[85, 2] Operation: 78-76=2
Exploring Operation: 78+85=163, Resulting Numbers: [76, 163]
Generated Node #0,3,4: 68:[76, 163] Operation: 78+85=163
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 68:[76, 7], Operations: ['94-9=85', '85-78=7']
Exploring Operation: 76*7=532, Resulting Numbers: [532]
532,68 unequal: No Solution
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,68 unequal: No Solution
Exploring Operation: 76+7=83, Resulting Numbers: [83]
83,68 unequal: No Solution
No 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: 68:[78, 9], Operations: ['94-9=85', '85-76=9']
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,68 unequal: No Solution
Exploring Operation: 78*9=702, Resulting Numbers: [702]
702,68 unequal: No Solution
Exploring Operation: 78+9=87, Resulting Numbers: [87]
87,68 unequal: No Solution
No 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: 68:[85, 2], Operations: ['94-9=85', '78-76=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,68 unequal: No Solution
Exploring Operation: 85*2=170, Resulting Numbers: [170]
170,68 unequal: No Solution
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,68 unequal: No Solution
No 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: 68:[85, 154], Operations: ['94-9=85', '78+76=154']
Exploring Operation: 85+154=239, Resulting Numbers: [239]
239,68 unequal: No Solution
Exploring Operation: 154-85=69, Resulting Numbers: [69]
69,68 unequal: No Solution
Exploring Operation: 85*154=13090, Resulting Numbers: [13090]
13090,68 unequal: No Solution
No 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: 68:[76, 163], Operations: ['94-9=85', '78+85=163']
Exploring Operation: 76+163=239, Resulting Numbers: [239]
239,68 unequal: No Solution
Exploring Operation: 163-76=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Exploring Operation: 76*163=12388, Resulting Numbers: [12388]
12388,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
63,
10,
45,
55
] | 47 | [
"63-10=53",
"45+55=100",
"100-53=47"
] | Current State: 47:[63, 10, 45, 55], Operations: []
Exploring Operation: 63-10=53, Resulting Numbers: [45, 55, 53]
Generated Node #2: [45, 55, 53] from Operation: 63-10=53
Current State: 47:[45, 55, 53], Operations: ['63-10=53']
Exploring Operation: 45+55=100, Resulting Numbers: [53, 100]
Generated Node #3: [53, 100] from Operation: 45+55=100
Current State: 47:[53, 100], Operations: ['63-10=53', '45+55=100']
Exploring Operation: 100-53=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[63, 10, 45, 55], Operations: []
Exploring Operation: 63-10=53, Resulting Numbers: [45, 55, 53]
Generated Node #0,0: 47:[45, 55, 53] Operation: 63-10=53
Exploring Operation: 63+10=73, Resulting Numbers: [45, 55, 73]
Generated Node #0,1: 47:[45, 55, 73] Operation: 63+10=73
Exploring Operation: 10+45=55, Resulting Numbers: [63, 55, 55]
Generated Node #0,2: 47:[63, 55, 55] Operation: 10+45=55
Exploring Operation: 55-10=45, Resulting Numbers: [63, 45, 45]
Generated Node #0,3: 47:[63, 45, 45] Operation: 55-10=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[45, 55, 53], Operations: ['63-10=53']
Exploring Operation: 55-53=2, Resulting Numbers: [45, 2]
Generated Node #0,0,0: 47:[45, 2] Operation: 55-53=2
Exploring Operation: 53-45=8, Resulting Numbers: [55, 8]
Generated Node #0,0,1: 47:[55, 8] Operation: 53-45=8
Exploring Operation: 45+55=100, Resulting Numbers: [53, 100]
Generated Node #0,0,2: 47:[53, 100] Operation: 45+55=100
Exploring Operation: 55-45=10, Resulting Numbers: [53, 10]
Generated Node #0,0,3: 47:[53, 10] Operation: 55-45=10
Moving to Node #0,0,3
Current State: 47:[53, 10], Operations: ['63-10=53', '55-45=10']
Exploring Operation: 53*10=530, Resulting Numbers: [530]
530,47 unequal: No Solution
Exploring Operation: 53+10=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[55, 8], Operations: ['63-10=53', '53-45=8']
Exploring Operation: 55+8=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[63, 10, 45, 55], Operations: []
Exploring Operation: 63-10=53, Resulting Numbers: [45, 55, 53]
Generated Node #0,0: 47:[45, 55, 53] Operation: 63-10=53
Moving to Node #0,0
Current State: 47:[45, 55, 53], Operations: ['63-10=53']
Exploring Operation: 53-45=8, Resulting Numbers: [55, 8]
Generated Node #0,0,1: 47:[55, 8] Operation: 53-45=8
Moving to Node #0,0,1
Current State: 47:[55, 8], Operations: ['63-10=53', '53-45=8']
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
42,
56,
52,
9
] | 75 | [
"56-42=14",
"52+9=61",
"14+61=75"
] | Current State: 75:[42, 56, 52, 9], Operations: []
Exploring Operation: 56-42=14, Resulting Numbers: [52, 9, 14]
Generated Node #2: [52, 9, 14] from Operation: 56-42=14
Current State: 75:[52, 9, 14], Operations: ['56-42=14']
Exploring Operation: 52+9=61, Resulting Numbers: [14, 61]
Generated Node #3: [14, 61] from Operation: 52+9=61
Current State: 75:[14, 61], Operations: ['56-42=14', '52+9=61']
Exploring Operation: 14+61=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[42, 56, 52, 9], Operations: []
Exploring Operation: 56-52=4, Resulting Numbers: [42, 9, 4]
Generated Node #0,0: 75:[42, 9, 4] Operation: 56-52=4
Moving to Node #0,0
Current State: 75:[42, 9, 4], Operations: ['56-52=4']
Exploring Operation: 42-9=33, Resulting Numbers: [4, 33]
Generated Node #0,0,0: 75:[4, 33] Operation: 42-9=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[4, 33], Operations: ['56-52=4', '42-9=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,75 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 |
[
94,
41,
35,
21
] | 32 | [
"41-35=6",
"21*6=126",
"126-94=32"
] | Current State: 32:[94, 41, 35, 21], Operations: []
Exploring Operation: 41-35=6, Resulting Numbers: [94, 21, 6]
Generated Node #2: [94, 21, 6] from Operation: 41-35=6
Current State: 32:[94, 21, 6], Operations: ['41-35=6']
Exploring Operation: 21*6=126, Resulting Numbers: [94, 126]
Generated Node #3: [94, 126] from Operation: 21*6=126
Current State: 32:[94, 126], Operations: ['41-35=6', '21*6=126']
Exploring Operation: 126-94=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[94, 41, 35, 21], Operations: []
Exploring Operation: 94-41=53, Resulting Numbers: [35, 21, 53]
Generated Node #0,0: 32:[35, 21, 53] Operation: 94-41=53
Moving to Node #0,0
Current State: 32:[35, 21, 53], Operations: ['94-41=53']
Exploring Operation: 53-21=32, Resulting Numbers: [35, 32]
Generated Node #0,0,0: 32:[35, 32] Operation: 53-21=32
Moving to Node #0,0,0
Current State: 32:[35, 32], Operations: ['94-41=53', '53-21=32']
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,32 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
74,
47,
12,
92
] | 77 | [
"74-47=27",
"12+92=104",
"104-27=77"
] | Current State: 77:[74, 47, 12, 92], Operations: []
Exploring Operation: 74-47=27, Resulting Numbers: [12, 92, 27]
Generated Node #2: [12, 92, 27] from Operation: 74-47=27
Current State: 77:[12, 92, 27], Operations: ['74-47=27']
Exploring Operation: 12+92=104, Resulting Numbers: [27, 104]
Generated Node #3: [27, 104] from Operation: 12+92=104
Current State: 77:[27, 104], Operations: ['74-47=27', '12+92=104']
Exploring Operation: 104-27=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[74, 47, 12, 92], Operations: []
Exploring Operation: 74-47=27, Resulting Numbers: [12, 92, 27]
Generated Node #0,0: 77:[12, 92, 27] Operation: 74-47=27
Exploring Operation: 92-47=45, Resulting Numbers: [74, 12, 45]
Generated Node #0,1: 77:[74, 12, 45] Operation: 92-47=45
Exploring Operation: 47+12=59, Resulting Numbers: [74, 92, 59]
Generated Node #0,2: 77:[74, 92, 59] Operation: 47+12=59
Exploring Operation: 92-12=80, Resulting Numbers: [74, 47, 80]
Generated Node #0,3: 77:[74, 47, 80] Operation: 92-12=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[12, 92, 27], Operations: ['74-47=27']
Exploring Operation: 27-12=15, Resulting Numbers: [92, 15]
Generated Node #0,0,0: 77:[92, 15] Operation: 27-12=15
Exploring Operation: 92-12=80, Resulting Numbers: [27, 80]
Generated Node #0,0,1: 77:[27, 80] Operation: 92-12=80
Exploring Operation: 12+92=104, Resulting Numbers: [27, 104]
Generated Node #0,0,2: 77:[27, 104] Operation: 12+92=104
Exploring Operation: 92-27=65, Resulting Numbers: [12, 65]
Generated Node #0,0,3: 77:[12, 65] Operation: 92-27=65
Moving to Node #0,0,3
Current State: 77:[12, 65], Operations: ['74-47=27', '92-27=65']
Exploring Operation: 12+65=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[74, 47, 12, 92], Operations: []
Exploring Operation: 74-47=27, Resulting Numbers: [12, 92, 27]
Generated Node #0,0: 77:[12, 92, 27] Operation: 74-47=27
Moving to Node #0,0
Current State: 77:[12, 92, 27], Operations: ['74-47=27']
Exploring Operation: 92-27=65, Resulting Numbers: [12, 65]
Generated Node #0,0,3: 77:[12, 65] Operation: 92-27=65
Moving to Node #0,0,3
Current State: 77:[12, 65], Operations: ['74-47=27', '92-27=65']
Exploring Operation: 12+65=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
88,
2,
59,
26
] | 28 | [
"88-26=62",
"62/2=31",
"59-31=28"
] | Current State: 28:[88, 2, 59, 26], Operations: []
Exploring Operation: 88-26=62, Resulting Numbers: [2, 59, 62]
Generated Node #2: [2, 59, 62] from Operation: 88-26=62
Current State: 28:[2, 59, 62], Operations: ['88-26=62']
Exploring Operation: 62/2=31, Resulting Numbers: [59, 31]
Generated Node #3: [59, 31] from Operation: 62/2=31
Current State: 28:[59, 31], Operations: ['88-26=62', '62/2=31']
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[88, 2, 59, 26], Operations: []
Exploring Operation: 88-26=62, Resulting Numbers: [2, 59, 62]
Generated Node #0,0: 28:[2, 59, 62] Operation: 88-26=62
Exploring Operation: 88-2=86, Resulting Numbers: [59, 26, 86]
Generated Node #0,1: 28:[59, 26, 86] Operation: 88-2=86
Exploring Operation: 59-26=33, Resulting Numbers: [88, 2, 33]
Generated Node #0,2: 28:[88, 2, 33] Operation: 59-26=33
Exploring Operation: 88/2=44, Resulting Numbers: [59, 26, 44]
Generated Node #0,3: 28:[59, 26, 44] Operation: 88/2=44
Exploring Operation: 88-59=29, Resulting Numbers: [2, 26, 29]
Generated Node #0,4: 28:[2, 26, 29] Operation: 88-59=29
Moving to Node #0,4
Current State: 28:[2, 26, 29], Operations: ['88-59=29']
Exploring Operation: 29-26=3, Resulting Numbers: [2, 3]
Generated Node #0,4,0: 28:[2, 3] Operation: 29-26=3
Exploring Operation: 29-2=27, Resulting Numbers: [26, 27]
Generated Node #0,4,1: 28:[26, 27] Operation: 29-2=27
Exploring Operation: 26-2=24, Resulting Numbers: [29, 24]
Generated Node #0,4,2: 28:[29, 24] Operation: 26-2=24
Exploring Operation: 2+26=28, Resulting Numbers: [29, 28]
Generated Node #0,4,3: 28:[29, 28] Operation: 2+26=28
Exploring Operation: 26/2=13, Resulting Numbers: [29, 13]
Generated Node #0,4,4: 28:[29, 13] Operation: 26/2=13
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 28:[2, 3], Operations: ['88-59=29', '29-26=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,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,4,3
Current State: 28:[29, 28], Operations: ['88-59=29', '2+26=28']
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,28 unequal: No Solution
Exploring Operation: 29*28=812, Resulting Numbers: [812]
812,28 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,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,4,4
Current State: 28:[29, 13], Operations: ['88-59=29', '26/2=13']
Exploring Operation: 29*13=377, Resulting Numbers: [377]
377,28 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,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,4,1
Current State: 28:[26, 27], Operations: ['88-59=29', '29-2=27']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 26*27=702, Resulting Numbers: [702]
702,28 unequal: No Solution
Exploring Operation: 26+27=53, Resulting Numbers: [53]
53,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,4,2
Current State: 28:[29, 24], Operations: ['88-59=29', '26-2=24']
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 29*24=696, Resulting Numbers: [696]
696,28 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,28 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: 28:[59, 26, 44], Operations: ['88/2=44']
Exploring Operation: 59+26=85, Resulting Numbers: [44, 85]
Generated Node #0,3,0: 28:[44, 85] Operation: 59+26=85
Exploring Operation: 59-26=33, Resulting Numbers: [44, 33]
Generated Node #0,3,1: 28:[44, 33] Operation: 59-26=33
Exploring Operation: 26+44=70, Resulting Numbers: [59, 70]
Generated Node #0,3,2: 28:[59, 70] Operation: 26+44=70
Exploring Operation: 59-44=15, Resulting Numbers: [26, 15]
Generated Node #0,3,3: 28:[26, 15] Operation: 59-44=15
Exploring Operation: 44-26=18, Resulting Numbers: [59, 18]
Generated Node #0,3,4: 28:[59, 18] Operation: 44-26=18
Moving to Node #0,0
Current State: 28:[2, 59, 62], Operations: ['88-26=62']
Exploring Operation: 62-2=60, Resulting Numbers: [59, 60]
Generated Node #0,0,0: 28:[59, 60] Operation: 62-2=60
Exploring Operation: 2+59=61, Resulting Numbers: [62, 61]
Generated Node #0,0,1: 28:[62, 61] Operation: 2+59=61
Exploring Operation: 62-59=3, Resulting Numbers: [2, 3]
Generated Node #0,0,2: 28:[2, 3] Operation: 62-59=3
Exploring Operation: 59-2=57, Resulting Numbers: [62, 57]
Generated Node #0,0,3: 28:[62, 57] Operation: 59-2=57
Exploring Operation: 62/2=31, Resulting Numbers: [59, 31]
Generated Node #0,0,4: 28:[59, 31] Operation: 62/2=31
Moving to Node #0,2
Current State: 28:[88, 2, 33], Operations: ['59-26=33']
Exploring Operation: 88-33=55, Resulting Numbers: [2, 55]
Generated Node #0,2,0: 28:[2, 55] Operation: 88-33=55
Exploring Operation: 88+2=90, Resulting Numbers: [33, 90]
Generated Node #0,2,1: 28:[33, 90] Operation: 88+2=90
Exploring Operation: 88-2=86, Resulting Numbers: [33, 86]
Generated Node #0,2,2: 28:[33, 86] Operation: 88-2=86
Exploring Operation: 33-2=31, Resulting Numbers: [88, 31]
Generated Node #0,2,3: 28:[88, 31] Operation: 33-2=31
Exploring Operation: 88/2=44, Resulting Numbers: [33, 44]
Generated Node #0,2,4: 28:[33, 44] Operation: 88/2=44
Moving to Node #0,1
Current State: 28:[59, 26, 86], Operations: ['88-2=86']
Exploring Operation: 86-59=27, Resulting Numbers: [26, 27]
Generated Node #0,1,0: 28:[26, 27] Operation: 86-59=27
Exploring Operation: 59+26=85, Resulting Numbers: [86, 85]
Generated Node #0,1,1: 28:[86, 85] Operation: 59+26=85
Exploring Operation: 59-26=33, Resulting Numbers: [86, 33]
Generated Node #0,1,2: 28:[86, 33] Operation: 59-26=33
Exploring Operation: 86-26=60, Resulting Numbers: [59, 60]
Generated Node #0,1,3: 28:[59, 60] Operation: 86-26=60
Exploring Operation: 26+86=112, Resulting Numbers: [59, 112]
Generated Node #0,1,4: 28:[59, 112] Operation: 26+86=112
Moving to Node #0,0,2
Current State: 28:[2, 3], Operations: ['88-26=62', '62-59=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Moving to Node #0,3,3
Current State: 28:[26, 15], Operations: ['88/2=44', '59-44=15']
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,28 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[26, 27], Operations: ['88-2=86', '86-59=27']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 26+27=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 26*27=702, Resulting Numbers: [702]
702,28 unequal: No Solution
Moving to Node #0,2,4
Current State: 28:[33, 44], Operations: ['59-26=33', '88/2=44']
Exploring Operation: 33*44=1452, Resulting Numbers: [1452]
1452,28 unequal: No Solution
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 33+44=77, Resulting Numbers: [77]
77,28 unequal: No Solution
Moving to Node #0,3,1
Current State: 28:[44, 33], Operations: ['88/2=44', '59-26=33']
Exploring Operation: 44+33=77, Resulting Numbers: [77]
77,28 unequal: No Solution
Exploring Operation: 44*33=1452, Resulting Numbers: [1452]
1452,28 unequal: No Solution
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[2, 55], Operations: ['59-26=33', '88-33=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,28 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,28 unequal: No Solution
Moving to Node #0,0,4
Current State: 28:[59, 31], Operations: ['88-26=62', '62/2=31']
Exploring Operation: 59+31=90, Resulting Numbers: [90]
90,28 unequal: No Solution
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[88, 2, 59, 26], Operations: []
Exploring Operation: 88-26=62, Resulting Numbers: [2, 59, 62]
Generated Node #0,0: 28:[2, 59, 62] Operation: 88-26=62
Moving to Node #0,0
Current State: 28:[2, 59, 62], Operations: ['88-26=62']
Exploring Operation: 62/2=31, Resulting Numbers: [59, 31]
Generated Node #0,0,4: 28:[59, 31] Operation: 62/2=31
Moving to Node #0,0,4
Current State: 28:[59, 31], Operations: ['88-26=62', '62/2=31']
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.940104 | hs_5 | sum_heuristic |
[
50,
72,
17,
4
] | 46 | [
"72-50=22",
"17*4=68",
"68-22=46"
] | Current State: 46:[50, 72, 17, 4], Operations: []
Exploring Operation: 72-50=22, Resulting Numbers: [17, 4, 22]
Generated Node #2: [17, 4, 22] from Operation: 72-50=22
Current State: 46:[17, 4, 22], Operations: ['72-50=22']
Exploring Operation: 17*4=68, Resulting Numbers: [22, 68]
Generated Node #3: [22, 68] from Operation: 17*4=68
Current State: 46:[22, 68], Operations: ['72-50=22', '17*4=68']
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[50, 72, 17, 4], Operations: []
Exploring Operation: 72-17=55, Resulting Numbers: [50, 4, 55]
Generated Node #0,0: 46:[50, 4, 55] Operation: 72-17=55
Exploring Operation: 72-50=22, Resulting Numbers: [17, 4, 22]
Generated Node #0,1: 46:[17, 4, 22] Operation: 72-50=22
Moving to Node #0,1
Current State: 46:[17, 4, 22], Operations: ['72-50=22']
Exploring Operation: 17+4=21, Resulting Numbers: [22, 21]
Generated Node #0,1,0: 46:[22, 21] Operation: 17+4=21
Exploring Operation: 22-17=5, Resulting Numbers: [4, 5]
Generated Node #0,1,1: 46:[4, 5] Operation: 22-17=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[22, 21], Operations: ['72-50=22', '17+4=21']
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[4, 5], Operations: ['72-50=22', '22-17=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,46 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: 46:[50, 4, 55], Operations: ['72-17=55']
Exploring Operation: 50-4=46, Resulting Numbers: [55, 46]
Generated Node #0,0,0: 46:[55, 46] Operation: 50-4=46
Exploring Operation: 55-50=5, Resulting Numbers: [4, 5]
Generated Node #0,0,1: 46:[4, 5] Operation: 55-50=5
Moving to Node #0,0,1
Current State: 46:[4, 5], Operations: ['72-17=55', '55-50=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[55, 46], Operations: ['72-17=55', '50-4=46']
Exploring Operation: 55+46=101, Resulting Numbers: [101]
101,46 unequal: No Solution
Exploring Operation: 55-46=9, Resulting Numbers: [9]
9,46 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
19,
12,
6,
9
] | 61 | [
"19-12=7",
"6*9=54",
"7+54=61"
] | Current State: 61:[19, 12, 6, 9], Operations: []
Exploring Operation: 19-12=7, Resulting Numbers: [6, 9, 7]
Generated Node #2: [6, 9, 7] from Operation: 19-12=7
Current State: 61:[6, 9, 7], Operations: ['19-12=7']
Exploring Operation: 6*9=54, Resulting Numbers: [7, 54]
Generated Node #3: [7, 54] from Operation: 6*9=54
Current State: 61:[7, 54], Operations: ['19-12=7', '6*9=54']
Exploring Operation: 7+54=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[19, 12, 6, 9], Operations: []
Exploring Operation: 6*9=54, Resulting Numbers: [19, 12, 54]
Generated Node #0,0: 61:[19, 12, 54] Operation: 6*9=54
Exploring Operation: 12*6=72, Resulting Numbers: [19, 9, 72]
Generated Node #0,1: 61:[19, 9, 72] Operation: 12*6=72
Moving to Node #0,0
Current State: 61:[19, 12, 54], Operations: ['6*9=54']
Exploring Operation: 19+12=31, Resulting Numbers: [54, 31]
Generated Node #0,0,0: 61:[54, 31] Operation: 19+12=31
Exploring Operation: 12+54=66, Resulting Numbers: [19, 66]
Generated Node #0,0,1: 61:[19, 66] Operation: 12+54=66
Moving to Node #0,1
Current State: 61:[19, 9, 72], Operations: ['12*6=72']
Exploring Operation: 19+9=28, Resulting Numbers: [72, 28]
Generated Node #0,1,0: 61:[72, 28] Operation: 19+9=28
Exploring Operation: 72-9=63, Resulting Numbers: [19, 63]
Generated Node #0,1,1: 61:[19, 63] Operation: 72-9=63
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[72, 28], Operations: ['12*6=72', '19+9=28']
Exploring Operation: 72+28=100, Resulting Numbers: [100]
100,61 unequal: No Solution
Exploring Operation: 72-28=44, Resulting Numbers: [44]
44,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[19, 63], Operations: ['12*6=72', '72-9=63']
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,61 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,61 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: 61:[54, 31], Operations: ['6*9=54', '19+12=31']
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,61 unequal: No Solution
Exploring Operation: 54+31=85, Resulting Numbers: [85]
85,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[19, 66], Operations: ['6*9=54', '12+54=66']
Exploring Operation: 19+66=85, Resulting Numbers: [85]
85,61 unequal: No Solution
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,61 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
64,
22,
68,
22
] | 16 | [
"64+68=132",
"132/22=6",
"22-6=16"
] | Current State: 16:[64, 22, 68, 22], Operations: []
Exploring Operation: 64+68=132, Resulting Numbers: [22, 22, 132]
Generated Node #2: [22, 22, 132] from Operation: 64+68=132
Current State: 16:[22, 22, 132], Operations: ['64+68=132']
Exploring Operation: 132/22=6, Resulting Numbers: [6]
6,16 equal: Goal Reached
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[64, 22, 68, 22], Operations: []
Exploring Operation: 68-22=46, Resulting Numbers: [64, 22, 46]
Generated Node #0,0: 16:[64, 22, 46] Operation: 68-22=46
Exploring Operation: 68-64=4, Resulting Numbers: [22, 22, 4]
Generated Node #0,1: 16:[22, 22, 4] Operation: 68-64=4
Exploring Operation: 64-22=42, Resulting Numbers: [68, 22, 42]
Generated Node #0,2: 16:[68, 22, 42] Operation: 64-22=42
Exploring Operation: 64-22=42, Resulting Numbers: [22, 68, 42]
Generated Node #0,3: 16:[22, 68, 42] Operation: 64-22=42
Moving to Node #0,1
Current State: 16:[22, 22, 4], Operations: ['68-64=4']
Exploring Operation: 22/22=1, Resulting Numbers: [4, 1]
Generated Node #0,1,0: 16:[4, 1] Operation: 22/22=1
Exploring Operation: 22-22=0, Resulting Numbers: [4, 0]
Generated Node #0,1,1: 16:[4, 0] Operation: 22-22=0
Exploring Operation: 22-4=18, Resulting Numbers: [22, 18]
Generated Node #0,1,2: 16:[22, 18] Operation: 22-4=18
Exploring Operation: 22-4=18, Resulting Numbers: [22, 18]
Generated Node #0,1,3: 16:[22, 18] Operation: 22-4=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[4, 1], Operations: ['68-64=4', '22/22=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[4, 0], Operations: ['68-64=4', '22-22=0']
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,16 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[22, 18], Operations: ['68-64=4', '22-4=18']
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 22*18=396, Resulting Numbers: [396]
396,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 16:[22, 18], Operations: ['68-64=4', '22-4=18']
Exploring Operation: 22*18=396, Resulting Numbers: [396]
396,16 unequal: No Solution
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 16:[68, 22, 42], Operations: ['64-22=42']
Exploring Operation: 68+22=90, Resulting Numbers: [42, 90]
Generated Node #0,2,0: 16:[42, 90] Operation: 68+22=90
Exploring Operation: 68-42=26, Resulting Numbers: [22, 26]
Generated Node #0,2,1: 16:[22, 26] Operation: 68-42=26
Exploring Operation: 68-22=46, Resulting Numbers: [42, 46]
Generated Node #0,2,2: 16:[42, 46] Operation: 68-22=46
Exploring Operation: 42-22=20, Resulting Numbers: [68, 20]
Generated Node #0,2,3: 16:[68, 20] Operation: 42-22=20
Moving to Node #0,0
Current State: 16:[64, 22, 46], Operations: ['68-22=46']
Exploring Operation: 64+22=86, Resulting Numbers: [46, 86]
Generated Node #0,0,0: 16:[46, 86] Operation: 64+22=86
Exploring Operation: 46-22=24, Resulting Numbers: [64, 24]
Generated Node #0,0,1: 16:[64, 24] Operation: 46-22=24
Exploring Operation: 64-46=18, Resulting Numbers: [22, 18]
Generated Node #0,0,2: 16:[22, 18] Operation: 64-46=18
Exploring Operation: 64-22=42, Resulting Numbers: [46, 42]
Generated Node #0,0,3: 16:[46, 42] Operation: 64-22=42
Moving to Node #0,3
Current State: 16:[22, 68, 42], Operations: ['64-22=42']
Exploring Operation: 68-22=46, Resulting Numbers: [42, 46]
Generated Node #0,3,0: 16:[42, 46] Operation: 68-22=46
Exploring Operation: 22+68=90, Resulting Numbers: [42, 90]
Generated Node #0,3,1: 16:[42, 90] Operation: 22+68=90
Exploring Operation: 42-22=20, Resulting Numbers: [68, 20]
Generated Node #0,3,2: 16:[68, 20] Operation: 42-22=20
Exploring Operation: 68-42=26, Resulting Numbers: [22, 26]
Generated Node #0,3,3: 16:[22, 26] Operation: 68-42=26
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 16:[22, 26], Operations: ['64-22=42', '68-42=26']
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,16 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 16:[42, 46], Operations: ['64-22=42', '68-22=46']
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,16 unequal: No Solution
Exploring Operation: 42*46=1932, Resulting Numbers: [1932]
1932,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:[68, 20], Operations: ['64-22=42', '42-22=20']
Exploring Operation: 68*20=1360, Resulting Numbers: [1360]
1360,16 unequal: No Solution
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 68+20=88, Resulting Numbers: [88]
88,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:[42, 90], Operations: ['64-22=42', '22+68=90']
Exploring Operation: 90-42=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 42*90=3780, Resulting Numbers: [3780]
3780,16 unequal: No Solution
Exploring Operation: 42+90=132, Resulting Numbers: [132]
132,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 16:[22, 18], Operations: ['68-22=46', '64-46=18']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 22*18=396, Resulting Numbers: [396]
396,16 unequal: No Solution
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[22, 26], Operations: ['64-22=42', '68-42=26']
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,16 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[68, 20], Operations: ['64-22=42', '42-22=20']
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 68+20=88, Resulting Numbers: [88]
88,16 unequal: No Solution
Exploring Operation: 68*20=1360, Resulting Numbers: [1360]
1360,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[64, 24], Operations: ['68-22=46', '46-22=24']
Exploring Operation: 64+24=88, Resulting Numbers: [88]
88,16 unequal: No Solution
Exploring Operation: 64*24=1536, Resulting Numbers: [1536]
1536,16 unequal: No Solution
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[46, 42], Operations: ['68-22=46', '64-22=42']
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 46+42=88, Resulting Numbers: [88]
88,16 unequal: No Solution
Exploring Operation: 46*42=1932, Resulting Numbers: [1932]
1932,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[42, 46], Operations: ['64-22=42', '68-22=46']
Exploring Operation: 42*46=1932, Resulting Numbers: [1932]
1932,16 unequal: No Solution
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[42, 90], Operations: ['64-22=42', '68+22=90']
Exploring Operation: 42+90=132, Resulting Numbers: [132]
132,16 unequal: No Solution
Exploring Operation: 42*90=3780, Resulting Numbers: [3780]
3780,16 unequal: No Solution
Exploring Operation: 90-42=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[46, 86], Operations: ['68-22=46', '64+22=86']
Exploring Operation: 46*86=3956, Resulting Numbers: [3956]
3956,16 unequal: No Solution
Exploring Operation: 46+86=132, Resulting Numbers: [132]
132,16 unequal: No Solution
Exploring Operation: 86-46=40, Resulting Numbers: [40]
40,16 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
12,
13,
2,
25
] | 62 | [
"12*2=24",
"13+25=38",
"24+38=62"
] | Current State: 62:[12, 13, 2, 25], Operations: []
Exploring Operation: 12*2=24, Resulting Numbers: [13, 25, 24]
Generated Node #2: [13, 25, 24] from Operation: 12*2=24
Current State: 62:[13, 25, 24], Operations: ['12*2=24']
Exploring Operation: 13+25=38, Resulting Numbers: [24, 38]
Generated Node #3: [24, 38] from Operation: 13+25=38
Current State: 62:[24, 38], Operations: ['12*2=24', '13+25=38']
Exploring Operation: 24+38=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[12, 13, 2, 25], Operations: []
Exploring Operation: 13+25=38, Resulting Numbers: [12, 2, 38]
Generated Node #0,0: 62:[12, 2, 38] Operation: 13+25=38
Exploring Operation: 13-12=1, Resulting Numbers: [2, 25, 1]
Generated Node #0,1: 62:[2, 25, 1] Operation: 13-12=1
Exploring Operation: 12+13=25, Resulting Numbers: [2, 25, 25]
Generated Node #0,2: 62:[2, 25, 25] Operation: 12+13=25
Exploring Operation: 12+25=37, Resulting Numbers: [13, 2, 37]
Generated Node #0,3: 62:[13, 2, 37] Operation: 12+25=37
Moving to Node #0,1
Current State: 62:[2, 25, 1], Operations: ['13-12=1']
Exploring Operation: 25+1=26, Resulting Numbers: [2, 26]
Generated Node #0,1,0: 62:[2, 26] Operation: 25+1=26
Exploring Operation: 2*1=2, Resulting Numbers: [25, 2]
Generated Node #0,1,1: 62:[25, 2] Operation: 2*1=2
Exploring Operation: 2/1=2, Resulting Numbers: [25, 2]
Generated Node #0,1,2: 62:[25, 2] Operation: 2/1=2
Exploring Operation: 2+25=27, Resulting Numbers: [1, 27]
Generated Node #0,1,3: 62:[1, 27] Operation: 2+25=27
Moving to Node #0,2
Current State: 62:[2, 25, 25], Operations: ['12+13=25']
Exploring Operation: 25-25=0, Resulting Numbers: [2, 0]
Generated Node #0,2,0: 62:[2, 0] Operation: 25-25=0
Exploring Operation: 2+25=27, Resulting Numbers: [25, 27]
Generated Node #0,2,1: 62:[25, 27] Operation: 2+25=27
Exploring Operation: 2+25=27, Resulting Numbers: [25, 27]
Generated Node #0,2,2: 62:[25, 27] Operation: 2+25=27
Exploring Operation: 25/25=1, Resulting Numbers: [2, 1]
Generated Node #0,2,3: 62:[2, 1] Operation: 25/25=1
Moving to Node #0,3
Current State: 62:[13, 2, 37], Operations: ['12+25=37']
Exploring Operation: 37-13=24, Resulting Numbers: [2, 24]
Generated Node #0,3,0: 62:[2, 24] Operation: 37-13=24
Exploring Operation: 13+37=50, Resulting Numbers: [2, 50]
Generated Node #0,3,1: 62:[2, 50] Operation: 13+37=50
Exploring Operation: 13*2=26, Resulting Numbers: [37, 26]
Generated Node #0,3,2: 62:[37, 26] Operation: 13*2=26
Exploring Operation: 13-2=11, Resulting Numbers: [37, 11]
Generated Node #0,3,3: 62:[37, 11] Operation: 13-2=11
Moving to Node #0,0
Current State: 62:[12, 2, 38], Operations: ['13+25=38']
Exploring Operation: 12/2=6, Resulting Numbers: [38, 6]
Generated Node #0,0,0: 62:[38, 6] Operation: 12/2=6
Exploring Operation: 12*2=24, Resulting Numbers: [38, 24]
Generated Node #0,0,1: 62:[38, 24] Operation: 12*2=24
Exploring Operation: 38-12=26, Resulting Numbers: [2, 26]
Generated Node #0,0,2: 62:[2, 26] Operation: 38-12=26
Exploring Operation: 12+38=50, Resulting Numbers: [2, 50]
Generated Node #0,0,3: 62:[2, 50] Operation: 12+38=50
Moving to Node #0,2,3
Current State: 62:[2, 1], Operations: ['12+13=25', '25/25=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[2, 0], Operations: ['12+13=25', '25-25=0']
Exploring Operation: 2+0=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 2*0=0, Resulting Numbers: [0]
0,62 unequal: No Solution
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[2, 26], Operations: ['13+25=38', '38-12=26']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,62 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,62 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[2, 26], Operations: ['13-12=1', '25+1=26']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,62 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,62 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Moving to Node #0,1,3
Current State: 62:[1, 27], Operations: ['13-12=1', '2+25=27']
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,62 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[25, 2], Operations: ['13-12=1', '2*1=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,62 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[25, 2], Operations: ['13-12=1', '2/1=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,62 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Moving to Node #0,3,0
Current State: 62:[2, 24], Operations: ['12+25=37', '37-13=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,62 unequal: No Solution
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,62 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[25, 27], Operations: ['12+13=25', '2+25=27']
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,62 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[25, 27], Operations: ['12+13=25', '2+25=27']
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[37, 26], Operations: ['12+25=37', '13*2=26']
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 37*26=962, Resulting Numbers: [962]
962,62 unequal: No Solution
Exploring Operation: 37+26=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[38, 6], Operations: ['13+25=38', '12/2=6']
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,62 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[2, 50], Operations: ['13+25=38', '12+38=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,62 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,62 unequal: No Solution
Moving to Node #0,3,1
Current State: 62:[2, 50], Operations: ['12+25=37', '13+37=50']
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,62 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[38, 24], Operations: ['13+25=38', '12*2=24']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[12, 13, 2, 25], Operations: []
Exploring Operation: 13+25=38, Resulting Numbers: [12, 2, 38]
Generated Node #0,0: 62:[12, 2, 38] Operation: 13+25=38
Moving to Node #0,0
Current State: 62:[12, 2, 38], Operations: ['13+25=38']
Exploring Operation: 12*2=24, Resulting Numbers: [38, 24]
Generated Node #0,0,1: 62:[38, 24] Operation: 12*2=24
Moving to Node #0,0,1
Current State: 62:[38, 24], Operations: ['13+25=38', '12*2=24']
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.934896 | hs_4 | mult_heuristic |
[
17,
84,
20,
28
] | 70 | [
"17*84=1428",
"1428-28=1400",
"1400/20=70"
] | Current State: 70:[17, 84, 20, 28], Operations: []
Exploring Operation: 17*84=1428, Resulting Numbers: [20, 28, 1428]
Generated Node #2: [20, 28, 1428] from Operation: 17*84=1428
Current State: 70:[20, 28, 1428], Operations: ['17*84=1428']
Exploring Operation: 1428-28=1400, Resulting Numbers: [20, 1400]
Generated Node #3: [20, 1400] from Operation: 1428-28=1400
Current State: 70:[20, 1400], Operations: ['17*84=1428', '1428-28=1400']
Exploring Operation: 1400/20=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[17, 84, 20, 28], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [17, 20, 3]
Generated Node #0,0: 70:[17, 20, 3] Operation: 84/28=3
Exploring Operation: 84-17=67, Resulting Numbers: [20, 28, 67]
Generated Node #0,1: 70:[20, 28, 67] Operation: 84-17=67
Exploring Operation: 84-20=64, Resulting Numbers: [17, 28, 64]
Generated Node #0,2: 70:[17, 28, 64] Operation: 84-20=64
Exploring Operation: 28-20=8, Resulting Numbers: [17, 84, 8]
Generated Node #0,3: 70:[17, 84, 8] Operation: 28-20=8
Exploring Operation: 28-17=11, Resulting Numbers: [84, 20, 11]
Generated Node #0,4: 70:[84, 20, 11] Operation: 28-17=11
Moving to Node #0,0
Current State: 70:[17, 20, 3], Operations: ['84/28=3']
Exploring Operation: 20-17=3, Resulting Numbers: [3, 3]
Generated Node #0,0,0: 70:[3, 3] Operation: 20-17=3
Exploring Operation: 17+3=20, Resulting Numbers: [20, 20]
Generated Node #0,0,1: 70:[20, 20] Operation: 17+3=20
Exploring Operation: 17-3=14, Resulting Numbers: [20, 14]
Generated Node #0,0,2: 70:[20, 14] Operation: 17-3=14
Exploring Operation: 20-3=17, Resulting Numbers: [17, 17]
Generated Node #0,0,3: 70:[17, 17] Operation: 20-3=17
Exploring Operation: 17+20=37, Resulting Numbers: [3, 37]
Generated Node #0,0,4: 70:[3, 37] Operation: 17+20=37
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[3, 3], Operations: ['84/28=3', '20-17=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,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,4
Current State: 70:[3, 37], Operations: ['84/28=3', '17+20=37']
Exploring Operation: 3*37=111, Resulting Numbers: [111]
111,70 unequal: No Solution
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,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:[20, 14], Operations: ['84/28=3', '17-3=14']
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,70 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,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,3
Current State: 70:[17, 17], Operations: ['84/28=3', '20-3=17']
Exploring Operation: 17/17=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 17*17=289, Resulting Numbers: [289]
289,70 unequal: No Solution
Exploring Operation: 17-17=0, Resulting Numbers: [0]
0,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:[20, 20], Operations: ['84/28=3', '17+3=20']
Exploring Operation: 20*20=400, Resulting Numbers: [400]
400,70 unequal: No Solution
Exploring Operation: 20/20=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 20+20=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 20-20=0, Resulting Numbers: [0]
0,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:[17, 28, 64], Operations: ['84-20=64']
Exploring Operation: 28-17=11, Resulting Numbers: [64, 11]
Generated Node #0,2,0: 70:[64, 11] Operation: 28-17=11
Exploring Operation: 64-28=36, Resulting Numbers: [17, 36]
Generated Node #0,2,1: 70:[17, 36] Operation: 64-28=36
Exploring Operation: 17+64=81, Resulting Numbers: [28, 81]
Generated Node #0,2,2: 70:[28, 81] Operation: 17+64=81
Exploring Operation: 17+28=45, Resulting Numbers: [64, 45]
Generated Node #0,2,3: 70:[64, 45] Operation: 17+28=45
Exploring Operation: 64-17=47, Resulting Numbers: [28, 47]
Generated Node #0,2,4: 70:[28, 47] Operation: 64-17=47
Moving to Node #0,1
Current State: 70:[20, 28, 67], Operations: ['84-17=67']
Exploring Operation: 67-20=47, Resulting Numbers: [28, 47]
Generated Node #0,1,0: 70:[28, 47] Operation: 67-20=47
Exploring Operation: 20+28=48, Resulting Numbers: [67, 48]
Generated Node #0,1,1: 70:[67, 48] Operation: 20+28=48
Exploring Operation: 20+67=87, Resulting Numbers: [28, 87]
Generated Node #0,1,2: 70:[28, 87] Operation: 20+67=87
Exploring Operation: 67-28=39, Resulting Numbers: [20, 39]
Generated Node #0,1,3: 70:[20, 39] Operation: 67-28=39
Exploring Operation: 28-20=8, Resulting Numbers: [67, 8]
Generated Node #0,1,4: 70:[67, 8] Operation: 28-20=8
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 70:[67, 8], Operations: ['84-17=67', '28-20=8']
Exploring Operation: 67+8=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,70 unequal: No Solution
Exploring Operation: 67*8=536, Resulting Numbers: [536]
536,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 70:[20, 39], Operations: ['84-17=67', '67-28=39']
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 20+39=59, Resulting Numbers: [59]
59,70 unequal: No Solution
Exploring Operation: 20*39=780, Resulting Numbers: [780]
780,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[67, 48], Operations: ['84-17=67', '20+28=48']
Exploring Operation: 67+48=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 67*48=3216, Resulting Numbers: [3216]
3216,70 unequal: No Solution
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[28, 47], Operations: ['84-17=67', '67-20=47']
Exploring Operation: 28*47=1316, Resulting Numbers: [1316]
1316,70 unequal: No Solution
Exploring Operation: 28+47=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[28, 87], Operations: ['84-17=67', '20+67=87']
Exploring Operation: 28*87=2436, Resulting Numbers: [2436]
2436,70 unequal: No Solution
Exploring Operation: 28+87=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 70:[17, 84, 8], Operations: ['28-20=8']
Exploring Operation: 84-17=67, Resulting Numbers: [8, 67]
Generated Node #0,3,0: 70:[8, 67] Operation: 84-17=67
Exploring Operation: 84+8=92, Resulting Numbers: [17, 92]
Generated Node #0,3,1: 70:[17, 92] Operation: 84+8=92
Exploring Operation: 17+8=25, Resulting Numbers: [84, 25]
Generated Node #0,3,2: 70:[84, 25] Operation: 17+8=25
Exploring Operation: 17-8=9, Resulting Numbers: [84, 9]
Generated Node #0,3,3: 70:[84, 9] Operation: 17-8=9
Exploring Operation: 84-8=76, Resulting Numbers: [17, 76]
Generated Node #0,3,4: 70:[17, 76] Operation: 84-8=76
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 70:[8, 67], Operations: ['28-20=8', '84-17=67']
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,70 unequal: No Solution
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 8*67=536, Resulting Numbers: [536]
536,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,3,4
Current State: 70:[17, 76], Operations: ['28-20=8', '84-8=76']
Exploring Operation: 17+76=93, Resulting Numbers: [93]
93,70 unequal: No Solution
Exploring Operation: 17*76=1292, Resulting Numbers: [1292]
1292,70 unequal: No Solution
Exploring Operation: 76-17=59, Resulting Numbers: [59]
59,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,3,3
Current State: 70:[84, 9], Operations: ['28-20=8', '17-8=9']
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,70 unequal: No Solution
Exploring Operation: 84*9=756, Resulting Numbers: [756]
756,70 unequal: No Solution
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,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,3,2
Current State: 70:[84, 25], Operations: ['28-20=8', '17+8=25']
Exploring Operation: 84+25=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Exploring Operation: 84*25=2100, Resulting Numbers: [2100]
2100,70 unequal: No Solution
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,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,3,1
Current State: 70:[17, 92], Operations: ['28-20=8', '84+8=92']
Exploring Operation: 17+92=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Exploring Operation: 92-17=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 17*92=1564, Resulting Numbers: [1564]
1564,70 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: 70:[84, 20, 11], Operations: ['28-17=11']
Exploring Operation: 84+11=95, Resulting Numbers: [20, 95]
Generated Node #0,4,0: 70:[20, 95] Operation: 84+11=95
Exploring Operation: 20+11=31, Resulting Numbers: [84, 31]
Generated Node #0,4,1: 70:[84, 31] Operation: 20+11=31
Exploring Operation: 84-20=64, Resulting Numbers: [11, 64]
Generated Node #0,4,2: 70:[11, 64] Operation: 84-20=64
Exploring Operation: 20-11=9, Resulting Numbers: [84, 9]
Generated Node #0,4,3: 70:[84, 9] Operation: 20-11=9
Exploring Operation: 84-11=73, Resulting Numbers: [20, 73]
Generated Node #0,4,4: 70:[20, 73] Operation: 84-11=73
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 70:[11, 64], Operations: ['28-17=11', '84-20=64']
Exploring Operation: 11*64=704, Resulting Numbers: [704]
704,70 unequal: No Solution
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,70 unequal: No Solution
Exploring Operation: 11+64=75, Resulting Numbers: [75]
75,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,4,4
Current State: 70:[20, 73], Operations: ['28-17=11', '84-11=73']
Exploring Operation: 20+73=93, Resulting Numbers: [93]
93,70 unequal: No Solution
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,70 unequal: No Solution
Exploring Operation: 20*73=1460, Resulting Numbers: [1460]
1460,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,4,3
Current State: 70:[84, 9], Operations: ['28-17=11', '20-11=9']
Exploring Operation: 84*9=756, Resulting Numbers: [756]
756,70 unequal: No Solution
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,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,4,1
Current State: 70:[84, 31], Operations: ['28-17=11', '20+11=31']
Exploring Operation: 84-31=53, Resulting Numbers: [53]
53,70 unequal: No Solution
Exploring Operation: 84+31=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 84*31=2604, Resulting Numbers: [2604]
2604,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,4,0
Current State: 70:[20, 95], Operations: ['28-17=11', '84+11=95']
Exploring Operation: 20+95=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 95-20=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 20*95=1900, Resulting Numbers: [1900]
1900,70 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: 70:[17, 36], Operations: ['84-20=64', '64-28=36']
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,70 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 17*36=612, Resulting Numbers: [612]
612,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[64, 11], Operations: ['84-20=64', '28-17=11']
Exploring Operation: 64*11=704, Resulting Numbers: [704]
704,70 unequal: No Solution
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[64, 45], Operations: ['84-20=64', '17+28=45']
Exploring Operation: 64-45=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 64+45=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Exploring Operation: 64*45=2880, Resulting Numbers: [2880]
2880,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[28, 81], Operations: ['84-20=64', '17+64=81']
Exploring Operation: 28+81=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,70 unequal: No Solution
Exploring Operation: 28*81=2268, Resulting Numbers: [2268]
2268,70 unequal: No Solution
Moving to Node #0,2,4
Current State: 70:[28, 47], Operations: ['84-20=64', '64-17=47']
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 28*47=1316, Resulting Numbers: [1316]
1316,70 unequal: No Solution
Exploring Operation: 28+47=75, Resulting Numbers: [75]
75,70 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
80,
24,
93,
24
] | 35 | [
"80+24=104",
"93-24=69",
"104-69=35"
] | Current State: 35:[80, 24, 93, 24], Operations: []
Exploring Operation: 80+24=104, Resulting Numbers: [93, 104]
Generated Node #2: [93, 104] from Operation: 80+24=104
Current State: 35:[93, 104], Operations: ['80+24=104']
Exploring Operation: 93-24=69, Resulting Numbers: [104, 69]
Generated Node #3: [104, 69] from Operation: 93-24=69
Current State: 35:[104, 69], Operations: ['80+24=104', '93-24=69']
Exploring Operation: 104-69=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[80, 24, 93, 24], Operations: []
Exploring Operation: 80-24=56, Resulting Numbers: [93, 24, 56]
Generated Node #0,0: 35:[93, 24, 56] Operation: 80-24=56
Exploring Operation: 93-80=13, Resulting Numbers: [24, 24, 13]
Generated Node #0,1: 35:[24, 24, 13] Operation: 93-80=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[24, 24, 13], Operations: ['93-80=13']
Exploring Operation: 24/24=1, Resulting Numbers: [13, 1]
Generated Node #0,1,0: 35:[13, 1] Operation: 24/24=1
Exploring Operation: 24-24=0, Resulting Numbers: [13, 0]
Generated Node #0,1,1: 35:[13, 0] Operation: 24-24=0
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[13, 1], Operations: ['93-80=13', '24/24=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 35:[13, 0], Operations: ['93-80=13', '24-24=0']
Exploring Operation: 13+0=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 13*0=0, Resulting Numbers: [0]
0,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[93, 24, 56], Operations: ['80-24=56']
Exploring Operation: 93-56=37, Resulting Numbers: [24, 37]
Generated Node #0,0,0: 35:[24, 37] Operation: 93-56=37
Exploring Operation: 93-24=69, Resulting Numbers: [56, 69]
Generated Node #0,0,1: 35:[56, 69] Operation: 93-24=69
Moving to Node #0,0,0
Current State: 35:[24, 37], Operations: ['80-24=56', '93-56=37']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 24+37=61, Resulting Numbers: [61]
61,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[56, 69], Operations: ['80-24=56', '93-24=69']
Exploring Operation: 56+69=125, Resulting Numbers: [125]
125,35 unequal: No Solution
Exploring Operation: 69-56=13, Resulting Numbers: [13]
13,35 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 |
[
24,
74,
11,
78
] | 52 | [
"24-11=13",
"78-74=4",
"13*4=52"
] | Current State: 52:[24, 74, 11, 78], Operations: []
Exploring Operation: 24-11=13, Resulting Numbers: [74, 78, 13]
Generated Node #2: [74, 78, 13] from Operation: 24-11=13
Current State: 52:[74, 78, 13], Operations: ['24-11=13']
Exploring Operation: 78-74=4, Resulting Numbers: [13, 4]
Generated Node #3: [13, 4] from Operation: 78-74=4
Current State: 52:[13, 4], Operations: ['24-11=13', '78-74=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[24, 74, 11, 78], Operations: []
Exploring Operation: 74-24=50, Resulting Numbers: [11, 78, 50]
Generated Node #0,0: 52:[11, 78, 50] Operation: 74-24=50
Exploring Operation: 78-24=54, Resulting Numbers: [74, 11, 54]
Generated Node #0,1: 52:[74, 11, 54] Operation: 78-24=54
Exploring Operation: 78-74=4, Resulting Numbers: [24, 11, 4]
Generated Node #0,2: 52:[24, 11, 4] Operation: 78-74=4
Moving to Node #0,2
Current State: 52:[24, 11, 4], Operations: ['78-74=4']
Exploring Operation: 24/4=6, Resulting Numbers: [11, 6]
Generated Node #0,2,0: 52:[11, 6] Operation: 24/4=6
Exploring Operation: 24+4=28, Resulting Numbers: [11, 28]
Generated Node #0,2,1: 52:[11, 28] Operation: 24+4=28
Exploring Operation: 24-11=13, Resulting Numbers: [4, 13]
Generated Node #0,2,2: 52:[4, 13] Operation: 24-11=13
Moving to Node #0,1
Current State: 52:[74, 11, 54], Operations: ['78-24=54']
Exploring Operation: 74-54=20, Resulting Numbers: [11, 20]
Generated Node #0,1,0: 52:[11, 20] Operation: 74-54=20
Exploring Operation: 74-11=63, Resulting Numbers: [54, 63]
Generated Node #0,1,1: 52:[54, 63] Operation: 74-11=63
Exploring Operation: 54-11=43, Resulting Numbers: [74, 43]
Generated Node #0,1,2: 52:[74, 43] Operation: 54-11=43
Moving to Node #0,0
Current State: 52:[11, 78, 50], Operations: ['74-24=50']
Exploring Operation: 78-50=28, Resulting Numbers: [11, 28]
Generated Node #0,0,0: 52:[11, 28] Operation: 78-50=28
Exploring Operation: 78-11=67, Resulting Numbers: [50, 67]
Generated Node #0,0,1: 52:[50, 67] Operation: 78-11=67
Exploring Operation: 11+50=61, Resulting Numbers: [78, 61]
Generated Node #0,0,2: 52:[78, 61] Operation: 11+50=61
Moving to Node #0,2,2
Current State: 52:[4, 13], Operations: ['78-74=4', '24-11=13']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[24, 74, 11, 78], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [24, 11, 4]
Generated Node #0,2: 52:[24, 11, 4] Operation: 78-74=4
Moving to Node #0,2
Current State: 52:[24, 11, 4], Operations: ['78-74=4']
Exploring Operation: 24-11=13, Resulting Numbers: [4, 13]
Generated Node #0,2,2: 52:[4, 13] Operation: 24-11=13
Moving to Node #0,2,2
Current State: 52:[4, 13], Operations: ['78-74=4', '24-11=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.984375 | hs_3 | mult_heuristic |
[
44,
61,
36,
20
] | 39 | [
"61-44=17",
"36+20=56",
"56-17=39"
] | Current State: 39:[44, 61, 36, 20], Operations: []
Exploring Operation: 61-44=17, Resulting Numbers: [36, 20, 17]
Generated Node #2: [36, 20, 17] from Operation: 61-44=17
Current State: 39:[36, 20, 17], Operations: ['61-44=17']
Exploring Operation: 36+20=56, Resulting Numbers: [17, 56]
Generated Node #3: [17, 56] from Operation: 36+20=56
Current State: 39:[17, 56], Operations: ['61-44=17', '36+20=56']
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[44, 61, 36, 20], Operations: []
Exploring Operation: 61-44=17, Resulting Numbers: [36, 20, 17]
Generated Node #0,0: 39:[36, 20, 17] Operation: 61-44=17
Exploring Operation: 61-20=41, Resulting Numbers: [44, 36, 41]
Generated Node #0,1: 39:[44, 36, 41] Operation: 61-20=41
Moving to Node #0,1
Current State: 39:[44, 36, 41], Operations: ['61-20=41']
Exploring Operation: 44-41=3, Resulting Numbers: [36, 3]
Generated Node #0,1,0: 39:[36, 3] Operation: 44-41=3
Exploring Operation: 44-36=8, Resulting Numbers: [41, 8]
Generated Node #0,1,1: 39:[41, 8] Operation: 44-36=8
Moving to Node #0,0
Current State: 39:[36, 20, 17], Operations: ['61-44=17']
Exploring Operation: 20+17=37, Resulting Numbers: [36, 37]
Generated Node #0,0,0: 39:[36, 37] Operation: 20+17=37
Exploring Operation: 20-17=3, Resulting Numbers: [36, 3]
Generated Node #0,0,1: 39:[36, 3] Operation: 20-17=3
Moving to Node #0,1,0
Current State: 39:[36, 3], Operations: ['61-20=41', '44-41=3']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[44, 61, 36, 20], Operations: []
Exploring Operation: 61-20=41, Resulting Numbers: [44, 36, 41]
Generated Node #0,1: 39:[44, 36, 41] Operation: 61-20=41
Moving to Node #0,1
Current State: 39:[44, 36, 41], Operations: ['61-20=41']
Exploring Operation: 44-41=3, Resulting Numbers: [36, 3]
Generated Node #0,1,0: 39:[36, 3] Operation: 44-41=3
Moving to Node #0,1,0
Current State: 39:[36, 3], Operations: ['61-20=41', '44-41=3']
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
81,
46,
2,
10
] | 40 | [
"81-46=35",
"10/2=5",
"35+5=40"
] | Current State: 40:[81, 46, 2, 10], Operations: []
Exploring Operation: 81-46=35, Resulting Numbers: [2, 10, 35]
Generated Node #2: [2, 10, 35] from Operation: 81-46=35
Current State: 40:[2, 10, 35], Operations: ['81-46=35']
Exploring Operation: 10/2=5, Resulting Numbers: [35, 5]
Generated Node #3: [35, 5] from Operation: 10/2=5
Current State: 40:[35, 5], Operations: ['81-46=35', '10/2=5']
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[81, 46, 2, 10], Operations: []
Exploring Operation: 81-46=35, Resulting Numbers: [2, 10, 35]
Generated Node #0,0: 40:[2, 10, 35] Operation: 81-46=35
Exploring Operation: 46/2=23, Resulting Numbers: [81, 10, 23]
Generated Node #0,1: 40:[81, 10, 23] Operation: 46/2=23
Exploring Operation: 81-10=71, Resulting Numbers: [46, 2, 71]
Generated Node #0,2: 40:[46, 2, 71] Operation: 81-10=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[2, 10, 35], Operations: ['81-46=35']
Exploring Operation: 2*10=20, Resulting Numbers: [35, 20]
Generated Node #0,0,0: 40:[35, 20] Operation: 2*10=20
Exploring Operation: 2+35=37, Resulting Numbers: [10, 37]
Generated Node #0,0,1: 40:[10, 37] Operation: 2+35=37
Exploring Operation: 10-2=8, Resulting Numbers: [35, 8]
Generated Node #0,0,2: 40:[35, 8] Operation: 10-2=8
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 40:[10, 37], Operations: ['81-46=35', '2+35=37']
Exploring Operation: 10*37=370, Resulting Numbers: [370]
370,40 unequal: No Solution
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,40 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,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,0,0
Current State: 40:[35, 20], Operations: ['81-46=35', '2*10=20']
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,40 unequal: No Solution
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,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,0,2
Current State: 40:[35, 8], Operations: ['81-46=35', '10-2=8']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,40 unequal: No Solution
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,40 unequal: No Solution
Exploring Operation: 35*8=280, Resulting Numbers: [280]
280,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[46, 2, 71], Operations: ['81-10=71']
Exploring Operation: 46/2=23, Resulting Numbers: [71, 23]
Generated Node #0,2,0: 40:[71, 23] Operation: 46/2=23
Exploring Operation: 71-46=25, Resulting Numbers: [2, 25]
Generated Node #0,2,1: 40:[2, 25] Operation: 71-46=25
Exploring Operation: 46-2=44, Resulting Numbers: [71, 44]
Generated Node #0,2,2: 40:[71, 44] Operation: 46-2=44
Moving to Node #0,2,1
Current State: 40:[2, 25], Operations: ['81-10=71', '71-46=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,40 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,40 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[71, 23], Operations: ['81-10=71', '46/2=23']
Exploring Operation: 71+23=94, Resulting Numbers: [94]
94,40 unequal: No Solution
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 71*23=1633, Resulting Numbers: [1633]
1633,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[71, 44], Operations: ['81-10=71', '46-2=44']
Exploring Operation: 71*44=3124, Resulting Numbers: [3124]
3124,40 unequal: No Solution
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,40 unequal: No Solution
Exploring Operation: 71+44=115, Resulting Numbers: [115]
115,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
Current State: 40:[81, 10, 23], Operations: ['46/2=23']
Exploring Operation: 81-10=71, Resulting Numbers: [23, 71]
Generated Node #0,1,0: 40:[23, 71] Operation: 81-10=71
Exploring Operation: 81-23=58, Resulting Numbers: [10, 58]
Generated Node #0,1,1: 40:[10, 58] Operation: 81-23=58
Exploring Operation: 23-10=13, Resulting Numbers: [81, 13]
Generated Node #0,1,2: 40:[81, 13] Operation: 23-10=13
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 40:[10, 58], Operations: ['46/2=23', '81-23=58']
Exploring Operation: 10+58=68, Resulting Numbers: [68]
68,40 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 10*58=580, Resulting Numbers: [580]
580,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 40:[23, 71], Operations: ['46/2=23', '81-10=71']
Exploring Operation: 23+71=94, Resulting Numbers: [94]
94,40 unequal: No Solution
Exploring Operation: 23*71=1633, Resulting Numbers: [1633]
1633,40 unequal: No Solution
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 40:[81, 13], Operations: ['46/2=23', '23-10=13']
Exploring Operation: 81*13=1053, Resulting Numbers: [1053]
1053,40 unequal: No Solution
Exploring Operation: 81+13=94, Resulting Numbers: [94]
94,40 unequal: No Solution
Exploring Operation: 81-13=68, Resulting Numbers: [68]
68,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
38,
47,
49,
15
] | 51 | [
"38+47=85",
"49-15=34",
"85-34=51"
] | Current State: 51:[38, 47, 49, 15], Operations: []
Exploring Operation: 38+47=85, Resulting Numbers: [49, 15, 85]
Generated Node #2: [49, 15, 85] from Operation: 38+47=85
Current State: 51:[49, 15, 85], Operations: ['38+47=85']
Exploring Operation: 49-15=34, Resulting Numbers: [85, 34]
Generated Node #3: [85, 34] from Operation: 49-15=34
Current State: 51:[85, 34], Operations: ['38+47=85', '49-15=34']
Exploring Operation: 85-34=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[38, 47, 49, 15], Operations: []
Exploring Operation: 38+15=53, Resulting Numbers: [47, 49, 53]
Generated Node #0,0: 51:[47, 49, 53] Operation: 38+15=53
Exploring Operation: 49-38=11, Resulting Numbers: [47, 15, 11]
Generated Node #0,1: 51:[47, 15, 11] Operation: 49-38=11
Exploring Operation: 47-38=9, Resulting Numbers: [49, 15, 9]
Generated Node #0,2: 51:[49, 15, 9] Operation: 47-38=9
Moving to Node #0,0
Current State: 51:[47, 49, 53], Operations: ['38+15=53']
Exploring Operation: 53-49=4, Resulting Numbers: [47, 4]
Generated Node #0,0,0: 51:[47, 4] Operation: 53-49=4
Exploring Operation: 53-47=6, Resulting Numbers: [49, 6]
Generated Node #0,0,1: 51:[49, 6] Operation: 53-47=6
Exploring Operation: 49-47=2, Resulting Numbers: [53, 2]
Generated Node #0,0,2: 51:[53, 2] Operation: 49-47=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[53, 2], Operations: ['38+15=53', '49-47=2']
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,51 unequal: No Solution
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[38, 47, 49, 15], Operations: []
Exploring Operation: 38+15=53, Resulting Numbers: [47, 49, 53]
Generated Node #0,0: 51:[47, 49, 53] Operation: 38+15=53
Moving to Node #0,0
Current State: 51:[47, 49, 53], Operations: ['38+15=53']
Exploring Operation: 49-47=2, Resulting Numbers: [53, 2]
Generated Node #0,0,2: 51:[53, 2] Operation: 49-47=2
Moving to Node #0,0,2
Current State: 51:[53, 2], Operations: ['38+15=53', '49-47=2']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
1,
79,
29,
29
] | 20 | [
"79-1=78",
"29+29=58",
"78-58=20"
] | Current State: 20:[1, 79, 29, 29], Operations: []
Exploring Operation: 79-1=78, Resulting Numbers: [29, 29, 78]
Generated Node #2: [29, 29, 78] from Operation: 79-1=78
Current State: 20:[29, 29, 78], Operations: ['79-1=78']
Exploring Operation: 29+29=58, Resulting Numbers: [78, 58]
Generated Node #3: [78, 58] from Operation: 29+29=58
Current State: 20:[78, 58], Operations: ['79-1=78', '29+29=58']
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[1, 79, 29, 29], Operations: []
Exploring Operation: 79-29=50, Resulting Numbers: [1, 29, 50]
Generated Node #0,0: 20:[1, 29, 50] Operation: 79-29=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[1, 29, 50], Operations: ['79-29=50']
Exploring Operation: 50-29=21, Resulting Numbers: [1, 21]
Generated Node #0,0,0: 20:[1, 21] Operation: 50-29=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[1, 21], Operations: ['79-29=50', '50-29=21']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[1, 79, 29, 29], Operations: []
Exploring Operation: 79-29=50, Resulting Numbers: [1, 29, 50]
Generated Node #0,0: 20:[1, 29, 50] Operation: 79-29=50
Moving to Node #0,0
Current State: 20:[1, 29, 50], Operations: ['79-29=50']
Exploring Operation: 50-29=21, Resulting Numbers: [1, 21]
Generated Node #0,0,0: 20:[1, 21] Operation: 50-29=21
Moving to Node #0,0,0
Current State: 20:[1, 21], Operations: ['79-29=50', '50-29=21']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
60,
35,
31,
45
] | 28 | [
"60+45=105",
"105/35=3",
"31-3=28"
] | Current State: 28:[60, 35, 31, 45], Operations: []
Exploring Operation: 60+45=105, Resulting Numbers: [35, 31, 105]
Generated Node #2: [35, 31, 105] from Operation: 60+45=105
Current State: 28:[35, 31, 105], Operations: ['60+45=105']
Exploring Operation: 105/35=3, Resulting Numbers: [31, 3]
Generated Node #3: [31, 3] from Operation: 105/35=3
Current State: 28:[31, 3], Operations: ['60+45=105', '105/35=3']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[60, 35, 31, 45], Operations: []
Exploring Operation: 60-45=15, Resulting Numbers: [35, 31, 15]
Generated Node #0,0: 28:[35, 31, 15] Operation: 60-45=15
Exploring Operation: 60-35=25, Resulting Numbers: [31, 45, 25]
Generated Node #0,1: 28:[31, 45, 25] Operation: 60-35=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[35, 31, 15], Operations: ['60-45=15']
Exploring Operation: 35-31=4, Resulting Numbers: [15, 4]
Generated Node #0,0,0: 28:[15, 4] Operation: 35-31=4
Exploring Operation: 35-15=20, Resulting Numbers: [31, 20]
Generated Node #0,0,1: 28:[31, 20] Operation: 35-15=20
Moving to Node #0,0,0
Current State: 28:[15, 4], Operations: ['60-45=15', '35-31=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[31, 20], Operations: ['60-45=15', '35-15=20']
Exploring Operation: 31+20=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,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
Current State: 28:[31, 45, 25], Operations: ['60-35=25']
Exploring Operation: 45-31=14, Resulting Numbers: [25, 14]
Generated Node #0,1,0: 28:[25, 14] Operation: 45-31=14
Exploring Operation: 45-25=20, Resulting Numbers: [31, 20]
Generated Node #0,1,1: 28:[31, 20] Operation: 45-25=20
Moving to Node #0,1,0
Current State: 28:[25, 14], Operations: ['60-35=25', '45-31=14']
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[31, 20], Operations: ['60-35=25', '45-25=20']
Exploring Operation: 31+20=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,28 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 |
[
55,
91,
26,
49
] | 59 | [
"91-55=36",
"49-26=23",
"36+23=59"
] | Current State: 59:[55, 91, 26, 49], Operations: []
Exploring Operation: 91-55=36, Resulting Numbers: [26, 49, 36]
Generated Node #2: [26, 49, 36] from Operation: 91-55=36
Current State: 59:[26, 49, 36], Operations: ['91-55=36']
Exploring Operation: 49-26=23, Resulting Numbers: [36, 23]
Generated Node #3: [36, 23] from Operation: 49-26=23
Current State: 59:[36, 23], Operations: ['91-55=36', '49-26=23']
Exploring Operation: 36+23=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[55, 91, 26, 49], Operations: []
Exploring Operation: 91-49=42, Resulting Numbers: [55, 26, 42]
Generated Node #0,0: 59:[55, 26, 42] Operation: 91-49=42
Exploring Operation: 26+49=75, Resulting Numbers: [55, 91, 75]
Generated Node #0,1: 59:[55, 91, 75] Operation: 26+49=75
Exploring Operation: 91-26=65, Resulting Numbers: [55, 49, 65]
Generated Node #0,2: 59:[55, 49, 65] Operation: 91-26=65
Exploring Operation: 55+26=81, Resulting Numbers: [91, 49, 81]
Generated Node #0,3: 59:[91, 49, 81] Operation: 55+26=81
Moving to Node #0,2
Current State: 59:[55, 49, 65], Operations: ['91-26=65']
Exploring Operation: 55-49=6, Resulting Numbers: [65, 6]
Generated Node #0,2,0: 59:[65, 6] Operation: 55-49=6
Exploring Operation: 65-55=10, Resulting Numbers: [49, 10]
Generated Node #0,2,1: 59:[49, 10] Operation: 65-55=10
Exploring Operation: 55+49=104, Resulting Numbers: [65, 104]
Generated Node #0,2,2: 59:[65, 104] Operation: 55+49=104
Exploring Operation: 65-49=16, Resulting Numbers: [55, 16]
Generated Node #0,2,3: 59:[55, 16] Operation: 65-49=16
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 59:[55, 16], Operations: ['91-26=65', '65-49=16']
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 55+16=71, Resulting Numbers: [71]
71,59 unequal: No Solution
Exploring Operation: 55*16=880, Resulting Numbers: [880]
880,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[65, 104], Operations: ['91-26=65', '55+49=104']
Exploring Operation: 65*104=6760, Resulting Numbers: [6760]
6760,59 unequal: No Solution
Exploring Operation: 104-65=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 65+104=169, Resulting Numbers: [169]
169,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[65, 6], Operations: ['91-26=65', '55-49=6']
Exploring Operation: 65+6=71, Resulting Numbers: [71]
71,59 unequal: No Solution
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[55, 91, 26, 49], Operations: []
Exploring Operation: 91-26=65, Resulting Numbers: [55, 49, 65]
Generated Node #0,2: 59:[55, 49, 65] Operation: 91-26=65
Moving to Node #0,2
Current State: 59:[55, 49, 65], Operations: ['91-26=65']
Exploring Operation: 55-49=6, Resulting Numbers: [65, 6]
Generated Node #0,2,0: 59:[65, 6] Operation: 55-49=6
Moving to Node #0,2,0
Current State: 59:[65, 6], Operations: ['91-26=65', '55-49=6']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
89,
8,
25,
44
] | 52 | [
"89-25=64",
"64/8=8",
"44+8=52"
] | Current State: 52:[89, 8, 25, 44], Operations: []
Exploring Operation: 89-25=64, Resulting Numbers: [8, 44, 64]
Generated Node #2: [8, 44, 64] from Operation: 89-25=64
Current State: 52:[8, 44, 64], Operations: ['89-25=64']
Exploring Operation: 64/8=8, Resulting Numbers: [44, 8]
Generated Node #3: [44, 8] from Operation: 64/8=8
Current State: 52:[44, 8], Operations: ['89-25=64', '64/8=8']
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[89, 8, 25, 44], Operations: []
Exploring Operation: 89-44=45, Resulting Numbers: [8, 25, 45]
Generated Node #0,0: 52:[8, 25, 45] Operation: 89-44=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[8, 25, 45], Operations: ['89-44=45']
Exploring Operation: 8+45=53, Resulting Numbers: [25, 53]
Generated Node #0,0,0: 52:[25, 53] Operation: 8+45=53
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[25, 53], Operations: ['89-44=45', '8+45=53']
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,52 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 |
[
39,
55,
88,
12
] | 18 | [
"39+55=94",
"88-12=76",
"94-76=18"
] | Current State: 18:[39, 55, 88, 12], Operations: []
Exploring Operation: 39+55=94, Resulting Numbers: [88, 12, 94]
Generated Node #2: [88, 12, 94] from Operation: 39+55=94
Current State: 18:[88, 12, 94], Operations: ['39+55=94']
Exploring Operation: 88-12=76, Resulting Numbers: [94, 76]
Generated Node #3: [94, 76] from Operation: 88-12=76
Current State: 18:[94, 76], Operations: ['39+55=94', '88-12=76']
Exploring Operation: 94-76=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[39, 55, 88, 12], Operations: []
Exploring Operation: 88-39=49, Resulting Numbers: [55, 12, 49]
Generated Node #0,0: 18:[55, 12, 49] Operation: 88-39=49
Exploring Operation: 88-55=33, Resulting Numbers: [39, 12, 33]
Generated Node #0,1: 18:[39, 12, 33] Operation: 88-55=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[39, 12, 33], Operations: ['88-55=33']
Exploring Operation: 39-12=27, Resulting Numbers: [33, 27]
Generated Node #0,1,0: 18:[33, 27] Operation: 39-12=27
Exploring Operation: 39-33=6, Resulting Numbers: [12, 6]
Generated Node #0,1,1: 18:[12, 6] Operation: 39-33=6
Moving to Node #0,1,1
Current State: 18:[12, 6], Operations: ['88-55=33', '39-33=6']
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[39, 55, 88, 12], Operations: []
Exploring Operation: 88-55=33, Resulting Numbers: [39, 12, 33]
Generated Node #0,1: 18:[39, 12, 33] Operation: 88-55=33
Moving to Node #0,1
Current State: 18:[39, 12, 33], Operations: ['88-55=33']
Exploring Operation: 39-33=6, Resulting Numbers: [12, 6]
Generated Node #0,1,1: 18:[12, 6] Operation: 39-33=6
Moving to Node #0,1,1
Current State: 18:[12, 6], Operations: ['88-55=33', '39-33=6']
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
3,
29,
63,
43
] | 80 | [
"29-3=26",
"63+43=106",
"106-26=80"
] | Current State: 80:[3, 29, 63, 43], Operations: []
Exploring Operation: 29-3=26, Resulting Numbers: [63, 43, 26]
Generated Node #2: [63, 43, 26] from Operation: 29-3=26
Current State: 80:[63, 43, 26], Operations: ['29-3=26']
Exploring Operation: 63+43=106, Resulting Numbers: [26, 106]
Generated Node #3: [26, 106] from Operation: 63+43=106
Current State: 80:[26, 106], Operations: ['29-3=26', '63+43=106']
Exploring Operation: 106-26=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[3, 29, 63, 43], Operations: []
Exploring Operation: 29+63=92, Resulting Numbers: [3, 43, 92]
Generated Node #0,0: 80:[3, 43, 92] Operation: 29+63=92
Exploring Operation: 63/3=21, Resulting Numbers: [29, 43, 21]
Generated Node #0,1: 80:[29, 43, 21] Operation: 63/3=21
Exploring Operation: 63-43=20, Resulting Numbers: [3, 29, 20]
Generated Node #0,2: 80:[3, 29, 20] Operation: 63-43=20
Exploring Operation: 43-29=14, Resulting Numbers: [3, 63, 14]
Generated Node #0,3: 80:[3, 63, 14] Operation: 43-29=14
Exploring Operation: 63-29=34, Resulting Numbers: [3, 43, 34]
Generated Node #0,4: 80:[3, 43, 34] Operation: 63-29=34
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[3, 29, 20], Operations: ['63-43=20']
Exploring Operation: 3+29=32, Resulting Numbers: [20, 32]
Generated Node #0,2,0: 80:[20, 32] Operation: 3+29=32
Exploring Operation: 3*29=87, Resulting Numbers: [20, 87]
Generated Node #0,2,1: 80:[20, 87] Operation: 3*29=87
Exploring Operation: 29-20=9, Resulting Numbers: [3, 9]
Generated Node #0,2,2: 80:[3, 9] Operation: 29-20=9
Exploring Operation: 20-3=17, Resulting Numbers: [29, 17]
Generated Node #0,2,3: 80:[29, 17] Operation: 20-3=17
Exploring Operation: 29-3=26, Resulting Numbers: [20, 26]
Generated Node #0,2,4: 80:[20, 26] Operation: 29-3=26
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 80:[3, 9], Operations: ['63-43=20', '29-20=9']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,80 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,80 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 80:[20, 26], Operations: ['63-43=20', '29-3=26']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,80 unequal: No Solution
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 80:[20, 87], Operations: ['63-43=20', '3*29=87']
Exploring Operation: 20+87=107, Resulting Numbers: [107]
107,80 unequal: No Solution
Exploring Operation: 20*87=1740, Resulting Numbers: [1740]
1740,80 unequal: No Solution
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 80:[20, 32], Operations: ['63-43=20', '3+29=32']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,80 unequal: No Solution
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 80:[29, 17], Operations: ['63-43=20', '20-3=17']
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,80 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,80 unequal: No Solution
Exploring Operation: 29*17=493, Resulting Numbers: [493]
493,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 80:[3, 43, 34], Operations: ['63-29=34']
Exploring Operation: 43-34=9, Resulting Numbers: [3, 9]
Generated Node #0,4,0: 80:[3, 9] Operation: 43-34=9
Exploring Operation: 3+34=37, Resulting Numbers: [43, 37]
Generated Node #0,4,1: 80:[43, 37] Operation: 3+34=37
Exploring Operation: 43-3=40, Resulting Numbers: [34, 40]
Generated Node #0,4,2: 80:[34, 40] Operation: 43-3=40
Exploring Operation: 43+34=77, Resulting Numbers: [3, 77]
Generated Node #0,4,3: 80:[3, 77] Operation: 43+34=77
Exploring Operation: 3+43=46, Resulting Numbers: [34, 46]
Generated Node #0,4,4: 80:[34, 46] Operation: 3+43=46
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 80:[3, 9], Operations: ['63-29=34', '43-34=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,80 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,80 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 80:[3, 77], Operations: ['63-29=34', '43+34=77']
Exploring Operation: 3*77=231, Resulting Numbers: [231]
231,80 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,80 unequal: No Solution
Exploring Operation: 3+77=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[3, 29, 63, 43], Operations: []
Exploring Operation: 63-29=34, Resulting Numbers: [3, 43, 34]
Generated Node #0,4: 80:[3, 43, 34] Operation: 63-29=34
Moving to Node #0,4
Current State: 80:[3, 43, 34], Operations: ['63-29=34']
Exploring Operation: 43+34=77, Resulting Numbers: [3, 77]
Generated Node #0,4,3: 80:[3, 77] Operation: 43+34=77
Moving to Node #0,4,3
Current State: 80:[3, 77], Operations: ['63-29=34', '43+34=77']
Exploring Operation: 3+77=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.963542 | hs_5 | sum_heuristic |
[
7,
5,
18,
47
] | 20 | [
"18+47=65",
"65/5=13",
"7+13=20"
] | Current State: 20:[7, 5, 18, 47], Operations: []
Exploring Operation: 18+47=65, Resulting Numbers: [7, 5, 65]
Generated Node #2: [7, 5, 65] from Operation: 18+47=65
Current State: 20:[7, 5, 65], Operations: ['18+47=65']
Exploring Operation: 65/5=13, Resulting Numbers: [7, 13]
Generated Node #3: [7, 13] from Operation: 65/5=13
Current State: 20:[7, 13], Operations: ['18+47=65', '65/5=13']
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[7, 5, 18, 47], Operations: []
Exploring Operation: 47-5=42, Resulting Numbers: [7, 18, 42]
Generated Node #0,0: 20:[7, 18, 42] Operation: 47-5=42
Exploring Operation: 18-7=11, Resulting Numbers: [5, 47, 11]
Generated Node #0,1: 20:[5, 47, 11] Operation: 18-7=11
Exploring Operation: 47-7=40, Resulting Numbers: [5, 18, 40]
Generated Node #0,2: 20:[5, 18, 40] Operation: 47-7=40
Exploring Operation: 47-18=29, Resulting Numbers: [7, 5, 29]
Generated Node #0,3: 20:[7, 5, 29] Operation: 47-18=29
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[7, 5, 29], Operations: ['47-18=29']
Exploring Operation: 7+5=12, Resulting Numbers: [29, 12]
Generated Node #0,3,0: 20:[29, 12] Operation: 7+5=12
Exploring Operation: 29-5=24, Resulting Numbers: [7, 24]
Generated Node #0,3,1: 20:[7, 24] Operation: 29-5=24
Exploring Operation: 29-7=22, Resulting Numbers: [5, 22]
Generated Node #0,3,2: 20:[5, 22] Operation: 29-7=22
Exploring Operation: 7-5=2, Resulting Numbers: [29, 2]
Generated Node #0,3,3: 20:[29, 2] Operation: 7-5=2
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 20:[5, 22], Operations: ['47-18=29', '29-7=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,20 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 20:[7, 24], Operations: ['47-18=29', '29-5=24']
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,20 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 20:[29, 2], Operations: ['47-18=29', '7-5=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,20 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 20:[29, 12], Operations: ['47-18=29', '7+5=12']
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[5, 18, 40], Operations: ['47-7=40']
Exploring Operation: 5+18=23, Resulting Numbers: [40, 23]
Generated Node #0,2,0: 20:[40, 23] Operation: 5+18=23
Exploring Operation: 40-5=35, Resulting Numbers: [18, 35]
Generated Node #0,2,1: 20:[18, 35] Operation: 40-5=35
Exploring Operation: 40/5=8, Resulting Numbers: [18, 8]
Generated Node #0,2,2: 20:[18, 8] Operation: 40/5=8
Exploring Operation: 40-18=22, Resulting Numbers: [5, 22]
Generated Node #0,2,3: 20:[5, 22] Operation: 40-18=22
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 20:[5, 22], Operations: ['47-7=40', '40-18=22']
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,20 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,20 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 20:[18, 8], Operations: ['47-7=40', '40/5=8']
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,20 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 20:[18, 35], Operations: ['47-7=40', '40-5=35']
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 18+35=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 18*35=630, Resulting Numbers: [630]
630,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 20:[40, 23], Operations: ['47-7=40', '5+18=23']
Exploring Operation: 40+23=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 40*23=920, Resulting Numbers: [920]
920,20 unequal: No Solution
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[7, 18, 42], Operations: ['47-5=42']
Exploring Operation: 42/7=6, Resulting Numbers: [18, 6]
Generated Node #0,0,0: 20:[18, 6] Operation: 42/7=6
Exploring Operation: 42-18=24, Resulting Numbers: [7, 24]
Generated Node #0,0,1: 20:[7, 24] Operation: 42-18=24
Exploring Operation: 18-7=11, Resulting Numbers: [42, 11]
Generated Node #0,0,2: 20:[42, 11] Operation: 18-7=11
Exploring Operation: 42-7=35, Resulting Numbers: [18, 35]
Generated Node #0,0,3: 20:[18, 35] Operation: 42-7=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[18, 6], Operations: ['47-5=42', '42/7=6']
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,20 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,20 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[7, 24], Operations: ['47-5=42', '42-18=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 20:[18, 35], Operations: ['47-5=42', '42-7=35']
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 18+35=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 18*35=630, Resulting Numbers: [630]
630,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 20:[42, 11], Operations: ['47-5=42', '18-7=11']
Exploring Operation: 42+11=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 42*11=462, Resulting Numbers: [462]
462,20 unequal: No Solution
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[5, 47, 11], Operations: ['18-7=11']
Exploring Operation: 47-11=36, Resulting Numbers: [5, 36]
Generated Node #0,1,0: 20:[5, 36] Operation: 47-11=36
Exploring Operation: 47-5=42, Resulting Numbers: [11, 42]
Generated Node #0,1,1: 20:[11, 42] Operation: 47-5=42
Exploring Operation: 11-5=6, Resulting Numbers: [47, 6]
Generated Node #0,1,2: 20:[47, 6] Operation: 11-5=6
Exploring Operation: 5+11=16, Resulting Numbers: [47, 16]
Generated Node #0,1,3: 20:[47, 16] Operation: 5+11=16
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[5, 36], Operations: ['18-7=11', '47-11=36']
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,20 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[11, 42], Operations: ['18-7=11', '47-5=42']
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 11+42=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 11*42=462, Resulting Numbers: [462]
462,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 20:[47, 6], Operations: ['18-7=11', '11-5=6']
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 47*6=282, Resulting Numbers: [282]
282,20 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 20:[47, 16], Operations: ['18-7=11', '5+11=16']
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,20 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
84,
64,
83,
95
] | 30 | [
"84+64=148",
"83+95=178",
"178-148=30"
] | Current State: 30:[84, 64, 83, 95], Operations: []
Exploring Operation: 84+64=148, Resulting Numbers: [83, 95, 148]
Generated Node #2: [83, 95, 148] from Operation: 84+64=148
Current State: 30:[83, 95, 148], Operations: ['84+64=148']
Exploring Operation: 83+95=178, Resulting Numbers: [148, 178]
Generated Node #3: [148, 178] from Operation: 83+95=178
Current State: 30:[148, 178], Operations: ['84+64=148', '83+95=178']
Exploring Operation: 178-148=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[84, 64, 83, 95], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [64, 83, 11]
Generated Node #0,0: 30:[64, 83, 11] Operation: 95-84=11
Moving to Node #0,0
Current State: 30:[64, 83, 11], Operations: ['95-84=11']
Exploring Operation: 83-64=19, Resulting Numbers: [11, 19]
Generated Node #0,0,0: 30:[11, 19] Operation: 83-64=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[11, 19], Operations: ['95-84=11', '83-64=19']
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[84, 64, 83, 95], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [64, 83, 11]
Generated Node #0,0: 30:[64, 83, 11] Operation: 95-84=11
Moving to Node #0,0
Current State: 30:[64, 83, 11], Operations: ['95-84=11']
Exploring Operation: 83-64=19, Resulting Numbers: [11, 19]
Generated Node #0,0,0: 30:[11, 19] Operation: 83-64=19
Moving to Node #0,0,0
Current State: 30:[11, 19], Operations: ['95-84=11', '83-64=19']
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
83,
41,
93,
92
] | 41 | [
"83-41=42",
"93-92=1",
"42-1=41"
] | Current State: 41:[83, 41, 93, 92], Operations: []
Exploring Operation: 83-41=42, Resulting Numbers: [93, 92, 42]
Generated Node #2: [93, 92, 42] from Operation: 83-41=42
Current State: 41:[93, 92, 42], Operations: ['83-41=42']
Exploring Operation: 93-92=1, Resulting Numbers: [42, 1]
Generated Node #3: [42, 1] from Operation: 93-92=1
Current State: 41:[42, 1], Operations: ['83-41=42', '93-92=1']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[83, 41, 93, 92], Operations: []
Exploring Operation: 93-83=10, Resulting Numbers: [41, 92, 10]
Generated Node #0,0: 41:[41, 92, 10] Operation: 93-83=10
Exploring Operation: 83-41=42, Resulting Numbers: [93, 92, 42]
Generated Node #0,1: 41:[93, 92, 42] Operation: 83-41=42
Exploring Operation: 93-92=1, Resulting Numbers: [83, 41, 1]
Generated Node #0,2: 41:[83, 41, 1] Operation: 93-92=1
Exploring Operation: 92-83=9, Resulting Numbers: [41, 93, 9]
Generated Node #0,3: 41:[41, 93, 9] Operation: 92-83=9
Exploring Operation: 93-41=52, Resulting Numbers: [83, 92, 52]
Generated Node #0,4: 41:[83, 92, 52] Operation: 93-41=52
Moving to Node #0,0
Current State: 41:[41, 92, 10], Operations: ['93-83=10']
Exploring Operation: 92-10=82, Resulting Numbers: [41, 82]
Generated Node #0,0,0: 41:[41, 82] Operation: 92-10=82
Exploring Operation: 41+10=51, Resulting Numbers: [92, 51]
Generated Node #0,0,1: 41:[92, 51] Operation: 41+10=51
Exploring Operation: 92+10=102, Resulting Numbers: [41, 102]
Generated Node #0,0,2: 41:[41, 102] Operation: 92+10=102
Exploring Operation: 92-41=51, Resulting Numbers: [10, 51]
Generated Node #0,0,3: 41:[10, 51] Operation: 92-41=51
Exploring Operation: 41-10=31, Resulting Numbers: [92, 31]
Generated Node #0,0,4: 41:[92, 31] Operation: 41-10=31
Moving to Node #0,2
Current State: 41:[83, 41, 1], Operations: ['93-92=1']
Exploring Operation: 83/1=83, Resulting Numbers: [41, 83]
Generated Node #0,2,0: 41:[41, 83] Operation: 83/1=83
Exploring Operation: 83-1=82, Resulting Numbers: [41, 82]
Generated Node #0,2,1: 41:[41, 82] Operation: 83-1=82
Exploring Operation: 83*1=83, Resulting Numbers: [41, 83]
Generated Node #0,2,2: 41:[41, 83] Operation: 83*1=83
Exploring Operation: 41*1=41, Resulting Numbers: [83, 41]
Generated Node #0,2,3: 41:[83, 41] Operation: 41*1=41
Exploring Operation: 83-41=42, Resulting Numbers: [1, 42]
Generated Node #0,2,4: 41:[1, 42] Operation: 83-41=42
Moving to Node #0,3
Current State: 41:[41, 93, 9], Operations: ['92-83=9']
Exploring Operation: 41+9=50, Resulting Numbers: [93, 50]
Generated Node #0,3,0: 41:[93, 50] Operation: 41+9=50
Exploring Operation: 93+9=102, Resulting Numbers: [41, 102]
Generated Node #0,3,1: 41:[41, 102] Operation: 93+9=102
Exploring Operation: 41-9=32, Resulting Numbers: [93, 32]
Generated Node #0,3,2: 41:[93, 32] Operation: 41-9=32
Exploring Operation: 93-41=52, Resulting Numbers: [9, 52]
Generated Node #0,3,3: 41:[9, 52] Operation: 93-41=52
Exploring Operation: 93-9=84, Resulting Numbers: [41, 84]
Generated Node #0,3,4: 41:[41, 84] Operation: 93-9=84
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 41:[9, 52], Operations: ['92-83=9', '93-41=52']
Exploring Operation: 9*52=468, Resulting Numbers: [468]
468,41 unequal: No Solution
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 9+52=61, Resulting Numbers: [61]
61,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 41:[41, 84], Operations: ['92-83=9', '93-9=84']
Exploring Operation: 41+84=125, Resulting Numbers: [125]
125,41 unequal: No Solution
Exploring Operation: 84-41=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 41*84=3444, Resulting Numbers: [3444]
3444,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[93, 50], Operations: ['92-83=9', '41+9=50']
Exploring Operation: 93*50=4650, Resulting Numbers: [4650]
4650,41 unequal: No Solution
Exploring Operation: 93-50=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 93+50=143, Resulting Numbers: [143]
143,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 41:[41, 102], Operations: ['92-83=9', '93+9=102']
Exploring Operation: 41*102=4182, Resulting Numbers: [4182]
4182,41 unequal: No Solution
Exploring Operation: 41+102=143, Resulting Numbers: [143]
143,41 unequal: No Solution
Exploring Operation: 102-41=61, Resulting Numbers: [61]
61,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 41:[93, 32], Operations: ['92-83=9', '41-9=32']
Exploring Operation: 93+32=125, Resulting Numbers: [125]
125,41 unequal: No Solution
Exploring Operation: 93*32=2976, Resulting Numbers: [2976]
2976,41 unequal: No Solution
Exploring Operation: 93-32=61, Resulting Numbers: [61]
61,41 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: 41:[93, 92, 42], Operations: ['83-41=42']
Exploring Operation: 93-92=1, Resulting Numbers: [42, 1]
Generated Node #0,1,0: 41:[42, 1] Operation: 93-92=1
Exploring Operation: 92-42=50, Resulting Numbers: [93, 50]
Generated Node #0,1,1: 41:[93, 50] Operation: 92-42=50
Exploring Operation: 93+92=185, Resulting Numbers: [42, 185]
Generated Node #0,1,2: 41:[42, 185] Operation: 93+92=185
Exploring Operation: 93-42=51, Resulting Numbers: [92, 51]
Generated Node #0,1,3: 41:[92, 51] Operation: 93-42=51
Exploring Operation: 93+42=135, Resulting Numbers: [92, 135]
Generated Node #0,1,4: 41:[92, 135] Operation: 93+42=135
Moving to Node #0,4
Current State: 41:[83, 92, 52], Operations: ['93-41=52']
Exploring Operation: 83-52=31, Resulting Numbers: [92, 31]
Generated Node #0,4,0: 41:[92, 31] Operation: 83-52=31
Exploring Operation: 83+92=175, Resulting Numbers: [52, 175]
Generated Node #0,4,1: 41:[52, 175] Operation: 83+92=175
Exploring Operation: 83+52=135, Resulting Numbers: [92, 135]
Generated Node #0,4,2: 41:[92, 135] Operation: 83+52=135
Exploring Operation: 92-52=40, Resulting Numbers: [83, 40]
Generated Node #0,4,3: 41:[83, 40] Operation: 92-52=40
Exploring Operation: 92-83=9, Resulting Numbers: [52, 9]
Generated Node #0,4,4: 41:[52, 9] Operation: 92-83=9
Moving to Node #0,0,0
Current State: 41:[41, 82], Operations: ['93-83=10', '92-10=82']
Exploring Operation: 41*82=3362, Resulting Numbers: [3362]
3362,41 unequal: No Solution
Exploring Operation: 41+82=123, Resulting Numbers: [123]
123,41 unequal: No Solution
Exploring Operation: 82/41=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[83, 41, 93, 92], Operations: []
Exploring Operation: 93-83=10, Resulting Numbers: [41, 92, 10]
Generated Node #0,0: 41:[41, 92, 10] Operation: 93-83=10
Moving to Node #0,0
Current State: 41:[41, 92, 10], Operations: ['93-83=10']
Exploring Operation: 92-10=82, Resulting Numbers: [41, 82]
Generated Node #0,0,0: 41:[41, 82] Operation: 92-10=82
Moving to Node #0,0,0
Current State: 41:[41, 82], Operations: ['93-83=10', '92-10=82']
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 0.953993 | hs_5 | sum_heuristic |
[
66,
31,
28,
75
] | 42 | [
"66*28=1848",
"75-31=44",
"1848/44=42"
] | Current State: 42:[66, 31, 28, 75], Operations: []
Exploring Operation: 66*28=1848, Resulting Numbers: [31, 75, 1848]
Generated Node #2: [31, 75, 1848] from Operation: 66*28=1848
Current State: 42:[31, 75, 1848], Operations: ['66*28=1848']
Exploring Operation: 75-31=44, Resulting Numbers: [1848, 44]
Generated Node #3: [1848, 44] from Operation: 75-31=44
Current State: 42:[1848, 44], Operations: ['66*28=1848', '75-31=44']
Exploring Operation: 1848/44=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[66, 31, 28, 75], Operations: []
Exploring Operation: 75-28=47, Resulting Numbers: [66, 31, 47]
Generated Node #0,0: 42:[66, 31, 47] Operation: 75-28=47
Exploring Operation: 75-66=9, Resulting Numbers: [31, 28, 9]
Generated Node #0,1: 42:[31, 28, 9] Operation: 75-66=9
Exploring Operation: 75-31=44, Resulting Numbers: [66, 28, 44]
Generated Node #0,2: 42:[66, 28, 44] Operation: 75-31=44
Moving to Node #0,1
Current State: 42:[31, 28, 9], Operations: ['75-66=9']
Exploring Operation: 31+9=40, Resulting Numbers: [28, 40]
Generated Node #0,1,0: 42:[28, 40] Operation: 31+9=40
Exploring Operation: 31-9=22, Resulting Numbers: [28, 22]
Generated Node #0,1,1: 42:[28, 22] Operation: 31-9=22
Exploring Operation: 31-28=3, Resulting Numbers: [9, 3]
Generated Node #0,1,2: 42:[9, 3] Operation: 31-28=3
Moving to Node #0,2
Current State: 42:[66, 28, 44], Operations: ['75-31=44']
Exploring Operation: 66-44=22, Resulting Numbers: [28, 22]
Generated Node #0,2,0: 42:[28, 22] Operation: 66-44=22
Exploring Operation: 66-28=38, Resulting Numbers: [44, 38]
Generated Node #0,2,1: 42:[44, 38] Operation: 66-28=38
Exploring Operation: 44-28=16, Resulting Numbers: [66, 16]
Generated Node #0,2,2: 42:[66, 16] Operation: 44-28=16
Moving to Node #0,0
Current State: 42:[66, 31, 47], Operations: ['75-28=47']
Exploring Operation: 66-31=35, Resulting Numbers: [47, 35]
Generated Node #0,0,0: 42:[47, 35] Operation: 66-31=35
Exploring Operation: 66-47=19, Resulting Numbers: [31, 19]
Generated Node #0,0,1: 42:[31, 19] Operation: 66-47=19
Exploring Operation: 47-31=16, Resulting Numbers: [66, 16]
Generated Node #0,0,2: 42:[66, 16] Operation: 47-31=16
Moving to Node #0,1,2
Current State: 42:[9, 3], Operations: ['75-66=9', '31-28=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[44, 38], Operations: ['75-31=44', '66-28=38']
Exploring Operation: 44*38=1672, Resulting Numbers: [1672]
1672,42 unequal: No Solution
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,42 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Moving to Node #0,2,0
Current State: 42:[28, 22], Operations: ['75-31=44', '66-44=22']
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,42 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[28, 22], Operations: ['75-66=9', '31-9=22']
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,42 unequal: No Solution
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,42 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[28, 40], Operations: ['75-66=9', '31+9=40']
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,42 unequal: No Solution
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 28*40=1120, Resulting Numbers: [1120]
1120,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[31, 19], Operations: ['75-28=47', '66-47=19']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 31*19=589, Resulting Numbers: [589]
589,42 unequal: No Solution
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[47, 35], Operations: ['75-28=47', '66-31=35']
Exploring Operation: 47+35=82, Resulting Numbers: [82]
82,42 unequal: No Solution
Exploring Operation: 47*35=1645, Resulting Numbers: [1645]
1645,42 unequal: No Solution
Exploring Operation: 47-35=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[66, 16], Operations: ['75-28=47', '47-31=16']
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,42 unequal: No Solution
Exploring Operation: 66+16=82, Resulting Numbers: [82]
82,42 unequal: No Solution
Exploring Operation: 66*16=1056, Resulting Numbers: [1056]
1056,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[66, 16], Operations: ['75-31=44', '44-28=16']
Exploring Operation: 66*16=1056, Resulting Numbers: [1056]
1056,42 unequal: No Solution
Exploring Operation: 66+16=82, Resulting Numbers: [82]
82,42 unequal: No Solution
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,42 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
66,
3,
11,
22
] | 77 | [
"66-22=44",
"3*11=33",
"44+33=77"
] | Current State: 77:[66, 3, 11, 22], Operations: []
Exploring Operation: 66-22=44, Resulting Numbers: [3, 11, 44]
Generated Node #2: [3, 11, 44] from Operation: 66-22=44
Current State: 77:[3, 11, 44], Operations: ['66-22=44']
Exploring Operation: 3*11=33, Resulting Numbers: [44, 33]
Generated Node #3: [44, 33] from Operation: 3*11=33
Current State: 77:[44, 33], Operations: ['66-22=44', '3*11=33']
Exploring Operation: 44+33=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[66, 3, 11, 22], Operations: []
Exploring Operation: 66+22=88, Resulting Numbers: [3, 11, 88]
Generated Node #0,0: 77:[3, 11, 88] Operation: 66+22=88
Exploring Operation: 66+11=77, Resulting Numbers: [3, 22, 77]
Generated Node #0,1: 77:[3, 22, 77] Operation: 66+11=77
Exploring Operation: 66/22=3, Resulting Numbers: [3, 11, 3]
Generated Node #0,2: 77:[3, 11, 3] Operation: 66/22=3
Moving to Node #0,2
Current State: 77:[3, 11, 3], Operations: ['66/22=3']
Exploring Operation: 3+3=6, Resulting Numbers: [11, 6]
Generated Node #0,2,0: 77:[11, 6] Operation: 3+3=6
Exploring Operation: 3*3=9, Resulting Numbers: [11, 9]
Generated Node #0,2,1: 77:[11, 9] Operation: 3*3=9
Exploring Operation: 11-3=8, Resulting Numbers: [3, 8]
Generated Node #0,2,2: 77:[3, 8] Operation: 11-3=8
Moving to Node #0,0
Current State: 77:[3, 11, 88], Operations: ['66+22=88']
Exploring Operation: 88/11=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 77:[3, 8] Operation: 88/11=8
Exploring Operation: 88-3=85, Resulting Numbers: [11, 85]
Generated Node #0,0,1: 77:[11, 85] Operation: 88-3=85
Exploring Operation: 88-11=77, Resulting Numbers: [3, 77]
Generated Node #0,0,2: 77:[3, 77] Operation: 88-11=77
Moving to Node #0,1
Current State: 77:[3, 22, 77], Operations: ['66+11=77']
Exploring Operation: 3+22=25, Resulting Numbers: [77, 25]
Generated Node #0,1,0: 77:[77, 25] Operation: 3+22=25
Exploring Operation: 22-3=19, Resulting Numbers: [77, 19]
Generated Node #0,1,1: 77:[77, 19] Operation: 22-3=19
Exploring Operation: 3*22=66, Resulting Numbers: [77, 66]
Generated Node #0,1,2: 77:[77, 66] Operation: 3*22=66
Moving to Node #0,2,0
Current State: 77:[11, 6], Operations: ['66/22=3', '3+3=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[11, 9], Operations: ['66/22=3', '3*3=9']
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[3, 77], Operations: ['66+22=88', '88-11=77']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 3*77=231, Resulting Numbers: [231]
231,77 unequal: No Solution
Exploring Operation: 3+77=80, Resulting Numbers: [80]
80,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[3, 8], Operations: ['66/22=3', '11-3=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[3, 8], Operations: ['66+22=88', '88/11=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[11, 85], Operations: ['66+22=88', '88-3=85']
Exploring Operation: 11+85=96, Resulting Numbers: [96]
96,77 unequal: No Solution
Exploring Operation: 85-11=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 11*85=935, Resulting Numbers: [935]
935,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[77, 19], Operations: ['66+11=77', '22-3=19']
Exploring Operation: 77*19=1463, Resulting Numbers: [1463]
1463,77 unequal: No Solution
Exploring Operation: 77+19=96, Resulting Numbers: [96]
96,77 unequal: No Solution
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[77, 66], Operations: ['66+11=77', '3*22=66']
Exploring Operation: 77-66=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 77*66=5082, Resulting Numbers: [5082]
5082,77 unequal: No Solution
Exploring Operation: 77+66=143, Resulting Numbers: [143]
143,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[77, 25], Operations: ['66+11=77', '3+22=25']
Exploring Operation: 77-25=52, Resulting Numbers: [52]
52,77 unequal: No Solution
Exploring Operation: 77+25=102, Resulting Numbers: [102]
102,77 unequal: No Solution
Exploring Operation: 77*25=1925, Resulting Numbers: [1925]
1925,77 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
48,
93,
48,
8
] | 39 | [
"93-48=45",
"48/8=6",
"45-6=39"
] | Current State: 39:[48, 93, 48, 8], Operations: []
Exploring Operation: 93-48=45, Resulting Numbers: [8, 45]
Generated Node #2: [8, 45] from Operation: 93-48=45
Current State: 39:[8, 45], Operations: ['93-48=45']
Exploring Operation: 48/8=6, Resulting Numbers: [45, 6]
Generated Node #3: [45, 6] from Operation: 48/8=6
Current State: 39:[45, 6], Operations: ['93-48=45', '48/8=6']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[48, 93, 48, 8], Operations: []
Exploring Operation: 48/48=1, Resulting Numbers: [93, 8, 1]
Generated Node #0,0: 39:[93, 8, 1] Operation: 48/48=1
Exploring Operation: 93-48=45, Resulting Numbers: [48, 8, 45]
Generated Node #0,1: 39:[48, 8, 45] Operation: 93-48=45
Exploring Operation: 93-48=45, Resulting Numbers: [48, 8, 45]
Generated Node #0,2: 39:[48, 8, 45] Operation: 93-48=45
Moving to Node #0,1
Current State: 39:[48, 8, 45], Operations: ['93-48=45']
Exploring Operation: 48/8=6, Resulting Numbers: [45, 6]
Generated Node #0,1,0: 39:[45, 6] Operation: 48/8=6
Exploring Operation: 48-45=3, Resulting Numbers: [8, 3]
Generated Node #0,1,1: 39:[8, 3] Operation: 48-45=3
Exploring Operation: 48-8=40, Resulting Numbers: [45, 40]
Generated Node #0,1,2: 39:[45, 40] Operation: 48-8=40
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[8, 3], Operations: ['93-48=45', '48-45=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[45, 40], Operations: ['93-48=45', '48-8=40']
Exploring Operation: 45-40=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 45*40=1800, Resulting Numbers: [1800]
1800,39 unequal: No Solution
Exploring Operation: 45+40=85, Resulting Numbers: [85]
85,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:[45, 6], Operations: ['93-48=45', '48/8=6']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[48, 93, 48, 8], Operations: []
Exploring Operation: 93-48=45, Resulting Numbers: [48, 8, 45]
Generated Node #0,1: 39:[48, 8, 45] Operation: 93-48=45
Moving to Node #0,1
Current State: 39:[48, 8, 45], Operations: ['93-48=45']
Exploring Operation: 48/8=6, Resulting Numbers: [45, 6]
Generated Node #0,1,0: 39:[45, 6] Operation: 48/8=6
Moving to Node #0,1,0
Current State: 39:[45, 6], Operations: ['93-48=45', '48/8=6']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
74,
63,
65,
89
] | 30 | [
"89-74=15",
"65-63=2",
"15*2=30"
] | Current State: 30:[74, 63, 65, 89], Operations: []
Exploring Operation: 89-74=15, Resulting Numbers: [63, 65, 15]
Generated Node #2: [63, 65, 15] from Operation: 89-74=15
Current State: 30:[63, 65, 15], Operations: ['89-74=15']
Exploring Operation: 65-63=2, Resulting Numbers: [15, 2]
Generated Node #3: [15, 2] from Operation: 65-63=2
Current State: 30:[15, 2], Operations: ['89-74=15', '65-63=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[74, 63, 65, 89], Operations: []
Exploring Operation: 89-74=15, Resulting Numbers: [63, 65, 15]
Generated Node #0,0: 30:[63, 65, 15] Operation: 89-74=15
Moving to Node #0,0
Current State: 30:[63, 65, 15], Operations: ['89-74=15']
Exploring Operation: 65-63=2, Resulting Numbers: [15, 2]
Generated Node #0,0,0: 30:[15, 2] Operation: 65-63=2
Moving to Node #0,0,0
Current State: 30:[15, 2], Operations: ['89-74=15', '65-63=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[74, 63, 65, 89], Operations: []
Exploring Operation: 89-74=15, Resulting Numbers: [63, 65, 15]
Generated Node #0,0: 30:[63, 65, 15] Operation: 89-74=15
Moving to Node #0,0
Current State: 30:[63, 65, 15], Operations: ['89-74=15']
Exploring Operation: 65-63=2, Resulting Numbers: [15, 2]
Generated Node #0,0,0: 30:[15, 2] Operation: 65-63=2
Moving to Node #0,0,0
Current State: 30:[15, 2], Operations: ['89-74=15', '65-63=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
22,
55,
57,
36
] | 55 | [
"57-22=35",
"36-35=1",
"55*1=55"
] | Current State: 55:[22, 55, 57, 36], Operations: []
Exploring Operation: 57-22=35, Resulting Numbers: [55, 36, 35]
Generated Node #2: [55, 36, 35] from Operation: 57-22=35
Current State: 55:[55, 36, 35], Operations: ['57-22=35']
Exploring Operation: 36-35=1, Resulting Numbers: [55, 1]
Generated Node #3: [55, 1] from Operation: 36-35=1
Current State: 55:[55, 1], Operations: ['57-22=35', '36-35=1']
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[22, 55, 57, 36], Operations: []
Exploring Operation: 36-22=14, Resulting Numbers: [55, 57, 14]
Generated Node #0,0: 55:[55, 57, 14] Operation: 36-22=14
Exploring Operation: 22+36=58, Resulting Numbers: [55, 57, 58]
Generated Node #0,1: 55:[55, 57, 58] Operation: 22+36=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[55, 57, 14], Operations: ['36-22=14']
Exploring Operation: 57-14=43, Resulting Numbers: [55, 43]
Generated Node #0,0,0: 55:[55, 43] Operation: 57-14=43
Exploring Operation: 57-55=2, Resulting Numbers: [14, 2]
Generated Node #0,0,1: 55:[14, 2] Operation: 57-55=2
Moving to Node #0,0,1
Current State: 55:[14, 2], Operations: ['36-22=14', '57-55=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[55, 43], Operations: ['36-22=14', '57-14=43']
Exploring Operation: 55+43=98, Resulting Numbers: [98]
98,55 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[55, 57, 58], Operations: ['22+36=58']
Exploring Operation: 58-57=1, Resulting Numbers: [55, 1]
Generated Node #0,1,0: 55:[55, 1] Operation: 58-57=1
Exploring Operation: 58-55=3, Resulting Numbers: [57, 3]
Generated Node #0,1,1: 55:[57, 3] Operation: 58-55=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[55, 1], Operations: ['22+36=58', '58-57=1']
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[22, 55, 57, 36], Operations: []
Exploring Operation: 22+36=58, Resulting Numbers: [55, 57, 58]
Generated Node #0,1: 55:[55, 57, 58] Operation: 22+36=58
Moving to Node #0,1
Current State: 55:[55, 57, 58], Operations: ['22+36=58']
Exploring Operation: 58-57=1, Resulting Numbers: [55, 1]
Generated Node #0,1,0: 55:[55, 1] Operation: 58-57=1
Moving to Node #0,1,0
Current State: 55:[55, 1], Operations: ['22+36=58', '58-57=1']
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.986979 | hs_2 | sum_heuristic |
[
34,
3,
41,
1
] | 24 | [
"34+41=75",
"75/3=25",
"25-1=24"
] | Current State: 24:[34, 3, 41, 1], Operations: []
Exploring Operation: 34+41=75, Resulting Numbers: [3, 1, 75]
Generated Node #2: [3, 1, 75] from Operation: 34+41=75
Current State: 24:[3, 1, 75], Operations: ['34+41=75']
Exploring Operation: 75/3=25, Resulting Numbers: [1, 25]
Generated Node #3: [1, 25] from Operation: 75/3=25
Current State: 24:[1, 25], Operations: ['34+41=75', '75/3=25']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[34, 3, 41, 1], Operations: []
Exploring Operation: 41-34=7, Resulting Numbers: [3, 1, 7]
Generated Node #0,0: 24:[3, 1, 7] Operation: 41-34=7
Exploring Operation: 34-3=31, Resulting Numbers: [41, 1, 31]
Generated Node #0,1: 24:[41, 1, 31] Operation: 34-3=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[3, 1, 7], Operations: ['41-34=7']
Exploring Operation: 7-1=6, Resulting Numbers: [3, 6]
Generated Node #0,0,0: 24:[3, 6] Operation: 7-1=6
Exploring Operation: 1+7=8, Resulting Numbers: [3, 8]
Generated Node #0,0,1: 24:[3, 8] Operation: 1+7=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[3, 6], Operations: ['41-34=7', '7-1=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,24 unequal: No Solution
No 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: 24:[3, 8], Operations: ['41-34=7', '1+7=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,24 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[34, 3, 41, 1], Operations: []
Exploring Operation: 41-34=7, Resulting Numbers: [3, 1, 7]
Generated Node #0,0: 24:[3, 1, 7] Operation: 41-34=7
Moving to Node #0,0
Current State: 24:[3, 1, 7], Operations: ['41-34=7']
Exploring Operation: 1+7=8, Resulting Numbers: [3, 8]
Generated Node #0,0,1: 24:[3, 8] Operation: 1+7=8
Moving to Node #0,0,1
Current State: 24:[3, 8], Operations: ['41-34=7', '1+7=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
8,
1,
74,
32
] | 33 | [
"8+1=9",
"74-32=42",
"42-9=33"
] | Current State: 33:[8, 1, 74, 32], Operations: []
Exploring Operation: 8+1=9, Resulting Numbers: [74, 32, 9]
Generated Node #2: [74, 32, 9] from Operation: 8+1=9
Current State: 33:[74, 32, 9], Operations: ['8+1=9']
Exploring Operation: 74-32=42, Resulting Numbers: [9, 42]
Generated Node #3: [9, 42] from Operation: 74-32=42
Current State: 33:[9, 42], Operations: ['8+1=9', '74-32=42']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[8, 1, 74, 32], Operations: []
Exploring Operation: 74-8=66, Resulting Numbers: [1, 32, 66]
Generated Node #0,0: 33:[1, 32, 66] Operation: 74-8=66
Exploring Operation: 8+1=9, Resulting Numbers: [74, 32, 9]
Generated Node #0,1: 33:[74, 32, 9] Operation: 8+1=9
Exploring Operation: 74-32=42, Resulting Numbers: [8, 1, 42]
Generated Node #0,2: 33:[8, 1, 42] Operation: 74-32=42
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[8, 1, 42], Operations: ['74-32=42']
Exploring Operation: 8+1=9, Resulting Numbers: [42, 9]
Generated Node #0,2,0: 33:[42, 9] Operation: 8+1=9
Exploring Operation: 42-8=34, Resulting Numbers: [1, 34]
Generated Node #0,2,1: 33:[1, 34] Operation: 42-8=34
Exploring Operation: 42-1=41, Resulting Numbers: [8, 41]
Generated Node #0,2,2: 33:[8, 41] Operation: 42-1=41
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 33:[1, 34], Operations: ['74-32=42', '42-8=34']
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[8, 1, 74, 32], Operations: []
Exploring Operation: 74-32=42, Resulting Numbers: [8, 1, 42]
Generated Node #0,2: 33:[8, 1, 42] Operation: 74-32=42
Moving to Node #0,2
Current State: 33:[8, 1, 42], Operations: ['74-32=42']
Exploring Operation: 42-8=34, Resulting Numbers: [1, 34]
Generated Node #0,2,1: 33:[1, 34] Operation: 42-8=34
Moving to Node #0,2,1
Current State: 33:[1, 34], Operations: ['74-32=42', '42-8=34']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
2,
82,
48,
27
] | 59 | [
"82-2=80",
"48-27=21",
"80-21=59"
] | Current State: 59:[2, 82, 48, 27], Operations: []
Exploring Operation: 82-2=80, Resulting Numbers: [48, 27, 80]
Generated Node #2: [48, 27, 80] from Operation: 82-2=80
Current State: 59:[48, 27, 80], Operations: ['82-2=80']
Exploring Operation: 48-27=21, Resulting Numbers: [80, 21]
Generated Node #3: [80, 21] from Operation: 48-27=21
Current State: 59:[80, 21], Operations: ['82-2=80', '48-27=21']
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[2, 82, 48, 27], Operations: []
Exploring Operation: 2+48=50, Resulting Numbers: [82, 27, 50]
Generated Node #0,0: 59:[82, 27, 50] Operation: 2+48=50
Exploring Operation: 82/2=41, Resulting Numbers: [48, 27, 41]
Generated Node #0,1: 59:[48, 27, 41] Operation: 82/2=41
Exploring Operation: 2*27=54, Resulting Numbers: [82, 48, 54]
Generated Node #0,2: 59:[82, 48, 54] Operation: 2*27=54
Exploring Operation: 82-2=80, Resulting Numbers: [48, 27, 80]
Generated Node #0,3: 59:[48, 27, 80] Operation: 82-2=80
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[82, 48, 54], Operations: ['2*27=54']
Exploring Operation: 82+48=130, Resulting Numbers: [54, 130]
Generated Node #0,2,0: 59:[54, 130] Operation: 82+48=130
Exploring Operation: 82-48=34, Resulting Numbers: [54, 34]
Generated Node #0,2,1: 59:[54, 34] Operation: 82-48=34
Exploring Operation: 82-54=28, Resulting Numbers: [48, 28]
Generated Node #0,2,2: 59:[48, 28] Operation: 82-54=28
Exploring Operation: 48+54=102, Resulting Numbers: [82, 102]
Generated Node #0,2,3: 59:[82, 102] Operation: 48+54=102
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 59:[54, 34], Operations: ['2*27=54', '82-48=34']
Exploring Operation: 54+34=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 54*34=1836, Resulting Numbers: [1836]
1836,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,2,2
Current State: 59:[48, 28], Operations: ['2*27=54', '82-54=28']
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 48*28=1344, Resulting Numbers: [1344]
1344,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,2,3
Current State: 59:[82, 102], Operations: ['2*27=54', '48+54=102']
Exploring Operation: 82+102=184, Resulting Numbers: [184]
184,59 unequal: No Solution
Exploring Operation: 82*102=8364, Resulting Numbers: [8364]
8364,59 unequal: No Solution
Exploring Operation: 102-82=20, Resulting Numbers: [20]
20,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,2,0
Current State: 59:[54, 130], Operations: ['2*27=54', '82+48=130']
Exploring Operation: 54*130=7020, Resulting Numbers: [7020]
7020,59 unequal: No Solution
Exploring Operation: 130-54=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 54+130=184, Resulting Numbers: [184]
184,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:[48, 27, 41], Operations: ['82/2=41']
Exploring Operation: 48+27=75, Resulting Numbers: [41, 75]
Generated Node #0,1,0: 59:[41, 75] Operation: 48+27=75
Exploring Operation: 48-27=21, Resulting Numbers: [41, 21]
Generated Node #0,1,1: 59:[41, 21] Operation: 48-27=21
Exploring Operation: 27+41=68, Resulting Numbers: [48, 68]
Generated Node #0,1,2: 59:[48, 68] Operation: 27+41=68
Exploring Operation: 41-27=14, Resulting Numbers: [48, 14]
Generated Node #0,1,3: 59:[48, 14] Operation: 41-27=14
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 59:[48, 68], Operations: ['82/2=41', '27+41=68']
Exploring Operation: 48+68=116, Resulting Numbers: [116]
116,59 unequal: No Solution
Exploring Operation: 68-48=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 48*68=3264, Resulting Numbers: [3264]
3264,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,1,0
Current State: 59:[41, 75], Operations: ['82/2=41', '48+27=75']
Exploring Operation: 41*75=3075, Resulting Numbers: [3075]
3075,59 unequal: No Solution
Exploring Operation: 41+75=116, Resulting Numbers: [116]
116,59 unequal: No Solution
Exploring Operation: 75-41=34, Resulting Numbers: [34]
34,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,1,1
Current State: 59:[41, 21], Operations: ['82/2=41', '48-27=21']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 41+21=62, Resulting Numbers: [62]
62,59 unequal: No Solution
Exploring Operation: 41*21=861, Resulting Numbers: [861]
861,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,1,3
Current State: 59:[48, 14], Operations: ['82/2=41', '41-27=14']
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,59 unequal: No Solution
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,59 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,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,0
Current State: 59:[82, 27, 50], Operations: ['2+48=50']
Exploring Operation: 27+50=77, Resulting Numbers: [82, 77]
Generated Node #0,0,0: 59:[82, 77] Operation: 27+50=77
Exploring Operation: 82+27=109, Resulting Numbers: [50, 109]
Generated Node #0,0,1: 59:[50, 109] Operation: 82+27=109
Exploring Operation: 82-50=32, Resulting Numbers: [27, 32]
Generated Node #0,0,2: 59:[27, 32] Operation: 82-50=32
Exploring Operation: 82-27=55, Resulting Numbers: [50, 55]
Generated Node #0,0,3: 59:[50, 55] Operation: 82-27=55
Moving to Node #0,0,3
Current State: 59:[50, 55], Operations: ['2+48=50', '82-27=55']
Exploring Operation: 50*55=2750, Resulting Numbers: [2750]
2750,59 unequal: No Solution
Exploring Operation: 50+55=105, Resulting Numbers: [105]
105,59 unequal: No Solution
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[82, 77], Operations: ['2+48=50', '27+50=77']
Exploring Operation: 82*77=6314, Resulting Numbers: [6314]
6314,59 unequal: No Solution
Exploring Operation: 82+77=159, Resulting Numbers: [159]
159,59 unequal: No Solution
Exploring Operation: 82-77=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[27, 32], Operations: ['2+48=50', '82-50=32']
Exploring Operation: 27*32=864, Resulting Numbers: [864]
864,59 unequal: No Solution
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[2, 82, 48, 27], Operations: []
Exploring Operation: 2+48=50, Resulting Numbers: [82, 27, 50]
Generated Node #0,0: 59:[82, 27, 50] Operation: 2+48=50
Moving to Node #0,0
Current State: 59:[82, 27, 50], Operations: ['2+48=50']
Exploring Operation: 82-50=32, Resulting Numbers: [27, 32]
Generated Node #0,0,2: 59:[27, 32] Operation: 82-50=32
Moving to Node #0,0,2
Current State: 59:[27, 32], Operations: ['2+48=50', '82-50=32']
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.954861 | hs_4 | mult_heuristic |
[
5,
91,
56,
14
] | 44 | [
"91-5=86",
"56-14=42",
"86-42=44"
] | Current State: 44:[5, 91, 56, 14], Operations: []
Exploring Operation: 91-5=86, Resulting Numbers: [56, 14, 86]
Generated Node #2: [56, 14, 86] from Operation: 91-5=86
Current State: 44:[56, 14, 86], Operations: ['91-5=86']
Exploring Operation: 56-14=42, Resulting Numbers: [86, 42]
Generated Node #3: [86, 42] from Operation: 56-14=42
Current State: 44:[86, 42], Operations: ['91-5=86', '56-14=42']
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[5, 91, 56, 14], Operations: []
Exploring Operation: 91-56=35, Resulting Numbers: [5, 14, 35]
Generated Node #0,0: 44:[5, 14, 35] Operation: 91-56=35
Exploring Operation: 56/14=4, Resulting Numbers: [5, 91, 4]
Generated Node #0,1: 44:[5, 91, 4] Operation: 56/14=4
Exploring Operation: 91-14=77, Resulting Numbers: [5, 56, 77]
Generated Node #0,2: 44:[5, 56, 77] Operation: 91-14=77
Moving to Node #0,0
Current State: 44:[5, 14, 35], Operations: ['91-56=35']
Exploring Operation: 14+35=49, Resulting Numbers: [5, 49]
Generated Node #0,0,0: 44:[5, 49] Operation: 14+35=49
Exploring Operation: 35-14=21, Resulting Numbers: [5, 21]
Generated Node #0,0,1: 44:[5, 21] Operation: 35-14=21
Exploring Operation: 35/5=7, Resulting Numbers: [14, 7]
Generated Node #0,0,2: 44:[14, 7] Operation: 35/5=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 44:[5, 21], Operations: ['91-56=35', '35-14=21']
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,44 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,44 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[5, 49], Operations: ['91-56=35', '14+35=49']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[5, 91, 56, 14], Operations: []
Exploring Operation: 91-56=35, Resulting Numbers: [5, 14, 35]
Generated Node #0,0: 44:[5, 14, 35] Operation: 91-56=35
Moving to Node #0,0
Current State: 44:[5, 14, 35], Operations: ['91-56=35']
Exploring Operation: 14+35=49, Resulting Numbers: [5, 49]
Generated Node #0,0,0: 44:[5, 49] Operation: 14+35=49
Moving to Node #0,0,0
Current State: 44:[5, 49], Operations: ['91-56=35', '14+35=49']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
43,
38,
62,
28
] | 26 | [
"62-43=19",
"38/19=2",
"28-2=26"
] | Current State: 26:[43, 38, 62, 28], Operations: []
Exploring Operation: 62-43=19, Resulting Numbers: [38, 28, 19]
Generated Node #2: [38, 28, 19] from Operation: 62-43=19
Current State: 26:[38, 28, 19], Operations: ['62-43=19']
Exploring Operation: 38/19=2, Resulting Numbers: [28, 2]
Generated Node #3: [28, 2] from Operation: 38/19=2
Current State: 26:[28, 2], Operations: ['62-43=19', '38/19=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[43, 38, 62, 28], Operations: []
Exploring Operation: 62-28=34, Resulting Numbers: [43, 38, 34]
Generated Node #0,0: 26:[43, 38, 34] Operation: 62-28=34
Exploring Operation: 62-43=19, Resulting Numbers: [38, 28, 19]
Generated Node #0,1: 26:[38, 28, 19] Operation: 62-43=19
Exploring Operation: 62-38=24, Resulting Numbers: [43, 28, 24]
Generated Node #0,2: 26:[43, 28, 24] Operation: 62-38=24
Moving to Node #0,1
Current State: 26:[38, 28, 19], Operations: ['62-43=19']
Exploring Operation: 38-19=19, Resulting Numbers: [28, 19]
Generated Node #0,1,0: 26:[28, 19] Operation: 38-19=19
Exploring Operation: 38/19=2, Resulting Numbers: [28, 2]
Generated Node #0,1,1: 26:[28, 2] Operation: 38/19=2
Exploring Operation: 38-28=10, Resulting Numbers: [19, 10]
Generated Node #0,1,2: 26:[19, 10] Operation: 38-28=10
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[28, 2], Operations: ['62-43=19', '38/19=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[43, 38, 62, 28], Operations: []
Exploring Operation: 62-43=19, Resulting Numbers: [38, 28, 19]
Generated Node #0,1: 26:[38, 28, 19] Operation: 62-43=19
Moving to Node #0,1
Current State: 26:[38, 28, 19], Operations: ['62-43=19']
Exploring Operation: 38/19=2, Resulting Numbers: [28, 2]
Generated Node #0,1,1: 26:[28, 2] Operation: 38/19=2
Moving to Node #0,1,1
Current State: 26:[28, 2], Operations: ['62-43=19', '38/19=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
26,
41,
75,
80
] | 88 | [
"26+41=67",
"75+80=155",
"155-67=88"
] | Current State: 88:[26, 41, 75, 80], Operations: []
Exploring Operation: 26+41=67, Resulting Numbers: [75, 80, 67]
Generated Node #2: [75, 80, 67] from Operation: 26+41=67
Current State: 88:[75, 80, 67], Operations: ['26+41=67']
Exploring Operation: 75+80=155, Resulting Numbers: [67, 155]
Generated Node #3: [67, 155] from Operation: 75+80=155
Current State: 88:[67, 155], Operations: ['26+41=67', '75+80=155']
Exploring Operation: 155-67=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[26, 41, 75, 80], Operations: []
Exploring Operation: 80-75=5, Resulting Numbers: [26, 41, 5]
Generated Node #0,0: 88:[26, 41, 5] Operation: 80-75=5
Moving to Node #0,0
Current State: 88:[26, 41, 5], Operations: ['80-75=5']
Exploring Operation: 26-5=21, Resulting Numbers: [41, 21]
Generated Node #0,0,0: 88:[41, 21] Operation: 26-5=21
Moving to Node #0,0,0
Current State: 88:[41, 21], Operations: ['80-75=5', '26-5=21']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,88 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
73,
24,
43,
7
] | 61 | [
"73+24=97",
"43-7=36",
"97-36=61"
] | Current State: 61:[73, 24, 43, 7], Operations: []
Exploring Operation: 73+24=97, Resulting Numbers: [43, 7, 97]
Generated Node #2: [43, 7, 97] from Operation: 73+24=97
Current State: 61:[43, 7, 97], Operations: ['73+24=97']
Exploring Operation: 43-7=36, Resulting Numbers: [97, 36]
Generated Node #3: [97, 36] from Operation: 43-7=36
Current State: 61:[97, 36], Operations: ['73+24=97', '43-7=36']
Exploring Operation: 97-36=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[73, 24, 43, 7], Operations: []
Exploring Operation: 24+43=67, Resulting Numbers: [73, 7, 67]
Generated Node #0,0: 61:[73, 7, 67] Operation: 24+43=67
Exploring Operation: 73-7=66, Resulting Numbers: [24, 43, 66]
Generated Node #0,1: 61:[24, 43, 66] Operation: 73-7=66
Exploring Operation: 24+7=31, Resulting Numbers: [73, 43, 31]
Generated Node #0,2: 61:[73, 43, 31] Operation: 24+7=31
Exploring Operation: 43+7=50, Resulting Numbers: [73, 24, 50]
Generated Node #0,3: 61:[73, 24, 50] Operation: 43+7=50
Exploring Operation: 73+7=80, Resulting Numbers: [24, 43, 80]
Generated Node #0,4: 61:[24, 43, 80] Operation: 73+7=80
Moving to Node #0,1
Current State: 61:[24, 43, 66], Operations: ['73-7=66']
Exploring Operation: 43-24=19, Resulting Numbers: [66, 19]
Generated Node #0,1,0: 61:[66, 19] Operation: 43-24=19
Exploring Operation: 24+66=90, Resulting Numbers: [43, 90]
Generated Node #0,1,1: 61:[43, 90] Operation: 24+66=90
Exploring Operation: 24+43=67, Resulting Numbers: [66, 67]
Generated Node #0,1,2: 61:[66, 67] Operation: 24+43=67
Exploring Operation: 66-43=23, Resulting Numbers: [24, 23]
Generated Node #0,1,3: 61:[24, 23] Operation: 66-43=23
Exploring Operation: 66-24=42, Resulting Numbers: [43, 42]
Generated Node #0,1,4: 61:[43, 42] Operation: 66-24=42
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[66, 67], Operations: ['73-7=66', '24+43=67']
Exploring Operation: 67-66=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 66+67=133, Resulting Numbers: [133]
133,61 unequal: No Solution
Exploring Operation: 66*67=4422, Resulting Numbers: [4422]
4422,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 61:[43, 42], Operations: ['73-7=66', '66-24=42']
Exploring Operation: 43*42=1806, Resulting Numbers: [1806]
1806,61 unequal: No Solution
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,61 unequal: No Solution
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[66, 19], Operations: ['73-7=66', '43-24=19']
Exploring Operation: 66+19=85, Resulting Numbers: [85]
85,61 unequal: No Solution
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 66*19=1254, Resulting Numbers: [1254]
1254,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[43, 90], Operations: ['73-7=66', '24+66=90']
Exploring Operation: 90-43=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 43*90=3870, Resulting Numbers: [3870]
3870,61 unequal: No Solution
Exploring Operation: 43+90=133, Resulting Numbers: [133]
133,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[24, 23], Operations: ['73-7=66', '66-43=23']
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 24*23=552, Resulting Numbers: [552]
552,61 unequal: No Solution
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,61 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: 61:[73, 24, 50], Operations: ['43+7=50']
Exploring Operation: 24+50=74, Resulting Numbers: [73, 74]
Generated Node #0,3,0: 61:[73, 74] Operation: 24+50=74
Exploring Operation: 73+24=97, Resulting Numbers: [50, 97]
Generated Node #0,3,1: 61:[50, 97] Operation: 73+24=97
Exploring Operation: 50-24=26, Resulting Numbers: [73, 26]
Generated Node #0,3,2: 61:[73, 26] Operation: 50-24=26
Exploring Operation: 73-24=49, Resulting Numbers: [50, 49]
Generated Node #0,3,3: 61:[50, 49] Operation: 73-24=49
Exploring Operation: 73-50=23, Resulting Numbers: [24, 23]
Generated Node #0,3,4: 61:[24, 23] Operation: 73-50=23
Moving to Node #0,2
Current State: 61:[73, 43, 31], Operations: ['24+7=31']
Exploring Operation: 43+31=74, Resulting Numbers: [73, 74]
Generated Node #0,2,0: 61:[73, 74] Operation: 43+31=74
Exploring Operation: 73-31=42, Resulting Numbers: [43, 42]
Generated Node #0,2,1: 61:[43, 42] Operation: 73-31=42
Exploring Operation: 73-43=30, Resulting Numbers: [31, 30]
Generated Node #0,2,2: 61:[31, 30] Operation: 73-43=30
Exploring Operation: 73+31=104, Resulting Numbers: [43, 104]
Generated Node #0,2,3: 61:[43, 104] Operation: 73+31=104
Exploring Operation: 43-31=12, Resulting Numbers: [73, 12]
Generated Node #0,2,4: 61:[73, 12] Operation: 43-31=12
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[73, 74], Operations: ['24+7=31', '43+31=74']
Exploring Operation: 73+74=147, Resulting Numbers: [147]
147,61 unequal: No Solution
Exploring Operation: 73*74=5402, Resulting Numbers: [5402]
5402,61 unequal: No Solution
Exploring Operation: 74-73=1, Resulting Numbers: [1]
1,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:[43, 42], Operations: ['24+7=31', '73-31=42']
Exploring Operation: 43*42=1806, Resulting Numbers: [1806]
1806,61 unequal: No Solution
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,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:[31, 30], Operations: ['24+7=31', '73-43=30']
Exploring Operation: 31*30=930, Resulting Numbers: [930]
930,61 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 31+30=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[73, 24, 43, 7], Operations: []
Exploring Operation: 24+7=31, Resulting Numbers: [73, 43, 31]
Generated Node #0,2: 61:[73, 43, 31] Operation: 24+7=31
Moving to Node #0,2
Current State: 61:[73, 43, 31], Operations: ['24+7=31']
Exploring Operation: 73-43=30, Resulting Numbers: [31, 30]
Generated Node #0,2,2: 61:[31, 30] Operation: 73-43=30
Moving to Node #0,2,2
Current State: 61:[31, 30], Operations: ['24+7=31', '73-43=30']
Exploring Operation: 31+30=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_5 | mult_heuristic |
[
2,
6,
84,
43
] | 88 | [
"6-2=4",
"43*4=172",
"172-84=88"
] | Current State: 88:[2, 6, 84, 43], Operations: []
Exploring Operation: 6-2=4, Resulting Numbers: [84, 43, 4]
Generated Node #2: [84, 43, 4] from Operation: 6-2=4
Current State: 88:[84, 43, 4], Operations: ['6-2=4']
Exploring Operation: 43*4=172, Resulting Numbers: [84, 172]
Generated Node #3: [84, 172] from Operation: 43*4=172
Current State: 88:[84, 172], Operations: ['6-2=4', '43*4=172']
Exploring Operation: 172-84=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[2, 6, 84, 43], Operations: []
Exploring Operation: 6+84=90, Resulting Numbers: [2, 43, 90]
Generated Node #0,0: 88:[2, 43, 90] Operation: 6+84=90
Exploring Operation: 84/6=14, Resulting Numbers: [2, 43, 14]
Generated Node #0,1: 88:[2, 43, 14] Operation: 84/6=14
Moving to Node #0,0
Current State: 88:[2, 43, 90], Operations: ['6+84=90']
Exploring Operation: 90-2=88, Resulting Numbers: [43, 88]
Generated Node #0,0,0: 88:[43, 88] Operation: 90-2=88
Exploring Operation: 90/2=45, Resulting Numbers: [43, 45]
Generated Node #0,0,1: 88:[43, 45] Operation: 90/2=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[43, 88], Operations: ['6+84=90', '90-2=88']
Exploring Operation: 43+88=131, Resulting Numbers: [131]
131,88 unequal: No Solution
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,88 unequal: No Solution
No 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: 88:[43, 45], Operations: ['6+84=90', '90/2=45']
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[2, 6, 84, 43], Operations: []
Exploring Operation: 6+84=90, Resulting Numbers: [2, 43, 90]
Generated Node #0,0: 88:[2, 43, 90] Operation: 6+84=90
Moving to Node #0,0
Current State: 88:[2, 43, 90], Operations: ['6+84=90']
Exploring Operation: 90/2=45, Resulting Numbers: [43, 45]
Generated Node #0,0,1: 88:[43, 45] Operation: 90/2=45
Moving to Node #0,0,1
Current State: 88:[43, 45], Operations: ['6+84=90', '90/2=45']
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
58,
7,
72,
44
] | 62 | [
"72-44=28",
"28/7=4",
"58+4=62"
] | Current State: 62:[58, 7, 72, 44], Operations: []
Exploring Operation: 72-44=28, Resulting Numbers: [58, 7, 28]
Generated Node #2: [58, 7, 28] from Operation: 72-44=28
Current State: 62:[58, 7, 28], Operations: ['72-44=28']
Exploring Operation: 28/7=4, Resulting Numbers: [58, 4]
Generated Node #3: [58, 4] from Operation: 28/7=4
Current State: 62:[58, 4], Operations: ['72-44=28', '28/7=4']
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[58, 7, 72, 44], Operations: []
Exploring Operation: 72-44=28, Resulting Numbers: [58, 7, 28]
Generated Node #0,0: 62:[58, 7, 28] Operation: 72-44=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[58, 7, 28], Operations: ['72-44=28']
Exploring Operation: 58+7=65, Resulting Numbers: [28, 65]
Generated Node #0,0,0: 62:[28, 65] Operation: 58+7=65
Moving to Node #0,0,0
Current State: 62:[28, 65], Operations: ['72-44=28', '58+7=65']
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
79,
3,
56,
94
] | 11 | [
"94-79=15",
"3*15=45",
"56-45=11"
] | Current State: 11:[79, 3, 56, 94], Operations: []
Exploring Operation: 94-79=15, Resulting Numbers: [3, 56, 15]
Generated Node #2: [3, 56, 15] from Operation: 94-79=15
Current State: 11:[3, 56, 15], Operations: ['94-79=15']
Exploring Operation: 3*15=45, Resulting Numbers: [56, 45]
Generated Node #3: [56, 45] from Operation: 3*15=45
Current State: 11:[56, 45], Operations: ['94-79=15', '3*15=45']
Exploring Operation: 56-45=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[79, 3, 56, 94], Operations: []
Exploring Operation: 94-56=38, Resulting Numbers: [79, 3, 38]
Generated Node #0,0: 11:[79, 3, 38] Operation: 94-56=38
Exploring Operation: 79-3=76, Resulting Numbers: [56, 94, 76]
Generated Node #0,1: 11:[56, 94, 76] Operation: 79-3=76
Exploring Operation: 79-56=23, Resulting Numbers: [3, 94, 23]
Generated Node #0,2: 11:[3, 94, 23] Operation: 79-56=23
Exploring Operation: 94-79=15, Resulting Numbers: [3, 56, 15]
Generated Node #0,3: 11:[3, 56, 15] Operation: 94-79=15
Start Sub Search at level 1: Moving to Node #0,3
Current State: 11:[3, 56, 15], Operations: ['94-79=15']
Exploring Operation: 15/3=5, Resulting Numbers: [56, 5]
Generated Node #0,3,0: 11:[56, 5] Operation: 15/3=5
Exploring Operation: 56-15=41, Resulting Numbers: [3, 41]
Generated Node #0,3,1: 11:[3, 41] Operation: 56-15=41
Exploring Operation: 15-3=12, Resulting Numbers: [56, 12]
Generated Node #0,3,2: 11:[56, 12] Operation: 15-3=12
Exploring Operation: 56-3=53, Resulting Numbers: [15, 53]
Generated Node #0,3,3: 11:[15, 53] Operation: 56-3=53
Moving to Node #0,3,1
Current State: 11:[3, 41], Operations: ['94-79=15', '56-15=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,11 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Moving to Node #0,3,3
Current State: 11:[15, 53], Operations: ['94-79=15', '56-3=53']
Exploring Operation: 15*53=795, Resulting Numbers: [795]
795,11 unequal: No Solution
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 15+53=68, Resulting Numbers: [68]
68,11 unequal: No Solution
Moving to Node #0,3,2
Current State: 11:[56, 12], Operations: ['94-79=15', '15-3=12']
Exploring Operation: 56*12=672, Resulting Numbers: [672]
672,11 unequal: No Solution
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,11 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Moving to Node #0,3,0
Current State: 11:[56, 5], Operations: ['94-79=15', '15/3=5']
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,11 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[79, 3, 38], Operations: ['94-56=38']
Exploring Operation: 79+3=82, Resulting Numbers: [38, 82]
Generated Node #0,0,0: 11:[38, 82] Operation: 79+3=82
Exploring Operation: 79-3=76, Resulting Numbers: [38, 76]
Generated Node #0,0,1: 11:[38, 76] Operation: 79-3=76
Exploring Operation: 38-3=35, Resulting Numbers: [79, 35]
Generated Node #0,0,2: 11:[79, 35] Operation: 38-3=35
Exploring Operation: 79-38=41, Resulting Numbers: [3, 41]
Generated Node #0,0,3: 11:[3, 41] Operation: 79-38=41
Moving to Node #0,0,3
Current State: 11:[3, 41], Operations: ['94-56=38', '79-38=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,11 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[79, 35], Operations: ['94-56=38', '38-3=35']
Exploring Operation: 79-35=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 79*35=2765, Resulting Numbers: [2765]
2765,11 unequal: No Solution
Exploring Operation: 79+35=114, Resulting Numbers: [114]
114,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[38, 76], Operations: ['94-56=38', '79-3=76']
Exploring Operation: 38*76=2888, Resulting Numbers: [2888]
2888,11 unequal: No Solution
Exploring Operation: 38+76=114, Resulting Numbers: [114]
114,11 unequal: No Solution
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[38, 82], Operations: ['94-56=38', '79+3=82']
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 38+82=120, Resulting Numbers: [120]
120,11 unequal: No Solution
Exploring Operation: 38*82=3116, Resulting Numbers: [3116]
3116,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[3, 94, 23], Operations: ['79-56=23']
Exploring Operation: 94-23=71, Resulting Numbers: [3, 71]
Generated Node #0,2,0: 11:[3, 71] Operation: 94-23=71
Exploring Operation: 3+94=97, Resulting Numbers: [23, 97]
Generated Node #0,2,1: 11:[23, 97] Operation: 3+94=97
Exploring Operation: 23-3=20, Resulting Numbers: [94, 20]
Generated Node #0,2,2: 11:[94, 20] Operation: 23-3=20
Exploring Operation: 94-3=91, Resulting Numbers: [23, 91]
Generated Node #0,2,3: 11:[23, 91] Operation: 94-3=91
Moving to Node #0,2,0
Current State: 11:[3, 71], Operations: ['79-56=23', '94-23=71']
Exploring Operation: 3*71=213, Resulting Numbers: [213]
213,11 unequal: No Solution
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,11 unequal: No Solution
Moving to Node #0,2,3
Current State: 11:[23, 91], Operations: ['79-56=23', '94-3=91']
Exploring Operation: 23*91=2093, Resulting Numbers: [2093]
2093,11 unequal: No Solution
Exploring Operation: 23+91=114, Resulting Numbers: [114]
114,11 unequal: No Solution
Exploring Operation: 91-23=68, Resulting Numbers: [68]
68,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[94, 20], Operations: ['79-56=23', '23-3=20']
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 94+20=114, Resulting Numbers: [114]
114,11 unequal: No Solution
Exploring Operation: 94*20=1880, Resulting Numbers: [1880]
1880,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[23, 97], Operations: ['79-56=23', '3+94=97']
Exploring Operation: 97-23=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 23*97=2231, Resulting Numbers: [2231]
2231,11 unequal: No Solution
Exploring Operation: 23+97=120, Resulting Numbers: [120]
120,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[56, 94, 76], Operations: ['79-3=76']
Exploring Operation: 56+94=150, Resulting Numbers: [76, 150]
Generated Node #0,1,0: 11:[76, 150] Operation: 56+94=150
Exploring Operation: 94-76=18, Resulting Numbers: [56, 18]
Generated Node #0,1,1: 11:[56, 18] Operation: 94-76=18
Exploring Operation: 94-56=38, Resulting Numbers: [76, 38]
Generated Node #0,1,2: 11:[76, 38] Operation: 94-56=38
Exploring Operation: 76-56=20, Resulting Numbers: [94, 20]
Generated Node #0,1,3: 11:[94, 20] Operation: 76-56=20
Moving to Node #0,1,1
Current State: 11:[56, 18], Operations: ['79-3=76', '94-76=18']
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,11 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Moving to Node #0,1,3
Current State: 11:[94, 20], Operations: ['79-3=76', '76-56=20']
Exploring Operation: 94*20=1880, Resulting Numbers: [1880]
1880,11 unequal: No Solution
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 94+20=114, Resulting Numbers: [114]
114,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[76, 38], Operations: ['79-3=76', '94-56=38']
Exploring Operation: 76*38=2888, Resulting Numbers: [2888]
2888,11 unequal: No Solution
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 76+38=114, Resulting Numbers: [114]
114,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[76, 150], Operations: ['79-3=76', '56+94=150']
Exploring Operation: 150-76=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 76*150=11400, Resulting Numbers: [11400]
11400,11 unequal: No Solution
Exploring Operation: 76+150=226, Resulting Numbers: [226]
226,11 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 |
[
37,
78,
47,
70
] | 85 | [
"47-37=10",
"70/10=7",
"78+7=85"
] | Current State: 85:[37, 78, 47, 70], Operations: []
Exploring Operation: 47-37=10, Resulting Numbers: [78, 70, 10]
Generated Node #2: [78, 70, 10] from Operation: 47-37=10
Current State: 85:[78, 70, 10], Operations: ['47-37=10']
Exploring Operation: 70/10=7, Resulting Numbers: [78, 7]
Generated Node #3: [78, 7] from Operation: 70/10=7
Current State: 85:[78, 7], Operations: ['47-37=10', '70/10=7']
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[37, 78, 47, 70], Operations: []
Exploring Operation: 37+47=84, Resulting Numbers: [78, 70, 84]
Generated Node #0,0: 85:[78, 70, 84] Operation: 37+47=84
Exploring Operation: 70-37=33, Resulting Numbers: [78, 47, 33]
Generated Node #0,1: 85:[78, 47, 33] Operation: 70-37=33
Exploring Operation: 70-47=23, Resulting Numbers: [37, 78, 23]
Generated Node #0,2: 85:[37, 78, 23] Operation: 70-47=23
Exploring Operation: 47-37=10, Resulting Numbers: [78, 70, 10]
Generated Node #0,3: 85:[78, 70, 10] Operation: 47-37=10
Exploring Operation: 78-47=31, Resulting Numbers: [37, 70, 31]
Generated Node #0,4: 85:[37, 70, 31] Operation: 78-47=31
Moving to Node #0,0
Current State: 85:[78, 70, 84], Operations: ['37+47=84']
Exploring Operation: 70+84=154, Resulting Numbers: [78, 154]
Generated Node #0,0,0: 85:[78, 154] Operation: 70+84=154
Exploring Operation: 78+70=148, Resulting Numbers: [84, 148]
Generated Node #0,0,1: 85:[84, 148] Operation: 78+70=148
Exploring Operation: 84-78=6, Resulting Numbers: [70, 6]
Generated Node #0,0,2: 85:[70, 6] Operation: 84-78=6
Exploring Operation: 78-70=8, Resulting Numbers: [84, 8]
Generated Node #0,0,3: 85:[84, 8] Operation: 78-70=8
Exploring Operation: 84-70=14, Resulting Numbers: [78, 14]
Generated Node #0,0,4: 85:[78, 14] Operation: 84-70=14
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 85:[84, 8], Operations: ['37+47=84', '78-70=8']
Exploring Operation: 84*8=672, Resulting Numbers: [672]
672,85 unequal: No Solution
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 85:[78, 14], Operations: ['37+47=84', '84-70=14']
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,85 unequal: No Solution
Exploring Operation: 78*14=1092, Resulting Numbers: [1092]
1092,85 unequal: No Solution
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 85:[70, 6], Operations: ['37+47=84', '84-78=6']
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[84, 148], Operations: ['37+47=84', '78+70=148']
Exploring Operation: 84+148=232, Resulting Numbers: [232]
232,85 unequal: No Solution
Exploring Operation: 84*148=12432, Resulting Numbers: [12432]
12432,85 unequal: No Solution
Exploring Operation: 148-84=64, Resulting Numbers: [64]
64,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[78, 154], Operations: ['37+47=84', '70+84=154']
Exploring Operation: 78*154=12012, Resulting Numbers: [12012]
12012,85 unequal: No Solution
Exploring Operation: 78+154=232, Resulting Numbers: [232]
232,85 unequal: No Solution
Exploring Operation: 154-78=76, Resulting Numbers: [76]
76,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 85:[78, 70, 10], Operations: ['47-37=10']
Exploring Operation: 70/10=7, Resulting Numbers: [78, 7]
Generated Node #0,3,0: 85:[78, 7] Operation: 70/10=7
Exploring Operation: 78-10=68, Resulting Numbers: [70, 68]
Generated Node #0,3,1: 85:[70, 68] Operation: 78-10=68
Exploring Operation: 78+10=88, Resulting Numbers: [70, 88]
Generated Node #0,3,2: 85:[70, 88] Operation: 78+10=88
Exploring Operation: 70+10=80, Resulting Numbers: [78, 80]
Generated Node #0,3,3: 85:[78, 80] Operation: 70+10=80
Exploring Operation: 78-70=8, Resulting Numbers: [10, 8]
Generated Node #0,3,4: 85:[10, 8] Operation: 78-70=8
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 85:[10, 8], Operations: ['47-37=10', '78-70=8']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 85:[78, 7], Operations: ['47-37=10', '70/10=7']
Exploring Operation: 78*7=546, Resulting Numbers: [546]
546,85 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[37, 78, 47, 70], Operations: []
Exploring Operation: 47-37=10, Resulting Numbers: [78, 70, 10]
Generated Node #0,3: 85:[78, 70, 10] Operation: 47-37=10
Moving to Node #0,3
Current State: 85:[78, 70, 10], Operations: ['47-37=10']
Exploring Operation: 70/10=7, Resulting Numbers: [78, 7]
Generated Node #0,3,0: 85:[78, 7] Operation: 70/10=7
Moving to Node #0,3,0
Current State: 85:[78, 7], Operations: ['47-37=10', '70/10=7']
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | sum_heuristic |
[
69,
89,
97,
91
] | 41 | [
"91-89=2",
"69*2=138",
"138-97=41"
] | Current State: 41:[69, 89, 97, 91], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [69, 97, 2]
Generated Node #2: [69, 97, 2] from Operation: 91-89=2
Current State: 41:[69, 97, 2], Operations: ['91-89=2']
Exploring Operation: 69*2=138, Resulting Numbers: [97, 138]
Generated Node #3: [97, 138] from Operation: 69*2=138
Current State: 41:[97, 138], Operations: ['91-89=2', '69*2=138']
Exploring Operation: 138-97=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[69, 89, 97, 91], Operations: []
Exploring Operation: 97-69=28, Resulting Numbers: [89, 91, 28]
Generated Node #0,0: 41:[89, 91, 28] Operation: 97-69=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[89, 91, 28], Operations: ['97-69=28']
Exploring Operation: 91-89=2, Resulting Numbers: [28, 2]
Generated Node #0,0,0: 41:[28, 2] Operation: 91-89=2
Moving to Node #0,0,0
Current State: 41:[28, 2], Operations: ['97-69=28', '91-89=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,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 | mult_heuristic |
[
98,
18,
50,
13
] | 10 | [
"98-18=80",
"50+80=130",
"130/13=10"
] | Current State: 10:[98, 18, 50, 13], Operations: []
Exploring Operation: 98-18=80, Resulting Numbers: [50, 13, 80]
Generated Node #2: [50, 13, 80] from Operation: 98-18=80
Current State: 10:[50, 13, 80], Operations: ['98-18=80']
Exploring Operation: 50+80=130, Resulting Numbers: [13, 130]
Generated Node #3: [13, 130] from Operation: 50+80=130
Current State: 10:[13, 130], Operations: ['98-18=80', '50+80=130']
Exploring Operation: 130/13=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[98, 18, 50, 13], Operations: []
Exploring Operation: 98-50=48, Resulting Numbers: [18, 13, 48]
Generated Node #0,0: 10:[18, 13, 48] Operation: 98-50=48
Exploring Operation: 98-18=80, Resulting Numbers: [50, 13, 80]
Generated Node #0,1: 10:[50, 13, 80] Operation: 98-18=80
Exploring Operation: 98-13=85, Resulting Numbers: [18, 50, 85]
Generated Node #0,2: 10:[18, 50, 85] Operation: 98-13=85
Exploring Operation: 50-18=32, Resulting Numbers: [98, 13, 32]
Generated Node #0,3: 10:[98, 13, 32] Operation: 50-18=32
Moving to Node #0,0
Current State: 10:[18, 13, 48], Operations: ['98-50=48']
Exploring Operation: 48-13=35, Resulting Numbers: [18, 35]
Generated Node #0,0,0: 10:[18, 35] Operation: 48-13=35
Exploring Operation: 18-13=5, Resulting Numbers: [48, 5]
Generated Node #0,0,1: 10:[48, 5] Operation: 18-13=5
Exploring Operation: 18+13=31, Resulting Numbers: [48, 31]
Generated Node #0,0,2: 10:[48, 31] Operation: 18+13=31
Exploring Operation: 48-18=30, Resulting Numbers: [13, 30]
Generated Node #0,0,3: 10:[13, 30] Operation: 48-18=30
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 10:[13, 30], Operations: ['98-50=48', '48-18=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,10 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[18, 35], Operations: ['98-50=48', '48-13=35']
Exploring Operation: 18*35=630, Resulting Numbers: [630]
630,10 unequal: No Solution
Exploring Operation: 18+35=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[48, 5], Operations: ['98-50=48', '18-13=5']
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,10 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 10:[48, 31], Operations: ['98-50=48', '18+13=31']
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 48+31=79, Resulting Numbers: [79]
79,10 unequal: No Solution
Exploring Operation: 48*31=1488, Resulting Numbers: [1488]
1488,10 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: 10:[98, 13, 32], Operations: ['50-18=32']
Exploring Operation: 32-13=19, Resulting Numbers: [98, 19]
Generated Node #0,3,0: 10:[98, 19] Operation: 32-13=19
Exploring Operation: 98-32=66, Resulting Numbers: [13, 66]
Generated Node #0,3,1: 10:[13, 66] Operation: 98-32=66
Exploring Operation: 98-13=85, Resulting Numbers: [32, 85]
Generated Node #0,3,2: 10:[32, 85] Operation: 98-13=85
Exploring Operation: 98+13=111, Resulting Numbers: [32, 111]
Generated Node #0,3,3: 10:[32, 111] Operation: 98+13=111
Moving to Node #0,1
Current State: 10:[50, 13, 80], Operations: ['98-18=80']
Exploring Operation: 80-13=67, Resulting Numbers: [50, 67]
Generated Node #0,1,0: 10:[50, 67] Operation: 80-13=67
Exploring Operation: 80-50=30, Resulting Numbers: [13, 30]
Generated Node #0,1,1: 10:[13, 30] Operation: 80-50=30
Exploring Operation: 50-13=37, Resulting Numbers: [80, 37]
Generated Node #0,1,2: 10:[80, 37] Operation: 50-13=37
Exploring Operation: 50+13=63, Resulting Numbers: [80, 63]
Generated Node #0,1,3: 10:[80, 63] Operation: 50+13=63
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[13, 30], Operations: ['98-18=80', '80-50=30']
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,10 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[50, 67], Operations: ['98-18=80', '80-13=67']
Exploring Operation: 50+67=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 50*67=3350, Resulting Numbers: [3350]
3350,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 10:[80, 37], Operations: ['98-18=80', '50-13=37']
Exploring Operation: 80*37=2960, Resulting Numbers: [2960]
2960,10 unequal: No Solution
Exploring Operation: 80-37=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Exploring Operation: 80+37=117, Resulting Numbers: [117]
117,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 10:[80, 63], Operations: ['98-18=80', '50+13=63']
Exploring Operation: 80+63=143, Resulting Numbers: [143]
143,10 unequal: No Solution
Exploring Operation: 80*63=5040, Resulting Numbers: [5040]
5040,10 unequal: No Solution
Exploring Operation: 80-63=17, Resulting Numbers: [17]
17,10 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: 10:[18, 50, 85], Operations: ['98-13=85']
Exploring Operation: 50-18=32, Resulting Numbers: [85, 32]
Generated Node #0,2,0: 10:[85, 32] Operation: 50-18=32
Exploring Operation: 85-18=67, Resulting Numbers: [50, 67]
Generated Node #0,2,1: 10:[50, 67] Operation: 85-18=67
Exploring Operation: 85-50=35, Resulting Numbers: [18, 35]
Generated Node #0,2,2: 10:[18, 35] Operation: 85-50=35
Exploring Operation: 18+50=68, Resulting Numbers: [85, 68]
Generated Node #0,2,3: 10:[85, 68] Operation: 18+50=68
Moving to Node #0,2,2
Current State: 10:[18, 35], Operations: ['98-13=85', '85-50=35']
Exploring Operation: 18*35=630, Resulting Numbers: [630]
630,10 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 18+35=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[13, 66], Operations: ['50-18=32', '98-32=66']
Exploring Operation: 13*66=858, Resulting Numbers: [858]
858,10 unequal: No Solution
Exploring Operation: 13+66=79, Resulting Numbers: [79]
79,10 unequal: No Solution
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Moving to Node #0,3,2
Current State: 10:[32, 85], Operations: ['50-18=32', '98-13=85']
Exploring Operation: 32+85=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 32*85=2720, Resulting Numbers: [2720]
2720,10 unequal: No Solution
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[85, 32], Operations: ['98-13=85', '50-18=32']
Exploring Operation: 85+32=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 85*32=2720, Resulting Numbers: [2720]
2720,10 unequal: No Solution
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[50, 67], Operations: ['98-13=85', '85-18=67']
Exploring Operation: 50*67=3350, Resulting Numbers: [3350]
3350,10 unequal: No Solution
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 50+67=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Moving to Node #0,3,0
Current State: 10:[98, 19], Operations: ['50-18=32', '32-13=19']
Exploring Operation: 98+19=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 98-19=79, Resulting Numbers: [79]
79,10 unequal: No Solution
Exploring Operation: 98*19=1862, Resulting Numbers: [1862]
1862,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[32, 111], Operations: ['50-18=32', '98+13=111']
Exploring Operation: 32*111=3552, Resulting Numbers: [3552]
3552,10 unequal: No Solution
Exploring Operation: 32+111=143, Resulting Numbers: [143]
143,10 unequal: No Solution
Exploring Operation: 111-32=79, Resulting Numbers: [79]
79,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[85, 68], Operations: ['98-13=85', '18+50=68']
Exploring Operation: 85-68=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 85+68=153, Resulting Numbers: [153]
153,10 unequal: No Solution
Exploring Operation: 85*68=5780, Resulting Numbers: [5780]
5780,10 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
68,
5,
34,
72
] | 25 | [
"68-5=63",
"72-34=38",
"63-38=25"
] | Current State: 25:[68, 5, 34, 72], Operations: []
Exploring Operation: 68-5=63, Resulting Numbers: [34, 72, 63]
Generated Node #2: [34, 72, 63] from Operation: 68-5=63
Current State: 25:[34, 72, 63], Operations: ['68-5=63']
Exploring Operation: 72-34=38, Resulting Numbers: [63, 38]
Generated Node #3: [63, 38] from Operation: 72-34=38
Current State: 25:[63, 38], Operations: ['68-5=63', '72-34=38']
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[68, 5, 34, 72], Operations: []
Exploring Operation: 72-68=4, Resulting Numbers: [5, 34, 4]
Generated Node #0,0: 25:[5, 34, 4] Operation: 72-68=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[5, 34, 4], Operations: ['72-68=4']
Exploring Operation: 34-5=29, Resulting Numbers: [4, 29]
Generated Node #0,0,0: 25:[4, 29] Operation: 34-5=29
Moving to Node #0,0,0
Current State: 25:[4, 29], Operations: ['72-68=4', '34-5=29']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[68, 5, 34, 72], Operations: []
Exploring Operation: 72-68=4, Resulting Numbers: [5, 34, 4]
Generated Node #0,0: 25:[5, 34, 4] Operation: 72-68=4
Moving to Node #0,0
Current State: 25:[5, 34, 4], Operations: ['72-68=4']
Exploring Operation: 34-5=29, Resulting Numbers: [4, 29]
Generated Node #0,0,0: 25:[4, 29] Operation: 34-5=29
Moving to Node #0,0,0
Current State: 25:[4, 29], Operations: ['72-68=4', '34-5=29']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
88,
60,
71,
61
] | 69 | [
"71-60=11",
"88/11=8",
"61+8=69"
] | Current State: 69:[88, 60, 71, 61], Operations: []
Exploring Operation: 71-60=11, Resulting Numbers: [88, 61, 11]
Generated Node #2: [88, 61, 11] from Operation: 71-60=11
Current State: 69:[88, 61, 11], Operations: ['71-60=11']
Exploring Operation: 88/11=8, Resulting Numbers: [61, 8]
Generated Node #3: [61, 8] from Operation: 88/11=8
Current State: 69:[61, 8], Operations: ['71-60=11', '88/11=8']
Exploring Operation: 61+8=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[88, 60, 71, 61], Operations: []
Exploring Operation: 88-60=28, Resulting Numbers: [71, 61, 28]
Generated Node #0,0: 69:[71, 61, 28] Operation: 88-60=28
Exploring Operation: 88-61=27, Resulting Numbers: [60, 71, 27]
Generated Node #0,1: 69:[60, 71, 27] Operation: 88-61=27
Exploring Operation: 61-60=1, Resulting Numbers: [88, 71, 1]
Generated Node #0,2: 69:[88, 71, 1] Operation: 61-60=1
Exploring Operation: 88-71=17, Resulting Numbers: [60, 61, 17]
Generated Node #0,3: 69:[60, 61, 17] Operation: 88-71=17
Moving to Node #0,0
Current State: 69:[71, 61, 28], Operations: ['88-60=28']
Exploring Operation: 61-28=33, Resulting Numbers: [71, 33]
Generated Node #0,0,0: 69:[71, 33] Operation: 61-28=33
Exploring Operation: 61+28=89, Resulting Numbers: [71, 89]
Generated Node #0,0,1: 69:[71, 89] Operation: 61+28=89
Exploring Operation: 71-61=10, Resulting Numbers: [28, 10]
Generated Node #0,0,2: 69:[28, 10] Operation: 71-61=10
Exploring Operation: 71-28=43, Resulting Numbers: [61, 43]
Generated Node #0,0,3: 69:[61, 43] Operation: 71-28=43
Moving to Node #0,1
Current State: 69:[60, 71, 27], Operations: ['88-61=27']
Exploring Operation: 60+27=87, Resulting Numbers: [71, 87]
Generated Node #0,1,0: 69:[71, 87] Operation: 60+27=87
Exploring Operation: 71-60=11, Resulting Numbers: [27, 11]
Generated Node #0,1,1: 69:[27, 11] Operation: 71-60=11
Exploring Operation: 60-27=33, Resulting Numbers: [71, 33]
Generated Node #0,1,2: 69:[71, 33] Operation: 60-27=33
Exploring Operation: 71-27=44, Resulting Numbers: [60, 44]
Generated Node #0,1,3: 69:[60, 44] Operation: 71-27=44
Moving to Node #0,3
Current State: 69:[60, 61, 17], Operations: ['88-71=17']
Exploring Operation: 61-60=1, Resulting Numbers: [17, 1]
Generated Node #0,3,0: 69:[17, 1] Operation: 61-60=1
Exploring Operation: 60-17=43, Resulting Numbers: [61, 43]
Generated Node #0,3,1: 69:[61, 43] Operation: 60-17=43
Exploring Operation: 61+17=78, Resulting Numbers: [60, 78]
Generated Node #0,3,2: 69:[60, 78] Operation: 61+17=78
Exploring Operation: 60+17=77, Resulting Numbers: [61, 77]
Generated Node #0,3,3: 69:[61, 77] Operation: 60+17=77
Moving to Node #0,2
Current State: 69:[88, 71, 1], Operations: ['61-60=1']
Exploring Operation: 88*1=88, Resulting Numbers: [71, 88]
Generated Node #0,2,0: 69:[71, 88] Operation: 88*1=88
Exploring Operation: 88-71=17, Resulting Numbers: [1, 17]
Generated Node #0,2,1: 69:[1, 17] Operation: 88-71=17
Exploring Operation: 88-1=87, Resulting Numbers: [71, 87]
Generated Node #0,2,2: 69:[71, 87] Operation: 88-1=87
Exploring Operation: 71-1=70, Resulting Numbers: [88, 70]
Generated Node #0,2,3: 69:[88, 70] Operation: 71-1=70
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 69:[1, 17], Operations: ['61-60=1', '88-71=17']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,69 unequal: No Solution
No 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: 69:[71, 87], Operations: ['61-60=1', '88-1=87']
Exploring Operation: 71*87=6177, Resulting Numbers: [6177]
6177,69 unequal: No Solution
Exploring Operation: 87-71=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 71+87=158, Resulting Numbers: [158]
158,69 unequal: No Solution
No 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: 69:[88, 70], Operations: ['61-60=1', '71-1=70']
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 88+70=158, Resulting Numbers: [158]
158,69 unequal: No Solution
Exploring Operation: 88*70=6160, Resulting Numbers: [6160]
6160,69 unequal: No Solution
No 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: 69:[71, 88], Operations: ['61-60=1', '88*1=88']
Exploring Operation: 71+88=159, Resulting Numbers: [159]
159,69 unequal: No Solution
Exploring Operation: 88-71=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 71*88=6248, Resulting Numbers: [6248]
6248,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 69:[17, 1], Operations: ['88-71=17', '61-60=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[71, 33], Operations: ['88-61=27', '60-27=33']
Exploring Operation: 71*33=2343, Resulting Numbers: [2343]
2343,69 unequal: No Solution
Exploring Operation: 71+33=104, Resulting Numbers: [104]
104,69 unequal: No Solution
Exploring Operation: 71-33=38, Resulting Numbers: [38]
38,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[71, 33], Operations: ['88-60=28', '61-28=33']
Exploring Operation: 71-33=38, Resulting Numbers: [38]
38,69 unequal: No Solution
Exploring Operation: 71*33=2343, Resulting Numbers: [2343]
2343,69 unequal: No Solution
Exploring Operation: 71+33=104, Resulting Numbers: [104]
104,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[27, 11], Operations: ['88-61=27', '71-60=11']
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,69 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 27*11=297, Resulting Numbers: [297]
297,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[28, 10], Operations: ['88-60=28', '71-61=10']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,69 unequal: No Solution
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,69 unequal: No Solution
Moving to Node #0,3,3
Current State: 69:[61, 77], Operations: ['88-71=17', '60+17=77']
Exploring Operation: 77-61=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 61*77=4697, Resulting Numbers: [4697]
4697,69 unequal: No Solution
Exploring Operation: 61+77=138, Resulting Numbers: [138]
138,69 unequal: No Solution
Moving to Node #0,3,2
Current State: 69:[60, 78], Operations: ['88-71=17', '61+17=78']
Exploring Operation: 60+78=138, Resulting Numbers: [138]
138,69 unequal: No Solution
Exploring Operation: 60*78=4680, Resulting Numbers: [4680]
4680,69 unequal: No Solution
Exploring Operation: 78-60=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[71, 87], Operations: ['88-61=27', '60+27=87']
Exploring Operation: 71*87=6177, Resulting Numbers: [6177]
6177,69 unequal: No Solution
Exploring Operation: 71+87=158, Resulting Numbers: [158]
158,69 unequal: No Solution
Exploring Operation: 87-71=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[71, 89], Operations: ['88-60=28', '61+28=89']
Exploring Operation: 89-71=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 71*89=6319, Resulting Numbers: [6319]
6319,69 unequal: No Solution
Exploring Operation: 71+89=160, Resulting Numbers: [160]
160,69 unequal: No Solution
Moving to Node #0,3,1
Current State: 69:[61, 43], Operations: ['88-71=17', '60-17=43']
Exploring Operation: 61*43=2623, Resulting Numbers: [2623]
2623,69 unequal: No Solution
Exploring Operation: 61+43=104, Resulting Numbers: [104]
104,69 unequal: No Solution
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Moving to Node #0,0,3
Current State: 69:[61, 43], Operations: ['88-60=28', '71-28=43']
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 61+43=104, Resulting Numbers: [104]
104,69 unequal: No Solution
Exploring Operation: 61*43=2623, Resulting Numbers: [2623]
2623,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[60, 44], Operations: ['88-61=27', '71-27=44']
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 60+44=104, Resulting Numbers: [104]
104,69 unequal: No Solution
Exploring Operation: 60*44=2640, Resulting Numbers: [2640]
2640,69 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
40,
82,
4,
9
] | 81 | [
"40/4=10",
"82+9=91",
"91-10=81"
] | Current State: 81:[40, 82, 4, 9], Operations: []
Exploring Operation: 40/4=10, Resulting Numbers: [82, 9, 10]
Generated Node #2: [82, 9, 10] from Operation: 40/4=10
Current State: 81:[82, 9, 10], Operations: ['40/4=10']
Exploring Operation: 82+9=91, Resulting Numbers: [10, 91]
Generated Node #3: [10, 91] from Operation: 82+9=91
Current State: 81:[10, 91], Operations: ['40/4=10', '82+9=91']
Exploring Operation: 91-10=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[40, 82, 4, 9], Operations: []
Exploring Operation: 40-9=31, Resulting Numbers: [82, 4, 31]
Generated Node #0,0: 81:[82, 4, 31] Operation: 40-9=31
Exploring Operation: 40/4=10, Resulting Numbers: [82, 9, 10]
Generated Node #0,1: 81:[82, 9, 10] Operation: 40/4=10
Exploring Operation: 40-4=36, Resulting Numbers: [82, 9, 36]
Generated Node #0,2: 81:[82, 9, 36] Operation: 40-4=36
Moving to Node #0,1
Current State: 81:[82, 9, 10], Operations: ['40/4=10']
Exploring Operation: 10-9=1, Resulting Numbers: [82, 1]
Generated Node #0,1,0: 81:[82, 1] Operation: 10-9=1
Exploring Operation: 82-10=72, Resulting Numbers: [9, 72]
Generated Node #0,1,1: 81:[9, 72] Operation: 82-10=72
Exploring Operation: 82-9=73, Resulting Numbers: [10, 73]
Generated Node #0,1,2: 81:[10, 73] Operation: 82-9=73
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[82, 1], Operations: ['40/4=10', '10-9=1']
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[40, 82, 4, 9], Operations: []
Exploring Operation: 40/4=10, Resulting Numbers: [82, 9, 10]
Generated Node #0,1: 81:[82, 9, 10] Operation: 40/4=10
Moving to Node #0,1
Current State: 81:[82, 9, 10], Operations: ['40/4=10']
Exploring Operation: 10-9=1, Resulting Numbers: [82, 1]
Generated Node #0,1,0: 81:[82, 1] Operation: 10-9=1
Moving to Node #0,1,0
Current State: 81:[82, 1], Operations: ['40/4=10', '10-9=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
49,
81,
40,
89
] | 71 | [
"40*89=3560",
"3560-81=3479",
"3479/49=71"
] | Current State: 71:[49, 81, 40, 89], Operations: []
Exploring Operation: 40*89=3560, Resulting Numbers: [49, 81, 3560]
Generated Node #2: [49, 81, 3560] from Operation: 40*89=3560
Current State: 71:[49, 81, 3560], Operations: ['40*89=3560']
Exploring Operation: 3560-81=3479, Resulting Numbers: [49, 3479]
Generated Node #3: [49, 3479] from Operation: 3560-81=3479
Current State: 71:[49, 3479], Operations: ['40*89=3560', '3560-81=3479']
Exploring Operation: 3479/49=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[49, 81, 40, 89], Operations: []
Exploring Operation: 81-49=32, Resulting Numbers: [40, 89, 32]
Generated Node #0,0: 71:[40, 89, 32] Operation: 81-49=32
Exploring Operation: 81-40=41, Resulting Numbers: [49, 89, 41]
Generated Node #0,1: 71:[49, 89, 41] Operation: 81-40=41
Exploring Operation: 49+40=89, Resulting Numbers: [81, 89, 89]
Generated Node #0,2: 71:[81, 89, 89] Operation: 49+40=89
Exploring Operation: 89-49=40, Resulting Numbers: [81, 40, 40]
Generated Node #0,3: 71:[81, 40, 40] Operation: 89-49=40
Exploring Operation: 89-40=49, Resulting Numbers: [49, 81, 49]
Generated Node #0,4: 71:[49, 81, 49] Operation: 89-40=49
Moving to Node #0,2
Current State: 71:[81, 89, 89], Operations: ['49+40=89']
Exploring Operation: 81+89=170, Resulting Numbers: [89, 170]
Generated Node #0,2,0: 71:[89, 170] Operation: 81+89=170
Exploring Operation: 89-89=0, Resulting Numbers: [81, 0]
Generated Node #0,2,1: 71:[81, 0] Operation: 89-89=0
Exploring Operation: 89/89=1, Resulting Numbers: [81, 1]
Generated Node #0,2,2: 71:[81, 1] Operation: 89/89=1
Exploring Operation: 89-81=8, Resulting Numbers: [89, 8]
Generated Node #0,2,3: 71:[89, 8] Operation: 89-81=8
Exploring Operation: 89-81=8, Resulting Numbers: [89, 8]
Generated Node #0,2,4: 71:[89, 8] Operation: 89-81=8
Moving to Node #0,4
Current State: 71:[49, 81, 49], Operations: ['89-40=49']
Exploring Operation: 81-49=32, Resulting Numbers: [49, 32]
Generated Node #0,4,0: 71:[49, 32] Operation: 81-49=32
Exploring Operation: 49+49=98, Resulting Numbers: [81, 98]
Generated Node #0,4,1: 71:[81, 98] Operation: 49+49=98
Exploring Operation: 49+81=130, Resulting Numbers: [49, 130]
Generated Node #0,4,2: 71:[49, 130] Operation: 49+81=130
Exploring Operation: 49/49=1, Resulting Numbers: [81, 1]
Generated Node #0,4,3: 71:[81, 1] Operation: 49/49=1
Exploring Operation: 81-49=32, Resulting Numbers: [49, 32]
Generated Node #0,4,4: 71:[49, 32] Operation: 81-49=32
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 71:[81, 98], Operations: ['89-40=49', '49+49=98']
Exploring Operation: 81*98=7938, Resulting Numbers: [7938]
7938,71 unequal: No Solution
Exploring Operation: 98-81=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 81+98=179, Resulting Numbers: [179]
179,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,4,0
Current State: 71:[49, 32], Operations: ['89-40=49', '81-49=32']
Exploring Operation: 49*32=1568, Resulting Numbers: [1568]
1568,71 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,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,4,4
Current State: 71:[49, 32], Operations: ['89-40=49', '81-49=32']
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 49*32=1568, Resulting Numbers: [1568]
1568,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,4,3
Current State: 71:[81, 1], Operations: ['89-40=49', '49/49=1']
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,71 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,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,4,2
Current State: 71:[49, 130], Operations: ['89-40=49', '49+81=130']
Exploring Operation: 49+130=179, Resulting Numbers: [179]
179,71 unequal: No Solution
Exploring Operation: 130-49=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 49*130=6370, Resulting Numbers: [6370]
6370,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 71:[49, 89, 41], Operations: ['81-40=41']
Exploring Operation: 49+41=90, Resulting Numbers: [89, 90]
Generated Node #0,1,0: 71:[89, 90] Operation: 49+41=90
Exploring Operation: 49-41=8, Resulting Numbers: [89, 8]
Generated Node #0,1,1: 71:[89, 8] Operation: 49-41=8
Exploring Operation: 89-41=48, Resulting Numbers: [49, 48]
Generated Node #0,1,2: 71:[49, 48] Operation: 89-41=48
Exploring Operation: 89+41=130, Resulting Numbers: [49, 130]
Generated Node #0,1,3: 71:[49, 130] Operation: 89+41=130
Exploring Operation: 89-49=40, Resulting Numbers: [41, 40]
Generated Node #0,1,4: 71:[41, 40] Operation: 89-49=40
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[89, 90], Operations: ['81-40=41', '49+41=90']
Exploring Operation: 89+90=179, Resulting Numbers: [179]
179,71 unequal: No Solution
Exploring Operation: 89*90=8010, Resulting Numbers: [8010]
8010,71 unequal: No Solution
Exploring Operation: 90-89=1, Resulting Numbers: [1]
1,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:[49, 48], Operations: ['81-40=41', '89-41=48']
Exploring Operation: 49*48=2352, Resulting Numbers: [2352]
2352,71 unequal: No Solution
Exploring Operation: 49+48=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,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,4
Current State: 71:[41, 40], Operations: ['81-40=41', '89-49=40']
Exploring Operation: 41*40=1640, Resulting Numbers: [1640]
1640,71 unequal: No Solution
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 41+40=81, Resulting Numbers: [81]
81,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[89, 8], Operations: ['81-40=41', '49-41=8']
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 89*8=712, Resulting Numbers: [712]
712,71 unequal: No Solution
Exploring Operation: 89+8=97, Resulting Numbers: [97]
97,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,3
Current State: 71:[49, 130], Operations: ['81-40=41', '89+41=130']
Exploring Operation: 49+130=179, Resulting Numbers: [179]
179,71 unequal: No Solution
Exploring Operation: 49*130=6370, Resulting Numbers: [6370]
6370,71 unequal: No Solution
Exploring Operation: 130-49=81, Resulting Numbers: [81]
81,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 71:[81, 40, 40], Operations: ['89-49=40']
Exploring Operation: 81-40=41, Resulting Numbers: [40, 41]
Generated Node #0,3,0: 71:[40, 41] Operation: 81-40=41
Exploring Operation: 81+40=121, Resulting Numbers: [40, 121]
Generated Node #0,3,1: 71:[40, 121] Operation: 81+40=121
Exploring Operation: 40+40=80, Resulting Numbers: [81, 80]
Generated Node #0,3,2: 71:[81, 80] Operation: 40+40=80
Exploring Operation: 40/40=1, Resulting Numbers: [81, 1]
Generated Node #0,3,3: 71:[81, 1] Operation: 40/40=1
Exploring Operation: 81-40=41, Resulting Numbers: [40, 41]
Generated Node #0,3,4: 71:[40, 41] Operation: 81-40=41
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[81, 80], Operations: ['89-49=40', '40+40=80']
Exploring Operation: 81-80=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 81+80=161, Resulting Numbers: [161]
161,71 unequal: No Solution
Exploring Operation: 81*80=6480, Resulting Numbers: [6480]
6480,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[40, 41], Operations: ['89-49=40', '81-40=41']
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 40*41=1640, Resulting Numbers: [1640]
1640,71 unequal: No Solution
Exploring Operation: 40+41=81, Resulting Numbers: [81]
81,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 71:[40, 41], Operations: ['89-49=40', '81-40=41']
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 40*41=1640, Resulting Numbers: [1640]
1640,71 unequal: No Solution
Exploring Operation: 40+41=81, Resulting Numbers: [81]
81,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[81, 1], Operations: ['89-49=40', '40/40=1']
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,71 unequal: No Solution
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[40, 121], Operations: ['89-49=40', '81+40=121']
Exploring Operation: 40*121=4840, Resulting Numbers: [4840]
4840,71 unequal: No Solution
Exploring Operation: 40+121=161, Resulting Numbers: [161]
161,71 unequal: No Solution
Exploring Operation: 121-40=81, Resulting Numbers: [81]
81,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:[40, 89, 32], Operations: ['81-49=32']
Exploring Operation: 40+32=72, Resulting Numbers: [89, 72]
Generated Node #0,0,0: 71:[89, 72] Operation: 40+32=72
Exploring Operation: 89+32=121, Resulting Numbers: [40, 121]
Generated Node #0,0,1: 71:[40, 121] Operation: 89+32=121
Exploring Operation: 40-32=8, Resulting Numbers: [89, 8]
Generated Node #0,0,2: 71:[89, 8] Operation: 40-32=8
Exploring Operation: 89-40=49, Resulting Numbers: [32, 49]
Generated Node #0,0,3: 71:[32, 49] Operation: 89-40=49
Exploring Operation: 89-32=57, Resulting Numbers: [40, 57]
Generated Node #0,0,4: 71:[40, 57] Operation: 89-32=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[89, 72], Operations: ['81-49=32', '40+32=72']
Exploring Operation: 89+72=161, Resulting Numbers: [161]
161,71 unequal: No Solution
Exploring Operation: 89*72=6408, Resulting Numbers: [6408]
6408,71 unequal: No Solution
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 71:[40, 57], Operations: ['81-49=32', '89-32=57']
Exploring Operation: 40+57=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 40*57=2280, Resulting Numbers: [2280]
2280,71 unequal: No Solution
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 71:[32, 49], Operations: ['81-49=32', '89-40=49']
Exploring Operation: 32*49=1568, Resulting Numbers: [1568]
1568,71 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 32+49=81, Resulting Numbers: [81]
81,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[40, 121], Operations: ['81-49=32', '89+32=121']
Exploring Operation: 40*121=4840, Resulting Numbers: [4840]
4840,71 unequal: No Solution
Exploring Operation: 121-40=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 40+121=161, Resulting Numbers: [161]
161,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[89, 8], Operations: ['81-49=32', '40-32=8']
Exploring Operation: 89+8=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 89*8=712, Resulting Numbers: [712]
712,71 unequal: No Solution
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 71:[81, 1], Operations: ['49+40=89', '89/89=1']
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[89, 8], Operations: ['49+40=89', '89-81=8']
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 89+8=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 89*8=712, Resulting Numbers: [712]
712,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[81, 0], Operations: ['49+40=89', '89-89=0']
Exploring Operation: 81-0=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 81*0=0, Resulting Numbers: [0]
0,71 unequal: No Solution
Exploring Operation: 81+0=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Moving to Node #0,2,4
Current State: 71:[89, 8], Operations: ['49+40=89', '89-81=8']
Exploring Operation: 89+8=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 89*8=712, Resulting Numbers: [712]
712,71 unequal: No Solution
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[89, 170], Operations: ['49+40=89', '81+89=170']
Exploring Operation: 89*170=15130, Resulting Numbers: [15130]
15130,71 unequal: No Solution
Exploring Operation: 89+170=259, Resulting Numbers: [259]
259,71 unequal: No Solution
Exploring Operation: 170-89=81, Resulting Numbers: [81]
81,71 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
41,
3,
46,
87
] | 82 | [
"41*3=123",
"87-46=41",
"123-41=82"
] | Current State: 82:[41, 3, 46, 87], Operations: []
Exploring Operation: 41*3=123, Resulting Numbers: [46, 87, 123]
Generated Node #2: [46, 87, 123] from Operation: 41*3=123
Current State: 82:[46, 87, 123], Operations: ['41*3=123']
Exploring Operation: 87-46=41, Resulting Numbers: [123, 41]
Generated Node #3: [123, 41] from Operation: 87-46=41
Current State: 82:[123, 41], Operations: ['41*3=123', '87-46=41']
Exploring Operation: 123-41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[41, 3, 46, 87], Operations: []
Exploring Operation: 87-46=41, Resulting Numbers: [41, 3, 41]
Generated Node #0,0: 82:[41, 3, 41] Operation: 87-46=41
Exploring Operation: 46-3=43, Resulting Numbers: [41, 87, 43]
Generated Node #0,1: 82:[41, 87, 43] Operation: 46-3=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[41, 3, 41], Operations: ['87-46=41']
Exploring Operation: 41/41=1, Resulting Numbers: [3, 1]
Generated Node #0,0,0: 82:[3, 1] Operation: 41/41=1
Exploring Operation: 41+41=82, Resulting Numbers: [3, 82]
Generated Node #0,0,1: 82:[3, 82] Operation: 41+41=82
Moving to Node #0,0,1
Current State: 82:[3, 82], Operations: ['87-46=41', '41+41=82']
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,82 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[3, 1], Operations: ['87-46=41', '41/41=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,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
Current State: 82:[41, 87, 43], Operations: ['46-3=43']
Exploring Operation: 43-41=2, Resulting Numbers: [87, 2]
Generated Node #0,1,0: 82:[87, 2] Operation: 43-41=2
Exploring Operation: 87-43=44, Resulting Numbers: [41, 44]
Generated Node #0,1,1: 82:[41, 44] Operation: 87-43=44
Moving to Node #0,1,1
Current State: 82:[41, 44], Operations: ['46-3=43', '87-43=44']
Exploring Operation: 41+44=85, Resulting Numbers: [85]
85,82 unequal: No Solution
Exploring Operation: 44-41=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[87, 2], Operations: ['46-3=43', '43-41=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,82 unequal: No Solution
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,82 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 |
[
33,
17,
8,
40
] | 64 | [
"33-17=16",
"8+40=48",
"16+48=64"
] | Current State: 64:[33, 17, 8, 40], Operations: []
Exploring Operation: 33-17=16, Resulting Numbers: [8, 40, 16]
Generated Node #2: [8, 40, 16] from Operation: 33-17=16
Current State: 64:[8, 40, 16], Operations: ['33-17=16']
Exploring Operation: 8+40=48, Resulting Numbers: [16, 48]
Generated Node #3: [16, 48] from Operation: 8+40=48
Current State: 64:[16, 48], Operations: ['33-17=16', '8+40=48']
Exploring Operation: 16+48=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[33, 17, 8, 40], Operations: []
Exploring Operation: 33-17=16, Resulting Numbers: [8, 40, 16]
Generated Node #0,0: 64:[8, 40, 16] Operation: 33-17=16
Exploring Operation: 40-8=32, Resulting Numbers: [33, 17, 32]
Generated Node #0,1: 64:[33, 17, 32] Operation: 40-8=32
Exploring Operation: 40/8=5, Resulting Numbers: [33, 17, 5]
Generated Node #0,2: 64:[33, 17, 5] Operation: 40/8=5
Exploring Operation: 40-33=7, Resulting Numbers: [17, 8, 7]
Generated Node #0,3: 64:[17, 8, 7] Operation: 40-33=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[33, 17, 32], Operations: ['40-8=32']
Exploring Operation: 33-32=1, Resulting Numbers: [17, 1]
Generated Node #0,1,0: 64:[17, 1] Operation: 33-32=1
Exploring Operation: 32-17=15, Resulting Numbers: [33, 15]
Generated Node #0,1,1: 64:[33, 15] Operation: 32-17=15
Exploring Operation: 33+32=65, Resulting Numbers: [17, 65]
Generated Node #0,1,2: 64:[17, 65] Operation: 33+32=65
Exploring Operation: 33-17=16, Resulting Numbers: [32, 16]
Generated Node #0,1,3: 64:[32, 16] Operation: 33-17=16
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 64:[32, 16], Operations: ['40-8=32', '33-17=16']
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 32*16=512, Resulting Numbers: [512]
512,64 unequal: No Solution
No 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: 64:[17, 1], Operations: ['40-8=32', '33-32=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,64 unequal: No Solution
No 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: 64:[33, 15], Operations: ['40-8=32', '32-17=15']
Exploring Operation: 33*15=495, Resulting Numbers: [495]
495,64 unequal: No Solution
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,64 unequal: No Solution
No 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: 64:[17, 65], Operations: ['40-8=32', '33+32=65']
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 17+65=82, Resulting Numbers: [82]
82,64 unequal: No Solution
Exploring Operation: 17*65=1105, Resulting Numbers: [1105]
1105,64 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: 64:[17, 8, 7], Operations: ['40-33=7']
Exploring Operation: 17-8=9, Resulting Numbers: [7, 9]
Generated Node #0,3,0: 64:[7, 9] Operation: 17-8=9
Exploring Operation: 8+7=15, Resulting Numbers: [17, 15]
Generated Node #0,3,1: 64:[17, 15] Operation: 8+7=15
Exploring Operation: 8-7=1, Resulting Numbers: [17, 1]
Generated Node #0,3,2: 64:[17, 1] Operation: 8-7=1
Exploring Operation: 17-7=10, Resulting Numbers: [8, 10]
Generated Node #0,3,3: 64:[8, 10] Operation: 17-7=10
Moving to Node #0,3,0
Current State: 64:[7, 9], Operations: ['40-33=7', '17-8=9']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,64 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[17, 1], Operations: ['40-33=7', '8-7=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[17, 15], Operations: ['40-33=7', '8+7=15']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 17*15=255, Resulting Numbers: [255]
255,64 unequal: No Solution
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Moving to Node #0,3,3
Current State: 64:[8, 10], Operations: ['40-33=7', '17-7=10']
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[33, 17, 5], Operations: ['40/8=5']
Exploring Operation: 17-5=12, Resulting Numbers: [33, 12]
Generated Node #0,2,0: 64:[33, 12] Operation: 17-5=12
Exploring Operation: 33-5=28, Resulting Numbers: [17, 28]
Generated Node #0,2,1: 64:[17, 28] Operation: 33-5=28
Exploring Operation: 33+5=38, Resulting Numbers: [17, 38]
Generated Node #0,2,2: 64:[17, 38] Operation: 33+5=38
Exploring Operation: 33-17=16, Resulting Numbers: [5, 16]
Generated Node #0,2,3: 64:[5, 16] Operation: 33-17=16
Moving to Node #0,2,3
Current State: 64:[5, 16], Operations: ['40/8=5', '33-17=16']
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,64 unequal: No Solution
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[17, 28], Operations: ['40/8=5', '33-5=28']
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 17*28=476, Resulting Numbers: [476]
476,64 unequal: No Solution
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[33, 12], Operations: ['40/8=5', '17-5=12']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,64 unequal: No Solution
Exploring Operation: 33*12=396, Resulting Numbers: [396]
396,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[17, 38], Operations: ['40/8=5', '33+5=38']
Exploring Operation: 17+38=55, Resulting Numbers: [55]
55,64 unequal: No Solution
Exploring Operation: 17*38=646, Resulting Numbers: [646]
646,64 unequal: No Solution
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[8, 40, 16], Operations: ['33-17=16']
Exploring Operation: 16/8=2, Resulting Numbers: [40, 2]
Generated Node #0,0,0: 64:[40, 2] Operation: 16/8=2
Exploring Operation: 40/8=5, Resulting Numbers: [16, 5]
Generated Node #0,0,1: 64:[16, 5] Operation: 40/8=5
Exploring Operation: 16-8=8, Resulting Numbers: [40, 8]
Generated Node #0,0,2: 64:[40, 8] Operation: 16-8=8
Exploring Operation: 40-8=32, Resulting Numbers: [16, 32]
Generated Node #0,0,3: 64:[16, 32] Operation: 40-8=32
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 64:[16, 32], Operations: ['33-17=16', '40-8=32']
Exploring Operation: 16*32=512, Resulting Numbers: [512]
512,64 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,64 unequal: No Solution
No 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: 64:[16, 5], Operations: ['33-17=16', '40/8=5']
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,64 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,64 unequal: No Solution
No 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: 64:[40, 2], Operations: ['33-17=16', '16/8=2']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,64 unequal: No Solution
No 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: 64:[40, 8], Operations: ['33-17=16', '16-8=8']
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 40+8=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 40*8=320, Resulting Numbers: [320]
320,64 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 |
[
75,
60,
85,
2
] | 34 | [
"75*2=150",
"60*85=5100",
"5100/150=34"
] | Current State: 34:[75, 60, 85, 2], Operations: []
Exploring Operation: 75*2=150, Resulting Numbers: [60, 85, 150]
Generated Node #2: [60, 85, 150] from Operation: 75*2=150
Current State: 34:[60, 85, 150], Operations: ['75*2=150']
Exploring Operation: 60*85=5100, Resulting Numbers: [150, 5100]
Generated Node #3: [150, 5100] from Operation: 60*85=5100
Current State: 34:[150, 5100], Operations: ['75*2=150', '60*85=5100']
Exploring Operation: 5100/150=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[75, 60, 85, 2], Operations: []
Exploring Operation: 60/2=30, Resulting Numbers: [75, 85, 30]
Generated Node #0,0: 34:[75, 85, 30] Operation: 60/2=30
Exploring Operation: 85-75=10, Resulting Numbers: [60, 2, 10]
Generated Node #0,1: 34:[60, 2, 10] Operation: 85-75=10
Exploring Operation: 85-60=25, Resulting Numbers: [75, 2, 25]
Generated Node #0,2: 34:[75, 2, 25] Operation: 85-60=25
Exploring Operation: 75-2=73, Resulting Numbers: [60, 85, 73]
Generated Node #0,3: 34:[60, 85, 73] Operation: 75-2=73
Exploring Operation: 75-60=15, Resulting Numbers: [85, 2, 15]
Generated Node #0,4: 34:[85, 2, 15] Operation: 75-60=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[60, 2, 10], Operations: ['85-75=10']
Exploring Operation: 60/2=30, Resulting Numbers: [10, 30]
Generated Node #0,1,0: 34:[10, 30] Operation: 60/2=30
Exploring Operation: 60-10=50, Resulting Numbers: [2, 50]
Generated Node #0,1,1: 34:[2, 50] Operation: 60-10=50
Exploring Operation: 10/2=5, Resulting Numbers: [60, 5]
Generated Node #0,1,2: 34:[60, 5] Operation: 10/2=5
Exploring Operation: 2*10=20, Resulting Numbers: [60, 20]
Generated Node #0,1,3: 34:[60, 20] Operation: 2*10=20
Exploring Operation: 60/10=6, Resulting Numbers: [2, 6]
Generated Node #0,1,4: 34:[2, 6] Operation: 60/10=6
Moving to Node #0,1,4
Current State: 34:[2, 6], Operations: ['85-75=10', '60/10=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[10, 30], Operations: ['85-75=10', '60/2=30']
Exploring Operation: 10*30=300, Resulting Numbers: [300]
300,34 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[2, 50], Operations: ['85-75=10', '60-10=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,34 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[60, 5], Operations: ['85-75=10', '10/2=5']
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 60*5=300, Resulting Numbers: [300]
300,34 unequal: No Solution
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[60, 20], Operations: ['85-75=10', '2*10=20']
Exploring Operation: 60+20=80, Resulting Numbers: [80]
80,34 unequal: No Solution
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 60*20=1200, Resulting Numbers: [1200]
1200,34 unequal: No Solution
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,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:[75, 2, 25], Operations: ['85-60=25']
Exploring Operation: 75-2=73, Resulting Numbers: [25, 73]
Generated Node #0,2,0: 34:[25, 73] Operation: 75-2=73
Exploring Operation: 25-2=23, Resulting Numbers: [75, 23]
Generated Node #0,2,1: 34:[75, 23] Operation: 25-2=23
Exploring Operation: 75-25=50, Resulting Numbers: [2, 50]
Generated Node #0,2,2: 34:[2, 50] Operation: 75-25=50
Exploring Operation: 2+25=27, Resulting Numbers: [75, 27]
Generated Node #0,2,3: 34:[75, 27] Operation: 2+25=27
Exploring Operation: 75/25=3, Resulting Numbers: [2, 3]
Generated Node #0,2,4: 34:[2, 3] Operation: 75/25=3
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 34:[2, 3], Operations: ['85-60=25', '75/25=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 34:[2, 50], Operations: ['85-60=25', '75-25=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 34:[25, 73], Operations: ['85-60=25', '75-2=73']
Exploring Operation: 25+73=98, Resulting Numbers: [98]
98,34 unequal: No Solution
Exploring Operation: 25*73=1825, Resulting Numbers: [1825]
1825,34 unequal: No Solution
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 34:[75, 23], Operations: ['85-60=25', '25-2=23']
Exploring Operation: 75*23=1725, Resulting Numbers: [1725]
1725,34 unequal: No Solution
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,34 unequal: No Solution
Exploring Operation: 75+23=98, Resulting Numbers: [98]
98,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 34:[75, 27], Operations: ['85-60=25', '2+25=27']
Exploring Operation: 75-27=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 75+27=102, Resulting Numbers: [102]
102,34 unequal: No Solution
Exploring Operation: 75*27=2025, Resulting Numbers: [2025]
2025,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 34:[85, 2, 15], Operations: ['75-60=15']
Exploring Operation: 85+2=87, Resulting Numbers: [15, 87]
Generated Node #0,4,0: 34:[15, 87] Operation: 85+2=87
Exploring Operation: 2*15=30, Resulting Numbers: [85, 30]
Generated Node #0,4,1: 34:[85, 30] Operation: 2*15=30
Exploring Operation: 85-15=70, Resulting Numbers: [2, 70]
Generated Node #0,4,2: 34:[2, 70] Operation: 85-15=70
Exploring Operation: 2+15=17, Resulting Numbers: [85, 17]
Generated Node #0,4,3: 34:[85, 17] Operation: 2+15=17
Exploring Operation: 85-2=83, Resulting Numbers: [15, 83]
Generated Node #0,4,4: 34:[15, 83] Operation: 85-2=83
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 34:[2, 70], Operations: ['75-60=15', '85-15=70']
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,34 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,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,4,3
Current State: 34:[85, 17], Operations: ['75-60=15', '2+15=17']
Exploring Operation: 85-17=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Exploring Operation: 85/17=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 85+17=102, Resulting Numbers: [102]
102,34 unequal: No Solution
Exploring Operation: 85*17=1445, Resulting Numbers: [1445]
1445,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,4,4
Current State: 34:[15, 83], Operations: ['75-60=15', '85-2=83']
Exploring Operation: 15*83=1245, Resulting Numbers: [1245]
1245,34 unequal: No Solution
Exploring Operation: 15+83=98, Resulting Numbers: [98]
98,34 unequal: No Solution
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,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,4,0
Current State: 34:[15, 87], Operations: ['75-60=15', '85+2=87']
Exploring Operation: 15+87=102, Resulting Numbers: [102]
102,34 unequal: No Solution
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 15*87=1305, Resulting Numbers: [1305]
1305,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,4,1
Current State: 34:[85, 30], Operations: ['75-60=15', '2*15=30']
Exploring Operation: 85-30=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 85*30=2550, Resulting Numbers: [2550]
2550,34 unequal: No Solution
Exploring Operation: 85+30=115, Resulting Numbers: [115]
115,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[75, 85, 30], Operations: ['60/2=30']
Exploring Operation: 85+30=115, Resulting Numbers: [75, 115]
Generated Node #0,0,0: 34:[75, 115] Operation: 85+30=115
Exploring Operation: 75-30=45, Resulting Numbers: [85, 45]
Generated Node #0,0,1: 34:[85, 45] Operation: 75-30=45
Exploring Operation: 75+30=105, Resulting Numbers: [85, 105]
Generated Node #0,0,2: 34:[85, 105] Operation: 75+30=105
Exploring Operation: 85-75=10, Resulting Numbers: [30, 10]
Generated Node #0,0,3: 34:[30, 10] Operation: 85-75=10
Exploring Operation: 85-30=55, Resulting Numbers: [75, 55]
Generated Node #0,0,4: 34:[75, 55] Operation: 85-30=55
Moving to Node #0,0,3
Current State: 34:[30, 10], Operations: ['60/2=30', '85-75=10']
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 30+10=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 30*10=300, Resulting Numbers: [300]
300,34 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Moving to Node #0,0,4
Current State: 34:[75, 55], Operations: ['60/2=30', '85-30=55']
Exploring Operation: 75*55=4125, Resulting Numbers: [4125]
4125,34 unequal: No Solution
Exploring Operation: 75+55=130, Resulting Numbers: [130]
130,34 unequal: No Solution
Exploring Operation: 75-55=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[85, 45], Operations: ['60/2=30', '75-30=45']
Exploring Operation: 85*45=3825, Resulting Numbers: [3825]
3825,34 unequal: No Solution
Exploring Operation: 85+45=130, Resulting Numbers: [130]
130,34 unequal: No Solution
Exploring Operation: 85-45=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[75, 115], Operations: ['60/2=30', '85+30=115']
Exploring Operation: 75*115=8625, Resulting Numbers: [8625]
8625,34 unequal: No Solution
Exploring Operation: 75+115=190, Resulting Numbers: [190]
190,34 unequal: No Solution
Exploring Operation: 115-75=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[85, 105], Operations: ['60/2=30', '75+30=105']
Exploring Operation: 85*105=8925, Resulting Numbers: [8925]
8925,34 unequal: No Solution
Exploring Operation: 85+105=190, Resulting Numbers: [190]
190,34 unequal: No Solution
Exploring Operation: 105-85=20, Resulting Numbers: [20]
20,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:[60, 85, 73], Operations: ['75-2=73']
Exploring Operation: 60+73=133, Resulting Numbers: [85, 133]
Generated Node #0,3,0: 34:[85, 133] Operation: 60+73=133
Exploring Operation: 60+85=145, Resulting Numbers: [73, 145]
Generated Node #0,3,1: 34:[73, 145] Operation: 60+85=145
Exploring Operation: 73-60=13, Resulting Numbers: [85, 13]
Generated Node #0,3,2: 34:[85, 13] Operation: 73-60=13
Exploring Operation: 85-60=25, Resulting Numbers: [73, 25]
Generated Node #0,3,3: 34:[73, 25] Operation: 85-60=25
Exploring Operation: 85-73=12, Resulting Numbers: [60, 12]
Generated Node #0,3,4: 34:[60, 12] Operation: 85-73=12
Moving to Node #0,3,4
Current State: 34:[60, 12], Operations: ['75-2=73', '85-73=12']
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 60*12=720, Resulting Numbers: [720]
720,34 unequal: No Solution
Exploring Operation: 60+12=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[73, 25], Operations: ['75-2=73', '85-60=25']
Exploring Operation: 73*25=1825, Resulting Numbers: [1825]
1825,34 unequal: No Solution
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 73+25=98, Resulting Numbers: [98]
98,34 unequal: No Solution
Moving to Node #0,3,2
Current State: 34:[85, 13], Operations: ['75-2=73', '73-60=13']
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,34 unequal: No Solution
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 85*13=1105, Resulting Numbers: [1105]
1105,34 unequal: No Solution
Moving to Node #0,3,0
Current State: 34:[85, 133], Operations: ['75-2=73', '60+73=133']
Exploring Operation: 85*133=11305, Resulting Numbers: [11305]
11305,34 unequal: No Solution
Exploring Operation: 133-85=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 85+133=218, Resulting Numbers: [218]
218,34 unequal: No Solution
Moving to Node #0,3,1
Current State: 34:[73, 145], Operations: ['75-2=73', '60+85=145']
Exploring Operation: 73+145=218, Resulting Numbers: [218]
218,34 unequal: No Solution
Exploring Operation: 73*145=10585, Resulting Numbers: [10585]
10585,34 unequal: No Solution
Exploring Operation: 145-73=72, Resulting Numbers: [72]
72,34 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 |
[
35,
43,
27,
7
] | 14 | [
"35/7=5",
"43+27=70",
"70/5=14"
] | Current State: 14:[35, 43, 27, 7], Operations: []
Exploring Operation: 35/7=5, Resulting Numbers: [43, 27, 5]
Generated Node #2: [43, 27, 5] from Operation: 35/7=5
Current State: 14:[43, 27, 5], Operations: ['35/7=5']
Exploring Operation: 43+27=70, Resulting Numbers: [5, 70]
Generated Node #3: [5, 70] from Operation: 43+27=70
Current State: 14:[5, 70], Operations: ['35/7=5', '43+27=70']
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[35, 43, 27, 7], Operations: []
Exploring Operation: 43-27=16, Resulting Numbers: [35, 7, 16]
Generated Node #0,0: 14:[35, 7, 16] Operation: 43-27=16
Exploring Operation: 43-35=8, Resulting Numbers: [27, 7, 8]
Generated Node #0,1: 14:[27, 7, 8] Operation: 43-35=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[27, 7, 8], Operations: ['43-35=8']
Exploring Operation: 27-8=19, Resulting Numbers: [7, 19]
Generated Node #0,1,0: 14:[7, 19] Operation: 27-8=19
Exploring Operation: 27-7=20, Resulting Numbers: [8, 20]
Generated Node #0,1,1: 14:[8, 20] Operation: 27-7=20
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 14:[7, 19], Operations: ['43-35=8', '27-8=19']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,14 unequal: No Solution
No 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: 14:[8, 20], Operations: ['43-35=8', '27-7=20']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,14 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: 14:[35, 7, 16], Operations: ['43-27=16']
Exploring Operation: 35-16=19, Resulting Numbers: [7, 19]
Generated Node #0,0,0: 14:[7, 19] Operation: 35-16=19
Exploring Operation: 35/7=5, Resulting Numbers: [16, 5]
Generated Node #0,0,1: 14:[16, 5] Operation: 35/7=5
Moving to Node #0,0,1
Current State: 14:[16, 5], Operations: ['43-27=16', '35/7=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[7, 19], Operations: ['43-27=16', '35-16=19']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,14 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 |
[
2,
56,
23,
2
] | 33 | [
"2+56=58",
"23+2=25",
"58-25=33"
] | Current State: 33:[2, 56, 23, 2], Operations: []
Exploring Operation: 2+56=58, Resulting Numbers: [23, 58]
Generated Node #2: [23, 58] from Operation: 2+56=58
Current State: 33:[23, 58], Operations: ['2+56=58']
Exploring Operation: 23+2=25, Resulting Numbers: [58, 25]
Generated Node #3: [58, 25] from Operation: 23+2=25
Current State: 33:[58, 25], Operations: ['2+56=58', '23+2=25']
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[2, 56, 23, 2], Operations: []
Exploring Operation: 56-23=33, Resulting Numbers: [2, 2, 33]
Generated Node #0,0: 33:[2, 2, 33] Operation: 56-23=33
Exploring Operation: 56/2=28, Resulting Numbers: [23, 2, 28]
Generated Node #0,1: 33:[23, 2, 28] Operation: 56/2=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[2, 2, 33], Operations: ['56-23=33']
Exploring Operation: 2+2=4, Resulting Numbers: [33, 4]
Generated Node #0,0,0: 33:[33, 4] Operation: 2+2=4
Exploring Operation: 2*2=4, Resulting Numbers: [33, 4]
Generated Node #0,0,1: 33:[33, 4] Operation: 2*2=4
Moving to Node #0,0,0
Current State: 33:[33, 4], Operations: ['56-23=33', '2+2=4']
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[33, 4], Operations: ['56-23=33', '2*2=4']
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[23, 2, 28], Operations: ['56/2=28']
Exploring Operation: 28-23=5, Resulting Numbers: [2, 5]
Generated Node #0,1,0: 33:[2, 5] Operation: 28-23=5
Exploring Operation: 23+2=25, Resulting Numbers: [28, 25]
Generated Node #0,1,1: 33:[28, 25] Operation: 23+2=25
Moving to Node #0,1,0
Current State: 33:[2, 5], Operations: ['56/2=28', '28-23=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[28, 25], Operations: ['56/2=28', '23+2=25']
Exploring Operation: 28+25=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
78,
76,
5,
13
] | 76 | [
"78/13=6",
"6-5=1",
"76*1=76"
] | Current State: 76:[78, 76, 5, 13], Operations: []
Exploring Operation: 78/13=6, Resulting Numbers: [76, 5, 6]
Generated Node #2: [76, 5, 6] from Operation: 78/13=6
Current State: 76:[76, 5, 6], Operations: ['78/13=6']
Exploring Operation: 6-5=1, Resulting Numbers: [76, 1]
Generated Node #3: [76, 1] from Operation: 6-5=1
Current State: 76:[76, 1], Operations: ['78/13=6', '6-5=1']
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[78, 76, 5, 13], Operations: []
Exploring Operation: 78/13=6, Resulting Numbers: [76, 5, 6]
Generated Node #0,0: 76:[76, 5, 6] Operation: 78/13=6
Exploring Operation: 78-5=73, Resulting Numbers: [76, 13, 73]
Generated Node #0,1: 76:[76, 13, 73] Operation: 78-5=73
Exploring Operation: 78-76=2, Resulting Numbers: [5, 13, 2]
Generated Node #0,2: 76:[5, 13, 2] Operation: 78-76=2
Exploring Operation: 13-5=8, Resulting Numbers: [78, 76, 8]
Generated Node #0,3: 76:[78, 76, 8] Operation: 13-5=8
Exploring Operation: 5+13=18, Resulting Numbers: [78, 76, 18]
Generated Node #0,4: 76:[78, 76, 18] Operation: 5+13=18
Moving to Node #0,0
Current State: 76:[76, 5, 6], Operations: ['78/13=6']
Exploring Operation: 6-5=1, Resulting Numbers: [76, 1]
Generated Node #0,0,0: 76:[76, 1] Operation: 6-5=1
Exploring Operation: 76-6=70, Resulting Numbers: [5, 70]
Generated Node #0,0,1: 76:[5, 70] Operation: 76-6=70
Exploring Operation: 76-5=71, Resulting Numbers: [6, 71]
Generated Node #0,0,2: 76:[6, 71] Operation: 76-5=71
Exploring Operation: 76+5=81, Resulting Numbers: [6, 81]
Generated Node #0,0,3: 76:[6, 81] Operation: 76+5=81
Exploring Operation: 76+6=82, Resulting Numbers: [5, 82]
Generated Node #0,0,4: 76:[5, 82] Operation: 76+6=82
Moving to Node #0,4
Current State: 76:[78, 76, 18], Operations: ['5+13=18']
Exploring Operation: 78-18=60, Resulting Numbers: [76, 60]
Generated Node #0,4,0: 76:[76, 60] Operation: 78-18=60
Exploring Operation: 76+18=94, Resulting Numbers: [78, 94]
Generated Node #0,4,1: 76:[78, 94] Operation: 76+18=94
Exploring Operation: 78+18=96, Resulting Numbers: [76, 96]
Generated Node #0,4,2: 76:[76, 96] Operation: 78+18=96
Exploring Operation: 78-76=2, Resulting Numbers: [18, 2]
Generated Node #0,4,3: 76:[18, 2] Operation: 78-76=2
Exploring Operation: 76-18=58, Resulting Numbers: [78, 58]
Generated Node #0,4,4: 76:[78, 58] Operation: 76-18=58
Moving to Node #0,3
Current State: 76:[78, 76, 8], Operations: ['13-5=8']
Exploring Operation: 78-76=2, Resulting Numbers: [8, 2]
Generated Node #0,3,0: 76:[8, 2] Operation: 78-76=2
Exploring Operation: 78+8=86, Resulting Numbers: [76, 86]
Generated Node #0,3,1: 76:[76, 86] Operation: 78+8=86
Exploring Operation: 76+8=84, Resulting Numbers: [78, 84]
Generated Node #0,3,2: 76:[78, 84] Operation: 76+8=84
Exploring Operation: 76-8=68, Resulting Numbers: [78, 68]
Generated Node #0,3,3: 76:[78, 68] Operation: 76-8=68
Exploring Operation: 78-8=70, Resulting Numbers: [76, 70]
Generated Node #0,3,4: 76:[76, 70] Operation: 78-8=70
Moving to Node #0,2
Current State: 76:[5, 13, 2], Operations: ['78-76=2']
Exploring Operation: 13+2=15, Resulting Numbers: [5, 15]
Generated Node #0,2,0: 76:[5, 15] Operation: 13+2=15
Exploring Operation: 5-2=3, Resulting Numbers: [13, 3]
Generated Node #0,2,1: 76:[13, 3] Operation: 5-2=3
Exploring Operation: 13-5=8, Resulting Numbers: [2, 8]
Generated Node #0,2,2: 76:[2, 8] Operation: 13-5=8
Exploring Operation: 5+13=18, Resulting Numbers: [2, 18]
Generated Node #0,2,3: 76:[2, 18] Operation: 5+13=18
Exploring Operation: 13*2=26, Resulting Numbers: [5, 26]
Generated Node #0,2,4: 76:[5, 26] Operation: 13*2=26
Moving to Node #0,1
Current State: 76:[76, 13, 73], Operations: ['78-5=73']
Exploring Operation: 13+73=86, Resulting Numbers: [76, 86]
Generated Node #0,1,0: 76:[76, 86] Operation: 13+73=86
Exploring Operation: 73-13=60, Resulting Numbers: [76, 60]
Generated Node #0,1,1: 76:[76, 60] Operation: 73-13=60
Exploring Operation: 76+13=89, Resulting Numbers: [73, 89]
Generated Node #0,1,2: 76:[73, 89] Operation: 76+13=89
Exploring Operation: 76-73=3, Resulting Numbers: [13, 3]
Generated Node #0,1,3: 76:[13, 3] Operation: 76-73=3
Exploring Operation: 76-13=63, Resulting Numbers: [73, 63]
Generated Node #0,1,4: 76:[73, 63] Operation: 76-13=63
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 76:[13, 3], Operations: ['78-5=73', '76-73=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[76, 86], Operations: ['78-5=73', '13+73=86']
Exploring Operation: 76*86=6536, Resulting Numbers: [6536]
6536,76 unequal: No Solution
Exploring Operation: 86-76=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 76+86=162, Resulting Numbers: [162]
162,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[76, 60], Operations: ['78-5=73', '73-13=60']
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 76+60=136, Resulting Numbers: [136]
136,76 unequal: No Solution
Exploring Operation: 76*60=4560, Resulting Numbers: [4560]
4560,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 76:[73, 89], Operations: ['78-5=73', '76+13=89']
Exploring Operation: 89-73=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 73+89=162, Resulting Numbers: [162]
162,76 unequal: No Solution
Exploring Operation: 73*89=6497, Resulting Numbers: [6497]
6497,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 76:[73, 63], Operations: ['78-5=73', '76-13=63']
Exploring Operation: 73+63=136, Resulting Numbers: [136]
136,76 unequal: No Solution
Exploring Operation: 73*63=4599, Resulting Numbers: [4599]
4599,76 unequal: No Solution
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,76 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: 76:[76, 1], Operations: ['78/13=6', '6-5=1']
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[78, 76, 5, 13], Operations: []
Exploring Operation: 78/13=6, Resulting Numbers: [76, 5, 6]
Generated Node #0,0: 76:[76, 5, 6] Operation: 78/13=6
Moving to Node #0,0
Current State: 76:[76, 5, 6], Operations: ['78/13=6']
Exploring Operation: 6-5=1, Resulting Numbers: [76, 1]
Generated Node #0,0,0: 76:[76, 1] Operation: 6-5=1
Moving to Node #0,0,0
Current State: 76:[76, 1], Operations: ['78/13=6', '6-5=1']
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.956597 | hs_5 | mult_heuristic |
[
10,
10,
59,
18
] | 41 | [
"10-10=0",
"59-18=41",
"0+41=41"
] | Current State: 41:[10, 10, 59, 18], Operations: []
Exploring Operation: 10-10=0, Resulting Numbers: [59, 18, 0]
Generated Node #2: [59, 18, 0] from Operation: 10-10=0
Current State: 41:[59, 18, 0], Operations: ['10-10=0']
Exploring Operation: 59-18=41, Resulting Numbers: [0, 41]
Generated Node #3: [0, 41] from Operation: 59-18=41
Current State: 41:[0, 41], Operations: ['10-10=0', '59-18=41']
Exploring Operation: 0+41=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[10, 10, 59, 18], Operations: []
Exploring Operation: 10+10=20, Resulting Numbers: [59, 18, 20]
Generated Node #0,0: 41:[59, 18, 20] Operation: 10+10=20
Exploring Operation: 59-10=49, Resulting Numbers: [10, 18, 49]
Generated Node #0,1: 41:[10, 18, 49] Operation: 59-10=49
Exploring Operation: 59-10=49, Resulting Numbers: [10, 18, 49]
Generated Node #0,2: 41:[10, 18, 49] Operation: 59-10=49
Exploring Operation: 10+18=28, Resulting Numbers: [10, 59, 28]
Generated Node #0,3: 41:[10, 59, 28] Operation: 10+18=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[59, 18, 20], Operations: ['10+10=20']
Exploring Operation: 18+20=38, Resulting Numbers: [59, 38]
Generated Node #0,0,0: 41:[59, 38] Operation: 18+20=38
Exploring Operation: 59+18=77, Resulting Numbers: [20, 77]
Generated Node #0,0,1: 41:[20, 77] Operation: 59+18=77
Exploring Operation: 59-18=41, Resulting Numbers: [20, 41]
Generated Node #0,0,2: 41:[20, 41] Operation: 59-18=41
Exploring Operation: 59-20=39, Resulting Numbers: [18, 39]
Generated Node #0,0,3: 41:[18, 39] Operation: 59-20=39
Moving to Node #0,0,0
Current State: 41:[59, 38], Operations: ['10+10=20', '18+20=38']
Exploring Operation: 59+38=97, Resulting Numbers: [97]
97,41 unequal: No Solution
Exploring Operation: 59*38=2242, Resulting Numbers: [2242]
2242,41 unequal: No Solution
Exploring Operation: 59-38=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[20, 41], Operations: ['10+10=20', '59-18=41']
Exploring Operation: 20+41=61, Resulting Numbers: [61]
61,41 unequal: No Solution
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Exploring Operation: 20*41=820, Resulting Numbers: [820]
820,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[18, 39], Operations: ['10+10=20', '59-20=39']
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,41 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[20, 77], Operations: ['10+10=20', '59+18=77']
Exploring Operation: 20+77=97, Resulting Numbers: [97]
97,41 unequal: No Solution
Exploring Operation: 20*77=1540, Resulting Numbers: [1540]
1540,41 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[10, 18, 49], Operations: ['59-10=49']
Exploring Operation: 10+49=59, Resulting Numbers: [18, 59]
Generated Node #0,1,0: 41:[18, 59] Operation: 10+49=59
Exploring Operation: 18-10=8, Resulting Numbers: [49, 8]
Generated Node #0,1,1: 41:[49, 8] Operation: 18-10=8
Exploring Operation: 10+18=28, Resulting Numbers: [49, 28]
Generated Node #0,1,2: 41:[49, 28] Operation: 10+18=28
Exploring Operation: 49-10=39, Resulting Numbers: [18, 39]
Generated Node #0,1,3: 41:[18, 39] Operation: 49-10=39
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 41:[49, 28], Operations: ['59-10=49', '10+18=28']
Exploring Operation: 49*28=1372, Resulting Numbers: [1372]
1372,41 unequal: No Solution
Exploring Operation: 49+28=77, Resulting Numbers: [77]
77,41 unequal: No Solution
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 41:[18, 39], Operations: ['59-10=49', '49-10=39']
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,41 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[18, 59], Operations: ['59-10=49', '10+49=59']
Exploring Operation: 18*59=1062, Resulting Numbers: [1062]
1062,41 unequal: No Solution
Exploring Operation: 18+59=77, Resulting Numbers: [77]
77,41 unequal: No Solution
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[10, 10, 59, 18], Operations: []
Exploring Operation: 59-10=49, Resulting Numbers: [10, 18, 49]
Generated Node #0,1: 41:[10, 18, 49] Operation: 59-10=49
Moving to Node #0,1
Current State: 41:[10, 18, 49], Operations: ['59-10=49']
Exploring Operation: 10+49=59, Resulting Numbers: [18, 59]
Generated Node #0,1,0: 41:[18, 59] Operation: 10+49=59
Moving to Node #0,1,0
Current State: 41:[18, 59], Operations: ['59-10=49', '10+49=59']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_4 | mult_heuristic |
[
41,
20,
63,
76
] | 48 | [
"41+20=61",
"76-63=13",
"61-13=48"
] | Current State: 48:[41, 20, 63, 76], Operations: []
Exploring Operation: 41+20=61, Resulting Numbers: [63, 76, 61]
Generated Node #2: [63, 76, 61] from Operation: 41+20=61
Current State: 48:[63, 76, 61], Operations: ['41+20=61']
Exploring Operation: 76-63=13, Resulting Numbers: [61, 13]
Generated Node #3: [61, 13] from Operation: 76-63=13
Current State: 48:[61, 13], Operations: ['41+20=61', '76-63=13']
Exploring Operation: 61-13=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[41, 20, 63, 76], Operations: []
Exploring Operation: 76-20=56, Resulting Numbers: [41, 63, 56]
Generated Node #0,0: 48:[41, 63, 56] Operation: 76-20=56
Exploring Operation: 76-41=35, Resulting Numbers: [20, 63, 35]
Generated Node #0,1: 48:[20, 63, 35] Operation: 76-41=35
Exploring Operation: 76-63=13, Resulting Numbers: [41, 20, 13]
Generated Node #0,2: 48:[41, 20, 13] Operation: 76-63=13
Moving to Node #0,2
Current State: 48:[41, 20, 13], Operations: ['76-63=13']
Exploring Operation: 20-13=7, Resulting Numbers: [41, 7]
Generated Node #0,2,0: 48:[41, 7] Operation: 20-13=7
Exploring Operation: 41-20=21, Resulting Numbers: [13, 21]
Generated Node #0,2,1: 48:[13, 21] Operation: 41-20=21
Exploring Operation: 41-13=28, Resulting Numbers: [20, 28]
Generated Node #0,2,2: 48:[20, 28] Operation: 41-13=28
Moving to Node #0,0
Current State: 48:[41, 63, 56], Operations: ['76-20=56']
Exploring Operation: 63-41=22, Resulting Numbers: [56, 22]
Generated Node #0,0,0: 48:[56, 22] Operation: 63-41=22
Exploring Operation: 63-56=7, Resulting Numbers: [41, 7]
Generated Node #0,0,1: 48:[41, 7] Operation: 63-56=7
Exploring Operation: 56-41=15, Resulting Numbers: [63, 15]
Generated Node #0,0,2: 48:[63, 15] Operation: 56-41=15
Moving to Node #0,1
Current State: 48:[20, 63, 35], Operations: ['76-41=35']
Exploring Operation: 63-20=43, Resulting Numbers: [35, 43]
Generated Node #0,1,0: 48:[35, 43] Operation: 63-20=43
Exploring Operation: 35-20=15, Resulting Numbers: [63, 15]
Generated Node #0,1,1: 48:[63, 15] Operation: 35-20=15
Exploring Operation: 63-35=28, Resulting Numbers: [20, 28]
Generated Node #0,1,2: 48:[20, 28] Operation: 63-35=28
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 48:[20, 28], Operations: ['76-41=35', '63-35=28']
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,48 unequal: No Solution
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[41, 20, 63, 76], Operations: []
Exploring Operation: 76-41=35, Resulting Numbers: [20, 63, 35]
Generated Node #0,1: 48:[20, 63, 35] Operation: 76-41=35
Moving to Node #0,1
Current State: 48:[20, 63, 35], Operations: ['76-41=35']
Exploring Operation: 63-35=28, Resulting Numbers: [20, 28]
Generated Node #0,1,2: 48:[20, 28] Operation: 63-35=28
Moving to Node #0,1,2
Current State: 48:[20, 28], Operations: ['76-41=35', '63-35=28']
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
16,
25,
84,
50
] | 98 | [
"16+84=100",
"50/25=2",
"100-2=98"
] | Current State: 98:[16, 25, 84, 50], Operations: []
Exploring Operation: 16+84=100, Resulting Numbers: [25, 50, 100]
Generated Node #2: [25, 50, 100] from Operation: 16+84=100
Current State: 98:[25, 50, 100], Operations: ['16+84=100']
Exploring Operation: 50/25=2, Resulting Numbers: [100, 2]
Generated Node #3: [100, 2] from Operation: 50/25=2
Current State: 98:[100, 2], Operations: ['16+84=100', '50/25=2']
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[16, 25, 84, 50], Operations: []
Exploring Operation: 16+84=100, Resulting Numbers: [25, 50, 100]
Generated Node #0,0: 98:[25, 50, 100] Operation: 16+84=100
Exploring Operation: 84-25=59, Resulting Numbers: [16, 50, 59]
Generated Node #0,1: 98:[16, 50, 59] Operation: 84-25=59
Moving to Node #0,1
Current State: 98:[16, 50, 59], Operations: ['84-25=59']
Exploring Operation: 59-16=43, Resulting Numbers: [50, 43]
Generated Node #0,1,0: 98:[50, 43] Operation: 59-16=43
Exploring Operation: 59-50=9, Resulting Numbers: [16, 9]
Generated Node #0,1,1: 98:[16, 9] Operation: 59-50=9
Moving to Node #0,0
Current State: 98:[25, 50, 100], Operations: ['16+84=100']
Exploring Operation: 100/25=4, Resulting Numbers: [50, 4]
Generated Node #0,0,0: 98:[50, 4] Operation: 100/25=4
Exploring Operation: 50/25=2, Resulting Numbers: [100, 2]
Generated Node #0,0,1: 98:[100, 2] Operation: 50/25=2
Moving to Node #0,0,1
Current State: 98:[100, 2], Operations: ['16+84=100', '50/25=2']
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[16, 25, 84, 50], Operations: []
Exploring Operation: 16+84=100, Resulting Numbers: [25, 50, 100]
Generated Node #0,0: 98:[25, 50, 100] Operation: 16+84=100
Moving to Node #0,0
Current State: 98:[25, 50, 100], Operations: ['16+84=100']
Exploring Operation: 50/25=2, Resulting Numbers: [100, 2]
Generated Node #0,0,1: 98:[100, 2] Operation: 50/25=2
Moving to Node #0,0,1
Current State: 98:[100, 2], Operations: ['16+84=100', '50/25=2']
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
49,
15,
86,
37
] | 59 | [
"49+15=64",
"86+37=123",
"123-64=59"
] | Current State: 59:[49, 15, 86, 37], Operations: []
Exploring Operation: 49+15=64, Resulting Numbers: [86, 37, 64]
Generated Node #2: [86, 37, 64] from Operation: 49+15=64
Current State: 59:[86, 37, 64], Operations: ['49+15=64']
Exploring Operation: 86+37=123, Resulting Numbers: [64, 123]
Generated Node #3: [64, 123] from Operation: 86+37=123
Current State: 59:[64, 123], Operations: ['49+15=64', '86+37=123']
Exploring Operation: 123-64=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[49, 15, 86, 37], Operations: []
Exploring Operation: 86-37=49, Resulting Numbers: [49, 15, 49]
Generated Node #0,0: 59:[49, 15, 49] Operation: 86-37=49
Exploring Operation: 49+15=64, Resulting Numbers: [86, 37, 64]
Generated Node #0,1: 59:[86, 37, 64] Operation: 49+15=64
Exploring Operation: 15+37=52, Resulting Numbers: [49, 86, 52]
Generated Node #0,2: 59:[49, 86, 52] Operation: 15+37=52
Exploring Operation: 86-15=71, Resulting Numbers: [49, 37, 71]
Generated Node #0,3: 59:[49, 37, 71] Operation: 86-15=71
Moving to Node #0,2
Current State: 59:[49, 86, 52], Operations: ['15+37=52']
Exploring Operation: 86-52=34, Resulting Numbers: [49, 34]
Generated Node #0,2,0: 59:[49, 34] Operation: 86-52=34
Exploring Operation: 86-49=37, Resulting Numbers: [52, 37]
Generated Node #0,2,1: 59:[52, 37] Operation: 86-49=37
Exploring Operation: 49+86=135, Resulting Numbers: [52, 135]
Generated Node #0,2,2: 59:[52, 135] Operation: 49+86=135
Exploring Operation: 49+52=101, Resulting Numbers: [86, 101]
Generated Node #0,2,3: 59:[86, 101] Operation: 49+52=101
Moving to Node #0,3
Current State: 59:[49, 37, 71], Operations: ['86-15=71']
Exploring Operation: 71-49=22, Resulting Numbers: [37, 22]
Generated Node #0,3,0: 59:[37, 22] Operation: 71-49=22
Exploring Operation: 49+37=86, Resulting Numbers: [71, 86]
Generated Node #0,3,1: 59:[71, 86] Operation: 49+37=86
Exploring Operation: 49-37=12, Resulting Numbers: [71, 12]
Generated Node #0,3,2: 59:[71, 12] Operation: 49-37=12
Exploring Operation: 71-37=34, Resulting Numbers: [49, 34]
Generated Node #0,3,3: 59:[49, 34] Operation: 71-37=34
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 59:[49, 34], Operations: ['86-15=71', '71-37=34']
Exploring Operation: 49+34=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 49*34=1666, Resulting Numbers: [1666]
1666,59 unequal: No Solution
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 59:[71, 86], Operations: ['86-15=71', '49+37=86']
Exploring Operation: 71+86=157, Resulting Numbers: [157]
157,59 unequal: No Solution
Exploring Operation: 71*86=6106, Resulting Numbers: [6106]
6106,59 unequal: No Solution
Exploring Operation: 86-71=15, Resulting Numbers: [15]
15,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 59:[37, 22], Operations: ['86-15=71', '71-49=22']
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,59 unequal: No Solution
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[49, 15, 86, 37], Operations: []
Exploring Operation: 86-15=71, Resulting Numbers: [49, 37, 71]
Generated Node #0,3: 59:[49, 37, 71] Operation: 86-15=71
Moving to Node #0,3
Current State: 59:[49, 37, 71], Operations: ['86-15=71']
Exploring Operation: 71-49=22, Resulting Numbers: [37, 22]
Generated Node #0,3,0: 59:[37, 22] Operation: 71-49=22
Moving to Node #0,3,0
Current State: 59:[37, 22], Operations: ['86-15=71', '71-49=22']
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
87,
87,
38,
53
] | 91 | [
"87-87=0",
"38+53=91",
"0+91=91"
] | Current State: 91:[87, 87, 38, 53], Operations: []
Exploring Operation: 87-87=0, Resulting Numbers: [38, 53, 0]
Generated Node #2: [38, 53, 0] from Operation: 87-87=0
Current State: 91:[38, 53, 0], Operations: ['87-87=0']
Exploring Operation: 38+53=91, Resulting Numbers: [0, 91]
Generated Node #3: [0, 91] from Operation: 38+53=91
Current State: 91:[0, 91], Operations: ['87-87=0', '38+53=91']
Exploring Operation: 0+91=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[87, 87, 38, 53], Operations: []
Exploring Operation: 87-53=34, Resulting Numbers: [87, 38, 34]
Generated Node #0,0: 91:[87, 38, 34] Operation: 87-53=34
Exploring Operation: 53-38=15, Resulting Numbers: [87, 87, 15]
Generated Node #0,1: 91:[87, 87, 15] Operation: 53-38=15
Exploring Operation: 38+53=91, Resulting Numbers: [87, 87, 91]
Generated Node #0,2: 91:[87, 87, 91] Operation: 38+53=91
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[87, 87, 91], Operations: ['38+53=91']
Exploring Operation: 91-87=4, Resulting Numbers: [87, 4]
Generated Node #0,2,0: 91:[87, 4] Operation: 91-87=4
Exploring Operation: 87-87=0, Resulting Numbers: [91, 0]
Generated Node #0,2,1: 91:[91, 0] Operation: 87-87=0
Exploring Operation: 87/87=1, Resulting Numbers: [91, 1]
Generated Node #0,2,2: 91:[91, 1] Operation: 87/87=1
Moving to Node #0,2,2
Current State: 91:[91, 1], Operations: ['38+53=91', '87/87=1']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[87, 87, 38, 53], Operations: []
Exploring Operation: 38+53=91, Resulting Numbers: [87, 87, 91]
Generated Node #0,2: 91:[87, 87, 91] Operation: 38+53=91
Moving to Node #0,2
Current State: 91:[87, 87, 91], Operations: ['38+53=91']
Exploring Operation: 87/87=1, Resulting Numbers: [91, 1]
Generated Node #0,2,2: 91:[91, 1] Operation: 87/87=1
Moving to Node #0,2,2
Current State: 91:[91, 1], Operations: ['38+53=91', '87/87=1']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
20,
75,
42,
5
] | 61 | [
"20+75=95",
"95/5=19",
"42+19=61"
] | Current State: 61:[20, 75, 42, 5], Operations: []
Exploring Operation: 20+75=95, Resulting Numbers: [42, 5, 95]
Generated Node #2: [42, 5, 95] from Operation: 20+75=95
Current State: 61:[42, 5, 95], Operations: ['20+75=95']
Exploring Operation: 95/5=19, Resulting Numbers: [42, 19]
Generated Node #3: [42, 19] from Operation: 95/5=19
Current State: 61:[42, 19], Operations: ['20+75=95', '95/5=19']
Exploring Operation: 42+19=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[20, 75, 42, 5], Operations: []
Exploring Operation: 20+5=25, Resulting Numbers: [75, 42, 25]
Generated Node #0,0: 61:[75, 42, 25] Operation: 20+5=25
Exploring Operation: 20+42=62, Resulting Numbers: [75, 5, 62]
Generated Node #0,1: 61:[75, 5, 62] Operation: 20+42=62
Exploring Operation: 75-5=70, Resulting Numbers: [20, 42, 70]
Generated Node #0,2: 61:[20, 42, 70] Operation: 75-5=70
Exploring Operation: 20*5=100, Resulting Numbers: [75, 42, 100]
Generated Node #0,3: 61:[75, 42, 100] Operation: 20*5=100
Exploring Operation: 42+5=47, Resulting Numbers: [20, 75, 47]
Generated Node #0,4: 61:[20, 75, 47] Operation: 42+5=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[75, 42, 25], Operations: ['20+5=25']
Exploring Operation: 75+25=100, Resulting Numbers: [42, 100]
Generated Node #0,0,0: 61:[42, 100] Operation: 75+25=100
Exploring Operation: 75-25=50, Resulting Numbers: [42, 50]
Generated Node #0,0,1: 61:[42, 50] Operation: 75-25=50
Exploring Operation: 75-42=33, Resulting Numbers: [25, 33]
Generated Node #0,0,2: 61:[25, 33] Operation: 75-42=33
Exploring Operation: 42-25=17, Resulting Numbers: [75, 17]
Generated Node #0,0,3: 61:[75, 17] Operation: 42-25=17
Exploring Operation: 42+25=67, Resulting Numbers: [75, 67]
Generated Node #0,0,4: 61:[75, 67] Operation: 42+25=67
Moving to Node #0,0,4
Current State: 61:[75, 67], Operations: ['20+5=25', '42+25=67']
Exploring Operation: 75*67=5025, Resulting Numbers: [5025]
5025,61 unequal: No Solution
Exploring Operation: 75+67=142, Resulting Numbers: [142]
142,61 unequal: No Solution
Exploring Operation: 75-67=8, Resulting Numbers: [8]
8,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[42, 50], Operations: ['20+5=25', '75-25=50']
Exploring Operation: 42+50=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 42*50=2100, Resulting Numbers: [2100]
2100,61 unequal: No Solution
Exploring Operation: 50-42=8, Resulting Numbers: [8]
8,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[42, 100], Operations: ['20+5=25', '75+25=100']
Exploring Operation: 42+100=142, Resulting Numbers: [142]
142,61 unequal: No Solution
Exploring Operation: 42*100=4200, Resulting Numbers: [4200]
4200,61 unequal: No Solution
Exploring Operation: 100-42=58, Resulting Numbers: [58]
58,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[75, 17], Operations: ['20+5=25', '42-25=17']
Exploring Operation: 75*17=1275, Resulting Numbers: [1275]
1275,61 unequal: No Solution
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,61 unequal: No Solution
Exploring Operation: 75+17=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[25, 33], Operations: ['20+5=25', '75-42=33']
Exploring Operation: 25*33=825, Resulting Numbers: [825]
825,61 unequal: No Solution
Exploring Operation: 25+33=58, Resulting Numbers: [58]
58,61 unequal: No Solution
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[20, 42, 70], Operations: ['75-5=70']
Exploring Operation: 70-20=50, Resulting Numbers: [42, 50]
Generated Node #0,2,0: 61:[42, 50] Operation: 70-20=50
Exploring Operation: 20+42=62, Resulting Numbers: [70, 62]
Generated Node #0,2,1: 61:[70, 62] Operation: 20+42=62
Exploring Operation: 20+70=90, Resulting Numbers: [42, 90]
Generated Node #0,2,2: 61:[42, 90] Operation: 20+70=90
Exploring Operation: 70-42=28, Resulting Numbers: [20, 28]
Generated Node #0,2,3: 61:[20, 28] Operation: 70-42=28
Exploring Operation: 42-20=22, Resulting Numbers: [70, 22]
Generated Node #0,2,4: 61:[70, 22] Operation: 42-20=22
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 61:[70, 62], Operations: ['75-5=70', '20+42=62']
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,61 unequal: No Solution
Exploring Operation: 70+62=132, Resulting Numbers: [132]
132,61 unequal: No Solution
Exploring Operation: 70*62=4340, Resulting Numbers: [4340]
4340,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[42, 50], Operations: ['75-5=70', '70-20=50']
Exploring Operation: 42*50=2100, Resulting Numbers: [2100]
2100,61 unequal: No Solution
Exploring Operation: 50-42=8, Resulting Numbers: [8]
8,61 unequal: No Solution
Exploring Operation: 42+50=92, Resulting Numbers: [92]
92,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 61:[42, 90], Operations: ['75-5=70', '20+70=90']
Exploring Operation: 42+90=132, Resulting Numbers: [132]
132,61 unequal: No Solution
Exploring Operation: 90-42=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 42*90=3780, Resulting Numbers: [3780]
3780,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 61:[70, 22], Operations: ['75-5=70', '42-20=22']
Exploring Operation: 70+22=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 70*22=1540, Resulting Numbers: [1540]
1540,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 61:[20, 28], Operations: ['75-5=70', '70-42=28']
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,61 unequal: No Solution
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 61:[20, 75, 47], Operations: ['42+5=47']
Exploring Operation: 75-20=55, Resulting Numbers: [47, 55]
Generated Node #0,4,0: 61:[47, 55] Operation: 75-20=55
Exploring Operation: 75-47=28, Resulting Numbers: [20, 28]
Generated Node #0,4,1: 61:[20, 28] Operation: 75-47=28
Exploring Operation: 20+47=67, Resulting Numbers: [75, 67]
Generated Node #0,4,2: 61:[75, 67] Operation: 20+47=67
Exploring Operation: 47-20=27, Resulting Numbers: [75, 27]
Generated Node #0,4,3: 61:[75, 27] Operation: 47-20=27
Exploring Operation: 20+75=95, Resulting Numbers: [47, 95]
Generated Node #0,4,4: 61:[47, 95] Operation: 20+75=95
Moving to Node #0,4,0
Current State: 61:[47, 55], Operations: ['42+5=47', '75-20=55']
Exploring Operation: 47+55=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Exploring Operation: 55-47=8, Resulting Numbers: [8]
8,61 unequal: No Solution
Exploring Operation: 47*55=2585, Resulting Numbers: [2585]
2585,61 unequal: No Solution
Moving to Node #0,4,2
Current State: 61:[75, 67], Operations: ['42+5=47', '20+47=67']
Exploring Operation: 75*67=5025, Resulting Numbers: [5025]
5025,61 unequal: No Solution
Exploring Operation: 75+67=142, Resulting Numbers: [142]
142,61 unequal: No Solution
Exploring Operation: 75-67=8, Resulting Numbers: [8]
8,61 unequal: No Solution
Moving to Node #0,4,3
Current State: 61:[75, 27], Operations: ['42+5=47', '47-20=27']
Exploring Operation: 75*27=2025, Resulting Numbers: [2025]
2025,61 unequal: No Solution
Exploring Operation: 75+27=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Exploring Operation: 75-27=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Moving to Node #0,4,4
Current State: 61:[47, 95], Operations: ['42+5=47', '20+75=95']
Exploring Operation: 95-47=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 47+95=142, Resulting Numbers: [142]
142,61 unequal: No Solution
Exploring Operation: 47*95=4465, Resulting Numbers: [4465]
4465,61 unequal: No Solution
Moving to Node #0,4,1
Current State: 61:[20, 28], Operations: ['42+5=47', '75-47=28']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,61 unequal: No Solution
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[75, 5, 62], Operations: ['20+42=62']
Exploring Operation: 75-5=70, Resulting Numbers: [62, 70]
Generated Node #0,1,0: 61:[62, 70] Operation: 75-5=70
Exploring Operation: 75/5=15, Resulting Numbers: [62, 15]
Generated Node #0,1,1: 61:[62, 15] Operation: 75/5=15
Exploring Operation: 75+5=80, Resulting Numbers: [62, 80]
Generated Node #0,1,2: 61:[62, 80] Operation: 75+5=80
Exploring Operation: 5+62=67, Resulting Numbers: [75, 67]
Generated Node #0,1,3: 61:[75, 67] Operation: 5+62=67
Exploring Operation: 62-5=57, Resulting Numbers: [75, 57]
Generated Node #0,1,4: 61:[75, 57] Operation: 62-5=57
Moving to Node #0,1,0
Current State: 61:[62, 70], Operations: ['20+42=62', '75-5=70']
Exploring Operation: 62+70=132, Resulting Numbers: [132]
132,61 unequal: No Solution
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,61 unequal: No Solution
Exploring Operation: 62*70=4340, Resulting Numbers: [4340]
4340,61 unequal: No Solution
Moving to Node #0,1,4
Current State: 61:[75, 57], Operations: ['20+42=62', '62-5=57']
Exploring Operation: 75*57=4275, Resulting Numbers: [4275]
4275,61 unequal: No Solution
Exploring Operation: 75-57=18, Resulting Numbers: [18]
18,61 unequal: No Solution
Exploring Operation: 75+57=132, Resulting Numbers: [132]
132,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[62, 80], Operations: ['20+42=62', '75+5=80']
Exploring Operation: 62+80=142, Resulting Numbers: [142]
142,61 unequal: No Solution
Exploring Operation: 62*80=4960, Resulting Numbers: [4960]
4960,61 unequal: No Solution
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[75, 67], Operations: ['20+42=62', '5+62=67']
Exploring Operation: 75-67=8, Resulting Numbers: [8]
8,61 unequal: No Solution
Exploring Operation: 75*67=5025, Resulting Numbers: [5025]
5025,61 unequal: No Solution
Exploring Operation: 75+67=142, Resulting Numbers: [142]
142,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[62, 15], Operations: ['20+42=62', '75/5=15']
Exploring Operation: 62*15=930, Resulting Numbers: [930]
930,61 unequal: No Solution
Exploring Operation: 62+15=77, Resulting Numbers: [77]
77,61 unequal: No Solution
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,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,3
Current State: 61:[75, 42, 100], Operations: ['20*5=100']
Exploring Operation: 75-42=33, Resulting Numbers: [100, 33]
Generated Node #0,3,0: 61:[100, 33] Operation: 75-42=33
Exploring Operation: 42+100=142, Resulting Numbers: [75, 142]
Generated Node #0,3,1: 61:[75, 142] Operation: 42+100=142
Exploring Operation: 100-42=58, Resulting Numbers: [75, 58]
Generated Node #0,3,2: 61:[75, 58] Operation: 100-42=58
Exploring Operation: 75+42=117, Resulting Numbers: [100, 117]
Generated Node #0,3,3: 61:[100, 117] Operation: 75+42=117
Exploring Operation: 100-75=25, Resulting Numbers: [42, 25]
Generated Node #0,3,4: 61:[42, 25] Operation: 100-75=25
Moving to Node #0,3,2
Current State: 61:[75, 58], Operations: ['20*5=100', '100-42=58']
Exploring Operation: 75-58=17, Resulting Numbers: [17]
17,61 unequal: No Solution
Exploring Operation: 75+58=133, Resulting Numbers: [133]
133,61 unequal: No Solution
Exploring Operation: 75*58=4350, Resulting Numbers: [4350]
4350,61 unequal: No Solution
Moving to Node #0,3,4
Current State: 61:[42, 25], Operations: ['20*5=100', '100-75=25']
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,61 unequal: No Solution
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,61 unequal: No Solution
Exploring Operation: 42*25=1050, Resulting Numbers: [1050]
1050,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[100, 33], Operations: ['20*5=100', '75-42=33']
Exploring Operation: 100+33=133, Resulting Numbers: [133]
133,61 unequal: No Solution
Exploring Operation: 100*33=3300, Resulting Numbers: [3300]
3300,61 unequal: No Solution
Exploring Operation: 100-33=67, Resulting Numbers: [67]
67,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[75, 142], Operations: ['20*5=100', '42+100=142']
Exploring Operation: 142-75=67, Resulting Numbers: [67]
67,61 unequal: No Solution
Exploring Operation: 75*142=10650, Resulting Numbers: [10650]
10650,61 unequal: No Solution
Exploring Operation: 75+142=217, Resulting Numbers: [217]
217,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[100, 117], Operations: ['20*5=100', '75+42=117']
Exploring Operation: 117-100=17, Resulting Numbers: [17]
17,61 unequal: No Solution
Exploring Operation: 100+117=217, Resulting Numbers: [217]
217,61 unequal: No Solution
Exploring Operation: 100*117=11700, Resulting Numbers: [11700]
11700,61 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 |
[
68,
31,
67,
4
] | 34 | [
"68-31=37",
"67+4=71",
"71-37=34"
] | Current State: 34:[68, 31, 67, 4], Operations: []
Exploring Operation: 68-31=37, Resulting Numbers: [67, 4, 37]
Generated Node #2: [67, 4, 37] from Operation: 68-31=37
Current State: 34:[67, 4, 37], Operations: ['68-31=37']
Exploring Operation: 67+4=71, Resulting Numbers: [37, 71]
Generated Node #3: [37, 71] from Operation: 67+4=71
Current State: 34:[37, 71], Operations: ['68-31=37', '67+4=71']
Exploring Operation: 71-37=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[68, 31, 67, 4], Operations: []
Exploring Operation: 68-67=1, Resulting Numbers: [31, 4, 1]
Generated Node #0,0: 34:[31, 4, 1] Operation: 68-67=1
Exploring Operation: 68/4=17, Resulting Numbers: [31, 67, 17]
Generated Node #0,1: 34:[31, 67, 17] Operation: 68/4=17
Exploring Operation: 68-31=37, Resulting Numbers: [67, 4, 37]
Generated Node #0,2: 34:[67, 4, 37] Operation: 68-31=37
Moving to Node #0,0
Current State: 34:[31, 4, 1], Operations: ['68-67=1']
Exploring Operation: 31+1=32, Resulting Numbers: [4, 32]
Generated Node #0,0,0: 34:[4, 32] Operation: 31+1=32
Exploring Operation: 4-1=3, Resulting Numbers: [31, 3]
Generated Node #0,0,1: 34:[31, 3] Operation: 4-1=3
Exploring Operation: 31+4=35, Resulting Numbers: [1, 35]
Generated Node #0,0,2: 34:[1, 35] Operation: 31+4=35
Moving to Node #0,1
Current State: 34:[31, 67, 17], Operations: ['68/4=17']
Exploring Operation: 67-31=36, Resulting Numbers: [17, 36]
Generated Node #0,1,0: 34:[17, 36] Operation: 67-31=36
Exploring Operation: 67-17=50, Resulting Numbers: [31, 50]
Generated Node #0,1,1: 34:[31, 50] Operation: 67-17=50
Exploring Operation: 31-17=14, Resulting Numbers: [67, 14]
Generated Node #0,1,2: 34:[67, 14] Operation: 31-17=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[17, 36], Operations: ['68/4=17', '67-31=36']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 17*36=612, Resulting Numbers: [612]
612,34 unequal: No Solution
No 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: 34:[31, 50], Operations: ['68/4=17', '67-17=50']
Exploring Operation: 31*50=1550, Resulting Numbers: [1550]
1550,34 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 31+50=81, Resulting Numbers: [81]
81,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,2
Current State: 34:[67, 14], Operations: ['68/4=17', '31-17=14']
Exploring Operation: 67+14=81, Resulting Numbers: [81]
81,34 unequal: No Solution
Exploring Operation: 67-14=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 67*14=938, Resulting Numbers: [938]
938,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 34:[67, 4, 37], Operations: ['68-31=37']
Exploring Operation: 67-37=30, Resulting Numbers: [4, 30]
Generated Node #0,2,0: 34:[4, 30] Operation: 67-37=30
Exploring Operation: 67-4=63, Resulting Numbers: [37, 63]
Generated Node #0,2,1: 34:[37, 63] Operation: 67-4=63
Exploring Operation: 37-4=33, Resulting Numbers: [67, 33]
Generated Node #0,2,2: 34:[67, 33] Operation: 37-4=33
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[4, 30], Operations: ['68-31=37', '67-37=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,34 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[68, 31, 67, 4], Operations: []
Exploring Operation: 68-31=37, Resulting Numbers: [67, 4, 37]
Generated Node #0,2: 34:[67, 4, 37] Operation: 68-31=37
Moving to Node #0,2
Current State: 34:[67, 4, 37], Operations: ['68-31=37']
Exploring Operation: 67-37=30, Resulting Numbers: [4, 30]
Generated Node #0,2,0: 34:[4, 30] Operation: 67-37=30
Moving to Node #0,2,0
Current State: 34:[4, 30], Operations: ['68-31=37', '67-37=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | mult_heuristic |
[
94,
93,
30,
21
] | 91 | [
"93-30=63",
"63/21=3",
"94-3=91"
] | Current State: 91:[94, 93, 30, 21], Operations: []
Exploring Operation: 93-30=63, Resulting Numbers: [94, 21, 63]
Generated Node #2: [94, 21, 63] from Operation: 93-30=63
Current State: 91:[94, 21, 63], Operations: ['93-30=63']
Exploring Operation: 63/21=3, Resulting Numbers: [94, 3]
Generated Node #3: [94, 3] from Operation: 63/21=3
Current State: 91:[94, 3], Operations: ['93-30=63', '63/21=3']
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[94, 93, 30, 21], Operations: []
Exploring Operation: 94-93=1, Resulting Numbers: [30, 21, 1]
Generated Node #0,0: 91:[30, 21, 1] Operation: 94-93=1
Exploring Operation: 30-21=9, Resulting Numbers: [94, 93, 9]
Generated Node #0,1: 91:[94, 93, 9] Operation: 30-21=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[94, 93, 9], Operations: ['30-21=9']
Exploring Operation: 94-93=1, Resulting Numbers: [9, 1]
Generated Node #0,1,0: 91:[9, 1] Operation: 94-93=1
Exploring Operation: 94-9=85, Resulting Numbers: [93, 85]
Generated Node #0,1,1: 91:[93, 85] Operation: 94-9=85
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[9, 1], Operations: ['30-21=9', '94-93=1']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[93, 85], Operations: ['30-21=9', '94-9=85']
Exploring Operation: 93-85=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 93+85=178, Resulting Numbers: [178]
178,91 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: 91:[30, 21, 1], Operations: ['94-93=1']
Exploring Operation: 30-1=29, Resulting Numbers: [21, 29]
Generated Node #0,0,0: 91:[21, 29] Operation: 30-1=29
Exploring Operation: 30-21=9, Resulting Numbers: [1, 9]
Generated Node #0,0,1: 91:[1, 9] Operation: 30-21=9
Moving to Node #0,0,1
Current State: 91:[1, 9], Operations: ['94-93=1', '30-21=9']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[21, 29], Operations: ['94-93=1', '30-1=29']
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 21+29=50, Resulting Numbers: [50]
50,91 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 |
[
60,
52,
79,
67
] | 83 | [
"67-52=15",
"60/15=4",
"79+4=83"
] | Current State: 83:[60, 52, 79, 67], Operations: []
Exploring Operation: 67-52=15, Resulting Numbers: [60, 79, 15]
Generated Node #2: [60, 79, 15] from Operation: 67-52=15
Current State: 83:[60, 79, 15], Operations: ['67-52=15']
Exploring Operation: 60/15=4, Resulting Numbers: [79, 4]
Generated Node #3: [79, 4] from Operation: 60/15=4
Current State: 83:[79, 4], Operations: ['67-52=15', '60/15=4']
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[60, 52, 79, 67], Operations: []
Exploring Operation: 52+67=119, Resulting Numbers: [60, 79, 119]
Generated Node #0,0: 83:[60, 79, 119] Operation: 52+67=119
Exploring Operation: 60+67=127, Resulting Numbers: [52, 79, 127]
Generated Node #0,1: 83:[52, 79, 127] Operation: 60+67=127
Exploring Operation: 60+52=112, Resulting Numbers: [79, 67, 112]
Generated Node #0,2: 83:[79, 67, 112] Operation: 60+52=112
Exploring Operation: 52+79=131, Resulting Numbers: [60, 67, 131]
Generated Node #0,3: 83:[60, 67, 131] Operation: 52+79=131
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[79, 67, 112], Operations: ['60+52=112']
Exploring Operation: 79-67=12, Resulting Numbers: [112, 12]
Generated Node #0,2,0: 83:[112, 12] Operation: 79-67=12
Exploring Operation: 112-79=33, Resulting Numbers: [67, 33]
Generated Node #0,2,1: 83:[67, 33] Operation: 112-79=33
Exploring Operation: 112-67=45, Resulting Numbers: [79, 45]
Generated Node #0,2,2: 83:[79, 45] Operation: 112-67=45
Exploring Operation: 79+67=146, Resulting Numbers: [112, 146]
Generated Node #0,2,3: 83:[112, 146] Operation: 79+67=146
Moving to Node #0,2,2
Current State: 83:[79, 45], Operations: ['60+52=112', '112-67=45']
Exploring Operation: 79-45=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Exploring Operation: 79+45=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Exploring Operation: 79*45=3555, Resulting Numbers: [3555]
3555,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[67, 33], Operations: ['60+52=112', '112-79=33']
Exploring Operation: 67+33=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Exploring Operation: 67*33=2211, Resulting Numbers: [2211]
2211,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[112, 146], Operations: ['60+52=112', '79+67=146']
Exploring Operation: 112*146=16352, Resulting Numbers: [16352]
16352,83 unequal: No Solution
Exploring Operation: 146-112=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Exploring Operation: 112+146=258, Resulting Numbers: [258]
258,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[112, 12], Operations: ['60+52=112', '79-67=12']
Exploring Operation: 112*12=1344, Resulting Numbers: [1344]
1344,83 unequal: No Solution
Exploring Operation: 112+12=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Exploring Operation: 112-12=100, Resulting Numbers: [100]
100,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:[60, 79, 119], Operations: ['52+67=119']
Exploring Operation: 60+79=139, Resulting Numbers: [119, 139]
Generated Node #0,0,0: 83:[119, 139] Operation: 60+79=139
Exploring Operation: 119-60=59, Resulting Numbers: [79, 59]
Generated Node #0,0,1: 83:[79, 59] Operation: 119-60=59
Exploring Operation: 79-60=19, Resulting Numbers: [119, 19]
Generated Node #0,0,2: 83:[119, 19] Operation: 79-60=19
Exploring Operation: 119-79=40, Resulting Numbers: [60, 40]
Generated Node #0,0,3: 83:[60, 40] Operation: 119-79=40
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[79, 59], Operations: ['52+67=119', '119-60=59']
Exploring Operation: 79-59=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 79+59=138, Resulting Numbers: [138]
138,83 unequal: No Solution
Exploring Operation: 79*59=4661, Resulting Numbers: [4661]
4661,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:[60, 40], Operations: ['52+67=119', '119-79=40']
Exploring Operation: 60+40=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 60*40=2400, Resulting Numbers: [2400]
2400,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,0
Current State: 83:[119, 139], Operations: ['52+67=119', '60+79=139']
Exploring Operation: 139-119=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 119*139=16541, Resulting Numbers: [16541]
16541,83 unequal: No Solution
Exploring Operation: 119+139=258, Resulting Numbers: [258]
258,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:[119, 19], Operations: ['52+67=119', '79-60=19']
Exploring Operation: 119*19=2261, Resulting Numbers: [2261]
2261,83 unequal: No Solution
Exploring Operation: 119+19=138, Resulting Numbers: [138]
138,83 unequal: No Solution
Exploring Operation: 119-19=100, Resulting Numbers: [100]
100,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,1
Current State: 83:[52, 79, 127], Operations: ['60+67=127']
Exploring Operation: 79-52=27, Resulting Numbers: [127, 27]
Generated Node #0,1,0: 83:[127, 27] Operation: 79-52=27
Exploring Operation: 127-52=75, Resulting Numbers: [79, 75]
Generated Node #0,1,1: 83:[79, 75] Operation: 127-52=75
Exploring Operation: 127-79=48, Resulting Numbers: [52, 48]
Generated Node #0,1,2: 83:[52, 48] Operation: 127-79=48
Exploring Operation: 52+79=131, Resulting Numbers: [127, 131]
Generated Node #0,1,3: 83:[127, 131] Operation: 52+79=131
Moving to Node #0,1,1
Current State: 83:[79, 75], Operations: ['60+67=127', '127-52=75']
Exploring Operation: 79*75=5925, Resulting Numbers: [5925]
5925,83 unequal: No Solution
Exploring Operation: 79+75=154, Resulting Numbers: [154]
154,83 unequal: No Solution
Exploring Operation: 79-75=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[52, 48], Operations: ['60+67=127', '127-79=48']
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 52+48=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 52*48=2496, Resulting Numbers: [2496]
2496,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[127, 131], Operations: ['60+67=127', '52+79=131']
Exploring Operation: 131-127=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 127+131=258, Resulting Numbers: [258]
258,83 unequal: No Solution
Exploring Operation: 127*131=16637, Resulting Numbers: [16637]
16637,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[127, 27], Operations: ['60+67=127', '79-52=27']
Exploring Operation: 127+27=154, Resulting Numbers: [154]
154,83 unequal: No Solution
Exploring Operation: 127*27=3429, Resulting Numbers: [3429]
3429,83 unequal: No Solution
Exploring Operation: 127-27=100, Resulting Numbers: [100]
100,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[60, 67, 131], Operations: ['52+79=131']
Exploring Operation: 131-67=64, Resulting Numbers: [60, 64]
Generated Node #0,3,0: 83:[60, 64] Operation: 131-67=64
Exploring Operation: 131-60=71, Resulting Numbers: [67, 71]
Generated Node #0,3,1: 83:[67, 71] Operation: 131-60=71
Exploring Operation: 60+67=127, Resulting Numbers: [131, 127]
Generated Node #0,3,2: 83:[131, 127] Operation: 60+67=127
Exploring Operation: 67-60=7, Resulting Numbers: [131, 7]
Generated Node #0,3,3: 83:[131, 7] Operation: 67-60=7
Moving to Node #0,3,1
Current State: 83:[67, 71], Operations: ['52+79=131', '131-60=71']
Exploring Operation: 67*71=4757, Resulting Numbers: [4757]
4757,83 unequal: No Solution
Exploring Operation: 71-67=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 67+71=138, Resulting Numbers: [138]
138,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[60, 64], Operations: ['52+79=131', '131-67=64']
Exploring Operation: 60*64=3840, Resulting Numbers: [3840]
3840,83 unequal: No Solution
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 60+64=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[131, 127], Operations: ['52+79=131', '60+67=127']
Exploring Operation: 131+127=258, Resulting Numbers: [258]
258,83 unequal: No Solution
Exploring Operation: 131*127=16637, Resulting Numbers: [16637]
16637,83 unequal: No Solution
Exploring Operation: 131-127=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[131, 7], Operations: ['52+79=131', '67-60=7']
Exploring Operation: 131+7=138, Resulting Numbers: [138]
138,83 unequal: No Solution
Exploring Operation: 131*7=917, Resulting Numbers: [917]
917,83 unequal: No Solution
Exploring Operation: 131-7=124, Resulting Numbers: [124]
124,83 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 |
[
90,
99,
63,
33
] | 96 | [
"63-33=30",
"90/30=3",
"99-3=96"
] | Current State: 96:[90, 99, 63, 33], Operations: []
Exploring Operation: 63-33=30, Resulting Numbers: [90, 99, 30]
Generated Node #2: [90, 99, 30] from Operation: 63-33=30
Current State: 96:[90, 99, 30], Operations: ['63-33=30']
Exploring Operation: 90/30=3, Resulting Numbers: [99, 3]
Generated Node #3: [99, 3] from Operation: 90/30=3
Current State: 96:[99, 3], Operations: ['63-33=30', '90/30=3']
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[90, 99, 63, 33], Operations: []
Exploring Operation: 63-33=30, Resulting Numbers: [90, 99, 30]
Generated Node #0,0: 96:[90, 99, 30] Operation: 63-33=30
Exploring Operation: 63+33=96, Resulting Numbers: [90, 99, 96]
Generated Node #0,1: 96:[90, 99, 96] Operation: 63+33=96
Exploring Operation: 99-63=36, Resulting Numbers: [90, 33, 36]
Generated Node #0,2: 96:[90, 33, 36] Operation: 99-63=36
Exploring Operation: 90-63=27, Resulting Numbers: [99, 33, 27]
Generated Node #0,3: 96:[99, 33, 27] Operation: 90-63=27
Start Sub Search at level 1: Moving to Node #0,3
Current State: 96:[99, 33, 27], Operations: ['90-63=27']
Exploring Operation: 99/33=3, Resulting Numbers: [27, 3]
Generated Node #0,3,0: 96:[27, 3] Operation: 99/33=3
Exploring Operation: 99-33=66, Resulting Numbers: [27, 66]
Generated Node #0,3,1: 96:[27, 66] Operation: 99-33=66
Exploring Operation: 33-27=6, Resulting Numbers: [99, 6]
Generated Node #0,3,2: 96:[99, 6] Operation: 33-27=6
Exploring Operation: 33+27=60, Resulting Numbers: [99, 60]
Generated Node #0,3,3: 96:[99, 60] Operation: 33+27=60
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 96:[27, 3], Operations: ['90-63=27', '99/33=3']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,96 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 96:[99, 6], Operations: ['90-63=27', '33-27=6']
Exploring Operation: 99+6=105, Resulting Numbers: [105]
105,96 unequal: No Solution
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,96 unequal: No Solution
Exploring Operation: 99*6=594, Resulting Numbers: [594]
594,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 96:[99, 60], Operations: ['90-63=27', '33+27=60']
Exploring Operation: 99-60=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 99*60=5940, Resulting Numbers: [5940]
5940,96 unequal: No Solution
Exploring Operation: 99+60=159, Resulting Numbers: [159]
159,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 96:[27, 66], Operations: ['90-63=27', '99-33=66']
Exploring Operation: 27+66=93, Resulting Numbers: [93]
93,96 unequal: No Solution
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 27*66=1782, Resulting Numbers: [1782]
1782,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[90, 99, 96], Operations: ['63+33=96']
Exploring Operation: 99-96=3, Resulting Numbers: [90, 3]
Generated Node #0,1,0: 96:[90, 3] Operation: 99-96=3
Exploring Operation: 96-90=6, Resulting Numbers: [99, 6]
Generated Node #0,1,1: 96:[99, 6] Operation: 96-90=6
Exploring Operation: 90+99=189, Resulting Numbers: [96, 189]
Generated Node #0,1,2: 96:[96, 189] Operation: 90+99=189
Exploring Operation: 99-90=9, Resulting Numbers: [96, 9]
Generated Node #0,1,3: 96:[96, 9] Operation: 99-90=9
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 96:[96, 9], Operations: ['63+33=96', '99-90=9']
Exploring Operation: 96*9=864, Resulting Numbers: [864]
864,96 unequal: No Solution
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,96 unequal: No Solution
Exploring Operation: 96+9=105, Resulting Numbers: [105]
105,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[99, 6], Operations: ['63+33=96', '96-90=6']
Exploring Operation: 99*6=594, Resulting Numbers: [594]
594,96 unequal: No Solution
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,96 unequal: No Solution
Exploring Operation: 99+6=105, Resulting Numbers: [105]
105,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[90, 3], Operations: ['63+33=96', '99-96=3']
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,96 unequal: No Solution
Exploring Operation: 90*3=270, Resulting Numbers: [270]
270,96 unequal: No Solution
Exploring Operation: 90+3=93, Resulting Numbers: [93]
93,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 96:[96, 189], Operations: ['63+33=96', '90+99=189']
Exploring Operation: 96+189=285, Resulting Numbers: [285]
285,96 unequal: No Solution
Exploring Operation: 189-96=93, Resulting Numbers: [93]
93,96 unequal: No Solution
Exploring Operation: 96*189=18144, Resulting Numbers: [18144]
18144,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[90, 99, 30], Operations: ['63-33=30']
Exploring Operation: 90-30=60, Resulting Numbers: [99, 60]
Generated Node #0,0,0: 96:[99, 60] Operation: 90-30=60
Exploring Operation: 90/30=3, Resulting Numbers: [99, 3]
Generated Node #0,0,1: 96:[99, 3] Operation: 90/30=3
Exploring Operation: 90+30=120, Resulting Numbers: [99, 120]
Generated Node #0,0,2: 96:[99, 120] Operation: 90+30=120
Exploring Operation: 99-90=9, Resulting Numbers: [30, 9]
Generated Node #0,0,3: 96:[30, 9] Operation: 99-90=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[99, 3], Operations: ['63-33=30', '90/30=3']
Exploring Operation: 99*3=297, Resulting Numbers: [297]
297,96 unequal: No Solution
Exploring Operation: 99/3=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[90, 99, 63, 33], Operations: []
Exploring Operation: 63-33=30, Resulting Numbers: [90, 99, 30]
Generated Node #0,0: 96:[90, 99, 30] Operation: 63-33=30
Moving to Node #0,0
Current State: 96:[90, 99, 30], Operations: ['63-33=30']
Exploring Operation: 90/30=3, Resulting Numbers: [99, 3]
Generated Node #0,0,1: 96:[99, 3] Operation: 90/30=3
Moving to Node #0,0,1
Current State: 96:[99, 3], Operations: ['63-33=30', '90/30=3']
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.957465 | hs_4 | mult_heuristic |
[
59,
27,
28,
90
] | 30 | [
"59-27=32",
"90-28=62",
"62-32=30"
] | Current State: 30:[59, 27, 28, 90], Operations: []
Exploring Operation: 59-27=32, Resulting Numbers: [28, 90, 32]
Generated Node #2: [28, 90, 32] from Operation: 59-27=32
Current State: 30:[28, 90, 32], Operations: ['59-27=32']
Exploring Operation: 90-28=62, Resulting Numbers: [32, 62]
Generated Node #3: [32, 62] from Operation: 90-28=62
Current State: 30:[32, 62], Operations: ['59-27=32', '90-28=62']
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[59, 27, 28, 90], Operations: []
Exploring Operation: 90-59=31, Resulting Numbers: [27, 28, 31]
Generated Node #0,0: 30:[27, 28, 31] Operation: 90-59=31
Exploring Operation: 59-27=32, Resulting Numbers: [28, 90, 32]
Generated Node #0,1: 30:[28, 90, 32] Operation: 59-27=32
Moving to Node #0,0
Current State: 30:[27, 28, 31], Operations: ['90-59=31']
Exploring Operation: 31-27=4, Resulting Numbers: [28, 4]
Generated Node #0,0,0: 30:[28, 4] Operation: 31-27=4
Exploring Operation: 28-27=1, Resulting Numbers: [31, 1]
Generated Node #0,0,1: 30:[31, 1] Operation: 28-27=1
Moving to Node #0,1
Current State: 30:[28, 90, 32], Operations: ['59-27=32']
Exploring Operation: 90-32=58, Resulting Numbers: [28, 58]
Generated Node #0,1,0: 30:[28, 58] Operation: 90-32=58
Exploring Operation: 90-28=62, Resulting Numbers: [32, 62]
Generated Node #0,1,1: 30:[32, 62] Operation: 90-28=62
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[28, 58], Operations: ['59-27=32', '90-32=58']
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[59, 27, 28, 90], Operations: []
Exploring Operation: 59-27=32, Resulting Numbers: [28, 90, 32]
Generated Node #0,1: 30:[28, 90, 32] Operation: 59-27=32
Moving to Node #0,1
Current State: 30:[28, 90, 32], Operations: ['59-27=32']
Exploring Operation: 90-32=58, Resulting Numbers: [28, 58]
Generated Node #0,1,0: 30:[28, 58] Operation: 90-32=58
Moving to Node #0,1,0
Current State: 30:[28, 58], Operations: ['59-27=32', '90-32=58']
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
46,
58,
81,
26
] | 49 | [
"46+58=104",
"81-26=55",
"104-55=49"
] | Current State: 49:[46, 58, 81, 26], Operations: []
Exploring Operation: 46+58=104, Resulting Numbers: [81, 26, 104]
Generated Node #2: [81, 26, 104] from Operation: 46+58=104
Current State: 49:[81, 26, 104], Operations: ['46+58=104']
Exploring Operation: 81-26=55, Resulting Numbers: [104, 55]
Generated Node #3: [104, 55] from Operation: 81-26=55
Current State: 49:[104, 55], Operations: ['46+58=104', '81-26=55']
Exploring Operation: 104-55=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[46, 58, 81, 26], Operations: []
Exploring Operation: 81-58=23, Resulting Numbers: [46, 26, 23]
Generated Node #0,0: 49:[46, 26, 23] Operation: 81-58=23
Exploring Operation: 58-26=32, Resulting Numbers: [46, 81, 32]
Generated Node #0,1: 49:[46, 81, 32] Operation: 58-26=32
Exploring Operation: 81-46=35, Resulting Numbers: [58, 26, 35]
Generated Node #0,2: 49:[58, 26, 35] Operation: 81-46=35
Exploring Operation: 81-26=55, Resulting Numbers: [46, 58, 55]
Generated Node #0,3: 49:[46, 58, 55] Operation: 81-26=55
Exploring Operation: 46-26=20, Resulting Numbers: [58, 81, 20]
Generated Node #0,4: 49:[58, 81, 20] Operation: 46-26=20
Moving to Node #0,3
Current State: 49:[46, 58, 55], Operations: ['81-26=55']
Exploring Operation: 55-46=9, Resulting Numbers: [58, 9]
Generated Node #0,3,0: 49:[58, 9] Operation: 55-46=9
Exploring Operation: 46+55=101, Resulting Numbers: [58, 101]
Generated Node #0,3,1: 49:[58, 101] Operation: 46+55=101
Exploring Operation: 46+58=104, Resulting Numbers: [55, 104]
Generated Node #0,3,2: 49:[55, 104] Operation: 46+58=104
Exploring Operation: 58-55=3, Resulting Numbers: [46, 3]
Generated Node #0,3,3: 49:[46, 3] Operation: 58-55=3
Exploring Operation: 58-46=12, Resulting Numbers: [55, 12]
Generated Node #0,3,4: 49:[55, 12] Operation: 58-46=12
Moving to Node #0,0
Current State: 49:[46, 26, 23], Operations: ['81-58=23']
Exploring Operation: 46/23=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 49:[26, 2] Operation: 46/23=2
Exploring Operation: 26+23=49, Resulting Numbers: [46, 49]
Generated Node #0,0,1: 49:[46, 49] Operation: 26+23=49
Exploring Operation: 46-23=23, Resulting Numbers: [26, 23]
Generated Node #0,0,2: 49:[26, 23] Operation: 46-23=23
Exploring Operation: 46-26=20, Resulting Numbers: [23, 20]
Generated Node #0,0,3: 49:[23, 20] Operation: 46-26=20
Exploring Operation: 26-23=3, Resulting Numbers: [46, 3]
Generated Node #0,0,4: 49:[46, 3] Operation: 26-23=3
Moving to Node #0,2
Current State: 49:[58, 26, 35], Operations: ['81-46=35']
Exploring Operation: 26+35=61, Resulting Numbers: [58, 61]
Generated Node #0,2,0: 49:[58, 61] Operation: 26+35=61
Exploring Operation: 58-26=32, Resulting Numbers: [35, 32]
Generated Node #0,2,1: 49:[35, 32] Operation: 58-26=32
Exploring Operation: 58+26=84, Resulting Numbers: [35, 84]
Generated Node #0,2,2: 49:[35, 84] Operation: 58+26=84
Exploring Operation: 35-26=9, Resulting Numbers: [58, 9]
Generated Node #0,2,3: 49:[58, 9] Operation: 35-26=9
Exploring Operation: 58-35=23, Resulting Numbers: [26, 23]
Generated Node #0,2,4: 49:[26, 23] Operation: 58-35=23
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 49:[58, 9], Operations: ['81-46=35', '35-26=9']
Exploring Operation: 58*9=522, Resulting Numbers: [522]
522,49 unequal: No Solution
Exploring Operation: 58+9=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[46, 58, 81, 26], Operations: []
Exploring Operation: 81-46=35, Resulting Numbers: [58, 26, 35]
Generated Node #0,2: 49:[58, 26, 35] Operation: 81-46=35
Moving to Node #0,2
Current State: 49:[58, 26, 35], Operations: ['81-46=35']
Exploring Operation: 35-26=9, Resulting Numbers: [58, 9]
Generated Node #0,2,3: 49:[58, 9] Operation: 35-26=9
Moving to Node #0,2,3
Current State: 49:[58, 9], Operations: ['81-46=35', '35-26=9']
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | sum_heuristic |
[
5,
6,
20,
45
] | 49 | [
"5*20=100",
"6+45=51",
"100-51=49"
] | Current State: 49:[5, 6, 20, 45], Operations: []
Exploring Operation: 5*20=100, Resulting Numbers: [6, 45, 100]
Generated Node #2: [6, 45, 100] from Operation: 5*20=100
Current State: 49:[6, 45, 100], Operations: ['5*20=100']
Exploring Operation: 6+45=51, Resulting Numbers: [100, 51]
Generated Node #3: [100, 51] from Operation: 6+45=51
Current State: 49:[100, 51], Operations: ['5*20=100', '6+45=51']
Exploring Operation: 100-51=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[5, 6, 20, 45], Operations: []
Exploring Operation: 20/5=4, Resulting Numbers: [6, 45, 4]
Generated Node #0,0: 49:[6, 45, 4] Operation: 20/5=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[6, 45, 4], Operations: ['20/5=4']
Exploring Operation: 45+4=49, Resulting Numbers: [6, 49]
Generated Node #0,0,0: 49:[6, 49] Operation: 45+4=49
Moving to Node #0,0,0
Current State: 49:[6, 49], Operations: ['20/5=4', '45+4=49']
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,49 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 |
[
22,
56,
33,
79
] | 44 | [
"33+79=112",
"22*112=2464",
"2464/56=44"
] | Current State: 44:[22, 56, 33, 79], Operations: []
Exploring Operation: 33+79=112, Resulting Numbers: [22, 56, 112]
Generated Node #2: [22, 56, 112] from Operation: 33+79=112
Current State: 44:[22, 56, 112], Operations: ['33+79=112']
Exploring Operation: 22*112=2464, Resulting Numbers: [56, 2464]
Generated Node #3: [56, 2464] from Operation: 22*112=2464
Current State: 44:[56, 2464], Operations: ['33+79=112', '22*112=2464']
Exploring Operation: 2464/56=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[22, 56, 33, 79], Operations: []
Exploring Operation: 79-56=23, Resulting Numbers: [22, 33, 23]
Generated Node #0,0: 44:[22, 33, 23] Operation: 79-56=23
Exploring Operation: 79-22=57, Resulting Numbers: [56, 33, 57]
Generated Node #0,1: 44:[56, 33, 57] Operation: 79-22=57
Exploring Operation: 79-33=46, Resulting Numbers: [22, 56, 46]
Generated Node #0,2: 44:[22, 56, 46] Operation: 79-33=46
Exploring Operation: 56-33=23, Resulting Numbers: [22, 79, 23]
Generated Node #0,3: 44:[22, 79, 23] Operation: 56-33=23
Exploring Operation: 33-22=11, Resulting Numbers: [56, 79, 11]
Generated Node #0,4: 44:[56, 79, 11] Operation: 33-22=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[22, 33, 23], Operations: ['79-56=23']
Exploring Operation: 22+23=45, Resulting Numbers: [33, 45]
Generated Node #0,0,0: 44:[33, 45] Operation: 22+23=45
Exploring Operation: 23-22=1, Resulting Numbers: [33, 1]
Generated Node #0,0,1: 44:[33, 1] Operation: 23-22=1
Exploring Operation: 33-23=10, Resulting Numbers: [22, 10]
Generated Node #0,0,2: 44:[22, 10] Operation: 33-23=10
Exploring Operation: 33-22=11, Resulting Numbers: [23, 11]
Generated Node #0,0,3: 44:[23, 11] Operation: 33-22=11
Exploring Operation: 22+33=55, Resulting Numbers: [23, 55]
Generated Node #0,0,4: 44:[23, 55] Operation: 22+33=55
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 44:[22, 10], Operations: ['79-56=23', '33-23=10']
Exploring Operation: 22+10=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 22*10=220, Resulting Numbers: [220]
220,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 44:[23, 11], Operations: ['79-56=23', '33-22=11']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,44 unequal: No Solution
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[33, 45], Operations: ['79-56=23', '22+23=45']
Exploring Operation: 33+45=78, Resulting Numbers: [78]
78,44 unequal: No Solution
Exploring Operation: 33*45=1485, Resulting Numbers: [1485]
1485,44 unequal: No Solution
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 44:[33, 1], Operations: ['79-56=23', '23-22=1']
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,44 unequal: No Solution
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,44 unequal: No Solution
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 44:[23, 55], Operations: ['79-56=23', '22+33=55']
Exploring Operation: 23+55=78, Resulting Numbers: [78]
78,44 unequal: No Solution
Exploring Operation: 55-23=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 23*55=1265, Resulting Numbers: [1265]
1265,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[22, 56, 46], Operations: ['79-33=46']
Exploring Operation: 56-46=10, Resulting Numbers: [22, 10]
Generated Node #0,2,0: 44:[22, 10] Operation: 56-46=10
Exploring Operation: 56-22=34, Resulting Numbers: [46, 34]
Generated Node #0,2,1: 44:[46, 34] Operation: 56-22=34
Exploring Operation: 46-22=24, Resulting Numbers: [56, 24]
Generated Node #0,2,2: 44:[56, 24] Operation: 46-22=24
Exploring Operation: 22+56=78, Resulting Numbers: [46, 78]
Generated Node #0,2,3: 44:[46, 78] Operation: 22+56=78
Exploring Operation: 22+46=68, Resulting Numbers: [56, 68]
Generated Node #0,2,4: 44:[56, 68] Operation: 22+46=68
Moving to Node #0,2,0
Current State: 44:[22, 10], Operations: ['79-33=46', '56-46=10']
Exploring Operation: 22+10=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 22*10=220, Resulting Numbers: [220]
220,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[46, 34], Operations: ['79-33=46', '56-22=34']
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 46*34=1564, Resulting Numbers: [1564]
1564,44 unequal: No Solution
Exploring Operation: 46+34=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[56, 24], Operations: ['79-33=46', '46-22=24']
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,44 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Moving to Node #0,2,3
Current State: 44:[46, 78], Operations: ['79-33=46', '22+56=78']
Exploring Operation: 46+78=124, Resulting Numbers: [124]
124,44 unequal: No Solution
Exploring Operation: 78-46=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 46*78=3588, Resulting Numbers: [3588]
3588,44 unequal: No Solution
Moving to Node #0,2,4
Current State: 44:[56, 68], Operations: ['79-33=46', '22+46=68']
Exploring Operation: 56+68=124, Resulting Numbers: [124]
124,44 unequal: No Solution
Exploring Operation: 56*68=3808, Resulting Numbers: [3808]
3808,44 unequal: No Solution
Exploring Operation: 68-56=12, Resulting Numbers: [12]
12,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[56, 33, 57], Operations: ['79-22=57']
Exploring Operation: 57-33=24, Resulting Numbers: [56, 24]
Generated Node #0,1,0: 44:[56, 24] Operation: 57-33=24
Exploring Operation: 56-33=23, Resulting Numbers: [57, 23]
Generated Node #0,1,1: 44:[57, 23] Operation: 56-33=23
Exploring Operation: 57-56=1, Resulting Numbers: [33, 1]
Generated Node #0,1,2: 44:[33, 1] Operation: 57-56=1
Exploring Operation: 56+33=89, Resulting Numbers: [57, 89]
Generated Node #0,1,3: 44:[57, 89] Operation: 56+33=89
Exploring Operation: 33+57=90, Resulting Numbers: [56, 90]
Generated Node #0,1,4: 44:[56, 90] Operation: 33+57=90
Moving to Node #0,1,2
Current State: 44:[33, 1], Operations: ['79-22=57', '57-56=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,44 unequal: No Solution
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[57, 23], Operations: ['79-22=57', '56-33=23']
Exploring Operation: 57+23=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 57*23=1311, Resulting Numbers: [1311]
1311,44 unequal: No Solution
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[56, 24], Operations: ['79-22=57', '57-33=24']
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,44 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Moving to Node #0,1,3
Current State: 44:[57, 89], Operations: ['79-22=57', '56+33=89']
Exploring Operation: 89-57=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 57+89=146, Resulting Numbers: [146]
146,44 unequal: No Solution
Exploring Operation: 57*89=5073, Resulting Numbers: [5073]
5073,44 unequal: No Solution
Moving to Node #0,1,4
Current State: 44:[56, 90], Operations: ['79-22=57', '33+57=90']
Exploring Operation: 90-56=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 56*90=5040, Resulting Numbers: [5040]
5040,44 unequal: No Solution
Exploring Operation: 56+90=146, Resulting Numbers: [146]
146,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[22, 79, 23], Operations: ['56-33=23']
Exploring Operation: 79-22=57, Resulting Numbers: [23, 57]
Generated Node #0,3,0: 44:[23, 57] Operation: 79-22=57
Exploring Operation: 22+23=45, Resulting Numbers: [79, 45]
Generated Node #0,3,1: 44:[79, 45] Operation: 22+23=45
Exploring Operation: 23-22=1, Resulting Numbers: [79, 1]
Generated Node #0,3,2: 44:[79, 1] Operation: 23-22=1
Exploring Operation: 22+79=101, Resulting Numbers: [23, 101]
Generated Node #0,3,3: 44:[23, 101] Operation: 22+79=101
Exploring Operation: 79-23=56, Resulting Numbers: [22, 56]
Generated Node #0,3,4: 44:[22, 56] Operation: 79-23=56
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 44:[22, 56], Operations: ['56-33=23', '79-23=56']
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 22+56=78, Resulting Numbers: [78]
78,44 unequal: No Solution
Exploring Operation: 22*56=1232, Resulting Numbers: [1232]
1232,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 44:[23, 57], Operations: ['56-33=23', '79-22=57']
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 23+57=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 23*57=1311, Resulting Numbers: [1311]
1311,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 44:[79, 45], Operations: ['56-33=23', '22+23=45']
Exploring Operation: 79*45=3555, Resulting Numbers: [3555]
3555,44 unequal: No Solution
Exploring Operation: 79+45=124, Resulting Numbers: [124]
124,44 unequal: No Solution
Exploring Operation: 79-45=34, Resulting Numbers: [34]
34,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 44:[79, 1], Operations: ['56-33=23', '23-22=1']
Exploring Operation: 79+1=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,44 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,44 unequal: No Solution
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 44:[23, 101], Operations: ['56-33=23', '22+79=101']
Exploring Operation: 101-23=78, Resulting Numbers: [78]
78,44 unequal: No Solution
Exploring Operation: 23+101=124, Resulting Numbers: [124]
124,44 unequal: No Solution
Exploring Operation: 23*101=2323, Resulting Numbers: [2323]
2323,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 44:[56, 79, 11], Operations: ['33-22=11']
Exploring Operation: 79-11=68, Resulting Numbers: [56, 68]
Generated Node #0,4,0: 44:[56, 68] Operation: 79-11=68
Exploring Operation: 56-11=45, Resulting Numbers: [79, 45]
Generated Node #0,4,1: 44:[79, 45] Operation: 56-11=45
Exploring Operation: 56+11=67, Resulting Numbers: [79, 67]
Generated Node #0,4,2: 44:[79, 67] Operation: 56+11=67
Exploring Operation: 79-56=23, Resulting Numbers: [11, 23]
Generated Node #0,4,3: 44:[11, 23] Operation: 79-56=23
Exploring Operation: 79+11=90, Resulting Numbers: [56, 90]
Generated Node #0,4,4: 44:[56, 90] Operation: 79+11=90
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 44:[11, 23], Operations: ['33-22=11', '79-56=23']
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 11*23=253, Resulting Numbers: [253]
253,44 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 44:[56, 68], Operations: ['33-22=11', '79-11=68']
Exploring Operation: 68-56=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 56+68=124, Resulting Numbers: [124]
124,44 unequal: No Solution
Exploring Operation: 56*68=3808, Resulting Numbers: [3808]
3808,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 44:[79, 45], Operations: ['33-22=11', '56-11=45']
Exploring Operation: 79*45=3555, Resulting Numbers: [3555]
3555,44 unequal: No Solution
Exploring Operation: 79-45=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 79+45=124, Resulting Numbers: [124]
124,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 44:[79, 67], Operations: ['33-22=11', '56+11=67']
Exploring Operation: 79+67=146, Resulting Numbers: [146]
146,44 unequal: No Solution
Exploring Operation: 79-67=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 79*67=5293, Resulting Numbers: [5293]
5293,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 44:[56, 90], Operations: ['33-22=11', '79+11=90']
Exploring Operation: 56*90=5040, Resulting Numbers: [5040]
5040,44 unequal: No Solution
Exploring Operation: 90-56=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 56+90=146, Resulting Numbers: [146]
146,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
9,
12,
14,
99
] | 57 | [
"12-9=3",
"14*3=42",
"99-42=57"
] | Current State: 57:[9, 12, 14, 99], Operations: []
Exploring Operation: 12-9=3, Resulting Numbers: [14, 99, 3]
Generated Node #2: [14, 99, 3] from Operation: 12-9=3
Current State: 57:[14, 99, 3], Operations: ['12-9=3']
Exploring Operation: 14*3=42, Resulting Numbers: [99, 42]
Generated Node #3: [99, 42] from Operation: 14*3=42
Current State: 57:[99, 42], Operations: ['12-9=3', '14*3=42']
Exploring Operation: 99-42=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[9, 12, 14, 99], Operations: []
Exploring Operation: 99-9=90, Resulting Numbers: [12, 14, 90]
Generated Node #0,0: 57:[12, 14, 90] Operation: 99-9=90
Exploring Operation: 99-14=85, Resulting Numbers: [9, 12, 85]
Generated Node #0,1: 57:[9, 12, 85] Operation: 99-14=85
Exploring Operation: 99/9=11, Resulting Numbers: [12, 14, 11]
Generated Node #0,2: 57:[12, 14, 11] Operation: 99/9=11
Exploring Operation: 99-12=87, Resulting Numbers: [9, 14, 87]
Generated Node #0,3: 57:[9, 14, 87] Operation: 99-12=87
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[12, 14, 11], Operations: ['99/9=11']
Exploring Operation: 14-12=2, Resulting Numbers: [11, 2]
Generated Node #0,2,0: 57:[11, 2] Operation: 14-12=2
Exploring Operation: 12+11=23, Resulting Numbers: [14, 23]
Generated Node #0,2,1: 57:[14, 23] Operation: 12+11=23
Exploring Operation: 14-11=3, Resulting Numbers: [12, 3]
Generated Node #0,2,2: 57:[12, 3] Operation: 14-11=3
Exploring Operation: 12-11=1, Resulting Numbers: [14, 1]
Generated Node #0,2,3: 57:[14, 1] Operation: 12-11=1
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 57:[12, 3], Operations: ['99/9=11', '14-11=3']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 57:[14, 1], Operations: ['99/9=11', '12-11=1']
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,57 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 57:[11, 2], Operations: ['99/9=11', '14-12=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 57:[14, 23], Operations: ['99/9=11', '12+11=23']
Exploring Operation: 14+23=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 14*23=322, Resulting Numbers: [322]
322,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[9, 12, 85], Operations: ['99-14=85']
Exploring Operation: 12-9=3, Resulting Numbers: [85, 3]
Generated Node #0,1,0: 57:[85, 3] Operation: 12-9=3
Exploring Operation: 85-9=76, Resulting Numbers: [12, 76]
Generated Node #0,1,1: 57:[12, 76] Operation: 85-9=76
Exploring Operation: 85-12=73, Resulting Numbers: [9, 73]
Generated Node #0,1,2: 57:[9, 73] Operation: 85-12=73
Exploring Operation: 9+12=21, Resulting Numbers: [85, 21]
Generated Node #0,1,3: 57:[85, 21] Operation: 9+12=21
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[9, 73], Operations: ['99-14=85', '85-12=73']
Exploring Operation: 9+73=82, Resulting Numbers: [82]
82,57 unequal: No Solution
Exploring Operation: 9*73=657, Resulting Numbers: [657]
657,57 unequal: No Solution
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[12, 76], Operations: ['99-14=85', '85-9=76']
Exploring Operation: 12*76=912, Resulting Numbers: [912]
912,57 unequal: No Solution
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 12+76=88, Resulting Numbers: [88]
88,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[85, 3], Operations: ['99-14=85', '12-9=3']
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 85*3=255, Resulting Numbers: [255]
255,57 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 57:[85, 21], Operations: ['99-14=85', '9+12=21']
Exploring Operation: 85-21=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 85*21=1785, Resulting Numbers: [1785]
1785,57 unequal: No Solution
Exploring Operation: 85+21=106, Resulting Numbers: [106]
106,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[9, 14, 87], Operations: ['99-12=87']
Exploring Operation: 14-9=5, Resulting Numbers: [87, 5]
Generated Node #0,3,0: 57:[87, 5] Operation: 14-9=5
Exploring Operation: 87-9=78, Resulting Numbers: [14, 78]
Generated Node #0,3,1: 57:[14, 78] Operation: 87-9=78
Exploring Operation: 87-14=73, Resulting Numbers: [9, 73]
Generated Node #0,3,2: 57:[9, 73] Operation: 87-14=73
Exploring Operation: 9+14=23, Resulting Numbers: [87, 23]
Generated Node #0,3,3: 57:[87, 23] Operation: 9+14=23
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 57:[9, 73], Operations: ['99-12=87', '87-14=73']
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 9*73=657, Resulting Numbers: [657]
657,57 unequal: No Solution
Exploring Operation: 9+73=82, Resulting Numbers: [82]
82,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 57:[14, 78], Operations: ['99-12=87', '87-9=78']
Exploring Operation: 14*78=1092, Resulting Numbers: [1092]
1092,57 unequal: No Solution
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 14+78=92, Resulting Numbers: [92]
92,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 57:[87, 5], Operations: ['99-12=87', '14-9=5']
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,57 unequal: No Solution
Exploring Operation: 87*5=435, Resulting Numbers: [435]
435,57 unequal: No Solution
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 57:[87, 23], Operations: ['99-12=87', '9+14=23']
Exploring Operation: 87*23=2001, Resulting Numbers: [2001]
2001,57 unequal: No Solution
Exploring Operation: 87-23=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 87+23=110, Resulting Numbers: [110]
110,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[12, 14, 90], Operations: ['99-9=90']
Exploring Operation: 90-14=76, Resulting Numbers: [12, 76]
Generated Node #0,0,0: 57:[12, 76] Operation: 90-14=76
Exploring Operation: 90-12=78, Resulting Numbers: [14, 78]
Generated Node #0,0,1: 57:[14, 78] Operation: 90-12=78
Exploring Operation: 14-12=2, Resulting Numbers: [90, 2]
Generated Node #0,0,2: 57:[90, 2] Operation: 14-12=2
Exploring Operation: 12+14=26, Resulting Numbers: [90, 26]
Generated Node #0,0,3: 57:[90, 26] Operation: 12+14=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[12, 76], Operations: ['99-9=90', '90-14=76']
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 12+76=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 12*76=912, Resulting Numbers: [912]
912,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[14, 78], Operations: ['99-9=90', '90-12=78']
Exploring Operation: 14*78=1092, Resulting Numbers: [1092]
1092,57 unequal: No Solution
Exploring Operation: 14+78=92, Resulting Numbers: [92]
92,57 unequal: No Solution
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 57:[90, 2], Operations: ['99-9=90', '14-12=2']
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,57 unequal: No Solution
Exploring Operation: 90*2=180, Resulting Numbers: [180]
180,57 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 57:[90, 26], Operations: ['99-9=90', '12+14=26']
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 90*26=2340, Resulting Numbers: [2340]
2340,57 unequal: No Solution
Exploring Operation: 90+26=116, Resulting Numbers: [116]
116,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
64,
81,
54,
57
] | 90 | [
"64*81=5184",
"5184-54=5130",
"5130/57=90"
] | Current State: 90:[64, 81, 54, 57], Operations: []
Exploring Operation: 64*81=5184, Resulting Numbers: [54, 57, 5184]
Generated Node #2: [54, 57, 5184] from Operation: 64*81=5184
Current State: 90:[54, 57, 5184], Operations: ['64*81=5184']
Exploring Operation: 5184-54=5130, Resulting Numbers: [57, 5130]
Generated Node #3: [57, 5130] from Operation: 5184-54=5130
Current State: 90:[57, 5130], Operations: ['64*81=5184', '5184-54=5130']
Exploring Operation: 5130/57=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[64, 81, 54, 57], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [64, 81, 3]
Generated Node #0,0: 90:[64, 81, 3] Operation: 57-54=3
Exploring Operation: 64-57=7, Resulting Numbers: [81, 54, 7]
Generated Node #0,1: 90:[81, 54, 7] Operation: 64-57=7
Exploring Operation: 64-54=10, Resulting Numbers: [81, 57, 10]
Generated Node #0,2: 90:[81, 57, 10] Operation: 64-54=10
Exploring Operation: 81-54=27, Resulting Numbers: [64, 57, 27]
Generated Node #0,3: 90:[64, 57, 27] Operation: 81-54=27
Exploring Operation: 81-64=17, Resulting Numbers: [54, 57, 17]
Generated Node #0,4: 90:[54, 57, 17] Operation: 81-64=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[81, 54, 7], Operations: ['64-57=7']
Exploring Operation: 81-7=74, Resulting Numbers: [54, 74]
Generated Node #0,1,0: 90:[54, 74] Operation: 81-7=74
Exploring Operation: 81-54=27, Resulting Numbers: [7, 27]
Generated Node #0,1,1: 90:[7, 27] Operation: 81-54=27
Exploring Operation: 54+7=61, Resulting Numbers: [81, 61]
Generated Node #0,1,2: 90:[81, 61] Operation: 54+7=61
Exploring Operation: 81+7=88, Resulting Numbers: [54, 88]
Generated Node #0,1,3: 90:[54, 88] Operation: 81+7=88
Exploring Operation: 54-7=47, Resulting Numbers: [81, 47]
Generated Node #0,1,4: 90:[81, 47] Operation: 54-7=47
Moving to Node #0,1,1
Current State: 90:[7, 27], Operations: ['64-57=7', '81-54=27']
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,90 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Moving to Node #0,1,4
Current State: 90:[81, 47], Operations: ['64-57=7', '54-7=47']
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 81+47=128, Resulting Numbers: [128]
128,90 unequal: No Solution
Exploring Operation: 81*47=3807, Resulting Numbers: [3807]
3807,90 unequal: No Solution
Moving to Node #0,1,3
Current State: 90:[54, 88], Operations: ['64-57=7', '81+7=88']
Exploring Operation: 54+88=142, Resulting Numbers: [142]
142,90 unequal: No Solution
Exploring Operation: 54*88=4752, Resulting Numbers: [4752]
4752,90 unequal: No Solution
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[54, 74], Operations: ['64-57=7', '81-7=74']
Exploring Operation: 74-54=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 54*74=3996, Resulting Numbers: [3996]
3996,90 unequal: No Solution
Exploring Operation: 54+74=128, Resulting Numbers: [128]
128,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[81, 61], Operations: ['64-57=7', '54+7=61']
Exploring Operation: 81*61=4941, Resulting Numbers: [4941]
4941,90 unequal: No Solution
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 81+61=142, Resulting Numbers: [142]
142,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[81, 57, 10], Operations: ['64-54=10']
Exploring Operation: 57-10=47, Resulting Numbers: [81, 47]
Generated Node #0,2,0: 90:[81, 47] Operation: 57-10=47
Exploring Operation: 81-10=71, Resulting Numbers: [57, 71]
Generated Node #0,2,1: 90:[57, 71] Operation: 81-10=71
Exploring Operation: 57+10=67, Resulting Numbers: [81, 67]
Generated Node #0,2,2: 90:[81, 67] Operation: 57+10=67
Exploring Operation: 81-57=24, Resulting Numbers: [10, 24]
Generated Node #0,2,3: 90:[10, 24] Operation: 81-57=24
Exploring Operation: 81+10=91, Resulting Numbers: [57, 91]
Generated Node #0,2,4: 90:[57, 91] Operation: 81+10=91
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 90:[10, 24], Operations: ['64-54=10', '81-57=24']
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,90 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 90:[81, 47], Operations: ['64-54=10', '57-10=47']
Exploring Operation: 81*47=3807, Resulting Numbers: [3807]
3807,90 unequal: No Solution
Exploring Operation: 81+47=128, Resulting Numbers: [128]
128,90 unequal: No Solution
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 90:[57, 91], Operations: ['64-54=10', '81+10=91']
Exploring Operation: 91-57=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 57*91=5187, Resulting Numbers: [5187]
5187,90 unequal: No Solution
Exploring Operation: 57+91=148, Resulting Numbers: [148]
148,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 90:[57, 71], Operations: ['64-54=10', '81-10=71']
Exploring Operation: 57*71=4047, Resulting Numbers: [4047]
4047,90 unequal: No Solution
Exploring Operation: 57+71=128, Resulting Numbers: [128]
128,90 unequal: No Solution
Exploring Operation: 71-57=14, Resulting Numbers: [14]
14,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 90:[81, 67], Operations: ['64-54=10', '57+10=67']
Exploring Operation: 81-67=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 81*67=5427, Resulting Numbers: [5427]
5427,90 unequal: No Solution
Exploring Operation: 81+67=148, Resulting Numbers: [148]
148,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,4
Current State: 90:[54, 57, 17], Operations: ['81-64=17']
Exploring Operation: 54-17=37, Resulting Numbers: [57, 37]
Generated Node #0,4,0: 90:[57, 37] Operation: 54-17=37
Exploring Operation: 57-17=40, Resulting Numbers: [54, 40]
Generated Node #0,4,1: 90:[54, 40] Operation: 57-17=40
Exploring Operation: 54+57=111, Resulting Numbers: [17, 111]
Generated Node #0,4,2: 90:[17, 111] Operation: 54+57=111
Exploring Operation: 57-54=3, Resulting Numbers: [17, 3]
Generated Node #0,4,3: 90:[17, 3] Operation: 57-54=3
Exploring Operation: 57+17=74, Resulting Numbers: [54, 74]
Generated Node #0,4,4: 90:[54, 74] Operation: 57+17=74
Moving to Node #0,4,3
Current State: 90:[17, 3], Operations: ['81-64=17', '57-54=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Moving to Node #0,4,1
Current State: 90:[54, 40], Operations: ['81-64=17', '57-17=40']
Exploring Operation: 54+40=94, Resulting Numbers: [94]
94,90 unequal: No Solution
Exploring Operation: 54*40=2160, Resulting Numbers: [2160]
2160,90 unequal: No Solution
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Moving to Node #0,4,0
Current State: 90:[57, 37], Operations: ['81-64=17', '54-17=37']
Exploring Operation: 57*37=2109, Resulting Numbers: [2109]
2109,90 unequal: No Solution
Exploring Operation: 57-37=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 57+37=94, Resulting Numbers: [94]
94,90 unequal: No Solution
Moving to Node #0,4,2
Current State: 90:[17, 111], Operations: ['81-64=17', '54+57=111']
Exploring Operation: 111-17=94, Resulting Numbers: [94]
94,90 unequal: No Solution
Exploring Operation: 17+111=128, Resulting Numbers: [128]
128,90 unequal: No Solution
Exploring Operation: 17*111=1887, Resulting Numbers: [1887]
1887,90 unequal: No Solution
Moving to Node #0,4,4
Current State: 90:[54, 74], Operations: ['81-64=17', '57+17=74']
Exploring Operation: 74-54=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 54+74=128, Resulting Numbers: [128]
128,90 unequal: No Solution
Exploring Operation: 54*74=3996, Resulting Numbers: [3996]
3996,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:[64, 81, 3], Operations: ['57-54=3']
Exploring Operation: 64+3=67, Resulting Numbers: [81, 67]
Generated Node #0,0,0: 90:[81, 67] Operation: 64+3=67
Exploring Operation: 81/3=27, Resulting Numbers: [64, 27]
Generated Node #0,0,1: 90:[64, 27] Operation: 81/3=27
Exploring Operation: 81+3=84, Resulting Numbers: [64, 84]
Generated Node #0,0,2: 90:[64, 84] Operation: 81+3=84
Exploring Operation: 81-64=17, Resulting Numbers: [3, 17]
Generated Node #0,0,3: 90:[3, 17] Operation: 81-64=17
Exploring Operation: 64-3=61, Resulting Numbers: [81, 61]
Generated Node #0,0,4: 90:[81, 61] Operation: 64-3=61
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 90:[3, 17], Operations: ['57-54=3', '81-64=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,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:[64, 27], Operations: ['57-54=3', '81/3=27']
Exploring Operation: 64*27=1728, Resulting Numbers: [1728]
1728,90 unequal: No Solution
Exploring Operation: 64+27=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,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:[64, 84], Operations: ['57-54=3', '81+3=84']
Exploring Operation: 64*84=5376, Resulting Numbers: [5376]
5376,90 unequal: No Solution
Exploring Operation: 64+84=148, Resulting Numbers: [148]
148,90 unequal: No Solution
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,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:[81, 61], Operations: ['57-54=3', '64-3=61']
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 81+61=142, Resulting Numbers: [142]
142,90 unequal: No Solution
Exploring Operation: 81*61=4941, Resulting Numbers: [4941]
4941,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,0
Current State: 90:[81, 67], Operations: ['57-54=3', '64+3=67']
Exploring Operation: 81*67=5427, Resulting Numbers: [5427]
5427,90 unequal: No Solution
Exploring Operation: 81+67=148, Resulting Numbers: [148]
148,90 unequal: No Solution
Exploring Operation: 81-67=14, Resulting Numbers: [14]
14,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,3
Current State: 90:[64, 57, 27], Operations: ['81-54=27']
Exploring Operation: 57+27=84, Resulting Numbers: [64, 84]
Generated Node #0,3,0: 90:[64, 84] Operation: 57+27=84
Exploring Operation: 64-27=37, Resulting Numbers: [57, 37]
Generated Node #0,3,1: 90:[57, 37] Operation: 64-27=37
Exploring Operation: 57-27=30, Resulting Numbers: [64, 30]
Generated Node #0,3,2: 90:[64, 30] Operation: 57-27=30
Exploring Operation: 64-57=7, Resulting Numbers: [27, 7]
Generated Node #0,3,3: 90:[27, 7] Operation: 64-57=7
Exploring Operation: 64+27=91, Resulting Numbers: [57, 91]
Generated Node #0,3,4: 90:[57, 91] Operation: 64+27=91
Moving to Node #0,3,3
Current State: 90:[27, 7], Operations: ['81-54=27', '64-57=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,90 unequal: No Solution
Moving to Node #0,3,4
Current State: 90:[57, 91], Operations: ['81-54=27', '64+27=91']
Exploring Operation: 57+91=148, Resulting Numbers: [148]
148,90 unequal: No Solution
Exploring Operation: 91-57=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 57*91=5187, Resulting Numbers: [5187]
5187,90 unequal: No Solution
Moving to Node #0,3,1
Current State: 90:[57, 37], Operations: ['81-54=27', '64-27=37']
Exploring Operation: 57+37=94, Resulting Numbers: [94]
94,90 unequal: No Solution
Exploring Operation: 57-37=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 57*37=2109, Resulting Numbers: [2109]
2109,90 unequal: No Solution
Moving to Node #0,3,2
Current State: 90:[64, 30], Operations: ['81-54=27', '57-27=30']
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,90 unequal: No Solution
Exploring Operation: 64*30=1920, Resulting Numbers: [1920]
1920,90 unequal: No Solution
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Moving to Node #0,3,0
Current State: 90:[64, 84], Operations: ['81-54=27', '57+27=84']
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 64*84=5376, Resulting Numbers: [5376]
5376,90 unequal: No Solution
Exploring Operation: 64+84=148, Resulting Numbers: [148]
148,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 |
[
31,
2,
56,
83
] | 54 | [
"56-31=25",
"83+25=108",
"108/2=54"
] | Current State: 54:[31, 2, 56, 83], Operations: []
Exploring Operation: 56-31=25, Resulting Numbers: [2, 83, 25]
Generated Node #2: [2, 83, 25] from Operation: 56-31=25
Current State: 54:[2, 83, 25], Operations: ['56-31=25']
Exploring Operation: 83+25=108, Resulting Numbers: [2, 108]
Generated Node #3: [2, 108] from Operation: 83+25=108
Current State: 54:[2, 108], Operations: ['56-31=25', '83+25=108']
Exploring Operation: 108/2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[31, 2, 56, 83], Operations: []
Exploring Operation: 83-56=27, Resulting Numbers: [31, 2, 27]
Generated Node #0,0: 54:[31, 2, 27] Operation: 83-56=27
Exploring Operation: 83-31=52, Resulting Numbers: [2, 56, 52]
Generated Node #0,1: 54:[2, 56, 52] Operation: 83-31=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[31, 2, 27], Operations: ['83-56=27']
Exploring Operation: 31-27=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 54:[2, 4] Operation: 31-27=4
Exploring Operation: 31-2=29, Resulting Numbers: [27, 29]
Generated Node #0,0,1: 54:[27, 29] Operation: 31-2=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[2, 4], Operations: ['83-56=27', '31-27=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 54:[27, 29], Operations: ['83-56=27', '31-2=29']
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[2, 56, 52], Operations: ['83-31=52']
Exploring Operation: 56-52=4, Resulting Numbers: [2, 4]
Generated Node #0,1,0: 54:[2, 4] Operation: 56-52=4
Exploring Operation: 56-2=54, Resulting Numbers: [52, 54]
Generated Node #0,1,1: 54:[52, 54] Operation: 56-2=54
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[2, 4], Operations: ['83-31=52', '56-52=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[52, 54], Operations: ['83-31=52', '56-2=54']
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 52+54=106, Resulting Numbers: [106]
106,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
7,
77,
81,
50
] | 61 | [
"77-7=70",
"81+50=131",
"131-70=61"
] | Current State: 61:[7, 77, 81, 50], Operations: []
Exploring Operation: 77-7=70, Resulting Numbers: [81, 50, 70]
Generated Node #2: [81, 50, 70] from Operation: 77-7=70
Current State: 61:[81, 50, 70], Operations: ['77-7=70']
Exploring Operation: 81+50=131, Resulting Numbers: [70, 131]
Generated Node #3: [70, 131] from Operation: 81+50=131
Current State: 61:[70, 131], Operations: ['77-7=70', '81+50=131']
Exploring Operation: 131-70=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[7, 77, 81, 50], Operations: []
Exploring Operation: 81-7=74, Resulting Numbers: [77, 50, 74]
Generated Node #0,0: 61:[77, 50, 74] Operation: 81-7=74
Exploring Operation: 77-7=70, Resulting Numbers: [81, 50, 70]
Generated Node #0,1: 61:[81, 50, 70] Operation: 77-7=70
Exploring Operation: 7+50=57, Resulting Numbers: [77, 81, 57]
Generated Node #0,2: 61:[77, 81, 57] Operation: 7+50=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[77, 50, 74], Operations: ['81-7=74']
Exploring Operation: 77-50=27, Resulting Numbers: [74, 27]
Generated Node #0,0,0: 61:[74, 27] Operation: 77-50=27
Exploring Operation: 74-50=24, Resulting Numbers: [77, 24]
Generated Node #0,0,1: 61:[77, 24] Operation: 74-50=24
Exploring Operation: 77-74=3, Resulting Numbers: [50, 3]
Generated Node #0,0,2: 61:[50, 3] Operation: 77-74=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[74, 27], Operations: ['81-7=74', '77-50=27']
Exploring Operation: 74*27=1998, Resulting Numbers: [1998]
1998,61 unequal: No Solution
Exploring Operation: 74+27=101, Resulting Numbers: [101]
101,61 unequal: No Solution
Exploring Operation: 74-27=47, Resulting Numbers: [47]
47,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[77, 24], Operations: ['81-7=74', '74-50=24']
Exploring Operation: 77-24=53, Resulting Numbers: [53]
53,61 unequal: No Solution
Exploring Operation: 77*24=1848, Resulting Numbers: [1848]
1848,61 unequal: No Solution
Exploring Operation: 77+24=101, Resulting Numbers: [101]
101,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 61:[50, 3], Operations: ['81-7=74', '77-74=3']
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,61 unequal: No Solution
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,61 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[81, 50, 70], Operations: ['77-7=70']
Exploring Operation: 81-70=11, Resulting Numbers: [50, 11]
Generated Node #0,1,0: 61:[50, 11] Operation: 81-70=11
Exploring Operation: 81-50=31, Resulting Numbers: [70, 31]
Generated Node #0,1,1: 61:[70, 31] Operation: 81-50=31
Exploring Operation: 70-50=20, Resulting Numbers: [81, 20]
Generated Node #0,1,2: 61:[81, 20] Operation: 70-50=20
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[70, 31], Operations: ['77-7=70', '81-50=31']
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,61 unequal: No Solution
Exploring Operation: 70+31=101, Resulting Numbers: [101]
101,61 unequal: No Solution
Exploring Operation: 70*31=2170, Resulting Numbers: [2170]
2170,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[50, 11], Operations: ['77-7=70', '81-70=11']
Exploring Operation: 50*11=550, Resulting Numbers: [550]
550,61 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,61 unequal: No Solution
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[7, 77, 81, 50], Operations: []
Exploring Operation: 77-7=70, Resulting Numbers: [81, 50, 70]
Generated Node #0,1: 61:[81, 50, 70] Operation: 77-7=70
Moving to Node #0,1
Current State: 61:[81, 50, 70], Operations: ['77-7=70']
Exploring Operation: 81-70=11, Resulting Numbers: [50, 11]
Generated Node #0,1,0: 61:[50, 11] Operation: 81-70=11
Moving to Node #0,1,0
Current State: 61:[50, 11], Operations: ['77-7=70', '81-70=11']
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.975694 | hs_3 | mult_heuristic |
[
67,
78,
69,
64
] | 71 | [
"69-67=2",
"78+64=142",
"142/2=71"
] | Current State: 71:[67, 78, 69, 64], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [78, 64, 2]
Generated Node #2: [78, 64, 2] from Operation: 69-67=2
Current State: 71:[78, 64, 2], Operations: ['69-67=2']
Exploring Operation: 78+64=142, Resulting Numbers: [2, 142]
Generated Node #3: [2, 142] from Operation: 78+64=142
Current State: 71:[2, 142], Operations: ['69-67=2', '78+64=142']
Exploring Operation: 142/2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[67, 78, 69, 64], Operations: []
Exploring Operation: 78-64=14, Resulting Numbers: [67, 69, 14]
Generated Node #0,0: 71:[67, 69, 14] Operation: 78-64=14
Exploring Operation: 67+64=131, Resulting Numbers: [78, 69, 131]
Generated Node #0,1: 71:[78, 69, 131] Operation: 67+64=131
Exploring Operation: 78-67=11, Resulting Numbers: [69, 64, 11]
Generated Node #0,2: 71:[69, 64, 11] Operation: 78-67=11
Moving to Node #0,0
Current State: 71:[67, 69, 14], Operations: ['78-64=14']
Exploring Operation: 69+14=83, Resulting Numbers: [67, 83]
Generated Node #0,0,0: 71:[67, 83] Operation: 69+14=83
Exploring Operation: 67-14=53, Resulting Numbers: [69, 53]
Generated Node #0,0,1: 71:[69, 53] Operation: 67-14=53
Exploring Operation: 67+14=81, Resulting Numbers: [69, 81]
Generated Node #0,0,2: 71:[69, 81] Operation: 67+14=81
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[69, 81], Operations: ['78-64=14', '67+14=81']
Exploring Operation: 69*81=5589, Resulting Numbers: [5589]
5589,71 unequal: No Solution
Exploring Operation: 69+81=150, Resulting Numbers: [150]
150,71 unequal: No Solution
Exploring Operation: 81-69=12, Resulting Numbers: [12]
12,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[67, 83], Operations: ['78-64=14', '69+14=83']
Exploring Operation: 67*83=5561, Resulting Numbers: [5561]
5561,71 unequal: No Solution
Exploring Operation: 67+83=150, Resulting Numbers: [150]
150,71 unequal: No Solution
Exploring Operation: 83-67=16, Resulting Numbers: [16]
16,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[69, 53], Operations: ['78-64=14', '67-14=53']
Exploring Operation: 69-53=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 69+53=122, Resulting Numbers: [122]
122,71 unequal: No Solution
Exploring Operation: 69*53=3657, Resulting Numbers: [3657]
3657,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 71:[78, 69, 131], Operations: ['67+64=131']
Exploring Operation: 131-78=53, Resulting Numbers: [69, 53]
Generated Node #0,1,0: 71:[69, 53] Operation: 131-78=53
Exploring Operation: 78-69=9, Resulting Numbers: [131, 9]
Generated Node #0,1,1: 71:[131, 9] Operation: 78-69=9
Exploring Operation: 131-69=62, Resulting Numbers: [78, 62]
Generated Node #0,1,2: 71:[78, 62] Operation: 131-69=62
Moving to Node #0,2
Current State: 71:[69, 64, 11], Operations: ['78-67=11']
Exploring Operation: 69-11=58, Resulting Numbers: [64, 58]
Generated Node #0,2,0: 71:[64, 58] Operation: 69-11=58
Exploring Operation: 69+11=80, Resulting Numbers: [64, 80]
Generated Node #0,2,1: 71:[64, 80] Operation: 69+11=80
Exploring Operation: 64+11=75, Resulting Numbers: [69, 75]
Generated Node #0,2,2: 71:[69, 75] Operation: 64+11=75
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 71:[69, 75], Operations: ['78-67=11', '64+11=75']
Exploring Operation: 75-69=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Exploring Operation: 69*75=5175, Resulting Numbers: [5175]
5175,71 unequal: No Solution
Exploring Operation: 69+75=144, Resulting Numbers: [144]
144,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:[64, 80], Operations: ['78-67=11', '69+11=80']
Exploring Operation: 64*80=5120, Resulting Numbers: [5120]
5120,71 unequal: No Solution
Exploring Operation: 64+80=144, Resulting Numbers: [144]
144,71 unequal: No Solution
Exploring Operation: 80-64=16, Resulting Numbers: [16]
16,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,0
Current State: 71:[64, 58], Operations: ['78-67=11', '69-11=58']
Exploring Operation: 64-58=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Exploring Operation: 64*58=3712, Resulting Numbers: [3712]
3712,71 unequal: No Solution
Exploring Operation: 64+58=122, Resulting Numbers: [122]
122,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 71:[78, 62], Operations: ['67+64=131', '131-69=62']
Exploring Operation: 78-62=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 78+62=140, Resulting Numbers: [140]
140,71 unequal: No Solution
Exploring Operation: 78*62=4836, Resulting Numbers: [4836]
4836,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[69, 53], Operations: ['67+64=131', '131-78=53']
Exploring Operation: 69*53=3657, Resulting Numbers: [3657]
3657,71 unequal: No Solution
Exploring Operation: 69+53=122, Resulting Numbers: [122]
122,71 unequal: No Solution
Exploring Operation: 69-53=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[131, 9], Operations: ['67+64=131', '78-69=9']
Exploring Operation: 131+9=140, Resulting Numbers: [140]
140,71 unequal: No Solution
Exploring Operation: 131*9=1179, Resulting Numbers: [1179]
1179,71 unequal: No Solution
Exploring Operation: 131-9=122, Resulting Numbers: [122]
122,71 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
23,
64,
2,
54
] | 93 | [
"64-23=41",
"54-2=52",
"41+52=93"
] | Current State: 93:[23, 64, 2, 54], Operations: []
Exploring Operation: 64-23=41, Resulting Numbers: [2, 54, 41]
Generated Node #2: [2, 54, 41] from Operation: 64-23=41
Current State: 93:[2, 54, 41], Operations: ['64-23=41']
Exploring Operation: 54-2=52, Resulting Numbers: [41, 52]
Generated Node #3: [41, 52] from Operation: 54-2=52
Current State: 93:[41, 52], Operations: ['64-23=41', '54-2=52']
Exploring Operation: 41+52=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[23, 64, 2, 54], Operations: []
Exploring Operation: 64/2=32, Resulting Numbers: [23, 54, 32]
Generated Node #0,0: 93:[23, 54, 32] Operation: 64/2=32
Exploring Operation: 64-54=10, Resulting Numbers: [23, 2, 10]
Generated Node #0,1: 93:[23, 2, 10] Operation: 64-54=10
Exploring Operation: 23+64=87, Resulting Numbers: [2, 54, 87]
Generated Node #0,2: 93:[2, 54, 87] Operation: 23+64=87
Exploring Operation: 54-23=31, Resulting Numbers: [64, 2, 31]
Generated Node #0,3: 93:[64, 2, 31] Operation: 54-23=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[23, 2, 10], Operations: ['64-54=10']
Exploring Operation: 23+10=33, Resulting Numbers: [2, 33]
Generated Node #0,1,0: 93:[2, 33] Operation: 23+10=33
Exploring Operation: 23+2=25, Resulting Numbers: [10, 25]
Generated Node #0,1,1: 93:[10, 25] Operation: 23+2=25
Exploring Operation: 10/2=5, Resulting Numbers: [23, 5]
Generated Node #0,1,2: 93:[23, 5] Operation: 10/2=5
Exploring Operation: 23-10=13, Resulting Numbers: [2, 13]
Generated Node #0,1,3: 93:[2, 13] Operation: 23-10=13
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 93:[2, 33], Operations: ['64-54=10', '23+10=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,93 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 93:[23, 5], Operations: ['64-54=10', '10/2=5']
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 93:[2, 13], Operations: ['64-54=10', '23-10=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,93 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 93:[10, 25], Operations: ['64-54=10', '23+2=25']
Exploring Operation: 10*25=250, Resulting Numbers: [250]
250,93 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[2, 54, 87], Operations: ['23+64=87']
Exploring Operation: 87-54=33, Resulting Numbers: [2, 33]
Generated Node #0,2,0: 93:[2, 33] Operation: 87-54=33
Exploring Operation: 2*54=108, Resulting Numbers: [87, 108]
Generated Node #0,2,1: 93:[87, 108] Operation: 2*54=108
Exploring Operation: 54/2=27, Resulting Numbers: [87, 27]
Generated Node #0,2,2: 93:[87, 27] Operation: 54/2=27
Exploring Operation: 54-2=52, Resulting Numbers: [87, 52]
Generated Node #0,2,3: 93:[87, 52] Operation: 54-2=52
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 93:[2, 33], Operations: ['23+64=87', '87-54=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,93 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 93:[87, 27], Operations: ['23+64=87', '54/2=27']
Exploring Operation: 87*27=2349, Resulting Numbers: [2349]
2349,93 unequal: No Solution
Exploring Operation: 87+27=114, Resulting Numbers: [114]
114,93 unequal: No Solution
Exploring Operation: 87-27=60, Resulting Numbers: [60]
60,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 93:[87, 108], Operations: ['23+64=87', '2*54=108']
Exploring Operation: 87+108=195, Resulting Numbers: [195]
195,93 unequal: No Solution
Exploring Operation: 87*108=9396, Resulting Numbers: [9396]
9396,93 unequal: No Solution
Exploring Operation: 108-87=21, Resulting Numbers: [21]
21,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 93:[87, 52], Operations: ['23+64=87', '54-2=52']
Exploring Operation: 87-52=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Exploring Operation: 87*52=4524, Resulting Numbers: [4524]
4524,93 unequal: No Solution
Exploring Operation: 87+52=139, Resulting Numbers: [139]
139,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 93:[64, 2, 31], Operations: ['54-23=31']
Exploring Operation: 64+31=95, Resulting Numbers: [2, 95]
Generated Node #0,3,0: 93:[2, 95] Operation: 64+31=95
Exploring Operation: 64+2=66, Resulting Numbers: [31, 66]
Generated Node #0,3,1: 93:[31, 66] Operation: 64+2=66
Exploring Operation: 64/2=32, Resulting Numbers: [31, 32]
Generated Node #0,3,2: 93:[31, 32] Operation: 64/2=32
Exploring Operation: 64-31=33, Resulting Numbers: [2, 33]
Generated Node #0,3,3: 93:[2, 33] Operation: 64-31=33
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 93:[31, 32], Operations: ['54-23=31', '64/2=32']
Exploring Operation: 31*32=992, Resulting Numbers: [992]
992,93 unequal: No Solution
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,93 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 93:[2, 95], Operations: ['54-23=31', '64+31=95']
Exploring Operation: 2+95=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[23, 64, 2, 54], Operations: []
Exploring Operation: 54-23=31, Resulting Numbers: [64, 2, 31]
Generated Node #0,3: 93:[64, 2, 31] Operation: 54-23=31
Moving to Node #0,3
Current State: 93:[64, 2, 31], Operations: ['54-23=31']
Exploring Operation: 64+31=95, Resulting Numbers: [2, 95]
Generated Node #0,3,0: 93:[2, 95] Operation: 64+31=95
Moving to Node #0,3,0
Current State: 93:[2, 95], Operations: ['54-23=31', '64+31=95']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.957465 | hs_4 | sum_heuristic |
[
93,
75,
54,
37
] | 34 | [
"93-75=18",
"54/18=3",
"37-3=34"
] | Current State: 34:[93, 75, 54, 37], Operations: []
Exploring Operation: 93-75=18, Resulting Numbers: [54, 37, 18]
Generated Node #2: [54, 37, 18] from Operation: 93-75=18
Current State: 34:[54, 37, 18], Operations: ['93-75=18']
Exploring Operation: 54/18=3, Resulting Numbers: [37, 3]
Generated Node #3: [37, 3] from Operation: 54/18=3
Current State: 34:[37, 3], Operations: ['93-75=18', '54/18=3']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[93, 75, 54, 37], Operations: []
Exploring Operation: 93-75=18, Resulting Numbers: [54, 37, 18]
Generated Node #0,0: 34:[54, 37, 18] Operation: 93-75=18
Moving to Node #0,0
Current State: 34:[54, 37, 18], Operations: ['93-75=18']
Exploring Operation: 54-37=17, Resulting Numbers: [18, 17]
Generated Node #0,0,0: 34:[18, 17] Operation: 54-37=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[18, 17], Operations: ['93-75=18', '54-37=17']
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
39,
51,
57
] | 21 | [
"51+57=108",
"108/6=18",
"39-18=21"
] | Current State: 21:[6, 39, 51, 57], Operations: []
Exploring Operation: 51+57=108, Resulting Numbers: [6, 39, 108]
Generated Node #2: [6, 39, 108] from Operation: 51+57=108
Current State: 21:[6, 39, 108], Operations: ['51+57=108']
Exploring Operation: 108/6=18, Resulting Numbers: [39, 18]
Generated Node #3: [39, 18] from Operation: 108/6=18
Current State: 21:[39, 18], Operations: ['51+57=108', '108/6=18']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[6, 39, 51, 57], Operations: []
Exploring Operation: 57-51=6, Resulting Numbers: [6, 39, 6]
Generated Node #0,0: 21:[6, 39, 6] Operation: 57-51=6
Exploring Operation: 57-39=18, Resulting Numbers: [6, 51, 18]
Generated Node #0,1: 21:[6, 51, 18] Operation: 57-39=18
Exploring Operation: 51-39=12, Resulting Numbers: [6, 57, 12]
Generated Node #0,2: 21:[6, 57, 12] Operation: 51-39=12
Moving to Node #0,0
Current State: 21:[6, 39, 6], Operations: ['57-51=6']
Exploring Operation: 39-6=33, Resulting Numbers: [6, 33]
Generated Node #0,0,0: 21:[6, 33] Operation: 39-6=33
Exploring Operation: 39-6=33, Resulting Numbers: [6, 33]
Generated Node #0,0,1: 21:[6, 33] Operation: 39-6=33
Exploring Operation: 6/6=1, Resulting Numbers: [39, 1]
Generated Node #0,0,2: 21:[39, 1] Operation: 6/6=1
Moving to Node #0,1
Current State: 21:[6, 51, 18], Operations: ['57-39=18']
Exploring Operation: 51-6=45, Resulting Numbers: [18, 45]
Generated Node #0,1,0: 21:[18, 45] Operation: 51-6=45
Exploring Operation: 51-18=33, Resulting Numbers: [6, 33]
Generated Node #0,1,1: 21:[6, 33] Operation: 51-18=33
Exploring Operation: 18/6=3, Resulting Numbers: [51, 3]
Generated Node #0,1,2: 21:[51, 3] Operation: 18/6=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 21:[6, 33], Operations: ['57-39=18', '51-18=33']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,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,1,0
Current State: 21:[18, 45], Operations: ['57-39=18', '51-6=45']
Exploring Operation: 18+45=63, Resulting Numbers: [63]
63,21 unequal: No Solution
Exploring Operation: 18*45=810, Resulting Numbers: [810]
810,21 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,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,1,2
Current State: 21:[51, 3], Operations: ['57-39=18', '18/6=3']
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,21 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,21 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: 21:[6, 57, 12], Operations: ['51-39=12']
Exploring Operation: 57-12=45, Resulting Numbers: [6, 45]
Generated Node #0,2,0: 21:[6, 45] Operation: 57-12=45
Exploring Operation: 12-6=6, Resulting Numbers: [57, 6]
Generated Node #0,2,1: 21:[57, 6] Operation: 12-6=6
Exploring Operation: 57-6=51, Resulting Numbers: [12, 51]
Generated Node #0,2,2: 21:[12, 51] Operation: 57-6=51
Moving to Node #0,0,0
Current State: 21:[6, 33], Operations: ['57-51=6', '39-6=33']
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,21 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[6, 33], Operations: ['57-51=6', '39-6=33']
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,21 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[39, 1], Operations: ['57-51=6', '6/6=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[6, 45], Operations: ['51-39=12', '57-12=45']
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,21 unequal: No Solution
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[12, 51], Operations: ['51-39=12', '57-6=51']
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Exploring Operation: 12*51=612, Resulting Numbers: [612]
612,21 unequal: No Solution
Exploring Operation: 12+51=63, Resulting Numbers: [63]
63,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[57, 6], Operations: ['51-39=12', '12-6=6']
Exploring Operation: 57*6=342, Resulting Numbers: [342]
342,21 unequal: No Solution
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,21 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,21 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
82,
88,
30,
53
] | 87 | [
"82+88=170",
"30+53=83",
"170-83=87"
] | Current State: 87:[82, 88, 30, 53], Operations: []
Exploring Operation: 82+88=170, Resulting Numbers: [30, 53, 170]
Generated Node #2: [30, 53, 170] from Operation: 82+88=170
Current State: 87:[30, 53, 170], Operations: ['82+88=170']
Exploring Operation: 30+53=83, Resulting Numbers: [170, 83]
Generated Node #3: [170, 83] from Operation: 30+53=83
Current State: 87:[170, 83], Operations: ['82+88=170', '30+53=83']
Exploring Operation: 170-83=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[82, 88, 30, 53], Operations: []
Exploring Operation: 88-53=35, Resulting Numbers: [82, 30, 35]
Generated Node #0,0: 87:[82, 30, 35] Operation: 88-53=35
Exploring Operation: 30+53=83, Resulting Numbers: [82, 88, 83]
Generated Node #0,1: 87:[82, 88, 83] Operation: 30+53=83
Exploring Operation: 82-53=29, Resulting Numbers: [88, 30, 29]
Generated Node #0,2: 87:[88, 30, 29] Operation: 82-53=29
Moving to Node #0,2
Current State: 87:[88, 30, 29], Operations: ['82-53=29']
Exploring Operation: 30-29=1, Resulting Numbers: [88, 1]
Generated Node #0,2,0: 87:[88, 1] Operation: 30-29=1
Exploring Operation: 88-30=58, Resulting Numbers: [29, 58]
Generated Node #0,2,1: 87:[29, 58] Operation: 88-30=58
Exploring Operation: 88-29=59, Resulting Numbers: [30, 59]
Generated Node #0,2,2: 87:[30, 59] Operation: 88-29=59
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[88, 1], Operations: ['82-53=29', '30-29=1']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[82, 88, 30, 53], Operations: []
Exploring Operation: 82-53=29, Resulting Numbers: [88, 30, 29]
Generated Node #0,2: 87:[88, 30, 29] Operation: 82-53=29
Moving to Node #0,2
Current State: 87:[88, 30, 29], Operations: ['82-53=29']
Exploring Operation: 30-29=1, Resulting Numbers: [88, 1]
Generated Node #0,2,0: 87:[88, 1] Operation: 30-29=1
Moving to Node #0,2,0
Current State: 87:[88, 1], Operations: ['82-53=29', '30-29=1']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
79,
40,
85,
74
] | 28 | [
"79-40=39",
"85-74=11",
"39-11=28"
] | Current State: 28:[79, 40, 85, 74], Operations: []
Exploring Operation: 79-40=39, Resulting Numbers: [85, 74, 39]
Generated Node #2: [85, 74, 39] from Operation: 79-40=39
Current State: 28:[85, 74, 39], Operations: ['79-40=39']
Exploring Operation: 85-74=11, Resulting Numbers: [39, 11]
Generated Node #3: [39, 11] from Operation: 85-74=11
Current State: 28:[39, 11], Operations: ['79-40=39', '85-74=11']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[79, 40, 85, 74], Operations: []
Exploring Operation: 85-79=6, Resulting Numbers: [40, 74, 6]
Generated Node #0,0: 28:[40, 74, 6] Operation: 85-79=6
Exploring Operation: 85-74=11, Resulting Numbers: [79, 40, 11]
Generated Node #0,1: 28:[79, 40, 11] Operation: 85-74=11
Moving to Node #0,0
Current State: 28:[40, 74, 6], Operations: ['85-79=6']
Exploring Operation: 40-6=34, Resulting Numbers: [74, 34]
Generated Node #0,0,0: 28:[74, 34] Operation: 40-6=34
Exploring Operation: 74-40=34, Resulting Numbers: [6, 34]
Generated Node #0,0,1: 28:[6, 34] Operation: 74-40=34
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[6, 34], Operations: ['85-79=6', '74-40=34']
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[79, 40, 85, 74], Operations: []
Exploring Operation: 85-79=6, Resulting Numbers: [40, 74, 6]
Generated Node #0,0: 28:[40, 74, 6] Operation: 85-79=6
Moving to Node #0,0
Current State: 28:[40, 74, 6], Operations: ['85-79=6']
Exploring Operation: 74-40=34, Resulting Numbers: [6, 34]
Generated Node #0,0,1: 28:[6, 34] Operation: 74-40=34
Moving to Node #0,0,1
Current State: 28:[6, 34], Operations: ['85-79=6', '74-40=34']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
26,
91,
2,
40
] | 15 | [
"91-26=65",
"2*40=80",
"80-65=15"
] | Current State: 15:[26, 91, 2, 40], Operations: []
Exploring Operation: 91-26=65, Resulting Numbers: [2, 40, 65]
Generated Node #2: [2, 40, 65] from Operation: 91-26=65
Current State: 15:[2, 40, 65], Operations: ['91-26=65']
Exploring Operation: 2*40=80, Resulting Numbers: [65, 80]
Generated Node #3: [65, 80] from Operation: 2*40=80
Current State: 15:[65, 80], Operations: ['91-26=65', '2*40=80']
Exploring Operation: 80-65=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[26, 91, 2, 40], Operations: []
Exploring Operation: 91-40=51, Resulting Numbers: [26, 2, 51]
Generated Node #0,0: 15:[26, 2, 51] Operation: 91-40=51
Moving to Node #0,0
Current State: 15:[26, 2, 51], Operations: ['91-40=51']
Exploring Operation: 51-26=25, Resulting Numbers: [2, 25]
Generated Node #0,0,0: 15:[2, 25] Operation: 51-26=25
Moving to Node #0,0,0
Current State: 15:[2, 25], Operations: ['91-40=51', '51-26=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,15 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
77,
89,
36,
36
] | 33 | [
"89-77=12",
"36/12=3",
"36-3=33"
] | Current State: 33:[77, 89, 36, 36], Operations: []
Exploring Operation: 89-77=12, Resulting Numbers: [36, 36, 12]
Generated Node #2: [36, 36, 12] from Operation: 89-77=12
Current State: 33:[36, 36, 12], Operations: ['89-77=12']
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,33 equal: Goal Reached
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[77, 89, 36, 36], Operations: []
Exploring Operation: 89-77=12, Resulting Numbers: [36, 36, 12]
Generated Node #0,0: 33:[36, 36, 12] Operation: 89-77=12
Exploring Operation: 77-36=41, Resulting Numbers: [89, 36, 41]
Generated Node #0,1: 33:[89, 36, 41] Operation: 77-36=41
Exploring Operation: 77-36=41, Resulting Numbers: [89, 36, 41]
Generated Node #0,2: 33:[89, 36, 41] Operation: 77-36=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[36, 36, 12], Operations: ['89-77=12']
Exploring Operation: 36/36=1, Resulting Numbers: [12, 1]
Generated Node #0,0,0: 33:[12, 1] Operation: 36/36=1
Exploring Operation: 36/12=3, Resulting Numbers: [36, 3]
Generated Node #0,0,1: 33:[36, 3] Operation: 36/12=3
Exploring Operation: 36/12=3, Resulting Numbers: [36, 3]
Generated Node #0,0,2: 33:[36, 3] Operation: 36/12=3
Moving to Node #0,0,0
Current State: 33:[12, 1], Operations: ['89-77=12', '36/36=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[36, 3], Operations: ['89-77=12', '36/12=3']
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[77, 89, 36, 36], Operations: []
Exploring Operation: 89-77=12, Resulting Numbers: [36, 36, 12]
Generated Node #0,0: 33:[36, 36, 12] Operation: 89-77=12
Moving to Node #0,0
Current State: 33:[36, 36, 12], Operations: ['89-77=12']
Exploring Operation: 36/12=3, Resulting Numbers: [36, 3]
Generated Node #0,0,1: 33:[36, 3] Operation: 36/12=3
Moving to Node #0,0,1
Current State: 33:[36, 3], Operations: ['89-77=12', '36/12=3']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
43,
9,
44,
52
] | 26 | [
"43-9=34",
"52-44=8",
"34-8=26"
] | Current State: 26:[43, 9, 44, 52], Operations: []
Exploring Operation: 43-9=34, Resulting Numbers: [44, 52, 34]
Generated Node #2: [44, 52, 34] from Operation: 43-9=34
Current State: 26:[44, 52, 34], Operations: ['43-9=34']
Exploring Operation: 52-44=8, Resulting Numbers: [34, 8]
Generated Node #3: [34, 8] from Operation: 52-44=8
Current State: 26:[34, 8], Operations: ['43-9=34', '52-44=8']
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[43, 9, 44, 52], Operations: []
Exploring Operation: 43-9=34, Resulting Numbers: [44, 52, 34]
Generated Node #0,0: 26:[44, 52, 34] Operation: 43-9=34
Exploring Operation: 52-43=9, Resulting Numbers: [9, 44, 9]
Generated Node #0,1: 26:[9, 44, 9] Operation: 52-43=9
Exploring Operation: 44-43=1, Resulting Numbers: [9, 52, 1]
Generated Node #0,2: 26:[9, 52, 1] Operation: 44-43=1
Exploring Operation: 52-44=8, Resulting Numbers: [43, 9, 8]
Generated Node #0,3: 26:[43, 9, 8] Operation: 52-44=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[9, 44, 9], Operations: ['52-43=9']
Exploring Operation: 9/9=1, Resulting Numbers: [44, 1]
Generated Node #0,1,0: 26:[44, 1] Operation: 9/9=1
Exploring Operation: 9-9=0, Resulting Numbers: [44, 0]
Generated Node #0,1,1: 26:[44, 0] Operation: 9-9=0
Exploring Operation: 44-9=35, Resulting Numbers: [9, 35]
Generated Node #0,1,2: 26:[9, 35] Operation: 44-9=35
Exploring Operation: 44-9=35, Resulting Numbers: [9, 35]
Generated Node #0,1,3: 26:[9, 35] Operation: 44-9=35
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 26:[9, 35], Operations: ['52-43=9', '44-9=35']
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,26 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[43, 9, 44, 52], Operations: []
Exploring Operation: 52-43=9, Resulting Numbers: [9, 44, 9]
Generated Node #0,1: 26:[9, 44, 9] Operation: 52-43=9
Moving to Node #0,1
Current State: 26:[9, 44, 9], Operations: ['52-43=9']
Exploring Operation: 44-9=35, Resulting Numbers: [9, 35]
Generated Node #0,1,2: 26:[9, 35] Operation: 44-9=35
Moving to Node #0,1,2
Current State: 26:[9, 35], Operations: ['52-43=9', '44-9=35']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
38,
81,
66,
92
] | 93 | [
"38+81=119",
"92-66=26",
"119-26=93"
] | Current State: 93:[38, 81, 66, 92], Operations: []
Exploring Operation: 38+81=119, Resulting Numbers: [66, 92, 119]
Generated Node #2: [66, 92, 119] from Operation: 38+81=119
Current State: 93:[66, 92, 119], Operations: ['38+81=119']
Exploring Operation: 92-66=26, Resulting Numbers: [119, 26]
Generated Node #3: [119, 26] from Operation: 92-66=26
Current State: 93:[119, 26], Operations: ['38+81=119', '92-66=26']
Exploring Operation: 119-26=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[38, 81, 66, 92], Operations: []
Exploring Operation: 66-38=28, Resulting Numbers: [81, 92, 28]
Generated Node #0,0: 93:[81, 92, 28] Operation: 66-38=28
Exploring Operation: 81-66=15, Resulting Numbers: [38, 92, 15]
Generated Node #0,1: 93:[38, 92, 15] Operation: 81-66=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[81, 92, 28], Operations: ['66-38=28']
Exploring Operation: 81+28=109, Resulting Numbers: [92, 109]
Generated Node #0,0,0: 93:[92, 109] Operation: 81+28=109
Exploring Operation: 92-81=11, Resulting Numbers: [28, 11]
Generated Node #0,0,1: 93:[28, 11] Operation: 92-81=11
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 93:[28, 11], Operations: ['66-38=28', '92-81=11']
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[92, 109], Operations: ['66-38=28', '81+28=109']
Exploring Operation: 109-92=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 92+109=201, Resulting Numbers: [201]
201,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[38, 92, 15], Operations: ['81-66=15']
Exploring Operation: 38-15=23, Resulting Numbers: [92, 23]
Generated Node #0,1,0: 93:[92, 23] Operation: 38-15=23
Exploring Operation: 92+15=107, Resulting Numbers: [38, 107]
Generated Node #0,1,1: 93:[38, 107] Operation: 92+15=107
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 93:[92, 23], Operations: ['81-66=15', '38-15=23']
Exploring Operation: 92+23=115, Resulting Numbers: [115]
115,93 unequal: No Solution
Exploring Operation: 92/23=4, Resulting Numbers: [4]
4,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 93:[38, 107], Operations: ['81-66=15', '92+15=107']
Exploring Operation: 107-38=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 38+107=145, Resulting Numbers: [145]
145,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
15,
52,
50,
75
] | 30 | [
"75-15=60",
"52-50=2",
"60/2=30"
] | Current State: 30:[15, 52, 50, 75], Operations: []
Exploring Operation: 75-15=60, Resulting Numbers: [52, 50, 60]
Generated Node #2: [52, 50, 60] from Operation: 75-15=60
Current State: 30:[52, 50, 60], Operations: ['75-15=60']
Exploring Operation: 52-50=2, Resulting Numbers: [60, 2]
Generated Node #3: [60, 2] from Operation: 52-50=2
Current State: 30:[60, 2], Operations: ['75-15=60', '52-50=2']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[15, 52, 50, 75], Operations: []
Exploring Operation: 75-52=23, Resulting Numbers: [15, 50, 23]
Generated Node #0,0: 30:[15, 50, 23] Operation: 75-52=23
Exploring Operation: 52-50=2, Resulting Numbers: [15, 75, 2]
Generated Node #0,1: 30:[15, 75, 2] Operation: 52-50=2
Exploring Operation: 75/15=5, Resulting Numbers: [52, 50, 5]
Generated Node #0,2: 30:[52, 50, 5] Operation: 75/15=5
Exploring Operation: 75-50=25, Resulting Numbers: [15, 52, 25]
Generated Node #0,3: 30:[15, 52, 25] Operation: 75-50=25
Moving to Node #0,0
Current State: 30:[15, 50, 23], Operations: ['75-52=23']
Exploring Operation: 50-23=27, Resulting Numbers: [15, 27]
Generated Node #0,0,0: 30:[15, 27] Operation: 50-23=27
Exploring Operation: 15+23=38, Resulting Numbers: [50, 38]
Generated Node #0,0,1: 30:[50, 38] Operation: 15+23=38
Exploring Operation: 50-15=35, Resulting Numbers: [23, 35]
Generated Node #0,0,2: 30:[23, 35] Operation: 50-15=35
Exploring Operation: 23-15=8, Resulting Numbers: [50, 8]
Generated Node #0,0,3: 30:[50, 8] Operation: 23-15=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[15, 27], Operations: ['75-52=23', '50-23=27']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,30 unequal: No Solution
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,30 unequal: No Solution
No 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: 30:[23, 35], Operations: ['75-52=23', '50-15=35']
Exploring Operation: 23+35=58, Resulting Numbers: [58]
58,30 unequal: No Solution
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 23*35=805, Resulting Numbers: [805]
805,30 unequal: No Solution
No 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: 30:[50, 8], Operations: ['75-52=23', '23-15=8']
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,30 unequal: No Solution
Exploring Operation: 50*8=400, Resulting Numbers: [400]
400,30 unequal: No Solution
Exploring Operation: 50+8=58, Resulting Numbers: [58]
58,30 unequal: No Solution
No 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: 30:[50, 38], Operations: ['75-52=23', '15+23=38']
Exploring Operation: 50+38=88, Resulting Numbers: [88]
88,30 unequal: No Solution
Exploring Operation: 50*38=1900, Resulting Numbers: [1900]
1900,30 unequal: No Solution
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,30 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: 30:[15, 52, 25], Operations: ['75-50=25']
Exploring Operation: 52-25=27, Resulting Numbers: [15, 27]
Generated Node #0,3,0: 30:[15, 27] Operation: 52-25=27
Exploring Operation: 25-15=10, Resulting Numbers: [52, 10]
Generated Node #0,3,1: 30:[52, 10] Operation: 25-15=10
Exploring Operation: 15+25=40, Resulting Numbers: [52, 40]
Generated Node #0,3,2: 30:[52, 40] Operation: 15+25=40
Exploring Operation: 52-15=37, Resulting Numbers: [25, 37]
Generated Node #0,3,3: 30:[25, 37] Operation: 52-15=37
Moving to Node #0,2
Current State: 30:[52, 50, 5], Operations: ['75/15=5']
Exploring Operation: 52-50=2, Resulting Numbers: [5, 2]
Generated Node #0,2,0: 30:[5, 2] Operation: 52-50=2
Exploring Operation: 52-5=47, Resulting Numbers: [50, 47]
Generated Node #0,2,1: 30:[50, 47] Operation: 52-5=47
Exploring Operation: 50-5=45, Resulting Numbers: [52, 45]
Generated Node #0,2,2: 30:[52, 45] Operation: 50-5=45
Exploring Operation: 50/5=10, Resulting Numbers: [52, 10]
Generated Node #0,2,3: 30:[52, 10] Operation: 50/5=10
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 30:[5, 2], Operations: ['75/15=5', '52-50=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,30 unequal: No Solution
No 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: 30:[52, 10], Operations: ['75/15=5', '50/5=10']
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,30 unequal: No Solution
Exploring Operation: 52*10=520, Resulting Numbers: [520]
520,30 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,30 unequal: No Solution
No 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: 30:[50, 47], Operations: ['75/15=5', '52-5=47']
Exploring Operation: 50+47=97, Resulting Numbers: [97]
97,30 unequal: No Solution
Exploring Operation: 50*47=2350, Resulting Numbers: [2350]
2350,30 unequal: No Solution
Exploring Operation: 50-47=3, Resulting Numbers: [3]
3,30 unequal: No Solution
No 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: 30:[52, 45], Operations: ['75/15=5', '50-5=45']
Exploring Operation: 52*45=2340, Resulting Numbers: [2340]
2340,30 unequal: No Solution
Exploring Operation: 52+45=97, Resulting Numbers: [97]
97,30 unequal: No Solution
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,30 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: 30:[15, 75, 2], Operations: ['52-50=2']
Exploring Operation: 15*2=30, Resulting Numbers: [75, 30]
Generated Node #0,1,0: 30:[75, 30] Operation: 15*2=30
Exploring Operation: 75-2=73, Resulting Numbers: [15, 73]
Generated Node #0,1,1: 30:[15, 73] Operation: 75-2=73
Exploring Operation: 75/15=5, Resulting Numbers: [2, 5]
Generated Node #0,1,2: 30:[2, 5] Operation: 75/15=5
Exploring Operation: 75-15=60, Resulting Numbers: [2, 60]
Generated Node #0,1,3: 30:[2, 60] Operation: 75-15=60
Moving to Node #0,1,2
Current State: 30:[2, 5], Operations: ['52-50=2', '75/15=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Moving to Node #0,3,0
Current State: 30:[15, 27], Operations: ['75-50=25', '52-25=27']
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,30 unequal: No Solution
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,30 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Moving to Node #0,3,3
Current State: 30:[25, 37], Operations: ['75-50=25', '52-15=37']
Exploring Operation: 25*37=925, Resulting Numbers: [925]
925,30 unequal: No Solution
Exploring Operation: 25+37=62, Resulting Numbers: [62]
62,30 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Moving to Node #0,3,1
Current State: 30:[52, 10], Operations: ['75-50=25', '25-15=10']
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,30 unequal: No Solution
Exploring Operation: 52*10=520, Resulting Numbers: [520]
520,30 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,30 unequal: No Solution
Moving to Node #0,1,3
Current State: 30:[2, 60], Operations: ['52-50=2', '75-15=60']
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,30 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[15, 52, 50, 75], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [15, 75, 2]
Generated Node #0,1: 30:[15, 75, 2] Operation: 52-50=2
Moving to Node #0,1
Current State: 30:[15, 75, 2], Operations: ['52-50=2']
Exploring Operation: 75-15=60, Resulting Numbers: [2, 60]
Generated Node #0,1,3: 30:[2, 60] Operation: 75-15=60
Moving to Node #0,1,3
Current State: 30:[2, 60], Operations: ['52-50=2', '75-15=60']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.946181 | hs_4 | sum_heuristic |
[
98,
79,
9,
35
] | 45 | [
"98-79=19",
"35-9=26",
"19+26=45"
] | Current State: 45:[98, 79, 9, 35], Operations: []
Exploring Operation: 98-79=19, Resulting Numbers: [9, 35, 19]
Generated Node #2: [9, 35, 19] from Operation: 98-79=19
Current State: 45:[9, 35, 19], Operations: ['98-79=19']
Exploring Operation: 35-9=26, Resulting Numbers: [19, 26]
Generated Node #3: [19, 26] from Operation: 35-9=26
Current State: 45:[19, 26], Operations: ['98-79=19', '35-9=26']
Exploring Operation: 19+26=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[98, 79, 9, 35], Operations: []
Exploring Operation: 98-79=19, Resulting Numbers: [9, 35, 19]
Generated Node #0,0: 45:[9, 35, 19] Operation: 98-79=19
Moving to Node #0,0
Current State: 45:[9, 35, 19], Operations: ['98-79=19']
Exploring Operation: 35-19=16, Resulting Numbers: [9, 16]
Generated Node #0,0,0: 45:[9, 16] Operation: 35-19=16
Moving to Node #0,0,0
Current State: 45:[9, 16], Operations: ['98-79=19', '35-19=16']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,45 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
57,
52,
99,
7
] | 97 | [
"57-52=5",
"99-7=92",
"5+92=97"
] | Current State: 97:[57, 52, 99, 7], Operations: []
Exploring Operation: 57-52=5, Resulting Numbers: [99, 7, 5]
Generated Node #2: [99, 7, 5] from Operation: 57-52=5
Current State: 97:[99, 7, 5], Operations: ['57-52=5']
Exploring Operation: 99-7=92, Resulting Numbers: [5, 92]
Generated Node #3: [5, 92] from Operation: 99-7=92
Current State: 97:[5, 92], Operations: ['57-52=5', '99-7=92']
Exploring Operation: 5+92=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[57, 52, 99, 7], Operations: []
Exploring Operation: 99-7=92, Resulting Numbers: [57, 52, 92]
Generated Node #0,0: 97:[57, 52, 92] Operation: 99-7=92
Exploring Operation: 57+7=64, Resulting Numbers: [52, 99, 64]
Generated Node #0,1: 97:[52, 99, 64] Operation: 57+7=64
Exploring Operation: 57-7=50, Resulting Numbers: [52, 99, 50]
Generated Node #0,2: 97:[52, 99, 50] Operation: 57-7=50
Exploring Operation: 52+7=59, Resulting Numbers: [57, 99, 59]
Generated Node #0,3: 97:[57, 99, 59] Operation: 52+7=59
Exploring Operation: 52-7=45, Resulting Numbers: [57, 99, 45]
Generated Node #0,4: 97:[57, 99, 45] Operation: 52-7=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[52, 99, 64], Operations: ['57+7=64']
Exploring Operation: 52+64=116, Resulting Numbers: [99, 116]
Generated Node #0,1,0: 97:[99, 116] Operation: 52+64=116
Exploring Operation: 99-64=35, Resulting Numbers: [52, 35]
Generated Node #0,1,1: 97:[52, 35] Operation: 99-64=35
Exploring Operation: 64-52=12, Resulting Numbers: [99, 12]
Generated Node #0,1,2: 97:[99, 12] Operation: 64-52=12
Exploring Operation: 52+99=151, Resulting Numbers: [64, 151]
Generated Node #0,1,3: 97:[64, 151] Operation: 52+99=151
Exploring Operation: 99-52=47, Resulting Numbers: [64, 47]
Generated Node #0,1,4: 97:[64, 47] Operation: 99-52=47
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[99, 116], Operations: ['57+7=64', '52+64=116']
Exploring Operation: 99+116=215, Resulting Numbers: [215]
215,97 unequal: No Solution
Exploring Operation: 116-99=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 99*116=11484, Resulting Numbers: [11484]
11484,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 97:[64, 47], Operations: ['57+7=64', '99-52=47']
Exploring Operation: 64*47=3008, Resulting Numbers: [3008]
3008,97 unequal: No Solution
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 64+47=111, Resulting Numbers: [111]
111,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 97:[99, 12], Operations: ['57+7=64', '64-52=12']
Exploring Operation: 99+12=111, Resulting Numbers: [111]
111,97 unequal: No Solution
Exploring Operation: 99-12=87, Resulting Numbers: [87]
87,97 unequal: No Solution
Exploring Operation: 99*12=1188, Resulting Numbers: [1188]
1188,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 97:[64, 151], Operations: ['57+7=64', '52+99=151']
Exploring Operation: 64+151=215, Resulting Numbers: [215]
215,97 unequal: No Solution
Exploring Operation: 64*151=9664, Resulting Numbers: [9664]
9664,97 unequal: No Solution
Exploring Operation: 151-64=87, Resulting Numbers: [87]
87,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[52, 35], Operations: ['57+7=64', '99-64=35']
Exploring Operation: 52+35=87, Resulting Numbers: [87]
87,97 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 52*35=1820, Resulting Numbers: [1820]
1820,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 97:[57, 99, 59], Operations: ['52+7=59']
Exploring Operation: 59-57=2, Resulting Numbers: [99, 2]
Generated Node #0,3,0: 97:[99, 2] Operation: 59-57=2
Exploring Operation: 57+99=156, Resulting Numbers: [59, 156]
Generated Node #0,3,1: 97:[59, 156] Operation: 57+99=156
Exploring Operation: 99-59=40, Resulting Numbers: [57, 40]
Generated Node #0,3,2: 97:[57, 40] Operation: 99-59=40
Exploring Operation: 57+59=116, Resulting Numbers: [99, 116]
Generated Node #0,3,3: 97:[99, 116] Operation: 57+59=116
Exploring Operation: 99-57=42, Resulting Numbers: [59, 42]
Generated Node #0,3,4: 97:[59, 42] Operation: 99-57=42
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 97:[99, 116], Operations: ['52+7=59', '57+59=116']
Exploring Operation: 99+116=215, Resulting Numbers: [215]
215,97 unequal: No Solution
Exploring Operation: 99*116=11484, Resulting Numbers: [11484]
11484,97 unequal: No Solution
Exploring Operation: 116-99=17, Resulting Numbers: [17]
17,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:[59, 42], Operations: ['52+7=59', '99-57=42']
Exploring Operation: 59+42=101, Resulting Numbers: [101]
101,97 unequal: No Solution
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 59*42=2478, Resulting Numbers: [2478]
2478,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:[99, 2], Operations: ['52+7=59', '59-57=2']
Exploring Operation: 99+2=101, Resulting Numbers: [101]
101,97 unequal: No Solution
Exploring Operation: 99*2=198, Resulting Numbers: [198]
198,97 unequal: No Solution
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[57, 52, 99, 7], Operations: []
Exploring Operation: 52+7=59, Resulting Numbers: [57, 99, 59]
Generated Node #0,3: 97:[57, 99, 59] Operation: 52+7=59
Moving to Node #0,3
Current State: 97:[57, 99, 59], Operations: ['52+7=59']
Exploring Operation: 59-57=2, Resulting Numbers: [99, 2]
Generated Node #0,3,0: 97:[99, 2] Operation: 59-57=2
Moving to Node #0,3,0
Current State: 97:[99, 2], Operations: ['52+7=59', '59-57=2']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.962674 | hs_5 | mult_heuristic |
[
22,
9,
45,
17
] | 15 | [
"22-9=13",
"45-17=28",
"28-13=15"
] | Current State: 15:[22, 9, 45, 17], Operations: []
Exploring Operation: 22-9=13, Resulting Numbers: [45, 17, 13]
Generated Node #2: [45, 17, 13] from Operation: 22-9=13
Current State: 15:[45, 17, 13], Operations: ['22-9=13']
Exploring Operation: 45-17=28, Resulting Numbers: [13, 28]
Generated Node #3: [13, 28] from Operation: 45-17=28
Current State: 15:[13, 28], Operations: ['22-9=13', '45-17=28']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[22, 9, 45, 17], Operations: []
Exploring Operation: 45/9=5, Resulting Numbers: [22, 17, 5]
Generated Node #0,0: 15:[22, 17, 5] Operation: 45/9=5
Exploring Operation: 45-22=23, Resulting Numbers: [9, 17, 23]
Generated Node #0,1: 15:[9, 17, 23] Operation: 45-22=23
Moving to Node #0,0
Current State: 15:[22, 17, 5], Operations: ['45/9=5']
Exploring Operation: 22-5=17, Resulting Numbers: [17, 17]
Generated Node #0,0,0: 15:[17, 17] Operation: 22-5=17
Exploring Operation: 22-17=5, Resulting Numbers: [5, 5]
Generated Node #0,0,1: 15:[5, 5] Operation: 22-17=5
Moving to Node #0,1
Current State: 15:[9, 17, 23], Operations: ['45-22=23']
Exploring Operation: 23-17=6, Resulting Numbers: [9, 6]
Generated Node #0,1,0: 15:[9, 6] Operation: 23-17=6
Exploring Operation: 23-9=14, Resulting Numbers: [17, 14]
Generated Node #0,1,1: 15:[17, 14] Operation: 23-9=14
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 15:[17, 14], Operations: ['45-22=23', '23-9=14']
Exploring Operation: 17+14=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 15:[9, 6], Operations: ['45-22=23', '23-17=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[22, 9, 45, 17], Operations: []
Exploring Operation: 45-22=23, Resulting Numbers: [9, 17, 23]
Generated Node #0,1: 15:[9, 17, 23] Operation: 45-22=23
Moving to Node #0,1
Current State: 15:[9, 17, 23], Operations: ['45-22=23']
Exploring Operation: 23-17=6, Resulting Numbers: [9, 6]
Generated Node #0,1,0: 15:[9, 6] Operation: 23-17=6
Moving to Node #0,1,0
Current State: 15:[9, 6], Operations: ['45-22=23', '23-17=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_2 | mult_heuristic |
[
84,
79,
42,
84
] | 74 | [
"84*79=6636",
"6636/42=158",
"158-84=74"
] | Current State: 74:[84, 79, 42, 84], Operations: []
Exploring Operation: 84*79=6636, Resulting Numbers: [42, 6636]
Generated Node #2: [42, 6636] from Operation: 84*79=6636
Current State: 74:[42, 6636], Operations: ['84*79=6636']
Exploring Operation: 6636/42=158, Resulting Numbers: [158]
158,74 equal: Goal Reached
Exploring Operation: 158-84=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[84, 79, 42, 84], Operations: []
Exploring Operation: 84/84=1, Resulting Numbers: [79, 42, 1]
Generated Node #0,0: 74:[79, 42, 1] Operation: 84/84=1
Exploring Operation: 84-79=5, Resulting Numbers: [42, 84, 5]
Generated Node #0,1: 74:[42, 84, 5] Operation: 84-79=5
Exploring Operation: 84/42=2, Resulting Numbers: [84, 79, 2]
Generated Node #0,2: 74:[84, 79, 2] Operation: 84/42=2
Exploring Operation: 84-84=0, Resulting Numbers: [79, 42, 0]
Generated Node #0,3: 74:[79, 42, 0] Operation: 84-84=0
Exploring Operation: 84/42=2, Resulting Numbers: [79, 84, 2]
Generated Node #0,4: 74:[79, 84, 2] Operation: 84/42=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[79, 42, 1], Operations: ['84/84=1']
Exploring Operation: 42-1=41, Resulting Numbers: [79, 41]
Generated Node #0,0,0: 74:[79, 41] Operation: 42-1=41
Exploring Operation: 79-42=37, Resulting Numbers: [1, 37]
Generated Node #0,0,1: 74:[1, 37] Operation: 79-42=37
Exploring Operation: 79-1=78, Resulting Numbers: [42, 78]
Generated Node #0,0,2: 74:[42, 78] Operation: 79-1=78
Exploring Operation: 79*1=79, Resulting Numbers: [42, 79]
Generated Node #0,0,3: 74:[42, 79] Operation: 79*1=79
Exploring Operation: 79/1=79, Resulting Numbers: [42, 79]
Generated Node #0,0,4: 74:[42, 79] Operation: 79/1=79
Moving to Node #0,0,1
Current State: 74:[1, 37], Operations: ['84/84=1', '79-42=37']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[42, 78], Operations: ['84/84=1', '79-1=78']
Exploring Operation: 42*78=3276, Resulting Numbers: [3276]
3276,74 unequal: No Solution
Exploring Operation: 78-42=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 42+78=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[79, 41], Operations: ['84/84=1', '42-1=41']
Exploring Operation: 79+41=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 79*41=3239, Resulting Numbers: [3239]
3239,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[42, 79], Operations: ['84/84=1', '79*1=79']
Exploring Operation: 42*79=3318, Resulting Numbers: [3318]
3318,74 unequal: No Solution
Exploring Operation: 42+79=121, Resulting Numbers: [121]
121,74 unequal: No Solution
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Moving to Node #0,0,4
Current State: 74:[42, 79], Operations: ['84/84=1', '79/1=79']
Exploring Operation: 42+79=121, Resulting Numbers: [121]
121,74 unequal: No Solution
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 42*79=3318, Resulting Numbers: [3318]
3318,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:[79, 42, 0], Operations: ['84-84=0']
Exploring Operation: 79+0=79, Resulting Numbers: [42, 79]
Generated Node #0,3,0: 74:[42, 79] Operation: 79+0=79
Exploring Operation: 79-42=37, Resulting Numbers: [0, 37]
Generated Node #0,3,1: 74:[0, 37] Operation: 79-42=37
Exploring Operation: 79*0=0, Resulting Numbers: [42, 0]
Generated Node #0,3,2: 74:[42, 0] Operation: 79*0=0
Exploring Operation: 42*0=0, Resulting Numbers: [79, 0]
Generated Node #0,3,3: 74:[79, 0] Operation: 42*0=0
Exploring Operation: 79-0=79, Resulting Numbers: [42, 79]
Generated Node #0,3,4: 74:[42, 79] Operation: 79-0=79
Moving to Node #0,3,1
Current State: 74:[0, 37], Operations: ['84-84=0', '79-42=37']
Exploring Operation: 37-0=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 0+37=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 0*37=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[79, 0], Operations: ['84-84=0', '42*0=0']
Exploring Operation: 79-0=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 79*0=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 79+0=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[42, 0], Operations: ['84-84=0', '79*0=0']
Exploring Operation: 42*0=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 42+0=42, Resulting Numbers: [42]
42,74 unequal: No Solution
Exploring Operation: 42-0=42, Resulting Numbers: [42]
42,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[42, 79], Operations: ['84-84=0', '79+0=79']
Exploring Operation: 42+79=121, Resulting Numbers: [121]
121,74 unequal: No Solution
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 42*79=3318, Resulting Numbers: [3318]
3318,74 unequal: No Solution
Moving to Node #0,3,4
Current State: 74:[42, 79], Operations: ['84-84=0', '79-0=79']
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 42+79=121, Resulting Numbers: [121]
121,74 unequal: No Solution
Exploring Operation: 42*79=3318, Resulting Numbers: [3318]
3318,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[84, 79, 2], Operations: ['84/42=2']
Exploring Operation: 84-2=82, Resulting Numbers: [79, 82]
Generated Node #0,2,0: 74:[79, 82] Operation: 84-2=82
Exploring Operation: 84+2=86, Resulting Numbers: [79, 86]
Generated Node #0,2,1: 74:[79, 86] Operation: 84+2=86
Exploring Operation: 84-79=5, Resulting Numbers: [2, 5]
Generated Node #0,2,2: 74:[2, 5] Operation: 84-79=5
Exploring Operation: 84/2=42, Resulting Numbers: [79, 42]
Generated Node #0,2,3: 74:[79, 42] Operation: 84/2=42
Exploring Operation: 79-2=77, Resulting Numbers: [84, 77]
Generated Node #0,2,4: 74:[84, 77] Operation: 79-2=77
Moving to Node #0,2,2
Current State: 74:[2, 5], Operations: ['84/42=2', '84-79=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Moving to Node #0,2,3
Current State: 74:[79, 42], Operations: ['84/42=2', '84/2=42']
Exploring Operation: 79*42=3318, Resulting Numbers: [3318]
3318,74 unequal: No Solution
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 79+42=121, Resulting Numbers: [121]
121,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[79, 82], Operations: ['84/42=2', '84-2=82']
Exploring Operation: 79+82=161, Resulting Numbers: [161]
161,74 unequal: No Solution
Exploring Operation: 82-79=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 79*82=6478, Resulting Numbers: [6478]
6478,74 unequal: No Solution
Moving to Node #0,2,4
Current State: 74:[84, 77], Operations: ['84/42=2', '79-2=77']
Exploring Operation: 84-77=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 84*77=6468, Resulting Numbers: [6468]
6468,74 unequal: No Solution
Exploring Operation: 84+77=161, Resulting Numbers: [161]
161,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[79, 86], Operations: ['84/42=2', '84+2=86']
Exploring Operation: 79*86=6794, Resulting Numbers: [6794]
6794,74 unequal: No Solution
Exploring Operation: 86-79=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 79+86=165, Resulting Numbers: [165]
165,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,4
Current State: 74:[79, 84, 2], Operations: ['84/42=2']
Exploring Operation: 79+2=81, Resulting Numbers: [84, 81]
Generated Node #0,4,0: 74:[84, 81] Operation: 79+2=81
Exploring Operation: 84-79=5, Resulting Numbers: [2, 5]
Generated Node #0,4,1: 74:[2, 5] Operation: 84-79=5
Exploring Operation: 79-2=77, Resulting Numbers: [84, 77]
Generated Node #0,4,2: 74:[84, 77] Operation: 79-2=77
Exploring Operation: 84/2=42, Resulting Numbers: [79, 42]
Generated Node #0,4,3: 74:[79, 42] Operation: 84/2=42
Exploring Operation: 84-2=82, Resulting Numbers: [79, 82]
Generated Node #0,4,4: 74:[79, 82] Operation: 84-2=82
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 74:[2, 5], Operations: ['84/42=2', '84-79=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,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:[79, 42], Operations: ['84/42=2', '84/2=42']
Exploring Operation: 79*42=3318, Resulting Numbers: [3318]
3318,74 unequal: No Solution
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 79+42=121, Resulting Numbers: [121]
121,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:[84, 77], Operations: ['84/42=2', '79-2=77']
Exploring Operation: 84*77=6468, Resulting Numbers: [6468]
6468,74 unequal: No Solution
Exploring Operation: 84-77=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 84+77=161, Resulting Numbers: [161]
161,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:[79, 82], Operations: ['84/42=2', '84-2=82']
Exploring Operation: 79*82=6478, Resulting Numbers: [6478]
6478,74 unequal: No Solution
Exploring Operation: 82-79=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 79+82=161, Resulting Numbers: [161]
161,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:[84, 81], Operations: ['84/42=2', '79+2=81']
Exploring Operation: 84+81=165, Resulting Numbers: [165]
165,74 unequal: No Solution
Exploring Operation: 84-81=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 84*81=6804, Resulting Numbers: [6804]
6804,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,1
Current State: 74:[42, 84, 5], Operations: ['84-79=5']
Exploring Operation: 42+5=47, Resulting Numbers: [84, 47]
Generated Node #0,1,0: 74:[84, 47] Operation: 42+5=47
Exploring Operation: 84-42=42, Resulting Numbers: [5, 42]
Generated Node #0,1,1: 74:[5, 42] Operation: 84-42=42
Exploring Operation: 42-5=37, Resulting Numbers: [84, 37]
Generated Node #0,1,2: 74:[84, 37] Operation: 42-5=37
Exploring Operation: 84-5=79, Resulting Numbers: [42, 79]
Generated Node #0,1,3: 74:[42, 79] Operation: 84-5=79
Exploring Operation: 84/42=2, Resulting Numbers: [5, 2]
Generated Node #0,1,4: 74:[5, 2] Operation: 84/42=2
Moving to Node #0,1,4
Current State: 74:[5, 2], Operations: ['84-79=5', '84/42=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[5, 42], Operations: ['84-79=5', '84-42=42']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 5*42=210, Resulting Numbers: [210]
210,74 unequal: No Solution
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[84, 37], Operations: ['84-79=5', '42-5=37']
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,74 unequal: No Solution
Exploring Operation: 84+37=121, Resulting Numbers: [121]
121,74 unequal: No Solution
Exploring Operation: 84*37=3108, Resulting Numbers: [3108]
3108,74 unequal: No Solution
Moving to Node #0,1,3
Current State: 74:[42, 79], Operations: ['84-79=5', '84-5=79']
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 42+79=121, Resulting Numbers: [121]
121,74 unequal: No Solution
Exploring Operation: 42*79=3318, Resulting Numbers: [3318]
3318,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[84, 47], Operations: ['84-79=5', '42+5=47']
Exploring Operation: 84+47=131, Resulting Numbers: [131]
131,74 unequal: No Solution
Exploring Operation: 84-47=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 84*47=3948, Resulting Numbers: [3948]
3948,74 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 |
[
43,
72,
28,
25
] | 39 | [
"72+28=100",
"100/25=4",
"43-4=39"
] | Current State: 39:[43, 72, 28, 25], Operations: []
Exploring Operation: 72+28=100, Resulting Numbers: [43, 25, 100]
Generated Node #2: [43, 25, 100] from Operation: 72+28=100
Current State: 39:[43, 25, 100], Operations: ['72+28=100']
Exploring Operation: 100/25=4, Resulting Numbers: [43, 4]
Generated Node #3: [43, 4] from Operation: 100/25=4
Current State: 39:[43, 4], Operations: ['72+28=100', '100/25=4']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[43, 72, 28, 25], Operations: []
Exploring Operation: 72-25=47, Resulting Numbers: [43, 28, 47]
Generated Node #0,0: 39:[43, 28, 47] Operation: 72-25=47
Exploring Operation: 72-28=44, Resulting Numbers: [43, 25, 44]
Generated Node #0,1: 39:[43, 25, 44] Operation: 72-28=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[43, 25, 44], Operations: ['72-28=44']
Exploring Operation: 43-25=18, Resulting Numbers: [44, 18]
Generated Node #0,1,0: 39:[44, 18] Operation: 43-25=18
Exploring Operation: 44-25=19, Resulting Numbers: [43, 19]
Generated Node #0,1,1: 39:[43, 19] Operation: 44-25=19
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[44, 18], Operations: ['72-28=44', '43-25=18']
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 44+18=62, Resulting Numbers: [62]
62,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,1,1
Current State: 39:[43, 19], Operations: ['72-28=44', '44-25=19']
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[43, 28, 47], Operations: ['72-25=47']
Exploring Operation: 47-28=19, Resulting Numbers: [43, 19]
Generated Node #0,0,0: 39:[43, 19] Operation: 47-28=19
Exploring Operation: 43-28=15, Resulting Numbers: [47, 15]
Generated Node #0,0,1: 39:[47, 15] Operation: 43-28=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[43, 19], Operations: ['72-25=47', '47-28=19']
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,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:[47, 15], Operations: ['72-25=47', '43-28=15']
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 47+15=62, Resulting Numbers: [62]
62,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_2 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.