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 |
|---|---|---|---|---|---|---|---|---|
[
85,
2,
32,
5
] | 96 | [
"85-32=53",
"53-5=48",
"2*48=96"
] | Current State: 96:[85, 2, 32, 5], Operations: []
Exploring Operation: 85-32=53, Resulting Numbers: [2, 5, 53]
Generated Node #2: [2, 5, 53] from Operation: 85-32=53
Current State: 96:[2, 5, 53], Operations: ['85-32=53']
Exploring Operation: 53-5=48, Resulting Numbers: [2, 48]
Generated Node #3: [2, 48] from Operation: 53-5=48
Current State: 96:[2, 48], Operations: ['85-32=53', '53-5=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[85, 2, 32, 5], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [2, 32, 17]
Generated Node #0,0: 96:[2, 32, 17] Operation: 85/5=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[2, 32, 17], Operations: ['85/5=17']
Exploring Operation: 32/2=16, Resulting Numbers: [17, 16]
Generated Node #0,0,0: 96:[17, 16] Operation: 32/2=16
Moving to Node #0,0,0
Current State: 96:[17, 16], Operations: ['85/5=17', '32/2=16']
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,96 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 |
[
40,
38,
58,
11
] | 22 | [
"40*11=440",
"58-38=20",
"440/20=22"
] | Current State: 22:[40, 38, 58, 11], Operations: []
Exploring Operation: 40*11=440, Resulting Numbers: [38, 58, 440]
Generated Node #2: [38, 58, 440] from Operation: 40*11=440
Current State: 22:[38, 58, 440], Operations: ['40*11=440']
Exploring Operation: 58-38=20, Resulting Numbers: [440, 20]
Generated Node #3: [440, 20] from Operation: 58-38=20
Current State: 22:[440, 20], Operations: ['40*11=440', '58-38=20']
Exploring Operation: 440/20=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[40, 38, 58, 11], Operations: []
Exploring Operation: 40-38=2, Resulting Numbers: [58, 11, 2]
Generated Node #0,0: 22:[58, 11, 2] Operation: 40-38=2
Exploring Operation: 58-40=18, Resulting Numbers: [38, 11, 18]
Generated Node #0,1: 22:[38, 11, 18] Operation: 58-40=18
Exploring Operation: 58-38=20, Resulting Numbers: [40, 11, 20]
Generated Node #0,2: 22:[40, 11, 20] Operation: 58-38=20
Moving to Node #0,1
Current State: 22:[38, 11, 18], Operations: ['58-40=18']
Exploring Operation: 38-18=20, Resulting Numbers: [11, 20]
Generated Node #0,1,0: 22:[11, 20] Operation: 38-18=20
Exploring Operation: 18-11=7, Resulting Numbers: [38, 7]
Generated Node #0,1,1: 22:[38, 7] Operation: 18-11=7
Exploring Operation: 38-11=27, Resulting Numbers: [18, 27]
Generated Node #0,1,2: 22:[18, 27] Operation: 38-11=27
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[11, 20], Operations: ['58-40=18', '38-18=20']
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,22 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,22 unequal: No Solution
No solution 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: 22:[18, 27], Operations: ['58-40=18', '38-11=27']
Exploring Operation: 18*27=486, Resulting Numbers: [486]
486,22 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,22 unequal: No Solution
No solution 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: 22:[38, 7], Operations: ['58-40=18', '18-11=7']
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,22 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,22 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: 22:[40, 11, 20], Operations: ['58-38=20']
Exploring Operation: 40-20=20, Resulting Numbers: [11, 20]
Generated Node #0,2,0: 22:[11, 20] Operation: 40-20=20
Exploring Operation: 40-11=29, Resulting Numbers: [20, 29]
Generated Node #0,2,1: 22:[20, 29] Operation: 40-11=29
Exploring Operation: 40/20=2, Resulting Numbers: [11, 2]
Generated Node #0,2,2: 22:[11, 2] Operation: 40/20=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 22:[11, 2], Operations: ['58-38=20', '40/20=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[40, 38, 58, 11], Operations: []
Exploring Operation: 58-38=20, Resulting Numbers: [40, 11, 20]
Generated Node #0,2: 22:[40, 11, 20] Operation: 58-38=20
Moving to Node #0,2
Current State: 22:[40, 11, 20], Operations: ['58-38=20']
Exploring Operation: 40/20=2, Resulting Numbers: [11, 2]
Generated Node #0,2,2: 22:[11, 2] Operation: 40/20=2
Moving to Node #0,2,2
Current State: 22:[11, 2], Operations: ['58-38=20', '40/20=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
27,
53,
55,
58
] | 83 | [
"27+53=80",
"58-55=3",
"80+3=83"
] | Current State: 83:[27, 53, 55, 58], Operations: []
Exploring Operation: 27+53=80, Resulting Numbers: [55, 58, 80]
Generated Node #2: [55, 58, 80] from Operation: 27+53=80
Current State: 83:[55, 58, 80], Operations: ['27+53=80']
Exploring Operation: 58-55=3, Resulting Numbers: [80, 3]
Generated Node #3: [80, 3] from Operation: 58-55=3
Current State: 83:[80, 3], Operations: ['27+53=80', '58-55=3']
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[27, 53, 55, 58], Operations: []
Exploring Operation: 27+53=80, Resulting Numbers: [55, 58, 80]
Generated Node #0,0: 83:[55, 58, 80] Operation: 27+53=80
Exploring Operation: 27+55=82, Resulting Numbers: [53, 58, 82]
Generated Node #0,1: 83:[53, 58, 82] Operation: 27+55=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[55, 58, 80], Operations: ['27+53=80']
Exploring Operation: 55+58=113, Resulting Numbers: [80, 113]
Generated Node #0,0,0: 83:[80, 113] Operation: 55+58=113
Exploring Operation: 55+80=135, Resulting Numbers: [58, 135]
Generated Node #0,0,1: 83:[58, 135] Operation: 55+80=135
Moving to Node #0,0,0
Current State: 83:[80, 113], Operations: ['27+53=80', '55+58=113']
Exploring Operation: 80+113=193, Resulting Numbers: [193]
193,83 unequal: No Solution
Exploring Operation: 113-80=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[58, 135], Operations: ['27+53=80', '55+80=135']
Exploring Operation: 58+135=193, Resulting Numbers: [193]
193,83 unequal: No Solution
Exploring Operation: 135-58=77, Resulting Numbers: [77]
77,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[53, 58, 82], Operations: ['27+55=82']
Exploring Operation: 53+58=111, Resulting Numbers: [82, 111]
Generated Node #0,1,0: 83:[82, 111] Operation: 53+58=111
Exploring Operation: 53+82=135, Resulting Numbers: [58, 135]
Generated Node #0,1,1: 83:[58, 135] Operation: 53+82=135
Moving to Node #0,1,0
Current State: 83:[82, 111], Operations: ['27+55=82', '53+58=111']
Exploring Operation: 111-82=29, Resulting Numbers: [29]
29,83 unequal: No Solution
Exploring Operation: 82+111=193, Resulting Numbers: [193]
193,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[58, 135], Operations: ['27+55=82', '53+82=135']
Exploring Operation: 58+135=193, Resulting Numbers: [193]
193,83 unequal: No Solution
Exploring Operation: 135-58=77, Resulting Numbers: [77]
77,83 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 |
[
86,
76,
45,
19
] | 37 | [
"86-45=41",
"76/19=4",
"41-4=37"
] | Current State: 37:[86, 76, 45, 19], Operations: []
Exploring Operation: 86-45=41, Resulting Numbers: [76, 19, 41]
Generated Node #2: [76, 19, 41] from Operation: 86-45=41
Current State: 37:[76, 19, 41], Operations: ['86-45=41']
Exploring Operation: 76/19=4, Resulting Numbers: [41, 4]
Generated Node #3: [41, 4] from Operation: 76/19=4
Current State: 37:[41, 4], Operations: ['86-45=41', '76/19=4']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[86, 76, 45, 19], Operations: []
Exploring Operation: 86-76=10, Resulting Numbers: [45, 19, 10]
Generated Node #0,0: 37:[45, 19, 10] Operation: 86-76=10
Exploring Operation: 86-19=67, Resulting Numbers: [76, 45, 67]
Generated Node #0,1: 37:[76, 45, 67] Operation: 86-19=67
Exploring Operation: 76-45=31, Resulting Numbers: [86, 19, 31]
Generated Node #0,2: 37:[86, 19, 31] Operation: 76-45=31
Exploring Operation: 86-45=41, Resulting Numbers: [76, 19, 41]
Generated Node #0,3: 37:[76, 19, 41] Operation: 86-45=41
Moving to Node #0,0
Current State: 37:[45, 19, 10], Operations: ['86-76=10']
Exploring Operation: 19-10=9, Resulting Numbers: [45, 9]
Generated Node #0,0,0: 37:[45, 9] Operation: 19-10=9
Exploring Operation: 19+10=29, Resulting Numbers: [45, 29]
Generated Node #0,0,1: 37:[45, 29] Operation: 19+10=29
Exploring Operation: 45+10=55, Resulting Numbers: [19, 55]
Generated Node #0,0,2: 37:[19, 55] Operation: 45+10=55
Exploring Operation: 45-10=35, Resulting Numbers: [19, 35]
Generated Node #0,0,3: 37:[19, 35] Operation: 45-10=35
Moving to Node #0,3
Current State: 37:[76, 19, 41], Operations: ['86-45=41']
Exploring Operation: 41-19=22, Resulting Numbers: [76, 22]
Generated Node #0,3,0: 37:[76, 22] Operation: 41-19=22
Exploring Operation: 76-41=35, Resulting Numbers: [19, 35]
Generated Node #0,3,1: 37:[19, 35] Operation: 76-41=35
Exploring Operation: 76-19=57, Resulting Numbers: [41, 57]
Generated Node #0,3,2: 37:[41, 57] Operation: 76-19=57
Exploring Operation: 76/19=4, Resulting Numbers: [41, 4]
Generated Node #0,3,3: 37:[41, 4] Operation: 76/19=4
Moving to Node #0,2
Current State: 37:[86, 19, 31], Operations: ['76-45=31']
Exploring Operation: 86-19=67, Resulting Numbers: [31, 67]
Generated Node #0,2,0: 37:[31, 67] Operation: 86-19=67
Exploring Operation: 86-31=55, Resulting Numbers: [19, 55]
Generated Node #0,2,1: 37:[19, 55] Operation: 86-31=55
Exploring Operation: 19+31=50, Resulting Numbers: [86, 50]
Generated Node #0,2,2: 37:[86, 50] Operation: 19+31=50
Exploring Operation: 86+19=105, Resulting Numbers: [31, 105]
Generated Node #0,2,3: 37:[31, 105] Operation: 86+19=105
Moving to Node #0,1
Current State: 37:[76, 45, 67], Operations: ['86-19=67']
Exploring Operation: 67-45=22, Resulting Numbers: [76, 22]
Generated Node #0,1,0: 37:[76, 22] Operation: 67-45=22
Exploring Operation: 76-45=31, Resulting Numbers: [67, 31]
Generated Node #0,1,1: 37:[67, 31] Operation: 76-45=31
Exploring Operation: 76+45=121, Resulting Numbers: [67, 121]
Generated Node #0,1,2: 37:[67, 121] Operation: 76+45=121
Exploring Operation: 76-67=9, Resulting Numbers: [45, 9]
Generated Node #0,1,3: 37:[45, 9] Operation: 76-67=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 37:[67, 31], Operations: ['86-19=67', '76-45=31']
Exploring Operation: 67*31=2077, Resulting Numbers: [2077]
2077,37 unequal: No Solution
Exploring Operation: 67+31=98, Resulting Numbers: [98]
98,37 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,37 unequal: No Solution
No solution 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: 37:[45, 9], Operations: ['86-19=67', '76-67=9']
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,37 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,37 unequal: No Solution
No solution 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: 37:[76, 22], Operations: ['86-19=67', '67-45=22']
Exploring Operation: 76*22=1672, Resulting Numbers: [1672]
1672,37 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,37 unequal: No Solution
Exploring Operation: 76+22=98, Resulting Numbers: [98]
98,37 unequal: No Solution
No solution 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: 37:[67, 121], Operations: ['86-19=67', '76+45=121']
Exploring Operation: 67+121=188, Resulting Numbers: [188]
188,37 unequal: No Solution
Exploring Operation: 67*121=8107, Resulting Numbers: [8107]
8107,37 unequal: No Solution
Exploring Operation: 121-67=54, Resulting Numbers: [54]
54,37 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: 37:[45, 29], Operations: ['86-76=10', '19+10=29']
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,37 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[19, 35], Operations: ['86-76=10', '45-10=35']
Exploring Operation: 19*35=665, Resulting Numbers: [665]
665,37 unequal: No Solution
Exploring Operation: 19+35=54, Resulting Numbers: [54]
54,37 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,37 unequal: No Solution
Moving to Node #0,3,1
Current State: 37:[19, 35], Operations: ['86-45=41', '76-41=35']
Exploring Operation: 19+35=54, Resulting Numbers: [54]
54,37 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,37 unequal: No Solution
Exploring Operation: 19*35=665, Resulting Numbers: [665]
665,37 unequal: No Solution
Moving to Node #0,3,2
Current State: 37:[41, 57], Operations: ['86-45=41', '76-19=57']
Exploring Operation: 41+57=98, Resulting Numbers: [98]
98,37 unequal: No Solution
Exploring Operation: 57-41=16, Resulting Numbers: [16]
16,37 unequal: No Solution
Exploring Operation: 41*57=2337, Resulting Numbers: [2337]
2337,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[45, 9], Operations: ['86-76=10', '19-10=9']
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,37 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,37 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[31, 67], Operations: ['76-45=31', '86-19=67']
Exploring Operation: 31+67=98, Resulting Numbers: [98]
98,37 unequal: No Solution
Exploring Operation: 31*67=2077, Resulting Numbers: [2077]
2077,37 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[19, 55], Operations: ['76-45=31', '86-31=55']
Exploring Operation: 19*55=1045, Resulting Numbers: [1045]
1045,37 unequal: No Solution
Exploring Operation: 19+55=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 55-19=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[19, 55], Operations: ['86-76=10', '45+10=55']
Exploring Operation: 19+55=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 55-19=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 19*55=1045, Resulting Numbers: [1045]
1045,37 unequal: No Solution
Moving to Node #0,3,3
Current State: 37:[41, 4], Operations: ['86-45=41', '76/19=4']
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,37 unequal: No Solution
Exploring Operation: 41*4=164, Resulting Numbers: [164]
164,37 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[86, 76, 45, 19], Operations: []
Exploring Operation: 86-45=41, Resulting Numbers: [76, 19, 41]
Generated Node #0,3: 37:[76, 19, 41] Operation: 86-45=41
Moving to Node #0,3
Current State: 37:[76, 19, 41], Operations: ['86-45=41']
Exploring Operation: 76/19=4, Resulting Numbers: [41, 4]
Generated Node #0,3,3: 37:[41, 4] Operation: 76/19=4
Moving to Node #0,3,3
Current State: 37:[41, 4], Operations: ['86-45=41', '76/19=4']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 0.943576 | hs_4 | sum_heuristic |
[
99,
51,
3,
63
] | 95 | [
"63-51=12",
"12/3=4",
"99-4=95"
] | Current State: 95:[99, 51, 3, 63], Operations: []
Exploring Operation: 63-51=12, Resulting Numbers: [99, 3, 12]
Generated Node #2: [99, 3, 12] from Operation: 63-51=12
Current State: 95:[99, 3, 12], Operations: ['63-51=12']
Exploring Operation: 12/3=4, Resulting Numbers: [99, 4]
Generated Node #3: [99, 4] from Operation: 12/3=4
Current State: 95:[99, 4], Operations: ['63-51=12', '12/3=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[99, 51, 3, 63], Operations: []
Exploring Operation: 51+63=114, Resulting Numbers: [99, 3, 114]
Generated Node #0,0: 95:[99, 3, 114] Operation: 51+63=114
Exploring Operation: 63/3=21, Resulting Numbers: [99, 51, 21]
Generated Node #0,1: 95:[99, 51, 21] Operation: 63/3=21
Exploring Operation: 99-63=36, Resulting Numbers: [51, 3, 36]
Generated Node #0,2: 95:[51, 3, 36] Operation: 99-63=36
Exploring Operation: 63-51=12, Resulting Numbers: [99, 3, 12]
Generated Node #0,3: 95:[99, 3, 12] Operation: 63-51=12
Exploring Operation: 51/3=17, Resulting Numbers: [99, 63, 17]
Generated Node #0,4: 95:[99, 63, 17] Operation: 51/3=17
Moving to Node #0,3
Current State: 95:[99, 3, 12], Operations: ['63-51=12']
Exploring Operation: 99-12=87, Resulting Numbers: [3, 87]
Generated Node #0,3,0: 95:[3, 87] Operation: 99-12=87
Exploring Operation: 99-3=96, Resulting Numbers: [12, 96]
Generated Node #0,3,1: 95:[12, 96] Operation: 99-3=96
Exploring Operation: 12-3=9, Resulting Numbers: [99, 9]
Generated Node #0,3,2: 95:[99, 9] Operation: 12-3=9
Exploring Operation: 12/3=4, Resulting Numbers: [99, 4]
Generated Node #0,3,3: 95:[99, 4] Operation: 12/3=4
Exploring Operation: 3+12=15, Resulting Numbers: [99, 15]
Generated Node #0,3,4: 95:[99, 15] Operation: 3+12=15
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 95:[99, 4], Operations: ['63-51=12', '12/3=4']
Exploring Operation: 99+4=103, Resulting Numbers: [103]
103,95 unequal: No Solution
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[99, 51, 3, 63], Operations: []
Exploring Operation: 63-51=12, Resulting Numbers: [99, 3, 12]
Generated Node #0,3: 95:[99, 3, 12] Operation: 63-51=12
Moving to Node #0,3
Current State: 95:[99, 3, 12], Operations: ['63-51=12']
Exploring Operation: 12/3=4, Resulting Numbers: [99, 4]
Generated Node #0,3,3: 95:[99, 4] Operation: 12/3=4
Moving to Node #0,3,3
Current State: 95:[99, 4], Operations: ['63-51=12', '12/3=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
66,
97,
69,
16
] | 78 | [
"66+97=163",
"69+16=85",
"163-85=78"
] | Current State: 78:[66, 97, 69, 16], Operations: []
Exploring Operation: 66+97=163, Resulting Numbers: [69, 16, 163]
Generated Node #2: [69, 16, 163] from Operation: 66+97=163
Current State: 78:[69, 16, 163], Operations: ['66+97=163']
Exploring Operation: 69+16=85, Resulting Numbers: [163, 85]
Generated Node #3: [163, 85] from Operation: 69+16=85
Current State: 78:[163, 85], Operations: ['66+97=163', '69+16=85']
Exploring Operation: 163-85=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[66, 97, 69, 16], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [97, 16, 3]
Generated Node #0,0: 78:[97, 16, 3] Operation: 69-66=3
Exploring Operation: 97-66=31, Resulting Numbers: [69, 16, 31]
Generated Node #0,1: 78:[69, 16, 31] Operation: 97-66=31
Exploring Operation: 66+16=82, Resulting Numbers: [97, 69, 82]
Generated Node #0,2: 78:[97, 69, 82] Operation: 66+16=82
Exploring Operation: 97-16=81, Resulting Numbers: [66, 69, 81]
Generated Node #0,3: 78:[66, 69, 81] Operation: 97-16=81
Exploring Operation: 97-69=28, Resulting Numbers: [66, 16, 28]
Generated Node #0,4: 78:[66, 16, 28] Operation: 97-69=28
Moving to Node #0,1
Current State: 78:[69, 16, 31], Operations: ['97-66=31']
Exploring Operation: 16+31=47, Resulting Numbers: [69, 47]
Generated Node #0,1,0: 78:[69, 47] Operation: 16+31=47
Exploring Operation: 31-16=15, Resulting Numbers: [69, 15]
Generated Node #0,1,1: 78:[69, 15] Operation: 31-16=15
Exploring Operation: 69+16=85, Resulting Numbers: [31, 85]
Generated Node #0,1,2: 78:[31, 85] Operation: 69+16=85
Exploring Operation: 69-31=38, Resulting Numbers: [16, 38]
Generated Node #0,1,3: 78:[16, 38] Operation: 69-31=38
Exploring Operation: 69-16=53, Resulting Numbers: [31, 53]
Generated Node #0,1,4: 78:[31, 53] Operation: 69-16=53
Moving to Node #0,4
Current State: 78:[66, 16, 28], Operations: ['97-69=28']
Exploring Operation: 66+16=82, Resulting Numbers: [28, 82]
Generated Node #0,4,0: 78:[28, 82] Operation: 66+16=82
Exploring Operation: 28-16=12, Resulting Numbers: [66, 12]
Generated Node #0,4,1: 78:[66, 12] Operation: 28-16=12
Exploring Operation: 16+28=44, Resulting Numbers: [66, 44]
Generated Node #0,4,2: 78:[66, 44] Operation: 16+28=44
Exploring Operation: 66-16=50, Resulting Numbers: [28, 50]
Generated Node #0,4,3: 78:[28, 50] Operation: 66-16=50
Exploring Operation: 66-28=38, Resulting Numbers: [16, 38]
Generated Node #0,4,4: 78:[16, 38] Operation: 66-28=38
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 78:[16, 38], Operations: ['97-69=28', '66-28=38']
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,78 unequal: No Solution
Exploring Operation: 16*38=608, Resulting Numbers: [608]
608,78 unequal: No Solution
Exploring Operation: 16+38=54, Resulting Numbers: [54]
54,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 78:[28, 82], Operations: ['97-69=28', '66+16=82']
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,78 unequal: No Solution
Exploring Operation: 28+82=110, Resulting Numbers: [110]
110,78 unequal: No Solution
Exploring Operation: 28*82=2296, Resulting Numbers: [2296]
2296,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 78:[66, 12], Operations: ['97-69=28', '28-16=12']
Exploring Operation: 66+12=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[66, 97, 69, 16], Operations: []
Exploring Operation: 97-69=28, Resulting Numbers: [66, 16, 28]
Generated Node #0,4: 78:[66, 16, 28] Operation: 97-69=28
Moving to Node #0,4
Current State: 78:[66, 16, 28], Operations: ['97-69=28']
Exploring Operation: 28-16=12, Resulting Numbers: [66, 12]
Generated Node #0,4,1: 78:[66, 12] Operation: 28-16=12
Moving to Node #0,4,1
Current State: 78:[66, 12], Operations: ['97-69=28', '28-16=12']
Exploring Operation: 66+12=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | mult_heuristic |
[
9,
8,
97,
28
] | 39 | [
"97-9=88",
"88/8=11",
"28+11=39"
] | Current State: 39:[9, 8, 97, 28], Operations: []
Exploring Operation: 97-9=88, Resulting Numbers: [8, 28, 88]
Generated Node #2: [8, 28, 88] from Operation: 97-9=88
Current State: 39:[8, 28, 88], Operations: ['97-9=88']
Exploring Operation: 88/8=11, Resulting Numbers: [28, 11]
Generated Node #3: [28, 11] from Operation: 88/8=11
Current State: 39:[28, 11], Operations: ['97-9=88', '88/8=11']
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[9, 8, 97, 28], Operations: []
Exploring Operation: 97-28=69, Resulting Numbers: [9, 8, 69]
Generated Node #0,0: 39:[9, 8, 69] Operation: 97-28=69
Exploring Operation: 97-8=89, Resulting Numbers: [9, 28, 89]
Generated Node #0,1: 39:[9, 28, 89] Operation: 97-8=89
Exploring Operation: 97-9=88, Resulting Numbers: [8, 28, 88]
Generated Node #0,2: 39:[8, 28, 88] Operation: 97-9=88
Exploring Operation: 8+28=36, Resulting Numbers: [9, 97, 36]
Generated Node #0,3: 39:[9, 97, 36] Operation: 8+28=36
Exploring Operation: 9+28=37, Resulting Numbers: [8, 97, 37]
Generated Node #0,4: 39:[8, 97, 37] Operation: 9+28=37
Moving to Node #0,0
Current State: 39:[9, 8, 69], Operations: ['97-28=69']
Exploring Operation: 9-8=1, Resulting Numbers: [69, 1]
Generated Node #0,0,0: 39:[69, 1] Operation: 9-8=1
Exploring Operation: 9+8=17, Resulting Numbers: [69, 17]
Generated Node #0,0,1: 39:[69, 17] Operation: 9+8=17
Exploring Operation: 69-8=61, Resulting Numbers: [9, 61]
Generated Node #0,0,2: 39:[9, 61] Operation: 69-8=61
Exploring Operation: 69-9=60, Resulting Numbers: [8, 60]
Generated Node #0,0,3: 39:[8, 60] Operation: 69-9=60
Exploring Operation: 8+69=77, Resulting Numbers: [9, 77]
Generated Node #0,0,4: 39:[9, 77] Operation: 8+69=77
Moving to Node #0,2
Current State: 39:[8, 28, 88], Operations: ['97-9=88']
Exploring Operation: 8+28=36, Resulting Numbers: [88, 36]
Generated Node #0,2,0: 39:[88, 36] Operation: 8+28=36
Exploring Operation: 88-8=80, Resulting Numbers: [28, 80]
Generated Node #0,2,1: 39:[28, 80] Operation: 88-8=80
Exploring Operation: 88-28=60, Resulting Numbers: [8, 60]
Generated Node #0,2,2: 39:[8, 60] Operation: 88-28=60
Exploring Operation: 88/8=11, Resulting Numbers: [28, 11]
Generated Node #0,2,3: 39:[28, 11] Operation: 88/8=11
Exploring Operation: 28-8=20, Resulting Numbers: [88, 20]
Generated Node #0,2,4: 39:[88, 20] Operation: 28-8=20
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 39:[28, 11], Operations: ['97-9=88', '88/8=11']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,39 unequal: No Solution
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[9, 8, 97, 28], Operations: []
Exploring Operation: 97-9=88, Resulting Numbers: [8, 28, 88]
Generated Node #0,2: 39:[8, 28, 88] Operation: 97-9=88
Moving to Node #0,2
Current State: 39:[8, 28, 88], Operations: ['97-9=88']
Exploring Operation: 88/8=11, Resulting Numbers: [28, 11]
Generated Node #0,2,3: 39:[28, 11] Operation: 88/8=11
Moving to Node #0,2,3
Current State: 39:[28, 11], Operations: ['97-9=88', '88/8=11']
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
21,
71,
76,
3
] | 23 | [
"71-21=50",
"76-3=73",
"73-50=23"
] | Current State: 23:[21, 71, 76, 3], Operations: []
Exploring Operation: 71-21=50, Resulting Numbers: [76, 3, 50]
Generated Node #2: [76, 3, 50] from Operation: 71-21=50
Current State: 23:[76, 3, 50], Operations: ['71-21=50']
Exploring Operation: 76-3=73, Resulting Numbers: [50, 73]
Generated Node #3: [50, 73] from Operation: 76-3=73
Current State: 23:[50, 73], Operations: ['71-21=50', '76-3=73']
Exploring Operation: 73-50=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[21, 71, 76, 3], Operations: []
Exploring Operation: 76-71=5, Resulting Numbers: [21, 3, 5]
Generated Node #0,0: 23:[21, 3, 5] Operation: 76-71=5
Exploring Operation: 71-21=50, Resulting Numbers: [76, 3, 50]
Generated Node #0,1: 23:[76, 3, 50] Operation: 71-21=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[21, 3, 5], Operations: ['76-71=5']
Exploring Operation: 3*5=15, Resulting Numbers: [21, 15]
Generated Node #0,0,0: 23:[21, 15] Operation: 3*5=15
Exploring Operation: 3+5=8, Resulting Numbers: [21, 8]
Generated Node #0,0,1: 23:[21, 8] Operation: 3+5=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[21, 15], Operations: ['76-71=5', '3*5=15']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,23 unequal: No Solution
No 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: 23:[21, 8], Operations: ['76-71=5', '3+5=8']
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,23 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: 23:[76, 3, 50], Operations: ['71-21=50']
Exploring Operation: 76-3=73, Resulting Numbers: [50, 73]
Generated Node #0,1,0: 23:[50, 73] Operation: 76-3=73
Exploring Operation: 76-50=26, Resulting Numbers: [3, 26]
Generated Node #0,1,1: 23:[3, 26] Operation: 76-50=26
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[3, 26], Operations: ['71-21=50', '76-50=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[21, 71, 76, 3], Operations: []
Exploring Operation: 71-21=50, Resulting Numbers: [76, 3, 50]
Generated Node #0,1: 23:[76, 3, 50] Operation: 71-21=50
Moving to Node #0,1
Current State: 23:[76, 3, 50], Operations: ['71-21=50']
Exploring Operation: 76-50=26, Resulting Numbers: [3, 26]
Generated Node #0,1,1: 23:[3, 26] Operation: 76-50=26
Moving to Node #0,1,1
Current State: 23:[3, 26], Operations: ['71-21=50', '76-50=26']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
6,
8,
33,
42
] | 86 | [
"8*33=264",
"264/6=44",
"42+44=86"
] | Current State: 86:[6, 8, 33, 42], Operations: []
Exploring Operation: 8*33=264, Resulting Numbers: [6, 42, 264]
Generated Node #2: [6, 42, 264] from Operation: 8*33=264
Current State: 86:[6, 42, 264], Operations: ['8*33=264']
Exploring Operation: 264/6=44, Resulting Numbers: [42, 44]
Generated Node #3: [42, 44] from Operation: 264/6=44
Current State: 86:[42, 44], Operations: ['8*33=264', '264/6=44']
Exploring Operation: 42+44=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[6, 8, 33, 42], Operations: []
Exploring Operation: 42-33=9, Resulting Numbers: [6, 8, 9]
Generated Node #0,0: 86:[6, 8, 9] Operation: 42-33=9
Exploring Operation: 6*8=48, Resulting Numbers: [33, 42, 48]
Generated Node #0,1: 86:[33, 42, 48] Operation: 6*8=48
Exploring Operation: 8-6=2, Resulting Numbers: [33, 42, 2]
Generated Node #0,2: 86:[33, 42, 2] Operation: 8-6=2
Exploring Operation: 6+33=39, Resulting Numbers: [8, 42, 39]
Generated Node #0,3: 86:[8, 42, 39] Operation: 6+33=39
Exploring Operation: 8+33=41, Resulting Numbers: [6, 42, 41]
Generated Node #0,4: 86:[6, 42, 41] Operation: 8+33=41
Moving to Node #0,4
Current State: 86:[6, 42, 41], Operations: ['8+33=41']
Exploring Operation: 42/6=7, Resulting Numbers: [41, 7]
Generated Node #0,4,0: 86:[41, 7] Operation: 42/6=7
Exploring Operation: 42+41=83, Resulting Numbers: [6, 83]
Generated Node #0,4,1: 86:[6, 83] Operation: 42+41=83
Exploring Operation: 42-41=1, Resulting Numbers: [6, 1]
Generated Node #0,4,2: 86:[6, 1] Operation: 42-41=1
Exploring Operation: 6+41=47, Resulting Numbers: [42, 47]
Generated Node #0,4,3: 86:[42, 47] Operation: 6+41=47
Exploring Operation: 6+42=48, Resulting Numbers: [41, 48]
Generated Node #0,4,4: 86:[41, 48] Operation: 6+42=48
Moving to Node #0,3
Current State: 86:[8, 42, 39], Operations: ['6+33=39']
Exploring Operation: 42+39=81, Resulting Numbers: [8, 81]
Generated Node #0,3,0: 86:[8, 81] Operation: 42+39=81
Exploring Operation: 8+42=50, Resulting Numbers: [39, 50]
Generated Node #0,3,1: 86:[39, 50] Operation: 8+42=50
Exploring Operation: 8+39=47, Resulting Numbers: [42, 47]
Generated Node #0,3,2: 86:[42, 47] Operation: 8+39=47
Exploring Operation: 42-8=34, Resulting Numbers: [39, 34]
Generated Node #0,3,3: 86:[39, 34] Operation: 42-8=34
Exploring Operation: 42-39=3, Resulting Numbers: [8, 3]
Generated Node #0,3,4: 86:[8, 3] Operation: 42-39=3
Moving to Node #0,2
Current State: 86:[33, 42, 2], Operations: ['8-6=2']
Exploring Operation: 42*2=84, Resulting Numbers: [33, 84]
Generated Node #0,2,0: 86:[33, 84] Operation: 42*2=84
Exploring Operation: 33+42=75, Resulting Numbers: [2, 75]
Generated Node #0,2,1: 86:[2, 75] Operation: 33+42=75
Exploring Operation: 33+2=35, Resulting Numbers: [42, 35]
Generated Node #0,2,2: 86:[42, 35] Operation: 33+2=35
Exploring Operation: 42+2=44, Resulting Numbers: [33, 44]
Generated Node #0,2,3: 86:[33, 44] Operation: 42+2=44
Exploring Operation: 42-33=9, Resulting Numbers: [2, 9]
Generated Node #0,2,4: 86:[2, 9] Operation: 42-33=9
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 86:[2, 9], Operations: ['8-6=2', '42-33=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[42, 35], Operations: ['8-6=2', '33+2=35']
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 42*35=1470, Resulting Numbers: [1470]
1470,86 unequal: No Solution
Exploring Operation: 42+35=77, Resulting Numbers: [77]
77,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[2, 75], Operations: ['8-6=2', '33+42=75']
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,86 unequal: No Solution
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,86 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 86:[33, 44], Operations: ['8-6=2', '42+2=44']
Exploring Operation: 33*44=1452, Resulting Numbers: [1452]
1452,86 unequal: No Solution
Exploring Operation: 33+44=77, Resulting Numbers: [77]
77,86 unequal: No Solution
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[33, 84], Operations: ['8-6=2', '42*2=84']
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 33+84=117, Resulting Numbers: [117]
117,86 unequal: No Solution
Exploring Operation: 33*84=2772, Resulting Numbers: [2772]
2772,86 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: 86:[33, 42, 48], Operations: ['6*8=48']
Exploring Operation: 48-42=6, Resulting Numbers: [33, 6]
Generated Node #0,1,0: 86:[33, 6] Operation: 48-42=6
Exploring Operation: 33+48=81, Resulting Numbers: [42, 81]
Generated Node #0,1,1: 86:[42, 81] Operation: 33+48=81
Exploring Operation: 42-33=9, Resulting Numbers: [48, 9]
Generated Node #0,1,2: 86:[48, 9] Operation: 42-33=9
Exploring Operation: 48-33=15, Resulting Numbers: [42, 15]
Generated Node #0,1,3: 86:[42, 15] Operation: 48-33=15
Exploring Operation: 42+48=90, Resulting Numbers: [33, 90]
Generated Node #0,1,4: 86:[33, 90] Operation: 42+48=90
Moving to Node #0,0
Current State: 86:[6, 8, 9], Operations: ['42-33=9']
Exploring Operation: 8-6=2, Resulting Numbers: [9, 2]
Generated Node #0,0,0: 86:[9, 2] Operation: 8-6=2
Exploring Operation: 9-6=3, Resulting Numbers: [8, 3]
Generated Node #0,0,1: 86:[8, 3] Operation: 9-6=3
Exploring Operation: 6*9=54, Resulting Numbers: [8, 54]
Generated Node #0,0,2: 86:[8, 54] Operation: 6*9=54
Exploring Operation: 9-8=1, Resulting Numbers: [6, 1]
Generated Node #0,0,3: 86:[6, 1] Operation: 9-8=1
Exploring Operation: 6*8=48, Resulting Numbers: [9, 48]
Generated Node #0,0,4: 86:[9, 48] Operation: 6*8=48
Moving to Node #0,4,2
Current State: 86:[6, 1], Operations: ['8+33=41', '42-41=1']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Moving to Node #0,3,2
Current State: 86:[42, 47], Operations: ['6+33=39', '8+39=47']
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 42*47=1974, Resulting Numbers: [1974]
1974,86 unequal: No Solution
Exploring Operation: 42+47=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Moving to Node #0,4,3
Current State: 86:[42, 47], Operations: ['8+33=41', '6+41=47']
Exploring Operation: 42+47=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 42*47=1974, Resulting Numbers: [1974]
1974,86 unequal: No Solution
Moving to Node #0,0,3
Current State: 86:[6, 1], Operations: ['42-33=9', '9-8=1']
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[42, 81], Operations: ['6*8=48', '33+48=81']
Exploring Operation: 42+81=123, Resulting Numbers: [123]
123,86 unequal: No Solution
Exploring Operation: 42*81=3402, Resulting Numbers: [3402]
3402,86 unequal: No Solution
Exploring Operation: 81-42=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Moving to Node #0,3,4
Current State: 86:[8, 3], Operations: ['6+33=39', '42-39=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,86 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Moving to Node #0,4,0
Current State: 86:[41, 7], Operations: ['8+33=41', '42/6=7']
Exploring Operation: 41*7=287, Resulting Numbers: [287]
287,86 unequal: No Solution
Exploring Operation: 41+7=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Moving to Node #0,4,4
Current State: 86:[41, 48], Operations: ['8+33=41', '6+42=48']
Exploring Operation: 41+48=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Exploring Operation: 41*48=1968, Resulting Numbers: [1968]
1968,86 unequal: No Solution
Exploring Operation: 48-41=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[9, 2], Operations: ['42-33=9', '8-6=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[8, 3], Operations: ['42-33=9', '9-6=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,86 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Moving to Node #0,4,1
Current State: 86:[6, 83], Operations: ['8+33=41', '42+41=83']
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,86 unequal: No Solution
Exploring Operation: 6+83=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Exploring Operation: 6*83=498, Resulting Numbers: [498]
498,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[8, 81], Operations: ['6+33=39', '42+39=81']
Exploring Operation: 8+81=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,86 unequal: No Solution
Exploring Operation: 8*81=648, Resulting Numbers: [648]
648,86 unequal: No Solution
Moving to Node #0,3,1
Current State: 86:[39, 50], Operations: ['6+33=39', '8+42=50']
Exploring Operation: 39*50=1950, Resulting Numbers: [1950]
1950,86 unequal: No Solution
Exploring Operation: 39+50=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[48, 9], Operations: ['6*8=48', '42-33=9']
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 48*9=432, Resulting Numbers: [432]
432,86 unequal: No Solution
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,86 unequal: No Solution
Moving to Node #0,0,4
Current State: 86:[9, 48], Operations: ['42-33=9', '6*8=48']
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,86 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 9*48=432, Resulting Numbers: [432]
432,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[39, 34], Operations: ['6+33=39', '42-8=34']
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,86 unequal: No Solution
Exploring Operation: 39*34=1326, Resulting Numbers: [1326]
1326,86 unequal: No Solution
Moving to Node #0,1,3
Current State: 86:[42, 15], Operations: ['6*8=48', '48-33=15']
Exploring Operation: 42*15=630, Resulting Numbers: [630]
630,86 unequal: No Solution
Exploring Operation: 42+15=57, Resulting Numbers: [57]
57,86 unequal: No Solution
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[33, 6], Operations: ['6*8=48', '48-42=6']
Exploring Operation: 33*6=198, Resulting Numbers: [198]
198,86 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Moving to Node #0,1,4
Current State: 86:[33, 90], Operations: ['6*8=48', '42+48=90']
Exploring Operation: 33*90=2970, Resulting Numbers: [2970]
2970,86 unequal: No Solution
Exploring Operation: 90-33=57, Resulting Numbers: [57]
57,86 unequal: No Solution
Exploring Operation: 33+90=123, Resulting Numbers: [123]
123,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[8, 54], Operations: ['42-33=9', '6*9=54']
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 8*54=432, Resulting Numbers: [432]
432,86 unequal: No Solution
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,86 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
72,
58,
29,
10
] | 80 | [
"72+10=82",
"58/29=2",
"82-2=80"
] | Current State: 80:[72, 58, 29, 10], Operations: []
Exploring Operation: 72+10=82, Resulting Numbers: [58, 29, 82]
Generated Node #2: [58, 29, 82] from Operation: 72+10=82
Current State: 80:[58, 29, 82], Operations: ['72+10=82']
Exploring Operation: 58/29=2, Resulting Numbers: [82, 2]
Generated Node #3: [82, 2] from Operation: 58/29=2
Current State: 80:[82, 2], Operations: ['72+10=82', '58/29=2']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[72, 58, 29, 10], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [72, 10, 2]
Generated Node #0,0: 80:[72, 10, 2] Operation: 58/29=2
Exploring Operation: 72-58=14, Resulting Numbers: [29, 10, 14]
Generated Node #0,1: 80:[29, 10, 14] Operation: 72-58=14
Exploring Operation: 58+29=87, Resulting Numbers: [72, 10, 87]
Generated Node #0,2: 80:[72, 10, 87] Operation: 58+29=87
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[72, 10, 2], Operations: ['58/29=2']
Exploring Operation: 72/2=36, Resulting Numbers: [10, 36]
Generated Node #0,0,0: 80:[10, 36] Operation: 72/2=36
Exploring Operation: 72+10=82, Resulting Numbers: [2, 82]
Generated Node #0,0,1: 80:[2, 82] Operation: 72+10=82
Exploring Operation: 72+2=74, Resulting Numbers: [10, 74]
Generated Node #0,0,2: 80:[10, 74] Operation: 72+2=74
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[2, 82], Operations: ['58/29=2', '72+10=82']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,80 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[72, 58, 29, 10], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [72, 10, 2]
Generated Node #0,0: 80:[72, 10, 2] Operation: 58/29=2
Moving to Node #0,0
Current State: 80:[72, 10, 2], Operations: ['58/29=2']
Exploring Operation: 72+10=82, Resulting Numbers: [2, 82]
Generated Node #0,0,1: 80:[2, 82] Operation: 72+10=82
Moving to Node #0,0,1
Current State: 80:[2, 82], Operations: ['58/29=2', '72+10=82']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
48,
21,
84,
22
] | 89 | [
"48-21=27",
"84-22=62",
"27+62=89"
] | Current State: 89:[48, 21, 84, 22], Operations: []
Exploring Operation: 48-21=27, Resulting Numbers: [84, 22, 27]
Generated Node #2: [84, 22, 27] from Operation: 48-21=27
Current State: 89:[84, 22, 27], Operations: ['48-21=27']
Exploring Operation: 84-22=62, Resulting Numbers: [27, 62]
Generated Node #3: [27, 62] from Operation: 84-22=62
Current State: 89:[27, 62], Operations: ['48-21=27', '84-22=62']
Exploring Operation: 27+62=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[48, 21, 84, 22], Operations: []
Exploring Operation: 48+22=70, Resulting Numbers: [21, 84, 70]
Generated Node #0,0: 89:[21, 84, 70] Operation: 48+22=70
Exploring Operation: 48+21=69, Resulting Numbers: [84, 22, 69]
Generated Node #0,1: 89:[84, 22, 69] Operation: 48+21=69
Exploring Operation: 84+22=106, Resulting Numbers: [48, 21, 106]
Generated Node #0,2: 89:[48, 21, 106] Operation: 84+22=106
Exploring Operation: 21+22=43, Resulting Numbers: [48, 84, 43]
Generated Node #0,3: 89:[48, 84, 43] Operation: 21+22=43
Exploring Operation: 21+84=105, Resulting Numbers: [48, 22, 105]
Generated Node #0,4: 89:[48, 22, 105] Operation: 21+84=105
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[21, 84, 70], Operations: ['48+22=70']
Exploring Operation: 84-21=63, Resulting Numbers: [70, 63]
Generated Node #0,0,0: 89:[70, 63] Operation: 84-21=63
Exploring Operation: 84/21=4, Resulting Numbers: [70, 4]
Generated Node #0,0,1: 89:[70, 4] Operation: 84/21=4
Exploring Operation: 21+70=91, Resulting Numbers: [84, 91]
Generated Node #0,0,2: 89:[84, 91] Operation: 21+70=91
Exploring Operation: 21+84=105, Resulting Numbers: [70, 105]
Generated Node #0,0,3: 89:[70, 105] Operation: 21+84=105
Exploring Operation: 70-21=49, Resulting Numbers: [84, 49]
Generated Node #0,0,4: 89:[84, 49] Operation: 70-21=49
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 89:[84, 91], Operations: ['48+22=70', '21+70=91']
Exploring Operation: 84+91=175, Resulting Numbers: [175]
175,89 unequal: No Solution
Exploring Operation: 84*91=7644, Resulting Numbers: [7644]
7644,89 unequal: No Solution
Exploring Operation: 91-84=7, Resulting Numbers: [7]
7,89 unequal: No Solution
No 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: 89:[70, 105], Operations: ['48+22=70', '21+84=105']
Exploring Operation: 105-70=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 70*105=7350, Resulting Numbers: [7350]
7350,89 unequal: No Solution
Exploring Operation: 70+105=175, Resulting Numbers: [175]
175,89 unequal: No Solution
No 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: 89:[70, 63], Operations: ['48+22=70', '84-21=63']
Exploring Operation: 70-63=7, Resulting Numbers: [7]
7,89 unequal: No Solution
Exploring Operation: 70+63=133, Resulting Numbers: [133]
133,89 unequal: No Solution
Exploring Operation: 70*63=4410, Resulting Numbers: [4410]
4410,89 unequal: No Solution
No 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: 89:[84, 49], Operations: ['48+22=70', '70-21=49']
Exploring Operation: 84*49=4116, Resulting Numbers: [4116]
4116,89 unequal: No Solution
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 84+49=133, Resulting Numbers: [133]
133,89 unequal: No Solution
No 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: 89:[70, 4], Operations: ['48+22=70', '84/21=4']
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,89 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,89 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: 89:[84, 22, 69], Operations: ['48+21=69']
Exploring Operation: 84+22=106, Resulting Numbers: [69, 106]
Generated Node #0,1,0: 89:[69, 106] Operation: 84+22=106
Exploring Operation: 84-22=62, Resulting Numbers: [69, 62]
Generated Node #0,1,1: 89:[69, 62] Operation: 84-22=62
Exploring Operation: 22+69=91, Resulting Numbers: [84, 91]
Generated Node #0,1,2: 89:[84, 91] Operation: 22+69=91
Exploring Operation: 84+69=153, Resulting Numbers: [22, 153]
Generated Node #0,1,3: 89:[22, 153] Operation: 84+69=153
Exploring Operation: 69-22=47, Resulting Numbers: [84, 47]
Generated Node #0,1,4: 89:[84, 47] Operation: 69-22=47
Moving to Node #0,1,2
Current State: 89:[84, 91], Operations: ['48+21=69', '22+69=91']
Exploring Operation: 91-84=7, Resulting Numbers: [7]
7,89 unequal: No Solution
Exploring Operation: 84+91=175, Resulting Numbers: [175]
175,89 unequal: No Solution
Exploring Operation: 84*91=7644, Resulting Numbers: [7644]
7644,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[69, 106], Operations: ['48+21=69', '84+22=106']
Exploring Operation: 69*106=7314, Resulting Numbers: [7314]
7314,89 unequal: No Solution
Exploring Operation: 106-69=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Exploring Operation: 69+106=175, Resulting Numbers: [175]
175,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[69, 62], Operations: ['48+21=69', '84-22=62']
Exploring Operation: 69*62=4278, Resulting Numbers: [4278]
4278,89 unequal: No Solution
Exploring Operation: 69-62=7, Resulting Numbers: [7]
7,89 unequal: No Solution
Exploring Operation: 69+62=131, Resulting Numbers: [131]
131,89 unequal: No Solution
Moving to Node #0,1,4
Current State: 89:[84, 47], Operations: ['48+21=69', '69-22=47']
Exploring Operation: 84-47=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Exploring Operation: 84*47=3948, Resulting Numbers: [3948]
3948,89 unequal: No Solution
Exploring Operation: 84+47=131, Resulting Numbers: [131]
131,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[22, 153], Operations: ['48+21=69', '84+69=153']
Exploring Operation: 22*153=3366, Resulting Numbers: [3366]
3366,89 unequal: No Solution
Exploring Operation: 153-22=131, Resulting Numbers: [131]
131,89 unequal: No Solution
Exploring Operation: 22+153=175, Resulting Numbers: [175]
175,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[48, 84, 43], Operations: ['21+22=43']
Exploring Operation: 48+43=91, Resulting Numbers: [84, 91]
Generated Node #0,3,0: 89:[84, 91] Operation: 48+43=91
Exploring Operation: 84+43=127, Resulting Numbers: [48, 127]
Generated Node #0,3,1: 89:[48, 127] Operation: 84+43=127
Exploring Operation: 48+84=132, Resulting Numbers: [43, 132]
Generated Node #0,3,2: 89:[43, 132] Operation: 48+84=132
Exploring Operation: 48-43=5, Resulting Numbers: [84, 5]
Generated Node #0,3,3: 89:[84, 5] Operation: 48-43=5
Exploring Operation: 84-43=41, Resulting Numbers: [48, 41]
Generated Node #0,3,4: 89:[48, 41] Operation: 84-43=41
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 89:[84, 91], Operations: ['21+22=43', '48+43=91']
Exploring Operation: 84+91=175, Resulting Numbers: [175]
175,89 unequal: No Solution
Exploring Operation: 91-84=7, Resulting Numbers: [7]
7,89 unequal: No Solution
Exploring Operation: 84*91=7644, Resulting Numbers: [7644]
7644,89 unequal: No Solution
No 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: 89:[48, 127], Operations: ['21+22=43', '84+43=127']
Exploring Operation: 48+127=175, Resulting Numbers: [175]
175,89 unequal: No Solution
Exploring Operation: 127-48=79, Resulting Numbers: [79]
79,89 unequal: No Solution
Exploring Operation: 48*127=6096, Resulting Numbers: [6096]
6096,89 unequal: No Solution
No 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: 89:[43, 132], Operations: ['21+22=43', '48+84=132']
Exploring Operation: 132-43=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[48, 21, 84, 22], Operations: []
Exploring Operation: 21+22=43, Resulting Numbers: [48, 84, 43]
Generated Node #0,3: 89:[48, 84, 43] Operation: 21+22=43
Moving to Node #0,3
Current State: 89:[48, 84, 43], Operations: ['21+22=43']
Exploring Operation: 48+84=132, Resulting Numbers: [43, 132]
Generated Node #0,3,2: 89:[43, 132] Operation: 48+84=132
Moving to Node #0,3,2
Current State: 89:[43, 132], Operations: ['21+22=43', '48+84=132']
Exploring Operation: 132-43=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.947049 | hs_5 | sum_heuristic |
[
82,
83,
5,
62
] | 67 | [
"83-82=1",
"5+62=67",
"1*67=67"
] | Current State: 67:[82, 83, 5, 62], Operations: []
Exploring Operation: 83-82=1, Resulting Numbers: [5, 62, 1]
Generated Node #2: [5, 62, 1] from Operation: 83-82=1
Current State: 67:[5, 62, 1], Operations: ['83-82=1']
Exploring Operation: 5+62=67, Resulting Numbers: [1, 67]
Generated Node #3: [1, 67] from Operation: 5+62=67
Current State: 67:[1, 67], Operations: ['83-82=1', '5+62=67']
Exploring Operation: 1*67=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[82, 83, 5, 62], Operations: []
Exploring Operation: 82+5=87, Resulting Numbers: [83, 62, 87]
Generated Node #0,0: 67:[83, 62, 87] Operation: 82+5=87
Exploring Operation: 5+62=67, Resulting Numbers: [82, 83, 67]
Generated Node #0,1: 67:[82, 83, 67] Operation: 5+62=67
Exploring Operation: 83-5=78, Resulting Numbers: [82, 62, 78]
Generated Node #0,2: 67:[82, 62, 78] Operation: 83-5=78
Exploring Operation: 82-5=77, Resulting Numbers: [83, 62, 77]
Generated Node #0,3: 67:[83, 62, 77] Operation: 82-5=77
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[82, 83, 67], Operations: ['5+62=67']
Exploring Operation: 83-67=16, Resulting Numbers: [82, 16]
Generated Node #0,1,0: 67:[82, 16] Operation: 83-67=16
Exploring Operation: 82-67=15, Resulting Numbers: [83, 15]
Generated Node #0,1,1: 67:[83, 15] Operation: 82-67=15
Exploring Operation: 83-82=1, Resulting Numbers: [67, 1]
Generated Node #0,1,2: 67:[67, 1] Operation: 83-82=1
Exploring Operation: 82+83=165, Resulting Numbers: [67, 165]
Generated Node #0,1,3: 67:[67, 165] Operation: 82+83=165
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[82, 16], Operations: ['5+62=67', '83-67=16']
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 82*16=1312, Resulting Numbers: [1312]
1312,67 unequal: No Solution
Exploring Operation: 82+16=98, Resulting Numbers: [98]
98,67 unequal: No Solution
No 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: 67:[67, 1], Operations: ['5+62=67', '83-82=1']
Exploring Operation: 67+1=68, Resulting Numbers: [68]
68,67 unequal: No Solution
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[82, 83, 5, 62], Operations: []
Exploring Operation: 5+62=67, Resulting Numbers: [82, 83, 67]
Generated Node #0,1: 67:[82, 83, 67] Operation: 5+62=67
Moving to Node #0,1
Current State: 67:[82, 83, 67], Operations: ['5+62=67']
Exploring Operation: 83-82=1, Resulting Numbers: [67, 1]
Generated Node #0,1,2: 67:[67, 1] Operation: 83-82=1
Moving to Node #0,1,2
Current State: 67:[67, 1], Operations: ['5+62=67', '83-82=1']
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
45,
10,
94,
45
] | 14 | [
"45-10=35",
"94-45=49",
"49-35=14"
] | Current State: 14:[45, 10, 94, 45], Operations: []
Exploring Operation: 45-10=35, Resulting Numbers: [94, 35]
Generated Node #2: [94, 35] from Operation: 45-10=35
Current State: 14:[94, 35], Operations: ['45-10=35']
Exploring Operation: 94-45=49, Resulting Numbers: [35, 49]
Generated Node #3: [35, 49] from Operation: 94-45=49
Current State: 14:[35, 49], Operations: ['45-10=35', '94-45=49']
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[45, 10, 94, 45], Operations: []
Exploring Operation: 94-45=49, Resulting Numbers: [10, 45, 49]
Generated Node #0,0: 14:[10, 45, 49] Operation: 94-45=49
Moving to Node #0,0
Current State: 14:[10, 45, 49], Operations: ['94-45=49']
Exploring Operation: 49-45=4, Resulting Numbers: [10, 4]
Generated Node #0,0,0: 14:[10, 4] Operation: 49-45=4
Moving to Node #0,0,0
Current State: 14:[10, 4], Operations: ['94-45=49', '49-45=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[45, 10, 94, 45], Operations: []
Exploring Operation: 94-45=49, Resulting Numbers: [10, 45, 49]
Generated Node #0,0: 14:[10, 45, 49] Operation: 94-45=49
Moving to Node #0,0
Current State: 14:[10, 45, 49], Operations: ['94-45=49']
Exploring Operation: 49-45=4, Resulting Numbers: [10, 4]
Generated Node #0,0,0: 14:[10, 4] Operation: 49-45=4
Moving to Node #0,0,0
Current State: 14:[10, 4], Operations: ['94-45=49', '49-45=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
18,
90,
40,
81
] | 67 | [
"18+90=108",
"81-40=41",
"108-41=67"
] | Current State: 67:[18, 90, 40, 81], Operations: []
Exploring Operation: 18+90=108, Resulting Numbers: [40, 81, 108]
Generated Node #2: [40, 81, 108] from Operation: 18+90=108
Current State: 67:[40, 81, 108], Operations: ['18+90=108']
Exploring Operation: 81-40=41, Resulting Numbers: [108, 41]
Generated Node #3: [108, 41] from Operation: 81-40=41
Current State: 67:[108, 41], Operations: ['18+90=108', '81-40=41']
Exploring Operation: 108-41=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[18, 90, 40, 81], Operations: []
Exploring Operation: 81-18=63, Resulting Numbers: [90, 40, 63]
Generated Node #0,0: 67:[90, 40, 63] Operation: 81-18=63
Exploring Operation: 90-18=72, Resulting Numbers: [40, 81, 72]
Generated Node #0,1: 67:[40, 81, 72] Operation: 90-18=72
Exploring Operation: 18+40=58, Resulting Numbers: [90, 81, 58]
Generated Node #0,2: 67:[90, 81, 58] Operation: 18+40=58
Moving to Node #0,1
Current State: 67:[40, 81, 72], Operations: ['90-18=72']
Exploring Operation: 72-40=32, Resulting Numbers: [81, 32]
Generated Node #0,1,0: 67:[81, 32] Operation: 72-40=32
Exploring Operation: 81-40=41, Resulting Numbers: [72, 41]
Generated Node #0,1,1: 67:[72, 41] Operation: 81-40=41
Exploring Operation: 40+81=121, Resulting Numbers: [72, 121]
Generated Node #0,1,2: 67:[72, 121] Operation: 40+81=121
Moving to Node #0,2
Current State: 67:[90, 81, 58], Operations: ['18+40=58']
Exploring Operation: 90-58=32, Resulting Numbers: [81, 32]
Generated Node #0,2,0: 67:[81, 32] Operation: 90-58=32
Exploring Operation: 81-58=23, Resulting Numbers: [90, 23]
Generated Node #0,2,1: 67:[90, 23] Operation: 81-58=23
Exploring Operation: 90-81=9, Resulting Numbers: [58, 9]
Generated Node #0,2,2: 67:[58, 9] Operation: 90-81=9
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[81, 32], Operations: ['18+40=58', '90-58=32']
Exploring Operation: 81+32=113, Resulting Numbers: [113]
113,67 unequal: No Solution
Exploring Operation: 81-32=49, Resulting Numbers: [49]
49,67 unequal: No Solution
Exploring Operation: 81*32=2592, Resulting Numbers: [2592]
2592,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[90, 23], Operations: ['18+40=58', '81-58=23']
Exploring Operation: 90+23=113, Resulting Numbers: [113]
113,67 unequal: No Solution
Exploring Operation: 90-23=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[18, 90, 40, 81], Operations: []
Exploring Operation: 18+40=58, Resulting Numbers: [90, 81, 58]
Generated Node #0,2: 67:[90, 81, 58] Operation: 18+40=58
Moving to Node #0,2
Current State: 67:[90, 81, 58], Operations: ['18+40=58']
Exploring Operation: 81-58=23, Resulting Numbers: [90, 23]
Generated Node #0,2,1: 67:[90, 23] Operation: 81-58=23
Moving to Node #0,2,1
Current State: 67:[90, 23], Operations: ['18+40=58', '81-58=23']
Exploring Operation: 90-23=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
25,
32,
13,
2
] | 69 | [
"25*2=50",
"32-13=19",
"50+19=69"
] | Current State: 69:[25, 32, 13, 2], Operations: []
Exploring Operation: 25*2=50, Resulting Numbers: [32, 13, 50]
Generated Node #2: [32, 13, 50] from Operation: 25*2=50
Current State: 69:[32, 13, 50], Operations: ['25*2=50']
Exploring Operation: 32-13=19, Resulting Numbers: [50, 19]
Generated Node #3: [50, 19] from Operation: 32-13=19
Current State: 69:[50, 19], Operations: ['25*2=50', '32-13=19']
Exploring Operation: 50+19=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[25, 32, 13, 2], Operations: []
Exploring Operation: 32-13=19, Resulting Numbers: [25, 2, 19]
Generated Node #0,0: 69:[25, 2, 19] Operation: 32-13=19
Moving to Node #0,0
Current State: 69:[25, 2, 19], Operations: ['32-13=19']
Exploring Operation: 25-2=23, Resulting Numbers: [19, 23]
Generated Node #0,0,0: 69:[19, 23] Operation: 25-2=23
Moving to Node #0,0,0
Current State: 69:[19, 23], Operations: ['32-13=19', '25-2=23']
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,69 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
46,
68,
11,
80
] | 82 | [
"68-46=22",
"22/11=2",
"80+2=82"
] | Current State: 82:[46, 68, 11, 80], Operations: []
Exploring Operation: 68-46=22, Resulting Numbers: [11, 80, 22]
Generated Node #2: [11, 80, 22] from Operation: 68-46=22
Current State: 82:[11, 80, 22], Operations: ['68-46=22']
Exploring Operation: 22/11=2, Resulting Numbers: [80, 2]
Generated Node #3: [80, 2] from Operation: 22/11=2
Current State: 82:[80, 2], Operations: ['68-46=22', '22/11=2']
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[46, 68, 11, 80], Operations: []
Exploring Operation: 68-11=57, Resulting Numbers: [46, 80, 57]
Generated Node #0,0: 82:[46, 80, 57] Operation: 68-11=57
Exploring Operation: 46-11=35, Resulting Numbers: [68, 80, 35]
Generated Node #0,1: 82:[68, 80, 35] Operation: 46-11=35
Exploring Operation: 68+11=79, Resulting Numbers: [46, 80, 79]
Generated Node #0,2: 82:[46, 80, 79] Operation: 68+11=79
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[46, 80, 79], Operations: ['68+11=79']
Exploring Operation: 80-79=1, Resulting Numbers: [46, 1]
Generated Node #0,2,0: 82:[46, 1] Operation: 80-79=1
Exploring Operation: 80-46=34, Resulting Numbers: [79, 34]
Generated Node #0,2,1: 82:[79, 34] Operation: 80-46=34
Exploring Operation: 79-46=33, Resulting Numbers: [80, 33]
Generated Node #0,2,2: 82:[80, 33] Operation: 79-46=33
Moving to Node #0,2,0
Current State: 82:[46, 1], Operations: ['68+11=79', '80-79=1']
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,82 unequal: No Solution
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[79, 34], Operations: ['68+11=79', '80-46=34']
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Exploring Operation: 79+34=113, Resulting Numbers: [113]
113,82 unequal: No Solution
Exploring Operation: 79*34=2686, Resulting Numbers: [2686]
2686,82 unequal: No Solution
Moving to Node #0,2,2
Current State: 82:[80, 33], Operations: ['68+11=79', '79-46=33']
Exploring Operation: 80+33=113, Resulting Numbers: [113]
113,82 unequal: No Solution
Exploring Operation: 80*33=2640, Resulting Numbers: [2640]
2640,82 unequal: No Solution
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,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:[68, 80, 35], Operations: ['46-11=35']
Exploring Operation: 80-68=12, Resulting Numbers: [35, 12]
Generated Node #0,1,0: 82:[35, 12] Operation: 80-68=12
Exploring Operation: 68-35=33, Resulting Numbers: [80, 33]
Generated Node #0,1,1: 82:[80, 33] Operation: 68-35=33
Exploring Operation: 80-35=45, Resulting Numbers: [68, 45]
Generated Node #0,1,2: 82:[68, 45] Operation: 80-35=45
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[80, 33], Operations: ['46-11=35', '68-35=33']
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 80+33=113, Resulting Numbers: [113]
113,82 unequal: No Solution
Exploring Operation: 80*33=2640, Resulting Numbers: [2640]
2640,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[35, 12], Operations: ['46-11=35', '80-68=12']
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,82 unequal: No Solution
Exploring Operation: 35*12=420, Resulting Numbers: [420]
420,82 unequal: No Solution
Exploring Operation: 35+12=47, Resulting Numbers: [47]
47,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 82:[68, 45], Operations: ['46-11=35', '80-35=45']
Exploring Operation: 68*45=3060, Resulting Numbers: [3060]
3060,82 unequal: No Solution
Exploring Operation: 68-45=23, Resulting Numbers: [23]
23,82 unequal: No Solution
Exploring Operation: 68+45=113, Resulting Numbers: [113]
113,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[46, 80, 57], Operations: ['68-11=57']
Exploring Operation: 80-46=34, Resulting Numbers: [57, 34]
Generated Node #0,0,0: 82:[57, 34] Operation: 80-46=34
Exploring Operation: 57-46=11, Resulting Numbers: [80, 11]
Generated Node #0,0,1: 82:[80, 11] Operation: 57-46=11
Exploring Operation: 46+57=103, Resulting Numbers: [80, 103]
Generated Node #0,0,2: 82:[80, 103] Operation: 46+57=103
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[80, 11], Operations: ['68-11=57', '57-46=11']
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,82 unequal: No Solution
Exploring Operation: 80+11=91, Resulting Numbers: [91]
91,82 unequal: No Solution
Exploring Operation: 80*11=880, Resulting Numbers: [880]
880,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[57, 34], Operations: ['68-11=57', '80-46=34']
Exploring Operation: 57*34=1938, Resulting Numbers: [1938]
1938,82 unequal: No Solution
Exploring Operation: 57-34=23, Resulting Numbers: [23]
23,82 unequal: No Solution
Exploring Operation: 57+34=91, Resulting Numbers: [91]
91,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[80, 103], Operations: ['68-11=57', '46+57=103']
Exploring Operation: 80*103=8240, Resulting Numbers: [8240]
8240,82 unequal: No Solution
Exploring Operation: 80+103=183, Resulting Numbers: [183]
183,82 unequal: No Solution
Exploring Operation: 103-80=23, Resulting Numbers: [23]
23,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
96,
3,
21,
30
] | 23 | [
"96/3=32",
"30-21=9",
"32-9=23"
] | Current State: 23:[96, 3, 21, 30], Operations: []
Exploring Operation: 96/3=32, Resulting Numbers: [21, 30, 32]
Generated Node #2: [21, 30, 32] from Operation: 96/3=32
Current State: 23:[21, 30, 32], Operations: ['96/3=32']
Exploring Operation: 30-21=9, Resulting Numbers: [32, 9]
Generated Node #3: [32, 9] from Operation: 30-21=9
Current State: 23:[32, 9], Operations: ['96/3=32', '30-21=9']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[96, 3, 21, 30], Operations: []
Exploring Operation: 96/3=32, Resulting Numbers: [21, 30, 32]
Generated Node #0,0: 23:[21, 30, 32] Operation: 96/3=32
Moving to Node #0,0
Current State: 23:[21, 30, 32], Operations: ['96/3=32']
Exploring Operation: 32-21=11, Resulting Numbers: [30, 11]
Generated Node #0,0,0: 23:[30, 11] Operation: 32-21=11
Moving to Node #0,0,0
Current State: 23:[30, 11], Operations: ['96/3=32', '32-21=11']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,23 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
47,
6,
4,
2
] | 21 | [
"47-2=45",
"6*4=24",
"45-24=21"
] | Current State: 21:[47, 6, 4, 2], Operations: []
Exploring Operation: 47-2=45, Resulting Numbers: [6, 4, 45]
Generated Node #2: [6, 4, 45] from Operation: 47-2=45
Current State: 21:[6, 4, 45], Operations: ['47-2=45']
Exploring Operation: 6*4=24, Resulting Numbers: [45, 24]
Generated Node #3: [45, 24] from Operation: 6*4=24
Current State: 21:[45, 24], Operations: ['47-2=45', '6*4=24']
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[47, 6, 4, 2], Operations: []
Exploring Operation: 47-6=41, Resulting Numbers: [4, 2, 41]
Generated Node #0,0: 21:[4, 2, 41] Operation: 47-6=41
Exploring Operation: 47-2=45, Resulting Numbers: [6, 4, 45]
Generated Node #0,1: 21:[6, 4, 45] Operation: 47-2=45
Exploring Operation: 47-4=43, Resulting Numbers: [6, 2, 43]
Generated Node #0,2: 21:[6, 2, 43] Operation: 47-4=43
Moving to Node #0,0
Current State: 21:[4, 2, 41], Operations: ['47-6=41']
Exploring Operation: 41-4=37, Resulting Numbers: [2, 37]
Generated Node #0,0,0: 21:[2, 37] Operation: 41-4=37
Exploring Operation: 4+2=6, Resulting Numbers: [41, 6]
Generated Node #0,0,1: 21:[41, 6] Operation: 4+2=6
Exploring Operation: 41-2=39, Resulting Numbers: [4, 39]
Generated Node #0,0,2: 21:[4, 39] Operation: 41-2=39
Moving to Node #0,2
Current State: 21:[6, 2, 43], Operations: ['47-4=43']
Exploring Operation: 6/2=3, Resulting Numbers: [43, 3]
Generated Node #0,2,0: 21:[43, 3] Operation: 6/2=3
Exploring Operation: 43-2=41, Resulting Numbers: [6, 41]
Generated Node #0,2,1: 21:[6, 41] Operation: 43-2=41
Exploring Operation: 43-6=37, Resulting Numbers: [2, 37]
Generated Node #0,2,2: 21:[2, 37] Operation: 43-6=37
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 21:[2, 37], Operations: ['47-4=43', '43-6=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,21 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,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,2,1
Current State: 21:[6, 41], Operations: ['47-4=43', '43-2=41']
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,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,2,0
Current State: 21:[43, 3], Operations: ['47-4=43', '6/2=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,21 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,21 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,21 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: 21:[6, 4, 45], Operations: ['47-2=45']
Exploring Operation: 6-4=2, Resulting Numbers: [45, 2]
Generated Node #0,1,0: 21:[45, 2] Operation: 6-4=2
Exploring Operation: 45-6=39, Resulting Numbers: [4, 39]
Generated Node #0,1,1: 21:[4, 39] Operation: 45-6=39
Exploring Operation: 45-4=41, Resulting Numbers: [6, 41]
Generated Node #0,1,2: 21:[6, 41] Operation: 45-4=41
Moving to Node #0,0,0
Current State: 21:[2, 37], Operations: ['47-6=41', '41-4=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,21 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[4, 39], Operations: ['47-6=41', '41-2=39']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[4, 39], Operations: ['47-2=45', '45-6=39']
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,21 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[41, 6], Operations: ['47-6=41', '4+2=6']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Exploring Operation: 41*6=246, Resulting Numbers: [246]
246,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[6, 41], Operations: ['47-2=45', '45-4=41']
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,21 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[45, 2], Operations: ['47-2=45', '6-4=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,21 unequal: No Solution
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,21 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
35,
41,
55,
5
] | 23 | [
"35+55=90",
"90/5=18",
"41-18=23"
] | Current State: 23:[35, 41, 55, 5], Operations: []
Exploring Operation: 35+55=90, Resulting Numbers: [41, 5, 90]
Generated Node #2: [41, 5, 90] from Operation: 35+55=90
Current State: 23:[41, 5, 90], Operations: ['35+55=90']
Exploring Operation: 90/5=18, Resulting Numbers: [41, 18]
Generated Node #3: [41, 18] from Operation: 90/5=18
Current State: 23:[41, 18], Operations: ['35+55=90', '90/5=18']
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[35, 41, 55, 5], Operations: []
Exploring Operation: 55/5=11, Resulting Numbers: [35, 41, 11]
Generated Node #0,0: 23:[35, 41, 11] Operation: 55/5=11
Exploring Operation: 55-41=14, Resulting Numbers: [35, 5, 14]
Generated Node #0,1: 23:[35, 5, 14] Operation: 55-41=14
Exploring Operation: 41-5=36, Resulting Numbers: [35, 55, 36]
Generated Node #0,2: 23:[35, 55, 36] Operation: 41-5=36
Exploring Operation: 35-5=30, Resulting Numbers: [41, 55, 30]
Generated Node #0,3: 23:[41, 55, 30] Operation: 35-5=30
Exploring Operation: 55-35=20, Resulting Numbers: [41, 5, 20]
Generated Node #0,4: 23:[41, 5, 20] Operation: 55-35=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[35, 5, 14], Operations: ['55-41=14']
Exploring Operation: 35-5=30, Resulting Numbers: [14, 30]
Generated Node #0,1,0: 23:[14, 30] Operation: 35-5=30
Exploring Operation: 35-14=21, Resulting Numbers: [5, 21]
Generated Node #0,1,1: 23:[5, 21] Operation: 35-14=21
Exploring Operation: 35+5=40, Resulting Numbers: [14, 40]
Generated Node #0,1,2: 23:[14, 40] Operation: 35+5=40
Exploring Operation: 5+14=19, Resulting Numbers: [35, 19]
Generated Node #0,1,3: 23:[35, 19] Operation: 5+14=19
Exploring Operation: 35/5=7, Resulting Numbers: [14, 7]
Generated Node #0,1,4: 23:[14, 7] Operation: 35/5=7
Moving to Node #0,1,0
Current State: 23:[14, 30], Operations: ['55-41=14', '35-5=30']
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,23 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[35, 19], Operations: ['55-41=14', '5+14=19']
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,23 unequal: No Solution
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[5, 21], Operations: ['55-41=14', '35-14=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,23 unequal: No Solution
Moving to Node #0,1,4
Current State: 23:[14, 7], Operations: ['55-41=14', '35/5=7']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,23 unequal: No Solution
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[14, 40], Operations: ['55-41=14', '35+5=40']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,23 unequal: No Solution
No 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: 23:[41, 5, 20], Operations: ['55-35=20']
Exploring Operation: 41+5=46, Resulting Numbers: [20, 46]
Generated Node #0,4,0: 23:[20, 46] Operation: 41+5=46
Exploring Operation: 41-5=36, Resulting Numbers: [20, 36]
Generated Node #0,4,1: 23:[20, 36] Operation: 41-5=36
Exploring Operation: 5+20=25, Resulting Numbers: [41, 25]
Generated Node #0,4,2: 23:[41, 25] Operation: 5+20=25
Exploring Operation: 20-5=15, Resulting Numbers: [41, 15]
Generated Node #0,4,3: 23:[41, 15] Operation: 20-5=15
Exploring Operation: 41-20=21, Resulting Numbers: [5, 21]
Generated Node #0,4,4: 23:[5, 21] Operation: 41-20=21
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 23:[20, 36], Operations: ['55-35=20', '41-5=36']
Exploring Operation: 20+36=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 20*36=720, Resulting Numbers: [720]
720,23 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,23 unequal: No Solution
No 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: 23:[41, 25], Operations: ['55-35=20', '5+20=25']
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,23 unequal: No Solution
No 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: 23:[5, 21], Operations: ['55-35=20', '41-20=21']
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,23 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,23 unequal: No Solution
No 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: 23:[20, 46], Operations: ['55-35=20', '41+5=46']
Exploring Operation: 20+46=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 20*46=920, Resulting Numbers: [920]
920,23 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,23 unequal: No Solution
No 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: 23:[41, 15], Operations: ['55-35=20', '20-5=15']
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,23 unequal: No Solution
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,23 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: 23:[35, 41, 11], Operations: ['55/5=11']
Exploring Operation: 41+11=52, Resulting Numbers: [35, 52]
Generated Node #0,0,0: 23:[35, 52] Operation: 41+11=52
Exploring Operation: 35+11=46, Resulting Numbers: [41, 46]
Generated Node #0,0,1: 23:[41, 46] Operation: 35+11=46
Exploring Operation: 41-35=6, Resulting Numbers: [11, 6]
Generated Node #0,0,2: 23:[11, 6] Operation: 41-35=6
Exploring Operation: 41-11=30, Resulting Numbers: [35, 30]
Generated Node #0,0,3: 23:[35, 30] Operation: 41-11=30
Exploring Operation: 35-11=24, Resulting Numbers: [41, 24]
Generated Node #0,0,4: 23:[41, 24] Operation: 35-11=24
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 23:[35, 30], Operations: ['55/5=11', '41-11=30']
Exploring Operation: 35*30=1050, Resulting Numbers: [1050]
1050,23 unequal: No Solution
Exploring Operation: 35+30=65, Resulting Numbers: [65]
65,23 unequal: No Solution
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,23 unequal: No Solution
No 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: 23:[41, 24], Operations: ['55/5=11', '35-11=24']
Exploring Operation: 41+24=65, Resulting Numbers: [65]
65,23 unequal: No Solution
Exploring Operation: 41*24=984, Resulting Numbers: [984]
984,23 unequal: No Solution
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,23 unequal: No Solution
No 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: 23:[11, 6], Operations: ['55/5=11', '41-35=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,23 unequal: No Solution
No 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: 23:[35, 52], Operations: ['55/5=11', '41+11=52']
Exploring Operation: 35+52=87, Resulting Numbers: [87]
87,23 unequal: No Solution
Exploring Operation: 35*52=1820, Resulting Numbers: [1820]
1820,23 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,23 unequal: No Solution
No 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: 23:[41, 46], Operations: ['55/5=11', '35+11=46']
Exploring Operation: 41+46=87, Resulting Numbers: [87]
87,23 unequal: No Solution
Exploring Operation: 41*46=1886, Resulting Numbers: [1886]
1886,23 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,23 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: 23:[35, 55, 36], Operations: ['41-5=36']
Exploring Operation: 36-35=1, Resulting Numbers: [55, 1]
Generated Node #0,2,0: 23:[55, 1] Operation: 36-35=1
Exploring Operation: 35+36=71, Resulting Numbers: [55, 71]
Generated Node #0,2,1: 23:[55, 71] Operation: 35+36=71
Exploring Operation: 35+55=90, Resulting Numbers: [36, 90]
Generated Node #0,2,2: 23:[36, 90] Operation: 35+55=90
Exploring Operation: 55-36=19, Resulting Numbers: [35, 19]
Generated Node #0,2,3: 23:[35, 19] Operation: 55-36=19
Exploring Operation: 55-35=20, Resulting Numbers: [36, 20]
Generated Node #0,2,4: 23:[36, 20] Operation: 55-35=20
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 23:[35, 19], Operations: ['41-5=36', '55-36=19']
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,23 unequal: No Solution
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,23 unequal: No Solution
No 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: 23:[36, 20], Operations: ['41-5=36', '55-35=20']
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,23 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,23 unequal: No Solution
No 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: 23:[55, 1], Operations: ['41-5=36', '36-35=1']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,23 unequal: No Solution
No 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: 23:[55, 71], Operations: ['41-5=36', '35+36=71']
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 55*71=3905, Resulting Numbers: [3905]
3905,23 unequal: No Solution
Exploring Operation: 55+71=126, Resulting Numbers: [126]
126,23 unequal: No Solution
No 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: 23:[36, 90], Operations: ['41-5=36', '35+55=90']
Exploring Operation: 36+90=126, Resulting Numbers: [126]
126,23 unequal: No Solution
Exploring Operation: 36*90=3240, Resulting Numbers: [3240]
3240,23 unequal: No Solution
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,23 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: 23:[41, 55, 30], Operations: ['35-5=30']
Exploring Operation: 41+30=71, Resulting Numbers: [55, 71]
Generated Node #0,3,0: 23:[55, 71] Operation: 41+30=71
Exploring Operation: 41+55=96, Resulting Numbers: [30, 96]
Generated Node #0,3,1: 23:[30, 96] Operation: 41+55=96
Exploring Operation: 55-30=25, Resulting Numbers: [41, 25]
Generated Node #0,3,2: 23:[41, 25] Operation: 55-30=25
Exploring Operation: 41-30=11, Resulting Numbers: [55, 11]
Generated Node #0,3,3: 23:[55, 11] Operation: 41-30=11
Exploring Operation: 55-41=14, Resulting Numbers: [30, 14]
Generated Node #0,3,4: 23:[30, 14] Operation: 55-41=14
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 23:[30, 14], Operations: ['35-5=30', '55-41=14']
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,23 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,23 unequal: No Solution
No 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: 23:[41, 25], Operations: ['35-5=30', '55-30=25']
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,23 unequal: No Solution
No 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: 23:[55, 11], Operations: ['35-5=30', '41-30=11']
Exploring Operation: 55*11=605, Resulting Numbers: [605]
605,23 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,23 unequal: No Solution
No 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: 23:[55, 71], Operations: ['35-5=30', '41+30=71']
Exploring Operation: 55+71=126, Resulting Numbers: [126]
126,23 unequal: No Solution
Exploring Operation: 55*71=3905, Resulting Numbers: [3905]
3905,23 unequal: No Solution
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,23 unequal: No Solution
No 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: 23:[30, 96], Operations: ['35-5=30', '41+55=96']
Exploring Operation: 30+96=126, Resulting Numbers: [126]
126,23 unequal: No Solution
Exploring Operation: 30*96=2880, Resulting Numbers: [2880]
2880,23 unequal: No Solution
Exploring Operation: 96-30=66, Resulting Numbers: [66]
66,23 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 |
[
44,
38,
88,
84
] | 78 | [
"44+38=82",
"88-84=4",
"82-4=78"
] | Current State: 78:[44, 38, 88, 84], Operations: []
Exploring Operation: 44+38=82, Resulting Numbers: [88, 84, 82]
Generated Node #2: [88, 84, 82] from Operation: 44+38=82
Current State: 78:[88, 84, 82], Operations: ['44+38=82']
Exploring Operation: 88-84=4, Resulting Numbers: [82, 4]
Generated Node #3: [82, 4] from Operation: 88-84=4
Current State: 78:[82, 4], Operations: ['44+38=82', '88-84=4']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[44, 38, 88, 84], Operations: []
Exploring Operation: 88/44=2, Resulting Numbers: [38, 84, 2]
Generated Node #0,0: 78:[38, 84, 2] Operation: 88/44=2
Exploring Operation: 88-44=44, Resulting Numbers: [38, 84, 44]
Generated Node #0,1: 78:[38, 84, 44] Operation: 88-44=44
Exploring Operation: 88-84=4, Resulting Numbers: [44, 38, 4]
Generated Node #0,2: 78:[44, 38, 4] Operation: 88-84=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[38, 84, 2], Operations: ['88/44=2']
Exploring Operation: 84-38=46, Resulting Numbers: [2, 46]
Generated Node #0,0,0: 78:[2, 46] Operation: 84-38=46
Exploring Operation: 84/2=42, Resulting Numbers: [38, 42]
Generated Node #0,0,1: 78:[38, 42] Operation: 84/2=42
Exploring Operation: 84-2=82, Resulting Numbers: [38, 82]
Generated Node #0,0,2: 78:[38, 82] Operation: 84-2=82
Moving to Node #0,0,1
Current State: 78:[38, 42], Operations: ['88/44=2', '84/2=42']
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 38+42=80, Resulting Numbers: [80]
80,78 unequal: No Solution
Exploring Operation: 38*42=1596, Resulting Numbers: [1596]
1596,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[38, 82], Operations: ['88/44=2', '84-2=82']
Exploring Operation: 38+82=120, Resulting Numbers: [120]
120,78 unequal: No Solution
Exploring Operation: 38*82=3116, Resulting Numbers: [3116]
3116,78 unequal: No Solution
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[2, 46], Operations: ['88/44=2', '84-38=46']
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,78 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[44, 38, 4], Operations: ['88-84=4']
Exploring Operation: 44/4=11, Resulting Numbers: [38, 11]
Generated Node #0,2,0: 78:[38, 11] Operation: 44/4=11
Exploring Operation: 44-38=6, Resulting Numbers: [4, 6]
Generated Node #0,2,1: 78:[4, 6] Operation: 44-38=6
Exploring Operation: 44-4=40, Resulting Numbers: [38, 40]
Generated Node #0,2,2: 78:[38, 40] Operation: 44-4=40
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 78:[4, 6], Operations: ['88-84=4', '44-38=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,78 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,78 unequal: No Solution
No 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: 78:[38, 40], Operations: ['88-84=4', '44-4=40']
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[44, 38, 88, 84], Operations: []
Exploring Operation: 88-84=4, Resulting Numbers: [44, 38, 4]
Generated Node #0,2: 78:[44, 38, 4] Operation: 88-84=4
Moving to Node #0,2
Current State: 78:[44, 38, 4], Operations: ['88-84=4']
Exploring Operation: 44-4=40, Resulting Numbers: [38, 40]
Generated Node #0,2,2: 78:[38, 40] Operation: 44-4=40
Moving to Node #0,2,2
Current State: 78:[38, 40], Operations: ['88-84=4', '44-4=40']
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
38,
11,
51,
1
] | 100 | [
"38+11=49",
"51*1=51",
"49+51=100"
] | Current State: 100:[38, 11, 51, 1], Operations: []
Exploring Operation: 38+11=49, Resulting Numbers: [51, 1, 49]
Generated Node #2: [51, 1, 49] from Operation: 38+11=49
Current State: 100:[51, 1, 49], Operations: ['38+11=49']
Exploring Operation: 51*1=51, Resulting Numbers: [49, 51]
Generated Node #3: [49, 51] from Operation: 51*1=51
Current State: 100:[49, 51], Operations: ['38+11=49', '51*1=51']
Exploring Operation: 49+51=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[38, 11, 51, 1], Operations: []
Exploring Operation: 38+11=49, Resulting Numbers: [51, 1, 49]
Generated Node #0,0: 100:[51, 1, 49] Operation: 38+11=49
Exploring Operation: 38-11=27, Resulting Numbers: [51, 1, 27]
Generated Node #0,1: 100:[51, 1, 27] Operation: 38-11=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[51, 1, 49], Operations: ['38+11=49']
Exploring Operation: 51-1=50, Resulting Numbers: [49, 50]
Generated Node #0,0,0: 100:[49, 50] Operation: 51-1=50
Exploring Operation: 51+49=100, Resulting Numbers: [1, 100]
Generated Node #0,0,1: 100:[1, 100] Operation: 51+49=100
Moving to Node #0,0,0
Current State: 100:[49, 50], Operations: ['38+11=49', '51-1=50']
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 49+50=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[1, 100], Operations: ['38+11=49', '51+49=100']
Exploring Operation: 100/1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[38, 11, 51, 1], Operations: []
Exploring Operation: 38+11=49, Resulting Numbers: [51, 1, 49]
Generated Node #0,0: 100:[51, 1, 49] Operation: 38+11=49
Moving to Node #0,0
Current State: 100:[51, 1, 49], Operations: ['38+11=49']
Exploring Operation: 51+49=100, Resulting Numbers: [1, 100]
Generated Node #0,0,1: 100:[1, 100] Operation: 51+49=100
Moving to Node #0,0,1
Current State: 100:[1, 100], Operations: ['38+11=49', '51+49=100']
Exploring Operation: 100/1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
47,
78,
7,
33
] | 80 | [
"47-33=14",
"14/7=2",
"78+2=80"
] | Current State: 80:[47, 78, 7, 33], Operations: []
Exploring Operation: 47-33=14, Resulting Numbers: [78, 7, 14]
Generated Node #2: [78, 7, 14] from Operation: 47-33=14
Current State: 80:[78, 7, 14], Operations: ['47-33=14']
Exploring Operation: 14/7=2, Resulting Numbers: [78, 2]
Generated Node #3: [78, 2] from Operation: 14/7=2
Current State: 80:[78, 2], Operations: ['47-33=14', '14/7=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[47, 78, 7, 33], Operations: []
Exploring Operation: 47-33=14, Resulting Numbers: [78, 7, 14]
Generated Node #0,0: 80:[78, 7, 14] Operation: 47-33=14
Exploring Operation: 47+33=80, Resulting Numbers: [78, 7, 80]
Generated Node #0,1: 80:[78, 7, 80] Operation: 47+33=80
Exploring Operation: 7+33=40, Resulting Numbers: [47, 78, 40]
Generated Node #0,2: 80:[47, 78, 40] Operation: 7+33=40
Exploring Operation: 47-7=40, Resulting Numbers: [78, 33, 40]
Generated Node #0,3: 80:[78, 33, 40] Operation: 47-7=40
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[78, 7, 80], Operations: ['47+33=80']
Exploring Operation: 78-7=71, Resulting Numbers: [80, 71]
Generated Node #0,1,0: 80:[80, 71] Operation: 78-7=71
Exploring Operation: 7+80=87, Resulting Numbers: [78, 87]
Generated Node #0,1,1: 80:[78, 87] Operation: 7+80=87
Exploring Operation: 78+7=85, Resulting Numbers: [80, 85]
Generated Node #0,1,2: 80:[80, 85] Operation: 78+7=85
Exploring Operation: 80-78=2, Resulting Numbers: [7, 2]
Generated Node #0,1,3: 80:[7, 2] Operation: 80-78=2
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 80:[7, 2], Operations: ['47+33=80', '80-78=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 80:[80, 85], Operations: ['47+33=80', '78+7=85']
Exploring Operation: 80*85=6800, Resulting Numbers: [6800]
6800,80 unequal: No Solution
Exploring Operation: 80+85=165, Resulting Numbers: [165]
165,80 unequal: No Solution
Exploring Operation: 85-80=5, Resulting Numbers: [5]
5,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[80, 71], Operations: ['47+33=80', '78-7=71']
Exploring Operation: 80+71=151, Resulting Numbers: [151]
151,80 unequal: No Solution
Exploring Operation: 80*71=5680, Resulting Numbers: [5680]
5680,80 unequal: No Solution
Exploring Operation: 80-71=9, Resulting Numbers: [9]
9,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[78, 87], Operations: ['47+33=80', '7+80=87']
Exploring Operation: 78*87=6786, Resulting Numbers: [6786]
6786,80 unequal: No Solution
Exploring Operation: 87-78=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 78+87=165, Resulting Numbers: [165]
165,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[78, 7, 14], Operations: ['47-33=14']
Exploring Operation: 14-7=7, Resulting Numbers: [78, 7]
Generated Node #0,0,0: 80:[78, 7] Operation: 14-7=7
Exploring Operation: 78+7=85, Resulting Numbers: [14, 85]
Generated Node #0,0,1: 80:[14, 85] Operation: 78+7=85
Exploring Operation: 7+14=21, Resulting Numbers: [78, 21]
Generated Node #0,0,2: 80:[78, 21] Operation: 7+14=21
Exploring Operation: 14/7=2, Resulting Numbers: [78, 2]
Generated Node #0,0,3: 80:[78, 2] Operation: 14/7=2
Moving to Node #0,0,3
Current State: 80:[78, 2], Operations: ['47-33=14', '14/7=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[47, 78, 7, 33], Operations: []
Exploring Operation: 47-33=14, Resulting Numbers: [78, 7, 14]
Generated Node #0,0: 80:[78, 7, 14] Operation: 47-33=14
Moving to Node #0,0
Current State: 80:[78, 7, 14], Operations: ['47-33=14']
Exploring Operation: 14/7=2, Resulting Numbers: [78, 2]
Generated Node #0,0,3: 80:[78, 2] Operation: 14/7=2
Moving to Node #0,0,3
Current State: 80:[78, 2], Operations: ['47-33=14', '14/7=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
96,
40,
6,
88
] | 88 | [
"96-88=8",
"6*8=48",
"40+48=88"
] | Current State: 88:[96, 40, 6, 88], Operations: []
Exploring Operation: 96-88=8, Resulting Numbers: [40, 6, 8]
Generated Node #2: [40, 6, 8] from Operation: 96-88=8
Current State: 88:[40, 6, 8], Operations: ['96-88=8']
Exploring Operation: 6*8=48, Resulting Numbers: [40, 48]
Generated Node #3: [40, 48] from Operation: 6*8=48
Current State: 88:[40, 48], Operations: ['96-88=8', '6*8=48']
Exploring Operation: 40+48=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[96, 40, 6, 88], Operations: []
Exploring Operation: 96-6=90, Resulting Numbers: [40, 88, 90]
Generated Node #0,0: 88:[40, 88, 90] Operation: 96-6=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[40, 88, 90], Operations: ['96-6=90']
Exploring Operation: 90-88=2, Resulting Numbers: [40, 2]
Generated Node #0,0,0: 88:[40, 2] Operation: 90-88=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[40, 2], Operations: ['96-6=90', '90-88=2']
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,88 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 |
[
14,
33,
96,
48
] | 95 | [
"14+33=47",
"96-48=48",
"47+48=95"
] | Current State: 95:[14, 33, 96, 48], Operations: []
Exploring Operation: 14+33=47, Resulting Numbers: [96, 48, 47]
Generated Node #2: [96, 48, 47] from Operation: 14+33=47
Current State: 95:[96, 48, 47], Operations: ['14+33=47']
Exploring Operation: 96-48=48, Resulting Numbers: [47, 48]
Generated Node #3: [47, 48] from Operation: 96-48=48
Current State: 95:[47, 48], Operations: ['14+33=47', '96-48=48']
Exploring Operation: 47+48=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[14, 33, 96, 48], Operations: []
Exploring Operation: 33+48=81, Resulting Numbers: [14, 96, 81]
Generated Node #0,0: 95:[14, 96, 81] Operation: 33+48=81
Exploring Operation: 48-33=15, Resulting Numbers: [14, 96, 15]
Generated Node #0,1: 95:[14, 96, 15] Operation: 48-33=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[14, 96, 15], Operations: ['48-33=15']
Exploring Operation: 14+15=29, Resulting Numbers: [96, 29]
Generated Node #0,1,0: 95:[96, 29] Operation: 14+15=29
Exploring Operation: 15-14=1, Resulting Numbers: [96, 1]
Generated Node #0,1,1: 95:[96, 1] Operation: 15-14=1
Moving to Node #0,1,1
Current State: 95:[96, 1], Operations: ['48-33=15', '15-14=1']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[14, 33, 96, 48], Operations: []
Exploring Operation: 48-33=15, Resulting Numbers: [14, 96, 15]
Generated Node #0,1: 95:[14, 96, 15] Operation: 48-33=15
Moving to Node #0,1
Current State: 95:[14, 96, 15], Operations: ['48-33=15']
Exploring Operation: 15-14=1, Resulting Numbers: [96, 1]
Generated Node #0,1,1: 95:[96, 1] Operation: 15-14=1
Moving to Node #0,1,1
Current State: 95:[96, 1], Operations: ['48-33=15', '15-14=1']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
51,
46,
44,
2
] | 100 | [
"51*2=102",
"46-44=2",
"102-2=100"
] | Current State: 100:[51, 46, 44, 2], Operations: []
Exploring Operation: 51*2=102, Resulting Numbers: [46, 44, 102]
Generated Node #2: [46, 44, 102] from Operation: 51*2=102
Current State: 100:[46, 44, 102], Operations: ['51*2=102']
Exploring Operation: 46-44=2, Resulting Numbers: [102, 2]
Generated Node #3: [102, 2] from Operation: 46-44=2
Current State: 100:[102, 2], Operations: ['51*2=102', '46-44=2']
Exploring Operation: 102-2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[51, 46, 44, 2], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [51, 2, 2]
Generated Node #0,0: 100:[51, 2, 2] Operation: 46-44=2
Exploring Operation: 51-46=5, Resulting Numbers: [44, 2, 5]
Generated Node #0,1: 100:[44, 2, 5] Operation: 51-46=5
Exploring Operation: 51-44=7, Resulting Numbers: [46, 2, 7]
Generated Node #0,2: 100:[46, 2, 7] Operation: 51-44=7
Exploring Operation: 44/2=22, Resulting Numbers: [51, 46, 22]
Generated Node #0,3: 100:[51, 46, 22] Operation: 44/2=22
Moving to Node #0,0
Current State: 100:[51, 2, 2], Operations: ['46-44=2']
Exploring Operation: 51-2=49, Resulting Numbers: [2, 49]
Generated Node #0,0,0: 100:[2, 49] Operation: 51-2=49
Exploring Operation: 2+2=4, Resulting Numbers: [51, 4]
Generated Node #0,0,1: 100:[51, 4] Operation: 2+2=4
Exploring Operation: 51-2=49, Resulting Numbers: [2, 49]
Generated Node #0,0,2: 100:[2, 49] Operation: 51-2=49
Exploring Operation: 2*2=4, Resulting Numbers: [51, 4]
Generated Node #0,0,3: 100:[51, 4] Operation: 2*2=4
Moving to Node #0,2
Current State: 100:[46, 2, 7], Operations: ['51-44=7']
Exploring Operation: 46+2=48, Resulting Numbers: [7, 48]
Generated Node #0,2,0: 100:[7, 48] Operation: 46+2=48
Exploring Operation: 46/2=23, Resulting Numbers: [7, 23]
Generated Node #0,2,1: 100:[7, 23] Operation: 46/2=23
Exploring Operation: 7-2=5, Resulting Numbers: [46, 5]
Generated Node #0,2,2: 100:[46, 5] Operation: 7-2=5
Exploring Operation: 46+7=53, Resulting Numbers: [2, 53]
Generated Node #0,2,3: 100:[2, 53] Operation: 46+7=53
Moving to Node #0,1
Current State: 100:[44, 2, 5], Operations: ['51-46=5']
Exploring Operation: 2*5=10, Resulting Numbers: [44, 10]
Generated Node #0,1,0: 100:[44, 10] Operation: 2*5=10
Exploring Operation: 44/2=22, Resulting Numbers: [5, 22]
Generated Node #0,1,1: 100:[5, 22] Operation: 44/2=22
Exploring Operation: 44+5=49, Resulting Numbers: [2, 49]
Generated Node #0,1,2: 100:[2, 49] Operation: 44+5=49
Exploring Operation: 44+2=46, Resulting Numbers: [5, 46]
Generated Node #0,1,3: 100:[5, 46] Operation: 44+2=46
Moving to Node #0,3
Current State: 100:[51, 46, 22], Operations: ['44/2=22']
Exploring Operation: 46-22=24, Resulting Numbers: [51, 24]
Generated Node #0,3,0: 100:[51, 24] Operation: 46-22=24
Exploring Operation: 51-46=5, Resulting Numbers: [22, 5]
Generated Node #0,3,1: 100:[22, 5] Operation: 51-46=5
Exploring Operation: 51+46=97, Resulting Numbers: [22, 97]
Generated Node #0,3,2: 100:[22, 97] Operation: 51+46=97
Exploring Operation: 51-22=29, Resulting Numbers: [46, 29]
Generated Node #0,3,3: 100:[46, 29] Operation: 51-22=29
Moving to Node #0,0,0
Current State: 100:[2, 49], Operations: ['46-44=2', '51-2=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,100 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,100 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[2, 49], Operations: ['46-44=2', '51-2=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,100 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,100 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[51, 4], Operations: ['46-44=2', '2+2=4']
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,100 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,100 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[51, 4], Operations: ['46-44=2', '2*2=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,100 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,100 unequal: No Solution
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[2, 49], Operations: ['51-46=5', '44+5=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,100 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,100 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Moving to Node #0,3,1
Current State: 100:[22, 5], Operations: ['44/2=22', '51-46=5']
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,100 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,100 unequal: No Solution
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,100 unequal: No Solution
Moving to Node #0,3,0
Current State: 100:[51, 24], Operations: ['44/2=22', '46-22=24']
Exploring Operation: 51*24=1224, Resulting Numbers: [1224]
1224,100 unequal: No Solution
Exploring Operation: 51+24=75, Resulting Numbers: [75]
75,100 unequal: No Solution
Exploring Operation: 51-24=27, Resulting Numbers: [27]
27,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[5, 22], Operations: ['51-46=5', '44/2=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,100 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,100 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,100 unequal: No Solution
Moving to Node #0,2,3
Current State: 100:[2, 53], Operations: ['51-44=7', '46+7=53']
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,100 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[7, 23], Operations: ['51-44=7', '46/2=23']
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,100 unequal: No Solution
Moving to Node #0,1,3
Current State: 100:[5, 46], Operations: ['51-46=5', '44+2=46']
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,100 unequal: No Solution
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,100 unequal: No Solution
Moving to Node #0,2,0
Current State: 100:[7, 48], Operations: ['51-44=7', '46+2=48']
Exploring Operation: 7*48=336, Resulting Numbers: [336]
336,100 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,100 unequal: No Solution
Exploring Operation: 7+48=55, Resulting Numbers: [55]
55,100 unequal: No Solution
Moving to Node #0,2,2
Current State: 100:[46, 5], Operations: ['51-44=7', '7-2=5']
Exploring Operation: 46*5=230, Resulting Numbers: [230]
230,100 unequal: No Solution
Exploring Operation: 46+5=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,100 unequal: No Solution
Moving to Node #0,3,2
Current State: 100:[22, 97], Operations: ['44/2=22', '51+46=97']
Exploring Operation: 97-22=75, Resulting Numbers: [75]
75,100 unequal: No Solution
Exploring Operation: 22+97=119, Resulting Numbers: [119]
119,100 unequal: No Solution
Exploring Operation: 22*97=2134, Resulting Numbers: [2134]
2134,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[44, 10], Operations: ['51-46=5', '2*5=10']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,100 unequal: No Solution
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,100 unequal: No Solution
Moving to Node #0,3,3
Current State: 100:[46, 29], Operations: ['44/2=22', '51-22=29']
Exploring Operation: 46*29=1334, Resulting Numbers: [1334]
1334,100 unequal: No Solution
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,100 unequal: No Solution
Exploring Operation: 46+29=75, Resulting Numbers: [75]
75,100 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
2,
53,
13,
91
] | 39 | [
"2*91=182",
"182/13=14",
"53-14=39"
] | Current State: 39:[2, 53, 13, 91], Operations: []
Exploring Operation: 2*91=182, Resulting Numbers: [53, 13, 182]
Generated Node #2: [53, 13, 182] from Operation: 2*91=182
Current State: 39:[53, 13, 182], Operations: ['2*91=182']
Exploring Operation: 182/13=14, Resulting Numbers: [53, 14]
Generated Node #3: [53, 14] from Operation: 182/13=14
Current State: 39:[53, 14], Operations: ['2*91=182', '182/13=14']
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[2, 53, 13, 91], Operations: []
Exploring Operation: 91-13=78, Resulting Numbers: [2, 53, 78]
Generated Node #0,0: 39:[2, 53, 78] Operation: 91-13=78
Exploring Operation: 91-53=38, Resulting Numbers: [2, 13, 38]
Generated Node #0,1: 39:[2, 13, 38] Operation: 91-53=38
Exploring Operation: 53-13=40, Resulting Numbers: [2, 91, 40]
Generated Node #0,2: 39:[2, 91, 40] Operation: 53-13=40
Exploring Operation: 91/13=7, Resulting Numbers: [2, 53, 7]
Generated Node #0,3: 39:[2, 53, 7] Operation: 91/13=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[2, 13, 38], Operations: ['91-53=38']
Exploring Operation: 38-2=36, Resulting Numbers: [13, 36]
Generated Node #0,1,0: 39:[13, 36] Operation: 38-2=36
Exploring Operation: 13-2=11, Resulting Numbers: [38, 11]
Generated Node #0,1,1: 39:[38, 11] Operation: 13-2=11
Exploring Operation: 2+13=15, Resulting Numbers: [38, 15]
Generated Node #0,1,2: 39:[38, 15] Operation: 2+13=15
Exploring Operation: 2+38=40, Resulting Numbers: [13, 40]
Generated Node #0,1,3: 39:[13, 40] Operation: 2+38=40
Moving to Node #0,1,3
Current State: 39:[13, 40], Operations: ['91-53=38', '2+38=40']
Exploring Operation: 13*40=520, Resulting Numbers: [520]
520,39 unequal: No Solution
Exploring Operation: 13+40=53, Resulting Numbers: [53]
53,39 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[38, 11], Operations: ['91-53=38', '13-2=11']
Exploring Operation: 38*11=418, Resulting Numbers: [418]
418,39 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[13, 36], Operations: ['91-53=38', '38-2=36']
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,39 unequal: No Solution
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,39 unequal: No Solution
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[38, 15], Operations: ['91-53=38', '2+13=15']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,39 unequal: No Solution
Exploring Operation: 38+15=53, Resulting Numbers: [53]
53,39 unequal: No Solution
Exploring Operation: 38*15=570, Resulting Numbers: [570]
570,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,3
Current State: 39:[2, 53, 7], Operations: ['91/13=7']
Exploring Operation: 53-2=51, Resulting Numbers: [7, 51]
Generated Node #0,3,0: 39:[7, 51] Operation: 53-2=51
Exploring Operation: 53-7=46, Resulting Numbers: [2, 46]
Generated Node #0,3,1: 39:[2, 46] Operation: 53-7=46
Exploring Operation: 2*7=14, Resulting Numbers: [53, 14]
Generated Node #0,3,2: 39:[53, 14] Operation: 2*7=14
Exploring Operation: 7-2=5, Resulting Numbers: [53, 5]
Generated Node #0,3,3: 39:[53, 5] Operation: 7-2=5
Moving to Node #0,3,1
Current State: 39:[2, 46], Operations: ['91/13=7', '53-7=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,39 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,39 unequal: No Solution
Moving to Node #0,3,2
Current State: 39:[53, 14], Operations: ['91/13=7', '2*7=14']
Exploring Operation: 53*14=742, Resulting Numbers: [742]
742,39 unequal: No Solution
Exploring Operation: 53+14=67, Resulting Numbers: [67]
67,39 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[2, 53, 13, 91], Operations: []
Exploring Operation: 91/13=7, Resulting Numbers: [2, 53, 7]
Generated Node #0,3: 39:[2, 53, 7] Operation: 91/13=7
Moving to Node #0,3
Current State: 39:[2, 53, 7], Operations: ['91/13=7']
Exploring Operation: 2*7=14, Resulting Numbers: [53, 14]
Generated Node #0,3,2: 39:[53, 14] Operation: 2*7=14
Moving to Node #0,3,2
Current State: 39:[53, 14], Operations: ['91/13=7', '2*7=14']
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | mult_heuristic |
[
30,
48,
88,
50
] | 56 | [
"48-30=18",
"88-50=38",
"18+38=56"
] | Current State: 56:[30, 48, 88, 50], Operations: []
Exploring Operation: 48-30=18, Resulting Numbers: [88, 50, 18]
Generated Node #2: [88, 50, 18] from Operation: 48-30=18
Current State: 56:[88, 50, 18], Operations: ['48-30=18']
Exploring Operation: 88-50=38, Resulting Numbers: [18, 38]
Generated Node #3: [18, 38] from Operation: 88-50=38
Current State: 56:[18, 38], Operations: ['48-30=18', '88-50=38']
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[30, 48, 88, 50], Operations: []
Exploring Operation: 88-30=58, Resulting Numbers: [48, 50, 58]
Generated Node #0,0: 56:[48, 50, 58] Operation: 88-30=58
Exploring Operation: 88-48=40, Resulting Numbers: [30, 50, 40]
Generated Node #0,1: 56:[30, 50, 40] Operation: 88-48=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[48, 50, 58], Operations: ['88-30=58']
Exploring Operation: 58-48=10, Resulting Numbers: [50, 10]
Generated Node #0,0,0: 56:[50, 10] Operation: 58-48=10
Exploring Operation: 50-48=2, Resulting Numbers: [58, 2]
Generated Node #0,0,1: 56:[58, 2] Operation: 50-48=2
Moving to Node #0,0,1
Current State: 56:[58, 2], Operations: ['88-30=58', '50-48=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[30, 48, 88, 50], Operations: []
Exploring Operation: 88-30=58, Resulting Numbers: [48, 50, 58]
Generated Node #0,0: 56:[48, 50, 58] Operation: 88-30=58
Moving to Node #0,0
Current State: 56:[48, 50, 58], Operations: ['88-30=58']
Exploring Operation: 50-48=2, Resulting Numbers: [58, 2]
Generated Node #0,0,1: 56:[58, 2] Operation: 50-48=2
Moving to Node #0,0,1
Current State: 56:[58, 2], Operations: ['88-30=58', '50-48=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
68,
80,
36,
30
] | 75 | [
"68-36=32",
"80*30=2400",
"2400/32=75"
] | Current State: 75:[68, 80, 36, 30], Operations: []
Exploring Operation: 68-36=32, Resulting Numbers: [80, 30, 32]
Generated Node #2: [80, 30, 32] from Operation: 68-36=32
Current State: 75:[80, 30, 32], Operations: ['68-36=32']
Exploring Operation: 80*30=2400, Resulting Numbers: [32, 2400]
Generated Node #3: [32, 2400] from Operation: 80*30=2400
Current State: 75:[32, 2400], Operations: ['68-36=32', '80*30=2400']
Exploring Operation: 2400/32=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[68, 80, 36, 30], Operations: []
Exploring Operation: 36+30=66, Resulting Numbers: [68, 80, 66]
Generated Node #0,0: 75:[68, 80, 66] Operation: 36+30=66
Exploring Operation: 36-30=6, Resulting Numbers: [68, 80, 6]
Generated Node #0,1: 75:[68, 80, 6] Operation: 36-30=6
Exploring Operation: 80-68=12, Resulting Numbers: [36, 30, 12]
Generated Node #0,2: 75:[36, 30, 12] Operation: 80-68=12
Exploring Operation: 68-30=38, Resulting Numbers: [80, 36, 38]
Generated Node #0,3: 75:[80, 36, 38] Operation: 68-30=38
Exploring Operation: 68-36=32, Resulting Numbers: [80, 30, 32]
Generated Node #0,4: 75:[80, 30, 32] Operation: 68-36=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[68, 80, 6], Operations: ['36-30=6']
Exploring Operation: 68-6=62, Resulting Numbers: [80, 62]
Generated Node #0,1,0: 75:[80, 62] Operation: 68-6=62
Exploring Operation: 80+6=86, Resulting Numbers: [68, 86]
Generated Node #0,1,1: 75:[68, 86] Operation: 80+6=86
Exploring Operation: 80-68=12, Resulting Numbers: [6, 12]
Generated Node #0,1,2: 75:[6, 12] Operation: 80-68=12
Exploring Operation: 68+6=74, Resulting Numbers: [80, 74]
Generated Node #0,1,3: 75:[80, 74] Operation: 68+6=74
Exploring Operation: 80-6=74, Resulting Numbers: [68, 74]
Generated Node #0,1,4: 75:[68, 74] Operation: 80-6=74
Moving to Node #0,1,2
Current State: 75:[6, 12], Operations: ['36-30=6', '80-68=12']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,75 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Moving to Node #0,1,3
Current State: 75:[80, 74], Operations: ['36-30=6', '68+6=74']
Exploring Operation: 80-74=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 80+74=154, Resulting Numbers: [154]
154,75 unequal: No Solution
Exploring Operation: 80*74=5920, Resulting Numbers: [5920]
5920,75 unequal: No Solution
Moving to Node #0,1,4
Current State: 75:[68, 74], Operations: ['36-30=6', '80-6=74']
Exploring Operation: 74-68=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 68*74=5032, Resulting Numbers: [5032]
5032,75 unequal: No Solution
Exploring Operation: 68+74=142, Resulting Numbers: [142]
142,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[80, 62], Operations: ['36-30=6', '68-6=62']
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 80*62=4960, Resulting Numbers: [4960]
4960,75 unequal: No Solution
Exploring Operation: 80+62=142, Resulting Numbers: [142]
142,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[68, 86], Operations: ['36-30=6', '80+6=86']
Exploring Operation: 68*86=5848, Resulting Numbers: [5848]
5848,75 unequal: No Solution
Exploring Operation: 86-68=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 68+86=154, Resulting Numbers: [154]
154,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[80, 30, 32], Operations: ['68-36=32']
Exploring Operation: 80-32=48, Resulting Numbers: [30, 48]
Generated Node #0,4,0: 75:[30, 48] Operation: 80-32=48
Exploring Operation: 30+32=62, Resulting Numbers: [80, 62]
Generated Node #0,4,1: 75:[80, 62] Operation: 30+32=62
Exploring Operation: 80-30=50, Resulting Numbers: [32, 50]
Generated Node #0,4,2: 75:[32, 50] Operation: 80-30=50
Exploring Operation: 80+30=110, Resulting Numbers: [32, 110]
Generated Node #0,4,3: 75:[32, 110] Operation: 80+30=110
Exploring Operation: 32-30=2, Resulting Numbers: [80, 2]
Generated Node #0,4,4: 75:[80, 2] Operation: 32-30=2
Moving to Node #0,4,4
Current State: 75:[80, 2], Operations: ['68-36=32', '32-30=2']
Exploring Operation: 80*2=160, Resulting Numbers: [160]
160,75 unequal: No Solution
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Moving to Node #0,4,1
Current State: 75:[80, 62], Operations: ['68-36=32', '30+32=62']
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 80+62=142, Resulting Numbers: [142]
142,75 unequal: No Solution
Exploring Operation: 80*62=4960, Resulting Numbers: [4960]
4960,75 unequal: No Solution
Moving to Node #0,4,0
Current State: 75:[30, 48], Operations: ['68-36=32', '80-32=48']
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 30+48=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Exploring Operation: 30*48=1440, Resulting Numbers: [1440]
1440,75 unequal: No Solution
Moving to Node #0,4,2
Current State: 75:[32, 50], Operations: ['68-36=32', '80-30=50']
Exploring Operation: 32+50=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 32*50=1600, Resulting Numbers: [1600]
1600,75 unequal: No Solution
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Moving to Node #0,4,3
Current State: 75:[32, 110], Operations: ['68-36=32', '80+30=110']
Exploring Operation: 32+110=142, Resulting Numbers: [142]
142,75 unequal: No Solution
Exploring Operation: 110-32=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Exploring Operation: 32*110=3520, Resulting Numbers: [3520]
3520,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[36, 30, 12], Operations: ['80-68=12']
Exploring Operation: 30-12=18, Resulting Numbers: [36, 18]
Generated Node #0,2,0: 75:[36, 18] Operation: 30-12=18
Exploring Operation: 36+30=66, Resulting Numbers: [12, 66]
Generated Node #0,2,1: 75:[12, 66] Operation: 36+30=66
Exploring Operation: 36/12=3, Resulting Numbers: [30, 3]
Generated Node #0,2,2: 75:[30, 3] Operation: 36/12=3
Exploring Operation: 36-30=6, Resulting Numbers: [12, 6]
Generated Node #0,2,3: 75:[12, 6] Operation: 36-30=6
Exploring Operation: 36-12=24, Resulting Numbers: [30, 24]
Generated Node #0,2,4: 75:[30, 24] Operation: 36-12=24
Moving to Node #0,2,3
Current State: 75:[12, 6], Operations: ['80-68=12', '36-30=6']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[30, 3], Operations: ['80-68=12', '36/12=3']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,75 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Moving to Node #0,2,4
Current State: 75:[30, 24], Operations: ['80-68=12', '36-12=24']
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,75 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[12, 66], Operations: ['80-68=12', '36+30=66']
Exploring Operation: 12*66=792, Resulting Numbers: [792]
792,75 unequal: No Solution
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 12+66=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[36, 18], Operations: ['80-68=12', '30-12=18']
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 36*18=648, Resulting Numbers: [648]
648,75 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[68, 80, 66], Operations: ['36+30=66']
Exploring Operation: 68+66=134, Resulting Numbers: [80, 134]
Generated Node #0,0,0: 75:[80, 134] Operation: 68+66=134
Exploring Operation: 80-68=12, Resulting Numbers: [66, 12]
Generated Node #0,0,1: 75:[66, 12] Operation: 80-68=12
Exploring Operation: 80+66=146, Resulting Numbers: [68, 146]
Generated Node #0,0,2: 75:[68, 146] Operation: 80+66=146
Exploring Operation: 80-66=14, Resulting Numbers: [68, 14]
Generated Node #0,0,3: 75:[68, 14] Operation: 80-66=14
Exploring Operation: 68-66=2, Resulting Numbers: [80, 2]
Generated Node #0,0,4: 75:[80, 2] Operation: 68-66=2
Moving to Node #0,0,4
Current State: 75:[80, 2], Operations: ['36+30=66', '68-66=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 80*2=160, Resulting Numbers: [160]
160,75 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[68, 14], Operations: ['36+30=66', '80-66=14']
Exploring Operation: 68*14=952, Resulting Numbers: [952]
952,75 unequal: No Solution
Exploring Operation: 68-14=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 68+14=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[66, 12], Operations: ['36+30=66', '80-68=12']
Exploring Operation: 66+12=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Exploring Operation: 66*12=792, Resulting Numbers: [792]
792,75 unequal: No Solution
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[80, 134], Operations: ['36+30=66', '68+66=134']
Exploring Operation: 134-80=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 80*134=10720, Resulting Numbers: [10720]
10720,75 unequal: No Solution
Exploring Operation: 80+134=214, Resulting Numbers: [214]
214,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[68, 146], Operations: ['36+30=66', '80+66=146']
Exploring Operation: 68+146=214, Resulting Numbers: [214]
214,75 unequal: No Solution
Exploring Operation: 68*146=9928, Resulting Numbers: [9928]
9928,75 unequal: No Solution
Exploring Operation: 146-68=78, Resulting Numbers: [78]
78,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[80, 36, 38], Operations: ['68-30=38']
Exploring Operation: 36+38=74, Resulting Numbers: [80, 74]
Generated Node #0,3,0: 75:[80, 74] Operation: 36+38=74
Exploring Operation: 80-36=44, Resulting Numbers: [38, 44]
Generated Node #0,3,1: 75:[38, 44] Operation: 80-36=44
Exploring Operation: 38-36=2, Resulting Numbers: [80, 2]
Generated Node #0,3,2: 75:[80, 2] Operation: 38-36=2
Exploring Operation: 80-38=42, Resulting Numbers: [36, 42]
Generated Node #0,3,3: 75:[36, 42] Operation: 80-38=42
Exploring Operation: 80+36=116, Resulting Numbers: [38, 116]
Generated Node #0,3,4: 75:[38, 116] Operation: 80+36=116
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 75:[80, 74], Operations: ['68-30=38', '36+38=74']
Exploring Operation: 80*74=5920, Resulting Numbers: [5920]
5920,75 unequal: No Solution
Exploring Operation: 80+74=154, Resulting Numbers: [154]
154,75 unequal: No Solution
Exploring Operation: 80-74=6, Resulting Numbers: [6]
6,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 75:[80, 2], Operations: ['68-30=38', '38-36=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 80*2=160, Resulting Numbers: [160]
160,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 75:[36, 42], Operations: ['68-30=38', '80-38=42']
Exploring Operation: 36*42=1512, Resulting Numbers: [1512]
1512,75 unequal: No Solution
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 36+42=78, Resulting Numbers: [78]
78,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 75:[38, 44], Operations: ['68-30=38', '80-36=44']
Exploring Operation: 38*44=1672, Resulting Numbers: [1672]
1672,75 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 75:[38, 116], Operations: ['68-30=38', '80+36=116']
Exploring Operation: 116-38=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Exploring Operation: 38+116=154, Resulting Numbers: [154]
154,75 unequal: No Solution
Exploring Operation: 38*116=4408, Resulting Numbers: [4408]
4408,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
24,
16,
56,
92
] | 85 | [
"24-16=8",
"56/8=7",
"92-7=85"
] | Current State: 85:[24, 16, 56, 92], Operations: []
Exploring Operation: 24-16=8, Resulting Numbers: [56, 92, 8]
Generated Node #2: [56, 92, 8] from Operation: 24-16=8
Current State: 85:[56, 92, 8], Operations: ['24-16=8']
Exploring Operation: 56/8=7, Resulting Numbers: [92, 7]
Generated Node #3: [92, 7] from Operation: 56/8=7
Current State: 85:[92, 7], Operations: ['24-16=8', '56/8=7']
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[24, 16, 56, 92], Operations: []
Exploring Operation: 24+56=80, Resulting Numbers: [16, 92, 80]
Generated Node #0,0: 85:[16, 92, 80] Operation: 24+56=80
Exploring Operation: 16+56=72, Resulting Numbers: [24, 92, 72]
Generated Node #0,1: 85:[24, 92, 72] Operation: 16+56=72
Exploring Operation: 56-24=32, Resulting Numbers: [16, 92, 32]
Generated Node #0,2: 85:[16, 92, 32] Operation: 56-24=32
Moving to Node #0,0
Current State: 85:[16, 92, 80], Operations: ['24+56=80']
Exploring Operation: 92-16=76, Resulting Numbers: [80, 76]
Generated Node #0,0,0: 85:[80, 76] Operation: 92-16=76
Exploring Operation: 92-80=12, Resulting Numbers: [16, 12]
Generated Node #0,0,1: 85:[16, 12] Operation: 92-80=12
Exploring Operation: 80/16=5, Resulting Numbers: [92, 5]
Generated Node #0,0,2: 85:[92, 5] Operation: 80/16=5
Moving to Node #0,2
Current State: 85:[16, 92, 32], Operations: ['56-24=32']
Exploring Operation: 92-16=76, Resulting Numbers: [32, 76]
Generated Node #0,2,0: 85:[32, 76] Operation: 92-16=76
Exploring Operation: 32/16=2, Resulting Numbers: [92, 2]
Generated Node #0,2,1: 85:[92, 2] Operation: 32/16=2
Exploring Operation: 32-16=16, Resulting Numbers: [92, 16]
Generated Node #0,2,2: 85:[92, 16] Operation: 32-16=16
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 85:[92, 16], Operations: ['56-24=32', '32-16=16']
Exploring Operation: 92+16=108, Resulting Numbers: [108]
108,85 unequal: No Solution
Exploring Operation: 92*16=1472, Resulting Numbers: [1472]
1472,85 unequal: No Solution
Exploring Operation: 92-16=76, Resulting Numbers: [76]
76,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[92, 2], Operations: ['56-24=32', '32/16=2']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,85 unequal: No Solution
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,85 unequal: No Solution
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[32, 76], Operations: ['56-24=32', '92-16=76']
Exploring Operation: 32+76=108, Resulting Numbers: [108]
108,85 unequal: No Solution
Exploring Operation: 76-32=44, Resulting Numbers: [44]
44,85 unequal: No Solution
Exploring Operation: 32*76=2432, Resulting Numbers: [2432]
2432,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 85:[24, 92, 72], Operations: ['16+56=72']
Exploring Operation: 72/24=3, Resulting Numbers: [92, 3]
Generated Node #0,1,0: 85:[92, 3] Operation: 72/24=3
Exploring Operation: 92-72=20, Resulting Numbers: [24, 20]
Generated Node #0,1,1: 85:[24, 20] Operation: 92-72=20
Exploring Operation: 24+72=96, Resulting Numbers: [92, 96]
Generated Node #0,1,2: 85:[92, 96] Operation: 24+72=96
Moving to Node #0,0,1
Current State: 85:[16, 12], Operations: ['24+56=80', '92-80=12']
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,85 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[92, 5], Operations: ['24+56=80', '80/16=5']
Exploring Operation: 92*5=460, Resulting Numbers: [460]
460,85 unequal: No Solution
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,85 unequal: No Solution
Exploring Operation: 92+5=97, Resulting Numbers: [97]
97,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[92, 3], Operations: ['16+56=72', '72/24=3']
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,85 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[24, 20], Operations: ['16+56=72', '92-72=20']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,85 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[80, 76], Operations: ['24+56=80', '92-16=76']
Exploring Operation: 80*76=6080, Resulting Numbers: [6080]
6080,85 unequal: No Solution
Exploring Operation: 80-76=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 80+76=156, Resulting Numbers: [156]
156,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[92, 96], Operations: ['16+56=72', '24+72=96']
Exploring Operation: 96-92=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 92*96=8832, Resulting Numbers: [8832]
8832,85 unequal: No Solution
Exploring Operation: 92+96=188, Resulting Numbers: [188]
188,85 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
3,
24,
21,
47
] | 98 | [
"3*24=72",
"47-21=26",
"72+26=98"
] | Current State: 98:[3, 24, 21, 47], Operations: []
Exploring Operation: 3*24=72, Resulting Numbers: [21, 47, 72]
Generated Node #2: [21, 47, 72] from Operation: 3*24=72
Current State: 98:[21, 47, 72], Operations: ['3*24=72']
Exploring Operation: 47-21=26, Resulting Numbers: [72, 26]
Generated Node #3: [72, 26] from Operation: 47-21=26
Current State: 98:[72, 26], Operations: ['3*24=72', '47-21=26']
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[3, 24, 21, 47], Operations: []
Exploring Operation: 24-21=3, Resulting Numbers: [3, 47, 3]
Generated Node #0,0: 98:[3, 47, 3] Operation: 24-21=3
Exploring Operation: 24+21=45, Resulting Numbers: [3, 47, 45]
Generated Node #0,1: 98:[3, 47, 45] Operation: 24+21=45
Exploring Operation: 21/3=7, Resulting Numbers: [24, 47, 7]
Generated Node #0,2: 98:[24, 47, 7] Operation: 21/3=7
Exploring Operation: 24/3=8, Resulting Numbers: [21, 47, 8]
Generated Node #0,3: 98:[21, 47, 8] Operation: 24/3=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[3, 47, 3], Operations: ['24-21=3']
Exploring Operation: 3+47=50, Resulting Numbers: [3, 50]
Generated Node #0,0,0: 98:[3, 50] Operation: 3+47=50
Exploring Operation: 3+3=6, Resulting Numbers: [47, 6]
Generated Node #0,0,1: 98:[47, 6] Operation: 3+3=6
Exploring Operation: 47+3=50, Resulting Numbers: [3, 50]
Generated Node #0,0,2: 98:[3, 50] Operation: 47+3=50
Exploring Operation: 3/3=1, Resulting Numbers: [47, 1]
Generated Node #0,0,3: 98:[47, 1] Operation: 3/3=1
Moving to Node #0,0,0
Current State: 98:[3, 50], Operations: ['24-21=3', '3+47=50']
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,98 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[3, 50], Operations: ['24-21=3', '47+3=50']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[47, 1], Operations: ['24-21=3', '3/3=1']
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[47, 6], Operations: ['24-21=3', '3+3=6']
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 47*6=282, Resulting Numbers: [282]
282,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[3, 47, 45], Operations: ['24+21=45']
Exploring Operation: 45/3=15, Resulting Numbers: [47, 15]
Generated Node #0,1,0: 98:[47, 15] Operation: 45/3=15
Exploring Operation: 47-45=2, Resulting Numbers: [3, 2]
Generated Node #0,1,1: 98:[3, 2] Operation: 47-45=2
Exploring Operation: 3+47=50, Resulting Numbers: [45, 50]
Generated Node #0,1,2: 98:[45, 50] Operation: 3+47=50
Exploring Operation: 3+45=48, Resulting Numbers: [47, 48]
Generated Node #0,1,3: 98:[47, 48] Operation: 3+45=48
Moving to Node #0,1,1
Current State: 98:[3, 2], Operations: ['24+21=45', '47-45=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[47, 48], Operations: ['24+21=45', '3+45=48']
Exploring Operation: 47+48=95, Resulting Numbers: [95]
95,98 unequal: No Solution
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 47*48=2256, Resulting Numbers: [2256]
2256,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[47, 15], Operations: ['24+21=45', '45/3=15']
Exploring Operation: 47*15=705, Resulting Numbers: [705]
705,98 unequal: No Solution
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 47+15=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[45, 50], Operations: ['24+21=45', '3+47=50']
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 45*50=2250, Resulting Numbers: [2250]
2250,98 unequal: No Solution
Exploring Operation: 45+50=95, Resulting Numbers: [95]
95,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[21, 47, 8], Operations: ['24/3=8']
Exploring Operation: 47+8=55, Resulting Numbers: [21, 55]
Generated Node #0,3,0: 98:[21, 55] Operation: 47+8=55
Exploring Operation: 21+8=29, Resulting Numbers: [47, 29]
Generated Node #0,3,1: 98:[47, 29] Operation: 21+8=29
Exploring Operation: 47-21=26, Resulting Numbers: [8, 26]
Generated Node #0,3,2: 98:[8, 26] Operation: 47-21=26
Exploring Operation: 21-8=13, Resulting Numbers: [47, 13]
Generated Node #0,3,3: 98:[47, 13] Operation: 21-8=13
Moving to Node #0,3,3
Current State: 98:[47, 13], Operations: ['24/3=8', '21-8=13']
Exploring Operation: 47+13=60, Resulting Numbers: [60]
60,98 unequal: No Solution
Exploring Operation: 47*13=611, Resulting Numbers: [611]
611,98 unequal: No Solution
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Moving to Node #0,3,2
Current State: 98:[8, 26], Operations: ['24/3=8', '47-21=26']
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,98 unequal: No Solution
Moving to Node #0,3,0
Current State: 98:[21, 55], Operations: ['24/3=8', '47+8=55']
Exploring Operation: 21*55=1155, Resulting Numbers: [1155]
1155,98 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 21+55=76, Resulting Numbers: [76]
76,98 unequal: No Solution
Moving to Node #0,3,1
Current State: 98:[47, 29], Operations: ['24/3=8', '21+8=29']
Exploring Operation: 47*29=1363, Resulting Numbers: [1363]
1363,98 unequal: No Solution
Exploring Operation: 47+29=76, Resulting Numbers: [76]
76,98 unequal: No Solution
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,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
Current State: 98:[24, 47, 7], Operations: ['21/3=7']
Exploring Operation: 47-24=23, Resulting Numbers: [7, 23]
Generated Node #0,2,0: 98:[7, 23] Operation: 47-24=23
Exploring Operation: 24+7=31, Resulting Numbers: [47, 31]
Generated Node #0,2,1: 98:[47, 31] Operation: 24+7=31
Exploring Operation: 47+7=54, Resulting Numbers: [24, 54]
Generated Node #0,2,2: 98:[24, 54] Operation: 47+7=54
Exploring Operation: 24-7=17, Resulting Numbers: [47, 17]
Generated Node #0,2,3: 98:[47, 17] Operation: 24-7=17
Moving to Node #0,2,3
Current State: 98:[47, 17], Operations: ['21/3=7', '24-7=17']
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,98 unequal: No Solution
Exploring Operation: 47*17=799, Resulting Numbers: [799]
799,98 unequal: No Solution
Exploring Operation: 47+17=64, Resulting Numbers: [64]
64,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[7, 23], Operations: ['21/3=7', '47-24=23']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,98 unequal: No Solution
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[24, 54], Operations: ['21/3=7', '47+7=54']
Exploring Operation: 24*54=1296, Resulting Numbers: [1296]
1296,98 unequal: No Solution
Exploring Operation: 24+54=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[47, 31], Operations: ['21/3=7', '24+7=31']
Exploring Operation: 47+31=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 47*31=1457, Resulting Numbers: [1457]
1457,98 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 |
[
26,
54,
14,
80
] | 38 | [
"54-26=28",
"80-14=66",
"66-28=38"
] | Current State: 38:[26, 54, 14, 80], Operations: []
Exploring Operation: 54-26=28, Resulting Numbers: [14, 80, 28]
Generated Node #2: [14, 80, 28] from Operation: 54-26=28
Current State: 38:[14, 80, 28], Operations: ['54-26=28']
Exploring Operation: 80-14=66, Resulting Numbers: [28, 66]
Generated Node #3: [28, 66] from Operation: 80-14=66
Current State: 38:[28, 66], Operations: ['54-26=28', '80-14=66']
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[26, 54, 14, 80], Operations: []
Exploring Operation: 54-26=28, Resulting Numbers: [14, 80, 28]
Generated Node #0,0: 38:[14, 80, 28] Operation: 54-26=28
Exploring Operation: 80-26=54, Resulting Numbers: [54, 14, 54]
Generated Node #0,1: 38:[54, 14, 54] Operation: 80-26=54
Exploring Operation: 54-14=40, Resulting Numbers: [26, 80, 40]
Generated Node #0,2: 38:[26, 80, 40] Operation: 54-14=40
Exploring Operation: 80-54=26, Resulting Numbers: [26, 14, 26]
Generated Node #0,3: 38:[26, 14, 26] Operation: 80-54=26
Exploring Operation: 80-14=66, Resulting Numbers: [26, 54, 66]
Generated Node #0,4: 38:[26, 54, 66] Operation: 80-14=66
Moving to Node #0,3
Current State: 38:[26, 14, 26], Operations: ['80-54=26']
Exploring Operation: 26+14=40, Resulting Numbers: [26, 40]
Generated Node #0,3,0: 38:[26, 40] Operation: 26+14=40
Exploring Operation: 26-14=12, Resulting Numbers: [26, 12]
Generated Node #0,3,1: 38:[26, 12] Operation: 26-14=12
Exploring Operation: 26-26=0, Resulting Numbers: [14, 0]
Generated Node #0,3,2: 38:[14, 0] Operation: 26-26=0
Exploring Operation: 14+26=40, Resulting Numbers: [26, 40]
Generated Node #0,3,3: 38:[26, 40] Operation: 14+26=40
Exploring Operation: 26/26=1, Resulting Numbers: [14, 1]
Generated Node #0,3,4: 38:[14, 1] Operation: 26/26=1
Moving to Node #0,1
Current State: 38:[54, 14, 54], Operations: ['80-26=54']
Exploring Operation: 54-14=40, Resulting Numbers: [54, 40]
Generated Node #0,1,0: 38:[54, 40] Operation: 54-14=40
Exploring Operation: 54/54=1, Resulting Numbers: [14, 1]
Generated Node #0,1,1: 38:[14, 1] Operation: 54/54=1
Exploring Operation: 54-14=40, Resulting Numbers: [54, 40]
Generated Node #0,1,2: 38:[54, 40] Operation: 54-14=40
Exploring Operation: 54+14=68, Resulting Numbers: [54, 68]
Generated Node #0,1,3: 38:[54, 68] Operation: 54+14=68
Exploring Operation: 54-54=0, Resulting Numbers: [14, 0]
Generated Node #0,1,4: 38:[14, 0] Operation: 54-54=0
Moving to Node #0,2
Current State: 38:[26, 80, 40], Operations: ['54-14=40']
Exploring Operation: 80-26=54, Resulting Numbers: [40, 54]
Generated Node #0,2,0: 38:[40, 54] Operation: 80-26=54
Exploring Operation: 80/40=2, Resulting Numbers: [26, 2]
Generated Node #0,2,1: 38:[26, 2] Operation: 80/40=2
Exploring Operation: 26+80=106, Resulting Numbers: [40, 106]
Generated Node #0,2,2: 38:[40, 106] Operation: 26+80=106
Exploring Operation: 40-26=14, Resulting Numbers: [80, 14]
Generated Node #0,2,3: 38:[80, 14] Operation: 40-26=14
Exploring Operation: 80-40=40, Resulting Numbers: [26, 40]
Generated Node #0,2,4: 38:[26, 40] Operation: 80-40=40
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 38:[26, 2], Operations: ['54-14=40', '80/40=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,38 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 38:[26, 40], Operations: ['54-14=40', '80-40=40']
Exploring Operation: 26*40=1040, Resulting Numbers: [1040]
1040,38 unequal: No Solution
Exploring Operation: 26+40=66, Resulting Numbers: [66]
66,38 unequal: No Solution
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 38:[40, 54], Operations: ['54-14=40', '80-26=54']
Exploring Operation: 40*54=2160, Resulting Numbers: [2160]
2160,38 unequal: No Solution
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 40+54=94, Resulting Numbers: [94]
94,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 38:[80, 14], Operations: ['54-14=40', '40-26=14']
Exploring Operation: 80*14=1120, Resulting Numbers: [1120]
1120,38 unequal: No Solution
Exploring Operation: 80+14=94, Resulting Numbers: [94]
94,38 unequal: No Solution
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 38:[40, 106], Operations: ['54-14=40', '26+80=106']
Exploring Operation: 40*106=4240, Resulting Numbers: [4240]
4240,38 unequal: No Solution
Exploring Operation: 40+106=146, Resulting Numbers: [146]
146,38 unequal: No Solution
Exploring Operation: 106-40=66, Resulting Numbers: [66]
66,38 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: 38:[26, 54, 66], Operations: ['80-14=66']
Exploring Operation: 66-26=40, Resulting Numbers: [54, 40]
Generated Node #0,4,0: 38:[54, 40] Operation: 66-26=40
Exploring Operation: 26+54=80, Resulting Numbers: [66, 80]
Generated Node #0,4,1: 38:[66, 80] Operation: 26+54=80
Exploring Operation: 26+66=92, Resulting Numbers: [54, 92]
Generated Node #0,4,2: 38:[54, 92] Operation: 26+66=92
Exploring Operation: 54-26=28, Resulting Numbers: [66, 28]
Generated Node #0,4,3: 38:[66, 28] Operation: 54-26=28
Exploring Operation: 66-54=12, Resulting Numbers: [26, 12]
Generated Node #0,4,4: 38:[26, 12] Operation: 66-54=12
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 38:[26, 12], Operations: ['80-14=66', '66-54=12']
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,38 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[26, 54, 14, 80], Operations: []
Exploring Operation: 80-14=66, Resulting Numbers: [26, 54, 66]
Generated Node #0,4: 38:[26, 54, 66] Operation: 80-14=66
Moving to Node #0,4
Current State: 38:[26, 54, 66], Operations: ['80-14=66']
Exploring Operation: 66-54=12, Resulting Numbers: [26, 12]
Generated Node #0,4,4: 38:[26, 12] Operation: 66-54=12
Moving to Node #0,4,4
Current State: 38:[26, 12], Operations: ['80-14=66', '66-54=12']
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_5 | mult_heuristic |
[
28,
3,
82,
65
] | 42 | [
"28-3=25",
"82-65=17",
"25+17=42"
] | Current State: 42:[28, 3, 82, 65], Operations: []
Exploring Operation: 28-3=25, Resulting Numbers: [82, 65, 25]
Generated Node #2: [82, 65, 25] from Operation: 28-3=25
Current State: 42:[82, 65, 25], Operations: ['28-3=25']
Exploring Operation: 82-65=17, Resulting Numbers: [25, 17]
Generated Node #3: [25, 17] from Operation: 82-65=17
Current State: 42:[25, 17], Operations: ['28-3=25', '82-65=17']
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[28, 3, 82, 65], Operations: []
Exploring Operation: 82-28=54, Resulting Numbers: [3, 65, 54]
Generated Node #0,0: 42:[3, 65, 54] Operation: 82-28=54
Exploring Operation: 65-28=37, Resulting Numbers: [3, 82, 37]
Generated Node #0,1: 42:[3, 82, 37] Operation: 65-28=37
Exploring Operation: 82-65=17, Resulting Numbers: [28, 3, 17]
Generated Node #0,2: 42:[28, 3, 17] Operation: 82-65=17
Moving to Node #0,2
Current State: 42:[28, 3, 17], Operations: ['82-65=17']
Exploring Operation: 28-17=11, Resulting Numbers: [3, 11]
Generated Node #0,2,0: 42:[3, 11] Operation: 28-17=11
Exploring Operation: 28-3=25, Resulting Numbers: [17, 25]
Generated Node #0,2,1: 42:[17, 25] Operation: 28-3=25
Exploring Operation: 28+17=45, Resulting Numbers: [3, 45]
Generated Node #0,2,2: 42:[3, 45] Operation: 28+17=45
Moving to Node #0,0
Current State: 42:[3, 65, 54], Operations: ['82-28=54']
Exploring Operation: 65-3=62, Resulting Numbers: [54, 62]
Generated Node #0,0,0: 42:[54, 62] Operation: 65-3=62
Exploring Operation: 65-54=11, Resulting Numbers: [3, 11]
Generated Node #0,0,1: 42:[3, 11] Operation: 65-54=11
Exploring Operation: 54/3=18, Resulting Numbers: [65, 18]
Generated Node #0,0,2: 42:[65, 18] Operation: 54/3=18
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[3, 11], Operations: ['82-28=54', '65-54=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,42 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 42:[65, 18], Operations: ['82-28=54', '54/3=18']
Exploring Operation: 65+18=83, Resulting Numbers: [83]
83,42 unequal: No Solution
Exploring Operation: 65*18=1170, Resulting Numbers: [1170]
1170,42 unequal: No Solution
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[54, 62], Operations: ['82-28=54', '65-3=62']
Exploring Operation: 54*62=3348, Resulting Numbers: [3348]
3348,42 unequal: No Solution
Exploring Operation: 54+62=116, Resulting Numbers: [116]
116,42 unequal: No Solution
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,42 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: 42:[3, 82, 37], Operations: ['65-28=37']
Exploring Operation: 82-37=45, Resulting Numbers: [3, 45]
Generated Node #0,1,0: 42:[3, 45] Operation: 82-37=45
Exploring Operation: 3+37=40, Resulting Numbers: [82, 40]
Generated Node #0,1,1: 42:[82, 40] Operation: 3+37=40
Exploring Operation: 82-3=79, Resulting Numbers: [37, 79]
Generated Node #0,1,2: 42:[37, 79] Operation: 82-3=79
Moving to Node #0,2,0
Current State: 42:[3, 11], Operations: ['82-65=17', '28-17=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,42 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[3, 45], Operations: ['82-65=17', '28+17=45']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[28, 3, 82, 65], Operations: []
Exploring Operation: 82-65=17, Resulting Numbers: [28, 3, 17]
Generated Node #0,2: 42:[28, 3, 17] Operation: 82-65=17
Moving to Node #0,2
Current State: 42:[28, 3, 17], Operations: ['82-65=17']
Exploring Operation: 28+17=45, Resulting Numbers: [3, 45]
Generated Node #0,2,2: 42:[3, 45] Operation: 28+17=45
Moving to Node #0,2,2
Current State: 42:[3, 45], Operations: ['82-65=17', '28+17=45']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.973958 | hs_3 | mult_heuristic |
[
81,
82,
80,
4
] | 75 | [
"82-81=1",
"80-4=76",
"76-1=75"
] | Current State: 75:[81, 82, 80, 4], Operations: []
Exploring Operation: 82-81=1, Resulting Numbers: [80, 4, 1]
Generated Node #2: [80, 4, 1] from Operation: 82-81=1
Current State: 75:[80, 4, 1], Operations: ['82-81=1']
Exploring Operation: 80-4=76, Resulting Numbers: [1, 76]
Generated Node #3: [1, 76] from Operation: 80-4=76
Current State: 75:[1, 76], Operations: ['82-81=1', '80-4=76']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[81, 82, 80, 4], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [81, 4, 2]
Generated Node #0,0: 75:[81, 4, 2] Operation: 82-80=2
Exploring Operation: 82-81=1, Resulting Numbers: [80, 4, 1]
Generated Node #0,1: 75:[80, 4, 1] Operation: 82-81=1
Exploring Operation: 81-80=1, Resulting Numbers: [82, 4, 1]
Generated Node #0,2: 75:[82, 4, 1] Operation: 81-80=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[81, 4, 2], Operations: ['82-80=2']
Exploring Operation: 81-4=77, Resulting Numbers: [2, 77]
Generated Node #0,0,0: 75:[2, 77] Operation: 81-4=77
Exploring Operation: 4+2=6, Resulting Numbers: [81, 6]
Generated Node #0,0,1: 75:[81, 6] Operation: 4+2=6
Exploring Operation: 81-2=79, Resulting Numbers: [4, 79]
Generated Node #0,0,2: 75:[4, 79] Operation: 81-2=79
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[2, 77], Operations: ['82-80=2', '81-4=77']
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[81, 82, 80, 4], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [81, 4, 2]
Generated Node #0,0: 75:[81, 4, 2] Operation: 82-80=2
Moving to Node #0,0
Current State: 75:[81, 4, 2], Operations: ['82-80=2']
Exploring Operation: 81-4=77, Resulting Numbers: [2, 77]
Generated Node #0,0,0: 75:[2, 77] Operation: 81-4=77
Moving to Node #0,0,0
Current State: 75:[2, 77], Operations: ['82-80=2', '81-4=77']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
21,
65,
90,
15
] | 70 | [
"90+15=105",
"105/21=5",
"65+5=70"
] | Current State: 70:[21, 65, 90, 15], Operations: []
Exploring Operation: 90+15=105, Resulting Numbers: [21, 65, 105]
Generated Node #2: [21, 65, 105] from Operation: 90+15=105
Current State: 70:[21, 65, 105], Operations: ['90+15=105']
Exploring Operation: 105/21=5, Resulting Numbers: [65, 5]
Generated Node #3: [65, 5] from Operation: 105/21=5
Current State: 70:[65, 5], Operations: ['90+15=105', '105/21=5']
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[21, 65, 90, 15], Operations: []
Exploring Operation: 90-21=69, Resulting Numbers: [65, 15, 69]
Generated Node #0,0: 70:[65, 15, 69] Operation: 90-21=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[65, 15, 69], Operations: ['90-21=69']
Exploring Operation: 69-65=4, Resulting Numbers: [15, 4]
Generated Node #0,0,0: 70:[15, 4] Operation: 69-65=4
Moving to Node #0,0,0
Current State: 70:[15, 4], Operations: ['90-21=69', '69-65=4']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
54,
70,
35,
10
] | 12 | [
"54-35=19",
"70/10=7",
"19-7=12"
] | Current State: 12:[54, 70, 35, 10], Operations: []
Exploring Operation: 54-35=19, Resulting Numbers: [70, 10, 19]
Generated Node #2: [70, 10, 19] from Operation: 54-35=19
Current State: 12:[70, 10, 19], Operations: ['54-35=19']
Exploring Operation: 70/10=7, Resulting Numbers: [19, 7]
Generated Node #3: [19, 7] from Operation: 70/10=7
Current State: 12:[19, 7], Operations: ['54-35=19', '70/10=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[54, 70, 35, 10], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [54, 10, 2]
Generated Node #0,0: 12:[54, 10, 2] Operation: 70/35=2
Exploring Operation: 70-54=16, Resulting Numbers: [35, 10, 16]
Generated Node #0,1: 12:[35, 10, 16] Operation: 70-54=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[35, 10, 16], Operations: ['70-54=16']
Exploring Operation: 35-16=19, Resulting Numbers: [10, 19]
Generated Node #0,1,0: 12:[10, 19] Operation: 35-16=19
Exploring Operation: 35-10=25, Resulting Numbers: [16, 25]
Generated Node #0,1,1: 12:[16, 25] Operation: 35-10=25
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 12:[10, 19], Operations: ['70-54=16', '35-16=19']
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,12 unequal: No Solution
No 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: 12:[16, 25], Operations: ['70-54=16', '35-10=25']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,12 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: 12:[54, 10, 2], Operations: ['70/35=2']
Exploring Operation: 54-10=44, Resulting Numbers: [2, 44]
Generated Node #0,0,0: 12:[2, 44] Operation: 54-10=44
Exploring Operation: 54/2=27, Resulting Numbers: [10, 27]
Generated Node #0,0,1: 12:[10, 27] Operation: 54/2=27
Moving to Node #0,0,1
Current State: 12:[10, 27], Operations: ['70/35=2', '54/2=27']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,12 unequal: No Solution
Exploring Operation: 10+27=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[2, 44], Operations: ['70/35=2', '54-10=44']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,12 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
37,
18,
48,
2
] | 43 | [
"37-18=19",
"48/2=24",
"19+24=43"
] | Current State: 43:[37, 18, 48, 2], Operations: []
Exploring Operation: 37-18=19, Resulting Numbers: [48, 2, 19]
Generated Node #2: [48, 2, 19] from Operation: 37-18=19
Current State: 43:[48, 2, 19], Operations: ['37-18=19']
Exploring Operation: 48/2=24, Resulting Numbers: [19, 24]
Generated Node #3: [19, 24] from Operation: 48/2=24
Current State: 43:[19, 24], Operations: ['37-18=19', '48/2=24']
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[37, 18, 48, 2], Operations: []
Exploring Operation: 18+2=20, Resulting Numbers: [37, 48, 20]
Generated Node #0,0: 43:[37, 48, 20] Operation: 18+2=20
Exploring Operation: 48-2=46, Resulting Numbers: [37, 18, 46]
Generated Node #0,1: 43:[37, 18, 46] Operation: 48-2=46
Exploring Operation: 37+2=39, Resulting Numbers: [18, 48, 39]
Generated Node #0,2: 43:[18, 48, 39] Operation: 37+2=39
Exploring Operation: 18*2=36, Resulting Numbers: [37, 48, 36]
Generated Node #0,3: 43:[37, 48, 36] Operation: 18*2=36
Moving to Node #0,3
Current State: 43:[37, 48, 36], Operations: ['18*2=36']
Exploring Operation: 48-37=11, Resulting Numbers: [36, 11]
Generated Node #0,3,0: 43:[36, 11] Operation: 48-37=11
Exploring Operation: 37+36=73, Resulting Numbers: [48, 73]
Generated Node #0,3,1: 43:[48, 73] Operation: 37+36=73
Exploring Operation: 48-36=12, Resulting Numbers: [37, 12]
Generated Node #0,3,2: 43:[37, 12] Operation: 48-36=12
Exploring Operation: 37-36=1, Resulting Numbers: [48, 1]
Generated Node #0,3,3: 43:[48, 1] Operation: 37-36=1
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 43:[48, 73], Operations: ['18*2=36', '37+36=73']
Exploring Operation: 48*73=3504, Resulting Numbers: [3504]
3504,43 unequal: No Solution
Exploring Operation: 73-48=25, Resulting Numbers: [25]
25,43 unequal: No Solution
Exploring Operation: 48+73=121, Resulting Numbers: [121]
121,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 43:[37, 12], Operations: ['18*2=36', '48-36=12']
Exploring Operation: 37*12=444, Resulting Numbers: [444]
444,43 unequal: No Solution
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,43 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 43:[36, 11], Operations: ['18*2=36', '48-37=11']
Exploring Operation: 36*11=396, Resulting Numbers: [396]
396,43 unequal: No Solution
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,43 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 43:[48, 1], Operations: ['18*2=36', '37-36=1']
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,43 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Exploring Operation: 48+1=49, Resulting Numbers: [49]
49,43 unequal: No Solution
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,43 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: 43:[37, 18, 46], Operations: ['48-2=46']
Exploring Operation: 37+18=55, Resulting Numbers: [46, 55]
Generated Node #0,1,0: 43:[46, 55] Operation: 37+18=55
Exploring Operation: 46-18=28, Resulting Numbers: [37, 28]
Generated Node #0,1,1: 43:[37, 28] Operation: 46-18=28
Exploring Operation: 37-18=19, Resulting Numbers: [46, 19]
Generated Node #0,1,2: 43:[46, 19] Operation: 37-18=19
Exploring Operation: 18+46=64, Resulting Numbers: [37, 64]
Generated Node #0,1,3: 43:[37, 64] Operation: 18+46=64
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[46, 55], Operations: ['48-2=46', '37+18=55']
Exploring Operation: 46+55=101, Resulting Numbers: [101]
101,43 unequal: No Solution
Exploring Operation: 46*55=2530, Resulting Numbers: [2530]
2530,43 unequal: No Solution
Exploring Operation: 55-46=9, Resulting Numbers: [9]
9,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[37, 28], Operations: ['48-2=46', '46-18=28']
Exploring Operation: 37*28=1036, Resulting Numbers: [1036]
1036,43 unequal: No Solution
Exploring Operation: 37+28=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 43:[46, 19], Operations: ['48-2=46', '37-18=19']
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 46+19=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 46*19=874, Resulting Numbers: [874]
874,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 43:[37, 64], Operations: ['48-2=46', '18+46=64']
Exploring Operation: 37+64=101, Resulting Numbers: [101]
101,43 unequal: No Solution
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 37*64=2368, Resulting Numbers: [2368]
2368,43 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: 43:[37, 48, 20], Operations: ['18+2=20']
Exploring Operation: 37+20=57, Resulting Numbers: [48, 57]
Generated Node #0,0,0: 43:[48, 57] Operation: 37+20=57
Exploring Operation: 48-20=28, Resulting Numbers: [37, 28]
Generated Node #0,0,1: 43:[37, 28] Operation: 48-20=28
Exploring Operation: 37-20=17, Resulting Numbers: [48, 17]
Generated Node #0,0,2: 43:[48, 17] Operation: 37-20=17
Exploring Operation: 48+20=68, Resulting Numbers: [37, 68]
Generated Node #0,0,3: 43:[37, 68] Operation: 48+20=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[48, 57], Operations: ['18+2=20', '37+20=57']
Exploring Operation: 48*57=2736, Resulting Numbers: [2736]
2736,43 unequal: No Solution
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,43 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[37, 28], Operations: ['18+2=20', '48-20=28']
Exploring Operation: 37*28=1036, Resulting Numbers: [1036]
1036,43 unequal: No Solution
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Exploring Operation: 37+28=65, Resulting Numbers: [65]
65,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 43:[48, 17], Operations: ['18+2=20', '37-20=17']
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,43 unequal: No Solution
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 43:[37, 68], Operations: ['18+2=20', '48+20=68']
Exploring Operation: 37+68=105, Resulting Numbers: [105]
105,43 unequal: No Solution
Exploring Operation: 37*68=2516, Resulting Numbers: [2516]
2516,43 unequal: No Solution
Exploring Operation: 68-37=31, Resulting Numbers: [31]
31,43 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: 43:[18, 48, 39], Operations: ['37+2=39']
Exploring Operation: 18+48=66, Resulting Numbers: [39, 66]
Generated Node #0,2,0: 43:[39, 66] Operation: 18+48=66
Exploring Operation: 48-18=30, Resulting Numbers: [39, 30]
Generated Node #0,2,1: 43:[39, 30] Operation: 48-18=30
Exploring Operation: 39-18=21, Resulting Numbers: [48, 21]
Generated Node #0,2,2: 43:[48, 21] Operation: 39-18=21
Exploring Operation: 18+39=57, Resulting Numbers: [48, 57]
Generated Node #0,2,3: 43:[48, 57] Operation: 18+39=57
Moving to Node #0,2,1
Current State: 43:[39, 30], Operations: ['37+2=39', '48-18=30']
Exploring Operation: 39*30=1170, Resulting Numbers: [1170]
1170,43 unequal: No Solution
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,43 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[48, 57], Operations: ['37+2=39', '18+39=57']
Exploring Operation: 48*57=2736, Resulting Numbers: [2736]
2736,43 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[48, 21], Operations: ['37+2=39', '39-18=21']
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 48+21=69, Resulting Numbers: [69]
69,43 unequal: No Solution
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[39, 66], Operations: ['37+2=39', '18+48=66']
Exploring Operation: 39*66=2574, Resulting Numbers: [2574]
2574,43 unequal: No Solution
Exploring Operation: 66-39=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 39+66=105, Resulting Numbers: [105]
105,43 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
86,
47,
20,
60
] | 55 | [
"47*60=2820",
"2820/20=141",
"141-86=55"
] | Current State: 55:[86, 47, 20, 60], Operations: []
Exploring Operation: 47*60=2820, Resulting Numbers: [86, 20, 2820]
Generated Node #2: [86, 20, 2820] from Operation: 47*60=2820
Current State: 55:[86, 20, 2820], Operations: ['47*60=2820']
Exploring Operation: 2820/20=141, Resulting Numbers: [86, 141]
Generated Node #3: [86, 141] from Operation: 2820/20=141
Current State: 55:[86, 141], Operations: ['47*60=2820', '2820/20=141']
Exploring Operation: 141-86=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[86, 47, 20, 60], Operations: []
Exploring Operation: 60/20=3, Resulting Numbers: [86, 47, 3]
Generated Node #0,0: 55:[86, 47, 3] Operation: 60/20=3
Exploring Operation: 86-60=26, Resulting Numbers: [47, 20, 26]
Generated Node #0,1: 55:[47, 20, 26] Operation: 86-60=26
Exploring Operation: 86-47=39, Resulting Numbers: [20, 60, 39]
Generated Node #0,2: 55:[20, 60, 39] Operation: 86-47=39
Exploring Operation: 60-47=13, Resulting Numbers: [86, 20, 13]
Generated Node #0,3: 55:[86, 20, 13] Operation: 60-47=13
Exploring Operation: 86-20=66, Resulting Numbers: [47, 60, 66]
Generated Node #0,4: 55:[47, 60, 66] Operation: 86-20=66
Start Sub Search at level 1: Moving to Node #0,4
Current State: 55:[47, 60, 66], Operations: ['86-20=66']
Exploring Operation: 66-47=19, Resulting Numbers: [60, 19]
Generated Node #0,4,0: 55:[60, 19] Operation: 66-47=19
Exploring Operation: 66-60=6, Resulting Numbers: [47, 6]
Generated Node #0,4,1: 55:[47, 6] Operation: 66-60=6
Exploring Operation: 47+60=107, Resulting Numbers: [66, 107]
Generated Node #0,4,2: 55:[66, 107] Operation: 47+60=107
Exploring Operation: 60-47=13, Resulting Numbers: [66, 13]
Generated Node #0,4,3: 55:[66, 13] Operation: 60-47=13
Exploring Operation: 47+66=113, Resulting Numbers: [60, 113]
Generated Node #0,4,4: 55:[60, 113] Operation: 47+66=113
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 55:[47, 6], Operations: ['86-20=66', '66-60=6']
Exploring Operation: 47*6=282, Resulting Numbers: [282]
282,55 unequal: No Solution
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,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,4,0
Current State: 55:[60, 19], Operations: ['86-20=66', '66-47=19']
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 60+19=79, Resulting Numbers: [79]
79,55 unequal: No Solution
Exploring Operation: 60*19=1140, Resulting Numbers: [1140]
1140,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,4,3
Current State: 55:[66, 13], Operations: ['86-20=66', '60-47=13']
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 66+13=79, Resulting Numbers: [79]
79,55 unequal: No Solution
Exploring Operation: 66*13=858, Resulting Numbers: [858]
858,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,4,2
Current State: 55:[66, 107], Operations: ['86-20=66', '47+60=107']
Exploring Operation: 66+107=173, Resulting Numbers: [173]
173,55 unequal: No Solution
Exploring Operation: 107-66=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 66*107=7062, Resulting Numbers: [7062]
7062,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,4,4
Current State: 55:[60, 113], Operations: ['86-20=66', '47+66=113']
Exploring Operation: 60+113=173, Resulting Numbers: [173]
173,55 unequal: No Solution
Exploring Operation: 60*113=6780, Resulting Numbers: [6780]
6780,55 unequal: No Solution
Exploring Operation: 113-60=53, Resulting Numbers: [53]
53,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,2
Current State: 55:[20, 60, 39], Operations: ['86-47=39']
Exploring Operation: 20+39=59, Resulting Numbers: [60, 59]
Generated Node #0,2,0: 55:[60, 59] Operation: 20+39=59
Exploring Operation: 60-20=40, Resulting Numbers: [39, 40]
Generated Node #0,2,1: 55:[39, 40] Operation: 60-20=40
Exploring Operation: 39-20=19, Resulting Numbers: [60, 19]
Generated Node #0,2,2: 55:[60, 19] Operation: 39-20=19
Exploring Operation: 60/20=3, Resulting Numbers: [39, 3]
Generated Node #0,2,3: 55:[39, 3] Operation: 60/20=3
Exploring Operation: 60-39=21, Resulting Numbers: [20, 21]
Generated Node #0,2,4: 55:[20, 21] Operation: 60-39=21
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 55:[60, 59], Operations: ['86-47=39', '20+39=59']
Exploring Operation: 60*59=3540, Resulting Numbers: [3540]
3540,55 unequal: No Solution
Exploring Operation: 60-59=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 60+59=119, Resulting Numbers: [119]
119,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,2,2
Current State: 55:[60, 19], Operations: ['86-47=39', '39-20=19']
Exploring Operation: 60*19=1140, Resulting Numbers: [1140]
1140,55 unequal: No Solution
Exploring Operation: 60+19=79, Resulting Numbers: [79]
79,55 unequal: No Solution
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,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,2,3
Current State: 55:[39, 3], Operations: ['86-47=39', '60/20=3']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,55 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 39*3=117, Resulting Numbers: [117]
117,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,2,4
Current State: 55:[20, 21], Operations: ['86-47=39', '60-39=21']
Exploring Operation: 20*21=420, Resulting Numbers: [420]
420,55 unequal: No Solution
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,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,2,1
Current State: 55:[39, 40], Operations: ['86-47=39', '60-20=40']
Exploring Operation: 39*40=1560, Resulting Numbers: [1560]
1560,55 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 39+40=79, Resulting Numbers: [79]
79,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:[47, 20, 26], Operations: ['86-60=26']
Exploring Operation: 47+20=67, Resulting Numbers: [26, 67]
Generated Node #0,1,0: 55:[26, 67] Operation: 47+20=67
Exploring Operation: 20+26=46, Resulting Numbers: [47, 46]
Generated Node #0,1,1: 55:[47, 46] Operation: 20+26=46
Exploring Operation: 26-20=6, Resulting Numbers: [47, 6]
Generated Node #0,1,2: 55:[47, 6] Operation: 26-20=6
Exploring Operation: 47+26=73, Resulting Numbers: [20, 73]
Generated Node #0,1,3: 55:[20, 73] Operation: 47+26=73
Exploring Operation: 47-26=21, Resulting Numbers: [20, 21]
Generated Node #0,1,4: 55:[20, 21] Operation: 47-26=21
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 55:[47, 6], Operations: ['86-60=26', '26-20=6']
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 47*6=282, Resulting Numbers: [282]
282,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[47, 46], Operations: ['86-60=26', '20+26=46']
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 47*46=2162, Resulting Numbers: [2162]
2162,55 unequal: No Solution
Exploring Operation: 47+46=93, Resulting Numbers: [93]
93,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 55:[20, 21], Operations: ['86-60=26', '47-26=21']
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 20*21=420, Resulting Numbers: [420]
420,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[26, 67], Operations: ['86-60=26', '47+20=67']
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 26+67=93, Resulting Numbers: [93]
93,55 unequal: No Solution
Exploring Operation: 26*67=1742, Resulting Numbers: [1742]
1742,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 55:[20, 73], Operations: ['86-60=26', '47+26=73']
Exploring Operation: 20+73=93, Resulting Numbers: [93]
93,55 unequal: No Solution
Exploring Operation: 20*73=1460, Resulting Numbers: [1460]
1460,55 unequal: No Solution
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,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,0
Current State: 55:[86, 47, 3], Operations: ['60/20=3']
Exploring Operation: 47-3=44, Resulting Numbers: [86, 44]
Generated Node #0,0,0: 55:[86, 44] Operation: 47-3=44
Exploring Operation: 86+3=89, Resulting Numbers: [47, 89]
Generated Node #0,0,1: 55:[47, 89] Operation: 86+3=89
Exploring Operation: 47+3=50, Resulting Numbers: [86, 50]
Generated Node #0,0,2: 55:[86, 50] Operation: 47+3=50
Exploring Operation: 86-47=39, Resulting Numbers: [3, 39]
Generated Node #0,0,3: 55:[3, 39] Operation: 86-47=39
Exploring Operation: 86-3=83, Resulting Numbers: [47, 83]
Generated Node #0,0,4: 55:[47, 83] Operation: 86-3=83
Moving to Node #0,0,3
Current State: 55:[3, 39], Operations: ['60/20=3', '86-47=39']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,55 unequal: No Solution
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,55 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Moving to Node #0,0,4
Current State: 55:[47, 83], Operations: ['60/20=3', '86-3=83']
Exploring Operation: 47+83=130, Resulting Numbers: [130]
130,55 unequal: No Solution
Exploring Operation: 83-47=36, Resulting Numbers: [36]
36,55 unequal: No Solution
Exploring Operation: 47*83=3901, Resulting Numbers: [3901]
3901,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[86, 50], Operations: ['60/20=3', '47+3=50']
Exploring Operation: 86-50=36, Resulting Numbers: [36]
36,55 unequal: No Solution
Exploring Operation: 86*50=4300, Resulting Numbers: [4300]
4300,55 unequal: No Solution
Exploring Operation: 86+50=136, Resulting Numbers: [136]
136,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[86, 44], Operations: ['60/20=3', '47-3=44']
Exploring Operation: 86-44=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 86*44=3784, Resulting Numbers: [3784]
3784,55 unequal: No Solution
Exploring Operation: 86+44=130, Resulting Numbers: [130]
130,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[47, 89], Operations: ['60/20=3', '86+3=89']
Exploring Operation: 47+89=136, Resulting Numbers: [136]
136,55 unequal: No Solution
Exploring Operation: 89-47=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 47*89=4183, Resulting Numbers: [4183]
4183,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,3
Current State: 55:[86, 20, 13], Operations: ['60-47=13']
Exploring Operation: 86-20=66, Resulting Numbers: [13, 66]
Generated Node #0,3,0: 55:[13, 66] Operation: 86-20=66
Exploring Operation: 86+20=106, Resulting Numbers: [13, 106]
Generated Node #0,3,1: 55:[13, 106] Operation: 86+20=106
Exploring Operation: 86+13=99, Resulting Numbers: [20, 99]
Generated Node #0,3,2: 55:[20, 99] Operation: 86+13=99
Exploring Operation: 20-13=7, Resulting Numbers: [86, 7]
Generated Node #0,3,3: 55:[86, 7] Operation: 20-13=7
Exploring Operation: 86-13=73, Resulting Numbers: [20, 73]
Generated Node #0,3,4: 55:[20, 73] Operation: 86-13=73
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 55:[13, 66], Operations: ['60-47=13', '86-20=66']
Exploring Operation: 13+66=79, Resulting Numbers: [79]
79,55 unequal: No Solution
Exploring Operation: 13*66=858, Resulting Numbers: [858]
858,55 unequal: No Solution
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,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,3,4
Current State: 55:[20, 73], Operations: ['60-47=13', '86-13=73']
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 20+73=93, Resulting Numbers: [93]
93,55 unequal: No Solution
Exploring Operation: 20*73=1460, Resulting Numbers: [1460]
1460,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,3,3
Current State: 55:[86, 7], Operations: ['60-47=13', '20-13=7']
Exploring Operation: 86-7=79, Resulting Numbers: [79]
79,55 unequal: No Solution
Exploring Operation: 86*7=602, Resulting Numbers: [602]
602,55 unequal: No Solution
Exploring Operation: 86+7=93, Resulting Numbers: [93]
93,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,3,1
Current State: 55:[13, 106], Operations: ['60-47=13', '86+20=106']
Exploring Operation: 106-13=93, Resulting Numbers: [93]
93,55 unequal: No Solution
Exploring Operation: 13+106=119, Resulting Numbers: [119]
119,55 unequal: No Solution
Exploring Operation: 13*106=1378, Resulting Numbers: [1378]
1378,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,3,2
Current State: 55:[20, 99], Operations: ['60-47=13', '86+13=99']
Exploring Operation: 20+99=119, Resulting Numbers: [119]
119,55 unequal: No Solution
Exploring Operation: 20*99=1980, Resulting Numbers: [1980]
1980,55 unequal: No Solution
Exploring Operation: 99-20=79, Resulting Numbers: [79]
79,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
30,
65,
9,
74
] | 29 | [
"65+9=74",
"74/74=1",
"30-1=29"
] | Current State: 29:[30, 65, 9, 74], Operations: []
Exploring Operation: 65+9=74, Resulting Numbers: [30, 74, 74]
Generated Node #2: [30, 74, 74] from Operation: 65+9=74
Current State: 29:[30, 74, 74], Operations: ['65+9=74']
Exploring Operation: 74/74=1, Resulting Numbers: [30, 1]
Generated Node #3: [30, 1] from Operation: 74/74=1
Current State: 29:[30, 1], Operations: ['65+9=74', '74/74=1']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[30, 65, 9, 74], Operations: []
Exploring Operation: 74-65=9, Resulting Numbers: [30, 9, 9]
Generated Node #0,0: 29:[30, 9, 9] Operation: 74-65=9
Exploring Operation: 74-30=44, Resulting Numbers: [65, 9, 44]
Generated Node #0,1: 29:[65, 9, 44] Operation: 74-30=44
Exploring Operation: 65-9=56, Resulting Numbers: [30, 74, 56]
Generated Node #0,2: 29:[30, 74, 56] Operation: 65-9=56
Exploring Operation: 65-30=35, Resulting Numbers: [9, 74, 35]
Generated Node #0,3: 29:[9, 74, 35] Operation: 65-30=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[30, 9, 9], Operations: ['74-65=9']
Exploring Operation: 30-9=21, Resulting Numbers: [9, 21]
Generated Node #0,0,0: 29:[9, 21] Operation: 30-9=21
Exploring Operation: 30-9=21, Resulting Numbers: [9, 21]
Generated Node #0,0,1: 29:[9, 21] Operation: 30-9=21
Exploring Operation: 9/9=1, Resulting Numbers: [30, 1]
Generated Node #0,0,2: 29:[30, 1] Operation: 9/9=1
Exploring Operation: 9+9=18, Resulting Numbers: [30, 18]
Generated Node #0,0,3: 29:[30, 18] Operation: 9+9=18
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 29:[30, 18], Operations: ['74-65=9', '9+9=18']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[9, 21], Operations: ['74-65=9', '30-9=21']
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,29 unequal: No Solution
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[9, 21], Operations: ['74-65=9', '30-9=21']
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,29 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 29:[30, 1], Operations: ['74-65=9', '9/9=1']
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[30, 65, 9, 74], Operations: []
Exploring Operation: 74-65=9, Resulting Numbers: [30, 9, 9]
Generated Node #0,0: 29:[30, 9, 9] Operation: 74-65=9
Moving to Node #0,0
Current State: 29:[30, 9, 9], Operations: ['74-65=9']
Exploring Operation: 9/9=1, Resulting Numbers: [30, 1]
Generated Node #0,0,2: 29:[30, 1] Operation: 9/9=1
Moving to Node #0,0,2
Current State: 29:[30, 1], Operations: ['74-65=9', '9/9=1']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_4 | mult_heuristic |
[
82,
75,
39,
26
] | 92 | [
"82+75=157",
"39+26=65",
"157-65=92"
] | Current State: 92:[82, 75, 39, 26], Operations: []
Exploring Operation: 82+75=157, Resulting Numbers: [39, 26, 157]
Generated Node #2: [39, 26, 157] from Operation: 82+75=157
Current State: 92:[39, 26, 157], Operations: ['82+75=157']
Exploring Operation: 39+26=65, Resulting Numbers: [157, 65]
Generated Node #3: [157, 65] from Operation: 39+26=65
Current State: 92:[157, 65], Operations: ['82+75=157', '39+26=65']
Exploring Operation: 157-65=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[82, 75, 39, 26], Operations: []
Exploring Operation: 75-39=36, Resulting Numbers: [82, 26, 36]
Generated Node #0,0: 92:[82, 26, 36] Operation: 75-39=36
Exploring Operation: 75-26=49, Resulting Numbers: [82, 39, 49]
Generated Node #0,1: 92:[82, 39, 49] Operation: 75-26=49
Exploring Operation: 82-75=7, Resulting Numbers: [39, 26, 7]
Generated Node #0,2: 92:[39, 26, 7] Operation: 82-75=7
Exploring Operation: 82-39=43, Resulting Numbers: [75, 26, 43]
Generated Node #0,3: 92:[75, 26, 43] Operation: 82-39=43
Exploring Operation: 75+26=101, Resulting Numbers: [82, 39, 101]
Generated Node #0,4: 92:[82, 39, 101] Operation: 75+26=101
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[39, 26, 7], Operations: ['82-75=7']
Exploring Operation: 39-7=32, Resulting Numbers: [26, 32]
Generated Node #0,2,0: 92:[26, 32] Operation: 39-7=32
Exploring Operation: 26-7=19, Resulting Numbers: [39, 19]
Generated Node #0,2,1: 92:[39, 19] Operation: 26-7=19
Exploring Operation: 39+7=46, Resulting Numbers: [26, 46]
Generated Node #0,2,2: 92:[26, 46] Operation: 39+7=46
Exploring Operation: 39-26=13, Resulting Numbers: [7, 13]
Generated Node #0,2,3: 92:[7, 13] Operation: 39-26=13
Exploring Operation: 26+7=33, Resulting Numbers: [39, 33]
Generated Node #0,2,4: 92:[39, 33] Operation: 26+7=33
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 92:[26, 46], Operations: ['82-75=7', '39+7=46']
Exploring Operation: 26+46=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Exploring Operation: 26*46=1196, Resulting Numbers: [1196]
1196,92 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 92:[39, 19], Operations: ['82-75=7', '26-7=19']
Exploring Operation: 39+19=58, Resulting Numbers: [58]
58,92 unequal: No Solution
Exploring Operation: 39*19=741, Resulting Numbers: [741]
741,92 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 92:[26, 32], Operations: ['82-75=7', '39-7=32']
Exploring Operation: 26*32=832, Resulting Numbers: [832]
832,92 unequal: No Solution
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 26+32=58, Resulting Numbers: [58]
58,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 92:[7, 13], Operations: ['82-75=7', '39-26=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,92 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 92:[39, 33], Operations: ['82-75=7', '26+7=33']
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,92 unequal: No Solution
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[82, 39, 49], Operations: ['75-26=49']
Exploring Operation: 39+49=88, Resulting Numbers: [82, 88]
Generated Node #0,1,0: 92:[82, 88] Operation: 39+49=88
Exploring Operation: 49-39=10, Resulting Numbers: [82, 10]
Generated Node #0,1,1: 92:[82, 10] Operation: 49-39=10
Exploring Operation: 82-49=33, Resulting Numbers: [39, 33]
Generated Node #0,1,2: 92:[39, 33] Operation: 82-49=33
Exploring Operation: 82-39=43, Resulting Numbers: [49, 43]
Generated Node #0,1,3: 92:[49, 43] Operation: 82-39=43
Exploring Operation: 82+39=121, Resulting Numbers: [49, 121]
Generated Node #0,1,4: 92:[49, 121] Operation: 82+39=121
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 92:[49, 43], Operations: ['75-26=49', '82-39=43']
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 49*43=2107, Resulting Numbers: [2107]
2107,92 unequal: No Solution
Exploring Operation: 49+43=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[82, 75, 39, 26], Operations: []
Exploring Operation: 75-26=49, Resulting Numbers: [82, 39, 49]
Generated Node #0,1: 92:[82, 39, 49] Operation: 75-26=49
Moving to Node #0,1
Current State: 92:[82, 39, 49], Operations: ['75-26=49']
Exploring Operation: 82-39=43, Resulting Numbers: [49, 43]
Generated Node #0,1,3: 92:[49, 43] Operation: 82-39=43
Moving to Node #0,1,3
Current State: 92:[49, 43], Operations: ['75-26=49', '82-39=43']
Exploring Operation: 49+43=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
85,
67,
43,
97
] | 36 | [
"85-67=18",
"97-43=54",
"54-18=36"
] | Current State: 36:[85, 67, 43, 97], Operations: []
Exploring Operation: 85-67=18, Resulting Numbers: [43, 97, 18]
Generated Node #2: [43, 97, 18] from Operation: 85-67=18
Current State: 36:[43, 97, 18], Operations: ['85-67=18']
Exploring Operation: 97-43=54, Resulting Numbers: [18, 54]
Generated Node #3: [18, 54] from Operation: 97-43=54
Current State: 36:[18, 54], Operations: ['85-67=18', '97-43=54']
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[85, 67, 43, 97], Operations: []
Exploring Operation: 97-67=30, Resulting Numbers: [85, 43, 30]
Generated Node #0,0: 36:[85, 43, 30] Operation: 97-67=30
Exploring Operation: 97-85=12, Resulting Numbers: [67, 43, 12]
Generated Node #0,1: 36:[67, 43, 12] Operation: 97-85=12
Moving to Node #0,1
Current State: 36:[67, 43, 12], Operations: ['97-85=12']
Exploring Operation: 67-43=24, Resulting Numbers: [12, 24]
Generated Node #0,1,0: 36:[12, 24] Operation: 67-43=24
Exploring Operation: 67-12=55, Resulting Numbers: [43, 55]
Generated Node #0,1,1: 36:[43, 55] Operation: 67-12=55
Moving to Node #0,0
Current State: 36:[85, 43, 30], Operations: ['97-67=30']
Exploring Operation: 85-30=55, Resulting Numbers: [43, 55]
Generated Node #0,0,0: 36:[43, 55] Operation: 85-30=55
Exploring Operation: 85-43=42, Resulting Numbers: [30, 42]
Generated Node #0,0,1: 36:[30, 42] Operation: 85-43=42
Moving to Node #0,1,0
Current State: 36:[12, 24], Operations: ['97-85=12', '67-43=24']
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[85, 67, 43, 97], Operations: []
Exploring Operation: 97-85=12, Resulting Numbers: [67, 43, 12]
Generated Node #0,1: 36:[67, 43, 12] Operation: 97-85=12
Moving to Node #0,1
Current State: 36:[67, 43, 12], Operations: ['97-85=12']
Exploring Operation: 67-43=24, Resulting Numbers: [12, 24]
Generated Node #0,1,0: 36:[12, 24] Operation: 67-43=24
Moving to Node #0,1,0
Current State: 36:[12, 24], Operations: ['97-85=12', '67-43=24']
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
6,
44,
17,
72
] | 93 | [
"44-6=38",
"72-17=55",
"38+55=93"
] | Current State: 93:[6, 44, 17, 72], Operations: []
Exploring Operation: 44-6=38, Resulting Numbers: [17, 72, 38]
Generated Node #2: [17, 72, 38] from Operation: 44-6=38
Current State: 93:[17, 72, 38], Operations: ['44-6=38']
Exploring Operation: 72-17=55, Resulting Numbers: [38, 55]
Generated Node #3: [38, 55] from Operation: 72-17=55
Current State: 93:[38, 55], Operations: ['44-6=38', '72-17=55']
Exploring Operation: 38+55=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[6, 44, 17, 72], Operations: []
Exploring Operation: 17+72=89, Resulting Numbers: [6, 44, 89]
Generated Node #0,0: 93:[6, 44, 89] Operation: 17+72=89
Exploring Operation: 72-44=28, Resulting Numbers: [6, 17, 28]
Generated Node #0,1: 93:[6, 17, 28] Operation: 72-44=28
Exploring Operation: 44-17=27, Resulting Numbers: [6, 72, 27]
Generated Node #0,2: 93:[6, 72, 27] Operation: 44-17=27
Exploring Operation: 72/6=12, Resulting Numbers: [44, 17, 12]
Generated Node #0,3: 93:[44, 17, 12] Operation: 72/6=12
Exploring Operation: 44+72=116, Resulting Numbers: [6, 17, 116]
Generated Node #0,4: 93:[6, 17, 116] Operation: 44+72=116
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[6, 44, 89], Operations: ['17+72=89']
Exploring Operation: 89-6=83, Resulting Numbers: [44, 83]
Generated Node #0,0,0: 93:[44, 83] Operation: 89-6=83
Exploring Operation: 44-6=38, Resulting Numbers: [89, 38]
Generated Node #0,0,1: 93:[89, 38] Operation: 44-6=38
Exploring Operation: 6+89=95, Resulting Numbers: [44, 95]
Generated Node #0,0,2: 93:[44, 95] Operation: 6+89=95
Exploring Operation: 89-44=45, Resulting Numbers: [6, 45]
Generated Node #0,0,3: 93:[6, 45] Operation: 89-44=45
Exploring Operation: 6+44=50, Resulting Numbers: [89, 50]
Generated Node #0,0,4: 93:[89, 50] Operation: 6+44=50
Moving to Node #0,0,1
Current State: 93:[89, 38], Operations: ['17+72=89', '44-6=38']
Exploring Operation: 89+38=127, Resulting Numbers: [127]
127,93 unequal: No Solution
Exploring Operation: 89*38=3382, Resulting Numbers: [3382]
3382,93 unequal: No Solution
Exploring Operation: 89-38=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[44, 95], Operations: ['17+72=89', '6+89=95']
Exploring Operation: 95-44=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 44*95=4180, Resulting Numbers: [4180]
4180,93 unequal: No Solution
Exploring Operation: 44+95=139, Resulting Numbers: [139]
139,93 unequal: No Solution
Moving to Node #0,0,3
Current State: 93:[6, 45], Operations: ['17+72=89', '89-44=45']
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,93 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[44, 83], Operations: ['17+72=89', '89-6=83']
Exploring Operation: 44+83=127, Resulting Numbers: [127]
127,93 unequal: No Solution
Exploring Operation: 44*83=3652, Resulting Numbers: [3652]
3652,93 unequal: No Solution
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Moving to Node #0,0,4
Current State: 93:[89, 50], Operations: ['17+72=89', '6+44=50']
Exploring Operation: 89-50=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 89*50=4450, Resulting Numbers: [4450]
4450,93 unequal: No Solution
Exploring Operation: 89+50=139, Resulting Numbers: [139]
139,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[6, 17, 28], Operations: ['72-44=28']
Exploring Operation: 28-17=11, Resulting Numbers: [6, 11]
Generated Node #0,1,0: 93:[6, 11] Operation: 28-17=11
Exploring Operation: 6+17=23, Resulting Numbers: [28, 23]
Generated Node #0,1,1: 93:[28, 23] Operation: 6+17=23
Exploring Operation: 17-6=11, Resulting Numbers: [28, 11]
Generated Node #0,1,2: 93:[28, 11] Operation: 17-6=11
Exploring Operation: 6*17=102, Resulting Numbers: [28, 102]
Generated Node #0,1,3: 93:[28, 102] Operation: 6*17=102
Exploring Operation: 6+28=34, Resulting Numbers: [17, 34]
Generated Node #0,1,4: 93:[17, 34] Operation: 6+28=34
Moving to Node #0,1,0
Current State: 93:[6, 11], Operations: ['72-44=28', '28-17=11']
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[28, 11], Operations: ['72-44=28', '17-6=11']
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,93 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[28, 23], Operations: ['72-44=28', '6+17=23']
Exploring Operation: 28+23=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 28*23=644, Resulting Numbers: [644]
644,93 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Moving to Node #0,1,3
Current State: 93:[28, 102], Operations: ['72-44=28', '6*17=102']
Exploring Operation: 28*102=2856, Resulting Numbers: [2856]
2856,93 unequal: No Solution
Exploring Operation: 28+102=130, Resulting Numbers: [130]
130,93 unequal: No Solution
Exploring Operation: 102-28=74, Resulting Numbers: [74]
74,93 unequal: No Solution
Moving to Node #0,1,4
Current State: 93:[17, 34], Operations: ['72-44=28', '6+28=34']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 17*34=578, Resulting Numbers: [578]
578,93 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[6, 72, 27], Operations: ['44-17=27']
Exploring Operation: 6+72=78, Resulting Numbers: [27, 78]
Generated Node #0,2,0: 93:[27, 78] Operation: 6+72=78
Exploring Operation: 72-27=45, Resulting Numbers: [6, 45]
Generated Node #0,2,1: 93:[6, 45] Operation: 72-27=45
Exploring Operation: 72/6=12, Resulting Numbers: [27, 12]
Generated Node #0,2,2: 93:[27, 12] Operation: 72/6=12
Exploring Operation: 72+27=99, Resulting Numbers: [6, 99]
Generated Node #0,2,3: 93:[6, 99] Operation: 72+27=99
Exploring Operation: 6+27=33, Resulting Numbers: [72, 33]
Generated Node #0,2,4: 93:[72, 33] Operation: 6+27=33
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 93:[6, 99], Operations: ['44-17=27', '72+27=99']
Exploring Operation: 6+99=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 6*99=594, Resulting Numbers: [594]
594,93 unequal: No Solution
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[6, 44, 17, 72], Operations: []
Exploring Operation: 44-17=27, Resulting Numbers: [6, 72, 27]
Generated Node #0,2: 93:[6, 72, 27] Operation: 44-17=27
Moving to Node #0,2
Current State: 93:[6, 72, 27], Operations: ['44-17=27']
Exploring Operation: 72+27=99, Resulting Numbers: [6, 99]
Generated Node #0,2,3: 93:[6, 99] Operation: 72+27=99
Moving to Node #0,2,3
Current State: 93:[6, 99], Operations: ['44-17=27', '72+27=99']
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.949653 | hs_5 | sum_heuristic |
[
66,
68,
2,
50
] | 98 | [
"68-66=2",
"2*50=100",
"100-2=98"
] | Current State: 98:[66, 68, 2, 50], Operations: []
Exploring Operation: 68-66=2, Resulting Numbers: [2, 50, 2]
Generated Node #2: [2, 50, 2] from Operation: 68-66=2
Current State: 98:[2, 50, 2], Operations: ['68-66=2']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,98 equal: Goal Reached
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[66, 68, 2, 50], Operations: []
Exploring Operation: 68-66=2, Resulting Numbers: [2, 50, 2]
Generated Node #0,0: 98:[2, 50, 2] Operation: 68-66=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[2, 50, 2], Operations: ['68-66=2']
Exploring Operation: 50-2=48, Resulting Numbers: [2, 48]
Generated Node #0,0,0: 98:[2, 48] Operation: 50-2=48
Moving to Node #0,0,0
Current State: 98:[2, 48], Operations: ['68-66=2', '50-2=48']
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
84,
1,
44,
21
] | 49 | [
"84/21=4",
"1+44=45",
"4+45=49"
] | Current State: 49:[84, 1, 44, 21], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [1, 44, 4]
Generated Node #2: [1, 44, 4] from Operation: 84/21=4
Current State: 49:[1, 44, 4], Operations: ['84/21=4']
Exploring Operation: 1+44=45, Resulting Numbers: [4, 45]
Generated Node #3: [4, 45] from Operation: 1+44=45
Current State: 49:[4, 45], Operations: ['84/21=4', '1+44=45']
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[84, 1, 44, 21], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [1, 44, 4]
Generated Node #0,0: 49:[1, 44, 4] Operation: 84/21=4
Exploring Operation: 84-21=63, Resulting Numbers: [1, 44, 63]
Generated Node #0,1: 49:[1, 44, 63] Operation: 84-21=63
Moving to Node #0,0
Current State: 49:[1, 44, 4], Operations: ['84/21=4']
Exploring Operation: 1+44=45, Resulting Numbers: [4, 45]
Generated Node #0,0,0: 49:[4, 45] Operation: 1+44=45
Exploring Operation: 1+4=5, Resulting Numbers: [44, 5]
Generated Node #0,0,1: 49:[44, 5] Operation: 1+4=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[4, 45], Operations: ['84/21=4', '1+44=45']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[84, 1, 44, 21], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [1, 44, 4]
Generated Node #0,0: 49:[1, 44, 4] Operation: 84/21=4
Moving to Node #0,0
Current State: 49:[1, 44, 4], Operations: ['84/21=4']
Exploring Operation: 1+44=45, Resulting Numbers: [4, 45]
Generated Node #0,0,0: 49:[4, 45] Operation: 1+44=45
Moving to Node #0,0,0
Current State: 49:[4, 45], Operations: ['84/21=4', '1+44=45']
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
69,
22,
63,
8
] | 24 | [
"69-22=47",
"63+8=71",
"71-47=24"
] | Current State: 24:[69, 22, 63, 8], Operations: []
Exploring Operation: 69-22=47, Resulting Numbers: [63, 8, 47]
Generated Node #2: [63, 8, 47] from Operation: 69-22=47
Current State: 24:[63, 8, 47], Operations: ['69-22=47']
Exploring Operation: 63+8=71, Resulting Numbers: [47, 71]
Generated Node #3: [47, 71] from Operation: 63+8=71
Current State: 24:[47, 71], Operations: ['69-22=47', '63+8=71']
Exploring Operation: 71-47=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[69, 22, 63, 8], Operations: []
Exploring Operation: 69-22=47, Resulting Numbers: [63, 8, 47]
Generated Node #0,0: 24:[63, 8, 47] Operation: 69-22=47
Exploring Operation: 69-63=6, Resulting Numbers: [22, 8, 6]
Generated Node #0,1: 24:[22, 8, 6] Operation: 69-63=6
Exploring Operation: 63-22=41, Resulting Numbers: [69, 8, 41]
Generated Node #0,2: 24:[69, 8, 41] Operation: 63-22=41
Exploring Operation: 69-8=61, Resulting Numbers: [22, 63, 61]
Generated Node #0,3: 24:[22, 63, 61] Operation: 69-8=61
Moving to Node #0,1
Current State: 24:[22, 8, 6], Operations: ['69-63=6']
Exploring Operation: 8-6=2, Resulting Numbers: [22, 2]
Generated Node #0,1,0: 24:[22, 2] Operation: 8-6=2
Exploring Operation: 22-6=16, Resulting Numbers: [8, 16]
Generated Node #0,1,1: 24:[8, 16] Operation: 22-6=16
Exploring Operation: 22+6=28, Resulting Numbers: [8, 28]
Generated Node #0,1,2: 24:[8, 28] Operation: 22+6=28
Exploring Operation: 22-8=14, Resulting Numbers: [6, 14]
Generated Node #0,1,3: 24:[6, 14] Operation: 22-8=14
Moving to Node #0,2
Current State: 24:[69, 8, 41], Operations: ['63-22=41']
Exploring Operation: 69-8=61, Resulting Numbers: [41, 61]
Generated Node #0,2,0: 24:[41, 61] Operation: 69-8=61
Exploring Operation: 69-41=28, Resulting Numbers: [8, 28]
Generated Node #0,2,1: 24:[8, 28] Operation: 69-41=28
Exploring Operation: 69+8=77, Resulting Numbers: [41, 77]
Generated Node #0,2,2: 24:[41, 77] Operation: 69+8=77
Exploring Operation: 41-8=33, Resulting Numbers: [69, 33]
Generated Node #0,2,3: 24:[69, 33] Operation: 41-8=33
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 24:[8, 28], Operations: ['63-22=41', '69-41=28']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,24 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 24:[41, 61], Operations: ['63-22=41', '69-8=61']
Exploring Operation: 41+61=102, Resulting Numbers: [102]
102,24 unequal: No Solution
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,24 unequal: No Solution
Exploring Operation: 41*61=2501, Resulting Numbers: [2501]
2501,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 24:[69, 33], Operations: ['63-22=41', '41-8=33']
Exploring Operation: 69+33=102, Resulting Numbers: [102]
102,24 unequal: No Solution
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 69*33=2277, Resulting Numbers: [2277]
2277,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 24:[41, 77], Operations: ['63-22=41', '69+8=77']
Exploring Operation: 77-41=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 41+77=118, Resulting Numbers: [118]
118,24 unequal: No Solution
Exploring Operation: 41*77=3157, Resulting Numbers: [3157]
3157,24 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: 24:[63, 8, 47], Operations: ['69-22=47']
Exploring Operation: 63+8=71, Resulting Numbers: [47, 71]
Generated Node #0,0,0: 24:[47, 71] Operation: 63+8=71
Exploring Operation: 63-8=55, Resulting Numbers: [47, 55]
Generated Node #0,0,1: 24:[47, 55] Operation: 63-8=55
Exploring Operation: 63-47=16, Resulting Numbers: [8, 16]
Generated Node #0,0,2: 24:[8, 16] Operation: 63-47=16
Exploring Operation: 47-8=39, Resulting Numbers: [63, 39]
Generated Node #0,0,3: 24:[63, 39] Operation: 47-8=39
Moving to Node #0,3
Current State: 24:[22, 63, 61], Operations: ['69-8=61']
Exploring Operation: 63-61=2, Resulting Numbers: [22, 2]
Generated Node #0,3,0: 24:[22, 2] Operation: 63-61=2
Exploring Operation: 61-22=39, Resulting Numbers: [63, 39]
Generated Node #0,3,1: 24:[63, 39] Operation: 61-22=39
Exploring Operation: 63-22=41, Resulting Numbers: [61, 41]
Generated Node #0,3,2: 24:[61, 41] Operation: 63-22=41
Exploring Operation: 22+63=85, Resulting Numbers: [61, 85]
Generated Node #0,3,3: 24:[61, 85] Operation: 22+63=85
Moving to Node #0,1,0
Current State: 24:[22, 2], Operations: ['69-63=6', '8-6=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,24 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[69, 22, 63, 8], Operations: []
Exploring Operation: 69-63=6, Resulting Numbers: [22, 8, 6]
Generated Node #0,1: 24:[22, 8, 6] Operation: 69-63=6
Moving to Node #0,1
Current State: 24:[22, 8, 6], Operations: ['69-63=6']
Exploring Operation: 8-6=2, Resulting Numbers: [22, 2]
Generated Node #0,1,0: 24:[22, 2] Operation: 8-6=2
Moving to Node #0,1,0
Current State: 24:[22, 2], Operations: ['69-63=6', '8-6=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.966146 | hs_4 | sum_heuristic |
[
66,
29,
50,
76
] | 72 | [
"66+50=116",
"116/29=4",
"76-4=72"
] | Current State: 72:[66, 29, 50, 76], Operations: []
Exploring Operation: 66+50=116, Resulting Numbers: [29, 76, 116]
Generated Node #2: [29, 76, 116] from Operation: 66+50=116
Current State: 72:[29, 76, 116], Operations: ['66+50=116']
Exploring Operation: 116/29=4, Resulting Numbers: [76, 4]
Generated Node #3: [76, 4] from Operation: 116/29=4
Current State: 72:[76, 4], Operations: ['66+50=116', '116/29=4']
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[66, 29, 50, 76], Operations: []
Exploring Operation: 50-29=21, Resulting Numbers: [66, 76, 21]
Generated Node #0,0: 72:[66, 76, 21] Operation: 50-29=21
Exploring Operation: 66-50=16, Resulting Numbers: [29, 76, 16]
Generated Node #0,1: 72:[29, 76, 16] Operation: 66-50=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[29, 76, 16], Operations: ['66-50=16']
Exploring Operation: 29-16=13, Resulting Numbers: [76, 13]
Generated Node #0,1,0: 72:[76, 13] Operation: 29-16=13
Exploring Operation: 76-29=47, Resulting Numbers: [16, 47]
Generated Node #0,1,1: 72:[16, 47] Operation: 76-29=47
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[76, 13], Operations: ['66-50=16', '29-16=13']
Exploring Operation: 76-13=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Exploring Operation: 76+13=89, Resulting Numbers: [89]
89,72 unequal: No Solution
No 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: 72:[16, 47], Operations: ['66-50=16', '76-29=47']
Exploring Operation: 16+47=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,72 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: 72:[66, 76, 21], Operations: ['50-29=21']
Exploring Operation: 76-66=10, Resulting Numbers: [21, 10]
Generated Node #0,0,0: 72:[21, 10] Operation: 76-66=10
Exploring Operation: 66-21=45, Resulting Numbers: [76, 45]
Generated Node #0,0,1: 72:[76, 45] Operation: 66-21=45
Moving to Node #0,0,0
Current State: 72:[21, 10], Operations: ['50-29=21', '76-66=10']
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,72 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[76, 45], Operations: ['50-29=21', '66-21=45']
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,72 unequal: No Solution
Exploring Operation: 76+45=121, Resulting Numbers: [121]
121,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
1,
29,
28,
12
] | 10 | [
"1+29=30",
"28+12=40",
"40-30=10"
] | Current State: 10:[1, 29, 28, 12], Operations: []
Exploring Operation: 1+29=30, Resulting Numbers: [28, 12, 30]
Generated Node #2: [28, 12, 30] from Operation: 1+29=30
Current State: 10:[28, 12, 30], Operations: ['1+29=30']
Exploring Operation: 28+12=40, Resulting Numbers: [30, 40]
Generated Node #3: [30, 40] from Operation: 28+12=40
Current State: 10:[30, 40], Operations: ['1+29=30', '28+12=40']
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[1, 29, 28, 12], Operations: []
Exploring Operation: 29-28=1, Resulting Numbers: [1, 12, 1]
Generated Node #0,0: 10:[1, 12, 1] Operation: 29-28=1
Exploring Operation: 28-12=16, Resulting Numbers: [1, 29, 16]
Generated Node #0,1: 10:[1, 29, 16] Operation: 28-12=16
Exploring Operation: 29-12=17, Resulting Numbers: [1, 28, 17]
Generated Node #0,2: 10:[1, 28, 17] Operation: 29-12=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[1, 12, 1], Operations: ['29-28=1']
Exploring Operation: 1+1=2, Resulting Numbers: [12, 2]
Generated Node #0,0,0: 10:[12, 2] Operation: 1+1=2
Exploring Operation: 12-1=11, Resulting Numbers: [1, 11]
Generated Node #0,0,1: 10:[1, 11] Operation: 12-1=11
Exploring Operation: 12-1=11, Resulting Numbers: [1, 11]
Generated Node #0,0,2: 10:[1, 11] Operation: 12-1=11
Moving to Node #0,0,0
Current State: 10:[12, 2], Operations: ['29-28=1', '1+1=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[1, 29, 28, 12], Operations: []
Exploring Operation: 29-28=1, Resulting Numbers: [1, 12, 1]
Generated Node #0,0: 10:[1, 12, 1] Operation: 29-28=1
Moving to Node #0,0
Current State: 10:[1, 12, 1], Operations: ['29-28=1']
Exploring Operation: 1+1=2, Resulting Numbers: [12, 2]
Generated Node #0,0,0: 10:[12, 2] Operation: 1+1=2
Moving to Node #0,0,0
Current State: 10:[12, 2], Operations: ['29-28=1', '1+1=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
5,
42,
70,
2
] | 84 | [
"5-2=3",
"70-42=28",
"3*28=84"
] | Current State: 84:[5, 42, 70, 2], Operations: []
Exploring Operation: 5-2=3, Resulting Numbers: [42, 70, 3]
Generated Node #2: [42, 70, 3] from Operation: 5-2=3
Current State: 84:[42, 70, 3], Operations: ['5-2=3']
Exploring Operation: 70-42=28, Resulting Numbers: [3, 28]
Generated Node #3: [3, 28] from Operation: 70-42=28
Current State: 84:[3, 28], Operations: ['5-2=3', '70-42=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[5, 42, 70, 2], Operations: []
Exploring Operation: 70-42=28, Resulting Numbers: [5, 2, 28]
Generated Node #0,0: 84:[5, 2, 28] Operation: 70-42=28
Exploring Operation: 70/5=14, Resulting Numbers: [42, 2, 14]
Generated Node #0,1: 84:[42, 2, 14] Operation: 70/5=14
Moving to Node #0,1
Current State: 84:[42, 2, 14], Operations: ['70/5=14']
Exploring Operation: 42*2=84, Resulting Numbers: [14, 84]
Generated Node #0,1,0: 84:[14, 84] Operation: 42*2=84
Exploring Operation: 42/2=21, Resulting Numbers: [14, 21]
Generated Node #0,1,1: 84:[14, 21] Operation: 42/2=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[14, 84], Operations: ['70/5=14', '42*2=84']
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 14+84=98, Resulting Numbers: [98]
98,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,1
Current State: 84:[14, 21], Operations: ['70/5=14', '42/2=21']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,84 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: 84:[5, 2, 28], Operations: ['70-42=28']
Exploring Operation: 5+2=7, Resulting Numbers: [28, 7]
Generated Node #0,0,0: 84:[28, 7] Operation: 5+2=7
Exploring Operation: 5-2=3, Resulting Numbers: [28, 3]
Generated Node #0,0,1: 84:[28, 3] Operation: 5-2=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[28, 7], Operations: ['70-42=28', '5+2=7']
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[28, 3], Operations: ['70-42=28', '5-2=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[5, 42, 70, 2], Operations: []
Exploring Operation: 70-42=28, Resulting Numbers: [5, 2, 28]
Generated Node #0,0: 84:[5, 2, 28] Operation: 70-42=28
Moving to Node #0,0
Current State: 84:[5, 2, 28], Operations: ['70-42=28']
Exploring Operation: 5-2=3, Resulting Numbers: [28, 3]
Generated Node #0,0,1: 84:[28, 3] Operation: 5-2=3
Moving to Node #0,0,1
Current State: 84:[28, 3], Operations: ['70-42=28', '5-2=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
91,
9,
50,
2
] | 63 | [
"9-2=7",
"91/7=13",
"50+13=63"
] | Current State: 63:[91, 9, 50, 2], Operations: []
Exploring Operation: 9-2=7, Resulting Numbers: [91, 50, 7]
Generated Node #2: [91, 50, 7] from Operation: 9-2=7
Current State: 63:[91, 50, 7], Operations: ['9-2=7']
Exploring Operation: 91/7=13, Resulting Numbers: [50, 13]
Generated Node #3: [50, 13] from Operation: 91/7=13
Current State: 63:[50, 13], Operations: ['9-2=7', '91/7=13']
Exploring Operation: 50+13=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[91, 9, 50, 2], Operations: []
Exploring Operation: 91-50=41, Resulting Numbers: [9, 2, 41]
Generated Node #0,0: 63:[9, 2, 41] Operation: 91-50=41
Exploring Operation: 50/2=25, Resulting Numbers: [91, 9, 25]
Generated Node #0,1: 63:[91, 9, 25] Operation: 50/2=25
Exploring Operation: 9+50=59, Resulting Numbers: [91, 2, 59]
Generated Node #0,2: 63:[91, 2, 59] Operation: 9+50=59
Exploring Operation: 91-9=82, Resulting Numbers: [50, 2, 82]
Generated Node #0,3: 63:[50, 2, 82] Operation: 91-9=82
Moving to Node #0,0
Current State: 63:[9, 2, 41], Operations: ['91-50=41']
Exploring Operation: 2*41=82, Resulting Numbers: [9, 82]
Generated Node #0,0,0: 63:[9, 82] Operation: 2*41=82
Exploring Operation: 9+41=50, Resulting Numbers: [2, 50]
Generated Node #0,0,1: 63:[2, 50] Operation: 9+41=50
Exploring Operation: 41-9=32, Resulting Numbers: [2, 32]
Generated Node #0,0,2: 63:[2, 32] Operation: 41-9=32
Exploring Operation: 41-2=39, Resulting Numbers: [9, 39]
Generated Node #0,0,3: 63:[9, 39] Operation: 41-2=39
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 63:[2, 32], Operations: ['91-50=41', '41-9=32']
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,63 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 63:[2, 50], Operations: ['91-50=41', '9+41=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,63 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,63 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 63:[9, 39], Operations: ['91-50=41', '41-2=39']
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,63 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[9, 82], Operations: ['91-50=41', '2*41=82']
Exploring Operation: 9*82=738, Resulting Numbers: [738]
738,63 unequal: No Solution
Exploring Operation: 82-9=73, Resulting Numbers: [73]
73,63 unequal: No Solution
Exploring Operation: 9+82=91, Resulting Numbers: [91]
91,63 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: 63:[91, 9, 25], Operations: ['50/2=25']
Exploring Operation: 25-9=16, Resulting Numbers: [91, 16]
Generated Node #0,1,0: 63:[91, 16] Operation: 25-9=16
Exploring Operation: 91+9=100, Resulting Numbers: [25, 100]
Generated Node #0,1,1: 63:[25, 100] Operation: 91+9=100
Exploring Operation: 91-25=66, Resulting Numbers: [9, 66]
Generated Node #0,1,2: 63:[9, 66] Operation: 91-25=66
Exploring Operation: 91-9=82, Resulting Numbers: [25, 82]
Generated Node #0,1,3: 63:[25, 82] Operation: 91-9=82
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 63:[9, 66], Operations: ['50/2=25', '91-25=66']
Exploring Operation: 9*66=594, Resulting Numbers: [594]
594,63 unequal: No Solution
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,63 unequal: No Solution
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,63 unequal: No Solution
No solution 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: 63:[25, 82], Operations: ['50/2=25', '91-9=82']
Exploring Operation: 25*82=2050, Resulting Numbers: [2050]
2050,63 unequal: No Solution
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,63 unequal: No Solution
Exploring Operation: 25+82=107, Resulting Numbers: [107]
107,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 63:[91, 16], Operations: ['50/2=25', '25-9=16']
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,63 unequal: No Solution
Exploring Operation: 91+16=107, Resulting Numbers: [107]
107,63 unequal: No Solution
Exploring Operation: 91*16=1456, Resulting Numbers: [1456]
1456,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[25, 100], Operations: ['50/2=25', '91+9=100']
Exploring Operation: 25+100=125, Resulting Numbers: [125]
125,63 unequal: No Solution
Exploring Operation: 100-25=75, Resulting Numbers: [75]
75,63 unequal: No Solution
Exploring Operation: 100/25=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 25*100=2500, Resulting Numbers: [2500]
2500,63 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: 63:[50, 2, 82], Operations: ['91-9=82']
Exploring Operation: 50/2=25, Resulting Numbers: [82, 25]
Generated Node #0,3,0: 63:[82, 25] Operation: 50/2=25
Exploring Operation: 82-50=32, Resulting Numbers: [2, 32]
Generated Node #0,3,1: 63:[2, 32] Operation: 82-50=32
Exploring Operation: 50+2=52, Resulting Numbers: [82, 52]
Generated Node #0,3,2: 63:[82, 52] Operation: 50+2=52
Exploring Operation: 82-2=80, Resulting Numbers: [50, 80]
Generated Node #0,3,3: 63:[50, 80] Operation: 82-2=80
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 63:[2, 32], Operations: ['91-9=82', '82-50=32']
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,63 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 63:[82, 25], Operations: ['91-9=82', '50/2=25']
Exploring Operation: 82*25=2050, Resulting Numbers: [2050]
2050,63 unequal: No Solution
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,63 unequal: No Solution
Exploring Operation: 82+25=107, Resulting Numbers: [107]
107,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 63:[82, 52], Operations: ['91-9=82', '50+2=52']
Exploring Operation: 82-52=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Exploring Operation: 82*52=4264, Resulting Numbers: [4264]
4264,63 unequal: No Solution
Exploring Operation: 82+52=134, Resulting Numbers: [134]
134,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 63:[50, 80], Operations: ['91-9=82', '82-2=80']
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Exploring Operation: 50+80=130, Resulting Numbers: [130]
130,63 unequal: No Solution
Exploring Operation: 50*80=4000, Resulting Numbers: [4000]
4000,63 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: 63:[91, 2, 59], Operations: ['9+50=59']
Exploring Operation: 91+2=93, Resulting Numbers: [59, 93]
Generated Node #0,2,0: 63:[59, 93] Operation: 91+2=93
Exploring Operation: 2+59=61, Resulting Numbers: [91, 61]
Generated Node #0,2,1: 63:[91, 61] Operation: 2+59=61
Exploring Operation: 91-59=32, Resulting Numbers: [2, 32]
Generated Node #0,2,2: 63:[2, 32] Operation: 91-59=32
Exploring Operation: 91-2=89, Resulting Numbers: [59, 89]
Generated Node #0,2,3: 63:[59, 89] Operation: 91-2=89
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 63:[2, 32], Operations: ['9+50=59', '91-59=32']
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,63 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 63:[91, 61], Operations: ['9+50=59', '2+59=61']
Exploring Operation: 91*61=5551, Resulting Numbers: [5551]
5551,63 unequal: No Solution
Exploring Operation: 91+61=152, Resulting Numbers: [152]
152,63 unequal: No Solution
Exploring Operation: 91-61=30, Resulting Numbers: [30]
30,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 63:[59, 89], Operations: ['9+50=59', '91-2=89']
Exploring Operation: 59*89=5251, Resulting Numbers: [5251]
5251,63 unequal: No Solution
Exploring Operation: 59+89=148, Resulting Numbers: [148]
148,63 unequal: No Solution
Exploring Operation: 89-59=30, Resulting Numbers: [30]
30,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 63:[59, 93], Operations: ['9+50=59', '91+2=93']
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,63 unequal: No Solution
Exploring Operation: 59*93=5487, Resulting Numbers: [5487]
5487,63 unequal: No Solution
Exploring Operation: 59+93=152, Resulting Numbers: [152]
152,63 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 |
[
60,
42,
71,
64
] | 25 | [
"60-42=18",
"71-64=7",
"18+7=25"
] | Current State: 25:[60, 42, 71, 64], Operations: []
Exploring Operation: 60-42=18, Resulting Numbers: [71, 64, 18]
Generated Node #2: [71, 64, 18] from Operation: 60-42=18
Current State: 25:[71, 64, 18], Operations: ['60-42=18']
Exploring Operation: 71-64=7, Resulting Numbers: [18, 7]
Generated Node #3: [18, 7] from Operation: 71-64=7
Current State: 25:[18, 7], Operations: ['60-42=18', '71-64=7']
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[60, 42, 71, 64], Operations: []
Exploring Operation: 71-42=29, Resulting Numbers: [60, 64, 29]
Generated Node #0,0: 25:[60, 64, 29] Operation: 71-42=29
Exploring Operation: 71-60=11, Resulting Numbers: [42, 64, 11]
Generated Node #0,1: 25:[42, 64, 11] Operation: 71-60=11
Exploring Operation: 71-64=7, Resulting Numbers: [60, 42, 7]
Generated Node #0,2: 25:[60, 42, 7] Operation: 71-64=7
Exploring Operation: 64-60=4, Resulting Numbers: [42, 71, 4]
Generated Node #0,3: 25:[42, 71, 4] Operation: 64-60=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[60, 42, 7], Operations: ['71-64=7']
Exploring Operation: 60-7=53, Resulting Numbers: [42, 53]
Generated Node #0,2,0: 25:[42, 53] Operation: 60-7=53
Exploring Operation: 42/7=6, Resulting Numbers: [60, 6]
Generated Node #0,2,1: 25:[60, 6] Operation: 42/7=6
Exploring Operation: 42-7=35, Resulting Numbers: [60, 35]
Generated Node #0,2,2: 25:[60, 35] Operation: 42-7=35
Exploring Operation: 60-42=18, Resulting Numbers: [7, 18]
Generated Node #0,2,3: 25:[7, 18] Operation: 60-42=18
Moving to Node #0,2,3
Current State: 25:[7, 18], Operations: ['71-64=7', '60-42=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,25 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[60, 42, 71, 64], Operations: []
Exploring Operation: 71-64=7, Resulting Numbers: [60, 42, 7]
Generated Node #0,2: 25:[60, 42, 7] Operation: 71-64=7
Moving to Node #0,2
Current State: 25:[60, 42, 7], Operations: ['71-64=7']
Exploring Operation: 60-42=18, Resulting Numbers: [7, 18]
Generated Node #0,2,3: 25:[7, 18] Operation: 60-42=18
Moving to Node #0,2,3
Current State: 25:[7, 18], Operations: ['71-64=7', '60-42=18']
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
57,
17,
6,
99
] | 53 | [
"57-17=40",
"99-6=93",
"93-40=53"
] | Current State: 53:[57, 17, 6, 99], Operations: []
Exploring Operation: 57-17=40, Resulting Numbers: [6, 99, 40]
Generated Node #2: [6, 99, 40] from Operation: 57-17=40
Current State: 53:[6, 99, 40], Operations: ['57-17=40']
Exploring Operation: 99-6=93, Resulting Numbers: [40, 93]
Generated Node #3: [40, 93] from Operation: 99-6=93
Current State: 53:[40, 93], Operations: ['57-17=40', '99-6=93']
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[57, 17, 6, 99], Operations: []
Exploring Operation: 17+6=23, Resulting Numbers: [57, 99, 23]
Generated Node #0,0: 53:[57, 99, 23] Operation: 17+6=23
Exploring Operation: 57-6=51, Resulting Numbers: [17, 99, 51]
Generated Node #0,1: 53:[17, 99, 51] Operation: 57-6=51
Exploring Operation: 99-6=93, Resulting Numbers: [57, 17, 93]
Generated Node #0,2: 53:[57, 17, 93] Operation: 99-6=93
Exploring Operation: 99-17=82, Resulting Numbers: [57, 6, 82]
Generated Node #0,3: 53:[57, 6, 82] Operation: 99-17=82
Moving to Node #0,0
Current State: 53:[57, 99, 23], Operations: ['17+6=23']
Exploring Operation: 99-23=76, Resulting Numbers: [57, 76]
Generated Node #0,0,0: 53:[57, 76] Operation: 99-23=76
Exploring Operation: 57+23=80, Resulting Numbers: [99, 80]
Generated Node #0,0,1: 53:[99, 80] Operation: 57+23=80
Exploring Operation: 57-23=34, Resulting Numbers: [99, 34]
Generated Node #0,0,2: 53:[99, 34] Operation: 57-23=34
Exploring Operation: 99-57=42, Resulting Numbers: [23, 42]
Generated Node #0,0,3: 53:[23, 42] Operation: 99-57=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[57, 76], Operations: ['17+6=23', '99-23=76']
Exploring Operation: 57+76=133, Resulting Numbers: [133]
133,53 unequal: No Solution
Exploring Operation: 57*76=4332, Resulting Numbers: [4332]
4332,53 unequal: No Solution
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 53:[23, 42], Operations: ['17+6=23', '99-57=42']
Exploring Operation: 23+42=65, Resulting Numbers: [65]
65,53 unequal: No Solution
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,53 unequal: No Solution
Exploring Operation: 23*42=966, Resulting Numbers: [966]
966,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 53:[99, 34], Operations: ['17+6=23', '57-23=34']
Exploring Operation: 99*34=3366, Resulting Numbers: [3366]
3366,53 unequal: No Solution
Exploring Operation: 99+34=133, Resulting Numbers: [133]
133,53 unequal: No Solution
Exploring Operation: 99-34=65, Resulting Numbers: [65]
65,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[99, 80], Operations: ['17+6=23', '57+23=80']
Exploring Operation: 99*80=7920, Resulting Numbers: [7920]
7920,53 unequal: No Solution
Exploring Operation: 99+80=179, Resulting Numbers: [179]
179,53 unequal: No Solution
Exploring Operation: 99-80=19, Resulting Numbers: [19]
19,53 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: 53:[57, 6, 82], Operations: ['99-17=82']
Exploring Operation: 57-6=51, Resulting Numbers: [82, 51]
Generated Node #0,3,0: 53:[82, 51] Operation: 57-6=51
Exploring Operation: 6+82=88, Resulting Numbers: [57, 88]
Generated Node #0,3,1: 53:[57, 88] Operation: 6+82=88
Exploring Operation: 82-6=76, Resulting Numbers: [57, 76]
Generated Node #0,3,2: 53:[57, 76] Operation: 82-6=76
Exploring Operation: 57+6=63, Resulting Numbers: [82, 63]
Generated Node #0,3,3: 53:[82, 63] Operation: 57+6=63
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 53:[57, 76], Operations: ['99-17=82', '82-6=76']
Exploring Operation: 57*76=4332, Resulting Numbers: [4332]
4332,53 unequal: No Solution
Exploring Operation: 57+76=133, Resulting Numbers: [133]
133,53 unequal: No Solution
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[82, 51], Operations: ['99-17=82', '57-6=51']
Exploring Operation: 82-51=31, Resulting Numbers: [31]
31,53 unequal: No Solution
Exploring Operation: 82*51=4182, Resulting Numbers: [4182]
4182,53 unequal: No Solution
Exploring Operation: 82+51=133, Resulting Numbers: [133]
133,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[57, 88], Operations: ['99-17=82', '6+82=88']
Exploring Operation: 57*88=5016, Resulting Numbers: [5016]
5016,53 unequal: No Solution
Exploring Operation: 88-57=31, Resulting Numbers: [31]
31,53 unequal: No Solution
Exploring Operation: 57+88=145, Resulting Numbers: [145]
145,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 53:[82, 63], Operations: ['99-17=82', '57+6=63']
Exploring Operation: 82*63=5166, Resulting Numbers: [5166]
5166,53 unequal: No Solution
Exploring Operation: 82-63=19, Resulting Numbers: [19]
19,53 unequal: No Solution
Exploring Operation: 82+63=145, Resulting Numbers: [145]
145,53 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: 53:[57, 17, 93], Operations: ['99-6=93']
Exploring Operation: 93-17=76, Resulting Numbers: [57, 76]
Generated Node #0,2,0: 53:[57, 76] Operation: 93-17=76
Exploring Operation: 57+17=74, Resulting Numbers: [93, 74]
Generated Node #0,2,1: 53:[93, 74] Operation: 57+17=74
Exploring Operation: 57-17=40, Resulting Numbers: [93, 40]
Generated Node #0,2,2: 53:[93, 40] Operation: 57-17=40
Exploring Operation: 93-57=36, Resulting Numbers: [17, 36]
Generated Node #0,2,3: 53:[17, 36] Operation: 93-57=36
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[57, 76], Operations: ['99-6=93', '93-17=76']
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,53 unequal: No Solution
Exploring Operation: 57+76=133, Resulting Numbers: [133]
133,53 unequal: No Solution
Exploring Operation: 57*76=4332, Resulting Numbers: [4332]
4332,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[93, 40], Operations: ['99-6=93', '57-17=40']
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[57, 17, 6, 99], Operations: []
Exploring Operation: 99-6=93, Resulting Numbers: [57, 17, 93]
Generated Node #0,2: 53:[57, 17, 93] Operation: 99-6=93
Moving to Node #0,2
Current State: 53:[57, 17, 93], Operations: ['99-6=93']
Exploring Operation: 57-17=40, Resulting Numbers: [93, 40]
Generated Node #0,2,2: 53:[93, 40] Operation: 57-17=40
Moving to Node #0,2,2
Current State: 53:[93, 40], Operations: ['99-6=93', '57-17=40']
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_4 | mult_heuristic |
[
62,
8,
28,
24
] | 63 | [
"62-8=54",
"28*54=1512",
"1512/24=63"
] | Current State: 63:[62, 8, 28, 24], Operations: []
Exploring Operation: 62-8=54, Resulting Numbers: [28, 24, 54]
Generated Node #2: [28, 24, 54] from Operation: 62-8=54
Current State: 63:[28, 24, 54], Operations: ['62-8=54']
Exploring Operation: 28*54=1512, Resulting Numbers: [24, 1512]
Generated Node #3: [24, 1512] from Operation: 28*54=1512
Current State: 63:[24, 1512], Operations: ['62-8=54', '28*54=1512']
Exploring Operation: 1512/24=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[62, 8, 28, 24], Operations: []
Exploring Operation: 28-24=4, Resulting Numbers: [62, 8, 4]
Generated Node #0,0: 63:[62, 8, 4] Operation: 28-24=4
Exploring Operation: 28-8=20, Resulting Numbers: [62, 24, 20]
Generated Node #0,1: 63:[62, 24, 20] Operation: 28-8=20
Moving to Node #0,0
Current State: 63:[62, 8, 4], Operations: ['28-24=4']
Exploring Operation: 8-4=4, Resulting Numbers: [62, 4]
Generated Node #0,0,0: 63:[62, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [62, 2]
Generated Node #0,0,1: 63:[62, 2] Operation: 8/4=2
Moving to Node #0,1
Current State: 63:[62, 24, 20], Operations: ['28-8=20']
Exploring Operation: 24-20=4, Resulting Numbers: [62, 4]
Generated Node #0,1,0: 63:[62, 4] Operation: 24-20=4
Exploring Operation: 62-24=38, Resulting Numbers: [20, 38]
Generated Node #0,1,1: 63:[20, 38] Operation: 62-24=38
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 63:[62, 4], Operations: ['28-8=20', '24-20=4']
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,63 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[20, 38], Operations: ['28-8=20', '62-24=38']
Exploring Operation: 20+38=58, Resulting Numbers: [58]
58,63 unequal: No Solution
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,63 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: 63:[62, 4], Operations: ['28-24=4', '8-4=4']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,63 unequal: No Solution
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[62, 2], Operations: ['28-24=4', '8/4=2']
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,63 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
27,
37,
48,
9
] | 29 | [
"37-27=10",
"48-9=39",
"39-10=29"
] | Current State: 29:[27, 37, 48, 9], Operations: []
Exploring Operation: 37-27=10, Resulting Numbers: [48, 9, 10]
Generated Node #2: [48, 9, 10] from Operation: 37-27=10
Current State: 29:[48, 9, 10], Operations: ['37-27=10']
Exploring Operation: 48-9=39, Resulting Numbers: [10, 39]
Generated Node #3: [10, 39] from Operation: 48-9=39
Current State: 29:[10, 39], Operations: ['37-27=10', '48-9=39']
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[27, 37, 48, 9], Operations: []
Exploring Operation: 37-9=28, Resulting Numbers: [27, 48, 28]
Generated Node #0,0: 29:[27, 48, 28] Operation: 37-9=28
Exploring Operation: 27+9=36, Resulting Numbers: [37, 48, 36]
Generated Node #0,1: 29:[37, 48, 36] Operation: 27+9=36
Exploring Operation: 48-9=39, Resulting Numbers: [27, 37, 39]
Generated Node #0,2: 29:[27, 37, 39] Operation: 48-9=39
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[27, 37, 39], Operations: ['48-9=39']
Exploring Operation: 39-27=12, Resulting Numbers: [37, 12]
Generated Node #0,2,0: 29:[37, 12] Operation: 39-27=12
Exploring Operation: 37-27=10, Resulting Numbers: [39, 10]
Generated Node #0,2,1: 29:[39, 10] Operation: 37-27=10
Exploring Operation: 39-37=2, Resulting Numbers: [27, 2]
Generated Node #0,2,2: 29:[27, 2] Operation: 39-37=2
Moving to Node #0,2,0
Current State: 29:[37, 12], Operations: ['48-9=39', '39-27=12']
Exploring Operation: 37*12=444, Resulting Numbers: [444]
444,29 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[39, 10], Operations: ['48-9=39', '37-27=10']
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[27, 37, 48, 9], Operations: []
Exploring Operation: 48-9=39, Resulting Numbers: [27, 37, 39]
Generated Node #0,2: 29:[27, 37, 39] Operation: 48-9=39
Moving to Node #0,2
Current State: 29:[27, 37, 39], Operations: ['48-9=39']
Exploring Operation: 37-27=10, Resulting Numbers: [39, 10]
Generated Node #0,2,1: 29:[39, 10] Operation: 37-27=10
Moving to Node #0,2,1
Current State: 29:[39, 10], Operations: ['48-9=39', '37-27=10']
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
70,
78,
2,
54
] | 97 | [
"70/2=35",
"78+54=132",
"132-35=97"
] | Current State: 97:[70, 78, 2, 54], Operations: []
Exploring Operation: 70/2=35, Resulting Numbers: [78, 54, 35]
Generated Node #2: [78, 54, 35] from Operation: 70/2=35
Current State: 97:[78, 54, 35], Operations: ['70/2=35']
Exploring Operation: 78+54=132, Resulting Numbers: [35, 132]
Generated Node #3: [35, 132] from Operation: 78+54=132
Current State: 97:[35, 132], Operations: ['70/2=35', '78+54=132']
Exploring Operation: 132-35=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[70, 78, 2, 54], Operations: []
Exploring Operation: 2+54=56, Resulting Numbers: [70, 78, 56]
Generated Node #0,0: 97:[70, 78, 56] Operation: 2+54=56
Exploring Operation: 2*54=108, Resulting Numbers: [70, 78, 108]
Generated Node #0,1: 97:[70, 78, 108] Operation: 2*54=108
Exploring Operation: 78+2=80, Resulting Numbers: [70, 54, 80]
Generated Node #0,2: 97:[70, 54, 80] Operation: 78+2=80
Exploring Operation: 70+2=72, Resulting Numbers: [78, 54, 72]
Generated Node #0,3: 97:[78, 54, 72] Operation: 70+2=72
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[70, 78, 108], Operations: ['2*54=108']
Exploring Operation: 70+78=148, Resulting Numbers: [108, 148]
Generated Node #0,1,0: 97:[108, 148] Operation: 70+78=148
Exploring Operation: 108-78=30, Resulting Numbers: [70, 30]
Generated Node #0,1,1: 97:[70, 30] Operation: 108-78=30
Exploring Operation: 108-70=38, Resulting Numbers: [78, 38]
Generated Node #0,1,2: 97:[78, 38] Operation: 108-70=38
Exploring Operation: 78-70=8, Resulting Numbers: [108, 8]
Generated Node #0,1,3: 97:[108, 8] Operation: 78-70=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[108, 148], Operations: ['2*54=108', '70+78=148']
Exploring Operation: 148-108=40, Resulting Numbers: [40]
40,97 unequal: No Solution
Exploring Operation: 108+148=256, Resulting Numbers: [256]
256,97 unequal: No Solution
Exploring Operation: 108*148=15984, Resulting Numbers: [15984]
15984,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:[78, 38], Operations: ['2*54=108', '108-70=38']
Exploring Operation: 78*38=2964, Resulting Numbers: [2964]
2964,97 unequal: No Solution
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,97 unequal: No Solution
Exploring Operation: 78+38=116, Resulting Numbers: [116]
116,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:[70, 30], Operations: ['2*54=108', '108-78=30']
Exploring Operation: 70+30=100, Resulting Numbers: [100]
100,97 unequal: No Solution
Exploring Operation: 70*30=2100, Resulting Numbers: [2100]
2100,97 unequal: No Solution
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,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:[108, 8], Operations: ['2*54=108', '78-70=8']
Exploring Operation: 108+8=116, Resulting Numbers: [116]
116,97 unequal: No Solution
Exploring Operation: 108*8=864, Resulting Numbers: [864]
864,97 unequal: No Solution
Exploring Operation: 108-8=100, Resulting Numbers: [100]
100,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[70, 78, 56], Operations: ['2+54=56']
Exploring Operation: 70+56=126, Resulting Numbers: [78, 126]
Generated Node #0,0,0: 97:[78, 126] Operation: 70+56=126
Exploring Operation: 70+78=148, Resulting Numbers: [56, 148]
Generated Node #0,0,1: 97:[56, 148] Operation: 70+78=148
Exploring Operation: 78+56=134, Resulting Numbers: [70, 134]
Generated Node #0,0,2: 97:[70, 134] Operation: 78+56=134
Exploring Operation: 70-56=14, Resulting Numbers: [78, 14]
Generated Node #0,0,3: 97:[78, 14] Operation: 70-56=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[78, 126], Operations: ['2+54=56', '70+56=126']
Exploring Operation: 126-78=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 78+126=204, Resulting Numbers: [204]
204,97 unequal: No Solution
Exploring Operation: 78*126=9828, Resulting Numbers: [9828]
9828,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 97:[70, 134], Operations: ['2+54=56', '78+56=134']
Exploring Operation: 70+134=204, Resulting Numbers: [204]
204,97 unequal: No Solution
Exploring Operation: 70*134=9380, Resulting Numbers: [9380]
9380,97 unequal: No Solution
Exploring Operation: 134-70=64, Resulting Numbers: [64]
64,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[56, 148], Operations: ['2+54=56', '70+78=148']
Exploring Operation: 56*148=8288, Resulting Numbers: [8288]
8288,97 unequal: No Solution
Exploring Operation: 56+148=204, Resulting Numbers: [204]
204,97 unequal: No Solution
Exploring Operation: 148-56=92, Resulting Numbers: [92]
92,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 97:[78, 14], Operations: ['2+54=56', '70-56=14']
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,97 unequal: No Solution
Exploring Operation: 78*14=1092, Resulting Numbers: [1092]
1092,97 unequal: No Solution
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[70, 54, 80], Operations: ['78+2=80']
Exploring Operation: 70-54=16, Resulting Numbers: [80, 16]
Generated Node #0,2,0: 97:[80, 16] Operation: 70-54=16
Exploring Operation: 70+80=150, Resulting Numbers: [54, 150]
Generated Node #0,2,1: 97:[54, 150] Operation: 70+80=150
Exploring Operation: 70+54=124, Resulting Numbers: [80, 124]
Generated Node #0,2,2: 97:[80, 124] Operation: 70+54=124
Exploring Operation: 54+80=134, Resulting Numbers: [70, 134]
Generated Node #0,2,3: 97:[70, 134] Operation: 54+80=134
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 97:[80, 124], Operations: ['78+2=80', '70+54=124']
Exploring Operation: 80*124=9920, Resulting Numbers: [9920]
9920,97 unequal: No Solution
Exploring Operation: 124-80=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 80+124=204, Resulting Numbers: [204]
204,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 97:[70, 134], Operations: ['78+2=80', '54+80=134']
Exploring Operation: 70+134=204, Resulting Numbers: [204]
204,97 unequal: No Solution
Exploring Operation: 70*134=9380, Resulting Numbers: [9380]
9380,97 unequal: No Solution
Exploring Operation: 134-70=64, Resulting Numbers: [64]
64,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 97:[54, 150], Operations: ['78+2=80', '70+80=150']
Exploring Operation: 150-54=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 54*150=8100, Resulting Numbers: [8100]
8100,97 unequal: No Solution
Exploring Operation: 54+150=204, Resulting Numbers: [204]
204,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 97:[80, 16], Operations: ['78+2=80', '70-54=16']
Exploring Operation: 80*16=1280, Resulting Numbers: [1280]
1280,97 unequal: No Solution
Exploring Operation: 80+16=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,97 unequal: No Solution
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,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:[78, 54, 72], Operations: ['70+2=72']
Exploring Operation: 54+72=126, Resulting Numbers: [78, 126]
Generated Node #0,3,0: 97:[78, 126] Operation: 54+72=126
Exploring Operation: 78-54=24, Resulting Numbers: [72, 24]
Generated Node #0,3,1: 97:[72, 24] Operation: 78-54=24
Exploring Operation: 78+72=150, Resulting Numbers: [54, 150]
Generated Node #0,3,2: 97:[54, 150] Operation: 78+72=150
Exploring Operation: 78+54=132, Resulting Numbers: [72, 132]
Generated Node #0,3,3: 97:[72, 132] Operation: 78+54=132
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 97:[78, 126], Operations: ['70+2=72', '54+72=126']
Exploring Operation: 78+126=204, Resulting Numbers: [204]
204,97 unequal: No Solution
Exploring Operation: 78*126=9828, Resulting Numbers: [9828]
9828,97 unequal: No Solution
Exploring Operation: 126-78=48, Resulting Numbers: [48]
48,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 97:[72, 132], Operations: ['70+2=72', '78+54=132']
Exploring Operation: 72+132=204, Resulting Numbers: [204]
204,97 unequal: No Solution
Exploring Operation: 132-72=60, Resulting Numbers: [60]
60,97 unequal: No Solution
Exploring Operation: 72*132=9504, Resulting Numbers: [9504]
9504,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 97:[54, 150], Operations: ['70+2=72', '78+72=150']
Exploring Operation: 150-54=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 54*150=8100, Resulting Numbers: [8100]
8100,97 unequal: No Solution
Exploring Operation: 54+150=204, Resulting Numbers: [204]
204,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,1
Current State: 97:[72, 24], Operations: ['70+2=72', '78-54=24']
Exploring Operation: 72+24=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 72*24=1728, Resulting Numbers: [1728]
1728,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
91,
91,
77,
18
] | 77 | [
"91-91=0",
"18*0=0",
"77+0=77"
] | Current State: 77:[91, 91, 77, 18], Operations: []
Exploring Operation: 91-91=0, Resulting Numbers: [77, 18, 0]
Generated Node #2: [77, 18, 0] from Operation: 91-91=0
Current State: 77:[77, 18, 0], Operations: ['91-91=0']
Exploring Operation: 18*0=0, Resulting Numbers: [77, 0]
Generated Node #3: [77, 0] from Operation: 18*0=0
Current State: 77:[77, 0], Operations: ['91-91=0', '18*0=0']
Exploring Operation: 77+0=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[91, 91, 77, 18], Operations: []
Exploring Operation: 91/91=1, Resulting Numbers: [77, 18, 1]
Generated Node #0,0: 77:[77, 18, 1] Operation: 91/91=1
Moving to Node #0,0
Current State: 77:[77, 18, 1], Operations: ['91/91=1']
Exploring Operation: 18-1=17, Resulting Numbers: [77, 17]
Generated Node #0,0,0: 77:[77, 17] Operation: 18-1=17
Moving to Node #0,0,0
Current State: 77:[77, 17], Operations: ['91/91=1', '18-1=17']
Exploring Operation: 77+17=94, Resulting Numbers: [94]
94,77 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
33,
91,
61,
27
] | 24 | [
"91-33=58",
"61-27=34",
"58-34=24"
] | Current State: 24:[33, 91, 61, 27], Operations: []
Exploring Operation: 91-33=58, Resulting Numbers: [61, 27, 58]
Generated Node #2: [61, 27, 58] from Operation: 91-33=58
Current State: 24:[61, 27, 58], Operations: ['91-33=58']
Exploring Operation: 61-27=34, Resulting Numbers: [58, 34]
Generated Node #3: [58, 34] from Operation: 61-27=34
Current State: 24:[58, 34], Operations: ['91-33=58', '61-27=34']
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[33, 91, 61, 27], Operations: []
Exploring Operation: 91-61=30, Resulting Numbers: [33, 27, 30]
Generated Node #0,0: 24:[33, 27, 30] Operation: 91-61=30
Exploring Operation: 61-33=28, Resulting Numbers: [91, 27, 28]
Generated Node #0,1: 24:[91, 27, 28] Operation: 61-33=28
Exploring Operation: 61-27=34, Resulting Numbers: [33, 91, 34]
Generated Node #0,2: 24:[33, 91, 34] Operation: 61-27=34
Exploring Operation: 91-33=58, Resulting Numbers: [61, 27, 58]
Generated Node #0,3: 24:[61, 27, 58] Operation: 91-33=58
Exploring Operation: 91-27=64, Resulting Numbers: [33, 61, 64]
Generated Node #0,4: 24:[33, 61, 64] Operation: 91-27=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[33, 27, 30], Operations: ['91-61=30']
Exploring Operation: 33+30=63, Resulting Numbers: [27, 63]
Generated Node #0,0,0: 24:[27, 63] Operation: 33+30=63
Exploring Operation: 33+27=60, Resulting Numbers: [30, 60]
Generated Node #0,0,1: 24:[30, 60] Operation: 33+27=60
Exploring Operation: 33-27=6, Resulting Numbers: [30, 6]
Generated Node #0,0,2: 24:[30, 6] Operation: 33-27=6
Exploring Operation: 33-30=3, Resulting Numbers: [27, 3]
Generated Node #0,0,3: 24:[27, 3] Operation: 33-30=3
Exploring Operation: 30-27=3, Resulting Numbers: [33, 3]
Generated Node #0,0,4: 24:[33, 3] Operation: 30-27=3
Moving to Node #0,0,3
Current State: 24:[27, 3], Operations: ['91-61=30', '33-30=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[33, 91, 61, 27], Operations: []
Exploring Operation: 91-61=30, Resulting Numbers: [33, 27, 30]
Generated Node #0,0: 24:[33, 27, 30] Operation: 91-61=30
Moving to Node #0,0
Current State: 24:[33, 27, 30], Operations: ['91-61=30']
Exploring Operation: 33-30=3, Resulting Numbers: [27, 3]
Generated Node #0,0,3: 24:[27, 3] Operation: 33-30=3
Moving to Node #0,0,3
Current State: 24:[27, 3], Operations: ['91-61=30', '33-30=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
84,
32,
92,
87
] | 20 | [
"87-84=3",
"92-32=60",
"60/3=20"
] | Current State: 20:[84, 32, 92, 87], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [32, 92, 3]
Generated Node #2: [32, 92, 3] from Operation: 87-84=3
Current State: 20:[32, 92, 3], Operations: ['87-84=3']
Exploring Operation: 92-32=60, Resulting Numbers: [3, 60]
Generated Node #3: [3, 60] from Operation: 92-32=60
Current State: 20:[3, 60], Operations: ['87-84=3', '92-32=60']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[84, 32, 92, 87], Operations: []
Exploring Operation: 92-87=5, Resulting Numbers: [84, 32, 5]
Generated Node #0,0: 20:[84, 32, 5] Operation: 92-87=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[84, 32, 5], Operations: ['92-87=5']
Exploring Operation: 84-32=52, Resulting Numbers: [5, 52]
Generated Node #0,0,0: 20:[5, 52] Operation: 84-32=52
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[5, 52], Operations: ['92-87=5', '84-32=52']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,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_1 | sum_heuristic |
[
1,
53,
66,
38
] | 25 | [
"1*53=53",
"66-38=28",
"53-28=25"
] | Current State: 25:[1, 53, 66, 38], Operations: []
Exploring Operation: 1*53=53, Resulting Numbers: [66, 38, 53]
Generated Node #2: [66, 38, 53] from Operation: 1*53=53
Current State: 25:[66, 38, 53], Operations: ['1*53=53']
Exploring Operation: 66-38=28, Resulting Numbers: [53, 28]
Generated Node #3: [53, 28] from Operation: 66-38=28
Current State: 25:[53, 28], Operations: ['1*53=53', '66-38=28']
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[1, 53, 66, 38], Operations: []
Exploring Operation: 66-53=13, Resulting Numbers: [1, 38, 13]
Generated Node #0,0: 25:[1, 38, 13] Operation: 66-53=13
Exploring Operation: 53-38=15, Resulting Numbers: [1, 66, 15]
Generated Node #0,1: 25:[1, 66, 15] Operation: 53-38=15
Exploring Operation: 66-38=28, Resulting Numbers: [1, 53, 28]
Generated Node #0,2: 25:[1, 53, 28] Operation: 66-38=28
Moving to Node #0,0
Current State: 25:[1, 38, 13], Operations: ['66-53=13']
Exploring Operation: 13-1=12, Resulting Numbers: [38, 12]
Generated Node #0,0,0: 25:[38, 12] Operation: 13-1=12
Exploring Operation: 38-1=37, Resulting Numbers: [13, 37]
Generated Node #0,0,1: 25:[13, 37] Operation: 38-1=37
Exploring Operation: 38-13=25, Resulting Numbers: [1, 25]
Generated Node #0,0,2: 25:[1, 25] Operation: 38-13=25
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[1, 25], Operations: ['66-53=13', '38-13=25']
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[1, 53, 66, 38], Operations: []
Exploring Operation: 66-53=13, Resulting Numbers: [1, 38, 13]
Generated Node #0,0: 25:[1, 38, 13] Operation: 66-53=13
Moving to Node #0,0
Current State: 25:[1, 38, 13], Operations: ['66-53=13']
Exploring Operation: 38-13=25, Resulting Numbers: [1, 25]
Generated Node #0,0,2: 25:[1, 25] Operation: 38-13=25
Moving to Node #0,0,2
Current State: 25:[1, 25], Operations: ['66-53=13', '38-13=25']
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
69,
23,
35,
9
] | 96 | [
"69/23=3",
"35*3=105",
"105-9=96"
] | Current State: 96:[69, 23, 35, 9], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [35, 9, 3]
Generated Node #2: [35, 9, 3] from Operation: 69/23=3
Current State: 96:[35, 9, 3], Operations: ['69/23=3']
Exploring Operation: 35*3=105, Resulting Numbers: [9, 105]
Generated Node #3: [9, 105] from Operation: 35*3=105
Current State: 96:[9, 105], Operations: ['69/23=3', '35*3=105']
Exploring Operation: 105-9=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[69, 23, 35, 9], Operations: []
Exploring Operation: 69-35=34, Resulting Numbers: [23, 9, 34]
Generated Node #0,0: 96:[23, 9, 34] Operation: 69-35=34
Exploring Operation: 69/23=3, Resulting Numbers: [35, 9, 3]
Generated Node #0,1: 96:[35, 9, 3] Operation: 69/23=3
Exploring Operation: 69+23=92, Resulting Numbers: [35, 9, 92]
Generated Node #0,2: 96:[35, 9, 92] Operation: 69+23=92
Exploring Operation: 69-23=46, Resulting Numbers: [35, 9, 46]
Generated Node #0,3: 96:[35, 9, 46] Operation: 69-23=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[23, 9, 34], Operations: ['69-35=34']
Exploring Operation: 23-9=14, Resulting Numbers: [34, 14]
Generated Node #0,0,0: 96:[34, 14] Operation: 23-9=14
Exploring Operation: 34-23=11, Resulting Numbers: [9, 11]
Generated Node #0,0,1: 96:[9, 11] Operation: 34-23=11
Exploring Operation: 34-9=25, Resulting Numbers: [23, 25]
Generated Node #0,0,2: 96:[23, 25] Operation: 34-9=25
Exploring Operation: 23+9=32, Resulting Numbers: [34, 32]
Generated Node #0,0,3: 96:[34, 32] Operation: 23+9=32
Moving to Node #0,0,1
Current State: 96:[9, 11], Operations: ['69-35=34', '34-23=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,96 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,96 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[34, 32], Operations: ['69-35=34', '23+9=32']
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,96 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 34*32=1088, Resulting Numbers: [1088]
1088,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[23, 25], Operations: ['69-35=34', '34-9=25']
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 23*25=575, Resulting Numbers: [575]
575,96 unequal: No Solution
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[34, 14], Operations: ['69-35=34', '23-9=14']
Exploring Operation: 34+14=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,96 unequal: No Solution
Exploring Operation: 34*14=476, Resulting Numbers: [476]
476,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[35, 9, 3], Operations: ['69/23=3']
Exploring Operation: 9+3=12, Resulting Numbers: [35, 12]
Generated Node #0,1,0: 96:[35, 12] Operation: 9+3=12
Exploring Operation: 35-3=32, Resulting Numbers: [9, 32]
Generated Node #0,1,1: 96:[9, 32] Operation: 35-3=32
Exploring Operation: 9-3=6, Resulting Numbers: [35, 6]
Generated Node #0,1,2: 96:[35, 6] Operation: 9-3=6
Exploring Operation: 35-9=26, Resulting Numbers: [3, 26]
Generated Node #0,1,3: 96:[3, 26] Operation: 35-9=26
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[9, 32], Operations: ['69/23=3', '35-3=32']
Exploring Operation: 9*32=288, Resulting Numbers: [288]
288,96 unequal: No Solution
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,96 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 96:[3, 26], Operations: ['69/23=3', '35-9=26']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,96 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,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:[35, 12], Operations: ['69/23=3', '9+3=12']
Exploring Operation: 35*12=420, Resulting Numbers: [420]
420,96 unequal: No Solution
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Exploring Operation: 35+12=47, Resulting Numbers: [47]
47,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:[35, 6], Operations: ['69/23=3', '9-3=6']
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,96 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,96 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,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,3
Current State: 96:[35, 9, 46], Operations: ['69-23=46']
Exploring Operation: 46-9=37, Resulting Numbers: [35, 37]
Generated Node #0,3,0: 96:[35, 37] Operation: 46-9=37
Exploring Operation: 46-35=11, Resulting Numbers: [9, 11]
Generated Node #0,3,1: 96:[9, 11] Operation: 46-35=11
Exploring Operation: 35-9=26, Resulting Numbers: [46, 26]
Generated Node #0,3,2: 96:[46, 26] Operation: 35-9=26
Exploring Operation: 35+9=44, Resulting Numbers: [46, 44]
Generated Node #0,3,3: 96:[46, 44] Operation: 35+9=44
Moving to Node #0,3,1
Current State: 96:[9, 11], Operations: ['69-23=46', '46-35=11']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,96 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,96 unequal: No Solution
Moving to Node #0,3,2
Current State: 96:[46, 26], Operations: ['69-23=46', '35-9=26']
Exploring Operation: 46+26=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,96 unequal: No Solution
Exploring Operation: 46*26=1196, Resulting Numbers: [1196]
1196,96 unequal: No Solution
Moving to Node #0,3,3
Current State: 96:[46, 44], Operations: ['69-23=46', '35+9=44']
Exploring Operation: 46+44=90, Resulting Numbers: [90]
90,96 unequal: No Solution
Exploring Operation: 46*44=2024, Resulting Numbers: [2024]
2024,96 unequal: No Solution
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Moving to Node #0,3,0
Current State: 96:[35, 37], Operations: ['69-23=46', '46-9=37']
Exploring Operation: 35*37=1295, Resulting Numbers: [1295]
1295,96 unequal: No Solution
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[35, 9, 92], Operations: ['69+23=92']
Exploring Operation: 9+92=101, Resulting Numbers: [35, 101]
Generated Node #0,2,0: 96:[35, 101] Operation: 9+92=101
Exploring Operation: 35+9=44, Resulting Numbers: [92, 44]
Generated Node #0,2,1: 96:[92, 44] Operation: 35+9=44
Exploring Operation: 92-35=57, Resulting Numbers: [9, 57]
Generated Node #0,2,2: 96:[9, 57] Operation: 92-35=57
Exploring Operation: 35-9=26, Resulting Numbers: [92, 26]
Generated Node #0,2,3: 96:[92, 26] Operation: 35-9=26
Moving to Node #0,2,3
Current State: 96:[92, 26], Operations: ['69+23=92', '35-9=26']
Exploring Operation: 92-26=66, Resulting Numbers: [66]
66,96 unequal: No Solution
Exploring Operation: 92*26=2392, Resulting Numbers: [2392]
2392,96 unequal: No Solution
Exploring Operation: 92+26=118, Resulting Numbers: [118]
118,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[92, 44], Operations: ['69+23=92', '35+9=44']
Exploring Operation: 92*44=4048, Resulting Numbers: [4048]
4048,96 unequal: No Solution
Exploring Operation: 92-44=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Exploring Operation: 92+44=136, Resulting Numbers: [136]
136,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[35, 101], Operations: ['69+23=92', '9+92=101']
Exploring Operation: 35+101=136, Resulting Numbers: [136]
136,96 unequal: No Solution
Exploring Operation: 35*101=3535, Resulting Numbers: [3535]
3535,96 unequal: No Solution
Exploring Operation: 101-35=66, Resulting Numbers: [66]
66,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[9, 57], Operations: ['69+23=92', '92-35=57']
Exploring Operation: 9*57=513, Resulting Numbers: [513]
513,96 unequal: No Solution
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Exploring Operation: 9+57=66, Resulting Numbers: [66]
66,96 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 |
[
12,
1,
55,
52
] | 48 | [
"1+55=56",
"56-52=4",
"12*4=48"
] | Current State: 48:[12, 1, 55, 52], Operations: []
Exploring Operation: 1+55=56, Resulting Numbers: [12, 52, 56]
Generated Node #2: [12, 52, 56] from Operation: 1+55=56
Current State: 48:[12, 52, 56], Operations: ['1+55=56']
Exploring Operation: 56-52=4, Resulting Numbers: [12, 4]
Generated Node #3: [12, 4] from Operation: 56-52=4
Current State: 48:[12, 4], Operations: ['1+55=56', '56-52=4']
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[12, 1, 55, 52], Operations: []
Exploring Operation: 55-1=54, Resulting Numbers: [12, 52, 54]
Generated Node #0,0: 48:[12, 52, 54] Operation: 55-1=54
Exploring Operation: 55-52=3, Resulting Numbers: [12, 1, 3]
Generated Node #0,1: 48:[12, 1, 3] Operation: 55-52=3
Exploring Operation: 55-12=43, Resulting Numbers: [1, 52, 43]
Generated Node #0,2: 48:[1, 52, 43] Operation: 55-12=43
Moving to Node #0,1
Current State: 48:[12, 1, 3], Operations: ['55-52=3']
Exploring Operation: 1+3=4, Resulting Numbers: [12, 4]
Generated Node #0,1,0: 48:[12, 4] Operation: 1+3=4
Exploring Operation: 12*1=12, Resulting Numbers: [3, 12]
Generated Node #0,1,1: 48:[3, 12] Operation: 12*1=12
Exploring Operation: 12/1=12, Resulting Numbers: [3, 12]
Generated Node #0,1,2: 48:[3, 12] Operation: 12/1=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[12, 4], Operations: ['55-52=3', '1+3=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[12, 1, 55, 52], Operations: []
Exploring Operation: 55-52=3, Resulting Numbers: [12, 1, 3]
Generated Node #0,1: 48:[12, 1, 3] Operation: 55-52=3
Moving to Node #0,1
Current State: 48:[12, 1, 3], Operations: ['55-52=3']
Exploring Operation: 1+3=4, Resulting Numbers: [12, 4]
Generated Node #0,1,0: 48:[12, 4] Operation: 1+3=4
Moving to Node #0,1,0
Current State: 48:[12, 4], Operations: ['55-52=3', '1+3=4']
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
78,
11,
88,
71
] | 84 | [
"78-11=67",
"88-71=17",
"67+17=84"
] | Current State: 84:[78, 11, 88, 71], Operations: []
Exploring Operation: 78-11=67, Resulting Numbers: [88, 71, 67]
Generated Node #2: [88, 71, 67] from Operation: 78-11=67
Current State: 84:[88, 71, 67], Operations: ['78-11=67']
Exploring Operation: 88-71=17, Resulting Numbers: [67, 17]
Generated Node #3: [67, 17] from Operation: 88-71=17
Current State: 84:[67, 17], Operations: ['78-11=67', '88-71=17']
Exploring Operation: 67+17=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[78, 11, 88, 71], Operations: []
Exploring Operation: 88-71=17, Resulting Numbers: [78, 11, 17]
Generated Node #0,0: 84:[78, 11, 17] Operation: 88-71=17
Exploring Operation: 78-71=7, Resulting Numbers: [11, 88, 7]
Generated Node #0,1: 84:[11, 88, 7] Operation: 78-71=7
Moving to Node #0,1
Current State: 84:[11, 88, 7], Operations: ['78-71=7']
Exploring Operation: 11-7=4, Resulting Numbers: [88, 4]
Generated Node #0,1,0: 84:[88, 4] Operation: 11-7=4
Exploring Operation: 88/11=8, Resulting Numbers: [7, 8]
Generated Node #0,1,1: 84:[7, 8] Operation: 88/11=8
Moving to Node #0,0
Current State: 84:[78, 11, 17], Operations: ['88-71=17']
Exploring Operation: 11+17=28, Resulting Numbers: [78, 28]
Generated Node #0,0,0: 84:[78, 28] Operation: 11+17=28
Exploring Operation: 17-11=6, Resulting Numbers: [78, 6]
Generated Node #0,0,1: 84:[78, 6] Operation: 17-11=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[78, 28], Operations: ['88-71=17', '11+17=28']
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Exploring Operation: 78+28=106, Resulting Numbers: [106]
106,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[78, 6], Operations: ['88-71=17', '17-11=6']
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[78, 11, 88, 71], Operations: []
Exploring Operation: 88-71=17, Resulting Numbers: [78, 11, 17]
Generated Node #0,0: 84:[78, 11, 17] Operation: 88-71=17
Moving to Node #0,0
Current State: 84:[78, 11, 17], Operations: ['88-71=17']
Exploring Operation: 17-11=6, Resulting Numbers: [78, 6]
Generated Node #0,0,1: 84:[78, 6] Operation: 17-11=6
Moving to Node #0,0,1
Current State: 84:[78, 6], Operations: ['88-71=17', '17-11=6']
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_2 | mult_heuristic |
[
17,
7,
93,
85
] | 16 | [
"17+7=24",
"93-85=8",
"24-8=16"
] | Current State: 16:[17, 7, 93, 85], Operations: []
Exploring Operation: 17+7=24, Resulting Numbers: [93, 85, 24]
Generated Node #2: [93, 85, 24] from Operation: 17+7=24
Current State: 16:[93, 85, 24], Operations: ['17+7=24']
Exploring Operation: 93-85=8, Resulting Numbers: [24, 8]
Generated Node #3: [24, 8] from Operation: 93-85=8
Current State: 16:[24, 8], Operations: ['17+7=24', '93-85=8']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[17, 7, 93, 85], Operations: []
Exploring Operation: 93-85=8, Resulting Numbers: [17, 7, 8]
Generated Node #0,0: 16:[17, 7, 8] Operation: 93-85=8
Moving to Node #0,0
Current State: 16:[17, 7, 8], Operations: ['93-85=8']
Exploring Operation: 17-7=10, Resulting Numbers: [8, 10]
Generated Node #0,0,0: 16:[8, 10] Operation: 17-7=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[8, 10], Operations: ['93-85=8', '17-7=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,16 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 |
[
43,
66,
40,
10
] | 80 | [
"43-10=33",
"66*40=2640",
"2640/33=80"
] | Current State: 80:[43, 66, 40, 10], Operations: []
Exploring Operation: 43-10=33, Resulting Numbers: [66, 40, 33]
Generated Node #2: [66, 40, 33] from Operation: 43-10=33
Current State: 80:[66, 40, 33], Operations: ['43-10=33']
Exploring Operation: 66*40=2640, Resulting Numbers: [33, 2640]
Generated Node #3: [33, 2640] from Operation: 66*40=2640
Current State: 80:[33, 2640], Operations: ['43-10=33', '66*40=2640']
Exploring Operation: 2640/33=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[43, 66, 40, 10], Operations: []
Exploring Operation: 66-43=23, Resulting Numbers: [40, 10, 23]
Generated Node #0,0: 80:[40, 10, 23] Operation: 66-43=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[40, 10, 23], Operations: ['66-43=23']
Exploring Operation: 40-23=17, Resulting Numbers: [10, 17]
Generated Node #0,0,0: 80:[10, 17] Operation: 40-23=17
Moving to Node #0,0,0
Current State: 80:[10, 17], Operations: ['66-43=23', '40-23=17']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,80 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 |
[
17,
35,
41,
22
] | 70 | [
"41-17=24",
"24-22=2",
"35*2=70"
] | Current State: 70:[17, 35, 41, 22], Operations: []
Exploring Operation: 41-17=24, Resulting Numbers: [35, 22, 24]
Generated Node #2: [35, 22, 24] from Operation: 41-17=24
Current State: 70:[35, 22, 24], Operations: ['41-17=24']
Exploring Operation: 24-22=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 24-22=2
Current State: 70:[35, 2], Operations: ['41-17=24', '24-22=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[17, 35, 41, 22], Operations: []
Exploring Operation: 41+22=63, Resulting Numbers: [17, 35, 63]
Generated Node #0,0: 70:[17, 35, 63] Operation: 41+22=63
Exploring Operation: 22-17=5, Resulting Numbers: [35, 41, 5]
Generated Node #0,1: 70:[35, 41, 5] Operation: 22-17=5
Exploring Operation: 35-22=13, Resulting Numbers: [17, 41, 13]
Generated Node #0,2: 70:[17, 41, 13] Operation: 35-22=13
Exploring Operation: 17+22=39, Resulting Numbers: [35, 41, 39]
Generated Node #0,3: 70:[35, 41, 39] Operation: 17+22=39
Exploring Operation: 41-22=19, Resulting Numbers: [17, 35, 19]
Generated Node #0,4: 70:[17, 35, 19] Operation: 41-22=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[35, 41, 5], Operations: ['22-17=5']
Exploring Operation: 35+5=40, Resulting Numbers: [41, 40]
Generated Node #0,1,0: 70:[41, 40] Operation: 35+5=40
Exploring Operation: 41-35=6, Resulting Numbers: [5, 6]
Generated Node #0,1,1: 70:[5, 6] Operation: 41-35=6
Exploring Operation: 41-5=36, Resulting Numbers: [35, 36]
Generated Node #0,1,2: 70:[35, 36] Operation: 41-5=36
Exploring Operation: 35/5=7, Resulting Numbers: [41, 7]
Generated Node #0,1,3: 70:[41, 7] Operation: 35/5=7
Exploring Operation: 35+41=76, Resulting Numbers: [5, 76]
Generated Node #0,1,4: 70:[5, 76] Operation: 35+41=76
Moving to Node #0,1,1
Current State: 70:[5, 6], Operations: ['22-17=5', '41-35=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[35, 36], Operations: ['22-17=5', '41-5=36']
Exploring Operation: 35*36=1260, Resulting Numbers: [1260]
1260,70 unequal: No Solution
Exploring Operation: 35+36=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Moving to Node #0,1,3
Current State: 70:[41, 7], Operations: ['22-17=5', '35/5=7']
Exploring Operation: 41+7=48, Resulting Numbers: [48]
48,70 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 41*7=287, Resulting Numbers: [287]
287,70 unequal: No Solution
Moving to Node #0,1,4
Current State: 70:[5, 76], Operations: ['22-17=5', '35+41=76']
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,70 unequal: No Solution
Exploring Operation: 5*76=380, Resulting Numbers: [380]
380,70 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[41, 40], Operations: ['22-17=5', '35+5=40']
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 41+40=81, Resulting Numbers: [81]
81,70 unequal: No Solution
Exploring Operation: 41*40=1640, Resulting Numbers: [1640]
1640,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
Current State: 70:[17, 35, 19], Operations: ['41-22=19']
Exploring Operation: 35-17=18, Resulting Numbers: [19, 18]
Generated Node #0,4,0: 70:[19, 18] Operation: 35-17=18
Exploring Operation: 35+19=54, Resulting Numbers: [17, 54]
Generated Node #0,4,1: 70:[17, 54] Operation: 35+19=54
Exploring Operation: 19-17=2, Resulting Numbers: [35, 2]
Generated Node #0,4,2: 70:[35, 2] Operation: 19-17=2
Exploring Operation: 35-19=16, Resulting Numbers: [17, 16]
Generated Node #0,4,3: 70:[17, 16] Operation: 35-19=16
Exploring Operation: 17+19=36, Resulting Numbers: [35, 36]
Generated Node #0,4,4: 70:[35, 36] Operation: 17+19=36
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 70:[35, 2], Operations: ['41-22=19', '19-17=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[17, 35, 41, 22], Operations: []
Exploring Operation: 41-22=19, Resulting Numbers: [17, 35, 19]
Generated Node #0,4: 70:[17, 35, 19] Operation: 41-22=19
Moving to Node #0,4
Current State: 70:[17, 35, 19], Operations: ['41-22=19']
Exploring Operation: 19-17=2, Resulting Numbers: [35, 2]
Generated Node #0,4,2: 70:[35, 2] Operation: 19-17=2
Moving to Node #0,4,2
Current State: 70:[35, 2], Operations: ['41-22=19', '19-17=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_5 | mult_heuristic |
[
54,
46,
37,
6
] | 85 | [
"54-46=8",
"6*8=48",
"37+48=85"
] | Current State: 85:[54, 46, 37, 6], Operations: []
Exploring Operation: 54-46=8, Resulting Numbers: [37, 6, 8]
Generated Node #2: [37, 6, 8] from Operation: 54-46=8
Current State: 85:[37, 6, 8], Operations: ['54-46=8']
Exploring Operation: 6*8=48, Resulting Numbers: [37, 48]
Generated Node #3: [37, 48] from Operation: 6*8=48
Current State: 85:[37, 48], Operations: ['54-46=8', '6*8=48']
Exploring Operation: 37+48=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[54, 46, 37, 6], Operations: []
Exploring Operation: 54+46=100, Resulting Numbers: [37, 6, 100]
Generated Node #0,0: 85:[37, 6, 100] Operation: 54+46=100
Exploring Operation: 54-37=17, Resulting Numbers: [46, 6, 17]
Generated Node #0,1: 85:[46, 6, 17] Operation: 54-37=17
Exploring Operation: 46+37=83, Resulting Numbers: [54, 6, 83]
Generated Node #0,2: 85:[54, 6, 83] Operation: 46+37=83
Exploring Operation: 54-46=8, Resulting Numbers: [37, 6, 8]
Generated Node #0,3: 85:[37, 6, 8] Operation: 54-46=8
Moving to Node #0,3
Current State: 85:[37, 6, 8], Operations: ['54-46=8']
Exploring Operation: 6+8=14, Resulting Numbers: [37, 14]
Generated Node #0,3,0: 85:[37, 14] Operation: 6+8=14
Exploring Operation: 8-6=2, Resulting Numbers: [37, 2]
Generated Node #0,3,1: 85:[37, 2] Operation: 8-6=2
Exploring Operation: 37-8=29, Resulting Numbers: [6, 29]
Generated Node #0,3,2: 85:[6, 29] Operation: 37-8=29
Exploring Operation: 37-6=31, Resulting Numbers: [8, 31]
Generated Node #0,3,3: 85:[8, 31] Operation: 37-6=31
Moving to Node #0,1
Current State: 85:[46, 6, 17], Operations: ['54-37=17']
Exploring Operation: 46+6=52, Resulting Numbers: [17, 52]
Generated Node #0,1,0: 85:[17, 52] Operation: 46+6=52
Exploring Operation: 46-17=29, Resulting Numbers: [6, 29]
Generated Node #0,1,1: 85:[6, 29] Operation: 46-17=29
Exploring Operation: 46-6=40, Resulting Numbers: [17, 40]
Generated Node #0,1,2: 85:[17, 40] Operation: 46-6=40
Exploring Operation: 46+17=63, Resulting Numbers: [6, 63]
Generated Node #0,1,3: 85:[6, 63] Operation: 46+17=63
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[6, 29], Operations: ['54-37=17', '46-17=29']
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[17, 40], Operations: ['54-37=17', '46-6=40']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Exploring Operation: 17*40=680, Resulting Numbers: [680]
680,85 unequal: No Solution
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 85:[6, 63], Operations: ['54-37=17', '46+17=63']
Exploring Operation: 6+63=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Exploring Operation: 6*63=378, Resulting Numbers: [378]
378,85 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[17, 52], Operations: ['54-37=17', '46+6=52']
Exploring Operation: 17+52=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 17*52=884, Resulting Numbers: [884]
884,85 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: 85:[54, 6, 83], Operations: ['46+37=83']
Exploring Operation: 54+6=60, Resulting Numbers: [83, 60]
Generated Node #0,2,0: 85:[83, 60] Operation: 54+6=60
Exploring Operation: 54-6=48, Resulting Numbers: [83, 48]
Generated Node #0,2,1: 85:[83, 48] Operation: 54-6=48
Exploring Operation: 54/6=9, Resulting Numbers: [83, 9]
Generated Node #0,2,2: 85:[83, 9] Operation: 54/6=9
Exploring Operation: 83-54=29, Resulting Numbers: [6, 29]
Generated Node #0,2,3: 85:[6, 29] Operation: 83-54=29
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 85:[83, 9], Operations: ['46+37=83', '54/6=9']
Exploring Operation: 83+9=92, Resulting Numbers: [92]
92,85 unequal: No Solution
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 83*9=747, Resulting Numbers: [747]
747,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 85:[6, 29], Operations: ['46+37=83', '83-54=29']
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,85 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[83, 60], Operations: ['46+37=83', '54+6=60']
Exploring Operation: 83+60=143, Resulting Numbers: [143]
143,85 unequal: No Solution
Exploring Operation: 83-60=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Exploring Operation: 83*60=4980, Resulting Numbers: [4980]
4980,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[83, 48], Operations: ['46+37=83', '54-6=48']
Exploring Operation: 83*48=3984, Resulting Numbers: [3984]
3984,85 unequal: No Solution
Exploring Operation: 83+48=131, Resulting Numbers: [131]
131,85 unequal: No Solution
Exploring Operation: 83-48=35, Resulting Numbers: [35]
35,85 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: 85:[37, 6, 100], Operations: ['54+46=100']
Exploring Operation: 37-6=31, Resulting Numbers: [100, 31]
Generated Node #0,0,0: 85:[100, 31] Operation: 37-6=31
Exploring Operation: 100-37=63, Resulting Numbers: [6, 63]
Generated Node #0,0,1: 85:[6, 63] Operation: 100-37=63
Exploring Operation: 100-6=94, Resulting Numbers: [37, 94]
Generated Node #0,0,2: 85:[37, 94] Operation: 100-6=94
Exploring Operation: 37+6=43, Resulting Numbers: [100, 43]
Generated Node #0,0,3: 85:[100, 43] Operation: 37+6=43
Moving to Node #0,3,2
Current State: 85:[6, 29], Operations: ['54-46=8', '37-8=29']
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,85 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Moving to Node #0,3,3
Current State: 85:[8, 31], Operations: ['54-46=8', '37-6=31']
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,85 unequal: No Solution
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,85 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Moving to Node #0,3,0
Current State: 85:[37, 14], Operations: ['54-46=8', '6+8=14']
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,85 unequal: No Solution
Exploring Operation: 37*14=518, Resulting Numbers: [518]
518,85 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[6, 63], Operations: ['54+46=100', '100-37=63']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,85 unequal: No Solution
Exploring Operation: 6*63=378, Resulting Numbers: [378]
378,85 unequal: No Solution
Exploring Operation: 6+63=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Moving to Node #0,3,1
Current State: 85:[37, 2], Operations: ['54-46=8', '8-6=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,85 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[100, 31], Operations: ['54+46=100', '37-6=31']
Exploring Operation: 100+31=131, Resulting Numbers: [131]
131,85 unequal: No Solution
Exploring Operation: 100-31=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Exploring Operation: 100*31=3100, Resulting Numbers: [3100]
3100,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[37, 94], Operations: ['54+46=100', '100-6=94']
Exploring Operation: 37*94=3478, Resulting Numbers: [3478]
3478,85 unequal: No Solution
Exploring Operation: 94-37=57, Resulting Numbers: [57]
57,85 unequal: No Solution
Exploring Operation: 37+94=131, Resulting Numbers: [131]
131,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[100, 43], Operations: ['54+46=100', '37+6=43']
Exploring Operation: 100-43=57, Resulting Numbers: [57]
57,85 unequal: No Solution
Exploring Operation: 100*43=4300, Resulting Numbers: [4300]
4300,85 unequal: No Solution
Exploring Operation: 100+43=143, Resulting Numbers: [143]
143,85 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
12,
17,
13,
87
] | 20 | [
"17-12=5",
"13+87=100",
"100/5=20"
] | Current State: 20:[12, 17, 13, 87], Operations: []
Exploring Operation: 17-12=5, Resulting Numbers: [13, 87, 5]
Generated Node #2: [13, 87, 5] from Operation: 17-12=5
Current State: 20:[13, 87, 5], Operations: ['17-12=5']
Exploring Operation: 13+87=100, Resulting Numbers: [5, 100]
Generated Node #3: [5, 100] from Operation: 13+87=100
Current State: 20:[5, 100], Operations: ['17-12=5', '13+87=100']
Exploring Operation: 100/5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[12, 17, 13, 87], Operations: []
Exploring Operation: 87-13=74, Resulting Numbers: [12, 17, 74]
Generated Node #0,0: 20:[12, 17, 74] Operation: 87-13=74
Exploring Operation: 87-17=70, Resulting Numbers: [12, 13, 70]
Generated Node #0,1: 20:[12, 13, 70] Operation: 87-17=70
Moving to Node #0,1
Current State: 20:[12, 13, 70], Operations: ['87-17=70']
Exploring Operation: 70-13=57, Resulting Numbers: [12, 57]
Generated Node #0,1,0: 20:[12, 57] Operation: 70-13=57
Exploring Operation: 70-12=58, Resulting Numbers: [13, 58]
Generated Node #0,1,1: 20:[13, 58] Operation: 70-12=58
Moving to Node #0,0
Current State: 20:[12, 17, 74], Operations: ['87-13=74']
Exploring Operation: 74-17=57, Resulting Numbers: [12, 57]
Generated Node #0,0,0: 20:[12, 57] Operation: 74-17=57
Exploring Operation: 74-12=62, Resulting Numbers: [17, 62]
Generated Node #0,0,1: 20:[17, 62] Operation: 74-12=62
Moving to Node #0,1,0
Current State: 20:[12, 57], Operations: ['87-17=70', '70-13=57']
Exploring Operation: 12+57=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[12, 57], Operations: ['87-13=74', '74-17=57']
Exploring Operation: 12+57=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[13, 58], Operations: ['87-17=70', '70-12=58']
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,20 unequal: No Solution
Exploring Operation: 13+58=71, Resulting Numbers: [71]
71,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[17, 62], Operations: ['87-13=74', '74-12=62']
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,20 unequal: No Solution
Exploring Operation: 17+62=79, Resulting Numbers: [79]
79,20 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
52,
30,
42,
11
] | 21 | [
"52-30=22",
"42*11=462",
"462/22=21"
] | Current State: 21:[52, 30, 42, 11], Operations: []
Exploring Operation: 52-30=22, Resulting Numbers: [42, 11, 22]
Generated Node #2: [42, 11, 22] from Operation: 52-30=22
Current State: 21:[42, 11, 22], Operations: ['52-30=22']
Exploring Operation: 42*11=462, Resulting Numbers: [22, 462]
Generated Node #3: [22, 462] from Operation: 42*11=462
Current State: 21:[22, 462], Operations: ['52-30=22', '42*11=462']
Exploring Operation: 462/22=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[52, 30, 42, 11], Operations: []
Exploring Operation: 52-42=10, Resulting Numbers: [30, 11, 10]
Generated Node #0,0: 21:[30, 11, 10] Operation: 52-42=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[30, 11, 10], Operations: ['52-42=10']
Exploring Operation: 30/10=3, Resulting Numbers: [11, 3]
Generated Node #0,0,0: 21:[11, 3] Operation: 30/10=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[11, 3], Operations: ['52-42=10', '30/10=3']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
7,
26,
6,
35
] | 60 | [
"26-7=19",
"6+35=41",
"19+41=60"
] | Current State: 60:[7, 26, 6, 35], Operations: []
Exploring Operation: 26-7=19, Resulting Numbers: [6, 35, 19]
Generated Node #2: [6, 35, 19] from Operation: 26-7=19
Current State: 60:[6, 35, 19], Operations: ['26-7=19']
Exploring Operation: 6+35=41, Resulting Numbers: [19, 41]
Generated Node #3: [19, 41] from Operation: 6+35=41
Current State: 60:[19, 41], Operations: ['26-7=19', '6+35=41']
Exploring Operation: 19+41=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[7, 26, 6, 35], Operations: []
Exploring Operation: 35/7=5, Resulting Numbers: [26, 6, 5]
Generated Node #0,0: 60:[26, 6, 5] Operation: 35/7=5
Exploring Operation: 26+35=61, Resulting Numbers: [7, 6, 61]
Generated Node #0,1: 60:[7, 6, 61] Operation: 26+35=61
Exploring Operation: 35-26=9, Resulting Numbers: [7, 6, 9]
Generated Node #0,2: 60:[7, 6, 9] Operation: 35-26=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[7, 6, 61], Operations: ['26+35=61']
Exploring Operation: 7-6=1, Resulting Numbers: [61, 1]
Generated Node #0,1,0: 60:[61, 1] Operation: 7-6=1
Exploring Operation: 7+6=13, Resulting Numbers: [61, 13]
Generated Node #0,1,1: 60:[61, 13] Operation: 7+6=13
Exploring Operation: 61-7=54, Resulting Numbers: [6, 54]
Generated Node #0,1,2: 60:[6, 54] Operation: 61-7=54
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[61, 1], Operations: ['26+35=61', '7-6=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,60 unequal: No Solution
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[7, 26, 6, 35], Operations: []
Exploring Operation: 26+35=61, Resulting Numbers: [7, 6, 61]
Generated Node #0,1: 60:[7, 6, 61] Operation: 26+35=61
Moving to Node #0,1
Current State: 60:[7, 6, 61], Operations: ['26+35=61']
Exploring Operation: 7-6=1, Resulting Numbers: [61, 1]
Generated Node #0,1,0: 60:[61, 1] Operation: 7-6=1
Moving to Node #0,1,0
Current State: 60:[61, 1], Operations: ['26+35=61', '7-6=1']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
50,
55,
29,
63
] | 97 | [
"50*55=2750",
"63+2750=2813",
"2813/29=97"
] | Current State: 97:[50, 55, 29, 63], Operations: []
Exploring Operation: 50*55=2750, Resulting Numbers: [29, 63, 2750]
Generated Node #2: [29, 63, 2750] from Operation: 50*55=2750
Current State: 97:[29, 63, 2750], Operations: ['50*55=2750']
Exploring Operation: 63+2750=2813, Resulting Numbers: [29, 2813]
Generated Node #3: [29, 2813] from Operation: 63+2750=2813
Current State: 97:[29, 2813], Operations: ['50*55=2750', '63+2750=2813']
Exploring Operation: 2813/29=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[50, 55, 29, 63], Operations: []
Exploring Operation: 55+29=84, Resulting Numbers: [50, 63, 84]
Generated Node #0,0: 97:[50, 63, 84] Operation: 55+29=84
Exploring Operation: 50+29=79, Resulting Numbers: [55, 63, 79]
Generated Node #0,1: 97:[55, 63, 79] Operation: 50+29=79
Moving to Node #0,0
Current State: 97:[50, 63, 84], Operations: ['55+29=84']
Exploring Operation: 50+63=113, Resulting Numbers: [84, 113]
Generated Node #0,0,0: 97:[84, 113] Operation: 50+63=113
Exploring Operation: 50+84=134, Resulting Numbers: [63, 134]
Generated Node #0,0,1: 97:[63, 134] Operation: 50+84=134
Moving to Node #0,1
Current State: 97:[55, 63, 79], Operations: ['50+29=79']
Exploring Operation: 55+79=134, Resulting Numbers: [63, 134]
Generated Node #0,1,0: 97:[63, 134] Operation: 55+79=134
Exploring Operation: 55+63=118, Resulting Numbers: [79, 118]
Generated Node #0,1,1: 97:[79, 118] Operation: 55+63=118
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[79, 118], Operations: ['50+29=79', '55+63=118']
Exploring Operation: 79+118=197, Resulting Numbers: [197]
197,97 unequal: No Solution
Exploring Operation: 118-79=39, Resulting Numbers: [39]
39,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[63, 134], Operations: ['50+29=79', '55+79=134']
Exploring Operation: 63+134=197, Resulting Numbers: [197]
197,97 unequal: No Solution
Exploring Operation: 134-63=71, Resulting Numbers: [71]
71,97 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: 97:[84, 113], Operations: ['55+29=84', '50+63=113']
Exploring Operation: 113-84=29, Resulting Numbers: [29]
29,97 unequal: No Solution
Exploring Operation: 84+113=197, Resulting Numbers: [197]
197,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[63, 134], Operations: ['55+29=84', '50+84=134']
Exploring Operation: 63+134=197, Resulting Numbers: [197]
197,97 unequal: No Solution
Exploring Operation: 134-63=71, Resulting Numbers: [71]
71,97 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
90,
2,
3,
55
] | 27 | [
"90/3=30",
"2+55=57",
"57-30=27"
] | Current State: 27:[90, 2, 3, 55], Operations: []
Exploring Operation: 90/3=30, Resulting Numbers: [2, 55, 30]
Generated Node #2: [2, 55, 30] from Operation: 90/3=30
Current State: 27:[2, 55, 30], Operations: ['90/3=30']
Exploring Operation: 2+55=57, Resulting Numbers: [30, 57]
Generated Node #3: [30, 57] from Operation: 2+55=57
Current State: 27:[30, 57], Operations: ['90/3=30', '2+55=57']
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[90, 2, 3, 55], Operations: []
Exploring Operation: 90-55=35, Resulting Numbers: [2, 3, 35]
Generated Node #0,0: 27:[2, 3, 35] Operation: 90-55=35
Exploring Operation: 90/3=30, Resulting Numbers: [2, 55, 30]
Generated Node #0,1: 27:[2, 55, 30] Operation: 90/3=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[2, 3, 35], Operations: ['90-55=35']
Exploring Operation: 35-2=33, Resulting Numbers: [3, 33]
Generated Node #0,0,0: 27:[3, 33] Operation: 35-2=33
Exploring Operation: 35-3=32, Resulting Numbers: [2, 32]
Generated Node #0,0,1: 27:[2, 32] Operation: 35-3=32
Moving to Node #0,0,0
Current State: 27:[3, 33], Operations: ['90-55=35', '35-2=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[2, 32], Operations: ['90-55=35', '35-3=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[2, 55, 30], Operations: ['90/3=30']
Exploring Operation: 55-30=25, Resulting Numbers: [2, 25]
Generated Node #0,1,0: 27:[2, 25] Operation: 55-30=25
Exploring Operation: 55-2=53, Resulting Numbers: [30, 53]
Generated Node #0,1,1: 27:[30, 53] Operation: 55-2=53
Moving to Node #0,1,0
Current State: 27:[2, 25], Operations: ['90/3=30', '55-30=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,27 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[90, 2, 3, 55], Operations: []
Exploring Operation: 90/3=30, Resulting Numbers: [2, 55, 30]
Generated Node #0,1: 27:[2, 55, 30] Operation: 90/3=30
Moving to Node #0,1
Current State: 27:[2, 55, 30], Operations: ['90/3=30']
Exploring Operation: 55-30=25, Resulting Numbers: [2, 25]
Generated Node #0,1,0: 27:[2, 25] Operation: 55-30=25
Moving to Node #0,1,0
Current State: 27:[2, 25], Operations: ['90/3=30', '55-30=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
53,
81,
8,
18
] | 19 | [
"53+81=134",
"18+134=152",
"152/8=19"
] | Current State: 19:[53, 81, 8, 18], Operations: []
Exploring Operation: 53+81=134, Resulting Numbers: [8, 18, 134]
Generated Node #2: [8, 18, 134] from Operation: 53+81=134
Current State: 19:[8, 18, 134], Operations: ['53+81=134']
Exploring Operation: 18+134=152, Resulting Numbers: [8, 152]
Generated Node #3: [8, 152] from Operation: 18+134=152
Current State: 19:[8, 152], Operations: ['53+81=134', '18+134=152']
Exploring Operation: 152/8=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[53, 81, 8, 18], Operations: []
Exploring Operation: 53-8=45, Resulting Numbers: [81, 18, 45]
Generated Node #0,0: 19:[81, 18, 45] Operation: 53-8=45
Exploring Operation: 81-53=28, Resulting Numbers: [8, 18, 28]
Generated Node #0,1: 19:[8, 18, 28] Operation: 81-53=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[8, 18, 28], Operations: ['81-53=28']
Exploring Operation: 8+18=26, Resulting Numbers: [28, 26]
Generated Node #0,1,0: 19:[28, 26] Operation: 8+18=26
Exploring Operation: 28-8=20, Resulting Numbers: [18, 20]
Generated Node #0,1,1: 19:[18, 20] Operation: 28-8=20
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[18, 20], Operations: ['81-53=28', '28-8=20']
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 19:[28, 26], Operations: ['81-53=28', '8+18=26']
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[81, 18, 45], Operations: ['53-8=45']
Exploring Operation: 81-45=36, Resulting Numbers: [18, 36]
Generated Node #0,0,0: 19:[18, 36] Operation: 81-45=36
Exploring Operation: 81-18=63, Resulting Numbers: [45, 63]
Generated Node #0,0,1: 19:[45, 63] Operation: 81-18=63
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[18, 36], Operations: ['53-8=45', '81-45=36']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[45, 63], Operations: ['53-8=45', '81-18=63']
Exploring Operation: 45+63=108, Resulting Numbers: [108]
108,19 unequal: No Solution
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
70,
35,
19,
31
] | 85 | [
"70-35=35",
"19+31=50",
"35+50=85"
] | Current State: 85:[70, 35, 19, 31], Operations: []
Exploring Operation: 70-35=35, Resulting Numbers: [19, 31, 35]
Generated Node #2: [19, 31, 35] from Operation: 70-35=35
Current State: 85:[19, 31, 35], Operations: ['70-35=35']
Exploring Operation: 19+31=50, Resulting Numbers: [35, 50]
Generated Node #3: [35, 50] from Operation: 19+31=50
Current State: 85:[35, 50], Operations: ['70-35=35', '19+31=50']
Exploring Operation: 35+50=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[70, 35, 19, 31], Operations: []
Exploring Operation: 35-31=4, Resulting Numbers: [70, 19, 4]
Generated Node #0,0: 85:[70, 19, 4] Operation: 35-31=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[70, 19, 4], Operations: ['35-31=4']
Exploring Operation: 70+19=89, Resulting Numbers: [4, 89]
Generated Node #0,0,0: 85:[4, 89] Operation: 70+19=89
Moving to Node #0,0,0
Current State: 85:[4, 89], Operations: ['35-31=4', '70+19=89']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[70, 35, 19, 31], Operations: []
Exploring Operation: 35-31=4, Resulting Numbers: [70, 19, 4]
Generated Node #0,0: 85:[70, 19, 4] Operation: 35-31=4
Moving to Node #0,0
Current State: 85:[70, 19, 4], Operations: ['35-31=4']
Exploring Operation: 70+19=89, Resulting Numbers: [4, 89]
Generated Node #0,0,0: 85:[4, 89] Operation: 70+19=89
Moving to Node #0,0,0
Current State: 85:[4, 89], Operations: ['35-31=4', '70+19=89']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
41,
82,
35,
16
] | 38 | [
"82/41=2",
"35-16=19",
"2*19=38"
] | Current State: 38:[41, 82, 35, 16], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [35, 16, 2]
Generated Node #2: [35, 16, 2] from Operation: 82/41=2
Current State: 38:[35, 16, 2], Operations: ['82/41=2']
Exploring Operation: 35-16=19, Resulting Numbers: [2, 19]
Generated Node #3: [2, 19] from Operation: 35-16=19
Current State: 38:[2, 19], Operations: ['82/41=2', '35-16=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[41, 82, 35, 16], Operations: []
Exploring Operation: 82-41=41, Resulting Numbers: [35, 16, 41]
Generated Node #0,0: 38:[35, 16, 41] Operation: 82-41=41
Exploring Operation: 82-16=66, Resulting Numbers: [41, 35, 66]
Generated Node #0,1: 38:[41, 35, 66] Operation: 82-16=66
Exploring Operation: 82-35=47, Resulting Numbers: [41, 16, 47]
Generated Node #0,2: 38:[41, 16, 47] Operation: 82-35=47
Exploring Operation: 82/41=2, Resulting Numbers: [35, 16, 2]
Generated Node #0,3: 38:[35, 16, 2] Operation: 82/41=2
Moving to Node #0,3
Current State: 38:[35, 16, 2], Operations: ['82/41=2']
Exploring Operation: 35+2=37, Resulting Numbers: [16, 37]
Generated Node #0,3,0: 38:[16, 37] Operation: 35+2=37
Exploring Operation: 35-16=19, Resulting Numbers: [2, 19]
Generated Node #0,3,1: 38:[2, 19] Operation: 35-16=19
Exploring Operation: 35-2=33, Resulting Numbers: [16, 33]
Generated Node #0,3,2: 38:[16, 33] Operation: 35-2=33
Exploring Operation: 16+2=18, Resulting Numbers: [35, 18]
Generated Node #0,3,3: 38:[35, 18] Operation: 16+2=18
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 38:[2, 19], Operations: ['82/41=2', '35-16=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[41, 82, 35, 16], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [35, 16, 2]
Generated Node #0,3: 38:[35, 16, 2] Operation: 82/41=2
Moving to Node #0,3
Current State: 38:[35, 16, 2], Operations: ['82/41=2']
Exploring Operation: 35-16=19, Resulting Numbers: [2, 19]
Generated Node #0,3,1: 38:[2, 19] Operation: 35-16=19
Moving to Node #0,3,1
Current State: 38:[2, 19], Operations: ['82/41=2', '35-16=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
73,
96,
85,
99
] | 15 | [
"73+96=169",
"85+99=184",
"184-169=15"
] | Current State: 15:[73, 96, 85, 99], Operations: []
Exploring Operation: 73+96=169, Resulting Numbers: [85, 99, 169]
Generated Node #2: [85, 99, 169] from Operation: 73+96=169
Current State: 15:[85, 99, 169], Operations: ['73+96=169']
Exploring Operation: 85+99=184, Resulting Numbers: [169, 184]
Generated Node #3: [169, 184] from Operation: 85+99=184
Current State: 15:[169, 184], Operations: ['73+96=169', '85+99=184']
Exploring Operation: 184-169=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[73, 96, 85, 99], Operations: []
Exploring Operation: 99-96=3, Resulting Numbers: [73, 85, 3]
Generated Node #0,0: 15:[73, 85, 3] Operation: 99-96=3
Exploring Operation: 96-73=23, Resulting Numbers: [85, 99, 23]
Generated Node #0,1: 15:[85, 99, 23] Operation: 96-73=23
Exploring Operation: 96-85=11, Resulting Numbers: [73, 99, 11]
Generated Node #0,2: 15:[73, 99, 11] Operation: 96-85=11
Exploring Operation: 99-85=14, Resulting Numbers: [73, 96, 14]
Generated Node #0,3: 15:[73, 96, 14] Operation: 99-85=14
Exploring Operation: 99-73=26, Resulting Numbers: [96, 85, 26]
Generated Node #0,4: 15:[96, 85, 26] Operation: 99-73=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[73, 85, 3], Operations: ['99-96=3']
Exploring Operation: 85-3=82, Resulting Numbers: [73, 82]
Generated Node #0,0,0: 15:[73, 82] Operation: 85-3=82
Exploring Operation: 85-73=12, Resulting Numbers: [3, 12]
Generated Node #0,0,1: 15:[3, 12] Operation: 85-73=12
Exploring Operation: 73+3=76, Resulting Numbers: [85, 76]
Generated Node #0,0,2: 15:[85, 76] Operation: 73+3=76
Exploring Operation: 73-3=70, Resulting Numbers: [85, 70]
Generated Node #0,0,3: 15:[85, 70] Operation: 73-3=70
Exploring Operation: 85+3=88, Resulting Numbers: [73, 88]
Generated Node #0,0,4: 15:[73, 88] Operation: 85+3=88
Moving to Node #0,0,1
Current State: 15:[3, 12], Operations: ['99-96=3', '85-73=12']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[73, 96, 85, 99], Operations: []
Exploring Operation: 99-96=3, Resulting Numbers: [73, 85, 3]
Generated Node #0,0: 15:[73, 85, 3] Operation: 99-96=3
Moving to Node #0,0
Current State: 15:[73, 85, 3], Operations: ['99-96=3']
Exploring Operation: 85-73=12, Resulting Numbers: [3, 12]
Generated Node #0,0,1: 15:[3, 12] Operation: 85-73=12
Moving to Node #0,0,1
Current State: 15:[3, 12], Operations: ['99-96=3', '85-73=12']
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
27,
30,
28,
82
] | 60 | [
"82-28=54",
"54/27=2",
"30*2=60"
] | Current State: 60:[27, 30, 28, 82], Operations: []
Exploring Operation: 82-28=54, Resulting Numbers: [27, 30, 54]
Generated Node #2: [27, 30, 54] from Operation: 82-28=54
Current State: 60:[27, 30, 54], Operations: ['82-28=54']
Exploring Operation: 54/27=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 54/27=2
Current State: 60:[30, 2], Operations: ['82-28=54', '54/27=2']
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[27, 30, 28, 82], Operations: []
Exploring Operation: 82-27=55, Resulting Numbers: [30, 28, 55]
Generated Node #0,0: 60:[30, 28, 55] Operation: 82-27=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[30, 28, 55], Operations: ['82-27=55']
Exploring Operation: 55-28=27, Resulting Numbers: [30, 27]
Generated Node #0,0,0: 60:[30, 27] Operation: 55-28=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[30, 27], Operations: ['82-27=55', '55-28=27']
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
45,
33,
27,
45
] | 30 | [
"45-33=12",
"45-27=18",
"12+18=30"
] | Current State: 30:[45, 33, 27, 45], Operations: []
Exploring Operation: 45-33=12, Resulting Numbers: [27, 12]
Generated Node #2: [27, 12] from Operation: 45-33=12
Current State: 30:[27, 12], Operations: ['45-33=12']
Exploring Operation: 45-27=18, Resulting Numbers: [12, 18]
Generated Node #3: [12, 18] from Operation: 45-27=18
Current State: 30:[12, 18], Operations: ['45-33=12', '45-27=18']
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[45, 33, 27, 45], Operations: []
Exploring Operation: 45-33=12, Resulting Numbers: [27, 45, 12]
Generated Node #0,0: 30:[27, 45, 12] Operation: 45-33=12
Exploring Operation: 45-45=0, Resulting Numbers: [33, 27, 0]
Generated Node #0,1: 30:[33, 27, 0] Operation: 45-45=0
Exploring Operation: 45/45=1, Resulting Numbers: [33, 27, 1]
Generated Node #0,2: 30:[33, 27, 1] Operation: 45/45=1
Exploring Operation: 45-33=12, Resulting Numbers: [45, 27, 12]
Generated Node #0,3: 30:[45, 27, 12] Operation: 45-33=12
Moving to Node #0,2
Current State: 30:[33, 27, 1], Operations: ['45/45=1']
Exploring Operation: 33-27=6, Resulting Numbers: [1, 6]
Generated Node #0,2,0: 30:[1, 6] Operation: 33-27=6
Exploring Operation: 27+1=28, Resulting Numbers: [33, 28]
Generated Node #0,2,1: 30:[33, 28] Operation: 27+1=28
Exploring Operation: 33-1=32, Resulting Numbers: [27, 32]
Generated Node #0,2,2: 30:[27, 32] Operation: 33-1=32
Exploring Operation: 33*1=33, Resulting Numbers: [27, 33]
Generated Node #0,2,3: 30:[27, 33] Operation: 33*1=33
Moving to Node #0,1
Current State: 30:[33, 27, 0], Operations: ['45-45=0']
Exploring Operation: 27*0=0, Resulting Numbers: [33, 0]
Generated Node #0,1,0: 30:[33, 0] Operation: 27*0=0
Exploring Operation: 33-27=6, Resulting Numbers: [0, 6]
Generated Node #0,1,1: 30:[0, 6] Operation: 33-27=6
Exploring Operation: 33*0=0, Resulting Numbers: [27, 0]
Generated Node #0,1,2: 30:[27, 0] Operation: 33*0=0
Exploring Operation: 33+0=33, Resulting Numbers: [27, 33]
Generated Node #0,1,3: 30:[27, 33] Operation: 33+0=33
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[0, 6], Operations: ['45-45=0', '33-27=6']
Exploring Operation: 0+6=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 0*6=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 6-0=6, Resulting Numbers: [6]
6,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,1,0
Current State: 30:[33, 0], Operations: ['45-45=0', '27*0=0']
Exploring Operation: 33-0=33, Resulting Numbers: [33]
33,30 unequal: No Solution
Exploring Operation: 33*0=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 33+0=33, Resulting Numbers: [33]
33,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,1,2
Current State: 30:[27, 0], Operations: ['45-45=0', '33*0=0']
Exploring Operation: 27-0=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 27*0=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 27+0=27, Resulting Numbers: [27]
27,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,1,3
Current State: 30:[27, 33], Operations: ['45-45=0', '33+0=33']
Exploring Operation: 27*33=891, Resulting Numbers: [891]
891,30 unequal: No Solution
Exploring Operation: 27+33=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,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:[45, 27, 12], Operations: ['45-33=12']
Exploring Operation: 27-12=15, Resulting Numbers: [45, 15]
Generated Node #0,3,0: 30:[45, 15] Operation: 27-12=15
Exploring Operation: 45-12=33, Resulting Numbers: [27, 33]
Generated Node #0,3,1: 30:[27, 33] Operation: 45-12=33
Exploring Operation: 45-27=18, Resulting Numbers: [12, 18]
Generated Node #0,3,2: 30:[12, 18] Operation: 45-27=18
Exploring Operation: 27+12=39, Resulting Numbers: [45, 39]
Generated Node #0,3,3: 30:[45, 39] Operation: 27+12=39
Moving to Node #0,0
Current State: 30:[27, 45, 12], Operations: ['45-33=12']
Exploring Operation: 45-27=18, Resulting Numbers: [12, 18]
Generated Node #0,0,0: 30:[12, 18] Operation: 45-27=18
Exploring Operation: 27-12=15, Resulting Numbers: [45, 15]
Generated Node #0,0,1: 30:[45, 15] Operation: 27-12=15
Exploring Operation: 27+12=39, Resulting Numbers: [45, 39]
Generated Node #0,0,2: 30:[45, 39] Operation: 27+12=39
Exploring Operation: 45-12=33, Resulting Numbers: [27, 33]
Generated Node #0,0,3: 30:[27, 33] Operation: 45-12=33
Moving to Node #0,2,0
Current State: 30:[1, 6], Operations: ['45/45=1', '33-27=6']
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[27, 32], Operations: ['45/45=1', '33-1=32']
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,30 unequal: No Solution
Exploring Operation: 27*32=864, Resulting Numbers: [864]
864,30 unequal: No Solution
Moving to Node #0,2,1
Current State: 30:[33, 28], Operations: ['45/45=1', '27+1=28']
Exploring Operation: 33*28=924, Resulting Numbers: [924]
924,30 unequal: No Solution
Exploring Operation: 33+28=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Moving to Node #0,3,2
Current State: 30:[12, 18], Operations: ['45-33=12', '45-27=18']
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,30 unequal: No Solution
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[45, 33, 27, 45], Operations: []
Exploring Operation: 45-33=12, Resulting Numbers: [45, 27, 12]
Generated Node #0,3: 30:[45, 27, 12] Operation: 45-33=12
Moving to Node #0,3
Current State: 30:[45, 27, 12], Operations: ['45-33=12']
Exploring Operation: 45-27=18, Resulting Numbers: [12, 18]
Generated Node #0,3,2: 30:[12, 18] Operation: 45-27=18
Moving to Node #0,3,2
Current State: 30:[12, 18], Operations: ['45-33=12', '45-27=18']
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.958333 | hs_4 | sum_heuristic |
[
20,
68,
30,
4
] | 90 | [
"68/4=17",
"20-17=3",
"30*3=90"
] | Current State: 90:[20, 68, 30, 4], Operations: []
Exploring Operation: 68/4=17, Resulting Numbers: [20, 30, 17]
Generated Node #2: [20, 30, 17] from Operation: 68/4=17
Current State: 90:[20, 30, 17], Operations: ['68/4=17']
Exploring Operation: 20-17=3, Resulting Numbers: [30, 3]
Generated Node #3: [30, 3] from Operation: 20-17=3
Current State: 90:[30, 3], Operations: ['68/4=17', '20-17=3']
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[20, 68, 30, 4], Operations: []
Exploring Operation: 20+68=88, Resulting Numbers: [30, 4, 88]
Generated Node #0,0: 90:[30, 4, 88] Operation: 20+68=88
Exploring Operation: 68/4=17, Resulting Numbers: [20, 30, 17]
Generated Node #0,1: 90:[20, 30, 17] Operation: 68/4=17
Exploring Operation: 68-20=48, Resulting Numbers: [30, 4, 48]
Generated Node #0,2: 90:[30, 4, 48] Operation: 68-20=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[30, 4, 88], Operations: ['20+68=88']
Exploring Operation: 30+4=34, Resulting Numbers: [88, 34]
Generated Node #0,0,0: 90:[88, 34] Operation: 30+4=34
Exploring Operation: 88/4=22, Resulting Numbers: [30, 22]
Generated Node #0,0,1: 90:[30, 22] Operation: 88/4=22
Exploring Operation: 4+88=92, Resulting Numbers: [30, 92]
Generated Node #0,0,2: 90:[30, 92] Operation: 4+88=92
Moving to Node #0,0,2
Current State: 90:[30, 92], Operations: ['20+68=88', '4+88=92']
Exploring Operation: 92-30=62, Resulting Numbers: [62]
62,90 unequal: No Solution
Exploring Operation: 30+92=122, Resulting Numbers: [122]
122,90 unequal: No Solution
Exploring Operation: 30*92=2760, Resulting Numbers: [2760]
2760,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[30, 22], Operations: ['20+68=88', '88/4=22']
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 30+22=52, Resulting Numbers: [52]
52,90 unequal: No Solution
Exploring Operation: 30*22=660, Resulting Numbers: [660]
660,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[88, 34], Operations: ['20+68=88', '30+4=34']
Exploring Operation: 88*34=2992, Resulting Numbers: [2992]
2992,90 unequal: No Solution
Exploring Operation: 88-34=54, Resulting Numbers: [54]
54,90 unequal: No Solution
Exploring Operation: 88+34=122, Resulting Numbers: [122]
122,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[20, 30, 17], Operations: ['68/4=17']
Exploring Operation: 30+17=47, Resulting Numbers: [20, 47]
Generated Node #0,1,0: 90:[20, 47] Operation: 30+17=47
Exploring Operation: 30-20=10, Resulting Numbers: [17, 10]
Generated Node #0,1,1: 90:[17, 10] Operation: 30-20=10
Exploring Operation: 20-17=3, Resulting Numbers: [30, 3]
Generated Node #0,1,2: 90:[30, 3] Operation: 20-17=3
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 90:[30, 3], Operations: ['68/4=17', '20-17=3']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,90 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[20, 68, 30, 4], Operations: []
Exploring Operation: 68/4=17, Resulting Numbers: [20, 30, 17]
Generated Node #0,1: 90:[20, 30, 17] Operation: 68/4=17
Moving to Node #0,1
Current State: 90:[20, 30, 17], Operations: ['68/4=17']
Exploring Operation: 20-17=3, Resulting Numbers: [30, 3]
Generated Node #0,1,2: 90:[30, 3] Operation: 20-17=3
Moving to Node #0,1,2
Current State: 90:[30, 3], Operations: ['68/4=17', '20-17=3']
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
58,
64,
42,
10
] | 46 | [
"64-58=6",
"42+10=52",
"52-6=46"
] | Current State: 46:[58, 64, 42, 10], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [42, 10, 6]
Generated Node #2: [42, 10, 6] from Operation: 64-58=6
Current State: 46:[42, 10, 6], Operations: ['64-58=6']
Exploring Operation: 42+10=52, Resulting Numbers: [6, 52]
Generated Node #3: [6, 52] from Operation: 42+10=52
Current State: 46:[6, 52], Operations: ['64-58=6', '42+10=52']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[58, 64, 42, 10], Operations: []
Exploring Operation: 64-42=22, Resulting Numbers: [58, 10, 22]
Generated Node #0,0: 46:[58, 10, 22] Operation: 64-42=22
Exploring Operation: 64-58=6, Resulting Numbers: [42, 10, 6]
Generated Node #0,1: 46:[42, 10, 6] Operation: 64-58=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[42, 10, 6], Operations: ['64-58=6']
Exploring Operation: 10-6=4, Resulting Numbers: [42, 4]
Generated Node #0,1,0: 46:[42, 4] Operation: 10-6=4
Exploring Operation: 42+10=52, Resulting Numbers: [6, 52]
Generated Node #0,1,1: 46:[6, 52] Operation: 42+10=52
Moving to Node #0,1,0
Current State: 46:[42, 4], Operations: ['64-58=6', '10-6=4']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[58, 64, 42, 10], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [42, 10, 6]
Generated Node #0,1: 46:[42, 10, 6] Operation: 64-58=6
Moving to Node #0,1
Current State: 46:[42, 10, 6], Operations: ['64-58=6']
Exploring Operation: 10-6=4, Resulting Numbers: [42, 4]
Generated Node #0,1,0: 46:[42, 4] Operation: 10-6=4
Moving to Node #0,1,0
Current State: 46:[42, 4], Operations: ['64-58=6', '10-6=4']
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
65,
38,
35,
36
] | 15 | [
"65-35=30",
"38-36=2",
"30/2=15"
] | Current State: 15:[65, 38, 35, 36], Operations: []
Exploring Operation: 65-35=30, Resulting Numbers: [38, 36, 30]
Generated Node #2: [38, 36, 30] from Operation: 65-35=30
Current State: 15:[38, 36, 30], Operations: ['65-35=30']
Exploring Operation: 38-36=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 38-36=2
Current State: 15:[30, 2], Operations: ['65-35=30', '38-36=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[65, 38, 35, 36], Operations: []
Exploring Operation: 65-38=27, Resulting Numbers: [35, 36, 27]
Generated Node #0,0: 15:[35, 36, 27] Operation: 65-38=27
Exploring Operation: 65-36=29, Resulting Numbers: [38, 35, 29]
Generated Node #0,1: 15:[38, 35, 29] Operation: 65-36=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[35, 36, 27], Operations: ['65-38=27']
Exploring Operation: 35-27=8, Resulting Numbers: [36, 8]
Generated Node #0,0,0: 15:[36, 8] Operation: 35-27=8
Exploring Operation: 36-35=1, Resulting Numbers: [27, 1]
Generated Node #0,0,1: 15:[27, 1] Operation: 36-35=1
Moving to Node #0,0,1
Current State: 15:[27, 1], Operations: ['65-38=27', '36-35=1']
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[36, 8], Operations: ['65-38=27', '35-27=8']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[38, 35, 29], Operations: ['65-36=29']
Exploring Operation: 38-29=9, Resulting Numbers: [35, 9]
Generated Node #0,1,0: 15:[35, 9] Operation: 38-29=9
Exploring Operation: 38-35=3, Resulting Numbers: [29, 3]
Generated Node #0,1,1: 15:[29, 3] Operation: 38-35=3
Moving to Node #0,1,1
Current State: 15:[29, 3], Operations: ['65-36=29', '38-35=3']
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[35, 9], Operations: ['65-36=29', '38-29=9']
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,15 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 |
[
88,
99,
57,
2
] | 65 | [
"88+99=187",
"187-57=130",
"130/2=65"
] | Current State: 65:[88, 99, 57, 2], Operations: []
Exploring Operation: 88+99=187, Resulting Numbers: [57, 2, 187]
Generated Node #2: [57, 2, 187] from Operation: 88+99=187
Current State: 65:[57, 2, 187], Operations: ['88+99=187']
Exploring Operation: 187-57=130, Resulting Numbers: [2, 130]
Generated Node #3: [2, 130] from Operation: 187-57=130
Current State: 65:[2, 130], Operations: ['88+99=187', '187-57=130']
Exploring Operation: 130/2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[88, 99, 57, 2], Operations: []
Exploring Operation: 99-88=11, Resulting Numbers: [57, 2, 11]
Generated Node #0,0: 65:[57, 2, 11] Operation: 99-88=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[57, 2, 11], Operations: ['99-88=11']
Exploring Operation: 57+11=68, Resulting Numbers: [2, 68]
Generated Node #0,0,0: 65:[2, 68] Operation: 57+11=68
Moving to Node #0,0,0
Current State: 65:[2, 68], Operations: ['99-88=11', '57+11=68']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
68,
31,
30,
2
] | 90 | [
"68/2=34",
"34-31=3",
"30*3=90"
] | Current State: 90:[68, 31, 30, 2], Operations: []
Exploring Operation: 68/2=34, Resulting Numbers: [31, 30, 34]
Generated Node #2: [31, 30, 34] from Operation: 68/2=34
Current State: 90:[31, 30, 34], Operations: ['68/2=34']
Exploring Operation: 34-31=3, Resulting Numbers: [30, 3]
Generated Node #3: [30, 3] from Operation: 34-31=3
Current State: 90:[30, 3], Operations: ['68/2=34', '34-31=3']
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[68, 31, 30, 2], Operations: []
Exploring Operation: 68-30=38, Resulting Numbers: [31, 2, 38]
Generated Node #0,0: 90:[31, 2, 38] Operation: 68-30=38
Exploring Operation: 68/2=34, Resulting Numbers: [31, 30, 34]
Generated Node #0,1: 90:[31, 30, 34] Operation: 68/2=34
Exploring Operation: 68+31=99, Resulting Numbers: [30, 2, 99]
Generated Node #0,2: 90:[30, 2, 99] Operation: 68+31=99
Exploring Operation: 68-31=37, Resulting Numbers: [30, 2, 37]
Generated Node #0,3: 90:[30, 2, 37] Operation: 68-31=37
Moving to Node #0,1
Current State: 90:[31, 30, 34], Operations: ['68/2=34']
Exploring Operation: 31+30=61, Resulting Numbers: [34, 61]
Generated Node #0,1,0: 90:[34, 61] Operation: 31+30=61
Exploring Operation: 34-30=4, Resulting Numbers: [31, 4]
Generated Node #0,1,1: 90:[31, 4] Operation: 34-30=4
Exploring Operation: 31-30=1, Resulting Numbers: [34, 1]
Generated Node #0,1,2: 90:[34, 1] Operation: 31-30=1
Exploring Operation: 34-31=3, Resulting Numbers: [30, 3]
Generated Node #0,1,3: 90:[30, 3] Operation: 34-31=3
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 90:[30, 3], Operations: ['68/2=34', '34-31=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,90 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[68, 31, 30, 2], Operations: []
Exploring Operation: 68/2=34, Resulting Numbers: [31, 30, 34]
Generated Node #0,1: 90:[31, 30, 34] Operation: 68/2=34
Moving to Node #0,1
Current State: 90:[31, 30, 34], Operations: ['68/2=34']
Exploring Operation: 34-31=3, Resulting Numbers: [30, 3]
Generated Node #0,1,3: 90:[30, 3] Operation: 34-31=3
Moving to Node #0,1,3
Current State: 90:[30, 3], Operations: ['68/2=34', '34-31=3']
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
12,
26,
68,
27
] | 81 | [
"26-12=14",
"68+27=95",
"95-14=81"
] | Current State: 81:[12, 26, 68, 27], Operations: []
Exploring Operation: 26-12=14, Resulting Numbers: [68, 27, 14]
Generated Node #2: [68, 27, 14] from Operation: 26-12=14
Current State: 81:[68, 27, 14], Operations: ['26-12=14']
Exploring Operation: 68+27=95, Resulting Numbers: [14, 95]
Generated Node #3: [14, 95] from Operation: 68+27=95
Current State: 81:[14, 95], Operations: ['26-12=14', '68+27=95']
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[12, 26, 68, 27], Operations: []
Exploring Operation: 26+68=94, Resulting Numbers: [12, 27, 94]
Generated Node #0,0: 81:[12, 27, 94] Operation: 26+68=94
Exploring Operation: 27-26=1, Resulting Numbers: [12, 68, 1]
Generated Node #0,1: 81:[12, 68, 1] Operation: 27-26=1
Exploring Operation: 68-26=42, Resulting Numbers: [12, 27, 42]
Generated Node #0,2: 81:[12, 27, 42] Operation: 68-26=42
Exploring Operation: 26-12=14, Resulting Numbers: [68, 27, 14]
Generated Node #0,3: 81:[68, 27, 14] Operation: 26-12=14
Exploring Operation: 12+68=80, Resulting Numbers: [26, 27, 80]
Generated Node #0,4: 81:[26, 27, 80] Operation: 12+68=80
Start Sub Search at level 1: Moving to Node #0,4
Current State: 81:[26, 27, 80], Operations: ['12+68=80']
Exploring Operation: 27-26=1, Resulting Numbers: [80, 1]
Generated Node #0,4,0: 81:[80, 1] Operation: 27-26=1
Exploring Operation: 80-26=54, Resulting Numbers: [27, 54]
Generated Node #0,4,1: 81:[27, 54] Operation: 80-26=54
Exploring Operation: 27+80=107, Resulting Numbers: [26, 107]
Generated Node #0,4,2: 81:[26, 107] Operation: 27+80=107
Exploring Operation: 26+27=53, Resulting Numbers: [80, 53]
Generated Node #0,4,3: 81:[80, 53] Operation: 26+27=53
Exploring Operation: 26+80=106, Resulting Numbers: [27, 106]
Generated Node #0,4,4: 81:[27, 106] Operation: 26+80=106
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 81:[80, 1], Operations: ['12+68=80', '27-26=1']
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[12, 26, 68, 27], Operations: []
Exploring Operation: 12+68=80, Resulting Numbers: [26, 27, 80]
Generated Node #0,4: 81:[26, 27, 80] Operation: 12+68=80
Moving to Node #0,4
Current State: 81:[26, 27, 80], Operations: ['12+68=80']
Exploring Operation: 27-26=1, Resulting Numbers: [80, 1]
Generated Node #0,4,0: 81:[80, 1] Operation: 27-26=1
Moving to Node #0,4,0
Current State: 81:[80, 1], Operations: ['12+68=80', '27-26=1']
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
89,
29,
24,
68
] | 76 | [
"89*24=2136",
"68+2136=2204",
"2204/29=76"
] | Current State: 76:[89, 29, 24, 68], Operations: []
Exploring Operation: 89*24=2136, Resulting Numbers: [29, 68, 2136]
Generated Node #2: [29, 68, 2136] from Operation: 89*24=2136
Current State: 76:[29, 68, 2136], Operations: ['89*24=2136']
Exploring Operation: 68+2136=2204, Resulting Numbers: [29, 2204]
Generated Node #3: [29, 2204] from Operation: 68+2136=2204
Current State: 76:[29, 2204], Operations: ['89*24=2136', '68+2136=2204']
Exploring Operation: 2204/29=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[89, 29, 24, 68], Operations: []
Exploring Operation: 68-24=44, Resulting Numbers: [89, 29, 44]
Generated Node #0,0: 76:[89, 29, 44] Operation: 68-24=44
Exploring Operation: 89-24=65, Resulting Numbers: [29, 68, 65]
Generated Node #0,1: 76:[29, 68, 65] Operation: 89-24=65
Exploring Operation: 89-68=21, Resulting Numbers: [29, 24, 21]
Generated Node #0,2: 76:[29, 24, 21] Operation: 89-68=21
Exploring Operation: 29-24=5, Resulting Numbers: [89, 68, 5]
Generated Node #0,3: 76:[89, 68, 5] Operation: 29-24=5
Exploring Operation: 68-29=39, Resulting Numbers: [89, 24, 39]
Generated Node #0,4: 76:[89, 24, 39] Operation: 68-29=39
Moving to Node #0,2
Current State: 76:[29, 24, 21], Operations: ['89-68=21']
Exploring Operation: 29-21=8, Resulting Numbers: [24, 8]
Generated Node #0,2,0: 76:[24, 8] Operation: 29-21=8
Exploring Operation: 24+21=45, Resulting Numbers: [29, 45]
Generated Node #0,2,1: 76:[29, 45] Operation: 24+21=45
Exploring Operation: 29-24=5, Resulting Numbers: [21, 5]
Generated Node #0,2,2: 76:[21, 5] Operation: 29-24=5
Exploring Operation: 29+24=53, Resulting Numbers: [21, 53]
Generated Node #0,2,3: 76:[21, 53] Operation: 29+24=53
Exploring Operation: 24-21=3, Resulting Numbers: [29, 3]
Generated Node #0,2,4: 76:[29, 3] Operation: 24-21=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 76:[21, 5], Operations: ['89-68=21', '29-24=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[24, 8], Operations: ['89-68=21', '29-21=8']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 76:[29, 3], Operations: ['89-68=21', '24-21=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,76 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 76:[29, 45], Operations: ['89-68=21', '24+21=45']
Exploring Operation: 29*45=1305, Resulting Numbers: [1305]
1305,76 unequal: No Solution
Exploring Operation: 29+45=74, Resulting Numbers: [74]
74,76 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 76:[21, 53], Operations: ['89-68=21', '29+24=53']
Exploring Operation: 21+53=74, Resulting Numbers: [74]
74,76 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Exploring Operation: 21*53=1113, Resulting Numbers: [1113]
1113,76 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: 76:[89, 24, 39], Operations: ['68-29=39']
Exploring Operation: 89-39=50, Resulting Numbers: [24, 50]
Generated Node #0,4,0: 76:[24, 50] Operation: 89-39=50
Exploring Operation: 24+39=63, Resulting Numbers: [89, 63]
Generated Node #0,4,1: 76:[89, 63] Operation: 24+39=63
Exploring Operation: 89+24=113, Resulting Numbers: [39, 113]
Generated Node #0,4,2: 76:[39, 113] Operation: 89+24=113
Exploring Operation: 89-24=65, Resulting Numbers: [39, 65]
Generated Node #0,4,3: 76:[39, 65] Operation: 89-24=65
Exploring Operation: 39-24=15, Resulting Numbers: [89, 15]
Generated Node #0,4,4: 76:[89, 15] Operation: 39-24=15
Moving to Node #0,3
Current State: 76:[89, 68, 5], Operations: ['29-24=5']
Exploring Operation: 68+5=73, Resulting Numbers: [89, 73]
Generated Node #0,3,0: 76:[89, 73] Operation: 68+5=73
Exploring Operation: 89-68=21, Resulting Numbers: [5, 21]
Generated Node #0,3,1: 76:[5, 21] Operation: 89-68=21
Exploring Operation: 68-5=63, Resulting Numbers: [89, 63]
Generated Node #0,3,2: 76:[89, 63] Operation: 68-5=63
Exploring Operation: 89+5=94, Resulting Numbers: [68, 94]
Generated Node #0,3,3: 76:[68, 94] Operation: 89+5=94
Exploring Operation: 89-5=84, Resulting Numbers: [68, 84]
Generated Node #0,3,4: 76:[68, 84] Operation: 89-5=84
Moving to Node #0,0
Current State: 76:[89, 29, 44], Operations: ['68-24=44']
Exploring Operation: 89+29=118, Resulting Numbers: [44, 118]
Generated Node #0,0,0: 76:[44, 118] Operation: 89+29=118
Exploring Operation: 44-29=15, Resulting Numbers: [89, 15]
Generated Node #0,0,1: 76:[89, 15] Operation: 44-29=15
Exploring Operation: 29+44=73, Resulting Numbers: [89, 73]
Generated Node #0,0,2: 76:[89, 73] Operation: 29+44=73
Exploring Operation: 89-44=45, Resulting Numbers: [29, 45]
Generated Node #0,0,3: 76:[29, 45] Operation: 89-44=45
Exploring Operation: 89-29=60, Resulting Numbers: [44, 60]
Generated Node #0,0,4: 76:[44, 60] Operation: 89-29=60
Moving to Node #0,1
Current State: 76:[29, 68, 65], Operations: ['89-24=65']
Exploring Operation: 29+68=97, Resulting Numbers: [65, 97]
Generated Node #0,1,0: 76:[65, 97] Operation: 29+68=97
Exploring Operation: 68-65=3, Resulting Numbers: [29, 3]
Generated Node #0,1,1: 76:[29, 3] Operation: 68-65=3
Exploring Operation: 29+65=94, Resulting Numbers: [68, 94]
Generated Node #0,1,2: 76:[68, 94] Operation: 29+65=94
Exploring Operation: 65-29=36, Resulting Numbers: [68, 36]
Generated Node #0,1,3: 76:[68, 36] Operation: 65-29=36
Exploring Operation: 68-29=39, Resulting Numbers: [65, 39]
Generated Node #0,1,4: 76:[65, 39] Operation: 68-29=39
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[29, 3], Operations: ['89-24=65', '68-65=3']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,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,3
Current State: 76:[68, 36], Operations: ['89-24=65', '65-29=36']
Exploring Operation: 68*36=2448, Resulting Numbers: [2448]
2448,76 unequal: No Solution
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Exploring Operation: 68+36=104, Resulting Numbers: [104]
104,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:[65, 39], Operations: ['89-24=65', '68-29=39']
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 65+39=104, Resulting Numbers: [104]
104,76 unequal: No Solution
Exploring Operation: 65*39=2535, Resulting Numbers: [2535]
2535,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:[68, 94], Operations: ['89-24=65', '29+65=94']
Exploring Operation: 68*94=6392, Resulting Numbers: [6392]
6392,76 unequal: No Solution
Exploring Operation: 94-68=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 68+94=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,0
Current State: 76:[65, 97], Operations: ['89-24=65', '29+68=97']
Exploring Operation: 65*97=6305, Resulting Numbers: [6305]
6305,76 unequal: No Solution
Exploring Operation: 97-65=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Exploring Operation: 65+97=162, Resulting Numbers: [162]
162,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 76:[5, 21], Operations: ['29-24=5', '89-68=21']
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,76 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Moving to Node #0,4,3
Current State: 76:[39, 65], Operations: ['68-29=39', '89-24=65']
Exploring Operation: 39*65=2535, Resulting Numbers: [2535]
2535,76 unequal: No Solution
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[89, 73], Operations: ['29-24=5', '68+5=73']
Exploring Operation: 89-73=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 89*73=6497, Resulting Numbers: [6497]
6497,76 unequal: No Solution
Exploring Operation: 89+73=162, Resulting Numbers: [162]
162,76 unequal: No Solution
Moving to Node #0,0,3
Current State: 76:[29, 45], Operations: ['68-24=44', '89-44=45']
Exploring Operation: 29+45=74, Resulting Numbers: [74]
74,76 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 29*45=1305, Resulting Numbers: [1305]
1305,76 unequal: No Solution
Moving to Node #0,3,4
Current State: 76:[68, 84], Operations: ['29-24=5', '89-5=84']
Exploring Operation: 84-68=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 68+84=152, Resulting Numbers: [152]
152,76 unequal: No Solution
Exploring Operation: 68*84=5712, Resulting Numbers: [5712]
5712,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[89, 73], Operations: ['68-24=44', '29+44=73']
Exploring Operation: 89-73=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 89+73=162, Resulting Numbers: [162]
162,76 unequal: No Solution
Exploring Operation: 89*73=6497, Resulting Numbers: [6497]
6497,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[89, 15], Operations: ['68-24=44', '44-29=15']
Exploring Operation: 89-15=74, Resulting Numbers: [74]
74,76 unequal: No Solution
Exploring Operation: 89*15=1335, Resulting Numbers: [1335]
1335,76 unequal: No Solution
Exploring Operation: 89+15=104, Resulting Numbers: [104]
104,76 unequal: No Solution
Moving to Node #0,4,4
Current State: 76:[89, 15], Operations: ['68-29=39', '39-24=15']
Exploring Operation: 89*15=1335, Resulting Numbers: [1335]
1335,76 unequal: No Solution
Exploring Operation: 89-15=74, Resulting Numbers: [74]
74,76 unequal: No Solution
Exploring Operation: 89+15=104, Resulting Numbers: [104]
104,76 unequal: No Solution
Moving to Node #0,4,0
Current State: 76:[24, 50], Operations: ['68-29=39', '89-39=50']
Exploring Operation: 24*50=1200, Resulting Numbers: [1200]
1200,76 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 24+50=74, Resulting Numbers: [74]
74,76 unequal: No Solution
Moving to Node #0,0,4
Current State: 76:[44, 60], Operations: ['68-24=44', '89-29=60']
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 44*60=2640, Resulting Numbers: [2640]
2640,76 unequal: No Solution
Exploring Operation: 44+60=104, Resulting Numbers: [104]
104,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[68, 94], Operations: ['29-24=5', '89+5=94']
Exploring Operation: 94-68=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 68*94=6392, Resulting Numbers: [6392]
6392,76 unequal: No Solution
Exploring Operation: 68+94=162, Resulting Numbers: [162]
162,76 unequal: No Solution
Moving to Node #0,4,1
Current State: 76:[89, 63], Operations: ['68-29=39', '24+39=63']
Exploring Operation: 89*63=5607, Resulting Numbers: [5607]
5607,76 unequal: No Solution
Exploring Operation: 89+63=152, Resulting Numbers: [152]
152,76 unequal: No Solution
Exploring Operation: 89-63=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[89, 63], Operations: ['29-24=5', '68-5=63']
Exploring Operation: 89+63=152, Resulting Numbers: [152]
152,76 unequal: No Solution
Exploring Operation: 89-63=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 89*63=5607, Resulting Numbers: [5607]
5607,76 unequal: No Solution
Moving to Node #0,4,2
Current State: 76:[39, 113], Operations: ['68-29=39', '89+24=113']
Exploring Operation: 39+113=152, Resulting Numbers: [152]
152,76 unequal: No Solution
Exploring Operation: 39*113=4407, Resulting Numbers: [4407]
4407,76 unequal: No Solution
Exploring Operation: 113-39=74, Resulting Numbers: [74]
74,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[44, 118], Operations: ['68-24=44', '89+29=118']
Exploring Operation: 118-44=74, Resulting Numbers: [74]
74,76 unequal: No Solution
Exploring Operation: 44+118=162, Resulting Numbers: [162]
162,76 unequal: No Solution
Exploring Operation: 44*118=5192, Resulting Numbers: [5192]
5192,76 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
43,
37,
65,
82
] | 63 | [
"43+37=80",
"82-65=17",
"80-17=63"
] | Current State: 63:[43, 37, 65, 82], Operations: []
Exploring Operation: 43+37=80, Resulting Numbers: [65, 82, 80]
Generated Node #2: [65, 82, 80] from Operation: 43+37=80
Current State: 63:[65, 82, 80], Operations: ['43+37=80']
Exploring Operation: 82-65=17, Resulting Numbers: [80, 17]
Generated Node #3: [80, 17] from Operation: 82-65=17
Current State: 63:[80, 17], Operations: ['43+37=80', '82-65=17']
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[43, 37, 65, 82], Operations: []
Exploring Operation: 82-43=39, Resulting Numbers: [37, 65, 39]
Generated Node #0,0: 63:[37, 65, 39] Operation: 82-43=39
Exploring Operation: 65-43=22, Resulting Numbers: [37, 82, 22]
Generated Node #0,1: 63:[37, 82, 22] Operation: 65-43=22
Exploring Operation: 43+37=80, Resulting Numbers: [65, 82, 80]
Generated Node #0,2: 63:[65, 82, 80] Operation: 43+37=80
Exploring Operation: 43-37=6, Resulting Numbers: [65, 82, 6]
Generated Node #0,3: 63:[65, 82, 6] Operation: 43-37=6
Moving to Node #0,3
Current State: 63:[65, 82, 6], Operations: ['43-37=6']
Exploring Operation: 65-6=59, Resulting Numbers: [82, 59]
Generated Node #0,3,0: 63:[82, 59] Operation: 65-6=59
Exploring Operation: 82-65=17, Resulting Numbers: [6, 17]
Generated Node #0,3,1: 63:[6, 17] Operation: 82-65=17
Exploring Operation: 82-6=76, Resulting Numbers: [65, 76]
Generated Node #0,3,2: 63:[65, 76] Operation: 82-6=76
Exploring Operation: 65+6=71, Resulting Numbers: [82, 71]
Generated Node #0,3,3: 63:[82, 71] Operation: 65+6=71
Moving to Node #0,1
Current State: 63:[37, 82, 22], Operations: ['65-43=22']
Exploring Operation: 82-37=45, Resulting Numbers: [22, 45]
Generated Node #0,1,0: 63:[22, 45] Operation: 82-37=45
Exploring Operation: 82-22=60, Resulting Numbers: [37, 60]
Generated Node #0,1,1: 63:[37, 60] Operation: 82-22=60
Exploring Operation: 37+22=59, Resulting Numbers: [82, 59]
Generated Node #0,1,2: 63:[82, 59] Operation: 37+22=59
Exploring Operation: 37-22=15, Resulting Numbers: [82, 15]
Generated Node #0,1,3: 63:[82, 15] Operation: 37-22=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 63:[22, 45], Operations: ['65-43=22', '82-37=45']
Exploring Operation: 22*45=990, Resulting Numbers: [990]
990,63 unequal: No Solution
Exploring Operation: 22+45=67, Resulting Numbers: [67]
67,63 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[37, 60], Operations: ['65-43=22', '82-22=60']
Exploring Operation: 37+60=97, Resulting Numbers: [97]
97,63 unequal: No Solution
Exploring Operation: 37*60=2220, Resulting Numbers: [2220]
2220,63 unequal: No Solution
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 63:[82, 59], Operations: ['65-43=22', '37+22=59']
Exploring Operation: 82-59=23, Resulting Numbers: [23]
23,63 unequal: No Solution
Exploring Operation: 82+59=141, Resulting Numbers: [141]
141,63 unequal: No Solution
Exploring Operation: 82*59=4838, Resulting Numbers: [4838]
4838,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 63:[82, 15], Operations: ['65-43=22', '37-22=15']
Exploring Operation: 82+15=97, Resulting Numbers: [97]
97,63 unequal: No Solution
Exploring Operation: 82*15=1230, Resulting Numbers: [1230]
1230,63 unequal: No Solution
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,63 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: 63:[37, 65, 39], Operations: ['82-43=39']
Exploring Operation: 65-37=28, Resulting Numbers: [39, 28]
Generated Node #0,0,0: 63:[39, 28] Operation: 65-37=28
Exploring Operation: 39-37=2, Resulting Numbers: [65, 2]
Generated Node #0,0,1: 63:[65, 2] Operation: 39-37=2
Exploring Operation: 65-39=26, Resulting Numbers: [37, 26]
Generated Node #0,0,2: 63:[37, 26] Operation: 65-39=26
Exploring Operation: 37+39=76, Resulting Numbers: [65, 76]
Generated Node #0,0,3: 63:[65, 76] Operation: 37+39=76
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 63:[65, 2], Operations: ['82-43=39', '39-37=2']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[43, 37, 65, 82], Operations: []
Exploring Operation: 82-43=39, Resulting Numbers: [37, 65, 39]
Generated Node #0,0: 63:[37, 65, 39] Operation: 82-43=39
Moving to Node #0,0
Current State: 63:[37, 65, 39], Operations: ['82-43=39']
Exploring Operation: 39-37=2, Resulting Numbers: [65, 2]
Generated Node #0,0,1: 63:[65, 2] Operation: 39-37=2
Moving to Node #0,0,1
Current State: 63:[65, 2], Operations: ['82-43=39', '39-37=2']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
61,
86,
78,
19
] | 72 | [
"86-61=25",
"78+19=97",
"97-25=72"
] | Current State: 72:[61, 86, 78, 19], Operations: []
Exploring Operation: 86-61=25, Resulting Numbers: [78, 19, 25]
Generated Node #2: [78, 19, 25] from Operation: 86-61=25
Current State: 72:[78, 19, 25], Operations: ['86-61=25']
Exploring Operation: 78+19=97, Resulting Numbers: [25, 97]
Generated Node #3: [25, 97] from Operation: 78+19=97
Current State: 72:[25, 97], Operations: ['86-61=25', '78+19=97']
Exploring Operation: 97-25=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[61, 86, 78, 19], Operations: []
Exploring Operation: 86-78=8, Resulting Numbers: [61, 19, 8]
Generated Node #0,0: 72:[61, 19, 8] Operation: 86-78=8
Exploring Operation: 78-61=17, Resulting Numbers: [86, 19, 17]
Generated Node #0,1: 72:[86, 19, 17] Operation: 78-61=17
Exploring Operation: 86-61=25, Resulting Numbers: [78, 19, 25]
Generated Node #0,2: 72:[78, 19, 25] Operation: 86-61=25
Moving to Node #0,2
Current State: 72:[78, 19, 25], Operations: ['86-61=25']
Exploring Operation: 19+25=44, Resulting Numbers: [78, 44]
Generated Node #0,2,0: 72:[78, 44] Operation: 19+25=44
Exploring Operation: 25-19=6, Resulting Numbers: [78, 6]
Generated Node #0,2,1: 72:[78, 6] Operation: 25-19=6
Exploring Operation: 78-19=59, Resulting Numbers: [25, 59]
Generated Node #0,2,2: 72:[25, 59] Operation: 78-19=59
Moving to Node #0,0
Current State: 72:[61, 19, 8], Operations: ['86-78=8']
Exploring Operation: 61+8=69, Resulting Numbers: [19, 69]
Generated Node #0,0,0: 72:[19, 69] Operation: 61+8=69
Exploring Operation: 61+19=80, Resulting Numbers: [8, 80]
Generated Node #0,0,1: 72:[8, 80] Operation: 61+19=80
Exploring Operation: 61-19=42, Resulting Numbers: [8, 42]
Generated Node #0,0,2: 72:[8, 42] Operation: 61-19=42
Moving to Node #0,1
Current State: 72:[86, 19, 17], Operations: ['78-61=17']
Exploring Operation: 19+17=36, Resulting Numbers: [86, 36]
Generated Node #0,1,0: 72:[86, 36] Operation: 19+17=36
Exploring Operation: 86-19=67, Resulting Numbers: [17, 67]
Generated Node #0,1,1: 72:[17, 67] Operation: 86-19=67
Exploring Operation: 86-17=69, Resulting Numbers: [19, 69]
Generated Node #0,1,2: 72:[19, 69] Operation: 86-17=69
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 72:[19, 69], Operations: ['78-61=17', '86-17=69']
Exploring Operation: 19+69=88, Resulting Numbers: [88]
88,72 unequal: No Solution
Exploring Operation: 19*69=1311, Resulting Numbers: [1311]
1311,72 unequal: No Solution
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 72:[17, 67], Operations: ['78-61=17', '86-19=67']
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Exploring Operation: 17*67=1139, Resulting Numbers: [1139]
1139,72 unequal: No Solution
Exploring Operation: 17+67=84, Resulting Numbers: [84]
84,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[86, 36], Operations: ['78-61=17', '19+17=36']
Exploring Operation: 86+36=122, Resulting Numbers: [122]
122,72 unequal: No Solution
Exploring Operation: 86-36=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Exploring Operation: 86*36=3096, Resulting Numbers: [3096]
3096,72 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: 72:[19, 69], Operations: ['86-78=8', '61+8=69']
Exploring Operation: 19+69=88, Resulting Numbers: [88]
88,72 unequal: No Solution
Exploring Operation: 19*69=1311, Resulting Numbers: [1311]
1311,72 unequal: No Solution
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[78, 6], Operations: ['86-61=25', '25-19=6']
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,72 unequal: No Solution
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[61, 86, 78, 19], Operations: []
Exploring Operation: 86-61=25, Resulting Numbers: [78, 19, 25]
Generated Node #0,2: 72:[78, 19, 25] Operation: 86-61=25
Moving to Node #0,2
Current State: 72:[78, 19, 25], Operations: ['86-61=25']
Exploring Operation: 25-19=6, Resulting Numbers: [78, 6]
Generated Node #0,2,1: 72:[78, 6] Operation: 25-19=6
Moving to Node #0,2,1
Current State: 72:[78, 6], Operations: ['86-61=25', '25-19=6']
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.97309 | hs_3 | sum_heuristic |
[
22,
17,
46,
37
] | 32 | [
"22*37=814",
"17*46=782",
"814-782=32"
] | Current State: 32:[22, 17, 46, 37], Operations: []
Exploring Operation: 22*37=814, Resulting Numbers: [17, 46, 814]
Generated Node #2: [17, 46, 814] from Operation: 22*37=814
Current State: 32:[17, 46, 814], Operations: ['22*37=814']
Exploring Operation: 17*46=782, Resulting Numbers: [814, 782]
Generated Node #3: [814, 782] from Operation: 17*46=782
Current State: 32:[814, 782], Operations: ['22*37=814', '17*46=782']
Exploring Operation: 814-782=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[22, 17, 46, 37], Operations: []
Exploring Operation: 46-37=9, Resulting Numbers: [22, 17, 9]
Generated Node #0,0: 32:[22, 17, 9] Operation: 46-37=9
Exploring Operation: 37-22=15, Resulting Numbers: [17, 46, 15]
Generated Node #0,1: 32:[17, 46, 15] Operation: 37-22=15
Exploring Operation: 46-22=24, Resulting Numbers: [17, 37, 24]
Generated Node #0,2: 32:[17, 37, 24] Operation: 46-22=24
Exploring Operation: 22-17=5, Resulting Numbers: [46, 37, 5]
Generated Node #0,3: 32:[46, 37, 5] Operation: 22-17=5
Exploring Operation: 46-17=29, Resulting Numbers: [22, 37, 29]
Generated Node #0,4: 32:[22, 37, 29] Operation: 46-17=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[22, 17, 9], Operations: ['46-37=9']
Exploring Operation: 22-9=13, Resulting Numbers: [17, 13]
Generated Node #0,0,0: 32:[17, 13] Operation: 22-9=13
Exploring Operation: 22+9=31, Resulting Numbers: [17, 31]
Generated Node #0,0,1: 32:[17, 31] Operation: 22+9=31
Exploring Operation: 17-9=8, Resulting Numbers: [22, 8]
Generated Node #0,0,2: 32:[22, 8] Operation: 17-9=8
Exploring Operation: 22-17=5, Resulting Numbers: [9, 5]
Generated Node #0,0,3: 32:[9, 5] Operation: 22-17=5
Exploring Operation: 22+17=39, Resulting Numbers: [9, 39]
Generated Node #0,0,4: 32:[9, 39] Operation: 22+17=39
Moving to Node #0,0,1
Current State: 32:[17, 31], Operations: ['46-37=9', '22+9=31']
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,32 unequal: No Solution
Exploring Operation: 17*31=527, Resulting Numbers: [527]
527,32 unequal: No Solution
Moving to Node #0,0,3
Current State: 32:[9, 5], Operations: ['46-37=9', '22-17=5']
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,32 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[17, 13], Operations: ['46-37=9', '22-9=13']
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,32 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,32 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[22, 8], Operations: ['46-37=9', '17-9=8']
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,32 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,32 unequal: No Solution
Moving to Node #0,0,4
Current State: 32:[9, 39], Operations: ['46-37=9', '22+17=39']
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,32 unequal: No Solution
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,32 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[17, 37, 24], Operations: ['46-22=24']
Exploring Operation: 37-17=20, Resulting Numbers: [24, 20]
Generated Node #0,2,0: 32:[24, 20] Operation: 37-17=20
Exploring Operation: 17+37=54, Resulting Numbers: [24, 54]
Generated Node #0,2,1: 32:[24, 54] Operation: 17+37=54
Exploring Operation: 24-17=7, Resulting Numbers: [37, 7]
Generated Node #0,2,2: 32:[37, 7] Operation: 24-17=7
Exploring Operation: 17+24=41, Resulting Numbers: [37, 41]
Generated Node #0,2,3: 32:[37, 41] Operation: 17+24=41
Exploring Operation: 37-24=13, Resulting Numbers: [17, 13]
Generated Node #0,2,4: 32:[17, 13] Operation: 37-24=13
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 32:[17, 13], Operations: ['46-22=24', '37-24=13']
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,32 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,32 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 32:[37, 7], Operations: ['46-22=24', '24-17=7']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,32 unequal: No Solution
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 32:[24, 20], Operations: ['46-22=24', '37-17=20']
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,32 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 32:[37, 41], Operations: ['46-22=24', '17+24=41']
Exploring Operation: 37*41=1517, Resulting Numbers: [1517]
1517,32 unequal: No Solution
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 32:[24, 54], Operations: ['46-22=24', '17+37=54']
Exploring Operation: 24*54=1296, Resulting Numbers: [1296]
1296,32 unequal: No Solution
Exploring Operation: 24+54=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 32:[22, 37, 29], Operations: ['46-17=29']
Exploring Operation: 37-22=15, Resulting Numbers: [29, 15]
Generated Node #0,4,0: 32:[29, 15] Operation: 37-22=15
Exploring Operation: 22+37=59, Resulting Numbers: [29, 59]
Generated Node #0,4,1: 32:[29, 59] Operation: 22+37=59
Exploring Operation: 29-22=7, Resulting Numbers: [37, 7]
Generated Node #0,4,2: 32:[37, 7] Operation: 29-22=7
Exploring Operation: 22+29=51, Resulting Numbers: [37, 51]
Generated Node #0,4,3: 32:[37, 51] Operation: 22+29=51
Exploring Operation: 37-29=8, Resulting Numbers: [22, 8]
Generated Node #0,4,4: 32:[22, 8] Operation: 37-29=8
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 32:[29, 15], Operations: ['46-17=29', '37-22=15']
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,32 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 32:[37, 7], Operations: ['46-17=29', '29-22=7']
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,32 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 32:[22, 8], Operations: ['46-17=29', '37-29=8']
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,32 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 32:[37, 51], Operations: ['46-17=29', '22+29=51']
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 37*51=1887, Resulting Numbers: [1887]
1887,32 unequal: No Solution
Exploring Operation: 37+51=88, Resulting Numbers: [88]
88,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 32:[29, 59], Operations: ['46-17=29', '22+37=59']
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,32 unequal: No Solution
Exploring Operation: 29*59=1711, Resulting Numbers: [1711]
1711,32 unequal: No Solution
Exploring Operation: 29+59=88, Resulting Numbers: [88]
88,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[17, 46, 15], Operations: ['37-22=15']
Exploring Operation: 17+15=32, Resulting Numbers: [46, 32]
Generated Node #0,1,0: 32:[46, 32] Operation: 17+15=32
Exploring Operation: 46-17=29, Resulting Numbers: [15, 29]
Generated Node #0,1,1: 32:[15, 29] Operation: 46-17=29
Exploring Operation: 46-15=31, Resulting Numbers: [17, 31]
Generated Node #0,1,2: 32:[17, 31] Operation: 46-15=31
Exploring Operation: 17-15=2, Resulting Numbers: [46, 2]
Generated Node #0,1,3: 32:[46, 2] Operation: 17-15=2
Exploring Operation: 46+15=61, Resulting Numbers: [17, 61]
Generated Node #0,1,4: 32:[17, 61] Operation: 46+15=61
Moving to Node #0,1,2
Current State: 32:[17, 31], Operations: ['37-22=15', '46-15=31']
Exploring Operation: 17*31=527, Resulting Numbers: [527]
527,32 unequal: No Solution
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,32 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[15, 29], Operations: ['37-22=15', '46-17=29']
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 15*29=435, Resulting Numbers: [435]
435,32 unequal: No Solution
Exploring Operation: 15+29=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[46, 32], Operations: ['37-22=15', '17+15=32']
Exploring Operation: 46+32=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 46*32=1472, Resulting Numbers: [1472]
1472,32 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Moving to Node #0,1,3
Current State: 32:[46, 2], Operations: ['37-22=15', '17-15=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,32 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,32 unequal: No Solution
Moving to Node #0,1,4
Current State: 32:[17, 61], Operations: ['37-22=15', '46+15=61']
Exploring Operation: 17+61=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 17*61=1037, Resulting Numbers: [1037]
1037,32 unequal: No Solution
Exploring Operation: 61-17=44, Resulting Numbers: [44]
44,32 unequal: No Solution
No 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: 32:[46, 37, 5], Operations: ['22-17=5']
Exploring Operation: 37+5=42, Resulting Numbers: [46, 42]
Generated Node #0,3,0: 32:[46, 42] Operation: 37+5=42
Exploring Operation: 37-5=32, Resulting Numbers: [46, 32]
Generated Node #0,3,1: 32:[46, 32] Operation: 37-5=32
Exploring Operation: 46+5=51, Resulting Numbers: [37, 51]
Generated Node #0,3,2: 32:[37, 51] Operation: 46+5=51
Exploring Operation: 46-5=41, Resulting Numbers: [37, 41]
Generated Node #0,3,3: 32:[37, 41] Operation: 46-5=41
Exploring Operation: 46-37=9, Resulting Numbers: [5, 9]
Generated Node #0,3,4: 32:[5, 9] Operation: 46-37=9
Moving to Node #0,3,4
Current State: 32:[5, 9], Operations: ['22-17=5', '46-37=9']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,32 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Moving to Node #0,3,3
Current State: 32:[37, 41], Operations: ['22-17=5', '46-5=41']
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 37*41=1517, Resulting Numbers: [1517]
1517,32 unequal: No Solution
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Moving to Node #0,3,1
Current State: 32:[46, 32], Operations: ['22-17=5', '37-5=32']
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 46*32=1472, Resulting Numbers: [1472]
1472,32 unequal: No Solution
Exploring Operation: 46+32=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Moving to Node #0,3,0
Current State: 32:[46, 42], Operations: ['22-17=5', '37+5=42']
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 46*42=1932, Resulting Numbers: [1932]
1932,32 unequal: No Solution
Exploring Operation: 46+42=88, Resulting Numbers: [88]
88,32 unequal: No Solution
Moving to Node #0,3,2
Current State: 32:[37, 51], Operations: ['22-17=5', '46+5=51']
Exploring Operation: 37+51=88, Resulting Numbers: [88]
88,32 unequal: No Solution
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 37*51=1887, Resulting Numbers: [1887]
1887,32 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 |
[
28,
72,
10,
90
] | 25 | [
"28*90=2520",
"2520/72=35",
"35-10=25"
] | Current State: 25:[28, 72, 10, 90], Operations: []
Exploring Operation: 28*90=2520, Resulting Numbers: [72, 10, 2520]
Generated Node #2: [72, 10, 2520] from Operation: 28*90=2520
Current State: 25:[72, 10, 2520], Operations: ['28*90=2520']
Exploring Operation: 2520/72=35, Resulting Numbers: [10, 35]
Generated Node #3: [10, 35] from Operation: 2520/72=35
Current State: 25:[10, 35], Operations: ['28*90=2520', '2520/72=35']
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[28, 72, 10, 90], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [28, 10, 18]
Generated Node #0,0: 25:[28, 10, 18] Operation: 90-72=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[28, 10, 18], Operations: ['90-72=18']
Exploring Operation: 10+18=28, Resulting Numbers: [28, 28]
Generated Node #0,0,0: 25:[28, 28] Operation: 10+18=28
Moving to Node #0,0,0
Current State: 25:[28, 28], Operations: ['90-72=18', '10+18=28']
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,25 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 |
[
52,
52,
69,
7
] | 62 | [
"52-52=0",
"69-7=62",
"0+62=62"
] | Current State: 62:[52, 52, 69, 7], Operations: []
Exploring Operation: 52-52=0, Resulting Numbers: [69, 7, 0]
Generated Node #2: [69, 7, 0] from Operation: 52-52=0
Current State: 62:[69, 7, 0], Operations: ['52-52=0']
Exploring Operation: 69-7=62, Resulting Numbers: [0, 62]
Generated Node #3: [0, 62] from Operation: 69-7=62
Current State: 62:[0, 62], Operations: ['52-52=0', '69-7=62']
Exploring Operation: 0+62=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[52, 52, 69, 7], Operations: []
Exploring Operation: 52+7=59, Resulting Numbers: [52, 69, 59]
Generated Node #0,0: 62:[52, 69, 59] Operation: 52+7=59
Exploring Operation: 52/52=1, Resulting Numbers: [69, 7, 1]
Generated Node #0,1: 62:[69, 7, 1] Operation: 52/52=1
Exploring Operation: 52+7=59, Resulting Numbers: [52, 69, 59]
Generated Node #0,2: 62:[52, 69, 59] Operation: 52+7=59
Exploring Operation: 52-52=0, Resulting Numbers: [69, 7, 0]
Generated Node #0,3: 62:[69, 7, 0] Operation: 52-52=0
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[69, 7, 1], Operations: ['52/52=1']
Exploring Operation: 7-1=6, Resulting Numbers: [69, 6]
Generated Node #0,1,0: 62:[69, 6] Operation: 7-1=6
Exploring Operation: 69*1=69, Resulting Numbers: [7, 69]
Generated Node #0,1,1: 62:[7, 69] Operation: 69*1=69
Exploring Operation: 69-1=68, Resulting Numbers: [7, 68]
Generated Node #0,1,2: 62:[7, 68] Operation: 69-1=68
Exploring Operation: 69-7=62, Resulting Numbers: [1, 62]
Generated Node #0,1,3: 62:[1, 62] Operation: 69-7=62
Moving to Node #0,1,3
Current State: 62:[1, 62], Operations: ['52/52=1', '69-7=62']
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,62 unequal: No Solution
Exploring Operation: 1+62=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 1*62=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[52, 52, 69, 7], Operations: []
Exploring Operation: 52/52=1, Resulting Numbers: [69, 7, 1]
Generated Node #0,1: 62:[69, 7, 1] Operation: 52/52=1
Moving to Node #0,1
Current State: 62:[69, 7, 1], Operations: ['52/52=1']
Exploring Operation: 69-7=62, Resulting Numbers: [1, 62]
Generated Node #0,1,3: 62:[1, 62] Operation: 69-7=62
Moving to Node #0,1,3
Current State: 62:[1, 62], Operations: ['52/52=1', '69-7=62']
Exploring Operation: 1*62=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
73,
56,
17,
9
] | 22 | [
"73*17=1241",
"1241-9=1232",
"1232/56=22"
] | Current State: 22:[73, 56, 17, 9], Operations: []
Exploring Operation: 73*17=1241, Resulting Numbers: [56, 9, 1241]
Generated Node #2: [56, 9, 1241] from Operation: 73*17=1241
Current State: 22:[56, 9, 1241], Operations: ['73*17=1241']
Exploring Operation: 1241-9=1232, Resulting Numbers: [56, 1232]
Generated Node #3: [56, 1232] from Operation: 1241-9=1232
Current State: 22:[56, 1232], Operations: ['73*17=1241', '1241-9=1232']
Exploring Operation: 1232/56=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[73, 56, 17, 9], Operations: []
Exploring Operation: 73-17=56, Resulting Numbers: [56, 9, 56]
Generated Node #0,0: 22:[56, 9, 56] Operation: 73-17=56
Exploring Operation: 73-56=17, Resulting Numbers: [17, 9, 17]
Generated Node #0,1: 22:[17, 9, 17] Operation: 73-56=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[17, 9, 17], Operations: ['73-56=17']
Exploring Operation: 17/17=1, Resulting Numbers: [9, 1]
Generated Node #0,1,0: 22:[9, 1] Operation: 17/17=1
Exploring Operation: 17-17=0, Resulting Numbers: [9, 0]
Generated Node #0,1,1: 22:[9, 0] Operation: 17-17=0
Moving to Node #0,1,0
Current State: 22:[9, 1], Operations: ['73-56=17', '17/17=1']
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[9, 0], Operations: ['73-56=17', '17-17=0']
Exploring Operation: 9*0=0, Resulting Numbers: [0]
0,22 unequal: No Solution
Exploring Operation: 9+0=9, Resulting Numbers: [9]
9,22 unequal: No Solution
No 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: 22:[56, 9, 56], Operations: ['73-17=56']
Exploring Operation: 56/56=1, Resulting Numbers: [9, 1]
Generated Node #0,0,0: 22:[9, 1] Operation: 56/56=1
Exploring Operation: 56-56=0, Resulting Numbers: [9, 0]
Generated Node #0,0,1: 22:[9, 0] Operation: 56-56=0
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[9, 1], Operations: ['73-17=56', '56/56=1']
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 22:[9, 0], Operations: ['73-17=56', '56-56=0']
Exploring Operation: 9*0=0, Resulting Numbers: [0]
0,22 unequal: No Solution
Exploring Operation: 9+0=9, Resulting Numbers: [9]
9,22 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 |
[
45,
2,
15,
82
] | 89 | [
"82-45=37",
"2*37=74",
"15+74=89"
] | Current State: 89:[45, 2, 15, 82], Operations: []
Exploring Operation: 82-45=37, Resulting Numbers: [2, 15, 37]
Generated Node #2: [2, 15, 37] from Operation: 82-45=37
Current State: 89:[2, 15, 37], Operations: ['82-45=37']
Exploring Operation: 2*37=74, Resulting Numbers: [15, 74]
Generated Node #3: [15, 74] from Operation: 2*37=74
Current State: 89:[15, 74], Operations: ['82-45=37', '2*37=74']
Exploring Operation: 15+74=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[45, 2, 15, 82], Operations: []
Exploring Operation: 2*15=30, Resulting Numbers: [45, 82, 30]
Generated Node #0,0: 89:[45, 82, 30] Operation: 2*15=30
Exploring Operation: 45*2=90, Resulting Numbers: [15, 82, 90]
Generated Node #0,1: 89:[15, 82, 90] Operation: 45*2=90
Exploring Operation: 45+2=47, Resulting Numbers: [15, 82, 47]
Generated Node #0,2: 89:[15, 82, 47] Operation: 45+2=47
Moving to Node #0,1
Current State: 89:[15, 82, 90], Operations: ['45*2=90']
Exploring Operation: 82-15=67, Resulting Numbers: [90, 67]
Generated Node #0,1,0: 89:[90, 67] Operation: 82-15=67
Exploring Operation: 15+82=97, Resulting Numbers: [90, 97]
Generated Node #0,1,1: 89:[90, 97] Operation: 15+82=97
Exploring Operation: 90-15=75, Resulting Numbers: [82, 75]
Generated Node #0,1,2: 89:[82, 75] Operation: 90-15=75
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[90, 97], Operations: ['45*2=90', '15+82=97']
Exploring Operation: 90+97=187, Resulting Numbers: [187]
187,89 unequal: No Solution
Exploring Operation: 90*97=8730, Resulting Numbers: [8730]
8730,89 unequal: No Solution
Exploring Operation: 97-90=7, Resulting Numbers: [7]
7,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[82, 75], Operations: ['45*2=90', '90-15=75']
Exploring Operation: 82+75=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Exploring Operation: 82*75=6150, Resulting Numbers: [6150]
6150,89 unequal: No Solution
Exploring Operation: 82-75=7, Resulting Numbers: [7]
7,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[90, 67], Operations: ['45*2=90', '82-15=67']
Exploring Operation: 90*67=6030, Resulting Numbers: [6030]
6030,89 unequal: No Solution
Exploring Operation: 90+67=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Exploring Operation: 90-67=23, Resulting Numbers: [23]
23,89 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: 89:[45, 82, 30], Operations: ['2*15=30']
Exploring Operation: 45+30=75, Resulting Numbers: [82, 75]
Generated Node #0,0,0: 89:[82, 75] Operation: 45+30=75
Exploring Operation: 82+30=112, Resulting Numbers: [45, 112]
Generated Node #0,0,1: 89:[45, 112] Operation: 82+30=112
Exploring Operation: 45-30=15, Resulting Numbers: [82, 15]
Generated Node #0,0,2: 89:[82, 15] Operation: 45-30=15
Moving to Node #0,2
Current State: 89:[15, 82, 47], Operations: ['45+2=47']
Exploring Operation: 82-15=67, Resulting Numbers: [47, 67]
Generated Node #0,2,0: 89:[47, 67] Operation: 82-15=67
Exploring Operation: 15+47=62, Resulting Numbers: [82, 62]
Generated Node #0,2,1: 89:[82, 62] Operation: 15+47=62
Exploring Operation: 15+82=97, Resulting Numbers: [47, 97]
Generated Node #0,2,2: 89:[47, 97] Operation: 15+82=97
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[82, 62], Operations: ['45+2=47', '15+47=62']
Exploring Operation: 82+62=144, Resulting Numbers: [144]
144,89 unequal: No Solution
Exploring Operation: 82*62=5084, Resulting Numbers: [5084]
5084,89 unequal: No Solution
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[47, 97], Operations: ['45+2=47', '15+82=97']
Exploring Operation: 97-47=50, Resulting Numbers: [50]
50,89 unequal: No Solution
Exploring Operation: 47+97=144, Resulting Numbers: [144]
144,89 unequal: No Solution
Exploring Operation: 47*97=4559, Resulting Numbers: [4559]
4559,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[47, 67], Operations: ['45+2=47', '82-15=67']
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 47+67=114, Resulting Numbers: [114]
114,89 unequal: No Solution
Exploring Operation: 47*67=3149, Resulting Numbers: [3149]
3149,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 89:[82, 75], Operations: ['2*15=30', '45+30=75']
Exploring Operation: 82+75=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Exploring Operation: 82*75=6150, Resulting Numbers: [6150]
6150,89 unequal: No Solution
Exploring Operation: 82-75=7, Resulting Numbers: [7]
7,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[45, 112], Operations: ['2*15=30', '82+30=112']
Exploring Operation: 45*112=5040, Resulting Numbers: [5040]
5040,89 unequal: No Solution
Exploring Operation: 112-45=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 45+112=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[82, 15], Operations: ['2*15=30', '45-30=15']
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 82*15=1230, Resulting Numbers: [1230]
1230,89 unequal: No Solution
Exploring Operation: 82+15=97, Resulting Numbers: [97]
97,89 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
90,
29,
80,
50
] | 24 | [
"90-80=10",
"50/10=5",
"29-5=24"
] | Current State: 24:[90, 29, 80, 50], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [29, 50, 10]
Generated Node #2: [29, 50, 10] from Operation: 90-80=10
Current State: 24:[29, 50, 10], Operations: ['90-80=10']
Exploring Operation: 50/10=5, Resulting Numbers: [29, 5]
Generated Node #3: [29, 5] from Operation: 50/10=5
Current State: 24:[29, 5], Operations: ['90-80=10', '50/10=5']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[90, 29, 80, 50], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [29, 50, 10]
Generated Node #0,0: 24:[29, 50, 10] Operation: 90-80=10
Moving to Node #0,0
Current State: 24:[29, 50, 10], Operations: ['90-80=10']
Exploring Operation: 50-29=21, Resulting Numbers: [10, 21]
Generated Node #0,0,0: 24:[10, 21] Operation: 50-29=21
Moving to Node #0,0,0
Current State: 24:[10, 21], Operations: ['90-80=10', '50-29=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,24 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
27,
8,
46,
49
] | 16 | [
"27-8=19",
"49-46=3",
"19-3=16"
] | Current State: 16:[27, 8, 46, 49], Operations: []
Exploring Operation: 27-8=19, Resulting Numbers: [46, 49, 19]
Generated Node #2: [46, 49, 19] from Operation: 27-8=19
Current State: 16:[46, 49, 19], Operations: ['27-8=19']
Exploring Operation: 49-46=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 49-46=3
Current State: 16:[19, 3], Operations: ['27-8=19', '49-46=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[27, 8, 46, 49], Operations: []
Exploring Operation: 46-27=19, Resulting Numbers: [8, 49, 19]
Generated Node #0,0: 16:[8, 49, 19] Operation: 46-27=19
Exploring Operation: 49-46=3, Resulting Numbers: [27, 8, 3]
Generated Node #0,1: 16:[27, 8, 3] Operation: 49-46=3
Exploring Operation: 49-27=22, Resulting Numbers: [8, 46, 22]
Generated Node #0,2: 16:[8, 46, 22] Operation: 49-27=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[27, 8, 3], Operations: ['49-46=3']
Exploring Operation: 27-8=19, Resulting Numbers: [3, 19]
Generated Node #0,1,0: 16:[3, 19] Operation: 27-8=19
Exploring Operation: 27-3=24, Resulting Numbers: [8, 24]
Generated Node #0,1,1: 16:[8, 24] Operation: 27-3=24
Exploring Operation: 27/3=9, Resulting Numbers: [8, 9]
Generated Node #0,1,2: 16:[8, 9] Operation: 27/3=9
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 16:[8, 9], Operations: ['49-46=3', '27/3=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,16 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[3, 19], Operations: ['49-46=3', '27-8=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,16 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,16 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[27, 8, 46, 49], Operations: []
Exploring Operation: 49-46=3, Resulting Numbers: [27, 8, 3]
Generated Node #0,1: 16:[27, 8, 3] Operation: 49-46=3
Moving to Node #0,1
Current State: 16:[27, 8, 3], Operations: ['49-46=3']
Exploring Operation: 27-8=19, Resulting Numbers: [3, 19]
Generated Node #0,1,0: 16:[3, 19] Operation: 27-8=19
Moving to Node #0,1,0
Current State: 16:[3, 19], Operations: ['49-46=3', '27-8=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
12,
25,
14,
46
] | 20 | [
"14+46=60",
"60/12=5",
"25-5=20"
] | Current State: 20:[12, 25, 14, 46], Operations: []
Exploring Operation: 14+46=60, Resulting Numbers: [12, 25, 60]
Generated Node #2: [12, 25, 60] from Operation: 14+46=60
Current State: 20:[12, 25, 60], Operations: ['14+46=60']
Exploring Operation: 60/12=5, Resulting Numbers: [25, 5]
Generated Node #3: [25, 5] from Operation: 60/12=5
Current State: 20:[25, 5], Operations: ['14+46=60', '60/12=5']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[12, 25, 14, 46], Operations: []
Exploring Operation: 46-14=32, Resulting Numbers: [12, 25, 32]
Generated Node #0,0: 20:[12, 25, 32] Operation: 46-14=32
Exploring Operation: 46-25=21, Resulting Numbers: [12, 14, 21]
Generated Node #0,1: 20:[12, 14, 21] Operation: 46-25=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[12, 14, 21], Operations: ['46-25=21']
Exploring Operation: 21-14=7, Resulting Numbers: [12, 7]
Generated Node #0,1,0: 20:[12, 7] Operation: 21-14=7
Exploring Operation: 14-12=2, Resulting Numbers: [21, 2]
Generated Node #0,1,1: 20:[21, 2] Operation: 14-12=2
Moving to Node #0,1,1
Current State: 20:[21, 2], Operations: ['46-25=21', '14-12=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[12, 7], Operations: ['46-25=21', '21-14=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[12, 25, 32], Operations: ['46-14=32']
Exploring Operation: 32-25=7, Resulting Numbers: [12, 7]
Generated Node #0,0,0: 20:[12, 7] Operation: 32-25=7
Exploring Operation: 32-12=20, Resulting Numbers: [25, 20]
Generated Node #0,0,1: 20:[25, 20] Operation: 32-12=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[12, 7], Operations: ['46-14=32', '32-25=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,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:[25, 20], Operations: ['46-14=32', '32-12=20']
Exploring Operation: 25+20=45, Resulting Numbers: [45]
45,20 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,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_2 | sum_heuristic |
[
23,
93,
66,
42
] | 94 | [
"93-23=70",
"66-42=24",
"70+24=94"
] | Current State: 94:[23, 93, 66, 42], Operations: []
Exploring Operation: 93-23=70, Resulting Numbers: [66, 42, 70]
Generated Node #2: [66, 42, 70] from Operation: 93-23=70
Current State: 94:[66, 42, 70], Operations: ['93-23=70']
Exploring Operation: 66-42=24, Resulting Numbers: [70, 24]
Generated Node #3: [70, 24] from Operation: 66-42=24
Current State: 94:[70, 24], Operations: ['93-23=70', '66-42=24']
Exploring Operation: 70+24=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[23, 93, 66, 42], Operations: []
Exploring Operation: 66+42=108, Resulting Numbers: [23, 93, 108]
Generated Node #0,0: 94:[23, 93, 108] Operation: 66+42=108
Exploring Operation: 23+66=89, Resulting Numbers: [93, 42, 89]
Generated Node #0,1: 94:[93, 42, 89] Operation: 23+66=89
Exploring Operation: 66-23=43, Resulting Numbers: [93, 42, 43]
Generated Node #0,2: 94:[93, 42, 43] Operation: 66-23=43
Moving to Node #0,2
Current State: 94:[93, 42, 43], Operations: ['66-23=43']
Exploring Operation: 93-42=51, Resulting Numbers: [43, 51]
Generated Node #0,2,0: 94:[43, 51] Operation: 93-42=51
Exploring Operation: 43-42=1, Resulting Numbers: [93, 1]
Generated Node #0,2,1: 94:[93, 1] Operation: 43-42=1
Exploring Operation: 93-43=50, Resulting Numbers: [42, 50]
Generated Node #0,2,2: 94:[42, 50] Operation: 93-43=50
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[93, 1], Operations: ['66-23=43', '43-42=1']
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 93/1=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 93+1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[23, 93, 66, 42], Operations: []
Exploring Operation: 66-23=43, Resulting Numbers: [93, 42, 43]
Generated Node #0,2: 94:[93, 42, 43] Operation: 66-23=43
Moving to Node #0,2
Current State: 94:[93, 42, 43], Operations: ['66-23=43']
Exploring Operation: 43-42=1, Resulting Numbers: [93, 1]
Generated Node #0,2,1: 94:[93, 1] Operation: 43-42=1
Moving to Node #0,2,1
Current State: 94:[93, 1], Operations: ['66-23=43', '43-42=1']
Exploring Operation: 93+1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
55,
51,
19,
2
] | 21 | [
"55-51=4",
"19-2=17",
"4+17=21"
] | Current State: 21:[55, 51, 19, 2], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [19, 2, 4]
Generated Node #2: [19, 2, 4] from Operation: 55-51=4
Current State: 21:[19, 2, 4], Operations: ['55-51=4']
Exploring Operation: 19-2=17, Resulting Numbers: [4, 17]
Generated Node #3: [4, 17] from Operation: 19-2=17
Current State: 21:[4, 17], Operations: ['55-51=4', '19-2=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[55, 51, 19, 2], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [19, 2, 4]
Generated Node #0,0: 21:[19, 2, 4] Operation: 55-51=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[19, 2, 4], Operations: ['55-51=4']
Exploring Operation: 19+2=21, Resulting Numbers: [4, 21]
Generated Node #0,0,0: 21:[4, 21] Operation: 19+2=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[4, 21], Operations: ['55-51=4', '19+2=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
22,
10,
84,
5
] | 40 | [
"22*10=220",
"220/5=44",
"84-44=40"
] | Current State: 40:[22, 10, 84, 5], Operations: []
Exploring Operation: 22*10=220, Resulting Numbers: [84, 5, 220]
Generated Node #2: [84, 5, 220] from Operation: 22*10=220
Current State: 40:[84, 5, 220], Operations: ['22*10=220']
Exploring Operation: 220/5=44, Resulting Numbers: [84, 44]
Generated Node #3: [84, 44] from Operation: 220/5=44
Current State: 40:[84, 44], Operations: ['22*10=220', '220/5=44']
Exploring Operation: 84-44=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[22, 10, 84, 5], Operations: []
Exploring Operation: 84-22=62, Resulting Numbers: [10, 5, 62]
Generated Node #0,0: 40:[10, 5, 62] Operation: 84-22=62
Moving to Node #0,0
Current State: 40:[10, 5, 62], Operations: ['84-22=62']
Exploring Operation: 62-10=52, Resulting Numbers: [5, 52]
Generated Node #0,0,0: 40:[5, 52] Operation: 62-10=52
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[5, 52], Operations: ['84-22=62', '62-10=52']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,40 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 |
[
5,
56,
24,
19
] | 31 | [
"24-19=5",
"5*5=25",
"56-25=31"
] | Current State: 31:[5, 56, 24, 19], Operations: []
Exploring Operation: 24-19=5, Resulting Numbers: [5, 56, 5]
Generated Node #2: [5, 56, 5] from Operation: 24-19=5
Current State: 31:[5, 56, 5], Operations: ['24-19=5']
Exploring Operation: 5*5=25, Resulting Numbers: [56, 25]
Generated Node #3: [56, 25] from Operation: 5*5=25
Current State: 31:[56, 25], Operations: ['24-19=5', '5*5=25']
Exploring Operation: 56-25=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[5, 56, 24, 19], Operations: []
Exploring Operation: 56-19=37, Resulting Numbers: [5, 24, 37]
Generated Node #0,0: 31:[5, 24, 37] Operation: 56-19=37
Exploring Operation: 56-24=32, Resulting Numbers: [5, 19, 32]
Generated Node #0,1: 31:[5, 19, 32] Operation: 56-24=32
Exploring Operation: 5+19=24, Resulting Numbers: [56, 24, 24]
Generated Node #0,2: 31:[56, 24, 24] Operation: 5+19=24
Exploring Operation: 56-5=51, Resulting Numbers: [24, 19, 51]
Generated Node #0,3: 31:[24, 19, 51] Operation: 56-5=51
Exploring Operation: 5+24=29, Resulting Numbers: [56, 19, 29]
Generated Node #0,4: 31:[56, 19, 29] Operation: 5+24=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[5, 24, 37], Operations: ['56-19=37']
Exploring Operation: 37-24=13, Resulting Numbers: [5, 13]
Generated Node #0,0,0: 31:[5, 13] Operation: 37-24=13
Exploring Operation: 5+24=29, Resulting Numbers: [37, 29]
Generated Node #0,0,1: 31:[37, 29] Operation: 5+24=29
Exploring Operation: 24-5=19, Resulting Numbers: [37, 19]
Generated Node #0,0,2: 31:[37, 19] Operation: 24-5=19
Exploring Operation: 37-5=32, Resulting Numbers: [24, 32]
Generated Node #0,0,3: 31:[24, 32] Operation: 37-5=32
Exploring Operation: 5+37=42, Resulting Numbers: [24, 42]
Generated Node #0,0,4: 31:[24, 42] Operation: 5+37=42
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 31:[37, 29], Operations: ['56-19=37', '5+24=29']
Exploring Operation: 37*29=1073, Resulting Numbers: [1073]
1073,31 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 31:[24, 32], Operations: ['56-19=37', '37-5=32']
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 31:[37, 19], Operations: ['56-19=37', '24-5=19']
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 37*19=703, Resulting Numbers: [703]
703,31 unequal: No Solution
Exploring Operation: 37+19=56, Resulting Numbers: [56]
56,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 31:[24, 42], Operations: ['56-19=37', '5+37=42']
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 24*42=1008, Resulting Numbers: [1008]
1008,31 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[5, 13], Operations: ['56-19=37', '37-24=13']
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,31 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[5, 19, 32], Operations: ['56-24=32']
Exploring Operation: 5+32=37, Resulting Numbers: [19, 37]
Generated Node #0,1,0: 31:[19, 37] Operation: 5+32=37
Exploring Operation: 5+19=24, Resulting Numbers: [32, 24]
Generated Node #0,1,1: 31:[32, 24] Operation: 5+19=24
Exploring Operation: 19-5=14, Resulting Numbers: [32, 14]
Generated Node #0,1,2: 31:[32, 14] Operation: 19-5=14
Exploring Operation: 32-19=13, Resulting Numbers: [5, 13]
Generated Node #0,1,3: 31:[5, 13] Operation: 32-19=13
Exploring Operation: 32-5=27, Resulting Numbers: [19, 27]
Generated Node #0,1,4: 31:[19, 27] Operation: 32-5=27
Moving to Node #0,1,1
Current State: 31:[32, 24], Operations: ['56-24=32', '5+19=24']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,31 unequal: No Solution
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Moving to Node #0,1,4
Current State: 31:[19, 27], Operations: ['56-24=32', '32-5=27']
Exploring Operation: 19*27=513, Resulting Numbers: [513]
513,31 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[19, 37], Operations: ['56-24=32', '5+32=37']
Exploring Operation: 19*37=703, Resulting Numbers: [703]
703,31 unequal: No Solution
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 19+37=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[32, 14], Operations: ['56-24=32', '19-5=14']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 32*14=448, Resulting Numbers: [448]
448,31 unequal: No Solution
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[5, 13], Operations: ['56-24=32', '32-19=13']
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,31 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[56, 24, 24], Operations: ['5+19=24']
Exploring Operation: 24/24=1, Resulting Numbers: [56, 1]
Generated Node #0,2,0: 31:[56, 1] Operation: 24/24=1
Exploring Operation: 56+24=80, Resulting Numbers: [24, 80]
Generated Node #0,2,1: 31:[24, 80] Operation: 56+24=80
Exploring Operation: 24+24=48, Resulting Numbers: [56, 48]
Generated Node #0,2,2: 31:[56, 48] Operation: 24+24=48
Exploring Operation: 56-24=32, Resulting Numbers: [24, 32]
Generated Node #0,2,3: 31:[24, 32] Operation: 56-24=32
Exploring Operation: 56-24=32, Resulting Numbers: [24, 32]
Generated Node #0,2,4: 31:[24, 32] Operation: 56-24=32
Moving to Node #0,2,3
Current State: 31:[24, 32], Operations: ['5+19=24', '56-24=32']
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,31 unequal: No Solution
Moving to Node #0,2,4
Current State: 31:[24, 32], Operations: ['5+19=24', '56-24=32']
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,31 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[56, 48], Operations: ['5+19=24', '24+24=48']
Exploring Operation: 56+48=104, Resulting Numbers: [104]
104,31 unequal: No Solution
Exploring Operation: 56*48=2688, Resulting Numbers: [2688]
2688,31 unequal: No Solution
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[56, 1], Operations: ['5+19=24', '24/24=1']
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[24, 80], Operations: ['5+19=24', '56+24=80']
Exploring Operation: 24+80=104, Resulting Numbers: [104]
104,31 unequal: No Solution
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 24*80=1920, Resulting Numbers: [1920]
1920,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 31:[24, 19, 51], Operations: ['56-5=51']
Exploring Operation: 19+51=70, Resulting Numbers: [24, 70]
Generated Node #0,3,0: 31:[24, 70] Operation: 19+51=70
Exploring Operation: 51-24=27, Resulting Numbers: [19, 27]
Generated Node #0,3,1: 31:[19, 27] Operation: 51-24=27
Exploring Operation: 24+19=43, Resulting Numbers: [51, 43]
Generated Node #0,3,2: 31:[51, 43] Operation: 24+19=43
Exploring Operation: 24-19=5, Resulting Numbers: [51, 5]
Generated Node #0,3,3: 31:[51, 5] Operation: 24-19=5
Exploring Operation: 51-19=32, Resulting Numbers: [24, 32]
Generated Node #0,3,4: 31:[24, 32] Operation: 51-19=32
Moving to Node #0,3,4
Current State: 31:[24, 32], Operations: ['56-5=51', '51-19=32']
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,31 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[19, 27], Operations: ['56-5=51', '51-24=27']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 19*27=513, Resulting Numbers: [513]
513,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[51, 43], Operations: ['56-5=51', '24+19=43']
Exploring Operation: 51+43=94, Resulting Numbers: [94]
94,31 unequal: No Solution
Exploring Operation: 51-43=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 51*43=2193, Resulting Numbers: [2193]
2193,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[24, 70], Operations: ['56-5=51', '19+51=70']
Exploring Operation: 24*70=1680, Resulting Numbers: [1680]
1680,31 unequal: No Solution
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,31 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[51, 5], Operations: ['56-5=51', '24-19=5']
Exploring Operation: 51*5=255, Resulting Numbers: [255]
255,31 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 31:[56, 19, 29], Operations: ['5+24=29']
Exploring Operation: 29-19=10, Resulting Numbers: [56, 10]
Generated Node #0,4,0: 31:[56, 10] Operation: 29-19=10
Exploring Operation: 56-29=27, Resulting Numbers: [19, 27]
Generated Node #0,4,1: 31:[19, 27] Operation: 56-29=27
Exploring Operation: 56+19=75, Resulting Numbers: [29, 75]
Generated Node #0,4,2: 31:[29, 75] Operation: 56+19=75
Exploring Operation: 19+29=48, Resulting Numbers: [56, 48]
Generated Node #0,4,3: 31:[56, 48] Operation: 19+29=48
Exploring Operation: 56-19=37, Resulting Numbers: [29, 37]
Generated Node #0,4,4: 31:[29, 37] Operation: 56-19=37
Moving to Node #0,4,4
Current State: 31:[29, 37], Operations: ['5+24=29', '56-19=37']
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 29*37=1073, Resulting Numbers: [1073]
1073,31 unequal: No Solution
Moving to Node #0,4,1
Current State: 31:[19, 27], Operations: ['5+24=29', '56-29=27']
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 19*27=513, Resulting Numbers: [513]
513,31 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Moving to Node #0,4,3
Current State: 31:[56, 48], Operations: ['5+24=29', '19+29=48']
Exploring Operation: 56+48=104, Resulting Numbers: [104]
104,31 unequal: No Solution
Exploring Operation: 56*48=2688, Resulting Numbers: [2688]
2688,31 unequal: No Solution
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Moving to Node #0,4,0
Current State: 31:[56, 10], Operations: ['5+24=29', '29-19=10']
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,31 unequal: No Solution
Moving to Node #0,4,2
Current State: 31:[29, 75], Operations: ['5+24=29', '56+19=75']
Exploring Operation: 29+75=104, Resulting Numbers: [104]
104,31 unequal: No Solution
Exploring Operation: 29*75=2175, Resulting Numbers: [2175]
2175,31 unequal: No Solution
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,31 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 |
[
81,
62,
7,
41
] | 27 | [
"81*7=567",
"62-41=21",
"567/21=27"
] | Current State: 27:[81, 62, 7, 41], Operations: []
Exploring Operation: 81*7=567, Resulting Numbers: [62, 41, 567]
Generated Node #2: [62, 41, 567] from Operation: 81*7=567
Current State: 27:[62, 41, 567], Operations: ['81*7=567']
Exploring Operation: 62-41=21, Resulting Numbers: [567, 21]
Generated Node #3: [567, 21] from Operation: 62-41=21
Current State: 27:[567, 21], Operations: ['81*7=567', '62-41=21']
Exploring Operation: 567/21=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[81, 62, 7, 41], Operations: []
Exploring Operation: 81-62=19, Resulting Numbers: [7, 41, 19]
Generated Node #0,0: 27:[7, 41, 19] Operation: 81-62=19
Exploring Operation: 81-41=40, Resulting Numbers: [62, 7, 40]
Generated Node #0,1: 27:[62, 7, 40] Operation: 81-41=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[7, 41, 19], Operations: ['81-62=19']
Exploring Operation: 41-7=34, Resulting Numbers: [19, 34]
Generated Node #0,0,0: 27:[19, 34] Operation: 41-7=34
Exploring Operation: 41-19=22, Resulting Numbers: [7, 22]
Generated Node #0,0,1: 27:[7, 22] Operation: 41-19=22
Moving to Node #0,0,1
Current State: 27:[7, 22], Operations: ['81-62=19', '41-19=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,27 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[19, 34], Operations: ['81-62=19', '41-7=34']
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,27 unequal: No Solution
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[62, 7, 40], Operations: ['81-41=40']
Exploring Operation: 62-40=22, Resulting Numbers: [7, 22]
Generated Node #0,1,0: 27:[7, 22] Operation: 62-40=22
Exploring Operation: 62-7=55, Resulting Numbers: [40, 55]
Generated Node #0,1,1: 27:[40, 55] Operation: 62-7=55
Moving to Node #0,1,0
Current State: 27:[7, 22], Operations: ['81-41=40', '62-40=22']
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[40, 55], Operations: ['81-41=40', '62-7=55']
Exploring Operation: 40+55=95, Resulting Numbers: [95]
95,27 unequal: No Solution
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,27 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 |
[
56,
72,
15,
82
] | 61 | [
"56+72=128",
"82-15=67",
"128-67=61"
] | Current State: 61:[56, 72, 15, 82], Operations: []
Exploring Operation: 56+72=128, Resulting Numbers: [15, 82, 128]
Generated Node #2: [15, 82, 128] from Operation: 56+72=128
Current State: 61:[15, 82, 128], Operations: ['56+72=128']
Exploring Operation: 82-15=67, Resulting Numbers: [128, 67]
Generated Node #3: [128, 67] from Operation: 82-15=67
Current State: 61:[128, 67], Operations: ['56+72=128', '82-15=67']
Exploring Operation: 128-67=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[56, 72, 15, 82], Operations: []
Exploring Operation: 72-15=57, Resulting Numbers: [56, 82, 57]
Generated Node #0,0: 61:[56, 82, 57] Operation: 72-15=57
Exploring Operation: 56+15=71, Resulting Numbers: [72, 82, 71]
Generated Node #0,1: 61:[72, 82, 71] Operation: 56+15=71
Exploring Operation: 82-15=67, Resulting Numbers: [56, 72, 67]
Generated Node #0,2: 61:[56, 72, 67] Operation: 82-15=67
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[56, 72, 67], Operations: ['82-15=67']
Exploring Operation: 67-56=11, Resulting Numbers: [72, 11]
Generated Node #0,2,0: 61:[72, 11] Operation: 67-56=11
Exploring Operation: 72-56=16, Resulting Numbers: [67, 16]
Generated Node #0,2,1: 61:[67, 16] Operation: 72-56=16
Exploring Operation: 72-67=5, Resulting Numbers: [56, 5]
Generated Node #0,2,2: 61:[56, 5] Operation: 72-67=5
Moving to Node #0,2,1
Current State: 61:[67, 16], Operations: ['82-15=67', '72-56=16']
Exploring Operation: 67*16=1072, Resulting Numbers: [1072]
1072,61 unequal: No Solution
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,61 unequal: No Solution
Exploring Operation: 67+16=83, Resulting Numbers: [83]
83,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[72, 11], Operations: ['82-15=67', '67-56=11']
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[56, 72, 15, 82], Operations: []
Exploring Operation: 82-15=67, Resulting Numbers: [56, 72, 67]
Generated Node #0,2: 61:[56, 72, 67] Operation: 82-15=67
Moving to Node #0,2
Current State: 61:[56, 72, 67], Operations: ['82-15=67']
Exploring Operation: 67-56=11, Resulting Numbers: [72, 11]
Generated Node #0,2,0: 61:[72, 11] Operation: 67-56=11
Moving to Node #0,2,0
Current State: 61:[72, 11], Operations: ['82-15=67', '67-56=11']
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
63,
9,
44,
60
] | 81 | [
"60-44=16",
"9*16=144",
"144-63=81"
] | Current State: 81:[63, 9, 44, 60], Operations: []
Exploring Operation: 60-44=16, Resulting Numbers: [63, 9, 16]
Generated Node #2: [63, 9, 16] from Operation: 60-44=16
Current State: 81:[63, 9, 16], Operations: ['60-44=16']
Exploring Operation: 9*16=144, Resulting Numbers: [63, 144]
Generated Node #3: [63, 144] from Operation: 9*16=144
Current State: 81:[63, 144], Operations: ['60-44=16', '9*16=144']
Exploring Operation: 144-63=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[63, 9, 44, 60], Operations: []
Exploring Operation: 63-44=19, Resulting Numbers: [9, 60, 19]
Generated Node #0,0: 81:[9, 60, 19] Operation: 63-44=19
Exploring Operation: 63-60=3, Resulting Numbers: [9, 44, 3]
Generated Node #0,1: 81:[9, 44, 3] Operation: 63-60=3
Exploring Operation: 63/9=7, Resulting Numbers: [44, 60, 7]
Generated Node #0,2: 81:[44, 60, 7] Operation: 63/9=7
Exploring Operation: 60-44=16, Resulting Numbers: [63, 9, 16]
Generated Node #0,3: 81:[63, 9, 16] Operation: 60-44=16
Moving to Node #0,1
Current State: 81:[9, 44, 3], Operations: ['63-60=3']
Exploring Operation: 44-9=35, Resulting Numbers: [3, 35]
Generated Node #0,1,0: 81:[3, 35] Operation: 44-9=35
Exploring Operation: 9/3=3, Resulting Numbers: [44, 3]
Generated Node #0,1,1: 81:[44, 3] Operation: 9/3=3
Exploring Operation: 44-3=41, Resulting Numbers: [9, 41]
Generated Node #0,1,2: 81:[9, 41] Operation: 44-3=41
Exploring Operation: 9*3=27, Resulting Numbers: [44, 27]
Generated Node #0,1,3: 81:[44, 27] Operation: 9*3=27
Moving to Node #0,3
Current State: 81:[63, 9, 16], Operations: ['60-44=16']
Exploring Operation: 63+16=79, Resulting Numbers: [9, 79]
Generated Node #0,3,0: 81:[9, 79] Operation: 63+16=79
Exploring Operation: 63+9=72, Resulting Numbers: [16, 72]
Generated Node #0,3,1: 81:[16, 72] Operation: 63+9=72
Exploring Operation: 63-16=47, Resulting Numbers: [9, 47]
Generated Node #0,3,2: 81:[9, 47] Operation: 63-16=47
Exploring Operation: 63/9=7, Resulting Numbers: [16, 7]
Generated Node #0,3,3: 81:[16, 7] Operation: 63/9=7
Moving to Node #0,0
Current State: 81:[9, 60, 19], Operations: ['63-44=19']
Exploring Operation: 9+19=28, Resulting Numbers: [60, 28]
Generated Node #0,0,0: 81:[60, 28] Operation: 9+19=28
Exploring Operation: 60+19=79, Resulting Numbers: [9, 79]
Generated Node #0,0,1: 81:[9, 79] Operation: 60+19=79
Exploring Operation: 9+60=69, Resulting Numbers: [19, 69]
Generated Node #0,0,2: 81:[19, 69] Operation: 9+60=69
Exploring Operation: 60-19=41, Resulting Numbers: [9, 41]
Generated Node #0,0,3: 81:[9, 41] Operation: 60-19=41
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[9, 79], Operations: ['63-44=19', '60+19=79']
Exploring Operation: 9*79=711, Resulting Numbers: [711]
711,81 unequal: No Solution
Exploring Operation: 9+79=88, Resulting Numbers: [88]
88,81 unequal: No Solution
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 81:[9, 41], Operations: ['63-44=19', '60-19=41']
Exploring Operation: 9*41=369, Resulting Numbers: [369]
369,81 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 9+41=50, Resulting Numbers: [50]
50,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[19, 69], Operations: ['63-44=19', '9+60=69']
Exploring Operation: 19+69=88, Resulting Numbers: [88]
88,81 unequal: No Solution
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 19*69=1311, Resulting Numbers: [1311]
1311,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[60, 28], Operations: ['63-44=19', '9+19=28']
Exploring Operation: 60+28=88, Resulting Numbers: [88]
88,81 unequal: No Solution
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 60*28=1680, Resulting Numbers: [1680]
1680,81 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: 81:[44, 60, 7], Operations: ['63/9=7']
Exploring Operation: 60-44=16, Resulting Numbers: [7, 16]
Generated Node #0,2,0: 81:[7, 16] Operation: 60-44=16
Exploring Operation: 60+7=67, Resulting Numbers: [44, 67]
Generated Node #0,2,1: 81:[44, 67] Operation: 60+7=67
Exploring Operation: 44+60=104, Resulting Numbers: [7, 104]
Generated Node #0,2,2: 81:[7, 104] Operation: 44+60=104
Exploring Operation: 44-7=37, Resulting Numbers: [60, 37]
Generated Node #0,2,3: 81:[60, 37] Operation: 44-7=37
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 81:[7, 16], Operations: ['63/9=7', '60-44=16']
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,81 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,81 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[7, 104], Operations: ['63/9=7', '44+60=104']
Exploring Operation: 7+104=111, Resulting Numbers: [111]
111,81 unequal: No Solution
Exploring Operation: 7*104=728, Resulting Numbers: [728]
728,81 unequal: No Solution
Exploring Operation: 104-7=97, Resulting Numbers: [97]
97,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[44, 67], Operations: ['63/9=7', '60+7=67']
Exploring Operation: 67-44=23, Resulting Numbers: [23]
23,81 unequal: No Solution
Exploring Operation: 44*67=2948, Resulting Numbers: [2948]
2948,81 unequal: No Solution
Exploring Operation: 44+67=111, Resulting Numbers: [111]
111,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 81:[60, 37], Operations: ['63/9=7', '44-7=37']
Exploring Operation: 60+37=97, Resulting Numbers: [97]
97,81 unequal: No Solution
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,81 unequal: No Solution
Exploring Operation: 60*37=2220, Resulting Numbers: [2220]
2220,81 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: 81:[9, 79], Operations: ['60-44=16', '63+16=79']
Exploring Operation: 9+79=88, Resulting Numbers: [88]
88,81 unequal: No Solution
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,81 unequal: No Solution
Exploring Operation: 9*79=711, Resulting Numbers: [711]
711,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[3, 35], Operations: ['63-60=3', '44-9=35']
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,81 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[16, 7], Operations: ['60-44=16', '63/9=7']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,81 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[9, 41], Operations: ['63-60=3', '44-3=41']
Exploring Operation: 9*41=369, Resulting Numbers: [369]
369,81 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 9+41=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[16, 72], Operations: ['60-44=16', '63+9=72']
Exploring Operation: 16*72=1152, Resulting Numbers: [1152]
1152,81 unequal: No Solution
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Exploring Operation: 16+72=88, Resulting Numbers: [88]
88,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[44, 27], Operations: ['63-60=3', '9*3=27']
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,81 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 44*27=1188, Resulting Numbers: [1188]
1188,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[44, 3], Operations: ['63-60=3', '9/3=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,81 unequal: No Solution
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 44*3=132, Resulting Numbers: [132]
132,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[9, 47], Operations: ['60-44=16', '63-16=47']
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 9*47=423, Resulting Numbers: [423]
423,81 unequal: No Solution
Exploring Operation: 9+47=56, Resulting Numbers: [56]
56,81 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
67,
10,
11,
81
] | 30 | [
"67+11=78",
"81-78=3",
"10*3=30"
] | Current State: 30:[67, 10, 11, 81], Operations: []
Exploring Operation: 67+11=78, Resulting Numbers: [10, 81, 78]
Generated Node #2: [10, 81, 78] from Operation: 67+11=78
Current State: 30:[10, 81, 78], Operations: ['67+11=78']
Exploring Operation: 81-78=3, Resulting Numbers: [10, 3]
Generated Node #3: [10, 3] from Operation: 81-78=3
Current State: 30:[10, 3], Operations: ['67+11=78', '81-78=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[67, 10, 11, 81], Operations: []
Exploring Operation: 81-67=14, Resulting Numbers: [10, 11, 14]
Generated Node #0,0: 30:[10, 11, 14] Operation: 81-67=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[10, 11, 14], Operations: ['81-67=14']
Exploring Operation: 14-11=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 30:[10, 3] Operation: 14-11=3
Moving to Node #0,0,0
Current State: 30:[10, 3], Operations: ['81-67=14', '14-11=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[67, 10, 11, 81], Operations: []
Exploring Operation: 81-67=14, Resulting Numbers: [10, 11, 14]
Generated Node #0,0: 30:[10, 11, 14] Operation: 81-67=14
Moving to Node #0,0
Current State: 30:[10, 11, 14], Operations: ['81-67=14']
Exploring Operation: 14-11=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 30:[10, 3] Operation: 14-11=3
Moving to Node #0,0,0
Current State: 30:[10, 3], Operations: ['81-67=14', '14-11=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.