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 |
|---|---|---|---|---|---|---|---|---|
[
72,
42,
24,
82
] | 44 | [
"72*42=3024",
"3024/24=126",
"126-82=44"
] | Current State: 44:[72, 42, 24, 82], Operations: []
Exploring Operation: 72*42=3024, Resulting Numbers: [24, 82, 3024]
Generated Node #2: [24, 82, 3024] from Operation: 72*42=3024
Current State: 44:[24, 82, 3024], Operations: ['72*42=3024']
Exploring Operation: 3024/24=126, Resulting Numbers: [82, 126]
Generated Node #3: [82, 126] from Operation: 3024/24=126
Current State: 44:[82, 126], Operations: ['72*42=3024', '3024/24=126']
Exploring Operation: 126-82=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[72, 42, 24, 82], Operations: []
Exploring Operation: 82-72=10, Resulting Numbers: [42, 24, 10]
Generated Node #0,0: 44:[42, 24, 10] Operation: 82-72=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[42, 24, 10], Operations: ['82-72=10']
Exploring Operation: 42-24=18, Resulting Numbers: [10, 18]
Generated Node #0,0,0: 44:[10, 18] Operation: 42-24=18
Moving to Node #0,0,0
Current State: 44:[10, 18], Operations: ['82-72=10', '42-24=18']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,44 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 |
[
19,
33,
2,
75
] | 15 | [
"19*2=38",
"38-33=5",
"75/5=15"
] | Current State: 15:[19, 33, 2, 75], Operations: []
Exploring Operation: 19*2=38, Resulting Numbers: [33, 75, 38]
Generated Node #2: [33, 75, 38] from Operation: 19*2=38
Current State: 15:[33, 75, 38], Operations: ['19*2=38']
Exploring Operation: 38-33=5, Resulting Numbers: [75, 5]
Generated Node #3: [75, 5] from Operation: 38-33=5
Current State: 15:[75, 5], Operations: ['19*2=38', '38-33=5']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[19, 33, 2, 75], Operations: []
Exploring Operation: 75-33=42, Resulting Numbers: [19, 2, 42]
Generated Node #0,0: 15:[19, 2, 42] Operation: 75-33=42
Moving to Node #0,0
Current State: 15:[19, 2, 42], Operations: ['75-33=42']
Exploring Operation: 42-19=23, Resulting Numbers: [2, 23]
Generated Node #0,0,0: 15:[2, 23] Operation: 42-19=23
Moving to Node #0,0,0
Current State: 15:[2, 23], Operations: ['75-33=42', '42-19=23']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,15 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
79,
24,
14,
4
] | 73 | [
"79-24=55",
"14+4=18",
"55+18=73"
] | Current State: 73:[79, 24, 14, 4], Operations: []
Exploring Operation: 79-24=55, Resulting Numbers: [14, 4, 55]
Generated Node #2: [14, 4, 55] from Operation: 79-24=55
Current State: 73:[14, 4, 55], Operations: ['79-24=55']
Exploring Operation: 14+4=18, Resulting Numbers: [55, 18]
Generated Node #3: [55, 18] from Operation: 14+4=18
Current State: 73:[55, 18], Operations: ['79-24=55', '14+4=18']
Exploring Operation: 55+18=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[79, 24, 14, 4], Operations: []
Exploring Operation: 24*4=96, Resulting Numbers: [79, 14, 96]
Generated Node #0,0: 73:[79, 14, 96] Operation: 24*4=96
Exploring Operation: 14*4=56, Resulting Numbers: [79, 24, 56]
Generated Node #0,1: 73:[79, 24, 56] Operation: 14*4=56
Moving to Node #0,1
Current State: 73:[79, 24, 56], Operations: ['14*4=56']
Exploring Operation: 24+56=80, Resulting Numbers: [79, 80]
Generated Node #0,1,0: 73:[79, 80] Operation: 24+56=80
Exploring Operation: 79-24=55, Resulting Numbers: [56, 55]
Generated Node #0,1,1: 73:[56, 55] Operation: 79-24=55
Moving to Node #0,0
Current State: 73:[79, 14, 96], Operations: ['24*4=96']
Exploring Operation: 96-14=82, Resulting Numbers: [79, 82]
Generated Node #0,0,0: 73:[79, 82] Operation: 96-14=82
Exploring Operation: 79-14=65, Resulting Numbers: [96, 65]
Generated Node #0,0,1: 73:[96, 65] Operation: 79-14=65
Moving to Node #0,1,0
Current State: 73:[79, 80], Operations: ['14*4=56', '24+56=80']
Exploring Operation: 79+80=159, Resulting Numbers: [159]
159,73 unequal: No Solution
Exploring Operation: 80-79=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[79, 82], Operations: ['24*4=96', '96-14=82']
Exploring Operation: 82-79=3, Resulting Numbers: [3]
3,73 unequal: No Solution
Exploring Operation: 79+82=161, Resulting Numbers: [161]
161,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[96, 65], Operations: ['24*4=96', '79-14=65']
Exploring Operation: 96+65=161, Resulting Numbers: [161]
161,73 unequal: No Solution
Exploring Operation: 96-65=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[56, 55], Operations: ['14*4=56', '79-24=55']
Exploring Operation: 56+55=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,73 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
21,
13,
7,
27
] | 36 | [
"27-21=6",
"13-7=6",
"6*6=36"
] | Current State: 36:[21, 13, 7, 27], Operations: []
Exploring Operation: 27-21=6, Resulting Numbers: [13, 7, 6]
Generated Node #2: [13, 7, 6] from Operation: 27-21=6
Current State: 36:[13, 7, 6], Operations: ['27-21=6']
Exploring Operation: 13-7=6, Resulting Numbers: [6, 6]
Generated Node #3: [6, 6] from Operation: 13-7=6
Current State: 36:[6, 6], Operations: ['27-21=6', '13-7=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[21, 13, 7, 27], Operations: []
Exploring Operation: 27-21=6, Resulting Numbers: [13, 7, 6]
Generated Node #0,0: 36:[13, 7, 6] Operation: 27-21=6
Exploring Operation: 7+27=34, Resulting Numbers: [21, 13, 34]
Generated Node #0,1: 36:[21, 13, 34] Operation: 7+27=34
Exploring Operation: 27-13=14, Resulting Numbers: [21, 7, 14]
Generated Node #0,2: 36:[21, 7, 14] Operation: 27-13=14
Moving to Node #0,0
Current State: 36:[13, 7, 6], Operations: ['27-21=6']
Exploring Operation: 13-7=6, Resulting Numbers: [6, 6]
Generated Node #0,0,0: 36:[6, 6] Operation: 13-7=6
Exploring Operation: 13+6=19, Resulting Numbers: [7, 19]
Generated Node #0,0,1: 36:[7, 19] Operation: 13+6=19
Exploring Operation: 13+7=20, Resulting Numbers: [6, 20]
Generated Node #0,0,2: 36:[6, 20] Operation: 13+7=20
Moving to Node #0,1
Current State: 36:[21, 13, 34], Operations: ['7+27=34']
Exploring Operation: 34-21=13, Resulting Numbers: [13, 13]
Generated Node #0,1,0: 36:[13, 13] Operation: 34-21=13
Exploring Operation: 21+13=34, Resulting Numbers: [34, 34]
Generated Node #0,1,1: 36:[34, 34] Operation: 21+13=34
Exploring Operation: 21-13=8, Resulting Numbers: [34, 8]
Generated Node #0,1,2: 36:[34, 8] Operation: 21-13=8
Moving to Node #0,2
Current State: 36:[21, 7, 14], Operations: ['27-13=14']
Exploring Operation: 21-14=7, Resulting Numbers: [7, 7]
Generated Node #0,2,0: 36:[7, 7] Operation: 21-14=7
Exploring Operation: 21/7=3, Resulting Numbers: [14, 3]
Generated Node #0,2,1: 36:[14, 3] Operation: 21/7=3
Exploring Operation: 21+14=35, Resulting Numbers: [7, 35]
Generated Node #0,2,2: 36:[7, 35] Operation: 21+14=35
Moving to Node #0,0,0
Current State: 36:[6, 6], Operations: ['27-21=6', '13-7=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[21, 13, 7, 27], Operations: []
Exploring Operation: 27-21=6, Resulting Numbers: [13, 7, 6]
Generated Node #0,0: 36:[13, 7, 6] Operation: 27-21=6
Moving to Node #0,0
Current State: 36:[13, 7, 6], Operations: ['27-21=6']
Exploring Operation: 13-7=6, Resulting Numbers: [6, 6]
Generated Node #0,0,0: 36:[6, 6] Operation: 13-7=6
Moving to Node #0,0,0
Current State: 36:[6, 6], Operations: ['27-21=6', '13-7=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.985243 | hs_3 | mult_heuristic |
[
25,
45,
71,
34
] | 76 | [
"34-25=9",
"45/9=5",
"71+5=76"
] | Current State: 76:[25, 45, 71, 34], Operations: []
Exploring Operation: 34-25=9, Resulting Numbers: [45, 71, 9]
Generated Node #2: [45, 71, 9] from Operation: 34-25=9
Current State: 76:[45, 71, 9], Operations: ['34-25=9']
Exploring Operation: 45/9=5, Resulting Numbers: [71, 5]
Generated Node #3: [71, 5] from Operation: 45/9=5
Current State: 76:[71, 5], Operations: ['34-25=9', '45/9=5']
Exploring Operation: 71+5=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[25, 45, 71, 34], Operations: []
Exploring Operation: 25+45=70, Resulting Numbers: [71, 34, 70]
Generated Node #0,0: 76:[71, 34, 70] Operation: 25+45=70
Exploring Operation: 45-25=20, Resulting Numbers: [71, 34, 20]
Generated Node #0,1: 76:[71, 34, 20] Operation: 45-25=20
Exploring Operation: 71-34=37, Resulting Numbers: [25, 45, 37]
Generated Node #0,2: 76:[25, 45, 37] Operation: 71-34=37
Exploring Operation: 45+34=79, Resulting Numbers: [25, 71, 79]
Generated Node #0,3: 76:[25, 71, 79] Operation: 45+34=79
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[71, 34, 20], Operations: ['45-25=20']
Exploring Operation: 34-20=14, Resulting Numbers: [71, 14]
Generated Node #0,1,0: 76:[71, 14] Operation: 34-20=14
Exploring Operation: 71+20=91, Resulting Numbers: [34, 91]
Generated Node #0,1,1: 76:[34, 91] Operation: 71+20=91
Exploring Operation: 71-34=37, Resulting Numbers: [20, 37]
Generated Node #0,1,2: 76:[20, 37] Operation: 71-34=37
Exploring Operation: 71-20=51, Resulting Numbers: [34, 51]
Generated Node #0,1,3: 76:[34, 51] Operation: 71-20=51
Moving to Node #0,1,2
Current State: 76:[20, 37], Operations: ['45-25=20', '71-34=37']
Exploring Operation: 20+37=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 20*37=740, Resulting Numbers: [740]
740,76 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[71, 14], Operations: ['45-25=20', '34-20=14']
Exploring Operation: 71*14=994, Resulting Numbers: [994]
994,76 unequal: No Solution
Exploring Operation: 71-14=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 71+14=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Moving to Node #0,1,3
Current State: 76:[34, 51], Operations: ['45-25=20', '71-20=51']
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Exploring Operation: 34*51=1734, Resulting Numbers: [1734]
1734,76 unequal: No Solution
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[34, 91], Operations: ['45-25=20', '71+20=91']
Exploring Operation: 91-34=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 34*91=3094, Resulting Numbers: [3094]
3094,76 unequal: No Solution
Exploring Operation: 34+91=125, Resulting Numbers: [125]
125,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[25, 45, 37], Operations: ['71-34=37']
Exploring Operation: 25+45=70, Resulting Numbers: [37, 70]
Generated Node #0,2,0: 76:[37, 70] Operation: 25+45=70
Exploring Operation: 45-37=8, Resulting Numbers: [25, 8]
Generated Node #0,2,1: 76:[25, 8] Operation: 45-37=8
Exploring Operation: 45+37=82, Resulting Numbers: [25, 82]
Generated Node #0,2,2: 76:[25, 82] Operation: 45+37=82
Exploring Operation: 45-25=20, Resulting Numbers: [37, 20]
Generated Node #0,2,3: 76:[37, 20] Operation: 45-25=20
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 76:[37, 20], Operations: ['71-34=37', '45-25=20']
Exploring Operation: 37*20=740, Resulting Numbers: [740]
740,76 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Exploring Operation: 37+20=57, Resulting Numbers: [57]
57,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 76:[37, 70], Operations: ['71-34=37', '25+45=70']
Exploring Operation: 70-37=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 37*70=2590, Resulting Numbers: [2590]
2590,76 unequal: No Solution
Exploring Operation: 37+70=107, Resulting Numbers: [107]
107,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[25, 8], Operations: ['71-34=37', '45-37=8']
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,76 unequal: No Solution
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 76:[25, 82], Operations: ['71-34=37', '45+37=82']
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 25*82=2050, Resulting Numbers: [2050]
2050,76 unequal: No Solution
Exploring Operation: 25+82=107, Resulting Numbers: [107]
107,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[25, 71, 79], Operations: ['45+34=79']
Exploring Operation: 79-71=8, Resulting Numbers: [25, 8]
Generated Node #0,3,0: 76:[25, 8] Operation: 79-71=8
Exploring Operation: 25+71=96, Resulting Numbers: [79, 96]
Generated Node #0,3,1: 76:[79, 96] Operation: 25+71=96
Exploring Operation: 79-25=54, Resulting Numbers: [71, 54]
Generated Node #0,3,2: 76:[71, 54] Operation: 79-25=54
Exploring Operation: 71-25=46, Resulting Numbers: [79, 46]
Generated Node #0,3,3: 76:[79, 46] Operation: 71-25=46
Moving to Node #0,3,0
Current State: 76:[25, 8], Operations: ['45+34=79', '79-71=8']
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[79, 46], Operations: ['45+34=79', '71-25=46']
Exploring Operation: 79-46=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 79*46=3634, Resulting Numbers: [3634]
3634,76 unequal: No Solution
Exploring Operation: 79+46=125, Resulting Numbers: [125]
125,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[71, 54], Operations: ['45+34=79', '79-25=54']
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Exploring Operation: 71*54=3834, Resulting Numbers: [3834]
3834,76 unequal: No Solution
Exploring Operation: 71+54=125, Resulting Numbers: [125]
125,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[79, 96], Operations: ['45+34=79', '25+71=96']
Exploring Operation: 79*96=7584, Resulting Numbers: [7584]
7584,76 unequal: No Solution
Exploring Operation: 96-79=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Exploring Operation: 79+96=175, Resulting Numbers: [175]
175,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,0
Current State: 76:[71, 34, 70], Operations: ['25+45=70']
Exploring Operation: 70-34=36, Resulting Numbers: [71, 36]
Generated Node #0,0,0: 76:[71, 36] Operation: 70-34=36
Exploring Operation: 71-34=37, Resulting Numbers: [70, 37]
Generated Node #0,0,1: 76:[70, 37] Operation: 71-34=37
Exploring Operation: 71-70=1, Resulting Numbers: [34, 1]
Generated Node #0,0,2: 76:[34, 1] Operation: 71-70=1
Exploring Operation: 34+70=104, Resulting Numbers: [71, 104]
Generated Node #0,0,3: 76:[71, 104] Operation: 34+70=104
Moving to Node #0,0,2
Current State: 76:[34, 1], Operations: ['25+45=70', '71-70=1']
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,76 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,76 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[70, 37], Operations: ['25+45=70', '71-34=37']
Exploring Operation: 70*37=2590, Resulting Numbers: [2590]
2590,76 unequal: No Solution
Exploring Operation: 70+37=107, Resulting Numbers: [107]
107,76 unequal: No Solution
Exploring Operation: 70-37=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[71, 36], Operations: ['25+45=70', '70-34=36']
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,76 unequal: No Solution
Exploring Operation: 71+36=107, Resulting Numbers: [107]
107,76 unequal: No Solution
Exploring Operation: 71*36=2556, Resulting Numbers: [2556]
2556,76 unequal: No Solution
Moving to Node #0,0,3
Current State: 76:[71, 104], Operations: ['25+45=70', '34+70=104']
Exploring Operation: 71+104=175, Resulting Numbers: [175]
175,76 unequal: No Solution
Exploring Operation: 71*104=7384, Resulting Numbers: [7384]
7384,76 unequal: No Solution
Exploring Operation: 104-71=33, Resulting Numbers: [33]
33,76 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 |
[
80,
98,
70,
50
] | 94 | [
"70-50=20",
"80/20=4",
"98-4=94"
] | Current State: 94:[80, 98, 70, 50], Operations: []
Exploring Operation: 70-50=20, Resulting Numbers: [80, 98, 20]
Generated Node #2: [80, 98, 20] from Operation: 70-50=20
Current State: 94:[80, 98, 20], Operations: ['70-50=20']
Exploring Operation: 80/20=4, Resulting Numbers: [98, 4]
Generated Node #3: [98, 4] from Operation: 80/20=4
Current State: 94:[98, 4], Operations: ['70-50=20', '80/20=4']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[80, 98, 70, 50], Operations: []
Exploring Operation: 98-80=18, Resulting Numbers: [70, 50, 18]
Generated Node #0,0: 94:[70, 50, 18] Operation: 98-80=18
Exploring Operation: 98-50=48, Resulting Numbers: [80, 70, 48]
Generated Node #0,1: 94:[80, 70, 48] Operation: 98-50=48
Exploring Operation: 98-70=28, Resulting Numbers: [80, 50, 28]
Generated Node #0,2: 94:[80, 50, 28] Operation: 98-70=28
Exploring Operation: 70-50=20, Resulting Numbers: [80, 98, 20]
Generated Node #0,3: 94:[80, 98, 20] Operation: 70-50=20
Exploring Operation: 80-70=10, Resulting Numbers: [98, 50, 10]
Generated Node #0,4: 94:[98, 50, 10] Operation: 80-70=10
Moving to Node #0,4
Current State: 94:[98, 50, 10], Operations: ['80-70=10']
Exploring Operation: 98-10=88, Resulting Numbers: [50, 88]
Generated Node #0,4,0: 94:[50, 88] Operation: 98-10=88
Exploring Operation: 98+10=108, Resulting Numbers: [50, 108]
Generated Node #0,4,1: 94:[50, 108] Operation: 98+10=108
Exploring Operation: 98-50=48, Resulting Numbers: [10, 48]
Generated Node #0,4,2: 94:[10, 48] Operation: 98-50=48
Exploring Operation: 50/10=5, Resulting Numbers: [98, 5]
Generated Node #0,4,3: 94:[98, 5] Operation: 50/10=5
Exploring Operation: 50-10=40, Resulting Numbers: [98, 40]
Generated Node #0,4,4: 94:[98, 40] Operation: 50-10=40
Moving to Node #0,3
Current State: 94:[80, 98, 20], Operations: ['70-50=20']
Exploring Operation: 98-20=78, Resulting Numbers: [80, 78]
Generated Node #0,3,0: 94:[80, 78] Operation: 98-20=78
Exploring Operation: 80-20=60, Resulting Numbers: [98, 60]
Generated Node #0,3,1: 94:[98, 60] Operation: 80-20=60
Exploring Operation: 80+20=100, Resulting Numbers: [98, 100]
Generated Node #0,3,2: 94:[98, 100] Operation: 80+20=100
Exploring Operation: 80/20=4, Resulting Numbers: [98, 4]
Generated Node #0,3,3: 94:[98, 4] Operation: 80/20=4
Exploring Operation: 98-80=18, Resulting Numbers: [20, 18]
Generated Node #0,3,4: 94:[20, 18] Operation: 98-80=18
Moving to Node #0,2
Current State: 94:[80, 50, 28], Operations: ['98-70=28']
Exploring Operation: 80+28=108, Resulting Numbers: [50, 108]
Generated Node #0,2,0: 94:[50, 108] Operation: 80+28=108
Exploring Operation: 80-50=30, Resulting Numbers: [28, 30]
Generated Node #0,2,1: 94:[28, 30] Operation: 80-50=30
Exploring Operation: 80-28=52, Resulting Numbers: [50, 52]
Generated Node #0,2,2: 94:[50, 52] Operation: 80-28=52
Exploring Operation: 50-28=22, Resulting Numbers: [80, 22]
Generated Node #0,2,3: 94:[80, 22] Operation: 50-28=22
Exploring Operation: 50+28=78, Resulting Numbers: [80, 78]
Generated Node #0,2,4: 94:[80, 78] Operation: 50+28=78
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[50, 52], Operations: ['98-70=28', '80-28=52']
Exploring Operation: 50*52=2600, Resulting Numbers: [2600]
2600,94 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 50+52=102, Resulting Numbers: [102]
102,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[50, 108], Operations: ['98-70=28', '80+28=108']
Exploring Operation: 108-50=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 50+108=158, Resulting Numbers: [158]
158,94 unequal: No Solution
Exploring Operation: 50*108=5400, Resulting Numbers: [5400]
5400,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 94:[80, 78], Operations: ['98-70=28', '50+28=78']
Exploring Operation: 80*78=6240, Resulting Numbers: [6240]
6240,94 unequal: No Solution
Exploring Operation: 80-78=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 80+78=158, Resulting Numbers: [158]
158,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 94:[80, 22], Operations: ['98-70=28', '50-28=22']
Exploring Operation: 80*22=1760, Resulting Numbers: [1760]
1760,94 unequal: No Solution
Exploring Operation: 80+22=102, Resulting Numbers: [102]
102,94 unequal: No Solution
Exploring Operation: 80-22=58, Resulting Numbers: [58]
58,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[28, 30], Operations: ['98-70=28', '80-50=30']
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 28*30=840, Resulting Numbers: [840]
840,94 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: 94:[80, 70, 48], Operations: ['98-50=48']
Exploring Operation: 80-70=10, Resulting Numbers: [48, 10]
Generated Node #0,1,0: 94:[48, 10] Operation: 80-70=10
Exploring Operation: 70+48=118, Resulting Numbers: [80, 118]
Generated Node #0,1,1: 94:[80, 118] Operation: 70+48=118
Exploring Operation: 80-48=32, Resulting Numbers: [70, 32]
Generated Node #0,1,2: 94:[70, 32] Operation: 80-48=32
Exploring Operation: 70-48=22, Resulting Numbers: [80, 22]
Generated Node #0,1,3: 94:[80, 22] Operation: 70-48=22
Exploring Operation: 80+70=150, Resulting Numbers: [48, 150]
Generated Node #0,1,4: 94:[48, 150] Operation: 80+70=150
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[48, 10], Operations: ['98-50=48', '80-70=10']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,94 unequal: No Solution
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 94:[80, 22], Operations: ['98-50=48', '70-48=22']
Exploring Operation: 80-22=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 80*22=1760, Resulting Numbers: [1760]
1760,94 unequal: No Solution
Exploring Operation: 80+22=102, Resulting Numbers: [102]
102,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[80, 118], Operations: ['98-50=48', '70+48=118']
Exploring Operation: 80*118=9440, Resulting Numbers: [9440]
9440,94 unequal: No Solution
Exploring Operation: 118-80=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 80+118=198, Resulting Numbers: [198]
198,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[70, 32], Operations: ['98-50=48', '80-48=32']
Exploring Operation: 70+32=102, Resulting Numbers: [102]
102,94 unequal: No Solution
Exploring Operation: 70*32=2240, Resulting Numbers: [2240]
2240,94 unequal: No Solution
Exploring Operation: 70-32=38, Resulting Numbers: [38]
38,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 94:[48, 150], Operations: ['98-50=48', '80+70=150']
Exploring Operation: 150-48=102, Resulting Numbers: [102]
102,94 unequal: No Solution
Exploring Operation: 48+150=198, Resulting Numbers: [198]
198,94 unequal: No Solution
Exploring Operation: 48*150=7200, Resulting Numbers: [7200]
7200,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 94:[70, 50, 18], Operations: ['98-80=18']
Exploring Operation: 70+50=120, Resulting Numbers: [18, 120]
Generated Node #0,0,0: 94:[18, 120] Operation: 70+50=120
Exploring Operation: 50-18=32, Resulting Numbers: [70, 32]
Generated Node #0,0,1: 94:[70, 32] Operation: 50-18=32
Exploring Operation: 70-50=20, Resulting Numbers: [18, 20]
Generated Node #0,0,2: 94:[18, 20] Operation: 70-50=20
Exploring Operation: 70-18=52, Resulting Numbers: [50, 52]
Generated Node #0,0,3: 94:[50, 52] Operation: 70-18=52
Exploring Operation: 70+18=88, Resulting Numbers: [50, 88]
Generated Node #0,0,4: 94:[50, 88] Operation: 70+18=88
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 94:[50, 52], Operations: ['98-80=18', '70-18=52']
Exploring Operation: 50*52=2600, Resulting Numbers: [2600]
2600,94 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 50+52=102, Resulting Numbers: [102]
102,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 94:[50, 88], Operations: ['98-80=18', '70+18=88']
Exploring Operation: 50*88=4400, Resulting Numbers: [4400]
4400,94 unequal: No Solution
Exploring Operation: 50+88=138, Resulting Numbers: [138]
138,94 unequal: No Solution
Exploring Operation: 88-50=38, Resulting Numbers: [38]
38,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[18, 20], Operations: ['98-80=18', '70-50=20']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[70, 32], Operations: ['98-80=18', '50-18=32']
Exploring Operation: 70*32=2240, Resulting Numbers: [2240]
2240,94 unequal: No Solution
Exploring Operation: 70-32=38, Resulting Numbers: [38]
38,94 unequal: No Solution
Exploring Operation: 70+32=102, Resulting Numbers: [102]
102,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[18, 120], Operations: ['98-80=18', '70+50=120']
Exploring Operation: 18*120=2160, Resulting Numbers: [2160]
2160,94 unequal: No Solution
Exploring Operation: 120-18=102, Resulting Numbers: [102]
102,94 unequal: No Solution
Exploring Operation: 18+120=138, Resulting Numbers: [138]
138,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 94:[98, 4], Operations: ['70-50=20', '80/20=4']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[80, 98, 70, 50], Operations: []
Exploring Operation: 70-50=20, Resulting Numbers: [80, 98, 20]
Generated Node #0,3: 94:[80, 98, 20] Operation: 70-50=20
Moving to Node #0,3
Current State: 94:[80, 98, 20], Operations: ['70-50=20']
Exploring Operation: 80/20=4, Resulting Numbers: [98, 4]
Generated Node #0,3,3: 94:[98, 4] Operation: 80/20=4
Moving to Node #0,3,3
Current State: 94:[98, 4], Operations: ['70-50=20', '80/20=4']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.930556 | hs_5 | sum_heuristic |
[
49,
55,
95,
73
] | 80 | [
"55*73=4015",
"4015-95=3920",
"3920/49=80"
] | Current State: 80:[49, 55, 95, 73], Operations: []
Exploring Operation: 55*73=4015, Resulting Numbers: [49, 95, 4015]
Generated Node #2: [49, 95, 4015] from Operation: 55*73=4015
Current State: 80:[49, 95, 4015], Operations: ['55*73=4015']
Exploring Operation: 4015-95=3920, Resulting Numbers: [49, 3920]
Generated Node #3: [49, 3920] from Operation: 4015-95=3920
Current State: 80:[49, 3920], Operations: ['55*73=4015', '4015-95=3920']
Exploring Operation: 3920/49=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[49, 55, 95, 73], Operations: []
Exploring Operation: 95-49=46, Resulting Numbers: [55, 73, 46]
Generated Node #0,0: 80:[55, 73, 46] Operation: 95-49=46
Exploring Operation: 95-55=40, Resulting Numbers: [49, 73, 40]
Generated Node #0,1: 80:[49, 73, 40] Operation: 95-55=40
Exploring Operation: 73-55=18, Resulting Numbers: [49, 95, 18]
Generated Node #0,2: 80:[49, 95, 18] Operation: 73-55=18
Exploring Operation: 95-73=22, Resulting Numbers: [49, 55, 22]
Generated Node #0,3: 80:[49, 55, 22] Operation: 95-73=22
Exploring Operation: 55-49=6, Resulting Numbers: [95, 73, 6]
Generated Node #0,4: 80:[95, 73, 6] Operation: 55-49=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[49, 73, 40], Operations: ['95-55=40']
Exploring Operation: 73-40=33, Resulting Numbers: [49, 33]
Generated Node #0,1,0: 80:[49, 33] Operation: 73-40=33
Exploring Operation: 49+73=122, Resulting Numbers: [40, 122]
Generated Node #0,1,1: 80:[40, 122] Operation: 49+73=122
Exploring Operation: 73-49=24, Resulting Numbers: [40, 24]
Generated Node #0,1,2: 80:[40, 24] Operation: 73-49=24
Exploring Operation: 49-40=9, Resulting Numbers: [73, 9]
Generated Node #0,1,3: 80:[73, 9] Operation: 49-40=9
Exploring Operation: 49+40=89, Resulting Numbers: [73, 89]
Generated Node #0,1,4: 80:[73, 89] Operation: 49+40=89
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 80:[40, 24], Operations: ['95-55=40', '73-49=24']
Exploring Operation: 40*24=960, Resulting Numbers: [960]
960,80 unequal: No Solution
Exploring Operation: 40+24=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,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,3
Current State: 80:[73, 9], Operations: ['95-55=40', '49-40=9']
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 73+9=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Exploring Operation: 73*9=657, Resulting Numbers: [657]
657,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:[49, 33], Operations: ['95-55=40', '73-40=33']
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,80 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,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,4
Current State: 80:[73, 89], Operations: ['95-55=40', '49+40=89']
Exploring Operation: 89-73=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 73*89=6497, Resulting Numbers: [6497]
6497,80 unequal: No Solution
Exploring Operation: 73+89=162, Resulting Numbers: [162]
162,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:[40, 122], Operations: ['95-55=40', '49+73=122']
Exploring Operation: 40*122=4880, Resulting Numbers: [4880]
4880,80 unequal: No Solution
Exploring Operation: 122-40=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Exploring Operation: 40+122=162, Resulting Numbers: [162]
162,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 80:[95, 73, 6], Operations: ['55-49=6']
Exploring Operation: 73-6=67, Resulting Numbers: [95, 67]
Generated Node #0,4,0: 80:[95, 67] Operation: 73-6=67
Exploring Operation: 95+6=101, Resulting Numbers: [73, 101]
Generated Node #0,4,1: 80:[73, 101] Operation: 95+6=101
Exploring Operation: 95-6=89, Resulting Numbers: [73, 89]
Generated Node #0,4,2: 80:[73, 89] Operation: 95-6=89
Exploring Operation: 95-73=22, Resulting Numbers: [6, 22]
Generated Node #0,4,3: 80:[6, 22] Operation: 95-73=22
Exploring Operation: 73+6=79, Resulting Numbers: [95, 79]
Generated Node #0,4,4: 80:[95, 79] Operation: 73+6=79
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 80:[6, 22], Operations: ['55-49=6', '95-73=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,80 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 80:[73, 89], Operations: ['55-49=6', '95-6=89']
Exploring Operation: 73+89=162, Resulting Numbers: [162]
162,80 unequal: No Solution
Exploring Operation: 73*89=6497, Resulting Numbers: [6497]
6497,80 unequal: No Solution
Exploring Operation: 89-73=16, Resulting Numbers: [16]
16,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 80:[95, 79], Operations: ['55-49=6', '73+6=79']
Exploring Operation: 95*79=7505, Resulting Numbers: [7505]
7505,80 unequal: No Solution
Exploring Operation: 95+79=174, Resulting Numbers: [174]
174,80 unequal: No Solution
Exploring Operation: 95-79=16, Resulting Numbers: [16]
16,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 80:[95, 67], Operations: ['55-49=6', '73-6=67']
Exploring Operation: 95-67=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 95+67=162, Resulting Numbers: [162]
162,80 unequal: No Solution
Exploring Operation: 95*67=6365, Resulting Numbers: [6365]
6365,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 80:[73, 101], Operations: ['55-49=6', '95+6=101']
Exploring Operation: 101-73=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 73*101=7373, Resulting Numbers: [7373]
7373,80 unequal: No Solution
Exploring Operation: 73+101=174, Resulting Numbers: [174]
174,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,2
Current State: 80:[49, 95, 18], Operations: ['73-55=18']
Exploring Operation: 95-18=77, Resulting Numbers: [49, 77]
Generated Node #0,2,0: 80:[49, 77] Operation: 95-18=77
Exploring Operation: 95-49=46, Resulting Numbers: [18, 46]
Generated Node #0,2,1: 80:[18, 46] Operation: 95-49=46
Exploring Operation: 49+18=67, Resulting Numbers: [95, 67]
Generated Node #0,2,2: 80:[95, 67] Operation: 49+18=67
Exploring Operation: 95+18=113, Resulting Numbers: [49, 113]
Generated Node #0,2,3: 80:[49, 113] Operation: 95+18=113
Exploring Operation: 49-18=31, Resulting Numbers: [95, 31]
Generated Node #0,2,4: 80:[95, 31] Operation: 49-18=31
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 80:[18, 46], Operations: ['73-55=18', '95-49=46']
Exploring Operation: 18*46=828, Resulting Numbers: [828]
828,80 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 18+46=64, Resulting Numbers: [64]
64,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 80:[49, 77], Operations: ['73-55=18', '95-18=77']
Exploring Operation: 49+77=126, Resulting Numbers: [126]
126,80 unequal: No Solution
Exploring Operation: 49*77=3773, Resulting Numbers: [3773]
3773,80 unequal: No Solution
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 80:[95, 31], Operations: ['73-55=18', '49-18=31']
Exploring Operation: 95-31=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 95*31=2945, Resulting Numbers: [2945]
2945,80 unequal: No Solution
Exploring Operation: 95+31=126, Resulting Numbers: [126]
126,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 80:[95, 67], Operations: ['73-55=18', '49+18=67']
Exploring Operation: 95-67=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 95*67=6365, Resulting Numbers: [6365]
6365,80 unequal: No Solution
Exploring Operation: 95+67=162, Resulting Numbers: [162]
162,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 80:[49, 113], Operations: ['73-55=18', '95+18=113']
Exploring Operation: 113-49=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 49+113=162, Resulting Numbers: [162]
162,80 unequal: No Solution
Exploring Operation: 49*113=5537, Resulting Numbers: [5537]
5537,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,3
Current State: 80:[49, 55, 22], Operations: ['95-73=22']
Exploring Operation: 55+22=77, Resulting Numbers: [49, 77]
Generated Node #0,3,0: 80:[49, 77] Operation: 55+22=77
Exploring Operation: 49+22=71, Resulting Numbers: [55, 71]
Generated Node #0,3,1: 80:[55, 71] Operation: 49+22=71
Exploring Operation: 49-22=27, Resulting Numbers: [55, 27]
Generated Node #0,3,2: 80:[55, 27] Operation: 49-22=27
Exploring Operation: 55-22=33, Resulting Numbers: [49, 33]
Generated Node #0,3,3: 80:[49, 33] Operation: 55-22=33
Exploring Operation: 55-49=6, Resulting Numbers: [22, 6]
Generated Node #0,3,4: 80:[22, 6] Operation: 55-49=6
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 80:[22, 6], Operations: ['95-73=22', '55-49=6']
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,80 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,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,3,0
Current State: 80:[49, 77], Operations: ['95-73=22', '55+22=77']
Exploring Operation: 49*77=3773, Resulting Numbers: [3773]
3773,80 unequal: No Solution
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 49+77=126, Resulting Numbers: [126]
126,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,3,3
Current State: 80:[49, 33], Operations: ['95-73=22', '55-22=33']
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,80 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,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,3,2
Current State: 80:[55, 27], Operations: ['95-73=22', '49-22=27']
Exploring Operation: 55*27=1485, Resulting Numbers: [1485]
1485,80 unequal: No Solution
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 55+27=82, Resulting Numbers: [82]
82,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,3,1
Current State: 80:[55, 71], Operations: ['95-73=22', '49+22=71']
Exploring Operation: 55*71=3905, Resulting Numbers: [3905]
3905,80 unequal: No Solution
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 55+71=126, Resulting Numbers: [126]
126,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:[55, 73, 46], Operations: ['95-49=46']
Exploring Operation: 73-46=27, Resulting Numbers: [55, 27]
Generated Node #0,0,0: 80:[55, 27] Operation: 73-46=27
Exploring Operation: 55-46=9, Resulting Numbers: [73, 9]
Generated Node #0,0,1: 80:[73, 9] Operation: 55-46=9
Exploring Operation: 55+46=101, Resulting Numbers: [73, 101]
Generated Node #0,0,2: 80:[73, 101] Operation: 55+46=101
Exploring Operation: 73-55=18, Resulting Numbers: [46, 18]
Generated Node #0,0,3: 80:[46, 18] Operation: 73-55=18
Exploring Operation: 55+73=128, Resulting Numbers: [46, 128]
Generated Node #0,0,4: 80:[46, 128] Operation: 55+73=128
Moving to Node #0,0,1
Current State: 80:[73, 9], Operations: ['95-49=46', '55-46=9']
Exploring Operation: 73+9=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Exploring Operation: 73*9=657, Resulting Numbers: [657]
657,80 unequal: No Solution
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Moving to Node #0,0,3
Current State: 80:[46, 18], Operations: ['95-49=46', '73-55=18']
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[55, 27], Operations: ['95-49=46', '73-46=27']
Exploring Operation: 55+27=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 55*27=1485, Resulting Numbers: [1485]
1485,80 unequal: No Solution
Moving to Node #0,0,2
Current State: 80:[73, 101], Operations: ['95-49=46', '55+46=101']
Exploring Operation: 73+101=174, Resulting Numbers: [174]
174,80 unequal: No Solution
Exploring Operation: 73*101=7373, Resulting Numbers: [7373]
7373,80 unequal: No Solution
Exploring Operation: 101-73=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Moving to Node #0,0,4
Current State: 80:[46, 128], Operations: ['95-49=46', '55+73=128']
Exploring Operation: 46+128=174, Resulting Numbers: [174]
174,80 unequal: No Solution
Exploring Operation: 46*128=5888, Resulting Numbers: [5888]
5888,80 unequal: No Solution
Exploring Operation: 128-46=82, Resulting Numbers: [82]
82,80 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 |
[
9,
8,
33,
48
] | 39 | [
"8*48=384",
"384-33=351",
"351/9=39"
] | Current State: 39:[9, 8, 33, 48], Operations: []
Exploring Operation: 8*48=384, Resulting Numbers: [9, 33, 384]
Generated Node #2: [9, 33, 384] from Operation: 8*48=384
Current State: 39:[9, 33, 384], Operations: ['8*48=384']
Exploring Operation: 384-33=351, Resulting Numbers: [9, 351]
Generated Node #3: [9, 351] from Operation: 384-33=351
Current State: 39:[9, 351], Operations: ['8*48=384', '384-33=351']
Exploring Operation: 351/9=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[9, 8, 33, 48], Operations: []
Exploring Operation: 48-8=40, Resulting Numbers: [9, 33, 40]
Generated Node #0,0: 39:[9, 33, 40] Operation: 48-8=40
Exploring Operation: 48-33=15, Resulting Numbers: [9, 8, 15]
Generated Node #0,1: 39:[9, 8, 15] Operation: 48-33=15
Exploring Operation: 48-9=39, Resulting Numbers: [8, 33, 39]
Generated Node #0,2: 39:[8, 33, 39] Operation: 48-9=39
Exploring Operation: 48/8=6, Resulting Numbers: [9, 33, 6]
Generated Node #0,3: 39:[9, 33, 6] Operation: 48/8=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[9, 33, 40], Operations: ['48-8=40']
Exploring Operation: 40-9=31, Resulting Numbers: [33, 31]
Generated Node #0,0,0: 39:[33, 31] Operation: 40-9=31
Exploring Operation: 9+33=42, Resulting Numbers: [40, 42]
Generated Node #0,0,1: 39:[40, 42] Operation: 9+33=42
Exploring Operation: 40-33=7, Resulting Numbers: [9, 7]
Generated Node #0,0,2: 39:[9, 7] Operation: 40-33=7
Exploring Operation: 33-9=24, Resulting Numbers: [40, 24]
Generated Node #0,0,3: 39:[40, 24] Operation: 33-9=24
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 39:[40, 42], Operations: ['48-8=40', '9+33=42']
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 40+42=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 40*42=1680, Resulting Numbers: [1680]
1680,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[9, 7], Operations: ['48-8=40', '40-33=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,39 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 39:[40, 24], Operations: ['48-8=40', '33-9=24']
Exploring Operation: 40+24=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 40*24=960, Resulting Numbers: [960]
960,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[33, 31], Operations: ['48-8=40', '40-9=31']
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 33+31=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 33*31=1023, Resulting Numbers: [1023]
1023,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[9, 8, 15], Operations: ['48-33=15']
Exploring Operation: 9-8=1, Resulting Numbers: [15, 1]
Generated Node #0,1,0: 39:[15, 1] Operation: 9-8=1
Exploring Operation: 15-9=6, Resulting Numbers: [8, 6]
Generated Node #0,1,1: 39:[8, 6] Operation: 15-9=6
Exploring Operation: 9+8=17, Resulting Numbers: [15, 17]
Generated Node #0,1,2: 39:[15, 17] Operation: 9+8=17
Exploring Operation: 15-8=7, Resulting Numbers: [9, 7]
Generated Node #0,1,3: 39:[9, 7] Operation: 15-8=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[15, 1], Operations: ['48-33=15', '9-8=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 39:[15, 17], Operations: ['48-33=15', '9+8=17']
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,39 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[8, 6], Operations: ['48-33=15', '15-9=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 39:[9, 7], Operations: ['48-33=15', '15-8=7']
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,39 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[8, 33, 39], Operations: ['48-9=39']
Exploring Operation: 33-8=25, Resulting Numbers: [39, 25]
Generated Node #0,2,0: 39:[39, 25] Operation: 33-8=25
Exploring Operation: 39-33=6, Resulting Numbers: [8, 6]
Generated Node #0,2,1: 39:[8, 6] Operation: 39-33=6
Exploring Operation: 8+33=41, Resulting Numbers: [39, 41]
Generated Node #0,2,2: 39:[39, 41] Operation: 8+33=41
Exploring Operation: 8+39=47, Resulting Numbers: [33, 47]
Generated Node #0,2,3: 39:[33, 47] Operation: 8+39=47
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[39, 41], Operations: ['48-9=39', '8+33=41']
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 39*41=1599, Resulting Numbers: [1599]
1599,39 unequal: No Solution
Exploring Operation: 39+41=80, Resulting Numbers: [80]
80,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 39:[8, 6], Operations: ['48-9=39', '39-33=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 39:[39, 25], Operations: ['48-9=39', '33-8=25']
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 39:[33, 47], Operations: ['48-9=39', '8+39=47']
Exploring Operation: 33+47=80, Resulting Numbers: [80]
80,39 unequal: No Solution
Exploring Operation: 33*47=1551, Resulting Numbers: [1551]
1551,39 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[9, 33, 6], Operations: ['48/8=6']
Exploring Operation: 9-6=3, Resulting Numbers: [33, 3]
Generated Node #0,3,0: 39:[33, 3] Operation: 9-6=3
Exploring Operation: 33+6=39, Resulting Numbers: [9, 39]
Generated Node #0,3,1: 39:[9, 39] Operation: 33+6=39
Exploring Operation: 9+33=42, Resulting Numbers: [6, 42]
Generated Node #0,3,2: 39:[6, 42] Operation: 9+33=42
Exploring Operation: 9+6=15, Resulting Numbers: [33, 15]
Generated Node #0,3,3: 39:[33, 15] Operation: 9+6=15
Moving to Node #0,3,1
Current State: 39:[9, 39], Operations: ['48/8=6', '33+6=39']
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,39 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Moving to Node #0,3,2
Current State: 39:[6, 42], Operations: ['48/8=6', '9+33=42']
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 6*42=252, Resulting Numbers: [252]
252,39 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Moving to Node #0,3,0
Current State: 39:[33, 3], Operations: ['48/8=6', '9-6=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,39 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[33, 15], Operations: ['48/8=6', '9+6=15']
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 33*15=495, Resulting Numbers: [495]
495,39 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 |
[
52,
77,
3,
90
] | 91 | [
"90-77=13",
"3*13=39",
"52+39=91"
] | Current State: 91:[52, 77, 3, 90], Operations: []
Exploring Operation: 90-77=13, Resulting Numbers: [52, 3, 13]
Generated Node #2: [52, 3, 13] from Operation: 90-77=13
Current State: 91:[52, 3, 13], Operations: ['90-77=13']
Exploring Operation: 3*13=39, Resulting Numbers: [52, 39]
Generated Node #3: [52, 39] from Operation: 3*13=39
Current State: 91:[52, 39], Operations: ['90-77=13', '3*13=39']
Exploring Operation: 52+39=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[52, 77, 3, 90], Operations: []
Exploring Operation: 77-52=25, Resulting Numbers: [3, 90, 25]
Generated Node #0,0: 91:[3, 90, 25] Operation: 77-52=25
Exploring Operation: 90-77=13, Resulting Numbers: [52, 3, 13]
Generated Node #0,1: 91:[52, 3, 13] Operation: 90-77=13
Exploring Operation: 52+77=129, Resulting Numbers: [3, 90, 129]
Generated Node #0,2: 91:[3, 90, 129] Operation: 52+77=129
Exploring Operation: 52+3=55, Resulting Numbers: [77, 90, 55]
Generated Node #0,3: 91:[77, 90, 55] Operation: 52+3=55
Exploring Operation: 90-52=38, Resulting Numbers: [77, 3, 38]
Generated Node #0,4: 91:[77, 3, 38] Operation: 90-52=38
Moving to Node #0,0
Current State: 91:[3, 90, 25], Operations: ['77-52=25']
Exploring Operation: 3*25=75, Resulting Numbers: [90, 75]
Generated Node #0,0,0: 91:[90, 75] Operation: 3*25=75
Exploring Operation: 90-3=87, Resulting Numbers: [25, 87]
Generated Node #0,0,1: 91:[25, 87] Operation: 90-3=87
Exploring Operation: 3+90=93, Resulting Numbers: [25, 93]
Generated Node #0,0,2: 91:[25, 93] Operation: 3+90=93
Exploring Operation: 3+25=28, Resulting Numbers: [90, 28]
Generated Node #0,0,3: 91:[90, 28] Operation: 3+25=28
Exploring Operation: 25-3=22, Resulting Numbers: [90, 22]
Generated Node #0,0,4: 91:[90, 22] Operation: 25-3=22
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 91:[90, 22], Operations: ['77-52=25', '25-3=22']
Exploring Operation: 90-22=68, Resulting Numbers: [68]
68,91 unequal: No Solution
Exploring Operation: 90*22=1980, Resulting Numbers: [1980]
1980,91 unequal: No Solution
Exploring Operation: 90+22=112, Resulting Numbers: [112]
112,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[25, 93], Operations: ['77-52=25', '3+90=93']
Exploring Operation: 25*93=2325, Resulting Numbers: [2325]
2325,91 unequal: No Solution
Exploring Operation: 93-25=68, Resulting Numbers: [68]
68,91 unequal: No Solution
Exploring Operation: 25+93=118, Resulting Numbers: [118]
118,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[25, 87], Operations: ['77-52=25', '90-3=87']
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,91 unequal: No Solution
Exploring Operation: 25+87=112, Resulting Numbers: [112]
112,91 unequal: No Solution
Exploring Operation: 25*87=2175, Resulting Numbers: [2175]
2175,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 91:[90, 28], Operations: ['77-52=25', '3+25=28']
Exploring Operation: 90+28=118, Resulting Numbers: [118]
118,91 unequal: No Solution
Exploring Operation: 90-28=62, Resulting Numbers: [62]
62,91 unequal: No Solution
Exploring Operation: 90*28=2520, Resulting Numbers: [2520]
2520,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[90, 75], Operations: ['77-52=25', '3*25=75']
Exploring Operation: 90-75=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 90+75=165, Resulting Numbers: [165]
165,91 unequal: No Solution
Exploring Operation: 90*75=6750, Resulting Numbers: [6750]
6750,91 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: 91:[3, 90, 129], Operations: ['52+77=129']
Exploring Operation: 129-90=39, Resulting Numbers: [3, 39]
Generated Node #0,2,0: 91:[3, 39] Operation: 129-90=39
Exploring Operation: 129/3=43, Resulting Numbers: [90, 43]
Generated Node #0,2,1: 91:[90, 43] Operation: 129/3=43
Exploring Operation: 3+90=93, Resulting Numbers: [129, 93]
Generated Node #0,2,2: 91:[129, 93] Operation: 3+90=93
Exploring Operation: 129-3=126, Resulting Numbers: [90, 126]
Generated Node #0,2,3: 91:[90, 126] Operation: 129-3=126
Exploring Operation: 90-3=87, Resulting Numbers: [129, 87]
Generated Node #0,2,4: 91:[129, 87] Operation: 90-3=87
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[3, 39], Operations: ['52+77=129', '129-90=39']
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,91 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[90, 43], Operations: ['52+77=129', '129/3=43']
Exploring Operation: 90*43=3870, Resulting Numbers: [3870]
3870,91 unequal: No Solution
Exploring Operation: 90-43=47, Resulting Numbers: [47]
47,91 unequal: No Solution
Exploring Operation: 90+43=133, Resulting Numbers: [133]
133,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[90, 126], Operations: ['52+77=129', '129-3=126']
Exploring Operation: 126-90=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 90*126=11340, Resulting Numbers: [11340]
11340,91 unequal: No Solution
Exploring Operation: 90+126=216, Resulting Numbers: [216]
216,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[129, 93], Operations: ['52+77=129', '3+90=93']
Exploring Operation: 129-93=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 129+93=222, Resulting Numbers: [222]
222,91 unequal: No Solution
Exploring Operation: 129*93=11997, Resulting Numbers: [11997]
11997,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 91:[129, 87], Operations: ['52+77=129', '90-3=87']
Exploring Operation: 129+87=216, Resulting Numbers: [216]
216,91 unequal: No Solution
Exploring Operation: 129-87=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 129*87=11223, Resulting Numbers: [11223]
11223,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 91:[52, 3, 13], Operations: ['90-77=13']
Exploring Operation: 52-3=49, Resulting Numbers: [13, 49]
Generated Node #0,1,0: 91:[13, 49] Operation: 52-3=49
Exploring Operation: 52-13=39, Resulting Numbers: [3, 39]
Generated Node #0,1,1: 91:[3, 39] Operation: 52-13=39
Exploring Operation: 52+13=65, Resulting Numbers: [3, 65]
Generated Node #0,1,2: 91:[3, 65] Operation: 52+13=65
Exploring Operation: 52/13=4, Resulting Numbers: [3, 4]
Generated Node #0,1,3: 91:[3, 4] Operation: 52/13=4
Exploring Operation: 52+3=55, Resulting Numbers: [13, 55]
Generated Node #0,1,4: 91:[13, 55] Operation: 52+3=55
Moving to Node #0,4
Current State: 91:[77, 3, 38], Operations: ['90-52=38']
Exploring Operation: 38-3=35, Resulting Numbers: [77, 35]
Generated Node #0,4,0: 91:[77, 35] Operation: 38-3=35
Exploring Operation: 77-38=39, Resulting Numbers: [3, 39]
Generated Node #0,4,1: 91:[3, 39] Operation: 77-38=39
Exploring Operation: 77+3=80, Resulting Numbers: [38, 80]
Generated Node #0,4,2: 91:[38, 80] Operation: 77+3=80
Exploring Operation: 77+38=115, Resulting Numbers: [3, 115]
Generated Node #0,4,3: 91:[3, 115] Operation: 77+38=115
Exploring Operation: 3*38=114, Resulting Numbers: [77, 114]
Generated Node #0,4,4: 91:[77, 114] Operation: 3*38=114
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 91:[3, 115], Operations: ['90-52=38', '77+38=115']
Exploring Operation: 3*115=345, Resulting Numbers: [345]
345,91 unequal: No Solution
Exploring Operation: 3+115=118, Resulting Numbers: [118]
118,91 unequal: No Solution
Exploring Operation: 115-3=112, Resulting Numbers: [112]
112,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 91:[3, 39], Operations: ['90-52=38', '77-38=39']
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,91 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 91:[77, 35], Operations: ['90-52=38', '38-3=35']
Exploring Operation: 77*35=2695, Resulting Numbers: [2695]
2695,91 unequal: No Solution
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 77+35=112, Resulting Numbers: [112]
112,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 91:[38, 80], Operations: ['90-52=38', '77+3=80']
Exploring Operation: 80-38=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 38*80=3040, Resulting Numbers: [3040]
3040,91 unequal: No Solution
Exploring Operation: 38+80=118, Resulting Numbers: [118]
118,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 91:[77, 114], Operations: ['90-52=38', '3*38=114']
Exploring Operation: 77+114=191, Resulting Numbers: [191]
191,91 unequal: No Solution
Exploring Operation: 114-77=37, Resulting Numbers: [37]
37,91 unequal: No Solution
Exploring Operation: 77*114=8778, Resulting Numbers: [8778]
8778,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 91:[77, 90, 55], Operations: ['52+3=55']
Exploring Operation: 77-55=22, Resulting Numbers: [90, 22]
Generated Node #0,3,0: 91:[90, 22] Operation: 77-55=22
Exploring Operation: 90-77=13, Resulting Numbers: [55, 13]
Generated Node #0,3,1: 91:[55, 13] Operation: 90-77=13
Exploring Operation: 90-55=35, Resulting Numbers: [77, 35]
Generated Node #0,3,2: 91:[77, 35] Operation: 90-55=35
Exploring Operation: 90+55=145, Resulting Numbers: [77, 145]
Generated Node #0,3,3: 91:[77, 145] Operation: 90+55=145
Exploring Operation: 77+55=132, Resulting Numbers: [90, 132]
Generated Node #0,3,4: 91:[90, 132] Operation: 77+55=132
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 91:[90, 22], Operations: ['52+3=55', '77-55=22']
Exploring Operation: 90*22=1980, Resulting Numbers: [1980]
1980,91 unequal: No Solution
Exploring Operation: 90-22=68, Resulting Numbers: [68]
68,91 unequal: No Solution
Exploring Operation: 90+22=112, Resulting Numbers: [112]
112,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 91:[55, 13], Operations: ['52+3=55', '90-77=13']
Exploring Operation: 55*13=715, Resulting Numbers: [715]
715,91 unequal: No Solution
Exploring Operation: 55+13=68, Resulting Numbers: [68]
68,91 unequal: No Solution
Exploring Operation: 55-13=42, Resulting Numbers: [42]
42,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 91:[77, 35], Operations: ['52+3=55', '90-55=35']
Exploring Operation: 77*35=2695, Resulting Numbers: [2695]
2695,91 unequal: No Solution
Exploring Operation: 77+35=112, Resulting Numbers: [112]
112,91 unequal: No Solution
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 91:[90, 132], Operations: ['52+3=55', '77+55=132']
Exploring Operation: 132-90=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 90*132=11880, Resulting Numbers: [11880]
11880,91 unequal: No Solution
Exploring Operation: 90+132=222, Resulting Numbers: [222]
222,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 91:[77, 145], Operations: ['52+3=55', '90+55=145']
Exploring Operation: 77+145=222, Resulting Numbers: [222]
222,91 unequal: No Solution
Exploring Operation: 145-77=68, Resulting Numbers: [68]
68,91 unequal: No Solution
Exploring Operation: 77*145=11165, Resulting Numbers: [11165]
11165,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 91:[3, 4], Operations: ['90-77=13', '52/13=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[3, 65], Operations: ['90-77=13', '52+13=65']
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,91 unequal: No Solution
Exploring Operation: 3*65=195, Resulting Numbers: [195]
195,91 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[3, 39], Operations: ['90-77=13', '52-13=39']
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[13, 49], Operations: ['90-77=13', '52-3=49']
Exploring Operation: 13+49=62, Resulting Numbers: [62]
62,91 unequal: No Solution
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 13*49=637, Resulting Numbers: [637]
637,91 unequal: No Solution
Moving to Node #0,1,4
Current State: 91:[13, 55], Operations: ['90-77=13', '52+3=55']
Exploring Operation: 55-13=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 13*55=715, Resulting Numbers: [715]
715,91 unequal: No Solution
Exploring Operation: 13+55=68, Resulting Numbers: [68]
68,91 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
77,
18,
2,
34
] | 45 | [
"34-18=16",
"2*16=32",
"77-32=45"
] | Current State: 45:[77, 18, 2, 34], Operations: []
Exploring Operation: 34-18=16, Resulting Numbers: [77, 2, 16]
Generated Node #2: [77, 2, 16] from Operation: 34-18=16
Current State: 45:[77, 2, 16], Operations: ['34-18=16']
Exploring Operation: 2*16=32, Resulting Numbers: [77, 32]
Generated Node #3: [77, 32] from Operation: 2*16=32
Current State: 45:[77, 32], Operations: ['34-18=16', '2*16=32']
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[77, 18, 2, 34], Operations: []
Exploring Operation: 77-34=43, Resulting Numbers: [18, 2, 43]
Generated Node #0,0: 45:[18, 2, 43] Operation: 77-34=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[18, 2, 43], Operations: ['77-34=43']
Exploring Operation: 18/2=9, Resulting Numbers: [43, 9]
Generated Node #0,0,0: 45:[43, 9] Operation: 18/2=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[43, 9], Operations: ['77-34=43', '18/2=9']
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
62,
34,
29,
73
] | 27 | [
"62+73=135",
"34-29=5",
"135/5=27"
] | Current State: 27:[62, 34, 29, 73], Operations: []
Exploring Operation: 62+73=135, Resulting Numbers: [34, 29, 135]
Generated Node #2: [34, 29, 135] from Operation: 62+73=135
Current State: 27:[34, 29, 135], Operations: ['62+73=135']
Exploring Operation: 34-29=5, Resulting Numbers: [135, 5]
Generated Node #3: [135, 5] from Operation: 34-29=5
Current State: 27:[135, 5], Operations: ['62+73=135', '34-29=5']
Exploring Operation: 135/5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[62, 34, 29, 73], Operations: []
Exploring Operation: 62-34=28, Resulting Numbers: [29, 73, 28]
Generated Node #0,0: 27:[29, 73, 28] Operation: 62-34=28
Exploring Operation: 62-29=33, Resulting Numbers: [34, 73, 33]
Generated Node #0,1: 27:[34, 73, 33] Operation: 62-29=33
Exploring Operation: 73-62=11, Resulting Numbers: [34, 29, 11]
Generated Node #0,2: 27:[34, 29, 11] Operation: 73-62=11
Exploring Operation: 73-34=39, Resulting Numbers: [62, 29, 39]
Generated Node #0,3: 27:[62, 29, 39] Operation: 73-34=39
Moving to Node #0,2
Current State: 27:[34, 29, 11], Operations: ['73-62=11']
Exploring Operation: 29-11=18, Resulting Numbers: [34, 18]
Generated Node #0,2,0: 27:[34, 18] Operation: 29-11=18
Exploring Operation: 34-11=23, Resulting Numbers: [29, 23]
Generated Node #0,2,1: 27:[29, 23] Operation: 34-11=23
Exploring Operation: 34+11=45, Resulting Numbers: [29, 45]
Generated Node #0,2,2: 27:[29, 45] Operation: 34+11=45
Exploring Operation: 34-29=5, Resulting Numbers: [11, 5]
Generated Node #0,2,3: 27:[11, 5] Operation: 34-29=5
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 27:[11, 5], Operations: ['73-62=11', '34-29=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,27 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,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,2,1
Current State: 27:[29, 23], Operations: ['73-62=11', '34-11=23']
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 29*23=667, Resulting Numbers: [667]
667,27 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,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,2,0
Current State: 27:[34, 18], Operations: ['73-62=11', '29-11=18']
Exploring Operation: 34*18=612, Resulting Numbers: [612]
612,27 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,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,2,2
Current State: 27:[29, 45], Operations: ['73-62=11', '34+11=45']
Exploring Operation: 29*45=1305, Resulting Numbers: [1305]
1305,27 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 29+45=74, Resulting Numbers: [74]
74,27 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: 27:[62, 29, 39], Operations: ['73-34=39']
Exploring Operation: 62+29=91, Resulting Numbers: [39, 91]
Generated Node #0,3,0: 27:[39, 91] Operation: 62+29=91
Exploring Operation: 62-29=33, Resulting Numbers: [39, 33]
Generated Node #0,3,1: 27:[39, 33] Operation: 62-29=33
Exploring Operation: 39-29=10, Resulting Numbers: [62, 10]
Generated Node #0,3,2: 27:[62, 10] Operation: 39-29=10
Exploring Operation: 62-39=23, Resulting Numbers: [29, 23]
Generated Node #0,3,3: 27:[29, 23] Operation: 62-39=23
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 27:[29, 23], Operations: ['73-34=39', '62-39=23']
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 29*23=667, Resulting Numbers: [667]
667,27 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,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,3,1
Current State: 27:[39, 33], Operations: ['73-34=39', '62-29=33']
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,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,3,2
Current State: 27:[62, 10], Operations: ['73-34=39', '39-29=10']
Exploring Operation: 62*10=620, Resulting Numbers: [620]
620,27 unequal: No Solution
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 62+10=72, Resulting Numbers: [72]
72,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,3,0
Current State: 27:[39, 91], Operations: ['73-34=39', '62+29=91']
Exploring Operation: 91-39=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 39+91=130, Resulting Numbers: [130]
130,27 unequal: No Solution
Exploring Operation: 39*91=3549, Resulting Numbers: [3549]
3549,27 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: 27:[29, 73, 28], Operations: ['62-34=28']
Exploring Operation: 29+73=102, Resulting Numbers: [28, 102]
Generated Node #0,0,0: 27:[28, 102] Operation: 29+73=102
Exploring Operation: 73-29=44, Resulting Numbers: [28, 44]
Generated Node #0,0,1: 27:[28, 44] Operation: 73-29=44
Exploring Operation: 29-28=1, Resulting Numbers: [73, 1]
Generated Node #0,0,2: 27:[73, 1] Operation: 29-28=1
Exploring Operation: 73-28=45, Resulting Numbers: [29, 45]
Generated Node #0,0,3: 27:[29, 45] Operation: 73-28=45
Moving to Node #0,1
Current State: 27:[34, 73, 33], Operations: ['62-29=33']
Exploring Operation: 34+73=107, Resulting Numbers: [33, 107]
Generated Node #0,1,0: 27:[33, 107] Operation: 34+73=107
Exploring Operation: 34-33=1, Resulting Numbers: [73, 1]
Generated Node #0,1,1: 27:[73, 1] Operation: 34-33=1
Exploring Operation: 73-34=39, Resulting Numbers: [33, 39]
Generated Node #0,1,2: 27:[33, 39] Operation: 73-34=39
Exploring Operation: 73-33=40, Resulting Numbers: [34, 40]
Generated Node #0,1,3: 27:[34, 40] Operation: 73-33=40
Moving to Node #0,0,1
Current State: 27:[28, 44], Operations: ['62-34=28', '73-29=44']
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[33, 39], Operations: ['62-29=33', '73-34=39']
Exploring Operation: 33+39=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 33*39=1287, Resulting Numbers: [1287]
1287,27 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[34, 40], Operations: ['62-29=33', '73-33=40']
Exploring Operation: 34+40=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 34*40=1360, Resulting Numbers: [1360]
1360,27 unequal: No Solution
Moving to Node #0,0,3
Current State: 27:[29, 45], Operations: ['62-34=28', '73-28=45']
Exploring Operation: 29+45=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Exploring Operation: 29*45=1305, Resulting Numbers: [1305]
1305,27 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[73, 1], Operations: ['62-34=28', '29-28=1']
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,27 unequal: No Solution
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[73, 1], Operations: ['62-29=33', '34-33=1']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,27 unequal: No Solution
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[28, 102], Operations: ['62-34=28', '29+73=102']
Exploring Operation: 28*102=2856, Resulting Numbers: [2856]
2856,27 unequal: No Solution
Exploring Operation: 28+102=130, Resulting Numbers: [130]
130,27 unequal: No Solution
Exploring Operation: 102-28=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[33, 107], Operations: ['62-29=33', '34+73=107']
Exploring Operation: 33*107=3531, Resulting Numbers: [3531]
3531,27 unequal: No Solution
Exploring Operation: 107-33=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Exploring Operation: 33+107=140, Resulting Numbers: [140]
140,27 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
81,
3,
11,
48
] | 47 | [
"81+3=84",
"48-11=37",
"84-37=47"
] | Current State: 47:[81, 3, 11, 48], Operations: []
Exploring Operation: 81+3=84, Resulting Numbers: [11, 48, 84]
Generated Node #2: [11, 48, 84] from Operation: 81+3=84
Current State: 47:[11, 48, 84], Operations: ['81+3=84']
Exploring Operation: 48-11=37, Resulting Numbers: [84, 37]
Generated Node #3: [84, 37] from Operation: 48-11=37
Current State: 47:[84, 37], Operations: ['81+3=84', '48-11=37']
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[81, 3, 11, 48], Operations: []
Exploring Operation: 3+11=14, Resulting Numbers: [81, 48, 14]
Generated Node #0,0: 47:[81, 48, 14] Operation: 3+11=14
Exploring Operation: 81-11=70, Resulting Numbers: [3, 48, 70]
Generated Node #0,1: 47:[3, 48, 70] Operation: 81-11=70
Exploring Operation: 81-3=78, Resulting Numbers: [11, 48, 78]
Generated Node #0,2: 47:[11, 48, 78] Operation: 81-3=78
Exploring Operation: 81/3=27, Resulting Numbers: [11, 48, 27]
Generated Node #0,3: 47:[11, 48, 27] Operation: 81/3=27
Exploring Operation: 3*11=33, Resulting Numbers: [81, 48, 33]
Generated Node #0,4: 47:[81, 48, 33] Operation: 3*11=33
Start Sub Search at level 1: Moving to Node #0,4
Current State: 47:[81, 48, 33], Operations: ['3*11=33']
Exploring Operation: 81-48=33, Resulting Numbers: [33, 33]
Generated Node #0,4,0: 47:[33, 33] Operation: 81-48=33
Exploring Operation: 48+33=81, Resulting Numbers: [81, 81]
Generated Node #0,4,1: 47:[81, 81] Operation: 48+33=81
Exploring Operation: 48-33=15, Resulting Numbers: [81, 15]
Generated Node #0,4,2: 47:[81, 15] Operation: 48-33=15
Exploring Operation: 81+33=114, Resulting Numbers: [48, 114]
Generated Node #0,4,3: 47:[48, 114] Operation: 81+33=114
Exploring Operation: 81-33=48, Resulting Numbers: [48, 48]
Generated Node #0,4,4: 47:[48, 48] Operation: 81-33=48
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 47:[48, 48], Operations: ['3*11=33', '81-33=48']
Exploring Operation: 48*48=2304, Resulting Numbers: [2304]
2304,47 unequal: No Solution
Exploring Operation: 48/48=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 48-48=0, Resulting Numbers: [0]
0,47 unequal: No Solution
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 47:[33, 33], Operations: ['3*11=33', '81-48=33']
Exploring Operation: 33-33=0, Resulting Numbers: [0]
0,47 unequal: No Solution
Exploring Operation: 33*33=1089, Resulting Numbers: [1089]
1089,47 unequal: No Solution
Exploring Operation: 33/33=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 47:[81, 15], Operations: ['3*11=33', '48-33=15']
Exploring Operation: 81*15=1215, Resulting Numbers: [1215]
1215,47 unequal: No Solution
Exploring Operation: 81-15=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 81+15=96, Resulting Numbers: [96]
96,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 47:[81, 81], Operations: ['3*11=33', '48+33=81']
Exploring Operation: 81*81=6561, Resulting Numbers: [6561]
6561,47 unequal: No Solution
Exploring Operation: 81+81=162, Resulting Numbers: [162]
162,47 unequal: No Solution
Exploring Operation: 81/81=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 81-81=0, Resulting Numbers: [0]
0,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 47:[48, 114], Operations: ['3*11=33', '81+33=114']
Exploring Operation: 48+114=162, Resulting Numbers: [162]
162,47 unequal: No Solution
Exploring Operation: 48*114=5472, Resulting Numbers: [5472]
5472,47 unequal: No Solution
Exploring Operation: 114-48=66, Resulting Numbers: [66]
66,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[11, 48, 27], Operations: ['81/3=27']
Exploring Operation: 11+27=38, Resulting Numbers: [48, 38]
Generated Node #0,3,0: 47:[48, 38] Operation: 11+27=38
Exploring Operation: 11+48=59, Resulting Numbers: [27, 59]
Generated Node #0,3,1: 47:[27, 59] Operation: 11+48=59
Exploring Operation: 48-11=37, Resulting Numbers: [27, 37]
Generated Node #0,3,2: 47:[27, 37] Operation: 48-11=37
Exploring Operation: 48-27=21, Resulting Numbers: [11, 21]
Generated Node #0,3,3: 47:[11, 21] Operation: 48-27=21
Exploring Operation: 27-11=16, Resulting Numbers: [48, 16]
Generated Node #0,3,4: 47:[48, 16] Operation: 27-11=16
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 47:[48, 38], Operations: ['81/3=27', '11+27=38']
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,47 unequal: No Solution
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,47 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 47:[27, 37], Operations: ['81/3=27', '48-11=37']
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 27+37=64, Resulting Numbers: [64]
64,47 unequal: No Solution
Exploring Operation: 27*37=999, Resulting Numbers: [999]
999,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 47:[27, 59], Operations: ['81/3=27', '11+48=59']
Exploring Operation: 27+59=86, Resulting Numbers: [86]
86,47 unequal: No Solution
Exploring Operation: 27*59=1593, Resulting Numbers: [1593]
1593,47 unequal: No Solution
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 47:[48, 16], Operations: ['81/3=27', '27-11=16']
Exploring Operation: 48*16=768, Resulting Numbers: [768]
768,47 unequal: No Solution
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,47 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 47:[11, 21], Operations: ['81/3=27', '48-27=21']
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,47 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[81, 48, 14], Operations: ['3+11=14']
Exploring Operation: 81-48=33, Resulting Numbers: [14, 33]
Generated Node #0,0,0: 47:[14, 33] Operation: 81-48=33
Exploring Operation: 48-14=34, Resulting Numbers: [81, 34]
Generated Node #0,0,1: 47:[81, 34] Operation: 48-14=34
Exploring Operation: 48+14=62, Resulting Numbers: [81, 62]
Generated Node #0,0,2: 47:[81, 62] Operation: 48+14=62
Exploring Operation: 81+14=95, Resulting Numbers: [48, 95]
Generated Node #0,0,3: 47:[48, 95] Operation: 81+14=95
Exploring Operation: 81-14=67, Resulting Numbers: [48, 67]
Generated Node #0,0,4: 47:[48, 67] Operation: 81-14=67
Moving to Node #0,0,4
Current State: 47:[48, 67], Operations: ['3+11=14', '81-14=67']
Exploring Operation: 48*67=3216, Resulting Numbers: [3216]
3216,47 unequal: No Solution
Exploring Operation: 48+67=115, Resulting Numbers: [115]
115,47 unequal: No Solution
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[81, 34], Operations: ['3+11=14', '48-14=34']
Exploring Operation: 81+34=115, Resulting Numbers: [115]
115,47 unequal: No Solution
Exploring Operation: 81-34=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[81, 3, 11, 48], Operations: []
Exploring Operation: 3+11=14, Resulting Numbers: [81, 48, 14]
Generated Node #0,0: 47:[81, 48, 14] Operation: 3+11=14
Moving to Node #0,0
Current State: 47:[81, 48, 14], Operations: ['3+11=14']
Exploring Operation: 48-14=34, Resulting Numbers: [81, 34]
Generated Node #0,0,1: 47:[81, 34] Operation: 48-14=34
Moving to Node #0,0,1
Current State: 47:[81, 34], Operations: ['3+11=14', '48-14=34']
Exploring Operation: 81-34=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 | hs_5 | sum_heuristic |
[
55,
49,
12,
27
] | 90 | [
"55-49=6",
"27-12=15",
"6*15=90"
] | Current State: 90:[55, 49, 12, 27], Operations: []
Exploring Operation: 55-49=6, Resulting Numbers: [12, 27, 6]
Generated Node #2: [12, 27, 6] from Operation: 55-49=6
Current State: 90:[12, 27, 6], Operations: ['55-49=6']
Exploring Operation: 27-12=15, Resulting Numbers: [6, 15]
Generated Node #3: [6, 15] from Operation: 27-12=15
Current State: 90:[6, 15], Operations: ['55-49=6', '27-12=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[55, 49, 12, 27], Operations: []
Exploring Operation: 55-49=6, Resulting Numbers: [12, 27, 6]
Generated Node #0,0: 90:[12, 27, 6] Operation: 55-49=6
Exploring Operation: 55-12=43, Resulting Numbers: [49, 27, 43]
Generated Node #0,1: 90:[49, 27, 43] Operation: 55-12=43
Exploring Operation: 55-27=28, Resulting Numbers: [49, 12, 28]
Generated Node #0,2: 90:[49, 12, 28] Operation: 55-27=28
Moving to Node #0,0
Current State: 90:[12, 27, 6], Operations: ['55-49=6']
Exploring Operation: 12+6=18, Resulting Numbers: [27, 18]
Generated Node #0,0,0: 90:[27, 18] Operation: 12+6=18
Exploring Operation: 27-12=15, Resulting Numbers: [6, 15]
Generated Node #0,0,1: 90:[6, 15] Operation: 27-12=15
Exploring Operation: 12-6=6, Resulting Numbers: [27, 6]
Generated Node #0,0,2: 90:[27, 6] Operation: 12-6=6
Moving to Node #0,2
Current State: 90:[49, 12, 28], Operations: ['55-27=28']
Exploring Operation: 49-28=21, Resulting Numbers: [12, 21]
Generated Node #0,2,0: 90:[12, 21] Operation: 49-28=21
Exploring Operation: 28-12=16, Resulting Numbers: [49, 16]
Generated Node #0,2,1: 90:[49, 16] Operation: 28-12=16
Exploring Operation: 49-12=37, Resulting Numbers: [28, 37]
Generated Node #0,2,2: 90:[28, 37] Operation: 49-12=37
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[12, 21], Operations: ['55-27=28', '49-28=21']
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,90 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,90 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[49, 16], Operations: ['55-27=28', '28-12=16']
Exploring Operation: 49+16=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Exploring Operation: 49-16=33, Resulting Numbers: [33]
33,90 unequal: No Solution
Exploring Operation: 49*16=784, Resulting Numbers: [784]
784,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[28, 37], Operations: ['55-27=28', '49-12=37']
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 28*37=1036, Resulting Numbers: [1036]
1036,90 unequal: No Solution
Exploring Operation: 28+37=65, Resulting Numbers: [65]
65,90 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: 90:[49, 27, 43], Operations: ['55-12=43']
Exploring Operation: 49+43=92, Resulting Numbers: [27, 92]
Generated Node #0,1,0: 90:[27, 92] Operation: 49+43=92
Exploring Operation: 49-43=6, Resulting Numbers: [27, 6]
Generated Node #0,1,1: 90:[27, 6] Operation: 49-43=6
Exploring Operation: 43-27=16, Resulting Numbers: [49, 16]
Generated Node #0,1,2: 90:[49, 16] Operation: 43-27=16
Moving to Node #0,0,1
Current State: 90:[6, 15], Operations: ['55-49=6', '27-12=15']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[55, 49, 12, 27], Operations: []
Exploring Operation: 55-49=6, Resulting Numbers: [12, 27, 6]
Generated Node #0,0: 90:[12, 27, 6] Operation: 55-49=6
Moving to Node #0,0
Current State: 90:[12, 27, 6], Operations: ['55-49=6']
Exploring Operation: 27-12=15, Resulting Numbers: [6, 15]
Generated Node #0,0,1: 90:[6, 15] Operation: 27-12=15
Moving to Node #0,0,1
Current State: 90:[6, 15], Operations: ['55-49=6', '27-12=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
30,
47,
18,
31
] | 30 | [
"47-30=17",
"31-18=13",
"17+13=30"
] | Current State: 30:[30, 47, 18, 31], Operations: []
Exploring Operation: 47-30=17, Resulting Numbers: [18, 31, 17]
Generated Node #2: [18, 31, 17] from Operation: 47-30=17
Current State: 30:[18, 31, 17], Operations: ['47-30=17']
Exploring Operation: 31-18=13, Resulting Numbers: [17, 13]
Generated Node #3: [17, 13] from Operation: 31-18=13
Current State: 30:[17, 13], Operations: ['47-30=17', '31-18=13']
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[30, 47, 18, 31], Operations: []
Exploring Operation: 47-31=16, Resulting Numbers: [30, 18, 16]
Generated Node #0,0: 30:[30, 18, 16] Operation: 47-31=16
Exploring Operation: 47-18=29, Resulting Numbers: [30, 31, 29]
Generated Node #0,1: 30:[30, 31, 29] Operation: 47-18=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[30, 31, 29], Operations: ['47-18=29']
Exploring Operation: 31-29=2, Resulting Numbers: [30, 2]
Generated Node #0,1,0: 30:[30, 2] Operation: 31-29=2
Exploring Operation: 31-30=1, Resulting Numbers: [29, 1]
Generated Node #0,1,1: 30:[29, 1] Operation: 31-30=1
Moving to Node #0,1,0
Current State: 30:[30, 2], Operations: ['47-18=29', '31-29=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[29, 1], Operations: ['47-18=29', '31-30=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[30, 47, 18, 31], Operations: []
Exploring Operation: 47-18=29, Resulting Numbers: [30, 31, 29]
Generated Node #0,1: 30:[30, 31, 29] Operation: 47-18=29
Moving to Node #0,1
Current State: 30:[30, 31, 29], Operations: ['47-18=29']
Exploring Operation: 31-30=1, Resulting Numbers: [29, 1]
Generated Node #0,1,1: 30:[29, 1] Operation: 31-30=1
Moving to Node #0,1,1
Current State: 30:[29, 1], Operations: ['47-18=29', '31-30=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
29,
24,
96,
12
] | 45 | [
"29+24=53",
"96/12=8",
"53-8=45"
] | Current State: 45:[29, 24, 96, 12], Operations: []
Exploring Operation: 29+24=53, Resulting Numbers: [96, 12, 53]
Generated Node #2: [96, 12, 53] from Operation: 29+24=53
Current State: 45:[96, 12, 53], Operations: ['29+24=53']
Exploring Operation: 96/12=8, Resulting Numbers: [53, 8]
Generated Node #3: [53, 8] from Operation: 96/12=8
Current State: 45:[53, 8], Operations: ['29+24=53', '96/12=8']
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[29, 24, 96, 12], Operations: []
Exploring Operation: 96/12=8, Resulting Numbers: [29, 24, 8]
Generated Node #0,0: 45:[29, 24, 8] Operation: 96/12=8
Exploring Operation: 96-24=72, Resulting Numbers: [29, 12, 72]
Generated Node #0,1: 45:[29, 12, 72] Operation: 96-24=72
Exploring Operation: 96/24=4, Resulting Numbers: [29, 12, 4]
Generated Node #0,2: 45:[29, 12, 4] Operation: 96/24=4
Exploring Operation: 96-29=67, Resulting Numbers: [24, 12, 67]
Generated Node #0,3: 45:[24, 12, 67] Operation: 96-29=67
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[29, 12, 4], Operations: ['96/24=4']
Exploring Operation: 29+12=41, Resulting Numbers: [4, 41]
Generated Node #0,2,0: 45:[4, 41] Operation: 29+12=41
Exploring Operation: 29-12=17, Resulting Numbers: [4, 17]
Generated Node #0,2,1: 45:[4, 17] Operation: 29-12=17
Exploring Operation: 29-4=25, Resulting Numbers: [12, 25]
Generated Node #0,2,2: 45:[12, 25] Operation: 29-4=25
Exploring Operation: 12/4=3, Resulting Numbers: [29, 3]
Generated Node #0,2,3: 45:[29, 3] Operation: 12/4=3
Moving to Node #0,2,1
Current State: 45:[4, 17], Operations: ['96/24=4', '29-12=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[4, 41], Operations: ['96/24=4', '29+12=41']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[29, 24, 96, 12], Operations: []
Exploring Operation: 96/24=4, Resulting Numbers: [29, 12, 4]
Generated Node #0,2: 45:[29, 12, 4] Operation: 96/24=4
Moving to Node #0,2
Current State: 45:[29, 12, 4], Operations: ['96/24=4']
Exploring Operation: 29+12=41, Resulting Numbers: [4, 41]
Generated Node #0,2,0: 45:[4, 41] Operation: 29+12=41
Moving to Node #0,2,0
Current State: 45:[4, 41], Operations: ['96/24=4', '29+12=41']
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
56,
44,
30,
66
] | 70 | [
"44-30=14",
"56/14=4",
"66+4=70"
] | Current State: 70:[56, 44, 30, 66], Operations: []
Exploring Operation: 44-30=14, Resulting Numbers: [56, 66, 14]
Generated Node #2: [56, 66, 14] from Operation: 44-30=14
Current State: 70:[56, 66, 14], Operations: ['44-30=14']
Exploring Operation: 56/14=4, Resulting Numbers: [66, 4]
Generated Node #3: [66, 4] from Operation: 56/14=4
Current State: 70:[66, 4], Operations: ['44-30=14', '56/14=4']
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[56, 44, 30, 66], Operations: []
Exploring Operation: 44-30=14, Resulting Numbers: [56, 66, 14]
Generated Node #0,0: 70:[56, 66, 14] Operation: 44-30=14
Exploring Operation: 56-44=12, Resulting Numbers: [30, 66, 12]
Generated Node #0,1: 70:[30, 66, 12] Operation: 56-44=12
Exploring Operation: 66-56=10, Resulting Numbers: [44, 30, 10]
Generated Node #0,2: 70:[44, 30, 10] Operation: 66-56=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[30, 66, 12], Operations: ['56-44=12']
Exploring Operation: 66-30=36, Resulting Numbers: [12, 36]
Generated Node #0,1,0: 70:[12, 36] Operation: 66-30=36
Exploring Operation: 30+12=42, Resulting Numbers: [66, 42]
Generated Node #0,1,1: 70:[66, 42] Operation: 30+12=42
Exploring Operation: 30-12=18, Resulting Numbers: [66, 18]
Generated Node #0,1,2: 70:[66, 18] Operation: 30-12=18
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[12, 36], Operations: ['56-44=12', '66-30=36']
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,70 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[66, 18], Operations: ['56-44=12', '30-12=18']
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,70 unequal: No Solution
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[66, 42], Operations: ['56-44=12', '30+12=42']
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 66*42=2772, Resulting Numbers: [2772]
2772,70 unequal: No Solution
Exploring Operation: 66+42=108, Resulting Numbers: [108]
108,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[44, 30, 10], Operations: ['66-56=10']
Exploring Operation: 44-30=14, Resulting Numbers: [10, 14]
Generated Node #0,2,0: 70:[10, 14] Operation: 44-30=14
Exploring Operation: 44-10=34, Resulting Numbers: [30, 34]
Generated Node #0,2,1: 70:[30, 34] Operation: 44-10=34
Exploring Operation: 44+30=74, Resulting Numbers: [10, 74]
Generated Node #0,2,2: 70:[10, 74] Operation: 44+30=74
Moving to Node #0,2,0
Current State: 70:[10, 14], Operations: ['66-56=10', '44-30=14']
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,70 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[10, 74], Operations: ['66-56=10', '44+30=74']
Exploring Operation: 10+74=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,70 unequal: No Solution
Exploring Operation: 10*74=740, Resulting Numbers: [740]
740,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[30, 34], Operations: ['66-56=10', '44-10=34']
Exploring Operation: 30+34=64, Resulting Numbers: [64]
64,70 unequal: No Solution
Exploring Operation: 30*34=1020, Resulting Numbers: [1020]
1020,70 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[56, 66, 14], Operations: ['44-30=14']
Exploring Operation: 66-56=10, Resulting Numbers: [14, 10]
Generated Node #0,0,0: 70:[14, 10] Operation: 66-56=10
Exploring Operation: 56/14=4, Resulting Numbers: [66, 4]
Generated Node #0,0,1: 70:[66, 4] Operation: 56/14=4
Exploring Operation: 56+14=70, Resulting Numbers: [66, 70]
Generated Node #0,0,2: 70:[66, 70] Operation: 56+14=70
Moving to Node #0,0,0
Current State: 70:[14, 10], Operations: ['44-30=14', '66-56=10']
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,70 unequal: No Solution
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[66, 70], Operations: ['44-30=14', '56+14=70']
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 66*70=4620, Resulting Numbers: [4620]
4620,70 unequal: No Solution
Exploring Operation: 66+70=136, Resulting Numbers: [136]
136,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[66, 4], Operations: ['44-30=14', '56/14=4']
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,70 unequal: No Solution
Exploring Operation: 66*4=264, Resulting Numbers: [264]
264,70 unequal: No Solution
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[56, 44, 30, 66], Operations: []
Exploring Operation: 44-30=14, Resulting Numbers: [56, 66, 14]
Generated Node #0,0: 70:[56, 66, 14] Operation: 44-30=14
Moving to Node #0,0
Current State: 70:[56, 66, 14], Operations: ['44-30=14']
Exploring Operation: 56/14=4, Resulting Numbers: [66, 4]
Generated Node #0,0,1: 70:[66, 4] Operation: 56/14=4
Moving to Node #0,0,1
Current State: 70:[66, 4], Operations: ['44-30=14', '56/14=4']
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_3 | mult_heuristic |
[
23,
28,
62,
4
] | 15 | [
"23+28=51",
"62+4=66",
"66-51=15"
] | Current State: 15:[23, 28, 62, 4], Operations: []
Exploring Operation: 23+28=51, Resulting Numbers: [62, 4, 51]
Generated Node #2: [62, 4, 51] from Operation: 23+28=51
Current State: 15:[62, 4, 51], Operations: ['23+28=51']
Exploring Operation: 62+4=66, Resulting Numbers: [51, 66]
Generated Node #3: [51, 66] from Operation: 62+4=66
Current State: 15:[51, 66], Operations: ['23+28=51', '62+4=66']
Exploring Operation: 66-51=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[23, 28, 62, 4], Operations: []
Exploring Operation: 28-23=5, Resulting Numbers: [62, 4, 5]
Generated Node #0,0: 15:[62, 4, 5] Operation: 28-23=5
Exploring Operation: 62-28=34, Resulting Numbers: [23, 4, 34]
Generated Node #0,1: 15:[23, 4, 34] Operation: 62-28=34
Exploring Operation: 62-23=39, Resulting Numbers: [28, 4, 39]
Generated Node #0,2: 15:[28, 4, 39] Operation: 62-23=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[23, 4, 34], Operations: ['62-28=34']
Exploring Operation: 34-23=11, Resulting Numbers: [4, 11]
Generated Node #0,1,0: 15:[4, 11] Operation: 34-23=11
Exploring Operation: 23-4=19, Resulting Numbers: [34, 19]
Generated Node #0,1,1: 15:[34, 19] Operation: 23-4=19
Exploring Operation: 34-4=30, Resulting Numbers: [23, 30]
Generated Node #0,1,2: 15:[23, 30] Operation: 34-4=30
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 15:[4, 11], Operations: ['62-28=34', '34-23=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[23, 28, 62, 4], Operations: []
Exploring Operation: 62-28=34, Resulting Numbers: [23, 4, 34]
Generated Node #0,1: 15:[23, 4, 34] Operation: 62-28=34
Moving to Node #0,1
Current State: 15:[23, 4, 34], Operations: ['62-28=34']
Exploring Operation: 34-23=11, Resulting Numbers: [4, 11]
Generated Node #0,1,0: 15:[4, 11] Operation: 34-23=11
Moving to Node #0,1,0
Current State: 15:[4, 11], Operations: ['62-28=34', '34-23=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
80,
24,
34,
13
] | 70 | [
"34-13=21",
"80*21=1680",
"1680/24=70"
] | Current State: 70:[80, 24, 34, 13], Operations: []
Exploring Operation: 34-13=21, Resulting Numbers: [80, 24, 21]
Generated Node #2: [80, 24, 21] from Operation: 34-13=21
Current State: 70:[80, 24, 21], Operations: ['34-13=21']
Exploring Operation: 80*21=1680, Resulting Numbers: [24, 1680]
Generated Node #3: [24, 1680] from Operation: 80*21=1680
Current State: 70:[24, 1680], Operations: ['34-13=21', '80*21=1680']
Exploring Operation: 1680/24=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[80, 24, 34, 13], Operations: []
Exploring Operation: 24+13=37, Resulting Numbers: [80, 34, 37]
Generated Node #0,0: 70:[80, 34, 37] Operation: 24+13=37
Exploring Operation: 34-24=10, Resulting Numbers: [80, 13, 10]
Generated Node #0,1: 70:[80, 13, 10] Operation: 34-24=10
Exploring Operation: 80-13=67, Resulting Numbers: [24, 34, 67]
Generated Node #0,2: 70:[24, 34, 67] Operation: 80-13=67
Exploring Operation: 24-13=11, Resulting Numbers: [80, 34, 11]
Generated Node #0,3: 70:[80, 34, 11] Operation: 24-13=11
Exploring Operation: 80-24=56, Resulting Numbers: [34, 13, 56]
Generated Node #0,4: 70:[34, 13, 56] Operation: 80-24=56
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[80, 13, 10], Operations: ['34-24=10']
Exploring Operation: 80-13=67, Resulting Numbers: [10, 67]
Generated Node #0,1,0: 70:[10, 67] Operation: 80-13=67
Exploring Operation: 80/10=8, Resulting Numbers: [13, 8]
Generated Node #0,1,1: 70:[13, 8] Operation: 80/10=8
Exploring Operation: 13+10=23, Resulting Numbers: [80, 23]
Generated Node #0,1,2: 70:[80, 23] Operation: 13+10=23
Exploring Operation: 13-10=3, Resulting Numbers: [80, 3]
Generated Node #0,1,3: 70:[80, 3] Operation: 13-10=3
Exploring Operation: 80-10=70, Resulting Numbers: [13, 70]
Generated Node #0,1,4: 70:[13, 70] Operation: 80-10=70
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 70:[13, 70], Operations: ['34-24=10', '80-10=70']
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,70 unequal: No Solution
Exploring Operation: 13+70=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 13*70=910, Resulting Numbers: [910]
910,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[13, 8], Operations: ['34-24=10', '80/10=8']
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,70 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[10, 67], Operations: ['34-24=10', '80-13=67']
Exploring Operation: 10+67=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,70 unequal: No Solution
Exploring Operation: 10*67=670, Resulting Numbers: [670]
670,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 70:[80, 3], Operations: ['34-24=10', '13-10=3']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Exploring Operation: 80*3=240, Resulting Numbers: [240]
240,70 unequal: No Solution
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[80, 23], Operations: ['34-24=10', '13+10=23']
Exploring Operation: 80*23=1840, Resulting Numbers: [1840]
1840,70 unequal: No Solution
Exploring Operation: 80+23=103, Resulting Numbers: [103]
103,70 unequal: No Solution
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[80, 34, 11], Operations: ['24-13=11']
Exploring Operation: 80-11=69, Resulting Numbers: [34, 69]
Generated Node #0,3,0: 70:[34, 69] Operation: 80-11=69
Exploring Operation: 34-11=23, Resulting Numbers: [80, 23]
Generated Node #0,3,1: 70:[80, 23] Operation: 34-11=23
Exploring Operation: 80+11=91, Resulting Numbers: [34, 91]
Generated Node #0,3,2: 70:[34, 91] Operation: 80+11=91
Exploring Operation: 80-34=46, Resulting Numbers: [11, 46]
Generated Node #0,3,3: 70:[11, 46] Operation: 80-34=46
Exploring Operation: 34+11=45, Resulting Numbers: [80, 45]
Generated Node #0,3,4: 70:[80, 45] Operation: 34+11=45
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 70:[34, 69], Operations: ['24-13=11', '80-11=69']
Exploring Operation: 34+69=103, Resulting Numbers: [103]
103,70 unequal: No Solution
Exploring Operation: 69-34=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 34*69=2346, Resulting Numbers: [2346]
2346,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 70:[11, 46], Operations: ['24-13=11', '80-34=46']
Exploring Operation: 11+46=57, Resulting Numbers: [57]
57,70 unequal: No Solution
Exploring Operation: 11*46=506, Resulting Numbers: [506]
506,70 unequal: No Solution
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 70:[80, 23], Operations: ['24-13=11', '34-11=23']
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,70 unequal: No Solution
Exploring Operation: 80+23=103, Resulting Numbers: [103]
103,70 unequal: No Solution
Exploring Operation: 80*23=1840, Resulting Numbers: [1840]
1840,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 70:[80, 45], Operations: ['24-13=11', '34+11=45']
Exploring Operation: 80+45=125, Resulting Numbers: [125]
125,70 unequal: No Solution
Exploring Operation: 80-45=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 80*45=3600, Resulting Numbers: [3600]
3600,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 70:[34, 91], Operations: ['24-13=11', '80+11=91']
Exploring Operation: 34*91=3094, Resulting Numbers: [3094]
3094,70 unequal: No Solution
Exploring Operation: 91-34=57, Resulting Numbers: [57]
57,70 unequal: No Solution
Exploring Operation: 34+91=125, Resulting Numbers: [125]
125,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[80, 34, 37], Operations: ['24+13=37']
Exploring Operation: 80-37=43, Resulting Numbers: [34, 43]
Generated Node #0,0,0: 70:[34, 43] Operation: 80-37=43
Exploring Operation: 37-34=3, Resulting Numbers: [80, 3]
Generated Node #0,0,1: 70:[80, 3] Operation: 37-34=3
Exploring Operation: 80-34=46, Resulting Numbers: [37, 46]
Generated Node #0,0,2: 70:[37, 46] Operation: 80-34=46
Exploring Operation: 80+34=114, Resulting Numbers: [37, 114]
Generated Node #0,0,3: 70:[37, 114] Operation: 80+34=114
Exploring Operation: 34+37=71, Resulting Numbers: [80, 71]
Generated Node #0,0,4: 70:[80, 71] Operation: 34+37=71
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[34, 43], Operations: ['24+13=37', '80-37=43']
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 34+43=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Exploring Operation: 34*43=1462, Resulting Numbers: [1462]
1462,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[80, 3], Operations: ['24+13=37', '37-34=3']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Exploring Operation: 80*3=240, Resulting Numbers: [240]
240,70 unequal: No Solution
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 70:[80, 71], Operations: ['24+13=37', '34+37=71']
Exploring Operation: 80-71=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 80*71=5680, Resulting Numbers: [5680]
5680,70 unequal: No Solution
Exploring Operation: 80+71=151, Resulting Numbers: [151]
151,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 70:[37, 46], Operations: ['24+13=37', '80-34=46']
Exploring Operation: 37+46=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 37*46=1702, Resulting Numbers: [1702]
1702,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 70:[37, 114], Operations: ['24+13=37', '80+34=114']
Exploring Operation: 114-37=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Exploring Operation: 37+114=151, Resulting Numbers: [151]
151,70 unequal: No Solution
Exploring Operation: 37*114=4218, Resulting Numbers: [4218]
4218,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[24, 34, 67], Operations: ['80-13=67']
Exploring Operation: 67-34=33, Resulting Numbers: [24, 33]
Generated Node #0,2,0: 70:[24, 33] Operation: 67-34=33
Exploring Operation: 34-24=10, Resulting Numbers: [67, 10]
Generated Node #0,2,1: 70:[67, 10] Operation: 34-24=10
Exploring Operation: 24+34=58, Resulting Numbers: [67, 58]
Generated Node #0,2,2: 70:[67, 58] Operation: 24+34=58
Exploring Operation: 24+67=91, Resulting Numbers: [34, 91]
Generated Node #0,2,3: 70:[34, 91] Operation: 24+67=91
Exploring Operation: 67-24=43, Resulting Numbers: [34, 43]
Generated Node #0,2,4: 70:[34, 43] Operation: 67-24=43
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[67, 10], Operations: ['80-13=67', '34-24=10']
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,70 unequal: No Solution
Exploring Operation: 67*10=670, Resulting Numbers: [670]
670,70 unequal: No Solution
Exploring Operation: 67+10=77, Resulting Numbers: [77]
77,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 70:[34, 43], Operations: ['80-13=67', '67-24=43']
Exploring Operation: 34+43=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Exploring Operation: 34*43=1462, Resulting Numbers: [1462]
1462,70 unequal: No Solution
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[24, 33], Operations: ['80-13=67', '67-34=33']
Exploring Operation: 24+33=57, Resulting Numbers: [57]
57,70 unequal: No Solution
Exploring Operation: 24*33=792, Resulting Numbers: [792]
792,70 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 70:[67, 58], Operations: ['80-13=67', '24+34=58']
Exploring Operation: 67-58=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 67*58=3886, Resulting Numbers: [3886]
3886,70 unequal: No Solution
Exploring Operation: 67+58=125, Resulting Numbers: [125]
125,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 70:[34, 91], Operations: ['80-13=67', '24+67=91']
Exploring Operation: 34*91=3094, Resulting Numbers: [3094]
3094,70 unequal: No Solution
Exploring Operation: 34+91=125, Resulting Numbers: [125]
125,70 unequal: No Solution
Exploring Operation: 91-34=57, Resulting Numbers: [57]
57,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 70:[34, 13, 56], Operations: ['80-24=56']
Exploring Operation: 56-13=43, Resulting Numbers: [34, 43]
Generated Node #0,4,0: 70:[34, 43] Operation: 56-13=43
Exploring Operation: 34+56=90, Resulting Numbers: [13, 90]
Generated Node #0,4,1: 70:[13, 90] Operation: 34+56=90
Exploring Operation: 34-13=21, Resulting Numbers: [56, 21]
Generated Node #0,4,2: 70:[56, 21] Operation: 34-13=21
Exploring Operation: 56-34=22, Resulting Numbers: [13, 22]
Generated Node #0,4,3: 70:[13, 22] Operation: 56-34=22
Exploring Operation: 13+56=69, Resulting Numbers: [34, 69]
Generated Node #0,4,4: 70:[34, 69] Operation: 13+56=69
Moving to Node #0,4,4
Current State: 70:[34, 69], Operations: ['80-24=56', '13+56=69']
Exploring Operation: 69-34=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 34+69=103, Resulting Numbers: [103]
103,70 unequal: No Solution
Exploring Operation: 34*69=2346, Resulting Numbers: [2346]
2346,70 unequal: No Solution
Moving to Node #0,4,3
Current State: 70:[13, 22], Operations: ['80-24=56', '56-34=22']
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,70 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Moving to Node #0,4,0
Current State: 70:[34, 43], Operations: ['80-24=56', '56-13=43']
Exploring Operation: 34*43=1462, Resulting Numbers: [1462]
1462,70 unequal: No Solution
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 34+43=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Moving to Node #0,4,1
Current State: 70:[13, 90], Operations: ['80-24=56', '34+56=90']
Exploring Operation: 90-13=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Exploring Operation: 13+90=103, Resulting Numbers: [103]
103,70 unequal: No Solution
Exploring Operation: 13*90=1170, Resulting Numbers: [1170]
1170,70 unequal: No Solution
Moving to Node #0,4,2
Current State: 70:[56, 21], Operations: ['80-24=56', '34-13=21']
Exploring Operation: 56*21=1176, Resulting Numbers: [1176]
1176,70 unequal: No Solution
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 56+21=77, Resulting Numbers: [77]
77,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
31,
61,
1,
10
] | 82 | [
"31+61=92",
"1*10=10",
"92-10=82"
] | Current State: 82:[31, 61, 1, 10], Operations: []
Exploring Operation: 31+61=92, Resulting Numbers: [1, 10, 92]
Generated Node #2: [1, 10, 92] from Operation: 31+61=92
Current State: 82:[1, 10, 92], Operations: ['31+61=92']
Exploring Operation: 1*10=10, Resulting Numbers: [92, 10]
Generated Node #3: [92, 10] from Operation: 1*10=10
Current State: 82:[92, 10], Operations: ['31+61=92', '1*10=10']
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[31, 61, 1, 10], Operations: []
Exploring Operation: 31+10=41, Resulting Numbers: [61, 1, 41]
Generated Node #0,0: 82:[61, 1, 41] Operation: 31+10=41
Exploring Operation: 61-31=30, Resulting Numbers: [1, 10, 30]
Generated Node #0,1: 82:[1, 10, 30] Operation: 61-31=30
Exploring Operation: 31+61=92, Resulting Numbers: [1, 10, 92]
Generated Node #0,2: 82:[1, 10, 92] Operation: 31+61=92
Moving to Node #0,2
Current State: 82:[1, 10, 92], Operations: ['31+61=92']
Exploring Operation: 92-1=91, Resulting Numbers: [10, 91]
Generated Node #0,2,0: 82:[10, 91] Operation: 92-1=91
Exploring Operation: 92-10=82, Resulting Numbers: [1, 82]
Generated Node #0,2,1: 82:[1, 82] Operation: 92-10=82
Exploring Operation: 10-1=9, Resulting Numbers: [92, 9]
Generated Node #0,2,2: 82:[92, 9] Operation: 10-1=9
Moving to Node #0,1
Current State: 82:[1, 10, 30], Operations: ['61-31=30']
Exploring Operation: 30/10=3, Resulting Numbers: [1, 3]
Generated Node #0,1,0: 82:[1, 3] Operation: 30/10=3
Exploring Operation: 10+30=40, Resulting Numbers: [1, 40]
Generated Node #0,1,1: 82:[1, 40] Operation: 10+30=40
Exploring Operation: 10-1=9, Resulting Numbers: [30, 9]
Generated Node #0,1,2: 82:[30, 9] Operation: 10-1=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[1, 3], Operations: ['61-31=30', '30/10=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[1, 40], Operations: ['61-31=30', '10+30=40']
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,82 unequal: No Solution
Exploring Operation: 1+40=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 82:[30, 9], Operations: ['61-31=30', '10-1=9']
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 82:[61, 1, 41], Operations: ['31+10=41']
Exploring Operation: 61-1=60, Resulting Numbers: [41, 60]
Generated Node #0,0,0: 82:[41, 60] Operation: 61-1=60
Exploring Operation: 61+1=62, Resulting Numbers: [41, 62]
Generated Node #0,0,1: 82:[41, 62] Operation: 61+1=62
Exploring Operation: 61-41=20, Resulting Numbers: [1, 20]
Generated Node #0,0,2: 82:[1, 20] Operation: 61-41=20
Moving to Node #0,2,1
Current State: 82:[1, 82], Operations: ['31+61=92', '92-10=82']
Exploring Operation: 1*82=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[31, 61, 1, 10], Operations: []
Exploring Operation: 31+61=92, Resulting Numbers: [1, 10, 92]
Generated Node #0,2: 82:[1, 10, 92] Operation: 31+61=92
Moving to Node #0,2
Current State: 82:[1, 10, 92], Operations: ['31+61=92']
Exploring Operation: 92-10=82, Resulting Numbers: [1, 82]
Generated Node #0,2,1: 82:[1, 82] Operation: 92-10=82
Moving to Node #0,2,1
Current State: 82:[1, 82], Operations: ['31+61=92', '92-10=82']
Exploring Operation: 1*82=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
53,
58,
3,
19
] | 82 | [
"53*3=159",
"58+19=77",
"159-77=82"
] | Current State: 82:[53, 58, 3, 19], Operations: []
Exploring Operation: 53*3=159, Resulting Numbers: [58, 19, 159]
Generated Node #2: [58, 19, 159] from Operation: 53*3=159
Current State: 82:[58, 19, 159], Operations: ['53*3=159']
Exploring Operation: 58+19=77, Resulting Numbers: [159, 77]
Generated Node #3: [159, 77] from Operation: 58+19=77
Current State: 82:[159, 77], Operations: ['53*3=159', '58+19=77']
Exploring Operation: 159-77=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[53, 58, 3, 19], Operations: []
Exploring Operation: 58+19=77, Resulting Numbers: [53, 3, 77]
Generated Node #0,0: 82:[53, 3, 77] Operation: 58+19=77
Exploring Operation: 58-19=39, Resulting Numbers: [53, 3, 39]
Generated Node #0,1: 82:[53, 3, 39] Operation: 58-19=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[53, 3, 39], Operations: ['58-19=39']
Exploring Operation: 53+39=92, Resulting Numbers: [3, 92]
Generated Node #0,1,0: 82:[3, 92] Operation: 53+39=92
Exploring Operation: 53-3=50, Resulting Numbers: [39, 50]
Generated Node #0,1,1: 82:[39, 50] Operation: 53-3=50
Moving to Node #0,1,0
Current State: 82:[3, 92], Operations: ['58-19=39', '53+39=92']
Exploring Operation: 3+92=95, Resulting Numbers: [95]
95,82 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[39, 50], Operations: ['58-19=39', '53-3=50']
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,82 unequal: No Solution
Exploring Operation: 39+50=89, Resulting Numbers: [89]
89,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[53, 3, 77], Operations: ['58+19=77']
Exploring Operation: 53-3=50, Resulting Numbers: [77, 50]
Generated Node #0,0,0: 82:[77, 50] Operation: 53-3=50
Exploring Operation: 3+77=80, Resulting Numbers: [53, 80]
Generated Node #0,0,1: 82:[53, 80] Operation: 3+77=80
Moving to Node #0,0,0
Current State: 82:[77, 50], Operations: ['58+19=77', '53-3=50']
Exploring Operation: 77+50=127, Resulting Numbers: [127]
127,82 unequal: No Solution
Exploring Operation: 77-50=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[53, 80], Operations: ['58+19=77', '3+77=80']
Exploring Operation: 80-53=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 53+80=133, Resulting Numbers: [133]
133,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
93,
13,
69,
10
] | 54 | [
"93+69=162",
"13-10=3",
"162/3=54"
] | Current State: 54:[93, 13, 69, 10], Operations: []
Exploring Operation: 93+69=162, Resulting Numbers: [13, 10, 162]
Generated Node #2: [13, 10, 162] from Operation: 93+69=162
Current State: 54:[13, 10, 162], Operations: ['93+69=162']
Exploring Operation: 13-10=3, Resulting Numbers: [162, 3]
Generated Node #3: [162, 3] from Operation: 13-10=3
Current State: 54:[162, 3], Operations: ['93+69=162', '13-10=3']
Exploring Operation: 162/3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[93, 13, 69, 10], Operations: []
Exploring Operation: 93-69=24, Resulting Numbers: [13, 10, 24]
Generated Node #0,0: 54:[13, 10, 24] Operation: 93-69=24
Exploring Operation: 93-13=80, Resulting Numbers: [69, 10, 80]
Generated Node #0,1: 54:[69, 10, 80] Operation: 93-13=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[13, 10, 24], Operations: ['93-69=24']
Exploring Operation: 13-10=3, Resulting Numbers: [24, 3]
Generated Node #0,0,0: 54:[24, 3] Operation: 13-10=3
Exploring Operation: 24-13=11, Resulting Numbers: [10, 11]
Generated Node #0,0,1: 54:[10, 11] Operation: 24-13=11
Moving to Node #0,0,0
Current State: 54:[24, 3], Operations: ['93-69=24', '13-10=3']
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[10, 11], Operations: ['93-69=24', '24-13=11']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[69, 10, 80], Operations: ['93-13=80']
Exploring Operation: 80/10=8, Resulting Numbers: [69, 8]
Generated Node #0,1,0: 54:[69, 8] Operation: 80/10=8
Exploring Operation: 80-69=11, Resulting Numbers: [10, 11]
Generated Node #0,1,1: 54:[10, 11] Operation: 80-69=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[10, 11], Operations: ['93-13=80', '80-69=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[69, 8], Operations: ['93-13=80', '80/10=8']
Exploring Operation: 69+8=77, Resulting Numbers: [77]
77,54 unequal: No Solution
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
38,
15,
66,
30
] | 43 | [
"38+15=53",
"66+30=96",
"96-53=43"
] | Current State: 43:[38, 15, 66, 30], Operations: []
Exploring Operation: 38+15=53, Resulting Numbers: [66, 30, 53]
Generated Node #2: [66, 30, 53] from Operation: 38+15=53
Current State: 43:[66, 30, 53], Operations: ['38+15=53']
Exploring Operation: 66+30=96, Resulting Numbers: [53, 96]
Generated Node #3: [53, 96] from Operation: 66+30=96
Current State: 43:[53, 96], Operations: ['38+15=53', '66+30=96']
Exploring Operation: 96-53=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[38, 15, 66, 30], Operations: []
Exploring Operation: 66-15=51, Resulting Numbers: [38, 30, 51]
Generated Node #0,0: 43:[38, 30, 51] Operation: 66-15=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[38, 30, 51], Operations: ['66-15=51']
Exploring Operation: 51-30=21, Resulting Numbers: [38, 21]
Generated Node #0,0,0: 43:[38, 21] Operation: 51-30=21
Moving to Node #0,0,0
Current State: 43:[38, 21], Operations: ['66-15=51', '51-30=21']
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,43 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 |
[
83,
31,
82,
73
] | 42 | [
"83-82=1",
"73-31=42",
"1*42=42"
] | Current State: 42:[83, 31, 82, 73], Operations: []
Exploring Operation: 83-82=1, Resulting Numbers: [31, 73, 1]
Generated Node #2: [31, 73, 1] from Operation: 83-82=1
Current State: 42:[31, 73, 1], Operations: ['83-82=1']
Exploring Operation: 73-31=42, Resulting Numbers: [1, 42]
Generated Node #3: [1, 42] from Operation: 73-31=42
Current State: 42:[1, 42], Operations: ['83-82=1', '73-31=42']
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[83, 31, 82, 73], Operations: []
Exploring Operation: 83-82=1, Resulting Numbers: [31, 73, 1]
Generated Node #0,0: 42:[31, 73, 1] Operation: 83-82=1
Moving to Node #0,0
Current State: 42:[31, 73, 1], Operations: ['83-82=1']
Exploring Operation: 73-31=42, Resulting Numbers: [1, 42]
Generated Node #0,0,0: 42:[1, 42] Operation: 73-31=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[1, 42], Operations: ['83-82=1', '73-31=42']
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[83, 31, 82, 73], Operations: []
Exploring Operation: 83-82=1, Resulting Numbers: [31, 73, 1]
Generated Node #0,0: 42:[31, 73, 1] Operation: 83-82=1
Moving to Node #0,0
Current State: 42:[31, 73, 1], Operations: ['83-82=1']
Exploring Operation: 73-31=42, Resulting Numbers: [1, 42]
Generated Node #0,0,0: 42:[1, 42] Operation: 73-31=42
Moving to Node #0,0,0
Current State: 42:[1, 42], Operations: ['83-82=1', '73-31=42']
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
21,
52,
27,
2
] | 56 | [
"52-21=31",
"27-2=25",
"31+25=56"
] | Current State: 56:[21, 52, 27, 2], Operations: []
Exploring Operation: 52-21=31, Resulting Numbers: [27, 2, 31]
Generated Node #2: [27, 2, 31] from Operation: 52-21=31
Current State: 56:[27, 2, 31], Operations: ['52-21=31']
Exploring Operation: 27-2=25, Resulting Numbers: [31, 25]
Generated Node #3: [31, 25] from Operation: 27-2=25
Current State: 56:[31, 25], Operations: ['52-21=31', '27-2=25']
Exploring Operation: 31+25=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[21, 52, 27, 2], Operations: []
Exploring Operation: 27-21=6, Resulting Numbers: [52, 2, 6]
Generated Node #0,0: 56:[52, 2, 6] Operation: 27-21=6
Exploring Operation: 21-2=19, Resulting Numbers: [52, 27, 19]
Generated Node #0,1: 56:[52, 27, 19] Operation: 21-2=19
Exploring Operation: 21+2=23, Resulting Numbers: [52, 27, 23]
Generated Node #0,2: 56:[52, 27, 23] Operation: 21+2=23
Exploring Operation: 52-21=31, Resulting Numbers: [27, 2, 31]
Generated Node #0,3: 56:[27, 2, 31] Operation: 52-21=31
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[27, 2, 31], Operations: ['52-21=31']
Exploring Operation: 27+2=29, Resulting Numbers: [31, 29]
Generated Node #0,3,0: 56:[31, 29] Operation: 27+2=29
Exploring Operation: 27+31=58, Resulting Numbers: [2, 58]
Generated Node #0,3,1: 56:[2, 58] Operation: 27+31=58
Exploring Operation: 31-27=4, Resulting Numbers: [2, 4]
Generated Node #0,3,2: 56:[2, 4] Operation: 31-27=4
Exploring Operation: 31-2=29, Resulting Numbers: [27, 29]
Generated Node #0,3,3: 56:[27, 29] Operation: 31-2=29
Moving to Node #0,3,2
Current State: 56:[2, 4], Operations: ['52-21=31', '31-27=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Moving to Node #0,3,3
Current State: 56:[27, 29], Operations: ['52-21=31', '31-2=29']
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[21, 52, 27, 2], Operations: []
Exploring Operation: 52-21=31, Resulting Numbers: [27, 2, 31]
Generated Node #0,3: 56:[27, 2, 31] Operation: 52-21=31
Moving to Node #0,3
Current State: 56:[27, 2, 31], Operations: ['52-21=31']
Exploring Operation: 31-2=29, Resulting Numbers: [27, 29]
Generated Node #0,3,3: 56:[27, 29] Operation: 31-2=29
Moving to Node #0,3,3
Current State: 56:[27, 29], Operations: ['52-21=31', '31-2=29']
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
93,
60,
89,
35
] | 100 | [
"93-89=4",
"60-35=25",
"4*25=100"
] | Current State: 100:[93, 60, 89, 35], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [60, 35, 4]
Generated Node #2: [60, 35, 4] from Operation: 93-89=4
Current State: 100:[60, 35, 4], Operations: ['93-89=4']
Exploring Operation: 60-35=25, Resulting Numbers: [4, 25]
Generated Node #3: [4, 25] from Operation: 60-35=25
Current State: 100:[4, 25], Operations: ['93-89=4', '60-35=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[93, 60, 89, 35], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [60, 35, 4]
Generated Node #0,0: 100:[60, 35, 4] Operation: 93-89=4
Exploring Operation: 60-35=25, Resulting Numbers: [93, 89, 25]
Generated Node #0,1: 100:[93, 89, 25] Operation: 60-35=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[93, 89, 25], Operations: ['60-35=25']
Exploring Operation: 89+25=114, Resulting Numbers: [93, 114]
Generated Node #0,1,0: 100:[93, 114] Operation: 89+25=114
Exploring Operation: 93-89=4, Resulting Numbers: [25, 4]
Generated Node #0,1,1: 100:[25, 4] Operation: 93-89=4
Moving to Node #0,1,1
Current State: 100:[25, 4], Operations: ['60-35=25', '93-89=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[93, 60, 89, 35], Operations: []
Exploring Operation: 60-35=25, Resulting Numbers: [93, 89, 25]
Generated Node #0,1: 100:[93, 89, 25] Operation: 60-35=25
Moving to Node #0,1
Current State: 100:[93, 89, 25], Operations: ['60-35=25']
Exploring Operation: 93-89=4, Resulting Numbers: [25, 4]
Generated Node #0,1,1: 100:[25, 4] Operation: 93-89=4
Moving to Node #0,1,1
Current State: 100:[25, 4], Operations: ['60-35=25', '93-89=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
22,
82,
98,
74
] | 41 | [
"98-22=76",
"76-74=2",
"82/2=41"
] | Current State: 41:[22, 82, 98, 74], Operations: []
Exploring Operation: 98-22=76, Resulting Numbers: [82, 74, 76]
Generated Node #2: [82, 74, 76] from Operation: 98-22=76
Current State: 41:[82, 74, 76], Operations: ['98-22=76']
Exploring Operation: 76-74=2, Resulting Numbers: [82, 2]
Generated Node #3: [82, 2] from Operation: 76-74=2
Current State: 41:[82, 2], Operations: ['98-22=76', '76-74=2']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[22, 82, 98, 74], Operations: []
Exploring Operation: 98-82=16, Resulting Numbers: [22, 74, 16]
Generated Node #0,0: 41:[22, 74, 16] Operation: 98-82=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[22, 74, 16], Operations: ['98-82=16']
Exploring Operation: 74-22=52, Resulting Numbers: [16, 52]
Generated Node #0,0,0: 41:[16, 52] Operation: 74-22=52
Moving to Node #0,0,0
Current State: 41:[16, 52], Operations: ['98-82=16', '74-22=52']
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
8,
78,
18,
71
] | 74 | [
"8+18=26",
"78/26=3",
"71+3=74"
] | Current State: 74:[8, 78, 18, 71], Operations: []
Exploring Operation: 8+18=26, Resulting Numbers: [78, 71, 26]
Generated Node #2: [78, 71, 26] from Operation: 8+18=26
Current State: 74:[78, 71, 26], Operations: ['8+18=26']
Exploring Operation: 78/26=3, Resulting Numbers: [71, 3]
Generated Node #3: [71, 3] from Operation: 78/26=3
Current State: 74:[71, 3], Operations: ['8+18=26', '78/26=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[8, 78, 18, 71], Operations: []
Exploring Operation: 18-8=10, Resulting Numbers: [78, 71, 10]
Generated Node #0,0: 74:[78, 71, 10] Operation: 18-8=10
Moving to Node #0,0
Current State: 74:[78, 71, 10], Operations: ['18-8=10']
Exploring Operation: 78-10=68, Resulting Numbers: [71, 68]
Generated Node #0,0,0: 74:[71, 68] Operation: 78-10=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[71, 68], Operations: ['18-8=10', '78-10=68']
Exploring Operation: 71-68=3, Resulting Numbers: [3]
3,74 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 |
[
55,
82,
49,
27
] | 61 | [
"55+82=137",
"49+27=76",
"137-76=61"
] | Current State: 61:[55, 82, 49, 27], Operations: []
Exploring Operation: 55+82=137, Resulting Numbers: [49, 27, 137]
Generated Node #2: [49, 27, 137] from Operation: 55+82=137
Current State: 61:[49, 27, 137], Operations: ['55+82=137']
Exploring Operation: 49+27=76, Resulting Numbers: [137, 76]
Generated Node #3: [137, 76] from Operation: 49+27=76
Current State: 61:[137, 76], Operations: ['55+82=137', '49+27=76']
Exploring Operation: 137-76=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[55, 82, 49, 27], Operations: []
Exploring Operation: 82-27=55, Resulting Numbers: [55, 49, 55]
Generated Node #0,0: 61:[55, 49, 55] Operation: 82-27=55
Exploring Operation: 49+27=76, Resulting Numbers: [55, 82, 76]
Generated Node #0,1: 61:[55, 82, 76] Operation: 49+27=76
Exploring Operation: 55-27=28, Resulting Numbers: [82, 49, 28]
Generated Node #0,2: 61:[82, 49, 28] Operation: 55-27=28
Exploring Operation: 55+27=82, Resulting Numbers: [82, 49, 82]
Generated Node #0,3: 61:[82, 49, 82] Operation: 55+27=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[55, 49, 55], Operations: ['82-27=55']
Exploring Operation: 49+55=104, Resulting Numbers: [55, 104]
Generated Node #0,0,0: 61:[55, 104] Operation: 49+55=104
Exploring Operation: 55+55=110, Resulting Numbers: [49, 110]
Generated Node #0,0,1: 61:[49, 110] Operation: 55+55=110
Exploring Operation: 55-49=6, Resulting Numbers: [55, 6]
Generated Node #0,0,2: 61:[55, 6] Operation: 55-49=6
Exploring Operation: 55+49=104, Resulting Numbers: [55, 104]
Generated Node #0,0,3: 61:[55, 104] Operation: 55+49=104
Moving to Node #0,0,0
Current State: 61:[55, 104], Operations: ['82-27=55', '49+55=104']
Exploring Operation: 104-55=49, Resulting Numbers: [49]
49,61 unequal: No Solution
Exploring Operation: 55+104=159, Resulting Numbers: [159]
159,61 unequal: No Solution
Exploring Operation: 55*104=5720, Resulting Numbers: [5720]
5720,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[55, 104], Operations: ['82-27=55', '55+49=104']
Exploring Operation: 104-55=49, Resulting Numbers: [49]
49,61 unequal: No Solution
Exploring Operation: 55+104=159, Resulting Numbers: [159]
159,61 unequal: No Solution
Exploring Operation: 55*104=5720, Resulting Numbers: [5720]
5720,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[55, 6], Operations: ['82-27=55', '55-49=6']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,61 unequal: No Solution
Exploring Operation: 55*6=330, Resulting Numbers: [330]
330,61 unequal: No Solution
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[55, 82, 49, 27], Operations: []
Exploring Operation: 82-27=55, Resulting Numbers: [55, 49, 55]
Generated Node #0,0: 61:[55, 49, 55] Operation: 82-27=55
Moving to Node #0,0
Current State: 61:[55, 49, 55], Operations: ['82-27=55']
Exploring Operation: 55-49=6, Resulting Numbers: [55, 6]
Generated Node #0,0,2: 61:[55, 6] Operation: 55-49=6
Moving to Node #0,0,2
Current State: 61:[55, 6], Operations: ['82-27=55', '55-49=6']
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
9,
26,
7,
7
] | 86 | [
"9+7=16",
"7*16=112",
"112-26=86"
] | Current State: 86:[9, 26, 7, 7], Operations: []
Exploring Operation: 9+7=16, Resulting Numbers: [26, 16]
Generated Node #2: [26, 16] from Operation: 9+7=16
Current State: 86:[26, 16], Operations: ['9+7=16']
Exploring Operation: 7*16=112, Resulting Numbers: [26, 112]
Generated Node #3: [26, 112] from Operation: 7*16=112
Current State: 86:[26, 112], Operations: ['9+7=16', '7*16=112']
Exploring Operation: 112-26=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[9, 26, 7, 7], Operations: []
Exploring Operation: 9-7=2, Resulting Numbers: [26, 7, 2]
Generated Node #0,0: 86:[26, 7, 2] Operation: 9-7=2
Exploring Operation: 26+7=33, Resulting Numbers: [9, 7, 33]
Generated Node #0,1: 86:[9, 7, 33] Operation: 26+7=33
Exploring Operation: 26+7=33, Resulting Numbers: [9, 7, 33]
Generated Node #0,2: 86:[9, 7, 33] Operation: 26+7=33
Exploring Operation: 9+26=35, Resulting Numbers: [7, 7, 35]
Generated Node #0,3: 86:[7, 7, 35] Operation: 9+26=35
Exploring Operation: 9-7=2, Resulting Numbers: [26, 7, 2]
Generated Node #0,4: 86:[26, 7, 2] Operation: 9-7=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[7, 7, 35], Operations: ['9+26=35']
Exploring Operation: 35/7=5, Resulting Numbers: [7, 5]
Generated Node #0,3,0: 86:[7, 5] Operation: 35/7=5
Exploring Operation: 7+35=42, Resulting Numbers: [7, 42]
Generated Node #0,3,1: 86:[7, 42] Operation: 7+35=42
Exploring Operation: 35/7=5, Resulting Numbers: [7, 5]
Generated Node #0,3,2: 86:[7, 5] Operation: 35/7=5
Exploring Operation: 7/7=1, Resulting Numbers: [35, 1]
Generated Node #0,3,3: 86:[35, 1] Operation: 7/7=1
Exploring Operation: 7+35=42, Resulting Numbers: [7, 42]
Generated Node #0,3,4: 86:[7, 42] Operation: 7+35=42
Moving to Node #0,3,1
Current State: 86:[7, 42], Operations: ['9+26=35', '7+35=42']
Exploring Operation: 7*42=294, Resulting Numbers: [294]
294,86 unequal: No Solution
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,86 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Moving to Node #0,3,4
Current State: 86:[7, 42], Operations: ['9+26=35', '7+35=42']
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,86 unequal: No Solution
Exploring Operation: 7*42=294, Resulting Numbers: [294]
294,86 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[7, 5], Operations: ['9+26=35', '35/7=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,86 unequal: No Solution
Moving to Node #0,3,2
Current State: 86:[7, 5], Operations: ['9+26=35', '35/7=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,86 unequal: No Solution
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[35, 1], Operations: ['9+26=35', '7/7=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[26, 7, 2], Operations: ['9-7=2']
Exploring Operation: 26*2=52, Resulting Numbers: [7, 52]
Generated Node #0,0,0: 86:[7, 52] Operation: 26*2=52
Exploring Operation: 26-7=19, Resulting Numbers: [2, 19]
Generated Node #0,0,1: 86:[2, 19] Operation: 26-7=19
Exploring Operation: 26+7=33, Resulting Numbers: [2, 33]
Generated Node #0,0,2: 86:[2, 33] Operation: 26+7=33
Exploring Operation: 26+2=28, Resulting Numbers: [7, 28]
Generated Node #0,0,3: 86:[7, 28] Operation: 26+2=28
Exploring Operation: 26/2=13, Resulting Numbers: [7, 13]
Generated Node #0,0,4: 86:[7, 13] Operation: 26/2=13
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 86:[2, 33], Operations: ['9-7=2', '26+7=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,86 unequal: No Solution
No 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: 86:[7, 52], Operations: ['9-7=2', '26*2=52']
Exploring Operation: 7+52=59, Resulting Numbers: [59]
59,86 unequal: No Solution
Exploring Operation: 7*52=364, Resulting Numbers: [364]
364,86 unequal: No Solution
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,86 unequal: No Solution
No 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: 86:[7, 13], Operations: ['9-7=2', '26/2=13']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,86 unequal: No Solution
No 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: 86:[2, 19], Operations: ['9-7=2', '26-7=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,86 unequal: No Solution
No 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: 86:[7, 28], Operations: ['9-7=2', '26+2=28']
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 7*28=196, Resulting Numbers: [196]
196,86 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,86 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: 86:[9, 7, 33], Operations: ['26+7=33']
Exploring Operation: 9+7=16, Resulting Numbers: [33, 16]
Generated Node #0,1,0: 86:[33, 16] Operation: 9+7=16
Exploring Operation: 9+33=42, Resulting Numbers: [7, 42]
Generated Node #0,1,1: 86:[7, 42] Operation: 9+33=42
Exploring Operation: 9-7=2, Resulting Numbers: [33, 2]
Generated Node #0,1,2: 86:[33, 2] Operation: 9-7=2
Exploring Operation: 7+33=40, Resulting Numbers: [9, 40]
Generated Node #0,1,3: 86:[9, 40] Operation: 7+33=40
Exploring Operation: 33-9=24, Resulting Numbers: [7, 24]
Generated Node #0,1,4: 86:[7, 24] Operation: 33-9=24
Moving to Node #0,1,1
Current State: 86:[7, 42], Operations: ['26+7=33', '9+33=42']
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 7*42=294, Resulting Numbers: [294]
294,86 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,86 unequal: No Solution
Moving to Node #0,1,3
Current State: 86:[9, 40], Operations: ['26+7=33', '7+33=40']
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,86 unequal: No Solution
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 9*40=360, Resulting Numbers: [360]
360,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[33, 2], Operations: ['26+7=33', '9-7=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,86 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[33, 16], Operations: ['26+7=33', '9+7=16']
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,86 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,86 unequal: No Solution
Moving to Node #0,1,4
Current State: 86:[7, 24], Operations: ['26+7=33', '33-9=24']
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,86 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,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
Current State: 86:[9, 7, 33], Operations: ['26+7=33']
Exploring Operation: 7+33=40, Resulting Numbers: [9, 40]
Generated Node #0,2,0: 86:[9, 40] Operation: 7+33=40
Exploring Operation: 9+7=16, Resulting Numbers: [33, 16]
Generated Node #0,2,1: 86:[33, 16] Operation: 9+7=16
Exploring Operation: 9+33=42, Resulting Numbers: [7, 42]
Generated Node #0,2,2: 86:[7, 42] Operation: 9+33=42
Exploring Operation: 33-9=24, Resulting Numbers: [7, 24]
Generated Node #0,2,3: 86:[7, 24] Operation: 33-9=24
Exploring Operation: 9-7=2, Resulting Numbers: [33, 2]
Generated Node #0,2,4: 86:[33, 2] Operation: 9-7=2
Moving to Node #0,2,2
Current State: 86:[7, 42], Operations: ['26+7=33', '9+33=42']
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,86 unequal: No Solution
Exploring Operation: 7*42=294, Resulting Numbers: [294]
294,86 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Moving to Node #0,2,4
Current State: 86:[33, 2], Operations: ['26+7=33', '9-7=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,86 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[9, 40], Operations: ['26+7=33', '7+33=40']
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,86 unequal: No Solution
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 9*40=360, Resulting Numbers: [360]
360,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[33, 16], Operations: ['26+7=33', '9+7=16']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,86 unequal: No Solution
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,86 unequal: No Solution
Moving to Node #0,2,3
Current State: 86:[7, 24], Operations: ['26+7=33', '33-9=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,86 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,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,4
Current State: 86:[26, 7, 2], Operations: ['9-7=2']
Exploring Operation: 26-7=19, Resulting Numbers: [2, 19]
Generated Node #0,4,0: 86:[2, 19] Operation: 26-7=19
Exploring Operation: 26/2=13, Resulting Numbers: [7, 13]
Generated Node #0,4,1: 86:[7, 13] Operation: 26/2=13
Exploring Operation: 26+2=28, Resulting Numbers: [7, 28]
Generated Node #0,4,2: 86:[7, 28] Operation: 26+2=28
Exploring Operation: 26*2=52, Resulting Numbers: [7, 52]
Generated Node #0,4,3: 86:[7, 52] Operation: 26*2=52
Exploring Operation: 26+7=33, Resulting Numbers: [2, 33]
Generated Node #0,4,4: 86:[2, 33] Operation: 26+7=33
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 86:[2, 33], Operations: ['9-7=2', '26+7=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,86 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,86 unequal: No Solution
No 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: 86:[7, 52], Operations: ['9-7=2', '26*2=52']
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 7*52=364, Resulting Numbers: [364]
364,86 unequal: No Solution
Exploring Operation: 7+52=59, Resulting Numbers: [59]
59,86 unequal: No Solution
No 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: 86:[7, 13], Operations: ['9-7=2', '26/2=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,86 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,86 unequal: No Solution
No 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: 86:[2, 19], Operations: ['9-7=2', '26-7=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,86 unequal: No Solution
No 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: 86:[7, 28], Operations: ['9-7=2', '26+2=28']
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 7*28=196, Resulting Numbers: [196]
196,86 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,86 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 |
[
23,
21,
75,
61
] | 68 | [
"23-21=2",
"75+61=136",
"136/2=68"
] | Current State: 68:[23, 21, 75, 61], Operations: []
Exploring Operation: 23-21=2, Resulting Numbers: [75, 61, 2]
Generated Node #2: [75, 61, 2] from Operation: 23-21=2
Current State: 68:[75, 61, 2], Operations: ['23-21=2']
Exploring Operation: 75+61=136, Resulting Numbers: [2, 136]
Generated Node #3: [2, 136] from Operation: 75+61=136
Current State: 68:[2, 136], Operations: ['23-21=2', '75+61=136']
Exploring Operation: 136/2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[23, 21, 75, 61], Operations: []
Exploring Operation: 75-61=14, Resulting Numbers: [23, 21, 14]
Generated Node #0,0: 68:[23, 21, 14] Operation: 75-61=14
Exploring Operation: 61-23=38, Resulting Numbers: [21, 75, 38]
Generated Node #0,1: 68:[21, 75, 38] Operation: 61-23=38
Exploring Operation: 23-21=2, Resulting Numbers: [75, 61, 2]
Generated Node #0,2: 68:[75, 61, 2] Operation: 23-21=2
Moving to Node #0,0
Current State: 68:[23, 21, 14], Operations: ['75-61=14']
Exploring Operation: 23+14=37, Resulting Numbers: [21, 37]
Generated Node #0,0,0: 68:[21, 37] Operation: 23+14=37
Exploring Operation: 21+14=35, Resulting Numbers: [23, 35]
Generated Node #0,0,1: 68:[23, 35] Operation: 21+14=35
Exploring Operation: 23-21=2, Resulting Numbers: [14, 2]
Generated Node #0,0,2: 68:[14, 2] Operation: 23-21=2
Moving to Node #0,2
Current State: 68:[75, 61, 2], Operations: ['23-21=2']
Exploring Operation: 75-2=73, Resulting Numbers: [61, 73]
Generated Node #0,2,0: 68:[61, 73] Operation: 75-2=73
Exploring Operation: 75-61=14, Resulting Numbers: [2, 14]
Generated Node #0,2,1: 68:[2, 14] Operation: 75-61=14
Exploring Operation: 61+2=63, Resulting Numbers: [75, 63]
Generated Node #0,2,2: 68:[75, 63] Operation: 61+2=63
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 68:[2, 14], Operations: ['23-21=2', '75-61=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[61, 73], Operations: ['23-21=2', '75-2=73']
Exploring Operation: 61*73=4453, Resulting Numbers: [4453]
4453,68 unequal: No Solution
Exploring Operation: 73-61=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 61+73=134, Resulting Numbers: [134]
134,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 68:[75, 63], Operations: ['23-21=2', '61+2=63']
Exploring Operation: 75+63=138, Resulting Numbers: [138]
138,68 unequal: No Solution
Exploring Operation: 75*63=4725, Resulting Numbers: [4725]
4725,68 unequal: No Solution
Exploring Operation: 75-63=12, Resulting Numbers: [12]
12,68 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: 68:[21, 75, 38], Operations: ['61-23=38']
Exploring Operation: 21+38=59, Resulting Numbers: [75, 59]
Generated Node #0,1,0: 68:[75, 59] Operation: 21+38=59
Exploring Operation: 75-38=37, Resulting Numbers: [21, 37]
Generated Node #0,1,1: 68:[21, 37] Operation: 75-38=37
Exploring Operation: 38-21=17, Resulting Numbers: [75, 17]
Generated Node #0,1,2: 68:[75, 17] Operation: 38-21=17
Moving to Node #0,0,2
Current State: 68:[14, 2], Operations: ['75-61=14', '23-21=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[23, 35], Operations: ['75-61=14', '21+14=35']
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 23+35=58, Resulting Numbers: [58]
58,68 unequal: No Solution
Exploring Operation: 23*35=805, Resulting Numbers: [805]
805,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[21, 37], Operations: ['75-61=14', '23+14=37']
Exploring Operation: 21*37=777, Resulting Numbers: [777]
777,68 unequal: No Solution
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[21, 37], Operations: ['61-23=38', '75-38=37']
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 21*37=777, Resulting Numbers: [777]
777,68 unequal: No Solution
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[75, 17], Operations: ['61-23=38', '38-21=17']
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,68 unequal: No Solution
Exploring Operation: 75*17=1275, Resulting Numbers: [1275]
1275,68 unequal: No Solution
Exploring Operation: 75+17=92, Resulting Numbers: [92]
92,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[75, 59], Operations: ['61-23=38', '21+38=59']
Exploring Operation: 75-59=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 75+59=134, Resulting Numbers: [134]
134,68 unequal: No Solution
Exploring Operation: 75*59=4425, Resulting Numbers: [4425]
4425,68 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
49,
78,
35,
33
] | 39 | [
"78-49=29",
"35+33=68",
"68-29=39"
] | Current State: 39:[49, 78, 35, 33], Operations: []
Exploring Operation: 78-49=29, Resulting Numbers: [35, 33, 29]
Generated Node #2: [35, 33, 29] from Operation: 78-49=29
Current State: 39:[35, 33, 29], Operations: ['78-49=29']
Exploring Operation: 35+33=68, Resulting Numbers: [29, 68]
Generated Node #3: [29, 68] from Operation: 35+33=68
Current State: 39:[29, 68], Operations: ['78-49=29', '35+33=68']
Exploring Operation: 68-29=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[49, 78, 35, 33], Operations: []
Exploring Operation: 78-33=45, Resulting Numbers: [49, 35, 45]
Generated Node #0,0: 39:[49, 35, 45] Operation: 78-33=45
Exploring Operation: 78-35=43, Resulting Numbers: [49, 33, 43]
Generated Node #0,1: 39:[49, 33, 43] Operation: 78-35=43
Exploring Operation: 78-49=29, Resulting Numbers: [35, 33, 29]
Generated Node #0,2: 39:[35, 33, 29] Operation: 78-49=29
Moving to Node #0,0
Current State: 39:[49, 35, 45], Operations: ['78-33=45']
Exploring Operation: 49-45=4, Resulting Numbers: [35, 4]
Generated Node #0,0,0: 39:[35, 4] Operation: 49-45=4
Exploring Operation: 45-35=10, Resulting Numbers: [49, 10]
Generated Node #0,0,1: 39:[49, 10] Operation: 45-35=10
Exploring Operation: 49-35=14, Resulting Numbers: [45, 14]
Generated Node #0,0,2: 39:[45, 14] Operation: 49-35=14
Moving to Node #0,1
Current State: 39:[49, 33, 43], Operations: ['78-35=43']
Exploring Operation: 43-33=10, Resulting Numbers: [49, 10]
Generated Node #0,1,0: 39:[49, 10] Operation: 43-33=10
Exploring Operation: 49-43=6, Resulting Numbers: [33, 6]
Generated Node #0,1,1: 39:[33, 6] Operation: 49-43=6
Exploring Operation: 49-33=16, Resulting Numbers: [43, 16]
Generated Node #0,1,2: 39:[43, 16] Operation: 49-33=16
Moving to Node #0,2
Current State: 39:[35, 33, 29], Operations: ['78-49=29']
Exploring Operation: 35-33=2, Resulting Numbers: [29, 2]
Generated Node #0,2,0: 39:[29, 2] Operation: 35-33=2
Exploring Operation: 35-29=6, Resulting Numbers: [33, 6]
Generated Node #0,2,1: 39:[33, 6] Operation: 35-29=6
Exploring Operation: 33-29=4, Resulting Numbers: [35, 4]
Generated Node #0,2,2: 39:[35, 4] Operation: 33-29=4
Moving to Node #0,0,0
Current State: 39:[35, 4], Operations: ['78-33=45', '49-45=4']
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[49, 78, 35, 33], Operations: []
Exploring Operation: 78-33=45, Resulting Numbers: [49, 35, 45]
Generated Node #0,0: 39:[49, 35, 45] Operation: 78-33=45
Moving to Node #0,0
Current State: 39:[49, 35, 45], Operations: ['78-33=45']
Exploring Operation: 49-45=4, Resulting Numbers: [35, 4]
Generated Node #0,0,0: 39:[35, 4] Operation: 49-45=4
Moving to Node #0,0,0
Current State: 39:[35, 4], Operations: ['78-33=45', '49-45=4']
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.985243 | hs_3 | sum_heuristic |
[
16,
27,
21,
56
] | 12 | [
"16+56=72",
"27-21=6",
"72/6=12"
] | Current State: 12:[16, 27, 21, 56], Operations: []
Exploring Operation: 16+56=72, Resulting Numbers: [27, 21, 72]
Generated Node #2: [27, 21, 72] from Operation: 16+56=72
Current State: 12:[27, 21, 72], Operations: ['16+56=72']
Exploring Operation: 27-21=6, Resulting Numbers: [72, 6]
Generated Node #3: [72, 6] from Operation: 27-21=6
Current State: 12:[72, 6], Operations: ['16+56=72', '27-21=6']
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[16, 27, 21, 56], Operations: []
Exploring Operation: 56-27=29, Resulting Numbers: [16, 21, 29]
Generated Node #0,0: 12:[16, 21, 29] Operation: 56-27=29
Exploring Operation: 56-16=40, Resulting Numbers: [27, 21, 40]
Generated Node #0,1: 12:[27, 21, 40] Operation: 56-16=40
Exploring Operation: 27-21=6, Resulting Numbers: [16, 56, 6]
Generated Node #0,2: 12:[16, 56, 6] Operation: 27-21=6
Exploring Operation: 56-21=35, Resulting Numbers: [16, 27, 35]
Generated Node #0,3: 12:[16, 27, 35] Operation: 56-21=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[16, 21, 29], Operations: ['56-27=29']
Exploring Operation: 29-21=8, Resulting Numbers: [16, 8]
Generated Node #0,0,0: 12:[16, 8] Operation: 29-21=8
Exploring Operation: 21-16=5, Resulting Numbers: [29, 5]
Generated Node #0,0,1: 12:[29, 5] Operation: 21-16=5
Exploring Operation: 16+21=37, Resulting Numbers: [29, 37]
Generated Node #0,0,2: 12:[29, 37] Operation: 16+21=37
Exploring Operation: 29-16=13, Resulting Numbers: [21, 13]
Generated Node #0,0,3: 12:[21, 13] Operation: 29-16=13
Moving to Node #0,0,0
Current State: 12:[16, 8], Operations: ['56-27=29', '29-21=8']
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,12 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Moving to Node #0,0,3
Current State: 12:[21, 13], Operations: ['56-27=29', '29-16=13']
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,12 unequal: No Solution
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[29, 5], Operations: ['56-27=29', '21-16=5']
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,12 unequal: No Solution
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[29, 37], Operations: ['56-27=29', '16+21=37']
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,12 unequal: No Solution
Exploring Operation: 29*37=1073, Resulting Numbers: [1073]
1073,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[16, 27, 35], Operations: ['56-21=35']
Exploring Operation: 16+27=43, Resulting Numbers: [35, 43]
Generated Node #0,3,0: 12:[35, 43] Operation: 16+27=43
Exploring Operation: 35-27=8, Resulting Numbers: [16, 8]
Generated Node #0,3,1: 12:[16, 8] Operation: 35-27=8
Exploring Operation: 35-16=19, Resulting Numbers: [27, 19]
Generated Node #0,3,2: 12:[27, 19] Operation: 35-16=19
Exploring Operation: 27-16=11, Resulting Numbers: [35, 11]
Generated Node #0,3,3: 12:[35, 11] Operation: 27-16=11
Moving to Node #0,3,1
Current State: 12:[16, 8], Operations: ['56-21=35', '35-27=8']
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,12 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Moving to Node #0,3,2
Current State: 12:[27, 19], Operations: ['56-21=35', '35-16=19']
Exploring Operation: 27*19=513, Resulting Numbers: [513]
513,12 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,12 unequal: No Solution
Moving to Node #0,3,3
Current State: 12:[35, 11], Operations: ['56-21=35', '27-16=11']
Exploring Operation: 35*11=385, Resulting Numbers: [385]
385,12 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 35+11=46, Resulting Numbers: [46]
46,12 unequal: No Solution
Moving to Node #0,3,0
Current State: 12:[35, 43], Operations: ['56-21=35', '16+27=43']
Exploring Operation: 35*43=1505, Resulting Numbers: [1505]
1505,12 unequal: No Solution
Exploring Operation: 35+43=78, Resulting Numbers: [78]
78,12 unequal: No Solution
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[16, 56, 6], Operations: ['27-21=6']
Exploring Operation: 16+6=22, Resulting Numbers: [56, 22]
Generated Node #0,2,0: 12:[56, 22] Operation: 16+6=22
Exploring Operation: 56-16=40, Resulting Numbers: [6, 40]
Generated Node #0,2,1: 12:[6, 40] Operation: 56-16=40
Exploring Operation: 16-6=10, Resulting Numbers: [56, 10]
Generated Node #0,2,2: 12:[56, 10] Operation: 16-6=10
Exploring Operation: 56-6=50, Resulting Numbers: [16, 50]
Generated Node #0,2,3: 12:[16, 50] Operation: 56-6=50
Moving to Node #0,2,1
Current State: 12:[6, 40], Operations: ['27-21=6', '56-16=40']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,12 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,12 unequal: No Solution
Moving to Node #0,2,3
Current State: 12:[16, 50], Operations: ['27-21=6', '56-6=50']
Exploring Operation: 16+50=66, Resulting Numbers: [66]
66,12 unequal: No Solution
Exploring Operation: 16*50=800, Resulting Numbers: [800]
800,12 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[56, 10], Operations: ['27-21=6', '16-6=10']
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,12 unequal: No Solution
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,12 unequal: No Solution
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[56, 22], Operations: ['27-21=6', '16+6=22']
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Exploring Operation: 56*22=1232, Resulting Numbers: [1232]
1232,12 unequal: No Solution
Exploring Operation: 56+22=78, Resulting Numbers: [78]
78,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[27, 21, 40], Operations: ['56-16=40']
Exploring Operation: 40-21=19, Resulting Numbers: [27, 19]
Generated Node #0,1,0: 12:[27, 19] Operation: 40-21=19
Exploring Operation: 27+21=48, Resulting Numbers: [40, 48]
Generated Node #0,1,1: 12:[40, 48] Operation: 27+21=48
Exploring Operation: 27-21=6, Resulting Numbers: [40, 6]
Generated Node #0,1,2: 12:[40, 6] Operation: 27-21=6
Exploring Operation: 40-27=13, Resulting Numbers: [21, 13]
Generated Node #0,1,3: 12:[21, 13] Operation: 40-27=13
Moving to Node #0,1,3
Current State: 12:[21, 13], Operations: ['56-16=40', '40-27=13']
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,12 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[27, 19], Operations: ['56-16=40', '40-21=19']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,12 unequal: No Solution
Exploring Operation: 27*19=513, Resulting Numbers: [513]
513,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[40, 6], Operations: ['56-16=40', '27-21=6']
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,12 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[40, 48], Operations: ['56-16=40', '27+21=48']
Exploring Operation: 40+48=88, Resulting Numbers: [88]
88,12 unequal: No Solution
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 40*48=1920, Resulting Numbers: [1920]
1920,12 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 |
[
91,
86,
13,
43
] | 35 | [
"91-86=5",
"43-13=30",
"5+30=35"
] | Current State: 35:[91, 86, 13, 43], Operations: []
Exploring Operation: 91-86=5, Resulting Numbers: [13, 43, 5]
Generated Node #2: [13, 43, 5] from Operation: 91-86=5
Current State: 35:[13, 43, 5], Operations: ['91-86=5']
Exploring Operation: 43-13=30, Resulting Numbers: [5, 30]
Generated Node #3: [5, 30] from Operation: 43-13=30
Current State: 35:[5, 30], Operations: ['91-86=5', '43-13=30']
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[91, 86, 13, 43], Operations: []
Exploring Operation: 91-86=5, Resulting Numbers: [13, 43, 5]
Generated Node #0,0: 35:[13, 43, 5] Operation: 91-86=5
Exploring Operation: 86-43=43, Resulting Numbers: [91, 13, 43]
Generated Node #0,1: 35:[91, 13, 43] Operation: 86-43=43
Exploring Operation: 86/43=2, Resulting Numbers: [91, 13, 2]
Generated Node #0,2: 35:[91, 13, 2] Operation: 86/43=2
Exploring Operation: 91-43=48, Resulting Numbers: [86, 13, 48]
Generated Node #0,3: 35:[86, 13, 48] Operation: 91-43=48
Exploring Operation: 91/13=7, Resulting Numbers: [86, 43, 7]
Generated Node #0,4: 35:[86, 43, 7] Operation: 91/13=7
Moving to Node #0,0
Current State: 35:[13, 43, 5], Operations: ['91-86=5']
Exploring Operation: 13+5=18, Resulting Numbers: [43, 18]
Generated Node #0,0,0: 35:[43, 18] Operation: 13+5=18
Exploring Operation: 43+5=48, Resulting Numbers: [13, 48]
Generated Node #0,0,1: 35:[13, 48] Operation: 43+5=48
Exploring Operation: 43-13=30, Resulting Numbers: [5, 30]
Generated Node #0,0,2: 35:[5, 30] Operation: 43-13=30
Exploring Operation: 43-5=38, Resulting Numbers: [13, 38]
Generated Node #0,0,3: 35:[13, 38] Operation: 43-5=38
Exploring Operation: 13-5=8, Resulting Numbers: [43, 8]
Generated Node #0,0,4: 35:[43, 8] Operation: 13-5=8
Moving to Node #0,4
Current State: 35:[86, 43, 7], Operations: ['91/13=7']
Exploring Operation: 43-7=36, Resulting Numbers: [86, 36]
Generated Node #0,4,0: 35:[86, 36] Operation: 43-7=36
Exploring Operation: 86+7=93, Resulting Numbers: [43, 93]
Generated Node #0,4,1: 35:[43, 93] Operation: 86+7=93
Exploring Operation: 86/43=2, Resulting Numbers: [7, 2]
Generated Node #0,4,2: 35:[7, 2] Operation: 86/43=2
Exploring Operation: 86-7=79, Resulting Numbers: [43, 79]
Generated Node #0,4,3: 35:[43, 79] Operation: 86-7=79
Exploring Operation: 86-43=43, Resulting Numbers: [7, 43]
Generated Node #0,4,4: 35:[7, 43] Operation: 86-43=43
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 35:[7, 2], Operations: ['91/13=7', '86/43=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 35:[7, 43], Operations: ['91/13=7', '86-43=43']
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,35 unequal: No Solution
No 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: 35:[86, 36], Operations: ['91/13=7', '43-7=36']
Exploring Operation: 86*36=3096, Resulting Numbers: [3096]
3096,35 unequal: No Solution
Exploring Operation: 86-36=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 86+36=122, Resulting Numbers: [122]
122,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 35:[43, 79], Operations: ['91/13=7', '86-7=79']
Exploring Operation: 43+79=122, Resulting Numbers: [122]
122,35 unequal: No Solution
Exploring Operation: 43*79=3397, Resulting Numbers: [3397]
3397,35 unequal: No Solution
Exploring Operation: 79-43=36, Resulting Numbers: [36]
36,35 unequal: No Solution
No 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: 35:[43, 93], Operations: ['91/13=7', '86+7=93']
Exploring Operation: 43+93=136, Resulting Numbers: [136]
136,35 unequal: No Solution
Exploring Operation: 43*93=3999, Resulting Numbers: [3999]
3999,35 unequal: No Solution
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,35 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: 35:[91, 13, 2], Operations: ['86/43=2']
Exploring Operation: 13-2=11, Resulting Numbers: [91, 11]
Generated Node #0,2,0: 35:[91, 11] Operation: 13-2=11
Exploring Operation: 91+2=93, Resulting Numbers: [13, 93]
Generated Node #0,2,1: 35:[13, 93] Operation: 91+2=93
Exploring Operation: 91-13=78, Resulting Numbers: [2, 78]
Generated Node #0,2,2: 35:[2, 78] Operation: 91-13=78
Exploring Operation: 91-2=89, Resulting Numbers: [13, 89]
Generated Node #0,2,3: 35:[13, 89] Operation: 91-2=89
Exploring Operation: 91/13=7, Resulting Numbers: [2, 7]
Generated Node #0,2,4: 35:[2, 7] Operation: 91/13=7
Moving to Node #0,1
Current State: 35:[91, 13, 43], Operations: ['86-43=43']
Exploring Operation: 91-13=78, Resulting Numbers: [43, 78]
Generated Node #0,1,0: 35:[43, 78] Operation: 91-13=78
Exploring Operation: 91/13=7, Resulting Numbers: [43, 7]
Generated Node #0,1,1: 35:[43, 7] Operation: 91/13=7
Exploring Operation: 91-43=48, Resulting Numbers: [13, 48]
Generated Node #0,1,2: 35:[13, 48] Operation: 91-43=48
Exploring Operation: 91+13=104, Resulting Numbers: [43, 104]
Generated Node #0,1,3: 35:[43, 104] Operation: 91+13=104
Exploring Operation: 43-13=30, Resulting Numbers: [91, 30]
Generated Node #0,1,4: 35:[91, 30] Operation: 43-13=30
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[43, 7], Operations: ['86-43=43', '91/13=7']
Exploring Operation: 43*7=301, Resulting Numbers: [301]
301,35 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 43+7=50, Resulting Numbers: [50]
50,35 unequal: No Solution
No 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: 35:[13, 48], Operations: ['86-43=43', '91-43=48']
Exploring Operation: 13*48=624, Resulting Numbers: [624]
624,35 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[91, 86, 13, 43], Operations: []
Exploring Operation: 86-43=43, Resulting Numbers: [91, 13, 43]
Generated Node #0,1: 35:[91, 13, 43] Operation: 86-43=43
Moving to Node #0,1
Current State: 35:[91, 13, 43], Operations: ['86-43=43']
Exploring Operation: 91-43=48, Resulting Numbers: [13, 48]
Generated Node #0,1,2: 35:[13, 48] Operation: 91-43=48
Moving to Node #0,1,2
Current State: 35:[13, 48], Operations: ['86-43=43', '91-43=48']
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465 | hs_5 | mult_heuristic |
[
68,
78,
4,
94
] | 21 | [
"78-68=10",
"94-10=84",
"84/4=21"
] | Current State: 21:[68, 78, 4, 94], Operations: []
Exploring Operation: 78-68=10, Resulting Numbers: [4, 94, 10]
Generated Node #2: [4, 94, 10] from Operation: 78-68=10
Current State: 21:[4, 94, 10], Operations: ['78-68=10']
Exploring Operation: 94-10=84, Resulting Numbers: [4, 84]
Generated Node #3: [4, 84] from Operation: 94-10=84
Current State: 21:[4, 84], Operations: ['78-68=10', '94-10=84']
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[68, 78, 4, 94], Operations: []
Exploring Operation: 94-78=16, Resulting Numbers: [68, 4, 16]
Generated Node #0,0: 21:[68, 4, 16] Operation: 94-78=16
Exploring Operation: 94-68=26, Resulting Numbers: [78, 4, 26]
Generated Node #0,1: 21:[78, 4, 26] Operation: 94-68=26
Moving to Node #0,0
Current State: 21:[68, 4, 16], Operations: ['94-78=16']
Exploring Operation: 68-16=52, Resulting Numbers: [4, 52]
Generated Node #0,0,0: 21:[4, 52] Operation: 68-16=52
Exploring Operation: 68/4=17, Resulting Numbers: [16, 17]
Generated Node #0,0,1: 21:[16, 17] Operation: 68/4=17
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 21:[16, 17], Operations: ['94-78=16', '68/4=17']
Exploring Operation: 16+17=33, Resulting Numbers: [33]
33,21 unequal: No Solution
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[4, 52], Operations: ['94-78=16', '68-16=52']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,21 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,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:[78, 4, 26], Operations: ['94-68=26']
Exploring Operation: 78-26=52, Resulting Numbers: [4, 52]
Generated Node #0,1,0: 21:[4, 52] Operation: 78-26=52
Exploring Operation: 78/26=3, Resulting Numbers: [4, 3]
Generated Node #0,1,1: 21:[4, 3] Operation: 78/26=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 21:[4, 3], Operations: ['94-68=26', '78/26=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[4, 52], Operations: ['94-68=26', '78-26=52']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,21 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 |
[
18,
28,
28,
36
] | 63 | [
"18*28=504",
"36-28=8",
"504/8=63"
] | Current State: 63:[18, 28, 28, 36], Operations: []
Exploring Operation: 18*28=504, Resulting Numbers: [36, 504]
Generated Node #2: [36, 504] from Operation: 18*28=504
Current State: 63:[36, 504], Operations: ['18*28=504']
Exploring Operation: 36-28=8, Resulting Numbers: [504, 8]
Generated Node #3: [504, 8] from Operation: 36-28=8
Current State: 63:[504, 8], Operations: ['18*28=504', '36-28=8']
Exploring Operation: 504/8=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[18, 28, 28, 36], Operations: []
Exploring Operation: 36-28=8, Resulting Numbers: [18, 28, 8]
Generated Node #0,0: 63:[18, 28, 8] Operation: 36-28=8
Exploring Operation: 36/18=2, Resulting Numbers: [28, 28, 2]
Generated Node #0,1: 63:[28, 28, 2] Operation: 36/18=2
Exploring Operation: 28+36=64, Resulting Numbers: [18, 28, 64]
Generated Node #0,2: 63:[18, 28, 64] Operation: 28+36=64
Exploring Operation: 28+36=64, Resulting Numbers: [18, 28, 64]
Generated Node #0,3: 63:[18, 28, 64] Operation: 28+36=64
Exploring Operation: 36-28=8, Resulting Numbers: [18, 28, 8]
Generated Node #0,4: 63:[18, 28, 8] Operation: 36-28=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[18, 28, 8], Operations: ['36-28=8']
Exploring Operation: 18+28=46, Resulting Numbers: [8, 46]
Generated Node #0,0,0: 63:[8, 46] Operation: 18+28=46
Exploring Operation: 28-8=20, Resulting Numbers: [18, 20]
Generated Node #0,0,1: 63:[18, 20] Operation: 28-8=20
Exploring Operation: 18-8=10, Resulting Numbers: [28, 10]
Generated Node #0,0,2: 63:[28, 10] Operation: 18-8=10
Exploring Operation: 18+8=26, Resulting Numbers: [28, 26]
Generated Node #0,0,3: 63:[28, 26] Operation: 18+8=26
Exploring Operation: 28-18=10, Resulting Numbers: [8, 10]
Generated Node #0,0,4: 63:[8, 10] Operation: 28-18=10
Moving to Node #0,0,4
Current State: 63:[8, 10], Operations: ['36-28=8', '28-18=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[18, 20], Operations: ['36-28=8', '28-8=20']
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,63 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[28, 10], Operations: ['36-28=8', '18-8=10']
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,63 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Moving to Node #0,0,3
Current State: 63:[28, 26], Operations: ['36-28=8', '18+8=26']
Exploring Operation: 28*26=728, Resulting Numbers: [728]
728,63 unequal: No Solution
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[8, 46], Operations: ['36-28=8', '18+28=46']
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,63 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,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
Current State: 63:[18, 28, 64], Operations: ['28+36=64']
Exploring Operation: 18+28=46, Resulting Numbers: [64, 46]
Generated Node #0,2,0: 63:[64, 46] Operation: 18+28=46
Exploring Operation: 18+64=82, Resulting Numbers: [28, 82]
Generated Node #0,2,1: 63:[28, 82] Operation: 18+64=82
Exploring Operation: 28-18=10, Resulting Numbers: [64, 10]
Generated Node #0,2,2: 63:[64, 10] Operation: 28-18=10
Exploring Operation: 64-28=36, Resulting Numbers: [18, 36]
Generated Node #0,2,3: 63:[18, 36] Operation: 64-28=36
Exploring Operation: 64-18=46, Resulting Numbers: [28, 46]
Generated Node #0,2,4: 63:[28, 46] Operation: 64-18=46
Moving to Node #0,2,2
Current State: 63:[64, 10], Operations: ['28+36=64', '28-18=10']
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 64*10=640, Resulting Numbers: [640]
640,63 unequal: No Solution
Exploring Operation: 64+10=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Moving to Node #0,2,3
Current State: 63:[18, 36], Operations: ['28+36=64', '64-28=36']
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 18*36=648, Resulting Numbers: [648]
648,63 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[64, 46], Operations: ['28+36=64', '18+28=46']
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 64*46=2944, Resulting Numbers: [2944]
2944,63 unequal: No Solution
Exploring Operation: 64+46=110, Resulting Numbers: [110]
110,63 unequal: No Solution
Moving to Node #0,2,4
Current State: 63:[28, 46], Operations: ['28+36=64', '64-18=46']
Exploring Operation: 28+46=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 28*46=1288, Resulting Numbers: [1288]
1288,63 unequal: No Solution
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[28, 82], Operations: ['28+36=64', '18+64=82']
Exploring Operation: 28+82=110, Resulting Numbers: [110]
110,63 unequal: No Solution
Exploring Operation: 28*82=2296, Resulting Numbers: [2296]
2296,63 unequal: No Solution
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,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
Current State: 63:[18, 28, 64], Operations: ['28+36=64']
Exploring Operation: 18+28=46, Resulting Numbers: [64, 46]
Generated Node #0,3,0: 63:[64, 46] Operation: 18+28=46
Exploring Operation: 64-18=46, Resulting Numbers: [28, 46]
Generated Node #0,3,1: 63:[28, 46] Operation: 64-18=46
Exploring Operation: 18+64=82, Resulting Numbers: [28, 82]
Generated Node #0,3,2: 63:[28, 82] Operation: 18+64=82
Exploring Operation: 64-28=36, Resulting Numbers: [18, 36]
Generated Node #0,3,3: 63:[18, 36] Operation: 64-28=36
Exploring Operation: 28-18=10, Resulting Numbers: [64, 10]
Generated Node #0,3,4: 63:[64, 10] Operation: 28-18=10
Moving to Node #0,3,4
Current State: 63:[64, 10], Operations: ['28+36=64', '28-18=10']
Exploring Operation: 64*10=640, Resulting Numbers: [640]
640,63 unequal: No Solution
Exploring Operation: 64+10=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Moving to Node #0,3,3
Current State: 63:[18, 36], Operations: ['28+36=64', '64-28=36']
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 18*36=648, Resulting Numbers: [648]
648,63 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Moving to Node #0,3,0
Current State: 63:[64, 46], Operations: ['28+36=64', '18+28=46']
Exploring Operation: 64*46=2944, Resulting Numbers: [2944]
2944,63 unequal: No Solution
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 64+46=110, Resulting Numbers: [110]
110,63 unequal: No Solution
Moving to Node #0,3,1
Current State: 63:[28, 46], Operations: ['28+36=64', '64-18=46']
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 28+46=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 28*46=1288, Resulting Numbers: [1288]
1288,63 unequal: No Solution
Moving to Node #0,3,2
Current State: 63:[28, 82], Operations: ['28+36=64', '18+64=82']
Exploring Operation: 28*82=2296, Resulting Numbers: [2296]
2296,63 unequal: No Solution
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 28+82=110, Resulting Numbers: [110]
110,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,4
Current State: 63:[18, 28, 8], Operations: ['36-28=8']
Exploring Operation: 28-18=10, Resulting Numbers: [8, 10]
Generated Node #0,4,0: 63:[8, 10] Operation: 28-18=10
Exploring Operation: 28-8=20, Resulting Numbers: [18, 20]
Generated Node #0,4,1: 63:[18, 20] Operation: 28-8=20
Exploring Operation: 18+8=26, Resulting Numbers: [28, 26]
Generated Node #0,4,2: 63:[28, 26] Operation: 18+8=26
Exploring Operation: 18-8=10, Resulting Numbers: [28, 10]
Generated Node #0,4,3: 63:[28, 10] Operation: 18-8=10
Exploring Operation: 18+28=46, Resulting Numbers: [8, 46]
Generated Node #0,4,4: 63:[8, 46] Operation: 18+28=46
Moving to Node #0,4,0
Current State: 63:[8, 10], Operations: ['36-28=8', '28-18=10']
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,63 unequal: No Solution
Moving to Node #0,4,1
Current State: 63:[18, 20], Operations: ['36-28=8', '28-8=20']
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,63 unequal: No Solution
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Moving to Node #0,4,3
Current State: 63:[28, 10], Operations: ['36-28=8', '18-8=10']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,63 unequal: No Solution
Moving to Node #0,4,2
Current State: 63:[28, 26], Operations: ['36-28=8', '18+8=26']
Exploring Operation: 28*26=728, Resulting Numbers: [728]
728,63 unequal: No Solution
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Moving to Node #0,4,4
Current State: 63:[8, 46], Operations: ['36-28=8', '18+28=46']
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,63 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,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
Current State: 63:[28, 28, 2], Operations: ['36/18=2']
Exploring Operation: 28-28=0, Resulting Numbers: [2, 0]
Generated Node #0,1,0: 63:[2, 0] Operation: 28-28=0
Exploring Operation: 28/2=14, Resulting Numbers: [28, 14]
Generated Node #0,1,1: 63:[28, 14] Operation: 28/2=14
Exploring Operation: 28-2=26, Resulting Numbers: [28, 26]
Generated Node #0,1,2: 63:[28, 26] Operation: 28-2=26
Exploring Operation: 28/28=1, Resulting Numbers: [2, 1]
Generated Node #0,1,3: 63:[2, 1] Operation: 28/28=1
Exploring Operation: 28+28=56, Resulting Numbers: [2, 56]
Generated Node #0,1,4: 63:[2, 56] Operation: 28+28=56
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 63:[2, 1], Operations: ['36/18=2', '28/28=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 63:[2, 0], Operations: ['36/18=2', '28-28=0']
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 2+0=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 2*0=0, Resulting Numbers: [0]
0,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 63:[2, 56], Operations: ['36/18=2', '28+28=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,63 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 63:[28, 14], Operations: ['36/18=2', '28/2=14']
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 28*14=392, Resulting Numbers: [392]
392,63 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 28+14=42, Resulting Numbers: [42]
42,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 63:[28, 26], Operations: ['36/18=2', '28-2=26']
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 28*26=728, Resulting Numbers: [728]
728,63 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
44,
22,
1,
17
] | 48 | [
"44+22=66",
"1+17=18",
"66-18=48"
] | Current State: 48:[44, 22, 1, 17], Operations: []
Exploring Operation: 44+22=66, Resulting Numbers: [1, 17, 66]
Generated Node #2: [1, 17, 66] from Operation: 44+22=66
Current State: 48:[1, 17, 66], Operations: ['44+22=66']
Exploring Operation: 1+17=18, Resulting Numbers: [66, 18]
Generated Node #3: [66, 18] from Operation: 1+17=18
Current State: 48:[66, 18], Operations: ['44+22=66', '1+17=18']
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[44, 22, 1, 17], Operations: []
Exploring Operation: 44-22=22, Resulting Numbers: [1, 17, 22]
Generated Node #0,0: 48:[1, 17, 22] Operation: 44-22=22
Exploring Operation: 44/22=2, Resulting Numbers: [1, 17, 2]
Generated Node #0,1: 48:[1, 17, 2] Operation: 44/22=2
Exploring Operation: 44+1=45, Resulting Numbers: [22, 17, 45]
Generated Node #0,2: 48:[22, 17, 45] Operation: 44+1=45
Exploring Operation: 44-17=27, Resulting Numbers: [22, 1, 27]
Generated Node #0,3: 48:[22, 1, 27] Operation: 44-17=27
Moving to Node #0,1
Current State: 48:[1, 17, 2], Operations: ['44/22=2']
Exploring Operation: 17/1=17, Resulting Numbers: [2, 17]
Generated Node #0,1,0: 48:[2, 17] Operation: 17/1=17
Exploring Operation: 17-1=16, Resulting Numbers: [2, 16]
Generated Node #0,1,1: 48:[2, 16] Operation: 17-1=16
Exploring Operation: 1*17=17, Resulting Numbers: [2, 17]
Generated Node #0,1,2: 48:[2, 17] Operation: 1*17=17
Exploring Operation: 1+2=3, Resulting Numbers: [17, 3]
Generated Node #0,1,3: 48:[17, 3] Operation: 1+2=3
Moving to Node #0,0
Current State: 48:[1, 17, 22], Operations: ['44-22=22']
Exploring Operation: 1+22=23, Resulting Numbers: [17, 23]
Generated Node #0,0,0: 48:[17, 23] Operation: 1+22=23
Exploring Operation: 17-1=16, Resulting Numbers: [22, 16]
Generated Node #0,0,1: 48:[22, 16] Operation: 17-1=16
Exploring Operation: 1*17=17, Resulting Numbers: [22, 17]
Generated Node #0,0,2: 48:[22, 17] Operation: 1*17=17
Exploring Operation: 22-17=5, Resulting Numbers: [1, 5]
Generated Node #0,0,3: 48:[1, 5] Operation: 22-17=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[17, 23], Operations: ['44-22=22', '1+22=23']
Exploring Operation: 17*23=391, Resulting Numbers: [391]
391,48 unequal: No Solution
Exploring Operation: 17+23=40, Resulting Numbers: [40]
40,48 unequal: No Solution
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[22, 16], Operations: ['44-22=22', '17-1=16']
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,48 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 48:[1, 5], Operations: ['44-22=22', '22-17=5']
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 48:[22, 17], Operations: ['44-22=22', '1*17=17']
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,48 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,48 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: 48:[22, 1, 27], Operations: ['44-17=27']
Exploring Operation: 27-1=26, Resulting Numbers: [22, 26]
Generated Node #0,3,0: 48:[22, 26] Operation: 27-1=26
Exploring Operation: 22+1=23, Resulting Numbers: [27, 23]
Generated Node #0,3,1: 48:[27, 23] Operation: 22+1=23
Exploring Operation: 27-22=5, Resulting Numbers: [1, 5]
Generated Node #0,3,2: 48:[1, 5] Operation: 27-22=5
Exploring Operation: 22+27=49, Resulting Numbers: [1, 49]
Generated Node #0,3,3: 48:[1, 49] Operation: 22+27=49
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 48:[1, 5], Operations: ['44-17=27', '27-22=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 48:[1, 49], Operations: ['44-17=27', '22+27=49']
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,48 unequal: No Solution
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[44, 22, 1, 17], Operations: []
Exploring Operation: 44-17=27, Resulting Numbers: [22, 1, 27]
Generated Node #0,3: 48:[22, 1, 27] Operation: 44-17=27
Moving to Node #0,3
Current State: 48:[22, 1, 27], Operations: ['44-17=27']
Exploring Operation: 22+27=49, Resulting Numbers: [1, 49]
Generated Node #0,3,3: 48:[1, 49] Operation: 22+27=49
Moving to Node #0,3,3
Current State: 48:[1, 49], Operations: ['44-17=27', '22+27=49']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_4 | sum_heuristic |
[
91,
77,
29,
16
] | 27 | [
"91-77=14",
"29-16=13",
"14+13=27"
] | Current State: 27:[91, 77, 29, 16], Operations: []
Exploring Operation: 91-77=14, Resulting Numbers: [29, 16, 14]
Generated Node #2: [29, 16, 14] from Operation: 91-77=14
Current State: 27:[29, 16, 14], Operations: ['91-77=14']
Exploring Operation: 29-16=13, Resulting Numbers: [14, 13]
Generated Node #3: [14, 13] from Operation: 29-16=13
Current State: 27:[14, 13], Operations: ['91-77=14', '29-16=13']
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[91, 77, 29, 16], Operations: []
Exploring Operation: 91-16=75, Resulting Numbers: [77, 29, 75]
Generated Node #0,0: 27:[77, 29, 75] Operation: 91-16=75
Exploring Operation: 77-29=48, Resulting Numbers: [91, 16, 48]
Generated Node #0,1: 27:[91, 16, 48] Operation: 77-29=48
Exploring Operation: 91-29=62, Resulting Numbers: [77, 16, 62]
Generated Node #0,2: 27:[77, 16, 62] Operation: 91-29=62
Exploring Operation: 91-77=14, Resulting Numbers: [29, 16, 14]
Generated Node #0,3: 27:[29, 16, 14] Operation: 91-77=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 27:[29, 16, 14], Operations: ['91-77=14']
Exploring Operation: 16-14=2, Resulting Numbers: [29, 2]
Generated Node #0,3,0: 27:[29, 2] Operation: 16-14=2
Exploring Operation: 29-16=13, Resulting Numbers: [14, 13]
Generated Node #0,3,1: 27:[14, 13] Operation: 29-16=13
Exploring Operation: 29-14=15, Resulting Numbers: [16, 15]
Generated Node #0,3,2: 27:[16, 15] Operation: 29-14=15
Exploring Operation: 16+14=30, Resulting Numbers: [29, 30]
Generated Node #0,3,3: 27:[29, 30] Operation: 16+14=30
Moving to Node #0,3,0
Current State: 27:[29, 2], Operations: ['91-77=14', '16-14=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[91, 77, 29, 16], Operations: []
Exploring Operation: 91-77=14, Resulting Numbers: [29, 16, 14]
Generated Node #0,3: 27:[29, 16, 14] Operation: 91-77=14
Moving to Node #0,3
Current State: 27:[29, 16, 14], Operations: ['91-77=14']
Exploring Operation: 16-14=2, Resulting Numbers: [29, 2]
Generated Node #0,3,0: 27:[29, 2] Operation: 16-14=2
Moving to Node #0,3,0
Current State: 27:[29, 2], Operations: ['91-77=14', '16-14=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
89,
57,
52,
33
] | 51 | [
"89-57=32",
"52-33=19",
"32+19=51"
] | Current State: 51:[89, 57, 52, 33], Operations: []
Exploring Operation: 89-57=32, Resulting Numbers: [52, 33, 32]
Generated Node #2: [52, 33, 32] from Operation: 89-57=32
Current State: 51:[52, 33, 32], Operations: ['89-57=32']
Exploring Operation: 52-33=19, Resulting Numbers: [32, 19]
Generated Node #3: [32, 19] from Operation: 52-33=19
Current State: 51:[32, 19], Operations: ['89-57=32', '52-33=19']
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[89, 57, 52, 33], Operations: []
Exploring Operation: 89-33=56, Resulting Numbers: [57, 52, 56]
Generated Node #0,0: 51:[57, 52, 56] Operation: 89-33=56
Exploring Operation: 89-52=37, Resulting Numbers: [57, 33, 37]
Generated Node #0,1: 51:[57, 33, 37] Operation: 89-52=37
Exploring Operation: 89-57=32, Resulting Numbers: [52, 33, 32]
Generated Node #0,2: 51:[52, 33, 32] Operation: 89-57=32
Moving to Node #0,0
Current State: 51:[57, 52, 56], Operations: ['89-33=56']
Exploring Operation: 57-52=5, Resulting Numbers: [56, 5]
Generated Node #0,0,0: 51:[56, 5] Operation: 57-52=5
Exploring Operation: 56-52=4, Resulting Numbers: [57, 4]
Generated Node #0,0,1: 51:[57, 4] Operation: 56-52=4
Exploring Operation: 57-56=1, Resulting Numbers: [52, 1]
Generated Node #0,0,2: 51:[52, 1] Operation: 57-56=1
Moving to Node #0,2
Current State: 51:[52, 33, 32], Operations: ['89-57=32']
Exploring Operation: 33-32=1, Resulting Numbers: [52, 1]
Generated Node #0,2,0: 51:[52, 1] Operation: 33-32=1
Exploring Operation: 52-33=19, Resulting Numbers: [32, 19]
Generated Node #0,2,1: 51:[32, 19] Operation: 52-33=19
Exploring Operation: 33+32=65, Resulting Numbers: [52, 65]
Generated Node #0,2,2: 51:[52, 65] Operation: 33+32=65
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[52, 1], Operations: ['89-57=32', '33-32=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[89, 57, 52, 33], Operations: []
Exploring Operation: 89-57=32, Resulting Numbers: [52, 33, 32]
Generated Node #0,2: 51:[52, 33, 32] Operation: 89-57=32
Moving to Node #0,2
Current State: 51:[52, 33, 32], Operations: ['89-57=32']
Exploring Operation: 33-32=1, Resulting Numbers: [52, 1]
Generated Node #0,2,0: 51:[52, 1] Operation: 33-32=1
Moving to Node #0,2,0
Current State: 51:[52, 1], Operations: ['89-57=32', '33-32=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
12,
13,
36,
66
] | 77 | [
"12+13=25",
"36+66=102",
"102-25=77"
] | Current State: 77:[12, 13, 36, 66], Operations: []
Exploring Operation: 12+13=25, Resulting Numbers: [36, 66, 25]
Generated Node #2: [36, 66, 25] from Operation: 12+13=25
Current State: 77:[36, 66, 25], Operations: ['12+13=25']
Exploring Operation: 36+66=102, Resulting Numbers: [25, 102]
Generated Node #3: [25, 102] from Operation: 36+66=102
Current State: 77:[25, 102], Operations: ['12+13=25', '36+66=102']
Exploring Operation: 102-25=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[12, 13, 36, 66], Operations: []
Exploring Operation: 36-12=24, Resulting Numbers: [13, 66, 24]
Generated Node #0,0: 77:[13, 66, 24] Operation: 36-12=24
Exploring Operation: 36-13=23, Resulting Numbers: [12, 66, 23]
Generated Node #0,1: 77:[12, 66, 23] Operation: 36-13=23
Exploring Operation: 36/12=3, Resulting Numbers: [13, 66, 3]
Generated Node #0,2: 77:[13, 66, 3] Operation: 36/12=3
Exploring Operation: 66-36=30, Resulting Numbers: [12, 13, 30]
Generated Node #0,3: 77:[12, 13, 30] Operation: 66-36=30
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[13, 66, 3], Operations: ['36/12=3']
Exploring Operation: 66/3=22, Resulting Numbers: [13, 22]
Generated Node #0,2,0: 77:[13, 22] Operation: 66/3=22
Exploring Operation: 66+3=69, Resulting Numbers: [13, 69]
Generated Node #0,2,1: 77:[13, 69] Operation: 66+3=69
Exploring Operation: 13-3=10, Resulting Numbers: [66, 10]
Generated Node #0,2,2: 77:[66, 10] Operation: 13-3=10
Exploring Operation: 13+66=79, Resulting Numbers: [3, 79]
Generated Node #0,2,3: 77:[3, 79] Operation: 13+66=79
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 77:[3, 79], Operations: ['36/12=3', '13+66=79']
Exploring Operation: 3+79=82, Resulting Numbers: [82]
82,77 unequal: No Solution
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Exploring Operation: 3*79=237, Resulting Numbers: [237]
237,77 unequal: No Solution
No 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: 77:[13, 69], Operations: ['36/12=3', '66+3=69']
Exploring Operation: 13+69=82, Resulting Numbers: [82]
82,77 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,77 unequal: No Solution
Exploring Operation: 13*69=897, Resulting Numbers: [897]
897,77 unequal: No Solution
No 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: 77:[66, 10], Operations: ['36/12=3', '13-3=10']
Exploring Operation: 66*10=660, Resulting Numbers: [660]
660,77 unequal: No Solution
Exploring Operation: 66+10=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Exploring Operation: 66-10=56, Resulting Numbers: [56]
56,77 unequal: No Solution
No 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: 77:[13, 22], Operations: ['36/12=3', '66/3=22']
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,77 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,77 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,77 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: 77:[12, 13, 30], Operations: ['66-36=30']
Exploring Operation: 30-13=17, Resulting Numbers: [12, 17]
Generated Node #0,3,0: 77:[12, 17] Operation: 30-13=17
Exploring Operation: 12+13=25, Resulting Numbers: [30, 25]
Generated Node #0,3,1: 77:[30, 25] Operation: 12+13=25
Exploring Operation: 13-12=1, Resulting Numbers: [30, 1]
Generated Node #0,3,2: 77:[30, 1] Operation: 13-12=1
Exploring Operation: 30-12=18, Resulting Numbers: [13, 18]
Generated Node #0,3,3: 77:[13, 18] Operation: 30-12=18
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 77:[12, 17], Operations: ['66-36=30', '30-13=17']
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 12+17=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Exploring Operation: 12*17=204, Resulting Numbers: [204]
204,77 unequal: No Solution
No 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: 77:[13, 18], Operations: ['66-36=30', '30-12=18']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,77 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,77 unequal: No Solution
No 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: 77:[30, 1], Operations: ['66-36=30', '13-12=1']
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,77 unequal: No Solution
No 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: 77:[30, 25], Operations: ['66-36=30', '12+13=25']
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 30*25=750, Resulting Numbers: [750]
750,77 unequal: No Solution
Exploring Operation: 30+25=55, Resulting Numbers: [55]
55,77 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: 77:[12, 66, 23], Operations: ['36-13=23']
Exploring Operation: 23-12=11, Resulting Numbers: [66, 11]
Generated Node #0,1,0: 77:[66, 11] Operation: 23-12=11
Exploring Operation: 66+23=89, Resulting Numbers: [12, 89]
Generated Node #0,1,1: 77:[12, 89] Operation: 66+23=89
Exploring Operation: 66-23=43, Resulting Numbers: [12, 43]
Generated Node #0,1,2: 77:[12, 43] Operation: 66-23=43
Exploring Operation: 12+66=78, Resulting Numbers: [23, 78]
Generated Node #0,1,3: 77:[23, 78] Operation: 12+66=78
Moving to Node #0,1,0
Current State: 77:[66, 11], Operations: ['36-13=23', '23-12=11']
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,77 unequal: No Solution
Exploring Operation: 66*11=726, Resulting Numbers: [726]
726,77 unequal: No Solution
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[12, 13, 36, 66], Operations: []
Exploring Operation: 36-13=23, Resulting Numbers: [12, 66, 23]
Generated Node #0,1: 77:[12, 66, 23] Operation: 36-13=23
Moving to Node #0,1
Current State: 77:[12, 66, 23], Operations: ['36-13=23']
Exploring Operation: 23-12=11, Resulting Numbers: [66, 11]
Generated Node #0,1,0: 77:[66, 11] Operation: 23-12=11
Moving to Node #0,1,0
Current State: 77:[66, 11], Operations: ['36-13=23', '23-12=11']
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465 | hs_4 | mult_heuristic |
[
82,
50,
8,
41
] | 81 | [
"82-50=32",
"8+41=49",
"32+49=81"
] | Current State: 81:[82, 50, 8, 41], Operations: []
Exploring Operation: 82-50=32, Resulting Numbers: [8, 41, 32]
Generated Node #2: [8, 41, 32] from Operation: 82-50=32
Current State: 81:[8, 41, 32], Operations: ['82-50=32']
Exploring Operation: 8+41=49, Resulting Numbers: [32, 49]
Generated Node #3: [32, 49] from Operation: 8+41=49
Current State: 81:[32, 49], Operations: ['82-50=32', '8+41=49']
Exploring Operation: 32+49=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[82, 50, 8, 41], Operations: []
Exploring Operation: 50-41=9, Resulting Numbers: [82, 8, 9]
Generated Node #0,0: 81:[82, 8, 9] Operation: 50-41=9
Exploring Operation: 50+41=91, Resulting Numbers: [82, 8, 91]
Generated Node #0,1: 81:[82, 8, 91] Operation: 50+41=91
Moving to Node #0,0
Current State: 81:[82, 8, 9], Operations: ['50-41=9']
Exploring Operation: 82-8=74, Resulting Numbers: [9, 74]
Generated Node #0,0,0: 81:[9, 74] Operation: 82-8=74
Exploring Operation: 9-8=1, Resulting Numbers: [82, 1]
Generated Node #0,0,1: 81:[82, 1] Operation: 9-8=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[82, 1], Operations: ['50-41=9', '9-8=1']
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[82, 50, 8, 41], Operations: []
Exploring Operation: 50-41=9, Resulting Numbers: [82, 8, 9]
Generated Node #0,0: 81:[82, 8, 9] Operation: 50-41=9
Moving to Node #0,0
Current State: 81:[82, 8, 9], Operations: ['50-41=9']
Exploring Operation: 9-8=1, Resulting Numbers: [82, 1]
Generated Node #0,0,1: 81:[82, 1] Operation: 9-8=1
Moving to Node #0,0,1
Current State: 81:[82, 1], Operations: ['50-41=9', '9-8=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
96,
43,
5,
23
] | 71 | [
"96-43=53",
"23-5=18",
"53+18=71"
] | Current State: 71:[96, 43, 5, 23], Operations: []
Exploring Operation: 96-43=53, Resulting Numbers: [5, 23, 53]
Generated Node #2: [5, 23, 53] from Operation: 96-43=53
Current State: 71:[5, 23, 53], Operations: ['96-43=53']
Exploring Operation: 23-5=18, Resulting Numbers: [53, 18]
Generated Node #3: [53, 18] from Operation: 23-5=18
Current State: 71:[53, 18], Operations: ['96-43=53', '23-5=18']
Exploring Operation: 53+18=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[96, 43, 5, 23], Operations: []
Exploring Operation: 96-23=73, Resulting Numbers: [43, 5, 73]
Generated Node #0,0: 71:[43, 5, 73] Operation: 96-23=73
Exploring Operation: 96-5=91, Resulting Numbers: [43, 23, 91]
Generated Node #0,1: 71:[43, 23, 91] Operation: 96-5=91
Exploring Operation: 5+23=28, Resulting Numbers: [96, 43, 28]
Generated Node #0,2: 71:[96, 43, 28] Operation: 5+23=28
Exploring Operation: 43+5=48, Resulting Numbers: [96, 23, 48]
Generated Node #0,3: 71:[96, 23, 48] Operation: 43+5=48
Exploring Operation: 43+23=66, Resulting Numbers: [96, 5, 66]
Generated Node #0,4: 71:[96, 5, 66] Operation: 43+23=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[43, 5, 73], Operations: ['96-23=73']
Exploring Operation: 43+5=48, Resulting Numbers: [73, 48]
Generated Node #0,0,0: 71:[73, 48] Operation: 43+5=48
Exploring Operation: 43-5=38, Resulting Numbers: [73, 38]
Generated Node #0,0,1: 71:[73, 38] Operation: 43-5=38
Exploring Operation: 73-43=30, Resulting Numbers: [5, 30]
Generated Node #0,0,2: 71:[5, 30] Operation: 73-43=30
Exploring Operation: 5+73=78, Resulting Numbers: [43, 78]
Generated Node #0,0,3: 71:[43, 78] Operation: 5+73=78
Exploring Operation: 73-5=68, Resulting Numbers: [43, 68]
Generated Node #0,0,4: 71:[43, 68] Operation: 73-5=68
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[73, 48], Operations: ['96-23=73', '43+5=48']
Exploring Operation: 73+48=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Exploring Operation: 73-48=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 73*48=3504, Resulting Numbers: [3504]
3504,71 unequal: No Solution
No 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: 71:[43, 68], Operations: ['96-23=73', '73-5=68']
Exploring Operation: 43+68=111, Resulting Numbers: [111]
111,71 unequal: No Solution
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 43*68=2924, Resulting Numbers: [2924]
2924,71 unequal: No Solution
No 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: 71:[73, 38], Operations: ['96-23=73', '43-5=38']
Exploring Operation: 73+38=111, Resulting Numbers: [111]
111,71 unequal: No Solution
Exploring Operation: 73*38=2774, Resulting Numbers: [2774]
2774,71 unequal: No Solution
Exploring Operation: 73-38=35, Resulting Numbers: [35]
35,71 unequal: No Solution
No 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: 71:[43, 78], Operations: ['96-23=73', '5+73=78']
Exploring Operation: 43+78=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Exploring Operation: 43*78=3354, Resulting Numbers: [3354]
3354,71 unequal: No Solution
Exploring Operation: 78-43=35, Resulting Numbers: [35]
35,71 unequal: No Solution
No 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: 71:[5, 30], Operations: ['96-23=73', '73-43=30']
Exploring Operation: 5*30=150, Resulting Numbers: [150]
150,71 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,71 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: 71:[43, 23, 91], Operations: ['96-5=91']
Exploring Operation: 91-43=48, Resulting Numbers: [23, 48]
Generated Node #0,1,0: 71:[23, 48] Operation: 91-43=48
Exploring Operation: 23+91=114, Resulting Numbers: [43, 114]
Generated Node #0,1,1: 71:[43, 114] Operation: 23+91=114
Exploring Operation: 43+23=66, Resulting Numbers: [91, 66]
Generated Node #0,1,2: 71:[91, 66] Operation: 43+23=66
Exploring Operation: 91-23=68, Resulting Numbers: [43, 68]
Generated Node #0,1,3: 71:[43, 68] Operation: 91-23=68
Exploring Operation: 43-23=20, Resulting Numbers: [91, 20]
Generated Node #0,1,4: 71:[91, 20] Operation: 43-23=20
Moving to Node #0,1,2
Current State: 71:[91, 66], Operations: ['96-5=91', '43+23=66']
Exploring Operation: 91-66=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 91*66=6006, Resulting Numbers: [6006]
6006,71 unequal: No Solution
Exploring Operation: 91+66=157, Resulting Numbers: [157]
157,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[43, 68], Operations: ['96-5=91', '91-23=68']
Exploring Operation: 43*68=2924, Resulting Numbers: [2924]
2924,71 unequal: No Solution
Exploring Operation: 43+68=111, Resulting Numbers: [111]
111,71 unequal: No Solution
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[23, 48], Operations: ['96-5=91', '91-43=48']
Exploring Operation: 23*48=1104, Resulting Numbers: [1104]
1104,71 unequal: No Solution
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 23+48=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[96, 43, 5, 23], Operations: []
Exploring Operation: 96-5=91, Resulting Numbers: [43, 23, 91]
Generated Node #0,1: 71:[43, 23, 91] Operation: 96-5=91
Moving to Node #0,1
Current State: 71:[43, 23, 91], Operations: ['96-5=91']
Exploring Operation: 91-43=48, Resulting Numbers: [23, 48]
Generated Node #0,1,0: 71:[23, 48] Operation: 91-43=48
Moving to Node #0,1,0
Current State: 71:[23, 48], Operations: ['96-5=91', '91-43=48']
Exploring Operation: 23+48=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_5 | sum_heuristic |
[
97,
14,
23,
31
] | 57 | [
"97+14=111",
"23+31=54",
"111-54=57"
] | Current State: 57:[97, 14, 23, 31], Operations: []
Exploring Operation: 97+14=111, Resulting Numbers: [23, 31, 111]
Generated Node #2: [23, 31, 111] from Operation: 97+14=111
Current State: 57:[23, 31, 111], Operations: ['97+14=111']
Exploring Operation: 23+31=54, Resulting Numbers: [111, 54]
Generated Node #3: [111, 54] from Operation: 23+31=54
Current State: 57:[111, 54], Operations: ['97+14=111', '23+31=54']
Exploring Operation: 111-54=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[97, 14, 23, 31], Operations: []
Exploring Operation: 97-31=66, Resulting Numbers: [14, 23, 66]
Generated Node #0,0: 57:[14, 23, 66] Operation: 97-31=66
Exploring Operation: 97-23=74, Resulting Numbers: [14, 31, 74]
Generated Node #0,1: 57:[14, 31, 74] Operation: 97-23=74
Moving to Node #0,0
Current State: 57:[14, 23, 66], Operations: ['97-31=66']
Exploring Operation: 23-14=9, Resulting Numbers: [66, 9]
Generated Node #0,0,0: 57:[66, 9] Operation: 23-14=9
Exploring Operation: 66-14=52, Resulting Numbers: [23, 52]
Generated Node #0,0,1: 57:[23, 52] Operation: 66-14=52
Moving to Node #0,1
Current State: 57:[14, 31, 74], Operations: ['97-23=74']
Exploring Operation: 74-14=60, Resulting Numbers: [31, 60]
Generated Node #0,1,0: 57:[31, 60] Operation: 74-14=60
Exploring Operation: 31-14=17, Resulting Numbers: [74, 17]
Generated Node #0,1,1: 57:[74, 17] Operation: 31-14=17
Moving to Node #0,0,1
Current State: 57:[23, 52], Operations: ['97-31=66', '66-14=52']
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 23+52=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[31, 60], Operations: ['97-23=74', '74-14=60']
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 31+60=91, Resulting Numbers: [91]
91,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[66, 9], Operations: ['97-31=66', '23-14=9']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[97, 14, 23, 31], Operations: []
Exploring Operation: 97-31=66, Resulting Numbers: [14, 23, 66]
Generated Node #0,0: 57:[14, 23, 66] Operation: 97-31=66
Moving to Node #0,0
Current State: 57:[14, 23, 66], Operations: ['97-31=66']
Exploring Operation: 23-14=9, Resulting Numbers: [66, 9]
Generated Node #0,0,0: 57:[66, 9] Operation: 23-14=9
Moving to Node #0,0,0
Current State: 57:[66, 9], Operations: ['97-31=66', '23-14=9']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
29,
90,
26,
20
] | 67 | [
"90-29=61",
"26-20=6",
"61+6=67"
] | Current State: 67:[29, 90, 26, 20], Operations: []
Exploring Operation: 90-29=61, Resulting Numbers: [26, 20, 61]
Generated Node #2: [26, 20, 61] from Operation: 90-29=61
Current State: 67:[26, 20, 61], Operations: ['90-29=61']
Exploring Operation: 26-20=6, Resulting Numbers: [61, 6]
Generated Node #3: [61, 6] from Operation: 26-20=6
Current State: 67:[61, 6], Operations: ['90-29=61', '26-20=6']
Exploring Operation: 61+6=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[29, 90, 26, 20], Operations: []
Exploring Operation: 90-20=70, Resulting Numbers: [29, 26, 70]
Generated Node #0,0: 67:[29, 26, 70] Operation: 90-20=70
Exploring Operation: 29+20=49, Resulting Numbers: [90, 26, 49]
Generated Node #0,1: 67:[90, 26, 49] Operation: 29+20=49
Exploring Operation: 29+26=55, Resulting Numbers: [90, 20, 55]
Generated Node #0,2: 67:[90, 20, 55] Operation: 29+26=55
Moving to Node #0,0
Current State: 67:[29, 26, 70], Operations: ['90-20=70']
Exploring Operation: 29+26=55, Resulting Numbers: [70, 55]
Generated Node #0,0,0: 67:[70, 55] Operation: 29+26=55
Exploring Operation: 70-26=44, Resulting Numbers: [29, 44]
Generated Node #0,0,1: 67:[29, 44] Operation: 70-26=44
Exploring Operation: 29-26=3, Resulting Numbers: [70, 3]
Generated Node #0,0,2: 67:[70, 3] Operation: 29-26=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[70, 55], Operations: ['90-20=70', '29+26=55']
Exploring Operation: 70*55=3850, Resulting Numbers: [3850]
3850,67 unequal: No Solution
Exploring Operation: 70-55=15, Resulting Numbers: [15]
15,67 unequal: No Solution
Exploring Operation: 70+55=125, Resulting Numbers: [125]
125,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,0,1
Current State: 67:[29, 44], Operations: ['90-20=70', '70-26=44']
Exploring Operation: 29+44=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,67 unequal: No Solution
Exploring Operation: 29*44=1276, Resulting Numbers: [1276]
1276,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,0,2
Current State: 67:[70, 3], Operations: ['90-20=70', '29-26=3']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[29, 90, 26, 20], Operations: []
Exploring Operation: 90-20=70, Resulting Numbers: [29, 26, 70]
Generated Node #0,0: 67:[29, 26, 70] Operation: 90-20=70
Moving to Node #0,0
Current State: 67:[29, 26, 70], Operations: ['90-20=70']
Exploring Operation: 29-26=3, Resulting Numbers: [70, 3]
Generated Node #0,0,2: 67:[70, 3] Operation: 29-26=3
Moving to Node #0,0,2
Current State: 67:[70, 3], Operations: ['90-20=70', '29-26=3']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
63,
32,
52,
83
] | 68 | [
"52*83=4316",
"4316-32=4284",
"4284/63=68"
] | Current State: 68:[63, 32, 52, 83], Operations: []
Exploring Operation: 52*83=4316, Resulting Numbers: [63, 32, 4316]
Generated Node #2: [63, 32, 4316] from Operation: 52*83=4316
Current State: 68:[63, 32, 4316], Operations: ['52*83=4316']
Exploring Operation: 4316-32=4284, Resulting Numbers: [63, 4284]
Generated Node #3: [63, 4284] from Operation: 4316-32=4284
Current State: 68:[63, 4284], Operations: ['52*83=4316', '4316-32=4284']
Exploring Operation: 4284/63=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[63, 32, 52, 83], Operations: []
Exploring Operation: 83-63=20, Resulting Numbers: [32, 52, 20]
Generated Node #0,0: 68:[32, 52, 20] Operation: 83-63=20
Exploring Operation: 83-52=31, Resulting Numbers: [63, 32, 31]
Generated Node #0,1: 68:[63, 32, 31] Operation: 83-52=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[63, 32, 31], Operations: ['83-52=31']
Exploring Operation: 63-32=31, Resulting Numbers: [31, 31]
Generated Node #0,1,0: 68:[31, 31] Operation: 63-32=31
Exploring Operation: 63-31=32, Resulting Numbers: [32, 32]
Generated Node #0,1,1: 68:[32, 32] Operation: 63-31=32
Moving to Node #0,1,1
Current State: 68:[32, 32], Operations: ['83-52=31', '63-31=32']
Exploring Operation: 32-32=0, Resulting Numbers: [0]
0,68 unequal: No Solution
Exploring Operation: 32/32=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[31, 31], Operations: ['83-52=31', '63-32=31']
Exploring Operation: 31-31=0, Resulting Numbers: [0]
0,68 unequal: No Solution
Exploring Operation: 31/31=1, Resulting Numbers: [1]
1,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[32, 52, 20], Operations: ['83-63=20']
Exploring Operation: 52-32=20, Resulting Numbers: [20, 20]
Generated Node #0,0,0: 68:[20, 20] Operation: 52-32=20
Exploring Operation: 52-20=32, Resulting Numbers: [32, 32]
Generated Node #0,0,1: 68:[32, 32] Operation: 52-20=32
Moving to Node #0,0,1
Current State: 68:[32, 32], Operations: ['83-63=20', '52-20=32']
Exploring Operation: 32/32=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Exploring Operation: 32-32=0, Resulting Numbers: [0]
0,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[20, 20], Operations: ['83-63=20', '52-32=20']
Exploring Operation: 20-20=0, Resulting Numbers: [0]
0,68 unequal: No Solution
Exploring Operation: 20/20=1, Resulting Numbers: [1]
1,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
60,
69,
87,
99
] | 89 | [
"99-69=30",
"60/30=2",
"87+2=89"
] | Current State: 89:[60, 69, 87, 99], Operations: []
Exploring Operation: 99-69=30, Resulting Numbers: [60, 87, 30]
Generated Node #2: [60, 87, 30] from Operation: 99-69=30
Current State: 89:[60, 87, 30], Operations: ['99-69=30']
Exploring Operation: 60/30=2, Resulting Numbers: [87, 2]
Generated Node #3: [87, 2] from Operation: 60/30=2
Current State: 89:[87, 2], Operations: ['99-69=30', '60/30=2']
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[60, 69, 87, 99], Operations: []
Exploring Operation: 69-60=9, Resulting Numbers: [87, 99, 9]
Generated Node #0,0: 89:[87, 99, 9] Operation: 69-60=9
Exploring Operation: 60+69=129, Resulting Numbers: [87, 99, 129]
Generated Node #0,1: 89:[87, 99, 129] Operation: 60+69=129
Exploring Operation: 99-69=30, Resulting Numbers: [60, 87, 30]
Generated Node #0,2: 89:[60, 87, 30] Operation: 99-69=30
Exploring Operation: 60+87=147, Resulting Numbers: [69, 99, 147]
Generated Node #0,3: 89:[69, 99, 147] Operation: 60+87=147
Exploring Operation: 99-60=39, Resulting Numbers: [69, 87, 39]
Generated Node #0,4: 89:[69, 87, 39] Operation: 99-60=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[87, 99, 129], Operations: ['60+69=129']
Exploring Operation: 129-99=30, Resulting Numbers: [87, 30]
Generated Node #0,1,0: 89:[87, 30] Operation: 129-99=30
Exploring Operation: 129-87=42, Resulting Numbers: [99, 42]
Generated Node #0,1,1: 89:[99, 42] Operation: 129-87=42
Exploring Operation: 99-87=12, Resulting Numbers: [129, 12]
Generated Node #0,1,2: 89:[129, 12] Operation: 99-87=12
Exploring Operation: 87+129=216, Resulting Numbers: [99, 216]
Generated Node #0,1,3: 89:[99, 216] Operation: 87+129=216
Exploring Operation: 87+99=186, Resulting Numbers: [129, 186]
Generated Node #0,1,4: 89:[129, 186] Operation: 87+99=186
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[99, 42], Operations: ['60+69=129', '129-87=42']
Exploring Operation: 99-42=57, Resulting Numbers: [57]
57,89 unequal: No Solution
Exploring Operation: 99+42=141, Resulting Numbers: [141]
141,89 unequal: No Solution
Exploring Operation: 99*42=4158, Resulting Numbers: [4158]
4158,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,1,0
Current State: 89:[87, 30], Operations: ['60+69=129', '129-99=30']
Exploring Operation: 87-30=57, Resulting Numbers: [57]
57,89 unequal: No Solution
Exploring Operation: 87+30=117, Resulting Numbers: [117]
117,89 unequal: No Solution
Exploring Operation: 87*30=2610, Resulting Numbers: [2610]
2610,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,1,2
Current State: 89:[129, 12], Operations: ['60+69=129', '99-87=12']
Exploring Operation: 129*12=1548, Resulting Numbers: [1548]
1548,89 unequal: No Solution
Exploring Operation: 129-12=117, Resulting Numbers: [117]
117,89 unequal: No Solution
Exploring Operation: 129+12=141, Resulting Numbers: [141]
141,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,1,3
Current State: 89:[99, 216], Operations: ['60+69=129', '87+129=216']
Exploring Operation: 99*216=21384, Resulting Numbers: [21384]
21384,89 unequal: No Solution
Exploring Operation: 99+216=315, Resulting Numbers: [315]
315,89 unequal: No Solution
Exploring Operation: 216-99=117, Resulting Numbers: [117]
117,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,1,4
Current State: 89:[129, 186], Operations: ['60+69=129', '87+99=186']
Exploring Operation: 186-129=57, Resulting Numbers: [57]
57,89 unequal: No Solution
Exploring Operation: 129+186=315, Resulting Numbers: [315]
315,89 unequal: No Solution
Exploring Operation: 129*186=23994, Resulting Numbers: [23994]
23994,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,4
Current State: 89:[69, 87, 39], Operations: ['99-60=39']
Exploring Operation: 69+39=108, Resulting Numbers: [87, 108]
Generated Node #0,4,0: 89:[87, 108] Operation: 69+39=108
Exploring Operation: 69-39=30, Resulting Numbers: [87, 30]
Generated Node #0,4,1: 89:[87, 30] Operation: 69-39=30
Exploring Operation: 87+39=126, Resulting Numbers: [69, 126]
Generated Node #0,4,2: 89:[69, 126] Operation: 87+39=126
Exploring Operation: 69+87=156, Resulting Numbers: [39, 156]
Generated Node #0,4,3: 89:[39, 156] Operation: 69+87=156
Exploring Operation: 87-39=48, Resulting Numbers: [69, 48]
Generated Node #0,4,4: 89:[69, 48] Operation: 87-39=48
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 89:[87, 108], Operations: ['99-60=39', '69+39=108']
Exploring Operation: 108-87=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Exploring Operation: 87+108=195, Resulting Numbers: [195]
195,89 unequal: No Solution
Exploring Operation: 87*108=9396, Resulting Numbers: [9396]
9396,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,4,2
Current State: 89:[69, 126], Operations: ['99-60=39', '87+39=126']
Exploring Operation: 126-69=57, Resulting Numbers: [57]
57,89 unequal: No Solution
Exploring Operation: 69+126=195, Resulting Numbers: [195]
195,89 unequal: No Solution
Exploring Operation: 69*126=8694, Resulting Numbers: [8694]
8694,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,4,1
Current State: 89:[87, 30], Operations: ['99-60=39', '69-39=30']
Exploring Operation: 87*30=2610, Resulting Numbers: [2610]
2610,89 unequal: No Solution
Exploring Operation: 87-30=57, Resulting Numbers: [57]
57,89 unequal: No Solution
Exploring Operation: 87+30=117, Resulting Numbers: [117]
117,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,4,4
Current State: 89:[69, 48], Operations: ['99-60=39', '87-39=48']
Exploring Operation: 69+48=117, Resulting Numbers: [117]
117,89 unequal: No Solution
Exploring Operation: 69-48=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Exploring Operation: 69*48=3312, Resulting Numbers: [3312]
3312,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,4,3
Current State: 89:[39, 156], Operations: ['99-60=39', '69+87=156']
Exploring Operation: 39*156=6084, Resulting Numbers: [6084]
6084,89 unequal: No Solution
Exploring Operation: 156/39=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Exploring Operation: 156-39=117, Resulting Numbers: [117]
117,89 unequal: No Solution
Exploring Operation: 39+156=195, Resulting Numbers: [195]
195,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,3
Current State: 89:[69, 99, 147], Operations: ['60+87=147']
Exploring Operation: 147-69=78, Resulting Numbers: [99, 78]
Generated Node #0,3,0: 89:[99, 78] Operation: 147-69=78
Exploring Operation: 147-99=48, Resulting Numbers: [69, 48]
Generated Node #0,3,1: 89:[69, 48] Operation: 147-99=48
Exploring Operation: 99-69=30, Resulting Numbers: [147, 30]
Generated Node #0,3,2: 89:[147, 30] Operation: 99-69=30
Exploring Operation: 69+147=216, Resulting Numbers: [99, 216]
Generated Node #0,3,3: 89:[99, 216] Operation: 69+147=216
Exploring Operation: 69+99=168, Resulting Numbers: [147, 168]
Generated Node #0,3,4: 89:[147, 168] Operation: 69+99=168
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 89:[99, 78], Operations: ['60+87=147', '147-69=78']
Exploring Operation: 99+78=177, Resulting Numbers: [177]
177,89 unequal: No Solution
Exploring Operation: 99-78=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Exploring Operation: 99*78=7722, Resulting Numbers: [7722]
7722,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:[69, 48], Operations: ['60+87=147', '147-99=48']
Exploring Operation: 69+48=117, Resulting Numbers: [117]
117,89 unequal: No Solution
Exploring Operation: 69*48=3312, Resulting Numbers: [3312]
3312,89 unequal: No Solution
Exploring Operation: 69-48=21, Resulting Numbers: [21]
21,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:[147, 30], Operations: ['60+87=147', '99-69=30']
Exploring Operation: 147-30=117, Resulting Numbers: [117]
117,89 unequal: No Solution
Exploring Operation: 147*30=4410, Resulting Numbers: [4410]
4410,89 unequal: No Solution
Exploring Operation: 147+30=177, Resulting Numbers: [177]
177,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,3
Current State: 89:[99, 216], Operations: ['60+87=147', '69+147=216']
Exploring Operation: 99*216=21384, Resulting Numbers: [21384]
21384,89 unequal: No Solution
Exploring Operation: 99+216=315, Resulting Numbers: [315]
315,89 unequal: No Solution
Exploring Operation: 216-99=117, Resulting Numbers: [117]
117,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,4
Current State: 89:[147, 168], Operations: ['60+87=147', '69+99=168']
Exploring Operation: 147*168=24696, Resulting Numbers: [24696]
24696,89 unequal: No Solution
Exploring Operation: 147+168=315, Resulting Numbers: [315]
315,89 unequal: No Solution
Exploring Operation: 168-147=21, Resulting Numbers: [21]
21,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,2
Current State: 89:[60, 87, 30], Operations: ['99-69=30']
Exploring Operation: 87-30=57, Resulting Numbers: [60, 57]
Generated Node #0,2,0: 89:[60, 57] Operation: 87-30=57
Exploring Operation: 60+30=90, Resulting Numbers: [87, 90]
Generated Node #0,2,1: 89:[87, 90] Operation: 60+30=90
Exploring Operation: 60-30=30, Resulting Numbers: [87, 30]
Generated Node #0,2,2: 89:[87, 30] Operation: 60-30=30
Exploring Operation: 87+30=117, Resulting Numbers: [60, 117]
Generated Node #0,2,3: 89:[60, 117] Operation: 87+30=117
Exploring Operation: 60/30=2, Resulting Numbers: [87, 2]
Generated Node #0,2,4: 89:[87, 2] Operation: 60/30=2
Moving to Node #0,2,1
Current State: 89:[87, 90], Operations: ['99-69=30', '60+30=90']
Exploring Operation: 87+90=177, Resulting Numbers: [177]
177,89 unequal: No Solution
Exploring Operation: 90-87=3, Resulting Numbers: [3]
3,89 unequal: No Solution
Exploring Operation: 87*90=7830, Resulting Numbers: [7830]
7830,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[60, 117], Operations: ['99-69=30', '87+30=117']
Exploring Operation: 60+117=177, Resulting Numbers: [177]
177,89 unequal: No Solution
Exploring Operation: 117-60=57, Resulting Numbers: [57]
57,89 unequal: No Solution
Exploring Operation: 60*117=7020, Resulting Numbers: [7020]
7020,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[60, 57], Operations: ['99-69=30', '87-30=57']
Exploring Operation: 60*57=3420, Resulting Numbers: [3420]
3420,89 unequal: No Solution
Exploring Operation: 60+57=117, Resulting Numbers: [117]
117,89 unequal: No Solution
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[87, 30], Operations: ['99-69=30', '60-30=30']
Exploring Operation: 87+30=117, Resulting Numbers: [117]
117,89 unequal: No Solution
Exploring Operation: 87*30=2610, Resulting Numbers: [2610]
2610,89 unequal: No Solution
Exploring Operation: 87-30=57, Resulting Numbers: [57]
57,89 unequal: No Solution
Moving to Node #0,2,4
Current State: 89:[87, 2], Operations: ['99-69=30', '60/30=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,89 unequal: No Solution
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[60, 69, 87, 99], Operations: []
Exploring Operation: 99-69=30, Resulting Numbers: [60, 87, 30]
Generated Node #0,2: 89:[60, 87, 30] Operation: 99-69=30
Moving to Node #0,2
Current State: 89:[60, 87, 30], Operations: ['99-69=30']
Exploring Operation: 60/30=2, Resulting Numbers: [87, 2]
Generated Node #0,2,4: 89:[87, 2] Operation: 60/30=2
Moving to Node #0,2,4
Current State: 89:[87, 2], Operations: ['99-69=30', '60/30=2']
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.922743 | hs_5 | mult_heuristic |
[
32,
69,
43,
8
] | 72 | [
"69-32=37",
"43-8=35",
"37+35=72"
] | Current State: 72:[32, 69, 43, 8], Operations: []
Exploring Operation: 69-32=37, Resulting Numbers: [43, 8, 37]
Generated Node #2: [43, 8, 37] from Operation: 69-32=37
Current State: 72:[43, 8, 37], Operations: ['69-32=37']
Exploring Operation: 43-8=35, Resulting Numbers: [37, 35]
Generated Node #3: [37, 35] from Operation: 43-8=35
Current State: 72:[37, 35], Operations: ['69-32=37', '43-8=35']
Exploring Operation: 37+35=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[32, 69, 43, 8], Operations: []
Exploring Operation: 69-32=37, Resulting Numbers: [43, 8, 37]
Generated Node #0,0: 72:[43, 8, 37] Operation: 69-32=37
Exploring Operation: 43-32=11, Resulting Numbers: [69, 8, 11]
Generated Node #0,1: 72:[69, 8, 11] Operation: 43-32=11
Exploring Operation: 32+43=75, Resulting Numbers: [69, 8, 75]
Generated Node #0,2: 72:[69, 8, 75] Operation: 32+43=75
Exploring Operation: 69-43=26, Resulting Numbers: [32, 8, 26]
Generated Node #0,3: 72:[32, 8, 26] Operation: 69-43=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[69, 8, 11], Operations: ['43-32=11']
Exploring Operation: 69+8=77, Resulting Numbers: [11, 77]
Generated Node #0,1,0: 72:[11, 77] Operation: 69+8=77
Exploring Operation: 11-8=3, Resulting Numbers: [69, 3]
Generated Node #0,1,1: 72:[69, 3] Operation: 11-8=3
Exploring Operation: 69+11=80, Resulting Numbers: [8, 80]
Generated Node #0,1,2: 72:[8, 80] Operation: 69+11=80
Exploring Operation: 8+11=19, Resulting Numbers: [69, 19]
Generated Node #0,1,3: 72:[69, 19] Operation: 8+11=19
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 72:[69, 3], Operations: ['43-32=11', '11-8=3']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 69*3=207, Resulting Numbers: [207]
207,72 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,72 unequal: No Solution
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[32, 69, 43, 8], Operations: []
Exploring Operation: 43-32=11, Resulting Numbers: [69, 8, 11]
Generated Node #0,1: 72:[69, 8, 11] Operation: 43-32=11
Moving to Node #0,1
Current State: 72:[69, 8, 11], Operations: ['43-32=11']
Exploring Operation: 11-8=3, Resulting Numbers: [69, 3]
Generated Node #0,1,1: 72:[69, 3] Operation: 11-8=3
Moving to Node #0,1,1
Current State: 72:[69, 3], Operations: ['43-32=11', '11-8=3']
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
55,
44,
3,
78
] | 37 | [
"55-44=11",
"78/3=26",
"11+26=37"
] | Current State: 37:[55, 44, 3, 78], Operations: []
Exploring Operation: 55-44=11, Resulting Numbers: [3, 78, 11]
Generated Node #2: [3, 78, 11] from Operation: 55-44=11
Current State: 37:[3, 78, 11], Operations: ['55-44=11']
Exploring Operation: 78/3=26, Resulting Numbers: [11, 26]
Generated Node #3: [11, 26] from Operation: 78/3=26
Current State: 37:[11, 26], Operations: ['55-44=11', '78/3=26']
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[55, 44, 3, 78], Operations: []
Exploring Operation: 78-55=23, Resulting Numbers: [44, 3, 23]
Generated Node #0,0: 37:[44, 3, 23] Operation: 78-55=23
Exploring Operation: 55-3=52, Resulting Numbers: [44, 78, 52]
Generated Node #0,1: 37:[44, 78, 52] Operation: 55-3=52
Exploring Operation: 78-44=34, Resulting Numbers: [55, 3, 34]
Generated Node #0,2: 37:[55, 3, 34] Operation: 78-44=34
Exploring Operation: 78/3=26, Resulting Numbers: [55, 44, 26]
Generated Node #0,3: 37:[55, 44, 26] Operation: 78/3=26
Start Sub Search at level 1: Moving to Node #0,3
Current State: 37:[55, 44, 26], Operations: ['78/3=26']
Exploring Operation: 55-44=11, Resulting Numbers: [26, 11]
Generated Node #0,3,0: 37:[26, 11] Operation: 55-44=11
Exploring Operation: 55-26=29, Resulting Numbers: [44, 29]
Generated Node #0,3,1: 37:[44, 29] Operation: 55-26=29
Exploring Operation: 44-26=18, Resulting Numbers: [55, 18]
Generated Node #0,3,2: 37:[55, 18] Operation: 44-26=18
Exploring Operation: 55+26=81, Resulting Numbers: [44, 81]
Generated Node #0,3,3: 37:[44, 81] Operation: 55+26=81
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 37:[44, 29], Operations: ['78/3=26', '55-26=29']
Exploring Operation: 44*29=1276, Resulting Numbers: [1276]
1276,37 unequal: No Solution
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 44+29=73, Resulting Numbers: [73]
73,37 unequal: No Solution
No 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: 37:[26, 11], Operations: ['78/3=26', '55-44=11']
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[55, 44, 3, 78], Operations: []
Exploring Operation: 78/3=26, Resulting Numbers: [55, 44, 26]
Generated Node #0,3: 37:[55, 44, 26] Operation: 78/3=26
Moving to Node #0,3
Current State: 37:[55, 44, 26], Operations: ['78/3=26']
Exploring Operation: 55-44=11, Resulting Numbers: [26, 11]
Generated Node #0,3,0: 37:[26, 11] Operation: 55-44=11
Moving to Node #0,3,0
Current State: 37:[26, 11], Operations: ['78/3=26', '55-44=11']
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
2,
91,
86,
21
] | 37 | [
"2*21=42",
"91-86=5",
"42-5=37"
] | Current State: 37:[2, 91, 86, 21], Operations: []
Exploring Operation: 2*21=42, Resulting Numbers: [91, 86, 42]
Generated Node #2: [91, 86, 42] from Operation: 2*21=42
Current State: 37:[91, 86, 42], Operations: ['2*21=42']
Exploring Operation: 91-86=5, Resulting Numbers: [42, 5]
Generated Node #3: [42, 5] from Operation: 91-86=5
Current State: 37:[42, 5], Operations: ['2*21=42', '91-86=5']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[2, 91, 86, 21], Operations: []
Exploring Operation: 86-2=84, Resulting Numbers: [91, 21, 84]
Generated Node #0,0: 37:[91, 21, 84] Operation: 86-2=84
Exploring Operation: 91-2=89, Resulting Numbers: [86, 21, 89]
Generated Node #0,1: 37:[86, 21, 89] Operation: 91-2=89
Exploring Operation: 91-86=5, Resulting Numbers: [2, 21, 5]
Generated Node #0,2: 37:[2, 21, 5] Operation: 91-86=5
Exploring Operation: 86/2=43, Resulting Numbers: [91, 21, 43]
Generated Node #0,3: 37:[91, 21, 43] Operation: 86/2=43
Exploring Operation: 2*21=42, Resulting Numbers: [91, 86, 42]
Generated Node #0,4: 37:[91, 86, 42] Operation: 2*21=42
Moving to Node #0,3
Current State: 37:[91, 21, 43], Operations: ['86/2=43']
Exploring Operation: 91+21=112, Resulting Numbers: [43, 112]
Generated Node #0,3,0: 37:[43, 112] Operation: 91+21=112
Exploring Operation: 21+43=64, Resulting Numbers: [91, 64]
Generated Node #0,3,1: 37:[91, 64] Operation: 21+43=64
Exploring Operation: 43-21=22, Resulting Numbers: [91, 22]
Generated Node #0,3,2: 37:[91, 22] Operation: 43-21=22
Exploring Operation: 91-43=48, Resulting Numbers: [21, 48]
Generated Node #0,3,3: 37:[21, 48] Operation: 91-43=48
Exploring Operation: 91-21=70, Resulting Numbers: [43, 70]
Generated Node #0,3,4: 37:[43, 70] Operation: 91-21=70
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 37:[21, 48], Operations: ['86/2=43', '91-43=48']
Exploring Operation: 21*48=1008, Resulting Numbers: [1008]
1008,37 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 21+48=69, Resulting Numbers: [69]
69,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,3,4
Current State: 37:[43, 70], Operations: ['86/2=43', '91-21=70']
Exploring Operation: 43+70=113, Resulting Numbers: [113]
113,37 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 43*70=3010, Resulting Numbers: [3010]
3010,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,3,2
Current State: 37:[91, 22], Operations: ['86/2=43', '43-21=22']
Exploring Operation: 91+22=113, Resulting Numbers: [113]
113,37 unequal: No Solution
Exploring Operation: 91*22=2002, Resulting Numbers: [2002]
2002,37 unequal: No Solution
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,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,3,0
Current State: 37:[43, 112], Operations: ['86/2=43', '91+21=112']
Exploring Operation: 43*112=4816, Resulting Numbers: [4816]
4816,37 unequal: No Solution
Exploring Operation: 112-43=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Exploring Operation: 43+112=155, Resulting Numbers: [155]
155,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,3,1
Current State: 37:[91, 64], Operations: ['86/2=43', '21+43=64']
Exploring Operation: 91+64=155, Resulting Numbers: [155]
155,37 unequal: No Solution
Exploring Operation: 91-64=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 91*64=5824, Resulting Numbers: [5824]
5824,37 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: 37:[2, 21, 5], Operations: ['91-86=5']
Exploring Operation: 2+5=7, Resulting Numbers: [21, 7]
Generated Node #0,2,0: 37:[21, 7] Operation: 2+5=7
Exploring Operation: 21+5=26, Resulting Numbers: [2, 26]
Generated Node #0,2,1: 37:[2, 26] Operation: 21+5=26
Exploring Operation: 2+21=23, Resulting Numbers: [5, 23]
Generated Node #0,2,2: 37:[5, 23] Operation: 2+21=23
Exploring Operation: 2*21=42, Resulting Numbers: [5, 42]
Generated Node #0,2,3: 37:[5, 42] Operation: 2*21=42
Exploring Operation: 2*5=10, Resulting Numbers: [21, 10]
Generated Node #0,2,4: 37:[21, 10] Operation: 2*5=10
Moving to Node #0,4
Current State: 37:[91, 86, 42], Operations: ['2*21=42']
Exploring Operation: 91-86=5, Resulting Numbers: [42, 5]
Generated Node #0,4,0: 37:[42, 5] Operation: 91-86=5
Exploring Operation: 86-42=44, Resulting Numbers: [91, 44]
Generated Node #0,4,1: 37:[91, 44] Operation: 86-42=44
Exploring Operation: 91-42=49, Resulting Numbers: [86, 49]
Generated Node #0,4,2: 37:[86, 49] Operation: 91-42=49
Exploring Operation: 91+86=177, Resulting Numbers: [42, 177]
Generated Node #0,4,3: 37:[42, 177] Operation: 91+86=177
Exploring Operation: 91+42=133, Resulting Numbers: [86, 133]
Generated Node #0,4,4: 37:[86, 133] Operation: 91+42=133
Moving to Node #0,0
Current State: 37:[91, 21, 84], Operations: ['86-2=84']
Exploring Operation: 84-21=63, Resulting Numbers: [91, 63]
Generated Node #0,0,0: 37:[91, 63] Operation: 84-21=63
Exploring Operation: 91-84=7, Resulting Numbers: [21, 7]
Generated Node #0,0,1: 37:[21, 7] Operation: 91-84=7
Exploring Operation: 84/21=4, Resulting Numbers: [91, 4]
Generated Node #0,0,2: 37:[91, 4] Operation: 84/21=4
Exploring Operation: 91+21=112, Resulting Numbers: [84, 112]
Generated Node #0,0,3: 37:[84, 112] Operation: 91+21=112
Exploring Operation: 91-21=70, Resulting Numbers: [84, 70]
Generated Node #0,0,4: 37:[84, 70] Operation: 91-21=70
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[21, 7], Operations: ['86-2=84', '91-84=7']
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,37 unequal: No Solution
Exploring Operation: 21*7=147, Resulting Numbers: [147]
147,37 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,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,0,0
Current State: 37:[91, 63], Operations: ['86-2=84', '84-21=63']
Exploring Operation: 91*63=5733, Resulting Numbers: [5733]
5733,37 unequal: No Solution
Exploring Operation: 91+63=154, Resulting Numbers: [154]
154,37 unequal: No Solution
Exploring Operation: 91-63=28, Resulting Numbers: [28]
28,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,0,4
Current State: 37:[84, 70], Operations: ['86-2=84', '91-21=70']
Exploring Operation: 84+70=154, Resulting Numbers: [154]
154,37 unequal: No Solution
Exploring Operation: 84-70=14, Resulting Numbers: [14]
14,37 unequal: No Solution
Exploring Operation: 84*70=5880, Resulting Numbers: [5880]
5880,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,0,2
Current State: 37:[91, 4], Operations: ['86-2=84', '84/21=4']
Exploring Operation: 91*4=364, Resulting Numbers: [364]
364,37 unequal: No Solution
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,37 unequal: No Solution
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,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,0,3
Current State: 37:[84, 112], Operations: ['86-2=84', '91+21=112']
Exploring Operation: 84+112=196, Resulting Numbers: [196]
196,37 unequal: No Solution
Exploring Operation: 84*112=9408, Resulting Numbers: [9408]
9408,37 unequal: No Solution
Exploring Operation: 112-84=28, Resulting Numbers: [28]
28,37 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: 37:[86, 21, 89], Operations: ['91-2=89']
Exploring Operation: 86-21=65, Resulting Numbers: [89, 65]
Generated Node #0,1,0: 37:[89, 65] Operation: 86-21=65
Exploring Operation: 89-21=68, Resulting Numbers: [86, 68]
Generated Node #0,1,1: 37:[86, 68] Operation: 89-21=68
Exploring Operation: 89-86=3, Resulting Numbers: [21, 3]
Generated Node #0,1,2: 37:[21, 3] Operation: 89-86=3
Exploring Operation: 86+21=107, Resulting Numbers: [89, 107]
Generated Node #0,1,3: 37:[89, 107] Operation: 86+21=107
Exploring Operation: 21+89=110, Resulting Numbers: [86, 110]
Generated Node #0,1,4: 37:[86, 110] Operation: 21+89=110
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 37:[21, 3], Operations: ['91-2=89', '89-86=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,37 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,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:[89, 65], Operations: ['91-2=89', '86-21=65']
Exploring Operation: 89*65=5785, Resulting Numbers: [5785]
5785,37 unequal: No Solution
Exploring Operation: 89-65=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 89+65=154, Resulting Numbers: [154]
154,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,1
Current State: 37:[86, 68], Operations: ['91-2=89', '89-21=68']
Exploring Operation: 86+68=154, Resulting Numbers: [154]
154,37 unequal: No Solution
Exploring Operation: 86*68=5848, Resulting Numbers: [5848]
5848,37 unequal: No Solution
Exploring Operation: 86-68=18, Resulting Numbers: [18]
18,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:[89, 107], Operations: ['91-2=89', '86+21=107']
Exploring Operation: 89+107=196, Resulting Numbers: [196]
196,37 unequal: No Solution
Exploring Operation: 107-89=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Exploring Operation: 89*107=9523, Resulting Numbers: [9523]
9523,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,4
Current State: 37:[86, 110], Operations: ['91-2=89', '21+89=110']
Exploring Operation: 110-86=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 86*110=9460, Resulting Numbers: [9460]
9460,37 unequal: No Solution
Exploring Operation: 86+110=196, Resulting Numbers: [196]
196,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 37:[5, 42], Operations: ['91-86=5', '2*21=42']
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[2, 91, 86, 21], Operations: []
Exploring Operation: 91-86=5, Resulting Numbers: [2, 21, 5]
Generated Node #0,2: 37:[2, 21, 5] Operation: 91-86=5
Moving to Node #0,2
Current State: 37:[2, 21, 5], Operations: ['91-86=5']
Exploring Operation: 2*21=42, Resulting Numbers: [5, 42]
Generated Node #0,2,3: 37:[5, 42] Operation: 2*21=42
Moving to Node #0,2,3
Current State: 37:[5, 42], Operations: ['91-86=5', '2*21=42']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 0.927951 | hs_5 | sum_heuristic |
[
75,
34,
85,
71
] | 10 | [
"75-71=4",
"85*4=340",
"340/34=10"
] | Current State: 10:[75, 34, 85, 71], Operations: []
Exploring Operation: 75-71=4, Resulting Numbers: [34, 85, 4]
Generated Node #2: [34, 85, 4] from Operation: 75-71=4
Current State: 10:[34, 85, 4], Operations: ['75-71=4']
Exploring Operation: 85*4=340, Resulting Numbers: [34, 340]
Generated Node #3: [34, 340] from Operation: 85*4=340
Current State: 10:[34, 340], Operations: ['75-71=4', '85*4=340']
Exploring Operation: 340/34=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[75, 34, 85, 71], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [34, 71, 10]
Generated Node #0,0: 10:[34, 71, 10] Operation: 85-75=10
Exploring Operation: 85-71=14, Resulting Numbers: [75, 34, 14]
Generated Node #0,1: 10:[75, 34, 14] Operation: 85-71=14
Moving to Node #0,0
Current State: 10:[34, 71, 10], Operations: ['85-75=10']
Exploring Operation: 71-34=37, Resulting Numbers: [10, 37]
Generated Node #0,0,0: 10:[10, 37] Operation: 71-34=37
Exploring Operation: 34-10=24, Resulting Numbers: [71, 24]
Generated Node #0,0,1: 10:[71, 24] Operation: 34-10=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[10, 37], Operations: ['85-75=10', '71-34=37']
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,10 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[71, 24], Operations: ['85-75=10', '34-10=24']
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,10 unequal: No Solution
Exploring Operation: 71+24=95, Resulting Numbers: [95]
95,10 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: 10:[75, 34, 14], Operations: ['85-71=14']
Exploring Operation: 75-34=41, Resulting Numbers: [14, 41]
Generated Node #0,1,0: 10:[14, 41] Operation: 75-34=41
Exploring Operation: 75-14=61, Resulting Numbers: [34, 61]
Generated Node #0,1,1: 10:[34, 61] Operation: 75-14=61
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[14, 41], Operations: ['85-71=14', '75-34=41']
Exploring Operation: 14+41=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[34, 61], Operations: ['85-71=14', '75-14=61']
Exploring Operation: 34+61=95, Resulting Numbers: [95]
95,10 unequal: No Solution
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,10 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 |
[
84,
17,
2,
15
] | 58 | [
"84+17=101",
"15+101=116",
"116/2=58"
] | Current State: 58:[84, 17, 2, 15], Operations: []
Exploring Operation: 84+17=101, Resulting Numbers: [2, 15, 101]
Generated Node #2: [2, 15, 101] from Operation: 84+17=101
Current State: 58:[2, 15, 101], Operations: ['84+17=101']
Exploring Operation: 15+101=116, Resulting Numbers: [2, 116]
Generated Node #3: [2, 116] from Operation: 15+101=116
Current State: 58:[2, 116], Operations: ['84+17=101', '15+101=116']
Exploring Operation: 116/2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[84, 17, 2, 15], Operations: []
Exploring Operation: 84-17=67, Resulting Numbers: [2, 15, 67]
Generated Node #0,0: 58:[2, 15, 67] Operation: 84-17=67
Exploring Operation: 17-15=2, Resulting Numbers: [84, 2, 2]
Generated Node #0,1: 58:[84, 2, 2] Operation: 17-15=2
Exploring Operation: 84-15=69, Resulting Numbers: [17, 2, 69]
Generated Node #0,2: 58:[17, 2, 69] Operation: 84-15=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[2, 15, 67], Operations: ['84-17=67']
Exploring Operation: 67-15=52, Resulting Numbers: [2, 52]
Generated Node #0,0,0: 58:[2, 52] Operation: 67-15=52
Exploring Operation: 2*15=30, Resulting Numbers: [67, 30]
Generated Node #0,0,1: 58:[67, 30] Operation: 2*15=30
Exploring Operation: 15-2=13, Resulting Numbers: [67, 13]
Generated Node #0,0,2: 58:[67, 13] Operation: 15-2=13
Moving to Node #0,0,0
Current State: 58:[2, 52], Operations: ['84-17=67', '67-15=52']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,58 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,58 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[67, 30], Operations: ['84-17=67', '2*15=30']
Exploring Operation: 67-30=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Exploring Operation: 67+30=97, Resulting Numbers: [97]
97,58 unequal: No Solution
Exploring Operation: 67*30=2010, Resulting Numbers: [2010]
2010,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[67, 13], Operations: ['84-17=67', '15-2=13']
Exploring Operation: 67*13=871, Resulting Numbers: [871]
871,58 unequal: No Solution
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,58 unequal: No Solution
Exploring Operation: 67+13=80, Resulting Numbers: [80]
80,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[17, 2, 69], Operations: ['84-15=69']
Exploring Operation: 17+2=19, Resulting Numbers: [69, 19]
Generated Node #0,2,0: 58:[69, 19] Operation: 17+2=19
Exploring Operation: 69-17=52, Resulting Numbers: [2, 52]
Generated Node #0,2,1: 58:[2, 52] Operation: 69-17=52
Exploring Operation: 17*2=34, Resulting Numbers: [69, 34]
Generated Node #0,2,2: 58:[69, 34] Operation: 17*2=34
Moving to Node #0,2,1
Current State: 58:[2, 52], Operations: ['84-15=69', '69-17=52']
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,58 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,58 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[69, 34], Operations: ['84-15=69', '17*2=34']
Exploring Operation: 69-34=35, Resulting Numbers: [35]
35,58 unequal: No Solution
Exploring Operation: 69*34=2346, Resulting Numbers: [2346]
2346,58 unequal: No Solution
Exploring Operation: 69+34=103, Resulting Numbers: [103]
103,58 unequal: No Solution
Moving to Node #0,2,0
Current State: 58:[69, 19], Operations: ['84-15=69', '17+2=19']
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,58 unequal: No Solution
Exploring Operation: 69+19=88, Resulting Numbers: [88]
88,58 unequal: No Solution
Exploring Operation: 69*19=1311, Resulting Numbers: [1311]
1311,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[84, 2, 2], Operations: ['17-15=2']
Exploring Operation: 84-2=82, Resulting Numbers: [2, 82]
Generated Node #0,1,0: 58:[2, 82] Operation: 84-2=82
Exploring Operation: 84/2=42, Resulting Numbers: [2, 42]
Generated Node #0,1,1: 58:[2, 42] Operation: 84/2=42
Exploring Operation: 84/2=42, Resulting Numbers: [2, 42]
Generated Node #0,1,2: 58:[2, 42] Operation: 84/2=42
Moving to Node #0,1,1
Current State: 58:[2, 42], Operations: ['17-15=2', '84/2=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[2, 42], Operations: ['17-15=2', '84/2=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[2, 82], Operations: ['17-15=2', '84-2=82']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,58 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
42,
42,
21,
55
] | 21 | [
"42-42=0",
"55*0=0",
"21+0=21"
] | Current State: 21:[42, 42, 21, 55], Operations: []
Exploring Operation: 42-42=0, Resulting Numbers: [21, 55, 0]
Generated Node #2: [21, 55, 0] from Operation: 42-42=0
Current State: 21:[21, 55, 0], Operations: ['42-42=0']
Exploring Operation: 55*0=0, Resulting Numbers: [21, 0]
Generated Node #3: [21, 0] from Operation: 55*0=0
Current State: 21:[21, 0], Operations: ['42-42=0', '55*0=0']
Exploring Operation: 21+0=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[42, 42, 21, 55], Operations: []
Exploring Operation: 55-42=13, Resulting Numbers: [42, 21, 13]
Generated Node #0,0: 21:[42, 21, 13] Operation: 55-42=13
Exploring Operation: 42-21=21, Resulting Numbers: [42, 55, 21]
Generated Node #0,1: 21:[42, 55, 21] Operation: 42-21=21
Exploring Operation: 42-42=0, Resulting Numbers: [21, 55, 0]
Generated Node #0,2: 21:[21, 55, 0] Operation: 42-42=0
Exploring Operation: 42/42=1, Resulting Numbers: [21, 55, 1]
Generated Node #0,3: 21:[21, 55, 1] Operation: 42/42=1
Exploring Operation: 55-42=13, Resulting Numbers: [42, 21, 13]
Generated Node #0,4: 21:[42, 21, 13] Operation: 55-42=13
Moving to Node #0,0
Current State: 21:[42, 21, 13], Operations: ['55-42=13']
Exploring Operation: 42-21=21, Resulting Numbers: [13, 21]
Generated Node #0,0,0: 21:[13, 21] Operation: 42-21=21
Exploring Operation: 42-13=29, Resulting Numbers: [21, 29]
Generated Node #0,0,1: 21:[21, 29] Operation: 42-13=29
Exploring Operation: 42+13=55, Resulting Numbers: [21, 55]
Generated Node #0,0,2: 21:[21, 55] Operation: 42+13=55
Exploring Operation: 42/21=2, Resulting Numbers: [13, 2]
Generated Node #0,0,3: 21:[13, 2] Operation: 42/21=2
Exploring Operation: 21-13=8, Resulting Numbers: [42, 8]
Generated Node #0,0,4: 21:[42, 8] Operation: 21-13=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[13, 21], Operations: ['55-42=13', '42-21=21']
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 13*21=273, Resulting Numbers: [273]
273,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 21:[13, 2], Operations: ['55-42=13', '42/21=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 21:[21, 29], Operations: ['55-42=13', '42-13=29']
Exploring Operation: 21*29=609, Resulting Numbers: [609]
609,21 unequal: No Solution
Exploring Operation: 21+29=50, Resulting Numbers: [50]
50,21 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 21:[42, 8], Operations: ['55-42=13', '21-13=8']
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,21 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 21:[21, 55], Operations: ['55-42=13', '42+13=55']
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 21+55=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 21*55=1155, Resulting Numbers: [1155]
1155,21 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: 21:[42, 21, 13], Operations: ['55-42=13']
Exploring Operation: 42-21=21, Resulting Numbers: [13, 21]
Generated Node #0,4,0: 21:[13, 21] Operation: 42-21=21
Exploring Operation: 21-13=8, Resulting Numbers: [42, 8]
Generated Node #0,4,1: 21:[42, 8] Operation: 21-13=8
Exploring Operation: 42-13=29, Resulting Numbers: [21, 29]
Generated Node #0,4,2: 21:[21, 29] Operation: 42-13=29
Exploring Operation: 42/21=2, Resulting Numbers: [13, 2]
Generated Node #0,4,3: 21:[13, 2] Operation: 42/21=2
Exploring Operation: 42+13=55, Resulting Numbers: [21, 55]
Generated Node #0,4,4: 21:[21, 55] Operation: 42+13=55
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 21:[13, 21], Operations: ['55-42=13', '42-21=21']
Exploring Operation: 13*21=273, Resulting Numbers: [273]
273,21 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,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,4,3
Current State: 21:[13, 2], Operations: ['55-42=13', '42/21=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,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,4,2
Current State: 21:[21, 29], Operations: ['55-42=13', '42-13=29']
Exploring Operation: 21+29=50, Resulting Numbers: [50]
50,21 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 21*29=609, Resulting Numbers: [609]
609,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,4,1
Current State: 21:[42, 8], Operations: ['55-42=13', '21-13=8']
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,21 unequal: No Solution
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,21 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,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,4,4
Current State: 21:[21, 55], Operations: ['55-42=13', '42+13=55']
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 21+55=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 21*55=1155, Resulting Numbers: [1155]
1155,21 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: 21:[21, 55, 1], Operations: ['42/42=1']
Exploring Operation: 21*1=21, Resulting Numbers: [55, 21]
Generated Node #0,3,0: 21:[55, 21] Operation: 21*1=21
Exploring Operation: 21/1=21, Resulting Numbers: [55, 21]
Generated Node #0,3,1: 21:[55, 21] Operation: 21/1=21
Exploring Operation: 55*1=55, Resulting Numbers: [21, 55]
Generated Node #0,3,2: 21:[21, 55] Operation: 55*1=55
Exploring Operation: 55-1=54, Resulting Numbers: [21, 54]
Generated Node #0,3,3: 21:[21, 54] Operation: 55-1=54
Exploring Operation: 55-21=34, Resulting Numbers: [1, 34]
Generated Node #0,3,4: 21:[1, 34] Operation: 55-21=34
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 21:[1, 34], Operations: ['42/42=1', '55-21=34']
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,21 unequal: No Solution
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,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,3,3
Current State: 21:[21, 54], Operations: ['42/42=1', '55-1=54']
Exploring Operation: 21+54=75, Resulting Numbers: [75]
75,21 unequal: No Solution
Exploring Operation: 54-21=33, Resulting Numbers: [33]
33,21 unequal: No Solution
Exploring Operation: 21*54=1134, Resulting Numbers: [1134]
1134,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,3,0
Current State: 21:[55, 21], Operations: ['42/42=1', '21*1=21']
Exploring Operation: 55*21=1155, Resulting Numbers: [1155]
1155,21 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,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,3,1
Current State: 21:[55, 21], Operations: ['42/42=1', '21/1=21']
Exploring Operation: 55*21=1155, Resulting Numbers: [1155]
1155,21 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,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,3,2
Current State: 21:[21, 55], Operations: ['42/42=1', '55*1=55']
Exploring Operation: 21*55=1155, Resulting Numbers: [1155]
1155,21 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 21+55=76, Resulting Numbers: [76]
76,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 21:[21, 55, 0], Operations: ['42-42=0']
Exploring Operation: 55+0=55, Resulting Numbers: [21, 55]
Generated Node #0,2,0: 21:[21, 55] Operation: 55+0=55
Exploring Operation: 55-21=34, Resulting Numbers: [0, 34]
Generated Node #0,2,1: 21:[0, 34] Operation: 55-21=34
Exploring Operation: 55*0=0, Resulting Numbers: [21, 0]
Generated Node #0,2,2: 21:[21, 0] Operation: 55*0=0
Exploring Operation: 21-0=21, Resulting Numbers: [55, 21]
Generated Node #0,2,3: 21:[55, 21] Operation: 21-0=21
Exploring Operation: 21+0=21, Resulting Numbers: [55, 21]
Generated Node #0,2,4: 21:[55, 21] Operation: 21+0=21
Moving to Node #0,1
Current State: 21:[42, 55, 21], Operations: ['42-21=21']
Exploring Operation: 42+55=97, Resulting Numbers: [21, 97]
Generated Node #0,1,0: 21:[21, 97] Operation: 42+55=97
Exploring Operation: 42-21=21, Resulting Numbers: [55, 21]
Generated Node #0,1,1: 21:[55, 21] Operation: 42-21=21
Exploring Operation: 55-21=34, Resulting Numbers: [42, 34]
Generated Node #0,1,2: 21:[42, 34] Operation: 55-21=34
Exploring Operation: 55-42=13, Resulting Numbers: [21, 13]
Generated Node #0,1,3: 21:[21, 13] Operation: 55-42=13
Exploring Operation: 42/21=2, Resulting Numbers: [55, 2]
Generated Node #0,1,4: 21:[55, 2] Operation: 42/21=2
Moving to Node #0,2,2
Current State: 21:[21, 0], Operations: ['42-42=0', '55*0=0']
Exploring Operation: 21+0=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[42, 42, 21, 55], Operations: []
Exploring Operation: 42-42=0, Resulting Numbers: [21, 55, 0]
Generated Node #0,2: 21:[21, 55, 0] Operation: 42-42=0
Moving to Node #0,2
Current State: 21:[21, 55, 0], Operations: ['42-42=0']
Exploring Operation: 55*0=0, Resulting Numbers: [21, 0]
Generated Node #0,2,2: 21:[21, 0] Operation: 55*0=0
Moving to Node #0,2,2
Current State: 21:[21, 0], Operations: ['42-42=0', '55*0=0']
Exploring Operation: 21+0=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.929688 | hs_5 | sum_heuristic |
[
97,
2,
27,
52
] | 95 | [
"97+52=149",
"2*27=54",
"149-54=95"
] | Current State: 95:[97, 2, 27, 52], Operations: []
Exploring Operation: 97+52=149, Resulting Numbers: [2, 27, 149]
Generated Node #2: [2, 27, 149] from Operation: 97+52=149
Current State: 95:[2, 27, 149], Operations: ['97+52=149']
Exploring Operation: 2*27=54, Resulting Numbers: [149, 54]
Generated Node #3: [149, 54] from Operation: 2*27=54
Current State: 95:[149, 54], Operations: ['97+52=149', '2*27=54']
Exploring Operation: 149-54=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[97, 2, 27, 52], Operations: []
Exploring Operation: 52-27=25, Resulting Numbers: [97, 2, 25]
Generated Node #0,0: 95:[97, 2, 25] Operation: 52-27=25
Exploring Operation: 52/2=26, Resulting Numbers: [97, 27, 26]
Generated Node #0,1: 95:[97, 27, 26] Operation: 52/2=26
Exploring Operation: 2*52=104, Resulting Numbers: [97, 27, 104]
Generated Node #0,2: 95:[97, 27, 104] Operation: 2*52=104
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[97, 2, 25], Operations: ['52-27=25']
Exploring Operation: 97-2=95, Resulting Numbers: [25, 95]
Generated Node #0,0,0: 95:[25, 95] Operation: 97-2=95
Exploring Operation: 97+2=99, Resulting Numbers: [25, 99]
Generated Node #0,0,1: 95:[25, 99] Operation: 97+2=99
Exploring Operation: 25-2=23, Resulting Numbers: [97, 23]
Generated Node #0,0,2: 95:[97, 23] Operation: 25-2=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[25, 95], Operations: ['52-27=25', '97-2=95']
Exploring Operation: 25*95=2375, Resulting Numbers: [2375]
2375,95 unequal: No Solution
Exploring Operation: 95-25=70, Resulting Numbers: [70]
70,95 unequal: No Solution
Exploring Operation: 25+95=120, Resulting Numbers: [120]
120,95 unequal: No Solution
No 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: 95:[97, 23], Operations: ['52-27=25', '25-2=23']
Exploring Operation: 97*23=2231, Resulting Numbers: [2231]
2231,95 unequal: No Solution
Exploring Operation: 97+23=120, Resulting Numbers: [120]
120,95 unequal: No Solution
Exploring Operation: 97-23=74, Resulting Numbers: [74]
74,95 unequal: No Solution
No 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: 95:[25, 99], Operations: ['52-27=25', '97+2=99']
Exploring Operation: 99-25=74, Resulting Numbers: [74]
74,95 unequal: No Solution
Exploring Operation: 25+99=124, Resulting Numbers: [124]
124,95 unequal: No Solution
Exploring Operation: 25*99=2475, Resulting Numbers: [2475]
2475,95 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: 95:[97, 27, 26], Operations: ['52/2=26']
Exploring Operation: 97-26=71, Resulting Numbers: [27, 71]
Generated Node #0,1,0: 95:[27, 71] Operation: 97-26=71
Exploring Operation: 97-27=70, Resulting Numbers: [26, 70]
Generated Node #0,1,1: 95:[26, 70] Operation: 97-27=70
Exploring Operation: 27-26=1, Resulting Numbers: [97, 1]
Generated Node #0,1,2: 95:[97, 1] Operation: 27-26=1
Moving to Node #0,1,2
Current State: 95:[97, 1], Operations: ['52/2=26', '27-26=1']
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,95 unequal: No Solution
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[27, 71], Operations: ['52/2=26', '97-26=71']
Exploring Operation: 27*71=1917, Resulting Numbers: [1917]
1917,95 unequal: No Solution
Exploring Operation: 71-27=44, Resulting Numbers: [44]
44,95 unequal: No Solution
Exploring Operation: 27+71=98, Resulting Numbers: [98]
98,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[26, 70], Operations: ['52/2=26', '97-27=70']
Exploring Operation: 26*70=1820, Resulting Numbers: [1820]
1820,95 unequal: No Solution
Exploring Operation: 26+70=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,95 unequal: No Solution
No 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: 95:[97, 27, 104], Operations: ['2*52=104']
Exploring Operation: 97-27=70, Resulting Numbers: [104, 70]
Generated Node #0,2,0: 95:[104, 70] Operation: 97-27=70
Exploring Operation: 104-97=7, Resulting Numbers: [27, 7]
Generated Node #0,2,1: 95:[27, 7] Operation: 104-97=7
Exploring Operation: 104-27=77, Resulting Numbers: [97, 77]
Generated Node #0,2,2: 95:[97, 77] Operation: 104-27=77
Moving to Node #0,2,1
Current State: 95:[27, 7], Operations: ['2*52=104', '104-97=7']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,95 unequal: No Solution
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,95 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[97, 77], Operations: ['2*52=104', '104-27=77']
Exploring Operation: 97*77=7469, Resulting Numbers: [7469]
7469,95 unequal: No Solution
Exploring Operation: 97-77=20, Resulting Numbers: [20]
20,95 unequal: No Solution
Exploring Operation: 97+77=174, Resulting Numbers: [174]
174,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[104, 70], Operations: ['2*52=104', '97-27=70']
Exploring Operation: 104*70=7280, Resulting Numbers: [7280]
7280,95 unequal: No Solution
Exploring Operation: 104-70=34, Resulting Numbers: [34]
34,95 unequal: No Solution
Exploring Operation: 104+70=174, Resulting Numbers: [174]
174,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
4,
47,
71,
9
] | 67 | [
"71+9=80",
"80/4=20",
"47+20=67"
] | Current State: 67:[4, 47, 71, 9], Operations: []
Exploring Operation: 71+9=80, Resulting Numbers: [4, 47, 80]
Generated Node #2: [4, 47, 80] from Operation: 71+9=80
Current State: 67:[4, 47, 80], Operations: ['71+9=80']
Exploring Operation: 80/4=20, Resulting Numbers: [47, 20]
Generated Node #3: [47, 20] from Operation: 80/4=20
Current State: 67:[47, 20], Operations: ['71+9=80', '80/4=20']
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[4, 47, 71, 9], Operations: []
Exploring Operation: 4*9=36, Resulting Numbers: [47, 71, 36]
Generated Node #0,0: 67:[47, 71, 36] Operation: 4*9=36
Exploring Operation: 4+47=51, Resulting Numbers: [71, 9, 51]
Generated Node #0,1: 67:[71, 9, 51] Operation: 4+47=51
Exploring Operation: 71-4=67, Resulting Numbers: [47, 9, 67]
Generated Node #0,2: 67:[47, 9, 67] Operation: 71-4=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[47, 71, 36], Operations: ['4*9=36']
Exploring Operation: 47-36=11, Resulting Numbers: [71, 11]
Generated Node #0,0,0: 67:[71, 11] Operation: 47-36=11
Exploring Operation: 47+36=83, Resulting Numbers: [71, 83]
Generated Node #0,0,1: 67:[71, 83] Operation: 47+36=83
Exploring Operation: 71-36=35, Resulting Numbers: [47, 35]
Generated Node #0,0,2: 67:[47, 35] Operation: 71-36=35
Moving to Node #0,0,1
Current State: 67:[71, 83], Operations: ['4*9=36', '47+36=83']
Exploring Operation: 83-71=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 71*83=5893, Resulting Numbers: [5893]
5893,67 unequal: No Solution
Exploring Operation: 71+83=154, Resulting Numbers: [154]
154,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[47, 35], Operations: ['4*9=36', '71-36=35']
Exploring Operation: 47*35=1645, Resulting Numbers: [1645]
1645,67 unequal: No Solution
Exploring Operation: 47-35=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 47+35=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[71, 11], Operations: ['4*9=36', '47-36=11']
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,67 unequal: No Solution
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Exploring Operation: 71*11=781, Resulting Numbers: [781]
781,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,1
Current State: 67:[71, 9, 51], Operations: ['4+47=51']
Exploring Operation: 71-9=62, Resulting Numbers: [51, 62]
Generated Node #0,1,0: 67:[51, 62] Operation: 71-9=62
Exploring Operation: 71+9=80, Resulting Numbers: [51, 80]
Generated Node #0,1,1: 67:[51, 80] Operation: 71+9=80
Exploring Operation: 9+51=60, Resulting Numbers: [71, 60]
Generated Node #0,1,2: 67:[71, 60] Operation: 9+51=60
Moving to Node #0,1,2
Current State: 67:[71, 60], Operations: ['4+47=51', '9+51=60']
Exploring Operation: 71+60=131, Resulting Numbers: [131]
131,67 unequal: No Solution
Exploring Operation: 71-60=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 71*60=4260, Resulting Numbers: [4260]
4260,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[51, 62], Operations: ['4+47=51', '71-9=62']
Exploring Operation: 51*62=3162, Resulting Numbers: [3162]
3162,67 unequal: No Solution
Exploring Operation: 62-51=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 51+62=113, Resulting Numbers: [113]
113,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[51, 80], Operations: ['4+47=51', '71+9=80']
Exploring Operation: 51*80=4080, Resulting Numbers: [4080]
4080,67 unequal: No Solution
Exploring Operation: 80-51=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 51+80=131, Resulting Numbers: [131]
131,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
Current State: 67:[47, 9, 67], Operations: ['71-4=67']
Exploring Operation: 47-9=38, Resulting Numbers: [67, 38]
Generated Node #0,2,0: 67:[67, 38] Operation: 47-9=38
Exploring Operation: 9+67=76, Resulting Numbers: [47, 76]
Generated Node #0,2,1: 67:[47, 76] Operation: 9+67=76
Exploring Operation: 47+9=56, Resulting Numbers: [67, 56]
Generated Node #0,2,2: 67:[67, 56] Operation: 47+9=56
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[67, 56], Operations: ['71-4=67', '47+9=56']
Exploring Operation: 67+56=123, Resulting Numbers: [123]
123,67 unequal: No Solution
Exploring Operation: 67*56=3752, Resulting Numbers: [3752]
3752,67 unequal: No Solution
Exploring Operation: 67-56=11, Resulting Numbers: [11]
11,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,2,0
Current State: 67:[67, 38], Operations: ['71-4=67', '47-9=38']
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 67*38=2546, Resulting Numbers: [2546]
2546,67 unequal: No Solution
Exploring Operation: 67+38=105, Resulting Numbers: [105]
105,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,2,1
Current State: 67:[47, 76], Operations: ['71-4=67', '9+67=76']
Exploring Operation: 47*76=3572, Resulting Numbers: [3572]
3572,67 unequal: No Solution
Exploring Operation: 47+76=123, Resulting Numbers: [123]
123,67 unequal: No Solution
Exploring Operation: 76-47=29, Resulting Numbers: [29]
29,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
54,
57,
48,
41
] | 18 | [
"57-41=16",
"54*16=864",
"864/48=18"
] | Current State: 18:[54, 57, 48, 41], Operations: []
Exploring Operation: 57-41=16, Resulting Numbers: [54, 48, 16]
Generated Node #2: [54, 48, 16] from Operation: 57-41=16
Current State: 18:[54, 48, 16], Operations: ['57-41=16']
Exploring Operation: 54*16=864, Resulting Numbers: [48, 864]
Generated Node #3: [48, 864] from Operation: 54*16=864
Current State: 18:[48, 864], Operations: ['57-41=16', '54*16=864']
Exploring Operation: 864/48=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[54, 57, 48, 41], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [48, 41, 3]
Generated Node #0,0: 18:[48, 41, 3] Operation: 57-54=3
Exploring Operation: 54-48=6, Resulting Numbers: [57, 41, 6]
Generated Node #0,1: 18:[57, 41, 6] Operation: 54-48=6
Exploring Operation: 57-48=9, Resulting Numbers: [54, 41, 9]
Generated Node #0,2: 18:[54, 41, 9] Operation: 57-48=9
Moving to Node #0,0
Current State: 18:[48, 41, 3], Operations: ['57-54=3']
Exploring Operation: 48-41=7, Resulting Numbers: [3, 7]
Generated Node #0,0,0: 18:[3, 7] Operation: 48-41=7
Exploring Operation: 48-3=45, Resulting Numbers: [41, 45]
Generated Node #0,0,1: 18:[41, 45] Operation: 48-3=45
Exploring Operation: 48/3=16, Resulting Numbers: [41, 16]
Generated Node #0,0,2: 18:[41, 16] Operation: 48/3=16
Moving to Node #0,2
Current State: 18:[54, 41, 9], Operations: ['57-48=9']
Exploring Operation: 54-41=13, Resulting Numbers: [9, 13]
Generated Node #0,2,0: 18:[9, 13] Operation: 54-41=13
Exploring Operation: 54/9=6, Resulting Numbers: [41, 6]
Generated Node #0,2,1: 18:[41, 6] Operation: 54/9=6
Exploring Operation: 54-9=45, Resulting Numbers: [41, 45]
Generated Node #0,2,2: 18:[41, 45] Operation: 54-9=45
Moving to Node #0,1
Current State: 18:[57, 41, 6], Operations: ['54-48=6']
Exploring Operation: 57-41=16, Resulting Numbers: [6, 16]
Generated Node #0,1,0: 18:[6, 16] Operation: 57-41=16
Exploring Operation: 57-6=51, Resulting Numbers: [41, 51]
Generated Node #0,1,1: 18:[41, 51] Operation: 57-6=51
Exploring Operation: 41-6=35, Resulting Numbers: [57, 35]
Generated Node #0,1,2: 18:[57, 35] Operation: 41-6=35
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[6, 16], Operations: ['54-48=6', '57-41=16']
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[41, 51], Operations: ['54-48=6', '57-6=51']
Exploring Operation: 41*51=2091, Resulting Numbers: [2091]
2091,18 unequal: No Solution
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 41+51=92, Resulting Numbers: [92]
92,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[57, 35], Operations: ['54-48=6', '41-6=35']
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 57+35=92, Resulting Numbers: [92]
92,18 unequal: No Solution
Exploring Operation: 57*35=1995, Resulting Numbers: [1995]
1995,18 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: 18:[3, 7], Operations: ['57-54=3', '48-41=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[9, 13], Operations: ['57-48=9', '54-41=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,18 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[41, 6], Operations: ['57-48=9', '54/9=6']
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,18 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,18 unequal: No Solution
Exploring Operation: 41*6=246, Resulting Numbers: [246]
246,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[41, 16], Operations: ['57-54=3', '48/3=16']
Exploring Operation: 41*16=656, Resulting Numbers: [656]
656,18 unequal: No Solution
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Exploring Operation: 41+16=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[41, 45], Operations: ['57-48=9', '54-9=45']
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,18 unequal: No Solution
Exploring Operation: 41*45=1845, Resulting Numbers: [1845]
1845,18 unequal: No Solution
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[41, 45], Operations: ['57-54=3', '48-3=45']
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,18 unequal: No Solution
Exploring Operation: 41*45=1845, Resulting Numbers: [1845]
1845,18 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
63,
34,
16,
33
] | 48 | [
"63+34=97",
"16+33=49",
"97-49=48"
] | Current State: 48:[63, 34, 16, 33], Operations: []
Exploring Operation: 63+34=97, Resulting Numbers: [16, 33, 97]
Generated Node #2: [16, 33, 97] from Operation: 63+34=97
Current State: 48:[16, 33, 97], Operations: ['63+34=97']
Exploring Operation: 16+33=49, Resulting Numbers: [97, 49]
Generated Node #3: [97, 49] from Operation: 16+33=49
Current State: 48:[97, 49], Operations: ['63+34=97', '16+33=49']
Exploring Operation: 97-49=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[63, 34, 16, 33], Operations: []
Exploring Operation: 63-34=29, Resulting Numbers: [16, 33, 29]
Generated Node #0,0: 48:[16, 33, 29] Operation: 63-34=29
Moving to Node #0,0
Current State: 48:[16, 33, 29], Operations: ['63-34=29']
Exploring Operation: 33-29=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 48:[16, 4] Operation: 33-29=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[16, 4], Operations: ['63-34=29', '33-29=4']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,48 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 |
[
77,
31,
61,
12
] | 27 | [
"77-31=46",
"61+12=73",
"73-46=27"
] | Current State: 27:[77, 31, 61, 12], Operations: []
Exploring Operation: 77-31=46, Resulting Numbers: [61, 12, 46]
Generated Node #2: [61, 12, 46] from Operation: 77-31=46
Current State: 27:[61, 12, 46], Operations: ['77-31=46']
Exploring Operation: 61+12=73, Resulting Numbers: [46, 73]
Generated Node #3: [46, 73] from Operation: 61+12=73
Current State: 27:[46, 73], Operations: ['77-31=46', '61+12=73']
Exploring Operation: 73-46=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[77, 31, 61, 12], Operations: []
Exploring Operation: 61-31=30, Resulting Numbers: [77, 12, 30]
Generated Node #0,0: 27:[77, 12, 30] Operation: 61-31=30
Exploring Operation: 77-61=16, Resulting Numbers: [31, 12, 16]
Generated Node #0,1: 27:[31, 12, 16] Operation: 77-61=16
Exploring Operation: 77-31=46, Resulting Numbers: [61, 12, 46]
Generated Node #0,2: 27:[61, 12, 46] Operation: 77-31=46
Moving to Node #0,1
Current State: 27:[31, 12, 16], Operations: ['77-61=16']
Exploring Operation: 16-12=4, Resulting Numbers: [31, 4]
Generated Node #0,1,0: 27:[31, 4] Operation: 16-12=4
Exploring Operation: 12+16=28, Resulting Numbers: [31, 28]
Generated Node #0,1,1: 27:[31, 28] Operation: 12+16=28
Exploring Operation: 31-16=15, Resulting Numbers: [12, 15]
Generated Node #0,1,2: 27:[12, 15] Operation: 31-16=15
Moving to Node #0,0
Current State: 27:[77, 12, 30], Operations: ['61-31=30']
Exploring Operation: 77-12=65, Resulting Numbers: [30, 65]
Generated Node #0,0,0: 27:[30, 65] Operation: 77-12=65
Exploring Operation: 77-30=47, Resulting Numbers: [12, 47]
Generated Node #0,0,1: 27:[12, 47] Operation: 77-30=47
Exploring Operation: 30-12=18, Resulting Numbers: [77, 18]
Generated Node #0,0,2: 27:[77, 18] Operation: 30-12=18
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[12, 47], Operations: ['61-31=30', '77-30=47']
Exploring Operation: 12*47=564, Resulting Numbers: [564]
564,27 unequal: No Solution
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,27 unequal: No Solution
Exploring Operation: 12+47=59, Resulting Numbers: [59]
59,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,0,0
Current State: 27:[30, 65], Operations: ['61-31=30', '77-12=65']
Exploring Operation: 30+65=95, Resulting Numbers: [95]
95,27 unequal: No Solution
Exploring Operation: 65-30=35, Resulting Numbers: [35]
35,27 unequal: No Solution
Exploring Operation: 30*65=1950, Resulting Numbers: [1950]
1950,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,0,2
Current State: 27:[77, 18], Operations: ['61-31=30', '30-12=18']
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,27 unequal: No Solution
Exploring Operation: 77+18=95, Resulting Numbers: [95]
95,27 unequal: No Solution
Exploring Operation: 77*18=1386, Resulting Numbers: [1386]
1386,27 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: 27:[61, 12, 46], Operations: ['77-31=46']
Exploring Operation: 46-12=34, Resulting Numbers: [61, 34]
Generated Node #0,2,0: 27:[61, 34] Operation: 46-12=34
Exploring Operation: 61-12=49, Resulting Numbers: [46, 49]
Generated Node #0,2,1: 27:[46, 49] Operation: 61-12=49
Exploring Operation: 61-46=15, Resulting Numbers: [12, 15]
Generated Node #0,2,2: 27:[12, 15] Operation: 61-46=15
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 27:[12, 15], Operations: ['77-31=46', '61-46=15']
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[77, 31, 61, 12], Operations: []
Exploring Operation: 77-31=46, Resulting Numbers: [61, 12, 46]
Generated Node #0,2: 27:[61, 12, 46] Operation: 77-31=46
Moving to Node #0,2
Current State: 27:[61, 12, 46], Operations: ['77-31=46']
Exploring Operation: 61-46=15, Resulting Numbers: [12, 15]
Generated Node #0,2,2: 27:[12, 15] Operation: 61-46=15
Moving to Node #0,2,2
Current State: 27:[12, 15], Operations: ['77-31=46', '61-46=15']
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
38,
71,
3,
95
] | 65 | [
"71-38=33",
"3+95=98",
"98-33=65"
] | Current State: 65:[38, 71, 3, 95], Operations: []
Exploring Operation: 71-38=33, Resulting Numbers: [3, 95, 33]
Generated Node #2: [3, 95, 33] from Operation: 71-38=33
Current State: 65:[3, 95, 33], Operations: ['71-38=33']
Exploring Operation: 3+95=98, Resulting Numbers: [33, 98]
Generated Node #3: [33, 98] from Operation: 3+95=98
Current State: 65:[33, 98], Operations: ['71-38=33', '3+95=98']
Exploring Operation: 98-33=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[38, 71, 3, 95], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [38, 3, 24]
Generated Node #0,0: 65:[38, 3, 24] Operation: 95-71=24
Exploring Operation: 71-3=68, Resulting Numbers: [38, 95, 68]
Generated Node #0,1: 65:[38, 95, 68] Operation: 71-3=68
Exploring Operation: 95-38=57, Resulting Numbers: [71, 3, 57]
Generated Node #0,2: 65:[71, 3, 57] Operation: 95-38=57
Exploring Operation: 38-3=35, Resulting Numbers: [71, 95, 35]
Generated Node #0,3: 65:[71, 95, 35] Operation: 38-3=35
Exploring Operation: 71-38=33, Resulting Numbers: [3, 95, 33]
Generated Node #0,4: 65:[3, 95, 33] Operation: 71-38=33
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[71, 3, 57], Operations: ['95-38=57']
Exploring Operation: 3+57=60, Resulting Numbers: [71, 60]
Generated Node #0,2,0: 65:[71, 60] Operation: 3+57=60
Exploring Operation: 57/3=19, Resulting Numbers: [71, 19]
Generated Node #0,2,1: 65:[71, 19] Operation: 57/3=19
Exploring Operation: 71+3=74, Resulting Numbers: [57, 74]
Generated Node #0,2,2: 65:[57, 74] Operation: 71+3=74
Exploring Operation: 71-57=14, Resulting Numbers: [3, 14]
Generated Node #0,2,3: 65:[3, 14] Operation: 71-57=14
Exploring Operation: 71-3=68, Resulting Numbers: [57, 68]
Generated Node #0,2,4: 65:[57, 68] Operation: 71-3=68
Moving to Node #0,2,3
Current State: 65:[3, 14], Operations: ['95-38=57', '71-57=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Moving to Node #0,2,4
Current State: 65:[57, 68], Operations: ['95-38=57', '71-3=68']
Exploring Operation: 68-57=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 57*68=3876, Resulting Numbers: [3876]
3876,65 unequal: No Solution
Exploring Operation: 57+68=125, Resulting Numbers: [125]
125,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[71, 60], Operations: ['95-38=57', '3+57=60']
Exploring Operation: 71+60=131, Resulting Numbers: [131]
131,65 unequal: No Solution
Exploring Operation: 71*60=4260, Resulting Numbers: [4260]
4260,65 unequal: No Solution
Exploring Operation: 71-60=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[71, 19], Operations: ['95-38=57', '57/3=19']
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,65 unequal: No Solution
Exploring Operation: 71*19=1349, Resulting Numbers: [1349]
1349,65 unequal: No Solution
Exploring Operation: 71+19=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[57, 74], Operations: ['95-38=57', '71+3=74']
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Exploring Operation: 57*74=4218, Resulting Numbers: [4218]
4218,65 unequal: No Solution
Exploring Operation: 57+74=131, Resulting Numbers: [131]
131,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[38, 3, 24], Operations: ['95-71=24']
Exploring Operation: 3*24=72, Resulting Numbers: [38, 72]
Generated Node #0,0,0: 65:[38, 72] Operation: 3*24=72
Exploring Operation: 38-3=35, Resulting Numbers: [24, 35]
Generated Node #0,0,1: 65:[24, 35] Operation: 38-3=35
Exploring Operation: 38+24=62, Resulting Numbers: [3, 62]
Generated Node #0,0,2: 65:[3, 62] Operation: 38+24=62
Exploring Operation: 24/3=8, Resulting Numbers: [38, 8]
Generated Node #0,0,3: 65:[38, 8] Operation: 24/3=8
Exploring Operation: 38-24=14, Resulting Numbers: [3, 14]
Generated Node #0,0,4: 65:[3, 14] Operation: 38-24=14
Moving to Node #0,0,4
Current State: 65:[3, 14], Operations: ['95-71=24', '38-24=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[3, 62], Operations: ['95-71=24', '38+24=62']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 3*62=186, Resulting Numbers: [186]
186,65 unequal: No Solution
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[38, 71, 3, 95], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [38, 3, 24]
Generated Node #0,0: 65:[38, 3, 24] Operation: 95-71=24
Moving to Node #0,0
Current State: 65:[38, 3, 24], Operations: ['95-71=24']
Exploring Operation: 38+24=62, Resulting Numbers: [3, 62]
Generated Node #0,0,2: 65:[3, 62] Operation: 38+24=62
Moving to Node #0,0,2
Current State: 65:[3, 62], Operations: ['95-71=24', '38+24=62']
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | sum_heuristic |
[
12,
42,
5,
62
] | 16 | [
"62-42=20",
"20/5=4",
"12+4=16"
] | Current State: 16:[12, 42, 5, 62], Operations: []
Exploring Operation: 62-42=20, Resulting Numbers: [12, 5, 20]
Generated Node #2: [12, 5, 20] from Operation: 62-42=20
Current State: 16:[12, 5, 20], Operations: ['62-42=20']
Exploring Operation: 20/5=4, Resulting Numbers: [12, 4]
Generated Node #3: [12, 4] from Operation: 20/5=4
Current State: 16:[12, 4], Operations: ['62-42=20', '20/5=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[12, 42, 5, 62], Operations: []
Exploring Operation: 62-42=20, Resulting Numbers: [12, 5, 20]
Generated Node #0,0: 16:[12, 5, 20] Operation: 62-42=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[12, 5, 20], Operations: ['62-42=20']
Exploring Operation: 20-12=8, Resulting Numbers: [5, 8]
Generated Node #0,0,0: 16:[5, 8] Operation: 20-12=8
Moving to Node #0,0,0
Current State: 16:[5, 8], Operations: ['62-42=20', '20-12=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,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 |
[
15,
13,
10,
32
] | 91 | [
"15+10=25",
"32-25=7",
"13*7=91"
] | Current State: 91:[15, 13, 10, 32], Operations: []
Exploring Operation: 15+10=25, Resulting Numbers: [13, 32, 25]
Generated Node #2: [13, 32, 25] from Operation: 15+10=25
Current State: 91:[13, 32, 25], Operations: ['15+10=25']
Exploring Operation: 32-25=7, Resulting Numbers: [13, 7]
Generated Node #3: [13, 7] from Operation: 32-25=7
Current State: 91:[13, 7], Operations: ['15+10=25', '32-25=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[15, 13, 10, 32], Operations: []
Exploring Operation: 32-13=19, Resulting Numbers: [15, 10, 19]
Generated Node #0,0: 91:[15, 10, 19] Operation: 32-13=19
Exploring Operation: 32-10=22, Resulting Numbers: [15, 13, 22]
Generated Node #0,1: 91:[15, 13, 22] Operation: 32-10=22
Exploring Operation: 32-15=17, Resulting Numbers: [13, 10, 17]
Generated Node #0,2: 91:[13, 10, 17] Operation: 32-15=17
Moving to Node #0,2
Current State: 91:[13, 10, 17], Operations: ['32-15=17']
Exploring Operation: 13-10=3, Resulting Numbers: [17, 3]
Generated Node #0,2,0: 91:[17, 3] Operation: 13-10=3
Exploring Operation: 17-10=7, Resulting Numbers: [13, 7]
Generated Node #0,2,1: 91:[13, 7] Operation: 17-10=7
Exploring Operation: 17-13=4, Resulting Numbers: [10, 4]
Generated Node #0,2,2: 91:[10, 4] Operation: 17-13=4
Moving to Node #0,0
Current State: 91:[15, 10, 19], Operations: ['32-13=19']
Exploring Operation: 15-10=5, Resulting Numbers: [19, 5]
Generated Node #0,0,0: 91:[19, 5] Operation: 15-10=5
Exploring Operation: 19-10=9, Resulting Numbers: [15, 9]
Generated Node #0,0,1: 91:[15, 9] Operation: 19-10=9
Exploring Operation: 19-15=4, Resulting Numbers: [10, 4]
Generated Node #0,0,2: 91:[10, 4] Operation: 19-15=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[15, 9], Operations: ['32-13=19', '19-10=9']
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,91 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[10, 4], Operations: ['32-13=19', '19-15=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[19, 5], Operations: ['32-13=19', '15-10=5']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 91:[15, 13, 22], Operations: ['32-10=22']
Exploring Operation: 22-15=7, Resulting Numbers: [13, 7]
Generated Node #0,1,0: 91:[13, 7] Operation: 22-15=7
Exploring Operation: 22-13=9, Resulting Numbers: [15, 9]
Generated Node #0,1,1: 91:[15, 9] Operation: 22-13=9
Exploring Operation: 15-13=2, Resulting Numbers: [22, 2]
Generated Node #0,1,2: 91:[22, 2] Operation: 15-13=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[13, 7], Operations: ['32-10=22', '22-15=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[15, 13, 10, 32], Operations: []
Exploring Operation: 32-10=22, Resulting Numbers: [15, 13, 22]
Generated Node #0,1: 91:[15, 13, 22] Operation: 32-10=22
Moving to Node #0,1
Current State: 91:[15, 13, 22], Operations: ['32-10=22']
Exploring Operation: 22-15=7, Resulting Numbers: [13, 7]
Generated Node #0,1,0: 91:[13, 7] Operation: 22-15=7
Moving to Node #0,1,0
Current State: 91:[13, 7], Operations: ['32-10=22', '22-15=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
17,
56,
70,
56
] | 70 | [
"56-56=0",
"17*0=0",
"70+0=70"
] | Current State: 70:[17, 56, 70, 56], Operations: []
Exploring Operation: 56-56=0, Resulting Numbers: [17, 70, 0]
Generated Node #2: [17, 70, 0] from Operation: 56-56=0
Current State: 70:[17, 70, 0], Operations: ['56-56=0']
Exploring Operation: 17*0=0, Resulting Numbers: [70, 0]
Generated Node #3: [70, 0] from Operation: 17*0=0
Current State: 70:[70, 0], Operations: ['56-56=0', '17*0=0']
Exploring Operation: 70+0=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[17, 56, 70, 56], Operations: []
Exploring Operation: 56/56=1, Resulting Numbers: [17, 70, 1]
Generated Node #0,0: 70:[17, 70, 1] Operation: 56/56=1
Exploring Operation: 56-56=0, Resulting Numbers: [17, 70, 0]
Generated Node #0,1: 70:[17, 70, 0] Operation: 56-56=0
Exploring Operation: 17+56=73, Resulting Numbers: [56, 70, 73]
Generated Node #0,2: 70:[56, 70, 73] Operation: 17+56=73
Exploring Operation: 17+56=73, Resulting Numbers: [70, 56, 73]
Generated Node #0,3: 70:[70, 56, 73] Operation: 17+56=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[17, 70, 1], Operations: ['56/56=1']
Exploring Operation: 17-1=16, Resulting Numbers: [70, 16]
Generated Node #0,0,0: 70:[70, 16] Operation: 17-1=16
Exploring Operation: 17*1=17, Resulting Numbers: [70, 17]
Generated Node #0,0,1: 70:[70, 17] Operation: 17*1=17
Exploring Operation: 17/1=17, Resulting Numbers: [70, 17]
Generated Node #0,0,2: 70:[70, 17] Operation: 17/1=17
Exploring Operation: 70*1=70, Resulting Numbers: [17, 70]
Generated Node #0,0,3: 70:[17, 70] Operation: 70*1=70
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[70, 16], Operations: ['56/56=1', '17-1=16']
Exploring Operation: 70+16=86, Resulting Numbers: [86]
86,70 unequal: No Solution
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 70*16=1120, Resulting Numbers: [1120]
1120,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[70, 17], Operations: ['56/56=1', '17*1=17']
Exploring Operation: 70+17=87, Resulting Numbers: [87]
87,70 unequal: No Solution
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,70 unequal: No Solution
Exploring Operation: 70*17=1190, Resulting Numbers: [1190]
1190,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 70:[70, 17], Operations: ['56/56=1', '17/1=17']
Exploring Operation: 70+17=87, Resulting Numbers: [87]
87,70 unequal: No Solution
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,70 unequal: No Solution
Exploring Operation: 70*17=1190, Resulting Numbers: [1190]
1190,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 70:[17, 70], Operations: ['56/56=1', '70*1=70']
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,70 unequal: No Solution
Exploring Operation: 17+70=87, Resulting Numbers: [87]
87,70 unequal: No Solution
Exploring Operation: 17*70=1190, Resulting Numbers: [1190]
1190,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[17, 70, 0], Operations: ['56-56=0']
Exploring Operation: 17-0=17, Resulting Numbers: [70, 17]
Generated Node #0,1,0: 70:[70, 17] Operation: 17-0=17
Exploring Operation: 70+0=70, Resulting Numbers: [17, 70]
Generated Node #0,1,1: 70:[17, 70] Operation: 70+0=70
Exploring Operation: 17+0=17, Resulting Numbers: [70, 17]
Generated Node #0,1,2: 70:[70, 17] Operation: 17+0=17
Exploring Operation: 17*0=0, Resulting Numbers: [70, 0]
Generated Node #0,1,3: 70:[70, 0] Operation: 17*0=0
Moving to Node #0,1,3
Current State: 70:[70, 0], Operations: ['56-56=0', '17*0=0']
Exploring Operation: 70*0=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 70-0=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[17, 56, 70, 56], Operations: []
Exploring Operation: 56-56=0, Resulting Numbers: [17, 70, 0]
Generated Node #0,1: 70:[17, 70, 0] Operation: 56-56=0
Moving to Node #0,1
Current State: 70:[17, 70, 0], Operations: ['56-56=0']
Exploring Operation: 17*0=0, Resulting Numbers: [70, 0]
Generated Node #0,1,3: 70:[70, 0] Operation: 17*0=0
Moving to Node #0,1,3
Current State: 70:[70, 0], Operations: ['56-56=0', '17*0=0']
Exploring Operation: 70-0=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
90,
10,
78,
8
] | 86 | [
"90-78=12",
"8*12=96",
"96-10=86"
] | Current State: 86:[90, 10, 78, 8], Operations: []
Exploring Operation: 90-78=12, Resulting Numbers: [10, 8, 12]
Generated Node #2: [10, 8, 12] from Operation: 90-78=12
Current State: 86:[10, 8, 12], Operations: ['90-78=12']
Exploring Operation: 8*12=96, Resulting Numbers: [10, 96]
Generated Node #3: [10, 96] from Operation: 8*12=96
Current State: 86:[10, 96], Operations: ['90-78=12', '8*12=96']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[90, 10, 78, 8], Operations: []
Exploring Operation: 10+78=88, Resulting Numbers: [90, 8, 88]
Generated Node #0,0: 86:[90, 8, 88] Operation: 10+78=88
Exploring Operation: 10-8=2, Resulting Numbers: [90, 78, 2]
Generated Node #0,1: 86:[90, 78, 2] Operation: 10-8=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[90, 8, 88], Operations: ['10+78=88']
Exploring Operation: 90-88=2, Resulting Numbers: [8, 2]
Generated Node #0,0,0: 86:[8, 2] Operation: 90-88=2
Exploring Operation: 90-8=82, Resulting Numbers: [88, 82]
Generated Node #0,0,1: 86:[88, 82] Operation: 90-8=82
Moving to Node #0,0,0
Current State: 86:[8, 2], Operations: ['10+78=88', '90-88=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[88, 82], Operations: ['10+78=88', '90-8=82']
Exploring Operation: 88-82=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 88+82=170, Resulting Numbers: [170]
170,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[90, 78, 2], Operations: ['10-8=2']
Exploring Operation: 90-78=12, Resulting Numbers: [2, 12]
Generated Node #0,1,0: 86:[2, 12] Operation: 90-78=12
Exploring Operation: 78/2=39, Resulting Numbers: [90, 39]
Generated Node #0,1,1: 86:[90, 39] Operation: 78/2=39
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 86:[90, 39], Operations: ['10-8=2', '78/2=39']
Exploring Operation: 90-39=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 90+39=129, Resulting Numbers: [129]
129,86 unequal: No Solution
No 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: 86:[2, 12], Operations: ['10-8=2', '90-78=12']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,86 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 |
[
26,
3,
7,
12
] | 23 | [
"26+7=33",
"33/3=11",
"12+11=23"
] | Current State: 23:[26, 3, 7, 12], Operations: []
Exploring Operation: 26+7=33, Resulting Numbers: [3, 12, 33]
Generated Node #2: [3, 12, 33] from Operation: 26+7=33
Current State: 23:[3, 12, 33], Operations: ['26+7=33']
Exploring Operation: 33/3=11, Resulting Numbers: [12, 11]
Generated Node #3: [12, 11] from Operation: 33/3=11
Current State: 23:[12, 11], Operations: ['26+7=33', '33/3=11']
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[26, 3, 7, 12], Operations: []
Exploring Operation: 3+7=10, Resulting Numbers: [26, 12, 10]
Generated Node #0,0: 23:[26, 12, 10] Operation: 3+7=10
Exploring Operation: 3+12=15, Resulting Numbers: [26, 7, 15]
Generated Node #0,1: 23:[26, 7, 15] Operation: 3+12=15
Exploring Operation: 3*7=21, Resulting Numbers: [26, 12, 21]
Generated Node #0,2: 23:[26, 12, 21] Operation: 3*7=21
Exploring Operation: 26-3=23, Resulting Numbers: [7, 12, 23]
Generated Node #0,3: 23:[7, 12, 23] Operation: 26-3=23
Moving to Node #0,2
Current State: 23:[26, 12, 21], Operations: ['3*7=21']
Exploring Operation: 26-12=14, Resulting Numbers: [21, 14]
Generated Node #0,2,0: 23:[21, 14] Operation: 26-12=14
Exploring Operation: 21-12=9, Resulting Numbers: [26, 9]
Generated Node #0,2,1: 23:[26, 9] Operation: 21-12=9
Exploring Operation: 26+12=38, Resulting Numbers: [21, 38]
Generated Node #0,2,2: 23:[21, 38] Operation: 26+12=38
Exploring Operation: 12+21=33, Resulting Numbers: [26, 33]
Generated Node #0,2,3: 23:[26, 33] Operation: 12+21=33
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[21, 14], Operations: ['3*7=21', '26-12=14']
Exploring Operation: 21*14=294, Resulting Numbers: [294]
294,23 unequal: No Solution
Exploring Operation: 21+14=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,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,2,3
Current State: 23:[26, 33], Operations: ['3*7=21', '12+21=33']
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 26*33=858, Resulting Numbers: [858]
858,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,2,1
Current State: 23:[26, 9], Operations: ['3*7=21', '21-12=9']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 26+9=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 26*9=234, Resulting Numbers: [234]
234,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,2,2
Current State: 23:[21, 38], Operations: ['3*7=21', '26+12=38']
Exploring Operation: 21*38=798, Resulting Numbers: [798]
798,23 unequal: No Solution
Exploring Operation: 21+38=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,23 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: 23:[26, 7, 15], Operations: ['3+12=15']
Exploring Operation: 26-7=19, Resulting Numbers: [15, 19]
Generated Node #0,1,0: 23:[15, 19] Operation: 26-7=19
Exploring Operation: 15-7=8, Resulting Numbers: [26, 8]
Generated Node #0,1,1: 23:[26, 8] Operation: 15-7=8
Exploring Operation: 7+15=22, Resulting Numbers: [26, 22]
Generated Node #0,1,2: 23:[26, 22] Operation: 7+15=22
Exploring Operation: 26+7=33, Resulting Numbers: [15, 33]
Generated Node #0,1,3: 23:[15, 33] Operation: 26+7=33
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[26, 22], Operations: ['3+12=15', '7+15=22']
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,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,1,0
Current State: 23:[15, 19], Operations: ['3+12=15', '26-7=19']
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,23 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,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,1,1
Current State: 23:[26, 8], Operations: ['3+12=15', '15-7=8']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 26*8=208, Resulting Numbers: [208]
208,23 unequal: No Solution
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,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,1,3
Current State: 23:[15, 33], Operations: ['3+12=15', '26+7=33']
Exploring Operation: 15+33=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 15*33=495, Resulting Numbers: [495]
495,23 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: 23:[26, 12, 10], Operations: ['3+7=10']
Exploring Operation: 26+10=36, Resulting Numbers: [12, 36]
Generated Node #0,0,0: 23:[12, 36] Operation: 26+10=36
Exploring Operation: 26-12=14, Resulting Numbers: [10, 14]
Generated Node #0,0,1: 23:[10, 14] Operation: 26-12=14
Exploring Operation: 26-10=16, Resulting Numbers: [12, 16]
Generated Node #0,0,2: 23:[12, 16] Operation: 26-10=16
Exploring Operation: 12+10=22, Resulting Numbers: [26, 22]
Generated Node #0,0,3: 23:[26, 22] Operation: 12+10=22
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 23:[26, 22], Operations: ['3+7=10', '12+10=22']
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,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,0,2
Current State: 23:[12, 16], Operations: ['3+7=10', '26-10=16']
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,23 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,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,0,1
Current State: 23:[10, 14], Operations: ['3+7=10', '26-12=14']
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,23 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,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,0,0
Current State: 23:[12, 36], Operations: ['3+7=10', '26+10=36']
Exploring Operation: 12*36=432, Resulting Numbers: [432]
432,23 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,23 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: 23:[7, 12, 23], Operations: ['26-3=23']
Exploring Operation: 7+23=30, Resulting Numbers: [12, 30]
Generated Node #0,3,0: 23:[12, 30] Operation: 7+23=30
Exploring Operation: 7+12=19, Resulting Numbers: [23, 19]
Generated Node #0,3,1: 23:[23, 19] Operation: 7+12=19
Exploring Operation: 23-7=16, Resulting Numbers: [12, 16]
Generated Node #0,3,2: 23:[12, 16] Operation: 23-7=16
Exploring Operation: 12-7=5, Resulting Numbers: [23, 5]
Generated Node #0,3,3: 23:[23, 5] Operation: 12-7=5
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 23:[23, 19], Operations: ['26-3=23', '7+12=19']
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 23*19=437, Resulting Numbers: [437]
437,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,3,0
Current State: 23:[12, 30], Operations: ['26-3=23', '7+23=30']
Exploring Operation: 12*30=360, Resulting Numbers: [360]
360,23 unequal: No Solution
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,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,3,2
Current State: 23:[12, 16], Operations: ['26-3=23', '23-7=16']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,23 unequal: No Solution
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,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,3,3
Current State: 23:[23, 5], Operations: ['26-3=23', '12-7=5']
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,23 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,23 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 |
[
61,
32,
75,
76
] | 93 | [
"61+32=93",
"76-75=1",
"93*1=93"
] | Current State: 93:[61, 32, 75, 76], Operations: []
Exploring Operation: 61+32=93, Resulting Numbers: [75, 76, 93]
Generated Node #2: [75, 76, 93] from Operation: 61+32=93
Current State: 93:[75, 76, 93], Operations: ['61+32=93']
Exploring Operation: 76-75=1, Resulting Numbers: [93, 1]
Generated Node #3: [93, 1] from Operation: 76-75=1
Current State: 93:[93, 1], Operations: ['61+32=93', '76-75=1']
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[61, 32, 75, 76], Operations: []
Exploring Operation: 75-61=14, Resulting Numbers: [32, 76, 14]
Generated Node #0,0: 93:[32, 76, 14] Operation: 75-61=14
Moving to Node #0,0
Current State: 93:[32, 76, 14], Operations: ['75-61=14']
Exploring Operation: 76+14=90, Resulting Numbers: [32, 90]
Generated Node #0,0,0: 93:[32, 90] Operation: 76+14=90
Moving to Node #0,0,0
Current State: 93:[32, 90], Operations: ['75-61=14', '76+14=90']
Exploring Operation: 90-32=58, Resulting Numbers: [58]
58,93 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
21,
64,
85,
97
] | 73 | [
"21+64=85",
"97-85=12",
"85-12=73"
] | Current State: 73:[21, 64, 85, 97], Operations: []
Exploring Operation: 21+64=85, Resulting Numbers: [85, 97, 85]
Generated Node #2: [85, 97, 85] from Operation: 21+64=85
Current State: 73:[85, 97, 85], Operations: ['21+64=85']
Exploring Operation: 97-85=12, Resulting Numbers: [12]
12,73 equal: Goal Reached
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[21, 64, 85, 97], Operations: []
Exploring Operation: 85-21=64, Resulting Numbers: [64, 97, 64]
Generated Node #0,0: 73:[64, 97, 64] Operation: 85-21=64
Exploring Operation: 97-21=76, Resulting Numbers: [64, 85, 76]
Generated Node #0,1: 73:[64, 85, 76] Operation: 97-21=76
Exploring Operation: 21+64=85, Resulting Numbers: [85, 97, 85]
Generated Node #0,2: 73:[85, 97, 85] Operation: 21+64=85
Moving to Node #0,1
Current State: 73:[64, 85, 76], Operations: ['97-21=76']
Exploring Operation: 85-64=21, Resulting Numbers: [76, 21]
Generated Node #0,1,0: 73:[76, 21] Operation: 85-64=21
Exploring Operation: 76-64=12, Resulting Numbers: [85, 12]
Generated Node #0,1,1: 73:[85, 12] Operation: 76-64=12
Exploring Operation: 85-76=9, Resulting Numbers: [64, 9]
Generated Node #0,1,2: 73:[64, 9] Operation: 85-76=9
Moving to Node #0,0
Current State: 73:[64, 97, 64], Operations: ['85-21=64']
Exploring Operation: 97-64=33, Resulting Numbers: [64, 33]
Generated Node #0,0,0: 73:[64, 33] Operation: 97-64=33
Exploring Operation: 64+64=128, Resulting Numbers: [97, 128]
Generated Node #0,0,1: 73:[97, 128] Operation: 64+64=128
Exploring Operation: 97-64=33, Resulting Numbers: [64, 33]
Generated Node #0,0,2: 73:[64, 33] Operation: 97-64=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[64, 33], Operations: ['85-21=64', '97-64=33']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 64*33=2112, Resulting Numbers: [2112]
2112,73 unequal: No Solution
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[64, 33], Operations: ['85-21=64', '97-64=33']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,73 unequal: No Solution
Exploring Operation: 64*33=2112, Resulting Numbers: [2112]
2112,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[97, 128], Operations: ['85-21=64', '64+64=128']
Exploring Operation: 97+128=225, Resulting Numbers: [225]
225,73 unequal: No Solution
Exploring Operation: 97*128=12416, Resulting Numbers: [12416]
12416,73 unequal: No Solution
Exploring Operation: 128-97=31, Resulting Numbers: [31]
31,73 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: 73:[85, 97, 85], Operations: ['21+64=85']
Exploring Operation: 85/85=1, Resulting Numbers: [97, 1]
Generated Node #0,2,0: 73:[97, 1] Operation: 85/85=1
Exploring Operation: 97-85=12, Resulting Numbers: [85, 12]
Generated Node #0,2,1: 73:[85, 12] Operation: 97-85=12
Exploring Operation: 97-85=12, Resulting Numbers: [85, 12]
Generated Node #0,2,2: 73:[85, 12] Operation: 97-85=12
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 73:[85, 12], Operations: ['21+64=85', '97-85=12']
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[21, 64, 85, 97], Operations: []
Exploring Operation: 21+64=85, Resulting Numbers: [85, 97, 85]
Generated Node #0,2: 73:[85, 97, 85] Operation: 21+64=85
Moving to Node #0,2
Current State: 73:[85, 97, 85], Operations: ['21+64=85']
Exploring Operation: 97-85=12, Resulting Numbers: [85, 12]
Generated Node #0,2,1: 73:[85, 12] Operation: 97-85=12
Moving to Node #0,2,1
Current State: 73:[85, 12], Operations: ['21+64=85', '97-85=12']
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
9,
50,
26,
22
] | 34 | [
"50+22=72",
"72/9=8",
"26+8=34"
] | Current State: 34:[9, 50, 26, 22], Operations: []
Exploring Operation: 50+22=72, Resulting Numbers: [9, 26, 72]
Generated Node #2: [9, 26, 72] from Operation: 50+22=72
Current State: 34:[9, 26, 72], Operations: ['50+22=72']
Exploring Operation: 72/9=8, Resulting Numbers: [26, 8]
Generated Node #3: [26, 8] from Operation: 72/9=8
Current State: 34:[26, 8], Operations: ['50+22=72', '72/9=8']
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[9, 50, 26, 22], Operations: []
Exploring Operation: 50-26=24, Resulting Numbers: [9, 22, 24]
Generated Node #0,0: 34:[9, 22, 24] Operation: 50-26=24
Exploring Operation: 50-9=41, Resulting Numbers: [26, 22, 41]
Generated Node #0,1: 34:[26, 22, 41] Operation: 50-9=41
Moving to Node #0,0
Current State: 34:[9, 22, 24], Operations: ['50-26=24']
Exploring Operation: 9+24=33, Resulting Numbers: [22, 33]
Generated Node #0,0,0: 34:[22, 33] Operation: 9+24=33
Exploring Operation: 24-9=15, Resulting Numbers: [22, 15]
Generated Node #0,0,1: 34:[22, 15] Operation: 24-9=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[22, 33], Operations: ['50-26=24', '9+24=33']
Exploring Operation: 22+33=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[22, 15], Operations: ['50-26=24', '24-9=15']
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,34 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: 34:[26, 22, 41], Operations: ['50-9=41']
Exploring Operation: 26-22=4, Resulting Numbers: [41, 4]
Generated Node #0,1,0: 34:[41, 4] Operation: 26-22=4
Exploring Operation: 41-26=15, Resulting Numbers: [22, 15]
Generated Node #0,1,1: 34:[22, 15] Operation: 41-26=15
Moving to Node #0,1,1
Current State: 34:[22, 15], Operations: ['50-9=41', '41-26=15']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[41, 4], Operations: ['50-9=41', '26-22=4']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,34 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
68,
62,
66,
64
] | 70 | [
"62+66=128",
"128/64=2",
"68+2=70"
] | Current State: 70:[68, 62, 66, 64], Operations: []
Exploring Operation: 62+66=128, Resulting Numbers: [68, 64, 128]
Generated Node #2: [68, 64, 128] from Operation: 62+66=128
Current State: 70:[68, 64, 128], Operations: ['62+66=128']
Exploring Operation: 128/64=2, Resulting Numbers: [68, 2]
Generated Node #3: [68, 2] from Operation: 128/64=2
Current State: 70:[68, 2], Operations: ['62+66=128', '128/64=2']
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[68, 62, 66, 64], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [68, 66, 2]
Generated Node #0,0: 70:[68, 66, 2] Operation: 64-62=2
Exploring Operation: 66-62=4, Resulting Numbers: [68, 64, 4]
Generated Node #0,1: 70:[68, 64, 4] Operation: 66-62=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[68, 66, 2], Operations: ['64-62=2']
Exploring Operation: 68+2=70, Resulting Numbers: [66, 70]
Generated Node #0,0,0: 70:[66, 70] Operation: 68+2=70
Exploring Operation: 68-66=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 70:[2, 2] Operation: 68-66=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[2, 2], Operations: ['64-62=2', '68-66=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[66, 70], Operations: ['64-62=2', '68+2=70']
Exploring Operation: 66+70=136, Resulting Numbers: [136]
136,70 unequal: No Solution
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[68, 64, 4], Operations: ['66-62=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68, 68]
Generated Node #0,1,0: 70:[68, 68] Operation: 64+4=68
Exploring Operation: 68-64=4, Resulting Numbers: [4, 4]
Generated Node #0,1,1: 70:[4, 4] Operation: 68-64=4
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[4, 4], Operations: ['66-62=4', '68-64=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[68, 68], Operations: ['66-62=4', '64+4=68']
Exploring Operation: 68-68=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 68/68=1, Resulting Numbers: [1]
1,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
24,
12,
67,
36
] | 49 | [
"24/12=2",
"36/2=18",
"67-18=49"
] | Current State: 49:[24, 12, 67, 36], Operations: []
Exploring Operation: 24/12=2, Resulting Numbers: [67, 36, 2]
Generated Node #2: [67, 36, 2] from Operation: 24/12=2
Current State: 49:[67, 36, 2], Operations: ['24/12=2']
Exploring Operation: 36/2=18, Resulting Numbers: [67, 18]
Generated Node #3: [67, 18] from Operation: 36/2=18
Current State: 49:[67, 18], Operations: ['24/12=2', '36/2=18']
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[24, 12, 67, 36], Operations: []
Exploring Operation: 36-24=12, Resulting Numbers: [12, 67, 12]
Generated Node #0,0: 49:[12, 67, 12] Operation: 36-24=12
Exploring Operation: 67-24=43, Resulting Numbers: [12, 36, 43]
Generated Node #0,1: 49:[12, 36, 43] Operation: 67-24=43
Exploring Operation: 24-12=12, Resulting Numbers: [67, 36, 12]
Generated Node #0,2: 49:[67, 36, 12] Operation: 24-12=12
Exploring Operation: 24+36=60, Resulting Numbers: [12, 67, 60]
Generated Node #0,3: 49:[12, 67, 60] Operation: 24+36=60
Exploring Operation: 24/12=2, Resulting Numbers: [67, 36, 2]
Generated Node #0,4: 49:[67, 36, 2] Operation: 24/12=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[12, 36, 43], Operations: ['67-24=43']
Exploring Operation: 12+43=55, Resulting Numbers: [36, 55]
Generated Node #0,1,0: 49:[36, 55] Operation: 12+43=55
Exploring Operation: 36-12=24, Resulting Numbers: [43, 24]
Generated Node #0,1,1: 49:[43, 24] Operation: 36-12=24
Exploring Operation: 43-36=7, Resulting Numbers: [12, 7]
Generated Node #0,1,2: 49:[12, 7] Operation: 43-36=7
Exploring Operation: 12+36=48, Resulting Numbers: [43, 48]
Generated Node #0,1,3: 49:[43, 48] Operation: 12+36=48
Exploring Operation: 36/12=3, Resulting Numbers: [43, 3]
Generated Node #0,1,4: 49:[43, 3] Operation: 36/12=3
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 49:[12, 7], Operations: ['67-24=43', '43-36=7']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,49 unequal: No Solution
No 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: 49:[43, 48], Operations: ['67-24=43', '12+36=48']
Exploring Operation: 43+48=91, Resulting Numbers: [91]
91,49 unequal: No Solution
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 43*48=2064, Resulting Numbers: [2064]
2064,49 unequal: No Solution
No 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: 49:[43, 3], Operations: ['67-24=43', '36/12=3']
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,49 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,49 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,49 unequal: No Solution
No 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: 49:[36, 55], Operations: ['67-24=43', '12+43=55']
Exploring Operation: 36*55=1980, Resulting Numbers: [1980]
1980,49 unequal: No Solution
Exploring Operation: 36+55=91, Resulting Numbers: [91]
91,49 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,49 unequal: No Solution
No 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: 49:[43, 24], Operations: ['67-24=43', '36-12=24']
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 43*24=1032, Resulting Numbers: [1032]
1032,49 unequal: No Solution
Exploring Operation: 43+24=67, Resulting Numbers: [67]
67,49 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: 49:[12, 67, 12], Operations: ['36-24=12']
Exploring Operation: 12+67=79, Resulting Numbers: [12, 79]
Generated Node #0,0,0: 49:[12, 79] Operation: 12+67=79
Exploring Operation: 67-12=55, Resulting Numbers: [12, 55]
Generated Node #0,0,1: 49:[12, 55] Operation: 67-12=55
Exploring Operation: 67-12=55, Resulting Numbers: [12, 55]
Generated Node #0,0,2: 49:[12, 55] Operation: 67-12=55
Exploring Operation: 12-12=0, Resulting Numbers: [67, 0]
Generated Node #0,0,3: 49:[67, 0] Operation: 12-12=0
Exploring Operation: 12/12=1, Resulting Numbers: [67, 1]
Generated Node #0,0,4: 49:[67, 1] Operation: 12/12=1
Moving to Node #0,0,1
Current State: 49:[12, 55], Operations: ['36-24=12', '67-12=55']
Exploring Operation: 12+55=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 12*55=660, Resulting Numbers: [660]
660,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[12, 55], Operations: ['36-24=12', '67-12=55']
Exploring Operation: 12+55=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 12*55=660, Resulting Numbers: [660]
660,49 unequal: No Solution
Moving to Node #0,0,4
Current State: 49:[67, 1], Operations: ['36-24=12', '12/12=1']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 67+1=68, Resulting Numbers: [68]
68,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[67, 0], Operations: ['36-24=12', '12-12=0']
Exploring Operation: 67*0=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Exploring Operation: 67+0=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 67-0=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[12, 79], Operations: ['36-24=12', '12+67=79']
Exploring Operation: 12+79=91, Resulting Numbers: [91]
91,49 unequal: No Solution
Exploring Operation: 12*79=948, Resulting Numbers: [948]
948,49 unequal: No Solution
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[12, 67, 60], Operations: ['24+36=60']
Exploring Operation: 60/12=5, Resulting Numbers: [67, 5]
Generated Node #0,3,0: 49:[67, 5] Operation: 60/12=5
Exploring Operation: 12+67=79, Resulting Numbers: [60, 79]
Generated Node #0,3,1: 49:[60, 79] Operation: 12+67=79
Exploring Operation: 60-12=48, Resulting Numbers: [67, 48]
Generated Node #0,3,2: 49:[67, 48] Operation: 60-12=48
Exploring Operation: 67-12=55, Resulting Numbers: [60, 55]
Generated Node #0,3,3: 49:[60, 55] Operation: 67-12=55
Exploring Operation: 67-60=7, Resulting Numbers: [12, 7]
Generated Node #0,3,4: 49:[12, 7] Operation: 67-60=7
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 49:[12, 7], Operations: ['24+36=60', '67-60=7']
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,49 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,49 unequal: No Solution
No 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: 49:[60, 55], Operations: ['24+36=60', '67-12=55']
Exploring Operation: 60-55=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 60+55=115, Resulting Numbers: [115]
115,49 unequal: No Solution
Exploring Operation: 60*55=3300, Resulting Numbers: [3300]
3300,49 unequal: No Solution
No 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: 49:[67, 48], Operations: ['24+36=60', '60-12=48']
Exploring Operation: 67+48=115, Resulting Numbers: [115]
115,49 unequal: No Solution
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 67*48=3216, Resulting Numbers: [3216]
3216,49 unequal: No Solution
No 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: 49:[67, 5], Operations: ['24+36=60', '60/12=5']
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 67*5=335, Resulting Numbers: [335]
335,49 unequal: No Solution
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,49 unequal: No Solution
No 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: 49:[60, 79], Operations: ['24+36=60', '12+67=79']
Exploring Operation: 79-60=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 60+79=139, Resulting Numbers: [139]
139,49 unequal: No Solution
Exploring Operation: 60*79=4740, Resulting Numbers: [4740]
4740,49 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: 49:[67, 36, 12], Operations: ['24-12=12']
Exploring Operation: 67-36=31, Resulting Numbers: [12, 31]
Generated Node #0,2,0: 49:[12, 31] Operation: 67-36=31
Exploring Operation: 36+12=48, Resulting Numbers: [67, 48]
Generated Node #0,2,1: 49:[67, 48] Operation: 36+12=48
Exploring Operation: 36-12=24, Resulting Numbers: [67, 24]
Generated Node #0,2,2: 49:[67, 24] Operation: 36-12=24
Exploring Operation: 67-12=55, Resulting Numbers: [36, 55]
Generated Node #0,2,3: 49:[36, 55] Operation: 67-12=55
Exploring Operation: 36/12=3, Resulting Numbers: [67, 3]
Generated Node #0,2,4: 49:[67, 3] Operation: 36/12=3
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 49:[67, 48], Operations: ['24-12=12', '36+12=48']
Exploring Operation: 67*48=3216, Resulting Numbers: [3216]
3216,49 unequal: No Solution
Exploring Operation: 67+48=115, Resulting Numbers: [115]
115,49 unequal: No Solution
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,49 unequal: No Solution
No 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: 49:[36, 55], Operations: ['24-12=12', '67-12=55']
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 36*55=1980, Resulting Numbers: [1980]
1980,49 unequal: No Solution
Exploring Operation: 36+55=91, Resulting Numbers: [91]
91,49 unequal: No Solution
No 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: 49:[67, 3], Operations: ['24-12=12', '36/12=3']
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,49 unequal: No Solution
Exploring Operation: 67*3=201, Resulting Numbers: [201]
201,49 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,49 unequal: No Solution
No 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: 49:[12, 31], Operations: ['24-12=12', '67-36=31']
Exploring Operation: 12*31=372, Resulting Numbers: [372]
372,49 unequal: No Solution
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 12+31=43, Resulting Numbers: [43]
43,49 unequal: No Solution
No 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: 49:[67, 24], Operations: ['24-12=12', '36-12=24']
Exploring Operation: 67*24=1608, Resulting Numbers: [1608]
1608,49 unequal: No Solution
Exploring Operation: 67+24=91, Resulting Numbers: [91]
91,49 unequal: No Solution
Exploring Operation: 67-24=43, Resulting Numbers: [43]
43,49 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: 49:[67, 36, 2], Operations: ['24/12=2']
Exploring Operation: 36+2=38, Resulting Numbers: [67, 38]
Generated Node #0,4,0: 49:[67, 38] Operation: 36+2=38
Exploring Operation: 67-36=31, Resulting Numbers: [2, 31]
Generated Node #0,4,1: 49:[2, 31] Operation: 67-36=31
Exploring Operation: 67-2=65, Resulting Numbers: [36, 65]
Generated Node #0,4,2: 49:[36, 65] Operation: 67-2=65
Exploring Operation: 67+2=69, Resulting Numbers: [36, 69]
Generated Node #0,4,3: 49:[36, 69] Operation: 67+2=69
Exploring Operation: 36/2=18, Resulting Numbers: [67, 18]
Generated Node #0,4,4: 49:[67, 18] Operation: 36/2=18
Moving to Node #0,4,1
Current State: 49:[2, 31], Operations: ['24/12=2', '67-36=31']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,49 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Moving to Node #0,4,2
Current State: 49:[36, 65], Operations: ['24/12=2', '67-2=65']
Exploring Operation: 36+65=101, Resulting Numbers: [101]
101,49 unequal: No Solution
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 36*65=2340, Resulting Numbers: [2340]
2340,49 unequal: No Solution
Moving to Node #0,4,0
Current State: 49:[67, 38], Operations: ['24/12=2', '36+2=38']
Exploring Operation: 67+38=105, Resulting Numbers: [105]
105,49 unequal: No Solution
Exploring Operation: 67*38=2546, Resulting Numbers: [2546]
2546,49 unequal: No Solution
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Moving to Node #0,4,4
Current State: 49:[67, 18], Operations: ['24/12=2', '36/2=18']
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[24, 12, 67, 36], Operations: []
Exploring Operation: 24/12=2, Resulting Numbers: [67, 36, 2]
Generated Node #0,4: 49:[67, 36, 2] Operation: 24/12=2
Moving to Node #0,4
Current State: 49:[67, 36, 2], Operations: ['24/12=2']
Exploring Operation: 36/2=18, Resulting Numbers: [67, 18]
Generated Node #0,4,4: 49:[67, 18] Operation: 36/2=18
Moving to Node #0,4,4
Current State: 49:[67, 18], Operations: ['24/12=2', '36/2=18']
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.908854 | hs_5 | mult_heuristic |
[
18,
20,
45,
67
] | 59 | [
"18*20=360",
"360/45=8",
"67-8=59"
] | Current State: 59:[18, 20, 45, 67], Operations: []
Exploring Operation: 18*20=360, Resulting Numbers: [45, 67, 360]
Generated Node #2: [45, 67, 360] from Operation: 18*20=360
Current State: 59:[45, 67, 360], Operations: ['18*20=360']
Exploring Operation: 360/45=8, Resulting Numbers: [67, 8]
Generated Node #3: [67, 8] from Operation: 360/45=8
Current State: 59:[67, 8], Operations: ['18*20=360', '360/45=8']
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[18, 20, 45, 67], Operations: []
Exploring Operation: 18+45=63, Resulting Numbers: [20, 67, 63]
Generated Node #0,0: 59:[20, 67, 63] Operation: 18+45=63
Exploring Operation: 20+45=65, Resulting Numbers: [18, 67, 65]
Generated Node #0,1: 59:[18, 67, 65] Operation: 20+45=65
Exploring Operation: 18+20=38, Resulting Numbers: [45, 67, 38]
Generated Node #0,2: 59:[45, 67, 38] Operation: 18+20=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[45, 67, 38], Operations: ['18+20=38']
Exploring Operation: 67-45=22, Resulting Numbers: [38, 22]
Generated Node #0,2,0: 59:[38, 22] Operation: 67-45=22
Exploring Operation: 67-38=29, Resulting Numbers: [45, 29]
Generated Node #0,2,1: 59:[45, 29] Operation: 67-38=29
Exploring Operation: 45+38=83, Resulting Numbers: [67, 83]
Generated Node #0,2,2: 59:[67, 83] Operation: 45+38=83
Moving to Node #0,2,2
Current State: 59:[67, 83], Operations: ['18+20=38', '45+38=83']
Exploring Operation: 83-67=16, Resulting Numbers: [16]
16,59 unequal: No Solution
Exploring Operation: 67+83=150, Resulting Numbers: [150]
150,59 unequal: No Solution
Exploring Operation: 67*83=5561, Resulting Numbers: [5561]
5561,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[45, 29], Operations: ['18+20=38', '67-38=29']
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,59 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,59 unequal: No Solution
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[38, 22], Operations: ['18+20=38', '67-45=22']
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,59 unequal: No Solution
Exploring Operation: 38*22=836, Resulting Numbers: [836]
836,59 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[20, 67, 63], Operations: ['18+45=63']
Exploring Operation: 63-20=43, Resulting Numbers: [67, 43]
Generated Node #0,0,0: 59:[67, 43] Operation: 63-20=43
Exploring Operation: 20+67=87, Resulting Numbers: [63, 87]
Generated Node #0,0,1: 59:[63, 87] Operation: 20+67=87
Exploring Operation: 67-20=47, Resulting Numbers: [63, 47]
Generated Node #0,0,2: 59:[63, 47] Operation: 67-20=47
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 59:[63, 47], Operations: ['18+45=63', '67-20=47']
Exploring Operation: 63-47=16, Resulting Numbers: [16]
16,59 unequal: No Solution
Exploring Operation: 63*47=2961, Resulting Numbers: [2961]
2961,59 unequal: No Solution
Exploring Operation: 63+47=110, Resulting Numbers: [110]
110,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[67, 43], Operations: ['18+45=63', '63-20=43']
Exploring Operation: 67*43=2881, Resulting Numbers: [2881]
2881,59 unequal: No Solution
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Exploring Operation: 67+43=110, Resulting Numbers: [110]
110,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[63, 87], Operations: ['18+45=63', '20+67=87']
Exploring Operation: 63+87=150, Resulting Numbers: [150]
150,59 unequal: No Solution
Exploring Operation: 87-63=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Exploring Operation: 63*87=5481, Resulting Numbers: [5481]
5481,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[18, 67, 65], Operations: ['20+45=65']
Exploring Operation: 67-18=49, Resulting Numbers: [65, 49]
Generated Node #0,1,0: 59:[65, 49] Operation: 67-18=49
Exploring Operation: 18+67=85, Resulting Numbers: [65, 85]
Generated Node #0,1,1: 59:[65, 85] Operation: 18+67=85
Exploring Operation: 65-18=47, Resulting Numbers: [67, 47]
Generated Node #0,1,2: 59:[67, 47] Operation: 65-18=47
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[65, 49], Operations: ['20+45=65', '67-18=49']
Exploring Operation: 65+49=114, Resulting Numbers: [114]
114,59 unequal: No Solution
Exploring Operation: 65*49=3185, Resulting Numbers: [3185]
3185,59 unequal: No Solution
Exploring Operation: 65-49=16, Resulting Numbers: [16]
16,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 59:[67, 47], Operations: ['20+45=65', '65-18=47']
Exploring Operation: 67+47=114, Resulting Numbers: [114]
114,59 unequal: No Solution
Exploring Operation: 67*47=3149, Resulting Numbers: [3149]
3149,59 unequal: No Solution
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[65, 85], Operations: ['20+45=65', '18+67=85']
Exploring Operation: 65*85=5525, Resulting Numbers: [5525]
5525,59 unequal: No Solution
Exploring Operation: 85-65=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 65+85=150, Resulting Numbers: [150]
150,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
57,
63,
67,
11
] | 64 | [
"57+63=120",
"67-11=56",
"120-56=64"
] | Current State: 64:[57, 63, 67, 11], Operations: []
Exploring Operation: 57+63=120, Resulting Numbers: [67, 11, 120]
Generated Node #2: [67, 11, 120] from Operation: 57+63=120
Current State: 64:[67, 11, 120], Operations: ['57+63=120']
Exploring Operation: 67-11=56, Resulting Numbers: [120, 56]
Generated Node #3: [120, 56] from Operation: 67-11=56
Current State: 64:[120, 56], Operations: ['57+63=120', '67-11=56']
Exploring Operation: 120-56=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[57, 63, 67, 11], Operations: []
Exploring Operation: 57+11=68, Resulting Numbers: [63, 67, 68]
Generated Node #0,0: 64:[63, 67, 68] Operation: 57+11=68
Exploring Operation: 67-63=4, Resulting Numbers: [57, 11, 4]
Generated Node #0,1: 64:[57, 11, 4] Operation: 67-63=4
Exploring Operation: 63-57=6, Resulting Numbers: [67, 11, 6]
Generated Node #0,2: 64:[67, 11, 6] Operation: 63-57=6
Exploring Operation: 67-11=56, Resulting Numbers: [57, 63, 56]
Generated Node #0,3: 64:[57, 63, 56] Operation: 67-11=56
Exploring Operation: 67-57=10, Resulting Numbers: [63, 11, 10]
Generated Node #0,4: 64:[63, 11, 10] Operation: 67-57=10
Start Sub Search at level 1: Moving to Node #0,4
Current State: 64:[63, 11, 10], Operations: ['67-57=10']
Exploring Operation: 63+10=73, Resulting Numbers: [11, 73]
Generated Node #0,4,0: 64:[11, 73] Operation: 63+10=73
Exploring Operation: 11+10=21, Resulting Numbers: [63, 21]
Generated Node #0,4,1: 64:[63, 21] Operation: 11+10=21
Exploring Operation: 63+11=74, Resulting Numbers: [10, 74]
Generated Node #0,4,2: 64:[10, 74] Operation: 63+11=74
Exploring Operation: 63-11=52, Resulting Numbers: [10, 52]
Generated Node #0,4,3: 64:[10, 52] Operation: 63-11=52
Exploring Operation: 11-10=1, Resulting Numbers: [63, 1]
Generated Node #0,4,4: 64:[63, 1] Operation: 11-10=1
Moving to Node #0,4,4
Current State: 64:[63, 1], Operations: ['67-57=10', '11-10=1']
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[57, 63, 67, 11], Operations: []
Exploring Operation: 67-57=10, Resulting Numbers: [63, 11, 10]
Generated Node #0,4: 64:[63, 11, 10] Operation: 67-57=10
Moving to Node #0,4
Current State: 64:[63, 11, 10], Operations: ['67-57=10']
Exploring Operation: 11-10=1, Resulting Numbers: [63, 1]
Generated Node #0,4,4: 64:[63, 1] Operation: 11-10=1
Moving to Node #0,4,4
Current State: 64:[63, 1], Operations: ['67-57=10', '11-10=1']
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
94,
5,
69,
81
] | 44 | [
"94-69=25",
"5*25=125",
"125-81=44"
] | Current State: 44:[94, 5, 69, 81], Operations: []
Exploring Operation: 94-69=25, Resulting Numbers: [5, 81, 25]
Generated Node #2: [5, 81, 25] from Operation: 94-69=25
Current State: 44:[5, 81, 25], Operations: ['94-69=25']
Exploring Operation: 5*25=125, Resulting Numbers: [81, 125]
Generated Node #3: [81, 125] from Operation: 5*25=125
Current State: 44:[81, 125], Operations: ['94-69=25', '5*25=125']
Exploring Operation: 125-81=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[94, 5, 69, 81], Operations: []
Exploring Operation: 94-81=13, Resulting Numbers: [5, 69, 13]
Generated Node #0,0: 44:[5, 69, 13] Operation: 94-81=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[5, 69, 13], Operations: ['94-81=13']
Exploring Operation: 69-13=56, Resulting Numbers: [5, 56]
Generated Node #0,0,0: 44:[5, 56] Operation: 69-13=56
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[5, 56], Operations: ['94-81=13', '69-13=56']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
66,
13,
44,
48
] | 45 | [
"44*48=2112",
"2112/66=32",
"13+32=45"
] | Current State: 45:[66, 13, 44, 48], Operations: []
Exploring Operation: 44*48=2112, Resulting Numbers: [66, 13, 2112]
Generated Node #2: [66, 13, 2112] from Operation: 44*48=2112
Current State: 45:[66, 13, 2112], Operations: ['44*48=2112']
Exploring Operation: 2112/66=32, Resulting Numbers: [13, 32]
Generated Node #3: [13, 32] from Operation: 2112/66=32
Current State: 45:[13, 32], Operations: ['44*48=2112', '2112/66=32']
Exploring Operation: 13+32=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[66, 13, 44, 48], Operations: []
Exploring Operation: 66-48=18, Resulting Numbers: [13, 44, 18]
Generated Node #0,0: 45:[13, 44, 18] Operation: 66-48=18
Moving to Node #0,0
Current State: 45:[13, 44, 18], Operations: ['66-48=18']
Exploring Operation: 18-13=5, Resulting Numbers: [44, 5]
Generated Node #0,0,0: 45:[44, 5] Operation: 18-13=5
Moving to Node #0,0,0
Current State: 45:[44, 5], Operations: ['66-48=18', '18-13=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,45 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
72,
27,
18,
93
] | 24 | [
"72+27=99",
"93-18=75",
"99-75=24"
] | Current State: 24:[72, 27, 18, 93], Operations: []
Exploring Operation: 72+27=99, Resulting Numbers: [18, 93, 99]
Generated Node #2: [18, 93, 99] from Operation: 72+27=99
Current State: 24:[18, 93, 99], Operations: ['72+27=99']
Exploring Operation: 93-18=75, Resulting Numbers: [99, 75]
Generated Node #3: [99, 75] from Operation: 93-18=75
Current State: 24:[99, 75], Operations: ['72+27=99', '93-18=75']
Exploring Operation: 99-75=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[72, 27, 18, 93], Operations: []
Exploring Operation: 93-72=21, Resulting Numbers: [27, 18, 21]
Generated Node #0,0: 24:[27, 18, 21] Operation: 93-72=21
Exploring Operation: 72/18=4, Resulting Numbers: [27, 93, 4]
Generated Node #0,1: 24:[27, 93, 4] Operation: 72/18=4
Moving to Node #0,0
Current State: 24:[27, 18, 21], Operations: ['93-72=21']
Exploring Operation: 27-18=9, Resulting Numbers: [21, 9]
Generated Node #0,0,0: 24:[21, 9] Operation: 27-18=9
Exploring Operation: 21-18=3, Resulting Numbers: [27, 3]
Generated Node #0,0,1: 24:[27, 3] Operation: 21-18=3
Moving to Node #0,1
Current State: 24:[27, 93, 4], Operations: ['72/18=4']
Exploring Operation: 93-4=89, Resulting Numbers: [27, 89]
Generated Node #0,1,0: 24:[27, 89] Operation: 93-4=89
Exploring Operation: 93-27=66, Resulting Numbers: [4, 66]
Generated Node #0,1,1: 24:[4, 66] Operation: 93-27=66
Moving to Node #0,0,1
Current State: 24:[27, 3], Operations: ['93-72=21', '21-18=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[72, 27, 18, 93], Operations: []
Exploring Operation: 93-72=21, Resulting Numbers: [27, 18, 21]
Generated Node #0,0: 24:[27, 18, 21] Operation: 93-72=21
Moving to Node #0,0
Current State: 24:[27, 18, 21], Operations: ['93-72=21']
Exploring Operation: 21-18=3, Resulting Numbers: [27, 3]
Generated Node #0,0,1: 24:[27, 3] Operation: 21-18=3
Moving to Node #0,0,1
Current State: 24:[27, 3], Operations: ['93-72=21', '21-18=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
49,
2,
89,
10
] | 45 | [
"89-49=40",
"10/2=5",
"40+5=45"
] | Current State: 45:[49, 2, 89, 10], Operations: []
Exploring Operation: 89-49=40, Resulting Numbers: [2, 10, 40]
Generated Node #2: [2, 10, 40] from Operation: 89-49=40
Current State: 45:[2, 10, 40], Operations: ['89-49=40']
Exploring Operation: 10/2=5, Resulting Numbers: [40, 5]
Generated Node #3: [40, 5] from Operation: 10/2=5
Current State: 45:[40, 5], Operations: ['89-49=40', '10/2=5']
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[49, 2, 89, 10], Operations: []
Exploring Operation: 89-49=40, Resulting Numbers: [2, 10, 40]
Generated Node #0,0: 45:[2, 10, 40] Operation: 89-49=40
Exploring Operation: 49-2=47, Resulting Numbers: [89, 10, 47]
Generated Node #0,1: 45:[89, 10, 47] Operation: 49-2=47
Exploring Operation: 89-10=79, Resulting Numbers: [49, 2, 79]
Generated Node #0,2: 45:[49, 2, 79] Operation: 89-10=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[2, 10, 40], Operations: ['89-49=40']
Exploring Operation: 2+40=42, Resulting Numbers: [10, 42]
Generated Node #0,0,0: 45:[10, 42] Operation: 2+40=42
Exploring Operation: 40/10=4, Resulting Numbers: [2, 4]
Generated Node #0,0,1: 45:[2, 4] Operation: 40/10=4
Exploring Operation: 10/2=5, Resulting Numbers: [40, 5]
Generated Node #0,0,2: 45:[40, 5] Operation: 10/2=5
Moving to Node #0,0,1
Current State: 45:[2, 4], Operations: ['89-49=40', '40/10=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[10, 42], Operations: ['89-49=40', '2+40=42']
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,45 unequal: No Solution
Exploring Operation: 10*42=420, Resulting Numbers: [420]
420,45 unequal: No Solution
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[40, 5], Operations: ['89-49=40', '10/2=5']
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[49, 2, 89, 10], Operations: []
Exploring Operation: 89-49=40, Resulting Numbers: [2, 10, 40]
Generated Node #0,0: 45:[2, 10, 40] Operation: 89-49=40
Moving to Node #0,0
Current State: 45:[2, 10, 40], Operations: ['89-49=40']
Exploring Operation: 10/2=5, Resulting Numbers: [40, 5]
Generated Node #0,0,2: 45:[40, 5] Operation: 10/2=5
Moving to Node #0,0,2
Current State: 45:[40, 5], Operations: ['89-49=40', '10/2=5']
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
5,
59,
12,
3
] | 63 | [
"59-5=54",
"12-3=9",
"54+9=63"
] | Current State: 63:[5, 59, 12, 3], Operations: []
Exploring Operation: 59-5=54, Resulting Numbers: [12, 3, 54]
Generated Node #2: [12, 3, 54] from Operation: 59-5=54
Current State: 63:[12, 3, 54], Operations: ['59-5=54']
Exploring Operation: 12-3=9, Resulting Numbers: [54, 9]
Generated Node #3: [54, 9] from Operation: 12-3=9
Current State: 63:[54, 9], Operations: ['59-5=54', '12-3=9']
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[5, 59, 12, 3], Operations: []
Exploring Operation: 5+59=64, Resulting Numbers: [12, 3, 64]
Generated Node #0,0: 63:[12, 3, 64] Operation: 5+59=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[12, 3, 64], Operations: ['5+59=64']
Exploring Operation: 12-3=9, Resulting Numbers: [64, 9]
Generated Node #0,0,0: 63:[64, 9] Operation: 12-3=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[64, 9], Operations: ['5+59=64', '12-3=9']
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
62,
49,
63,
85
] | 89 | [
"62+49=111",
"85-63=22",
"111-22=89"
] | Current State: 89:[62, 49, 63, 85], Operations: []
Exploring Operation: 62+49=111, Resulting Numbers: [63, 85, 111]
Generated Node #2: [63, 85, 111] from Operation: 62+49=111
Current State: 89:[63, 85, 111], Operations: ['62+49=111']
Exploring Operation: 85-63=22, Resulting Numbers: [111, 22]
Generated Node #3: [111, 22] from Operation: 85-63=22
Current State: 89:[111, 22], Operations: ['62+49=111', '85-63=22']
Exploring Operation: 111-22=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[62, 49, 63, 85], Operations: []
Exploring Operation: 49+63=112, Resulting Numbers: [62, 85, 112]
Generated Node #0,0: 89:[62, 85, 112] Operation: 49+63=112
Exploring Operation: 62+49=111, Resulting Numbers: [63, 85, 111]
Generated Node #0,1: 89:[63, 85, 111] Operation: 62+49=111
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[63, 85, 111], Operations: ['62+49=111']
Exploring Operation: 63+85=148, Resulting Numbers: [111, 148]
Generated Node #0,1,0: 89:[111, 148] Operation: 63+85=148
Exploring Operation: 111-63=48, Resulting Numbers: [85, 48]
Generated Node #0,1,1: 89:[85, 48] Operation: 111-63=48
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[85, 48], Operations: ['62+49=111', '111-63=48']
Exploring Operation: 85-48=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Exploring Operation: 85+48=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,1,0
Current State: 89:[111, 148], Operations: ['62+49=111', '63+85=148']
Exploring Operation: 111+148=259, Resulting Numbers: [259]
259,89 unequal: No Solution
Exploring Operation: 148-111=37, Resulting Numbers: [37]
37,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,0
Current State: 89:[62, 85, 112], Operations: ['49+63=112']
Exploring Operation: 62+85=147, Resulting Numbers: [112, 147]
Generated Node #0,0,0: 89:[112, 147] Operation: 62+85=147
Exploring Operation: 112-62=50, Resulting Numbers: [85, 50]
Generated Node #0,0,1: 89:[85, 50] Operation: 112-62=50
Moving to Node #0,0,1
Current State: 89:[85, 50], Operations: ['49+63=112', '112-62=50']
Exploring Operation: 85-50=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 85+50=135, Resulting Numbers: [135]
135,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[112, 147], Operations: ['49+63=112', '62+85=147']
Exploring Operation: 147-112=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 112+147=259, Resulting Numbers: [259]
259,89 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 |
[
11,
90,
63,
40
] | 56 | [
"90-11=79",
"63-40=23",
"79-23=56"
] | Current State: 56:[11, 90, 63, 40], Operations: []
Exploring Operation: 90-11=79, Resulting Numbers: [63, 40, 79]
Generated Node #2: [63, 40, 79] from Operation: 90-11=79
Current State: 56:[63, 40, 79], Operations: ['90-11=79']
Exploring Operation: 63-40=23, Resulting Numbers: [79, 23]
Generated Node #3: [79, 23] from Operation: 63-40=23
Current State: 56:[79, 23], Operations: ['90-11=79', '63-40=23']
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[11, 90, 63, 40], Operations: []
Exploring Operation: 90-11=79, Resulting Numbers: [63, 40, 79]
Generated Node #0,0: 56:[63, 40, 79] Operation: 90-11=79
Exploring Operation: 90-40=50, Resulting Numbers: [11, 63, 50]
Generated Node #0,1: 56:[11, 63, 50] Operation: 90-40=50
Exploring Operation: 90-63=27, Resulting Numbers: [11, 40, 27]
Generated Node #0,2: 56:[11, 40, 27] Operation: 90-63=27
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[11, 63, 50], Operations: ['90-40=50']
Exploring Operation: 63-50=13, Resulting Numbers: [11, 13]
Generated Node #0,1,0: 56:[11, 13] Operation: 63-50=13
Exploring Operation: 11+50=61, Resulting Numbers: [63, 61]
Generated Node #0,1,1: 56:[63, 61] Operation: 11+50=61
Exploring Operation: 63-11=52, Resulting Numbers: [50, 52]
Generated Node #0,1,2: 56:[50, 52] Operation: 63-11=52
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 56:[11, 13], Operations: ['90-40=50', '63-50=13']
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,56 unequal: No Solution
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,56 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 56:[50, 52], Operations: ['90-40=50', '63-11=52']
Exploring Operation: 50*52=2600, Resulting Numbers: [2600]
2600,56 unequal: No Solution
Exploring Operation: 50+52=102, Resulting Numbers: [102]
102,56 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[63, 61], Operations: ['90-40=50', '11+50=61']
Exploring Operation: 63-61=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 63*61=3843, Resulting Numbers: [3843]
3843,56 unequal: No Solution
Exploring Operation: 63+61=124, Resulting Numbers: [124]
124,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[11, 40, 27], Operations: ['90-63=27']
Exploring Operation: 40-11=29, Resulting Numbers: [27, 29]
Generated Node #0,2,0: 56:[27, 29] Operation: 40-11=29
Exploring Operation: 40-27=13, Resulting Numbers: [11, 13]
Generated Node #0,2,1: 56:[11, 13] Operation: 40-27=13
Exploring Operation: 11+40=51, Resulting Numbers: [27, 51]
Generated Node #0,2,2: 56:[27, 51] Operation: 11+40=51
Moving to Node #0,2,0
Current State: 56:[27, 29], Operations: ['90-63=27', '40-11=29']
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[11, 90, 63, 40], Operations: []
Exploring Operation: 90-63=27, Resulting Numbers: [11, 40, 27]
Generated Node #0,2: 56:[11, 40, 27] Operation: 90-63=27
Moving to Node #0,2
Current State: 56:[11, 40, 27], Operations: ['90-63=27']
Exploring Operation: 40-11=29, Resulting Numbers: [27, 29]
Generated Node #0,2,0: 56:[27, 29] Operation: 40-11=29
Moving to Node #0,2,0
Current State: 56:[27, 29], Operations: ['90-63=27', '40-11=29']
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
55,
20,
9,
3
] | 81 | [
"55+20=75",
"9-3=6",
"75+6=81"
] | Current State: 81:[55, 20, 9, 3], Operations: []
Exploring Operation: 55+20=75, Resulting Numbers: [9, 3, 75]
Generated Node #2: [9, 3, 75] from Operation: 55+20=75
Current State: 81:[9, 3, 75], Operations: ['55+20=75']
Exploring Operation: 9-3=6, Resulting Numbers: [75, 6]
Generated Node #3: [75, 6] from Operation: 9-3=6
Current State: 81:[75, 6], Operations: ['55+20=75', '9-3=6']
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[55, 20, 9, 3], Operations: []
Exploring Operation: 55+20=75, Resulting Numbers: [9, 3, 75]
Generated Node #0,0: 81:[9, 3, 75] Operation: 55+20=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[9, 3, 75], Operations: ['55+20=75']
Exploring Operation: 75/3=25, Resulting Numbers: [9, 25]
Generated Node #0,0,0: 81:[9, 25] Operation: 75/3=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[9, 25], Operations: ['55+20=75', '75/3=25']
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,81 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 |
[
19,
12,
6,
24
] | 29 | [
"19+24=43",
"12*6=72",
"72-43=29"
] | Current State: 29:[19, 12, 6, 24], Operations: []
Exploring Operation: 19+24=43, Resulting Numbers: [12, 6, 43]
Generated Node #2: [12, 6, 43] from Operation: 19+24=43
Current State: 29:[12, 6, 43], Operations: ['19+24=43']
Exploring Operation: 12*6=72, Resulting Numbers: [43, 72]
Generated Node #3: [43, 72] from Operation: 12*6=72
Current State: 29:[43, 72], Operations: ['19+24=43', '12*6=72']
Exploring Operation: 72-43=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[19, 12, 6, 24], Operations: []
Exploring Operation: 19+6=25, Resulting Numbers: [12, 24, 25]
Generated Node #0,0: 29:[12, 24, 25] Operation: 19+6=25
Exploring Operation: 19-6=13, Resulting Numbers: [12, 24, 13]
Generated Node #0,1: 29:[12, 24, 13] Operation: 19-6=13
Exploring Operation: 12+6=18, Resulting Numbers: [19, 24, 18]
Generated Node #0,2: 29:[19, 24, 18] Operation: 12+6=18
Exploring Operation: 6+24=30, Resulting Numbers: [19, 12, 30]
Generated Node #0,3: 29:[19, 12, 30] Operation: 6+24=30
Exploring Operation: 19+12=31, Resulting Numbers: [6, 24, 31]
Generated Node #0,4: 29:[6, 24, 31] Operation: 19+12=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[12, 24, 25], Operations: ['19+6=25']
Exploring Operation: 24/12=2, Resulting Numbers: [25, 2]
Generated Node #0,0,0: 29:[25, 2] Operation: 24/12=2
Exploring Operation: 12+25=37, Resulting Numbers: [24, 37]
Generated Node #0,0,1: 29:[24, 37] Operation: 12+25=37
Exploring Operation: 25-12=13, Resulting Numbers: [24, 13]
Generated Node #0,0,2: 29:[24, 13] Operation: 25-12=13
Exploring Operation: 24-12=12, Resulting Numbers: [25, 12]
Generated Node #0,0,3: 29:[25, 12] Operation: 24-12=12
Exploring Operation: 12+24=36, Resulting Numbers: [25, 36]
Generated Node #0,0,4: 29:[25, 36] Operation: 12+24=36
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 29:[25, 36], Operations: ['19+6=25', '12+24=36']
Exploring Operation: 25*36=900, Resulting Numbers: [900]
900,29 unequal: No Solution
Exploring Operation: 25+36=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,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:[24, 37], Operations: ['19+6=25', '12+25=37']
Exploring Operation: 24*37=888, Resulting Numbers: [888]
888,29 unequal: No Solution
Exploring Operation: 24+37=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,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:[24, 13], Operations: ['19+6=25', '25-12=13']
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,29 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 29:[25, 12], Operations: ['19+6=25', '24-12=12']
Exploring Operation: 25*12=300, Resulting Numbers: [300]
300,29 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,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:[25, 2], Operations: ['19+6=25', '24/12=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[19, 24, 18], Operations: ['12+6=18']
Exploring Operation: 24-18=6, Resulting Numbers: [19, 6]
Generated Node #0,2,0: 29:[19, 6] Operation: 24-18=6
Exploring Operation: 24+18=42, Resulting Numbers: [19, 42]
Generated Node #0,2,1: 29:[19, 42] Operation: 24+18=42
Exploring Operation: 19-18=1, Resulting Numbers: [24, 1]
Generated Node #0,2,2: 29:[24, 1] Operation: 19-18=1
Exploring Operation: 19+18=37, Resulting Numbers: [24, 37]
Generated Node #0,2,3: 29:[24, 37] Operation: 19+18=37
Exploring Operation: 19+24=43, Resulting Numbers: [18, 43]
Generated Node #0,2,4: 29:[18, 43] Operation: 19+24=43
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 29:[24, 37], Operations: ['12+6=18', '19+18=37']
Exploring Operation: 24*37=888, Resulting Numbers: [888]
888,29 unequal: No Solution
Exploring Operation: 24+37=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,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,2,1
Current State: 29:[19, 42], Operations: ['12+6=18', '24+18=42']
Exploring Operation: 19+42=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 19*42=798, Resulting Numbers: [798]
798,29 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,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,2,4
Current State: 29:[18, 43], Operations: ['12+6=18', '19+24=43']
Exploring Operation: 18+43=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 18*43=774, Resulting Numbers: [774]
774,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,2,0
Current State: 29:[19, 6], Operations: ['12+6=18', '24-18=6']
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,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,2,2
Current State: 29:[24, 1], Operations: ['12+6=18', '19-18=1']
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[19, 12, 30], Operations: ['6+24=30']
Exploring Operation: 30-12=18, Resulting Numbers: [19, 18]
Generated Node #0,3,0: 29:[19, 18] Operation: 30-12=18
Exploring Operation: 19-12=7, Resulting Numbers: [30, 7]
Generated Node #0,3,1: 29:[30, 7] Operation: 19-12=7
Exploring Operation: 30-19=11, Resulting Numbers: [12, 11]
Generated Node #0,3,2: 29:[12, 11] Operation: 30-19=11
Exploring Operation: 19+12=31, Resulting Numbers: [30, 31]
Generated Node #0,3,3: 29:[30, 31] Operation: 19+12=31
Exploring Operation: 12+30=42, Resulting Numbers: [19, 42]
Generated Node #0,3,4: 29:[19, 42] Operation: 12+30=42
Moving to Node #0,3,3
Current State: 29:[30, 31], Operations: ['6+24=30', '19+12=31']
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 30*31=930, Resulting Numbers: [930]
930,29 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Moving to Node #0,3,0
Current State: 29:[19, 18], Operations: ['6+24=30', '30-12=18']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,29 unequal: No Solution
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[30, 7], Operations: ['6+24=30', '19-12=7']
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,29 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Moving to Node #0,3,4
Current State: 29:[19, 42], Operations: ['6+24=30', '12+30=42']
Exploring Operation: 19*42=798, Resulting Numbers: [798]
798,29 unequal: No Solution
Exploring Operation: 19+42=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[12, 11], Operations: ['6+24=30', '30-19=11']
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,29 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 29:[6, 24, 31], Operations: ['19+12=31']
Exploring Operation: 31-6=25, Resulting Numbers: [24, 25]
Generated Node #0,4,0: 29:[24, 25] Operation: 31-6=25
Exploring Operation: 24/6=4, Resulting Numbers: [31, 4]
Generated Node #0,4,1: 29:[31, 4] Operation: 24/6=4
Exploring Operation: 24-6=18, Resulting Numbers: [31, 18]
Generated Node #0,4,2: 29:[31, 18] Operation: 24-6=18
Exploring Operation: 6+31=37, Resulting Numbers: [24, 37]
Generated Node #0,4,3: 29:[24, 37] Operation: 6+31=37
Exploring Operation: 6+24=30, Resulting Numbers: [31, 30]
Generated Node #0,4,4: 29:[31, 30] Operation: 6+24=30
Moving to Node #0,4,4
Current State: 29:[31, 30], Operations: ['19+12=31', '6+24=30']
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 31+30=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 31*30=930, Resulting Numbers: [930]
930,29 unequal: No Solution
Moving to Node #0,4,0
Current State: 29:[24, 25], Operations: ['19+12=31', '31-6=25']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,29 unequal: No Solution
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Moving to Node #0,4,2
Current State: 29:[31, 18], Operations: ['19+12=31', '24-6=18']
Exploring Operation: 31*18=558, Resulting Numbers: [558]
558,29 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Moving to Node #0,4,3
Current State: 29:[24, 37], Operations: ['19+12=31', '6+31=37']
Exploring Operation: 24*37=888, Resulting Numbers: [888]
888,29 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 24+37=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Moving to Node #0,4,1
Current State: 29:[31, 4], Operations: ['19+12=31', '24/6=4']
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,29 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[12, 24, 13], Operations: ['19-6=13']
Exploring Operation: 12+24=36, Resulting Numbers: [13, 36]
Generated Node #0,1,0: 29:[13, 36] Operation: 12+24=36
Exploring Operation: 24+13=37, Resulting Numbers: [12, 37]
Generated Node #0,1,1: 29:[12, 37] Operation: 24+13=37
Exploring Operation: 24-12=12, Resulting Numbers: [13, 12]
Generated Node #0,1,2: 29:[13, 12] Operation: 24-12=12
Exploring Operation: 12+13=25, Resulting Numbers: [24, 25]
Generated Node #0,1,3: 29:[24, 25] Operation: 12+13=25
Exploring Operation: 13-12=1, Resulting Numbers: [24, 1]
Generated Node #0,1,4: 29:[24, 1] Operation: 13-12=1
Moving to Node #0,1,3
Current State: 29:[24, 25], Operations: ['19-6=13', '12+13=25']
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,29 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[13, 36], Operations: ['19-6=13', '12+24=36']
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,29 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[12, 37], Operations: ['19-6=13', '24+13=37']
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 12+37=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 12*37=444, Resulting Numbers: [444]
444,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[13, 12], Operations: ['19-6=13', '24-12=12']
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,29 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Moving to Node #0,1,4
Current State: 29:[24, 1], Operations: ['19-6=13', '13-12=1']
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,29 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 |
[
54,
30,
39,
27
] | 45 | [
"54-39=15",
"30-27=3",
"15*3=45"
] | Current State: 45:[54, 30, 39, 27], Operations: []
Exploring Operation: 54-39=15, Resulting Numbers: [30, 27, 15]
Generated Node #2: [30, 27, 15] from Operation: 54-39=15
Current State: 45:[30, 27, 15], Operations: ['54-39=15']
Exploring Operation: 30-27=3, Resulting Numbers: [15, 3]
Generated Node #3: [15, 3] from Operation: 30-27=3
Current State: 45:[15, 3], Operations: ['54-39=15', '30-27=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[54, 30, 39, 27], Operations: []
Exploring Operation: 30-27=3, Resulting Numbers: [54, 39, 3]
Generated Node #0,0: 45:[54, 39, 3] Operation: 30-27=3
Moving to Node #0,0
Current State: 45:[54, 39, 3], Operations: ['30-27=3']
Exploring Operation: 54-39=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 45:[3, 15] Operation: 54-39=15
Moving to Node #0,0,0
Current State: 45:[3, 15], Operations: ['30-27=3', '54-39=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[54, 30, 39, 27], Operations: []
Exploring Operation: 30-27=3, Resulting Numbers: [54, 39, 3]
Generated Node #0,0: 45:[54, 39, 3] Operation: 30-27=3
Moving to Node #0,0
Current State: 45:[54, 39, 3], Operations: ['30-27=3']
Exploring Operation: 54-39=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 45:[3, 15] Operation: 54-39=15
Moving to Node #0,0,0
Current State: 45:[3, 15], Operations: ['30-27=3', '54-39=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
9,
9,
85,
4
] | 40 | [
"85-9=76",
"9*4=36",
"76-36=40"
] | Current State: 40:[9, 9, 85, 4], Operations: []
Exploring Operation: 85-9=76, Resulting Numbers: [4, 76]
Generated Node #2: [4, 76] from Operation: 85-9=76
Current State: 40:[4, 76], Operations: ['85-9=76']
Exploring Operation: 9*4=36, Resulting Numbers: [76, 36]
Generated Node #3: [76, 36] from Operation: 9*4=36
Current State: 40:[76, 36], Operations: ['85-9=76', '9*4=36']
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[9, 9, 85, 4], Operations: []
Exploring Operation: 85-4=81, Resulting Numbers: [9, 9, 81]
Generated Node #0,0: 40:[9, 9, 81] Operation: 85-4=81
Exploring Operation: 85-9=76, Resulting Numbers: [9, 4, 76]
Generated Node #0,1: 40:[9, 4, 76] Operation: 85-9=76
Exploring Operation: 9/9=1, Resulting Numbers: [85, 4, 1]
Generated Node #0,2: 40:[85, 4, 1] Operation: 9/9=1
Exploring Operation: 85-9=76, Resulting Numbers: [9, 4, 76]
Generated Node #0,3: 40:[9, 4, 76] Operation: 85-9=76
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[9, 4, 76], Operations: ['85-9=76']
Exploring Operation: 76/4=19, Resulting Numbers: [9, 19]
Generated Node #0,1,0: 40:[9, 19] Operation: 76/4=19
Exploring Operation: 9-4=5, Resulting Numbers: [76, 5]
Generated Node #0,1,1: 40:[76, 5] Operation: 9-4=5
Exploring Operation: 76-9=67, Resulting Numbers: [4, 67]
Generated Node #0,1,2: 40:[4, 67] Operation: 76-9=67
Exploring Operation: 76-4=72, Resulting Numbers: [9, 72]
Generated Node #0,1,3: 40:[9, 72] Operation: 76-4=72
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 40:[9, 19], Operations: ['85-9=76', '76/4=19']
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 40:[4, 67], Operations: ['85-9=76', '76-9=67']
Exploring Operation: 4+67=71, Resulting Numbers: [71]
71,40 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,40 unequal: No Solution
Exploring Operation: 4*67=268, Resulting Numbers: [268]
268,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 40:[9, 72], Operations: ['85-9=76', '76-4=72']
Exploring Operation: 9*72=648, Resulting Numbers: [648]
648,40 unequal: No Solution
Exploring Operation: 9+72=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,40 unequal: No Solution
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 40:[76, 5], Operations: ['85-9=76', '9-4=5']
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,40 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 40:[9, 4, 76], Operations: ['85-9=76']
Exploring Operation: 76-4=72, Resulting Numbers: [9, 72]
Generated Node #0,3,0: 40:[9, 72] Operation: 76-4=72
Exploring Operation: 76/4=19, Resulting Numbers: [9, 19]
Generated Node #0,3,1: 40:[9, 19] Operation: 76/4=19
Exploring Operation: 76-9=67, Resulting Numbers: [4, 67]
Generated Node #0,3,2: 40:[4, 67] Operation: 76-9=67
Exploring Operation: 9-4=5, Resulting Numbers: [76, 5]
Generated Node #0,3,3: 40:[76, 5] Operation: 9-4=5
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 40:[9, 19], Operations: ['85-9=76', '76/4=19']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 40:[4, 67], Operations: ['85-9=76', '76-9=67']
Exploring Operation: 4+67=71, Resulting Numbers: [71]
71,40 unequal: No Solution
Exploring Operation: 4*67=268, Resulting Numbers: [268]
268,40 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 40:[9, 72], Operations: ['85-9=76', '76-4=72']
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 9*72=648, Resulting Numbers: [648]
648,40 unequal: No Solution
Exploring Operation: 9+72=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 40:[76, 5], Operations: ['85-9=76', '9-4=5']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,40 unequal: No Solution
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,40 unequal: No Solution
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[9, 9, 81], Operations: ['85-4=81']
Exploring Operation: 81/9=9, Resulting Numbers: [9, 9]
Generated Node #0,0,0: 40:[9, 9] Operation: 81/9=9
Exploring Operation: 81-9=72, Resulting Numbers: [9, 72]
Generated Node #0,0,1: 40:[9, 72] Operation: 81-9=72
Exploring Operation: 81-9=72, Resulting Numbers: [9, 72]
Generated Node #0,0,2: 40:[9, 72] Operation: 81-9=72
Exploring Operation: 81/9=9, Resulting Numbers: [9, 9]
Generated Node #0,0,3: 40:[9, 9] Operation: 81/9=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[9, 9], Operations: ['85-4=81', '81/9=9']
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,40 unequal: No Solution
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 40:[9, 9], Operations: ['85-4=81', '81/9=9']
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,40 unequal: No Solution
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 40:[9, 72], Operations: ['85-4=81', '81-9=72']
Exploring Operation: 9+72=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 9*72=648, Resulting Numbers: [648]
648,40 unequal: No Solution
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,40 unequal: No Solution
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 40:[9, 72], Operations: ['85-4=81', '81-9=72']
Exploring Operation: 9+72=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,40 unequal: No Solution
Exploring Operation: 9*72=648, Resulting Numbers: [648]
648,40 unequal: No Solution
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[85, 4, 1], Operations: ['9/9=1']
Exploring Operation: 85*1=85, Resulting Numbers: [4, 85]
Generated Node #0,2,0: 40:[4, 85] Operation: 85*1=85
Exploring Operation: 85-1=84, Resulting Numbers: [4, 84]
Generated Node #0,2,1: 40:[4, 84] Operation: 85-1=84
Exploring Operation: 85/1=85, Resulting Numbers: [4, 85]
Generated Node #0,2,2: 40:[4, 85] Operation: 85/1=85
Exploring Operation: 85-4=81, Resulting Numbers: [1, 81]
Generated Node #0,2,3: 40:[1, 81] Operation: 85-4=81
Moving to Node #0,2,3
Current State: 40:[1, 81], Operations: ['9/9=1', '85-4=81']
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,40 unequal: No Solution
Exploring Operation: 1*81=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 1+81=82, Resulting Numbers: [82]
82,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[4, 84], Operations: ['9/9=1', '85-1=84']
Exploring Operation: 4+84=88, Resulting Numbers: [88]
88,40 unequal: No Solution
Exploring Operation: 4*84=336, Resulting Numbers: [336]
336,40 unequal: No Solution
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,40 unequal: No Solution
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[4, 85], Operations: ['9/9=1', '85/1=85']
Exploring Operation: 4*85=340, Resulting Numbers: [340]
340,40 unequal: No Solution
Exploring Operation: 4+85=89, Resulting Numbers: [89]
89,40 unequal: No Solution
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[4, 85], Operations: ['9/9=1', '85*1=85']
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 4+85=89, Resulting Numbers: [89]
89,40 unequal: No Solution
Exploring Operation: 4*85=340, Resulting Numbers: [340]
340,40 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 |
[
41,
35,
12,
28
] | 35 | [
"41-12=29",
"29-28=1",
"35*1=35"
] | Current State: 35:[41, 35, 12, 28], Operations: []
Exploring Operation: 41-12=29, Resulting Numbers: [35, 28, 29]
Generated Node #2: [35, 28, 29] from Operation: 41-12=29
Current State: 35:[35, 28, 29], Operations: ['41-12=29']
Exploring Operation: 29-28=1, Resulting Numbers: [35, 1]
Generated Node #3: [35, 1] from Operation: 29-28=1
Current State: 35:[35, 1], Operations: ['41-12=29', '29-28=1']
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[41, 35, 12, 28], Operations: []
Exploring Operation: 12+28=40, Resulting Numbers: [41, 35, 40]
Generated Node #0,0: 35:[41, 35, 40] Operation: 12+28=40
Exploring Operation: 41-28=13, Resulting Numbers: [35, 12, 13]
Generated Node #0,1: 35:[35, 12, 13] Operation: 41-28=13
Exploring Operation: 41-35=6, Resulting Numbers: [12, 28, 6]
Generated Node #0,2: 35:[12, 28, 6] Operation: 41-35=6
Exploring Operation: 35-28=7, Resulting Numbers: [41, 12, 7]
Generated Node #0,3: 35:[41, 12, 7] Operation: 35-28=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[41, 35, 40], Operations: ['12+28=40']
Exploring Operation: 40-35=5, Resulting Numbers: [41, 5]
Generated Node #0,0,0: 35:[41, 5] Operation: 40-35=5
Exploring Operation: 41+35=76, Resulting Numbers: [40, 76]
Generated Node #0,0,1: 35:[40, 76] Operation: 41+35=76
Exploring Operation: 41-40=1, Resulting Numbers: [35, 1]
Generated Node #0,0,2: 35:[35, 1] Operation: 41-40=1
Exploring Operation: 41-35=6, Resulting Numbers: [40, 6]
Generated Node #0,0,3: 35:[40, 6] Operation: 41-35=6
Moving to Node #0,0,2
Current State: 35:[35, 1], Operations: ['12+28=40', '41-40=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[41, 35, 12, 28], Operations: []
Exploring Operation: 12+28=40, Resulting Numbers: [41, 35, 40]
Generated Node #0,0: 35:[41, 35, 40] Operation: 12+28=40
Moving to Node #0,0
Current State: 35:[41, 35, 40], Operations: ['12+28=40']
Exploring Operation: 41-40=1, Resulting Numbers: [35, 1]
Generated Node #0,0,2: 35:[35, 1] Operation: 41-40=1
Moving to Node #0,0,2
Current State: 35:[35, 1], Operations: ['12+28=40', '41-40=1']
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
13,
69,
11,
10
] | 55 | [
"69-13=56",
"11-10=1",
"56-1=55"
] | Current State: 55:[13, 69, 11, 10], Operations: []
Exploring Operation: 69-13=56, Resulting Numbers: [11, 10, 56]
Generated Node #2: [11, 10, 56] from Operation: 69-13=56
Current State: 55:[11, 10, 56], Operations: ['69-13=56']
Exploring Operation: 11-10=1, Resulting Numbers: [56, 1]
Generated Node #3: [56, 1] from Operation: 11-10=1
Current State: 55:[56, 1], Operations: ['69-13=56', '11-10=1']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[13, 69, 11, 10], Operations: []
Exploring Operation: 69-13=56, Resulting Numbers: [11, 10, 56]
Generated Node #0,0: 55:[11, 10, 56] Operation: 69-13=56
Exploring Operation: 69-11=58, Resulting Numbers: [13, 10, 58]
Generated Node #0,1: 55:[13, 10, 58] Operation: 69-11=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[11, 10, 56], Operations: ['69-13=56']
Exploring Operation: 56-10=46, Resulting Numbers: [11, 46]
Generated Node #0,0,0: 55:[11, 46] Operation: 56-10=46
Exploring Operation: 11-10=1, Resulting Numbers: [56, 1]
Generated Node #0,0,1: 55:[56, 1] Operation: 11-10=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 55:[56, 1], Operations: ['69-13=56', '11-10=1']
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[13, 69, 11, 10], Operations: []
Exploring Operation: 69-13=56, Resulting Numbers: [11, 10, 56]
Generated Node #0,0: 55:[11, 10, 56] Operation: 69-13=56
Moving to Node #0,0
Current State: 55:[11, 10, 56], Operations: ['69-13=56']
Exploring Operation: 11-10=1, Resulting Numbers: [56, 1]
Generated Node #0,0,1: 55:[56, 1] Operation: 11-10=1
Moving to Node #0,0,1
Current State: 55:[56, 1], Operations: ['69-13=56', '11-10=1']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
14,
40,
80,
88
] | 37 | [
"88-14=74",
"80/40=2",
"74/2=37"
] | Current State: 37:[14, 40, 80, 88], Operations: []
Exploring Operation: 88-14=74, Resulting Numbers: [40, 80, 74]
Generated Node #2: [40, 80, 74] from Operation: 88-14=74
Current State: 37:[40, 80, 74], Operations: ['88-14=74']
Exploring Operation: 80/40=2, Resulting Numbers: [74, 2]
Generated Node #3: [74, 2] from Operation: 80/40=2
Current State: 37:[74, 2], Operations: ['88-14=74', '80/40=2']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[14, 40, 80, 88], Operations: []
Exploring Operation: 88-80=8, Resulting Numbers: [14, 40, 8]
Generated Node #0,0: 37:[14, 40, 8] Operation: 88-80=8
Exploring Operation: 80-40=40, Resulting Numbers: [14, 88, 40]
Generated Node #0,1: 37:[14, 88, 40] Operation: 80-40=40
Moving to Node #0,0
Current State: 37:[14, 40, 8], Operations: ['88-80=8']
Exploring Operation: 14+8=22, Resulting Numbers: [40, 22]
Generated Node #0,0,0: 37:[40, 22] Operation: 14+8=22
Exploring Operation: 40-8=32, Resulting Numbers: [14, 32]
Generated Node #0,0,1: 37:[14, 32] Operation: 40-8=32
Moving to Node #0,1
Current State: 37:[14, 88, 40], Operations: ['80-40=40']
Exploring Operation: 88-40=48, Resulting Numbers: [14, 48]
Generated Node #0,1,0: 37:[14, 48] Operation: 88-40=48
Exploring Operation: 88-14=74, Resulting Numbers: [40, 74]
Generated Node #0,1,1: 37:[40, 74] Operation: 88-14=74
Moving to Node #0,0,0
Current State: 37:[40, 22], Operations: ['88-80=8', '14+8=22']
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Exploring Operation: 40+22=62, Resulting Numbers: [62]
62,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[14, 32], Operations: ['88-80=8', '40-8=32']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Exploring Operation: 14+32=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[14, 48], Operations: ['80-40=40', '88-40=48']
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 14+48=62, Resulting Numbers: [62]
62,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[40, 74], Operations: ['80-40=40', '88-14=74']
Exploring Operation: 40+74=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,37 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
69,
60,
91,
12
] | 17 | [
"69-60=9",
"12*9=108",
"108-91=17"
] | Current State: 17:[69, 60, 91, 12], Operations: []
Exploring Operation: 69-60=9, Resulting Numbers: [91, 12, 9]
Generated Node #2: [91, 12, 9] from Operation: 69-60=9
Current State: 17:[91, 12, 9], Operations: ['69-60=9']
Exploring Operation: 12*9=108, Resulting Numbers: [91, 108]
Generated Node #3: [91, 108] from Operation: 12*9=108
Current State: 17:[91, 108], Operations: ['69-60=9', '12*9=108']
Exploring Operation: 108-91=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[69, 60, 91, 12], Operations: []
Exploring Operation: 91-60=31, Resulting Numbers: [69, 12, 31]
Generated Node #0,0: 17:[69, 12, 31] Operation: 91-60=31
Exploring Operation: 91-69=22, Resulting Numbers: [60, 12, 22]
Generated Node #0,1: 17:[60, 12, 22] Operation: 91-69=22
Moving to Node #0,1
Current State: 17:[60, 12, 22], Operations: ['91-69=22']
Exploring Operation: 60-22=38, Resulting Numbers: [12, 38]
Generated Node #0,1,0: 17:[12, 38] Operation: 60-22=38
Exploring Operation: 60/12=5, Resulting Numbers: [22, 5]
Generated Node #0,1,1: 17:[22, 5] Operation: 60/12=5
Moving to Node #0,0
Current State: 17:[69, 12, 31], Operations: ['91-60=31']
Exploring Operation: 69-31=38, Resulting Numbers: [12, 38]
Generated Node #0,0,0: 17:[12, 38] Operation: 69-31=38
Exploring Operation: 69-12=57, Resulting Numbers: [31, 57]
Generated Node #0,0,1: 17:[31, 57] Operation: 69-12=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[12, 38], Operations: ['91-60=31', '69-31=38']
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,17 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[31, 57], Operations: ['91-60=31', '69-12=57']
Exploring Operation: 31+57=88, Resulting Numbers: [88]
88,17 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 17:[22, 5], Operations: ['91-69=22', '60/12=5']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[69, 60, 91, 12], Operations: []
Exploring Operation: 91-69=22, Resulting Numbers: [60, 12, 22]
Generated Node #0,1: 17:[60, 12, 22] Operation: 91-69=22
Moving to Node #0,1
Current State: 17:[60, 12, 22], Operations: ['91-69=22']
Exploring Operation: 60/12=5, Resulting Numbers: [22, 5]
Generated Node #0,1,1: 17:[22, 5] Operation: 60/12=5
Moving to Node #0,1,1
Current State: 17:[22, 5], Operations: ['91-69=22', '60/12=5']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
5,
20,
61,
92
] | 56 | [
"5+20=25",
"92-61=31",
"25+31=56"
] | Current State: 56:[5, 20, 61, 92], Operations: []
Exploring Operation: 5+20=25, Resulting Numbers: [61, 92, 25]
Generated Node #2: [61, 92, 25] from Operation: 5+20=25
Current State: 56:[61, 92, 25], Operations: ['5+20=25']
Exploring Operation: 92-61=31, Resulting Numbers: [25, 31]
Generated Node #3: [25, 31] from Operation: 92-61=31
Current State: 56:[25, 31], Operations: ['5+20=25', '92-61=31']
Exploring Operation: 25+31=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[5, 20, 61, 92], Operations: []
Exploring Operation: 92-20=72, Resulting Numbers: [5, 61, 72]
Generated Node #0,0: 56:[5, 61, 72] Operation: 92-20=72
Exploring Operation: 92-61=31, Resulting Numbers: [5, 20, 31]
Generated Node #0,1: 56:[5, 20, 31] Operation: 92-61=31
Moving to Node #0,1
Current State: 56:[5, 20, 31], Operations: ['92-61=31']
Exploring Operation: 20-5=15, Resulting Numbers: [31, 15]
Generated Node #0,1,0: 56:[31, 15] Operation: 20-5=15
Exploring Operation: 20/5=4, Resulting Numbers: [31, 4]
Generated Node #0,1,1: 56:[31, 4] Operation: 20/5=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[31, 4], Operations: ['92-61=31', '20/5=4']
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,56 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[31, 15], Operations: ['92-61=31', '20-5=15']
Exploring Operation: 31+15=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,56 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: 56:[5, 61, 72], Operations: ['92-20=72']
Exploring Operation: 72-61=11, Resulting Numbers: [5, 11]
Generated Node #0,0,0: 56:[5, 11] Operation: 72-61=11
Exploring Operation: 61-5=56, Resulting Numbers: [72, 56]
Generated Node #0,0,1: 56:[72, 56] Operation: 61-5=56
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[5, 11], Operations: ['92-20=72', '72-61=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[72, 56], Operations: ['92-20=72', '61-5=56']
Exploring Operation: 72+56=128, Resulting Numbers: [128]
128,56 unequal: No Solution
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,56 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 |
[
53,
53,
61,
16
] | 45 | [
"53-53=0",
"61-16=45",
"0+45=45"
] | Current State: 45:[53, 53, 61, 16], Operations: []
Exploring Operation: 53-53=0, Resulting Numbers: [61, 16, 0]
Generated Node #2: [61, 16, 0] from Operation: 53-53=0
Current State: 45:[61, 16, 0], Operations: ['53-53=0']
Exploring Operation: 61-16=45, Resulting Numbers: [0, 45]
Generated Node #3: [0, 45] from Operation: 61-16=45
Current State: 45:[0, 45], Operations: ['53-53=0', '61-16=45']
Exploring Operation: 0+45=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[53, 53, 61, 16], Operations: []
Exploring Operation: 61-16=45, Resulting Numbers: [53, 53, 45]
Generated Node #0,0: 45:[53, 53, 45] Operation: 61-16=45
Exploring Operation: 61-53=8, Resulting Numbers: [53, 16, 8]
Generated Node #0,1: 45:[53, 16, 8] Operation: 61-53=8
Exploring Operation: 61-53=8, Resulting Numbers: [53, 16, 8]
Generated Node #0,2: 45:[53, 16, 8] Operation: 61-53=8
Moving to Node #0,1
Current State: 45:[53, 16, 8], Operations: ['61-53=8']
Exploring Operation: 16-8=8, Resulting Numbers: [53, 8]
Generated Node #0,1,0: 45:[53, 8] Operation: 16-8=8
Exploring Operation: 53-16=37, Resulting Numbers: [8, 37]
Generated Node #0,1,1: 45:[8, 37] Operation: 53-16=37
Exploring Operation: 53-8=45, Resulting Numbers: [16, 45]
Generated Node #0,1,2: 45:[16, 45] Operation: 53-8=45
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[16, 45], Operations: ['61-53=8', '53-8=45']
Exploring Operation: 16+45=61, Resulting Numbers: [61]
61,45 unequal: No Solution
Exploring Operation: 16*45=720, Resulting Numbers: [720]
720,45 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[53, 8], Operations: ['61-53=8', '16-8=8']
Exploring Operation: 53*8=424, Resulting Numbers: [424]
424,45 unequal: No Solution
Exploring Operation: 53+8=61, Resulting Numbers: [61]
61,45 unequal: No Solution
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[53, 53, 61, 16], Operations: []
Exploring Operation: 61-53=8, Resulting Numbers: [53, 16, 8]
Generated Node #0,1: 45:[53, 16, 8] Operation: 61-53=8
Moving to Node #0,1
Current State: 45:[53, 16, 8], Operations: ['61-53=8']
Exploring Operation: 16-8=8, Resulting Numbers: [53, 8]
Generated Node #0,1,0: 45:[53, 8] Operation: 16-8=8
Moving to Node #0,1,0
Current State: 45:[53, 8], Operations: ['61-53=8', '16-8=8']
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
73,
61,
77,
48
] | 81 | [
"73-61=12",
"48/12=4",
"77+4=81"
] | Current State: 81:[73, 61, 77, 48], Operations: []
Exploring Operation: 73-61=12, Resulting Numbers: [77, 48, 12]
Generated Node #2: [77, 48, 12] from Operation: 73-61=12
Current State: 81:[77, 48, 12], Operations: ['73-61=12']
Exploring Operation: 48/12=4, Resulting Numbers: [77, 4]
Generated Node #3: [77, 4] from Operation: 48/12=4
Current State: 81:[77, 4], Operations: ['73-61=12', '48/12=4']
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[73, 61, 77, 48], Operations: []
Exploring Operation: 73-61=12, Resulting Numbers: [77, 48, 12]
Generated Node #0,0: 81:[77, 48, 12] Operation: 73-61=12
Exploring Operation: 73-48=25, Resulting Numbers: [61, 77, 25]
Generated Node #0,1: 81:[61, 77, 25] Operation: 73-48=25
Exploring Operation: 61-48=13, Resulting Numbers: [73, 77, 13]
Generated Node #0,2: 81:[73, 77, 13] Operation: 61-48=13
Exploring Operation: 77-48=29, Resulting Numbers: [73, 61, 29]
Generated Node #0,3: 81:[73, 61, 29] Operation: 77-48=29
Exploring Operation: 77-61=16, Resulting Numbers: [73, 48, 16]
Generated Node #0,4: 81:[73, 48, 16] Operation: 77-61=16
Moving to Node #0,2
Current State: 81:[73, 77, 13], Operations: ['61-48=13']
Exploring Operation: 77+13=90, Resulting Numbers: [73, 90]
Generated Node #0,2,0: 81:[73, 90] Operation: 77+13=90
Exploring Operation: 73+13=86, Resulting Numbers: [77, 86]
Generated Node #0,2,1: 81:[77, 86] Operation: 73+13=86
Exploring Operation: 73-13=60, Resulting Numbers: [77, 60]
Generated Node #0,2,2: 81:[77, 60] Operation: 73-13=60
Exploring Operation: 77-73=4, Resulting Numbers: [13, 4]
Generated Node #0,2,3: 81:[13, 4] Operation: 77-73=4
Exploring Operation: 77-13=64, Resulting Numbers: [73, 64]
Generated Node #0,2,4: 81:[73, 64] Operation: 77-13=64
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 81:[13, 4], Operations: ['61-48=13', '77-73=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,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:[77, 86], Operations: ['61-48=13', '73+13=86']
Exploring Operation: 77+86=163, Resulting Numbers: [163]
163,81 unequal: No Solution
Exploring Operation: 77*86=6622, Resulting Numbers: [6622]
6622,81 unequal: No Solution
Exploring Operation: 86-77=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,0
Current State: 81:[73, 90], Operations: ['61-48=13', '77+13=90']
Exploring Operation: 73*90=6570, Resulting Numbers: [6570]
6570,81 unequal: No Solution
Exploring Operation: 90-73=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 73+90=163, Resulting Numbers: [163]
163,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:[77, 60], Operations: ['61-48=13', '73-13=60']
Exploring Operation: 77*60=4620, Resulting Numbers: [4620]
4620,81 unequal: No Solution
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 77+60=137, Resulting Numbers: [137]
137,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,4
Current State: 81:[73, 64], Operations: ['61-48=13', '77-13=64']
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 73+64=137, Resulting Numbers: [137]
137,81 unequal: No Solution
Exploring Operation: 73*64=4672, Resulting Numbers: [4672]
4672,81 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: 81:[61, 77, 25], Operations: ['73-48=25']
Exploring Operation: 61+25=86, Resulting Numbers: [77, 86]
Generated Node #0,1,0: 81:[77, 86] Operation: 61+25=86
Exploring Operation: 77+25=102, Resulting Numbers: [61, 102]
Generated Node #0,1,1: 81:[61, 102] Operation: 77+25=102
Exploring Operation: 77-25=52, Resulting Numbers: [61, 52]
Generated Node #0,1,2: 81:[61, 52] Operation: 77-25=52
Exploring Operation: 61-25=36, Resulting Numbers: [77, 36]
Generated Node #0,1,3: 81:[77, 36] Operation: 61-25=36
Exploring Operation: 77-61=16, Resulting Numbers: [25, 16]
Generated Node #0,1,4: 81:[25, 16] Operation: 77-61=16
Moving to Node #0,0
Current State: 81:[77, 48, 12], Operations: ['73-61=12']
Exploring Operation: 48-12=36, Resulting Numbers: [77, 36]
Generated Node #0,0,0: 81:[77, 36] Operation: 48-12=36
Exploring Operation: 48/12=4, Resulting Numbers: [77, 4]
Generated Node #0,0,1: 81:[77, 4] Operation: 48/12=4
Exploring Operation: 77-48=29, Resulting Numbers: [12, 29]
Generated Node #0,0,2: 81:[12, 29] Operation: 77-48=29
Exploring Operation: 48+12=60, Resulting Numbers: [77, 60]
Generated Node #0,0,3: 81:[77, 60] Operation: 48+12=60
Exploring Operation: 77+12=89, Resulting Numbers: [48, 89]
Generated Node #0,0,4: 81:[48, 89] Operation: 77+12=89
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[77, 4], Operations: ['73-61=12', '48/12=4']
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,81 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,81 unequal: No Solution
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[73, 61, 77, 48], Operations: []
Exploring Operation: 73-61=12, Resulting Numbers: [77, 48, 12]
Generated Node #0,0: 81:[77, 48, 12] Operation: 73-61=12
Moving to Node #0,0
Current State: 81:[77, 48, 12], Operations: ['73-61=12']
Exploring Operation: 48/12=4, Resulting Numbers: [77, 4]
Generated Node #0,0,1: 81:[77, 4] Operation: 48/12=4
Moving to Node #0,0,1
Current State: 81:[77, 4], Operations: ['73-61=12', '48/12=4']
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | mult_heuristic |
[
26,
37,
39,
13
] | 52 | [
"39-37=2",
"13*2=26",
"26+26=52"
] | Current State: 52:[26, 37, 39, 13], Operations: []
Exploring Operation: 39-37=2, Resulting Numbers: [26, 13, 2]
Generated Node #2: [26, 13, 2] from Operation: 39-37=2
Current State: 52:[26, 13, 2], Operations: ['39-37=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26, 26]
Generated Node #3: [26, 26] from Operation: 13*2=26
Current State: 52:[26, 26], Operations: ['39-37=2', '13*2=26']
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[26, 37, 39, 13], Operations: []
Exploring Operation: 39+13=52, Resulting Numbers: [26, 37, 52]
Generated Node #0,0: 52:[26, 37, 52] Operation: 39+13=52
Exploring Operation: 39-37=2, Resulting Numbers: [26, 13, 2]
Generated Node #0,1: 52:[26, 13, 2] Operation: 39-37=2
Exploring Operation: 39-13=26, Resulting Numbers: [26, 37, 26]
Generated Node #0,2: 52:[26, 37, 26] Operation: 39-13=26
Exploring Operation: 39-26=13, Resulting Numbers: [37, 13, 13]
Generated Node #0,3: 52:[37, 13, 13] Operation: 39-26=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[26, 13, 2], Operations: ['39-37=2']
Exploring Operation: 26*2=52, Resulting Numbers: [13, 52]
Generated Node #0,1,0: 52:[13, 52] Operation: 26*2=52
Exploring Operation: 26/13=2, Resulting Numbers: [2, 2]
Generated Node #0,1,1: 52:[2, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [2, 13]
Generated Node #0,1,2: 52:[2, 13] Operation: 26-13=13
Exploring Operation: 26/2=13, Resulting Numbers: [13, 13]
Generated Node #0,1,3: 52:[13, 13] Operation: 26/2=13
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[13, 52], Operations: ['39-37=2', '26*2=52']
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 13*52=676, Resulting Numbers: [676]
676,52 unequal: No Solution
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 13+52=65, Resulting Numbers: [65]
65,52 unequal: No Solution
No 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: 52:[2, 2], Operations: ['39-37=2', '26/13=2']
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,52 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,52 unequal: No Solution
No 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: 52:[2, 13], Operations: ['39-37=2', '26-13=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,52 unequal: No Solution
No 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: 52:[13, 13], Operations: ['39-37=2', '26/2=13']
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 13*13=169, Resulting Numbers: [169]
169,52 unequal: No Solution
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,52 unequal: No Solution
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[26, 37, 52], Operations: ['39+13=52']
Exploring Operation: 37-26=11, Resulting Numbers: [52, 11]
Generated Node #0,0,0: 52:[52, 11] Operation: 37-26=11
Exploring Operation: 52-26=26, Resulting Numbers: [37, 26]
Generated Node #0,0,1: 52:[37, 26] Operation: 52-26=26
Exploring Operation: 52-37=15, Resulting Numbers: [26, 15]
Generated Node #0,0,2: 52:[26, 15] Operation: 52-37=15
Exploring Operation: 26+37=63, Resulting Numbers: [52, 63]
Generated Node #0,0,3: 52:[52, 63] Operation: 26+37=63
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[52, 11], Operations: ['39+13=52', '37-26=11']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,52 unequal: No Solution
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,52 unequal: No Solution
No 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: 52:[26, 15], Operations: ['39+13=52', '52-37=15']
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,52 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,52 unequal: No Solution
No 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: 52:[37, 26], Operations: ['39+13=52', '52-26=26']
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 37*26=962, Resulting Numbers: [962]
962,52 unequal: No Solution
Exploring Operation: 37+26=63, Resulting Numbers: [63]
63,52 unequal: No Solution
No 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: 52:[52, 63], Operations: ['39+13=52', '26+37=63']
Exploring Operation: 52+63=115, Resulting Numbers: [115]
115,52 unequal: No Solution
Exploring Operation: 52*63=3276, Resulting Numbers: [3276]
3276,52 unequal: No Solution
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[26, 37, 26], Operations: ['39-13=26']
Exploring Operation: 37-26=11, Resulting Numbers: [26, 11]
Generated Node #0,2,0: 52:[26, 11] Operation: 37-26=11
Exploring Operation: 26+26=52, Resulting Numbers: [37, 52]
Generated Node #0,2,1: 52:[37, 52] Operation: 26+26=52
Exploring Operation: 26+37=63, Resulting Numbers: [26, 63]
Generated Node #0,2,2: 52:[26, 63] Operation: 26+37=63
Exploring Operation: 37-26=11, Resulting Numbers: [26, 11]
Generated Node #0,2,3: 52:[26, 11] Operation: 37-26=11
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 52:[26, 11], Operations: ['39-13=26', '37-26=11']
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 26*11=286, Resulting Numbers: [286]
286,52 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,52 unequal: No Solution
No 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: 52:[26, 11], Operations: ['39-13=26', '37-26=11']
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 26*11=286, Resulting Numbers: [286]
286,52 unequal: No Solution
No 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: 52:[37, 52], Operations: ['39-13=26', '26+26=52']
Exploring Operation: 37+52=89, Resulting Numbers: [89]
89,52 unequal: No Solution
Exploring Operation: 37*52=1924, Resulting Numbers: [1924]
1924,52 unequal: No Solution
Exploring Operation: 52-37=15, Resulting Numbers: [15]
15,52 unequal: No Solution
No 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: 52:[26, 63], Operations: ['39-13=26', '26+37=63']
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 26*63=1638, Resulting Numbers: [1638]
1638,52 unequal: No Solution
Exploring Operation: 26+63=89, Resulting Numbers: [89]
89,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 52:[37, 13, 13], Operations: ['39-26=13']
Exploring Operation: 37-13=24, Resulting Numbers: [13, 24]
Generated Node #0,3,0: 52:[13, 24] Operation: 37-13=24
Exploring Operation: 37+13=50, Resulting Numbers: [13, 50]
Generated Node #0,3,1: 52:[13, 50] Operation: 37+13=50
Exploring Operation: 37+13=50, Resulting Numbers: [13, 50]
Generated Node #0,3,2: 52:[13, 50] Operation: 37+13=50
Exploring Operation: 37-13=24, Resulting Numbers: [13, 24]
Generated Node #0,3,3: 52:[13, 24] Operation: 37-13=24
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 52:[13, 24], Operations: ['39-26=13', '37-13=24']
Exploring Operation: 13*24=312, Resulting Numbers: [312]
312,52 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,52 unequal: No Solution
No 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: 52:[13, 50], Operations: ['39-26=13', '37+13=50']
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 13+50=63, Resulting Numbers: [63]
63,52 unequal: No Solution
Exploring Operation: 13*50=650, Resulting Numbers: [650]
650,52 unequal: No Solution
No 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: 52:[13, 50], Operations: ['39-26=13', '37+13=50']
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 13*50=650, Resulting Numbers: [650]
650,52 unequal: No Solution
Exploring Operation: 13+50=63, Resulting Numbers: [63]
63,52 unequal: No Solution
No 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: 52:[13, 24], Operations: ['39-26=13', '37-13=24']
Exploring Operation: 13*24=312, Resulting Numbers: [312]
312,52 unequal: No Solution
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
40,
34,
16,
79
] | 57 | [
"40-34=6",
"79-16=63",
"63-6=57"
] | Current State: 57:[40, 34, 16, 79], Operations: []
Exploring Operation: 40-34=6, Resulting Numbers: [16, 79, 6]
Generated Node #2: [16, 79, 6] from Operation: 40-34=6
Current State: 57:[16, 79, 6], Operations: ['40-34=6']
Exploring Operation: 79-16=63, Resulting Numbers: [6, 63]
Generated Node #3: [6, 63] from Operation: 79-16=63
Current State: 57:[6, 63], Operations: ['40-34=6', '79-16=63']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[40, 34, 16, 79], Operations: []
Exploring Operation: 79-16=63, Resulting Numbers: [40, 34, 63]
Generated Node #0,0: 57:[40, 34, 63] Operation: 79-16=63
Exploring Operation: 40-34=6, Resulting Numbers: [16, 79, 6]
Generated Node #0,1: 57:[16, 79, 6] Operation: 40-34=6
Exploring Operation: 79-34=45, Resulting Numbers: [40, 16, 45]
Generated Node #0,2: 57:[40, 16, 45] Operation: 79-34=45
Exploring Operation: 40+16=56, Resulting Numbers: [34, 79, 56]
Generated Node #0,3: 57:[34, 79, 56] Operation: 40+16=56
Exploring Operation: 79-40=39, Resulting Numbers: [34, 16, 39]
Generated Node #0,4: 57:[34, 16, 39] Operation: 79-40=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[16, 79, 6], Operations: ['40-34=6']
Exploring Operation: 79-6=73, Resulting Numbers: [16, 73]
Generated Node #0,1,0: 57:[16, 73] Operation: 79-6=73
Exploring Operation: 16-6=10, Resulting Numbers: [79, 10]
Generated Node #0,1,1: 57:[79, 10] Operation: 16-6=10
Exploring Operation: 79-16=63, Resulting Numbers: [6, 63]
Generated Node #0,1,2: 57:[6, 63] Operation: 79-16=63
Exploring Operation: 16+6=22, Resulting Numbers: [79, 22]
Generated Node #0,1,3: 57:[79, 22] Operation: 16+6=22
Exploring Operation: 79+6=85, Resulting Numbers: [16, 85]
Generated Node #0,1,4: 57:[16, 85] Operation: 79+6=85
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[6, 63], Operations: ['40-34=6', '79-16=63']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[40, 34, 16, 79], Operations: []
Exploring Operation: 40-34=6, Resulting Numbers: [16, 79, 6]
Generated Node #0,1: 57:[16, 79, 6] Operation: 40-34=6
Moving to Node #0,1
Current State: 57:[16, 79, 6], Operations: ['40-34=6']
Exploring Operation: 79-16=63, Resulting Numbers: [6, 63]
Generated Node #0,1,2: 57:[6, 63] Operation: 79-16=63
Moving to Node #0,1,2
Current State: 57:[6, 63], Operations: ['40-34=6', '79-16=63']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
8,
80,
6,
82
] | 39 | [
"8-6=2",
"82/2=41",
"80-41=39"
] | Current State: 39:[8, 80, 6, 82], Operations: []
Exploring Operation: 8-6=2, Resulting Numbers: [80, 82, 2]
Generated Node #2: [80, 82, 2] from Operation: 8-6=2
Current State: 39:[80, 82, 2], Operations: ['8-6=2']
Exploring Operation: 82/2=41, Resulting Numbers: [80, 41]
Generated Node #3: [80, 41] from Operation: 82/2=41
Current State: 39:[80, 41], Operations: ['8-6=2', '82/2=41']
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[8, 80, 6, 82], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [8, 6, 2]
Generated Node #0,0: 39:[8, 6, 2] Operation: 82-80=2
Exploring Operation: 80-8=72, Resulting Numbers: [6, 82, 72]
Generated Node #0,1: 39:[6, 82, 72] Operation: 80-8=72
Exploring Operation: 80/8=10, Resulting Numbers: [6, 82, 10]
Generated Node #0,2: 39:[6, 82, 10] Operation: 80/8=10
Exploring Operation: 80-6=74, Resulting Numbers: [8, 82, 74]
Generated Node #0,3: 39:[8, 82, 74] Operation: 80-6=74
Exploring Operation: 82-8=74, Resulting Numbers: [80, 6, 74]
Generated Node #0,4: 39:[80, 6, 74] Operation: 82-8=74
Moving to Node #0,0
Current State: 39:[8, 6, 2], Operations: ['82-80=2']
Exploring Operation: 6/2=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 39:[8, 3] Operation: 6/2=3
Exploring Operation: 8+2=10, Resulting Numbers: [6, 10]
Generated Node #0,0,1: 39:[6, 10] Operation: 8+2=10
Exploring Operation: 8/2=4, Resulting Numbers: [6, 4]
Generated Node #0,0,2: 39:[6, 4] Operation: 8/2=4
Exploring Operation: 8+6=14, Resulting Numbers: [2, 14]
Generated Node #0,0,3: 39:[2, 14] Operation: 8+6=14
Exploring Operation: 8-6=2, Resulting Numbers: [2, 2]
Generated Node #0,0,4: 39:[2, 2] Operation: 8-6=2
Moving to Node #0,2
Current State: 39:[6, 82, 10], Operations: ['80/8=10']
Exploring Operation: 6+82=88, Resulting Numbers: [10, 88]
Generated Node #0,2,0: 39:[10, 88] Operation: 6+82=88
Exploring Operation: 82-10=72, Resulting Numbers: [6, 72]
Generated Node #0,2,1: 39:[6, 72] Operation: 82-10=72
Exploring Operation: 6+10=16, Resulting Numbers: [82, 16]
Generated Node #0,2,2: 39:[82, 16] Operation: 6+10=16
Exploring Operation: 10-6=4, Resulting Numbers: [82, 4]
Generated Node #0,2,3: 39:[82, 4] Operation: 10-6=4
Exploring Operation: 82-6=76, Resulting Numbers: [10, 76]
Generated Node #0,2,4: 39:[10, 76] Operation: 82-6=76
Moving to Node #0,1
Current State: 39:[6, 82, 72], Operations: ['80-8=72']
Exploring Operation: 82-72=10, Resulting Numbers: [6, 10]
Generated Node #0,1,0: 39:[6, 10] Operation: 82-72=10
Exploring Operation: 72-6=66, Resulting Numbers: [82, 66]
Generated Node #0,1,1: 39:[82, 66] Operation: 72-6=66
Exploring Operation: 6+82=88, Resulting Numbers: [72, 88]
Generated Node #0,1,2: 39:[72, 88] Operation: 6+82=88
Exploring Operation: 82-6=76, Resulting Numbers: [72, 76]
Generated Node #0,1,3: 39:[72, 76] Operation: 82-6=76
Exploring Operation: 72/6=12, Resulting Numbers: [82, 12]
Generated Node #0,1,4: 39:[82, 12] Operation: 72/6=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[6, 10], Operations: ['80-8=72', '82-72=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 39:[82, 12], Operations: ['80-8=72', '72/6=12']
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,39 unequal: No Solution
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,39 unequal: No Solution
Exploring Operation: 82*12=984, Resulting Numbers: [984]
984,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[82, 66], Operations: ['80-8=72', '72-6=66']
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 82*66=5412, Resulting Numbers: [5412]
5412,39 unequal: No Solution
Exploring Operation: 82+66=148, Resulting Numbers: [148]
148,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 39:[72, 76], Operations: ['80-8=72', '82-6=76']
Exploring Operation: 72+76=148, Resulting Numbers: [148]
148,39 unequal: No Solution
Exploring Operation: 76-72=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 72*76=5472, Resulting Numbers: [5472]
5472,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[72, 88], Operations: ['80-8=72', '6+82=88']
Exploring Operation: 72+88=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Exploring Operation: 72*88=6336, Resulting Numbers: [6336]
6336,39 unequal: No Solution
Exploring Operation: 88-72=16, Resulting Numbers: [16]
16,39 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: 39:[80, 6, 74], Operations: ['82-8=74']
Exploring Operation: 6+74=80, Resulting Numbers: [80, 80]
Generated Node #0,4,0: 39:[80, 80] Operation: 6+74=80
Exploring Operation: 80+6=86, Resulting Numbers: [74, 86]
Generated Node #0,4,1: 39:[74, 86] Operation: 80+6=86
Exploring Operation: 74-6=68, Resulting Numbers: [80, 68]
Generated Node #0,4,2: 39:[80, 68] Operation: 74-6=68
Exploring Operation: 80-74=6, Resulting Numbers: [6, 6]
Generated Node #0,4,3: 39:[6, 6] Operation: 80-74=6
Exploring Operation: 80-6=74, Resulting Numbers: [74, 74]
Generated Node #0,4,4: 39:[74, 74] Operation: 80-6=74
Moving to Node #0,3
Current State: 39:[8, 82, 74], Operations: ['80-6=74']
Exploring Operation: 8+74=82, Resulting Numbers: [82, 82]
Generated Node #0,3,0: 39:[82, 82] Operation: 8+74=82
Exploring Operation: 74-8=66, Resulting Numbers: [82, 66]
Generated Node #0,3,1: 39:[82, 66] Operation: 74-8=66
Exploring Operation: 82-8=74, Resulting Numbers: [74, 74]
Generated Node #0,3,2: 39:[74, 74] Operation: 82-8=74
Exploring Operation: 82-74=8, Resulting Numbers: [8, 8]
Generated Node #0,3,3: 39:[8, 8] Operation: 82-74=8
Exploring Operation: 8+82=90, Resulting Numbers: [74, 90]
Generated Node #0,3,4: 39:[74, 90] Operation: 8+82=90
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 39:[8, 8], Operations: ['80-6=74', '82-74=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,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,1
Current State: 39:[82, 66], Operations: ['80-6=74', '74-8=66']
Exploring Operation: 82+66=148, Resulting Numbers: [148]
148,39 unequal: No Solution
Exploring Operation: 82*66=5412, Resulting Numbers: [5412]
5412,39 unequal: No Solution
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,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,2
Current State: 39:[74, 74], Operations: ['80-6=74', '82-8=74']
Exploring Operation: 74+74=148, Resulting Numbers: [148]
148,39 unequal: No Solution
Exploring Operation: 74-74=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 74/74=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 74*74=5476, Resulting Numbers: [5476]
5476,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,0
Current State: 39:[82, 82], Operations: ['80-6=74', '8+74=82']
Exploring Operation: 82-82=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 82/82=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 82+82=164, Resulting Numbers: [164]
164,39 unequal: No Solution
Exploring Operation: 82*82=6724, Resulting Numbers: [6724]
6724,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,4
Current State: 39:[74, 90], Operations: ['80-6=74', '8+82=90']
Exploring Operation: 74*90=6660, Resulting Numbers: [6660]
6660,39 unequal: No Solution
Exploring Operation: 74+90=164, Resulting Numbers: [164]
164,39 unequal: No Solution
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 39:[2, 14], Operations: ['82-80=2', '8+6=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,39 unequal: No Solution
Moving to Node #0,0,4
Current State: 39:[2, 2], Operations: ['82-80=2', '8-6=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[6, 4], Operations: ['82-80=2', '8/2=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[8, 3], Operations: ['82-80=2', '6/2=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[6, 10], Operations: ['82-80=2', '8+2=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Moving to Node #0,4,3
Current State: 39:[6, 6], Operations: ['82-8=74', '80-74=6']
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[6, 72], Operations: ['80/8=10', '82-10=72']
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,39 unequal: No Solution
Exploring Operation: 6*72=432, Resulting Numbers: [432]
432,39 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,39 unequal: No Solution
Moving to Node #0,2,4
Current State: 39:[10, 76], Operations: ['80/8=10', '82-6=76']
Exploring Operation: 10*76=760, Resulting Numbers: [760]
760,39 unequal: No Solution
Exploring Operation: 10+76=86, Resulting Numbers: [86]
86,39 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[82, 4], Operations: ['80/8=10', '10-6=4']
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,39 unequal: No Solution
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,39 unequal: No Solution
Exploring Operation: 82*4=328, Resulting Numbers: [328]
328,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[82, 16], Operations: ['80/8=10', '6+10=16']
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,39 unequal: No Solution
Exploring Operation: 82+16=98, Resulting Numbers: [98]
98,39 unequal: No Solution
Exploring Operation: 82*16=1312, Resulting Numbers: [1312]
1312,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[10, 88], Operations: ['80/8=10', '6+82=88']
Exploring Operation: 10+88=98, Resulting Numbers: [98]
98,39 unequal: No Solution
Exploring Operation: 10*88=880, Resulting Numbers: [880]
880,39 unequal: No Solution
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,39 unequal: No Solution
Moving to Node #0,4,2
Current State: 39:[80, 68], Operations: ['82-8=74', '74-6=68']
Exploring Operation: 80-68=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 80*68=5440, Resulting Numbers: [5440]
5440,39 unequal: No Solution
Exploring Operation: 80+68=148, Resulting Numbers: [148]
148,39 unequal: No Solution
Moving to Node #0,4,4
Current State: 39:[74, 74], Operations: ['82-8=74', '80-6=74']
Exploring Operation: 74+74=148, Resulting Numbers: [148]
148,39 unequal: No Solution
Exploring Operation: 74/74=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 74-74=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 74*74=5476, Resulting Numbers: [5476]
5476,39 unequal: No Solution
Moving to Node #0,4,1
Current State: 39:[74, 86], Operations: ['82-8=74', '80+6=86']
Exploring Operation: 86-74=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 74*86=6364, Resulting Numbers: [6364]
6364,39 unequal: No Solution
Exploring Operation: 74+86=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Moving to Node #0,4,0
Current State: 39:[80, 80], Operations: ['82-8=74', '6+74=80']
Exploring Operation: 80*80=6400, Resulting Numbers: [6400]
6400,39 unequal: No Solution
Exploring Operation: 80/80=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 80-80=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 80+80=160, Resulting Numbers: [160]
160,39 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
59,
55,
16,
86
] | 74 | [
"59-55=4",
"86-16=70",
"4+70=74"
] | Current State: 74:[59, 55, 16, 86], Operations: []
Exploring Operation: 59-55=4, Resulting Numbers: [16, 86, 4]
Generated Node #2: [16, 86, 4] from Operation: 59-55=4
Current State: 74:[16, 86, 4], Operations: ['59-55=4']
Exploring Operation: 86-16=70, Resulting Numbers: [4, 70]
Generated Node #3: [4, 70] from Operation: 86-16=70
Current State: 74:[4, 70], Operations: ['59-55=4', '86-16=70']
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[59, 55, 16, 86], Operations: []
Exploring Operation: 55-16=39, Resulting Numbers: [59, 86, 39]
Generated Node #0,0: 74:[59, 86, 39] Operation: 55-16=39
Exploring Operation: 55+16=71, Resulting Numbers: [59, 86, 71]
Generated Node #0,1: 74:[59, 86, 71] Operation: 55+16=71
Exploring Operation: 59-55=4, Resulting Numbers: [16, 86, 4]
Generated Node #0,2: 74:[16, 86, 4] Operation: 59-55=4
Exploring Operation: 59+16=75, Resulting Numbers: [55, 86, 75]
Generated Node #0,3: 74:[55, 86, 75] Operation: 59+16=75
Moving to Node #0,2
Current State: 74:[16, 86, 4], Operations: ['59-55=4']
Exploring Operation: 16/4=4, Resulting Numbers: [86, 4]
Generated Node #0,2,0: 74:[86, 4] Operation: 16/4=4
Exploring Operation: 16-4=12, Resulting Numbers: [86, 12]
Generated Node #0,2,1: 74:[86, 12] Operation: 16-4=12
Exploring Operation: 86-16=70, Resulting Numbers: [4, 70]
Generated Node #0,2,2: 74:[4, 70] Operation: 86-16=70
Exploring Operation: 16*4=64, Resulting Numbers: [86, 64]
Generated Node #0,2,3: 74:[86, 64] Operation: 16*4=64
Moving to Node #0,0
Current State: 74:[59, 86, 39], Operations: ['55-16=39']
Exploring Operation: 59+39=98, Resulting Numbers: [86, 98]
Generated Node #0,0,0: 74:[86, 98] Operation: 59+39=98
Exploring Operation: 59-39=20, Resulting Numbers: [86, 20]
Generated Node #0,0,1: 74:[86, 20] Operation: 59-39=20
Exploring Operation: 86-59=27, Resulting Numbers: [39, 27]
Generated Node #0,0,2: 74:[39, 27] Operation: 86-59=27
Exploring Operation: 86-39=47, Resulting Numbers: [59, 47]
Generated Node #0,0,3: 74:[59, 47] Operation: 86-39=47
Moving to Node #0,1
Current State: 74:[59, 86, 71], Operations: ['55+16=71']
Exploring Operation: 86-71=15, Resulting Numbers: [59, 15]
Generated Node #0,1,0: 74:[59, 15] Operation: 86-71=15
Exploring Operation: 59+71=130, Resulting Numbers: [86, 130]
Generated Node #0,1,1: 74:[86, 130] Operation: 59+71=130
Exploring Operation: 71-59=12, Resulting Numbers: [86, 12]
Generated Node #0,1,2: 74:[86, 12] Operation: 71-59=12
Exploring Operation: 86-59=27, Resulting Numbers: [71, 27]
Generated Node #0,1,3: 74:[71, 27] Operation: 86-59=27
Moving to Node #0,3
Current State: 74:[55, 86, 75], Operations: ['59+16=75']
Exploring Operation: 86-75=11, Resulting Numbers: [55, 11]
Generated Node #0,3,0: 74:[55, 11] Operation: 86-75=11
Exploring Operation: 55+86=141, Resulting Numbers: [75, 141]
Generated Node #0,3,1: 74:[75, 141] Operation: 55+86=141
Exploring Operation: 75-55=20, Resulting Numbers: [86, 20]
Generated Node #0,3,2: 74:[86, 20] Operation: 75-55=20
Exploring Operation: 86-55=31, Resulting Numbers: [75, 31]
Generated Node #0,3,3: 74:[75, 31] Operation: 86-55=31
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 74:[75, 31], Operations: ['59+16=75', '86-55=31']
Exploring Operation: 75*31=2325, Resulting Numbers: [2325]
2325,74 unequal: No Solution
Exploring Operation: 75+31=106, Resulting Numbers: [106]
106,74 unequal: No Solution
Exploring Operation: 75-31=44, Resulting Numbers: [44]
44,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 74:[55, 11], Operations: ['59+16=75', '86-75=11']
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 55*11=605, Resulting Numbers: [605]
605,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 74:[86, 20], Operations: ['59+16=75', '75-55=20']
Exploring Operation: 86+20=106, Resulting Numbers: [106]
106,74 unequal: No Solution
Exploring Operation: 86*20=1720, Resulting Numbers: [1720]
1720,74 unequal: No Solution
Exploring Operation: 86-20=66, Resulting Numbers: [66]
66,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 74:[75, 141], Operations: ['59+16=75', '55+86=141']
Exploring Operation: 75*141=10575, Resulting Numbers: [10575]
10575,74 unequal: No Solution
Exploring Operation: 141-75=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 75+141=216, Resulting Numbers: [216]
216,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 74:[4, 70], Operations: ['59-55=4', '86-16=70']
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[59, 55, 16, 86], Operations: []
Exploring Operation: 59-55=4, Resulting Numbers: [16, 86, 4]
Generated Node #0,2: 74:[16, 86, 4] Operation: 59-55=4
Moving to Node #0,2
Current State: 74:[16, 86, 4], Operations: ['59-55=4']
Exploring Operation: 86-16=70, Resulting Numbers: [4, 70]
Generated Node #0,2,2: 74:[4, 70] Operation: 86-16=70
Moving to Node #0,2,2
Current State: 74:[4, 70], Operations: ['59-55=4', '86-16=70']
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.967014 | hs_4 | sum_heuristic |
[
18,
11,
20,
14
] | 16 | [
"18-14=4",
"20/4=5",
"11+5=16"
] | Current State: 16:[18, 11, 20, 14], Operations: []
Exploring Operation: 18-14=4, Resulting Numbers: [11, 20, 4]
Generated Node #2: [11, 20, 4] from Operation: 18-14=4
Current State: 16:[11, 20, 4], Operations: ['18-14=4']
Exploring Operation: 20/4=5, Resulting Numbers: [11, 5]
Generated Node #3: [11, 5] from Operation: 20/4=5
Current State: 16:[11, 5], Operations: ['18-14=4', '20/4=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[18, 11, 20, 14], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [11, 14, 2]
Generated Node #0,0: 16:[11, 14, 2] Operation: 20-18=2
Exploring Operation: 20-11=9, Resulting Numbers: [18, 14, 9]
Generated Node #0,1: 16:[18, 14, 9] Operation: 20-11=9
Moving to Node #0,0
Current State: 16:[11, 14, 2], Operations: ['20-18=2']
Exploring Operation: 14-11=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 16:[2, 3] Operation: 14-11=3
Exploring Operation: 11-2=9, Resulting Numbers: [14, 9]
Generated Node #0,0,1: 16:[14, 9] Operation: 11-2=9
Moving to Node #0,1
Current State: 16:[18, 14, 9], Operations: ['20-11=9']
Exploring Operation: 18-14=4, Resulting Numbers: [9, 4]
Generated Node #0,1,0: 16:[9, 4] Operation: 18-14=4
Exploring Operation: 18/9=2, Resulting Numbers: [14, 2]
Generated Node #0,1,1: 16:[14, 2] Operation: 18/9=2
Moving to Node #0,0,0
Current State: 16:[2, 3], Operations: ['20-18=2', '14-11=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[9, 4], Operations: ['20-11=9', '18-14=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[14, 2], Operations: ['20-11=9', '18/9=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[18, 11, 20, 14], Operations: []
Exploring Operation: 20-11=9, Resulting Numbers: [18, 14, 9]
Generated Node #0,1: 16:[18, 14, 9] Operation: 20-11=9
Moving to Node #0,1
Current State: 16:[18, 14, 9], Operations: ['20-11=9']
Exploring Operation: 18/9=2, Resulting Numbers: [14, 2]
Generated Node #0,1,1: 16:[14, 2] Operation: 18/9=2
Moving to Node #0,1,1
Current State: 16:[14, 2], Operations: ['20-11=9', '18/9=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
35,
43,
26,
12
] | 30 | [
"43-35=8",
"26+12=38",
"38-8=30"
] | Current State: 30:[35, 43, 26, 12], Operations: []
Exploring Operation: 43-35=8, Resulting Numbers: [26, 12, 8]
Generated Node #2: [26, 12, 8] from Operation: 43-35=8
Current State: 30:[26, 12, 8], Operations: ['43-35=8']
Exploring Operation: 26+12=38, Resulting Numbers: [8, 38]
Generated Node #3: [8, 38] from Operation: 26+12=38
Current State: 30:[8, 38], Operations: ['43-35=8', '26+12=38']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[35, 43, 26, 12], Operations: []
Exploring Operation: 43-12=31, Resulting Numbers: [35, 26, 31]
Generated Node #0,0: 30:[35, 26, 31] Operation: 43-12=31
Exploring Operation: 43-35=8, Resulting Numbers: [26, 12, 8]
Generated Node #0,1: 30:[26, 12, 8] Operation: 43-35=8
Exploring Operation: 43-26=17, Resulting Numbers: [35, 12, 17]
Generated Node #0,2: 30:[35, 12, 17] Operation: 43-26=17
Moving to Node #0,1
Current State: 30:[26, 12, 8], Operations: ['43-35=8']
Exploring Operation: 12-8=4, Resulting Numbers: [26, 4]
Generated Node #0,1,0: 30:[26, 4] Operation: 12-8=4
Exploring Operation: 26-8=18, Resulting Numbers: [12, 18]
Generated Node #0,1,1: 30:[12, 18] Operation: 26-8=18
Exploring Operation: 26-12=14, Resulting Numbers: [8, 14]
Generated Node #0,1,2: 30:[8, 14] Operation: 26-12=14
Moving to Node #0,2
Current State: 30:[35, 12, 17], Operations: ['43-26=17']
Exploring Operation: 35-17=18, Resulting Numbers: [12, 18]
Generated Node #0,2,0: 30:[12, 18] Operation: 35-17=18
Exploring Operation: 17-12=5, Resulting Numbers: [35, 5]
Generated Node #0,2,1: 30:[35, 5] Operation: 17-12=5
Exploring Operation: 12+17=29, Resulting Numbers: [35, 29]
Generated Node #0,2,2: 30:[35, 29] Operation: 12+17=29
Moving to Node #0,0
Current State: 30:[35, 26, 31], Operations: ['43-12=31']
Exploring Operation: 31-26=5, Resulting Numbers: [35, 5]
Generated Node #0,0,0: 30:[35, 5] Operation: 31-26=5
Exploring Operation: 35-31=4, Resulting Numbers: [26, 4]
Generated Node #0,0,1: 30:[26, 4] Operation: 35-31=4
Exploring Operation: 35-26=9, Resulting Numbers: [31, 9]
Generated Node #0,0,2: 30:[31, 9] Operation: 35-26=9
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[31, 9], Operations: ['43-12=31', '35-26=9']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,30 unequal: No Solution
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[35, 5], Operations: ['43-12=31', '31-26=5']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,30 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[35, 43, 26, 12], Operations: []
Exploring Operation: 43-12=31, Resulting Numbers: [35, 26, 31]
Generated Node #0,0: 30:[35, 26, 31] Operation: 43-12=31
Moving to Node #0,0
Current State: 30:[35, 26, 31], Operations: ['43-12=31']
Exploring Operation: 31-26=5, Resulting Numbers: [35, 5]
Generated Node #0,0,0: 30:[35, 5] Operation: 31-26=5
Moving to Node #0,0,0
Current State: 30:[35, 5], Operations: ['43-12=31', '31-26=5']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_3 | mult_heuristic |
[
81,
4,
32,
60
] | 49 | [
"81-4=77",
"60-32=28",
"77-28=49"
] | Current State: 49:[81, 4, 32, 60], Operations: []
Exploring Operation: 81-4=77, Resulting Numbers: [32, 60, 77]
Generated Node #2: [32, 60, 77] from Operation: 81-4=77
Current State: 49:[32, 60, 77], Operations: ['81-4=77']
Exploring Operation: 60-32=28, Resulting Numbers: [77, 28]
Generated Node #3: [77, 28] from Operation: 60-32=28
Current State: 49:[77, 28], Operations: ['81-4=77', '60-32=28']
Exploring Operation: 77-28=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[81, 4, 32, 60], Operations: []
Exploring Operation: 81-32=49, Resulting Numbers: [4, 60, 49]
Generated Node #0,0: 49:[4, 60, 49] Operation: 81-32=49
Exploring Operation: 81-60=21, Resulting Numbers: [4, 32, 21]
Generated Node #0,1: 49:[4, 32, 21] Operation: 81-60=21
Exploring Operation: 81-4=77, Resulting Numbers: [32, 60, 77]
Generated Node #0,2: 49:[32, 60, 77] Operation: 81-4=77
Exploring Operation: 32/4=8, Resulting Numbers: [81, 60, 8]
Generated Node #0,3: 49:[81, 60, 8] Operation: 32/4=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[4, 60, 49], Operations: ['81-32=49']
Exploring Operation: 4+60=64, Resulting Numbers: [49, 64]
Generated Node #0,0,0: 49:[49, 64] Operation: 4+60=64
Exploring Operation: 60/4=15, Resulting Numbers: [49, 15]
Generated Node #0,0,1: 49:[49, 15] Operation: 60/4=15
Exploring Operation: 60-4=56, Resulting Numbers: [49, 56]
Generated Node #0,0,2: 49:[49, 56] Operation: 60-4=56
Exploring Operation: 60-49=11, Resulting Numbers: [4, 11]
Generated Node #0,0,3: 49:[4, 11] Operation: 60-49=11
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 49:[49, 56], Operations: ['81-32=49', '60-4=56']
Exploring Operation: 56-49=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 49+56=105, Resulting Numbers: [105]
105,49 unequal: No Solution
Exploring Operation: 49*56=2744, Resulting Numbers: [2744]
2744,49 unequal: No Solution
No 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: 49:[4, 11], Operations: ['81-32=49', '60-49=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,49 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,49 unequal: No Solution
No 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: 49:[49, 15], Operations: ['81-32=49', '60/4=15']
Exploring Operation: 49+15=64, Resulting Numbers: [64]
64,49 unequal: No Solution
Exploring Operation: 49*15=735, Resulting Numbers: [735]
735,49 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,49 unequal: No Solution
No 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: 49:[49, 64], Operations: ['81-32=49', '4+60=64']
Exploring Operation: 49*64=3136, Resulting Numbers: [3136]
3136,49 unequal: No Solution
Exploring Operation: 49+64=113, Resulting Numbers: [113]
113,49 unequal: No Solution
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,49 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: 49:[4, 32, 21], Operations: ['81-60=21']
Exploring Operation: 4+32=36, Resulting Numbers: [21, 36]
Generated Node #0,1,0: 49:[21, 36] Operation: 4+32=36
Exploring Operation: 32/4=8, Resulting Numbers: [21, 8]
Generated Node #0,1,1: 49:[21, 8] Operation: 32/4=8
Exploring Operation: 32-21=11, Resulting Numbers: [4, 11]
Generated Node #0,1,2: 49:[4, 11] Operation: 32-21=11
Exploring Operation: 32+21=53, Resulting Numbers: [4, 53]
Generated Node #0,1,3: 49:[4, 53] Operation: 32+21=53
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 49:[4, 11], Operations: ['81-60=21', '32-21=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,49 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,49 unequal: No Solution
No 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: 49:[4, 53], Operations: ['81-60=21', '32+21=53']
Exploring Operation: 4*53=212, Resulting Numbers: [212]
212,49 unequal: No Solution
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[81, 4, 32, 60], Operations: []
Exploring Operation: 81-60=21, Resulting Numbers: [4, 32, 21]
Generated Node #0,1: 49:[4, 32, 21] Operation: 81-60=21
Moving to Node #0,1
Current State: 49:[4, 32, 21], Operations: ['81-60=21']
Exploring Operation: 32+21=53, Resulting Numbers: [4, 53]
Generated Node #0,1,3: 49:[4, 53] Operation: 32+21=53
Moving to Node #0,1,3
Current State: 49:[4, 53], Operations: ['81-60=21', '32+21=53']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
19,
59,
57,
65
] | 27 | [
"59-57=2",
"19*2=38",
"65-38=27"
] | Current State: 27:[19, 59, 57, 65], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [19, 65, 2]
Generated Node #2: [19, 65, 2] from Operation: 59-57=2
Current State: 27:[19, 65, 2], Operations: ['59-57=2']
Exploring Operation: 19*2=38, Resulting Numbers: [65, 38]
Generated Node #3: [65, 38] from Operation: 19*2=38
Current State: 27:[65, 38], Operations: ['59-57=2', '19*2=38']
Exploring Operation: 65-38=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[19, 59, 57, 65], Operations: []
Exploring Operation: 65-59=6, Resulting Numbers: [19, 57, 6]
Generated Node #0,0: 27:[19, 57, 6] Operation: 65-59=6
Exploring Operation: 57/19=3, Resulting Numbers: [59, 65, 3]
Generated Node #0,1: 27:[59, 65, 3] Operation: 57/19=3
Exploring Operation: 59-19=40, Resulting Numbers: [57, 65, 40]
Generated Node #0,2: 27:[57, 65, 40] Operation: 59-19=40
Exploring Operation: 59-57=2, Resulting Numbers: [19, 65, 2]
Generated Node #0,3: 27:[19, 65, 2] Operation: 59-57=2
Exploring Operation: 65-57=8, Resulting Numbers: [19, 59, 8]
Generated Node #0,4: 27:[19, 59, 8] Operation: 65-57=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[19, 57, 6], Operations: ['65-59=6']
Exploring Operation: 57/19=3, Resulting Numbers: [6, 3]
Generated Node #0,0,0: 27:[6, 3] Operation: 57/19=3
Exploring Operation: 19-6=13, Resulting Numbers: [57, 13]
Generated Node #0,0,1: 27:[57, 13] Operation: 19-6=13
Exploring Operation: 19+6=25, Resulting Numbers: [57, 25]
Generated Node #0,0,2: 27:[57, 25] Operation: 19+6=25
Exploring Operation: 57-6=51, Resulting Numbers: [19, 51]
Generated Node #0,0,3: 27:[19, 51] Operation: 57-6=51
Exploring Operation: 57-19=38, Resulting Numbers: [6, 38]
Generated Node #0,0,4: 27:[6, 38] Operation: 57-19=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[6, 3], Operations: ['65-59=6', '57/19=3']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,27 unequal: No Solution
No 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: 27:[6, 38], Operations: ['65-59=6', '57-19=38']
Exploring Operation: 6*38=228, Resulting Numbers: [228]
228,27 unequal: No Solution
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,27 unequal: No Solution
No 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: 27:[57, 25], Operations: ['65-59=6', '19+6=25']
Exploring Operation: 57*25=1425, Resulting Numbers: [1425]
1425,27 unequal: No Solution
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 57+25=82, Resulting Numbers: [82]
82,27 unequal: No Solution
No 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: 27:[19, 51], Operations: ['65-59=6', '57-6=51']
Exploring Operation: 19+51=70, Resulting Numbers: [70]
70,27 unequal: No Solution
Exploring Operation: 19*51=969, Resulting Numbers: [969]
969,27 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,27 unequal: No Solution
No 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: 27:[57, 13], Operations: ['65-59=6', '19-6=13']
Exploring Operation: 57+13=70, Resulting Numbers: [70]
70,27 unequal: No Solution
Exploring Operation: 57*13=741, Resulting Numbers: [741]
741,27 unequal: No Solution
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,27 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: 27:[19, 59, 8], Operations: ['65-57=8']
Exploring Operation: 19+8=27, Resulting Numbers: [59, 27]
Generated Node #0,4,0: 27:[59, 27] Operation: 19+8=27
Exploring Operation: 59-19=40, Resulting Numbers: [8, 40]
Generated Node #0,4,1: 27:[8, 40] Operation: 59-19=40
Exploring Operation: 59+8=67, Resulting Numbers: [19, 67]
Generated Node #0,4,2: 27:[19, 67] Operation: 59+8=67
Exploring Operation: 19-8=11, Resulting Numbers: [59, 11]
Generated Node #0,4,3: 27:[59, 11] Operation: 19-8=11
Exploring Operation: 59-8=51, Resulting Numbers: [19, 51]
Generated Node #0,4,4: 27:[19, 51] Operation: 59-8=51
Moving to Node #0,4,1
Current State: 27:[8, 40], Operations: ['65-57=8', '59-19=40']
Exploring Operation: 8+40=48, Resulting Numbers: [48]
48,27 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 8*40=320, Resulting Numbers: [320]
320,27 unequal: No Solution
Moving to Node #0,4,4
Current State: 27:[19, 51], Operations: ['65-57=8', '59-8=51']
Exploring Operation: 19+51=70, Resulting Numbers: [70]
70,27 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 19*51=969, Resulting Numbers: [969]
969,27 unequal: No Solution
Moving to Node #0,4,0
Current State: 27:[59, 27], Operations: ['65-57=8', '19+8=27']
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 59+27=86, Resulting Numbers: [86]
86,27 unequal: No Solution
Exploring Operation: 59*27=1593, Resulting Numbers: [1593]
1593,27 unequal: No Solution
Moving to Node #0,4,3
Current State: 27:[59, 11], Operations: ['65-57=8', '19-8=11']
Exploring Operation: 59*11=649, Resulting Numbers: [649]
649,27 unequal: No Solution
Exploring Operation: 59+11=70, Resulting Numbers: [70]
70,27 unequal: No Solution
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,27 unequal: No Solution
Moving to Node #0,4,2
Current State: 27:[19, 67], Operations: ['65-57=8', '59+8=67']
Exploring Operation: 19+67=86, Resulting Numbers: [86]
86,27 unequal: No Solution
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,27 unequal: No Solution
Exploring Operation: 19*67=1273, Resulting Numbers: [1273]
1273,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,3
Current State: 27:[19, 65, 2], Operations: ['59-57=2']
Exploring Operation: 65+2=67, Resulting Numbers: [19, 67]
Generated Node #0,3,0: 27:[19, 67] Operation: 65+2=67
Exploring Operation: 65-2=63, Resulting Numbers: [19, 63]
Generated Node #0,3,1: 27:[19, 63] Operation: 65-2=63
Exploring Operation: 65-19=46, Resulting Numbers: [2, 46]
Generated Node #0,3,2: 27:[2, 46] Operation: 65-19=46
Exploring Operation: 19-2=17, Resulting Numbers: [65, 17]
Generated Node #0,3,3: 27:[65, 17] Operation: 19-2=17
Exploring Operation: 19+2=21, Resulting Numbers: [65, 21]
Generated Node #0,3,4: 27:[65, 21] Operation: 19+2=21
Moving to Node #0,3,2
Current State: 27:[2, 46], Operations: ['59-57=2', '65-19=46']
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,27 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,27 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,27 unequal: No Solution
Moving to Node #0,3,4
Current State: 27:[65, 21], Operations: ['59-57=2', '19+2=21']
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 65+21=86, Resulting Numbers: [86]
86,27 unequal: No Solution
Exploring Operation: 65*21=1365, Resulting Numbers: [1365]
1365,27 unequal: No Solution
Moving to Node #0,3,1
Current State: 27:[19, 63], Operations: ['59-57=2', '65-2=63']
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,27 unequal: No Solution
Moving to Node #0,3,3
Current State: 27:[65, 17], Operations: ['59-57=2', '19-2=17']
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,27 unequal: No Solution
Exploring Operation: 65*17=1105, Resulting Numbers: [1105]
1105,27 unequal: No Solution
Exploring Operation: 65+17=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Moving to Node #0,3,0
Current State: 27:[19, 67], Operations: ['59-57=2', '65+2=67']
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,27 unequal: No Solution
Exploring Operation: 19+67=86, Resulting Numbers: [86]
86,27 unequal: No Solution
Exploring Operation: 19*67=1273, Resulting Numbers: [1273]
1273,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:[59, 65, 3], Operations: ['57/19=3']
Exploring Operation: 65-59=6, Resulting Numbers: [3, 6]
Generated Node #0,1,0: 27:[3, 6] Operation: 65-59=6
Exploring Operation: 65+3=68, Resulting Numbers: [59, 68]
Generated Node #0,1,1: 27:[59, 68] Operation: 65+3=68
Exploring Operation: 59+3=62, Resulting Numbers: [65, 62]
Generated Node #0,1,2: 27:[65, 62] Operation: 59+3=62
Exploring Operation: 65-3=62, Resulting Numbers: [59, 62]
Generated Node #0,1,3: 27:[59, 62] Operation: 65-3=62
Exploring Operation: 59-3=56, Resulting Numbers: [65, 56]
Generated Node #0,1,4: 27:[65, 56] Operation: 59-3=56
Moving to Node #0,1,0
Current State: 27:[3, 6], Operations: ['57/19=3', '65-59=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,27 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Moving to Node #0,1,4
Current State: 27:[65, 56], Operations: ['57/19=3', '59-3=56']
Exploring Operation: 65-56=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 65+56=121, Resulting Numbers: [121]
121,27 unequal: No Solution
Exploring Operation: 65*56=3640, Resulting Numbers: [3640]
3640,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[59, 62], Operations: ['57/19=3', '65-3=62']
Exploring Operation: 59*62=3658, Resulting Numbers: [3658]
3658,27 unequal: No Solution
Exploring Operation: 62-59=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 59+62=121, Resulting Numbers: [121]
121,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[59, 68], Operations: ['57/19=3', '65+3=68']
Exploring Operation: 59*68=4012, Resulting Numbers: [4012]
4012,27 unequal: No Solution
Exploring Operation: 68-59=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 59+68=127, Resulting Numbers: [127]
127,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[65, 62], Operations: ['57/19=3', '59+3=62']
Exploring Operation: 65*62=4030, Resulting Numbers: [4030]
4030,27 unequal: No Solution
Exploring Operation: 65+62=127, Resulting Numbers: [127]
127,27 unequal: No Solution
Exploring Operation: 65-62=3, Resulting Numbers: [3]
3,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,2
Current State: 27:[57, 65, 40], Operations: ['59-19=40']
Exploring Operation: 57+40=97, Resulting Numbers: [65, 97]
Generated Node #0,2,0: 27:[65, 97] Operation: 57+40=97
Exploring Operation: 57-40=17, Resulting Numbers: [65, 17]
Generated Node #0,2,1: 27:[65, 17] Operation: 57-40=17
Exploring Operation: 65-57=8, Resulting Numbers: [40, 8]
Generated Node #0,2,2: 27:[40, 8] Operation: 65-57=8
Exploring Operation: 57+65=122, Resulting Numbers: [40, 122]
Generated Node #0,2,3: 27:[40, 122] Operation: 57+65=122
Exploring Operation: 65-40=25, Resulting Numbers: [57, 25]
Generated Node #0,2,4: 27:[57, 25] Operation: 65-40=25
Moving to Node #0,2,2
Current State: 27:[40, 8], Operations: ['59-19=40', '65-57=8']
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 40+8=48, Resulting Numbers: [48]
48,27 unequal: No Solution
Exploring Operation: 40*8=320, Resulting Numbers: [320]
320,27 unequal: No Solution
Moving to Node #0,2,4
Current State: 27:[57, 25], Operations: ['59-19=40', '65-40=25']
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 57+25=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Exploring Operation: 57*25=1425, Resulting Numbers: [1425]
1425,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[65, 17], Operations: ['59-19=40', '57-40=17']
Exploring Operation: 65+17=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,27 unequal: No Solution
Exploring Operation: 65*17=1105, Resulting Numbers: [1105]
1105,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[65, 97], Operations: ['59-19=40', '57+40=97']
Exploring Operation: 65+97=162, Resulting Numbers: [162]
162,27 unequal: No Solution
Exploring Operation: 65*97=6305, Resulting Numbers: [6305]
6305,27 unequal: No Solution
Exploring Operation: 97-65=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Moving to Node #0,2,3
Current State: 27:[40, 122], Operations: ['59-19=40', '57+65=122']
Exploring Operation: 40+122=162, Resulting Numbers: [162]
162,27 unequal: No Solution
Exploring Operation: 40*122=4880, Resulting Numbers: [4880]
4880,27 unequal: No Solution
Exploring Operation: 122-40=82, Resulting Numbers: [82]
82,27 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 |
[
65,
2,
64,
56
] | 53 | [
"65+2=67",
"64+56=120",
"120-67=53"
] | Current State: 53:[65, 2, 64, 56], Operations: []
Exploring Operation: 65+2=67, Resulting Numbers: [64, 56, 67]
Generated Node #2: [64, 56, 67] from Operation: 65+2=67
Current State: 53:[64, 56, 67], Operations: ['65+2=67']
Exploring Operation: 64+56=120, Resulting Numbers: [67, 120]
Generated Node #3: [67, 120] from Operation: 64+56=120
Current State: 53:[67, 120], Operations: ['65+2=67', '64+56=120']
Exploring Operation: 120-67=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[65, 2, 64, 56], Operations: []
Exploring Operation: 65-2=63, Resulting Numbers: [64, 56, 63]
Generated Node #0,0: 53:[64, 56, 63] Operation: 65-2=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[64, 56, 63], Operations: ['65-2=63']
Exploring Operation: 64-56=8, Resulting Numbers: [63, 8]
Generated Node #0,0,0: 53:[63, 8] Operation: 64-56=8
Moving to Node #0,0,0
Current State: 53:[63, 8], Operations: ['65-2=63', '64-56=8']
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
16,
13,
56,
76
] | 49 | [
"16+13=29",
"76-56=20",
"29+20=49"
] | Current State: 49:[16, 13, 56, 76], Operations: []
Exploring Operation: 16+13=29, Resulting Numbers: [56, 76, 29]
Generated Node #2: [56, 76, 29] from Operation: 16+13=29
Current State: 49:[56, 76, 29], Operations: ['16+13=29']
Exploring Operation: 76-56=20, Resulting Numbers: [29, 20]
Generated Node #3: [29, 20] from Operation: 76-56=20
Current State: 49:[29, 20], Operations: ['16+13=29', '76-56=20']
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[16, 13, 56, 76], Operations: []
Exploring Operation: 76-56=20, Resulting Numbers: [16, 13, 20]
Generated Node #0,0: 49:[16, 13, 20] Operation: 76-56=20
Exploring Operation: 76-16=60, Resulting Numbers: [13, 56, 60]
Generated Node #0,1: 49:[13, 56, 60] Operation: 76-16=60
Moving to Node #0,1
Current State: 49:[13, 56, 60], Operations: ['76-16=60']
Exploring Operation: 60-13=47, Resulting Numbers: [56, 47]
Generated Node #0,1,0: 49:[56, 47] Operation: 60-13=47
Exploring Operation: 60-56=4, Resulting Numbers: [13, 4]
Generated Node #0,1,1: 49:[13, 4] Operation: 60-56=4
Moving to Node #0,0
Current State: 49:[16, 13, 20], Operations: ['76-56=20']
Exploring Operation: 20-16=4, Resulting Numbers: [13, 4]
Generated Node #0,0,0: 49:[13, 4] Operation: 20-16=4
Exploring Operation: 20-13=7, Resulting Numbers: [16, 7]
Generated Node #0,0,1: 49:[16, 7] Operation: 20-13=7
Moving to Node #0,1,0
Current State: 49:[56, 47], Operations: ['76-16=60', '60-13=47']
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 56+47=103, Resulting Numbers: [103]
103,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[13, 4], Operations: ['76-56=20', '20-16=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[13, 4], Operations: ['76-16=60', '60-56=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[16, 7], Operations: ['76-56=20', '20-13=7']
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,49 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,49 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
46,
2,
76,
79
] | 86 | [
"46+76=122",
"122-79=43",
"2*43=86"
] | Current State: 86:[46, 2, 76, 79], Operations: []
Exploring Operation: 46+76=122, Resulting Numbers: [2, 79, 122]
Generated Node #2: [2, 79, 122] from Operation: 46+76=122
Current State: 86:[2, 79, 122], Operations: ['46+76=122']
Exploring Operation: 122-79=43, Resulting Numbers: [2, 43]
Generated Node #3: [2, 43] from Operation: 122-79=43
Current State: 86:[2, 43], Operations: ['46+76=122', '122-79=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[46, 2, 76, 79], Operations: []
Exploring Operation: 46-2=44, Resulting Numbers: [76, 79, 44]
Generated Node #0,0: 86:[76, 79, 44] Operation: 46-2=44
Exploring Operation: 79-76=3, Resulting Numbers: [46, 2, 3]
Generated Node #0,1: 86:[46, 2, 3] Operation: 79-76=3
Exploring Operation: 76/2=38, Resulting Numbers: [46, 79, 38]
Generated Node #0,2: 86:[46, 79, 38] Operation: 76/2=38
Moving to Node #0,1
Current State: 86:[46, 2, 3], Operations: ['79-76=3']
Exploring Operation: 46-3=43, Resulting Numbers: [2, 43]
Generated Node #0,1,0: 86:[2, 43] Operation: 46-3=43
Exploring Operation: 3-2=1, Resulting Numbers: [46, 1]
Generated Node #0,1,1: 86:[46, 1] Operation: 3-2=1
Exploring Operation: 46-2=44, Resulting Numbers: [3, 44]
Generated Node #0,1,2: 86:[3, 44] Operation: 46-2=44
Moving to Node #0,2
Current State: 86:[46, 79, 38], Operations: ['76/2=38']
Exploring Operation: 79-38=41, Resulting Numbers: [46, 41]
Generated Node #0,2,0: 86:[46, 41] Operation: 79-38=41
Exploring Operation: 46+38=84, Resulting Numbers: [79, 84]
Generated Node #0,2,1: 86:[79, 84] Operation: 46+38=84
Exploring Operation: 46-38=8, Resulting Numbers: [79, 8]
Generated Node #0,2,2: 86:[79, 8] Operation: 46-38=8
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[46, 41], Operations: ['76/2=38', '79-38=41']
Exploring Operation: 46+41=87, Resulting Numbers: [87]
87,86 unequal: No Solution
Exploring Operation: 46*41=1886, Resulting Numbers: [1886]
1886,86 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,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:[79, 84], Operations: ['76/2=38', '46+38=84']
Exploring Operation: 79+84=163, Resulting Numbers: [163]
163,86 unequal: No Solution
Exploring Operation: 84-79=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 79*84=6636, Resulting Numbers: [6636]
6636,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:[79, 8], Operations: ['76/2=38', '46-38=8']
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,86 unequal: No Solution
Exploring Operation: 79*8=632, Resulting Numbers: [632]
632,86 unequal: No Solution
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 86:[76, 79, 44], Operations: ['46-2=44']
Exploring Operation: 76-44=32, Resulting Numbers: [79, 32]
Generated Node #0,0,0: 86:[79, 32] Operation: 76-44=32
Exploring Operation: 79-76=3, Resulting Numbers: [44, 3]
Generated Node #0,0,1: 86:[44, 3] Operation: 79-76=3
Exploring Operation: 79-44=35, Resulting Numbers: [76, 35]
Generated Node #0,0,2: 86:[76, 35] Operation: 79-44=35
Moving to Node #0,1,0
Current State: 86:[2, 43], Operations: ['79-76=3', '46-3=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,86 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[46, 2, 76, 79], Operations: []
Exploring Operation: 79-76=3, Resulting Numbers: [46, 2, 3]
Generated Node #0,1: 86:[46, 2, 3] Operation: 79-76=3
Moving to Node #0,1
Current State: 86:[46, 2, 3], Operations: ['79-76=3']
Exploring Operation: 46-3=43, Resulting Numbers: [2, 43]
Generated Node #0,1,0: 86:[2, 43] Operation: 46-3=43
Moving to Node #0,1,0
Current State: 86:[2, 43], Operations: ['79-76=3', '46-3=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.975694 | hs_3 | mult_heuristic |
[
15,
45,
71,
3
] | 91 | [
"15+45=60",
"60/3=20",
"71+20=91"
] | Current State: 91:[15, 45, 71, 3], Operations: []
Exploring Operation: 15+45=60, Resulting Numbers: [71, 3, 60]
Generated Node #2: [71, 3, 60] from Operation: 15+45=60
Current State: 91:[71, 3, 60], Operations: ['15+45=60']
Exploring Operation: 60/3=20, Resulting Numbers: [71, 20]
Generated Node #3: [71, 20] from Operation: 60/3=20
Current State: 91:[71, 20], Operations: ['15+45=60', '60/3=20']
Exploring Operation: 71+20=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[15, 45, 71, 3], Operations: []
Exploring Operation: 45/3=15, Resulting Numbers: [15, 71, 15]
Generated Node #0,0: 91:[15, 71, 15] Operation: 45/3=15
Exploring Operation: 45/15=3, Resulting Numbers: [71, 3, 3]
Generated Node #0,1: 91:[71, 3, 3] Operation: 45/15=3
Exploring Operation: 71-45=26, Resulting Numbers: [15, 3, 26]
Generated Node #0,2: 91:[15, 3, 26] Operation: 71-45=26
Moving to Node #0,2
Current State: 91:[15, 3, 26], Operations: ['71-45=26']
Exploring Operation: 15-3=12, Resulting Numbers: [26, 12]
Generated Node #0,2,0: 91:[26, 12] Operation: 15-3=12
Exploring Operation: 26-3=23, Resulting Numbers: [15, 23]
Generated Node #0,2,1: 91:[15, 23] Operation: 26-3=23
Exploring Operation: 26-15=11, Resulting Numbers: [3, 11]
Generated Node #0,2,2: 91:[3, 11] Operation: 26-15=11
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[3, 11], Operations: ['71-45=26', '26-15=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,91 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[15, 23], Operations: ['71-45=26', '26-3=23']
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 15*23=345, Resulting Numbers: [345]
345,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[26, 12], Operations: ['71-45=26', '15-3=12']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,91 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: 91:[15, 71, 15], Operations: ['45/3=15']
Exploring Operation: 15/15=1, Resulting Numbers: [71, 1]
Generated Node #0,0,0: 91:[71, 1] Operation: 15/15=1
Exploring Operation: 71+15=86, Resulting Numbers: [15, 86]
Generated Node #0,0,1: 91:[15, 86] Operation: 71+15=86
Exploring Operation: 15+71=86, Resulting Numbers: [15, 86]
Generated Node #0,0,2: 91:[15, 86] Operation: 15+71=86
Moving to Node #0,1
Current State: 91:[71, 3, 3], Operations: ['45/15=3']
Exploring Operation: 71+3=74, Resulting Numbers: [3, 74]
Generated Node #0,1,0: 91:[3, 74] Operation: 71+3=74
Exploring Operation: 71+3=74, Resulting Numbers: [3, 74]
Generated Node #0,1,1: 91:[3, 74] Operation: 71+3=74
Exploring Operation: 3+3=6, Resulting Numbers: [71, 6]
Generated Node #0,1,2: 91:[71, 6] Operation: 3+3=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[3, 74], Operations: ['45/15=3', '71+3=74']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 3*74=222, Resulting Numbers: [222]
222,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[3, 74], Operations: ['45/15=3', '71+3=74']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 3*74=222, Resulting Numbers: [222]
222,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[71, 6], Operations: ['45/15=3', '3+3=6']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,91 unequal: No Solution
Exploring Operation: 71+6=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 71*6=426, Resulting Numbers: [426]
426,91 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: 91:[15, 86], Operations: ['45/3=15', '71+15=86']
Exploring Operation: 15*86=1290, Resulting Numbers: [1290]
1290,91 unequal: No Solution
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Exploring Operation: 15+86=101, Resulting Numbers: [101]
101,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[15, 86], Operations: ['45/3=15', '15+71=86']
Exploring Operation: 15*86=1290, Resulting Numbers: [1290]
1290,91 unequal: No Solution
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Exploring Operation: 15+86=101, Resulting Numbers: [101]
101,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[71, 1], Operations: ['45/3=15', '15/15=1']
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,91 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
63,
39,
59,
84
] | 18 | [
"63-59=4",
"84/4=21",
"39-21=18"
] | Current State: 18:[63, 39, 59, 84], Operations: []
Exploring Operation: 63-59=4, Resulting Numbers: [39, 84, 4]
Generated Node #2: [39, 84, 4] from Operation: 63-59=4
Current State: 18:[39, 84, 4], Operations: ['63-59=4']
Exploring Operation: 84/4=21, Resulting Numbers: [39, 21]
Generated Node #3: [39, 21] from Operation: 84/4=21
Current State: 18:[39, 21], Operations: ['63-59=4', '84/4=21']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[63, 39, 59, 84], Operations: []
Exploring Operation: 84-63=21, Resulting Numbers: [39, 59, 21]
Generated Node #0,0: 18:[39, 59, 21] Operation: 84-63=21
Moving to Node #0,0
Current State: 18:[39, 59, 21], Operations: ['84-63=21']
Exploring Operation: 59-39=20, Resulting Numbers: [21, 20]
Generated Node #0,0,0: 18:[21, 20] Operation: 59-39=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[21, 20], Operations: ['84-63=21', '59-39=20']
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.