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 |
|---|---|---|---|---|---|---|---|---|
[
98,
48,
20,
73
] | 18 | [
"98+48=146",
"146/73=2",
"20-2=18"
] | Current State: 18:[98, 48, 20, 73], Operations: []
Exploring Operation: 98+48=146, Resulting Numbers: [20, 73, 146]
Generated Node #2: [20, 73, 146] from Operation: 98+48=146
Current State: 18:[20, 73, 146], Operations: ['98+48=146']
Exploring Operation: 146/73=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 146/73=2
Current State: 18:[20, 2], Operations: ['98+48=146', '146/73=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[98, 48, 20, 73], Operations: []
Exploring Operation: 98-48=50, Resulting Numbers: [20, 73, 50]
Generated Node #0,0: 18:[20, 73, 50] Operation: 98-48=50
Exploring Operation: 98-73=25, Resulting Numbers: [48, 20, 25]
Generated Node #0,1: 18:[48, 20, 25] Operation: 98-73=25
Moving to Node #0,1
Current State: 18:[48, 20, 25], Operations: ['98-73=25']
Exploring Operation: 48-20=28, Resulting Numbers: [25, 28]
Generated Node #0,1,0: 18:[25, 28] Operation: 48-20=28
Exploring Operation: 48-25=23, Resulting Numbers: [20, 23]
Generated Node #0,1,1: 18:[20, 23] Operation: 48-25=23
Moving to Node #0,0
Current State: 18:[20, 73, 50], Operations: ['98-48=50']
Exploring Operation: 73-20=53, Resulting Numbers: [50, 53]
Generated Node #0,0,0: 18:[50, 53] Operation: 73-20=53
Exploring Operation: 73-50=23, Resulting Numbers: [20, 23]
Generated Node #0,0,1: 18:[20, 23] Operation: 73-50=23
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[20, 23], Operations: ['98-48=50', '73-50=23']
Exploring Operation: 20+23=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[50, 53], Operations: ['98-48=50', '73-20=53']
Exploring Operation: 50+53=103, Resulting Numbers: [103]
103,18 unequal: No Solution
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,18 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: 18:[20, 23], Operations: ['98-73=25', '48-25=23']
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 20+23=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[25, 28], Operations: ['98-73=25', '48-20=28']
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,18 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
73,
19,
52,
82
] | 24 | [
"73-19=54",
"82-52=30",
"54-30=24"
] | Current State: 24:[73, 19, 52, 82], Operations: []
Exploring Operation: 73-19=54, Resulting Numbers: [52, 82, 54]
Generated Node #2: [52, 82, 54] from Operation: 73-19=54
Current State: 24:[52, 82, 54], Operations: ['73-19=54']
Exploring Operation: 82-52=30, Resulting Numbers: [54, 30]
Generated Node #3: [54, 30] from Operation: 82-52=30
Current State: 24:[54, 30], Operations: ['73-19=54', '82-52=30']
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[73, 19, 52, 82], Operations: []
Exploring Operation: 73-52=21, Resulting Numbers: [19, 82, 21]
Generated Node #0,0: 24:[19, 82, 21] Operation: 73-52=21
Exploring Operation: 82-73=9, Resulting Numbers: [19, 52, 9]
Generated Node #0,1: 24:[19, 52, 9] Operation: 82-73=9
Exploring Operation: 82-52=30, Resulting Numbers: [73, 19, 30]
Generated Node #0,2: 24:[73, 19, 30] Operation: 82-52=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[19, 52, 9], Operations: ['82-73=9']
Exploring Operation: 52-9=43, Resulting Numbers: [19, 43]
Generated Node #0,1,0: 24:[19, 43] Operation: 52-9=43
Exploring Operation: 19-9=10, Resulting Numbers: [52, 10]
Generated Node #0,1,1: 24:[52, 10] Operation: 19-9=10
Exploring Operation: 52-19=33, Resulting Numbers: [9, 33]
Generated Node #0,1,2: 24:[9, 33] Operation: 52-19=33
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 24:[9, 33], Operations: ['82-73=9', '52-19=33']
Exploring Operation: 9+33=42, Resulting Numbers: [42]
42,24 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[73, 19, 52, 82], Operations: []
Exploring Operation: 82-73=9, Resulting Numbers: [19, 52, 9]
Generated Node #0,1: 24:[19, 52, 9] Operation: 82-73=9
Moving to Node #0,1
Current State: 24:[19, 52, 9], Operations: ['82-73=9']
Exploring Operation: 52-19=33, Resulting Numbers: [9, 33]
Generated Node #0,1,2: 24:[9, 33] Operation: 52-19=33
Moving to Node #0,1,2
Current State: 24:[9, 33], Operations: ['82-73=9', '52-19=33']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
6,
94,
53,
64
] | 66 | [
"53-6=47",
"94/47=2",
"64+2=66"
] | Current State: 66:[6, 94, 53, 64], Operations: []
Exploring Operation: 53-6=47, Resulting Numbers: [94, 64, 47]
Generated Node #2: [94, 64, 47] from Operation: 53-6=47
Current State: 66:[94, 64, 47], Operations: ['53-6=47']
Exploring Operation: 94/47=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 94/47=2
Current State: 66:[64, 2], Operations: ['53-6=47', '94/47=2']
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[6, 94, 53, 64], Operations: []
Exploring Operation: 64-53=11, Resulting Numbers: [6, 94, 11]
Generated Node #0,0: 66:[6, 94, 11] Operation: 64-53=11
Exploring Operation: 94-64=30, Resulting Numbers: [6, 53, 30]
Generated Node #0,1: 66:[6, 53, 30] Operation: 94-64=30
Exploring Operation: 94-53=41, Resulting Numbers: [6, 64, 41]
Generated Node #0,2: 66:[6, 64, 41] Operation: 94-53=41
Exploring Operation: 94-6=88, Resulting Numbers: [53, 64, 88]
Generated Node #0,3: 66:[53, 64, 88] Operation: 94-6=88
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[6, 64, 41], Operations: ['94-53=41']
Exploring Operation: 41-6=35, Resulting Numbers: [64, 35]
Generated Node #0,2,0: 66:[64, 35] Operation: 41-6=35
Exploring Operation: 64-41=23, Resulting Numbers: [6, 23]
Generated Node #0,2,1: 66:[6, 23] Operation: 64-41=23
Exploring Operation: 6+64=70, Resulting Numbers: [41, 70]
Generated Node #0,2,2: 66:[41, 70] Operation: 6+64=70
Exploring Operation: 64-6=58, Resulting Numbers: [41, 58]
Generated Node #0,2,3: 66:[41, 58] Operation: 64-6=58
Moving to Node #0,2,1
Current State: 66:[6, 23], Operations: ['94-53=41', '64-41=23']
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,66 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[64, 35], Operations: ['94-53=41', '41-6=35']
Exploring Operation: 64+35=99, Resulting Numbers: [99]
99,66 unequal: No Solution
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 64*35=2240, Resulting Numbers: [2240]
2240,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[41, 70], Operations: ['94-53=41', '6+64=70']
Exploring Operation: 41+70=111, Resulting Numbers: [111]
111,66 unequal: No Solution
Exploring Operation: 41*70=2870, Resulting Numbers: [2870]
2870,66 unequal: No Solution
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[41, 58], Operations: ['94-53=41', '64-6=58']
Exploring Operation: 41+58=99, Resulting Numbers: [99]
99,66 unequal: No Solution
Exploring Operation: 41*58=2378, Resulting Numbers: [2378]
2378,66 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,66 unequal: No Solution
No 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: 66:[6, 53, 30], Operations: ['94-64=30']
Exploring Operation: 53-30=23, Resulting Numbers: [6, 23]
Generated Node #0,1,0: 66:[6, 23] Operation: 53-30=23
Exploring Operation: 30-6=24, Resulting Numbers: [53, 24]
Generated Node #0,1,1: 66:[53, 24] Operation: 30-6=24
Exploring Operation: 30/6=5, Resulting Numbers: [53, 5]
Generated Node #0,1,2: 66:[53, 5] Operation: 30/6=5
Exploring Operation: 6+53=59, Resulting Numbers: [30, 59]
Generated Node #0,1,3: 66:[30, 59] Operation: 6+53=59
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[6, 23], Operations: ['94-64=30', '53-30=23']
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,66 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 66:[30, 59], Operations: ['94-64=30', '6+53=59']
Exploring Operation: 30+59=89, Resulting Numbers: [89]
89,66 unequal: No Solution
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 30*59=1770, Resulting Numbers: [1770]
1770,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 66:[53, 5], Operations: ['94-64=30', '30/6=5']
Exploring Operation: 53*5=265, Resulting Numbers: [265]
265,66 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[53, 24], Operations: ['94-64=30', '30-6=24']
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,66 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,66 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: 66:[6, 94, 11], Operations: ['64-53=11']
Exploring Operation: 6*11=66, Resulting Numbers: [94, 66]
Generated Node #0,0,0: 66:[94, 66] Operation: 6*11=66
Exploring Operation: 94-6=88, Resulting Numbers: [11, 88]
Generated Node #0,0,1: 66:[11, 88] Operation: 94-6=88
Exploring Operation: 11-6=5, Resulting Numbers: [94, 5]
Generated Node #0,0,2: 66:[94, 5] Operation: 11-6=5
Exploring Operation: 94-11=83, Resulting Numbers: [6, 83]
Generated Node #0,0,3: 66:[6, 83] Operation: 94-11=83
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 66:[6, 83], Operations: ['64-53=11', '94-11=83']
Exploring Operation: 6+83=89, Resulting Numbers: [89]
89,66 unequal: No Solution
Exploring Operation: 6*83=498, Resulting Numbers: [498]
498,66 unequal: No Solution
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[11, 88], Operations: ['64-53=11', '94-6=88']
Exploring Operation: 88/11=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 11+88=99, Resulting Numbers: [99]
99,66 unequal: No Solution
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,66 unequal: No Solution
Exploring Operation: 11*88=968, Resulting Numbers: [968]
968,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[94, 66], Operations: ['64-53=11', '6*11=66']
Exploring Operation: 94*66=6204, Resulting Numbers: [6204]
6204,66 unequal: No Solution
Exploring Operation: 94-66=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 94+66=160, Resulting Numbers: [160]
160,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 66:[94, 5], Operations: ['64-53=11', '11-6=5']
Exploring Operation: 94*5=470, Resulting Numbers: [470]
470,66 unequal: No Solution
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,66 unequal: No Solution
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,66 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: 66:[53, 64, 88], Operations: ['94-6=88']
Exploring Operation: 53+64=117, Resulting Numbers: [88, 117]
Generated Node #0,3,0: 66:[88, 117] Operation: 53+64=117
Exploring Operation: 88-64=24, Resulting Numbers: [53, 24]
Generated Node #0,3,1: 66:[53, 24] Operation: 88-64=24
Exploring Operation: 88-53=35, Resulting Numbers: [64, 35]
Generated Node #0,3,2: 66:[64, 35] Operation: 88-53=35
Exploring Operation: 64-53=11, Resulting Numbers: [88, 11]
Generated Node #0,3,3: 66:[88, 11] Operation: 64-53=11
Moving to Node #0,3,2
Current State: 66:[64, 35], Operations: ['94-6=88', '88-53=35']
Exploring Operation: 64*35=2240, Resulting Numbers: [2240]
2240,66 unequal: No Solution
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 64+35=99, Resulting Numbers: [99]
99,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[53, 24], Operations: ['94-6=88', '88-64=24']
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,66 unequal: No Solution
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,66 unequal: No Solution
Moving to Node #0,3,3
Current State: 66:[88, 11], Operations: ['94-6=88', '64-53=11']
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,66 unequal: No Solution
Exploring Operation: 88*11=968, Resulting Numbers: [968]
968,66 unequal: No Solution
Exploring Operation: 88+11=99, Resulting Numbers: [99]
99,66 unequal: No Solution
Exploring Operation: 88/11=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[88, 117], Operations: ['94-6=88', '53+64=117']
Exploring Operation: 88+117=205, Resulting Numbers: [205]
205,66 unequal: No Solution
Exploring Operation: 88*117=10296, Resulting Numbers: [10296]
10296,66 unequal: No Solution
Exploring Operation: 117-88=29, Resulting Numbers: [29]
29,66 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 |
[
31,
68,
29,
45
] | 21 | [
"68-31=37",
"45-29=16",
"37-16=21"
] | Current State: 21:[31, 68, 29, 45], Operations: []
Exploring Operation: 68-31=37, Resulting Numbers: [29, 45, 37]
Generated Node #2: [29, 45, 37] from Operation: 68-31=37
Current State: 21:[29, 45, 37], Operations: ['68-31=37']
Exploring Operation: 45-29=16, Resulting Numbers: [37, 16]
Generated Node #3: [37, 16] from Operation: 45-29=16
Current State: 21:[37, 16], Operations: ['68-31=37', '45-29=16']
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[31, 68, 29, 45], Operations: []
Exploring Operation: 45-29=16, Resulting Numbers: [31, 68, 16]
Generated Node #0,0: 21:[31, 68, 16] Operation: 45-29=16
Exploring Operation: 68-31=37, Resulting Numbers: [29, 45, 37]
Generated Node #0,1: 21:[29, 45, 37] Operation: 68-31=37
Exploring Operation: 45-31=14, Resulting Numbers: [68, 29, 14]
Generated Node #0,2: 21:[68, 29, 14] Operation: 45-31=14
Exploring Operation: 68-45=23, Resulting Numbers: [31, 29, 23]
Generated Node #0,3: 21:[31, 29, 23] Operation: 68-45=23
Exploring Operation: 68-29=39, Resulting Numbers: [31, 45, 39]
Generated Node #0,4: 21:[31, 45, 39] Operation: 68-29=39
Moving to Node #0,3
Current State: 21:[31, 29, 23], Operations: ['68-45=23']
Exploring Operation: 29-23=6, Resulting Numbers: [31, 6]
Generated Node #0,3,0: 21:[31, 6] Operation: 29-23=6
Exploring Operation: 31+23=54, Resulting Numbers: [29, 54]
Generated Node #0,3,1: 21:[29, 54] Operation: 31+23=54
Exploring Operation: 31-29=2, Resulting Numbers: [23, 2]
Generated Node #0,3,2: 21:[23, 2] Operation: 31-29=2
Exploring Operation: 31-23=8, Resulting Numbers: [29, 8]
Generated Node #0,3,3: 21:[29, 8] Operation: 31-23=8
Exploring Operation: 31+29=60, Resulting Numbers: [23, 60]
Generated Node #0,3,4: 21:[23, 60] Operation: 31+29=60
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 21:[23, 2], Operations: ['68-45=23', '31-29=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[31, 68, 29, 45], Operations: []
Exploring Operation: 68-45=23, Resulting Numbers: [31, 29, 23]
Generated Node #0,3: 21:[31, 29, 23] Operation: 68-45=23
Moving to Node #0,3
Current State: 21:[31, 29, 23], Operations: ['68-45=23']
Exploring Operation: 31-29=2, Resulting Numbers: [23, 2]
Generated Node #0,3,2: 21:[23, 2] Operation: 31-29=2
Moving to Node #0,3,2
Current State: 21:[23, 2], Operations: ['68-45=23', '31-29=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
75,
69,
55,
37
] | 100 | [
"55+37=92",
"75*92=6900",
"6900/69=100"
] | Current State: 100:[75, 69, 55, 37], Operations: []
Exploring Operation: 55+37=92, Resulting Numbers: [75, 69, 92]
Generated Node #2: [75, 69, 92] from Operation: 55+37=92
Current State: 100:[75, 69, 92], Operations: ['55+37=92']
Exploring Operation: 75*92=6900, Resulting Numbers: [69, 6900]
Generated Node #3: [69, 6900] from Operation: 75*92=6900
Current State: 100:[69, 6900], Operations: ['55+37=92', '75*92=6900']
Exploring Operation: 6900/69=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[75, 69, 55, 37], Operations: []
Exploring Operation: 75-55=20, Resulting Numbers: [69, 37, 20]
Generated Node #0,0: 100:[69, 37, 20] Operation: 75-55=20
Exploring Operation: 75-69=6, Resulting Numbers: [55, 37, 6]
Generated Node #0,1: 100:[55, 37, 6] Operation: 75-69=6
Exploring Operation: 75+37=112, Resulting Numbers: [69, 55, 112]
Generated Node #0,2: 100:[69, 55, 112] Operation: 75+37=112
Moving to Node #0,1
Current State: 100:[55, 37, 6], Operations: ['75-69=6']
Exploring Operation: 37-6=31, Resulting Numbers: [55, 31]
Generated Node #0,1,0: 100:[55, 31] Operation: 37-6=31
Exploring Operation: 55+37=92, Resulting Numbers: [6, 92]
Generated Node #0,1,1: 100:[6, 92] Operation: 55+37=92
Exploring Operation: 55-37=18, Resulting Numbers: [6, 18]
Generated Node #0,1,2: 100:[6, 18] Operation: 55-37=18
Moving to Node #0,0
Current State: 100:[69, 37, 20], Operations: ['75-55=20']
Exploring Operation: 69+37=106, Resulting Numbers: [20, 106]
Generated Node #0,0,0: 100:[20, 106] Operation: 69+37=106
Exploring Operation: 69-37=32, Resulting Numbers: [20, 32]
Generated Node #0,0,1: 100:[20, 32] Operation: 69-37=32
Exploring Operation: 69-20=49, Resulting Numbers: [37, 49]
Generated Node #0,0,2: 100:[37, 49] Operation: 69-20=49
Moving to Node #0,2
Current State: 100:[69, 55, 112], Operations: ['75+37=112']
Exploring Operation: 112-55=57, Resulting Numbers: [69, 57]
Generated Node #0,2,0: 100:[69, 57] Operation: 112-55=57
Exploring Operation: 69-55=14, Resulting Numbers: [112, 14]
Generated Node #0,2,1: 100:[112, 14] Operation: 69-55=14
Exploring Operation: 112-69=43, Resulting Numbers: [55, 43]
Generated Node #0,2,2: 100:[55, 43] Operation: 112-69=43
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 100:[55, 43], Operations: ['75+37=112', '112-69=43']
Exploring Operation: 55+43=98, Resulting Numbers: [98]
98,100 unequal: No Solution
Exploring Operation: 55*43=2365, Resulting Numbers: [2365]
2365,100 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,100 unequal: No Solution
No 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: 100:[112, 14], Operations: ['75+37=112', '69-55=14']
Exploring Operation: 112-14=98, Resulting Numbers: [98]
98,100 unequal: No Solution
Exploring Operation: 112/14=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 112+14=126, Resulting Numbers: [126]
126,100 unequal: No Solution
No 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: 100:[69, 57], Operations: ['75+37=112', '112-55=57']
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 69*57=3933, Resulting Numbers: [3933]
3933,100 unequal: No Solution
Exploring Operation: 69+57=126, Resulting Numbers: [126]
126,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 100:[6, 18], Operations: ['75-69=6', '55-37=18']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[20, 106], Operations: ['75-55=20', '69+37=106']
Exploring Operation: 20*106=2120, Resulting Numbers: [2120]
2120,100 unequal: No Solution
Exploring Operation: 20+106=126, Resulting Numbers: [126]
126,100 unequal: No Solution
Exploring Operation: 106-20=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[20, 32], Operations: ['75-55=20', '69-37=32']
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[6, 92], Operations: ['75-69=6', '55+37=92']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 6+92=98, Resulting Numbers: [98]
98,100 unequal: No Solution
Exploring Operation: 6*92=552, Resulting Numbers: [552]
552,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[55, 31], Operations: ['75-69=6', '37-6=31']
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 55+31=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 55*31=1705, Resulting Numbers: [1705]
1705,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[37, 49], Operations: ['75-55=20', '69-20=49']
Exploring Operation: 37+49=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 37*49=1813, Resulting Numbers: [1813]
1813,100 unequal: No Solution
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,100 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
68,
71,
50,
15
] | 62 | [
"71-68=3",
"50+15=65",
"65-3=62"
] | Current State: 62:[68, 71, 50, 15], Operations: []
Exploring Operation: 71-68=3, Resulting Numbers: [50, 15, 3]
Generated Node #2: [50, 15, 3] from Operation: 71-68=3
Current State: 62:[50, 15, 3], Operations: ['71-68=3']
Exploring Operation: 50+15=65, Resulting Numbers: [3, 65]
Generated Node #3: [3, 65] from Operation: 50+15=65
Current State: 62:[3, 65], Operations: ['71-68=3', '50+15=65']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[68, 71, 50, 15], Operations: []
Exploring Operation: 50-15=35, Resulting Numbers: [68, 71, 35]
Generated Node #0,0: 62:[68, 71, 35] Operation: 50-15=35
Exploring Operation: 71-50=21, Resulting Numbers: [68, 15, 21]
Generated Node #0,1: 62:[68, 15, 21] Operation: 71-50=21
Exploring Operation: 50+15=65, Resulting Numbers: [68, 71, 65]
Generated Node #0,2: 62:[68, 71, 65] Operation: 50+15=65
Exploring Operation: 71-68=3, Resulting Numbers: [50, 15, 3]
Generated Node #0,3: 62:[50, 15, 3] Operation: 71-68=3
Exploring Operation: 71-15=56, Resulting Numbers: [68, 50, 56]
Generated Node #0,4: 62:[68, 50, 56] Operation: 71-15=56
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[68, 71, 65], Operations: ['50+15=65']
Exploring Operation: 68-65=3, Resulting Numbers: [71, 3]
Generated Node #0,2,0: 62:[71, 3] Operation: 68-65=3
Exploring Operation: 68+71=139, Resulting Numbers: [65, 139]
Generated Node #0,2,1: 62:[65, 139] Operation: 68+71=139
Exploring Operation: 68+65=133, Resulting Numbers: [71, 133]
Generated Node #0,2,2: 62:[71, 133] Operation: 68+65=133
Exploring Operation: 71-65=6, Resulting Numbers: [68, 6]
Generated Node #0,2,3: 62:[68, 6] Operation: 71-65=6
Exploring Operation: 71-68=3, Resulting Numbers: [65, 3]
Generated Node #0,2,4: 62:[65, 3] Operation: 71-68=3
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 62:[65, 3], Operations: ['50+15=65', '71-68=3']
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,62 unequal: No Solution
Exploring Operation: 65*3=195, Resulting Numbers: [195]
195,62 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[68, 71, 50, 15], Operations: []
Exploring Operation: 50+15=65, Resulting Numbers: [68, 71, 65]
Generated Node #0,2: 62:[68, 71, 65] Operation: 50+15=65
Moving to Node #0,2
Current State: 62:[68, 71, 65], Operations: ['50+15=65']
Exploring Operation: 71-68=3, Resulting Numbers: [65, 3]
Generated Node #0,2,4: 62:[65, 3] Operation: 71-68=3
Moving to Node #0,2,4
Current State: 62:[65, 3], Operations: ['50+15=65', '71-68=3']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
11,
15,
3,
32
] | 48 | [
"11+32=43",
"15/3=5",
"43+5=48"
] | Current State: 48:[11, 15, 3, 32], Operations: []
Exploring Operation: 11+32=43, Resulting Numbers: [15, 3, 43]
Generated Node #2: [15, 3, 43] from Operation: 11+32=43
Current State: 48:[15, 3, 43], Operations: ['11+32=43']
Exploring Operation: 15/3=5, Resulting Numbers: [43, 5]
Generated Node #3: [43, 5] from Operation: 15/3=5
Current State: 48:[43, 5], Operations: ['11+32=43', '15/3=5']
Exploring Operation: 43+5=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[11, 15, 3, 32], Operations: []
Exploring Operation: 15+32=47, Resulting Numbers: [11, 3, 47]
Generated Node #0,0: 48:[11, 3, 47] Operation: 15+32=47
Exploring Operation: 32-15=17, Resulting Numbers: [11, 3, 17]
Generated Node #0,1: 48:[11, 3, 17] Operation: 32-15=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[11, 3, 47], Operations: ['15+32=47']
Exploring Operation: 11-3=8, Resulting Numbers: [47, 8]
Generated Node #0,0,0: 48:[47, 8] Operation: 11-3=8
Exploring Operation: 11+3=14, Resulting Numbers: [47, 14]
Generated Node #0,0,1: 48:[47, 14] Operation: 11+3=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[47, 8], Operations: ['15+32=47', '11-3=8']
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,48 unequal: No Solution
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 48:[47, 14], Operations: ['15+32=47', '11+3=14']
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 47+14=61, Resulting Numbers: [61]
61,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[11, 3, 17], Operations: ['32-15=17']
Exploring Operation: 17-11=6, Resulting Numbers: [3, 6]
Generated Node #0,1,0: 48:[3, 6] Operation: 17-11=6
Exploring Operation: 11-3=8, Resulting Numbers: [17, 8]
Generated Node #0,1,1: 48:[17, 8] Operation: 11-3=8
Moving to Node #0,1,0
Current State: 48:[3, 6], Operations: ['32-15=17', '17-11=6']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[17, 8], Operations: ['32-15=17', '11-3=8']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 17+8=25, Resulting Numbers: [25]
25,48 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 |
[
17,
24,
33,
37
] | 79 | [
"37-33=4",
"24*4=96",
"96-17=79"
] | Current State: 79:[17, 24, 33, 37], Operations: []
Exploring Operation: 37-33=4, Resulting Numbers: [17, 24, 4]
Generated Node #2: [17, 24, 4] from Operation: 37-33=4
Current State: 79:[17, 24, 4], Operations: ['37-33=4']
Exploring Operation: 24*4=96, Resulting Numbers: [17, 96]
Generated Node #3: [17, 96] from Operation: 24*4=96
Current State: 79:[17, 96], Operations: ['37-33=4', '24*4=96']
Exploring Operation: 96-17=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[17, 24, 33, 37], Operations: []
Exploring Operation: 24+33=57, Resulting Numbers: [17, 37, 57]
Generated Node #0,0: 79:[17, 37, 57] Operation: 24+33=57
Exploring Operation: 17+37=54, Resulting Numbers: [24, 33, 54]
Generated Node #0,1: 79:[24, 33, 54] Operation: 17+37=54
Exploring Operation: 17+33=50, Resulting Numbers: [24, 37, 50]
Generated Node #0,2: 79:[24, 37, 50] Operation: 17+33=50
Exploring Operation: 17+24=41, Resulting Numbers: [33, 37, 41]
Generated Node #0,3: 79:[33, 37, 41] Operation: 17+24=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[17, 37, 57], Operations: ['24+33=57']
Exploring Operation: 37+57=94, Resulting Numbers: [17, 94]
Generated Node #0,0,0: 79:[17, 94] Operation: 37+57=94
Exploring Operation: 17+57=74, Resulting Numbers: [37, 74]
Generated Node #0,0,1: 79:[37, 74] Operation: 17+57=74
Exploring Operation: 17+37=54, Resulting Numbers: [57, 54]
Generated Node #0,0,2: 79:[57, 54] Operation: 17+37=54
Exploring Operation: 37-17=20, Resulting Numbers: [57, 20]
Generated Node #0,0,3: 79:[57, 20] Operation: 37-17=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[37, 74], Operations: ['24+33=57', '17+57=74']
Exploring Operation: 37*74=2738, Resulting Numbers: [2738]
2738,79 unequal: No Solution
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 37+74=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[57, 54], Operations: ['24+33=57', '17+37=54']
Exploring Operation: 57*54=3078, Resulting Numbers: [3078]
3078,79 unequal: No Solution
Exploring Operation: 57+54=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[17, 94], Operations: ['24+33=57', '37+57=94']
Exploring Operation: 17*94=1598, Resulting Numbers: [1598]
1598,79 unequal: No Solution
Exploring Operation: 17+94=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Exploring Operation: 94-17=77, Resulting Numbers: [77]
77,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 79:[57, 20], Operations: ['24+33=57', '37-17=20']
Exploring Operation: 57+20=77, Resulting Numbers: [77]
77,79 unequal: No Solution
Exploring Operation: 57*20=1140, Resulting Numbers: [1140]
1140,79 unequal: No Solution
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[24, 33, 54], Operations: ['17+37=54']
Exploring Operation: 33-24=9, Resulting Numbers: [54, 9]
Generated Node #0,1,0: 79:[54, 9] Operation: 33-24=9
Exploring Operation: 24+33=57, Resulting Numbers: [54, 57]
Generated Node #0,1,1: 79:[54, 57] Operation: 24+33=57
Exploring Operation: 24+54=78, Resulting Numbers: [33, 78]
Generated Node #0,1,2: 79:[33, 78] Operation: 24+54=78
Exploring Operation: 33+54=87, Resulting Numbers: [24, 87]
Generated Node #0,1,3: 79:[24, 87] Operation: 33+54=87
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[54, 57], Operations: ['17+37=54', '24+33=57']
Exploring Operation: 54+57=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 54*57=3078, Resulting Numbers: [3078]
3078,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[33, 78], Operations: ['17+37=54', '24+54=78']
Exploring Operation: 33+78=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Exploring Operation: 33*78=2574, Resulting Numbers: [2574]
2574,79 unequal: No Solution
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 79:[24, 87], Operations: ['17+37=54', '33+54=87']
Exploring Operation: 87-24=63, Resulting Numbers: [63]
63,79 unequal: No Solution
Exploring Operation: 24*87=2088, Resulting Numbers: [2088]
2088,79 unequal: No Solution
Exploring Operation: 24+87=111, Resulting Numbers: [111]
111,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[54, 9], Operations: ['17+37=54', '33-24=9']
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,79 unequal: No Solution
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,79 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[24, 37, 50], Operations: ['17+33=50']
Exploring Operation: 24+50=74, Resulting Numbers: [37, 74]
Generated Node #0,2,0: 79:[37, 74] Operation: 24+50=74
Exploring Operation: 37+50=87, Resulting Numbers: [24, 87]
Generated Node #0,2,1: 79:[24, 87] Operation: 37+50=87
Exploring Operation: 37-24=13, Resulting Numbers: [50, 13]
Generated Node #0,2,2: 79:[50, 13] Operation: 37-24=13
Exploring Operation: 24+37=61, Resulting Numbers: [50, 61]
Generated Node #0,2,3: 79:[50, 61] Operation: 24+37=61
Moving to Node #0,2,0
Current State: 79:[37, 74], Operations: ['17+33=50', '24+50=74']
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 37*74=2738, Resulting Numbers: [2738]
2738,79 unequal: No Solution
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 37+74=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[50, 61], Operations: ['17+33=50', '24+37=61']
Exploring Operation: 50*61=3050, Resulting Numbers: [3050]
3050,79 unequal: No Solution
Exploring Operation: 61-50=11, Resulting Numbers: [11]
11,79 unequal: No Solution
Exploring Operation: 50+61=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[24, 87], Operations: ['17+33=50', '37+50=87']
Exploring Operation: 24+87=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Exploring Operation: 87-24=63, Resulting Numbers: [63]
63,79 unequal: No Solution
Exploring Operation: 24*87=2088, Resulting Numbers: [2088]
2088,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[50, 13], Operations: ['17+33=50', '37-24=13']
Exploring Operation: 50*13=650, Resulting Numbers: [650]
650,79 unequal: No Solution
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 50+13=63, Resulting Numbers: [63]
63,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[33, 37, 41], Operations: ['17+24=41']
Exploring Operation: 37-33=4, Resulting Numbers: [41, 4]
Generated Node #0,3,0: 79:[41, 4] Operation: 37-33=4
Exploring Operation: 37+41=78, Resulting Numbers: [33, 78]
Generated Node #0,3,1: 79:[33, 78] Operation: 37+41=78
Exploring Operation: 33+41=74, Resulting Numbers: [37, 74]
Generated Node #0,3,2: 79:[37, 74] Operation: 33+41=74
Exploring Operation: 33+37=70, Resulting Numbers: [41, 70]
Generated Node #0,3,3: 79:[41, 70] Operation: 33+37=70
Moving to Node #0,3,1
Current State: 79:[33, 78], Operations: ['17+24=41', '37+41=78']
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 33+78=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Exploring Operation: 33*78=2574, Resulting Numbers: [2574]
2574,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[41, 70], Operations: ['17+24=41', '33+37=70']
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 41+70=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Exploring Operation: 41*70=2870, Resulting Numbers: [2870]
2870,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[37, 74], Operations: ['17+24=41', '33+41=74']
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 37*74=2738, Resulting Numbers: [2738]
2738,79 unequal: No Solution
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 37+74=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Moving to Node #0,3,0
Current State: 79:[41, 4], Operations: ['17+24=41', '37-33=4']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 41*4=164, Resulting Numbers: [164]
164,79 unequal: No Solution
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,79 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 |
[
25,
85,
70,
21
] | 61 | [
"25+85=110",
"70-21=49",
"110-49=61"
] | Current State: 61:[25, 85, 70, 21], Operations: []
Exploring Operation: 25+85=110, Resulting Numbers: [70, 21, 110]
Generated Node #2: [70, 21, 110] from Operation: 25+85=110
Current State: 61:[70, 21, 110], Operations: ['25+85=110']
Exploring Operation: 70-21=49, Resulting Numbers: [110, 49]
Generated Node #3: [110, 49] from Operation: 70-21=49
Current State: 61:[110, 49], Operations: ['25+85=110', '70-21=49']
Exploring Operation: 110-49=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[25, 85, 70, 21], Operations: []
Exploring Operation: 25+21=46, Resulting Numbers: [85, 70, 46]
Generated Node #0,0: 61:[85, 70, 46] Operation: 25+21=46
Exploring Operation: 85-25=60, Resulting Numbers: [70, 21, 60]
Generated Node #0,1: 61:[70, 21, 60] Operation: 85-25=60
Exploring Operation: 85-21=64, Resulting Numbers: [25, 70, 64]
Generated Node #0,2: 61:[25, 70, 64] Operation: 85-21=64
Exploring Operation: 70-21=49, Resulting Numbers: [25, 85, 49]
Generated Node #0,3: 61:[25, 85, 49] Operation: 70-21=49
Moving to Node #0,0
Current State: 61:[85, 70, 46], Operations: ['25+21=46']
Exploring Operation: 85-70=15, Resulting Numbers: [46, 15]
Generated Node #0,0,0: 61:[46, 15] Operation: 85-70=15
Exploring Operation: 70-46=24, Resulting Numbers: [85, 24]
Generated Node #0,0,1: 61:[85, 24] Operation: 70-46=24
Exploring Operation: 85+46=131, Resulting Numbers: [70, 131]
Generated Node #0,0,2: 61:[70, 131] Operation: 85+46=131
Exploring Operation: 85-46=39, Resulting Numbers: [70, 39]
Generated Node #0,0,3: 61:[70, 39] Operation: 85-46=39
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 61:[70, 39], Operations: ['25+21=46', '85-46=39']
Exploring Operation: 70*39=2730, Resulting Numbers: [2730]
2730,61 unequal: No Solution
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,61 unequal: No Solution
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[46, 15], Operations: ['25+21=46', '85-70=15']
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[25, 85, 70, 21], Operations: []
Exploring Operation: 25+21=46, Resulting Numbers: [85, 70, 46]
Generated Node #0,0: 61:[85, 70, 46] Operation: 25+21=46
Moving to Node #0,0
Current State: 61:[85, 70, 46], Operations: ['25+21=46']
Exploring Operation: 85-70=15, Resulting Numbers: [46, 15]
Generated Node #0,0,0: 61:[46, 15] Operation: 85-70=15
Moving to Node #0,0,0
Current State: 61:[46, 15], Operations: ['25+21=46', '85-70=15']
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
33,
65,
14,
7
] | 64 | [
"65-33=32",
"14/7=2",
"32*2=64"
] | Current State: 64:[33, 65, 14, 7], Operations: []
Exploring Operation: 65-33=32, Resulting Numbers: [14, 7, 32]
Generated Node #2: [14, 7, 32] from Operation: 65-33=32
Current State: 64:[14, 7, 32], Operations: ['65-33=32']
Exploring Operation: 14/7=2, Resulting Numbers: [32, 2]
Generated Node #3: [32, 2] from Operation: 14/7=2
Current State: 64:[32, 2], Operations: ['65-33=32', '14/7=2']
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[33, 65, 14, 7], Operations: []
Exploring Operation: 65-33=32, Resulting Numbers: [14, 7, 32]
Generated Node #0,0: 64:[14, 7, 32] Operation: 65-33=32
Exploring Operation: 14/7=2, Resulting Numbers: [33, 65, 2]
Generated Node #0,1: 64:[33, 65, 2] Operation: 14/7=2
Exploring Operation: 14+7=21, Resulting Numbers: [33, 65, 21]
Generated Node #0,2: 64:[33, 65, 21] Operation: 14+7=21
Exploring Operation: 33-14=19, Resulting Numbers: [65, 7, 19]
Generated Node #0,3: 64:[65, 7, 19] Operation: 33-14=19
Exploring Operation: 14-7=7, Resulting Numbers: [33, 65, 7]
Generated Node #0,4: 64:[33, 65, 7] Operation: 14-7=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[33, 65, 2], Operations: ['14/7=2']
Exploring Operation: 33*2=66, Resulting Numbers: [65, 66]
Generated Node #0,1,0: 64:[65, 66] Operation: 33*2=66
Exploring Operation: 33+2=35, Resulting Numbers: [65, 35]
Generated Node #0,1,1: 64:[65, 35] Operation: 33+2=35
Exploring Operation: 65-2=63, Resulting Numbers: [33, 63]
Generated Node #0,1,2: 64:[33, 63] Operation: 65-2=63
Exploring Operation: 33-2=31, Resulting Numbers: [65, 31]
Generated Node #0,1,3: 64:[65, 31] Operation: 33-2=31
Exploring Operation: 65-33=32, Resulting Numbers: [2, 32]
Generated Node #0,1,4: 64:[2, 32] Operation: 65-33=32
Moving to Node #0,1,4
Current State: 64:[2, 32], Operations: ['14/7=2', '65-33=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[33, 65, 14, 7], Operations: []
Exploring Operation: 14/7=2, Resulting Numbers: [33, 65, 2]
Generated Node #0,1: 64:[33, 65, 2] Operation: 14/7=2
Moving to Node #0,1
Current State: 64:[33, 65, 2], Operations: ['14/7=2']
Exploring Operation: 65-33=32, Resulting Numbers: [2, 32]
Generated Node #0,1,4: 64:[2, 32] Operation: 65-33=32
Moving to Node #0,1,4
Current State: 64:[2, 32], Operations: ['14/7=2', '65-33=32']
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
30,
17,
33,
50
] | 96 | [
"30-17=13",
"33+50=83",
"13+83=96"
] | Current State: 96:[30, 17, 33, 50], Operations: []
Exploring Operation: 30-17=13, Resulting Numbers: [33, 50, 13]
Generated Node #2: [33, 50, 13] from Operation: 30-17=13
Current State: 96:[33, 50, 13], Operations: ['30-17=13']
Exploring Operation: 33+50=83, Resulting Numbers: [13, 83]
Generated Node #3: [13, 83] from Operation: 33+50=83
Current State: 96:[13, 83], Operations: ['30-17=13', '33+50=83']
Exploring Operation: 13+83=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[30, 17, 33, 50], Operations: []
Exploring Operation: 33-30=3, Resulting Numbers: [17, 50, 3]
Generated Node #0,0: 96:[17, 50, 3] Operation: 33-30=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[17, 50, 3], Operations: ['33-30=3']
Exploring Operation: 50-17=33, Resulting Numbers: [3, 33]
Generated Node #0,0,0: 96:[3, 33] Operation: 50-17=33
Moving to Node #0,0,0
Current State: 96:[3, 33], Operations: ['33-30=3', '50-17=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
81,
30,
79,
57
] | 42 | [
"81-79=2",
"30/2=15",
"57-15=42"
] | Current State: 42:[81, 30, 79, 57], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [30, 57, 2]
Generated Node #2: [30, 57, 2] from Operation: 81-79=2
Current State: 42:[30, 57, 2], Operations: ['81-79=2']
Exploring Operation: 30/2=15, Resulting Numbers: [57, 15]
Generated Node #3: [57, 15] from Operation: 30/2=15
Current State: 42:[57, 15], Operations: ['81-79=2', '30/2=15']
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[81, 30, 79, 57], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [30, 57, 2]
Generated Node #0,0: 42:[30, 57, 2] Operation: 81-79=2
Exploring Operation: 81-57=24, Resulting Numbers: [30, 79, 24]
Generated Node #0,1: 42:[30, 79, 24] Operation: 81-57=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[30, 57, 2], Operations: ['81-79=2']
Exploring Operation: 30/2=15, Resulting Numbers: [57, 15]
Generated Node #0,0,0: 42:[57, 15] Operation: 30/2=15
Exploring Operation: 57-30=27, Resulting Numbers: [2, 27]
Generated Node #0,0,1: 42:[2, 27] Operation: 57-30=27
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[2, 27], Operations: ['81-79=2', '57-30=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,42 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,42 unequal: No Solution
No 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: 42:[57, 15], Operations: ['81-79=2', '30/2=15']
Exploring Operation: 57+15=72, Resulting Numbers: [72]
72,42 unequal: No Solution
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[81, 30, 79, 57], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [30, 57, 2]
Generated Node #0,0: 42:[30, 57, 2] Operation: 81-79=2
Moving to Node #0,0
Current State: 42:[30, 57, 2], Operations: ['81-79=2']
Exploring Operation: 30/2=15, Resulting Numbers: [57, 15]
Generated Node #0,0,0: 42:[57, 15] Operation: 30/2=15
Moving to Node #0,0,0
Current State: 42:[57, 15], Operations: ['81-79=2', '30/2=15']
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
48,
24,
40,
35
] | 10 | [
"48/24=2",
"40-35=5",
"2*5=10"
] | Current State: 10:[48, 24, 40, 35], Operations: []
Exploring Operation: 48/24=2, Resulting Numbers: [40, 35, 2]
Generated Node #2: [40, 35, 2] from Operation: 48/24=2
Current State: 10:[40, 35, 2], Operations: ['48/24=2']
Exploring Operation: 40-35=5, Resulting Numbers: [2, 5]
Generated Node #3: [2, 5] from Operation: 40-35=5
Current State: 10:[2, 5], Operations: ['48/24=2', '40-35=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[48, 24, 40, 35], Operations: []
Exploring Operation: 48-40=8, Resulting Numbers: [24, 35, 8]
Generated Node #0,0: 10:[24, 35, 8] Operation: 48-40=8
Exploring Operation: 48-35=13, Resulting Numbers: [24, 40, 13]
Generated Node #0,1: 10:[24, 40, 13] Operation: 48-35=13
Moving to Node #0,0
Current State: 10:[24, 35, 8], Operations: ['48-40=8']
Exploring Operation: 35-24=11, Resulting Numbers: [8, 11]
Generated Node #0,0,0: 10:[8, 11] Operation: 35-24=11
Exploring Operation: 24/8=3, Resulting Numbers: [35, 3]
Generated Node #0,0,1: 10:[35, 3] Operation: 24/8=3
Moving to Node #0,1
Current State: 10:[24, 40, 13], Operations: ['48-35=13']
Exploring Operation: 24-13=11, Resulting Numbers: [40, 11]
Generated Node #0,1,0: 10:[40, 11] Operation: 24-13=11
Exploring Operation: 40-24=16, Resulting Numbers: [13, 16]
Generated Node #0,1,1: 10:[13, 16] Operation: 40-24=16
Moving to Node #0,0,0
Current State: 10:[8, 11], Operations: ['48-40=8', '35-24=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[13, 16], Operations: ['48-35=13', '40-24=16']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[35, 3], Operations: ['48-40=8', '24/8=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[40, 11], Operations: ['48-35=13', '24-13=11']
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,10 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
41,
41,
40,
94
] | 28 | [
"41+41=82",
"94-40=54",
"82-54=28"
] | Current State: 28:[41, 41, 40, 94], Operations: []
Exploring Operation: 41+41=82, Resulting Numbers: [40, 94, 82]
Generated Node #2: [40, 94, 82] from Operation: 41+41=82
Current State: 28:[40, 94, 82], Operations: ['41+41=82']
Exploring Operation: 94-40=54, Resulting Numbers: [82, 54]
Generated Node #3: [82, 54] from Operation: 94-40=54
Current State: 28:[82, 54], Operations: ['41+41=82', '94-40=54']
Exploring Operation: 82-54=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[41, 41, 40, 94], Operations: []
Exploring Operation: 41/41=1, Resulting Numbers: [40, 94, 1]
Generated Node #0,0: 28:[40, 94, 1] Operation: 41/41=1
Exploring Operation: 94-40=54, Resulting Numbers: [41, 41, 54]
Generated Node #0,1: 28:[41, 41, 54] Operation: 94-40=54
Exploring Operation: 94-41=53, Resulting Numbers: [41, 40, 53]
Generated Node #0,2: 28:[41, 40, 53] Operation: 94-41=53
Exploring Operation: 94-41=53, Resulting Numbers: [41, 40, 53]
Generated Node #0,3: 28:[41, 40, 53] Operation: 94-41=53
Moving to Node #0,2
Current State: 28:[41, 40, 53], Operations: ['94-41=53']
Exploring Operation: 53-41=12, Resulting Numbers: [40, 12]
Generated Node #0,2,0: 28:[40, 12] Operation: 53-41=12
Exploring Operation: 53-40=13, Resulting Numbers: [41, 13]
Generated Node #0,2,1: 28:[41, 13] Operation: 53-40=13
Exploring Operation: 41-40=1, Resulting Numbers: [53, 1]
Generated Node #0,2,2: 28:[53, 1] Operation: 41-40=1
Exploring Operation: 41+40=81, Resulting Numbers: [53, 81]
Generated Node #0,2,3: 28:[53, 81] Operation: 41+40=81
Moving to Node #0,3
Current State: 28:[41, 40, 53], Operations: ['94-41=53']
Exploring Operation: 41-40=1, Resulting Numbers: [53, 1]
Generated Node #0,3,0: 28:[53, 1] Operation: 41-40=1
Exploring Operation: 41+40=81, Resulting Numbers: [53, 81]
Generated Node #0,3,1: 28:[53, 81] Operation: 41+40=81
Exploring Operation: 53-41=12, Resulting Numbers: [40, 12]
Generated Node #0,3,2: 28:[40, 12] Operation: 53-41=12
Exploring Operation: 53-40=13, Resulting Numbers: [41, 13]
Generated Node #0,3,3: 28:[41, 13] Operation: 53-40=13
Moving to Node #0,1
Current State: 28:[41, 41, 54], Operations: ['94-40=54']
Exploring Operation: 54-41=13, Resulting Numbers: [41, 13]
Generated Node #0,1,0: 28:[41, 13] Operation: 54-41=13
Exploring Operation: 54-41=13, Resulting Numbers: [41, 13]
Generated Node #0,1,1: 28:[41, 13] Operation: 54-41=13
Exploring Operation: 41/41=1, Resulting Numbers: [54, 1]
Generated Node #0,1,2: 28:[54, 1] Operation: 41/41=1
Exploring Operation: 41-41=0, Resulting Numbers: [54, 0]
Generated Node #0,1,3: 28:[54, 0] Operation: 41-41=0
Moving to Node #0,0
Current State: 28:[40, 94, 1], Operations: ['41/41=1']
Exploring Operation: 94-1=93, Resulting Numbers: [40, 93]
Generated Node #0,0,0: 28:[40, 93] Operation: 94-1=93
Exploring Operation: 40*1=40, Resulting Numbers: [94, 40]
Generated Node #0,0,1: 28:[94, 40] Operation: 40*1=40
Exploring Operation: 94-40=54, Resulting Numbers: [1, 54]
Generated Node #0,0,2: 28:[1, 54] Operation: 94-40=54
Exploring Operation: 40-1=39, Resulting Numbers: [94, 39]
Generated Node #0,0,3: 28:[94, 39] Operation: 40-1=39
Moving to Node #0,2,0
Current State: 28:[40, 12], Operations: ['94-41=53', '53-41=12']
Exploring Operation: 40+12=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[41, 41, 40, 94], Operations: []
Exploring Operation: 94-41=53, Resulting Numbers: [41, 40, 53]
Generated Node #0,2: 28:[41, 40, 53] Operation: 94-41=53
Moving to Node #0,2
Current State: 28:[41, 40, 53], Operations: ['94-41=53']
Exploring Operation: 53-41=12, Resulting Numbers: [40, 12]
Generated Node #0,2,0: 28:[40, 12] Operation: 53-41=12
Moving to Node #0,2,0
Current State: 28:[40, 12], Operations: ['94-41=53', '53-41=12']
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.977431 | hs_4 | mult_heuristic |
[
20,
96,
98,
97
] | 57 | [
"98-96=2",
"20*2=40",
"97-40=57"
] | Current State: 57:[20, 96, 98, 97], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [20, 97, 2]
Generated Node #2: [20, 97, 2] from Operation: 98-96=2
Current State: 57:[20, 97, 2], Operations: ['98-96=2']
Exploring Operation: 20*2=40, Resulting Numbers: [97, 40]
Generated Node #3: [97, 40] from Operation: 20*2=40
Current State: 57:[97, 40], Operations: ['98-96=2', '20*2=40']
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[20, 96, 98, 97], Operations: []
Exploring Operation: 97-96=1, Resulting Numbers: [20, 98, 1]
Generated Node #0,0: 57:[20, 98, 1] Operation: 97-96=1
Exploring Operation: 98-97=1, Resulting Numbers: [20, 96, 1]
Generated Node #0,1: 57:[20, 96, 1] Operation: 98-97=1
Exploring Operation: 98-20=78, Resulting Numbers: [96, 97, 78]
Generated Node #0,2: 57:[96, 97, 78] Operation: 98-20=78
Exploring Operation: 98-96=2, Resulting Numbers: [20, 97, 2]
Generated Node #0,3: 57:[20, 97, 2] Operation: 98-96=2
Exploring Operation: 96-20=76, Resulting Numbers: [98, 97, 76]
Generated Node #0,4: 57:[98, 97, 76] Operation: 96-20=76
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[20, 96, 1], Operations: ['98-97=1']
Exploring Operation: 20/1=20, Resulting Numbers: [96, 20]
Generated Node #0,1,0: 57:[96, 20] Operation: 20/1=20
Exploring Operation: 20-1=19, Resulting Numbers: [96, 19]
Generated Node #0,1,1: 57:[96, 19] Operation: 20-1=19
Exploring Operation: 20*1=20, Resulting Numbers: [96, 20]
Generated Node #0,1,2: 57:[96, 20] Operation: 20*1=20
Exploring Operation: 96-1=95, Resulting Numbers: [20, 95]
Generated Node #0,1,3: 57:[20, 95] Operation: 96-1=95
Exploring Operation: 96-20=76, Resulting Numbers: [1, 76]
Generated Node #0,1,4: 57:[1, 76] Operation: 96-20=76
Moving to Node #0,1,4
Current State: 57:[1, 76], Operations: ['98-97=1', '96-20=76']
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 1+76=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Exploring Operation: 1*76=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[20, 95], Operations: ['98-97=1', '96-1=95']
Exploring Operation: 95-20=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 20*95=1900, Resulting Numbers: [1900]
1900,57 unequal: No Solution
Exploring Operation: 20+95=115, Resulting Numbers: [115]
115,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[96, 19], Operations: ['98-97=1', '20-1=19']
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Exploring Operation: 96*19=1824, Resulting Numbers: [1824]
1824,57 unequal: No Solution
Exploring Operation: 96+19=115, Resulting Numbers: [115]
115,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[96, 20], Operations: ['98-97=1', '20/1=20']
Exploring Operation: 96+20=116, Resulting Numbers: [116]
116,57 unequal: No Solution
Exploring Operation: 96*20=1920, Resulting Numbers: [1920]
1920,57 unequal: No Solution
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[96, 20], Operations: ['98-97=1', '20*1=20']
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 96+20=116, Resulting Numbers: [116]
116,57 unequal: No Solution
Exploring Operation: 96*20=1920, Resulting Numbers: [1920]
1920,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[20, 97, 2], Operations: ['98-96=2']
Exploring Operation: 97+2=99, Resulting Numbers: [20, 99]
Generated Node #0,3,0: 57:[20, 99] Operation: 97+2=99
Exploring Operation: 20-2=18, Resulting Numbers: [97, 18]
Generated Node #0,3,1: 57:[97, 18] Operation: 20-2=18
Exploring Operation: 97-2=95, Resulting Numbers: [20, 95]
Generated Node #0,3,2: 57:[20, 95] Operation: 97-2=95
Exploring Operation: 20+2=22, Resulting Numbers: [97, 22]
Generated Node #0,3,3: 57:[97, 22] Operation: 20+2=22
Exploring Operation: 97-20=77, Resulting Numbers: [2, 77]
Generated Node #0,3,4: 57:[2, 77] Operation: 97-20=77
Moving to Node #0,3,4
Current State: 57:[2, 77], Operations: ['98-96=2', '97-20=77']
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,57 unequal: No Solution
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,57 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Moving to Node #0,3,2
Current State: 57:[20, 95], Operations: ['98-96=2', '97-2=95']
Exploring Operation: 95-20=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 20+95=115, Resulting Numbers: [115]
115,57 unequal: No Solution
Exploring Operation: 20*95=1900, Resulting Numbers: [1900]
1900,57 unequal: No Solution
Moving to Node #0,3,1
Current State: 57:[97, 18], Operations: ['98-96=2', '20-2=18']
Exploring Operation: 97+18=115, Resulting Numbers: [115]
115,57 unequal: No Solution
Exploring Operation: 97-18=79, Resulting Numbers: [79]
79,57 unequal: No Solution
Exploring Operation: 97*18=1746, Resulting Numbers: [1746]
1746,57 unequal: No Solution
Moving to Node #0,3,0
Current State: 57:[20, 99], Operations: ['98-96=2', '97+2=99']
Exploring Operation: 20+99=119, Resulting Numbers: [119]
119,57 unequal: No Solution
Exploring Operation: 99-20=79, Resulting Numbers: [79]
79,57 unequal: No Solution
Exploring Operation: 20*99=1980, Resulting Numbers: [1980]
1980,57 unequal: No Solution
Moving to Node #0,3,3
Current State: 57:[97, 22], Operations: ['98-96=2', '20+2=22']
Exploring Operation: 97*22=2134, Resulting Numbers: [2134]
2134,57 unequal: No Solution
Exploring Operation: 97-22=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 97+22=119, Resulting Numbers: [119]
119,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[20, 98, 1], Operations: ['97-96=1']
Exploring Operation: 98-20=78, Resulting Numbers: [1, 78]
Generated Node #0,0,0: 57:[1, 78] Operation: 98-20=78
Exploring Operation: 20/1=20, Resulting Numbers: [98, 20]
Generated Node #0,0,1: 57:[98, 20] Operation: 20/1=20
Exploring Operation: 20*1=20, Resulting Numbers: [98, 20]
Generated Node #0,0,2: 57:[98, 20] Operation: 20*1=20
Exploring Operation: 20-1=19, Resulting Numbers: [98, 19]
Generated Node #0,0,3: 57:[98, 19] Operation: 20-1=19
Exploring Operation: 98-1=97, Resulting Numbers: [20, 97]
Generated Node #0,0,4: 57:[20, 97] Operation: 98-1=97
Moving to Node #0,0,0
Current State: 57:[1, 78], Operations: ['97-96=1', '98-20=78']
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 1+78=79, Resulting Numbers: [79]
79,57 unequal: No Solution
Exploring Operation: 1*78=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Moving to Node #0,0,4
Current State: 57:[20, 97], Operations: ['97-96=1', '98-1=97']
Exploring Operation: 20*97=1940, Resulting Numbers: [1940]
1940,57 unequal: No Solution
Exploring Operation: 97-20=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Exploring Operation: 20+97=117, Resulting Numbers: [117]
117,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[98, 19], Operations: ['97-96=1', '20-1=19']
Exploring Operation: 98+19=117, Resulting Numbers: [117]
117,57 unequal: No Solution
Exploring Operation: 98-19=79, Resulting Numbers: [79]
79,57 unequal: No Solution
Exploring Operation: 98*19=1862, Resulting Numbers: [1862]
1862,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[98, 20], Operations: ['97-96=1', '20/1=20']
Exploring Operation: 98*20=1960, Resulting Numbers: [1960]
1960,57 unequal: No Solution
Exploring Operation: 98+20=118, Resulting Numbers: [118]
118,57 unequal: No Solution
Exploring Operation: 98-20=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[98, 20], Operations: ['97-96=1', '20*1=20']
Exploring Operation: 98-20=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 98+20=118, Resulting Numbers: [118]
118,57 unequal: No Solution
Exploring Operation: 98*20=1960, Resulting Numbers: [1960]
1960,57 unequal: No Solution
No 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: 57:[96, 97, 78], Operations: ['98-20=78']
Exploring Operation: 96+97=193, Resulting Numbers: [78, 193]
Generated Node #0,2,0: 57:[78, 193] Operation: 96+97=193
Exploring Operation: 97-96=1, Resulting Numbers: [78, 1]
Generated Node #0,2,1: 57:[78, 1] Operation: 97-96=1
Exploring Operation: 96-78=18, Resulting Numbers: [97, 18]
Generated Node #0,2,2: 57:[97, 18] Operation: 96-78=18
Exploring Operation: 96+78=174, Resulting Numbers: [97, 174]
Generated Node #0,2,3: 57:[97, 174] Operation: 96+78=174
Exploring Operation: 97-78=19, Resulting Numbers: [96, 19]
Generated Node #0,2,4: 57:[96, 19] Operation: 97-78=19
Moving to Node #0,2,1
Current State: 57:[78, 1], Operations: ['98-20=78', '97-96=1']
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,57 unequal: No Solution
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Moving to Node #0,2,4
Current State: 57:[96, 19], Operations: ['98-20=78', '97-78=19']
Exploring Operation: 96+19=115, Resulting Numbers: [115]
115,57 unequal: No Solution
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Exploring Operation: 96*19=1824, Resulting Numbers: [1824]
1824,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[97, 18], Operations: ['98-20=78', '96-78=18']
Exploring Operation: 97*18=1746, Resulting Numbers: [1746]
1746,57 unequal: No Solution
Exploring Operation: 97-18=79, Resulting Numbers: [79]
79,57 unequal: No Solution
Exploring Operation: 97+18=115, Resulting Numbers: [115]
115,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[78, 193], Operations: ['98-20=78', '96+97=193']
Exploring Operation: 78*193=15054, Resulting Numbers: [15054]
15054,57 unequal: No Solution
Exploring Operation: 193-78=115, Resulting Numbers: [115]
115,57 unequal: No Solution
Exploring Operation: 78+193=271, Resulting Numbers: [271]
271,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[97, 174], Operations: ['98-20=78', '96+78=174']
Exploring Operation: 174-97=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Exploring Operation: 97*174=16878, Resulting Numbers: [16878]
16878,57 unequal: No Solution
Exploring Operation: 97+174=271, Resulting Numbers: [271]
271,57 unequal: No Solution
No 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: 57:[98, 97, 76], Operations: ['96-20=76']
Exploring Operation: 98+76=174, Resulting Numbers: [97, 174]
Generated Node #0,4,0: 57:[97, 174] Operation: 98+76=174
Exploring Operation: 98-97=1, Resulting Numbers: [76, 1]
Generated Node #0,4,1: 57:[76, 1] Operation: 98-97=1
Exploring Operation: 98-76=22, Resulting Numbers: [97, 22]
Generated Node #0,4,2: 57:[97, 22] Operation: 98-76=22
Exploring Operation: 98+97=195, Resulting Numbers: [76, 195]
Generated Node #0,4,3: 57:[76, 195] Operation: 98+97=195
Exploring Operation: 97-76=21, Resulting Numbers: [98, 21]
Generated Node #0,4,4: 57:[98, 21] Operation: 97-76=21
Moving to Node #0,4,1
Current State: 57:[76, 1], Operations: ['96-20=76', '98-97=1']
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,57 unequal: No Solution
Moving to Node #0,4,4
Current State: 57:[98, 21], Operations: ['96-20=76', '97-76=21']
Exploring Operation: 98*21=2058, Resulting Numbers: [2058]
2058,57 unequal: No Solution
Exploring Operation: 98+21=119, Resulting Numbers: [119]
119,57 unequal: No Solution
Exploring Operation: 98-21=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Moving to Node #0,4,2
Current State: 57:[97, 22], Operations: ['96-20=76', '98-76=22']
Exploring Operation: 97+22=119, Resulting Numbers: [119]
119,57 unequal: No Solution
Exploring Operation: 97-22=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 97*22=2134, Resulting Numbers: [2134]
2134,57 unequal: No Solution
Moving to Node #0,4,0
Current State: 57:[97, 174], Operations: ['96-20=76', '98+76=174']
Exploring Operation: 97+174=271, Resulting Numbers: [271]
271,57 unequal: No Solution
Exploring Operation: 174-97=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Exploring Operation: 97*174=16878, Resulting Numbers: [16878]
16878,57 unequal: No Solution
Moving to Node #0,4,3
Current State: 57:[76, 195], Operations: ['96-20=76', '98+97=195']
Exploring Operation: 76*195=14820, Resulting Numbers: [14820]
14820,57 unequal: No Solution
Exploring Operation: 195-76=119, Resulting Numbers: [119]
119,57 unequal: No Solution
Exploring Operation: 76+195=271, Resulting Numbers: [271]
271,57 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 |
[
44,
14,
61,
57
] | 26 | [
"44-14=30",
"61-57=4",
"30-4=26"
] | Current State: 26:[44, 14, 61, 57], Operations: []
Exploring Operation: 44-14=30, Resulting Numbers: [61, 57, 30]
Generated Node #2: [61, 57, 30] from Operation: 44-14=30
Current State: 26:[61, 57, 30], Operations: ['44-14=30']
Exploring Operation: 61-57=4, Resulting Numbers: [30, 4]
Generated Node #3: [30, 4] from Operation: 61-57=4
Current State: 26:[30, 4], Operations: ['44-14=30', '61-57=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[44, 14, 61, 57], Operations: []
Exploring Operation: 61-44=17, Resulting Numbers: [14, 57, 17]
Generated Node #0,0: 26:[14, 57, 17] Operation: 61-44=17
Exploring Operation: 61-57=4, Resulting Numbers: [44, 14, 4]
Generated Node #0,1: 26:[44, 14, 4] Operation: 61-57=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[44, 14, 4], Operations: ['61-57=4']
Exploring Operation: 44/4=11, Resulting Numbers: [14, 11]
Generated Node #0,1,0: 26:[14, 11] Operation: 44/4=11
Exploring Operation: 44-14=30, Resulting Numbers: [4, 30]
Generated Node #0,1,1: 26:[4, 30] Operation: 44-14=30
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 26:[14, 11], Operations: ['61-57=4', '44/4=11']
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 26:[4, 30], Operations: ['61-57=4', '44-14=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[44, 14, 61, 57], Operations: []
Exploring Operation: 61-57=4, Resulting Numbers: [44, 14, 4]
Generated Node #0,1: 26:[44, 14, 4] Operation: 61-57=4
Moving to Node #0,1
Current State: 26:[44, 14, 4], Operations: ['61-57=4']
Exploring Operation: 44-14=30, Resulting Numbers: [4, 30]
Generated Node #0,1,1: 26:[4, 30] Operation: 44-14=30
Moving to Node #0,1,1
Current State: 26:[4, 30], Operations: ['61-57=4', '44-14=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
14,
51,
65,
47
] | 83 | [
"14+51=65",
"65-47=18",
"65+18=83"
] | Current State: 83:[14, 51, 65, 47], Operations: []
Exploring Operation: 14+51=65, Resulting Numbers: [65, 47, 65]
Generated Node #2: [65, 47, 65] from Operation: 14+51=65
Current State: 83:[65, 47, 65], Operations: ['14+51=65']
Exploring Operation: 65-47=18, Resulting Numbers: [18]
18,83 equal: Goal Reached
Exploring Operation: 65+18=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[14, 51, 65, 47], Operations: []
Exploring Operation: 14+51=65, Resulting Numbers: [65, 47, 65]
Generated Node #0,0: 83:[65, 47, 65] Operation: 14+51=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[65, 47, 65], Operations: ['14+51=65']
Exploring Operation: 65+47=112, Resulting Numbers: [65, 112]
Generated Node #0,0,0: 83:[65, 112] Operation: 65+47=112
Moving to Node #0,0,0
Current State: 83:[65, 112], Operations: ['14+51=65', '65+47=112']
Exploring Operation: 112-65=47, Resulting Numbers: [47]
47,83 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 |
[
84,
46,
49,
66
] | 62 | [
"49-46=3",
"66/3=22",
"84-22=62"
] | Current State: 62:[84, 46, 49, 66], Operations: []
Exploring Operation: 49-46=3, Resulting Numbers: [84, 66, 3]
Generated Node #2: [84, 66, 3] from Operation: 49-46=3
Current State: 62:[84, 66, 3], Operations: ['49-46=3']
Exploring Operation: 66/3=22, Resulting Numbers: [84, 22]
Generated Node #3: [84, 22] from Operation: 66/3=22
Current State: 62:[84, 22], Operations: ['49-46=3', '66/3=22']
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[84, 46, 49, 66], Operations: []
Exploring Operation: 84-46=38, Resulting Numbers: [49, 66, 38]
Generated Node #0,0: 62:[49, 66, 38] Operation: 84-46=38
Exploring Operation: 84-49=35, Resulting Numbers: [46, 66, 35]
Generated Node #0,1: 62:[46, 66, 35] Operation: 84-49=35
Moving to Node #0,1
Current State: 62:[46, 66, 35], Operations: ['84-49=35']
Exploring Operation: 46-35=11, Resulting Numbers: [66, 11]
Generated Node #0,1,0: 62:[66, 11] Operation: 46-35=11
Exploring Operation: 66-46=20, Resulting Numbers: [35, 20]
Generated Node #0,1,1: 62:[35, 20] Operation: 66-46=20
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[66, 11], Operations: ['84-49=35', '46-35=11']
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,62 unequal: No Solution
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[35, 20], Operations: ['84-49=35', '66-46=20']
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,62 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,62 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: 62:[49, 66, 38], Operations: ['84-46=38']
Exploring Operation: 66-38=28, Resulting Numbers: [49, 28]
Generated Node #0,0,0: 62:[49, 28] Operation: 66-38=28
Exploring Operation: 49-38=11, Resulting Numbers: [66, 11]
Generated Node #0,0,1: 62:[66, 11] Operation: 49-38=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[66, 11], Operations: ['84-46=38', '49-38=11']
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[49, 28], Operations: ['84-46=38', '66-38=28']
Exploring Operation: 49+28=77, Resulting Numbers: [77]
77,62 unequal: No Solution
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,62 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 |
[
15,
76,
11,
84
] | 96 | [
"15*76=1140",
"1140-84=1056",
"1056/11=96"
] | Current State: 96:[15, 76, 11, 84], Operations: []
Exploring Operation: 15*76=1140, Resulting Numbers: [11, 84, 1140]
Generated Node #2: [11, 84, 1140] from Operation: 15*76=1140
Current State: 96:[11, 84, 1140], Operations: ['15*76=1140']
Exploring Operation: 1140-84=1056, Resulting Numbers: [11, 1056]
Generated Node #3: [11, 1056] from Operation: 1140-84=1056
Current State: 96:[11, 1056], Operations: ['15*76=1140', '1140-84=1056']
Exploring Operation: 1056/11=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[15, 76, 11, 84], Operations: []
Exploring Operation: 84-76=8, Resulting Numbers: [15, 11, 8]
Generated Node #0,0: 96:[15, 11, 8] Operation: 84-76=8
Moving to Node #0,0
Current State: 96:[15, 11, 8], Operations: ['84-76=8']
Exploring Operation: 15-11=4, Resulting Numbers: [8, 4]
Generated Node #0,0,0: 96:[8, 4] Operation: 15-11=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[8, 4], Operations: ['84-76=8', '15-11=4']
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
10,
54,
96,
68
] | 92 | [
"10+54=64",
"96-68=28",
"64+28=92"
] | Current State: 92:[10, 54, 96, 68], Operations: []
Exploring Operation: 10+54=64, Resulting Numbers: [96, 68, 64]
Generated Node #2: [96, 68, 64] from Operation: 10+54=64
Current State: 92:[96, 68, 64], Operations: ['10+54=64']
Exploring Operation: 96-68=28, Resulting Numbers: [64, 28]
Generated Node #3: [64, 28] from Operation: 96-68=28
Current State: 92:[64, 28], Operations: ['10+54=64', '96-68=28']
Exploring Operation: 64+28=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[10, 54, 96, 68], Operations: []
Exploring Operation: 68-54=14, Resulting Numbers: [10, 96, 14]
Generated Node #0,0: 92:[10, 96, 14] Operation: 68-54=14
Exploring Operation: 96-68=28, Resulting Numbers: [10, 54, 28]
Generated Node #0,1: 92:[10, 54, 28] Operation: 96-68=28
Moving to Node #0,0
Current State: 92:[10, 96, 14], Operations: ['68-54=14']
Exploring Operation: 14-10=4, Resulting Numbers: [96, 4]
Generated Node #0,0,0: 92:[96, 4] Operation: 14-10=4
Exploring Operation: 10+14=24, Resulting Numbers: [96, 24]
Generated Node #0,0,1: 92:[96, 24] Operation: 10+14=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[96, 4], Operations: ['68-54=14', '14-10=4']
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[10, 54, 96, 68], Operations: []
Exploring Operation: 68-54=14, Resulting Numbers: [10, 96, 14]
Generated Node #0,0: 92:[10, 96, 14] Operation: 68-54=14
Moving to Node #0,0
Current State: 92:[10, 96, 14], Operations: ['68-54=14']
Exploring Operation: 14-10=4, Resulting Numbers: [96, 4]
Generated Node #0,0,0: 92:[96, 4] Operation: 14-10=4
Moving to Node #0,0,0
Current State: 92:[96, 4], Operations: ['68-54=14', '14-10=4']
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
87,
21,
15,
85
] | 57 | [
"87-85=2",
"21*2=42",
"15+42=57"
] | Current State: 57:[87, 21, 15, 85], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [21, 15, 2]
Generated Node #2: [21, 15, 2] from Operation: 87-85=2
Current State: 57:[21, 15, 2], Operations: ['87-85=2']
Exploring Operation: 21*2=42, Resulting Numbers: [15, 42]
Generated Node #3: [15, 42] from Operation: 21*2=42
Current State: 57:[15, 42], Operations: ['87-85=2', '21*2=42']
Exploring Operation: 15+42=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[87, 21, 15, 85], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [21, 15, 2]
Generated Node #0,0: 57:[21, 15, 2] Operation: 87-85=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[21, 15, 2], Operations: ['87-85=2']
Exploring Operation: 21-15=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 57:[2, 6] Operation: 21-15=6
Moving to Node #0,0,0
Current State: 57:[2, 6], Operations: ['87-85=2', '21-15=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,57 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 |
[
67,
17,
91,
74
] | 81 | [
"67+17=84",
"91+74=165",
"165-84=81"
] | Current State: 81:[67, 17, 91, 74], Operations: []
Exploring Operation: 67+17=84, Resulting Numbers: [91, 74, 84]
Generated Node #2: [91, 74, 84] from Operation: 67+17=84
Current State: 81:[91, 74, 84], Operations: ['67+17=84']
Exploring Operation: 91+74=165, Resulting Numbers: [84, 165]
Generated Node #3: [84, 165] from Operation: 91+74=165
Current State: 81:[84, 165], Operations: ['67+17=84', '91+74=165']
Exploring Operation: 165-84=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[67, 17, 91, 74], Operations: []
Exploring Operation: 67+17=84, Resulting Numbers: [91, 74, 84]
Generated Node #0,0: 81:[91, 74, 84] Operation: 67+17=84
Exploring Operation: 91-67=24, Resulting Numbers: [17, 74, 24]
Generated Node #0,1: 81:[17, 74, 24] Operation: 91-67=24
Exploring Operation: 74-67=7, Resulting Numbers: [17, 91, 7]
Generated Node #0,2: 81:[17, 91, 7] Operation: 74-67=7
Moving to Node #0,1
Current State: 81:[17, 74, 24], Operations: ['91-67=24']
Exploring Operation: 24-17=7, Resulting Numbers: [74, 7]
Generated Node #0,1,0: 81:[74, 7] Operation: 24-17=7
Exploring Operation: 17+24=41, Resulting Numbers: [74, 41]
Generated Node #0,1,1: 81:[74, 41] Operation: 17+24=41
Exploring Operation: 17+74=91, Resulting Numbers: [24, 91]
Generated Node #0,1,2: 81:[24, 91] Operation: 17+74=91
Moving to Node #0,0
Current State: 81:[91, 74, 84], Operations: ['67+17=84']
Exploring Operation: 91-74=17, Resulting Numbers: [84, 17]
Generated Node #0,0,0: 81:[84, 17] Operation: 91-74=17
Exploring Operation: 84-74=10, Resulting Numbers: [91, 10]
Generated Node #0,0,1: 81:[91, 10] Operation: 84-74=10
Exploring Operation: 91-84=7, Resulting Numbers: [74, 7]
Generated Node #0,0,2: 81:[74, 7] Operation: 91-84=7
Moving to Node #0,2
Current State: 81:[17, 91, 7], Operations: ['74-67=7']
Exploring Operation: 91-7=84, Resulting Numbers: [17, 84]
Generated Node #0,2,0: 81:[17, 84] Operation: 91-7=84
Exploring Operation: 17-7=10, Resulting Numbers: [91, 10]
Generated Node #0,2,1: 81:[91, 10] Operation: 17-7=10
Exploring Operation: 91-17=74, Resulting Numbers: [7, 74]
Generated Node #0,2,2: 81:[7, 74] Operation: 91-17=74
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[7, 74], Operations: ['74-67=7', '91-17=74']
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 7+74=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[67, 17, 91, 74], Operations: []
Exploring Operation: 74-67=7, Resulting Numbers: [17, 91, 7]
Generated Node #0,2: 81:[17, 91, 7] Operation: 74-67=7
Moving to Node #0,2
Current State: 81:[17, 91, 7], Operations: ['74-67=7']
Exploring Operation: 91-17=74, Resulting Numbers: [7, 74]
Generated Node #0,2,2: 81:[7, 74] Operation: 91-17=74
Moving to Node #0,2,2
Current State: 81:[7, 74], Operations: ['74-67=7', '91-17=74']
Exploring Operation: 7+74=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
4,
81,
58,
76
] | 95 | [
"81-4=77",
"76-58=18",
"77+18=95"
] | Current State: 95:[4, 81, 58, 76], Operations: []
Exploring Operation: 81-4=77, Resulting Numbers: [58, 76, 77]
Generated Node #2: [58, 76, 77] from Operation: 81-4=77
Current State: 95:[58, 76, 77], Operations: ['81-4=77']
Exploring Operation: 76-58=18, Resulting Numbers: [77, 18]
Generated Node #3: [77, 18] from Operation: 76-58=18
Current State: 95:[77, 18], Operations: ['81-4=77', '76-58=18']
Exploring Operation: 77+18=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[4, 81, 58, 76], Operations: []
Exploring Operation: 81-58=23, Resulting Numbers: [4, 76, 23]
Generated Node #0,0: 95:[4, 76, 23] Operation: 81-58=23
Exploring Operation: 76-58=18, Resulting Numbers: [4, 81, 18]
Generated Node #0,1: 95:[4, 81, 18] Operation: 76-58=18
Exploring Operation: 81-76=5, Resulting Numbers: [4, 58, 5]
Generated Node #0,2: 95:[4, 58, 5] Operation: 81-76=5
Moving to Node #0,1
Current State: 95:[4, 81, 18], Operations: ['76-58=18']
Exploring Operation: 4+18=22, Resulting Numbers: [81, 22]
Generated Node #0,1,0: 95:[81, 22] Operation: 4+18=22
Exploring Operation: 4+81=85, Resulting Numbers: [18, 85]
Generated Node #0,1,1: 95:[18, 85] Operation: 4+81=85
Exploring Operation: 81+18=99, Resulting Numbers: [4, 99]
Generated Node #0,1,2: 95:[4, 99] Operation: 81+18=99
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[4, 99], Operations: ['76-58=18', '81+18=99']
Exploring Operation: 4*99=396, Resulting Numbers: [396]
396,95 unequal: No Solution
Exploring Operation: 4+99=103, Resulting Numbers: [103]
103,95 unequal: No Solution
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[4, 81, 58, 76], Operations: []
Exploring Operation: 76-58=18, Resulting Numbers: [4, 81, 18]
Generated Node #0,1: 95:[4, 81, 18] Operation: 76-58=18
Moving to Node #0,1
Current State: 95:[4, 81, 18], Operations: ['76-58=18']
Exploring Operation: 81+18=99, Resulting Numbers: [4, 99]
Generated Node #0,1,2: 95:[4, 99] Operation: 81+18=99
Moving to Node #0,1,2
Current State: 95:[4, 99], Operations: ['76-58=18', '81+18=99']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
42,
3,
25,
22
] | 49 | [
"42-25=17",
"3*22=66",
"66-17=49"
] | Current State: 49:[42, 3, 25, 22], Operations: []
Exploring Operation: 42-25=17, Resulting Numbers: [3, 22, 17]
Generated Node #2: [3, 22, 17] from Operation: 42-25=17
Current State: 49:[3, 22, 17], Operations: ['42-25=17']
Exploring Operation: 3*22=66, Resulting Numbers: [17, 66]
Generated Node #3: [17, 66] from Operation: 3*22=66
Current State: 49:[17, 66], Operations: ['42-25=17', '3*22=66']
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[42, 3, 25, 22], Operations: []
Exploring Operation: 25-22=3, Resulting Numbers: [42, 3, 3]
Generated Node #0,0: 49:[42, 3, 3] Operation: 25-22=3
Exploring Operation: 25+22=47, Resulting Numbers: [42, 3, 47]
Generated Node #0,1: 49:[42, 3, 47] Operation: 25+22=47
Moving to Node #0,1
Current State: 49:[42, 3, 47], Operations: ['25+22=47']
Exploring Operation: 42+3=45, Resulting Numbers: [47, 45]
Generated Node #0,1,0: 49:[47, 45] Operation: 42+3=45
Exploring Operation: 47-42=5, Resulting Numbers: [3, 5]
Generated Node #0,1,1: 49:[3, 5] Operation: 47-42=5
Moving to Node #0,0
Current State: 49:[42, 3, 3], Operations: ['25-22=3']
Exploring Operation: 42+3=45, Resulting Numbers: [3, 45]
Generated Node #0,0,0: 49:[3, 45] Operation: 42+3=45
Exploring Operation: 42+3=45, Resulting Numbers: [3, 45]
Generated Node #0,0,1: 49:[3, 45] Operation: 42+3=45
Moving to Node #0,1,0
Current State: 49:[47, 45], Operations: ['25+22=47', '42+3=45']
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,49 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[3, 5], Operations: ['25+22=47', '47-42=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[3, 45], Operations: ['25-22=3', '42+3=45']
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[3, 45], Operations: ['25-22=3', '42+3=45']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,49 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
56,
53,
15,
18
] | 76 | [
"56+53=109",
"15+18=33",
"109-33=76"
] | Current State: 76:[56, 53, 15, 18], Operations: []
Exploring Operation: 56+53=109, Resulting Numbers: [15, 18, 109]
Generated Node #2: [15, 18, 109] from Operation: 56+53=109
Current State: 76:[15, 18, 109], Operations: ['56+53=109']
Exploring Operation: 15+18=33, Resulting Numbers: [109, 33]
Generated Node #3: [109, 33] from Operation: 15+18=33
Current State: 76:[109, 33], Operations: ['56+53=109', '15+18=33']
Exploring Operation: 109-33=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[56, 53, 15, 18], Operations: []
Exploring Operation: 56-15=41, Resulting Numbers: [53, 18, 41]
Generated Node #0,0: 76:[53, 18, 41] Operation: 56-15=41
Exploring Operation: 53-15=38, Resulting Numbers: [56, 18, 38]
Generated Node #0,1: 76:[56, 18, 38] Operation: 53-15=38
Exploring Operation: 56-18=38, Resulting Numbers: [53, 15, 38]
Generated Node #0,2: 76:[53, 15, 38] Operation: 56-18=38
Exploring Operation: 56-53=3, Resulting Numbers: [15, 18, 3]
Generated Node #0,3: 76:[15, 18, 3] Operation: 56-53=3
Moving to Node #0,3
Current State: 76:[15, 18, 3], Operations: ['56-53=3']
Exploring Operation: 15+3=18, Resulting Numbers: [18, 18]
Generated Node #0,3,0: 76:[18, 18] Operation: 15+3=18
Exploring Operation: 15+18=33, Resulting Numbers: [3, 33]
Generated Node #0,3,1: 76:[3, 33] Operation: 15+18=33
Exploring Operation: 15/3=5, Resulting Numbers: [18, 5]
Generated Node #0,3,2: 76:[18, 5] Operation: 15/3=5
Exploring Operation: 18-15=3, Resulting Numbers: [3, 3]
Generated Node #0,3,3: 76:[3, 3] Operation: 18-15=3
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 76:[18, 18], Operations: ['56-53=3', '15+3=18']
Exploring Operation: 18*18=324, Resulting Numbers: [324]
324,76 unequal: No Solution
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 18-18=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,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,3,2
Current State: 76:[18, 5], Operations: ['56-53=3', '15/3=5']
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,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,3,3
Current State: 76:[3, 3], Operations: ['56-53=3', '18-15=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,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,3,1
Current State: 76:[3, 33], Operations: ['56-53=3', '15+18=33']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,76 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: 76:[56, 18, 38], Operations: ['53-15=38']
Exploring Operation: 56+38=94, Resulting Numbers: [18, 94]
Generated Node #0,1,0: 76:[18, 94] Operation: 56+38=94
Exploring Operation: 56-38=18, Resulting Numbers: [18, 18]
Generated Node #0,1,1: 76:[18, 18] Operation: 56-38=18
Exploring Operation: 56+18=74, Resulting Numbers: [38, 74]
Generated Node #0,1,2: 76:[38, 74] Operation: 56+18=74
Exploring Operation: 56-18=38, Resulting Numbers: [38, 38]
Generated Node #0,1,3: 76:[38, 38] Operation: 56-18=38
Moving to Node #0,0
Current State: 76:[53, 18, 41], Operations: ['56-15=41']
Exploring Operation: 53+41=94, Resulting Numbers: [18, 94]
Generated Node #0,0,0: 76:[18, 94] Operation: 53+41=94
Exploring Operation: 53-18=35, Resulting Numbers: [41, 35]
Generated Node #0,0,1: 76:[41, 35] Operation: 53-18=35
Exploring Operation: 53-41=12, Resulting Numbers: [18, 12]
Generated Node #0,0,2: 76:[18, 12] Operation: 53-41=12
Exploring Operation: 53+18=71, Resulting Numbers: [41, 71]
Generated Node #0,0,3: 76:[41, 71] Operation: 53+18=71
Moving to Node #0,2
Current State: 76:[53, 15, 38], Operations: ['56-18=38']
Exploring Operation: 53+38=91, Resulting Numbers: [15, 91]
Generated Node #0,2,0: 76:[15, 91] Operation: 53+38=91
Exploring Operation: 53-15=38, Resulting Numbers: [38, 38]
Generated Node #0,2,1: 76:[38, 38] Operation: 53-15=38
Exploring Operation: 53-38=15, Resulting Numbers: [15, 15]
Generated Node #0,2,2: 76:[15, 15] Operation: 53-38=15
Exploring Operation: 53+15=68, Resulting Numbers: [38, 68]
Generated Node #0,2,3: 76:[38, 68] Operation: 53+15=68
Moving to Node #0,1,3
Current State: 76:[38, 38], Operations: ['53-15=38', '56-18=38']
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[56, 53, 15, 18], Operations: []
Exploring Operation: 53-15=38, Resulting Numbers: [56, 18, 38]
Generated Node #0,1: 76:[56, 18, 38] Operation: 53-15=38
Moving to Node #0,1
Current State: 76:[56, 18, 38], Operations: ['53-15=38']
Exploring Operation: 56-18=38, Resulting Numbers: [38, 38]
Generated Node #0,1,3: 76:[38, 38] Operation: 56-18=38
Moving to Node #0,1,3
Current State: 76:[38, 38], Operations: ['53-15=38', '56-18=38']
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.965278 | hs_4 | sum_heuristic |
[
37,
27,
43,
90
] | 69 | [
"37+27=64",
"43+90=133",
"133-64=69"
] | Current State: 69:[37, 27, 43, 90], Operations: []
Exploring Operation: 37+27=64, Resulting Numbers: [43, 90, 64]
Generated Node #2: [43, 90, 64] from Operation: 37+27=64
Current State: 69:[43, 90, 64], Operations: ['37+27=64']
Exploring Operation: 43+90=133, Resulting Numbers: [64, 133]
Generated Node #3: [64, 133] from Operation: 43+90=133
Current State: 69:[64, 133], Operations: ['37+27=64', '43+90=133']
Exploring Operation: 133-64=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[37, 27, 43, 90], Operations: []
Exploring Operation: 43-37=6, Resulting Numbers: [27, 90, 6]
Generated Node #0,0: 69:[27, 90, 6] Operation: 43-37=6
Exploring Operation: 90-37=53, Resulting Numbers: [27, 43, 53]
Generated Node #0,1: 69:[27, 43, 53] Operation: 90-37=53
Exploring Operation: 37+43=80, Resulting Numbers: [27, 90, 80]
Generated Node #0,2: 69:[27, 90, 80] Operation: 37+43=80
Exploring Operation: 27+43=70, Resulting Numbers: [37, 90, 70]
Generated Node #0,3: 69:[37, 90, 70] Operation: 27+43=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[27, 90, 6], Operations: ['43-37=6']
Exploring Operation: 27-6=21, Resulting Numbers: [90, 21]
Generated Node #0,0,0: 69:[90, 21] Operation: 27-6=21
Exploring Operation: 90-6=84, Resulting Numbers: [27, 84]
Generated Node #0,0,1: 69:[27, 84] Operation: 90-6=84
Exploring Operation: 90-27=63, Resulting Numbers: [6, 63]
Generated Node #0,0,2: 69:[6, 63] Operation: 90-27=63
Exploring Operation: 90/6=15, Resulting Numbers: [27, 15]
Generated Node #0,0,3: 69:[27, 15] Operation: 90/6=15
Moving to Node #0,0,2
Current State: 69:[6, 63], Operations: ['43-37=6', '90-27=63']
Exploring Operation: 6+63=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[37, 27, 43, 90], Operations: []
Exploring Operation: 43-37=6, Resulting Numbers: [27, 90, 6]
Generated Node #0,0: 69:[27, 90, 6] Operation: 43-37=6
Moving to Node #0,0
Current State: 69:[27, 90, 6], Operations: ['43-37=6']
Exploring Operation: 90-27=63, Resulting Numbers: [6, 63]
Generated Node #0,0,2: 69:[6, 63] Operation: 90-27=63
Moving to Node #0,0,2
Current State: 69:[6, 63], Operations: ['43-37=6', '90-27=63']
Exploring Operation: 6+63=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
27,
62,
30,
79
] | 47 | [
"30-27=3",
"62+79=141",
"141/3=47"
] | Current State: 47:[27, 62, 30, 79], Operations: []
Exploring Operation: 30-27=3, Resulting Numbers: [62, 79, 3]
Generated Node #2: [62, 79, 3] from Operation: 30-27=3
Current State: 47:[62, 79, 3], Operations: ['30-27=3']
Exploring Operation: 62+79=141, Resulting Numbers: [3, 141]
Generated Node #3: [3, 141] from Operation: 62+79=141
Current State: 47:[3, 141], Operations: ['30-27=3', '62+79=141']
Exploring Operation: 141/3=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[27, 62, 30, 79], Operations: []
Exploring Operation: 79-30=49, Resulting Numbers: [27, 62, 49]
Generated Node #0,0: 47:[27, 62, 49] Operation: 79-30=49
Exploring Operation: 27+30=57, Resulting Numbers: [62, 79, 57]
Generated Node #0,1: 47:[62, 79, 57] Operation: 27+30=57
Exploring Operation: 79-27=52, Resulting Numbers: [62, 30, 52]
Generated Node #0,2: 47:[62, 30, 52] Operation: 79-27=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[27, 62, 49], Operations: ['79-30=49']
Exploring Operation: 27+62=89, Resulting Numbers: [49, 89]
Generated Node #0,0,0: 47:[49, 89] Operation: 27+62=89
Exploring Operation: 49-27=22, Resulting Numbers: [62, 22]
Generated Node #0,0,1: 47:[62, 22] Operation: 49-27=22
Exploring Operation: 62-27=35, Resulting Numbers: [49, 35]
Generated Node #0,0,2: 47:[49, 35] Operation: 62-27=35
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[49, 35], Operations: ['79-30=49', '62-27=35']
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,47 unequal: No Solution
Exploring Operation: 49*35=1715, Resulting Numbers: [1715]
1715,47 unequal: No Solution
Exploring Operation: 49+35=84, Resulting Numbers: [84]
84,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[62, 22], Operations: ['79-30=49', '49-27=22']
Exploring Operation: 62-22=40, Resulting Numbers: [40]
40,47 unequal: No Solution
Exploring Operation: 62*22=1364, Resulting Numbers: [1364]
1364,47 unequal: No Solution
Exploring Operation: 62+22=84, Resulting Numbers: [84]
84,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[49, 89], Operations: ['79-30=49', '27+62=89']
Exploring Operation: 49+89=138, Resulting Numbers: [138]
138,47 unequal: No Solution
Exploring Operation: 49*89=4361, Resulting Numbers: [4361]
4361,47 unequal: No Solution
Exploring Operation: 89-49=40, Resulting Numbers: [40]
40,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[62, 30, 52], Operations: ['79-27=52']
Exploring Operation: 62+30=92, Resulting Numbers: [52, 92]
Generated Node #0,2,0: 47:[52, 92] Operation: 62+30=92
Exploring Operation: 62-30=32, Resulting Numbers: [52, 32]
Generated Node #0,2,1: 47:[52, 32] Operation: 62-30=32
Exploring Operation: 52-30=22, Resulting Numbers: [62, 22]
Generated Node #0,2,2: 47:[62, 22] Operation: 52-30=22
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 47:[52, 32], Operations: ['79-27=52', '62-30=32']
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 52*32=1664, Resulting Numbers: [1664]
1664,47 unequal: No Solution
Exploring Operation: 52+32=84, Resulting Numbers: [84]
84,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 47:[62, 22], Operations: ['79-27=52', '52-30=22']
Exploring Operation: 62*22=1364, Resulting Numbers: [1364]
1364,47 unequal: No Solution
Exploring Operation: 62+22=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Exploring Operation: 62-22=40, Resulting Numbers: [40]
40,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 47:[52, 92], Operations: ['79-27=52', '62+30=92']
Exploring Operation: 52+92=144, Resulting Numbers: [144]
144,47 unequal: No Solution
Exploring Operation: 52*92=4784, Resulting Numbers: [4784]
4784,47 unequal: No Solution
Exploring Operation: 92-52=40, Resulting Numbers: [40]
40,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[62, 79, 57], Operations: ['27+30=57']
Exploring Operation: 79-62=17, Resulting Numbers: [57, 17]
Generated Node #0,1,0: 47:[57, 17] Operation: 79-62=17
Exploring Operation: 79-57=22, Resulting Numbers: [62, 22]
Generated Node #0,1,1: 47:[62, 22] Operation: 79-57=22
Exploring Operation: 62-57=5, Resulting Numbers: [79, 5]
Generated Node #0,1,2: 47:[79, 5] Operation: 62-57=5
Moving to Node #0,1,0
Current State: 47:[57, 17], Operations: ['27+30=57', '79-62=17']
Exploring Operation: 57*17=969, Resulting Numbers: [969]
969,47 unequal: No Solution
Exploring Operation: 57+17=74, Resulting Numbers: [74]
74,47 unequal: No Solution
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[62, 22], Operations: ['27+30=57', '79-57=22']
Exploring Operation: 62*22=1364, Resulting Numbers: [1364]
1364,47 unequal: No Solution
Exploring Operation: 62-22=40, Resulting Numbers: [40]
40,47 unequal: No Solution
Exploring Operation: 62+22=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[79, 5], Operations: ['27+30=57', '62-57=5']
Exploring Operation: 79*5=395, Resulting Numbers: [395]
395,47 unequal: No Solution
Exploring Operation: 79+5=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
56,
10,
43,
62
] | 27 | [
"56-10=46",
"62-43=19",
"46-19=27"
] | Current State: 27:[56, 10, 43, 62], Operations: []
Exploring Operation: 56-10=46, Resulting Numbers: [43, 62, 46]
Generated Node #2: [43, 62, 46] from Operation: 56-10=46
Current State: 27:[43, 62, 46], Operations: ['56-10=46']
Exploring Operation: 62-43=19, Resulting Numbers: [46, 19]
Generated Node #3: [46, 19] from Operation: 62-43=19
Current State: 27:[46, 19], Operations: ['56-10=46', '62-43=19']
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[56, 10, 43, 62], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [10, 43, 6]
Generated Node #0,0: 27:[10, 43, 6] Operation: 62-56=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[10, 43, 6], Operations: ['62-56=6']
Exploring Operation: 43-10=33, Resulting Numbers: [6, 33]
Generated Node #0,0,0: 27:[6, 33] Operation: 43-10=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[6, 33], Operations: ['62-56=6', '43-10=33']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[56, 10, 43, 62], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [10, 43, 6]
Generated Node #0,0: 27:[10, 43, 6] Operation: 62-56=6
Moving to Node #0,0
Current State: 27:[10, 43, 6], Operations: ['62-56=6']
Exploring Operation: 43-10=33, Resulting Numbers: [6, 33]
Generated Node #0,0,0: 27:[6, 33] Operation: 43-10=33
Moving to Node #0,0,0
Current State: 27:[6, 33], Operations: ['62-56=6', '43-10=33']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
18,
6,
9,
64
] | 61 | [
"18-6=12",
"9+64=73",
"73-12=61"
] | Current State: 61:[18, 6, 9, 64], Operations: []
Exploring Operation: 18-6=12, Resulting Numbers: [9, 64, 12]
Generated Node #2: [9, 64, 12] from Operation: 18-6=12
Current State: 61:[9, 64, 12], Operations: ['18-6=12']
Exploring Operation: 9+64=73, Resulting Numbers: [12, 73]
Generated Node #3: [12, 73] from Operation: 9+64=73
Current State: 61:[12, 73], Operations: ['18-6=12', '9+64=73']
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[18, 6, 9, 64], Operations: []
Exploring Operation: 6*9=54, Resulting Numbers: [18, 64, 54]
Generated Node #0,0: 61:[18, 64, 54] Operation: 6*9=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[18, 64, 54], Operations: ['6*9=54']
Exploring Operation: 18+54=72, Resulting Numbers: [64, 72]
Generated Node #0,0,0: 61:[64, 72] Operation: 18+54=72
Moving to Node #0,0,0
Current State: 61:[64, 72], Operations: ['6*9=54', '18+54=72']
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,61 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 |
[
5,
85,
76,
57
] | 36 | [
"85/5=17",
"76-57=19",
"17+19=36"
] | Current State: 36:[5, 85, 76, 57], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [76, 57, 17]
Generated Node #2: [76, 57, 17] from Operation: 85/5=17
Current State: 36:[76, 57, 17], Operations: ['85/5=17']
Exploring Operation: 76-57=19, Resulting Numbers: [17, 19]
Generated Node #3: [17, 19] from Operation: 76-57=19
Current State: 36:[17, 19], Operations: ['85/5=17', '76-57=19']
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[5, 85, 76, 57], Operations: []
Exploring Operation: 85-76=9, Resulting Numbers: [5, 57, 9]
Generated Node #0,0: 36:[5, 57, 9] Operation: 85-76=9
Exploring Operation: 85-57=28, Resulting Numbers: [5, 76, 28]
Generated Node #0,1: 36:[5, 76, 28] Operation: 85-57=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[5, 57, 9], Operations: ['85-76=9']
Exploring Operation: 57-5=52, Resulting Numbers: [9, 52]
Generated Node #0,0,0: 36:[9, 52] Operation: 57-5=52
Exploring Operation: 57-9=48, Resulting Numbers: [5, 48]
Generated Node #0,0,1: 36:[5, 48] Operation: 57-9=48
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 36:[5, 48], Operations: ['85-76=9', '57-9=48']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,36 unequal: No Solution
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,36 unequal: No Solution
No 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: 36:[9, 52], Operations: ['85-76=9', '57-5=52']
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,36 unequal: No Solution
Exploring Operation: 9+52=61, Resulting Numbers: [61]
61,36 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: 36:[5, 76, 28], Operations: ['85-57=28']
Exploring Operation: 76-28=48, Resulting Numbers: [5, 48]
Generated Node #0,1,0: 36:[5, 48] Operation: 76-28=48
Exploring Operation: 76-5=71, Resulting Numbers: [28, 71]
Generated Node #0,1,1: 36:[28, 71] Operation: 76-5=71
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[5, 48], Operations: ['85-57=28', '76-28=48']
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,36 unequal: No Solution
No 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: 36:[28, 71], Operations: ['85-57=28', '76-5=71']
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,36 unequal: No Solution
Exploring Operation: 28+71=99, Resulting Numbers: [99]
99,36 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 |
[
76,
4,
44,
59
] | 23 | [
"76+4=80",
"44+59=103",
"103-80=23"
] | Current State: 23:[76, 4, 44, 59], Operations: []
Exploring Operation: 76+4=80, Resulting Numbers: [44, 59, 80]
Generated Node #2: [44, 59, 80] from Operation: 76+4=80
Current State: 23:[44, 59, 80], Operations: ['76+4=80']
Exploring Operation: 44+59=103, Resulting Numbers: [80, 103]
Generated Node #3: [80, 103] from Operation: 44+59=103
Current State: 23:[80, 103], Operations: ['76+4=80', '44+59=103']
Exploring Operation: 103-80=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[76, 4, 44, 59], Operations: []
Exploring Operation: 76-44=32, Resulting Numbers: [4, 59, 32]
Generated Node #0,0: 23:[4, 59, 32] Operation: 76-44=32
Exploring Operation: 76/4=19, Resulting Numbers: [44, 59, 19]
Generated Node #0,1: 23:[44, 59, 19] Operation: 76/4=19
Exploring Operation: 76-59=17, Resulting Numbers: [4, 44, 17]
Generated Node #0,2: 23:[4, 44, 17] Operation: 76-59=17
Exploring Operation: 59-44=15, Resulting Numbers: [76, 4, 15]
Generated Node #0,3: 23:[76, 4, 15] Operation: 59-44=15
Moving to Node #0,2
Current State: 23:[4, 44, 17], Operations: ['76-59=17']
Exploring Operation: 44-17=27, Resulting Numbers: [4, 27]
Generated Node #0,2,0: 23:[4, 27] Operation: 44-17=27
Exploring Operation: 44/4=11, Resulting Numbers: [17, 11]
Generated Node #0,2,1: 23:[17, 11] Operation: 44/4=11
Exploring Operation: 44-4=40, Resulting Numbers: [17, 40]
Generated Node #0,2,2: 23:[17, 40] Operation: 44-4=40
Exploring Operation: 4+17=21, Resulting Numbers: [44, 21]
Generated Node #0,2,3: 23:[44, 21] Operation: 4+17=21
Moving to Node #0,1
Current State: 23:[44, 59, 19], Operations: ['76/4=19']
Exploring Operation: 44+19=63, Resulting Numbers: [59, 63]
Generated Node #0,1,0: 23:[59, 63] Operation: 44+19=63
Exploring Operation: 59-19=40, Resulting Numbers: [44, 40]
Generated Node #0,1,1: 23:[44, 40] Operation: 59-19=40
Exploring Operation: 59-44=15, Resulting Numbers: [19, 15]
Generated Node #0,1,2: 23:[19, 15] Operation: 59-44=15
Exploring Operation: 44-19=25, Resulting Numbers: [59, 25]
Generated Node #0,1,3: 23:[59, 25] Operation: 44-19=25
Moving to Node #0,0
Current State: 23:[4, 59, 32], Operations: ['76-44=32']
Exploring Operation: 32-4=28, Resulting Numbers: [59, 28]
Generated Node #0,0,0: 23:[59, 28] Operation: 32-4=28
Exploring Operation: 59-32=27, Resulting Numbers: [4, 27]
Generated Node #0,0,1: 23:[4, 27] Operation: 59-32=27
Exploring Operation: 4+59=63, Resulting Numbers: [32, 63]
Generated Node #0,0,2: 23:[32, 63] Operation: 4+59=63
Exploring Operation: 59-4=55, Resulting Numbers: [32, 55]
Generated Node #0,0,3: 23:[32, 55] Operation: 59-4=55
Moving to Node #0,3
Current State: 23:[76, 4, 15], Operations: ['59-44=15']
Exploring Operation: 76-4=72, Resulting Numbers: [15, 72]
Generated Node #0,3,0: 23:[15, 72] Operation: 76-4=72
Exploring Operation: 4+15=19, Resulting Numbers: [76, 19]
Generated Node #0,3,1: 23:[76, 19] Operation: 4+15=19
Exploring Operation: 76/4=19, Resulting Numbers: [15, 19]
Generated Node #0,3,2: 23:[15, 19] Operation: 76/4=19
Exploring Operation: 76-15=61, Resulting Numbers: [4, 61]
Generated Node #0,3,3: 23:[4, 61] Operation: 76-15=61
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 23:[15, 19], Operations: ['59-44=15', '76/4=19']
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
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,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:[15, 72], Operations: ['59-44=15', '76-4=72']
Exploring Operation: 15*72=1080, Resulting Numbers: [1080]
1080,23 unequal: No Solution
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,23 unequal: No Solution
Exploring Operation: 15+72=87, Resulting Numbers: [87]
87,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,1
Current State: 23:[76, 19], Operations: ['59-44=15', '4+15=19']
Exploring Operation: 76+19=95, Resulting Numbers: [95]
95,23 unequal: No Solution
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,23 unequal: No Solution
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 76*19=1444, Resulting Numbers: [1444]
1444,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:[4, 61], Operations: ['59-44=15', '76-15=61']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,23 unequal: No Solution
Exploring Operation: 4+61=65, Resulting Numbers: [65]
65,23 unequal: No Solution
Exploring Operation: 4*61=244, Resulting Numbers: [244]
244,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 23:[19, 15], Operations: ['76/4=19', '59-44=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,23 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[17, 11], Operations: ['76-59=17', '44/4=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[17, 40], Operations: ['76-59=17', '44-4=40']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[76, 4, 44, 59], Operations: []
Exploring Operation: 76-59=17, Resulting Numbers: [4, 44, 17]
Generated Node #0,2: 23:[4, 44, 17] Operation: 76-59=17
Moving to Node #0,2
Current State: 23:[4, 44, 17], Operations: ['76-59=17']
Exploring Operation: 44-4=40, Resulting Numbers: [17, 40]
Generated Node #0,2,2: 23:[17, 40] Operation: 44-4=40
Moving to Node #0,2,2
Current State: 23:[17, 40], Operations: ['76-59=17', '44-4=40']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 0.961806 | hs_4 | mult_heuristic |
[
9,
84,
6,
75
] | 98 | [
"9+75=84",
"84/6=14",
"84+14=98"
] | Current State: 98:[9, 84, 6, 75], Operations: []
Exploring Operation: 9+75=84, Resulting Numbers: [84, 6, 84]
Generated Node #2: [84, 6, 84] from Operation: 9+75=84
Current State: 98:[84, 6, 84], Operations: ['9+75=84']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,98 equal: Goal Reached
Exploring Operation: 84+14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[9, 84, 6, 75], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [9, 6, 9]
Generated Node #0,0: 98:[9, 6, 9] Operation: 84-75=9
Exploring Operation: 84/6=14, Resulting Numbers: [9, 75, 14]
Generated Node #0,1: 98:[9, 75, 14] Operation: 84/6=14
Moving to Node #0,0
Current State: 98:[9, 6, 9], Operations: ['84-75=9']
Exploring Operation: 9/9=1, Resulting Numbers: [6, 1]
Generated Node #0,0,0: 98:[6, 1] Operation: 9/9=1
Exploring Operation: 9+6=15, Resulting Numbers: [9, 15]
Generated Node #0,0,1: 98:[9, 15] Operation: 9+6=15
Moving to Node #0,1
Current State: 98:[9, 75, 14], Operations: ['84/6=14']
Exploring Operation: 9+75=84, Resulting Numbers: [14, 84]
Generated Node #0,1,0: 98:[14, 84] Operation: 9+75=84
Exploring Operation: 75+14=89, Resulting Numbers: [9, 89]
Generated Node #0,1,1: 98:[9, 89] Operation: 75+14=89
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[9, 89], Operations: ['84/6=14', '75+14=89']
Exploring Operation: 9+89=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[9, 84, 6, 75], Operations: []
Exploring Operation: 84/6=14, Resulting Numbers: [9, 75, 14]
Generated Node #0,1: 98:[9, 75, 14] Operation: 84/6=14
Moving to Node #0,1
Current State: 98:[9, 75, 14], Operations: ['84/6=14']
Exploring Operation: 75+14=89, Resulting Numbers: [9, 89]
Generated Node #0,1,1: 98:[9, 89] Operation: 75+14=89
Moving to Node #0,1,1
Current State: 98:[9, 89], Operations: ['84/6=14', '75+14=89']
Exploring Operation: 9+89=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
65,
81,
18,
53
] | 54 | [
"65-53=12",
"81*12=972",
"972/18=54"
] | Current State: 54:[65, 81, 18, 53], Operations: []
Exploring Operation: 65-53=12, Resulting Numbers: [81, 18, 12]
Generated Node #2: [81, 18, 12] from Operation: 65-53=12
Current State: 54:[81, 18, 12], Operations: ['65-53=12']
Exploring Operation: 81*12=972, Resulting Numbers: [18, 972]
Generated Node #3: [18, 972] from Operation: 81*12=972
Current State: 54:[18, 972], Operations: ['65-53=12', '81*12=972']
Exploring Operation: 972/18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[65, 81, 18, 53], Operations: []
Exploring Operation: 81-65=16, Resulting Numbers: [18, 53, 16]
Generated Node #0,0: 54:[18, 53, 16] Operation: 81-65=16
Exploring Operation: 81-18=63, Resulting Numbers: [65, 53, 63]
Generated Node #0,1: 54:[65, 53, 63] Operation: 81-18=63
Exploring Operation: 65-53=12, Resulting Numbers: [81, 18, 12]
Generated Node #0,2: 54:[81, 18, 12] Operation: 65-53=12
Exploring Operation: 81-53=28, Resulting Numbers: [65, 18, 28]
Generated Node #0,3: 54:[65, 18, 28] Operation: 81-53=28
Moving to Node #0,0
Current State: 54:[18, 53, 16], Operations: ['81-65=16']
Exploring Operation: 18-16=2, Resulting Numbers: [53, 2]
Generated Node #0,0,0: 54:[53, 2] Operation: 18-16=2
Exploring Operation: 53-18=35, Resulting Numbers: [16, 35]
Generated Node #0,0,1: 54:[16, 35] Operation: 53-18=35
Exploring Operation: 53-16=37, Resulting Numbers: [18, 37]
Generated Node #0,0,2: 54:[18, 37] Operation: 53-16=37
Exploring Operation: 18+16=34, Resulting Numbers: [53, 34]
Generated Node #0,0,3: 54:[53, 34] Operation: 18+16=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[53, 2], Operations: ['81-65=16', '18-16=2']
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,54 unequal: No Solution
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,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,0,3
Current State: 54:[53, 34], Operations: ['81-65=16', '18+16=34']
Exploring Operation: 53+34=87, Resulting Numbers: [87]
87,54 unequal: No Solution
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 53*34=1802, Resulting Numbers: [1802]
1802,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,0,1
Current State: 54:[16, 35], Operations: ['81-65=16', '53-18=35']
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 16+35=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 16*35=560, Resulting Numbers: [560]
560,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,0,2
Current State: 54:[18, 37], Operations: ['81-65=16', '53-16=37']
Exploring Operation: 18*37=666, Resulting Numbers: [666]
666,54 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 18+37=55, Resulting Numbers: [55]
55,54 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: 54:[65, 18, 28], Operations: ['81-53=28']
Exploring Operation: 65-18=47, Resulting Numbers: [28, 47]
Generated Node #0,3,0: 54:[28, 47] Operation: 65-18=47
Exploring Operation: 18+28=46, Resulting Numbers: [65, 46]
Generated Node #0,3,1: 54:[65, 46] Operation: 18+28=46
Exploring Operation: 28-18=10, Resulting Numbers: [65, 10]
Generated Node #0,3,2: 54:[65, 10] Operation: 28-18=10
Exploring Operation: 65-28=37, Resulting Numbers: [18, 37]
Generated Node #0,3,3: 54:[18, 37] Operation: 65-28=37
Moving to Node #0,1
Current State: 54:[65, 53, 63], Operations: ['81-18=63']
Exploring Operation: 65-53=12, Resulting Numbers: [63, 12]
Generated Node #0,1,0: 54:[63, 12] Operation: 65-53=12
Exploring Operation: 63-53=10, Resulting Numbers: [65, 10]
Generated Node #0,1,1: 54:[65, 10] Operation: 63-53=10
Exploring Operation: 65+53=118, Resulting Numbers: [63, 118]
Generated Node #0,1,2: 54:[63, 118] Operation: 65+53=118
Exploring Operation: 65-63=2, Resulting Numbers: [53, 2]
Generated Node #0,1,3: 54:[53, 2] Operation: 65-63=2
Moving to Node #0,2
Current State: 54:[81, 18, 12], Operations: ['65-53=12']
Exploring Operation: 18-12=6, Resulting Numbers: [81, 6]
Generated Node #0,2,0: 54:[81, 6] Operation: 18-12=6
Exploring Operation: 18+12=30, Resulting Numbers: [81, 30]
Generated Node #0,2,1: 54:[81, 30] Operation: 18+12=30
Exploring Operation: 81-12=69, Resulting Numbers: [18, 69]
Generated Node #0,2,2: 54:[18, 69] Operation: 81-12=69
Exploring Operation: 81-18=63, Resulting Numbers: [12, 63]
Generated Node #0,2,3: 54:[12, 63] Operation: 81-18=63
Moving to Node #0,1,3
Current State: 54:[53, 2], Operations: ['81-18=63', '65-63=2']
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,54 unequal: No Solution
Moving to Node #0,3,0
Current State: 54:[28, 47], Operations: ['81-53=28', '65-18=47']
Exploring Operation: 28*47=1316, Resulting Numbers: [1316]
1316,54 unequal: No Solution
Exploring Operation: 28+47=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Moving to Node #0,3,3
Current State: 54:[18, 37], Operations: ['81-53=28', '65-28=37']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 18+37=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 18*37=666, Resulting Numbers: [666]
666,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[65, 10], Operations: ['81-53=28', '28-18=10']
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[65, 10], Operations: ['81-18=63', '63-53=10']
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[63, 12], Operations: ['81-18=63', '65-53=12']
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 63+12=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 63*12=756, Resulting Numbers: [756]
756,54 unequal: No Solution
Moving to Node #0,2,3
Current State: 54:[12, 63], Operations: ['65-53=12', '81-18=63']
Exploring Operation: 12+63=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 12*63=756, Resulting Numbers: [756]
756,54 unequal: No Solution
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[18, 69], Operations: ['65-53=12', '81-12=69']
Exploring Operation: 18+69=87, Resulting Numbers: [87]
87,54 unequal: No Solution
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 18*69=1242, Resulting Numbers: [1242]
1242,54 unequal: No Solution
Moving to Node #0,3,1
Current State: 54:[65, 46], Operations: ['81-53=28', '18+28=46']
Exploring Operation: 65+46=111, Resulting Numbers: [111]
111,54 unequal: No Solution
Exploring Operation: 65*46=2990, Resulting Numbers: [2990]
2990,54 unequal: No Solution
Exploring Operation: 65-46=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[81, 6], Operations: ['65-53=12', '18-12=6']
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 81+6=87, Resulting Numbers: [87]
87,54 unequal: No Solution
Exploring Operation: 81*6=486, Resulting Numbers: [486]
486,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[81, 30], Operations: ['65-53=12', '18+12=30']
Exploring Operation: 81+30=111, Resulting Numbers: [111]
111,54 unequal: No Solution
Exploring Operation: 81*30=2430, Resulting Numbers: [2430]
2430,54 unequal: No Solution
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[63, 118], Operations: ['81-18=63', '65+53=118']
Exploring Operation: 63*118=7434, Resulting Numbers: [7434]
7434,54 unequal: No Solution
Exploring Operation: 63+118=181, Resulting Numbers: [181]
181,54 unequal: No Solution
Exploring Operation: 118-63=55, Resulting Numbers: [55]
55,54 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
85,
67,
34,
38
] | 30 | [
"85+67=152",
"152/38=4",
"34-4=30"
] | Current State: 30:[85, 67, 34, 38], Operations: []
Exploring Operation: 85+67=152, Resulting Numbers: [34, 38, 152]
Generated Node #2: [34, 38, 152] from Operation: 85+67=152
Current State: 30:[34, 38, 152], Operations: ['85+67=152']
Exploring Operation: 152/38=4, Resulting Numbers: [34, 4]
Generated Node #3: [34, 4] from Operation: 152/38=4
Current State: 30:[34, 4], Operations: ['85+67=152', '152/38=4']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[85, 67, 34, 38], Operations: []
Exploring Operation: 85-38=47, Resulting Numbers: [67, 34, 47]
Generated Node #0,0: 30:[67, 34, 47] Operation: 85-38=47
Exploring Operation: 85-67=18, Resulting Numbers: [34, 38, 18]
Generated Node #0,1: 30:[34, 38, 18] Operation: 85-67=18
Moving to Node #0,1
Current State: 30:[34, 38, 18], Operations: ['85-67=18']
Exploring Operation: 34-18=16, Resulting Numbers: [38, 16]
Generated Node #0,1,0: 30:[38, 16] Operation: 34-18=16
Exploring Operation: 38-34=4, Resulting Numbers: [18, 4]
Generated Node #0,1,1: 30:[18, 4] Operation: 38-34=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[18, 4], Operations: ['85-67=18', '38-34=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[38, 16], Operations: ['85-67=18', '34-18=16']
Exploring Operation: 38+16=54, Resulting Numbers: [54]
54,30 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,30 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: 30:[67, 34, 47], Operations: ['85-38=47']
Exploring Operation: 67-34=33, Resulting Numbers: [47, 33]
Generated Node #0,0,0: 30:[47, 33] Operation: 67-34=33
Exploring Operation: 67-47=20, Resulting Numbers: [34, 20]
Generated Node #0,0,1: 30:[34, 20] Operation: 67-47=20
Moving to Node #0,0,1
Current State: 30:[34, 20], Operations: ['85-38=47', '67-47=20']
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[47, 33], Operations: ['85-38=47', '67-34=33']
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 47+33=80, Resulting Numbers: [80]
80,30 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
26,
69,
57,
35
] | 49 | [
"69-26=43",
"57+35=92",
"92-43=49"
] | Current State: 49:[26, 69, 57, 35], Operations: []
Exploring Operation: 69-26=43, Resulting Numbers: [57, 35, 43]
Generated Node #2: [57, 35, 43] from Operation: 69-26=43
Current State: 49:[57, 35, 43], Operations: ['69-26=43']
Exploring Operation: 57+35=92, Resulting Numbers: [43, 92]
Generated Node #3: [43, 92] from Operation: 57+35=92
Current State: 49:[43, 92], Operations: ['69-26=43', '57+35=92']
Exploring Operation: 92-43=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[26, 69, 57, 35], Operations: []
Exploring Operation: 26+35=61, Resulting Numbers: [69, 57, 61]
Generated Node #0,0: 49:[69, 57, 61] Operation: 26+35=61
Exploring Operation: 69-26=43, Resulting Numbers: [57, 35, 43]
Generated Node #0,1: 49:[57, 35, 43] Operation: 69-26=43
Exploring Operation: 35-26=9, Resulting Numbers: [69, 57, 9]
Generated Node #0,2: 49:[69, 57, 9] Operation: 35-26=9
Exploring Operation: 69-57=12, Resulting Numbers: [26, 35, 12]
Generated Node #0,3: 49:[26, 35, 12] Operation: 69-57=12
Moving to Node #0,1
Current State: 49:[57, 35, 43], Operations: ['69-26=43']
Exploring Operation: 57-43=14, Resulting Numbers: [35, 14]
Generated Node #0,1,0: 49:[35, 14] Operation: 57-43=14
Exploring Operation: 43-35=8, Resulting Numbers: [57, 8]
Generated Node #0,1,1: 49:[57, 8] Operation: 43-35=8
Exploring Operation: 57-35=22, Resulting Numbers: [43, 22]
Generated Node #0,1,2: 49:[43, 22] Operation: 57-35=22
Exploring Operation: 35+43=78, Resulting Numbers: [57, 78]
Generated Node #0,1,3: 49:[57, 78] Operation: 35+43=78
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[57, 8], Operations: ['69-26=43', '43-35=8']
Exploring Operation: 57-8=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[26, 69, 57, 35], Operations: []
Exploring Operation: 69-26=43, Resulting Numbers: [57, 35, 43]
Generated Node #0,1: 49:[57, 35, 43] Operation: 69-26=43
Moving to Node #0,1
Current State: 49:[57, 35, 43], Operations: ['69-26=43']
Exploring Operation: 43-35=8, Resulting Numbers: [57, 8]
Generated Node #0,1,1: 49:[57, 8] Operation: 43-35=8
Moving to Node #0,1,1
Current State: 49:[57, 8], Operations: ['69-26=43', '43-35=8']
Exploring Operation: 57-8=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
22,
72,
69,
67
] | 92 | [
"22+72=94",
"69-67=2",
"94-2=92"
] | Current State: 92:[22, 72, 69, 67], Operations: []
Exploring Operation: 22+72=94, Resulting Numbers: [69, 67, 94]
Generated Node #2: [69, 67, 94] from Operation: 22+72=94
Current State: 92:[69, 67, 94], Operations: ['22+72=94']
Exploring Operation: 69-67=2, Resulting Numbers: [94, 2]
Generated Node #3: [94, 2] from Operation: 69-67=2
Current State: 92:[94, 2], Operations: ['22+72=94', '69-67=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[22, 72, 69, 67], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [22, 72, 2]
Generated Node #0,0: 92:[22, 72, 2] Operation: 69-67=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[22, 72, 2], Operations: ['69-67=2']
Exploring Operation: 22+72=94, Resulting Numbers: [2, 94]
Generated Node #0,0,0: 92:[2, 94] Operation: 22+72=94
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[2, 94], Operations: ['69-67=2', '22+72=94']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[22, 72, 69, 67], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [22, 72, 2]
Generated Node #0,0: 92:[22, 72, 2] Operation: 69-67=2
Moving to Node #0,0
Current State: 92:[22, 72, 2], Operations: ['69-67=2']
Exploring Operation: 22+72=94, Resulting Numbers: [2, 94]
Generated Node #0,0,0: 92:[2, 94] Operation: 22+72=94
Moving to Node #0,0,0
Current State: 92:[2, 94], Operations: ['69-67=2', '22+72=94']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
2,
18,
63,
56
] | 99 | [
"2+18=20",
"63+56=119",
"119-20=99"
] | Current State: 99:[2, 18, 63, 56], Operations: []
Exploring Operation: 2+18=20, Resulting Numbers: [63, 56, 20]
Generated Node #2: [63, 56, 20] from Operation: 2+18=20
Current State: 99:[63, 56, 20], Operations: ['2+18=20']
Exploring Operation: 63+56=119, Resulting Numbers: [20, 119]
Generated Node #3: [20, 119] from Operation: 63+56=119
Current State: 99:[20, 119], Operations: ['2+18=20', '63+56=119']
Exploring Operation: 119-20=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[2, 18, 63, 56], Operations: []
Exploring Operation: 63+56=119, Resulting Numbers: [2, 18, 119]
Generated Node #0,0: 99:[2, 18, 119] Operation: 63+56=119
Exploring Operation: 63-56=7, Resulting Numbers: [2, 18, 7]
Generated Node #0,1: 99:[2, 18, 7] Operation: 63-56=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[2, 18, 7], Operations: ['63-56=7']
Exploring Operation: 18/2=9, Resulting Numbers: [7, 9]
Generated Node #0,1,0: 99:[7, 9] Operation: 18/2=9
Exploring Operation: 18-7=11, Resulting Numbers: [2, 11]
Generated Node #0,1,1: 99:[2, 11] Operation: 18-7=11
Moving to Node #0,1,1
Current State: 99:[2, 11], Operations: ['63-56=7', '18-7=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[7, 9], Operations: ['63-56=7', '18/2=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[2, 18, 119], Operations: ['63+56=119']
Exploring Operation: 18/2=9, Resulting Numbers: [119, 9]
Generated Node #0,0,0: 99:[119, 9] Operation: 18/2=9
Exploring Operation: 119-18=101, Resulting Numbers: [2, 101]
Generated Node #0,0,1: 99:[2, 101] Operation: 119-18=101
Moving to Node #0,0,1
Current State: 99:[2, 101], Operations: ['63+56=119', '119-18=101']
Exploring Operation: 2+101=103, Resulting Numbers: [103]
103,99 unequal: No Solution
Exploring Operation: 101-2=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[2, 18, 63, 56], Operations: []
Exploring Operation: 63+56=119, Resulting Numbers: [2, 18, 119]
Generated Node #0,0: 99:[2, 18, 119] Operation: 63+56=119
Moving to Node #0,0
Current State: 99:[2, 18, 119], Operations: ['63+56=119']
Exploring Operation: 119-18=101, Resulting Numbers: [2, 101]
Generated Node #0,0,1: 99:[2, 101] Operation: 119-18=101
Moving to Node #0,0,1
Current State: 99:[2, 101], Operations: ['63+56=119', '119-18=101']
Exploring Operation: 101-2=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
7,
43,
2,
43
] | 15 | [
"7*2=14",
"43/43=1",
"14+1=15"
] | Current State: 15:[7, 43, 2, 43], Operations: []
Exploring Operation: 7*2=14, Resulting Numbers: [43, 43, 14]
Generated Node #2: [43, 43, 14] from Operation: 7*2=14
Current State: 15:[43, 43, 14], Operations: ['7*2=14']
Exploring Operation: 43/43=1, Resulting Numbers: [14, 1]
Generated Node #3: [14, 1] from Operation: 43/43=1
Current State: 15:[14, 1], Operations: ['7*2=14', '43/43=1']
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[7, 43, 2, 43], Operations: []
Exploring Operation: 43-43=0, Resulting Numbers: [7, 2, 0]
Generated Node #0,0: 15:[7, 2, 0] Operation: 43-43=0
Exploring Operation: 43/43=1, Resulting Numbers: [7, 2, 1]
Generated Node #0,1: 15:[7, 2, 1] Operation: 43/43=1
Moving to Node #0,1
Current State: 15:[7, 2, 1], Operations: ['43/43=1']
Exploring Operation: 7-2=5, Resulting Numbers: [1, 5]
Generated Node #0,1,0: 15:[1, 5] Operation: 7-2=5
Exploring Operation: 7-1=6, Resulting Numbers: [2, 6]
Generated Node #0,1,1: 15:[2, 6] Operation: 7-1=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 15:[1, 5], Operations: ['43/43=1', '7-2=5']
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 15:[2, 6], Operations: ['43/43=1', '7-1=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,15 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: 15:[7, 2, 0], Operations: ['43-43=0']
Exploring Operation: 7+0=7, Resulting Numbers: [2, 7]
Generated Node #0,0,0: 15:[2, 7] Operation: 7+0=7
Exploring Operation: 7-2=5, Resulting Numbers: [0, 5]
Generated Node #0,0,1: 15:[0, 5] Operation: 7-2=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[2, 7], Operations: ['43-43=0', '7+0=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[0, 5], Operations: ['43-43=0', '7-2=5']
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 0+5=5, Resulting Numbers: [5]
5,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
28,
3,
91,
25
] | 46 | [
"91-28=63",
"63/3=21",
"25+21=46"
] | Current State: 46:[28, 3, 91, 25], Operations: []
Exploring Operation: 91-28=63, Resulting Numbers: [3, 25, 63]
Generated Node #2: [3, 25, 63] from Operation: 91-28=63
Current State: 46:[3, 25, 63], Operations: ['91-28=63']
Exploring Operation: 63/3=21, Resulting Numbers: [25, 21]
Generated Node #3: [25, 21] from Operation: 63/3=21
Current State: 46:[25, 21], Operations: ['91-28=63', '63/3=21']
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[28, 3, 91, 25], Operations: []
Exploring Operation: 91-28=63, Resulting Numbers: [3, 25, 63]
Generated Node #0,0: 46:[3, 25, 63] Operation: 91-28=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[3, 25, 63], Operations: ['91-28=63']
Exploring Operation: 63/3=21, Resulting Numbers: [25, 21]
Generated Node #0,0,0: 46:[25, 21] Operation: 63/3=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[25, 21], Operations: ['91-28=63', '63/3=21']
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[28, 3, 91, 25], Operations: []
Exploring Operation: 91-28=63, Resulting Numbers: [3, 25, 63]
Generated Node #0,0: 46:[3, 25, 63] Operation: 91-28=63
Moving to Node #0,0
Current State: 46:[3, 25, 63], Operations: ['91-28=63']
Exploring Operation: 63/3=21, Resulting Numbers: [25, 21]
Generated Node #0,0,0: 46:[25, 21] Operation: 63/3=21
Moving to Node #0,0,0
Current State: 46:[25, 21], Operations: ['91-28=63', '63/3=21']
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
17,
45,
60,
88
] | 56 | [
"45-17=28",
"88-60=28",
"28+28=56"
] | Current State: 56:[17, 45, 60, 88], Operations: []
Exploring Operation: 45-17=28, Resulting Numbers: [60, 88, 28]
Generated Node #2: [60, 88, 28] from Operation: 45-17=28
Current State: 56:[60, 88, 28], Operations: ['45-17=28']
Exploring Operation: 88-60=28, Resulting Numbers: [28, 28]
Generated Node #3: [28, 28] from Operation: 88-60=28
Current State: 56:[28, 28], Operations: ['45-17=28', '88-60=28']
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[17, 45, 60, 88], Operations: []
Exploring Operation: 88-60=28, Resulting Numbers: [17, 45, 28]
Generated Node #0,0: 56:[17, 45, 28] Operation: 88-60=28
Exploring Operation: 88-45=43, Resulting Numbers: [17, 60, 43]
Generated Node #0,1: 56:[17, 60, 43] Operation: 88-45=43
Exploring Operation: 88-17=71, Resulting Numbers: [45, 60, 71]
Generated Node #0,2: 56:[45, 60, 71] Operation: 88-17=71
Moving to Node #0,0
Current State: 56:[17, 45, 28], Operations: ['88-60=28']
Exploring Operation: 45-17=28, Resulting Numbers: [28, 28]
Generated Node #0,0,0: 56:[28, 28] Operation: 45-17=28
Exploring Operation: 17+45=62, Resulting Numbers: [28, 62]
Generated Node #0,0,1: 56:[28, 62] Operation: 17+45=62
Exploring Operation: 45-28=17, Resulting Numbers: [17, 17]
Generated Node #0,0,2: 56:[17, 17] Operation: 45-28=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[28, 28], Operations: ['88-60=28', '45-17=28']
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[17, 45, 60, 88], Operations: []
Exploring Operation: 88-60=28, Resulting Numbers: [17, 45, 28]
Generated Node #0,0: 56:[17, 45, 28] Operation: 88-60=28
Moving to Node #0,0
Current State: 56:[17, 45, 28], Operations: ['88-60=28']
Exploring Operation: 45-17=28, Resulting Numbers: [28, 28]
Generated Node #0,0,0: 56:[28, 28] Operation: 45-17=28
Moving to Node #0,0,0
Current State: 56:[28, 28], Operations: ['88-60=28', '45-17=28']
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
48,
55,
60,
25
] | 24 | [
"55-25=30",
"48*30=1440",
"1440/60=24"
] | Current State: 24:[48, 55, 60, 25], Operations: []
Exploring Operation: 55-25=30, Resulting Numbers: [48, 60, 30]
Generated Node #2: [48, 60, 30] from Operation: 55-25=30
Current State: 24:[48, 60, 30], Operations: ['55-25=30']
Exploring Operation: 48*30=1440, Resulting Numbers: [60, 1440]
Generated Node #3: [60, 1440] from Operation: 48*30=1440
Current State: 24:[60, 1440], Operations: ['55-25=30', '48*30=1440']
Exploring Operation: 1440/60=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[48, 55, 60, 25], Operations: []
Exploring Operation: 55-25=30, Resulting Numbers: [48, 60, 30]
Generated Node #0,0: 24:[48, 60, 30] Operation: 55-25=30
Exploring Operation: 60-55=5, Resulting Numbers: [48, 25, 5]
Generated Node #0,1: 24:[48, 25, 5] Operation: 60-55=5
Exploring Operation: 60-48=12, Resulting Numbers: [55, 25, 12]
Generated Node #0,2: 24:[55, 25, 12] Operation: 60-48=12
Exploring Operation: 55-48=7, Resulting Numbers: [60, 25, 7]
Generated Node #0,3: 24:[60, 25, 7] Operation: 55-48=7
Moving to Node #0,1
Current State: 24:[48, 25, 5], Operations: ['60-55=5']
Exploring Operation: 25/5=5, Resulting Numbers: [48, 5]
Generated Node #0,1,0: 24:[48, 5] Operation: 25/5=5
Exploring Operation: 48-5=43, Resulting Numbers: [25, 43]
Generated Node #0,1,1: 24:[25, 43] Operation: 48-5=43
Exploring Operation: 25-5=20, Resulting Numbers: [48, 20]
Generated Node #0,1,2: 24:[48, 20] Operation: 25-5=20
Exploring Operation: 48-25=23, Resulting Numbers: [5, 23]
Generated Node #0,1,3: 24:[5, 23] Operation: 48-25=23
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 24:[5, 23], Operations: ['60-55=5', '48-25=23']
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,24 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[25, 43], Operations: ['60-55=5', '48-5=43']
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,24 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[48, 5], Operations: ['60-55=5', '25/5=5']
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,24 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[48, 20], Operations: ['60-55=5', '25-5=20']
Exploring Operation: 48+20=68, Resulting Numbers: [68]
68,24 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,24 unequal: No Solution
Exploring Operation: 48*20=960, Resulting Numbers: [960]
960,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 24:[55, 25, 12], Operations: ['60-48=12']
Exploring Operation: 55-12=43, Resulting Numbers: [25, 43]
Generated Node #0,2,0: 24:[25, 43] Operation: 55-12=43
Exploring Operation: 55+12=67, Resulting Numbers: [25, 67]
Generated Node #0,2,1: 24:[25, 67] Operation: 55+12=67
Exploring Operation: 55-25=30, Resulting Numbers: [12, 30]
Generated Node #0,2,2: 24:[12, 30] Operation: 55-25=30
Exploring Operation: 25-12=13, Resulting Numbers: [55, 13]
Generated Node #0,2,3: 24:[55, 13] Operation: 25-12=13
Moving to Node #0,3
Current State: 24:[60, 25, 7], Operations: ['55-48=7']
Exploring Operation: 60+7=67, Resulting Numbers: [25, 67]
Generated Node #0,3,0: 24:[25, 67] Operation: 60+7=67
Exploring Operation: 60-7=53, Resulting Numbers: [25, 53]
Generated Node #0,3,1: 24:[25, 53] Operation: 60-7=53
Exploring Operation: 60-25=35, Resulting Numbers: [7, 35]
Generated Node #0,3,2: 24:[7, 35] Operation: 60-25=35
Exploring Operation: 25-7=18, Resulting Numbers: [60, 18]
Generated Node #0,3,3: 24:[60, 18] Operation: 25-7=18
Moving to Node #0,0
Current State: 24:[48, 60, 30], Operations: ['55-25=30']
Exploring Operation: 60-48=12, Resulting Numbers: [30, 12]
Generated Node #0,0,0: 24:[30, 12] Operation: 60-48=12
Exploring Operation: 60-30=30, Resulting Numbers: [48, 30]
Generated Node #0,0,1: 24:[48, 30] Operation: 60-30=30
Exploring Operation: 48-30=18, Resulting Numbers: [60, 18]
Generated Node #0,0,2: 24:[60, 18] Operation: 48-30=18
Exploring Operation: 60/30=2, Resulting Numbers: [48, 2]
Generated Node #0,0,3: 24:[48, 2] Operation: 60/30=2
Moving to Node #0,2,2
Current State: 24:[12, 30], Operations: ['60-48=12', '55-25=30']
Exploring Operation: 12*30=360, Resulting Numbers: [360]
360,24 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[30, 12], Operations: ['55-25=30', '60-48=12']
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,24 unequal: No Solution
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,24 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Moving to Node #0,3,2
Current State: 24:[7, 35], Operations: ['55-48=7', '60-25=35']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,24 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 7*35=245, Resulting Numbers: [245]
245,24 unequal: No Solution
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,24 unequal: No Solution
Moving to Node #0,2,0
Current State: 24:[25, 43], Operations: ['60-48=12', '55-12=43']
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,24 unequal: No Solution
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,24 unequal: No Solution
Moving to Node #0,0,3
Current State: 24:[48, 2], Operations: ['55-25=30', '60/30=2']
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,24 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,24 unequal: No Solution
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,24 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[48, 55, 60, 25], Operations: []
Exploring Operation: 55-25=30, Resulting Numbers: [48, 60, 30]
Generated Node #0,0: 24:[48, 60, 30] Operation: 55-25=30
Moving to Node #0,0
Current State: 24:[48, 60, 30], Operations: ['55-25=30']
Exploring Operation: 60/30=2, Resulting Numbers: [48, 2]
Generated Node #0,0,3: 24:[48, 2] Operation: 60/30=2
Moving to Node #0,0,3
Current State: 24:[48, 2], Operations: ['55-25=30', '60/30=2']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.953993 | hs_4 | sum_heuristic |
[
35,
42,
18,
4
] | 19 | [
"35*18=630",
"630/42=15",
"4+15=19"
] | Current State: 19:[35, 42, 18, 4], Operations: []
Exploring Operation: 35*18=630, Resulting Numbers: [42, 4, 630]
Generated Node #2: [42, 4, 630] from Operation: 35*18=630
Current State: 19:[42, 4, 630], Operations: ['35*18=630']
Exploring Operation: 630/42=15, Resulting Numbers: [4, 15]
Generated Node #3: [4, 15] from Operation: 630/42=15
Current State: 19:[4, 15], Operations: ['35*18=630', '630/42=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[35, 42, 18, 4], Operations: []
Exploring Operation: 42-35=7, Resulting Numbers: [18, 4, 7]
Generated Node #0,0: 19:[18, 4, 7] Operation: 42-35=7
Exploring Operation: 42-4=38, Resulting Numbers: [35, 18, 38]
Generated Node #0,1: 19:[35, 18, 38] Operation: 42-4=38
Exploring Operation: 42-18=24, Resulting Numbers: [35, 4, 24]
Generated Node #0,2: 19:[35, 4, 24] Operation: 42-18=24
Exploring Operation: 35-4=31, Resulting Numbers: [42, 18, 31]
Generated Node #0,3: 19:[42, 18, 31] Operation: 35-4=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[18, 4, 7], Operations: ['42-35=7']
Exploring Operation: 4*7=28, Resulting Numbers: [18, 28]
Generated Node #0,0,0: 19:[18, 28] Operation: 4*7=28
Exploring Operation: 18-4=14, Resulting Numbers: [7, 14]
Generated Node #0,0,1: 19:[7, 14] Operation: 18-4=14
Exploring Operation: 18+4=22, Resulting Numbers: [7, 22]
Generated Node #0,0,2: 19:[7, 22] Operation: 18+4=22
Exploring Operation: 4+7=11, Resulting Numbers: [18, 11]
Generated Node #0,0,3: 19:[18, 11] Operation: 4+7=11
Moving to Node #0,0,3
Current State: 19:[18, 11], Operations: ['42-35=7', '4+7=11']
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,19 unequal: No Solution
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[18, 28], Operations: ['42-35=7', '4*7=28']
Exploring Operation: 18*28=504, Resulting Numbers: [504]
504,19 unequal: No Solution
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[7, 22], Operations: ['42-35=7', '18+4=22']
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,19 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[7, 14], Operations: ['42-35=7', '18-4=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,19 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,19 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[35, 18, 38], Operations: ['42-4=38']
Exploring Operation: 35-18=17, Resulting Numbers: [38, 17]
Generated Node #0,1,0: 19:[38, 17] Operation: 35-18=17
Exploring Operation: 38-35=3, Resulting Numbers: [18, 3]
Generated Node #0,1,1: 19:[18, 3] Operation: 38-35=3
Exploring Operation: 35+18=53, Resulting Numbers: [38, 53]
Generated Node #0,1,2: 19:[38, 53] Operation: 35+18=53
Exploring Operation: 38-18=20, Resulting Numbers: [35, 20]
Generated Node #0,1,3: 19:[35, 20] Operation: 38-18=20
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[18, 3], Operations: ['42-4=38', '38-35=3']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,19 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 19:[35, 20], Operations: ['42-4=38', '38-18=20']
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,19 unequal: No Solution
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 19:[38, 17], Operations: ['42-4=38', '35-18=17']
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,19 unequal: No Solution
Exploring Operation: 38*17=646, Resulting Numbers: [646]
646,19 unequal: No Solution
Exploring Operation: 38+17=55, Resulting Numbers: [55]
55,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 19:[38, 53], Operations: ['42-4=38', '35+18=53']
Exploring Operation: 53-38=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 38+53=91, Resulting Numbers: [91]
91,19 unequal: No Solution
Exploring Operation: 38*53=2014, Resulting Numbers: [2014]
2014,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[35, 4, 24], Operations: ['42-18=24']
Exploring Operation: 35-24=11, Resulting Numbers: [4, 11]
Generated Node #0,2,0: 19:[4, 11] Operation: 35-24=11
Exploring Operation: 24-4=20, Resulting Numbers: [35, 20]
Generated Node #0,2,1: 19:[35, 20] Operation: 24-4=20
Exploring Operation: 35+4=39, Resulting Numbers: [24, 39]
Generated Node #0,2,2: 19:[24, 39] Operation: 35+4=39
Exploring Operation: 35-4=31, Resulting Numbers: [24, 31]
Generated Node #0,2,3: 19:[24, 31] Operation: 35-4=31
Moving to Node #0,2,1
Current State: 19:[35, 20], Operations: ['42-18=24', '24-4=20']
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,19 unequal: No Solution
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[24, 31], Operations: ['42-18=24', '35-4=31']
Exploring Operation: 24+31=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 24*31=744, Resulting Numbers: [744]
744,19 unequal: No Solution
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[4, 11], Operations: ['42-18=24', '35-24=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[24, 39], Operations: ['42-18=24', '35+4=39']
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,19 unequal: No Solution
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 19:[42, 18, 31], Operations: ['35-4=31']
Exploring Operation: 42+18=60, Resulting Numbers: [31, 60]
Generated Node #0,3,0: 19:[31, 60] Operation: 42+18=60
Exploring Operation: 42-31=11, Resulting Numbers: [18, 11]
Generated Node #0,3,1: 19:[18, 11] Operation: 42-31=11
Exploring Operation: 42-18=24, Resulting Numbers: [31, 24]
Generated Node #0,3,2: 19:[31, 24] Operation: 42-18=24
Exploring Operation: 31-18=13, Resulting Numbers: [42, 13]
Generated Node #0,3,3: 19:[42, 13] Operation: 31-18=13
Moving to Node #0,3,1
Current State: 19:[18, 11], Operations: ['35-4=31', '42-31=11']
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,19 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Moving to Node #0,3,2
Current State: 19:[31, 24], Operations: ['35-4=31', '42-18=24']
Exploring Operation: 31*24=744, Resulting Numbers: [744]
744,19 unequal: No Solution
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Exploring Operation: 31+24=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Moving to Node #0,3,3
Current State: 19:[42, 13], Operations: ['35-4=31', '31-18=13']
Exploring Operation: 42*13=546, Resulting Numbers: [546]
546,19 unequal: No Solution
Exploring Operation: 42+13=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Moving to Node #0,3,0
Current State: 19:[31, 60], Operations: ['35-4=31', '42+18=60']
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 31+60=91, Resulting Numbers: [91]
91,19 unequal: No Solution
Exploring Operation: 31*60=1860, Resulting Numbers: [1860]
1860,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
11,
54,
1,
63
] | 90 | [
"11-1=10",
"63-54=9",
"10*9=90"
] | Current State: 90:[11, 54, 1, 63], Operations: []
Exploring Operation: 11-1=10, Resulting Numbers: [54, 63, 10]
Generated Node #2: [54, 63, 10] from Operation: 11-1=10
Current State: 90:[54, 63, 10], Operations: ['11-1=10']
Exploring Operation: 63-54=9, Resulting Numbers: [10, 9]
Generated Node #3: [10, 9] from Operation: 63-54=9
Current State: 90:[10, 9], Operations: ['11-1=10', '63-54=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[11, 54, 1, 63], Operations: []
Exploring Operation: 63-54=9, Resulting Numbers: [11, 1, 9]
Generated Node #0,0: 90:[11, 1, 9] Operation: 63-54=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[11, 1, 9], Operations: ['63-54=9']
Exploring Operation: 11-1=10, Resulting Numbers: [9, 10]
Generated Node #0,0,0: 90:[9, 10] Operation: 11-1=10
Moving to Node #0,0,0
Current State: 90:[9, 10], Operations: ['63-54=9', '11-1=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[11, 54, 1, 63], Operations: []
Exploring Operation: 63-54=9, Resulting Numbers: [11, 1, 9]
Generated Node #0,0: 90:[11, 1, 9] Operation: 63-54=9
Moving to Node #0,0
Current State: 90:[11, 1, 9], Operations: ['63-54=9']
Exploring Operation: 11-1=10, Resulting Numbers: [9, 10]
Generated Node #0,0,0: 90:[9, 10] Operation: 11-1=10
Moving to Node #0,0,0
Current State: 90:[9, 10], Operations: ['63-54=9', '11-1=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
45,
65,
30,
73
] | 92 | [
"65+73=138",
"30*138=4140",
"4140/45=92"
] | Current State: 92:[45, 65, 30, 73], Operations: []
Exploring Operation: 65+73=138, Resulting Numbers: [45, 30, 138]
Generated Node #2: [45, 30, 138] from Operation: 65+73=138
Current State: 92:[45, 30, 138], Operations: ['65+73=138']
Exploring Operation: 30*138=4140, Resulting Numbers: [45, 4140]
Generated Node #3: [45, 4140] from Operation: 30*138=4140
Current State: 92:[45, 4140], Operations: ['65+73=138', '30*138=4140']
Exploring Operation: 4140/45=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[45, 65, 30, 73], Operations: []
Exploring Operation: 73-65=8, Resulting Numbers: [45, 30, 8]
Generated Node #0,0: 92:[45, 30, 8] Operation: 73-65=8
Exploring Operation: 73-30=43, Resulting Numbers: [45, 65, 43]
Generated Node #0,1: 92:[45, 65, 43] Operation: 73-30=43
Exploring Operation: 65+30=95, Resulting Numbers: [45, 73, 95]
Generated Node #0,2: 92:[45, 73, 95] Operation: 65+30=95
Moving to Node #0,0
Current State: 92:[45, 30, 8], Operations: ['73-65=8']
Exploring Operation: 30-8=22, Resulting Numbers: [45, 22]
Generated Node #0,0,0: 92:[45, 22] Operation: 30-8=22
Exploring Operation: 30+8=38, Resulting Numbers: [45, 38]
Generated Node #0,0,1: 92:[45, 38] Operation: 30+8=38
Exploring Operation: 45-30=15, Resulting Numbers: [8, 15]
Generated Node #0,0,2: 92:[8, 15] Operation: 45-30=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[45, 22], Operations: ['73-65=8', '30-8=22']
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Exploring Operation: 45*22=990, Resulting Numbers: [990]
990,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[45, 38], Operations: ['73-65=8', '30+8=38']
Exploring Operation: 45*38=1710, Resulting Numbers: [1710]
1710,92 unequal: No Solution
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Exploring Operation: 45+38=83, Resulting Numbers: [83]
83,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 92:[8, 15], Operations: ['73-65=8', '45-30=15']
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,92 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,92 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: 92:[45, 65, 43], Operations: ['73-30=43']
Exploring Operation: 65-43=22, Resulting Numbers: [45, 22]
Generated Node #0,1,0: 92:[45, 22] Operation: 65-43=22
Exploring Operation: 65-45=20, Resulting Numbers: [43, 20]
Generated Node #0,1,1: 92:[43, 20] Operation: 65-45=20
Exploring Operation: 65+43=108, Resulting Numbers: [45, 108]
Generated Node #0,1,2: 92:[45, 108] Operation: 65+43=108
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[45, 22], Operations: ['73-30=43', '65-43=22']
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Exploring Operation: 45*22=990, Resulting Numbers: [990]
990,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[43, 20], Operations: ['73-30=43', '65-45=20']
Exploring Operation: 43+20=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Exploring Operation: 43*20=860, Resulting Numbers: [860]
860,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 92:[45, 108], Operations: ['73-30=43', '65+43=108']
Exploring Operation: 45*108=4860, Resulting Numbers: [4860]
4860,92 unequal: No Solution
Exploring Operation: 108-45=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 45+108=153, Resulting Numbers: [153]
153,92 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: 92:[45, 73, 95], Operations: ['65+30=95']
Exploring Operation: 95-45=50, Resulting Numbers: [73, 50]
Generated Node #0,2,0: 92:[73, 50] Operation: 95-45=50
Exploring Operation: 95-73=22, Resulting Numbers: [45, 22]
Generated Node #0,2,1: 92:[45, 22] Operation: 95-73=22
Exploring Operation: 73-45=28, Resulting Numbers: [95, 28]
Generated Node #0,2,2: 92:[95, 28] Operation: 73-45=28
Moving to Node #0,2,1
Current State: 92:[45, 22], Operations: ['65+30=95', '95-73=22']
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 45*22=990, Resulting Numbers: [990]
990,92 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[95, 28], Operations: ['65+30=95', '73-45=28']
Exploring Operation: 95*28=2660, Resulting Numbers: [2660]
2660,92 unequal: No Solution
Exploring Operation: 95-28=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 95+28=123, Resulting Numbers: [123]
123,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[73, 50], Operations: ['65+30=95', '95-45=50']
Exploring Operation: 73*50=3650, Resulting Numbers: [3650]
3650,92 unequal: No Solution
Exploring Operation: 73-50=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Exploring Operation: 73+50=123, Resulting Numbers: [123]
123,92 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
24,
89,
99,
26
] | 20 | [
"26-24=2",
"99-89=10",
"2*10=20"
] | Current State: 20:[24, 89, 99, 26], Operations: []
Exploring Operation: 26-24=2, Resulting Numbers: [89, 99, 2]
Generated Node #2: [89, 99, 2] from Operation: 26-24=2
Current State: 20:[89, 99, 2], Operations: ['26-24=2']
Exploring Operation: 99-89=10, Resulting Numbers: [2, 10]
Generated Node #3: [2, 10] from Operation: 99-89=10
Current State: 20:[2, 10], Operations: ['26-24=2', '99-89=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[24, 89, 99, 26], Operations: []
Exploring Operation: 99-89=10, Resulting Numbers: [24, 26, 10]
Generated Node #0,0: 20:[24, 26, 10] Operation: 99-89=10
Moving to Node #0,0
Current State: 20:[24, 26, 10], Operations: ['99-89=10']
Exploring Operation: 26-24=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 20:[10, 2] Operation: 26-24=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[10, 2], Operations: ['99-89=10', '26-24=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[24, 89, 99, 26], Operations: []
Exploring Operation: 99-89=10, Resulting Numbers: [24, 26, 10]
Generated Node #0,0: 20:[24, 26, 10] Operation: 99-89=10
Moving to Node #0,0
Current State: 20:[24, 26, 10], Operations: ['99-89=10']
Exploring Operation: 26-24=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 20:[10, 2] Operation: 26-24=2
Moving to Node #0,0,0
Current State: 20:[10, 2], Operations: ['99-89=10', '26-24=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
24,
48,
60,
22
] | 49 | [
"48/24=2",
"22/2=11",
"60-11=49"
] | Current State: 49:[24, 48, 60, 22], Operations: []
Exploring Operation: 48/24=2, Resulting Numbers: [60, 22, 2]
Generated Node #2: [60, 22, 2] from Operation: 48/24=2
Current State: 49:[60, 22, 2], Operations: ['48/24=2']
Exploring Operation: 22/2=11, Resulting Numbers: [60, 11]
Generated Node #3: [60, 11] from Operation: 22/2=11
Current State: 49:[60, 11], Operations: ['48/24=2', '22/2=11']
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[24, 48, 60, 22], Operations: []
Exploring Operation: 24-22=2, Resulting Numbers: [48, 60, 2]
Generated Node #0,0: 49:[48, 60, 2] Operation: 24-22=2
Exploring Operation: 24+22=46, Resulting Numbers: [48, 60, 46]
Generated Node #0,1: 49:[48, 60, 46] Operation: 24+22=46
Exploring Operation: 60-24=36, Resulting Numbers: [48, 22, 36]
Generated Node #0,2: 49:[48, 22, 36] Operation: 60-24=36
Moving to Node #0,1
Current State: 49:[48, 60, 46], Operations: ['24+22=46']
Exploring Operation: 48-46=2, Resulting Numbers: [60, 2]
Generated Node #0,1,0: 49:[60, 2] Operation: 48-46=2
Exploring Operation: 60-48=12, Resulting Numbers: [46, 12]
Generated Node #0,1,1: 49:[46, 12] Operation: 60-48=12
Exploring Operation: 60-46=14, Resulting Numbers: [48, 14]
Generated Node #0,1,2: 49:[48, 14] Operation: 60-46=14
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[46, 12], Operations: ['24+22=46', '60-48=12']
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 46*12=552, Resulting Numbers: [552]
552,49 unequal: No Solution
Exploring Operation: 46+12=58, Resulting Numbers: [58]
58,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[48, 14], Operations: ['24+22=46', '60-46=14']
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,49 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[60, 2], Operations: ['24+22=46', '48-46=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,49 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: 49:[48, 60, 2], Operations: ['24-22=2']
Exploring Operation: 60-2=58, Resulting Numbers: [48, 58]
Generated Node #0,0,0: 49:[48, 58] Operation: 60-2=58
Exploring Operation: 48+2=50, Resulting Numbers: [60, 50]
Generated Node #0,0,1: 49:[60, 50] Operation: 48+2=50
Exploring Operation: 60-48=12, Resulting Numbers: [2, 12]
Generated Node #0,0,2: 49:[2, 12] Operation: 60-48=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[48, 58], Operations: ['24-22=2', '60-2=58']
Exploring Operation: 48*58=2784, Resulting Numbers: [2784]
2784,49 unequal: No Solution
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 48+58=106, Resulting Numbers: [106]
106,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,0,2
Current State: 49:[2, 12], Operations: ['24-22=2', '60-48=12']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,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,0,1
Current State: 49:[60, 50], Operations: ['24-22=2', '48+2=50']
Exploring Operation: 60+50=110, Resulting Numbers: [110]
110,49 unequal: No Solution
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 60*50=3000, Resulting Numbers: [3000]
3000,49 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: 49:[48, 22, 36], Operations: ['60-24=36']
Exploring Operation: 22+36=58, Resulting Numbers: [48, 58]
Generated Node #0,2,0: 49:[48, 58] Operation: 22+36=58
Exploring Operation: 36-22=14, Resulting Numbers: [48, 14]
Generated Node #0,2,1: 49:[48, 14] Operation: 36-22=14
Exploring Operation: 48-36=12, Resulting Numbers: [22, 12]
Generated Node #0,2,2: 49:[22, 12] Operation: 48-36=12
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[48, 14], Operations: ['60-24=36', '36-22=14']
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,49 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[48, 58], Operations: ['60-24=36', '22+36=58']
Exploring Operation: 48+58=106, Resulting Numbers: [106]
106,49 unequal: No Solution
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 48*58=2784, Resulting Numbers: [2784]
2784,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[22, 12], Operations: ['60-24=36', '48-36=12']
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,49 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
44,
9,
21,
24
] | 55 | [
"9+21=30",
"44*30=1320",
"1320/24=55"
] | Current State: 55:[44, 9, 21, 24], Operations: []
Exploring Operation: 9+21=30, Resulting Numbers: [44, 24, 30]
Generated Node #2: [44, 24, 30] from Operation: 9+21=30
Current State: 55:[44, 24, 30], Operations: ['9+21=30']
Exploring Operation: 44*30=1320, Resulting Numbers: [24, 1320]
Generated Node #3: [24, 1320] from Operation: 44*30=1320
Current State: 55:[24, 1320], Operations: ['9+21=30', '44*30=1320']
Exploring Operation: 1320/24=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[44, 9, 21, 24], Operations: []
Exploring Operation: 24-21=3, Resulting Numbers: [44, 9, 3]
Generated Node #0,0: 55:[44, 9, 3] Operation: 24-21=3
Exploring Operation: 44-24=20, Resulting Numbers: [9, 21, 20]
Generated Node #0,1: 55:[9, 21, 20] Operation: 44-24=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[44, 9, 3], Operations: ['24-21=3']
Exploring Operation: 44+9=53, Resulting Numbers: [3, 53]
Generated Node #0,0,0: 55:[3, 53] Operation: 44+9=53
Exploring Operation: 44+3=47, Resulting Numbers: [9, 47]
Generated Node #0,0,1: 55:[9, 47] Operation: 44+3=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[3, 53], Operations: ['24-21=3', '44+9=53']
Exploring Operation: 3+53=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 55:[9, 47], Operations: ['24-21=3', '44+3=47']
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,55 unequal: No Solution
Exploring Operation: 9+47=56, Resulting Numbers: [56]
56,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[9, 21, 20], Operations: ['44-24=20']
Exploring Operation: 21-9=12, Resulting Numbers: [20, 12]
Generated Node #0,1,0: 55:[20, 12] Operation: 21-9=12
Exploring Operation: 21-20=1, Resulting Numbers: [9, 1]
Generated Node #0,1,1: 55:[9, 1] Operation: 21-20=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[9, 1], Operations: ['44-24=20', '21-20=1']
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[20, 12], Operations: ['44-24=20', '21-9=12']
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
11,
33,
2,
50
] | 19 | [
"11+33=44",
"50/2=25",
"44-25=19"
] | Current State: 19:[11, 33, 2, 50], Operations: []
Exploring Operation: 11+33=44, Resulting Numbers: [2, 50, 44]
Generated Node #2: [2, 50, 44] from Operation: 11+33=44
Current State: 19:[2, 50, 44], Operations: ['11+33=44']
Exploring Operation: 50/2=25, Resulting Numbers: [44, 25]
Generated Node #3: [44, 25] from Operation: 50/2=25
Current State: 19:[44, 25], Operations: ['11+33=44', '50/2=25']
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[11, 33, 2, 50], Operations: []
Exploring Operation: 50-33=17, Resulting Numbers: [11, 2, 17]
Generated Node #0,0: 19:[11, 2, 17] Operation: 50-33=17
Exploring Operation: 50/2=25, Resulting Numbers: [11, 33, 25]
Generated Node #0,1: 19:[11, 33, 25] Operation: 50/2=25
Exploring Operation: 11*2=22, Resulting Numbers: [33, 50, 22]
Generated Node #0,2: 19:[33, 50, 22] Operation: 11*2=22
Exploring Operation: 33-11=22, Resulting Numbers: [2, 50, 22]
Generated Node #0,3: 19:[2, 50, 22] Operation: 33-11=22
Exploring Operation: 11+2=13, Resulting Numbers: [33, 50, 13]
Generated Node #0,4: 19:[33, 50, 13] Operation: 11+2=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[11, 2, 17], Operations: ['50-33=17']
Exploring Operation: 11+2=13, Resulting Numbers: [17, 13]
Generated Node #0,0,0: 19:[17, 13] Operation: 11+2=13
Exploring Operation: 11-2=9, Resulting Numbers: [17, 9]
Generated Node #0,0,1: 19:[17, 9] Operation: 11-2=9
Exploring Operation: 2+17=19, Resulting Numbers: [11, 19]
Generated Node #0,0,2: 19:[11, 19] Operation: 2+17=19
Exploring Operation: 17-2=15, Resulting Numbers: [11, 15]
Generated Node #0,0,3: 19:[11, 15] Operation: 17-2=15
Exploring Operation: 11*2=22, Resulting Numbers: [17, 22]
Generated Node #0,0,4: 19:[17, 22] Operation: 11*2=22
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 19:[17, 22], Operations: ['50-33=17', '11*2=22']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,19 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[17, 13], Operations: ['50-33=17', '11+2=13']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 19:[11, 19], Operations: ['50-33=17', '2+17=19']
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 11*19=209, Resulting Numbers: [209]
209,19 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[17, 9], Operations: ['50-33=17', '11-2=9']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 19:[11, 15], Operations: ['50-33=17', '17-2=15']
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Exploring Operation: 11*15=165, Resulting Numbers: [165]
165,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[11, 33, 25], Operations: ['50/2=25']
Exploring Operation: 33/11=3, Resulting Numbers: [25, 3]
Generated Node #0,1,0: 19:[25, 3] Operation: 33/11=3
Exploring Operation: 25-11=14, Resulting Numbers: [33, 14]
Generated Node #0,1,1: 19:[33, 14] Operation: 25-11=14
Exploring Operation: 33-25=8, Resulting Numbers: [11, 8]
Generated Node #0,1,2: 19:[11, 8] Operation: 33-25=8
Exploring Operation: 11+33=44, Resulting Numbers: [25, 44]
Generated Node #0,1,3: 19:[25, 44] Operation: 11+33=44
Exploring Operation: 33-11=22, Resulting Numbers: [25, 22]
Generated Node #0,1,4: 19:[25, 22] Operation: 33-11=22
Moving to Node #0,1,4
Current State: 19:[25, 22], Operations: ['50/2=25', '33-11=22']
Exploring Operation: 25*22=550, Resulting Numbers: [550]
550,19 unequal: No Solution
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 25+22=47, Resulting Numbers: [47]
47,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[11, 8], Operations: ['50/2=25', '33-25=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,19 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[11, 33, 2, 50], Operations: []
Exploring Operation: 50/2=25, Resulting Numbers: [11, 33, 25]
Generated Node #0,1: 19:[11, 33, 25] Operation: 50/2=25
Moving to Node #0,1
Current State: 19:[11, 33, 25], Operations: ['50/2=25']
Exploring Operation: 33-25=8, Resulting Numbers: [11, 8]
Generated Node #0,1,2: 19:[11, 8] Operation: 33-25=8
Moving to Node #0,1,2
Current State: 19:[11, 8], Operations: ['50/2=25', '33-25=8']
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | sum_heuristic |
[
90,
7,
82,
74
] | 89 | [
"90+7=97",
"82-74=8",
"97-8=89"
] | Current State: 89:[90, 7, 82, 74], Operations: []
Exploring Operation: 90+7=97, Resulting Numbers: [82, 74, 97]
Generated Node #2: [82, 74, 97] from Operation: 90+7=97
Current State: 89:[82, 74, 97], Operations: ['90+7=97']
Exploring Operation: 82-74=8, Resulting Numbers: [97, 8]
Generated Node #3: [97, 8] from Operation: 82-74=8
Current State: 89:[97, 8], Operations: ['90+7=97', '82-74=8']
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[90, 7, 82, 74], Operations: []
Exploring Operation: 90-7=83, Resulting Numbers: [82, 74, 83]
Generated Node #0,0: 89:[82, 74, 83] Operation: 90-7=83
Exploring Operation: 7+74=81, Resulting Numbers: [90, 82, 81]
Generated Node #0,1: 89:[90, 82, 81] Operation: 7+74=81
Exploring Operation: 7+82=89, Resulting Numbers: [90, 74, 89]
Generated Node #0,2: 89:[90, 74, 89] Operation: 7+82=89
Exploring Operation: 90+7=97, Resulting Numbers: [82, 74, 97]
Generated Node #0,3: 89:[82, 74, 97] Operation: 90+7=97
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[90, 82, 81], Operations: ['7+74=81']
Exploring Operation: 82+81=163, Resulting Numbers: [90, 163]
Generated Node #0,1,0: 89:[90, 163] Operation: 82+81=163
Exploring Operation: 90+81=171, Resulting Numbers: [82, 171]
Generated Node #0,1,1: 89:[82, 171] Operation: 90+81=171
Exploring Operation: 90-82=8, Resulting Numbers: [81, 8]
Generated Node #0,1,2: 89:[81, 8] Operation: 90-82=8
Exploring Operation: 90-81=9, Resulting Numbers: [82, 9]
Generated Node #0,1,3: 89:[82, 9] Operation: 90-81=9
Moving to Node #0,1,0
Current State: 89:[90, 163], Operations: ['7+74=81', '82+81=163']
Exploring Operation: 90*163=14670, Resulting Numbers: [14670]
14670,89 unequal: No Solution
Exploring Operation: 90+163=253, Resulting Numbers: [253]
253,89 unequal: No Solution
Exploring Operation: 163-90=73, Resulting Numbers: [73]
73,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[82, 9], Operations: ['7+74=81', '90-81=9']
Exploring Operation: 82+9=91, Resulting Numbers: [91]
91,89 unequal: No Solution
Exploring Operation: 82*9=738, Resulting Numbers: [738]
738,89 unequal: No Solution
Exploring Operation: 82-9=73, Resulting Numbers: [73]
73,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[81, 8], Operations: ['7+74=81', '90-82=8']
Exploring Operation: 81+8=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[90, 7, 82, 74], Operations: []
Exploring Operation: 7+74=81, Resulting Numbers: [90, 82, 81]
Generated Node #0,1: 89:[90, 82, 81] Operation: 7+74=81
Moving to Node #0,1
Current State: 89:[90, 82, 81], Operations: ['7+74=81']
Exploring Operation: 90-82=8, Resulting Numbers: [81, 8]
Generated Node #0,1,2: 89:[81, 8] Operation: 90-82=8
Moving to Node #0,1,2
Current State: 89:[81, 8], Operations: ['7+74=81', '90-82=8']
Exploring Operation: 81+8=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
63,
40,
32,
18
] | 27 | [
"63-40=23",
"32+18=50",
"50-23=27"
] | Current State: 27:[63, 40, 32, 18], Operations: []
Exploring Operation: 63-40=23, Resulting Numbers: [32, 18, 23]
Generated Node #2: [32, 18, 23] from Operation: 63-40=23
Current State: 27:[32, 18, 23], Operations: ['63-40=23']
Exploring Operation: 32+18=50, Resulting Numbers: [23, 50]
Generated Node #3: [23, 50] from Operation: 32+18=50
Current State: 27:[23, 50], Operations: ['63-40=23', '32+18=50']
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[63, 40, 32, 18], Operations: []
Exploring Operation: 40-32=8, Resulting Numbers: [63, 18, 8]
Generated Node #0,0: 27:[63, 18, 8] Operation: 40-32=8
Exploring Operation: 63-32=31, Resulting Numbers: [40, 18, 31]
Generated Node #0,1: 27:[40, 18, 31] Operation: 63-32=31
Exploring Operation: 40-18=22, Resulting Numbers: [63, 32, 22]
Generated Node #0,2: 27:[63, 32, 22] Operation: 40-18=22
Exploring Operation: 63-18=45, Resulting Numbers: [40, 32, 45]
Generated Node #0,3: 27:[40, 32, 45] Operation: 63-18=45
Exploring Operation: 63-40=23, Resulting Numbers: [32, 18, 23]
Generated Node #0,4: 27:[32, 18, 23] Operation: 63-40=23
Start Sub Search at level 1: Moving to Node #0,4
Current State: 27:[32, 18, 23], Operations: ['63-40=23']
Exploring Operation: 32-23=9, Resulting Numbers: [18, 9]
Generated Node #0,4,0: 27:[18, 9] Operation: 32-23=9
Exploring Operation: 18+23=41, Resulting Numbers: [32, 41]
Generated Node #0,4,1: 27:[32, 41] Operation: 18+23=41
Exploring Operation: 32-18=14, Resulting Numbers: [23, 14]
Generated Node #0,4,2: 27:[23, 14] Operation: 32-18=14
Exploring Operation: 23-18=5, Resulting Numbers: [32, 5]
Generated Node #0,4,3: 27:[32, 5] Operation: 23-18=5
Exploring Operation: 32+18=50, Resulting Numbers: [23, 50]
Generated Node #0,4,4: 27:[23, 50] Operation: 32+18=50
Moving to Node #0,4,3
Current State: 27:[32, 5], Operations: ['63-40=23', '23-18=5']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[63, 40, 32, 18], Operations: []
Exploring Operation: 63-40=23, Resulting Numbers: [32, 18, 23]
Generated Node #0,4: 27:[32, 18, 23] Operation: 63-40=23
Moving to Node #0,4
Current State: 27:[32, 18, 23], Operations: ['63-40=23']
Exploring Operation: 23-18=5, Resulting Numbers: [32, 5]
Generated Node #0,4,3: 27:[32, 5] Operation: 23-18=5
Moving to Node #0,4,3
Current State: 27:[32, 5], Operations: ['63-40=23', '23-18=5']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
89,
50,
2,
88
] | 13 | [
"88-50=38",
"2*38=76",
"89-76=13"
] | Current State: 13:[89, 50, 2, 88], Operations: []
Exploring Operation: 88-50=38, Resulting Numbers: [89, 2, 38]
Generated Node #2: [89, 2, 38] from Operation: 88-50=38
Current State: 13:[89, 2, 38], Operations: ['88-50=38']
Exploring Operation: 2*38=76, Resulting Numbers: [89, 76]
Generated Node #3: [89, 76] from Operation: 2*38=76
Current State: 13:[89, 76], Operations: ['88-50=38', '2*38=76']
Exploring Operation: 89-76=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[89, 50, 2, 88], Operations: []
Exploring Operation: 89-50=39, Resulting Numbers: [2, 88, 39]
Generated Node #0,0: 13:[2, 88, 39] Operation: 89-50=39
Exploring Operation: 88/2=44, Resulting Numbers: [89, 50, 44]
Generated Node #0,1: 13:[89, 50, 44] Operation: 88/2=44
Exploring Operation: 88-50=38, Resulting Numbers: [89, 2, 38]
Generated Node #0,2: 13:[89, 2, 38] Operation: 88-50=38
Exploring Operation: 89-88=1, Resulting Numbers: [50, 2, 1]
Generated Node #0,3: 13:[50, 2, 1] Operation: 89-88=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 13:[50, 2, 1], Operations: ['89-88=1']
Exploring Operation: 50-2=48, Resulting Numbers: [1, 48]
Generated Node #0,3,0: 13:[1, 48] Operation: 50-2=48
Exploring Operation: 50/2=25, Resulting Numbers: [1, 25]
Generated Node #0,3,1: 13:[1, 25] Operation: 50/2=25
Exploring Operation: 2+1=3, Resulting Numbers: [50, 3]
Generated Node #0,3,2: 13:[50, 3] Operation: 2+1=3
Exploring Operation: 50-1=49, Resulting Numbers: [2, 49]
Generated Node #0,3,3: 13:[2, 49] Operation: 50-1=49
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 13:[1, 25], Operations: ['89-88=1', '50/2=25']
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,13 unequal: No Solution
No 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: 13:[1, 48], Operations: ['89-88=1', '50-2=48']
Exploring Operation: 1+48=49, Resulting Numbers: [49]
49,13 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,13 unequal: No Solution
Exploring Operation: 1*48=48, Resulting Numbers: [48]
48,13 unequal: No Solution
No 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: 13:[50, 3], Operations: ['89-88=1', '2+1=3']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,13 unequal: No Solution
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,13 unequal: No Solution
No 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: 13:[2, 49], Operations: ['89-88=1', '50-1=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,13 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,13 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,13 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: 13:[2, 88, 39], Operations: ['89-50=39']
Exploring Operation: 88-2=86, Resulting Numbers: [39, 86]
Generated Node #0,0,0: 13:[39, 86] Operation: 88-2=86
Exploring Operation: 88-39=49, Resulting Numbers: [2, 49]
Generated Node #0,0,1: 13:[2, 49] Operation: 88-39=49
Exploring Operation: 88/2=44, Resulting Numbers: [39, 44]
Generated Node #0,0,2: 13:[39, 44] Operation: 88/2=44
Exploring Operation: 39-2=37, Resulting Numbers: [88, 37]
Generated Node #0,0,3: 13:[88, 37] Operation: 39-2=37
Moving to Node #0,0,1
Current State: 13:[2, 49], Operations: ['89-50=39', '88-39=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,13 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,13 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[39, 44], Operations: ['89-50=39', '88/2=44']
Exploring Operation: 39*44=1716, Resulting Numbers: [1716]
1716,13 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 39+44=83, Resulting Numbers: [83]
83,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[88, 37], Operations: ['89-50=39', '39-2=37']
Exploring Operation: 88*37=3256, Resulting Numbers: [3256]
3256,13 unequal: No Solution
Exploring Operation: 88+37=125, Resulting Numbers: [125]
125,13 unequal: No Solution
Exploring Operation: 88-37=51, Resulting Numbers: [51]
51,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[39, 86], Operations: ['89-50=39', '88-2=86']
Exploring Operation: 39+86=125, Resulting Numbers: [125]
125,13 unequal: No Solution
Exploring Operation: 39*86=3354, Resulting Numbers: [3354]
3354,13 unequal: No Solution
Exploring Operation: 86-39=47, Resulting Numbers: [47]
47,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[89, 2, 38], Operations: ['88-50=38']
Exploring Operation: 89-38=51, Resulting Numbers: [2, 51]
Generated Node #0,2,0: 13:[2, 51] Operation: 89-38=51
Exploring Operation: 38/2=19, Resulting Numbers: [89, 19]
Generated Node #0,2,1: 13:[89, 19] Operation: 38/2=19
Exploring Operation: 89-2=87, Resulting Numbers: [38, 87]
Generated Node #0,2,2: 13:[38, 87] Operation: 89-2=87
Exploring Operation: 38-2=36, Resulting Numbers: [89, 36]
Generated Node #0,2,3: 13:[89, 36] Operation: 38-2=36
Moving to Node #0,2,0
Current State: 13:[2, 51], Operations: ['88-50=38', '89-38=51']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,13 unequal: No Solution
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,13 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Moving to Node #0,2,1
Current State: 13:[89, 19], Operations: ['88-50=38', '38/2=19']
Exploring Operation: 89+19=108, Resulting Numbers: [108]
108,13 unequal: No Solution
Exploring Operation: 89*19=1691, Resulting Numbers: [1691]
1691,13 unequal: No Solution
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Moving to Node #0,2,3
Current State: 13:[89, 36], Operations: ['88-50=38', '38-2=36']
Exploring Operation: 89*36=3204, Resulting Numbers: [3204]
3204,13 unequal: No Solution
Exploring Operation: 89-36=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Exploring Operation: 89+36=125, Resulting Numbers: [125]
125,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[38, 87], Operations: ['88-50=38', '89-2=87']
Exploring Operation: 38*87=3306, Resulting Numbers: [3306]
3306,13 unequal: No Solution
Exploring Operation: 38+87=125, Resulting Numbers: [125]
125,13 unequal: No Solution
Exploring Operation: 87-38=49, Resulting Numbers: [49]
49,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[89, 50, 44], Operations: ['88/2=44']
Exploring Operation: 89-44=45, Resulting Numbers: [50, 45]
Generated Node #0,1,0: 13:[50, 45] Operation: 89-44=45
Exploring Operation: 50-44=6, Resulting Numbers: [89, 6]
Generated Node #0,1,1: 13:[89, 6] Operation: 50-44=6
Exploring Operation: 89+50=139, Resulting Numbers: [44, 139]
Generated Node #0,1,2: 13:[44, 139] Operation: 89+50=139
Exploring Operation: 89-50=39, Resulting Numbers: [44, 39]
Generated Node #0,1,3: 13:[44, 39] Operation: 89-50=39
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 13:[44, 39], Operations: ['88/2=44', '89-50=39']
Exploring Operation: 44*39=1716, Resulting Numbers: [1716]
1716,13 unequal: No Solution
Exploring Operation: 44+39=83, Resulting Numbers: [83]
83,13 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,13 unequal: No Solution
No 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: 13:[50, 45], Operations: ['88/2=44', '89-44=45']
Exploring Operation: 50*45=2250, Resulting Numbers: [2250]
2250,13 unequal: No Solution
Exploring Operation: 50+45=95, Resulting Numbers: [95]
95,13 unequal: No Solution
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,13 unequal: No Solution
No 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: 13:[89, 6], Operations: ['88/2=44', '50-44=6']
Exploring Operation: 89*6=534, Resulting Numbers: [534]
534,13 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,13 unequal: No Solution
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,13 unequal: No Solution
No 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: 13:[44, 139], Operations: ['88/2=44', '89+50=139']
Exploring Operation: 44*139=6116, Resulting Numbers: [6116]
6116,13 unequal: No Solution
Exploring Operation: 139-44=95, Resulting Numbers: [95]
95,13 unequal: No Solution
Exploring Operation: 44+139=183, Resulting Numbers: [183]
183,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
50,
7,
28,
75
] | 49 | [
"28*75=2100",
"2100/50=42",
"7+42=49"
] | Current State: 49:[50, 7, 28, 75], Operations: []
Exploring Operation: 28*75=2100, Resulting Numbers: [50, 7, 2100]
Generated Node #2: [50, 7, 2100] from Operation: 28*75=2100
Current State: 49:[50, 7, 2100], Operations: ['28*75=2100']
Exploring Operation: 2100/50=42, Resulting Numbers: [7, 42]
Generated Node #3: [7, 42] from Operation: 2100/50=42
Current State: 49:[7, 42], Operations: ['28*75=2100', '2100/50=42']
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[50, 7, 28, 75], Operations: []
Exploring Operation: 75-50=25, Resulting Numbers: [7, 28, 25]
Generated Node #0,0: 49:[7, 28, 25] Operation: 75-50=25
Exploring Operation: 28/7=4, Resulting Numbers: [50, 75, 4]
Generated Node #0,1: 49:[50, 75, 4] Operation: 28/7=4
Exploring Operation: 75-28=47, Resulting Numbers: [50, 7, 47]
Generated Node #0,2: 49:[50, 7, 47] Operation: 75-28=47
Exploring Operation: 50-28=22, Resulting Numbers: [7, 75, 22]
Generated Node #0,3: 49:[7, 75, 22] Operation: 50-28=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[50, 7, 47], Operations: ['75-28=47']
Exploring Operation: 50-47=3, Resulting Numbers: [7, 3]
Generated Node #0,2,0: 49:[7, 3] Operation: 50-47=3
Exploring Operation: 50+7=57, Resulting Numbers: [47, 57]
Generated Node #0,2,1: 49:[47, 57] Operation: 50+7=57
Exploring Operation: 7+47=54, Resulting Numbers: [50, 54]
Generated Node #0,2,2: 49:[50, 54] Operation: 7+47=54
Exploring Operation: 50-7=43, Resulting Numbers: [47, 43]
Generated Node #0,2,3: 49:[47, 43] Operation: 50-7=43
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 49:[7, 3], Operations: ['75-28=47', '50-47=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,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:[50, 54], Operations: ['75-28=47', '7+47=54']
Exploring Operation: 50*54=2700, Resulting Numbers: [2700]
2700,49 unequal: No Solution
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Exploring Operation: 50+54=104, Resulting Numbers: [104]
104,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:[47, 43], Operations: ['75-28=47', '50-7=43']
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Exploring Operation: 47*43=2021, Resulting Numbers: [2021]
2021,49 unequal: No Solution
Exploring Operation: 47+43=90, Resulting Numbers: [90]
90,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,1
Current State: 49:[47, 57], Operations: ['75-28=47', '50+7=57']
Exploring Operation: 47+57=104, Resulting Numbers: [104]
104,49 unequal: No Solution
Exploring Operation: 47*57=2679, Resulting Numbers: [2679]
2679,49 unequal: No Solution
Exploring Operation: 57-47=10, Resulting Numbers: [10]
10,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:[50, 75, 4], Operations: ['28/7=4']
Exploring Operation: 50+4=54, Resulting Numbers: [75, 54]
Generated Node #0,1,0: 49:[75, 54] Operation: 50+4=54
Exploring Operation: 75-4=71, Resulting Numbers: [50, 71]
Generated Node #0,1,1: 49:[50, 71] Operation: 75-4=71
Exploring Operation: 75-50=25, Resulting Numbers: [4, 25]
Generated Node #0,1,2: 49:[4, 25] Operation: 75-50=25
Exploring Operation: 50-4=46, Resulting Numbers: [75, 46]
Generated Node #0,1,3: 49:[75, 46] Operation: 50-4=46
Moving to Node #0,1,2
Current State: 49:[4, 25], Operations: ['28/7=4', '75-50=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,49 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[50, 71], Operations: ['28/7=4', '75-4=71']
Exploring Operation: 50*71=3550, Resulting Numbers: [3550]
3550,49 unequal: No Solution
Exploring Operation: 50+71=121, Resulting Numbers: [121]
121,49 unequal: No Solution
Exploring Operation: 71-50=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[75, 46], Operations: ['28/7=4', '50-4=46']
Exploring Operation: 75*46=3450, Resulting Numbers: [3450]
3450,49 unequal: No Solution
Exploring Operation: 75+46=121, Resulting Numbers: [121]
121,49 unequal: No Solution
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[75, 54], Operations: ['28/7=4', '50+4=54']
Exploring Operation: 75-54=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 75+54=129, Resulting Numbers: [129]
129,49 unequal: No Solution
Exploring Operation: 75*54=4050, Resulting Numbers: [4050]
4050,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,0
Current State: 49:[7, 28, 25], Operations: ['75-50=25']
Exploring Operation: 7+28=35, Resulting Numbers: [25, 35]
Generated Node #0,0,0: 49:[25, 35] Operation: 7+28=35
Exploring Operation: 28/7=4, Resulting Numbers: [25, 4]
Generated Node #0,0,1: 49:[25, 4] Operation: 28/7=4
Exploring Operation: 28+25=53, Resulting Numbers: [7, 53]
Generated Node #0,0,2: 49:[7, 53] Operation: 28+25=53
Exploring Operation: 28-25=3, Resulting Numbers: [7, 3]
Generated Node #0,0,3: 49:[7, 3] Operation: 28-25=3
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 49:[7, 53], Operations: ['75-50=25', '28+25=53']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,49 unequal: No Solution
Exploring Operation: 7*53=371, Resulting Numbers: [371]
371,49 unequal: No Solution
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,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:[7, 3], Operations: ['75-50=25', '28-25=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,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:[25, 4], Operations: ['75-50=25', '28/7=4']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,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:[25, 35], Operations: ['75-50=25', '7+28=35']
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 25*35=875, Resulting Numbers: [875]
875,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,3
Current State: 49:[7, 75, 22], Operations: ['50-28=22']
Exploring Operation: 7+22=29, Resulting Numbers: [75, 29]
Generated Node #0,3,0: 49:[75, 29] Operation: 7+22=29
Exploring Operation: 22-7=15, Resulting Numbers: [75, 15]
Generated Node #0,3,1: 49:[75, 15] Operation: 22-7=15
Exploring Operation: 75-22=53, Resulting Numbers: [7, 53]
Generated Node #0,3,2: 49:[7, 53] Operation: 75-22=53
Exploring Operation: 75-7=68, Resulting Numbers: [22, 68]
Generated Node #0,3,3: 49:[22, 68] Operation: 75-7=68
Moving to Node #0,3,2
Current State: 49:[7, 53], Operations: ['50-28=22', '75-22=53']
Exploring Operation: 7*53=371, Resulting Numbers: [371]
371,49 unequal: No Solution
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[22, 68], Operations: ['50-28=22', '75-7=68']
Exploring Operation: 22+68=90, Resulting Numbers: [90]
90,49 unequal: No Solution
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,49 unequal: No Solution
Exploring Operation: 22*68=1496, Resulting Numbers: [1496]
1496,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[75, 15], Operations: ['50-28=22', '22-7=15']
Exploring Operation: 75*15=1125, Resulting Numbers: [1125]
1125,49 unequal: No Solution
Exploring Operation: 75-15=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 75/15=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 75+15=90, Resulting Numbers: [90]
90,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[75, 29], Operations: ['50-28=22', '7+22=29']
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,49 unequal: No Solution
Exploring Operation: 75*29=2175, Resulting Numbers: [2175]
2175,49 unequal: No Solution
Exploring Operation: 75+29=104, Resulting Numbers: [104]
104,49 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 |
[
58,
23,
65,
54
] | 84 | [
"58-23=35",
"65+54=119",
"119-35=84"
] | Current State: 84:[58, 23, 65, 54], Operations: []
Exploring Operation: 58-23=35, Resulting Numbers: [65, 54, 35]
Generated Node #2: [65, 54, 35] from Operation: 58-23=35
Current State: 84:[65, 54, 35], Operations: ['58-23=35']
Exploring Operation: 65+54=119, Resulting Numbers: [35, 119]
Generated Node #3: [35, 119] from Operation: 65+54=119
Current State: 84:[35, 119], Operations: ['58-23=35', '65+54=119']
Exploring Operation: 119-35=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[58, 23, 65, 54], Operations: []
Exploring Operation: 65-54=11, Resulting Numbers: [58, 23, 11]
Generated Node #0,0: 84:[58, 23, 11] Operation: 65-54=11
Exploring Operation: 65-58=7, Resulting Numbers: [23, 54, 7]
Generated Node #0,1: 84:[23, 54, 7] Operation: 65-58=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[23, 54, 7], Operations: ['65-58=7']
Exploring Operation: 23+54=77, Resulting Numbers: [7, 77]
Generated Node #0,1,0: 84:[7, 77] Operation: 23+54=77
Exploring Operation: 54-23=31, Resulting Numbers: [7, 31]
Generated Node #0,1,1: 84:[7, 31] Operation: 54-23=31
Moving to Node #0,1,1
Current State: 84:[7, 31], Operations: ['65-58=7', '54-23=31']
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,84 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[7, 77], Operations: ['65-58=7', '23+54=77']
Exploring Operation: 7+77=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[58, 23, 65, 54], Operations: []
Exploring Operation: 65-58=7, Resulting Numbers: [23, 54, 7]
Generated Node #0,1: 84:[23, 54, 7] Operation: 65-58=7
Moving to Node #0,1
Current State: 84:[23, 54, 7], Operations: ['65-58=7']
Exploring Operation: 23+54=77, Resulting Numbers: [7, 77]
Generated Node #0,1,0: 84:[7, 77] Operation: 23+54=77
Moving to Node #0,1,0
Current State: 84:[7, 77], Operations: ['65-58=7', '23+54=77']
Exploring Operation: 7+77=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
79,
81,
25,
50
] | 80 | [
"79+81=160",
"50/25=2",
"160/2=80"
] | Current State: 80:[79, 81, 25, 50], Operations: []
Exploring Operation: 79+81=160, Resulting Numbers: [25, 50, 160]
Generated Node #2: [25, 50, 160] from Operation: 79+81=160
Current State: 80:[25, 50, 160], Operations: ['79+81=160']
Exploring Operation: 50/25=2, Resulting Numbers: [160, 2]
Generated Node #3: [160, 2] from Operation: 50/25=2
Current State: 80:[160, 2], Operations: ['79+81=160', '50/25=2']
Exploring Operation: 160/2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[79, 81, 25, 50], Operations: []
Exploring Operation: 50-25=25, Resulting Numbers: [79, 81, 25]
Generated Node #0,0: 80:[79, 81, 25] Operation: 50-25=25
Exploring Operation: 25+50=75, Resulting Numbers: [79, 81, 75]
Generated Node #0,1: 80:[79, 81, 75] Operation: 25+50=75
Exploring Operation: 50/25=2, Resulting Numbers: [79, 81, 2]
Generated Node #0,2: 80:[79, 81, 2] Operation: 50/25=2
Moving to Node #0,2
Current State: 80:[79, 81, 2], Operations: ['50/25=2']
Exploring Operation: 81-2=79, Resulting Numbers: [79, 79]
Generated Node #0,2,0: 80:[79, 79] Operation: 81-2=79
Exploring Operation: 81-79=2, Resulting Numbers: [2, 2]
Generated Node #0,2,1: 80:[2, 2] Operation: 81-79=2
Exploring Operation: 79+2=81, Resulting Numbers: [81, 81]
Generated Node #0,2,2: 80:[81, 81] Operation: 79+2=81
Moving to Node #0,0
Current State: 80:[79, 81, 25], Operations: ['50-25=25']
Exploring Operation: 81-79=2, Resulting Numbers: [25, 2]
Generated Node #0,0,0: 80:[25, 2] Operation: 81-79=2
Exploring Operation: 81-25=56, Resulting Numbers: [79, 56]
Generated Node #0,0,1: 80:[79, 56] Operation: 81-25=56
Exploring Operation: 79-25=54, Resulting Numbers: [81, 54]
Generated Node #0,0,2: 80:[81, 54] Operation: 79-25=54
Moving to Node #0,1
Current State: 80:[79, 81, 75], Operations: ['25+50=75']
Exploring Operation: 81-79=2, Resulting Numbers: [75, 2]
Generated Node #0,1,0: 80:[75, 2] Operation: 81-79=2
Exploring Operation: 81-75=6, Resulting Numbers: [79, 6]
Generated Node #0,1,1: 80:[79, 6] Operation: 81-75=6
Exploring Operation: 79-75=4, Resulting Numbers: [81, 4]
Generated Node #0,1,2: 80:[81, 4] Operation: 79-75=4
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 80:[81, 4], Operations: ['25+50=75', '79-75=4']
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 81*4=324, Resulting Numbers: [324]
324,80 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,80 unequal: No Solution
No 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: 80:[79, 6], Operations: ['25+50=75', '81-75=6']
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,80 unequal: No Solution
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Exploring Operation: 79*6=474, Resulting Numbers: [474]
474,80 unequal: No Solution
No 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: 80:[75, 2], Operations: ['25+50=75', '81-79=2']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Exploring Operation: 75*2=150, Resulting Numbers: [150]
150,80 unequal: No Solution
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 80:[2, 2], Operations: ['50/25=2', '81-79=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Moving to Node #0,2,2
Current State: 80:[81, 81], Operations: ['50/25=2', '79+2=81']
Exploring Operation: 81/81=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 81+81=162, Resulting Numbers: [162]
162,80 unequal: No Solution
Exploring Operation: 81-81=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Moving to Node #0,2,0
Current State: 80:[79, 79], Operations: ['50/25=2', '81-2=79']
Exploring Operation: 79/79=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 79+79=158, Resulting Numbers: [158]
158,80 unequal: No Solution
Exploring Operation: 79-79=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[25, 2], Operations: ['50-25=25', '81-79=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,80 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,80 unequal: No Solution
Moving to Node #0,0,2
Current State: 80:[81, 54], Operations: ['50-25=25', '79-25=54']
Exploring Operation: 81+54=135, Resulting Numbers: [135]
135,80 unequal: No Solution
Exploring Operation: 81*54=4374, Resulting Numbers: [4374]
4374,80 unequal: No Solution
Exploring Operation: 81-54=27, Resulting Numbers: [27]
27,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[79, 56], Operations: ['50-25=25', '81-25=56']
Exploring Operation: 79*56=4424, Resulting Numbers: [4424]
4424,80 unequal: No Solution
Exploring Operation: 79-56=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 79+56=135, Resulting Numbers: [135]
135,80 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
20,
87,
49,
98
] | 69 | [
"87-20=67",
"98/49=2",
"67+2=69"
] | Current State: 69:[20, 87, 49, 98], Operations: []
Exploring Operation: 87-20=67, Resulting Numbers: [49, 98, 67]
Generated Node #2: [49, 98, 67] from Operation: 87-20=67
Current State: 69:[49, 98, 67], Operations: ['87-20=67']
Exploring Operation: 98/49=2, Resulting Numbers: [67, 2]
Generated Node #3: [67, 2] from Operation: 98/49=2
Current State: 69:[67, 2], Operations: ['87-20=67', '98/49=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[20, 87, 49, 98], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [20, 87, 2]
Generated Node #0,0: 69:[20, 87, 2] Operation: 98/49=2
Exploring Operation: 98-87=11, Resulting Numbers: [20, 49, 11]
Generated Node #0,1: 69:[20, 49, 11] Operation: 98-87=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[20, 87, 2], Operations: ['98/49=2']
Exploring Operation: 87-20=67, Resulting Numbers: [2, 67]
Generated Node #0,0,0: 69:[2, 67] Operation: 87-20=67
Exploring Operation: 20+2=22, Resulting Numbers: [87, 22]
Generated Node #0,0,1: 69:[87, 22] Operation: 20+2=22
Moving to Node #0,0,0
Current State: 69:[2, 67], Operations: ['98/49=2', '87-20=67']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,69 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[20, 87, 49, 98], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [20, 87, 2]
Generated Node #0,0: 69:[20, 87, 2] Operation: 98/49=2
Moving to Node #0,0
Current State: 69:[20, 87, 2], Operations: ['98/49=2']
Exploring Operation: 87-20=67, Resulting Numbers: [2, 67]
Generated Node #0,0,0: 69:[2, 67] Operation: 87-20=67
Moving to Node #0,0,0
Current State: 69:[2, 67], Operations: ['98/49=2', '87-20=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
13,
4,
59,
95
] | 89 | [
"59-13=46",
"4*46=184",
"184-95=89"
] | Current State: 89:[13, 4, 59, 95], Operations: []
Exploring Operation: 59-13=46, Resulting Numbers: [4, 95, 46]
Generated Node #2: [4, 95, 46] from Operation: 59-13=46
Current State: 89:[4, 95, 46], Operations: ['59-13=46']
Exploring Operation: 4*46=184, Resulting Numbers: [95, 184]
Generated Node #3: [95, 184] from Operation: 4*46=184
Current State: 89:[95, 184], Operations: ['59-13=46', '4*46=184']
Exploring Operation: 184-95=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[13, 4, 59, 95], Operations: []
Exploring Operation: 13+4=17, Resulting Numbers: [59, 95, 17]
Generated Node #0,0: 89:[59, 95, 17] Operation: 13+4=17
Exploring Operation: 13*4=52, Resulting Numbers: [59, 95, 52]
Generated Node #0,1: 89:[59, 95, 52] Operation: 13*4=52
Moving to Node #0,1
Current State: 89:[59, 95, 52], Operations: ['13*4=52']
Exploring Operation: 59+52=111, Resulting Numbers: [95, 111]
Generated Node #0,1,0: 89:[95, 111] Operation: 59+52=111
Exploring Operation: 95-52=43, Resulting Numbers: [59, 43]
Generated Node #0,1,1: 89:[59, 43] Operation: 95-52=43
Moving to Node #0,0
Current State: 89:[59, 95, 17], Operations: ['13+4=17']
Exploring Operation: 95-17=78, Resulting Numbers: [59, 78]
Generated Node #0,0,0: 89:[59, 78] Operation: 95-17=78
Exploring Operation: 59+17=76, Resulting Numbers: [95, 76]
Generated Node #0,0,1: 89:[95, 76] Operation: 59+17=76
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[95, 76], Operations: ['13+4=17', '59+17=76']
Exploring Operation: 95+76=171, Resulting Numbers: [171]
171,89 unequal: No Solution
Exploring Operation: 95-76=19, Resulting Numbers: [19]
19,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[59, 78], Operations: ['13+4=17', '95-17=78']
Exploring Operation: 59+78=137, Resulting Numbers: [137]
137,89 unequal: No Solution
Exploring Operation: 78-59=19, Resulting Numbers: [19]
19,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 89:[95, 111], Operations: ['13*4=52', '59+52=111']
Exploring Operation: 95+111=206, Resulting Numbers: [206]
206,89 unequal: No Solution
Exploring Operation: 111-95=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[59, 43], Operations: ['13*4=52', '95-52=43']
Exploring Operation: 59-43=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Exploring Operation: 59+43=102, Resulting Numbers: [102]
102,89 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
27,
35,
61,
9
] | 44 | [
"27*35=945",
"945/9=105",
"105-61=44"
] | Current State: 44:[27, 35, 61, 9], Operations: []
Exploring Operation: 27*35=945, Resulting Numbers: [61, 9, 945]
Generated Node #2: [61, 9, 945] from Operation: 27*35=945
Current State: 44:[61, 9, 945], Operations: ['27*35=945']
Exploring Operation: 945/9=105, Resulting Numbers: [61, 105]
Generated Node #3: [61, 105] from Operation: 945/9=105
Current State: 44:[61, 105], Operations: ['27*35=945', '945/9=105']
Exploring Operation: 105-61=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[27, 35, 61, 9], Operations: []
Exploring Operation: 61-35=26, Resulting Numbers: [27, 9, 26]
Generated Node #0,0: 44:[27, 9, 26] Operation: 61-35=26
Exploring Operation: 61-27=34, Resulting Numbers: [35, 9, 34]
Generated Node #0,1: 44:[35, 9, 34] Operation: 61-27=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[27, 9, 26], Operations: ['61-35=26']
Exploring Operation: 27/9=3, Resulting Numbers: [26, 3]
Generated Node #0,0,0: 44:[26, 3] Operation: 27/9=3
Exploring Operation: 27-26=1, Resulting Numbers: [9, 1]
Generated Node #0,0,1: 44:[9, 1] Operation: 27-26=1
Moving to Node #0,0,1
Current State: 44:[9, 1], Operations: ['61-35=26', '27-26=1']
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[26, 3], Operations: ['61-35=26', '27/9=3']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,44 unequal: No Solution
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[35, 9, 34], Operations: ['61-27=34']
Exploring Operation: 35-34=1, Resulting Numbers: [9, 1]
Generated Node #0,1,0: 44:[9, 1] Operation: 35-34=1
Exploring Operation: 35+9=44, Resulting Numbers: [34, 44]
Generated Node #0,1,1: 44:[34, 44] Operation: 35+9=44
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[9, 1], Operations: ['61-27=34', '35-34=1']
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[34, 44], Operations: ['61-27=34', '35+9=44']
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 34+44=78, Resulting Numbers: [78]
78,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_2 | sum_heuristic |
[
91,
59,
47,
3
] | 18 | [
"91-59=32",
"47+3=50",
"50-32=18"
] | Current State: 18:[91, 59, 47, 3], Operations: []
Exploring Operation: 91-59=32, Resulting Numbers: [47, 3, 32]
Generated Node #2: [47, 3, 32] from Operation: 91-59=32
Current State: 18:[47, 3, 32], Operations: ['91-59=32']
Exploring Operation: 47+3=50, Resulting Numbers: [32, 50]
Generated Node #3: [32, 50] from Operation: 47+3=50
Current State: 18:[32, 50], Operations: ['91-59=32', '47+3=50']
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[91, 59, 47, 3], Operations: []
Exploring Operation: 59-47=12, Resulting Numbers: [91, 3, 12]
Generated Node #0,0: 18:[91, 3, 12] Operation: 59-47=12
Exploring Operation: 91-47=44, Resulting Numbers: [59, 3, 44]
Generated Node #0,1: 18:[59, 3, 44] Operation: 91-47=44
Exploring Operation: 91-59=32, Resulting Numbers: [47, 3, 32]
Generated Node #0,2: 18:[47, 3, 32] Operation: 91-59=32
Moving to Node #0,2
Current State: 18:[47, 3, 32], Operations: ['91-59=32']
Exploring Operation: 47-32=15, Resulting Numbers: [3, 15]
Generated Node #0,2,0: 18:[3, 15] Operation: 47-32=15
Exploring Operation: 32-3=29, Resulting Numbers: [47, 29]
Generated Node #0,2,1: 18:[47, 29] Operation: 32-3=29
Exploring Operation: 47-3=44, Resulting Numbers: [32, 44]
Generated Node #0,2,2: 18:[32, 44] Operation: 47-3=44
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 18:[3, 15], Operations: ['91-59=32', '47-32=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[91, 59, 47, 3], Operations: []
Exploring Operation: 91-59=32, Resulting Numbers: [47, 3, 32]
Generated Node #0,2: 18:[47, 3, 32] Operation: 91-59=32
Moving to Node #0,2
Current State: 18:[47, 3, 32], Operations: ['91-59=32']
Exploring Operation: 47-32=15, Resulting Numbers: [3, 15]
Generated Node #0,2,0: 18:[3, 15] Operation: 47-32=15
Moving to Node #0,2,0
Current State: 18:[3, 15], Operations: ['91-59=32', '47-32=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
73,
6,
91,
68
] | 17 | [
"73-68=5",
"91-6=85",
"85/5=17"
] | Current State: 17:[73, 6, 91, 68], Operations: []
Exploring Operation: 73-68=5, Resulting Numbers: [6, 91, 5]
Generated Node #2: [6, 91, 5] from Operation: 73-68=5
Current State: 17:[6, 91, 5], Operations: ['73-68=5']
Exploring Operation: 91-6=85, Resulting Numbers: [5, 85]
Generated Node #3: [5, 85] from Operation: 91-6=85
Current State: 17:[5, 85], Operations: ['73-68=5', '91-6=85']
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[73, 6, 91, 68], Operations: []
Exploring Operation: 73-68=5, Resulting Numbers: [6, 91, 5]
Generated Node #0,0: 17:[6, 91, 5] Operation: 73-68=5
Exploring Operation: 73-6=67, Resulting Numbers: [91, 68, 67]
Generated Node #0,1: 17:[91, 68, 67] Operation: 73-6=67
Exploring Operation: 91-6=85, Resulting Numbers: [73, 68, 85]
Generated Node #0,2: 17:[73, 68, 85] Operation: 91-6=85
Exploring Operation: 91-68=23, Resulting Numbers: [73, 6, 23]
Generated Node #0,3: 17:[73, 6, 23] Operation: 91-68=23
Exploring Operation: 91-73=18, Resulting Numbers: [6, 68, 18]
Generated Node #0,4: 17:[6, 68, 18] Operation: 91-73=18
Moving to Node #0,4
Current State: 17:[6, 68, 18], Operations: ['91-73=18']
Exploring Operation: 6+18=24, Resulting Numbers: [68, 24]
Generated Node #0,4,0: 17:[68, 24] Operation: 6+18=24
Exploring Operation: 6+68=74, Resulting Numbers: [18, 74]
Generated Node #0,4,1: 17:[18, 74] Operation: 6+68=74
Exploring Operation: 18-6=12, Resulting Numbers: [68, 12]
Generated Node #0,4,2: 17:[68, 12] Operation: 18-6=12
Exploring Operation: 68-18=50, Resulting Numbers: [6, 50]
Generated Node #0,4,3: 17:[6, 50] Operation: 68-18=50
Exploring Operation: 68-6=62, Resulting Numbers: [18, 62]
Generated Node #0,4,4: 17:[18, 62] Operation: 68-6=62
Moving to Node #0,3
Current State: 17:[73, 6, 23], Operations: ['91-68=23']
Exploring Operation: 73-23=50, Resulting Numbers: [6, 50]
Generated Node #0,3,0: 17:[6, 50] Operation: 73-23=50
Exploring Operation: 73-6=67, Resulting Numbers: [23, 67]
Generated Node #0,3,1: 17:[23, 67] Operation: 73-6=67
Exploring Operation: 6+23=29, Resulting Numbers: [73, 29]
Generated Node #0,3,2: 17:[73, 29] Operation: 6+23=29
Exploring Operation: 73+6=79, Resulting Numbers: [23, 79]
Generated Node #0,3,3: 17:[23, 79] Operation: 73+6=79
Exploring Operation: 23-6=17, Resulting Numbers: [73, 17]
Generated Node #0,3,4: 17:[73, 17] Operation: 23-6=17
Moving to Node #0,0
Current State: 17:[6, 91, 5], Operations: ['73-68=5']
Exploring Operation: 6+5=11, Resulting Numbers: [91, 11]
Generated Node #0,0,0: 17:[91, 11] Operation: 6+5=11
Exploring Operation: 6-5=1, Resulting Numbers: [91, 1]
Generated Node #0,0,1: 17:[91, 1] Operation: 6-5=1
Exploring Operation: 91-5=86, Resulting Numbers: [6, 86]
Generated Node #0,0,2: 17:[6, 86] Operation: 91-5=86
Exploring Operation: 6*5=30, Resulting Numbers: [91, 30]
Generated Node #0,0,3: 17:[91, 30] Operation: 6*5=30
Exploring Operation: 91-6=85, Resulting Numbers: [5, 85]
Generated Node #0,0,4: 17:[5, 85] Operation: 91-6=85
Moving to Node #0,1
Current State: 17:[91, 68, 67], Operations: ['73-6=67']
Exploring Operation: 91+68=159, Resulting Numbers: [67, 159]
Generated Node #0,1,0: 17:[67, 159] Operation: 91+68=159
Exploring Operation: 91-67=24, Resulting Numbers: [68, 24]
Generated Node #0,1,1: 17:[68, 24] Operation: 91-67=24
Exploring Operation: 91+67=158, Resulting Numbers: [68, 158]
Generated Node #0,1,2: 17:[68, 158] Operation: 91+67=158
Exploring Operation: 91-68=23, Resulting Numbers: [67, 23]
Generated Node #0,1,3: 17:[67, 23] Operation: 91-68=23
Exploring Operation: 68-67=1, Resulting Numbers: [91, 1]
Generated Node #0,1,4: 17:[91, 1] Operation: 68-67=1
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 17:[67, 23], Operations: ['73-6=67', '91-68=23']
Exploring Operation: 67+23=90, Resulting Numbers: [90]
90,17 unequal: No Solution
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 67*23=1541, Resulting Numbers: [1541]
1541,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,1,1
Current State: 17:[68, 24], Operations: ['73-6=67', '91-67=24']
Exploring Operation: 68+24=92, Resulting Numbers: [92]
92,17 unequal: No Solution
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 68*24=1632, Resulting Numbers: [1632]
1632,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,1,4
Current State: 17:[91, 1], Operations: ['73-6=67', '68-67=1']
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,17 unequal: No Solution
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,17 unequal: No Solution
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,17 unequal: No Solution
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,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,1,0
Current State: 17:[67, 159], Operations: ['73-6=67', '91+68=159']
Exploring Operation: 67+159=226, Resulting Numbers: [226]
226,17 unequal: No Solution
Exploring Operation: 67*159=10653, Resulting Numbers: [10653]
10653,17 unequal: No Solution
Exploring Operation: 159-67=92, Resulting Numbers: [92]
92,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,1,2
Current State: 17:[68, 158], Operations: ['73-6=67', '91+67=158']
Exploring Operation: 68+158=226, Resulting Numbers: [226]
226,17 unequal: No Solution
Exploring Operation: 68*158=10744, Resulting Numbers: [10744]
10744,17 unequal: No Solution
Exploring Operation: 158-68=90, Resulting Numbers: [90]
90,17 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: 17:[73, 68, 85], Operations: ['91-6=85']
Exploring Operation: 73-68=5, Resulting Numbers: [85, 5]
Generated Node #0,2,0: 17:[85, 5] Operation: 73-68=5
Exploring Operation: 85-73=12, Resulting Numbers: [68, 12]
Generated Node #0,2,1: 17:[68, 12] Operation: 85-73=12
Exploring Operation: 73+68=141, Resulting Numbers: [85, 141]
Generated Node #0,2,2: 17:[85, 141] Operation: 73+68=141
Exploring Operation: 85-68=17, Resulting Numbers: [73, 17]
Generated Node #0,2,3: 17:[73, 17] Operation: 85-68=17
Exploring Operation: 73+85=158, Resulting Numbers: [68, 158]
Generated Node #0,2,4: 17:[68, 158] Operation: 73+85=158
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[68, 12], Operations: ['91-6=85', '85-73=12']
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,17 unequal: No Solution
Exploring Operation: 68+12=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 68*12=816, Resulting Numbers: [816]
816,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,2,3
Current State: 17:[73, 17], Operations: ['91-6=85', '85-68=17']
Exploring Operation: 73-17=56, Resulting Numbers: [56]
56,17 unequal: No Solution
Exploring Operation: 73*17=1241, Resulting Numbers: [1241]
1241,17 unequal: No Solution
Exploring Operation: 73+17=90, Resulting Numbers: [90]
90,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,2,0
Current State: 17:[85, 5], Operations: ['91-6=85', '73-68=5']
Exploring Operation: 85*5=425, Resulting Numbers: [425]
425,17 unequal: No Solution
Exploring Operation: 85+5=90, Resulting Numbers: [90]
90,17 unequal: No Solution
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[73, 6, 91, 68], Operations: []
Exploring Operation: 91-6=85, Resulting Numbers: [73, 68, 85]
Generated Node #0,2: 17:[73, 68, 85] Operation: 91-6=85
Moving to Node #0,2
Current State: 17:[73, 68, 85], Operations: ['91-6=85']
Exploring Operation: 73-68=5, Resulting Numbers: [85, 5]
Generated Node #0,2,0: 17:[85, 5] Operation: 73-68=5
Moving to Node #0,2,0
Current State: 17:[85, 5], Operations: ['91-6=85', '73-68=5']
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.947917 | hs_5 | mult_heuristic |
[
15,
32,
16,
4
] | 34 | [
"15*32=480",
"480/16=30",
"4+30=34"
] | Current State: 34:[15, 32, 16, 4], Operations: []
Exploring Operation: 15*32=480, Resulting Numbers: [16, 4, 480]
Generated Node #2: [16, 4, 480] from Operation: 15*32=480
Current State: 34:[16, 4, 480], Operations: ['15*32=480']
Exploring Operation: 480/16=30, Resulting Numbers: [4, 30]
Generated Node #3: [4, 30] from Operation: 480/16=30
Current State: 34:[4, 30], Operations: ['15*32=480', '480/16=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[15, 32, 16, 4], Operations: []
Exploring Operation: 32-15=17, Resulting Numbers: [16, 4, 17]
Generated Node #0,0: 34:[16, 4, 17] Operation: 32-15=17
Moving to Node #0,0
Current State: 34:[16, 4, 17], Operations: ['32-15=17']
Exploring Operation: 16/4=4, Resulting Numbers: [17, 4]
Generated Node #0,0,0: 34:[17, 4] Operation: 16/4=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[17, 4], Operations: ['32-15=17', '16/4=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
43,
17,
68,
74
] | 32 | [
"43-17=26",
"74-68=6",
"26+6=32"
] | Current State: 32:[43, 17, 68, 74], Operations: []
Exploring Operation: 43-17=26, Resulting Numbers: [68, 74, 26]
Generated Node #2: [68, 74, 26] from Operation: 43-17=26
Current State: 32:[68, 74, 26], Operations: ['43-17=26']
Exploring Operation: 74-68=6, Resulting Numbers: [26, 6]
Generated Node #3: [26, 6] from Operation: 74-68=6
Current State: 32:[26, 6], Operations: ['43-17=26', '74-68=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[43, 17, 68, 74], Operations: []
Exploring Operation: 68-43=25, Resulting Numbers: [17, 74, 25]
Generated Node #0,0: 32:[17, 74, 25] Operation: 68-43=25
Exploring Operation: 74-43=31, Resulting Numbers: [17, 68, 31]
Generated Node #0,1: 32:[17, 68, 31] Operation: 74-43=31
Exploring Operation: 74-68=6, Resulting Numbers: [43, 17, 6]
Generated Node #0,2: 32:[43, 17, 6] Operation: 74-68=6
Exploring Operation: 68/17=4, Resulting Numbers: [43, 74, 4]
Generated Node #0,3: 32:[43, 74, 4] Operation: 68/17=4
Moving to Node #0,2
Current State: 32:[43, 17, 6], Operations: ['74-68=6']
Exploring Operation: 43-17=26, Resulting Numbers: [6, 26]
Generated Node #0,2,0: 32:[6, 26] Operation: 43-17=26
Exploring Operation: 43+6=49, Resulting Numbers: [17, 49]
Generated Node #0,2,1: 32:[17, 49] Operation: 43+6=49
Exploring Operation: 17-6=11, Resulting Numbers: [43, 11]
Generated Node #0,2,2: 32:[43, 11] Operation: 17-6=11
Exploring Operation: 43-6=37, Resulting Numbers: [17, 37]
Generated Node #0,2,3: 32:[17, 37] Operation: 43-6=37
Moving to Node #0,1
Current State: 32:[17, 68, 31], Operations: ['74-43=31']
Exploring Operation: 68-31=37, Resulting Numbers: [17, 37]
Generated Node #0,1,0: 32:[17, 37] Operation: 68-31=37
Exploring Operation: 68/17=4, Resulting Numbers: [31, 4]
Generated Node #0,1,1: 32:[31, 4] Operation: 68/17=4
Exploring Operation: 68-17=51, Resulting Numbers: [31, 51]
Generated Node #0,1,2: 32:[31, 51] Operation: 68-17=51
Exploring Operation: 31-17=14, Resulting Numbers: [68, 14]
Generated Node #0,1,3: 32:[68, 14] Operation: 31-17=14
Moving to Node #0,0
Current State: 32:[17, 74, 25], Operations: ['68-43=25']
Exploring Operation: 17+25=42, Resulting Numbers: [74, 42]
Generated Node #0,0,0: 32:[74, 42] Operation: 17+25=42
Exploring Operation: 74-17=57, Resulting Numbers: [25, 57]
Generated Node #0,0,1: 32:[25, 57] Operation: 74-17=57
Exploring Operation: 25-17=8, Resulting Numbers: [74, 8]
Generated Node #0,0,2: 32:[74, 8] Operation: 25-17=8
Exploring Operation: 74-25=49, Resulting Numbers: [17, 49]
Generated Node #0,0,3: 32:[17, 49] Operation: 74-25=49
Moving to Node #0,3
Current State: 32:[43, 74, 4], Operations: ['68/17=4']
Exploring Operation: 43-4=39, Resulting Numbers: [74, 39]
Generated Node #0,3,0: 32:[74, 39] Operation: 43-4=39
Exploring Operation: 74-4=70, Resulting Numbers: [43, 70]
Generated Node #0,3,1: 32:[43, 70] Operation: 74-4=70
Exploring Operation: 43+4=47, Resulting Numbers: [74, 47]
Generated Node #0,3,2: 32:[74, 47] Operation: 43+4=47
Exploring Operation: 74-43=31, Resulting Numbers: [4, 31]
Generated Node #0,3,3: 32:[4, 31] Operation: 74-43=31
Moving to Node #0,1,1
Current State: 32:[31, 4], Operations: ['74-43=31', '68/17=4']
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,32 unequal: No Solution
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,32 unequal: No Solution
Moving to Node #0,3,3
Current State: 32:[4, 31], Operations: ['68/17=4', '74-43=31']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,32 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[17, 37], Operations: ['74-43=31', '68-31=37']
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 17*37=629, Resulting Numbers: [629]
629,32 unequal: No Solution
Moving to Node #0,2,3
Current State: 32:[17, 37], Operations: ['74-68=6', '43-6=37']
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 17*37=629, Resulting Numbers: [629]
629,32 unequal: No Solution
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[6, 26], Operations: ['74-68=6', '43-17=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[43, 17, 68, 74], Operations: []
Exploring Operation: 74-68=6, Resulting Numbers: [43, 17, 6]
Generated Node #0,2: 32:[43, 17, 6] Operation: 74-68=6
Moving to Node #0,2
Current State: 32:[43, 17, 6], Operations: ['74-68=6']
Exploring Operation: 43-17=26, Resulting Numbers: [6, 26]
Generated Node #0,2,0: 32:[6, 26] Operation: 43-17=26
Moving to Node #0,2,0
Current State: 32:[6, 26], Operations: ['74-68=6', '43-17=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.967882 | hs_4 | sum_heuristic |
[
75,
45,
48,
1
] | 79 | [
"75-45=30",
"48+1=49",
"30+49=79"
] | Current State: 79:[75, 45, 48, 1], Operations: []
Exploring Operation: 75-45=30, Resulting Numbers: [48, 1, 30]
Generated Node #2: [48, 1, 30] from Operation: 75-45=30
Current State: 79:[48, 1, 30], Operations: ['75-45=30']
Exploring Operation: 48+1=49, Resulting Numbers: [30, 49]
Generated Node #3: [30, 49] from Operation: 48+1=49
Current State: 79:[30, 49], Operations: ['75-45=30', '48+1=49']
Exploring Operation: 30+49=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[75, 45, 48, 1], Operations: []
Exploring Operation: 75+1=76, Resulting Numbers: [45, 48, 76]
Generated Node #0,0: 79:[45, 48, 76] Operation: 75+1=76
Moving to Node #0,0
Current State: 79:[45, 48, 76], Operations: ['75+1=76']
Exploring Operation: 45+48=93, Resulting Numbers: [76, 93]
Generated Node #0,0,0: 79:[76, 93] Operation: 45+48=93
Moving to Node #0,0,0
Current State: 79:[76, 93], Operations: ['75+1=76', '45+48=93']
Exploring Operation: 93-76=17, Resulting Numbers: [17]
17,79 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
12,
33,
45,
35
] | 31 | [
"33-12=21",
"45-35=10",
"21+10=31"
] | Current State: 31:[12, 33, 45, 35], Operations: []
Exploring Operation: 33-12=21, Resulting Numbers: [45, 35, 21]
Generated Node #2: [45, 35, 21] from Operation: 33-12=21
Current State: 31:[45, 35, 21], Operations: ['33-12=21']
Exploring Operation: 45-35=10, Resulting Numbers: [21, 10]
Generated Node #3: [21, 10] from Operation: 45-35=10
Current State: 31:[21, 10], Operations: ['33-12=21', '45-35=10']
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[12, 33, 45, 35], Operations: []
Exploring Operation: 35-12=23, Resulting Numbers: [33, 45, 23]
Generated Node #0,0: 31:[33, 45, 23] Operation: 35-12=23
Exploring Operation: 45-12=33, Resulting Numbers: [33, 35, 33]
Generated Node #0,1: 31:[33, 35, 33] Operation: 45-12=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[33, 35, 33], Operations: ['45-12=33']
Exploring Operation: 35-33=2, Resulting Numbers: [33, 2]
Generated Node #0,1,0: 31:[33, 2] Operation: 35-33=2
Exploring Operation: 35-33=2, Resulting Numbers: [33, 2]
Generated Node #0,1,1: 31:[33, 2] Operation: 35-33=2
Moving to Node #0,1,0
Current State: 31:[33, 2], Operations: ['45-12=33', '35-33=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[12, 33, 45, 35], Operations: []
Exploring Operation: 45-12=33, Resulting Numbers: [33, 35, 33]
Generated Node #0,1: 31:[33, 35, 33] Operation: 45-12=33
Moving to Node #0,1
Current State: 31:[33, 35, 33], Operations: ['45-12=33']
Exploring Operation: 35-33=2, Resulting Numbers: [33, 2]
Generated Node #0,1,0: 31:[33, 2] Operation: 35-33=2
Moving to Node #0,1,0
Current State: 31:[33, 2], Operations: ['45-12=33', '35-33=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
26,
45,
27,
87
] | 11 | [
"26+45=71",
"87-27=60",
"71-60=11"
] | Current State: 11:[26, 45, 27, 87], Operations: []
Exploring Operation: 26+45=71, Resulting Numbers: [27, 87, 71]
Generated Node #2: [27, 87, 71] from Operation: 26+45=71
Current State: 11:[27, 87, 71], Operations: ['26+45=71']
Exploring Operation: 87-27=60, Resulting Numbers: [71, 60]
Generated Node #3: [71, 60] from Operation: 87-27=60
Current State: 11:[71, 60], Operations: ['26+45=71', '87-27=60']
Exploring Operation: 71-60=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[26, 45, 27, 87], Operations: []
Exploring Operation: 45-27=18, Resulting Numbers: [26, 87, 18]
Generated Node #0,0: 11:[26, 87, 18] Operation: 45-27=18
Exploring Operation: 87-45=42, Resulting Numbers: [26, 27, 42]
Generated Node #0,1: 11:[26, 27, 42] Operation: 87-45=42
Exploring Operation: 45-26=19, Resulting Numbers: [27, 87, 19]
Generated Node #0,2: 11:[27, 87, 19] Operation: 45-26=19
Exploring Operation: 87-27=60, Resulting Numbers: [26, 45, 60]
Generated Node #0,3: 11:[26, 45, 60] Operation: 87-27=60
Moving to Node #0,1
Current State: 11:[26, 27, 42], Operations: ['87-45=42']
Exploring Operation: 27-26=1, Resulting Numbers: [42, 1]
Generated Node #0,1,0: 11:[42, 1] Operation: 27-26=1
Exploring Operation: 26+27=53, Resulting Numbers: [42, 53]
Generated Node #0,1,1: 11:[42, 53] Operation: 26+27=53
Exploring Operation: 42-27=15, Resulting Numbers: [26, 15]
Generated Node #0,1,2: 11:[26, 15] Operation: 42-27=15
Exploring Operation: 42-26=16, Resulting Numbers: [27, 16]
Generated Node #0,1,3: 11:[27, 16] Operation: 42-26=16
Moving to Node #0,3
Current State: 11:[26, 45, 60], Operations: ['87-27=60']
Exploring Operation: 45-26=19, Resulting Numbers: [60, 19]
Generated Node #0,3,0: 11:[60, 19] Operation: 45-26=19
Exploring Operation: 60-26=34, Resulting Numbers: [45, 34]
Generated Node #0,3,1: 11:[45, 34] Operation: 60-26=34
Exploring Operation: 26+45=71, Resulting Numbers: [60, 71]
Generated Node #0,3,2: 11:[60, 71] Operation: 26+45=71
Exploring Operation: 60-45=15, Resulting Numbers: [26, 15]
Generated Node #0,3,3: 11:[26, 15] Operation: 60-45=15
Moving to Node #0,0
Current State: 11:[26, 87, 18], Operations: ['45-27=18']
Exploring Operation: 87-18=69, Resulting Numbers: [26, 69]
Generated Node #0,0,0: 11:[26, 69] Operation: 87-18=69
Exploring Operation: 87-26=61, Resulting Numbers: [18, 61]
Generated Node #0,0,1: 11:[18, 61] Operation: 87-26=61
Exploring Operation: 26-18=8, Resulting Numbers: [87, 8]
Generated Node #0,0,2: 11:[87, 8] Operation: 26-18=8
Exploring Operation: 26+87=113, Resulting Numbers: [18, 113]
Generated Node #0,0,3: 11:[18, 113] Operation: 26+87=113
Moving to Node #0,2
Current State: 11:[27, 87, 19], Operations: ['45-26=19']
Exploring Operation: 87-27=60, Resulting Numbers: [19, 60]
Generated Node #0,2,0: 11:[19, 60] Operation: 87-27=60
Exploring Operation: 27+87=114, Resulting Numbers: [19, 114]
Generated Node #0,2,1: 11:[19, 114] Operation: 27+87=114
Exploring Operation: 87-19=68, Resulting Numbers: [27, 68]
Generated Node #0,2,2: 11:[27, 68] Operation: 87-19=68
Exploring Operation: 27-19=8, Resulting Numbers: [87, 8]
Generated Node #0,2,3: 11:[87, 8] Operation: 27-19=8
Moving to Node #0,1,2
Current State: 11:[26, 15], Operations: ['87-45=42', '42-27=15']
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,11 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[26, 45, 27, 87], Operations: []
Exploring Operation: 87-45=42, Resulting Numbers: [26, 27, 42]
Generated Node #0,1: 11:[26, 27, 42] Operation: 87-45=42
Moving to Node #0,1
Current State: 11:[26, 27, 42], Operations: ['87-45=42']
Exploring Operation: 42-27=15, Resulting Numbers: [26, 15]
Generated Node #0,1,2: 11:[26, 15] Operation: 42-27=15
Moving to Node #0,1,2
Current State: 11:[26, 15], Operations: ['87-45=42', '42-27=15']
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.976563 | hs_4 | sum_heuristic |
[
6,
56,
9,
9
] | 56 | [
"9-9=0",
"6*0=0",
"56+0=56"
] | Current State: 56:[6, 56, 9, 9], Operations: []
Exploring Operation: 9-9=0, Resulting Numbers: [6, 56, 0]
Generated Node #2: [6, 56, 0] from Operation: 9-9=0
Current State: 56:[6, 56, 0], Operations: ['9-9=0']
Exploring Operation: 6*0=0, Resulting Numbers: [56, 0]
Generated Node #3: [56, 0] from Operation: 6*0=0
Current State: 56:[56, 0], Operations: ['9-9=0', '6*0=0']
Exploring Operation: 56+0=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[6, 56, 9, 9], Operations: []
Exploring Operation: 6+9=15, Resulting Numbers: [56, 9, 15]
Generated Node #0,0: 56:[56, 9, 15] Operation: 6+9=15
Moving to Node #0,0
Current State: 56:[56, 9, 15], Operations: ['6+9=15']
Exploring Operation: 15-9=6, Resulting Numbers: [56, 6]
Generated Node #0,0,0: 56:[56, 6] Operation: 15-9=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[56, 6], Operations: ['6+9=15', '15-9=6']
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,56 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 |
[
60,
75,
90,
65
] | 18 | [
"90*65=5850",
"5850/75=78",
"78-60=18"
] | Current State: 18:[60, 75, 90, 65], Operations: []
Exploring Operation: 90*65=5850, Resulting Numbers: [60, 75, 5850]
Generated Node #2: [60, 75, 5850] from Operation: 90*65=5850
Current State: 18:[60, 75, 5850], Operations: ['90*65=5850']
Exploring Operation: 5850/75=78, Resulting Numbers: [60, 78]
Generated Node #3: [60, 78] from Operation: 5850/75=78
Current State: 18:[60, 78], Operations: ['90*65=5850', '5850/75=78']
Exploring Operation: 78-60=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[60, 75, 90, 65], Operations: []
Exploring Operation: 90-65=25, Resulting Numbers: [60, 75, 25]
Generated Node #0,0: 18:[60, 75, 25] Operation: 90-65=25
Exploring Operation: 90-75=15, Resulting Numbers: [60, 65, 15]
Generated Node #0,1: 18:[60, 65, 15] Operation: 90-75=15
Exploring Operation: 75-60=15, Resulting Numbers: [90, 65, 15]
Generated Node #0,2: 18:[90, 65, 15] Operation: 75-60=15
Exploring Operation: 75-65=10, Resulting Numbers: [60, 90, 10]
Generated Node #0,3: 18:[60, 90, 10] Operation: 75-65=10
Exploring Operation: 90-60=30, Resulting Numbers: [75, 65, 30]
Generated Node #0,4: 18:[75, 65, 30] Operation: 90-60=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[60, 65, 15], Operations: ['90-75=15']
Exploring Operation: 60/15=4, Resulting Numbers: [65, 4]
Generated Node #0,1,0: 18:[65, 4] Operation: 60/15=4
Exploring Operation: 65-15=50, Resulting Numbers: [60, 50]
Generated Node #0,1,1: 18:[60, 50] Operation: 65-15=50
Exploring Operation: 60+15=75, Resulting Numbers: [65, 75]
Generated Node #0,1,2: 18:[65, 75] Operation: 60+15=75
Exploring Operation: 65-60=5, Resulting Numbers: [15, 5]
Generated Node #0,1,3: 18:[15, 5] Operation: 65-60=5
Exploring Operation: 60-15=45, Resulting Numbers: [65, 45]
Generated Node #0,1,4: 18:[65, 45] Operation: 60-15=45
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 18:[15, 5], Operations: ['90-75=15', '65-60=5']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,18 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,18 unequal: No Solution
No 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: 18:[65, 4], Operations: ['90-75=15', '60/15=4']
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Exploring Operation: 65*4=260, Resulting Numbers: [260]
260,18 unequal: No Solution
Exploring Operation: 65+4=69, Resulting Numbers: [69]
69,18 unequal: No Solution
No 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: 18:[60, 50], Operations: ['90-75=15', '65-15=50']
Exploring Operation: 60+50=110, Resulting Numbers: [110]
110,18 unequal: No Solution
Exploring Operation: 60*50=3000, Resulting Numbers: [3000]
3000,18 unequal: No Solution
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,18 unequal: No Solution
No 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: 18:[65, 45], Operations: ['90-75=15', '60-15=45']
Exploring Operation: 65*45=2925, Resulting Numbers: [2925]
2925,18 unequal: No Solution
Exploring Operation: 65+45=110, Resulting Numbers: [110]
110,18 unequal: No Solution
Exploring Operation: 65-45=20, Resulting Numbers: [20]
20,18 unequal: No Solution
No 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: 18:[65, 75], Operations: ['90-75=15', '60+15=75']
Exploring Operation: 65+75=140, Resulting Numbers: [140]
140,18 unequal: No Solution
Exploring Operation: 75-65=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 65*75=4875, Resulting Numbers: [4875]
4875,18 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: 18:[60, 75, 25], Operations: ['90-65=25']
Exploring Operation: 75/25=3, Resulting Numbers: [60, 3]
Generated Node #0,0,0: 18:[60, 3] Operation: 75/25=3
Exploring Operation: 75-25=50, Resulting Numbers: [60, 50]
Generated Node #0,0,1: 18:[60, 50] Operation: 75-25=50
Exploring Operation: 60+75=135, Resulting Numbers: [25, 135]
Generated Node #0,0,2: 18:[25, 135] Operation: 60+75=135
Exploring Operation: 75-60=15, Resulting Numbers: [25, 15]
Generated Node #0,0,3: 18:[25, 15] Operation: 75-60=15
Exploring Operation: 60-25=35, Resulting Numbers: [75, 35]
Generated Node #0,0,4: 18:[75, 35] Operation: 60-25=35
Moving to Node #0,0,3
Current State: 18:[25, 15], Operations: ['90-65=25', '75-60=15']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 25*15=375, Resulting Numbers: [375]
375,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[60, 3], Operations: ['90-65=25', '75/25=3']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,18 unequal: No Solution
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,18 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,18 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[60, 50], Operations: ['90-65=25', '75-25=50']
Exploring Operation: 60*50=3000, Resulting Numbers: [3000]
3000,18 unequal: No Solution
Exploring Operation: 60+50=110, Resulting Numbers: [110]
110,18 unequal: No Solution
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Moving to Node #0,0,4
Current State: 18:[75, 35], Operations: ['90-65=25', '60-25=35']
Exploring Operation: 75+35=110, Resulting Numbers: [110]
110,18 unequal: No Solution
Exploring Operation: 75*35=2625, Resulting Numbers: [2625]
2625,18 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[25, 135], Operations: ['90-65=25', '60+75=135']
Exploring Operation: 25*135=3375, Resulting Numbers: [3375]
3375,18 unequal: No Solution
Exploring Operation: 135-25=110, Resulting Numbers: [110]
110,18 unequal: No Solution
Exploring Operation: 25+135=160, Resulting Numbers: [160]
160,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,3
Current State: 18:[60, 90, 10], Operations: ['75-65=10']
Exploring Operation: 60-10=50, Resulting Numbers: [90, 50]
Generated Node #0,3,0: 18:[90, 50] Operation: 60-10=50
Exploring Operation: 90-10=80, Resulting Numbers: [60, 80]
Generated Node #0,3,1: 18:[60, 80] Operation: 90-10=80
Exploring Operation: 90/10=9, Resulting Numbers: [60, 9]
Generated Node #0,3,2: 18:[60, 9] Operation: 90/10=9
Exploring Operation: 60/10=6, Resulting Numbers: [90, 6]
Generated Node #0,3,3: 18:[90, 6] Operation: 60/10=6
Exploring Operation: 90-60=30, Resulting Numbers: [10, 30]
Generated Node #0,3,4: 18:[10, 30] Operation: 90-60=30
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 18:[10, 30], Operations: ['75-65=10', '90-60=30']
Exploring Operation: 10*30=300, Resulting Numbers: [300]
300,18 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,18 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,18 unequal: No Solution
No 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: 18:[60, 9], Operations: ['75-65=10', '90/10=9']
Exploring Operation: 60+9=69, Resulting Numbers: [69]
69,18 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,18 unequal: No Solution
Exploring Operation: 60*9=540, Resulting Numbers: [540]
540,18 unequal: No Solution
No 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: 18:[90, 6], Operations: ['75-65=10', '60/10=6']
Exploring Operation: 90*6=540, Resulting Numbers: [540]
540,18 unequal: No Solution
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,18 unequal: No Solution
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,18 unequal: No Solution
No 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: 18:[90, 50], Operations: ['75-65=10', '60-10=50']
Exploring Operation: 90+50=140, Resulting Numbers: [140]
140,18 unequal: No Solution
Exploring Operation: 90*50=4500, Resulting Numbers: [4500]
4500,18 unequal: No Solution
Exploring Operation: 90-50=40, Resulting Numbers: [40]
40,18 unequal: No Solution
No 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: 18:[60, 80], Operations: ['75-65=10', '90-10=80']
Exploring Operation: 60+80=140, Resulting Numbers: [140]
140,18 unequal: No Solution
Exploring Operation: 60*80=4800, Resulting Numbers: [4800]
4800,18 unequal: No Solution
Exploring Operation: 80-60=20, Resulting Numbers: [20]
20,18 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: 18:[75, 65, 30], Operations: ['90-60=30']
Exploring Operation: 75-65=10, Resulting Numbers: [30, 10]
Generated Node #0,4,0: 18:[30, 10] Operation: 75-65=10
Exploring Operation: 75+65=140, Resulting Numbers: [30, 140]
Generated Node #0,4,1: 18:[30, 140] Operation: 75+65=140
Exploring Operation: 75-30=45, Resulting Numbers: [65, 45]
Generated Node #0,4,2: 18:[65, 45] Operation: 75-30=45
Exploring Operation: 65-30=35, Resulting Numbers: [75, 35]
Generated Node #0,4,3: 18:[75, 35] Operation: 65-30=35
Exploring Operation: 75+30=105, Resulting Numbers: [65, 105]
Generated Node #0,4,4: 18:[65, 105] Operation: 75+30=105
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 18:[30, 10], Operations: ['90-60=30', '75-65=10']
Exploring Operation: 30*10=300, Resulting Numbers: [300]
300,18 unequal: No Solution
Exploring Operation: 30+10=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,18 unequal: No Solution
No 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: 18:[65, 45], Operations: ['90-60=30', '75-30=45']
Exploring Operation: 65*45=2925, Resulting Numbers: [2925]
2925,18 unequal: No Solution
Exploring Operation: 65+45=110, Resulting Numbers: [110]
110,18 unequal: No Solution
Exploring Operation: 65-45=20, Resulting Numbers: [20]
20,18 unequal: No Solution
No 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: 18:[75, 35], Operations: ['90-60=30', '65-30=35']
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 75+35=110, Resulting Numbers: [110]
110,18 unequal: No Solution
Exploring Operation: 75*35=2625, Resulting Numbers: [2625]
2625,18 unequal: No Solution
No 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: 18:[30, 140], Operations: ['90-60=30', '75+65=140']
Exploring Operation: 140-30=110, Resulting Numbers: [110]
110,18 unequal: No Solution
Exploring Operation: 30+140=170, Resulting Numbers: [170]
170,18 unequal: No Solution
Exploring Operation: 30*140=4200, Resulting Numbers: [4200]
4200,18 unequal: No Solution
No 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: 18:[65, 105], Operations: ['90-60=30', '75+30=105']
Exploring Operation: 65+105=170, Resulting Numbers: [170]
170,18 unequal: No Solution
Exploring Operation: 105-65=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 65*105=6825, Resulting Numbers: [6825]
6825,18 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: 18:[90, 65, 15], Operations: ['75-60=15']
Exploring Operation: 90/15=6, Resulting Numbers: [65, 6]
Generated Node #0,2,0: 18:[65, 6] Operation: 90/15=6
Exploring Operation: 90-65=25, Resulting Numbers: [15, 25]
Generated Node #0,2,1: 18:[15, 25] Operation: 90-65=25
Exploring Operation: 65-15=50, Resulting Numbers: [90, 50]
Generated Node #0,2,2: 18:[90, 50] Operation: 65-15=50
Exploring Operation: 90+15=105, Resulting Numbers: [65, 105]
Generated Node #0,2,3: 18:[65, 105] Operation: 90+15=105
Exploring Operation: 90-15=75, Resulting Numbers: [65, 75]
Generated Node #0,2,4: 18:[65, 75] Operation: 90-15=75
Moving to Node #0,2,1
Current State: 18:[15, 25], Operations: ['75-60=15', '90-65=25']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 15*25=375, Resulting Numbers: [375]
375,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[65, 6], Operations: ['75-60=15', '90/15=6']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,18 unequal: No Solution
Exploring Operation: 65+6=71, Resulting Numbers: [71]
71,18 unequal: No Solution
Exploring Operation: 65*6=390, Resulting Numbers: [390]
390,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[90, 50], Operations: ['75-60=15', '65-15=50']
Exploring Operation: 90*50=4500, Resulting Numbers: [4500]
4500,18 unequal: No Solution
Exploring Operation: 90+50=140, Resulting Numbers: [140]
140,18 unequal: No Solution
Exploring Operation: 90-50=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Moving to Node #0,2,4
Current State: 18:[65, 75], Operations: ['75-60=15', '90-15=75']
Exploring Operation: 65*75=4875, Resulting Numbers: [4875]
4875,18 unequal: No Solution
Exploring Operation: 65+75=140, Resulting Numbers: [140]
140,18 unequal: No Solution
Exploring Operation: 75-65=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[65, 105], Operations: ['75-60=15', '90+15=105']
Exploring Operation: 65+105=170, Resulting Numbers: [170]
170,18 unequal: No Solution
Exploring Operation: 105-65=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 65*105=6825, Resulting Numbers: [6825]
6825,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
74,
83,
19,
14
] | 42 | [
"83-74=9",
"19+14=33",
"9+33=42"
] | Current State: 42:[74, 83, 19, 14], Operations: []
Exploring Operation: 83-74=9, Resulting Numbers: [19, 14, 9]
Generated Node #2: [19, 14, 9] from Operation: 83-74=9
Current State: 42:[19, 14, 9], Operations: ['83-74=9']
Exploring Operation: 19+14=33, Resulting Numbers: [9, 33]
Generated Node #3: [9, 33] from Operation: 19+14=33
Current State: 42:[9, 33], Operations: ['83-74=9', '19+14=33']
Exploring Operation: 9+33=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[74, 83, 19, 14], Operations: []
Exploring Operation: 83-74=9, Resulting Numbers: [19, 14, 9]
Generated Node #0,0: 42:[19, 14, 9] Operation: 83-74=9
Moving to Node #0,0
Current State: 42:[19, 14, 9], Operations: ['83-74=9']
Exploring Operation: 19-14=5, Resulting Numbers: [9, 5]
Generated Node #0,0,0: 42:[9, 5] Operation: 19-14=5
Moving to Node #0,0,0
Current State: 42:[9, 5], Operations: ['83-74=9', '19-14=5']
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,42 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
84,
56,
21,
72
] | 47 | [
"84+56=140",
"21+72=93",
"140-93=47"
] | Current State: 47:[84, 56, 21, 72], Operations: []
Exploring Operation: 84+56=140, Resulting Numbers: [21, 72, 140]
Generated Node #2: [21, 72, 140] from Operation: 84+56=140
Current State: 47:[21, 72, 140], Operations: ['84+56=140']
Exploring Operation: 21+72=93, Resulting Numbers: [140, 93]
Generated Node #3: [140, 93] from Operation: 21+72=93
Current State: 47:[140, 93], Operations: ['84+56=140', '21+72=93']
Exploring Operation: 140-93=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[84, 56, 21, 72], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [56, 21, 12]
Generated Node #0,0: 47:[56, 21, 12] Operation: 84-72=12
Exploring Operation: 72-21=51, Resulting Numbers: [84, 56, 51]
Generated Node #0,1: 47:[84, 56, 51] Operation: 72-21=51
Exploring Operation: 84-21=63, Resulting Numbers: [56, 72, 63]
Generated Node #0,2: 47:[56, 72, 63] Operation: 84-21=63
Exploring Operation: 84-56=28, Resulting Numbers: [21, 72, 28]
Generated Node #0,3: 47:[21, 72, 28] Operation: 84-56=28
Moving to Node #0,1
Current State: 47:[84, 56, 51], Operations: ['72-21=51']
Exploring Operation: 84+56=140, Resulting Numbers: [51, 140]
Generated Node #0,1,0: 47:[51, 140] Operation: 84+56=140
Exploring Operation: 84-51=33, Resulting Numbers: [56, 33]
Generated Node #0,1,1: 47:[56, 33] Operation: 84-51=33
Exploring Operation: 84-56=28, Resulting Numbers: [51, 28]
Generated Node #0,1,2: 47:[51, 28] Operation: 84-56=28
Exploring Operation: 56-51=5, Resulting Numbers: [84, 5]
Generated Node #0,1,3: 47:[84, 5] Operation: 56-51=5
Moving to Node #0,2
Current State: 47:[56, 72, 63], Operations: ['84-21=63']
Exploring Operation: 63-56=7, Resulting Numbers: [72, 7]
Generated Node #0,2,0: 47:[72, 7] Operation: 63-56=7
Exploring Operation: 56+72=128, Resulting Numbers: [63, 128]
Generated Node #0,2,1: 47:[63, 128] Operation: 56+72=128
Exploring Operation: 72-56=16, Resulting Numbers: [63, 16]
Generated Node #0,2,2: 47:[63, 16] Operation: 72-56=16
Exploring Operation: 72-63=9, Resulting Numbers: [56, 9]
Generated Node #0,2,3: 47:[56, 9] Operation: 72-63=9
Moving to Node #0,3
Current State: 47:[21, 72, 28], Operations: ['84-56=28']
Exploring Operation: 72-21=51, Resulting Numbers: [28, 51]
Generated Node #0,3,0: 47:[28, 51] Operation: 72-21=51
Exploring Operation: 21+72=93, Resulting Numbers: [28, 93]
Generated Node #0,3,1: 47:[28, 93] Operation: 21+72=93
Exploring Operation: 72-28=44, Resulting Numbers: [21, 44]
Generated Node #0,3,2: 47:[21, 44] Operation: 72-28=44
Exploring Operation: 21+28=49, Resulting Numbers: [72, 49]
Generated Node #0,3,3: 47:[72, 49] Operation: 21+28=49
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 47:[28, 51], Operations: ['84-56=28', '72-21=51']
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 28+51=79, Resulting Numbers: [79]
79,47 unequal: No Solution
Exploring Operation: 28*51=1428, Resulting Numbers: [1428]
1428,47 unequal: No Solution
No 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: 47:[72, 49], Operations: ['84-56=28', '21+28=49']
Exploring Operation: 72-49=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 72*49=3528, Resulting Numbers: [3528]
3528,47 unequal: No Solution
Exploring Operation: 72+49=121, Resulting Numbers: [121]
121,47 unequal: No Solution
No 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: 47:[21, 44], Operations: ['84-56=28', '72-28=44']
Exploring Operation: 21+44=65, Resulting Numbers: [65]
65,47 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 21*44=924, Resulting Numbers: [924]
924,47 unequal: No Solution
No 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: 47:[28, 93], Operations: ['84-56=28', '21+72=93']
Exploring Operation: 28+93=121, Resulting Numbers: [121]
121,47 unequal: No Solution
Exploring Operation: 28*93=2604, Resulting Numbers: [2604]
2604,47 unequal: No Solution
Exploring Operation: 93-28=65, Resulting Numbers: [65]
65,47 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: 47:[56, 21, 12], Operations: ['84-72=12']
Exploring Operation: 56-21=35, Resulting Numbers: [12, 35]
Generated Node #0,0,0: 47:[12, 35] Operation: 56-21=35
Exploring Operation: 56+12=68, Resulting Numbers: [21, 68]
Generated Node #0,0,1: 47:[21, 68] Operation: 56+12=68
Exploring Operation: 21+12=33, Resulting Numbers: [56, 33]
Generated Node #0,0,2: 47:[56, 33] Operation: 21+12=33
Exploring Operation: 56-12=44, Resulting Numbers: [21, 44]
Generated Node #0,0,3: 47:[21, 44] Operation: 56-12=44
Moving to Node #0,1,1
Current State: 47:[56, 33], Operations: ['72-21=51', '84-51=33']
Exploring Operation: 56+33=89, Resulting Numbers: [89]
89,47 unequal: No Solution
Exploring Operation: 56*33=1848, Resulting Numbers: [1848]
1848,47 unequal: No Solution
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[51, 28], Operations: ['72-21=51', '84-56=28']
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,47 unequal: No Solution
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,47 unequal: No Solution
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[56, 33], Operations: ['84-72=12', '21+12=33']
Exploring Operation: 56*33=1848, Resulting Numbers: [1848]
1848,47 unequal: No Solution
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 56+33=89, Resulting Numbers: [89]
89,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[21, 44], Operations: ['84-72=12', '56-12=44']
Exploring Operation: 21+44=65, Resulting Numbers: [65]
65,47 unequal: No Solution
Exploring Operation: 21*44=924, Resulting Numbers: [924]
924,47 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[56, 9], Operations: ['84-21=63', '72-63=9']
Exploring Operation: 56+9=65, Resulting Numbers: [65]
65,47 unequal: No Solution
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[84, 56, 21, 72], Operations: []
Exploring Operation: 84-21=63, Resulting Numbers: [56, 72, 63]
Generated Node #0,2: 47:[56, 72, 63] Operation: 84-21=63
Moving to Node #0,2
Current State: 47:[56, 72, 63], Operations: ['84-21=63']
Exploring Operation: 72-63=9, Resulting Numbers: [56, 9]
Generated Node #0,2,3: 47:[56, 9] Operation: 72-63=9
Moving to Node #0,2,3
Current State: 47:[56, 9], Operations: ['84-21=63', '72-63=9']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 0.956597 | hs_4 | sum_heuristic |
[
88,
98,
35,
11
] | 55 | [
"88/11=8",
"98-35=63",
"63-8=55"
] | Current State: 55:[88, 98, 35, 11], Operations: []
Exploring Operation: 88/11=8, Resulting Numbers: [98, 35, 8]
Generated Node #2: [98, 35, 8] from Operation: 88/11=8
Current State: 55:[98, 35, 8], Operations: ['88/11=8']
Exploring Operation: 98-35=63, Resulting Numbers: [8, 63]
Generated Node #3: [8, 63] from Operation: 98-35=63
Current State: 55:[8, 63], Operations: ['88/11=8', '98-35=63']
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[88, 98, 35, 11], Operations: []
Exploring Operation: 98-35=63, Resulting Numbers: [88, 11, 63]
Generated Node #0,0: 55:[88, 11, 63] Operation: 98-35=63
Exploring Operation: 98-88=10, Resulting Numbers: [35, 11, 10]
Generated Node #0,1: 55:[35, 11, 10] Operation: 98-88=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[35, 11, 10], Operations: ['98-88=10']
Exploring Operation: 35+11=46, Resulting Numbers: [10, 46]
Generated Node #0,1,0: 55:[10, 46] Operation: 35+11=46
Exploring Operation: 35+10=45, Resulting Numbers: [11, 45]
Generated Node #0,1,1: 55:[11, 45] Operation: 35+10=45
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[10, 46], Operations: ['98-88=10', '35+11=46']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,55 unequal: No Solution
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[11, 45], Operations: ['98-88=10', '35+10=45']
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 11+45=56, Resulting Numbers: [56]
56,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[88, 11, 63], Operations: ['98-35=63']
Exploring Operation: 88/11=8, Resulting Numbers: [63, 8]
Generated Node #0,0,0: 55:[63, 8] Operation: 88/11=8
Exploring Operation: 88-63=25, Resulting Numbers: [11, 25]
Generated Node #0,0,1: 55:[11, 25] Operation: 88-63=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[63, 8], Operations: ['98-35=63', '88/11=8']
Exploring Operation: 63+8=71, Resulting Numbers: [71]
71,55 unequal: No Solution
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[88, 98, 35, 11], Operations: []
Exploring Operation: 98-35=63, Resulting Numbers: [88, 11, 63]
Generated Node #0,0: 55:[88, 11, 63] Operation: 98-35=63
Moving to Node #0,0
Current State: 55:[88, 11, 63], Operations: ['98-35=63']
Exploring Operation: 88/11=8, Resulting Numbers: [63, 8]
Generated Node #0,0,0: 55:[63, 8] Operation: 88/11=8
Moving to Node #0,0,0
Current State: 55:[63, 8], Operations: ['98-35=63', '88/11=8']
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
70,
88,
76,
62
] | 32 | [
"88-70=18",
"76-62=14",
"18+14=32"
] | Current State: 32:[70, 88, 76, 62], Operations: []
Exploring Operation: 88-70=18, Resulting Numbers: [76, 62, 18]
Generated Node #2: [76, 62, 18] from Operation: 88-70=18
Current State: 32:[76, 62, 18], Operations: ['88-70=18']
Exploring Operation: 76-62=14, Resulting Numbers: [18, 14]
Generated Node #3: [18, 14] from Operation: 76-62=14
Current State: 32:[18, 14], Operations: ['88-70=18', '76-62=14']
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[70, 88, 76, 62], Operations: []
Exploring Operation: 76-62=14, Resulting Numbers: [70, 88, 14]
Generated Node #0,0: 32:[70, 88, 14] Operation: 76-62=14
Exploring Operation: 88-70=18, Resulting Numbers: [76, 62, 18]
Generated Node #0,1: 32:[76, 62, 18] Operation: 88-70=18
Exploring Operation: 76-70=6, Resulting Numbers: [88, 62, 6]
Generated Node #0,2: 32:[88, 62, 6] Operation: 76-70=6
Exploring Operation: 88-62=26, Resulting Numbers: [70, 76, 26]
Generated Node #0,3: 32:[70, 76, 26] Operation: 88-62=26
Exploring Operation: 88-76=12, Resulting Numbers: [70, 62, 12]
Generated Node #0,4: 32:[70, 62, 12] Operation: 88-76=12
Start Sub Search at level 1: Moving to Node #0,4
Current State: 32:[70, 62, 12], Operations: ['88-76=12']
Exploring Operation: 70-12=58, Resulting Numbers: [62, 58]
Generated Node #0,4,0: 32:[62, 58] Operation: 70-12=58
Exploring Operation: 62+12=74, Resulting Numbers: [70, 74]
Generated Node #0,4,1: 32:[70, 74] Operation: 62+12=74
Exploring Operation: 70+12=82, Resulting Numbers: [62, 82]
Generated Node #0,4,2: 32:[62, 82] Operation: 70+12=82
Exploring Operation: 70-62=8, Resulting Numbers: [12, 8]
Generated Node #0,4,3: 32:[12, 8] Operation: 70-62=8
Exploring Operation: 62-12=50, Resulting Numbers: [70, 50]
Generated Node #0,4,4: 32:[70, 50] Operation: 62-12=50
Moving to Node #0,4,3
Current State: 32:[12, 8], Operations: ['88-76=12', '70-62=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,32 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Moving to Node #0,4,4
Current State: 32:[70, 50], Operations: ['88-76=12', '62-12=50']
Exploring Operation: 70-50=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 70+50=120, Resulting Numbers: [120]
120,32 unequal: No Solution
Exploring Operation: 70*50=3500, Resulting Numbers: [3500]
3500,32 unequal: No Solution
Moving to Node #0,4,0
Current State: 32:[62, 58], Operations: ['88-76=12', '70-12=58']
Exploring Operation: 62+58=120, Resulting Numbers: [120]
120,32 unequal: No Solution
Exploring Operation: 62-58=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 62*58=3596, Resulting Numbers: [3596]
3596,32 unequal: No Solution
Moving to Node #0,4,1
Current State: 32:[70, 74], Operations: ['88-76=12', '62+12=74']
Exploring Operation: 70+74=144, Resulting Numbers: [144]
144,32 unequal: No Solution
Exploring Operation: 74-70=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 70*74=5180, Resulting Numbers: [5180]
5180,32 unequal: No Solution
Moving to Node #0,4,2
Current State: 32:[62, 82], Operations: ['88-76=12', '70+12=82']
Exploring Operation: 62+82=144, Resulting Numbers: [144]
144,32 unequal: No Solution
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 62*82=5084, Resulting Numbers: [5084]
5084,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[76, 62, 18], Operations: ['88-70=18']
Exploring Operation: 76-62=14, Resulting Numbers: [18, 14]
Generated Node #0,1,0: 32:[18, 14] Operation: 76-62=14
Exploring Operation: 76-18=58, Resulting Numbers: [62, 58]
Generated Node #0,1,1: 32:[62, 58] Operation: 76-18=58
Exploring Operation: 76+18=94, Resulting Numbers: [62, 94]
Generated Node #0,1,2: 32:[62, 94] Operation: 76+18=94
Exploring Operation: 62+18=80, Resulting Numbers: [76, 80]
Generated Node #0,1,3: 32:[76, 80] Operation: 62+18=80
Exploring Operation: 62-18=44, Resulting Numbers: [76, 44]
Generated Node #0,1,4: 32:[76, 44] Operation: 62-18=44
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 32:[18, 14], Operations: ['88-70=18', '76-62=14']
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[70, 88, 76, 62], Operations: []
Exploring Operation: 88-70=18, Resulting Numbers: [76, 62, 18]
Generated Node #0,1: 32:[76, 62, 18] Operation: 88-70=18
Moving to Node #0,1
Current State: 32:[76, 62, 18], Operations: ['88-70=18']
Exploring Operation: 76-62=14, Resulting Numbers: [18, 14]
Generated Node #0,1,0: 32:[18, 14] Operation: 76-62=14
Moving to Node #0,1,0
Current State: 32:[18, 14], Operations: ['88-70=18', '76-62=14']
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_5 | mult_heuristic |
[
54,
64,
8,
54
] | 55 | [
"54/54=1",
"64-8=56",
"56-1=55"
] | Current State: 55:[54, 64, 8, 54], Operations: []
Exploring Operation: 54/54=1, Resulting Numbers: [64, 8, 1]
Generated Node #2: [64, 8, 1] from Operation: 54/54=1
Current State: 55:[64, 8, 1], Operations: ['54/54=1']
Exploring Operation: 64-8=56, Resulting Numbers: [1, 56]
Generated Node #3: [1, 56] from Operation: 64-8=56
Current State: 55:[1, 56], Operations: ['54/54=1', '64-8=56']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[54, 64, 8, 54], Operations: []
Exploring Operation: 64-8=56, Resulting Numbers: [54, 54, 56]
Generated Node #0,0: 55:[54, 54, 56] Operation: 64-8=56
Moving to Node #0,0
Current State: 55:[54, 54, 56], Operations: ['64-8=56']
Exploring Operation: 56-54=2, Resulting Numbers: [54, 2]
Generated Node #0,0,0: 55:[54, 2] Operation: 56-54=2
Moving to Node #0,0,0
Current State: 55:[54, 2], Operations: ['64-8=56', '56-54=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,55 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
50,
56,
73,
2
] | 61 | [
"56-50=6",
"2*6=12",
"73-12=61"
] | Current State: 61:[50, 56, 73, 2], Operations: []
Exploring Operation: 56-50=6, Resulting Numbers: [73, 2, 6]
Generated Node #2: [73, 2, 6] from Operation: 56-50=6
Current State: 61:[73, 2, 6], Operations: ['56-50=6']
Exploring Operation: 2*6=12, Resulting Numbers: [73, 12]
Generated Node #3: [73, 12] from Operation: 2*6=12
Current State: 61:[73, 12], Operations: ['56-50=6', '2*6=12']
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[50, 56, 73, 2], Operations: []
Exploring Operation: 56+2=58, Resulting Numbers: [50, 73, 58]
Generated Node #0,0: 61:[50, 73, 58] Operation: 56+2=58
Exploring Operation: 56-2=54, Resulting Numbers: [50, 73, 54]
Generated Node #0,1: 61:[50, 73, 54] Operation: 56-2=54
Exploring Operation: 73-2=71, Resulting Numbers: [50, 56, 71]
Generated Node #0,2: 61:[50, 56, 71] Operation: 73-2=71
Exploring Operation: 50-2=48, Resulting Numbers: [56, 73, 48]
Generated Node #0,3: 61:[56, 73, 48] Operation: 50-2=48
Exploring Operation: 50+2=52, Resulting Numbers: [56, 73, 52]
Generated Node #0,4: 61:[56, 73, 52] Operation: 50+2=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[50, 73, 58], Operations: ['56+2=58']
Exploring Operation: 73-58=15, Resulting Numbers: [50, 15]
Generated Node #0,0,0: 61:[50, 15] Operation: 73-58=15
Exploring Operation: 50+73=123, Resulting Numbers: [58, 123]
Generated Node #0,0,1: 61:[58, 123] Operation: 50+73=123
Exploring Operation: 73-50=23, Resulting Numbers: [58, 23]
Generated Node #0,0,2: 61:[58, 23] Operation: 73-50=23
Exploring Operation: 50+58=108, Resulting Numbers: [73, 108]
Generated Node #0,0,3: 61:[73, 108] Operation: 50+58=108
Exploring Operation: 58-50=8, Resulting Numbers: [73, 8]
Generated Node #0,0,4: 61:[73, 8] Operation: 58-50=8
Moving to Node #0,0,2
Current State: 61:[58, 23], Operations: ['56+2=58', '73-50=23']
Exploring Operation: 58+23=81, Resulting Numbers: [81]
81,61 unequal: No Solution
Exploring Operation: 58*23=1334, Resulting Numbers: [1334]
1334,61 unequal: No Solution
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[50, 15], Operations: ['56+2=58', '73-58=15']
Exploring Operation: 50*15=750, Resulting Numbers: [750]
750,61 unequal: No Solution
Exploring Operation: 50+15=65, Resulting Numbers: [65]
65,61 unequal: No Solution
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[73, 108], Operations: ['56+2=58', '50+58=108']
Exploring Operation: 73*108=7884, Resulting Numbers: [7884]
7884,61 unequal: No Solution
Exploring Operation: 108-73=35, Resulting Numbers: [35]
35,61 unequal: No Solution
Exploring Operation: 73+108=181, Resulting Numbers: [181]
181,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[58, 123], Operations: ['56+2=58', '50+73=123']
Exploring Operation: 123-58=65, Resulting Numbers: [65]
65,61 unequal: No Solution
Exploring Operation: 58*123=7134, Resulting Numbers: [7134]
7134,61 unequal: No Solution
Exploring Operation: 58+123=181, Resulting Numbers: [181]
181,61 unequal: No Solution
Moving to Node #0,0,4
Current State: 61:[73, 8], Operations: ['56+2=58', '58-50=8']
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,61 unequal: No Solution
Exploring Operation: 73*8=584, Resulting Numbers: [584]
584,61 unequal: No Solution
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[50, 56, 71], Operations: ['73-2=71']
Exploring Operation: 50+56=106, Resulting Numbers: [71, 106]
Generated Node #0,2,0: 61:[71, 106] Operation: 50+56=106
Exploring Operation: 71-50=21, Resulting Numbers: [56, 21]
Generated Node #0,2,1: 61:[56, 21] Operation: 71-50=21
Exploring Operation: 56-50=6, Resulting Numbers: [71, 6]
Generated Node #0,2,2: 61:[71, 6] Operation: 56-50=6
Exploring Operation: 71-56=15, Resulting Numbers: [50, 15]
Generated Node #0,2,3: 61:[50, 15] Operation: 71-56=15
Exploring Operation: 50+71=121, Resulting Numbers: [56, 121]
Generated Node #0,2,4: 61:[56, 121] Operation: 50+71=121
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 61:[56, 21], Operations: ['73-2=71', '71-50=21']
Exploring Operation: 56+21=77, Resulting Numbers: [77]
77,61 unequal: No Solution
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,61 unequal: No Solution
Exploring Operation: 56*21=1176, Resulting Numbers: [1176]
1176,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[71, 106], Operations: ['73-2=71', '50+56=106']
Exploring Operation: 71+106=177, Resulting Numbers: [177]
177,61 unequal: No Solution
Exploring Operation: 106-71=35, Resulting Numbers: [35]
35,61 unequal: No Solution
Exploring Operation: 71*106=7526, Resulting Numbers: [7526]
7526,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 61:[50, 15], Operations: ['73-2=71', '71-56=15']
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,61 unequal: No Solution
Exploring Operation: 50*15=750, Resulting Numbers: [750]
750,61 unequal: No Solution
Exploring Operation: 50+15=65, Resulting Numbers: [65]
65,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 61:[71, 6], Operations: ['73-2=71', '56-50=6']
Exploring Operation: 71+6=77, Resulting Numbers: [77]
77,61 unequal: No Solution
Exploring Operation: 71*6=426, Resulting Numbers: [426]
426,61 unequal: No Solution
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 61:[56, 121], Operations: ['73-2=71', '50+71=121']
Exploring Operation: 56*121=6776, Resulting Numbers: [6776]
6776,61 unequal: No Solution
Exploring Operation: 121-56=65, Resulting Numbers: [65]
65,61 unequal: No Solution
Exploring Operation: 56+121=177, Resulting Numbers: [177]
177,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 61:[56, 73, 52], Operations: ['50+2=52']
Exploring Operation: 73+52=125, Resulting Numbers: [56, 125]
Generated Node #0,4,0: 61:[56, 125] Operation: 73+52=125
Exploring Operation: 73-52=21, Resulting Numbers: [56, 21]
Generated Node #0,4,1: 61:[56, 21] Operation: 73-52=21
Exploring Operation: 56+52=108, Resulting Numbers: [73, 108]
Generated Node #0,4,2: 61:[73, 108] Operation: 56+52=108
Exploring Operation: 56-52=4, Resulting Numbers: [73, 4]
Generated Node #0,4,3: 61:[73, 4] Operation: 56-52=4
Exploring Operation: 73-56=17, Resulting Numbers: [52, 17]
Generated Node #0,4,4: 61:[52, 17] Operation: 73-56=17
Moving to Node #0,4,1
Current State: 61:[56, 21], Operations: ['50+2=52', '73-52=21']
Exploring Operation: 56*21=1176, Resulting Numbers: [1176]
1176,61 unequal: No Solution
Exploring Operation: 56+21=77, Resulting Numbers: [77]
77,61 unequal: No Solution
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,61 unequal: No Solution
Moving to Node #0,4,4
Current State: 61:[52, 17], Operations: ['50+2=52', '73-56=17']
Exploring Operation: 52+17=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Exploring Operation: 52*17=884, Resulting Numbers: [884]
884,61 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,61 unequal: No Solution
Moving to Node #0,4,2
Current State: 61:[73, 108], Operations: ['50+2=52', '56+52=108']
Exploring Operation: 73*108=7884, Resulting Numbers: [7884]
7884,61 unequal: No Solution
Exploring Operation: 108-73=35, Resulting Numbers: [35]
35,61 unequal: No Solution
Exploring Operation: 73+108=181, Resulting Numbers: [181]
181,61 unequal: No Solution
Moving to Node #0,4,0
Current State: 61:[56, 125], Operations: ['50+2=52', '73+52=125']
Exploring Operation: 56+125=181, Resulting Numbers: [181]
181,61 unequal: No Solution
Exploring Operation: 125-56=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Exploring Operation: 56*125=7000, Resulting Numbers: [7000]
7000,61 unequal: No Solution
Moving to Node #0,4,3
Current State: 61:[73, 4], Operations: ['50+2=52', '56-52=4']
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,61 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,61 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[50, 73, 54], Operations: ['56-2=54']
Exploring Operation: 73-50=23, Resulting Numbers: [54, 23]
Generated Node #0,1,0: 61:[54, 23] Operation: 73-50=23
Exploring Operation: 73-54=19, Resulting Numbers: [50, 19]
Generated Node #0,1,1: 61:[50, 19] Operation: 73-54=19
Exploring Operation: 54-50=4, Resulting Numbers: [73, 4]
Generated Node #0,1,2: 61:[73, 4] Operation: 54-50=4
Exploring Operation: 50+54=104, Resulting Numbers: [73, 104]
Generated Node #0,1,3: 61:[73, 104] Operation: 50+54=104
Exploring Operation: 50+73=123, Resulting Numbers: [54, 123]
Generated Node #0,1,4: 61:[54, 123] Operation: 50+73=123
Moving to Node #0,1,0
Current State: 61:[54, 23], Operations: ['56-2=54', '73-50=23']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,61 unequal: No Solution
Exploring Operation: 54*23=1242, Resulting Numbers: [1242]
1242,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[50, 19], Operations: ['56-2=54', '73-54=19']
Exploring Operation: 50*19=950, Resulting Numbers: [950]
950,61 unequal: No Solution
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Exploring Operation: 50+19=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[73, 104], Operations: ['56-2=54', '50+54=104']
Exploring Operation: 73+104=177, Resulting Numbers: [177]
177,61 unequal: No Solution
Exploring Operation: 73*104=7592, Resulting Numbers: [7592]
7592,61 unequal: No Solution
Exploring Operation: 104-73=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[73, 4], Operations: ['56-2=54', '54-50=4']
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,61 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,61 unequal: No Solution
Moving to Node #0,1,4
Current State: 61:[54, 123], Operations: ['56-2=54', '50+73=123']
Exploring Operation: 123-54=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Exploring Operation: 54*123=6642, Resulting Numbers: [6642]
6642,61 unequal: No Solution
Exploring Operation: 54+123=177, Resulting Numbers: [177]
177,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[56, 73, 48], Operations: ['50-2=48']
Exploring Operation: 73+48=121, Resulting Numbers: [56, 121]
Generated Node #0,3,0: 61:[56, 121] Operation: 73+48=121
Exploring Operation: 73-56=17, Resulting Numbers: [48, 17]
Generated Node #0,3,1: 61:[48, 17] Operation: 73-56=17
Exploring Operation: 56+48=104, Resulting Numbers: [73, 104]
Generated Node #0,3,2: 61:[73, 104] Operation: 56+48=104
Exploring Operation: 56-48=8, Resulting Numbers: [73, 8]
Generated Node #0,3,3: 61:[73, 8] Operation: 56-48=8
Exploring Operation: 73-48=25, Resulting Numbers: [56, 25]
Generated Node #0,3,4: 61:[56, 25] Operation: 73-48=25
Moving to Node #0,3,4
Current State: 61:[56, 25], Operations: ['50-2=48', '73-48=25']
Exploring Operation: 56*25=1400, Resulting Numbers: [1400]
1400,61 unequal: No Solution
Exploring Operation: 56-25=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Exploring Operation: 56+25=81, Resulting Numbers: [81]
81,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[73, 104], Operations: ['50-2=48', '56+48=104']
Exploring Operation: 73*104=7592, Resulting Numbers: [7592]
7592,61 unequal: No Solution
Exploring Operation: 73+104=177, Resulting Numbers: [177]
177,61 unequal: No Solution
Exploring Operation: 104-73=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[48, 17], Operations: ['50-2=48', '73-56=17']
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,61 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[56, 121], Operations: ['50-2=48', '73+48=121']
Exploring Operation: 121-56=65, Resulting Numbers: [65]
65,61 unequal: No Solution
Exploring Operation: 56+121=177, Resulting Numbers: [177]
177,61 unequal: No Solution
Exploring Operation: 56*121=6776, Resulting Numbers: [6776]
6776,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[73, 8], Operations: ['50-2=48', '56-48=8']
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,61 unequal: No Solution
Exploring Operation: 73*8=584, Resulting Numbers: [584]
584,61 unequal: No Solution
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
19,
5,
78,
94
] | 99 | [
"94-78=16",
"5*16=80",
"19+80=99"
] | Current State: 99:[19, 5, 78, 94], Operations: []
Exploring Operation: 94-78=16, Resulting Numbers: [19, 5, 16]
Generated Node #2: [19, 5, 16] from Operation: 94-78=16
Current State: 99:[19, 5, 16], Operations: ['94-78=16']
Exploring Operation: 5*16=80, Resulting Numbers: [19, 80]
Generated Node #3: [19, 80] from Operation: 5*16=80
Current State: 99:[19, 80], Operations: ['94-78=16', '5*16=80']
Exploring Operation: 19+80=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[19, 5, 78, 94], Operations: []
Exploring Operation: 19+78=97, Resulting Numbers: [5, 94, 97]
Generated Node #0,0: 99:[5, 94, 97] Operation: 19+78=97
Exploring Operation: 94-78=16, Resulting Numbers: [19, 5, 16]
Generated Node #0,1: 99:[19, 5, 16] Operation: 94-78=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[5, 94, 97], Operations: ['19+78=97']
Exploring Operation: 5+94=99, Resulting Numbers: [97, 99]
Generated Node #0,0,0: 99:[97, 99] Operation: 5+94=99
Exploring Operation: 97-94=3, Resulting Numbers: [5, 3]
Generated Node #0,0,1: 99:[5, 3] Operation: 97-94=3
Moving to Node #0,0,0
Current State: 99:[97, 99], Operations: ['19+78=97', '5+94=99']
Exploring Operation: 99-97=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 97+99=196, Resulting Numbers: [196]
196,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[5, 3], Operations: ['19+78=97', '97-94=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[19, 5, 16], Operations: ['94-78=16']
Exploring Operation: 19+16=35, Resulting Numbers: [5, 35]
Generated Node #0,1,0: 99:[5, 35] Operation: 19+16=35
Exploring Operation: 19-16=3, Resulting Numbers: [5, 3]
Generated Node #0,1,1: 99:[5, 3] Operation: 19-16=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[5, 3], Operations: ['94-78=16', '19-16=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,99 unequal: No Solution
No 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: 99:[5, 35], Operations: ['94-78=16', '19+16=35']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,99 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,99 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 |
[
4,
96,
5,
12
] | 32 | [
"4+96=100",
"100/5=20",
"12+20=32"
] | Current State: 32:[4, 96, 5, 12], Operations: []
Exploring Operation: 4+96=100, Resulting Numbers: [5, 12, 100]
Generated Node #2: [5, 12, 100] from Operation: 4+96=100
Current State: 32:[5, 12, 100], Operations: ['4+96=100']
Exploring Operation: 100/5=20, Resulting Numbers: [12, 20]
Generated Node #3: [12, 20] from Operation: 100/5=20
Current State: 32:[12, 20], Operations: ['4+96=100', '100/5=20']
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[4, 96, 5, 12], Operations: []
Exploring Operation: 96/12=8, Resulting Numbers: [4, 5, 8]
Generated Node #0,0: 32:[4, 5, 8] Operation: 96/12=8
Moving to Node #0,0
Current State: 32:[4, 5, 8], Operations: ['96/12=8']
Exploring Operation: 4+5=9, Resulting Numbers: [8, 9]
Generated Node #0,0,0: 32:[8, 9] Operation: 4+5=9
Moving to Node #0,0,0
Current State: 32:[8, 9], Operations: ['96/12=8', '4+5=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,32 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
9,
8,
56,
57
] | 81 | [
"56-8=48",
"57-48=9",
"9*9=81"
] | Current State: 81:[9, 8, 56, 57], Operations: []
Exploring Operation: 56-8=48, Resulting Numbers: [9, 57, 48]
Generated Node #2: [9, 57, 48] from Operation: 56-8=48
Current State: 81:[9, 57, 48], Operations: ['56-8=48']
Exploring Operation: 57-48=9, Resulting Numbers: [9, 9]
Generated Node #3: [9, 9] from Operation: 57-48=9
Current State: 81:[9, 9], Operations: ['56-8=48', '57-48=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[9, 8, 56, 57], Operations: []
Exploring Operation: 57-56=1, Resulting Numbers: [9, 8, 1]
Generated Node #0,0: 81:[9, 8, 1] Operation: 57-56=1
Exploring Operation: 56/8=7, Resulting Numbers: [9, 57, 7]
Generated Node #0,1: 81:[9, 57, 7] Operation: 56/8=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[9, 8, 1], Operations: ['57-56=1']
Exploring Operation: 8+1=9, Resulting Numbers: [9, 9]
Generated Node #0,0,0: 81:[9, 9] Operation: 8+1=9
Exploring Operation: 9*1=9, Resulting Numbers: [8, 9]
Generated Node #0,0,1: 81:[8, 9] Operation: 9*1=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[9, 9], Operations: ['57-56=1', '8+1=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[9, 8, 56, 57], Operations: []
Exploring Operation: 57-56=1, Resulting Numbers: [9, 8, 1]
Generated Node #0,0: 81:[9, 8, 1] Operation: 57-56=1
Moving to Node #0,0
Current State: 81:[9, 8, 1], Operations: ['57-56=1']
Exploring Operation: 8+1=9, Resulting Numbers: [9, 9]
Generated Node #0,0,0: 81:[9, 9] Operation: 8+1=9
Moving to Node #0,0,0
Current State: 81:[9, 9], Operations: ['57-56=1', '8+1=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
54,
32,
42,
32
] | 52 | [
"54-32=22",
"42+32=74",
"74-22=52"
] | Current State: 52:[54, 32, 42, 32], Operations: []
Exploring Operation: 54-32=22, Resulting Numbers: [42, 22]
Generated Node #2: [42, 22] from Operation: 54-32=22
Current State: 52:[42, 22], Operations: ['54-32=22']
Exploring Operation: 42+32=74, Resulting Numbers: [22, 74]
Generated Node #3: [22, 74] from Operation: 42+32=74
Current State: 52:[22, 74], Operations: ['54-32=22', '42+32=74']
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[54, 32, 42, 32], Operations: []
Exploring Operation: 42-32=10, Resulting Numbers: [54, 32, 10]
Generated Node #0,0: 52:[54, 32, 10] Operation: 42-32=10
Exploring Operation: 42-32=10, Resulting Numbers: [54, 32, 10]
Generated Node #0,1: 52:[54, 32, 10] Operation: 42-32=10
Exploring Operation: 54-42=12, Resulting Numbers: [32, 32, 12]
Generated Node #0,2: 52:[32, 32, 12] Operation: 54-42=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[54, 32, 10], Operations: ['42-32=10']
Exploring Operation: 32+10=42, Resulting Numbers: [54, 42]
Generated Node #0,0,0: 52:[54, 42] Operation: 32+10=42
Exploring Operation: 32-10=22, Resulting Numbers: [54, 22]
Generated Node #0,0,1: 52:[54, 22] Operation: 32-10=22
Exploring Operation: 54-32=22, Resulting Numbers: [10, 22]
Generated Node #0,0,2: 52:[10, 22] Operation: 54-32=22
Moving to Node #0,0,1
Current State: 52:[54, 22], Operations: ['42-32=10', '32-10=22']
Exploring Operation: 54+22=76, Resulting Numbers: [76]
76,52 unequal: No Solution
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,52 unequal: No Solution
Exploring Operation: 54*22=1188, Resulting Numbers: [1188]
1188,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[10, 22], Operations: ['42-32=10', '54-32=22']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,52 unequal: No Solution
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[54, 42], Operations: ['42-32=10', '32+10=42']
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 54+42=96, Resulting Numbers: [96]
96,52 unequal: No Solution
Exploring Operation: 54*42=2268, Resulting Numbers: [2268]
2268,52 unequal: No Solution
No 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: 52:[54, 32, 10], Operations: ['42-32=10']
Exploring Operation: 32-10=22, Resulting Numbers: [54, 22]
Generated Node #0,1,0: 52:[54, 22] Operation: 32-10=22
Exploring Operation: 32+10=42, Resulting Numbers: [54, 42]
Generated Node #0,1,1: 52:[54, 42] Operation: 32+10=42
Exploring Operation: 54-32=22, Resulting Numbers: [10, 22]
Generated Node #0,1,2: 52:[10, 22] Operation: 54-32=22
Moving to Node #0,1,0
Current State: 52:[54, 22], Operations: ['42-32=10', '32-10=22']
Exploring Operation: 54*22=1188, Resulting Numbers: [1188]
1188,52 unequal: No Solution
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,52 unequal: No Solution
Exploring Operation: 54+22=76, Resulting Numbers: [76]
76,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[10, 22], Operations: ['42-32=10', '54-32=22']
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,52 unequal: No Solution
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,52 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[54, 42], Operations: ['42-32=10', '32+10=42']
Exploring Operation: 54*42=2268, Resulting Numbers: [2268]
2268,52 unequal: No Solution
Exploring Operation: 54+42=96, Resulting Numbers: [96]
96,52 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,52 unequal: No Solution
No 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:[32, 32, 12], Operations: ['54-42=12']
Exploring Operation: 32/32=1, Resulting Numbers: [12, 1]
Generated Node #0,2,0: 52:[12, 1] Operation: 32/32=1
Exploring Operation: 32-32=0, Resulting Numbers: [12, 0]
Generated Node #0,2,1: 52:[12, 0] Operation: 32-32=0
Exploring Operation: 32-12=20, Resulting Numbers: [32, 20]
Generated Node #0,2,2: 52:[32, 20] Operation: 32-12=20
Moving to Node #0,2,0
Current State: 52:[12, 1], Operations: ['54-42=12', '32/32=1']
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[12, 0], Operations: ['54-42=12', '32-32=0']
Exploring Operation: 12*0=0, Resulting Numbers: [0]
0,52 unequal: No Solution
Exploring Operation: 12-0=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 12+0=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[32, 20], Operations: ['54-42=12', '32-12=20']
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,52 unequal: No Solution
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[54, 32, 42, 32], Operations: []
Exploring Operation: 54-42=12, Resulting Numbers: [32, 32, 12]
Generated Node #0,2: 52:[32, 32, 12] Operation: 54-42=12
Moving to Node #0,2
Current State: 52:[32, 32, 12], Operations: ['54-42=12']
Exploring Operation: 32-12=20, Resulting Numbers: [32, 20]
Generated Node #0,2,2: 52:[32, 20] Operation: 32-12=20
Moving to Node #0,2,2
Current State: 52:[32, 20], Operations: ['54-42=12', '32-12=20']
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_3 | mult_heuristic |
[
38,
3,
38,
32
] | 34 | [
"38/38=1",
"3+32=35",
"35-1=34"
] | Current State: 34:[38, 3, 38, 32], Operations: []
Exploring Operation: 38/38=1, Resulting Numbers: [3, 32, 1]
Generated Node #2: [3, 32, 1] from Operation: 38/38=1
Current State: 34:[3, 32, 1], Operations: ['38/38=1']
Exploring Operation: 3+32=35, Resulting Numbers: [1, 35]
Generated Node #3: [1, 35] from Operation: 3+32=35
Current State: 34:[1, 35], Operations: ['38/38=1', '3+32=35']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[38, 3, 38, 32], Operations: []
Exploring Operation: 38-38=0, Resulting Numbers: [3, 32, 0]
Generated Node #0,0: 34:[3, 32, 0] Operation: 38-38=0
Exploring Operation: 38-3=35, Resulting Numbers: [38, 32, 35]
Generated Node #0,1: 34:[38, 32, 35] Operation: 38-3=35
Exploring Operation: 38-3=35, Resulting Numbers: [38, 32, 35]
Generated Node #0,2: 34:[38, 32, 35] Operation: 38-3=35
Exploring Operation: 38/38=1, Resulting Numbers: [3, 32, 1]
Generated Node #0,3: 34:[3, 32, 1] Operation: 38/38=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[3, 32, 1], Operations: ['38/38=1']
Exploring Operation: 3-1=2, Resulting Numbers: [32, 2]
Generated Node #0,3,0: 34:[32, 2] Operation: 3-1=2
Exploring Operation: 3+32=35, Resulting Numbers: [1, 35]
Generated Node #0,3,1: 34:[1, 35] Operation: 3+32=35
Exploring Operation: 32+1=33, Resulting Numbers: [3, 33]
Generated Node #0,3,2: 34:[3, 33] Operation: 32+1=33
Exploring Operation: 3*1=3, Resulting Numbers: [32, 3]
Generated Node #0,3,3: 34:[32, 3] Operation: 3*1=3
Moving to Node #0,3,0
Current State: 34:[32, 2], Operations: ['38/38=1', '3-1=2']
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[38, 3, 38, 32], Operations: []
Exploring Operation: 38/38=1, Resulting Numbers: [3, 32, 1]
Generated Node #0,3: 34:[3, 32, 1] Operation: 38/38=1
Moving to Node #0,3
Current State: 34:[3, 32, 1], Operations: ['38/38=1']
Exploring Operation: 3-1=2, Resulting Numbers: [32, 2]
Generated Node #0,3,0: 34:[32, 2] Operation: 3-1=2
Moving to Node #0,3,0
Current State: 34:[32, 2], Operations: ['38/38=1', '3-1=2']
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
28,
35,
21,
27
] | 17 | [
"35*27=945",
"945/21=45",
"45-28=17"
] | Current State: 17:[28, 35, 21, 27], Operations: []
Exploring Operation: 35*27=945, Resulting Numbers: [28, 21, 945]
Generated Node #2: [28, 21, 945] from Operation: 35*27=945
Current State: 17:[28, 21, 945], Operations: ['35*27=945']
Exploring Operation: 945/21=45, Resulting Numbers: [28, 45]
Generated Node #3: [28, 45] from Operation: 945/21=45
Current State: 17:[28, 45], Operations: ['35*27=945', '945/21=45']
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[28, 35, 21, 27], Operations: []
Exploring Operation: 35-21=14, Resulting Numbers: [28, 27, 14]
Generated Node #0,0: 17:[28, 27, 14] Operation: 35-21=14
Exploring Operation: 28-21=7, Resulting Numbers: [35, 27, 7]
Generated Node #0,1: 17:[35, 27, 7] Operation: 28-21=7
Exploring Operation: 35-27=8, Resulting Numbers: [28, 21, 8]
Generated Node #0,2: 17:[28, 21, 8] Operation: 35-27=8
Exploring Operation: 35-28=7, Resulting Numbers: [21, 27, 7]
Generated Node #0,3: 17:[21, 27, 7] Operation: 35-28=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[28, 27, 14], Operations: ['35-21=14']
Exploring Operation: 27-14=13, Resulting Numbers: [28, 13]
Generated Node #0,0,0: 17:[28, 13] Operation: 27-14=13
Exploring Operation: 28/14=2, Resulting Numbers: [27, 2]
Generated Node #0,0,1: 17:[27, 2] Operation: 28/14=2
Exploring Operation: 28-14=14, Resulting Numbers: [27, 14]
Generated Node #0,0,2: 17:[27, 14] Operation: 28-14=14
Exploring Operation: 28-27=1, Resulting Numbers: [14, 1]
Generated Node #0,0,3: 17:[14, 1] Operation: 28-27=1
Moving to Node #0,0,2
Current State: 17:[27, 14], Operations: ['35-21=14', '28-14=14']
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,17 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[28, 13], Operations: ['35-21=14', '27-14=13']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 28*13=364, Resulting Numbers: [364]
364,17 unequal: No Solution
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[14, 1], Operations: ['35-21=14', '28-27=1']
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[27, 2], Operations: ['35-21=14', '28/14=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,17 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,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,2
Current State: 17:[28, 21, 8], Operations: ['35-27=8']
Exploring Operation: 28-8=20, Resulting Numbers: [21, 20]
Generated Node #0,2,0: 17:[21, 20] Operation: 28-8=20
Exploring Operation: 28-21=7, Resulting Numbers: [8, 7]
Generated Node #0,2,1: 17:[8, 7] Operation: 28-21=7
Exploring Operation: 21-8=13, Resulting Numbers: [28, 13]
Generated Node #0,2,2: 17:[28, 13] Operation: 21-8=13
Exploring Operation: 28+8=36, Resulting Numbers: [21, 36]
Generated Node #0,2,3: 17:[21, 36] Operation: 28+8=36
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 17:[21, 20], Operations: ['35-27=8', '28-8=20']
Exploring Operation: 21*20=420, Resulting Numbers: [420]
420,17 unequal: No Solution
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,17 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,17 unequal: No Solution
No 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: 17:[28, 13], Operations: ['35-27=8', '21-8=13']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 28*13=364, Resulting Numbers: [364]
364,17 unequal: No Solution
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,17 unequal: No Solution
No 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: 17:[8, 7], Operations: ['35-27=8', '28-21=7']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,17 unequal: No Solution
No 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: 17:[21, 36], Operations: ['35-27=8', '28+8=36']
Exploring Operation: 21*36=756, Resulting Numbers: [756]
756,17 unequal: No Solution
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,17 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,17 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: 17:[21, 27, 7], Operations: ['35-28=7']
Exploring Operation: 27-21=6, Resulting Numbers: [7, 6]
Generated Node #0,3,0: 17:[7, 6] Operation: 27-21=6
Exploring Operation: 21-7=14, Resulting Numbers: [27, 14]
Generated Node #0,3,1: 17:[27, 14] Operation: 21-7=14
Exploring Operation: 21+7=28, Resulting Numbers: [27, 28]
Generated Node #0,3,2: 17:[27, 28] Operation: 21+7=28
Exploring Operation: 27-7=20, Resulting Numbers: [21, 20]
Generated Node #0,3,3: 17:[21, 20] Operation: 27-7=20
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 17:[21, 20], Operations: ['35-28=7', '27-7=20']
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,17 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 21*20=420, Resulting Numbers: [420]
420,17 unequal: No Solution
No 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: 17:[27, 14], Operations: ['35-28=7', '21-7=14']
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,17 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,17 unequal: No Solution
No 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: 17:[7, 6], Operations: ['35-28=7', '27-21=6']
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,17 unequal: No Solution
No 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: 17:[27, 28], Operations: ['35-28=7', '21+7=28']
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,17 unequal: No Solution
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,17 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: 17:[35, 27, 7], Operations: ['28-21=7']
Exploring Operation: 35/7=5, Resulting Numbers: [27, 5]
Generated Node #0,1,0: 17:[27, 5] Operation: 35/7=5
Exploring Operation: 35-7=28, Resulting Numbers: [27, 28]
Generated Node #0,1,1: 17:[27, 28] Operation: 35-7=28
Exploring Operation: 27-7=20, Resulting Numbers: [35, 20]
Generated Node #0,1,2: 17:[35, 20] Operation: 27-7=20
Exploring Operation: 35-27=8, Resulting Numbers: [7, 8]
Generated Node #0,1,3: 17:[7, 8] Operation: 35-27=8
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 17:[7, 8], Operations: ['28-21=7', '35-27=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,17 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,17 unequal: No Solution
No 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: 17:[27, 28], Operations: ['28-21=7', '35-7=28']
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,17 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,17 unequal: No Solution
No 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: 17:[35, 20], Operations: ['28-21=7', '27-7=20']
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,17 unequal: No Solution
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,17 unequal: No Solution
No 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: 17:[27, 5], Operations: ['28-21=7', '35/7=5']
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,17 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,17 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 |
[
6,
9,
51,
6
] | 47 | [
"6*6=36",
"36/9=4",
"51-4=47"
] | Current State: 47:[6, 9, 51, 6], Operations: []
Exploring Operation: 6*6=36, Resulting Numbers: [9, 51, 36]
Generated Node #2: [9, 51, 36] from Operation: 6*6=36
Current State: 47:[9, 51, 36], Operations: ['6*6=36']
Exploring Operation: 36/9=4, Resulting Numbers: [51, 4]
Generated Node #3: [51, 4] from Operation: 36/9=4
Current State: 47:[51, 4], Operations: ['6*6=36', '36/9=4']
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[6, 9, 51, 6], Operations: []
Exploring Operation: 9*6=54, Resulting Numbers: [6, 51, 54]
Generated Node #0,0: 47:[6, 51, 54] Operation: 9*6=54
Exploring Operation: 6*9=54, Resulting Numbers: [51, 6, 54]
Generated Node #0,1: 47:[51, 6, 54] Operation: 6*9=54
Exploring Operation: 6*6=36, Resulting Numbers: [9, 51, 36]
Generated Node #0,2: 47:[9, 51, 36] Operation: 6*6=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[6, 51, 54], Operations: ['9*6=54']
Exploring Operation: 6+51=57, Resulting Numbers: [54, 57]
Generated Node #0,0,0: 47:[54, 57] Operation: 6+51=57
Exploring Operation: 51-6=45, Resulting Numbers: [54, 45]
Generated Node #0,0,1: 47:[54, 45] Operation: 51-6=45
Exploring Operation: 54-6=48, Resulting Numbers: [51, 48]
Generated Node #0,0,2: 47:[51, 48] Operation: 54-6=48
Moving to Node #0,0,2
Current State: 47:[51, 48], Operations: ['9*6=54', '54-6=48']
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 51+48=99, Resulting Numbers: [99]
99,47 unequal: No Solution
Exploring Operation: 51*48=2448, Resulting Numbers: [2448]
2448,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[54, 45], Operations: ['9*6=54', '51-6=45']
Exploring Operation: 54-45=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Exploring Operation: 54+45=99, Resulting Numbers: [99]
99,47 unequal: No Solution
Exploring Operation: 54*45=2430, Resulting Numbers: [2430]
2430,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[54, 57], Operations: ['9*6=54', '6+51=57']
Exploring Operation: 54+57=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 54*57=3078, Resulting Numbers: [3078]
3078,47 unequal: No Solution
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[51, 6, 54], Operations: ['6*9=54']
Exploring Operation: 51-6=45, Resulting Numbers: [54, 45]
Generated Node #0,1,0: 47:[54, 45] Operation: 51-6=45
Exploring Operation: 51+6=57, Resulting Numbers: [54, 57]
Generated Node #0,1,1: 47:[54, 57] Operation: 51+6=57
Exploring Operation: 54-6=48, Resulting Numbers: [51, 48]
Generated Node #0,1,2: 47:[51, 48] Operation: 54-6=48
Moving to Node #0,1,2
Current State: 47:[51, 48], Operations: ['6*9=54', '54-6=48']
Exploring Operation: 51+48=99, Resulting Numbers: [99]
99,47 unequal: No Solution
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 51*48=2448, Resulting Numbers: [2448]
2448,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[54, 45], Operations: ['6*9=54', '51-6=45']
Exploring Operation: 54+45=99, Resulting Numbers: [99]
99,47 unequal: No Solution
Exploring Operation: 54*45=2430, Resulting Numbers: [2430]
2430,47 unequal: No Solution
Exploring Operation: 54-45=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[54, 57], Operations: ['6*9=54', '51+6=57']
Exploring Operation: 54*57=3078, Resulting Numbers: [3078]
3078,47 unequal: No Solution
Exploring Operation: 54+57=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[9, 51, 36], Operations: ['6*6=36']
Exploring Operation: 9+51=60, Resulting Numbers: [36, 60]
Generated Node #0,2,0: 47:[36, 60] Operation: 9+51=60
Exploring Operation: 51-9=42, Resulting Numbers: [36, 42]
Generated Node #0,2,1: 47:[36, 42] Operation: 51-9=42
Exploring Operation: 9+36=45, Resulting Numbers: [51, 45]
Generated Node #0,2,2: 47:[51, 45] Operation: 9+36=45
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 47:[51, 45], Operations: ['6*6=36', '9+36=45']
Exploring Operation: 51+45=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 51*45=2295, Resulting Numbers: [2295]
2295,47 unequal: No Solution
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 47:[36, 42], Operations: ['6*6=36', '51-9=42']
Exploring Operation: 36+42=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 36*42=1512, Resulting Numbers: [1512]
1512,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 47:[36, 60], Operations: ['6*6=36', '9+51=60']
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 36*60=2160, Resulting Numbers: [2160]
2160,47 unequal: No Solution
Exploring Operation: 36+60=96, Resulting Numbers: [96]
96,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
75,
21,
25,
89
] | 32 | [
"75+21=96",
"89-25=64",
"96-64=32"
] | Current State: 32:[75, 21, 25, 89], Operations: []
Exploring Operation: 75+21=96, Resulting Numbers: [25, 89, 96]
Generated Node #2: [25, 89, 96] from Operation: 75+21=96
Current State: 32:[25, 89, 96], Operations: ['75+21=96']
Exploring Operation: 89-25=64, Resulting Numbers: [96, 64]
Generated Node #3: [96, 64] from Operation: 89-25=64
Current State: 32:[96, 64], Operations: ['75+21=96', '89-25=64']
Exploring Operation: 96-64=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[75, 21, 25, 89], Operations: []
Exploring Operation: 89-75=14, Resulting Numbers: [21, 25, 14]
Generated Node #0,0: 32:[21, 25, 14] Operation: 89-75=14
Moving to Node #0,0
Current State: 32:[21, 25, 14], Operations: ['89-75=14']
Exploring Operation: 25-21=4, Resulting Numbers: [14, 4]
Generated Node #0,0,0: 32:[14, 4] Operation: 25-21=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[14, 4], Operations: ['89-75=14', '25-21=4']
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,32 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 |
[
37,
43,
12,
1
] | 91 | [
"37+43=80",
"12-1=11",
"80+11=91"
] | Current State: 91:[37, 43, 12, 1], Operations: []
Exploring Operation: 37+43=80, Resulting Numbers: [12, 1, 80]
Generated Node #2: [12, 1, 80] from Operation: 37+43=80
Current State: 91:[12, 1, 80], Operations: ['37+43=80']
Exploring Operation: 12-1=11, Resulting Numbers: [80, 11]
Generated Node #3: [80, 11] from Operation: 12-1=11
Current State: 91:[80, 11], Operations: ['37+43=80', '12-1=11']
Exploring Operation: 80+11=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[37, 43, 12, 1], Operations: []
Exploring Operation: 43-37=6, Resulting Numbers: [12, 1, 6]
Generated Node #0,0: 91:[12, 1, 6] Operation: 43-37=6
Exploring Operation: 37-12=25, Resulting Numbers: [43, 1, 25]
Generated Node #0,1: 91:[43, 1, 25] Operation: 37-12=25
Exploring Operation: 37+43=80, Resulting Numbers: [12, 1, 80]
Generated Node #0,2: 91:[12, 1, 80] Operation: 37+43=80
Moving to Node #0,0
Current State: 91:[12, 1, 6], Operations: ['43-37=6']
Exploring Operation: 12*1=12, Resulting Numbers: [6, 12]
Generated Node #0,0,0: 91:[6, 12] Operation: 12*1=12
Exploring Operation: 1+6=7, Resulting Numbers: [12, 7]
Generated Node #0,0,1: 91:[12, 7] Operation: 1+6=7
Exploring Operation: 12+1=13, Resulting Numbers: [6, 13]
Generated Node #0,0,2: 91:[6, 13] Operation: 12+1=13
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[12, 7], Operations: ['43-37=6', '1+6=7']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,91 unequal: No Solution
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,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:[6, 13], Operations: ['43-37=6', '12+1=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,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:[6, 12], Operations: ['43-37=6', '12*1=12']
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,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:[12, 1, 80], Operations: ['37+43=80']
Exploring Operation: 1+80=81, Resulting Numbers: [12, 81]
Generated Node #0,2,0: 91:[12, 81] Operation: 1+80=81
Exploring Operation: 12+80=92, Resulting Numbers: [1, 92]
Generated Node #0,2,1: 91:[1, 92] Operation: 12+80=92
Exploring Operation: 12+1=13, Resulting Numbers: [80, 13]
Generated Node #0,2,2: 91:[80, 13] Operation: 12+1=13
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[1, 92], Operations: ['37+43=80', '12+80=92']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[37, 43, 12, 1], Operations: []
Exploring Operation: 37+43=80, Resulting Numbers: [12, 1, 80]
Generated Node #0,2: 91:[12, 1, 80] Operation: 37+43=80
Moving to Node #0,2
Current State: 91:[12, 1, 80], Operations: ['37+43=80']
Exploring Operation: 12+80=92, Resulting Numbers: [1, 92]
Generated Node #0,2,1: 91:[1, 92] Operation: 12+80=92
Moving to Node #0,2,1
Current State: 91:[1, 92], Operations: ['37+43=80', '12+80=92']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
96,
83,
99,
58
] | 64 | [
"99-83=16",
"96/16=6",
"58+6=64"
] | Current State: 64:[96, 83, 99, 58], Operations: []
Exploring Operation: 99-83=16, Resulting Numbers: [96, 58, 16]
Generated Node #2: [96, 58, 16] from Operation: 99-83=16
Current State: 64:[96, 58, 16], Operations: ['99-83=16']
Exploring Operation: 96/16=6, Resulting Numbers: [58, 6]
Generated Node #3: [58, 6] from Operation: 96/16=6
Current State: 64:[58, 6], Operations: ['99-83=16', '96/16=6']
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[96, 83, 99, 58], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [99, 58, 13]
Generated Node #0,0: 64:[99, 58, 13] Operation: 96-83=13
Exploring Operation: 96-58=38, Resulting Numbers: [83, 99, 38]
Generated Node #0,1: 64:[83, 99, 38] Operation: 96-58=38
Exploring Operation: 99-96=3, Resulting Numbers: [83, 58, 3]
Generated Node #0,2: 64:[83, 58, 3] Operation: 99-96=3
Exploring Operation: 99-83=16, Resulting Numbers: [96, 58, 16]
Generated Node #0,3: 64:[96, 58, 16] Operation: 99-83=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[83, 58, 3], Operations: ['99-96=3']
Exploring Operation: 58+3=61, Resulting Numbers: [83, 61]
Generated Node #0,2,0: 64:[83, 61] Operation: 58+3=61
Exploring Operation: 83-58=25, Resulting Numbers: [3, 25]
Generated Node #0,2,1: 64:[3, 25] Operation: 83-58=25
Exploring Operation: 83+3=86, Resulting Numbers: [58, 86]
Generated Node #0,2,2: 64:[58, 86] Operation: 83+3=86
Exploring Operation: 83-3=80, Resulting Numbers: [58, 80]
Generated Node #0,2,3: 64:[58, 80] Operation: 83-3=80
Moving to Node #0,2,1
Current State: 64:[3, 25], Operations: ['99-96=3', '83-58=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,64 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Moving to Node #0,2,3
Current State: 64:[58, 80], Operations: ['99-96=3', '83-3=80']
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,64 unequal: No Solution
Exploring Operation: 58+80=138, Resulting Numbers: [138]
138,64 unequal: No Solution
Exploring Operation: 58*80=4640, Resulting Numbers: [4640]
4640,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[83, 61], Operations: ['99-96=3', '58+3=61']
Exploring Operation: 83+61=144, Resulting Numbers: [144]
144,64 unequal: No Solution
Exploring Operation: 83-61=22, Resulting Numbers: [22]
22,64 unequal: No Solution
Exploring Operation: 83*61=5063, Resulting Numbers: [5063]
5063,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[58, 86], Operations: ['99-96=3', '83+3=86']
Exploring Operation: 58*86=4988, Resulting Numbers: [4988]
4988,64 unequal: No Solution
Exploring Operation: 58+86=144, Resulting Numbers: [144]
144,64 unequal: No Solution
Exploring Operation: 86-58=28, Resulting Numbers: [28]
28,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[96, 58, 16], Operations: ['99-83=16']
Exploring Operation: 58+16=74, Resulting Numbers: [96, 74]
Generated Node #0,3,0: 64:[96, 74] Operation: 58+16=74
Exploring Operation: 96/16=6, Resulting Numbers: [58, 6]
Generated Node #0,3,1: 64:[58, 6] Operation: 96/16=6
Exploring Operation: 96-16=80, Resulting Numbers: [58, 80]
Generated Node #0,3,2: 64:[58, 80] Operation: 96-16=80
Exploring Operation: 96-58=38, Resulting Numbers: [16, 38]
Generated Node #0,3,3: 64:[16, 38] Operation: 96-58=38
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 64:[16, 38], Operations: ['99-83=16', '96-58=38']
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,64 unequal: No Solution
Exploring Operation: 16+38=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 16*38=608, Resulting Numbers: [608]
608,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 64:[58, 6], Operations: ['99-83=16', '96/16=6']
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,64 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[96, 83, 99, 58], Operations: []
Exploring Operation: 99-83=16, Resulting Numbers: [96, 58, 16]
Generated Node #0,3: 64:[96, 58, 16] Operation: 99-83=16
Moving to Node #0,3
Current State: 64:[96, 58, 16], Operations: ['99-83=16']
Exploring Operation: 96/16=6, Resulting Numbers: [58, 6]
Generated Node #0,3,1: 64:[58, 6] Operation: 96/16=6
Moving to Node #0,3,1
Current State: 64:[58, 6], Operations: ['99-83=16', '96/16=6']
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
3,
65,
64,
56
] | 41 | [
"64-56=8",
"3*8=24",
"65-24=41"
] | Current State: 41:[3, 65, 64, 56], Operations: []
Exploring Operation: 64-56=8, Resulting Numbers: [3, 65, 8]
Generated Node #2: [3, 65, 8] from Operation: 64-56=8
Current State: 41:[3, 65, 8], Operations: ['64-56=8']
Exploring Operation: 3*8=24, Resulting Numbers: [65, 24]
Generated Node #3: [65, 24] from Operation: 3*8=24
Current State: 41:[65, 24], Operations: ['64-56=8', '3*8=24']
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[3, 65, 64, 56], Operations: []
Exploring Operation: 64-3=61, Resulting Numbers: [65, 56, 61]
Generated Node #0,0: 41:[65, 56, 61] Operation: 64-3=61
Exploring Operation: 65-3=62, Resulting Numbers: [64, 56, 62]
Generated Node #0,1: 41:[64, 56, 62] Operation: 65-3=62
Exploring Operation: 56-3=53, Resulting Numbers: [65, 64, 53]
Generated Node #0,2: 41:[65, 64, 53] Operation: 56-3=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[65, 56, 61], Operations: ['64-3=61']
Exploring Operation: 61-56=5, Resulting Numbers: [65, 5]
Generated Node #0,0,0: 41:[65, 5] Operation: 61-56=5
Exploring Operation: 65-56=9, Resulting Numbers: [61, 9]
Generated Node #0,0,1: 41:[61, 9] Operation: 65-56=9
Exploring Operation: 65-61=4, Resulting Numbers: [56, 4]
Generated Node #0,0,2: 41:[56, 4] Operation: 65-61=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[61, 9], Operations: ['64-3=61', '65-56=9']
Exploring Operation: 61+9=70, Resulting Numbers: [70]
70,41 unequal: No Solution
Exploring Operation: 61*9=549, Resulting Numbers: [549]
549,41 unequal: No Solution
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 41:[56, 4], Operations: ['64-3=61', '65-61=4']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[65, 5], Operations: ['64-3=61', '61-56=5']
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,41 unequal: No Solution
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,41 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: 41:[64, 56, 62], Operations: ['65-3=62']
Exploring Operation: 62-56=6, Resulting Numbers: [64, 6]
Generated Node #0,1,0: 41:[64, 6] Operation: 62-56=6
Exploring Operation: 64-62=2, Resulting Numbers: [56, 2]
Generated Node #0,1,1: 41:[56, 2] Operation: 64-62=2
Exploring Operation: 64-56=8, Resulting Numbers: [62, 8]
Generated Node #0,1,2: 41:[62, 8] Operation: 64-56=8
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[56, 2], Operations: ['65-3=62', '64-62=2']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,41 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 41:[62, 8], Operations: ['65-3=62', '64-56=8']
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,41 unequal: No Solution
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,41 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[64, 6], Operations: ['65-3=62', '62-56=6']
Exploring Operation: 64*6=384, Resulting Numbers: [384]
384,41 unequal: No Solution
Exploring Operation: 64+6=70, Resulting Numbers: [70]
70,41 unequal: No Solution
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,41 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: 41:[65, 64, 53], Operations: ['56-3=53']
Exploring Operation: 65-64=1, Resulting Numbers: [53, 1]
Generated Node #0,2,0: 41:[53, 1] Operation: 65-64=1
Exploring Operation: 65-53=12, Resulting Numbers: [64, 12]
Generated Node #0,2,1: 41:[64, 12] Operation: 65-53=12
Exploring Operation: 64-53=11, Resulting Numbers: [65, 11]
Generated Node #0,2,2: 41:[65, 11] Operation: 64-53=11
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 41:[53, 1], Operations: ['56-3=53', '65-64=1']
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,41 unequal: No Solution
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,41 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 41:[64, 12], Operations: ['56-3=53', '65-53=12']
Exploring Operation: 64*12=768, Resulting Numbers: [768]
768,41 unequal: No Solution
Exploring Operation: 64+12=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 41:[65, 11], Operations: ['56-3=53', '64-53=11']
Exploring Operation: 65*11=715, Resulting Numbers: [715]
715,41 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 65+11=76, Resulting Numbers: [76]
76,41 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 |
[
35,
38,
26,
29
] | 81 | [
"35-26=9",
"38-29=9",
"9*9=81"
] | Current State: 81:[35, 38, 26, 29], Operations: []
Exploring Operation: 35-26=9, Resulting Numbers: [38, 29, 9]
Generated Node #2: [38, 29, 9] from Operation: 35-26=9
Current State: 81:[38, 29, 9], Operations: ['35-26=9']
Exploring Operation: 38-29=9, Resulting Numbers: [9, 9]
Generated Node #3: [9, 9] from Operation: 38-29=9
Current State: 81:[9, 9], Operations: ['35-26=9', '38-29=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[35, 38, 26, 29], Operations: []
Exploring Operation: 38-35=3, Resulting Numbers: [26, 29, 3]
Generated Node #0,0: 81:[26, 29, 3] Operation: 38-35=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[26, 29, 3], Operations: ['38-35=3']
Exploring Operation: 29-26=3, Resulting Numbers: [3, 3]
Generated Node #0,0,0: 81:[3, 3] Operation: 29-26=3
Moving to Node #0,0,0
Current State: 81:[3, 3], Operations: ['38-35=3', '29-26=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,81 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 |
[
60,
40,
67,
58
] | 94 | [
"60-58=2",
"67*2=134",
"134-40=94"
] | Current State: 94:[60, 40, 67, 58], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [40, 67, 2]
Generated Node #2: [40, 67, 2] from Operation: 60-58=2
Current State: 94:[40, 67, 2], Operations: ['60-58=2']
Exploring Operation: 67*2=134, Resulting Numbers: [40, 134]
Generated Node #3: [40, 134] from Operation: 67*2=134
Current State: 94:[40, 134], Operations: ['60-58=2', '67*2=134']
Exploring Operation: 134-40=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[60, 40, 67, 58], Operations: []
Exploring Operation: 67-58=9, Resulting Numbers: [60, 40, 9]
Generated Node #0,0: 94:[60, 40, 9] Operation: 67-58=9
Exploring Operation: 60-58=2, Resulting Numbers: [40, 67, 2]
Generated Node #0,1: 94:[40, 67, 2] Operation: 60-58=2
Exploring Operation: 67-60=7, Resulting Numbers: [40, 58, 7]
Generated Node #0,2: 94:[40, 58, 7] Operation: 67-60=7
Moving to Node #0,2
Current State: 94:[40, 58, 7], Operations: ['67-60=7']
Exploring Operation: 40+7=47, Resulting Numbers: [58, 47]
Generated Node #0,2,0: 94:[58, 47] Operation: 40+7=47
Exploring Operation: 58-7=51, Resulting Numbers: [40, 51]
Generated Node #0,2,1: 94:[40, 51] Operation: 58-7=51
Exploring Operation: 40+58=98, Resulting Numbers: [7, 98]
Generated Node #0,2,2: 94:[7, 98] Operation: 40+58=98
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[7, 98], Operations: ['67-60=7', '40+58=98']
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 7+98=105, Resulting Numbers: [105]
105,94 unequal: No Solution
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,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:[58, 47], Operations: ['67-60=7', '40+7=47']
Exploring Operation: 58+47=105, Resulting Numbers: [105]
105,94 unequal: No Solution
Exploring Operation: 58*47=2726, Resulting Numbers: [2726]
2726,94 unequal: No Solution
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,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:[40, 51], Operations: ['67-60=7', '58-7=51']
Exploring Operation: 40*51=2040, Resulting Numbers: [2040]
2040,94 unequal: No Solution
Exploring Operation: 40+51=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,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:[60, 40, 9], Operations: ['67-58=9']
Exploring Operation: 60-9=51, Resulting Numbers: [40, 51]
Generated Node #0,0,0: 94:[40, 51] Operation: 60-9=51
Exploring Operation: 40+9=49, Resulting Numbers: [60, 49]
Generated Node #0,0,1: 94:[60, 49] Operation: 40+9=49
Exploring Operation: 60+40=100, Resulting Numbers: [9, 100]
Generated Node #0,0,2: 94:[9, 100] Operation: 60+40=100
Moving to Node #0,1
Current State: 94:[40, 67, 2], Operations: ['60-58=2']
Exploring Operation: 40+67=107, Resulting Numbers: [2, 107]
Generated Node #0,1,0: 94:[2, 107] Operation: 40+67=107
Exploring Operation: 40+2=42, Resulting Numbers: [67, 42]
Generated Node #0,1,1: 94:[67, 42] Operation: 40+2=42
Exploring Operation: 67-40=27, Resulting Numbers: [2, 27]
Generated Node #0,1,2: 94:[2, 27] Operation: 67-40=27
Moving to Node #0,0,0
Current State: 94:[40, 51], Operations: ['67-58=9', '60-9=51']
Exploring Operation: 40*51=2040, Resulting Numbers: [2040]
2040,94 unequal: No Solution
Exploring Operation: 40+51=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[9, 100], Operations: ['67-58=9', '60+40=100']
Exploring Operation: 100-9=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Exploring Operation: 9+100=109, Resulting Numbers: [109]
109,94 unequal: No Solution
Exploring Operation: 9*100=900, Resulting Numbers: [900]
900,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[2, 107], Operations: ['60-58=2', '40+67=107']
Exploring Operation: 107-2=105, Resulting Numbers: [105]
105,94 unequal: No Solution
Exploring Operation: 2*107=214, Resulting Numbers: [214]
214,94 unequal: No Solution
Exploring Operation: 2+107=109, Resulting Numbers: [109]
109,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[60, 49], Operations: ['67-58=9', '40+9=49']
Exploring Operation: 60+49=109, Resulting Numbers: [109]
109,94 unequal: No Solution
Exploring Operation: 60*49=2940, Resulting Numbers: [2940]
2940,94 unequal: No Solution
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[2, 27], Operations: ['60-58=2', '67-40=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,94 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[67, 42], Operations: ['60-58=2', '40+2=42']
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,94 unequal: No Solution
Exploring Operation: 67*42=2814, Resulting Numbers: [2814]
2814,94 unequal: No Solution
Exploring Operation: 67+42=109, Resulting Numbers: [109]
109,94 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
3,
76,
18,
38
] | 92 | [
"3*18=54",
"76-38=38",
"54+38=92"
] | Current State: 92:[3, 76, 18, 38], Operations: []
Exploring Operation: 3*18=54, Resulting Numbers: [76, 38, 54]
Generated Node #2: [76, 38, 54] from Operation: 3*18=54
Current State: 92:[76, 38, 54], Operations: ['3*18=54']
Exploring Operation: 76-38=38, Resulting Numbers: [54, 38]
Generated Node #3: [54, 38] from Operation: 76-38=38
Current State: 92:[54, 38], Operations: ['3*18=54', '76-38=38']
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[3, 76, 18, 38], Operations: []
Exploring Operation: 76+18=94, Resulting Numbers: [3, 38, 94]
Generated Node #0,0: 92:[3, 38, 94] Operation: 76+18=94
Exploring Operation: 76-38=38, Resulting Numbers: [3, 18, 38]
Generated Node #0,1: 92:[3, 18, 38] Operation: 76-38=38
Exploring Operation: 76/38=2, Resulting Numbers: [3, 18, 2]
Generated Node #0,2: 92:[3, 18, 2] Operation: 76/38=2
Moving to Node #0,2
Current State: 92:[3, 18, 2], Operations: ['76/38=2']
Exploring Operation: 18+2=20, Resulting Numbers: [3, 20]
Generated Node #0,2,0: 92:[3, 20] Operation: 18+2=20
Exploring Operation: 18/3=6, Resulting Numbers: [2, 6]
Generated Node #0,2,1: 92:[2, 6] Operation: 18/3=6
Exploring Operation: 3+18=21, Resulting Numbers: [2, 21]
Generated Node #0,2,2: 92:[2, 21] Operation: 3+18=21
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[2, 6], Operations: ['76/38=2', '18/3=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[2, 21], Operations: ['76/38=2', '3+18=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[3, 20], Operations: ['76/38=2', '18+2=20']
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,92 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,92 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: 92:[3, 38, 94], Operations: ['76+18=94']
Exploring Operation: 3+38=41, Resulting Numbers: [94, 41]
Generated Node #0,0,0: 92:[94, 41] Operation: 3+38=41
Exploring Operation: 94-38=56, Resulting Numbers: [3, 56]
Generated Node #0,0,1: 92:[3, 56] Operation: 94-38=56
Exploring Operation: 94-3=91, Resulting Numbers: [38, 91]
Generated Node #0,0,2: 92:[38, 91] Operation: 94-3=91
Moving to Node #0,1
Current State: 92:[3, 18, 38], Operations: ['76-38=38']
Exploring Operation: 38-18=20, Resulting Numbers: [3, 20]
Generated Node #0,1,0: 92:[3, 20] Operation: 38-18=20
Exploring Operation: 18/3=6, Resulting Numbers: [38, 6]
Generated Node #0,1,1: 92:[38, 6] Operation: 18/3=6
Exploring Operation: 3+18=21, Resulting Numbers: [38, 21]
Generated Node #0,1,2: 92:[38, 21] Operation: 3+18=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[3, 20], Operations: ['76-38=38', '38-18=20']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,92 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[38, 6], Operations: ['76-38=38', '18/3=6']
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,92 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 92:[38, 21], Operations: ['76-38=38', '3+18=21']
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,92 unequal: No Solution
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,92 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,92 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: 92:[94, 41], Operations: ['76+18=94', '3+38=41']
Exploring Operation: 94+41=135, Resulting Numbers: [135]
135,92 unequal: No Solution
Exploring Operation: 94*41=3854, Resulting Numbers: [3854]
3854,92 unequal: No Solution
Exploring Operation: 94-41=53, Resulting Numbers: [53]
53,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[38, 91], Operations: ['76+18=94', '94-3=91']
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,92 unequal: No Solution
Exploring Operation: 38*91=3458, Resulting Numbers: [3458]
3458,92 unequal: No Solution
Exploring Operation: 38+91=129, Resulting Numbers: [129]
129,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[3, 56], Operations: ['76+18=94', '94-38=56']
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,92 unequal: No Solution
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,92 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,92 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
55,
23,
3,
20
] | 74 | [
"23+20=43",
"3*43=129",
"129-55=74"
] | Current State: 74:[55, 23, 3, 20], Operations: []
Exploring Operation: 23+20=43, Resulting Numbers: [55, 3, 43]
Generated Node #2: [55, 3, 43] from Operation: 23+20=43
Current State: 74:[55, 3, 43], Operations: ['23+20=43']
Exploring Operation: 3*43=129, Resulting Numbers: [55, 129]
Generated Node #3: [55, 129] from Operation: 3*43=129
Current State: 74:[55, 129], Operations: ['23+20=43', '3*43=129']
Exploring Operation: 129-55=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[55, 23, 3, 20], Operations: []
Exploring Operation: 55-23=32, Resulting Numbers: [3, 20, 32]
Generated Node #0,0: 74:[3, 20, 32] Operation: 55-23=32
Exploring Operation: 23-20=3, Resulting Numbers: [55, 3, 3]
Generated Node #0,1: 74:[55, 3, 3] Operation: 23-20=3
Exploring Operation: 55-20=35, Resulting Numbers: [23, 3, 35]
Generated Node #0,2: 74:[23, 3, 35] Operation: 55-20=35
Exploring Operation: 55+23=78, Resulting Numbers: [3, 20, 78]
Generated Node #0,3: 74:[3, 20, 78] Operation: 55+23=78
Exploring Operation: 55+20=75, Resulting Numbers: [23, 3, 75]
Generated Node #0,4: 74:[23, 3, 75] Operation: 55+20=75
Moving to Node #0,4
Current State: 74:[23, 3, 75], Operations: ['55+20=75']
Exploring Operation: 75-3=72, Resulting Numbers: [23, 72]
Generated Node #0,4,0: 74:[23, 72] Operation: 75-3=72
Exploring Operation: 23-3=20, Resulting Numbers: [75, 20]
Generated Node #0,4,1: 74:[75, 20] Operation: 23-3=20
Exploring Operation: 75-23=52, Resulting Numbers: [3, 52]
Generated Node #0,4,2: 74:[3, 52] Operation: 75-23=52
Exploring Operation: 23*3=69, Resulting Numbers: [75, 69]
Generated Node #0,4,3: 74:[75, 69] Operation: 23*3=69
Exploring Operation: 23+3=26, Resulting Numbers: [75, 26]
Generated Node #0,4,4: 74:[75, 26] Operation: 23+3=26
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 74:[75, 69], Operations: ['55+20=75', '23*3=69']
Exploring Operation: 75+69=144, Resulting Numbers: [144]
144,74 unequal: No Solution
Exploring Operation: 75-69=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 75*69=5175, Resulting Numbers: [5175]
5175,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 74:[75, 26], Operations: ['55+20=75', '23+3=26']
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,74 unequal: No Solution
Exploring Operation: 75+26=101, Resulting Numbers: [101]
101,74 unequal: No Solution
Exploring Operation: 75*26=1950, Resulting Numbers: [1950]
1950,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 74:[23, 72], Operations: ['55+20=75', '75-3=72']
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,74 unequal: No Solution
Exploring Operation: 23*72=1656, Resulting Numbers: [1656]
1656,74 unequal: No Solution
Exploring Operation: 23+72=95, Resulting Numbers: [95]
95,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 74:[3, 52], Operations: ['55+20=75', '75-23=52']
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,74 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 74:[75, 20], Operations: ['55+20=75', '23-3=20']
Exploring Operation: 75+20=95, Resulting Numbers: [95]
95,74 unequal: No Solution
Exploring Operation: 75-20=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 75*20=1500, Resulting Numbers: [1500]
1500,74 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: 74:[23, 3, 35], Operations: ['55-20=35']
Exploring Operation: 35-23=12, Resulting Numbers: [3, 12]
Generated Node #0,2,0: 74:[3, 12] Operation: 35-23=12
Exploring Operation: 23*3=69, Resulting Numbers: [35, 69]
Generated Node #0,2,1: 74:[35, 69] Operation: 23*3=69
Exploring Operation: 23+35=58, Resulting Numbers: [3, 58]
Generated Node #0,2,2: 74:[3, 58] Operation: 23+35=58
Exploring Operation: 3+35=38, Resulting Numbers: [23, 38]
Generated Node #0,2,3: 74:[23, 38] Operation: 3+35=38
Exploring Operation: 23+3=26, Resulting Numbers: [35, 26]
Generated Node #0,2,4: 74:[35, 26] Operation: 23+3=26
Moving to Node #0,1
Current State: 74:[55, 3, 3], Operations: ['23-20=3']
Exploring Operation: 55-3=52, Resulting Numbers: [3, 52]
Generated Node #0,1,0: 74:[3, 52] Operation: 55-3=52
Exploring Operation: 55-3=52, Resulting Numbers: [3, 52]
Generated Node #0,1,1: 74:[3, 52] Operation: 55-3=52
Exploring Operation: 55+3=58, Resulting Numbers: [3, 58]
Generated Node #0,1,2: 74:[3, 58] Operation: 55+3=58
Exploring Operation: 55+3=58, Resulting Numbers: [3, 58]
Generated Node #0,1,3: 74:[3, 58] Operation: 55+3=58
Exploring Operation: 3/3=1, Resulting Numbers: [55, 1]
Generated Node #0,1,4: 74:[55, 1] Operation: 3/3=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[3, 52], Operations: ['23-20=3', '55-3=52']
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,74 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[3, 52], Operations: ['23-20=3', '55-3=52']
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,74 unequal: No Solution
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 74:[3, 58], Operations: ['23-20=3', '55+3=58']
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,74 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 74:[3, 58], Operations: ['23-20=3', '55+3=58']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,74 unequal: No Solution
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 74:[55, 1], Operations: ['23-20=3', '3/3=1']
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,74 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: 74:[3, 20, 78], Operations: ['55+23=78']
Exploring Operation: 78-20=58, Resulting Numbers: [3, 58]
Generated Node #0,3,0: 74:[3, 58] Operation: 78-20=58
Exploring Operation: 20-3=17, Resulting Numbers: [78, 17]
Generated Node #0,3,1: 74:[78, 17] Operation: 20-3=17
Exploring Operation: 3+20=23, Resulting Numbers: [78, 23]
Generated Node #0,3,2: 74:[78, 23] Operation: 3+20=23
Exploring Operation: 3*20=60, Resulting Numbers: [78, 60]
Generated Node #0,3,3: 74:[78, 60] Operation: 3*20=60
Exploring Operation: 78-3=75, Resulting Numbers: [20, 75]
Generated Node #0,3,4: 74:[20, 75] Operation: 78-3=75
Moving to Node #0,0
Current State: 74:[3, 20, 32], Operations: ['55-23=32']
Exploring Operation: 3+20=23, Resulting Numbers: [32, 23]
Generated Node #0,0,0: 74:[32, 23] Operation: 3+20=23
Exploring Operation: 3+32=35, Resulting Numbers: [20, 35]
Generated Node #0,0,1: 74:[20, 35] Operation: 3+32=35
Exploring Operation: 3*20=60, Resulting Numbers: [32, 60]
Generated Node #0,0,2: 74:[32, 60] Operation: 3*20=60
Exploring Operation: 20+32=52, Resulting Numbers: [3, 52]
Generated Node #0,0,3: 74:[3, 52] Operation: 20+32=52
Exploring Operation: 32-20=12, Resulting Numbers: [3, 12]
Generated Node #0,0,4: 74:[3, 12] Operation: 32-20=12
Moving to Node #0,2,1
Current State: 74:[35, 69], Operations: ['55-20=35', '23*3=69']
Exploring Operation: 35+69=104, Resulting Numbers: [104]
104,74 unequal: No Solution
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 35*69=2415, Resulting Numbers: [2415]
2415,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[3, 12], Operations: ['55-20=35', '35-23=12']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Moving to Node #0,0,4
Current State: 74:[3, 12], Operations: ['55-23=32', '32-20=12']
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Moving to Node #0,2,4
Current State: 74:[35, 26], Operations: ['55-20=35', '23+3=26']
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 35*26=910, Resulting Numbers: [910]
910,74 unequal: No Solution
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,74 unequal: No Solution
Moving to Node #0,2,3
Current State: 74:[23, 38], Operations: ['55-20=35', '3+35=38']
Exploring Operation: 23*38=874, Resulting Numbers: [874]
874,74 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 23+38=61, Resulting Numbers: [61]
61,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[3, 52], Operations: ['55-23=32', '20+32=52']
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,74 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,74 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[3, 58], Operations: ['55+23=78', '78-20=58']
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,74 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[3, 58], Operations: ['55-20=35', '23+35=58']
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,74 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[78, 23], Operations: ['55+23=78', '3+20=23']
Exploring Operation: 78+23=101, Resulting Numbers: [101]
101,74 unequal: No Solution
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 78*23=1794, Resulting Numbers: [1794]
1794,74 unequal: No Solution
Moving to Node #0,3,4
Current State: 74:[20, 75], Operations: ['55+23=78', '78-3=75']
Exploring Operation: 20+75=95, Resulting Numbers: [95]
95,74 unequal: No Solution
Exploring Operation: 20*75=1500, Resulting Numbers: [1500]
1500,74 unequal: No Solution
Exploring Operation: 75-20=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[78, 60], Operations: ['55+23=78', '3*20=60']
Exploring Operation: 78-60=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 78*60=4680, Resulting Numbers: [4680]
4680,74 unequal: No Solution
Exploring Operation: 78+60=138, Resulting Numbers: [138]
138,74 unequal: No Solution
Moving to Node #0,3,1
Current State: 74:[78, 17], Operations: ['55+23=78', '20-3=17']
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,74 unequal: No Solution
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,74 unequal: No Solution
Exploring Operation: 78*17=1326, Resulting Numbers: [1326]
1326,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[32, 23], Operations: ['55-23=32', '3+20=23']
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,74 unequal: No Solution
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[32, 60], Operations: ['55-23=32', '3*20=60']
Exploring Operation: 32+60=92, Resulting Numbers: [92]
92,74 unequal: No Solution
Exploring Operation: 32*60=1920, Resulting Numbers: [1920]
1920,74 unequal: No Solution
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[20, 35], Operations: ['55-23=32', '3+32=35']
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 20+35=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 20*35=700, Resulting Numbers: [700]
700,74 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
16,
8,
37,
5
] | 96 | [
"16*8=128",
"37-5=32",
"128-32=96"
] | Current State: 96:[16, 8, 37, 5], Operations: []
Exploring Operation: 16*8=128, Resulting Numbers: [37, 5, 128]
Generated Node #2: [37, 5, 128] from Operation: 16*8=128
Current State: 96:[37, 5, 128], Operations: ['16*8=128']
Exploring Operation: 37-5=32, Resulting Numbers: [128, 32]
Generated Node #3: [128, 32] from Operation: 37-5=32
Current State: 96:[128, 32], Operations: ['16*8=128', '37-5=32']
Exploring Operation: 128-32=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[16, 8, 37, 5], Operations: []
Exploring Operation: 37-16=21, Resulting Numbers: [8, 5, 21]
Generated Node #0,0: 96:[8, 5, 21] Operation: 37-16=21
Exploring Operation: 37-5=32, Resulting Numbers: [16, 8, 32]
Generated Node #0,1: 96:[16, 8, 32] Operation: 37-5=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[16, 8, 32], Operations: ['37-5=32']
Exploring Operation: 16-8=8, Resulting Numbers: [32, 8]
Generated Node #0,1,0: 96:[32, 8] Operation: 16-8=8
Exploring Operation: 16+8=24, Resulting Numbers: [32, 24]
Generated Node #0,1,1: 96:[32, 24] Operation: 16+8=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[32, 8], Operations: ['37-5=32', '16-8=8']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[32, 24], Operations: ['37-5=32', '16+8=24']
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,96 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[8, 5, 21], Operations: ['37-16=21']
Exploring Operation: 21-5=16, Resulting Numbers: [8, 16]
Generated Node #0,0,0: 96:[8, 16] Operation: 21-5=16
Exploring Operation: 21-8=13, Resulting Numbers: [5, 13]
Generated Node #0,0,1: 96:[5, 13] Operation: 21-8=13
Moving to Node #0,0,0
Current State: 96:[8, 16], Operations: ['37-16=21', '21-5=16']
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[5, 13], Operations: ['37-16=21', '21-8=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,96 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 |
[
69,
11,
81,
23
] | 46 | [
"69-11=58",
"81+23=104",
"104-58=46"
] | Current State: 46:[69, 11, 81, 23], Operations: []
Exploring Operation: 69-11=58, Resulting Numbers: [81, 23, 58]
Generated Node #2: [81, 23, 58] from Operation: 69-11=58
Current State: 46:[81, 23, 58], Operations: ['69-11=58']
Exploring Operation: 81+23=104, Resulting Numbers: [58, 104]
Generated Node #3: [58, 104] from Operation: 81+23=104
Current State: 46:[58, 104], Operations: ['69-11=58', '81+23=104']
Exploring Operation: 104-58=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[69, 11, 81, 23], Operations: []
Exploring Operation: 81-69=12, Resulting Numbers: [11, 23, 12]
Generated Node #0,0: 46:[11, 23, 12] Operation: 81-69=12
Exploring Operation: 69-23=46, Resulting Numbers: [11, 81, 46]
Generated Node #0,1: 46:[11, 81, 46] Operation: 69-23=46
Moving to Node #0,0
Current State: 46:[11, 23, 12], Operations: ['81-69=12']
Exploring Operation: 12-11=1, Resulting Numbers: [23, 1]
Generated Node #0,0,0: 46:[23, 1] Operation: 12-11=1
Exploring Operation: 11+12=23, Resulting Numbers: [23, 23]
Generated Node #0,0,1: 46:[23, 23] Operation: 11+12=23
Moving to Node #0,1
Current State: 46:[11, 81, 46], Operations: ['69-23=46']
Exploring Operation: 81-11=70, Resulting Numbers: [46, 70]
Generated Node #0,1,0: 46:[46, 70] Operation: 81-11=70
Exploring Operation: 81-46=35, Resulting Numbers: [11, 35]
Generated Node #0,1,1: 46:[11, 35] Operation: 81-46=35
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[11, 35], Operations: ['69-23=46', '81-46=35']
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[69, 11, 81, 23], Operations: []
Exploring Operation: 69-23=46, Resulting Numbers: [11, 81, 46]
Generated Node #0,1: 46:[11, 81, 46] Operation: 69-23=46
Moving to Node #0,1
Current State: 46:[11, 81, 46], Operations: ['69-23=46']
Exploring Operation: 81-46=35, Resulting Numbers: [11, 35]
Generated Node #0,1,1: 46:[11, 35] Operation: 81-46=35
Moving to Node #0,1,1
Current State: 46:[11, 35], Operations: ['69-23=46', '81-46=35']
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
68,
46,
15,
58
] | 65 | [
"68-46=22",
"58-15=43",
"22+43=65"
] | Current State: 65:[68, 46, 15, 58], Operations: []
Exploring Operation: 68-46=22, Resulting Numbers: [15, 58, 22]
Generated Node #2: [15, 58, 22] from Operation: 68-46=22
Current State: 65:[15, 58, 22], Operations: ['68-46=22']
Exploring Operation: 58-15=43, Resulting Numbers: [22, 43]
Generated Node #3: [22, 43] from Operation: 58-15=43
Current State: 65:[22, 43], Operations: ['68-46=22', '58-15=43']
Exploring Operation: 22+43=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[68, 46, 15, 58], Operations: []
Exploring Operation: 46+15=61, Resulting Numbers: [68, 58, 61]
Generated Node #0,0: 65:[68, 58, 61] Operation: 46+15=61
Exploring Operation: 68-46=22, Resulting Numbers: [15, 58, 22]
Generated Node #0,1: 65:[15, 58, 22] Operation: 68-46=22
Exploring Operation: 58-46=12, Resulting Numbers: [68, 15, 12]
Generated Node #0,2: 65:[68, 15, 12] Operation: 58-46=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[68, 15, 12], Operations: ['58-46=12']
Exploring Operation: 68-15=53, Resulting Numbers: [12, 53]
Generated Node #0,2,0: 65:[12, 53] Operation: 68-15=53
Exploring Operation: 68-12=56, Resulting Numbers: [15, 56]
Generated Node #0,2,1: 65:[15, 56] Operation: 68-12=56
Exploring Operation: 15-12=3, Resulting Numbers: [68, 3]
Generated Node #0,2,2: 65:[68, 3] Operation: 15-12=3
Moving to Node #0,2,2
Current State: 65:[68, 3], Operations: ['58-46=12', '15-12=3']
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,65 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[68, 46, 15, 58], Operations: []
Exploring Operation: 58-46=12, Resulting Numbers: [68, 15, 12]
Generated Node #0,2: 65:[68, 15, 12] Operation: 58-46=12
Moving to Node #0,2
Current State: 65:[68, 15, 12], Operations: ['58-46=12']
Exploring Operation: 15-12=3, Resulting Numbers: [68, 3]
Generated Node #0,2,2: 65:[68, 3] Operation: 15-12=3
Moving to Node #0,2,2
Current State: 65:[68, 3], Operations: ['58-46=12', '15-12=3']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
36,
92,
21,
39
] | 29 | [
"39-36=3",
"21*3=63",
"92-63=29"
] | Current State: 29:[36, 92, 21, 39], Operations: []
Exploring Operation: 39-36=3, Resulting Numbers: [92, 21, 3]
Generated Node #2: [92, 21, 3] from Operation: 39-36=3
Current State: 29:[92, 21, 3], Operations: ['39-36=3']
Exploring Operation: 21*3=63, Resulting Numbers: [92, 63]
Generated Node #3: [92, 63] from Operation: 21*3=63
Current State: 29:[92, 63], Operations: ['39-36=3', '21*3=63']
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[36, 92, 21, 39], Operations: []
Exploring Operation: 92-39=53, Resulting Numbers: [36, 21, 53]
Generated Node #0,0: 29:[36, 21, 53] Operation: 92-39=53
Exploring Operation: 92-36=56, Resulting Numbers: [21, 39, 56]
Generated Node #0,1: 29:[21, 39, 56] Operation: 92-36=56
Moving to Node #0,0
Current State: 29:[36, 21, 53], Operations: ['92-39=53']
Exploring Operation: 53-21=32, Resulting Numbers: [36, 32]
Generated Node #0,0,0: 29:[36, 32] Operation: 53-21=32
Exploring Operation: 53-36=17, Resulting Numbers: [21, 17]
Generated Node #0,0,1: 29:[21, 17] Operation: 53-36=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[36, 32], Operations: ['92-39=53', '53-21=32']
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 36+32=68, Resulting Numbers: [68]
68,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,0,1
Current State: 29:[21, 17], Operations: ['92-39=53', '53-36=17']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,29 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: 29:[21, 39, 56], Operations: ['92-36=56']
Exploring Operation: 56-21=35, Resulting Numbers: [39, 35]
Generated Node #0,1,0: 29:[39, 35] Operation: 56-21=35
Exploring Operation: 56-39=17, Resulting Numbers: [21, 17]
Generated Node #0,1,1: 29:[21, 17] Operation: 56-39=17
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[39, 35], Operations: ['92-36=56', '56-21=35']
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 39+35=74, Resulting Numbers: [74]
74,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[21, 17], Operations: ['92-36=56', '56-39=17']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,29 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 |
[
77,
37,
31,
2
] | 11 | [
"77-37=40",
"31-2=29",
"40-29=11"
] | Current State: 11:[77, 37, 31, 2], Operations: []
Exploring Operation: 77-37=40, Resulting Numbers: [31, 2, 40]
Generated Node #2: [31, 2, 40] from Operation: 77-37=40
Current State: 11:[31, 2, 40], Operations: ['77-37=40']
Exploring Operation: 31-2=29, Resulting Numbers: [40, 29]
Generated Node #3: [40, 29] from Operation: 31-2=29
Current State: 11:[40, 29], Operations: ['77-37=40', '31-2=29']
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[77, 37, 31, 2], Operations: []
Exploring Operation: 77-37=40, Resulting Numbers: [31, 2, 40]
Generated Node #0,0: 11:[31, 2, 40] Operation: 77-37=40
Exploring Operation: 37-31=6, Resulting Numbers: [77, 2, 6]
Generated Node #0,1: 11:[77, 2, 6] Operation: 37-31=6
Exploring Operation: 77-31=46, Resulting Numbers: [37, 2, 46]
Generated Node #0,2: 11:[37, 2, 46] Operation: 77-31=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[31, 2, 40], Operations: ['77-37=40']
Exploring Operation: 31-2=29, Resulting Numbers: [40, 29]
Generated Node #0,0,0: 11:[40, 29] Operation: 31-2=29
Exploring Operation: 40/2=20, Resulting Numbers: [31, 20]
Generated Node #0,0,1: 11:[31, 20] Operation: 40/2=20
Exploring Operation: 40-31=9, Resulting Numbers: [2, 9]
Generated Node #0,0,2: 11:[2, 9] Operation: 40-31=9
Moving to Node #0,0,2
Current State: 11:[2, 9], Operations: ['77-37=40', '40-31=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[77, 37, 31, 2], Operations: []
Exploring Operation: 77-37=40, Resulting Numbers: [31, 2, 40]
Generated Node #0,0: 11:[31, 2, 40] Operation: 77-37=40
Moving to Node #0,0
Current State: 11:[31, 2, 40], Operations: ['77-37=40']
Exploring Operation: 40-31=9, Resulting Numbers: [2, 9]
Generated Node #0,0,2: 11:[2, 9] Operation: 40-31=9
Moving to Node #0,0,2
Current State: 11:[2, 9], Operations: ['77-37=40', '40-31=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
32,
14,
42,
91
] | 67 | [
"32-14=18",
"91-42=49",
"18+49=67"
] | Current State: 67:[32, 14, 42, 91], Operations: []
Exploring Operation: 32-14=18, Resulting Numbers: [42, 91, 18]
Generated Node #2: [42, 91, 18] from Operation: 32-14=18
Current State: 67:[42, 91, 18], Operations: ['32-14=18']
Exploring Operation: 91-42=49, Resulting Numbers: [18, 49]
Generated Node #3: [18, 49] from Operation: 91-42=49
Current State: 67:[18, 49], Operations: ['32-14=18', '91-42=49']
Exploring Operation: 18+49=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[32, 14, 42, 91], Operations: []
Exploring Operation: 32+14=46, Resulting Numbers: [42, 91, 46]
Generated Node #0,0: 67:[42, 91, 46] Operation: 32+14=46
Moving to Node #0,0
Current State: 67:[42, 91, 46], Operations: ['32+14=46']
Exploring Operation: 91-42=49, Resulting Numbers: [46, 49]
Generated Node #0,0,0: 67:[46, 49] Operation: 91-42=49
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[46, 49], Operations: ['32+14=46', '91-42=49']
Exploring Operation: 46+49=95, Resulting Numbers: [95]
95,67 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 |
[
78,
7,
75,
81
] | 85 | [
"78-7=71",
"75+81=156",
"156-71=85"
] | Current State: 85:[78, 7, 75, 81], Operations: []
Exploring Operation: 78-7=71, Resulting Numbers: [75, 81, 71]
Generated Node #2: [75, 81, 71] from Operation: 78-7=71
Current State: 85:[75, 81, 71], Operations: ['78-7=71']
Exploring Operation: 75+81=156, Resulting Numbers: [71, 156]
Generated Node #3: [71, 156] from Operation: 75+81=156
Current State: 85:[71, 156], Operations: ['78-7=71', '75+81=156']
Exploring Operation: 156-71=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[78, 7, 75, 81], Operations: []
Exploring Operation: 78-75=3, Resulting Numbers: [7, 81, 3]
Generated Node #0,0: 85:[7, 81, 3] Operation: 78-75=3
Moving to Node #0,0
Current State: 85:[7, 81, 3], Operations: ['78-75=3']
Exploring Operation: 81+3=84, Resulting Numbers: [7, 84]
Generated Node #0,0,0: 85:[7, 84] Operation: 81+3=84
Moving to Node #0,0,0
Current State: 85:[7, 84], Operations: ['78-75=3', '81+3=84']
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,85 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
5,
12,
65,
43
] | 82 | [
"5*12=60",
"65-43=22",
"60+22=82"
] | Current State: 82:[5, 12, 65, 43], Operations: []
Exploring Operation: 5*12=60, Resulting Numbers: [65, 43, 60]
Generated Node #2: [65, 43, 60] from Operation: 5*12=60
Current State: 82:[65, 43, 60], Operations: ['5*12=60']
Exploring Operation: 65-43=22, Resulting Numbers: [60, 22]
Generated Node #3: [60, 22] from Operation: 65-43=22
Current State: 82:[60, 22], Operations: ['5*12=60', '65-43=22']
Exploring Operation: 60+22=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[5, 12, 65, 43], Operations: []
Exploring Operation: 12+65=77, Resulting Numbers: [5, 43, 77]
Generated Node #0,0: 82:[5, 43, 77] Operation: 12+65=77
Exploring Operation: 65/5=13, Resulting Numbers: [12, 43, 13]
Generated Node #0,1: 82:[12, 43, 13] Operation: 65/5=13
Exploring Operation: 65-12=53, Resulting Numbers: [5, 43, 53]
Generated Node #0,2: 82:[5, 43, 53] Operation: 65-12=53
Exploring Operation: 12-5=7, Resulting Numbers: [65, 43, 7]
Generated Node #0,3: 82:[65, 43, 7] Operation: 12-5=7
Moving to Node #0,0
Current State: 82:[5, 43, 77], Operations: ['12+65=77']
Exploring Operation: 77-43=34, Resulting Numbers: [5, 34]
Generated Node #0,0,0: 82:[5, 34] Operation: 77-43=34
Exploring Operation: 5+77=82, Resulting Numbers: [43, 82]
Generated Node #0,0,1: 82:[43, 82] Operation: 5+77=82
Exploring Operation: 43-5=38, Resulting Numbers: [77, 38]
Generated Node #0,0,2: 82:[77, 38] Operation: 43-5=38
Exploring Operation: 5+43=48, Resulting Numbers: [77, 48]
Generated Node #0,0,3: 82:[77, 48] Operation: 5+43=48
Moving to Node #0,2
Current State: 82:[5, 43, 53], Operations: ['65-12=53']
Exploring Operation: 43+53=96, Resulting Numbers: [5, 96]
Generated Node #0,2,0: 82:[5, 96] Operation: 43+53=96
Exploring Operation: 53-43=10, Resulting Numbers: [5, 10]
Generated Node #0,2,1: 82:[5, 10] Operation: 53-43=10
Exploring Operation: 53-5=48, Resulting Numbers: [43, 48]
Generated Node #0,2,2: 82:[43, 48] Operation: 53-5=48
Exploring Operation: 43-5=38, Resulting Numbers: [53, 38]
Generated Node #0,2,3: 82:[53, 38] Operation: 43-5=38
Moving to Node #0,1
Current State: 82:[12, 43, 13], Operations: ['65/5=13']
Exploring Operation: 12+13=25, Resulting Numbers: [43, 25]
Generated Node #0,1,0: 82:[43, 25] Operation: 12+13=25
Exploring Operation: 13-12=1, Resulting Numbers: [43, 1]
Generated Node #0,1,1: 82:[43, 1] Operation: 13-12=1
Exploring Operation: 43-12=31, Resulting Numbers: [13, 31]
Generated Node #0,1,2: 82:[13, 31] Operation: 43-12=31
Exploring Operation: 43-13=30, Resulting Numbers: [12, 30]
Generated Node #0,1,3: 82:[12, 30] Operation: 43-13=30
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[43, 1], Operations: ['65/5=13', '13-12=1']
Exploring Operation: 43+1=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,82 unequal: No Solution
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[43, 25], Operations: ['65/5=13', '12+13=25']
Exploring Operation: 43+25=68, Resulting Numbers: [68]
68,82 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 43*25=1075, Resulting Numbers: [1075]
1075,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:[13, 31], Operations: ['65/5=13', '43-12=31']
Exploring Operation: 13+31=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 13*31=403, Resulting Numbers: [403]
403,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 82:[12, 30], Operations: ['65/5=13', '43-13=30']
Exploring Operation: 12*30=360, Resulting Numbers: [360]
360,82 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 82:[65, 43, 7], Operations: ['12-5=7']
Exploring Operation: 65-7=58, Resulting Numbers: [43, 58]
Generated Node #0,3,0: 82:[43, 58] Operation: 65-7=58
Exploring Operation: 65-43=22, Resulting Numbers: [7, 22]
Generated Node #0,3,1: 82:[7, 22] Operation: 65-43=22
Exploring Operation: 65+7=72, Resulting Numbers: [43, 72]
Generated Node #0,3,2: 82:[43, 72] Operation: 65+7=72
Exploring Operation: 43-7=36, Resulting Numbers: [65, 36]
Generated Node #0,3,3: 82:[65, 36] Operation: 43-7=36
Moving to Node #0,0,1
Current State: 82:[43, 82], Operations: ['12+65=77', '5+77=82']
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 43+82=125, Resulting Numbers: [125]
125,82 unequal: No Solution
Exploring Operation: 43*82=3526, Resulting Numbers: [3526]
3526,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[77, 38], Operations: ['12+65=77', '43-5=38']
Exploring Operation: 77+38=115, Resulting Numbers: [115]
115,82 unequal: No Solution
Exploring Operation: 77-38=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 77*38=2926, Resulting Numbers: [2926]
2926,82 unequal: No Solution
Moving to Node #0,2,2
Current State: 82:[43, 48], Operations: ['65-12=53', '53-5=48']
Exploring Operation: 43*48=2064, Resulting Numbers: [2064]
2064,82 unequal: No Solution
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 43+48=91, Resulting Numbers: [91]
91,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[5, 34], Operations: ['12+65=77', '77-43=34']
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,82 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[5, 10], Operations: ['65-12=53', '53-43=10']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Moving to Node #0,0,3
Current State: 82:[77, 48], Operations: ['12+65=77', '5+43=48']
Exploring Operation: 77+48=125, Resulting Numbers: [125]
125,82 unequal: No Solution
Exploring Operation: 77*48=3696, Resulting Numbers: [3696]
3696,82 unequal: No Solution
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Moving to Node #0,3,2
Current State: 82:[43, 72], Operations: ['12-5=7', '65+7=72']
Exploring Operation: 43*72=3096, Resulting Numbers: [3096]
3096,82 unequal: No Solution
Exploring Operation: 72-43=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Exploring Operation: 43+72=115, Resulting Numbers: [115]
115,82 unequal: No Solution
Moving to Node #0,2,3
Current State: 82:[53, 38], Operations: ['65-12=53', '43-5=38']
Exploring Operation: 53+38=91, Resulting Numbers: [91]
91,82 unequal: No Solution
Exploring Operation: 53-38=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 53*38=2014, Resulting Numbers: [2014]
2014,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[5, 96], Operations: ['65-12=53', '43+53=96']
Exploring Operation: 5+96=101, Resulting Numbers: [101]
101,82 unequal: No Solution
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,82 unequal: No Solution
Exploring Operation: 5*96=480, Resulting Numbers: [480]
480,82 unequal: No Solution
Moving to Node #0,3,0
Current State: 82:[43, 58], Operations: ['12-5=7', '65-7=58']
Exploring Operation: 43+58=101, Resulting Numbers: [101]
101,82 unequal: No Solution
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 43*58=2494, Resulting Numbers: [2494]
2494,82 unequal: No Solution
Moving to Node #0,3,3
Current State: 82:[65, 36], Operations: ['12-5=7', '43-7=36']
Exploring Operation: 65*36=2340, Resulting Numbers: [2340]
2340,82 unequal: No Solution
Exploring Operation: 65+36=101, Resulting Numbers: [101]
101,82 unequal: No Solution
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Moving to Node #0,3,1
Current State: 82:[7, 22], Operations: ['12-5=7', '65-43=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,82 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
67,
77,
96,
20
] | 66 | [
"77-67=10",
"96-20=76",
"76-10=66"
] | Current State: 66:[67, 77, 96, 20], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [96, 20, 10]
Generated Node #2: [96, 20, 10] from Operation: 77-67=10
Current State: 66:[96, 20, 10], Operations: ['77-67=10']
Exploring Operation: 96-20=76, Resulting Numbers: [10, 76]
Generated Node #3: [10, 76] from Operation: 96-20=76
Current State: 66:[10, 76], Operations: ['77-67=10', '96-20=76']
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[67, 77, 96, 20], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [96, 20, 10]
Generated Node #0,0: 66:[96, 20, 10] Operation: 77-67=10
Exploring Operation: 96-67=29, Resulting Numbers: [77, 20, 29]
Generated Node #0,1: 66:[77, 20, 29] Operation: 96-67=29
Exploring Operation: 96-77=19, Resulting Numbers: [67, 20, 19]
Generated Node #0,2: 66:[67, 20, 19] Operation: 96-77=19
Exploring Operation: 96-20=76, Resulting Numbers: [67, 77, 76]
Generated Node #0,3: 66:[67, 77, 76] Operation: 96-20=76
Moving to Node #0,2
Current State: 66:[67, 20, 19], Operations: ['96-77=19']
Exploring Operation: 67-19=48, Resulting Numbers: [20, 48]
Generated Node #0,2,0: 66:[20, 48] Operation: 67-19=48
Exploring Operation: 67-20=47, Resulting Numbers: [19, 47]
Generated Node #0,2,1: 66:[19, 47] Operation: 67-20=47
Exploring Operation: 20+19=39, Resulting Numbers: [67, 39]
Generated Node #0,2,2: 66:[67, 39] Operation: 20+19=39
Exploring Operation: 20-19=1, Resulting Numbers: [67, 1]
Generated Node #0,2,3: 66:[67, 1] Operation: 20-19=1
Moving to Node #0,1
Current State: 66:[77, 20, 29], Operations: ['96-67=29']
Exploring Operation: 29-20=9, Resulting Numbers: [77, 9]
Generated Node #0,1,0: 66:[77, 9] Operation: 29-20=9
Exploring Operation: 77-20=57, Resulting Numbers: [29, 57]
Generated Node #0,1,1: 66:[29, 57] Operation: 77-20=57
Exploring Operation: 20+29=49, Resulting Numbers: [77, 49]
Generated Node #0,1,2: 66:[77, 49] Operation: 20+29=49
Exploring Operation: 77-29=48, Resulting Numbers: [20, 48]
Generated Node #0,1,3: 66:[20, 48] Operation: 77-29=48
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[77, 9], Operations: ['96-67=29', '29-20=9']
Exploring Operation: 77+9=86, Resulting Numbers: [86]
86,66 unequal: No Solution
Exploring Operation: 77-9=68, Resulting Numbers: [68]
68,66 unequal: No Solution
Exploring Operation: 77*9=693, Resulting Numbers: [693]
693,66 unequal: No Solution
No 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: 66:[29, 57], Operations: ['96-67=29', '77-20=57']
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 29+57=86, Resulting Numbers: [86]
86,66 unequal: No Solution
Exploring Operation: 29*57=1653, Resulting Numbers: [1653]
1653,66 unequal: No Solution
No 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: 66:[20, 48], Operations: ['96-67=29', '77-29=48']
Exploring Operation: 20*48=960, Resulting Numbers: [960]
960,66 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 20+48=68, Resulting Numbers: [68]
68,66 unequal: No Solution
No 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: 66:[77, 49], Operations: ['96-67=29', '20+29=49']
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 77*49=3773, Resulting Numbers: [3773]
3773,66 unequal: No Solution
Exploring Operation: 77+49=126, Resulting Numbers: [126]
126,66 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: 66:[67, 77, 76], Operations: ['96-20=76']
Exploring Operation: 77-67=10, Resulting Numbers: [76, 10]
Generated Node #0,3,0: 66:[76, 10] Operation: 77-67=10
Exploring Operation: 76-67=9, Resulting Numbers: [77, 9]
Generated Node #0,3,1: 66:[77, 9] Operation: 76-67=9
Exploring Operation: 67+77=144, Resulting Numbers: [76, 144]
Generated Node #0,3,2: 66:[76, 144] Operation: 67+77=144
Exploring Operation: 77-76=1, Resulting Numbers: [67, 1]
Generated Node #0,3,3: 66:[67, 1] Operation: 77-76=1
Moving to Node #0,0
Current State: 66:[96, 20, 10], Operations: ['77-67=10']
Exploring Operation: 20-10=10, Resulting Numbers: [96, 10]
Generated Node #0,0,0: 66:[96, 10] Operation: 20-10=10
Exploring Operation: 96-20=76, Resulting Numbers: [10, 76]
Generated Node #0,0,1: 66:[10, 76] Operation: 96-20=76
Exploring Operation: 96-10=86, Resulting Numbers: [20, 86]
Generated Node #0,0,2: 66:[20, 86] Operation: 96-10=86
Exploring Operation: 20/10=2, Resulting Numbers: [96, 2]
Generated Node #0,0,3: 66:[96, 2] Operation: 20/10=2
Moving to Node #0,2,3
Current State: 66:[67, 1], Operations: ['96-77=19', '20-19=1']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[67, 77, 96, 20], Operations: []
Exploring Operation: 96-77=19, Resulting Numbers: [67, 20, 19]
Generated Node #0,2: 66:[67, 20, 19] Operation: 96-77=19
Moving to Node #0,2
Current State: 66:[67, 20, 19], Operations: ['96-77=19']
Exploring Operation: 20-19=1, Resulting Numbers: [67, 1]
Generated Node #0,2,3: 66:[67, 1] Operation: 20-19=1
Moving to Node #0,2,3
Current State: 66:[67, 1], Operations: ['96-77=19', '20-19=1']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 0.967882 | hs_4 | sum_heuristic |
[
90,
2,
6,
56
] | 59 | [
"6+56=62",
"62/2=31",
"90-31=59"
] | Current State: 59:[90, 2, 6, 56], Operations: []
Exploring Operation: 6+56=62, Resulting Numbers: [90, 2, 62]
Generated Node #2: [90, 2, 62] from Operation: 6+56=62
Current State: 59:[90, 2, 62], Operations: ['6+56=62']
Exploring Operation: 62/2=31, Resulting Numbers: [90, 31]
Generated Node #3: [90, 31] from Operation: 62/2=31
Current State: 59:[90, 31], Operations: ['6+56=62', '62/2=31']
Exploring Operation: 90-31=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[90, 2, 6, 56], Operations: []
Exploring Operation: 90/2=45, Resulting Numbers: [6, 56, 45]
Generated Node #0,0: 59:[6, 56, 45] Operation: 90/2=45
Exploring Operation: 90-2=88, Resulting Numbers: [6, 56, 88]
Generated Node #0,1: 59:[6, 56, 88] Operation: 90-2=88
Exploring Operation: 2*6=12, Resulting Numbers: [90, 56, 12]
Generated Node #0,2: 59:[90, 56, 12] Operation: 2*6=12
Moving to Node #0,0
Current State: 59:[6, 56, 45], Operations: ['90/2=45']
Exploring Operation: 56-6=50, Resulting Numbers: [45, 50]
Generated Node #0,0,0: 59:[45, 50] Operation: 56-6=50
Exploring Operation: 6+45=51, Resulting Numbers: [56, 51]
Generated Node #0,0,1: 59:[56, 51] Operation: 6+45=51
Exploring Operation: 6+56=62, Resulting Numbers: [45, 62]
Generated Node #0,0,2: 59:[45, 62] Operation: 6+56=62
Moving to Node #0,2
Current State: 59:[90, 56, 12], Operations: ['2*6=12']
Exploring Operation: 90+12=102, Resulting Numbers: [56, 102]
Generated Node #0,2,0: 59:[56, 102] Operation: 90+12=102
Exploring Operation: 56+12=68, Resulting Numbers: [90, 68]
Generated Node #0,2,1: 59:[90, 68] Operation: 56+12=68
Exploring Operation: 90-12=78, Resulting Numbers: [56, 78]
Generated Node #0,2,2: 59:[56, 78] Operation: 90-12=78
Moving to Node #0,1
Current State: 59:[6, 56, 88], Operations: ['90-2=88']
Exploring Operation: 56-6=50, Resulting Numbers: [88, 50]
Generated Node #0,1,0: 59:[88, 50] Operation: 56-6=50
Exploring Operation: 88-6=82, Resulting Numbers: [56, 82]
Generated Node #0,1,1: 59:[56, 82] Operation: 88-6=82
Exploring Operation: 6+56=62, Resulting Numbers: [88, 62]
Generated Node #0,1,2: 59:[88, 62] Operation: 6+56=62
Moving to Node #0,0,1
Current State: 59:[56, 51], Operations: ['90/2=45', '6+45=51']
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 56+51=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 56*51=2856, Resulting Numbers: [2856]
2856,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[45, 62], Operations: ['90/2=45', '6+56=62']
Exploring Operation: 45+62=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 62-45=17, Resulting Numbers: [17]
17,59 unequal: No Solution
Exploring Operation: 45*62=2790, Resulting Numbers: [2790]
2790,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[56, 78], Operations: ['2*6=12', '90-12=78']
Exploring Operation: 56*78=4368, Resulting Numbers: [4368]
4368,59 unequal: No Solution
Exploring Operation: 78-56=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 56+78=134, Resulting Numbers: [134]
134,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[45, 50], Operations: ['90/2=45', '56-6=50']
Exploring Operation: 45+50=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 45*50=2250, Resulting Numbers: [2250]
2250,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[56, 82], Operations: ['90-2=88', '88-6=82']
Exploring Operation: 56*82=4592, Resulting Numbers: [4592]
4592,59 unequal: No Solution
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Exploring Operation: 56+82=138, Resulting Numbers: [138]
138,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[88, 62], Operations: ['90-2=88', '6+56=62']
Exploring Operation: 88-62=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Exploring Operation: 88*62=5456, Resulting Numbers: [5456]
5456,59 unequal: No Solution
Exploring Operation: 88+62=150, Resulting Numbers: [150]
150,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[88, 50], Operations: ['90-2=88', '56-6=50']
Exploring Operation: 88-50=38, Resulting Numbers: [38]
38,59 unequal: No Solution
Exploring Operation: 88+50=138, Resulting Numbers: [138]
138,59 unequal: No Solution
Exploring Operation: 88*50=4400, Resulting Numbers: [4400]
4400,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[90, 68], Operations: ['2*6=12', '56+12=68']
Exploring Operation: 90+68=158, Resulting Numbers: [158]
158,59 unequal: No Solution
Exploring Operation: 90*68=6120, Resulting Numbers: [6120]
6120,59 unequal: No Solution
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[56, 102], Operations: ['2*6=12', '90+12=102']
Exploring Operation: 56*102=5712, Resulting Numbers: [5712]
5712,59 unequal: No Solution
Exploring Operation: 102-56=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 56+102=158, Resulting Numbers: [158]
158,59 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
30,
26,
39,
88
] | 17 | [
"30-26=4",
"88/4=22",
"39-22=17"
] | Current State: 17:[30, 26, 39, 88], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [39, 88, 4]
Generated Node #2: [39, 88, 4] from Operation: 30-26=4
Current State: 17:[39, 88, 4], Operations: ['30-26=4']
Exploring Operation: 88/4=22, Resulting Numbers: [39, 22]
Generated Node #3: [39, 22] from Operation: 88/4=22
Current State: 17:[39, 22], Operations: ['30-26=4', '88/4=22']
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[30, 26, 39, 88], Operations: []
Exploring Operation: 88-30=58, Resulting Numbers: [26, 39, 58]
Generated Node #0,0: 17:[26, 39, 58] Operation: 88-30=58
Exploring Operation: 88-39=49, Resulting Numbers: [30, 26, 49]
Generated Node #0,1: 17:[30, 26, 49] Operation: 88-39=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[30, 26, 49], Operations: ['88-39=49']
Exploring Operation: 49-30=19, Resulting Numbers: [26, 19]
Generated Node #0,1,0: 17:[26, 19] Operation: 49-30=19
Exploring Operation: 49-26=23, Resulting Numbers: [30, 23]
Generated Node #0,1,1: 17:[30, 23] Operation: 49-26=23
Moving to Node #0,1,0
Current State: 17:[26, 19], Operations: ['88-39=49', '49-30=19']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[30, 23], Operations: ['88-39=49', '49-26=23']
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,17 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[26, 39, 58], Operations: ['88-30=58']
Exploring Operation: 58-39=19, Resulting Numbers: [26, 19]
Generated Node #0,0,0: 17:[26, 19] Operation: 58-39=19
Exploring Operation: 58-26=32, Resulting Numbers: [39, 32]
Generated Node #0,0,1: 17:[39, 32] Operation: 58-26=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[26, 19], Operations: ['88-30=58', '58-39=19']
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,17 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,17 unequal: No Solution
No 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: 17:[39, 32], Operations: ['88-30=58', '58-26=32']
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,17 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,17 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 |
[
65,
58,
54,
67
] | 83 | [
"67-65=2",
"58/2=29",
"54+29=83"
] | Current State: 83:[65, 58, 54, 67], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [58, 54, 2]
Generated Node #2: [58, 54, 2] from Operation: 67-65=2
Current State: 83:[58, 54, 2], Operations: ['67-65=2']
Exploring Operation: 58/2=29, Resulting Numbers: [54, 29]
Generated Node #3: [54, 29] from Operation: 58/2=29
Current State: 83:[54, 29], Operations: ['67-65=2', '58/2=29']
Exploring Operation: 54+29=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[65, 58, 54, 67], Operations: []
Exploring Operation: 54+67=121, Resulting Numbers: [65, 58, 121]
Generated Node #0,0: 83:[65, 58, 121] Operation: 54+67=121
Exploring Operation: 65+54=119, Resulting Numbers: [58, 67, 119]
Generated Node #0,1: 83:[58, 67, 119] Operation: 65+54=119
Exploring Operation: 58+54=112, Resulting Numbers: [65, 67, 112]
Generated Node #0,2: 83:[65, 67, 112] Operation: 58+54=112
Exploring Operation: 65+58=123, Resulting Numbers: [54, 67, 123]
Generated Node #0,3: 83:[54, 67, 123] Operation: 65+58=123
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[65, 67, 112], Operations: ['58+54=112']
Exploring Operation: 112-65=47, Resulting Numbers: [67, 47]
Generated Node #0,2,0: 83:[67, 47] Operation: 112-65=47
Exploring Operation: 112-67=45, Resulting Numbers: [65, 45]
Generated Node #0,2,1: 83:[65, 45] Operation: 112-67=45
Exploring Operation: 65+67=132, Resulting Numbers: [112, 132]
Generated Node #0,2,2: 83:[112, 132] Operation: 65+67=132
Exploring Operation: 67-65=2, Resulting Numbers: [112, 2]
Generated Node #0,2,3: 83:[112, 2] Operation: 67-65=2
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[67, 47], Operations: ['58+54=112', '112-65=47']
Exploring Operation: 67*47=3149, Resulting Numbers: [3149]
3149,83 unequal: No Solution
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 67+47=114, Resulting Numbers: [114]
114,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 83:[65, 45], Operations: ['58+54=112', '112-67=45']
Exploring Operation: 65-45=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 65*45=2925, Resulting Numbers: [2925]
2925,83 unequal: No Solution
Exploring Operation: 65+45=110, Resulting Numbers: [110]
110,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 83:[112, 132], Operations: ['58+54=112', '65+67=132']
Exploring Operation: 132-112=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 112*132=14784, Resulting Numbers: [14784]
14784,83 unequal: No Solution
Exploring Operation: 112+132=244, Resulting Numbers: [244]
244,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 83:[112, 2], Operations: ['58+54=112', '67-65=2']
Exploring Operation: 112-2=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Exploring Operation: 112+2=114, Resulting Numbers: [114]
114,83 unequal: No Solution
Exploring Operation: 112*2=224, Resulting Numbers: [224]
224,83 unequal: No Solution
Exploring Operation: 112/2=56, Resulting Numbers: [56]
56,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[58, 67, 119], Operations: ['65+54=119']
Exploring Operation: 119-67=52, Resulting Numbers: [58, 52]
Generated Node #0,1,0: 83:[58, 52] Operation: 119-67=52
Exploring Operation: 67-58=9, Resulting Numbers: [119, 9]
Generated Node #0,1,1: 83:[119, 9] Operation: 67-58=9
Exploring Operation: 119-58=61, Resulting Numbers: [67, 61]
Generated Node #0,1,2: 83:[67, 61] Operation: 119-58=61
Exploring Operation: 58+67=125, Resulting Numbers: [119, 125]
Generated Node #0,1,3: 83:[119, 125] Operation: 58+67=125
Moving to Node #0,1,2
Current State: 83:[67, 61], Operations: ['65+54=119', '119-58=61']
Exploring Operation: 67-61=6, Resulting Numbers: [6]
6,83 unequal: No Solution
Exploring Operation: 67*61=4087, Resulting Numbers: [4087]
4087,83 unequal: No Solution
Exploring Operation: 67+61=128, Resulting Numbers: [128]
128,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[58, 52], Operations: ['65+54=119', '119-67=52']
Exploring Operation: 58-52=6, Resulting Numbers: [6]
6,83 unequal: No Solution
Exploring Operation: 58*52=3016, Resulting Numbers: [3016]
3016,83 unequal: No Solution
Exploring Operation: 58+52=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[119, 125], Operations: ['65+54=119', '58+67=125']
Exploring Operation: 119+125=244, Resulting Numbers: [244]
244,83 unequal: No Solution
Exploring Operation: 125-119=6, Resulting Numbers: [6]
6,83 unequal: No Solution
Exploring Operation: 119*125=14875, Resulting Numbers: [14875]
14875,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[119, 9], Operations: ['65+54=119', '67-58=9']
Exploring Operation: 119*9=1071, Resulting Numbers: [1071]
1071,83 unequal: No Solution
Exploring Operation: 119+9=128, Resulting Numbers: [128]
128,83 unequal: No Solution
Exploring Operation: 119-9=110, Resulting Numbers: [110]
110,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[65, 58, 121], Operations: ['54+67=121']
Exploring Operation: 65-58=7, Resulting Numbers: [121, 7]
Generated Node #0,0,0: 83:[121, 7] Operation: 65-58=7
Exploring Operation: 121-58=63, Resulting Numbers: [65, 63]
Generated Node #0,0,1: 83:[65, 63] Operation: 121-58=63
Exploring Operation: 121-65=56, Resulting Numbers: [58, 56]
Generated Node #0,0,2: 83:[58, 56] Operation: 121-65=56
Exploring Operation: 65+58=123, Resulting Numbers: [121, 123]
Generated Node #0,0,3: 83:[121, 123] Operation: 65+58=123
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[65, 63], Operations: ['54+67=121', '121-58=63']
Exploring Operation: 65-63=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 65*63=4095, Resulting Numbers: [4095]
4095,83 unequal: No Solution
Exploring Operation: 65+63=128, Resulting Numbers: [128]
128,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 83:[58, 56], Operations: ['54+67=121', '121-65=56']
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 58+56=114, Resulting Numbers: [114]
114,83 unequal: No Solution
Exploring Operation: 58*56=3248, Resulting Numbers: [3248]
3248,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 83:[121, 123], Operations: ['54+67=121', '65+58=123']
Exploring Operation: 121*123=14883, Resulting Numbers: [14883]
14883,83 unequal: No Solution
Exploring Operation: 121+123=244, Resulting Numbers: [244]
244,83 unequal: No Solution
Exploring Operation: 123-121=2, Resulting Numbers: [2]
2,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[121, 7], Operations: ['54+67=121', '65-58=7']
Exploring Operation: 121*7=847, Resulting Numbers: [847]
847,83 unequal: No Solution
Exploring Operation: 121-7=114, Resulting Numbers: [114]
114,83 unequal: No Solution
Exploring Operation: 121+7=128, Resulting Numbers: [128]
128,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[54, 67, 123], Operations: ['65+58=123']
Exploring Operation: 123-54=69, Resulting Numbers: [67, 69]
Generated Node #0,3,0: 83:[67, 69] Operation: 123-54=69
Exploring Operation: 54+67=121, Resulting Numbers: [123, 121]
Generated Node #0,3,1: 83:[123, 121] Operation: 54+67=121
Exploring Operation: 123-67=56, Resulting Numbers: [54, 56]
Generated Node #0,3,2: 83:[54, 56] Operation: 123-67=56
Exploring Operation: 67-54=13, Resulting Numbers: [123, 13]
Generated Node #0,3,3: 83:[123, 13] Operation: 67-54=13
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 83:[67, 69], Operations: ['65+58=123', '123-54=69']
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 67*69=4623, Resulting Numbers: [4623]
4623,83 unequal: No Solution
Exploring Operation: 67+69=136, Resulting Numbers: [136]
136,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 83:[54, 56], Operations: ['65+58=123', '123-67=56']
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 54*56=3024, Resulting Numbers: [3024]
3024,83 unequal: No Solution
Exploring Operation: 54+56=110, Resulting Numbers: [110]
110,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 83:[123, 121], Operations: ['65+58=123', '54+67=121']
Exploring Operation: 123*121=14883, Resulting Numbers: [14883]
14883,83 unequal: No Solution
Exploring Operation: 123+121=244, Resulting Numbers: [244]
244,83 unequal: No Solution
Exploring Operation: 123-121=2, Resulting Numbers: [2]
2,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 83:[123, 13], Operations: ['65+58=123', '67-54=13']
Exploring Operation: 123+13=136, Resulting Numbers: [136]
136,83 unequal: No Solution
Exploring Operation: 123-13=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Exploring Operation: 123*13=1599, Resulting Numbers: [1599]
1599,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
15,
5,
59,
27
] | 43 | [
"15*5=75",
"59-27=32",
"75-32=43"
] | Current State: 43:[15, 5, 59, 27], Operations: []
Exploring Operation: 15*5=75, Resulting Numbers: [59, 27, 75]
Generated Node #2: [59, 27, 75] from Operation: 15*5=75
Current State: 43:[59, 27, 75], Operations: ['15*5=75']
Exploring Operation: 59-27=32, Resulting Numbers: [75, 32]
Generated Node #3: [75, 32] from Operation: 59-27=32
Current State: 43:[75, 32], Operations: ['15*5=75', '59-27=32']
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[15, 5, 59, 27], Operations: []
Exploring Operation: 59-15=44, Resulting Numbers: [5, 27, 44]
Generated Node #0,0: 43:[5, 27, 44] Operation: 59-15=44
Exploring Operation: 15+5=20, Resulting Numbers: [59, 27, 20]
Generated Node #0,1: 43:[59, 27, 20] Operation: 15+5=20
Exploring Operation: 15+27=42, Resulting Numbers: [5, 59, 42]
Generated Node #0,2: 43:[5, 59, 42] Operation: 15+27=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[5, 27, 44], Operations: ['59-15=44']
Exploring Operation: 5+27=32, Resulting Numbers: [44, 32]
Generated Node #0,0,0: 43:[44, 32] Operation: 5+27=32
Exploring Operation: 44-5=39, Resulting Numbers: [27, 39]
Generated Node #0,0,1: 43:[27, 39] Operation: 44-5=39
Exploring Operation: 27-5=22, Resulting Numbers: [44, 22]
Generated Node #0,0,2: 43:[44, 22] Operation: 27-5=22
Moving to Node #0,0,0
Current State: 43:[44, 32], Operations: ['59-15=44', '5+27=32']
Exploring Operation: 44*32=1408, Resulting Numbers: [1408]
1408,43 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 44+32=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[27, 39], Operations: ['59-15=44', '44-5=39']
Exploring Operation: 27+39=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 27*39=1053, Resulting Numbers: [1053]
1053,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[44, 22], Operations: ['59-15=44', '27-5=22']
Exploring Operation: 44+22=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[59, 27, 20], Operations: ['15+5=20']
Exploring Operation: 59-20=39, Resulting Numbers: [27, 39]
Generated Node #0,1,0: 43:[27, 39] Operation: 59-20=39
Exploring Operation: 27+20=47, Resulting Numbers: [59, 47]
Generated Node #0,1,1: 43:[59, 47] Operation: 27+20=47
Exploring Operation: 59-27=32, Resulting Numbers: [20, 32]
Generated Node #0,1,2: 43:[20, 32] Operation: 59-27=32
Moving to Node #0,1,0
Current State: 43:[27, 39], Operations: ['15+5=20', '59-20=39']
Exploring Operation: 27+39=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 27*39=1053, Resulting Numbers: [1053]
1053,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[59, 47], Operations: ['15+5=20', '27+20=47']
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 59*47=2773, Resulting Numbers: [2773]
2773,43 unequal: No Solution
Exploring Operation: 59+47=106, Resulting Numbers: [106]
106,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[20, 32], Operations: ['15+5=20', '59-27=32']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,43 unequal: No Solution
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[5, 59, 42], Operations: ['15+27=42']
Exploring Operation: 5+59=64, Resulting Numbers: [42, 64]
Generated Node #0,2,0: 43:[42, 64] Operation: 5+59=64
Exploring Operation: 59-5=54, Resulting Numbers: [42, 54]
Generated Node #0,2,1: 43:[42, 54] Operation: 59-5=54
Exploring Operation: 5+42=47, Resulting Numbers: [59, 47]
Generated Node #0,2,2: 43:[59, 47] Operation: 5+42=47
Moving to Node #0,2,1
Current State: 43:[42, 54], Operations: ['15+27=42', '59-5=54']
Exploring Operation: 42*54=2268, Resulting Numbers: [2268]
2268,43 unequal: No Solution
Exploring Operation: 42+54=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[59, 47], Operations: ['15+27=42', '5+42=47']
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 59*47=2773, Resulting Numbers: [2773]
2773,43 unequal: No Solution
Exploring Operation: 59+47=106, Resulting Numbers: [106]
106,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[42, 64], Operations: ['15+27=42', '5+59=64']
Exploring Operation: 42*64=2688, Resulting Numbers: [2688]
2688,43 unequal: No Solution
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 42+64=106, Resulting Numbers: [106]
106,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.