Datasets:

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
[ 18, 39, 27, 81 ]
23
[ "18*39=702", "702-81=621", "621/27=23" ]
Current State: 23:[18, 39, 27, 81], Operations: [] Exploring Operation: 18*39=702, Resulting Numbers: [27, 81, 702] Generated Node #2: [27, 81, 702] from Operation: 18*39=702 Current State: 23:[27, 81, 702], Operations: ['18*39=702'] Exploring Operation: 702-81=621, Resulting Numbers: [27, 621] Generated Node #3: [27, 621] from Operation: 702-81=621 Current State: 23:[27, 621], Operations: ['18*39=702', '702-81=621'] Exploring Operation: 621/27=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[18, 39, 27, 81], Operations: [] Exploring Operation: 81-39=42, Resulting Numbers: [18, 27, 42] Generated Node #0,0: 23:[18, 27, 42] Operation: 81-39=42 Exploring Operation: 81-18=63, Resulting Numbers: [39, 27, 63] Generated Node #0,1: 23:[39, 27, 63] Operation: 81-18=63 Exploring Operation: 81/27=3, Resulting Numbers: [18, 39, 3] Generated Node #0,2: 23:[18, 39, 3] Operation: 81/27=3 Exploring Operation: 81-27=54, Resulting Numbers: [18, 39, 54] Generated Node #0,3: 23:[18, 39, 54] Operation: 81-27=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[18, 27, 42], Operations: ['81-39=42'] Exploring Operation: 42-27=15, Resulting Numbers: [18, 15] Generated Node #0,0,0: 23:[18, 15] Operation: 42-27=15 Exploring Operation: 27-18=9, Resulting Numbers: [42, 9] Generated Node #0,0,1: 23:[42, 9] Operation: 27-18=9 Exploring Operation: 42-18=24, Resulting Numbers: [27, 24] Generated Node #0,0,2: 23:[27, 24] Operation: 42-18=24 Exploring Operation: 18+27=45, Resulting Numbers: [42, 45] Generated Node #0,0,3: 23:[42, 45] Operation: 18+27=45 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 23:[27, 24], Operations: ['81-39=42', '42-18=24'] Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 27*24=648, Resulting Numbers: [648] 648,23 unequal: No Solution Exploring Operation: 27+24=51, Resulting Numbers: [51] 51,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[18, 15], Operations: ['81-39=42', '42-27=15'] Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 18*15=270, Resulting Numbers: [270] 270,23 unequal: No Solution Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 23:[42, 9], Operations: ['81-39=42', '27-18=9'] Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,23 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,23 unequal: No Solution Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 23:[42, 45], Operations: ['81-39=42', '18+27=45'] Exploring Operation: 42+45=87, Resulting Numbers: [87] 87,23 unequal: No Solution Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 42*45=1890, Resulting Numbers: [1890] 1890,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[18, 39, 3], Operations: ['81/27=3'] Exploring Operation: 39-18=21, Resulting Numbers: [3, 21] Generated Node #0,2,0: 23:[3, 21] Operation: 39-18=21 Exploring Operation: 39-3=36, Resulting Numbers: [18, 36] Generated Node #0,2,1: 23:[18, 36] Operation: 39-3=36 Exploring Operation: 18+3=21, Resulting Numbers: [39, 21] Generated Node #0,2,2: 23:[39, 21] Operation: 18+3=21 Exploring Operation: 39/3=13, Resulting Numbers: [18, 13] Generated Node #0,2,3: 23:[18, 13] Operation: 39/3=13 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 23:[18, 13], Operations: ['81/27=3', '39/3=13'] Exploring Operation: 18*13=234, Resulting Numbers: [234] 234,23 unequal: No Solution Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 23:[18, 36], Operations: ['81/27=3', '39-3=36'] Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 18*36=648, Resulting Numbers: [648] 648,23 unequal: No Solution Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 18+36=54, Resulting Numbers: [54] 54,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 23:[39, 21], Operations: ['81/27=3', '18+3=21'] Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,23 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 39*21=819, Resulting Numbers: [819] 819,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 23:[3, 21], Operations: ['81/27=3', '39-18=21'] Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,23 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,23 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 23:[18, 39, 54], Operations: ['81-27=54'] Exploring Operation: 54-39=15, Resulting Numbers: [18, 15] Generated Node #0,3,0: 23:[18, 15] Operation: 54-39=15 Exploring Operation: 54-18=36, Resulting Numbers: [39, 36] Generated Node #0,3,1: 23:[39, 36] Operation: 54-18=36 Exploring Operation: 54/18=3, Resulting Numbers: [39, 3] Generated Node #0,3,2: 23:[39, 3] Operation: 54/18=3 Exploring Operation: 39-18=21, Resulting Numbers: [54, 21] Generated Node #0,3,3: 23:[54, 21] Operation: 39-18=21 Moving to Node #0,3,0 Current State: 23:[18, 15], Operations: ['81-27=54', '54-39=15'] Exploring Operation: 18*15=270, Resulting Numbers: [270] 270,23 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,23 unequal: No Solution Moving to Node #0,3,1 Current State: 23:[39, 36], Operations: ['81-27=54', '54-18=36'] Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,23 unequal: No Solution Exploring Operation: 39*36=1404, Resulting Numbers: [1404] 1404,23 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,23 unequal: No Solution Moving to Node #0,3,3 Current State: 23:[54, 21], Operations: ['81-27=54', '39-18=21'] Exploring Operation: 54+21=75, Resulting Numbers: [75] 75,23 unequal: No Solution Exploring Operation: 54*21=1134, Resulting Numbers: [1134] 1134,23 unequal: No Solution Exploring Operation: 54-21=33, Resulting Numbers: [33] 33,23 unequal: No Solution Moving to Node #0,3,2 Current State: 23:[39, 3], Operations: ['81-27=54', '54/18=3'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,23 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,23 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[39, 27, 63], Operations: ['81-18=63'] Exploring Operation: 39-27=12, Resulting Numbers: [63, 12] Generated Node #0,1,0: 23:[63, 12] Operation: 39-27=12 Exploring Operation: 63-39=24, Resulting Numbers: [27, 24] Generated Node #0,1,1: 23:[27, 24] Operation: 63-39=24 Exploring Operation: 63-27=36, Resulting Numbers: [39, 36] Generated Node #0,1,2: 23:[39, 36] Operation: 63-27=36 Exploring Operation: 39+27=66, Resulting Numbers: [63, 66] Generated Node #0,1,3: 23:[63, 66] Operation: 39+27=66 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 23:[27, 24], Operations: ['81-18=63', '63-39=24'] Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 27+24=51, Resulting Numbers: [51] 51,23 unequal: No Solution Exploring Operation: 27*24=648, Resulting Numbers: [648] 648,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 23:[39, 36], Operations: ['81-18=63', '63-27=36'] Exploring Operation: 39*36=1404, Resulting Numbers: [1404] 1404,23 unequal: No Solution Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,23 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 23:[63, 12], Operations: ['81-18=63', '39-27=12'] Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,23 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,23 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 23:[63, 66], Operations: ['81-18=63', '39+27=66'] Exploring Operation: 66-63=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 63*66=4158, Resulting Numbers: [4158] 4158,23 unequal: No Solution Exploring Operation: 63+66=129, Resulting Numbers: [129] 129,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 2, 46, 25, 54 ]
48
[ "2+25=27", "54/27=2", "46+2=48" ]
Current State: 48:[2, 46, 25, 54], Operations: [] Exploring Operation: 2+25=27, Resulting Numbers: [46, 54, 27] Generated Node #2: [46, 54, 27] from Operation: 2+25=27 Current State: 48:[46, 54, 27], Operations: ['2+25=27'] Exploring Operation: 54/27=2, Resulting Numbers: [46, 2] Generated Node #3: [46, 2] from Operation: 54/27=2 Current State: 48:[46, 2], Operations: ['2+25=27', '54/27=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[2, 46, 25, 54], Operations: [] Exploring Operation: 2+46=48, Resulting Numbers: [25, 54, 48] Generated Node #0,0: 48:[25, 54, 48] Operation: 2+46=48 Exploring Operation: 54/2=27, Resulting Numbers: [46, 25, 27] Generated Node #0,1: 48:[46, 25, 27] Operation: 54/2=27 Exploring Operation: 54-2=52, Resulting Numbers: [46, 25, 52] Generated Node #0,2: 48:[46, 25, 52] Operation: 54-2=52 Exploring Operation: 54-46=8, Resulting Numbers: [2, 25, 8] Generated Node #0,3: 48:[2, 25, 8] Operation: 54-46=8 Start Sub Search at level 1: Moving to Node #0,3 Current State: 48:[2, 25, 8], Operations: ['54-46=8'] Exploring Operation: 2*8=16, Resulting Numbers: [25, 16] Generated Node #0,3,0: 48:[25, 16] Operation: 2*8=16 Exploring Operation: 8-2=6, Resulting Numbers: [25, 6] Generated Node #0,3,1: 48:[25, 6] Operation: 8-2=6 Exploring Operation: 25-2=23, Resulting Numbers: [8, 23] Generated Node #0,3,2: 48:[8, 23] Operation: 25-2=23 Exploring Operation: 8/2=4, Resulting Numbers: [25, 4] Generated Node #0,3,3: 48:[25, 4] Operation: 8/2=4 Moving to Node #0,3,0 Current State: 48:[25, 16], Operations: ['54-46=8', '2*8=16'] Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,48 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[8, 23], Operations: ['54-46=8', '25-2=23'] Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,48 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,48 unequal: No Solution Moving to Node #0,3,1 Current State: 48:[25, 6], Operations: ['54-46=8', '8-2=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,48 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,48 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[25, 4], Operations: ['54-46=8', '8/2=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[46, 25, 27], Operations: ['54/2=27'] Exploring Operation: 25+27=52, Resulting Numbers: [46, 52] Generated Node #0,1,0: 48:[46, 52] Operation: 25+27=52 Exploring Operation: 46-27=19, Resulting Numbers: [25, 19] Generated Node #0,1,1: 48:[25, 19] Operation: 46-27=19 Exploring Operation: 27-25=2, Resulting Numbers: [46, 2] Generated Node #0,1,2: 48:[46, 2] Operation: 27-25=2 Exploring Operation: 46-25=21, Resulting Numbers: [27, 21] Generated Node #0,1,3: 48:[27, 21] Operation: 46-25=21 Moving to Node #0,1,2 Current State: 48:[46, 2], Operations: ['54/2=27', '27-25=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,48 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,48 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[2, 46, 25, 54], Operations: [] Exploring Operation: 54/2=27, Resulting Numbers: [46, 25, 27] Generated Node #0,1: 48:[46, 25, 27] Operation: 54/2=27 Moving to Node #0,1 Current State: 48:[46, 25, 27], Operations: ['54/2=27'] Exploring Operation: 27-25=2, Resulting Numbers: [46, 2] Generated Node #0,1,2: 48:[46, 2] Operation: 27-25=2 Moving to Node #0,1,2 Current State: 48:[46, 2], Operations: ['54/2=27', '27-25=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 84, 30, 42, 63 ]
22
[ "30*63=1890", "1890-42=1848", "1848/84=22" ]
Current State: 22:[84, 30, 42, 63], Operations: [] Exploring Operation: 30*63=1890, Resulting Numbers: [84, 42, 1890] Generated Node #2: [84, 42, 1890] from Operation: 30*63=1890 Current State: 22:[84, 42, 1890], Operations: ['30*63=1890'] Exploring Operation: 1890-42=1848, Resulting Numbers: [84, 1848] Generated Node #3: [84, 1848] from Operation: 1890-42=1848 Current State: 22:[84, 1848], Operations: ['30*63=1890', '1890-42=1848'] Exploring Operation: 1848/84=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[84, 30, 42, 63], Operations: [] Exploring Operation: 63-42=21, Resulting Numbers: [84, 30, 21] Generated Node #0,0: 22:[84, 30, 21] Operation: 63-42=21 Exploring Operation: 84-30=54, Resulting Numbers: [42, 63, 54] Generated Node #0,1: 22:[42, 63, 54] Operation: 84-30=54 Exploring Operation: 84/42=2, Resulting Numbers: [30, 63, 2] Generated Node #0,2: 22:[30, 63, 2] Operation: 84/42=2 Exploring Operation: 84-42=42, Resulting Numbers: [30, 63, 42] Generated Node #0,3: 22:[30, 63, 42] Operation: 84-42=42 Exploring Operation: 84-63=21, Resulting Numbers: [30, 42, 21] Generated Node #0,4: 22:[30, 42, 21] Operation: 84-63=21 Start Sub Search at level 1: Moving to Node #0,4 Current State: 22:[30, 42, 21], Operations: ['84-63=21'] Exploring Operation: 30-21=9, Resulting Numbers: [42, 9] Generated Node #0,4,0: 22:[42, 9] Operation: 30-21=9 Exploring Operation: 42-21=21, Resulting Numbers: [30, 21] Generated Node #0,4,1: 22:[30, 21] Operation: 42-21=21 Exploring Operation: 42/21=2, Resulting Numbers: [30, 2] Generated Node #0,4,2: 22:[30, 2] Operation: 42/21=2 Exploring Operation: 42-30=12, Resulting Numbers: [21, 12] Generated Node #0,4,3: 22:[21, 12] Operation: 42-30=12 Exploring Operation: 30+21=51, Resulting Numbers: [42, 51] Generated Node #0,4,4: 22:[42, 51] Operation: 30+21=51 Moving to Node #0,4,3 Current State: 22:[21, 12], Operations: ['84-63=21', '42-30=12'] Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 21*12=252, Resulting Numbers: [252] 252,22 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,22 unequal: No Solution Moving to Node #0,4,2 Current State: 22:[30, 2], Operations: ['84-63=21', '42/21=2'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,22 unequal: No Solution Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,22 unequal: No Solution Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,22 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,22 unequal: No Solution Moving to Node #0,4,1 Current State: 22:[30, 21], Operations: ['84-63=21', '42-21=21'] Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,22 unequal: No Solution Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,22 unequal: No Solution Moving to Node #0,4,0 Current State: 22:[42, 9], Operations: ['84-63=21', '30-21=9'] Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,22 unequal: No Solution Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,22 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,22 unequal: No Solution Moving to Node #0,4,4 Current State: 22:[42, 51], Operations: ['84-63=21', '30+21=51'] Exploring Operation: 42+51=93, Resulting Numbers: [93] 93,22 unequal: No Solution Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 42*51=2142, Resulting Numbers: [2142] 2142,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[30, 63, 2], Operations: ['84/42=2'] Exploring Operation: 63-2=61, Resulting Numbers: [30, 61] Generated Node #0,2,0: 22:[30, 61] Operation: 63-2=61 Exploring Operation: 30/2=15, Resulting Numbers: [63, 15] Generated Node #0,2,1: 22:[63, 15] Operation: 30/2=15 Exploring Operation: 30-2=28, Resulting Numbers: [63, 28] Generated Node #0,2,2: 22:[63, 28] Operation: 30-2=28 Exploring Operation: 63-30=33, Resulting Numbers: [2, 33] Generated Node #0,2,3: 22:[2, 33] Operation: 63-30=33 Exploring Operation: 30+2=32, Resulting Numbers: [63, 32] Generated Node #0,2,4: 22:[63, 32] Operation: 30+2=32 Moving to Node #0,2,3 Current State: 22:[2, 33], Operations: ['84/42=2', '63-30=33'] Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,22 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[63, 15], Operations: ['84/42=2', '30/2=15'] Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,22 unequal: No Solution Exploring Operation: 63*15=945, Resulting Numbers: [945] 945,22 unequal: No Solution Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,22 unequal: No Solution Moving to Node #0,2,0 Current State: 22:[30, 61], Operations: ['84/42=2', '63-2=61'] Exploring Operation: 30+61=91, Resulting Numbers: [91] 91,22 unequal: No Solution Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 30*61=1830, Resulting Numbers: [1830] 1830,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[63, 28], Operations: ['84/42=2', '30-2=28'] Exploring Operation: 63*28=1764, Resulting Numbers: [1764] 1764,22 unequal: No Solution Exploring Operation: 63+28=91, Resulting Numbers: [91] 91,22 unequal: No Solution Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,22 unequal: No Solution Moving to Node #0,2,4 Current State: 22:[63, 32], Operations: ['84/42=2', '30+2=32'] Exploring Operation: 63*32=2016, Resulting Numbers: [2016] 2016,22 unequal: No Solution Exploring Operation: 63+32=95, Resulting Numbers: [95] 95,22 unequal: No Solution Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 22:[30, 63, 42], Operations: ['84-42=42'] Exploring Operation: 42-30=12, Resulting Numbers: [63, 12] Generated Node #0,3,0: 22:[63, 12] Operation: 42-30=12 Exploring Operation: 30+63=93, Resulting Numbers: [42, 93] Generated Node #0,3,1: 22:[42, 93] Operation: 30+63=93 Exploring Operation: 63-30=33, Resulting Numbers: [42, 33] Generated Node #0,3,2: 22:[42, 33] Operation: 63-30=33 Exploring Operation: 30+42=72, Resulting Numbers: [63, 72] Generated Node #0,3,3: 22:[63, 72] Operation: 30+42=72 Exploring Operation: 63-42=21, Resulting Numbers: [30, 21] Generated Node #0,3,4: 22:[30, 21] Operation: 63-42=21 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 22:[30, 21], Operations: ['84-42=42', '63-42=21'] Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,22 unequal: No Solution Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,22 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 22:[42, 33], Operations: ['84-42=42', '63-30=33'] Exploring Operation: 42+33=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 42-33=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 42*33=1386, Resulting Numbers: [1386] 1386,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 22:[63, 12], Operations: ['84-42=42', '42-30=12'] Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,22 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 22:[42, 93], Operations: ['84-42=42', '30+63=93'] Exploring Operation: 93-42=51, Resulting Numbers: [51] 51,22 unequal: No Solution Exploring Operation: 42+93=135, Resulting Numbers: [135] 135,22 unequal: No Solution Exploring Operation: 42*93=3906, Resulting Numbers: [3906] 3906,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 22:[63, 72], Operations: ['84-42=42', '30+42=72'] Exploring Operation: 63+72=135, Resulting Numbers: [135] 135,22 unequal: No Solution Exploring Operation: 63*72=4536, Resulting Numbers: [4536] 4536,22 unequal: No Solution Exploring Operation: 72-63=9, Resulting Numbers: [9] 9,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[84, 30, 21], Operations: ['63-42=21'] Exploring Operation: 84/21=4, Resulting Numbers: [30, 4] Generated Node #0,0,0: 22:[30, 4] Operation: 84/21=4 Exploring Operation: 84+21=105, Resulting Numbers: [30, 105] Generated Node #0,0,1: 22:[30, 105] Operation: 84+21=105 Exploring Operation: 84-30=54, Resulting Numbers: [21, 54] Generated Node #0,0,2: 22:[21, 54] Operation: 84-30=54 Exploring Operation: 30-21=9, Resulting Numbers: [84, 9] Generated Node #0,0,3: 22:[84, 9] Operation: 30-21=9 Exploring Operation: 84-21=63, Resulting Numbers: [30, 63] Generated Node #0,0,4: 22:[30, 63] Operation: 84-21=63 Moving to Node #0,0,0 Current State: 22:[30, 4], Operations: ['63-42=21', '84/21=4'] Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,22 unequal: No Solution Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,22 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[21, 54], Operations: ['63-42=21', '84-30=54'] Exploring Operation: 54-21=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 21*54=1134, Resulting Numbers: [1134] 1134,22 unequal: No Solution Exploring Operation: 21+54=75, Resulting Numbers: [75] 75,22 unequal: No Solution Moving to Node #0,0,4 Current State: 22:[30, 63], Operations: ['63-42=21', '84-21=63'] Exploring Operation: 30*63=1890, Resulting Numbers: [1890] 1890,22 unequal: No Solution Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 30+63=93, Resulting Numbers: [93] 93,22 unequal: No Solution Moving to Node #0,0,3 Current State: 22:[84, 9], Operations: ['63-42=21', '30-21=9'] Exploring Operation: 84*9=756, Resulting Numbers: [756] 756,22 unequal: No Solution Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 84+9=93, Resulting Numbers: [93] 93,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[30, 105], Operations: ['63-42=21', '84+21=105'] Exploring Operation: 105-30=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 30+105=135, Resulting Numbers: [135] 135,22 unequal: No Solution Exploring Operation: 30*105=3150, Resulting Numbers: [3150] 3150,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[42, 63, 54], Operations: ['84-30=54'] Exploring Operation: 63-54=9, Resulting Numbers: [42, 9] Generated Node #0,1,0: 22:[42, 9] Operation: 63-54=9 Exploring Operation: 42+63=105, Resulting Numbers: [54, 105] Generated Node #0,1,1: 22:[54, 105] Operation: 42+63=105 Exploring Operation: 42+54=96, Resulting Numbers: [63, 96] Generated Node #0,1,2: 22:[63, 96] Operation: 42+54=96 Exploring Operation: 63-42=21, Resulting Numbers: [54, 21] Generated Node #0,1,3: 22:[54, 21] Operation: 63-42=21 Exploring Operation: 54-42=12, Resulting Numbers: [63, 12] Generated Node #0,1,4: 22:[63, 12] Operation: 54-42=12 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 22:[42, 9], Operations: ['84-30=54', '63-54=9'] Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,22 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 22:[54, 21], Operations: ['84-30=54', '63-42=21'] Exploring Operation: 54+21=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 54-21=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 54*21=1134, Resulting Numbers: [1134] 1134,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 22:[63, 12], Operations: ['84-30=54', '54-42=12'] Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,22 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,22 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 22:[54, 105], Operations: ['84-30=54', '42+63=105'] Exploring Operation: 105-54=51, Resulting Numbers: [51] 51,22 unequal: No Solution Exploring Operation: 54+105=159, Resulting Numbers: [159] 159,22 unequal: No Solution Exploring Operation: 54*105=5670, Resulting Numbers: [5670] 5670,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 22:[63, 96], Operations: ['84-30=54', '42+54=96'] Exploring Operation: 96-63=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 63+96=159, Resulting Numbers: [159] 159,22 unequal: No Solution Exploring Operation: 63*96=6048, Resulting Numbers: [6048] 6048,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 38, 63, 4, 67 ]
54
[ "67-63=4", "4*4=16", "38+16=54" ]
Current State: 54:[38, 63, 4, 67], Operations: [] Exploring Operation: 67-63=4, Resulting Numbers: [38, 4, 4] Generated Node #2: [38, 4, 4] from Operation: 67-63=4 Current State: 54:[38, 4, 4], Operations: ['67-63=4'] Exploring Operation: 4*4=16, Resulting Numbers: [38, 16] Generated Node #3: [38, 16] from Operation: 4*4=16 Current State: 54:[38, 16], Operations: ['67-63=4', '4*4=16'] Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[38, 63, 4, 67], Operations: [] Exploring Operation: 67-38=29, Resulting Numbers: [63, 4, 29] Generated Node #0,0: 54:[63, 4, 29] Operation: 67-38=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[63, 4, 29], Operations: ['67-38=29'] Exploring Operation: 63-4=59, Resulting Numbers: [29, 59] Generated Node #0,0,0: 54:[29, 59] Operation: 63-4=59 Moving to Node #0,0,0 Current State: 54:[29, 59], Operations: ['67-38=29', '63-4=59'] Exploring Operation: 59-29=30, Resulting Numbers: [30] 30,54 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
[ 2, 84, 4, 7 ]
74
[ "2*7=14", "84+4=88", "88-14=74" ]
Current State: 74:[2, 84, 4, 7], Operations: [] Exploring Operation: 2*7=14, Resulting Numbers: [84, 4, 14] Generated Node #2: [84, 4, 14] from Operation: 2*7=14 Current State: 74:[84, 4, 14], Operations: ['2*7=14'] Exploring Operation: 84+4=88, Resulting Numbers: [14, 88] Generated Node #3: [14, 88] from Operation: 84+4=88 Current State: 74:[14, 88], Operations: ['2*7=14', '84+4=88'] Exploring Operation: 88-14=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[2, 84, 4, 7], Operations: [] Exploring Operation: 84-4=80, Resulting Numbers: [2, 7, 80] Generated Node #0,0: 74:[2, 7, 80] Operation: 84-4=80 Exploring Operation: 7-4=3, Resulting Numbers: [2, 84, 3] Generated Node #0,1: 74:[2, 84, 3] Operation: 7-4=3 Exploring Operation: 84-7=77, Resulting Numbers: [2, 4, 77] Generated Node #0,2: 74:[2, 4, 77] Operation: 84-7=77 Moving to Node #0,2 Current State: 74:[2, 4, 77], Operations: ['84-7=77'] Exploring Operation: 4/2=2, Resulting Numbers: [77, 2] Generated Node #0,2,0: 74:[77, 2] Operation: 4/2=2 Exploring Operation: 4-2=2, Resulting Numbers: [77, 2] Generated Node #0,2,1: 74:[77, 2] Operation: 4-2=2 Exploring Operation: 77-4=73, Resulting Numbers: [2, 73] Generated Node #0,2,2: 74:[2, 73] Operation: 77-4=73 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 74:[2, 73], Operations: ['84-7=77', '77-4=73'] Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,74 unequal: No Solution Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,74 unequal: No Solution Exploring Operation: 2*73=146, Resulting Numbers: [146] 146,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 74:[77, 2], Operations: ['84-7=77', '4/2=2'] Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,74 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,74 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 74:[77, 2], Operations: ['84-7=77', '4-2=2'] Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,74 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,74 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 74:[2, 7, 80], Operations: ['84-4=80'] Exploring Operation: 80/2=40, Resulting Numbers: [7, 40] Generated Node #0,0,0: 74:[7, 40] Operation: 80/2=40 Exploring Operation: 80-7=73, Resulting Numbers: [2, 73] Generated Node #0,0,1: 74:[2, 73] Operation: 80-7=73 Exploring Operation: 7-2=5, Resulting Numbers: [80, 5] Generated Node #0,0,2: 74:[80, 5] Operation: 7-2=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[2, 73], Operations: ['84-4=80', '80-7=73'] Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,74 unequal: No Solution Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,74 unequal: No Solution Exploring Operation: 2*73=146, Resulting Numbers: [146] 146,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,0,0 Current State: 74:[7, 40], Operations: ['84-4=80', '80/2=40'] Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,74 unequal: No Solution Exploring Operation: 7*40=280, Resulting Numbers: [280] 280,74 unequal: No Solution Exploring Operation: 7+40=47, Resulting Numbers: [47] 47,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,0,2 Current State: 74:[80, 5], Operations: ['84-4=80', '7-2=5'] Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,74 unequal: No Solution Exploring Operation: 80+5=85, Resulting Numbers: [85] 85,74 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: 74:[2, 84, 3], Operations: ['7-4=3'] Exploring Operation: 84/2=42, Resulting Numbers: [3, 42] Generated Node #0,1,0: 74:[3, 42] Operation: 84/2=42 Exploring Operation: 84-3=81, Resulting Numbers: [2, 81] Generated Node #0,1,1: 74:[2, 81] Operation: 84-3=81 Exploring Operation: 84-2=82, Resulting Numbers: [3, 82] Generated Node #0,1,2: 74:[3, 82] Operation: 84-2=82 Moving to Node #0,1,0 Current State: 74:[3, 42], Operations: ['7-4=3', '84/2=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,74 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,74 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[2, 81], Operations: ['7-4=3', '84-3=81'] Exploring Operation: 2*81=162, Resulting Numbers: [162] 162,74 unequal: No Solution Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,74 unequal: No Solution Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[3, 82], Operations: ['7-4=3', '84-2=82'] Exploring Operation: 3+82=85, Resulting Numbers: [85] 85,74 unequal: No Solution Exploring Operation: 3*82=246, Resulting Numbers: [246] 246,74 unequal: No Solution Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,74 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 14, 91, 22, 67 ]
76
[ "91*22=2002", "2002/14=143", "143-67=76" ]
Current State: 76:[14, 91, 22, 67], Operations: [] Exploring Operation: 91*22=2002, Resulting Numbers: [14, 67, 2002] Generated Node #2: [14, 67, 2002] from Operation: 91*22=2002 Current State: 76:[14, 67, 2002], Operations: ['91*22=2002'] Exploring Operation: 2002/14=143, Resulting Numbers: [67, 143] Generated Node #3: [67, 143] from Operation: 2002/14=143 Current State: 76:[67, 143], Operations: ['91*22=2002', '2002/14=143'] Exploring Operation: 143-67=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[14, 91, 22, 67], Operations: [] Exploring Operation: 91-67=24, Resulting Numbers: [14, 22, 24] Generated Node #0,0: 76:[14, 22, 24] Operation: 91-67=24 Exploring Operation: 91-14=77, Resulting Numbers: [22, 67, 77] Generated Node #0,1: 76:[22, 67, 77] Operation: 91-14=77 Moving to Node #0,0 Current State: 76:[14, 22, 24], Operations: ['91-67=24'] Exploring Operation: 24-22=2, Resulting Numbers: [14, 2] Generated Node #0,0,0: 76:[14, 2] Operation: 24-22=2 Exploring Operation: 14+24=38, Resulting Numbers: [22, 38] Generated Node #0,0,1: 76:[22, 38] Operation: 14+24=38 Moving to Node #0,1 Current State: 76:[22, 67, 77], Operations: ['91-14=77'] Exploring Operation: 77-67=10, Resulting Numbers: [22, 10] Generated Node #0,1,0: 76:[22, 10] Operation: 77-67=10 Exploring Operation: 67-22=45, Resulting Numbers: [77, 45] Generated Node #0,1,1: 76:[77, 45] Operation: 67-22=45 Moving to Node #0,0,1 Current State: 76:[22, 38], Operations: ['91-67=24', '14+24=38'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,76 unequal: No Solution Exploring Operation: 22+38=60, Resulting Numbers: [60] 60,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[14, 2], Operations: ['91-67=24', '24-22=2'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[77, 45], Operations: ['91-14=77', '67-22=45'] Exploring Operation: 77-45=32, Resulting Numbers: [32] 32,76 unequal: No Solution Exploring Operation: 77+45=122, Resulting Numbers: [122] 122,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[22, 10], Operations: ['91-14=77', '77-67=10'] Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,76 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,76 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 94, 38, 61, 43 ]
31
[ "94+61=155", "43-38=5", "155/5=31" ]
Current State: 31:[94, 38, 61, 43], Operations: [] Exploring Operation: 94+61=155, Resulting Numbers: [38, 43, 155] Generated Node #2: [38, 43, 155] from Operation: 94+61=155 Current State: 31:[38, 43, 155], Operations: ['94+61=155'] Exploring Operation: 43-38=5, Resulting Numbers: [155, 5] Generated Node #3: [155, 5] from Operation: 43-38=5 Current State: 31:[155, 5], Operations: ['94+61=155', '43-38=5'] Exploring Operation: 155/5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[94, 38, 61, 43], Operations: [] Exploring Operation: 94-61=33, Resulting Numbers: [38, 43, 33] Generated Node #0,0: 31:[38, 43, 33] Operation: 94-61=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[38, 43, 33], Operations: ['94-61=33'] Exploring Operation: 43-38=5, Resulting Numbers: [33, 5] Generated Node #0,0,0: 31:[33, 5] Operation: 43-38=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[33, 5], Operations: ['94-61=33', '43-38=5'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 77, 53, 91, 34 ]
81
[ "77-53=24", "91-34=57", "24+57=81" ]
Current State: 81:[77, 53, 91, 34], Operations: [] Exploring Operation: 77-53=24, Resulting Numbers: [91, 34, 24] Generated Node #2: [91, 34, 24] from Operation: 77-53=24 Current State: 81:[91, 34, 24], Operations: ['77-53=24'] Exploring Operation: 91-34=57, Resulting Numbers: [24, 57] Generated Node #3: [24, 57] from Operation: 91-34=57 Current State: 81:[24, 57], Operations: ['77-53=24', '91-34=57'] Exploring Operation: 24+57=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[77, 53, 91, 34], Operations: [] Exploring Operation: 77-53=24, Resulting Numbers: [91, 34, 24] Generated Node #0,0: 81:[91, 34, 24] Operation: 77-53=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[91, 34, 24], Operations: ['77-53=24'] Exploring Operation: 34-24=10, Resulting Numbers: [91, 10] Generated Node #0,0,0: 81:[91, 10] Operation: 34-24=10 Moving to Node #0,0,0 Current State: 81:[91, 10], Operations: ['77-53=24', '34-24=10'] Exploring Operation: 91-10=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[77, 53, 91, 34], Operations: [] Exploring Operation: 77-53=24, Resulting Numbers: [91, 34, 24] Generated Node #0,0: 81:[91, 34, 24] Operation: 77-53=24 Moving to Node #0,0 Current State: 81:[91, 34, 24], Operations: ['77-53=24'] Exploring Operation: 34-24=10, Resulting Numbers: [91, 10] Generated Node #0,0,0: 81:[91, 10] Operation: 34-24=10 Moving to Node #0,0,0 Current State: 81:[91, 10], Operations: ['77-53=24', '34-24=10'] Exploring Operation: 91-10=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 98, 36, 24, 84 ]
70
[ "36+24=60", "98*60=5880", "5880/84=70" ]
Current State: 70:[98, 36, 24, 84], Operations: [] Exploring Operation: 36+24=60, Resulting Numbers: [98, 84, 60] Generated Node #2: [98, 84, 60] from Operation: 36+24=60 Current State: 70:[98, 84, 60], Operations: ['36+24=60'] Exploring Operation: 98*60=5880, Resulting Numbers: [84, 5880] Generated Node #3: [84, 5880] from Operation: 98*60=5880 Current State: 70:[84, 5880], Operations: ['36+24=60', '98*60=5880'] Exploring Operation: 5880/84=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[98, 36, 24, 84], Operations: [] Exploring Operation: 98-84=14, Resulting Numbers: [36, 24, 14] Generated Node #0,0: 70:[36, 24, 14] Operation: 98-84=14 Exploring Operation: 98-24=74, Resulting Numbers: [36, 84, 74] Generated Node #0,1: 70:[36, 84, 74] Operation: 98-24=74 Exploring Operation: 98-36=62, Resulting Numbers: [24, 84, 62] Generated Node #0,2: 70:[24, 84, 62] Operation: 98-36=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[36, 24, 14], Operations: ['98-84=14'] Exploring Operation: 24+14=38, Resulting Numbers: [36, 38] Generated Node #0,0,0: 70:[36, 38] Operation: 24+14=38 Exploring Operation: 36-24=12, Resulting Numbers: [14, 12] Generated Node #0,0,1: 70:[14, 12] Operation: 36-24=12 Exploring Operation: 24-14=10, Resulting Numbers: [36, 10] Generated Node #0,0,2: 70:[36, 10] Operation: 24-14=10 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 70:[36, 10], Operations: ['98-84=14', '24-14=10'] Exploring Operation: 36*10=360, Resulting Numbers: [360] 360,70 unequal: No Solution Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[14, 12], Operations: ['98-84=14', '36-24=12'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,70 unequal: No Solution Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[36, 38], Operations: ['98-84=14', '24+14=38'] Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 36+38=74, Resulting Numbers: [74] 74,70 unequal: No Solution Exploring Operation: 36*38=1368, Resulting Numbers: [1368] 1368,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[36, 84, 74], Operations: ['98-24=74'] Exploring Operation: 74-36=38, Resulting Numbers: [84, 38] Generated Node #0,1,0: 70:[84, 38] Operation: 74-36=38 Exploring Operation: 84-74=10, Resulting Numbers: [36, 10] Generated Node #0,1,1: 70:[36, 10] Operation: 84-74=10 Exploring Operation: 84-36=48, Resulting Numbers: [74, 48] Generated Node #0,1,2: 70:[74, 48] Operation: 84-36=48 Moving to Node #0,1,1 Current State: 70:[36, 10], Operations: ['98-24=74', '84-74=10'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,70 unequal: No Solution Exploring Operation: 36*10=360, Resulting Numbers: [360] 360,70 unequal: No Solution Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[84, 38], Operations: ['98-24=74', '74-36=38'] Exploring Operation: 84*38=3192, Resulting Numbers: [3192] 3192,70 unequal: No Solution Exploring Operation: 84+38=122, Resulting Numbers: [122] 122,70 unequal: No Solution Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[74, 48], Operations: ['98-24=74', '84-36=48'] Exploring Operation: 74*48=3552, Resulting Numbers: [3552] 3552,70 unequal: No Solution Exploring Operation: 74+48=122, Resulting Numbers: [122] 122,70 unequal: No Solution Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[24, 84, 62], Operations: ['98-36=62'] Exploring Operation: 62-24=38, Resulting Numbers: [84, 38] Generated Node #0,2,0: 70:[84, 38] Operation: 62-24=38 Exploring Operation: 84-24=60, Resulting Numbers: [62, 60] Generated Node #0,2,1: 70:[62, 60] Operation: 84-24=60 Exploring Operation: 84-62=22, Resulting Numbers: [24, 22] Generated Node #0,2,2: 70:[24, 22] Operation: 84-62=22 Moving to Node #0,2,0 Current State: 70:[84, 38], Operations: ['98-36=62', '62-24=38'] Exploring Operation: 84+38=122, Resulting Numbers: [122] 122,70 unequal: No Solution Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 84*38=3192, Resulting Numbers: [3192] 3192,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[62, 60], Operations: ['98-36=62', '84-24=60'] Exploring Operation: 62+60=122, Resulting Numbers: [122] 122,70 unequal: No Solution Exploring Operation: 62-60=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 62*60=3720, Resulting Numbers: [3720] 3720,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[24, 22], Operations: ['98-36=62', '84-62=22'] Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 24*22=528, Resulting Numbers: [528] 528,70 unequal: No Solution Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,70 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
[ 58, 58, 3, 20 ]
93
[ "58+58=116", "3+20=23", "116-23=93" ]
Current State: 93:[58, 58, 3, 20], Operations: [] Exploring Operation: 58+58=116, Resulting Numbers: [3, 20, 116] Generated Node #2: [3, 20, 116] from Operation: 58+58=116 Current State: 93:[3, 20, 116], Operations: ['58+58=116'] Exploring Operation: 3+20=23, Resulting Numbers: [116, 23] Generated Node #3: [116, 23] from Operation: 3+20=23 Current State: 93:[116, 23], Operations: ['58+58=116', '3+20=23'] Exploring Operation: 116-23=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[58, 58, 3, 20], Operations: [] Exploring Operation: 58-20=38, Resulting Numbers: [58, 3, 38] Generated Node #0,0: 93:[58, 3, 38] Operation: 58-20=38 Exploring Operation: 58/58=1, Resulting Numbers: [3, 20, 1] Generated Node #0,1: 93:[3, 20, 1] Operation: 58/58=1 Exploring Operation: 58+58=116, Resulting Numbers: [3, 20, 116] Generated Node #0,2: 93:[3, 20, 116] Operation: 58+58=116 Exploring Operation: 58-58=0, Resulting Numbers: [3, 20, 0] Generated Node #0,3: 93:[3, 20, 0] Operation: 58-58=0 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[3, 20, 1], Operations: ['58/58=1'] Exploring Operation: 20+1=21, Resulting Numbers: [3, 21] Generated Node #0,1,0: 93:[3, 21] Operation: 20+1=21 Exploring Operation: 3+20=23, Resulting Numbers: [1, 23] Generated Node #0,1,1: 93:[1, 23] Operation: 3+20=23 Exploring Operation: 3*1=3, Resulting Numbers: [20, 3] Generated Node #0,1,2: 93:[20, 3] Operation: 3*1=3 Exploring Operation: 3/1=3, Resulting Numbers: [20, 3] Generated Node #0,1,3: 93:[20, 3] Operation: 3/1=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[3, 21], Operations: ['58/58=1', '20+1=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,93 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,93 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[1, 23], Operations: ['58/58=1', '3+20=23'] Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 93:[20, 3], Operations: ['58/58=1', '3*1=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,93 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 93:[20, 3], Operations: ['58/58=1', '3/1=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,93 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[3, 20, 0], Operations: ['58-58=0'] Exploring Operation: 3-0=3, Resulting Numbers: [20, 3] Generated Node #0,3,0: 93:[20, 3] Operation: 3-0=3 Exploring Operation: 3+0=3, Resulting Numbers: [20, 3] Generated Node #0,3,1: 93:[20, 3] Operation: 3+0=3 Exploring Operation: 3+20=23, Resulting Numbers: [0, 23] Generated Node #0,3,2: 93:[0, 23] Operation: 3+20=23 Exploring Operation: 20*0=0, Resulting Numbers: [3, 0] Generated Node #0,3,3: 93:[3, 0] Operation: 20*0=0 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 93:[3, 0], Operations: ['58-58=0', '20*0=0'] Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,93 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 93:[20, 3], Operations: ['58-58=0', '3-0=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,93 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 93:[20, 3], Operations: ['58-58=0', '3+0=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,93 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 93:[0, 23], Operations: ['58-58=0', '3+20=23'] Exploring Operation: 0*23=0, Resulting Numbers: [0] 0,93 unequal: No Solution Exploring Operation: 0+23=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 23-0=23, Resulting Numbers: [23] 23,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[58, 3, 38], Operations: ['58-20=38'] Exploring Operation: 38-3=35, Resulting Numbers: [58, 35] Generated Node #0,0,0: 93:[58, 35] Operation: 38-3=35 Exploring Operation: 58+38=96, Resulting Numbers: [3, 96] Generated Node #0,0,1: 93:[3, 96] Operation: 58+38=96 Exploring Operation: 58-3=55, Resulting Numbers: [38, 55] Generated Node #0,0,2: 93:[38, 55] Operation: 58-3=55 Exploring Operation: 58-38=20, Resulting Numbers: [3, 20] Generated Node #0,0,3: 93:[3, 20] Operation: 58-38=20 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[3, 96], Operations: ['58-20=38', '58+38=96'] Exploring Operation: 3*96=288, Resulting Numbers: [288] 288,93 unequal: No Solution Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[58, 58, 3, 20], Operations: [] Exploring Operation: 58-20=38, Resulting Numbers: [58, 3, 38] Generated Node #0,0: 93:[58, 3, 38] Operation: 58-20=38 Moving to Node #0,0 Current State: 93:[58, 3, 38], Operations: ['58-20=38'] Exploring Operation: 58+38=96, Resulting Numbers: [3, 96] Generated Node #0,0,1: 93:[3, 96] Operation: 58+38=96 Moving to Node #0,0,1 Current State: 93:[3, 96], Operations: ['58-20=38', '58+38=96'] Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.957465
hs_4
mult_heuristic
[ 90, 53, 19, 23 ]
94
[ "53+23=76", "76/19=4", "90+4=94" ]
Current State: 94:[90, 53, 19, 23], Operations: [] Exploring Operation: 53+23=76, Resulting Numbers: [90, 19, 76] Generated Node #2: [90, 19, 76] from Operation: 53+23=76 Current State: 94:[90, 19, 76], Operations: ['53+23=76'] Exploring Operation: 76/19=4, Resulting Numbers: [90, 4] Generated Node #3: [90, 4] from Operation: 76/19=4 Current State: 94:[90, 4], Operations: ['53+23=76', '76/19=4'] Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[90, 53, 19, 23], Operations: [] Exploring Operation: 53+23=76, Resulting Numbers: [90, 19, 76] Generated Node #0,0: 94:[90, 19, 76] Operation: 53+23=76 Exploring Operation: 19+23=42, Resulting Numbers: [90, 53, 42] Generated Node #0,1: 94:[90, 53, 42] Operation: 19+23=42 Exploring Operation: 53-23=30, Resulting Numbers: [90, 19, 30] Generated Node #0,2: 94:[90, 19, 30] Operation: 53-23=30 Exploring Operation: 23-19=4, Resulting Numbers: [90, 53, 4] Generated Node #0,3: 94:[90, 53, 4] Operation: 23-19=4 Exploring Operation: 53-19=34, Resulting Numbers: [90, 23, 34] Generated Node #0,4: 94:[90, 23, 34] Operation: 53-19=34 Moving to Node #0,3 Current State: 94:[90, 53, 4], Operations: ['23-19=4'] Exploring Operation: 90-4=86, Resulting Numbers: [53, 86] Generated Node #0,3,0: 94:[53, 86] Operation: 90-4=86 Exploring Operation: 90-53=37, Resulting Numbers: [4, 37] Generated Node #0,3,1: 94:[4, 37] Operation: 90-53=37 Exploring Operation: 53+4=57, Resulting Numbers: [90, 57] Generated Node #0,3,2: 94:[90, 57] Operation: 53+4=57 Exploring Operation: 90+4=94, Resulting Numbers: [53, 94] Generated Node #0,3,3: 94:[53, 94] Operation: 90+4=94 Exploring Operation: 53-4=49, Resulting Numbers: [90, 49] Generated Node #0,3,4: 94:[90, 49] Operation: 53-4=49 Moving to Node #0,1 Current State: 94:[90, 53, 42], Operations: ['19+23=42'] Exploring Operation: 90+42=132, Resulting Numbers: [53, 132] Generated Node #0,1,0: 94:[53, 132] Operation: 90+42=132 Exploring Operation: 53-42=11, Resulting Numbers: [90, 11] Generated Node #0,1,1: 94:[90, 11] Operation: 53-42=11 Exploring Operation: 90-42=48, Resulting Numbers: [53, 48] Generated Node #0,1,2: 94:[53, 48] Operation: 90-42=48 Exploring Operation: 90-53=37, Resulting Numbers: [42, 37] Generated Node #0,1,3: 94:[42, 37] Operation: 90-53=37 Exploring Operation: 53+42=95, Resulting Numbers: [90, 95] Generated Node #0,1,4: 94:[90, 95] Operation: 53+42=95 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 94:[90, 95], Operations: ['19+23=42', '53+42=95'] Exploring Operation: 90*95=8550, Resulting Numbers: [8550] 8550,94 unequal: No Solution Exploring Operation: 95-90=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 90+95=185, Resulting Numbers: [185] 185,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[53, 48], Operations: ['19+23=42', '90-42=48'] Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 53+48=101, Resulting Numbers: [101] 101,94 unequal: No Solution Exploring Operation: 53*48=2544, Resulting Numbers: [2544] 2544,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[90, 11], Operations: ['19+23=42', '53-42=11'] Exploring Operation: 90-11=79, Resulting Numbers: [79] 79,94 unequal: No Solution Exploring Operation: 90*11=990, Resulting Numbers: [990] 990,94 unequal: No Solution Exploring Operation: 90+11=101, Resulting Numbers: [101] 101,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 94:[42, 37], Operations: ['19+23=42', '90-53=37'] Exploring Operation: 42*37=1554, Resulting Numbers: [1554] 1554,94 unequal: No Solution Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 42+37=79, Resulting Numbers: [79] 79,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[53, 132], Operations: ['19+23=42', '90+42=132'] Exploring Operation: 132-53=79, Resulting Numbers: [79] 79,94 unequal: No Solution Exploring Operation: 53*132=6996, Resulting Numbers: [6996] 6996,94 unequal: No Solution Exploring Operation: 53+132=185, Resulting Numbers: [185] 185,94 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: 94:[90, 19, 30], Operations: ['53-23=30'] Exploring Operation: 90-30=60, Resulting Numbers: [19, 60] Generated Node #0,2,0: 94:[19, 60] Operation: 90-30=60 Exploring Operation: 90+19=109, Resulting Numbers: [30, 109] Generated Node #0,2,1: 94:[30, 109] Operation: 90+19=109 Exploring Operation: 90/30=3, Resulting Numbers: [19, 3] Generated Node #0,2,2: 94:[19, 3] Operation: 90/30=3 Exploring Operation: 19+30=49, Resulting Numbers: [90, 49] Generated Node #0,2,3: 94:[90, 49] Operation: 19+30=49 Exploring Operation: 30-19=11, Resulting Numbers: [90, 11] Generated Node #0,2,4: 94:[90, 11] Operation: 30-19=11 Moving to Node #0,4 Current State: 94:[90, 23, 34], Operations: ['53-19=34'] Exploring Operation: 90+23=113, Resulting Numbers: [34, 113] Generated Node #0,4,0: 94:[34, 113] Operation: 90+23=113 Exploring Operation: 90-23=67, Resulting Numbers: [34, 67] Generated Node #0,4,1: 94:[34, 67] Operation: 90-23=67 Exploring Operation: 34-23=11, Resulting Numbers: [90, 11] Generated Node #0,4,2: 94:[90, 11] Operation: 34-23=11 Exploring Operation: 23+34=57, Resulting Numbers: [90, 57] Generated Node #0,4,3: 94:[90, 57] Operation: 23+34=57 Exploring Operation: 90-34=56, Resulting Numbers: [23, 56] Generated Node #0,4,4: 94:[23, 56] Operation: 90-34=56 Moving to Node #0,0 Current State: 94:[90, 19, 76], Operations: ['53+23=76'] Exploring Operation: 76/19=4, Resulting Numbers: [90, 4] Generated Node #0,0,0: 94:[90, 4] Operation: 76/19=4 Exploring Operation: 76-19=57, Resulting Numbers: [90, 57] Generated Node #0,0,1: 94:[90, 57] Operation: 76-19=57 Exploring Operation: 90+19=109, Resulting Numbers: [76, 109] Generated Node #0,0,2: 94:[76, 109] Operation: 90+19=109 Exploring Operation: 90-76=14, Resulting Numbers: [19, 14] Generated Node #0,0,3: 94:[19, 14] Operation: 90-76=14 Exploring Operation: 19+76=95, Resulting Numbers: [90, 95] Generated Node #0,0,4: 94:[90, 95] Operation: 19+76=95 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 94:[90, 95], Operations: ['53+23=76', '19+76=95'] Exploring Operation: 95-90=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 90*95=8550, Resulting Numbers: [8550] 8550,94 unequal: No Solution Exploring Operation: 90+95=185, Resulting Numbers: [185] 185,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[90, 4], Operations: ['53+23=76', '76/19=4'] Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[90, 53, 19, 23], Operations: [] Exploring Operation: 53+23=76, Resulting Numbers: [90, 19, 76] Generated Node #0,0: 94:[90, 19, 76] Operation: 53+23=76 Moving to Node #0,0 Current State: 94:[90, 19, 76], Operations: ['53+23=76'] Exploring Operation: 76/19=4, Resulting Numbers: [90, 4] Generated Node #0,0,0: 94:[90, 4] Operation: 76/19=4 Moving to Node #0,0,0 Current State: 94:[90, 4], Operations: ['53+23=76', '76/19=4'] Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.953993
hs_5
sum_heuristic
[ 38, 88, 48, 92 ]
76
[ "38*88=3344", "92-48=44", "3344/44=76" ]
Current State: 76:[38, 88, 48, 92], Operations: [] Exploring Operation: 38*88=3344, Resulting Numbers: [48, 92, 3344] Generated Node #2: [48, 92, 3344] from Operation: 38*88=3344 Current State: 76:[48, 92, 3344], Operations: ['38*88=3344'] Exploring Operation: 92-48=44, Resulting Numbers: [3344, 44] Generated Node #3: [3344, 44] from Operation: 92-48=44 Current State: 76:[3344, 44], Operations: ['38*88=3344', '92-48=44'] Exploring Operation: 3344/44=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[38, 88, 48, 92], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [38, 48, 4] Generated Node #0,0: 76:[38, 48, 4] Operation: 92-88=4 Exploring Operation: 92-48=44, Resulting Numbers: [38, 88, 44] Generated Node #0,1: 76:[38, 88, 44] Operation: 92-48=44 Exploring Operation: 88-48=40, Resulting Numbers: [38, 92, 40] Generated Node #0,2: 76:[38, 92, 40] Operation: 88-48=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[38, 48, 4], Operations: ['92-88=4'] Exploring Operation: 48-4=44, Resulting Numbers: [38, 44] Generated Node #0,0,0: 76:[38, 44] Operation: 48-4=44 Exploring Operation: 48-38=10, Resulting Numbers: [4, 10] Generated Node #0,0,1: 76:[4, 10] Operation: 48-38=10 Exploring Operation: 48/4=12, Resulting Numbers: [38, 12] Generated Node #0,0,2: 76:[38, 12] Operation: 48/4=12 Moving to Node #0,0,0 Current State: 76:[38, 44], Operations: ['92-88=4', '48-4=44'] Exploring Operation: 38*44=1672, Resulting Numbers: [1672] 1672,76 unequal: No Solution Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,76 unequal: No Solution Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[4, 10], Operations: ['92-88=4', '48-38=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,76 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[38, 12], Operations: ['92-88=4', '48/4=12'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,76 unequal: No Solution Exploring Operation: 38*12=456, Resulting Numbers: [456] 456,76 unequal: No Solution Exploring Operation: 38+12=50, Resulting Numbers: [50] 50,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[38, 88, 44], Operations: ['92-48=44'] Exploring Operation: 88/44=2, Resulting Numbers: [38, 2] Generated Node #0,1,0: 76:[38, 2] Operation: 88/44=2 Exploring Operation: 44-38=6, Resulting Numbers: [88, 6] Generated Node #0,1,1: 76:[88, 6] Operation: 44-38=6 Exploring Operation: 88-44=44, Resulting Numbers: [38, 44] Generated Node #0,1,2: 76:[38, 44] Operation: 88-44=44 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 76:[38, 2], Operations: ['92-48=44', '88/44=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[38, 88, 48, 92], Operations: [] Exploring Operation: 92-48=44, Resulting Numbers: [38, 88, 44] Generated Node #0,1: 76:[38, 88, 44] Operation: 92-48=44 Moving to Node #0,1 Current State: 76:[38, 88, 44], Operations: ['92-48=44'] Exploring Operation: 88/44=2, Resulting Numbers: [38, 2] Generated Node #0,1,0: 76:[38, 2] Operation: 88/44=2 Moving to Node #0,1,0 Current State: 76:[38, 2], Operations: ['92-48=44', '88/44=2'] Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 34, 8, 76, 79 ]
10
[ "79-76=3", "8*3=24", "34-24=10" ]
Current State: 10:[34, 8, 76, 79], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [34, 8, 3] Generated Node #2: [34, 8, 3] from Operation: 79-76=3 Current State: 10:[34, 8, 3], Operations: ['79-76=3'] Exploring Operation: 8*3=24, Resulting Numbers: [34, 24] Generated Node #3: [34, 24] from Operation: 8*3=24 Current State: 10:[34, 24], Operations: ['79-76=3', '8*3=24'] Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[34, 8, 76, 79], Operations: [] Exploring Operation: 79-34=45, Resulting Numbers: [8, 76, 45] Generated Node #0,0: 10:[8, 76, 45] Operation: 79-34=45 Exploring Operation: 76-8=68, Resulting Numbers: [34, 79, 68] Generated Node #0,1: 10:[34, 79, 68] Operation: 76-8=68 Exploring Operation: 76-34=42, Resulting Numbers: [8, 79, 42] Generated Node #0,2: 10:[8, 79, 42] Operation: 76-34=42 Exploring Operation: 79-76=3, Resulting Numbers: [34, 8, 3] Generated Node #0,3: 10:[34, 8, 3] Operation: 79-76=3 Exploring Operation: 34-8=26, Resulting Numbers: [76, 79, 26] Generated Node #0,4: 10:[76, 79, 26] Operation: 34-8=26 Moving to Node #0,3 Current State: 10:[34, 8, 3], Operations: ['79-76=3'] Exploring Operation: 34-8=26, Resulting Numbers: [3, 26] Generated Node #0,3,0: 10:[3, 26] Operation: 34-8=26 Exploring Operation: 34+3=37, Resulting Numbers: [8, 37] Generated Node #0,3,1: 10:[8, 37] Operation: 34+3=37 Exploring Operation: 34-3=31, Resulting Numbers: [8, 31] Generated Node #0,3,2: 10:[8, 31] Operation: 34-3=31 Exploring Operation: 8-3=5, Resulting Numbers: [34, 5] Generated Node #0,3,3: 10:[34, 5] Operation: 8-3=5 Exploring Operation: 8+3=11, Resulting Numbers: [34, 11] Generated Node #0,3,4: 10:[34, 11] Operation: 8+3=11 Moving to Node #0,2 Current State: 10:[8, 79, 42], Operations: ['76-34=42'] Exploring Operation: 8+79=87, Resulting Numbers: [42, 87] Generated Node #0,2,0: 10:[42, 87] Operation: 8+79=87 Exploring Operation: 8+42=50, Resulting Numbers: [79, 50] Generated Node #0,2,1: 10:[79, 50] Operation: 8+42=50 Exploring Operation: 79-42=37, Resulting Numbers: [8, 37] Generated Node #0,2,2: 10:[8, 37] Operation: 79-42=37 Exploring Operation: 79-8=71, Resulting Numbers: [42, 71] Generated Node #0,2,3: 10:[42, 71] Operation: 79-8=71 Exploring Operation: 42-8=34, Resulting Numbers: [79, 34] Generated Node #0,2,4: 10:[79, 34] Operation: 42-8=34 Moving to Node #0,0 Current State: 10:[8, 76, 45], Operations: ['79-34=45'] Exploring Operation: 45-8=37, Resulting Numbers: [76, 37] Generated Node #0,0,0: 10:[76, 37] Operation: 45-8=37 Exploring Operation: 76-8=68, Resulting Numbers: [45, 68] Generated Node #0,0,1: 10:[45, 68] Operation: 76-8=68 Exploring Operation: 76-45=31, Resulting Numbers: [8, 31] Generated Node #0,0,2: 10:[8, 31] Operation: 76-45=31 Exploring Operation: 8+76=84, Resulting Numbers: [45, 84] Generated Node #0,0,3: 10:[45, 84] Operation: 8+76=84 Exploring Operation: 8+45=53, Resulting Numbers: [76, 53] Generated Node #0,0,4: 10:[76, 53] Operation: 8+45=53 Moving to Node #0,1 Current State: 10:[34, 79, 68], Operations: ['76-8=68'] Exploring Operation: 68/34=2, Resulting Numbers: [79, 2] Generated Node #0,1,0: 10:[79, 2] Operation: 68/34=2 Exploring Operation: 68-34=34, Resulting Numbers: [79, 34] Generated Node #0,1,1: 10:[79, 34] Operation: 68-34=34 Exploring Operation: 34+79=113, Resulting Numbers: [68, 113] Generated Node #0,1,2: 10:[68, 113] Operation: 34+79=113 Exploring Operation: 79-34=45, Resulting Numbers: [68, 45] Generated Node #0,1,3: 10:[68, 45] Operation: 79-34=45 Exploring Operation: 79-68=11, Resulting Numbers: [34, 11] Generated Node #0,1,4: 10:[34, 11] Operation: 79-68=11 Moving to Node #0,4 Current State: 10:[76, 79, 26], Operations: ['34-8=26'] Exploring Operation: 76+26=102, Resulting Numbers: [79, 102] Generated Node #0,4,0: 10:[79, 102] Operation: 76+26=102 Exploring Operation: 79-26=53, Resulting Numbers: [76, 53] Generated Node #0,4,1: 10:[76, 53] Operation: 79-26=53 Exploring Operation: 76+79=155, Resulting Numbers: [26, 155] Generated Node #0,4,2: 10:[26, 155] Operation: 76+79=155 Exploring Operation: 76-26=50, Resulting Numbers: [79, 50] Generated Node #0,4,3: 10:[79, 50] Operation: 76-26=50 Exploring Operation: 79-76=3, Resulting Numbers: [26, 3] Generated Node #0,4,4: 10:[26, 3] Operation: 79-76=3 Moving to Node #0,3,0 Current State: 10:[3, 26], Operations: ['79-76=3', '34-8=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,10 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,10 unequal: No Solution Moving to Node #0,4,4 Current State: 10:[26, 3], Operations: ['34-8=26', '79-76=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,10 unequal: No Solution Moving to Node #0,3,2 Current State: 10:[8, 31], Operations: ['79-76=3', '34-3=31'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,10 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[8, 31], Operations: ['79-34=45', '76-45=31'] Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,10 unequal: No Solution Moving to Node #0,3,3 Current State: 10:[34, 5], Operations: ['79-76=3', '8-3=5'] Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,10 unequal: No Solution Moving to Node #0,3,4 Current State: 10:[34, 11], Operations: ['79-76=3', '8+3=11'] Exploring Operation: 34+11=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 34*11=374, Resulting Numbers: [374] 374,10 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,10 unequal: No Solution Moving to Node #0,1,4 Current State: 10:[34, 11], Operations: ['76-8=68', '79-68=11'] Exploring Operation: 34*11=374, Resulting Numbers: [374] 374,10 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 34+11=45, Resulting Numbers: [45] 45,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[8, 37], Operations: ['76-34=42', '79-42=37'] Exploring Operation: 8+37=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 8*37=296, Resulting Numbers: [296] 296,10 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,10 unequal: No Solution Moving to Node #0,3,1 Current State: 10:[8, 37], Operations: ['79-76=3', '34+3=37'] Exploring Operation: 8+37=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 8*37=296, Resulting Numbers: [296] 296,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[79, 2], Operations: ['76-8=68', '68/34=2'] Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,10 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,10 unequal: No Solution Exploring Operation: 79*2=158, Resulting Numbers: [158] 158,10 unequal: No Solution Moving to Node #0,2,3 Current State: 10:[42, 71], Operations: ['76-34=42', '79-8=71'] Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 42+71=113, Resulting Numbers: [113] 113,10 unequal: No Solution Exploring Operation: 42*71=2982, Resulting Numbers: [2982] 2982,10 unequal: No Solution Moving to Node #0,1,3 Current State: 10:[68, 45], Operations: ['76-8=68', '79-34=45'] Exploring Operation: 68*45=3060, Resulting Numbers: [3060] 3060,10 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 68+45=113, Resulting Numbers: [113] 113,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[45, 68], Operations: ['79-34=45', '76-8=68'] Exploring Operation: 45*68=3060, Resulting Numbers: [3060] 3060,10 unequal: No Solution Exploring Operation: 45+68=113, Resulting Numbers: [113] 113,10 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[76, 37], Operations: ['79-34=45', '45-8=37'] Exploring Operation: 76+37=113, Resulting Numbers: [113] 113,10 unequal: No Solution Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 76*37=2812, Resulting Numbers: [2812] 2812,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[79, 34], Operations: ['76-8=68', '68-34=34'] Exploring Operation: 79+34=113, Resulting Numbers: [113] 113,10 unequal: No Solution Exploring Operation: 79*34=2686, Resulting Numbers: [2686] 2686,10 unequal: No Solution Exploring Operation: 79-34=45, Resulting Numbers: [45] 45,10 unequal: No Solution Moving to Node #0,2,4 Current State: 10:[79, 34], Operations: ['76-34=42', '42-8=34'] Exploring Operation: 79-34=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 79+34=113, Resulting Numbers: [113] 113,10 unequal: No Solution Exploring Operation: 79*34=2686, Resulting Numbers: [2686] 2686,10 unequal: No Solution Moving to Node #0,0,4 Current State: 10:[76, 53], Operations: ['79-34=45', '8+45=53'] Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 76*53=4028, Resulting Numbers: [4028] 4028,10 unequal: No Solution Exploring Operation: 76+53=129, Resulting Numbers: [129] 129,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[45, 84], Operations: ['79-34=45', '8+76=84'] Exploring Operation: 45+84=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 84-45=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 45*84=3780, Resulting Numbers: [3780] 3780,10 unequal: No Solution Moving to Node #0,4,1 Current State: 10:[76, 53], Operations: ['34-8=26', '79-26=53'] Exploring Operation: 76*53=4028, Resulting Numbers: [4028] 4028,10 unequal: No Solution Exploring Operation: 76+53=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,10 unequal: No Solution Moving to Node #0,4,3 Current State: 10:[79, 50], Operations: ['34-8=26', '76-26=50'] Exploring Operation: 79+50=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 79-50=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 79*50=3950, Resulting Numbers: [3950] 3950,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[79, 50], Operations: ['76-34=42', '8+42=50'] Exploring Operation: 79+50=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 79*50=3950, Resulting Numbers: [3950] 3950,10 unequal: No Solution Exploring Operation: 79-50=29, Resulting Numbers: [29] 29,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[42, 87], Operations: ['76-34=42', '8+79=87'] Exploring Operation: 42*87=3654, Resulting Numbers: [3654] 3654,10 unequal: No Solution Exploring Operation: 42+87=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 87-42=45, Resulting Numbers: [45] 45,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[68, 113], Operations: ['76-8=68', '34+79=113'] Exploring Operation: 113-68=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 68*113=7684, Resulting Numbers: [7684] 7684,10 unequal: No Solution Exploring Operation: 68+113=181, Resulting Numbers: [181] 181,10 unequal: No Solution Moving to Node #0,4,0 Current State: 10:[79, 102], Operations: ['34-8=26', '76+26=102'] Exploring Operation: 102-79=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 79*102=8058, Resulting Numbers: [8058] 8058,10 unequal: No Solution Exploring Operation: 79+102=181, Resulting Numbers: [181] 181,10 unequal: No Solution Moving to Node #0,4,2 Current State: 10:[26, 155], Operations: ['34-8=26', '76+79=155'] Exploring Operation: 26+155=181, Resulting Numbers: [181] 181,10 unequal: No Solution Exploring Operation: 26*155=4030, Resulting Numbers: [4030] 4030,10 unequal: No Solution Exploring Operation: 155-26=129, Resulting Numbers: [129] 129,10 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 2, 92, 11, 23 ]
93
[ "2*11=22", "92+23=115", "115-22=93" ]
Current State: 93:[2, 92, 11, 23], Operations: [] Exploring Operation: 2*11=22, Resulting Numbers: [92, 23, 22] Generated Node #2: [92, 23, 22] from Operation: 2*11=22 Current State: 93:[92, 23, 22], Operations: ['2*11=22'] Exploring Operation: 92+23=115, Resulting Numbers: [22, 115] Generated Node #3: [22, 115] from Operation: 92+23=115 Current State: 93:[22, 115], Operations: ['2*11=22', '92+23=115'] Exploring Operation: 115-22=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[2, 92, 11, 23], Operations: [] Exploring Operation: 23-11=12, Resulting Numbers: [2, 92, 12] Generated Node #0,0: 93:[2, 92, 12] Operation: 23-11=12 Exploring Operation: 11+23=34, Resulting Numbers: [2, 92, 34] Generated Node #0,1: 93:[2, 92, 34] Operation: 11+23=34 Exploring Operation: 92/23=4, Resulting Numbers: [2, 11, 4] Generated Node #0,2: 93:[2, 11, 4] Operation: 92/23=4 Exploring Operation: 11-2=9, Resulting Numbers: [92, 23, 9] Generated Node #0,3: 93:[92, 23, 9] Operation: 11-2=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[2, 92, 34], Operations: ['11+23=34'] Exploring Operation: 92-2=90, Resulting Numbers: [34, 90] Generated Node #0,1,0: 93:[34, 90] Operation: 92-2=90 Exploring Operation: 34-2=32, Resulting Numbers: [92, 32] Generated Node #0,1,1: 93:[92, 32] Operation: 34-2=32 Exploring Operation: 2+34=36, Resulting Numbers: [92, 36] Generated Node #0,1,2: 93:[92, 36] Operation: 2+34=36 Exploring Operation: 2+92=94, Resulting Numbers: [34, 94] Generated Node #0,1,3: 93:[34, 94] Operation: 2+92=94 Moving to Node #0,1,1 Current State: 93:[92, 32], Operations: ['11+23=34', '34-2=32'] Exploring Operation: 92-32=60, Resulting Numbers: [60] 60,93 unequal: No Solution Exploring Operation: 92*32=2944, Resulting Numbers: [2944] 2944,93 unequal: No Solution Exploring Operation: 92+32=124, Resulting Numbers: [124] 124,93 unequal: No Solution Moving to Node #0,1,3 Current State: 93:[34, 94], Operations: ['11+23=34', '2+92=94'] Exploring Operation: 34*94=3196, Resulting Numbers: [3196] 3196,93 unequal: No Solution Exploring Operation: 34+94=128, Resulting Numbers: [128] 128,93 unequal: No Solution Exploring Operation: 94-34=60, Resulting Numbers: [60] 60,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[92, 36], Operations: ['11+23=34', '2+34=36'] Exploring Operation: 92+36=128, Resulting Numbers: [128] 128,93 unequal: No Solution Exploring Operation: 92-36=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 92*36=3312, Resulting Numbers: [3312] 3312,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[34, 90], Operations: ['11+23=34', '92-2=90'] Exploring Operation: 34+90=124, Resulting Numbers: [124] 124,93 unequal: No Solution Exploring Operation: 90-34=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 34*90=3060, Resulting Numbers: [3060] 3060,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[2, 11, 4], Operations: ['92/23=4'] Exploring Operation: 4-2=2, Resulting Numbers: [11, 2] Generated Node #0,2,0: 93:[11, 2] Operation: 4-2=2 Exploring Operation: 11-2=9, Resulting Numbers: [4, 9] Generated Node #0,2,1: 93:[4, 9] Operation: 11-2=9 Exploring Operation: 4/2=2, Resulting Numbers: [11, 2] Generated Node #0,2,2: 93:[11, 2] Operation: 4/2=2 Exploring Operation: 11-4=7, Resulting Numbers: [2, 7] Generated Node #0,2,3: 93:[2, 7] Operation: 11-4=7 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 93:[2, 7], Operations: ['92/23=4', '11-4=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[4, 9], Operations: ['92/23=4', '11-2=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[11, 2], Operations: ['92/23=4', '4-2=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,93 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[11, 2], Operations: ['92/23=4', '4/2=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,93 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[2, 92, 12], Operations: ['23-11=12'] Exploring Operation: 2+92=94, Resulting Numbers: [12, 94] Generated Node #0,0,0: 93:[12, 94] Operation: 2+92=94 Exploring Operation: 12/2=6, Resulting Numbers: [92, 6] Generated Node #0,0,1: 93:[92, 6] Operation: 12/2=6 Exploring Operation: 2*12=24, Resulting Numbers: [92, 24] Generated Node #0,0,2: 93:[92, 24] Operation: 2*12=24 Exploring Operation: 12-2=10, Resulting Numbers: [92, 10] Generated Node #0,0,3: 93:[92, 10] Operation: 12-2=10 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[92, 6], Operations: ['23-11=12', '12/2=6'] Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,93 unequal: No Solution Exploring Operation: 92*6=552, Resulting Numbers: [552] 552,93 unequal: No Solution Exploring Operation: 92+6=98, Resulting Numbers: [98] 98,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 93:[92, 24], Operations: ['23-11=12', '2*12=24'] Exploring Operation: 92+24=116, Resulting Numbers: [116] 116,93 unequal: No Solution Exploring Operation: 92*24=2208, Resulting Numbers: [2208] 2208,93 unequal: No Solution Exploring Operation: 92-24=68, Resulting Numbers: [68] 68,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 93:[92, 10], Operations: ['23-11=12', '12-2=10'] Exploring Operation: 92-10=82, Resulting Numbers: [82] 82,93 unequal: No Solution Exploring Operation: 92+10=102, Resulting Numbers: [102] 102,93 unequal: No Solution Exploring Operation: 92*10=920, Resulting Numbers: [920] 920,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[12, 94], Operations: ['23-11=12', '2+92=94'] Exploring Operation: 12+94=106, Resulting Numbers: [106] 106,93 unequal: No Solution Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,93 unequal: No Solution Exploring Operation: 12*94=1128, Resulting Numbers: [1128] 1128,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[92, 23, 9], Operations: ['11-2=9'] Exploring Operation: 23+9=32, Resulting Numbers: [92, 32] Generated Node #0,3,0: 93:[92, 32] Operation: 23+9=32 Exploring Operation: 92/23=4, Resulting Numbers: [9, 4] Generated Node #0,3,1: 93:[9, 4] Operation: 92/23=4 Exploring Operation: 92+9=101, Resulting Numbers: [23, 101] Generated Node #0,3,2: 93:[23, 101] Operation: 92+9=101 Exploring Operation: 23-9=14, Resulting Numbers: [92, 14] Generated Node #0,3,3: 93:[92, 14] Operation: 23-9=14 Moving to Node #0,3,0 Current State: 93:[92, 32], Operations: ['11-2=9', '23+9=32'] Exploring Operation: 92-32=60, Resulting Numbers: [60] 60,93 unequal: No Solution Exploring Operation: 92*32=2944, Resulting Numbers: [2944] 2944,93 unequal: No Solution Exploring Operation: 92+32=124, Resulting Numbers: [124] 124,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[9, 4], Operations: ['11-2=9', '92/23=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,93 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[92, 14], Operations: ['11-2=9', '23-9=14'] Exploring Operation: 92*14=1288, Resulting Numbers: [1288] 1288,93 unequal: No Solution Exploring Operation: 92+14=106, Resulting Numbers: [106] 106,93 unequal: No Solution Exploring Operation: 92-14=78, Resulting Numbers: [78] 78,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[23, 101], Operations: ['11-2=9', '92+9=101'] Exploring Operation: 101-23=78, Resulting Numbers: [78] 78,93 unequal: No Solution Exploring Operation: 23+101=124, Resulting Numbers: [124] 124,93 unequal: No Solution Exploring Operation: 23*101=2323, Resulting Numbers: [2323] 2323,93 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
[ 73, 27, 6, 3 ]
37
[ "73-27=46", "6+3=9", "46-9=37" ]
Current State: 37:[73, 27, 6, 3], Operations: [] Exploring Operation: 73-27=46, Resulting Numbers: [6, 3, 46] Generated Node #2: [6, 3, 46] from Operation: 73-27=46 Current State: 37:[6, 3, 46], Operations: ['73-27=46'] Exploring Operation: 6+3=9, Resulting Numbers: [46, 9] Generated Node #3: [46, 9] from Operation: 6+3=9 Current State: 37:[46, 9], Operations: ['73-27=46', '6+3=9'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[73, 27, 6, 3], Operations: [] Exploring Operation: 6*3=18, Resulting Numbers: [73, 27, 18] Generated Node #0,0: 37:[73, 27, 18] Operation: 6*3=18 Exploring Operation: 73-6=67, Resulting Numbers: [27, 3, 67] Generated Node #0,1: 37:[27, 3, 67] Operation: 73-6=67 Exploring Operation: 73-3=70, Resulting Numbers: [27, 6, 70] Generated Node #0,2: 37:[27, 6, 70] Operation: 73-3=70 Exploring Operation: 27+6=33, Resulting Numbers: [73, 3, 33] Generated Node #0,3: 37:[73, 3, 33] Operation: 27+6=33 Exploring Operation: 73-27=46, Resulting Numbers: [6, 3, 46] Generated Node #0,4: 37:[6, 3, 46] Operation: 73-27=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[73, 27, 18], Operations: ['6*3=18'] Exploring Operation: 73+18=91, Resulting Numbers: [27, 91] Generated Node #0,0,0: 37:[27, 91] Operation: 73+18=91 Exploring Operation: 73-27=46, Resulting Numbers: [18, 46] Generated Node #0,0,1: 37:[18, 46] Operation: 73-27=46 Exploring Operation: 73-18=55, Resulting Numbers: [27, 55] Generated Node #0,0,2: 37:[27, 55] Operation: 73-18=55 Exploring Operation: 27+18=45, Resulting Numbers: [73, 45] Generated Node #0,0,3: 37:[73, 45] Operation: 27+18=45 Exploring Operation: 27-18=9, Resulting Numbers: [73, 9] Generated Node #0,0,4: 37:[73, 9] Operation: 27-18=9 Moving to Node #0,0,1 Current State: 37:[18, 46], Operations: ['6*3=18', '73-27=46'] Exploring Operation: 18+46=64, Resulting Numbers: [64] 64,37 unequal: No Solution Exploring Operation: 18*46=828, Resulting Numbers: [828] 828,37 unequal: No Solution Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[27, 55], Operations: ['6*3=18', '73-18=55'] Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 27+55=82, Resulting Numbers: [82] 82,37 unequal: No Solution Exploring Operation: 27*55=1485, Resulting Numbers: [1485] 1485,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[73, 45], Operations: ['6*3=18', '27+18=45'] Exploring Operation: 73+45=118, Resulting Numbers: [118] 118,37 unequal: No Solution Exploring Operation: 73*45=3285, Resulting Numbers: [3285] 3285,37 unequal: No Solution Exploring Operation: 73-45=28, Resulting Numbers: [28] 28,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[27, 91], Operations: ['6*3=18', '73+18=91'] Exploring Operation: 27+91=118, Resulting Numbers: [118] 118,37 unequal: No Solution Exploring Operation: 27*91=2457, Resulting Numbers: [2457] 2457,37 unequal: No Solution Exploring Operation: 91-27=64, Resulting Numbers: [64] 64,37 unequal: No Solution Moving to Node #0,0,4 Current State: 37:[73, 9], Operations: ['6*3=18', '27-18=9'] Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,37 unequal: No Solution Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,37 unequal: No Solution Exploring Operation: 73*9=657, Resulting Numbers: [657] 657,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[27, 3, 67], Operations: ['73-6=67'] Exploring Operation: 3+67=70, Resulting Numbers: [27, 70] Generated Node #0,1,0: 37:[27, 70] Operation: 3+67=70 Exploring Operation: 27+3=30, Resulting Numbers: [67, 30] Generated Node #0,1,1: 37:[67, 30] Operation: 27+3=30 Exploring Operation: 27-3=24, Resulting Numbers: [67, 24] Generated Node #0,1,2: 37:[67, 24] Operation: 27-3=24 Exploring Operation: 67-27=40, Resulting Numbers: [3, 40] Generated Node #0,1,3: 37:[3, 40] Operation: 67-27=40 Exploring Operation: 67-3=64, Resulting Numbers: [27, 64] Generated Node #0,1,4: 37:[27, 64] Operation: 67-3=64 Moving to Node #0,1,1 Current State: 37:[67, 30], Operations: ['73-6=67', '27+3=30'] Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[73, 27, 6, 3], Operations: [] Exploring Operation: 73-6=67, Resulting Numbers: [27, 3, 67] Generated Node #0,1: 37:[27, 3, 67] Operation: 73-6=67 Moving to Node #0,1 Current State: 37:[27, 3, 67], Operations: ['73-6=67'] Exploring Operation: 27+3=30, Resulting Numbers: [67, 30] Generated Node #0,1,1: 37:[67, 30] Operation: 27+3=30 Moving to Node #0,1,1 Current State: 37:[67, 30], Operations: ['73-6=67', '27+3=30'] Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
sum_heuristic
[ 3, 9, 95, 59 ]
30
[ "9-3=6", "95-59=36", "36-6=30" ]
Current State: 30:[3, 9, 95, 59], Operations: [] Exploring Operation: 9-3=6, Resulting Numbers: [95, 59, 6] Generated Node #2: [95, 59, 6] from Operation: 9-3=6 Current State: 30:[95, 59, 6], Operations: ['9-3=6'] Exploring Operation: 95-59=36, Resulting Numbers: [6, 36] Generated Node #3: [6, 36] from Operation: 95-59=36 Current State: 30:[6, 36], Operations: ['9-3=6', '95-59=36'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[3, 9, 95, 59], Operations: [] Exploring Operation: 95-9=86, Resulting Numbers: [3, 59, 86] Generated Node #0,0: 30:[3, 59, 86] Operation: 95-9=86 Exploring Operation: 59-9=50, Resulting Numbers: [3, 95, 50] Generated Node #0,1: 30:[3, 95, 50] Operation: 59-9=50 Exploring Operation: 59-3=56, Resulting Numbers: [9, 95, 56] Generated Node #0,2: 30:[9, 95, 56] Operation: 59-3=56 Exploring Operation: 95-59=36, Resulting Numbers: [3, 9, 36] Generated Node #0,3: 30:[3, 9, 36] Operation: 95-59=36 Exploring Operation: 95-3=92, Resulting Numbers: [9, 59, 92] Generated Node #0,4: 30:[9, 59, 92] Operation: 95-3=92 Start Sub Search at level 1: Moving to Node #0,3 Current State: 30:[3, 9, 36], Operations: ['95-59=36'] Exploring Operation: 36/3=12, Resulting Numbers: [9, 12] Generated Node #0,3,0: 30:[9, 12] Operation: 36/3=12 Exploring Operation: 36/9=4, Resulting Numbers: [3, 4] Generated Node #0,3,1: 30:[3, 4] Operation: 36/9=4 Exploring Operation: 36-9=27, Resulting Numbers: [3, 27] Generated Node #0,3,2: 30:[3, 27] Operation: 36-9=27 Exploring Operation: 9-3=6, Resulting Numbers: [36, 6] Generated Node #0,3,3: 30:[36, 6] Operation: 9-3=6 Exploring Operation: 36-3=33, Resulting Numbers: [9, 33] Generated Node #0,3,4: 30:[9, 33] Operation: 36-3=33 Moving to Node #0,3,1 Current State: 30:[3, 4], Operations: ['95-59=36', '36/9=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,30 unequal: No Solution Moving to Node #0,3,2 Current State: 30:[3, 27], Operations: ['95-59=36', '36-9=27'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,30 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[3, 9, 95, 59], Operations: [] Exploring Operation: 95-59=36, Resulting Numbers: [3, 9, 36] Generated Node #0,3: 30:[3, 9, 36] Operation: 95-59=36 Moving to Node #0,3 Current State: 30:[3, 9, 36], Operations: ['95-59=36'] Exploring Operation: 36-9=27, Resulting Numbers: [3, 27] Generated Node #0,3,2: 30:[3, 27] Operation: 36-9=27 Moving to Node #0,3,2 Current State: 30:[3, 27], Operations: ['95-59=36', '36-9=27'] Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 47, 57, 9, 28 ]
59
[ "47+9=56", "56/28=2", "57+2=59" ]
Current State: 59:[47, 57, 9, 28], Operations: [] Exploring Operation: 47+9=56, Resulting Numbers: [57, 28, 56] Generated Node #2: [57, 28, 56] from Operation: 47+9=56 Current State: 59:[57, 28, 56], Operations: ['47+9=56'] Exploring Operation: 56/28=2, Resulting Numbers: [57, 2] Generated Node #3: [57, 2] from Operation: 56/28=2 Current State: 59:[57, 2], Operations: ['47+9=56', '56/28=2'] Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[47, 57, 9, 28], Operations: [] Exploring Operation: 57+9=66, Resulting Numbers: [47, 28, 66] Generated Node #0,0: 59:[47, 28, 66] Operation: 57+9=66 Exploring Operation: 47-9=38, Resulting Numbers: [57, 28, 38] Generated Node #0,1: 59:[57, 28, 38] Operation: 47-9=38 Exploring Operation: 9+28=37, Resulting Numbers: [47, 57, 37] Generated Node #0,2: 59:[47, 57, 37] Operation: 9+28=37 Exploring Operation: 47+9=56, Resulting Numbers: [57, 28, 56] Generated Node #0,3: 59:[57, 28, 56] Operation: 47+9=56 Moving to Node #0,2 Current State: 59:[47, 57, 37], Operations: ['9+28=37'] Exploring Operation: 57+37=94, Resulting Numbers: [47, 94] Generated Node #0,2,0: 59:[47, 94] Operation: 57+37=94 Exploring Operation: 47+37=84, Resulting Numbers: [57, 84] Generated Node #0,2,1: 59:[57, 84] Operation: 47+37=84 Exploring Operation: 57-37=20, Resulting Numbers: [47, 20] Generated Node #0,2,2: 59:[47, 20] Operation: 57-37=20 Exploring Operation: 47-37=10, Resulting Numbers: [57, 10] Generated Node #0,2,3: 59:[57, 10] Operation: 47-37=10 Moving to Node #0,3 Current State: 59:[57, 28, 56], Operations: ['47+9=56'] Exploring Operation: 56-28=28, Resulting Numbers: [57, 28] Generated Node #0,3,0: 59:[57, 28] Operation: 56-28=28 Exploring Operation: 57-28=29, Resulting Numbers: [56, 29] Generated Node #0,3,1: 59:[56, 29] Operation: 57-28=29 Exploring Operation: 57+28=85, Resulting Numbers: [56, 85] Generated Node #0,3,2: 59:[56, 85] Operation: 57+28=85 Exploring Operation: 28+56=84, Resulting Numbers: [57, 84] Generated Node #0,3,3: 59:[57, 84] Operation: 28+56=84 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 59:[57, 84], Operations: ['47+9=56', '28+56=84'] Exploring Operation: 57+84=141, Resulting Numbers: [141] 141,59 unequal: No Solution Exploring Operation: 84-57=27, Resulting Numbers: [27] 27,59 unequal: No Solution Exploring Operation: 57*84=4788, Resulting Numbers: [4788] 4788,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[56, 85], Operations: ['47+9=56', '57+28=85'] Exploring Operation: 56+85=141, Resulting Numbers: [141] 141,59 unequal: No Solution Exploring Operation: 56*85=4760, Resulting Numbers: [4760] 4760,59 unequal: No Solution Exploring Operation: 85-56=29, Resulting Numbers: [29] 29,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 59:[57, 28], Operations: ['47+9=56', '56-28=28'] Exploring Operation: 57+28=85, Resulting Numbers: [85] 85,59 unequal: No Solution Exploring Operation: 57*28=1596, Resulting Numbers: [1596] 1596,59 unequal: No Solution Exploring Operation: 57-28=29, Resulting Numbers: [29] 29,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 59:[56, 29], Operations: ['47+9=56', '57-28=29'] Exploring Operation: 56-29=27, Resulting Numbers: [27] 27,59 unequal: No Solution Exploring Operation: 56+29=85, Resulting Numbers: [85] 85,59 unequal: No Solution Exploring Operation: 56*29=1624, Resulting Numbers: [1624] 1624,59 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: 59:[47, 28, 66], Operations: ['57+9=66'] Exploring Operation: 47-28=19, Resulting Numbers: [66, 19] Generated Node #0,0,0: 59:[66, 19] Operation: 47-28=19 Exploring Operation: 66-28=38, Resulting Numbers: [47, 38] Generated Node #0,0,1: 59:[47, 38] Operation: 66-28=38 Exploring Operation: 47+28=75, Resulting Numbers: [66, 75] Generated Node #0,0,2: 59:[66, 75] Operation: 47+28=75 Exploring Operation: 28+66=94, Resulting Numbers: [47, 94] Generated Node #0,0,3: 59:[47, 94] Operation: 28+66=94 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[66, 75], Operations: ['57+9=66', '47+28=75'] Exploring Operation: 66+75=141, Resulting Numbers: [141] 141,59 unequal: No Solution Exploring Operation: 66*75=4950, Resulting Numbers: [4950] 4950,59 unequal: No Solution Exploring Operation: 75-66=9, Resulting Numbers: [9] 9,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[47, 38], Operations: ['57+9=66', '66-28=38'] Exploring Operation: 47*38=1786, Resulting Numbers: [1786] 1786,59 unequal: No Solution Exploring Operation: 47-38=9, Resulting Numbers: [9] 9,59 unequal: No Solution Exploring Operation: 47+38=85, Resulting Numbers: [85] 85,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[66, 19], Operations: ['57+9=66', '47-28=19'] Exploring Operation: 66-19=47, Resulting Numbers: [47] 47,59 unequal: No Solution Exploring Operation: 66*19=1254, Resulting Numbers: [1254] 1254,59 unequal: No Solution Exploring Operation: 66+19=85, Resulting Numbers: [85] 85,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 59:[47, 94], Operations: ['57+9=66', '28+66=94'] Exploring Operation: 47*94=4418, Resulting Numbers: [4418] 4418,59 unequal: No Solution Exploring Operation: 47+94=141, Resulting Numbers: [141] 141,59 unequal: No Solution Exploring Operation: 94/47=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 94-47=47, Resulting Numbers: [47] 47,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 59:[57, 28, 38], Operations: ['47-9=38'] Exploring Operation: 57+28=85, Resulting Numbers: [38, 85] Generated Node #0,1,0: 59:[38, 85] Operation: 57+28=85 Exploring Operation: 57-28=29, Resulting Numbers: [38, 29] Generated Node #0,1,1: 59:[38, 29] Operation: 57-28=29 Exploring Operation: 38-28=10, Resulting Numbers: [57, 10] Generated Node #0,1,2: 59:[57, 10] Operation: 38-28=10 Exploring Operation: 28+38=66, Resulting Numbers: [57, 66] Generated Node #0,1,3: 59:[57, 66] Operation: 28+38=66 Moving to Node #0,1,3 Current State: 59:[57, 66], Operations: ['47-9=38', '28+38=66'] Exploring Operation: 57*66=3762, Resulting Numbers: [3762] 3762,59 unequal: No Solution Exploring Operation: 66-57=9, Resulting Numbers: [9] 9,59 unequal: No Solution Exploring Operation: 57+66=123, Resulting Numbers: [123] 123,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[57, 84], Operations: ['9+28=37', '47+37=84'] Exploring Operation: 84-57=27, Resulting Numbers: [27] 27,59 unequal: No Solution Exploring Operation: 57*84=4788, Resulting Numbers: [4788] 4788,59 unequal: No Solution Exploring Operation: 57+84=141, Resulting Numbers: [141] 141,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[38, 85], Operations: ['47-9=38', '57+28=85'] Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,59 unequal: No Solution Exploring Operation: 38*85=3230, Resulting Numbers: [3230] 3230,59 unequal: No Solution Exploring Operation: 38+85=123, Resulting Numbers: [123] 123,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[47, 94], Operations: ['9+28=37', '57+37=94'] Exploring Operation: 94/47=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 47+94=141, Resulting Numbers: [141] 141,59 unequal: No Solution Exploring Operation: 47*94=4418, Resulting Numbers: [4418] 4418,59 unequal: No Solution Exploring Operation: 94-47=47, Resulting Numbers: [47] 47,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[47, 20], Operations: ['9+28=37', '57-37=20'] Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,59 unequal: No Solution Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,59 unequal: No Solution Exploring Operation: 47*20=940, Resulting Numbers: [940] 940,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[38, 29], Operations: ['47-9=38', '57-28=29'] Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,59 unequal: No Solution Exploring Operation: 38+29=67, Resulting Numbers: [67] 67,59 unequal: No Solution Exploring Operation: 38*29=1102, Resulting Numbers: [1102] 1102,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[57, 10], Operations: ['47-9=38', '38-28=10'] Exploring Operation: 57+10=67, Resulting Numbers: [67] 67,59 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,59 unequal: No Solution Exploring Operation: 57*10=570, Resulting Numbers: [570] 570,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[57, 10], Operations: ['9+28=37', '47-37=10'] Exploring Operation: 57+10=67, Resulting Numbers: [67] 67,59 unequal: No Solution Exploring Operation: 57*10=570, Resulting Numbers: [570] 570,59 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,59 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 83, 90, 48, 84 ]
75
[ "90-84=6", "48/6=8", "83-8=75" ]
Current State: 75:[83, 90, 48, 84], Operations: [] Exploring Operation: 90-84=6, Resulting Numbers: [83, 48, 6] Generated Node #2: [83, 48, 6] from Operation: 90-84=6 Current State: 75:[83, 48, 6], Operations: ['90-84=6'] Exploring Operation: 48/6=8, Resulting Numbers: [83, 8] Generated Node #3: [83, 8] from Operation: 48/6=8 Current State: 75:[83, 8], Operations: ['90-84=6', '48/6=8'] Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[83, 90, 48, 84], Operations: [] Exploring Operation: 90-84=6, Resulting Numbers: [83, 48, 6] Generated Node #0,0: 75:[83, 48, 6] Operation: 90-84=6 Exploring Operation: 83-48=35, Resulting Numbers: [90, 84, 35] Generated Node #0,1: 75:[90, 84, 35] Operation: 83-48=35 Exploring Operation: 90-48=42, Resulting Numbers: [83, 84, 42] Generated Node #0,2: 75:[83, 84, 42] Operation: 90-48=42 Exploring Operation: 90-83=7, Resulting Numbers: [48, 84, 7] Generated Node #0,3: 75:[48, 84, 7] Operation: 90-83=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[83, 48, 6], Operations: ['90-84=6'] Exploring Operation: 48/6=8, Resulting Numbers: [83, 8] Generated Node #0,0,0: 75:[83, 8] Operation: 48/6=8 Exploring Operation: 83-48=35, Resulting Numbers: [6, 35] Generated Node #0,0,1: 75:[6, 35] Operation: 83-48=35 Exploring Operation: 48-6=42, Resulting Numbers: [83, 42] Generated Node #0,0,2: 75:[83, 42] Operation: 48-6=42 Exploring Operation: 83-6=77, Resulting Numbers: [48, 77] Generated Node #0,0,3: 75:[48, 77] Operation: 83-6=77 Moving to Node #0,0,0 Current State: 75:[83, 8], Operations: ['90-84=6', '48/6=8'] Exploring Operation: 83*8=664, Resulting Numbers: [664] 664,75 unequal: No Solution Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,75 unequal: No Solution Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[83, 90, 48, 84], Operations: [] Exploring Operation: 90-84=6, Resulting Numbers: [83, 48, 6] Generated Node #0,0: 75:[83, 48, 6] Operation: 90-84=6 Moving to Node #0,0 Current State: 75:[83, 48, 6], Operations: ['90-84=6'] Exploring Operation: 48/6=8, Resulting Numbers: [83, 8] Generated Node #0,0,0: 75:[83, 8] Operation: 48/6=8 Moving to Node #0,0,0 Current State: 75:[83, 8], Operations: ['90-84=6', '48/6=8'] Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 89, 39, 84, 95 ]
58
[ "89-84=5", "95/5=19", "39+19=58" ]
Current State: 58:[89, 39, 84, 95], Operations: [] Exploring Operation: 89-84=5, Resulting Numbers: [39, 95, 5] Generated Node #2: [39, 95, 5] from Operation: 89-84=5 Current State: 58:[39, 95, 5], Operations: ['89-84=5'] Exploring Operation: 95/5=19, Resulting Numbers: [39, 19] Generated Node #3: [39, 19] from Operation: 95/5=19 Current State: 58:[39, 19], Operations: ['89-84=5', '95/5=19'] Exploring Operation: 39+19=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[89, 39, 84, 95], Operations: [] Exploring Operation: 89-84=5, Resulting Numbers: [39, 95, 5] Generated Node #0,0: 58:[39, 95, 5] Operation: 89-84=5 Exploring Operation: 95-89=6, Resulting Numbers: [39, 84, 6] Generated Node #0,1: 58:[39, 84, 6] Operation: 95-89=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[39, 84, 6], Operations: ['95-89=6'] Exploring Operation: 84/6=14, Resulting Numbers: [39, 14] Generated Node #0,1,0: 58:[39, 14] Operation: 84/6=14 Exploring Operation: 84-39=45, Resulting Numbers: [6, 45] Generated Node #0,1,1: 58:[6, 45] Operation: 84-39=45 Moving to Node #0,1,1 Current State: 58:[6, 45], Operations: ['95-89=6', '84-39=45'] Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,58 unequal: No Solution Exploring Operation: 6+45=51, Resulting Numbers: [51] 51,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[39, 14], Operations: ['95-89=6', '84/6=14'] Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,58 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[39, 95, 5], Operations: ['89-84=5'] Exploring Operation: 95/5=19, Resulting Numbers: [39, 19] Generated Node #0,0,0: 58:[39, 19] Operation: 95/5=19 Exploring Operation: 95-39=56, Resulting Numbers: [5, 56] Generated Node #0,0,1: 58:[5, 56] Operation: 95-39=56 Moving to Node #0,0,1 Current State: 58:[5, 56], Operations: ['89-84=5', '95-39=56'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,58 unequal: No Solution Exploring Operation: 5+56=61, Resulting Numbers: [61] 61,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[39, 19], Operations: ['89-84=5', '95/5=19'] Exploring Operation: 39+19=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[89, 39, 84, 95], Operations: [] Exploring Operation: 89-84=5, Resulting Numbers: [39, 95, 5] Generated Node #0,0: 58:[39, 95, 5] Operation: 89-84=5 Moving to Node #0,0 Current State: 58:[39, 95, 5], Operations: ['89-84=5'] Exploring Operation: 95/5=19, Resulting Numbers: [39, 19] Generated Node #0,0,0: 58:[39, 19] Operation: 95/5=19 Moving to Node #0,0,0 Current State: 58:[39, 19], Operations: ['89-84=5', '95/5=19'] Exploring Operation: 39+19=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
mult_heuristic
[ 69, 63, 33, 21 ]
56
[ "69*21=1449", "1449/63=23", "33+23=56" ]
Current State: 56:[69, 63, 33, 21], Operations: [] Exploring Operation: 69*21=1449, Resulting Numbers: [63, 33, 1449] Generated Node #2: [63, 33, 1449] from Operation: 69*21=1449 Current State: 56:[63, 33, 1449], Operations: ['69*21=1449'] Exploring Operation: 1449/63=23, Resulting Numbers: [33, 23] Generated Node #3: [33, 23] from Operation: 1449/63=23 Current State: 56:[33, 23], Operations: ['69*21=1449', '1449/63=23'] Exploring Operation: 33+23=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[69, 63, 33, 21], Operations: [] Exploring Operation: 69-63=6, Resulting Numbers: [33, 21, 6] Generated Node #0,0: 56:[33, 21, 6] Operation: 69-63=6 Moving to Node #0,0 Current State: 56:[33, 21, 6], Operations: ['69-63=6'] Exploring Operation: 33+21=54, Resulting Numbers: [6, 54] Generated Node #0,0,0: 56:[6, 54] Operation: 33+21=54 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[6, 54], Operations: ['69-63=6', '33+21=54'] Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,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
mult_heuristic
[ 40, 65, 62, 77 ]
40
[ "65-40=25", "77-62=15", "25+15=40" ]
Current State: 40:[40, 65, 62, 77], Operations: [] Exploring Operation: 65-40=25, Resulting Numbers: [62, 77, 25] Generated Node #2: [62, 77, 25] from Operation: 65-40=25 Current State: 40:[62, 77, 25], Operations: ['65-40=25'] Exploring Operation: 77-62=15, Resulting Numbers: [25, 15] Generated Node #3: [25, 15] from Operation: 77-62=15 Current State: 40:[25, 15], Operations: ['65-40=25', '77-62=15'] Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[40, 65, 62, 77], Operations: [] Exploring Operation: 65-62=3, Resulting Numbers: [40, 77, 3] Generated Node #0,0: 40:[40, 77, 3] Operation: 65-62=3 Exploring Operation: 77-62=15, Resulting Numbers: [40, 65, 15] Generated Node #0,1: 40:[40, 65, 15] Operation: 77-62=15 Exploring Operation: 77-65=12, Resulting Numbers: [40, 62, 12] Generated Node #0,2: 40:[40, 62, 12] Operation: 77-65=12 Moving to Node #0,2 Current State: 40:[40, 62, 12], Operations: ['77-65=12'] Exploring Operation: 40-12=28, Resulting Numbers: [62, 28] Generated Node #0,2,0: 40:[62, 28] Operation: 40-12=28 Exploring Operation: 62-40=22, Resulting Numbers: [12, 22] Generated Node #0,2,1: 40:[12, 22] Operation: 62-40=22 Exploring Operation: 62-12=50, Resulting Numbers: [40, 50] Generated Node #0,2,2: 40:[40, 50] Operation: 62-12=50 Moving to Node #0,1 Current State: 40:[40, 65, 15], Operations: ['77-62=15'] Exploring Operation: 40-15=25, Resulting Numbers: [65, 25] Generated Node #0,1,0: 40:[65, 25] Operation: 40-15=25 Exploring Operation: 65-15=50, Resulting Numbers: [40, 50] Generated Node #0,1,1: 40:[40, 50] Operation: 65-15=50 Exploring Operation: 65-40=25, Resulting Numbers: [15, 25] Generated Node #0,1,2: 40:[15, 25] Operation: 65-40=25 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[40, 50], Operations: ['77-62=15', '65-15=50'] Exploring Operation: 40+50=90, Resulting Numbers: [90] 90,40 unequal: No Solution Exploring Operation: 40*50=2000, Resulting Numbers: [2000] 2000,40 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 40:[15, 25], Operations: ['77-62=15', '65-40=25'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 15+25=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[40, 65, 62, 77], Operations: [] Exploring Operation: 77-62=15, Resulting Numbers: [40, 65, 15] Generated Node #0,1: 40:[40, 65, 15] Operation: 77-62=15 Moving to Node #0,1 Current State: 40:[40, 65, 15], Operations: ['77-62=15'] Exploring Operation: 65-40=25, Resulting Numbers: [15, 25] Generated Node #0,1,2: 40:[15, 25] Operation: 65-40=25 Moving to Node #0,1,2 Current State: 40:[15, 25], Operations: ['77-62=15', '65-40=25'] Exploring Operation: 15+25=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 20, 32, 32, 48 ]
64
[ "20*48=960", "32*32=1024", "1024-960=64" ]
Current State: 64:[20, 32, 32, 48], Operations: [] Exploring Operation: 20*48=960, Resulting Numbers: [32, 32, 960] Generated Node #2: [32, 32, 960] from Operation: 20*48=960 Current State: 64:[32, 32, 960], Operations: ['20*48=960'] Exploring Operation: 32*32=1024, Resulting Numbers: [960, 1024] Generated Node #3: [960, 1024] from Operation: 32*32=1024 Current State: 64:[960, 1024], Operations: ['20*48=960', '32*32=1024'] Exploring Operation: 1024-960=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[20, 32, 32, 48], Operations: [] Exploring Operation: 48-32=16, Resulting Numbers: [20, 32, 16] Generated Node #0,0: 64:[20, 32, 16] Operation: 48-32=16 Exploring Operation: 32-20=12, Resulting Numbers: [32, 48, 12] Generated Node #0,1: 64:[32, 48, 12] Operation: 32-20=12 Exploring Operation: 48-32=16, Resulting Numbers: [20, 32, 16] Generated Node #0,2: 64:[20, 32, 16] Operation: 48-32=16 Exploring Operation: 48-20=28, Resulting Numbers: [32, 32, 28] Generated Node #0,3: 64:[32, 32, 28] Operation: 48-20=28 Exploring Operation: 20+48=68, Resulting Numbers: [32, 32, 68] Generated Node #0,4: 64:[32, 32, 68] Operation: 20+48=68 Moving to Node #0,0 Current State: 64:[20, 32, 16], Operations: ['48-32=16'] Exploring Operation: 32-16=16, Resulting Numbers: [20, 16] Generated Node #0,0,0: 64:[20, 16] Operation: 32-16=16 Exploring Operation: 20-16=4, Resulting Numbers: [32, 4] Generated Node #0,0,1: 64:[32, 4] Operation: 20-16=4 Exploring Operation: 20+16=36, Resulting Numbers: [32, 36] Generated Node #0,0,2: 64:[32, 36] Operation: 20+16=36 Exploring Operation: 32-20=12, Resulting Numbers: [16, 12] Generated Node #0,0,3: 64:[16, 12] Operation: 32-20=12 Exploring Operation: 32/16=2, Resulting Numbers: [20, 2] Generated Node #0,0,4: 64:[20, 2] Operation: 32/16=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[32, 4], Operations: ['48-32=16', '20-16=4'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 32*4=128, Resulting Numbers: [128] 128,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[20, 16], Operations: ['48-32=16', '32-16=16'] Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[32, 36], Operations: ['48-32=16', '20+16=36'] Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,64 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 64:[16, 12], Operations: ['48-32=16', '32-20=12'] Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,64 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 16+12=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,0,4 Current State: 64:[20, 2], Operations: ['48-32=16', '32/16=2'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,64 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: 64:[32, 32, 28], Operations: ['48-20=28'] Exploring Operation: 32+28=60, Resulting Numbers: [32, 60] Generated Node #0,3,0: 64:[32, 60] Operation: 32+28=60 Exploring Operation: 32-28=4, Resulting Numbers: [32, 4] Generated Node #0,3,1: 64:[32, 4] Operation: 32-28=4 Exploring Operation: 32+32=64, Resulting Numbers: [28, 64] Generated Node #0,3,2: 64:[28, 64] Operation: 32+32=64 Exploring Operation: 32+28=60, Resulting Numbers: [32, 60] Generated Node #0,3,3: 64:[32, 60] Operation: 32+28=60 Exploring Operation: 32-28=4, Resulting Numbers: [32, 4] Generated Node #0,3,4: 64:[32, 4] Operation: 32-28=4 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 64:[32, 4], Operations: ['48-20=28', '32-28=4'] Exploring Operation: 32*4=128, Resulting Numbers: [128] 128,64 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,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,4 Current State: 64:[32, 4], Operations: ['48-20=28', '32-28=4'] Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 32*4=128, Resulting Numbers: [128] 128,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,0 Current State: 64:[32, 60], Operations: ['48-20=28', '32+28=60'] Exploring Operation: 32+60=92, Resulting Numbers: [92] 92,64 unequal: No Solution Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 32*60=1920, Resulting Numbers: [1920] 1920,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,2 Current State: 64:[28, 64], Operations: ['48-20=28', '32+32=64'] Exploring Operation: 28+64=92, Resulting Numbers: [92] 92,64 unequal: No Solution Exploring Operation: 28*64=1792, Resulting Numbers: [1792] 1792,64 unequal: No Solution Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,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,3 Current State: 64:[32, 60], Operations: ['48-20=28', '32+28=60'] Exploring Operation: 32+60=92, Resulting Numbers: [92] 92,64 unequal: No Solution Exploring Operation: 32*60=1920, Resulting Numbers: [1920] 1920,64 unequal: No Solution Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,64 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: 64:[20, 32, 16], Operations: ['48-32=16'] Exploring Operation: 20-16=4, Resulting Numbers: [32, 4] Generated Node #0,2,0: 64:[32, 4] Operation: 20-16=4 Exploring Operation: 32-20=12, Resulting Numbers: [16, 12] Generated Node #0,2,1: 64:[16, 12] Operation: 32-20=12 Exploring Operation: 32/16=2, Resulting Numbers: [20, 2] Generated Node #0,2,2: 64:[20, 2] Operation: 32/16=2 Exploring Operation: 32-16=16, Resulting Numbers: [20, 16] Generated Node #0,2,3: 64:[20, 16] Operation: 32-16=16 Exploring Operation: 20+16=36, Resulting Numbers: [32, 36] Generated Node #0,2,4: 64:[32, 36] Operation: 20+16=36 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[32, 4], Operations: ['48-32=16', '20-16=4'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 32*4=128, Resulting Numbers: [128] 128,64 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 32-4=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,2,1 Current State: 64:[16, 12], Operations: ['48-32=16', '32-20=12'] Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,64 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 16+12=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,2,2 Current State: 64:[20, 2], Operations: ['48-32=16', '32/16=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 64:[20, 16], Operations: ['48-32=16', '32-16=16'] Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,64 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 64:[32, 36], Operations: ['48-32=16', '20+16=36'] Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,64 unequal: No Solution Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,64 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 64:[32, 32, 68], Operations: ['20+48=68'] Exploring Operation: 32-32=0, Resulting Numbers: [68, 0] Generated Node #0,4,0: 64:[68, 0] Operation: 32-32=0 Exploring Operation: 32+32=64, Resulting Numbers: [68, 64] Generated Node #0,4,1: 64:[68, 64] Operation: 32+32=64 Exploring Operation: 68-32=36, Resulting Numbers: [32, 36] Generated Node #0,4,2: 64:[32, 36] Operation: 68-32=36 Exploring Operation: 32/32=1, Resulting Numbers: [68, 1] Generated Node #0,4,3: 64:[68, 1] Operation: 32/32=1 Exploring Operation: 68-32=36, Resulting Numbers: [32, 36] Generated Node #0,4,4: 64:[32, 36] Operation: 68-32=36 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 64:[68, 64], Operations: ['20+48=68', '32+32=64'] Exploring Operation: 68+64=132, Resulting Numbers: [132] 132,64 unequal: No Solution Exploring Operation: 68-64=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 68*64=4352, Resulting Numbers: [4352] 4352,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,4,2 Current State: 64:[32, 36], Operations: ['20+48=68', '68-32=36'] Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,64 unequal: No Solution Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,64 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,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,4,4 Current State: 64:[32, 36], Operations: ['20+48=68', '68-32=36'] Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,64 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,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,4,3 Current State: 64:[68, 1], Operations: ['20+48=68', '32/32=1'] Exploring Operation: 68+1=69, Resulting Numbers: [69] 69,64 unequal: No Solution Exploring Operation: 68*1=68, Resulting Numbers: [68] 68,64 unequal: No Solution Exploring Operation: 68-1=67, Resulting Numbers: [67] 67,64 unequal: No Solution Exploring Operation: 68/1=68, Resulting Numbers: [68] 68,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,4,0 Current State: 64:[68, 0], Operations: ['20+48=68', '32-32=0'] Exploring Operation: 68+0=68, Resulting Numbers: [68] 68,64 unequal: No Solution Exploring Operation: 68*0=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 68-0=68, Resulting Numbers: [68] 68,64 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: 64:[32, 48, 12], Operations: ['32-20=12'] Exploring Operation: 48/12=4, Resulting Numbers: [32, 4] Generated Node #0,1,0: 64:[32, 4] Operation: 48/12=4 Exploring Operation: 48-12=36, Resulting Numbers: [32, 36] Generated Node #0,1,1: 64:[32, 36] Operation: 48-12=36 Exploring Operation: 48+12=60, Resulting Numbers: [32, 60] Generated Node #0,1,2: 64:[32, 60] Operation: 48+12=60 Exploring Operation: 32+48=80, Resulting Numbers: [12, 80] Generated Node #0,1,3: 64:[12, 80] Operation: 32+48=80 Exploring Operation: 48-32=16, Resulting Numbers: [12, 16] Generated Node #0,1,4: 64:[12, 16] Operation: 48-32=16 Moving to Node #0,1,0 Current State: 64:[32, 4], Operations: ['32-20=12', '48/12=4'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 32*4=128, Resulting Numbers: [128] 128,64 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[32, 60], Operations: ['32-20=12', '48+12=60'] Exploring Operation: 32*60=1920, Resulting Numbers: [1920] 1920,64 unequal: No Solution Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 32+60=92, Resulting Numbers: [92] 92,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[32, 36], Operations: ['32-20=12', '48-12=36'] Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,64 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,64 unequal: No Solution Moving to Node #0,1,4 Current State: 64:[12, 16], Operations: ['32-20=12', '48-32=16'] Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,64 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[12, 80], Operations: ['32-20=12', '32+48=80'] Exploring Operation: 12*80=960, Resulting Numbers: [960] 960,64 unequal: No Solution Exploring Operation: 80-12=68, Resulting Numbers: [68] 68,64 unequal: No Solution Exploring Operation: 12+80=92, Resulting Numbers: [92] 92,64 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 30, 21, 28, 50 ]
29
[ "30+21=51", "50-28=22", "51-22=29" ]
Current State: 29:[30, 21, 28, 50], Operations: [] Exploring Operation: 30+21=51, Resulting Numbers: [28, 50, 51] Generated Node #2: [28, 50, 51] from Operation: 30+21=51 Current State: 29:[28, 50, 51], Operations: ['30+21=51'] Exploring Operation: 50-28=22, Resulting Numbers: [51, 22] Generated Node #3: [51, 22] from Operation: 50-28=22 Current State: 29:[51, 22], Operations: ['30+21=51', '50-28=22'] Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[30, 21, 28, 50], Operations: [] Exploring Operation: 50-21=29, Resulting Numbers: [30, 28, 29] Generated Node #0,0: 29:[30, 28, 29] Operation: 50-21=29 Exploring Operation: 50-30=20, Resulting Numbers: [21, 28, 20] Generated Node #0,1: 29:[21, 28, 20] Operation: 50-30=20 Exploring Operation: 50-28=22, Resulting Numbers: [30, 21, 22] Generated Node #0,2: 29:[30, 21, 22] Operation: 50-28=22 Moving to Node #0,0 Current State: 29:[30, 28, 29], Operations: ['50-21=29'] Exploring Operation: 30-29=1, Resulting Numbers: [28, 1] Generated Node #0,0,0: 29:[28, 1] Operation: 30-29=1 Exploring Operation: 30+28=58, Resulting Numbers: [29, 58] Generated Node #0,0,1: 29:[29, 58] Operation: 30+28=58 Exploring Operation: 30-28=2, Resulting Numbers: [29, 2] Generated Node #0,0,2: 29:[29, 2] Operation: 30-28=2 Moving to Node #0,2 Current State: 29:[30, 21, 22], Operations: ['50-28=22'] Exploring Operation: 30+21=51, Resulting Numbers: [22, 51] Generated Node #0,2,0: 29:[22, 51] Operation: 30+21=51 Exploring Operation: 30-21=9, Resulting Numbers: [22, 9] Generated Node #0,2,1: 29:[22, 9] Operation: 30-21=9 Exploring Operation: 21+22=43, Resulting Numbers: [30, 43] Generated Node #0,2,2: 29:[30, 43] Operation: 21+22=43 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 29:[30, 43], Operations: ['50-28=22', '21+22=43'] Exploring Operation: 30+43=73, Resulting Numbers: [73] 73,29 unequal: No Solution Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 30*43=1290, Resulting Numbers: [1290] 1290,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,2,1 Current State: 29:[22, 9], Operations: ['50-28=22', '30-21=9'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,29 unequal: No Solution Exploring Operation: 22*9=198, Resulting Numbers: [198] 198,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,2,0 Current State: 29:[22, 51], Operations: ['50-28=22', '30+21=51'] Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[30, 21, 28, 50], Operations: [] Exploring Operation: 50-28=22, Resulting Numbers: [30, 21, 22] Generated Node #0,2: 29:[30, 21, 22] Operation: 50-28=22 Moving to Node #0,2 Current State: 29:[30, 21, 22], Operations: ['50-28=22'] Exploring Operation: 30+21=51, Resulting Numbers: [22, 51] Generated Node #0,2,0: 29:[22, 51] Operation: 30+21=51 Moving to Node #0,2,0 Current State: 29:[22, 51], Operations: ['50-28=22', '30+21=51'] Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_3
sum_heuristic
[ 62, 17, 22, 28 ]
31
[ "28-17=11", "62*11=682", "682/22=31" ]
Current State: 31:[62, 17, 22, 28], Operations: [] Exploring Operation: 28-17=11, Resulting Numbers: [62, 22, 11] Generated Node #2: [62, 22, 11] from Operation: 28-17=11 Current State: 31:[62, 22, 11], Operations: ['28-17=11'] Exploring Operation: 62*11=682, Resulting Numbers: [22, 682] Generated Node #3: [22, 682] from Operation: 62*11=682 Current State: 31:[22, 682], Operations: ['28-17=11', '62*11=682'] Exploring Operation: 682/22=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[62, 17, 22, 28], Operations: [] Exploring Operation: 62-28=34, Resulting Numbers: [17, 22, 34] Generated Node #0,0: 31:[17, 22, 34] Operation: 62-28=34 Exploring Operation: 17+28=45, Resulting Numbers: [62, 22, 45] Generated Node #0,1: 31:[62, 22, 45] Operation: 17+28=45 Exploring Operation: 17+22=39, Resulting Numbers: [62, 28, 39] Generated Node #0,2: 31:[62, 28, 39] Operation: 17+22=39 Exploring Operation: 62-17=45, Resulting Numbers: [22, 28, 45] Generated Node #0,3: 31:[22, 28, 45] Operation: 62-17=45 Exploring Operation: 62-22=40, Resulting Numbers: [17, 28, 40] Generated Node #0,4: 31:[17, 28, 40] Operation: 62-22=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[17, 22, 34], Operations: ['62-28=34'] Exploring Operation: 17+34=51, Resulting Numbers: [22, 51] Generated Node #0,0,0: 31:[22, 51] Operation: 17+34=51 Exploring Operation: 34-17=17, Resulting Numbers: [22, 17] Generated Node #0,0,1: 31:[22, 17] Operation: 34-17=17 Exploring Operation: 17+22=39, Resulting Numbers: [34, 39] Generated Node #0,0,2: 31:[34, 39] Operation: 17+22=39 Exploring Operation: 22-17=5, Resulting Numbers: [34, 5] Generated Node #0,0,3: 31:[34, 5] Operation: 22-17=5 Exploring Operation: 34-22=12, Resulting Numbers: [17, 12] Generated Node #0,0,4: 31:[17, 12] Operation: 34-22=12 Moving to Node #0,0,2 Current State: 31:[34, 39], Operations: ['62-28=34', '17+22=39'] Exploring Operation: 34*39=1326, Resulting Numbers: [1326] 1326,31 unequal: No Solution Exploring Operation: 34+39=73, Resulting Numbers: [73] 73,31 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[22, 17], Operations: ['62-28=34', '34-17=17'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[22, 51], Operations: ['62-28=34', '17+34=51'] Exploring Operation: 22+51=73, Resulting Numbers: [73] 73,31 unequal: No Solution Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,31 unequal: No Solution Exploring Operation: 22*51=1122, Resulting Numbers: [1122] 1122,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[34, 5], Operations: ['62-28=34', '22-17=5'] Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,31 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,31 unequal: No Solution Moving to Node #0,0,4 Current State: 31:[17, 12], Operations: ['62-28=34', '34-22=12'] Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,31 unequal: No Solution Exploring Operation: 17*12=204, Resulting Numbers: [204] 204,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 31:[22, 28, 45], Operations: ['62-17=45'] Exploring Operation: 45-28=17, Resulting Numbers: [22, 17] Generated Node #0,3,0: 31:[22, 17] Operation: 45-28=17 Exploring Operation: 28-22=6, Resulting Numbers: [45, 6] Generated Node #0,3,1: 31:[45, 6] Operation: 28-22=6 Exploring Operation: 22+28=50, Resulting Numbers: [45, 50] Generated Node #0,3,2: 31:[45, 50] Operation: 22+28=50 Exploring Operation: 22+45=67, Resulting Numbers: [28, 67] Generated Node #0,3,3: 31:[28, 67] Operation: 22+45=67 Exploring Operation: 45-22=23, Resulting Numbers: [28, 23] Generated Node #0,3,4: 31:[28, 23] Operation: 45-22=23 Moving to Node #0,3,4 Current State: 31:[28, 23], Operations: ['62-17=45', '45-22=23'] Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 28*23=644, Resulting Numbers: [644] 644,31 unequal: No Solution Exploring Operation: 28+23=51, Resulting Numbers: [51] 51,31 unequal: No Solution Moving to Node #0,3,0 Current State: 31:[22, 17], Operations: ['62-17=45', '45-28=17'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,31 unequal: No Solution Moving to Node #0,3,2 Current State: 31:[45, 50], Operations: ['62-17=45', '22+28=50'] Exploring Operation: 45*50=2250, Resulting Numbers: [2250] 2250,31 unequal: No Solution Exploring Operation: 45+50=95, Resulting Numbers: [95] 95,31 unequal: No Solution Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,3,1 Current State: 31:[45, 6], Operations: ['62-17=45', '28-22=6'] Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,31 unequal: No Solution Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,31 unequal: No Solution Moving to Node #0,3,3 Current State: 31:[28, 67], Operations: ['62-17=45', '22+45=67'] Exploring Operation: 28*67=1876, Resulting Numbers: [1876] 1876,31 unequal: No Solution Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 28+67=95, Resulting Numbers: [95] 95,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 31:[17, 28, 40], Operations: ['62-22=40'] Exploring Operation: 40-17=23, Resulting Numbers: [28, 23] Generated Node #0,4,0: 31:[28, 23] Operation: 40-17=23 Exploring Operation: 17+28=45, Resulting Numbers: [40, 45] Generated Node #0,4,1: 31:[40, 45] Operation: 17+28=45 Exploring Operation: 40-28=12, Resulting Numbers: [17, 12] Generated Node #0,4,2: 31:[17, 12] Operation: 40-28=12 Exploring Operation: 28-17=11, Resulting Numbers: [40, 11] Generated Node #0,4,3: 31:[40, 11] Operation: 28-17=11 Exploring Operation: 17+40=57, Resulting Numbers: [28, 57] Generated Node #0,4,4: 31:[28, 57] Operation: 17+40=57 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 31:[28, 23], Operations: ['62-22=40', '40-17=23'] Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 28*23=644, Resulting Numbers: [644] 644,31 unequal: No Solution Exploring Operation: 28+23=51, Resulting Numbers: [51] 51,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 31:[40, 45], Operations: ['62-22=40', '17+28=45'] Exploring Operation: 40+45=85, Resulting Numbers: [85] 85,31 unequal: No Solution Exploring Operation: 40*45=1800, Resulting Numbers: [1800] 1800,31 unequal: No Solution Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 31:[40, 11], Operations: ['62-22=40', '28-17=11'] Exploring Operation: 40+11=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 40*11=440, Resulting Numbers: [440] 440,31 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 31:[28, 57], Operations: ['62-22=40', '17+40=57'] Exploring Operation: 57-28=29, Resulting Numbers: [29] 29,31 unequal: No Solution Exploring Operation: 28+57=85, Resulting Numbers: [85] 85,31 unequal: No Solution Exploring Operation: 28*57=1596, Resulting Numbers: [1596] 1596,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 31:[17, 12], Operations: ['62-22=40', '40-28=12'] Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,31 unequal: No Solution Exploring Operation: 17*12=204, Resulting Numbers: [204] 204,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[62, 28, 39], Operations: ['17+22=39'] Exploring Operation: 62-39=23, Resulting Numbers: [28, 23] Generated Node #0,2,0: 31:[28, 23] Operation: 62-39=23 Exploring Operation: 28+39=67, Resulting Numbers: [62, 67] Generated Node #0,2,1: 31:[62, 67] Operation: 28+39=67 Exploring Operation: 62+28=90, Resulting Numbers: [39, 90] Generated Node #0,2,2: 31:[39, 90] Operation: 62+28=90 Exploring Operation: 62-28=34, Resulting Numbers: [39, 34] Generated Node #0,2,3: 31:[39, 34] Operation: 62-28=34 Exploring Operation: 39-28=11, Resulting Numbers: [62, 11] Generated Node #0,2,4: 31:[62, 11] Operation: 39-28=11 Moving to Node #0,2,0 Current State: 31:[28, 23], Operations: ['17+22=39', '62-39=23'] Exploring Operation: 28*23=644, Resulting Numbers: [644] 644,31 unequal: No Solution Exploring Operation: 28+23=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,2,3 Current State: 31:[39, 34], Operations: ['17+22=39', '62-28=34'] Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,31 unequal: No Solution Exploring Operation: 39*34=1326, Resulting Numbers: [1326] 1326,31 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,2,4 Current State: 31:[62, 11], Operations: ['17+22=39', '39-28=11'] Exploring Operation: 62*11=682, Resulting Numbers: [682] 682,31 unequal: No Solution Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 62+11=73, Resulting Numbers: [73] 73,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[62, 67], Operations: ['17+22=39', '28+39=67'] Exploring Operation: 62+67=129, Resulting Numbers: [129] 129,31 unequal: No Solution Exploring Operation: 62*67=4154, Resulting Numbers: [4154] 4154,31 unequal: No Solution Exploring Operation: 67-62=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[39, 90], Operations: ['17+22=39', '62+28=90'] Exploring Operation: 39*90=3510, Resulting Numbers: [3510] 3510,31 unequal: No Solution Exploring Operation: 39+90=129, Resulting Numbers: [129] 129,31 unequal: No Solution Exploring Operation: 90-39=51, Resulting Numbers: [51] 51,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[62, 22, 45], Operations: ['17+28=45'] Exploring Operation: 22+45=67, Resulting Numbers: [62, 67] Generated Node #0,1,0: 31:[62, 67] Operation: 22+45=67 Exploring Operation: 45-22=23, Resulting Numbers: [62, 23] Generated Node #0,1,1: 31:[62, 23] Operation: 45-22=23 Exploring Operation: 62-22=40, Resulting Numbers: [45, 40] Generated Node #0,1,2: 31:[45, 40] Operation: 62-22=40 Exploring Operation: 62+22=84, Resulting Numbers: [45, 84] Generated Node #0,1,3: 31:[45, 84] Operation: 62+22=84 Exploring Operation: 62-45=17, Resulting Numbers: [22, 17] Generated Node #0,1,4: 31:[22, 17] Operation: 62-45=17 Moving to Node #0,1,2 Current State: 31:[45, 40], Operations: ['17+28=45', '62-22=40'] Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 45+40=85, Resulting Numbers: [85] 85,31 unequal: No Solution Exploring Operation: 45*40=1800, Resulting Numbers: [1800] 1800,31 unequal: No Solution Moving to Node #0,1,4 Current State: 31:[22, 17], Operations: ['17+28=45', '62-45=17'] Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[62, 23], Operations: ['17+28=45', '45-22=23'] Exploring Operation: 62*23=1426, Resulting Numbers: [1426] 1426,31 unequal: No Solution Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 62+23=85, Resulting Numbers: [85] 85,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[62, 67], Operations: ['17+28=45', '22+45=67'] Exploring Operation: 67-62=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 62*67=4154, Resulting Numbers: [4154] 4154,31 unequal: No Solution Exploring Operation: 62+67=129, Resulting Numbers: [129] 129,31 unequal: No Solution Moving to Node #0,1,3 Current State: 31:[45, 84], Operations: ['17+28=45', '62+22=84'] Exploring Operation: 45+84=129, Resulting Numbers: [129] 129,31 unequal: No Solution Exploring Operation: 84-45=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 45*84=3780, Resulting Numbers: [3780] 3780,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 88, 68, 23, 17 ]
69
[ "88-68=20", "20-17=3", "23*3=69" ]
Current State: 69:[88, 68, 23, 17], Operations: [] Exploring Operation: 88-68=20, Resulting Numbers: [23, 17, 20] Generated Node #2: [23, 17, 20] from Operation: 88-68=20 Current State: 69:[23, 17, 20], Operations: ['88-68=20'] Exploring Operation: 20-17=3, Resulting Numbers: [23, 3] Generated Node #3: [23, 3] from Operation: 20-17=3 Current State: 69:[23, 3], Operations: ['88-68=20', '20-17=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[88, 68, 23, 17], Operations: [] Exploring Operation: 88-23=65, Resulting Numbers: [68, 17, 65] Generated Node #0,0: 69:[68, 17, 65] Operation: 88-23=65 Exploring Operation: 88-17=71, Resulting Numbers: [68, 23, 71] Generated Node #0,1: 69:[68, 23, 71] Operation: 88-17=71 Exploring Operation: 88-68=20, Resulting Numbers: [23, 17, 20] Generated Node #0,2: 69:[23, 17, 20] Operation: 88-68=20 Moving to Node #0,1 Current State: 69:[68, 23, 71], Operations: ['88-17=71'] Exploring Operation: 71-68=3, Resulting Numbers: [23, 3] Generated Node #0,1,0: 69:[23, 3] Operation: 71-68=3 Exploring Operation: 68+23=91, Resulting Numbers: [71, 91] Generated Node #0,1,1: 69:[71, 91] Operation: 68+23=91 Exploring Operation: 71-23=48, Resulting Numbers: [68, 48] Generated Node #0,1,2: 69:[68, 48] Operation: 71-23=48 Moving to Node #0,2 Current State: 69:[23, 17, 20], Operations: ['88-68=20'] Exploring Operation: 20-17=3, Resulting Numbers: [23, 3] Generated Node #0,2,0: 69:[23, 3] Operation: 20-17=3 Exploring Operation: 23-20=3, Resulting Numbers: [17, 3] Generated Node #0,2,1: 69:[17, 3] Operation: 23-20=3 Exploring Operation: 23-17=6, Resulting Numbers: [20, 6] Generated Node #0,2,2: 69:[20, 6] Operation: 23-17=6 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 69:[23, 3], Operations: ['88-68=20', '20-17=3'] Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[88, 68, 23, 17], Operations: [] Exploring Operation: 88-68=20, Resulting Numbers: [23, 17, 20] Generated Node #0,2: 69:[23, 17, 20] Operation: 88-68=20 Moving to Node #0,2 Current State: 69:[23, 17, 20], Operations: ['88-68=20'] Exploring Operation: 20-17=3, Resulting Numbers: [23, 3] Generated Node #0,2,0: 69:[23, 3] Operation: 20-17=3 Moving to Node #0,2,0 Current State: 69:[23, 3], Operations: ['88-68=20', '20-17=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 87, 5, 4, 17 ]
56
[ "87-17=70", "70/5=14", "4*14=56" ]
Current State: 56:[87, 5, 4, 17], Operations: [] Exploring Operation: 87-17=70, Resulting Numbers: [5, 4, 70] Generated Node #2: [5, 4, 70] from Operation: 87-17=70 Current State: 56:[5, 4, 70], Operations: ['87-17=70'] Exploring Operation: 70/5=14, Resulting Numbers: [4, 14] Generated Node #3: [4, 14] from Operation: 70/5=14 Current State: 56:[4, 14], Operations: ['87-17=70', '70/5=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[87, 5, 4, 17], Operations: [] Exploring Operation: 87-5=82, Resulting Numbers: [4, 17, 82] Generated Node #0,0: 56:[4, 17, 82] Operation: 87-5=82 Exploring Operation: 17-5=12, Resulting Numbers: [87, 4, 12] Generated Node #0,1: 56:[87, 4, 12] Operation: 17-5=12 Exploring Operation: 87-17=70, Resulting Numbers: [5, 4, 70] Generated Node #0,2: 56:[5, 4, 70] Operation: 87-17=70 Exploring Operation: 87-4=83, Resulting Numbers: [5, 17, 83] Generated Node #0,3: 56:[5, 17, 83] Operation: 87-4=83 Exploring Operation: 17-4=13, Resulting Numbers: [87, 5, 13] Generated Node #0,4: 56:[87, 5, 13] Operation: 17-4=13 Moving to Node #0,2 Current State: 56:[5, 4, 70], Operations: ['87-17=70'] Exploring Operation: 5+4=9, Resulting Numbers: [70, 9] Generated Node #0,2,0: 56:[70, 9] Operation: 5+4=9 Exploring Operation: 5-4=1, Resulting Numbers: [70, 1] Generated Node #0,2,1: 56:[70, 1] Operation: 5-4=1 Exploring Operation: 70-4=66, Resulting Numbers: [5, 66] Generated Node #0,2,2: 56:[5, 66] Operation: 70-4=66 Exploring Operation: 70-5=65, Resulting Numbers: [4, 65] Generated Node #0,2,3: 56:[4, 65] Operation: 70-5=65 Exploring Operation: 70/5=14, Resulting Numbers: [4, 14] Generated Node #0,2,4: 56:[4, 14] Operation: 70/5=14 Moving to Node #0,0 Current State: 56:[4, 17, 82], Operations: ['87-5=82'] Exploring Operation: 17-4=13, Resulting Numbers: [82, 13] Generated Node #0,0,0: 56:[82, 13] Operation: 17-4=13 Exploring Operation: 4+17=21, Resulting Numbers: [82, 21] Generated Node #0,0,1: 56:[82, 21] Operation: 4+17=21 Exploring Operation: 82-17=65, Resulting Numbers: [4, 65] Generated Node #0,0,2: 56:[4, 65] Operation: 82-17=65 Exploring Operation: 4+82=86, Resulting Numbers: [17, 86] Generated Node #0,0,3: 56:[17, 86] Operation: 4+82=86 Exploring Operation: 82-4=78, Resulting Numbers: [17, 78] Generated Node #0,0,4: 56:[17, 78] Operation: 82-4=78 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[4, 65], Operations: ['87-5=82', '82-17=65'] Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 4+65=69, Resulting Numbers: [69] 69,56 unequal: No Solution Exploring Operation: 4*65=260, Resulting Numbers: [260] 260,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 56:[17, 78], Operations: ['87-5=82', '82-4=78'] Exploring Operation: 17+78=95, Resulting Numbers: [95] 95,56 unequal: No Solution Exploring Operation: 17*78=1326, Resulting Numbers: [1326] 1326,56 unequal: No Solution Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[82, 13], Operations: ['87-5=82', '17-4=13'] Exploring Operation: 82*13=1066, Resulting Numbers: [1066] 1066,56 unequal: No Solution Exploring Operation: 82-13=69, Resulting Numbers: [69] 69,56 unequal: No Solution Exploring Operation: 82+13=95, Resulting Numbers: [95] 95,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[82, 21], Operations: ['87-5=82', '4+17=21'] Exploring Operation: 82+21=103, Resulting Numbers: [103] 103,56 unequal: No Solution Exploring Operation: 82*21=1722, Resulting Numbers: [1722] 1722,56 unequal: No Solution Exploring Operation: 82-21=61, Resulting Numbers: [61] 61,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 56:[17, 86], Operations: ['87-5=82', '4+82=86'] Exploring Operation: 86-17=69, Resulting Numbers: [69] 69,56 unequal: No Solution Exploring Operation: 17*86=1462, Resulting Numbers: [1462] 1462,56 unequal: No Solution Exploring Operation: 17+86=103, Resulting Numbers: [103] 103,56 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: 56:[5, 17, 83], Operations: ['87-4=83'] Exploring Operation: 83-17=66, Resulting Numbers: [5, 66] Generated Node #0,3,0: 56:[5, 66] Operation: 83-17=66 Exploring Operation: 83-5=78, Resulting Numbers: [17, 78] Generated Node #0,3,1: 56:[17, 78] Operation: 83-5=78 Exploring Operation: 5+17=22, Resulting Numbers: [83, 22] Generated Node #0,3,2: 56:[83, 22] Operation: 5+17=22 Exploring Operation: 17-5=12, Resulting Numbers: [83, 12] Generated Node #0,3,3: 56:[83, 12] Operation: 17-5=12 Exploring Operation: 5+83=88, Resulting Numbers: [17, 88] Generated Node #0,3,4: 56:[17, 88] Operation: 5+83=88 Moving to Node #0,1 Current State: 56:[87, 4, 12], Operations: ['17-5=12'] Exploring Operation: 87-4=83, Resulting Numbers: [12, 83] Generated Node #0,1,0: 56:[12, 83] Operation: 87-4=83 Exploring Operation: 4+12=16, Resulting Numbers: [87, 16] Generated Node #0,1,1: 56:[87, 16] Operation: 4+12=16 Exploring Operation: 12/4=3, Resulting Numbers: [87, 3] Generated Node #0,1,2: 56:[87, 3] Operation: 12/4=3 Exploring Operation: 12-4=8, Resulting Numbers: [87, 8] Generated Node #0,1,3: 56:[87, 8] Operation: 12-4=8 Exploring Operation: 87-12=75, Resulting Numbers: [4, 75] Generated Node #0,1,4: 56:[4, 75] Operation: 87-12=75 Moving to Node #0,4 Current State: 56:[87, 5, 13], Operations: ['17-4=13'] Exploring Operation: 5+13=18, Resulting Numbers: [87, 18] Generated Node #0,4,0: 56:[87, 18] Operation: 5+13=18 Exploring Operation: 87-5=82, Resulting Numbers: [13, 82] Generated Node #0,4,1: 56:[13, 82] Operation: 87-5=82 Exploring Operation: 87+5=92, Resulting Numbers: [13, 92] Generated Node #0,4,2: 56:[13, 92] Operation: 87+5=92 Exploring Operation: 87-13=74, Resulting Numbers: [5, 74] Generated Node #0,4,3: 56:[5, 74] Operation: 87-13=74 Exploring Operation: 13-5=8, Resulting Numbers: [87, 8] Generated Node #0,4,4: 56:[87, 8] Operation: 13-5=8 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 56:[5, 74], Operations: ['17-4=13', '87-13=74'] Exploring Operation: 5+74=79, Resulting Numbers: [79] 79,56 unequal: No Solution Exploring Operation: 5*74=370, Resulting Numbers: [370] 370,56 unequal: No Solution Exploring Operation: 74-5=69, Resulting Numbers: [69] 69,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 56:[13, 82], Operations: ['17-4=13', '87-5=82'] Exploring Operation: 82-13=69, Resulting Numbers: [69] 69,56 unequal: No Solution Exploring Operation: 13+82=95, Resulting Numbers: [95] 95,56 unequal: No Solution Exploring Operation: 13*82=1066, Resulting Numbers: [1066] 1066,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 56:[87, 8], Operations: ['17-4=13', '13-5=8'] Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,56 unequal: No Solution Exploring Operation: 87*8=696, Resulting Numbers: [696] 696,56 unequal: No Solution Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 56:[87, 18], Operations: ['17-4=13', '5+13=18'] Exploring Operation: 87*18=1566, Resulting Numbers: [1566] 1566,56 unequal: No Solution Exploring Operation: 87+18=105, Resulting Numbers: [105] 105,56 unequal: No Solution Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 56:[13, 92], Operations: ['17-4=13', '87+5=92'] Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,56 unequal: No Solution Exploring Operation: 13*92=1196, Resulting Numbers: [1196] 1196,56 unequal: No Solution Exploring Operation: 13+92=105, Resulting Numbers: [105] 105,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 56:[4, 14], Operations: ['87-17=70', '70/5=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[87, 5, 4, 17], Operations: [] Exploring Operation: 87-17=70, Resulting Numbers: [5, 4, 70] Generated Node #0,2: 56:[5, 4, 70] Operation: 87-17=70 Moving to Node #0,2 Current State: 56:[5, 4, 70], Operations: ['87-17=70'] Exploring Operation: 70/5=14, Resulting Numbers: [4, 14] Generated Node #0,2,4: 56:[4, 14] Operation: 70/5=14 Moving to Node #0,2,4 Current State: 56:[4, 14], Operations: ['87-17=70', '70/5=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.942708
hs_5
mult_heuristic
[ 60, 74, 49, 70 ]
34
[ "74-70=4", "60/4=15", "49-15=34" ]
Current State: 34:[60, 74, 49, 70], Operations: [] Exploring Operation: 74-70=4, Resulting Numbers: [60, 49, 4] Generated Node #2: [60, 49, 4] from Operation: 74-70=4 Current State: 34:[60, 49, 4], Operations: ['74-70=4'] Exploring Operation: 60/4=15, Resulting Numbers: [49, 15] Generated Node #3: [49, 15] from Operation: 60/4=15 Current State: 34:[49, 15], Operations: ['74-70=4', '60/4=15'] Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[60, 74, 49, 70], Operations: [] Exploring Operation: 74-70=4, Resulting Numbers: [60, 49, 4] Generated Node #0,0: 34:[60, 49, 4] Operation: 74-70=4 Exploring Operation: 74-60=14, Resulting Numbers: [49, 70, 14] Generated Node #0,1: 34:[49, 70, 14] Operation: 74-60=14 Exploring Operation: 70-60=10, Resulting Numbers: [74, 49, 10] Generated Node #0,2: 34:[74, 49, 10] Operation: 70-60=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[60, 49, 4], Operations: ['74-70=4'] Exploring Operation: 60-4=56, Resulting Numbers: [49, 56] Generated Node #0,0,0: 34:[49, 56] Operation: 60-4=56 Exploring Operation: 60/4=15, Resulting Numbers: [49, 15] Generated Node #0,0,1: 34:[49, 15] Operation: 60/4=15 Exploring Operation: 60-49=11, Resulting Numbers: [4, 11] Generated Node #0,0,2: 34:[4, 11] Operation: 60-49=11 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 34:[4, 11], Operations: ['74-70=4', '60-49=11'] Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 34:[49, 15], Operations: ['74-70=4', '60/4=15'] Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[60, 74, 49, 70], Operations: [] Exploring Operation: 74-70=4, Resulting Numbers: [60, 49, 4] Generated Node #0,0: 34:[60, 49, 4] Operation: 74-70=4 Moving to Node #0,0 Current State: 34:[60, 49, 4], Operations: ['74-70=4'] Exploring Operation: 60/4=15, Resulting Numbers: [49, 15] Generated Node #0,0,1: 34:[49, 15] Operation: 60/4=15 Moving to Node #0,0,1 Current State: 34:[49, 15], Operations: ['74-70=4', '60/4=15'] Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 39, 59, 16, 31 ]
57
[ "39-31=8", "16/8=2", "59-2=57" ]
Current State: 57:[39, 59, 16, 31], Operations: [] Exploring Operation: 39-31=8, Resulting Numbers: [59, 16, 8] Generated Node #2: [59, 16, 8] from Operation: 39-31=8 Current State: 57:[59, 16, 8], Operations: ['39-31=8'] Exploring Operation: 16/8=2, Resulting Numbers: [59, 2] Generated Node #3: [59, 2] from Operation: 16/8=2 Current State: 57:[59, 2], Operations: ['39-31=8', '16/8=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[39, 59, 16, 31], Operations: [] Exploring Operation: 39-31=8, Resulting Numbers: [59, 16, 8] Generated Node #0,0: 57:[59, 16, 8] Operation: 39-31=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[59, 16, 8], Operations: ['39-31=8'] Exploring Operation: 16/8=2, Resulting Numbers: [59, 2] Generated Node #0,0,0: 57:[59, 2] Operation: 16/8=2 Moving to Node #0,0,0 Current State: 57:[59, 2], Operations: ['39-31=8', '16/8=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[39, 59, 16, 31], Operations: [] Exploring Operation: 39-31=8, Resulting Numbers: [59, 16, 8] Generated Node #0,0: 57:[59, 16, 8] Operation: 39-31=8 Moving to Node #0,0 Current State: 57:[59, 16, 8], Operations: ['39-31=8'] Exploring Operation: 16/8=2, Resulting Numbers: [59, 2] Generated Node #0,0,0: 57:[59, 2] Operation: 16/8=2 Moving to Node #0,0,0 Current State: 57:[59, 2], Operations: ['39-31=8', '16/8=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 83, 9, 44, 73 ]
25
[ "83+9=92", "44+73=117", "117-92=25" ]
Current State: 25:[83, 9, 44, 73], Operations: [] Exploring Operation: 83+9=92, Resulting Numbers: [44, 73, 92] Generated Node #2: [44, 73, 92] from Operation: 83+9=92 Current State: 25:[44, 73, 92], Operations: ['83+9=92'] Exploring Operation: 44+73=117, Resulting Numbers: [92, 117] Generated Node #3: [92, 117] from Operation: 44+73=117 Current State: 25:[92, 117], Operations: ['83+9=92', '44+73=117'] Exploring Operation: 117-92=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[83, 9, 44, 73], Operations: [] Exploring Operation: 83-73=10, Resulting Numbers: [9, 44, 10] Generated Node #0,0: 25:[9, 44, 10] Operation: 83-73=10 Exploring Operation: 83-44=39, Resulting Numbers: [9, 73, 39] Generated Node #0,1: 25:[9, 73, 39] Operation: 83-44=39 Exploring Operation: 73-44=29, Resulting Numbers: [83, 9, 29] Generated Node #0,2: 25:[83, 9, 29] Operation: 73-44=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[9, 44, 10], Operations: ['83-73=10'] Exploring Operation: 10-9=1, Resulting Numbers: [44, 1] Generated Node #0,0,0: 25:[44, 1] Operation: 10-9=1 Exploring Operation: 44-10=34, Resulting Numbers: [9, 34] Generated Node #0,0,1: 25:[9, 34] Operation: 44-10=34 Exploring Operation: 44-9=35, Resulting Numbers: [10, 35] Generated Node #0,0,2: 25:[10, 35] Operation: 44-9=35 Moving to Node #0,0,1 Current State: 25:[9, 34], Operations: ['83-73=10', '44-10=34'] Exploring Operation: 9+34=43, Resulting Numbers: [43] 43,25 unequal: No Solution Exploring Operation: 9*34=306, Resulting Numbers: [306] 306,25 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[83, 9, 44, 73], Operations: [] Exploring Operation: 83-73=10, Resulting Numbers: [9, 44, 10] Generated Node #0,0: 25:[9, 44, 10] Operation: 83-73=10 Moving to Node #0,0 Current State: 25:[9, 44, 10], Operations: ['83-73=10'] Exploring Operation: 44-10=34, Resulting Numbers: [9, 34] Generated Node #0,0,1: 25:[9, 34] Operation: 44-10=34 Moving to Node #0,0,1 Current State: 25:[9, 34], Operations: ['83-73=10', '44-10=34'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 17, 73, 76, 84 ]
70
[ "17+73=90", "76+84=160", "160-90=70" ]
Current State: 70:[17, 73, 76, 84], Operations: [] Exploring Operation: 17+73=90, Resulting Numbers: [76, 84, 90] Generated Node #2: [76, 84, 90] from Operation: 17+73=90 Current State: 70:[76, 84, 90], Operations: ['17+73=90'] Exploring Operation: 76+84=160, Resulting Numbers: [90, 160] Generated Node #3: [90, 160] from Operation: 76+84=160 Current State: 70:[90, 160], Operations: ['17+73=90', '76+84=160'] Exploring Operation: 160-90=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[17, 73, 76, 84], Operations: [] Exploring Operation: 84-73=11, Resulting Numbers: [17, 76, 11] Generated Node #0,0: 70:[17, 76, 11] Operation: 84-73=11 Exploring Operation: 84-76=8, Resulting Numbers: [17, 73, 8] Generated Node #0,1: 70:[17, 73, 8] Operation: 84-76=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[17, 73, 8], Operations: ['84-76=8'] Exploring Operation: 73-8=65, Resulting Numbers: [17, 65] Generated Node #0,1,0: 70:[17, 65] Operation: 73-8=65 Exploring Operation: 17-8=9, Resulting Numbers: [73, 9] Generated Node #0,1,1: 70:[73, 9] Operation: 17-8=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 70:[73, 9], Operations: ['84-76=8', '17-8=9'] Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,70 unequal: No Solution Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 70:[17, 65], Operations: ['84-76=8', '73-8=65'] Exploring Operation: 65-17=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 17+65=82, Resulting Numbers: [82] 82,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[17, 76, 11], Operations: ['84-73=11'] Exploring Operation: 76-11=65, Resulting Numbers: [17, 65] Generated Node #0,0,0: 70:[17, 65] Operation: 76-11=65 Exploring Operation: 17-11=6, Resulting Numbers: [76, 6] Generated Node #0,0,1: 70:[76, 6] Operation: 17-11=6 Moving to Node #0,0,1 Current State: 70:[76, 6], Operations: ['84-73=11', '17-11=6'] Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[17, 73, 76, 84], Operations: [] Exploring Operation: 84-73=11, Resulting Numbers: [17, 76, 11] Generated Node #0,0: 70:[17, 76, 11] Operation: 84-73=11 Moving to Node #0,0 Current State: 70:[17, 76, 11], Operations: ['84-73=11'] Exploring Operation: 17-11=6, Resulting Numbers: [76, 6] Generated Node #0,0,1: 70:[76, 6] Operation: 17-11=6 Moving to Node #0,0,1 Current State: 70:[76, 6], Operations: ['84-73=11', '17-11=6'] Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 30, 92, 43, 34 ]
45
[ "30+92=122", "43+34=77", "122-77=45" ]
Current State: 45:[30, 92, 43, 34], Operations: [] Exploring Operation: 30+92=122, Resulting Numbers: [43, 34, 122] Generated Node #2: [43, 34, 122] from Operation: 30+92=122 Current State: 45:[43, 34, 122], Operations: ['30+92=122'] Exploring Operation: 43+34=77, Resulting Numbers: [122, 77] Generated Node #3: [122, 77] from Operation: 43+34=77 Current State: 45:[122, 77], Operations: ['30+92=122', '43+34=77'] Exploring Operation: 122-77=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[30, 92, 43, 34], Operations: [] Exploring Operation: 34-30=4, Resulting Numbers: [92, 43, 4] Generated Node #0,0: 45:[92, 43, 4] Operation: 34-30=4 Exploring Operation: 92-43=49, Resulting Numbers: [30, 34, 49] Generated Node #0,1: 45:[30, 34, 49] Operation: 92-43=49 Exploring Operation: 92-34=58, Resulting Numbers: [30, 43, 58] Generated Node #0,2: 45:[30, 43, 58] Operation: 92-34=58 Exploring Operation: 92-30=62, Resulting Numbers: [43, 34, 62] Generated Node #0,3: 45:[43, 34, 62] Operation: 92-30=62 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[30, 34, 49], Operations: ['92-43=49'] Exploring Operation: 49-34=15, Resulting Numbers: [30, 15] Generated Node #0,1,0: 45:[30, 15] Operation: 49-34=15 Exploring Operation: 34-30=4, Resulting Numbers: [49, 4] Generated Node #0,1,1: 45:[49, 4] Operation: 34-30=4 Exploring Operation: 49-30=19, Resulting Numbers: [34, 19] Generated Node #0,1,2: 45:[34, 19] Operation: 49-30=19 Exploring Operation: 30+34=64, Resulting Numbers: [49, 64] Generated Node #0,1,3: 45:[49, 64] Operation: 30+34=64 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 45:[49, 4], Operations: ['92-43=49', '34-30=4'] Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,45 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[30, 92, 43, 34], Operations: [] Exploring Operation: 92-43=49, Resulting Numbers: [30, 34, 49] Generated Node #0,1: 45:[30, 34, 49] Operation: 92-43=49 Moving to Node #0,1 Current State: 45:[30, 34, 49], Operations: ['92-43=49'] Exploring Operation: 34-30=4, Resulting Numbers: [49, 4] Generated Node #0,1,1: 45:[49, 4] Operation: 34-30=4 Moving to Node #0,1,1 Current State: 45:[49, 4], Operations: ['92-43=49', '34-30=4'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 69, 52, 76, 82 ]
19
[ "82-69=13", "52/13=4", "76/4=19" ]
Current State: 19:[69, 52, 76, 82], Operations: [] Exploring Operation: 82-69=13, Resulting Numbers: [52, 76, 13] Generated Node #2: [52, 76, 13] from Operation: 82-69=13 Current State: 19:[52, 76, 13], Operations: ['82-69=13'] Exploring Operation: 52/13=4, Resulting Numbers: [76, 4] Generated Node #3: [76, 4] from Operation: 52/13=4 Current State: 19:[76, 4], Operations: ['82-69=13', '52/13=4'] Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[69, 52, 76, 82], Operations: [] Exploring Operation: 82-69=13, Resulting Numbers: [52, 76, 13] Generated Node #0,0: 19:[52, 76, 13] Operation: 82-69=13 Exploring Operation: 82-52=30, Resulting Numbers: [69, 76, 30] Generated Node #0,1: 19:[69, 76, 30] Operation: 82-52=30 Exploring Operation: 76-52=24, Resulting Numbers: [69, 82, 24] Generated Node #0,2: 19:[69, 82, 24] Operation: 76-52=24 Exploring Operation: 76-69=7, Resulting Numbers: [52, 82, 7] Generated Node #0,3: 19:[52, 82, 7] Operation: 76-69=7 Exploring Operation: 82-76=6, Resulting Numbers: [69, 52, 6] Generated Node #0,4: 19:[69, 52, 6] Operation: 82-76=6 Moving to Node #0,0 Current State: 19:[52, 76, 13], Operations: ['82-69=13'] Exploring Operation: 52+13=65, Resulting Numbers: [76, 65] Generated Node #0,0,0: 19:[76, 65] Operation: 52+13=65 Exploring Operation: 52-13=39, Resulting Numbers: [76, 39] Generated Node #0,0,1: 19:[76, 39] Operation: 52-13=39 Exploring Operation: 52/13=4, Resulting Numbers: [76, 4] Generated Node #0,0,2: 19:[76, 4] Operation: 52/13=4 Exploring Operation: 76-13=63, Resulting Numbers: [52, 63] Generated Node #0,0,3: 19:[52, 63] Operation: 76-13=63 Exploring Operation: 76-52=24, Resulting Numbers: [13, 24] Generated Node #0,0,4: 19:[13, 24] Operation: 76-52=24 Moving to Node #0,4 Current State: 19:[69, 52, 6], Operations: ['82-76=6'] Exploring Operation: 69+6=75, Resulting Numbers: [52, 75] Generated Node #0,4,0: 19:[52, 75] Operation: 69+6=75 Exploring Operation: 52+6=58, Resulting Numbers: [69, 58] Generated Node #0,4,1: 19:[69, 58] Operation: 52+6=58 Exploring Operation: 69-52=17, Resulting Numbers: [6, 17] Generated Node #0,4,2: 19:[6, 17] Operation: 69-52=17 Exploring Operation: 52-6=46, Resulting Numbers: [69, 46] Generated Node #0,4,3: 19:[69, 46] Operation: 52-6=46 Exploring Operation: 69-6=63, Resulting Numbers: [52, 63] Generated Node #0,4,4: 19:[52, 63] Operation: 69-6=63 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 19:[6, 17], Operations: ['82-76=6', '69-52=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,19 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,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,4,3 Current State: 19:[69, 46], Operations: ['82-76=6', '52-6=46'] Exploring Operation: 69*46=3174, Resulting Numbers: [3174] 3174,19 unequal: No Solution Exploring Operation: 69+46=115, Resulting Numbers: [115] 115,19 unequal: No Solution Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,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,4,4 Current State: 19:[52, 63], Operations: ['82-76=6', '69-6=63'] Exploring Operation: 52*63=3276, Resulting Numbers: [3276] 3276,19 unequal: No Solution Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,19 unequal: No Solution Exploring Operation: 52+63=115, Resulting Numbers: [115] 115,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,4,0 Current State: 19:[52, 75], Operations: ['82-76=6', '69+6=75'] Exploring Operation: 52+75=127, Resulting Numbers: [127] 127,19 unequal: No Solution Exploring Operation: 52*75=3900, Resulting Numbers: [3900] 3900,19 unequal: No Solution Exploring Operation: 75-52=23, Resulting Numbers: [23] 23,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,4,1 Current State: 19:[69, 58], Operations: ['82-76=6', '52+6=58'] Exploring Operation: 69+58=127, Resulting Numbers: [127] 127,19 unequal: No Solution Exploring Operation: 69-58=11, Resulting Numbers: [11] 11,19 unequal: No Solution Exploring Operation: 69*58=4002, Resulting Numbers: [4002] 4002,19 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: 19:[52, 82, 7], Operations: ['76-69=7'] Exploring Operation: 52-7=45, Resulting Numbers: [82, 45] Generated Node #0,3,0: 19:[82, 45] Operation: 52-7=45 Exploring Operation: 82+7=89, Resulting Numbers: [52, 89] Generated Node #0,3,1: 19:[52, 89] Operation: 82+7=89 Exploring Operation: 82-52=30, Resulting Numbers: [7, 30] Generated Node #0,3,2: 19:[7, 30] Operation: 82-52=30 Exploring Operation: 82-7=75, Resulting Numbers: [52, 75] Generated Node #0,3,3: 19:[52, 75] Operation: 82-7=75 Exploring Operation: 52+7=59, Resulting Numbers: [82, 59] Generated Node #0,3,4: 19:[82, 59] Operation: 52+7=59 Moving to Node #0,1 Current State: 19:[69, 76, 30], Operations: ['82-52=30'] Exploring Operation: 69+30=99, Resulting Numbers: [76, 99] Generated Node #0,1,0: 19:[76, 99] Operation: 69+30=99 Exploring Operation: 69-30=39, Resulting Numbers: [76, 39] Generated Node #0,1,1: 19:[76, 39] Operation: 69-30=39 Exploring Operation: 69+76=145, Resulting Numbers: [30, 145] Generated Node #0,1,2: 19:[30, 145] Operation: 69+76=145 Exploring Operation: 76-30=46, Resulting Numbers: [69, 46] Generated Node #0,1,3: 19:[69, 46] Operation: 76-30=46 Exploring Operation: 76-69=7, Resulting Numbers: [30, 7] Generated Node #0,1,4: 19:[30, 7] Operation: 76-69=7 Moving to Node #0,2 Current State: 19:[69, 82, 24], Operations: ['76-52=24'] Exploring Operation: 69-24=45, Resulting Numbers: [82, 45] Generated Node #0,2,0: 19:[82, 45] Operation: 69-24=45 Exploring Operation: 69+82=151, Resulting Numbers: [24, 151] Generated Node #0,2,1: 19:[24, 151] Operation: 69+82=151 Exploring Operation: 82-69=13, Resulting Numbers: [24, 13] Generated Node #0,2,2: 19:[24, 13] Operation: 82-69=13 Exploring Operation: 69+24=93, Resulting Numbers: [82, 93] Generated Node #0,2,3: 19:[82, 93] Operation: 69+24=93 Exploring Operation: 82-24=58, Resulting Numbers: [69, 58] Generated Node #0,2,4: 19:[69, 58] Operation: 82-24=58 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 19:[24, 13], Operations: ['76-52=24', '82-69=13'] Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,19 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,19 unequal: No Solution Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,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,2,0 Current State: 19:[82, 45], Operations: ['76-52=24', '69-24=45'] Exploring Operation: 82*45=3690, Resulting Numbers: [3690] 3690,19 unequal: No Solution Exploring Operation: 82-45=37, Resulting Numbers: [37] 37,19 unequal: No Solution Exploring Operation: 82+45=127, Resulting Numbers: [127] 127,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,2,4 Current State: 19:[69, 58], Operations: ['76-52=24', '82-24=58'] Exploring Operation: 69+58=127, Resulting Numbers: [127] 127,19 unequal: No Solution Exploring Operation: 69*58=4002, Resulting Numbers: [4002] 4002,19 unequal: No Solution Exploring Operation: 69-58=11, Resulting Numbers: [11] 11,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,2,1 Current State: 19:[24, 151], Operations: ['76-52=24', '69+82=151'] Exploring Operation: 151-24=127, Resulting Numbers: [127] 127,19 unequal: No Solution Exploring Operation: 24+151=175, Resulting Numbers: [175] 175,19 unequal: No Solution Exploring Operation: 24*151=3624, Resulting Numbers: [3624] 3624,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,2,3 Current State: 19:[82, 93], Operations: ['76-52=24', '69+24=93'] Exploring Operation: 82+93=175, Resulting Numbers: [175] 175,19 unequal: No Solution Exploring Operation: 82*93=7626, Resulting Numbers: [7626] 7626,19 unequal: No Solution Exploring Operation: 93-82=11, Resulting Numbers: [11] 11,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 19:[13, 24], Operations: ['82-69=13', '76-52=24'] Exploring Operation: 13*24=312, Resulting Numbers: [312] 312,19 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,19 unequal: No Solution Exploring Operation: 13+24=37, Resulting Numbers: [37] 37,19 unequal: No Solution Moving to Node #0,3,2 Current State: 19:[7, 30], Operations: ['76-69=7', '82-52=30'] Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,19 unequal: No Solution Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,19 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,19 unequal: No Solution Moving to Node #0,1,4 Current State: 19:[30, 7], Operations: ['82-52=30', '76-69=7'] Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,19 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[76, 4], Operations: ['82-69=13', '52/13=4'] Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[69, 52, 76, 82], Operations: [] Exploring Operation: 82-69=13, Resulting Numbers: [52, 76, 13] Generated Node #0,0: 19:[52, 76, 13] Operation: 82-69=13 Moving to Node #0,0 Current State: 19:[52, 76, 13], Operations: ['82-69=13'] Exploring Operation: 52/13=4, Resulting Numbers: [76, 4] Generated Node #0,0,2: 19:[76, 4] Operation: 52/13=4 Moving to Node #0,0,2 Current State: 19:[76, 4], Operations: ['82-69=13', '52/13=4'] Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.935764
hs_5
sum_heuristic
[ 19, 82, 33, 3 ]
99
[ "82-19=63", "33+3=36", "63+36=99" ]
Current State: 99:[19, 82, 33, 3], Operations: [] Exploring Operation: 82-19=63, Resulting Numbers: [33, 3, 63] Generated Node #2: [33, 3, 63] from Operation: 82-19=63 Current State: 99:[33, 3, 63], Operations: ['82-19=63'] Exploring Operation: 33+3=36, Resulting Numbers: [63, 36] Generated Node #3: [63, 36] from Operation: 33+3=36 Current State: 99:[63, 36], Operations: ['82-19=63', '33+3=36'] Exploring Operation: 63+36=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[19, 82, 33, 3], Operations: [] Exploring Operation: 19+82=101, Resulting Numbers: [33, 3, 101] Generated Node #0,0: 99:[33, 3, 101] Operation: 19+82=101 Exploring Operation: 82+3=85, Resulting Numbers: [19, 33, 85] Generated Node #0,1: 99:[19, 33, 85] Operation: 82+3=85 Exploring Operation: 82+33=115, Resulting Numbers: [19, 3, 115] Generated Node #0,2: 99:[19, 3, 115] Operation: 82+33=115 Exploring Operation: 19-3=16, Resulting Numbers: [82, 33, 16] Generated Node #0,3: 99:[82, 33, 16] Operation: 19-3=16 Exploring Operation: 33-19=14, Resulting Numbers: [82, 3, 14] Generated Node #0,4: 99:[82, 3, 14] Operation: 33-19=14 Moving to Node #0,0 Current State: 99:[33, 3, 101], Operations: ['19+82=101'] Exploring Operation: 33+3=36, Resulting Numbers: [101, 36] Generated Node #0,0,0: 99:[101, 36] Operation: 33+3=36 Exploring Operation: 33-3=30, Resulting Numbers: [101, 30] Generated Node #0,0,1: 99:[101, 30] Operation: 33-3=30 Exploring Operation: 33/3=11, Resulting Numbers: [101, 11] Generated Node #0,0,2: 99:[101, 11] Operation: 33/3=11 Exploring Operation: 33*3=99, Resulting Numbers: [101, 99] Generated Node #0,0,3: 99:[101, 99] Operation: 33*3=99 Exploring Operation: 101-3=98, Resulting Numbers: [33, 98] Generated Node #0,0,4: 99:[33, 98] Operation: 101-3=98 Moving to Node #0,4 Current State: 99:[82, 3, 14], Operations: ['33-19=14'] Exploring Operation: 82+3=85, Resulting Numbers: [14, 85] Generated Node #0,4,0: 99:[14, 85] Operation: 82+3=85 Exploring Operation: 82-3=79, Resulting Numbers: [14, 79] Generated Node #0,4,1: 99:[14, 79] Operation: 82-3=79 Exploring Operation: 82+14=96, Resulting Numbers: [3, 96] Generated Node #0,4,2: 99:[3, 96] Operation: 82+14=96 Exploring Operation: 14-3=11, Resulting Numbers: [82, 11] Generated Node #0,4,3: 99:[82, 11] Operation: 14-3=11 Exploring Operation: 3+14=17, Resulting Numbers: [82, 17] Generated Node #0,4,4: 99:[82, 17] Operation: 3+14=17 Moving to Node #0,1 Current State: 99:[19, 33, 85], Operations: ['82+3=85'] Exploring Operation: 85-33=52, Resulting Numbers: [19, 52] Generated Node #0,1,0: 99:[19, 52] Operation: 85-33=52 Exploring Operation: 19+85=104, Resulting Numbers: [33, 104] Generated Node #0,1,1: 99:[33, 104] Operation: 19+85=104 Exploring Operation: 33+85=118, Resulting Numbers: [19, 118] Generated Node #0,1,2: 99:[19, 118] Operation: 33+85=118 Exploring Operation: 33-19=14, Resulting Numbers: [85, 14] Generated Node #0,1,3: 99:[85, 14] Operation: 33-19=14 Exploring Operation: 19+33=52, Resulting Numbers: [85, 52] Generated Node #0,1,4: 99:[85, 52] Operation: 19+33=52 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 99:[33, 104], Operations: ['82+3=85', '19+85=104'] Exploring Operation: 104-33=71, Resulting Numbers: [71] 71,99 unequal: No Solution Exploring Operation: 33+104=137, Resulting Numbers: [137] 137,99 unequal: No Solution Exploring Operation: 33*104=3432, Resulting Numbers: [3432] 3432,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 99:[85, 14], Operations: ['82+3=85', '33-19=14'] Exploring Operation: 85*14=1190, Resulting Numbers: [1190] 1190,99 unequal: No Solution Exploring Operation: 85+14=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[19, 82, 33, 3], Operations: [] Exploring Operation: 82+3=85, Resulting Numbers: [19, 33, 85] Generated Node #0,1: 99:[19, 33, 85] Operation: 82+3=85 Moving to Node #0,1 Current State: 99:[19, 33, 85], Operations: ['82+3=85'] Exploring Operation: 33-19=14, Resulting Numbers: [85, 14] Generated Node #0,1,3: 99:[85, 14] Operation: 33-19=14 Moving to Node #0,1,3 Current State: 99:[85, 14], Operations: ['82+3=85', '33-19=14'] Exploring Operation: 85+14=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_5
mult_heuristic
[ 20, 69, 96, 62 ]
15
[ "69-20=49", "96-62=34", "49-34=15" ]
Current State: 15:[20, 69, 96, 62], Operations: [] Exploring Operation: 69-20=49, Resulting Numbers: [96, 62, 49] Generated Node #2: [96, 62, 49] from Operation: 69-20=49 Current State: 15:[96, 62, 49], Operations: ['69-20=49'] Exploring Operation: 96-62=34, Resulting Numbers: [49, 34] Generated Node #3: [49, 34] from Operation: 96-62=34 Current State: 15:[49, 34], Operations: ['69-20=49', '96-62=34'] Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[20, 69, 96, 62], Operations: [] Exploring Operation: 96-69=27, Resulting Numbers: [20, 62, 27] Generated Node #0,0: 15:[20, 62, 27] Operation: 96-69=27 Exploring Operation: 96-62=34, Resulting Numbers: [20, 69, 34] Generated Node #0,1: 15:[20, 69, 34] Operation: 96-62=34 Exploring Operation: 69-62=7, Resulting Numbers: [20, 96, 7] Generated Node #0,2: 15:[20, 96, 7] Operation: 69-62=7 Exploring Operation: 69-20=49, Resulting Numbers: [96, 62, 49] Generated Node #0,3: 15:[96, 62, 49] Operation: 69-20=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[20, 62, 27], Operations: ['96-69=27'] Exploring Operation: 20+62=82, Resulting Numbers: [27, 82] Generated Node #0,0,0: 15:[27, 82] Operation: 20+62=82 Exploring Operation: 62-27=35, Resulting Numbers: [20, 35] Generated Node #0,0,1: 15:[20, 35] Operation: 62-27=35 Exploring Operation: 62-20=42, Resulting Numbers: [27, 42] Generated Node #0,0,2: 15:[27, 42] Operation: 62-20=42 Exploring Operation: 27-20=7, Resulting Numbers: [62, 7] Generated Node #0,0,3: 15:[62, 7] Operation: 27-20=7 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 15:[20, 35], Operations: ['96-69=27', '62-27=35'] Exploring Operation: 20*35=700, Resulting Numbers: [700] 700,15 unequal: No Solution Exploring Operation: 20+35=55, Resulting Numbers: [55] 55,15 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[20, 69, 96, 62], Operations: [] Exploring Operation: 96-69=27, Resulting Numbers: [20, 62, 27] Generated Node #0,0: 15:[20, 62, 27] Operation: 96-69=27 Moving to Node #0,0 Current State: 15:[20, 62, 27], Operations: ['96-69=27'] Exploring Operation: 62-27=35, Resulting Numbers: [20, 35] Generated Node #0,0,1: 15:[20, 35] Operation: 62-27=35 Moving to Node #0,0,1 Current State: 15:[20, 35], Operations: ['96-69=27', '62-27=35'] Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 46, 2, 88, 11 ]
51
[ "46+2=48", "88+11=99", "99-48=51" ]
Current State: 51:[46, 2, 88, 11], Operations: [] Exploring Operation: 46+2=48, Resulting Numbers: [88, 11, 48] Generated Node #2: [88, 11, 48] from Operation: 46+2=48 Current State: 51:[88, 11, 48], Operations: ['46+2=48'] Exploring Operation: 88+11=99, Resulting Numbers: [48, 99] Generated Node #3: [48, 99] from Operation: 88+11=99 Current State: 51:[48, 99], Operations: ['46+2=48', '88+11=99'] Exploring Operation: 99-48=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[46, 2, 88, 11], Operations: [] Exploring Operation: 88/11=8, Resulting Numbers: [46, 2, 8] Generated Node #0,0: 51:[46, 2, 8] Operation: 88/11=8 Exploring Operation: 88-46=42, Resulting Numbers: [2, 11, 42] Generated Node #0,1: 51:[2, 11, 42] Operation: 88-46=42 Exploring Operation: 88/2=44, Resulting Numbers: [46, 11, 44] Generated Node #0,2: 51:[46, 11, 44] Operation: 88/2=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[46, 2, 8], Operations: ['88/11=8'] Exploring Operation: 8/2=4, Resulting Numbers: [46, 4] Generated Node #0,0,0: 51:[46, 4] Operation: 8/2=4 Exploring Operation: 46+8=54, Resulting Numbers: [2, 54] Generated Node #0,0,1: 51:[2, 54] Operation: 46+8=54 Exploring Operation: 2*8=16, Resulting Numbers: [46, 16] Generated Node #0,0,2: 51:[46, 16] Operation: 2*8=16 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[2, 54], Operations: ['88/11=8', '46+8=54'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,51 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[46, 4], Operations: ['88/11=8', '8/2=4'] Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,51 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 51:[46, 16], Operations: ['88/11=8', '2*8=16'] Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,51 unequal: No Solution Exploring Operation: 46*16=736, Resulting Numbers: [736] 736,51 unequal: No Solution Exploring Operation: 46+16=62, Resulting Numbers: [62] 62,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[2, 11, 42], Operations: ['88-46=42'] Exploring Operation: 42/2=21, Resulting Numbers: [11, 21] Generated Node #0,1,0: 51:[11, 21] Operation: 42/2=21 Exploring Operation: 11+42=53, Resulting Numbers: [2, 53] Generated Node #0,1,1: 51:[2, 53] Operation: 11+42=53 Exploring Operation: 2+11=13, Resulting Numbers: [42, 13] Generated Node #0,1,2: 51:[42, 13] Operation: 2+11=13 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 51:[2, 53], Operations: ['88-46=42', '11+42=53'] Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,51 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[46, 2, 88, 11], Operations: [] Exploring Operation: 88-46=42, Resulting Numbers: [2, 11, 42] Generated Node #0,1: 51:[2, 11, 42] Operation: 88-46=42 Moving to Node #0,1 Current State: 51:[2, 11, 42], Operations: ['88-46=42'] Exploring Operation: 11+42=53, Resulting Numbers: [2, 53] Generated Node #0,1,1: 51:[2, 53] Operation: 11+42=53 Moving to Node #0,1,1 Current State: 51:[2, 53], Operations: ['88-46=42', '11+42=53'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 26, 8, 56, 52 ]
19
[ "52-26=26", "56/8=7", "26-7=19" ]
Current State: 19:[26, 8, 56, 52], Operations: [] Exploring Operation: 52-26=26, Resulting Numbers: [8, 56, 26] Generated Node #2: [8, 56, 26] from Operation: 52-26=26 Current State: 19:[8, 56, 26], Operations: ['52-26=26'] Exploring Operation: 56/8=7, Resulting Numbers: [26, 7] Generated Node #3: [26, 7] from Operation: 56/8=7 Current State: 19:[26, 7], Operations: ['52-26=26', '56/8=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[26, 8, 56, 52], Operations: [] Exploring Operation: 56/8=7, Resulting Numbers: [26, 52, 7] Generated Node #0,0: 19:[26, 52, 7] Operation: 56/8=7 Exploring Operation: 56-52=4, Resulting Numbers: [26, 8, 4] Generated Node #0,1: 19:[26, 8, 4] Operation: 56-52=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[26, 8, 4], Operations: ['56-52=4'] Exploring Operation: 26-4=22, Resulting Numbers: [8, 22] Generated Node #0,1,0: 19:[8, 22] Operation: 26-4=22 Exploring Operation: 8+4=12, Resulting Numbers: [26, 12] Generated Node #0,1,1: 19:[26, 12] Operation: 8+4=12 Moving to Node #0,1,0 Current State: 19:[8, 22], Operations: ['56-52=4', '26-4=22'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[26, 12], Operations: ['56-52=4', '8+4=12'] Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[26, 52, 7], Operations: ['56/8=7'] Exploring Operation: 52-26=26, Resulting Numbers: [7, 26] Generated Node #0,0,0: 19:[7, 26] Operation: 52-26=26 Exploring Operation: 52/26=2, Resulting Numbers: [7, 2] Generated Node #0,0,1: 19:[7, 2] Operation: 52/26=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[7, 26], Operations: ['56/8=7', '52-26=26'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[26, 8, 56, 52], Operations: [] Exploring Operation: 56/8=7, Resulting Numbers: [26, 52, 7] Generated Node #0,0: 19:[26, 52, 7] Operation: 56/8=7 Moving to Node #0,0 Current State: 19:[26, 52, 7], Operations: ['56/8=7'] Exploring Operation: 52-26=26, Resulting Numbers: [7, 26] Generated Node #0,0,0: 19:[7, 26] Operation: 52-26=26 Moving to Node #0,0,0 Current State: 19:[7, 26], Operations: ['56/8=7', '52-26=26'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 24, 19, 32, 93 ]
14
[ "32-24=8", "19+93=112", "112/8=14" ]
Current State: 14:[24, 19, 32, 93], Operations: [] Exploring Operation: 32-24=8, Resulting Numbers: [19, 93, 8] Generated Node #2: [19, 93, 8] from Operation: 32-24=8 Current State: 14:[19, 93, 8], Operations: ['32-24=8'] Exploring Operation: 19+93=112, Resulting Numbers: [8, 112] Generated Node #3: [8, 112] from Operation: 19+93=112 Current State: 14:[8, 112], Operations: ['32-24=8', '19+93=112'] Exploring Operation: 112/8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[24, 19, 32, 93], Operations: [] Exploring Operation: 93-32=61, Resulting Numbers: [24, 19, 61] Generated Node #0,0: 14:[24, 19, 61] Operation: 93-32=61 Exploring Operation: 93-19=74, Resulting Numbers: [24, 32, 74] Generated Node #0,1: 14:[24, 32, 74] Operation: 93-19=74 Exploring Operation: 32-24=8, Resulting Numbers: [19, 93, 8] Generated Node #0,2: 14:[19, 93, 8] Operation: 32-24=8 Exploring Operation: 93-24=69, Resulting Numbers: [19, 32, 69] Generated Node #0,3: 14:[19, 32, 69] Operation: 93-24=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[24, 19, 61], Operations: ['93-32=61'] Exploring Operation: 24-19=5, Resulting Numbers: [61, 5] Generated Node #0,0,0: 14:[61, 5] Operation: 24-19=5 Exploring Operation: 61-24=37, Resulting Numbers: [19, 37] Generated Node #0,0,1: 14:[19, 37] Operation: 61-24=37 Exploring Operation: 61-19=42, Resulting Numbers: [24, 42] Generated Node #0,0,2: 14:[24, 42] Operation: 61-19=42 Exploring Operation: 24+19=43, Resulting Numbers: [61, 43] Generated Node #0,0,3: 14:[61, 43] Operation: 24+19=43 Moving to Node #0,0,1 Current State: 14:[19, 37], Operations: ['93-32=61', '61-24=37'] Exploring Operation: 19*37=703, Resulting Numbers: [703] 703,14 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[24, 42], Operations: ['93-32=61', '61-19=42'] Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,14 unequal: No Solution Exploring Operation: 24*42=1008, Resulting Numbers: [1008] 1008,14 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[61, 5], Operations: ['93-32=61', '24-19=5'] Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,14 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,14 unequal: No Solution Exploring Operation: 61*5=305, Resulting Numbers: [305] 305,14 unequal: No Solution Moving to Node #0,0,3 Current State: 14:[61, 43], Operations: ['93-32=61', '24+19=43'] Exploring Operation: 61*43=2623, Resulting Numbers: [2623] 2623,14 unequal: No Solution Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 61+43=104, Resulting Numbers: [104] 104,14 unequal: No Solution No 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: 14:[19, 32, 69], Operations: ['93-24=69'] Exploring Operation: 69-19=50, Resulting Numbers: [32, 50] Generated Node #0,3,0: 14:[32, 50] Operation: 69-19=50 Exploring Operation: 19+32=51, Resulting Numbers: [69, 51] Generated Node #0,3,1: 14:[69, 51] Operation: 19+32=51 Exploring Operation: 69-32=37, Resulting Numbers: [19, 37] Generated Node #0,3,2: 14:[19, 37] Operation: 69-32=37 Exploring Operation: 32-19=13, Resulting Numbers: [69, 13] Generated Node #0,3,3: 14:[69, 13] Operation: 32-19=13 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 14:[19, 37], Operations: ['93-24=69', '69-32=37'] Exploring Operation: 19*37=703, Resulting Numbers: [703] 703,14 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 14:[32, 50], Operations: ['93-24=69', '69-19=50'] Exploring Operation: 32*50=1600, Resulting Numbers: [1600] 1600,14 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 14:[69, 13], Operations: ['93-24=69', '32-19=13'] Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,14 unequal: No Solution Exploring Operation: 69*13=897, Resulting Numbers: [897] 897,14 unequal: No Solution Exploring Operation: 69+13=82, Resulting Numbers: [82] 82,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 14:[69, 51], Operations: ['93-24=69', '19+32=51'] Exploring Operation: 69+51=120, Resulting Numbers: [120] 120,14 unequal: No Solution Exploring Operation: 69*51=3519, Resulting Numbers: [3519] 3519,14 unequal: No Solution Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[19, 93, 8], Operations: ['32-24=8'] Exploring Operation: 93-8=85, Resulting Numbers: [19, 85] Generated Node #0,2,0: 14:[19, 85] Operation: 93-8=85 Exploring Operation: 19-8=11, Resulting Numbers: [93, 11] Generated Node #0,2,1: 14:[93, 11] Operation: 19-8=11 Exploring Operation: 19+8=27, Resulting Numbers: [93, 27] Generated Node #0,2,2: 14:[93, 27] Operation: 19+8=27 Exploring Operation: 93-19=74, Resulting Numbers: [8, 74] Generated Node #0,2,3: 14:[8, 74] Operation: 93-19=74 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 14:[8, 74], Operations: ['32-24=8', '93-19=74'] Exploring Operation: 8*74=592, Resulting Numbers: [592] 592,14 unequal: No Solution Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,14 unequal: No Solution Exploring Operation: 8+74=82, Resulting Numbers: [82] 82,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 14:[19, 85], Operations: ['32-24=8', '93-8=85'] Exploring Operation: 19*85=1615, Resulting Numbers: [1615] 1615,14 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,14 unequal: No Solution Exploring Operation: 19+85=104, Resulting Numbers: [104] 104,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 14:[93, 11], Operations: ['32-24=8', '19-8=11'] Exploring Operation: 93-11=82, Resulting Numbers: [82] 82,14 unequal: No Solution Exploring Operation: 93+11=104, Resulting Numbers: [104] 104,14 unequal: No Solution Exploring Operation: 93*11=1023, Resulting Numbers: [1023] 1023,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 14:[93, 27], Operations: ['32-24=8', '19+8=27'] Exploring Operation: 93+27=120, Resulting Numbers: [120] 120,14 unequal: No Solution Exploring Operation: 93*27=2511, Resulting Numbers: [2511] 2511,14 unequal: No Solution Exploring Operation: 93-27=66, Resulting Numbers: [66] 66,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[24, 32, 74], Operations: ['93-19=74'] Exploring Operation: 32-24=8, Resulting Numbers: [74, 8] Generated Node #0,1,0: 14:[74, 8] Operation: 32-24=8 Exploring Operation: 24+32=56, Resulting Numbers: [74, 56] Generated Node #0,1,1: 14:[74, 56] Operation: 24+32=56 Exploring Operation: 74-32=42, Resulting Numbers: [24, 42] Generated Node #0,1,2: 14:[24, 42] Operation: 74-32=42 Exploring Operation: 74-24=50, Resulting Numbers: [32, 50] Generated Node #0,1,3: 14:[32, 50] Operation: 74-24=50 Moving to Node #0,1,2 Current State: 14:[24, 42], Operations: ['93-19=74', '74-32=42'] Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 24*42=1008, Resulting Numbers: [1008] 1008,14 unequal: No Solution Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,14 unequal: No Solution Moving to Node #0,1,3 Current State: 14:[32, 50], Operations: ['93-19=74', '74-24=50'] Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,14 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 32*50=1600, Resulting Numbers: [1600] 1600,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[74, 8], Operations: ['93-19=74', '32-24=8'] Exploring Operation: 74*8=592, Resulting Numbers: [592] 592,14 unequal: No Solution Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,14 unequal: No Solution Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[74, 56], Operations: ['93-19=74', '24+32=56'] Exploring Operation: 74+56=130, Resulting Numbers: [130] 130,14 unequal: No Solution Exploring Operation: 74*56=4144, Resulting Numbers: [4144] 4144,14 unequal: No Solution Exploring Operation: 74-56=18, Resulting Numbers: [18] 18,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 4, 30, 29, 42 ]
77
[ "42-30=12", "4*12=48", "29+48=77" ]
Current State: 77:[4, 30, 29, 42], Operations: [] Exploring Operation: 42-30=12, Resulting Numbers: [4, 29, 12] Generated Node #2: [4, 29, 12] from Operation: 42-30=12 Current State: 77:[4, 29, 12], Operations: ['42-30=12'] Exploring Operation: 4*12=48, Resulting Numbers: [29, 48] Generated Node #3: [29, 48] from Operation: 4*12=48 Current State: 77:[29, 48], Operations: ['42-30=12', '4*12=48'] Exploring Operation: 29+48=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[4, 30, 29, 42], Operations: [] Exploring Operation: 42-29=13, Resulting Numbers: [4, 30, 13] Generated Node #0,0: 77:[4, 30, 13] Operation: 42-29=13 Exploring Operation: 30+42=72, Resulting Numbers: [4, 29, 72] Generated Node #0,1: 77:[4, 29, 72] Operation: 30+42=72 Exploring Operation: 29+42=71, Resulting Numbers: [4, 30, 71] Generated Node #0,2: 77:[4, 30, 71] Operation: 29+42=71 Exploring Operation: 42-30=12, Resulting Numbers: [4, 29, 12] Generated Node #0,3: 77:[4, 29, 12] Operation: 42-30=12 Exploring Operation: 30-29=1, Resulting Numbers: [4, 42, 1] Generated Node #0,4: 77:[4, 42, 1] Operation: 30-29=1 Moving to Node #0,3 Current State: 77:[4, 29, 12], Operations: ['42-30=12'] Exploring Operation: 4+29=33, Resulting Numbers: [12, 33] Generated Node #0,3,0: 77:[12, 33] Operation: 4+29=33 Exploring Operation: 12-4=8, Resulting Numbers: [29, 8] Generated Node #0,3,1: 77:[29, 8] Operation: 12-4=8 Exploring Operation: 29-12=17, Resulting Numbers: [4, 17] Generated Node #0,3,2: 77:[4, 17] Operation: 29-12=17 Exploring Operation: 29-4=25, Resulting Numbers: [12, 25] Generated Node #0,3,3: 77:[12, 25] Operation: 29-4=25 Exploring Operation: 12/4=3, Resulting Numbers: [29, 3] Generated Node #0,3,4: 77:[29, 3] Operation: 12/4=3 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 77:[4, 17], Operations: ['42-30=12', '29-12=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,77 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,77 unequal: No Solution No 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: 77:[12, 25], Operations: ['42-30=12', '29-4=25'] Exploring Operation: 12*25=300, Resulting Numbers: [300] 300,77 unequal: No Solution Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,77 unequal: No Solution No 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: 77:[29, 8], Operations: ['42-30=12', '12-4=8'] Exploring Operation: 29+8=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 29*8=232, Resulting Numbers: [232] 232,77 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 77:[29, 3], Operations: ['42-30=12', '12/4=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,77 unequal: No Solution Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,77 unequal: No Solution No 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: 77:[12, 33], Operations: ['42-30=12', '4+29=33'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,77 unequal: No Solution Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,77 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: 77:[4, 30, 13], Operations: ['42-29=13'] Exploring Operation: 13-4=9, Resulting Numbers: [30, 9] Generated Node #0,0,0: 77:[30, 9] Operation: 13-4=9 Exploring Operation: 4+30=34, Resulting Numbers: [13, 34] Generated Node #0,0,1: 77:[13, 34] Operation: 4+30=34 Exploring Operation: 30-4=26, Resulting Numbers: [13, 26] Generated Node #0,0,2: 77:[13, 26] Operation: 30-4=26 Exploring Operation: 30-13=17, Resulting Numbers: [4, 17] Generated Node #0,0,3: 77:[4, 17] Operation: 30-13=17 Exploring Operation: 4+13=17, Resulting Numbers: [30, 17] Generated Node #0,0,4: 77:[30, 17] Operation: 4+13=17 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 77:[4, 17], Operations: ['42-29=13', '30-13=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,77 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,77 unequal: No Solution No 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: 77:[13, 26], Operations: ['42-29=13', '30-4=26'] Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 13*26=338, Resulting Numbers: [338] 338,77 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,77 unequal: No Solution No 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: 77:[30, 9], Operations: ['42-29=13', '13-4=9'] Exploring Operation: 30+9=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 30*9=270, Resulting Numbers: [270] 270,77 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,77 unequal: No Solution No 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: 77:[13, 34], Operations: ['42-29=13', '4+30=34'] Exploring Operation: 13*34=442, Resulting Numbers: [442] 442,77 unequal: No Solution Exploring Operation: 13+34=47, Resulting Numbers: [47] 47,77 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 77:[30, 17], Operations: ['42-29=13', '4+13=17'] Exploring Operation: 30*17=510, Resulting Numbers: [510] 510,77 unequal: No Solution Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,77 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: 77:[4, 29, 72], Operations: ['30+42=72'] Exploring Operation: 72/4=18, Resulting Numbers: [29, 18] Generated Node #0,1,0: 77:[29, 18] Operation: 72/4=18 Exploring Operation: 4+72=76, Resulting Numbers: [29, 76] Generated Node #0,1,1: 77:[29, 76] Operation: 4+72=76 Exploring Operation: 4+29=33, Resulting Numbers: [72, 33] Generated Node #0,1,2: 77:[72, 33] Operation: 4+29=33 Exploring Operation: 72-4=68, Resulting Numbers: [29, 68] Generated Node #0,1,3: 77:[29, 68] Operation: 72-4=68 Exploring Operation: 29-4=25, Resulting Numbers: [72, 25] Generated Node #0,1,4: 77:[72, 25] Operation: 29-4=25 Moving to Node #0,2 Current State: 77:[4, 30, 71], Operations: ['29+42=71'] Exploring Operation: 71-4=67, Resulting Numbers: [30, 67] Generated Node #0,2,0: 77:[30, 67] Operation: 71-4=67 Exploring Operation: 4+30=34, Resulting Numbers: [71, 34] Generated Node #0,2,1: 77:[71, 34] Operation: 4+30=34 Exploring Operation: 4+71=75, Resulting Numbers: [30, 75] Generated Node #0,2,2: 77:[30, 75] Operation: 4+71=75 Exploring Operation: 30+71=101, Resulting Numbers: [4, 101] Generated Node #0,2,3: 77:[4, 101] Operation: 30+71=101 Exploring Operation: 30-4=26, Resulting Numbers: [71, 26] Generated Node #0,2,4: 77:[71, 26] Operation: 30-4=26 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[30, 75], Operations: ['29+42=71', '4+71=75'] Exploring Operation: 30*75=2250, Resulting Numbers: [2250] 2250,77 unequal: No Solution Exploring Operation: 30+75=105, Resulting Numbers: [105] 105,77 unequal: No Solution Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 77:[71, 26], Operations: ['29+42=71', '30-4=26'] Exploring Operation: 71*26=1846, Resulting Numbers: [1846] 1846,77 unequal: No Solution Exploring Operation: 71+26=97, Resulting Numbers: [97] 97,77 unequal: No Solution Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,77 unequal: No Solution No 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: 77:[4, 101], Operations: ['29+42=71', '30+71=101'] Exploring Operation: 4+101=105, Resulting Numbers: [105] 105,77 unequal: No Solution Exploring Operation: 4*101=404, Resulting Numbers: [404] 404,77 unequal: No Solution Exploring Operation: 101-4=97, Resulting Numbers: [97] 97,77 unequal: No Solution No 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: 77:[30, 67], Operations: ['29+42=71', '71-4=67'] Exploring Operation: 30*67=2010, Resulting Numbers: [2010] 2010,77 unequal: No Solution Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 30+67=97, Resulting Numbers: [97] 97,77 unequal: No Solution No 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: 77:[71, 34], Operations: ['29+42=71', '4+30=34'] Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 71*34=2414, Resulting Numbers: [2414] 2414,77 unequal: No Solution Exploring Operation: 71+34=105, Resulting Numbers: [105] 105,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 77:[4, 42, 1], Operations: ['30-29=1'] Exploring Operation: 4/1=4, Resulting Numbers: [42, 4] Generated Node #0,4,0: 77:[42, 4] Operation: 4/1=4 Exploring Operation: 42-1=41, Resulting Numbers: [4, 41] Generated Node #0,4,1: 77:[4, 41] Operation: 42-1=41 Exploring Operation: 4*1=4, Resulting Numbers: [42, 4] Generated Node #0,4,2: 77:[42, 4] Operation: 4*1=4 Exploring Operation: 42-4=38, Resulting Numbers: [1, 38] Generated Node #0,4,3: 77:[1, 38] Operation: 42-4=38 Exploring Operation: 4+1=5, Resulting Numbers: [42, 5] Generated Node #0,4,4: 77:[42, 5] Operation: 4+1=5 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 77:[4, 41], Operations: ['30-29=1', '42-1=41'] Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,77 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,77 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 77:[1, 38], Operations: ['30-29=1', '42-4=38'] Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 1*38=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 1+38=39, Resulting Numbers: [39] 39,77 unequal: No Solution No 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: 77:[42, 5], Operations: ['30-29=1', '4+1=5'] Exploring Operation: 42*5=210, Resulting Numbers: [210] 210,77 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,77 unequal: No Solution No 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: 77:[42, 4], Operations: ['30-29=1', '4/1=4'] Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,77 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,77 unequal: No Solution No 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: 77:[42, 4], Operations: ['30-29=1', '4*1=4'] Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,77 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,77 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: 77:[29, 76], Operations: ['30+42=72', '4+72=76'] Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,77 unequal: No Solution Exploring Operation: 29*76=2204, Resulting Numbers: [2204] 2204,77 unequal: No Solution Exploring Operation: 29+76=105, Resulting Numbers: [105] 105,77 unequal: No Solution Moving to Node #0,1,4 Current State: 77:[72, 25], Operations: ['30+42=72', '29-4=25'] Exploring Operation: 72*25=1800, Resulting Numbers: [1800] 1800,77 unequal: No Solution Exploring Operation: 72+25=97, Resulting Numbers: [97] 97,77 unequal: No Solution Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[29, 18], Operations: ['30+42=72', '72/4=18'] Exploring Operation: 29*18=522, Resulting Numbers: [522] 522,77 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 29+18=47, Resulting Numbers: [47] 47,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[72, 33], Operations: ['30+42=72', '4+29=33'] Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 72*33=2376, Resulting Numbers: [2376] 2376,77 unequal: No Solution Exploring Operation: 72+33=105, Resulting Numbers: [105] 105,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[29, 68], Operations: ['30+42=72', '72-4=68'] Exploring Operation: 29+68=97, Resulting Numbers: [97] 97,77 unequal: No Solution Exploring Operation: 68-29=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 29*68=1972, Resulting Numbers: [1972] 1972,77 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 20, 47, 3, 64 ]
88
[ "47-20=27", "64-3=61", "27+61=88" ]
Current State: 88:[20, 47, 3, 64], Operations: [] Exploring Operation: 47-20=27, Resulting Numbers: [3, 64, 27] Generated Node #2: [3, 64, 27] from Operation: 47-20=27 Current State: 88:[3, 64, 27], Operations: ['47-20=27'] Exploring Operation: 64-3=61, Resulting Numbers: [27, 61] Generated Node #3: [27, 61] from Operation: 64-3=61 Current State: 88:[27, 61], Operations: ['47-20=27', '64-3=61'] Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[20, 47, 3, 64], Operations: [] Exploring Operation: 64-20=44, Resulting Numbers: [47, 3, 44] Generated Node #0,0: 88:[47, 3, 44] Operation: 64-20=44 Exploring Operation: 47-3=44, Resulting Numbers: [20, 64, 44] Generated Node #0,1: 88:[20, 64, 44] Operation: 47-3=44 Exploring Operation: 64-3=61, Resulting Numbers: [20, 47, 61] Generated Node #0,2: 88:[20, 47, 61] Operation: 64-3=61 Exploring Operation: 20+64=84, Resulting Numbers: [47, 3, 84] Generated Node #0,3: 88:[47, 3, 84] Operation: 20+64=84 Exploring Operation: 64-47=17, Resulting Numbers: [20, 3, 17] Generated Node #0,4: 88:[20, 3, 17] Operation: 64-47=17 Moving to Node #0,0 Current State: 88:[47, 3, 44], Operations: ['64-20=44'] Exploring Operation: 47-44=3, Resulting Numbers: [3, 3] Generated Node #0,0,0: 88:[3, 3] Operation: 47-44=3 Exploring Operation: 47-3=44, Resulting Numbers: [44, 44] Generated Node #0,0,1: 88:[44, 44] Operation: 47-3=44 Exploring Operation: 47+3=50, Resulting Numbers: [44, 50] Generated Node #0,0,2: 88:[44, 50] Operation: 47+3=50 Exploring Operation: 3+44=47, Resulting Numbers: [47, 47] Generated Node #0,0,3: 88:[47, 47] Operation: 3+44=47 Exploring Operation: 47+44=91, Resulting Numbers: [3, 91] Generated Node #0,0,4: 88:[3, 91] Operation: 47+44=91 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 88:[44, 44], Operations: ['64-20=44', '47-3=44'] Exploring Operation: 44+44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[20, 47, 3, 64], Operations: [] Exploring Operation: 64-20=44, Resulting Numbers: [47, 3, 44] Generated Node #0,0: 88:[47, 3, 44] Operation: 64-20=44 Moving to Node #0,0 Current State: 88:[47, 3, 44], Operations: ['64-20=44'] Exploring Operation: 47-3=44, Resulting Numbers: [44, 44] Generated Node #0,0,1: 88:[44, 44] Operation: 47-3=44 Moving to Node #0,0,1 Current State: 88:[44, 44], Operations: ['64-20=44', '47-3=44'] Exploring Operation: 44+44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 24, 59, 78, 6 ]
56
[ "78-6=72", "72/24=3", "59-3=56" ]
Current State: 56:[24, 59, 78, 6], Operations: [] Exploring Operation: 78-6=72, Resulting Numbers: [24, 59, 72] Generated Node #2: [24, 59, 72] from Operation: 78-6=72 Current State: 56:[24, 59, 72], Operations: ['78-6=72'] Exploring Operation: 72/24=3, Resulting Numbers: [59, 3] Generated Node #3: [59, 3] from Operation: 72/24=3 Current State: 56:[59, 3], Operations: ['78-6=72', '72/24=3'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[24, 59, 78, 6], Operations: [] Exploring Operation: 78-59=19, Resulting Numbers: [24, 6, 19] Generated Node #0,0: 56:[24, 6, 19] Operation: 78-59=19 Exploring Operation: 78/6=13, Resulting Numbers: [24, 59, 13] Generated Node #0,1: 56:[24, 59, 13] Operation: 78/6=13 Exploring Operation: 78-24=54, Resulting Numbers: [59, 6, 54] Generated Node #0,2: 56:[59, 6, 54] Operation: 78-24=54 Moving to Node #0,2 Current State: 56:[59, 6, 54], Operations: ['78-24=54'] Exploring Operation: 54/6=9, Resulting Numbers: [59, 9] Generated Node #0,2,0: 56:[59, 9] Operation: 54/6=9 Exploring Operation: 59-6=53, Resulting Numbers: [54, 53] Generated Node #0,2,1: 56:[54, 53] Operation: 59-6=53 Exploring Operation: 59-54=5, Resulting Numbers: [6, 5] Generated Node #0,2,2: 56:[6, 5] Operation: 59-54=5 Moving to Node #0,1 Current State: 56:[24, 59, 13], Operations: ['78/6=13'] Exploring Operation: 24+13=37, Resulting Numbers: [59, 37] Generated Node #0,1,0: 56:[59, 37] Operation: 24+13=37 Exploring Operation: 59-24=35, Resulting Numbers: [13, 35] Generated Node #0,1,1: 56:[13, 35] Operation: 59-24=35 Exploring Operation: 24-13=11, Resulting Numbers: [59, 11] Generated Node #0,1,2: 56:[59, 11] Operation: 24-13=11 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 56:[59, 11], Operations: ['78/6=13', '24-13=11'] Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 59+11=70, Resulting Numbers: [70] 70,56 unequal: No Solution Exploring Operation: 59*11=649, Resulting Numbers: [649] 649,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[13, 35], Operations: ['78/6=13', '59-24=35'] Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 13*35=455, Resulting Numbers: [455] 455,56 unequal: No Solution Exploring Operation: 13+35=48, Resulting Numbers: [48] 48,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[59, 37], Operations: ['78/6=13', '24+13=37'] Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 59*37=2183, Resulting Numbers: [2183] 2183,56 unequal: No Solution Exploring Operation: 59+37=96, Resulting Numbers: [96] 96,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 56:[24, 6, 19], Operations: ['78-59=19'] Exploring Operation: 24-19=5, Resulting Numbers: [6, 5] Generated Node #0,0,0: 56:[6, 5] Operation: 24-19=5 Exploring Operation: 24/6=4, Resulting Numbers: [19, 4] Generated Node #0,0,1: 56:[19, 4] Operation: 24/6=4 Exploring Operation: 19-6=13, Resulting Numbers: [24, 13] Generated Node #0,0,2: 56:[24, 13] Operation: 19-6=13 Moving to Node #0,2,2 Current State: 56:[6, 5], Operations: ['78-24=54', '59-54=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[6, 5], Operations: ['78-59=19', '24-19=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[59, 9], Operations: ['78-24=54', '54/6=9'] Exploring Operation: 59+9=68, Resulting Numbers: [68] 68,56 unequal: No Solution Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,56 unequal: No Solution Exploring Operation: 59*9=531, Resulting Numbers: [531] 531,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[54, 53], Operations: ['78-24=54', '59-6=53'] Exploring Operation: 54*53=2862, Resulting Numbers: [2862] 2862,56 unequal: No Solution Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 54+53=107, Resulting Numbers: [107] 107,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[24, 13], Operations: ['78-59=19', '19-6=13'] Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,56 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[19, 4], Operations: ['78-59=19', '24/6=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,56 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 34, 63, 10, 43 ]
32
[ "63-43=20", "20/10=2", "34-2=32" ]
Current State: 32:[34, 63, 10, 43], Operations: [] Exploring Operation: 63-43=20, Resulting Numbers: [34, 10, 20] Generated Node #2: [34, 10, 20] from Operation: 63-43=20 Current State: 32:[34, 10, 20], Operations: ['63-43=20'] Exploring Operation: 20/10=2, Resulting Numbers: [34, 2] Generated Node #3: [34, 2] from Operation: 20/10=2 Current State: 32:[34, 2], Operations: ['63-43=20', '20/10=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[34, 63, 10, 43], Operations: [] Exploring Operation: 43-34=9, Resulting Numbers: [63, 10, 9] Generated Node #0,0: 32:[63, 10, 9] Operation: 43-34=9 Exploring Operation: 63-34=29, Resulting Numbers: [10, 43, 29] Generated Node #0,1: 32:[10, 43, 29] Operation: 63-34=29 Exploring Operation: 63-10=53, Resulting Numbers: [34, 43, 53] Generated Node #0,2: 32:[34, 43, 53] Operation: 63-10=53 Exploring Operation: 63-43=20, Resulting Numbers: [34, 10, 20] Generated Node #0,3: 32:[34, 10, 20] Operation: 63-43=20 Moving to Node #0,3 Current State: 32:[34, 10, 20], Operations: ['63-43=20'] Exploring Operation: 34-20=14, Resulting Numbers: [10, 14] Generated Node #0,3,0: 32:[10, 14] Operation: 34-20=14 Exploring Operation: 20-10=10, Resulting Numbers: [34, 10] Generated Node #0,3,1: 32:[34, 10] Operation: 20-10=10 Exploring Operation: 20/10=2, Resulting Numbers: [34, 2] Generated Node #0,3,2: 32:[34, 2] Operation: 20/10=2 Exploring Operation: 10+20=30, Resulting Numbers: [34, 30] Generated Node #0,3,3: 32:[34, 30] Operation: 10+20=30 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 32:[34, 2], Operations: ['63-43=20', '20/10=2'] Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,32 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,32 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[34, 63, 10, 43], Operations: [] Exploring Operation: 63-43=20, Resulting Numbers: [34, 10, 20] Generated Node #0,3: 32:[34, 10, 20] Operation: 63-43=20 Moving to Node #0,3 Current State: 32:[34, 10, 20], Operations: ['63-43=20'] Exploring Operation: 20/10=2, Resulting Numbers: [34, 2] Generated Node #0,3,2: 32:[34, 2] Operation: 20/10=2 Moving to Node #0,3,2 Current State: 32:[34, 2], Operations: ['63-43=20', '20/10=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 18, 17, 34, 10 ]
92
[ "17-10=7", "18*7=126", "126-34=92" ]
Current State: 92:[18, 17, 34, 10], Operations: [] Exploring Operation: 17-10=7, Resulting Numbers: [18, 34, 7] Generated Node #2: [18, 34, 7] from Operation: 17-10=7 Current State: 92:[18, 34, 7], Operations: ['17-10=7'] Exploring Operation: 18*7=126, Resulting Numbers: [34, 126] Generated Node #3: [34, 126] from Operation: 18*7=126 Current State: 92:[34, 126], Operations: ['17-10=7', '18*7=126'] Exploring Operation: 126-34=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[18, 17, 34, 10], Operations: [] Exploring Operation: 34/17=2, Resulting Numbers: [18, 10, 2] Generated Node #0,0: 92:[18, 10, 2] Operation: 34/17=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[18, 10, 2], Operations: ['34/17=2'] Exploring Operation: 18-10=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 92:[2, 8] Operation: 18-10=8 Moving to Node #0,0,0 Current State: 92:[2, 8], Operations: ['34/17=2', '18-10=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,92 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
[ 77, 46, 92, 48 ]
19
[ "92/46=2", "48*2=96", "96-77=19" ]
Current State: 19:[77, 46, 92, 48], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [77, 48, 2] Generated Node #2: [77, 48, 2] from Operation: 92/46=2 Current State: 19:[77, 48, 2], Operations: ['92/46=2'] Exploring Operation: 48*2=96, Resulting Numbers: [77, 96] Generated Node #3: [77, 96] from Operation: 48*2=96 Current State: 19:[77, 96], Operations: ['92/46=2', '48*2=96'] Exploring Operation: 96-77=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[77, 46, 92, 48], Operations: [] Exploring Operation: 92-77=15, Resulting Numbers: [46, 48, 15] Generated Node #0,0: 19:[46, 48, 15] Operation: 92-77=15 Moving to Node #0,0 Current State: 19:[46, 48, 15], Operations: ['92-77=15'] Exploring Operation: 48-46=2, Resulting Numbers: [15, 2] Generated Node #0,0,0: 19:[15, 2] Operation: 48-46=2 Moving to Node #0,0,0 Current State: 19:[15, 2], Operations: ['92-77=15', '48-46=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,19 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 85, 55, 6, 73 ]
73
[ "85+55=140", "73-6=67", "140-67=73" ]
Current State: 73:[85, 55, 6, 73], Operations: [] Exploring Operation: 85+55=140, Resulting Numbers: [6, 73, 140] Generated Node #2: [6, 73, 140] from Operation: 85+55=140 Current State: 73:[6, 73, 140], Operations: ['85+55=140'] Exploring Operation: 73-6=67, Resulting Numbers: [140, 67] Generated Node #3: [140, 67] from Operation: 73-6=67 Current State: 73:[140, 67], Operations: ['85+55=140', '73-6=67'] Exploring Operation: 140-67=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[85, 55, 6, 73], Operations: [] Exploring Operation: 85-6=79, Resulting Numbers: [55, 73, 79] Generated Node #0,0: 73:[55, 73, 79] Operation: 85-6=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[55, 73, 79], Operations: ['85-6=79'] Exploring Operation: 79-55=24, Resulting Numbers: [73, 24] Generated Node #0,0,0: 73:[73, 24] Operation: 79-55=24 Moving to Node #0,0,0 Current State: 73:[73, 24], Operations: ['85-6=79', '79-55=24'] Exploring Operation: 73+24=97, Resulting Numbers: [97] 97,73 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
[ 40, 40, 60, 83 ]
20
[ "40+40=80", "83-80=3", "60/3=20" ]
Current State: 20:[40, 40, 60, 83], Operations: [] Exploring Operation: 40+40=80, Resulting Numbers: [60, 83, 80] Generated Node #2: [60, 83, 80] from Operation: 40+40=80 Current State: 20:[60, 83, 80], Operations: ['40+40=80'] Exploring Operation: 83-80=3, Resulting Numbers: [60, 3] Generated Node #3: [60, 3] from Operation: 83-80=3 Current State: 20:[60, 3], Operations: ['40+40=80', '83-80=3'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[40, 40, 60, 83], Operations: [] Exploring Operation: 83-60=23, Resulting Numbers: [40, 40, 23] Generated Node #0,0: 20:[40, 40, 23] Operation: 83-60=23 Moving to Node #0,0 Current State: 20:[40, 40, 23], Operations: ['83-60=23'] Exploring Operation: 40/40=1, Resulting Numbers: [23, 1] Generated Node #0,0,0: 20:[23, 1] Operation: 40/40=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[23, 1], Operations: ['83-60=23', '40/40=1'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,20 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
[ 11, 10, 68, 15 ]
57
[ "11*10=110", "68-15=53", "110-53=57" ]
Current State: 57:[11, 10, 68, 15], Operations: [] Exploring Operation: 11*10=110, Resulting Numbers: [68, 15, 110] Generated Node #2: [68, 15, 110] from Operation: 11*10=110 Current State: 57:[68, 15, 110], Operations: ['11*10=110'] Exploring Operation: 68-15=53, Resulting Numbers: [110, 53] Generated Node #3: [110, 53] from Operation: 68-15=53 Current State: 57:[110, 53], Operations: ['11*10=110', '68-15=53'] Exploring Operation: 110-53=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[11, 10, 68, 15], Operations: [] Exploring Operation: 68-10=58, Resulting Numbers: [11, 15, 58] Generated Node #0,0: 57:[11, 15, 58] Operation: 68-10=58 Exploring Operation: 68-11=57, Resulting Numbers: [10, 15, 57] Generated Node #0,1: 57:[10, 15, 57] Operation: 68-11=57 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[10, 15, 57], Operations: ['68-11=57'] Exploring Operation: 15-10=5, Resulting Numbers: [57, 5] Generated Node #0,1,0: 57:[57, 5] Operation: 15-10=5 Exploring Operation: 10+15=25, Resulting Numbers: [57, 25] Generated Node #0,1,1: 57:[57, 25] Operation: 10+15=25 Moving to Node #0,1,0 Current State: 57:[57, 5], Operations: ['68-11=57', '15-10=5'] Exploring Operation: 57+5=62, Resulting Numbers: [62] 62,57 unequal: No Solution Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[57, 25], Operations: ['68-11=57', '10+15=25'] Exploring Operation: 57+25=82, Resulting Numbers: [82] 82,57 unequal: No Solution Exploring Operation: 57-25=32, Resulting Numbers: [32] 32,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:[11, 15, 58], Operations: ['68-10=58'] Exploring Operation: 15-11=4, Resulting Numbers: [58, 4] Generated Node #0,0,0: 57:[58, 4] Operation: 15-11=4 Exploring Operation: 11+15=26, Resulting Numbers: [58, 26] Generated Node #0,0,1: 57:[58, 26] Operation: 11+15=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[58, 4], Operations: ['68-10=58', '15-11=4'] Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,57 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 57:[58, 26], Operations: ['68-10=58', '11+15=26'] Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,57 unequal: No Solution Exploring Operation: 58+26=84, Resulting Numbers: [84] 84,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 54, 56, 81, 38 ]
84
[ "56-38=18", "54/18=3", "81+3=84" ]
Current State: 84:[54, 56, 81, 38], Operations: [] Exploring Operation: 56-38=18, Resulting Numbers: [54, 81, 18] Generated Node #2: [54, 81, 18] from Operation: 56-38=18 Current State: 84:[54, 81, 18], Operations: ['56-38=18'] Exploring Operation: 54/18=3, Resulting Numbers: [81, 3] Generated Node #3: [81, 3] from Operation: 54/18=3 Current State: 84:[81, 3], Operations: ['56-38=18', '54/18=3'] Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[54, 56, 81, 38], Operations: [] Exploring Operation: 81-56=25, Resulting Numbers: [54, 38, 25] Generated Node #0,0: 84:[54, 38, 25] Operation: 81-56=25 Exploring Operation: 56-54=2, Resulting Numbers: [81, 38, 2] Generated Node #0,1: 84:[81, 38, 2] Operation: 56-54=2 Exploring Operation: 56-38=18, Resulting Numbers: [54, 81, 18] Generated Node #0,2: 84:[54, 81, 18] Operation: 56-38=18 Exploring Operation: 54-38=16, Resulting Numbers: [56, 81, 16] Generated Node #0,3: 84:[56, 81, 16] Operation: 54-38=16 Exploring Operation: 81-54=27, Resulting Numbers: [56, 38, 27] Generated Node #0,4: 84:[56, 38, 27] Operation: 81-54=27 Moving to Node #0,1 Current State: 84:[81, 38, 2], Operations: ['56-54=2'] Exploring Operation: 81+2=83, Resulting Numbers: [38, 83] Generated Node #0,1,0: 84:[38, 83] Operation: 81+2=83 Exploring Operation: 38+2=40, Resulting Numbers: [81, 40] Generated Node #0,1,1: 84:[81, 40] Operation: 38+2=40 Exploring Operation: 81-2=79, Resulting Numbers: [38, 79] Generated Node #0,1,2: 84:[38, 79] Operation: 81-2=79 Exploring Operation: 38/2=19, Resulting Numbers: [81, 19] Generated Node #0,1,3: 84:[81, 19] Operation: 38/2=19 Exploring Operation: 81-38=43, Resulting Numbers: [2, 43] Generated Node #0,1,4: 84:[2, 43] Operation: 81-38=43 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 84:[2, 43], Operations: ['56-54=2', '81-38=43'] Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,84 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[38, 83], Operations: ['56-54=2', '81+2=83'] Exploring Operation: 83-38=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 38*83=3154, Resulting Numbers: [3154] 3154,84 unequal: No Solution Exploring Operation: 38+83=121, Resulting Numbers: [121] 121,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[81, 40], Operations: ['56-54=2', '38+2=40'] Exploring Operation: 81+40=121, Resulting Numbers: [121] 121,84 unequal: No Solution Exploring Operation: 81-40=41, Resulting Numbers: [41] 41,84 unequal: No Solution Exploring Operation: 81*40=3240, Resulting Numbers: [3240] 3240,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 84:[81, 19], Operations: ['56-54=2', '38/2=19'] Exploring Operation: 81*19=1539, Resulting Numbers: [1539] 1539,84 unequal: No Solution Exploring Operation: 81-19=62, Resulting Numbers: [62] 62,84 unequal: No Solution Exploring Operation: 81+19=100, Resulting Numbers: [100] 100,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 84:[38, 79], Operations: ['56-54=2', '81-2=79'] Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,84 unequal: No Solution Exploring Operation: 38*79=3002, Resulting Numbers: [3002] 3002,84 unequal: No Solution Exploring Operation: 38+79=117, Resulting Numbers: [117] 117,84 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: 84:[54, 81, 18], Operations: ['56-38=18'] Exploring Operation: 54/18=3, Resulting Numbers: [81, 3] Generated Node #0,2,0: 84:[81, 3] Operation: 54/18=3 Exploring Operation: 81-54=27, Resulting Numbers: [18, 27] Generated Node #0,2,1: 84:[18, 27] Operation: 81-54=27 Exploring Operation: 81+18=99, Resulting Numbers: [54, 99] Generated Node #0,2,2: 84:[54, 99] Operation: 81+18=99 Exploring Operation: 54+18=72, Resulting Numbers: [81, 72] Generated Node #0,2,3: 84:[81, 72] Operation: 54+18=72 Exploring Operation: 54-18=36, Resulting Numbers: [81, 36] Generated Node #0,2,4: 84:[81, 36] Operation: 54-18=36 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[81, 3], Operations: ['56-38=18', '54/18=3'] Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[54, 56, 81, 38], Operations: [] Exploring Operation: 56-38=18, Resulting Numbers: [54, 81, 18] Generated Node #0,2: 84:[54, 81, 18] Operation: 56-38=18 Moving to Node #0,2 Current State: 84:[54, 81, 18], Operations: ['56-38=18'] Exploring Operation: 54/18=3, Resulting Numbers: [81, 3] Generated Node #0,2,0: 84:[81, 3] Operation: 54/18=3 Moving to Node #0,2,0 Current State: 84:[81, 3], Operations: ['56-38=18', '54/18=3'] Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
mult_heuristic
[ 59, 10, 1, 56 ]
40
[ "59+1=60", "60-56=4", "10*4=40" ]
Current State: 40:[59, 10, 1, 56], Operations: [] Exploring Operation: 59+1=60, Resulting Numbers: [10, 56, 60] Generated Node #2: [10, 56, 60] from Operation: 59+1=60 Current State: 40:[10, 56, 60], Operations: ['59+1=60'] Exploring Operation: 60-56=4, Resulting Numbers: [10, 4] Generated Node #3: [10, 4] from Operation: 60-56=4 Current State: 40:[10, 4], Operations: ['59+1=60', '60-56=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[59, 10, 1, 56], Operations: [] Exploring Operation: 59-10=49, Resulting Numbers: [1, 56, 49] Generated Node #0,0: 40:[1, 56, 49] Operation: 59-10=49 Exploring Operation: 59-56=3, Resulting Numbers: [10, 1, 3] Generated Node #0,1: 40:[10, 1, 3] Operation: 59-56=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[10, 1, 3], Operations: ['59-56=3'] Exploring Operation: 1+3=4, Resulting Numbers: [10, 4] Generated Node #0,1,0: 40:[10, 4] Operation: 1+3=4 Exploring Operation: 3-1=2, Resulting Numbers: [10, 2] Generated Node #0,1,1: 40:[10, 2] Operation: 3-1=2 Moving to Node #0,1,0 Current State: 40:[10, 4], Operations: ['59-56=3', '1+3=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[59, 10, 1, 56], Operations: [] Exploring Operation: 59-56=3, Resulting Numbers: [10, 1, 3] Generated Node #0,1: 40:[10, 1, 3] Operation: 59-56=3 Moving to Node #0,1 Current State: 40:[10, 1, 3], Operations: ['59-56=3'] Exploring Operation: 1+3=4, Resulting Numbers: [10, 4] Generated Node #0,1,0: 40:[10, 4] Operation: 1+3=4 Moving to Node #0,1,0 Current State: 40:[10, 4], Operations: ['59-56=3', '1+3=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 11, 41, 14, 8 ]
30
[ "11+41=52", "14+8=22", "52-22=30" ]
Current State: 30:[11, 41, 14, 8], Operations: [] Exploring Operation: 11+41=52, Resulting Numbers: [14, 8, 52] Generated Node #2: [14, 8, 52] from Operation: 11+41=52 Current State: 30:[14, 8, 52], Operations: ['11+41=52'] Exploring Operation: 14+8=22, Resulting Numbers: [52, 22] Generated Node #3: [52, 22] from Operation: 14+8=22 Current State: 30:[52, 22], Operations: ['11+41=52', '14+8=22'] Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[11, 41, 14, 8], Operations: [] Exploring Operation: 41-11=30, Resulting Numbers: [14, 8, 30] Generated Node #0,0: 30:[14, 8, 30] Operation: 41-11=30 Moving to Node #0,0 Current State: 30:[14, 8, 30], Operations: ['41-11=30'] Exploring Operation: 14-8=6, Resulting Numbers: [30, 6] Generated Node #0,0,0: 30:[30, 6] Operation: 14-8=6 Moving to Node #0,0,0 Current State: 30:[30, 6], Operations: ['41-11=30', '14-8=6'] Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,30 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 48, 90, 70, 48 ]
20
[ "48+90=138", "70+48=118", "138-118=20" ]
Current State: 20:[48, 90, 70, 48], Operations: [] Exploring Operation: 48+90=138, Resulting Numbers: [70, 138] Generated Node #2: [70, 138] from Operation: 48+90=138 Current State: 20:[70, 138], Operations: ['48+90=138'] Exploring Operation: 70+48=118, Resulting Numbers: [138, 118] Generated Node #3: [138, 118] from Operation: 70+48=118 Current State: 20:[138, 118], Operations: ['48+90=138', '70+48=118'] Exploring Operation: 138-118=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[48, 90, 70, 48], Operations: [] Exploring Operation: 90-70=20, Resulting Numbers: [48, 48, 20] Generated Node #0,0: 20:[48, 48, 20] Operation: 90-70=20 Exploring Operation: 70-48=22, Resulting Numbers: [90, 48, 22] Generated Node #0,1: 20:[90, 48, 22] Operation: 70-48=22 Exploring Operation: 90-48=42, Resulting Numbers: [70, 48, 42] Generated Node #0,2: 20:[70, 48, 42] Operation: 90-48=42 Exploring Operation: 90-48=42, Resulting Numbers: [48, 70, 42] Generated Node #0,3: 20:[48, 70, 42] Operation: 90-48=42 Moving to Node #0,0 Current State: 20:[48, 48, 20], Operations: ['90-70=20'] Exploring Operation: 48-48=0, Resulting Numbers: [20, 0] Generated Node #0,0,0: 20:[20, 0] Operation: 48-48=0 Exploring Operation: 48-20=28, Resulting Numbers: [48, 28] Generated Node #0,0,1: 20:[48, 28] Operation: 48-20=28 Exploring Operation: 48-20=28, Resulting Numbers: [48, 28] Generated Node #0,0,2: 20:[48, 28] Operation: 48-20=28 Exploring Operation: 48/48=1, Resulting Numbers: [20, 1] Generated Node #0,0,3: 20:[20, 1] Operation: 48/48=1 Moving to Node #0,2 Current State: 20:[70, 48, 42], Operations: ['90-48=42'] Exploring Operation: 70-42=28, Resulting Numbers: [48, 28] Generated Node #0,2,0: 20:[48, 28] Operation: 70-42=28 Exploring Operation: 48-42=6, Resulting Numbers: [70, 6] Generated Node #0,2,1: 20:[70, 6] Operation: 48-42=6 Exploring Operation: 70+48=118, Resulting Numbers: [42, 118] Generated Node #0,2,2: 20:[42, 118] Operation: 70+48=118 Exploring Operation: 70-48=22, Resulting Numbers: [42, 22] Generated Node #0,2,3: 20:[42, 22] Operation: 70-48=22 Moving to Node #0,1 Current State: 20:[90, 48, 22], Operations: ['70-48=22'] Exploring Operation: 90+48=138, Resulting Numbers: [22, 138] Generated Node #0,1,0: 20:[22, 138] Operation: 90+48=138 Exploring Operation: 90-22=68, Resulting Numbers: [48, 68] Generated Node #0,1,1: 20:[48, 68] Operation: 90-22=68 Exploring Operation: 90-48=42, Resulting Numbers: [22, 42] Generated Node #0,1,2: 20:[22, 42] Operation: 90-48=42 Exploring Operation: 48-22=26, Resulting Numbers: [90, 26] Generated Node #0,1,3: 20:[90, 26] Operation: 48-22=26 Moving to Node #0,3 Current State: 20:[48, 70, 42], Operations: ['90-48=42'] Exploring Operation: 48+70=118, Resulting Numbers: [42, 118] Generated Node #0,3,0: 20:[42, 118] Operation: 48+70=118 Exploring Operation: 70-48=22, Resulting Numbers: [42, 22] Generated Node #0,3,1: 20:[42, 22] Operation: 70-48=22 Exploring Operation: 70-42=28, Resulting Numbers: [48, 28] Generated Node #0,3,2: 20:[48, 28] Operation: 70-42=28 Exploring Operation: 48-42=6, Resulting Numbers: [70, 6] Generated Node #0,3,3: 20:[70, 6] Operation: 48-42=6 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 20:[42, 22], Operations: ['90-48=42', '70-48=22'] Exploring Operation: 42*22=924, Resulting Numbers: [924] 924,20 unequal: No Solution Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,20 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[48, 90, 70, 48], Operations: [] Exploring Operation: 90-48=42, Resulting Numbers: [48, 70, 42] Generated Node #0,3: 20:[48, 70, 42] Operation: 90-48=42 Moving to Node #0,3 Current State: 20:[48, 70, 42], Operations: ['90-48=42'] Exploring Operation: 70-48=22, Resulting Numbers: [42, 22] Generated Node #0,3,1: 20:[42, 22] Operation: 70-48=22 Moving to Node #0,3,1 Current State: 20:[42, 22], Operations: ['90-48=42', '70-48=22'] Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_4
sum_heuristic
[ 10, 45, 12, 52 ]
99
[ "45-10=35", "12+52=64", "35+64=99" ]
Current State: 99:[10, 45, 12, 52], Operations: [] Exploring Operation: 45-10=35, Resulting Numbers: [12, 52, 35] Generated Node #2: [12, 52, 35] from Operation: 45-10=35 Current State: 99:[12, 52, 35], Operations: ['45-10=35'] Exploring Operation: 12+52=64, Resulting Numbers: [35, 64] Generated Node #3: [35, 64] from Operation: 12+52=64 Current State: 99:[35, 64], Operations: ['45-10=35', '12+52=64'] Exploring Operation: 35+64=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[10, 45, 12, 52], Operations: [] Exploring Operation: 52-12=40, Resulting Numbers: [10, 45, 40] Generated Node #0,0: 99:[10, 45, 40] Operation: 52-12=40 Exploring Operation: 45+52=97, Resulting Numbers: [10, 12, 97] Generated Node #0,1: 99:[10, 12, 97] Operation: 45+52=97 Exploring Operation: 45-10=35, Resulting Numbers: [12, 52, 35] Generated Node #0,2: 99:[12, 52, 35] Operation: 45-10=35 Exploring Operation: 45-12=33, Resulting Numbers: [10, 52, 33] Generated Node #0,3: 99:[10, 52, 33] Operation: 45-12=33 Exploring Operation: 52-45=7, Resulting Numbers: [10, 12, 7] Generated Node #0,4: 99:[10, 12, 7] Operation: 52-45=7 Moving to Node #0,1 Current State: 99:[10, 12, 97], Operations: ['45+52=97'] Exploring Operation: 12+97=109, Resulting Numbers: [10, 109] Generated Node #0,1,0: 99:[10, 109] Operation: 12+97=109 Exploring Operation: 12-10=2, Resulting Numbers: [97, 2] Generated Node #0,1,1: 99:[97, 2] Operation: 12-10=2 Exploring Operation: 10+97=107, Resulting Numbers: [12, 107] Generated Node #0,1,2: 99:[12, 107] Operation: 10+97=107 Exploring Operation: 97-10=87, Resulting Numbers: [12, 87] Generated Node #0,1,3: 99:[12, 87] Operation: 97-10=87 Exploring Operation: 10+12=22, Resulting Numbers: [97, 22] Generated Node #0,1,4: 99:[97, 22] Operation: 10+12=22 Moving to Node #0,4 Current State: 99:[10, 12, 7], Operations: ['52-45=7'] Exploring Operation: 10+7=17, Resulting Numbers: [12, 17] Generated Node #0,4,0: 99:[12, 17] Operation: 10+7=17 Exploring Operation: 12+7=19, Resulting Numbers: [10, 19] Generated Node #0,4,1: 99:[10, 19] Operation: 12+7=19 Exploring Operation: 10-7=3, Resulting Numbers: [12, 3] Generated Node #0,4,2: 99:[12, 3] Operation: 10-7=3 Exploring Operation: 12-7=5, Resulting Numbers: [10, 5] Generated Node #0,4,3: 99:[10, 5] Operation: 12-7=5 Exploring Operation: 12-10=2, Resulting Numbers: [7, 2] Generated Node #0,4,4: 99:[7, 2] Operation: 12-10=2 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 99:[12, 3], Operations: ['52-45=7', '10-7=3'] Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,99 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,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,4,3 Current State: 99:[10, 5], Operations: ['52-45=7', '12-7=5'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,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,4,4 Current State: 99:[7, 2], Operations: ['52-45=7', '12-10=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,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,4,0 Current State: 99:[12, 17], Operations: ['52-45=7', '10+7=17'] Exploring Operation: 12*17=204, Resulting Numbers: [204] 204,99 unequal: No Solution Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,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,4,1 Current State: 99:[10, 19], Operations: ['52-45=7', '12+7=19'] Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 10*19=190, Resulting Numbers: [190] 190,99 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 99:[10, 45, 40], Operations: ['52-12=40'] Exploring Operation: 45-10=35, Resulting Numbers: [40, 35] Generated Node #0,0,0: 99:[40, 35] Operation: 45-10=35 Exploring Operation: 40-10=30, Resulting Numbers: [45, 30] Generated Node #0,0,1: 99:[45, 30] Operation: 40-10=30 Exploring Operation: 45+40=85, Resulting Numbers: [10, 85] Generated Node #0,0,2: 99:[10, 85] Operation: 45+40=85 Exploring Operation: 45-40=5, Resulting Numbers: [10, 5] Generated Node #0,0,3: 99:[10, 5] Operation: 45-40=5 Exploring Operation: 40/10=4, Resulting Numbers: [45, 4] Generated Node #0,0,4: 99:[45, 4] Operation: 40/10=4 Moving to Node #0,3 Current State: 99:[10, 52, 33], Operations: ['45-12=33'] Exploring Operation: 52-33=19, Resulting Numbers: [10, 19] Generated Node #0,3,0: 99:[10, 19] Operation: 52-33=19 Exploring Operation: 10+33=43, Resulting Numbers: [52, 43] Generated Node #0,3,1: 99:[52, 43] Operation: 10+33=43 Exploring Operation: 52+33=85, Resulting Numbers: [10, 85] Generated Node #0,3,2: 99:[10, 85] Operation: 52+33=85 Exploring Operation: 52-10=42, Resulting Numbers: [33, 42] Generated Node #0,3,3: 99:[33, 42] Operation: 52-10=42 Exploring Operation: 10+52=62, Resulting Numbers: [33, 62] Generated Node #0,3,4: 99:[33, 62] Operation: 10+52=62 Moving to Node #0,2 Current State: 99:[12, 52, 35], Operations: ['45-10=35'] Exploring Operation: 52-12=40, Resulting Numbers: [35, 40] Generated Node #0,2,0: 99:[35, 40] Operation: 52-12=40 Exploring Operation: 52+35=87, Resulting Numbers: [12, 87] Generated Node #0,2,1: 99:[12, 87] Operation: 52+35=87 Exploring Operation: 52-35=17, Resulting Numbers: [12, 17] Generated Node #0,2,2: 99:[12, 17] Operation: 52-35=17 Exploring Operation: 12+52=64, Resulting Numbers: [35, 64] Generated Node #0,2,3: 99:[35, 64] Operation: 12+52=64 Exploring Operation: 35-12=23, Resulting Numbers: [52, 23] Generated Node #0,2,4: 99:[52, 23] Operation: 35-12=23 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 99:[12, 17], Operations: ['45-10=35', '52-35=17'] Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 12*17=204, Resulting Numbers: [204] 204,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,2,0 Current State: 99:[35, 40], Operations: ['45-10=35', '52-12=40'] Exploring Operation: 40-35=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 35*40=1400, Resulting Numbers: [1400] 1400,99 unequal: No Solution Exploring Operation: 35+40=75, Resulting Numbers: [75] 75,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,2,1 Current State: 99:[12, 87], Operations: ['45-10=35', '52+35=87'] Exploring Operation: 12+87=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[10, 45, 12, 52], Operations: [] Exploring Operation: 45-10=35, Resulting Numbers: [12, 52, 35] Generated Node #0,2: 99:[12, 52, 35] Operation: 45-10=35 Moving to Node #0,2 Current State: 99:[12, 52, 35], Operations: ['45-10=35'] Exploring Operation: 52+35=87, Resulting Numbers: [12, 87] Generated Node #0,2,1: 99:[12, 87] Operation: 52+35=87 Moving to Node #0,2,1 Current State: 99:[12, 87], Operations: ['45-10=35', '52+35=87'] Exploring Operation: 12+87=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.949653
hs_5
mult_heuristic
[ 69, 69, 35, 64 ]
76
[ "69-64=5", "35/5=7", "69+7=76" ]
Current State: 76:[69, 69, 35, 64], Operations: [] Exploring Operation: 69-64=5, Resulting Numbers: [35, 5] Generated Node #2: [35, 5] from Operation: 69-64=5 Current State: 76:[35, 5], Operations: ['69-64=5'] Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,76 equal: Goal Reached Exploring Operation: 69+7=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[69, 69, 35, 64], Operations: [] Exploring Operation: 69-64=5, Resulting Numbers: [69, 35, 5] Generated Node #0,0: 76:[69, 35, 5] Operation: 69-64=5 Exploring Operation: 69-64=5, Resulting Numbers: [69, 35, 5] Generated Node #0,1: 76:[69, 35, 5] Operation: 69-64=5 Exploring Operation: 69/69=1, Resulting Numbers: [35, 64, 1] Generated Node #0,2: 76:[35, 64, 1] Operation: 69/69=1 Moving to Node #0,0 Current State: 76:[69, 35, 5], Operations: ['69-64=5'] Exploring Operation: 35+5=40, Resulting Numbers: [69, 40] Generated Node #0,0,0: 76:[69, 40] Operation: 35+5=40 Exploring Operation: 69+5=74, Resulting Numbers: [35, 74] Generated Node #0,0,1: 76:[35, 74] Operation: 69+5=74 Exploring Operation: 69-35=34, Resulting Numbers: [5, 34] Generated Node #0,0,2: 76:[5, 34] Operation: 69-35=34 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[35, 74], Operations: ['69-64=5', '69+5=74'] Exploring Operation: 35*74=2590, Resulting Numbers: [2590] 2590,76 unequal: No Solution Exploring Operation: 74-35=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 35+74=109, Resulting Numbers: [109] 109,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[5, 34], Operations: ['69-64=5', '69-35=34'] Exploring Operation: 5*34=170, Resulting Numbers: [170] 170,76 unequal: No Solution Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[69, 40], Operations: ['69-64=5', '35+5=40'] Exploring Operation: 69-40=29, Resulting Numbers: [29] 29,76 unequal: No Solution Exploring Operation: 69+40=109, Resulting Numbers: [109] 109,76 unequal: No Solution Exploring Operation: 69*40=2760, Resulting Numbers: [2760] 2760,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:[69, 35, 5], Operations: ['69-64=5'] Exploring Operation: 69-35=34, Resulting Numbers: [5, 34] Generated Node #0,1,0: 76:[5, 34] Operation: 69-35=34 Exploring Operation: 69+5=74, Resulting Numbers: [35, 74] Generated Node #0,1,1: 76:[35, 74] Operation: 69+5=74 Exploring Operation: 35+5=40, Resulting Numbers: [69, 40] Generated Node #0,1,2: 76:[69, 40] Operation: 35+5=40 Moving to Node #0,2 Current State: 76:[35, 64, 1], Operations: ['69/69=1'] Exploring Operation: 64-35=29, Resulting Numbers: [1, 29] Generated Node #0,2,0: 76:[1, 29] Operation: 64-35=29 Exploring Operation: 35+1=36, Resulting Numbers: [64, 36] Generated Node #0,2,1: 76:[64, 36] Operation: 35+1=36 Exploring Operation: 64+1=65, Resulting Numbers: [35, 65] Generated Node #0,2,2: 76:[35, 65] Operation: 64+1=65 Moving to Node #0,1,0 Current State: 76:[5, 34], Operations: ['69-64=5', '69-35=34'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,76 unequal: No Solution Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 5*34=170, Resulting Numbers: [170] 170,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[35, 74], Operations: ['69-64=5', '69+5=74'] Exploring Operation: 35+74=109, Resulting Numbers: [109] 109,76 unequal: No Solution Exploring Operation: 35*74=2590, Resulting Numbers: [2590] 2590,76 unequal: No Solution Exploring Operation: 74-35=39, Resulting Numbers: [39] 39,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[69, 40], Operations: ['69-64=5', '35+5=40'] Exploring Operation: 69-40=29, Resulting Numbers: [29] 29,76 unequal: No Solution Exploring Operation: 69+40=109, Resulting Numbers: [109] 109,76 unequal: No Solution Exploring Operation: 69*40=2760, Resulting Numbers: [2760] 2760,76 unequal: No Solution Moving to Node #0,2,0 Current State: 76:[1, 29], Operations: ['69/69=1', '64-35=29'] Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 1*29=29, Resulting Numbers: [29] 29,76 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[35, 65], Operations: ['69/69=1', '64+1=65'] Exploring Operation: 35+65=100, Resulting Numbers: [100] 100,76 unequal: No Solution Exploring Operation: 35*65=2275, Resulting Numbers: [2275] 2275,76 unequal: No Solution Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[64, 36], Operations: ['69/69=1', '35+1=36'] Exploring Operation: 64*36=2304, Resulting Numbers: [2304] 2304,76 unequal: No Solution Exploring Operation: 64+36=100, Resulting Numbers: [100] 100,76 unequal: No Solution Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,76 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 98, 48, 61, 59 ]
73
[ "98+48=146", "61-59=2", "146/2=73" ]
Current State: 73:[98, 48, 61, 59], Operations: [] Exploring Operation: 98+48=146, Resulting Numbers: [61, 59, 146] Generated Node #2: [61, 59, 146] from Operation: 98+48=146 Current State: 73:[61, 59, 146], Operations: ['98+48=146'] Exploring Operation: 61-59=2, Resulting Numbers: [146, 2] Generated Node #3: [146, 2] from Operation: 61-59=2 Current State: 73:[146, 2], Operations: ['98+48=146', '61-59=2'] Exploring Operation: 146/2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[98, 48, 61, 59], Operations: [] Exploring Operation: 98-61=37, Resulting Numbers: [48, 59, 37] Generated Node #0,0: 73:[48, 59, 37] Operation: 98-61=37 Exploring Operation: 98-48=50, Resulting Numbers: [61, 59, 50] Generated Node #0,1: 73:[61, 59, 50] Operation: 98-48=50 Exploring Operation: 98-59=39, Resulting Numbers: [48, 61, 39] Generated Node #0,2: 73:[48, 61, 39] Operation: 98-59=39 Exploring Operation: 48+59=107, Resulting Numbers: [98, 61, 107] Generated Node #0,3: 73:[98, 61, 107] Operation: 48+59=107 Moving to Node #0,1 Current State: 73:[61, 59, 50], Operations: ['98-48=50'] Exploring Operation: 61+59=120, Resulting Numbers: [50, 120] Generated Node #0,1,0: 73:[50, 120] Operation: 61+59=120 Exploring Operation: 59+50=109, Resulting Numbers: [61, 109] Generated Node #0,1,1: 73:[61, 109] Operation: 59+50=109 Exploring Operation: 61+50=111, Resulting Numbers: [59, 111] Generated Node #0,1,2: 73:[59, 111] Operation: 61+50=111 Exploring Operation: 61-50=11, Resulting Numbers: [59, 11] Generated Node #0,1,3: 73:[59, 11] Operation: 61-50=11 Moving to Node #0,3 Current State: 73:[98, 61, 107], Operations: ['48+59=107'] Exploring Operation: 98-61=37, Resulting Numbers: [107, 37] Generated Node #0,3,0: 73:[107, 37] Operation: 98-61=37 Exploring Operation: 107-98=9, Resulting Numbers: [61, 9] Generated Node #0,3,1: 73:[61, 9] Operation: 107-98=9 Exploring Operation: 98+61=159, Resulting Numbers: [107, 159] Generated Node #0,3,2: 73:[107, 159] Operation: 98+61=159 Exploring Operation: 107-61=46, Resulting Numbers: [98, 46] Generated Node #0,3,3: 73:[98, 46] Operation: 107-61=46 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 73:[98, 46], Operations: ['48+59=107', '107-61=46'] Exploring Operation: 98-46=52, Resulting Numbers: [52] 52,73 unequal: No Solution Exploring Operation: 98+46=144, Resulting Numbers: [144] 144,73 unequal: No Solution Exploring Operation: 98*46=4508, Resulting Numbers: [4508] 4508,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 73:[107, 37], Operations: ['48+59=107', '98-61=37'] Exploring Operation: 107*37=3959, Resulting Numbers: [3959] 3959,73 unequal: No Solution Exploring Operation: 107+37=144, Resulting Numbers: [144] 144,73 unequal: No Solution Exploring Operation: 107-37=70, Resulting Numbers: [70] 70,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 73:[61, 9], Operations: ['48+59=107', '107-98=9'] Exploring Operation: 61+9=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,73 unequal: No Solution Exploring Operation: 61*9=549, Resulting Numbers: [549] 549,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 73:[107, 159], Operations: ['48+59=107', '98+61=159'] Exploring Operation: 107*159=17013, Resulting Numbers: [17013] 17013,73 unequal: No Solution Exploring Operation: 159-107=52, Resulting Numbers: [52] 52,73 unequal: No Solution Exploring Operation: 107+159=266, Resulting Numbers: [266] 266,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 73:[48, 61, 39], Operations: ['98-59=39'] Exploring Operation: 48+61=109, Resulting Numbers: [39, 109] Generated Node #0,2,0: 73:[39, 109] Operation: 48+61=109 Exploring Operation: 48+39=87, Resulting Numbers: [61, 87] Generated Node #0,2,1: 73:[61, 87] Operation: 48+39=87 Exploring Operation: 61+39=100, Resulting Numbers: [48, 100] Generated Node #0,2,2: 73:[48, 100] Operation: 61+39=100 Exploring Operation: 48-39=9, Resulting Numbers: [61, 9] Generated Node #0,2,3: 73:[61, 9] Operation: 48-39=9 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 73:[61, 87], Operations: ['98-59=39', '48+39=87'] Exploring Operation: 61+87=148, Resulting Numbers: [148] 148,73 unequal: No Solution Exploring Operation: 61*87=5307, Resulting Numbers: [5307] 5307,73 unequal: No Solution Exploring Operation: 87-61=26, Resulting Numbers: [26] 26,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[48, 100], Operations: ['98-59=39', '61+39=100'] Exploring Operation: 100-48=52, Resulting Numbers: [52] 52,73 unequal: No Solution Exploring Operation: 48+100=148, Resulting Numbers: [148] 148,73 unequal: No Solution Exploring Operation: 48*100=4800, Resulting Numbers: [4800] 4800,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[39, 109], Operations: ['98-59=39', '48+61=109'] Exploring Operation: 39*109=4251, Resulting Numbers: [4251] 4251,73 unequal: No Solution Exploring Operation: 109-39=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 39+109=148, Resulting Numbers: [148] 148,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 73:[61, 9], Operations: ['98-59=39', '48-39=9'] Exploring Operation: 61+9=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,73 unequal: No Solution Exploring Operation: 61*9=549, Resulting Numbers: [549] 549,73 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: 73:[48, 59, 37], Operations: ['98-61=37'] Exploring Operation: 48+37=85, Resulting Numbers: [59, 85] Generated Node #0,0,0: 73:[59, 85] Operation: 48+37=85 Exploring Operation: 48-37=11, Resulting Numbers: [59, 11] Generated Node #0,0,1: 73:[59, 11] Operation: 48-37=11 Exploring Operation: 48+59=107, Resulting Numbers: [37, 107] Generated Node #0,0,2: 73:[37, 107] Operation: 48+59=107 Exploring Operation: 59+37=96, Resulting Numbers: [48, 96] Generated Node #0,0,3: 73:[48, 96] Operation: 59+37=96 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[59, 85], Operations: ['98-61=37', '48+37=85'] Exploring Operation: 59*85=5015, Resulting Numbers: [5015] 5015,73 unequal: No Solution Exploring Operation: 59+85=144, Resulting Numbers: [144] 144,73 unequal: No Solution Exploring Operation: 85-59=26, Resulting Numbers: [26] 26,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 73:[48, 96], Operations: ['98-61=37', '59+37=96'] Exploring Operation: 96/48=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 48+96=144, Resulting Numbers: [144] 144,73 unequal: No Solution Exploring Operation: 48*96=4608, Resulting Numbers: [4608] 4608,73 unequal: No Solution Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 73:[37, 107], Operations: ['98-61=37', '48+59=107'] Exploring Operation: 37*107=3959, Resulting Numbers: [3959] 3959,73 unequal: No Solution Exploring Operation: 37+107=144, Resulting Numbers: [144] 144,73 unequal: No Solution Exploring Operation: 107-37=70, Resulting Numbers: [70] 70,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[59, 11], Operations: ['98-61=37', '48-37=11'] Exploring Operation: 59+11=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 59*11=649, Resulting Numbers: [649] 649,73 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: 73:[61, 109], Operations: ['98-48=50', '59+50=109'] Exploring Operation: 61+109=170, Resulting Numbers: [170] 170,73 unequal: No Solution Exploring Operation: 109-61=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 61*109=6649, Resulting Numbers: [6649] 6649,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[59, 111], Operations: ['98-48=50', '61+50=111'] Exploring Operation: 59*111=6549, Resulting Numbers: [6549] 6549,73 unequal: No Solution Exploring Operation: 111-59=52, Resulting Numbers: [52] 52,73 unequal: No Solution Exploring Operation: 59+111=170, Resulting Numbers: [170] 170,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[50, 120], Operations: ['98-48=50', '61+59=120'] Exploring Operation: 50*120=6000, Resulting Numbers: [6000] 6000,73 unequal: No Solution Exploring Operation: 120-50=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 50+120=170, Resulting Numbers: [170] 170,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[59, 11], Operations: ['98-48=50', '61-50=11'] Exploring Operation: 59+11=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 59*11=649, Resulting Numbers: [649] 649,73 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 33, 80, 83, 40 ]
64
[ "83-33=50", "80*40=3200", "3200/50=64" ]
Current State: 64:[33, 80, 83, 40], Operations: [] Exploring Operation: 83-33=50, Resulting Numbers: [80, 40, 50] Generated Node #2: [80, 40, 50] from Operation: 83-33=50 Current State: 64:[80, 40, 50], Operations: ['83-33=50'] Exploring Operation: 80*40=3200, Resulting Numbers: [50, 3200] Generated Node #3: [50, 3200] from Operation: 80*40=3200 Current State: 64:[50, 3200], Operations: ['83-33=50', '80*40=3200'] Exploring Operation: 3200/50=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[33, 80, 83, 40], Operations: [] Exploring Operation: 80-40=40, Resulting Numbers: [33, 83, 40] Generated Node #0,0: 64:[33, 83, 40] Operation: 80-40=40 Exploring Operation: 83-80=3, Resulting Numbers: [33, 40, 3] Generated Node #0,1: 64:[33, 40, 3] Operation: 83-80=3 Exploring Operation: 80/40=2, Resulting Numbers: [33, 83, 2] Generated Node #0,2: 64:[33, 83, 2] Operation: 80/40=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[33, 40, 3], Operations: ['83-80=3'] Exploring Operation: 33+40=73, Resulting Numbers: [3, 73] Generated Node #0,1,0: 64:[3, 73] Operation: 33+40=73 Exploring Operation: 40-33=7, Resulting Numbers: [3, 7] Generated Node #0,1,1: 64:[3, 7] Operation: 40-33=7 Exploring Operation: 40-3=37, Resulting Numbers: [33, 37] Generated Node #0,1,2: 64:[33, 37] Operation: 40-3=37 Moving to Node #0,1,1 Current State: 64:[3, 7], Operations: ['83-80=3', '40-33=7'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[33, 37], Operations: ['83-80=3', '40-3=37'] Exploring Operation: 33*37=1221, Resulting Numbers: [1221] 1221,64 unequal: No Solution Exploring Operation: 33+37=70, Resulting Numbers: [70] 70,64 unequal: No Solution Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[3, 73], Operations: ['83-80=3', '33+40=73'] Exploring Operation: 3*73=219, Resulting Numbers: [219] 219,64 unequal: No Solution Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,64 unequal: No Solution Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[33, 83, 2], Operations: ['80/40=2'] Exploring Operation: 33-2=31, Resulting Numbers: [83, 31] Generated Node #0,2,0: 64:[83, 31] Operation: 33-2=31 Exploring Operation: 83-2=81, Resulting Numbers: [33, 81] Generated Node #0,2,1: 64:[33, 81] Operation: 83-2=81 Exploring Operation: 83-33=50, Resulting Numbers: [2, 50] Generated Node #0,2,2: 64:[2, 50] Operation: 83-33=50 Moving to Node #0,2,2 Current State: 64:[2, 50], Operations: ['80/40=2', '83-33=50'] Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,64 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,64 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[33, 81], Operations: ['80/40=2', '83-2=81'] Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,64 unequal: No Solution Exploring Operation: 33*81=2673, Resulting Numbers: [2673] 2673,64 unequal: No Solution Exploring Operation: 33+81=114, Resulting Numbers: [114] 114,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[83, 31], Operations: ['80/40=2', '33-2=31'] Exploring Operation: 83*31=2573, Resulting Numbers: [2573] 2573,64 unequal: No Solution Exploring Operation: 83-31=52, Resulting Numbers: [52] 52,64 unequal: No Solution Exploring Operation: 83+31=114, Resulting Numbers: [114] 114,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[33, 83, 40], Operations: ['80-40=40'] Exploring Operation: 40-33=7, Resulting Numbers: [83, 7] Generated Node #0,0,0: 64:[83, 7] Operation: 40-33=7 Exploring Operation: 83-33=50, Resulting Numbers: [40, 50] Generated Node #0,0,1: 64:[40, 50] Operation: 83-33=50 Exploring Operation: 83-40=43, Resulting Numbers: [33, 43] Generated Node #0,0,2: 64:[33, 43] Operation: 83-40=43 Moving to Node #0,0,2 Current State: 64:[33, 43], Operations: ['80-40=40', '83-40=43'] Exploring Operation: 33+43=76, Resulting Numbers: [76] 76,64 unequal: No Solution Exploring Operation: 33*43=1419, Resulting Numbers: [1419] 1419,64 unequal: No Solution Exploring Operation: 43-33=10, Resulting Numbers: [10] 10,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[83, 7], Operations: ['80-40=40', '40-33=7'] Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,64 unequal: No Solution Exploring Operation: 83*7=581, Resulting Numbers: [581] 581,64 unequal: No Solution Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[40, 50], Operations: ['80-40=40', '83-33=50'] Exploring Operation: 40+50=90, Resulting Numbers: [90] 90,64 unequal: No Solution Exploring Operation: 40*50=2000, Resulting Numbers: [2000] 2000,64 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 90, 90, 25, 57 ]
83
[ "90/90=1", "25+57=82", "1+82=83" ]
Current State: 83:[90, 90, 25, 57], Operations: [] Exploring Operation: 90/90=1, Resulting Numbers: [25, 57, 1] Generated Node #2: [25, 57, 1] from Operation: 90/90=1 Current State: 83:[25, 57, 1], Operations: ['90/90=1'] Exploring Operation: 25+57=82, Resulting Numbers: [1, 82] Generated Node #3: [1, 82] from Operation: 25+57=82 Current State: 83:[1, 82], Operations: ['90/90=1', '25+57=82'] Exploring Operation: 1+82=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[90, 90, 25, 57], Operations: [] Exploring Operation: 90-25=65, Resulting Numbers: [90, 57, 65] Generated Node #0,0: 83:[90, 57, 65] Operation: 90-25=65 Exploring Operation: 90-25=65, Resulting Numbers: [90, 57, 65] Generated Node #0,1: 83:[90, 57, 65] Operation: 90-25=65 Exploring Operation: 25+57=82, Resulting Numbers: [90, 90, 82] Generated Node #0,2: 83:[90, 90, 82] Operation: 25+57=82 Moving to Node #0,2 Current State: 83:[90, 90, 82], Operations: ['25+57=82'] Exploring Operation: 90/90=1, Resulting Numbers: [82, 1] Generated Node #0,2,0: 83:[82, 1] Operation: 90/90=1 Exploring Operation: 90-82=8, Resulting Numbers: [90, 8] Generated Node #0,2,1: 83:[90, 8] Operation: 90-82=8 Exploring Operation: 90-82=8, Resulting Numbers: [90, 8] Generated Node #0,2,2: 83:[90, 8] Operation: 90-82=8 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[90, 8], Operations: ['25+57=82', '90-82=8'] Exploring Operation: 90-8=82, Resulting Numbers: [82] 82,83 unequal: No Solution Exploring Operation: 90*8=720, Resulting Numbers: [720] 720,83 unequal: No Solution Exploring Operation: 90+8=98, Resulting Numbers: [98] 98,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,2,2 Current State: 83:[90, 8], Operations: ['25+57=82', '90-82=8'] Exploring Operation: 90-8=82, Resulting Numbers: [82] 82,83 unequal: No Solution Exploring Operation: 90+8=98, Resulting Numbers: [98] 98,83 unequal: No Solution Exploring Operation: 90*8=720, Resulting Numbers: [720] 720,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,2,0 Current State: 83:[82, 1], Operations: ['25+57=82', '90/90=1'] Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,83 unequal: No Solution Exploring Operation: 82+1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[90, 90, 25, 57], Operations: [] Exploring Operation: 25+57=82, Resulting Numbers: [90, 90, 82] Generated Node #0,2: 83:[90, 90, 82] Operation: 25+57=82 Moving to Node #0,2 Current State: 83:[90, 90, 82], Operations: ['25+57=82'] Exploring Operation: 90/90=1, Resulting Numbers: [82, 1] Generated Node #0,2,0: 83:[82, 1] Operation: 90/90=1 Moving to Node #0,2,0 Current State: 83:[82, 1], Operations: ['25+57=82', '90/90=1'] Exploring Operation: 82+1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 65, 22, 98, 60 ]
40
[ "98-65=33", "22*60=1320", "1320/33=40" ]
Current State: 40:[65, 22, 98, 60], Operations: [] Exploring Operation: 98-65=33, Resulting Numbers: [22, 60, 33] Generated Node #2: [22, 60, 33] from Operation: 98-65=33 Current State: 40:[22, 60, 33], Operations: ['98-65=33'] Exploring Operation: 22*60=1320, Resulting Numbers: [33, 1320] Generated Node #3: [33, 1320] from Operation: 22*60=1320 Current State: 40:[33, 1320], Operations: ['98-65=33', '22*60=1320'] Exploring Operation: 1320/33=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[65, 22, 98, 60], Operations: [] Exploring Operation: 98-65=33, Resulting Numbers: [22, 60, 33] Generated Node #0,0: 40:[22, 60, 33] Operation: 98-65=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[22, 60, 33], Operations: ['98-65=33'] Exploring Operation: 60-22=38, Resulting Numbers: [33, 38] Generated Node #0,0,0: 40:[33, 38] Operation: 60-22=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[33, 38], Operations: ['98-65=33', '60-22=38'] Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 87, 7, 18, 75 ]
16
[ "87+75=162", "162/18=9", "7+9=16" ]
Current State: 16:[87, 7, 18, 75], Operations: [] Exploring Operation: 87+75=162, Resulting Numbers: [7, 18, 162] Generated Node #2: [7, 18, 162] from Operation: 87+75=162 Current State: 16:[7, 18, 162], Operations: ['87+75=162'] Exploring Operation: 162/18=9, Resulting Numbers: [7, 9] Generated Node #3: [7, 9] from Operation: 162/18=9 Current State: 16:[7, 9], Operations: ['87+75=162', '162/18=9'] Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[87, 7, 18, 75], Operations: [] Exploring Operation: 87-75=12, Resulting Numbers: [7, 18, 12] Generated Node #0,0: 16:[7, 18, 12] Operation: 87-75=12 Exploring Operation: 87-18=69, Resulting Numbers: [7, 75, 69] Generated Node #0,1: 16:[7, 75, 69] Operation: 87-18=69 Moving to Node #0,0 Current State: 16:[7, 18, 12], Operations: ['87-75=12'] Exploring Operation: 12-7=5, Resulting Numbers: [18, 5] Generated Node #0,0,0: 16:[18, 5] Operation: 12-7=5 Exploring Operation: 18-12=6, Resulting Numbers: [7, 6] Generated Node #0,0,1: 16:[7, 6] Operation: 18-12=6 Moving to Node #0,1 Current State: 16:[7, 75, 69], Operations: ['87-18=69'] Exploring Operation: 75-69=6, Resulting Numbers: [7, 6] Generated Node #0,1,0: 16:[7, 6] Operation: 75-69=6 Exploring Operation: 75-7=68, Resulting Numbers: [69, 68] Generated Node #0,1,1: 16:[69, 68] Operation: 75-7=68 Moving to Node #0,0,0 Current State: 16:[18, 5], Operations: ['87-75=12', '12-7=5'] Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,16 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[7, 6], Operations: ['87-18=69', '75-69=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[7, 6], Operations: ['87-75=12', '18-12=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[69, 68], Operations: ['87-18=69', '75-7=68'] Exploring Operation: 69+68=137, Resulting Numbers: [137] 137,16 unequal: No Solution Exploring Operation: 69-68=1, Resulting Numbers: [1] 1,16 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 19, 98, 30, 95 ]
52
[ "19+98=117", "95-30=65", "117-65=52" ]
Current State: 52:[19, 98, 30, 95], Operations: [] Exploring Operation: 19+98=117, Resulting Numbers: [30, 95, 117] Generated Node #2: [30, 95, 117] from Operation: 19+98=117 Current State: 52:[30, 95, 117], Operations: ['19+98=117'] Exploring Operation: 95-30=65, Resulting Numbers: [117, 65] Generated Node #3: [117, 65] from Operation: 95-30=65 Current State: 52:[117, 65], Operations: ['19+98=117', '95-30=65'] Exploring Operation: 117-65=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[19, 98, 30, 95], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [19, 30, 3] Generated Node #0,0: 52:[19, 30, 3] Operation: 98-95=3 Exploring Operation: 98-30=68, Resulting Numbers: [19, 95, 68] Generated Node #0,1: 52:[19, 95, 68] Operation: 98-30=68 Exploring Operation: 98-19=79, Resulting Numbers: [30, 95, 79] Generated Node #0,2: 52:[30, 95, 79] Operation: 98-19=79 Exploring Operation: 95/19=5, Resulting Numbers: [98, 30, 5] Generated Node #0,3: 52:[98, 30, 5] Operation: 95/19=5 Exploring Operation: 95-30=65, Resulting Numbers: [19, 98, 65] Generated Node #0,4: 52:[19, 98, 65] Operation: 95-30=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[19, 30, 3], Operations: ['98-95=3'] Exploring Operation: 19-3=16, Resulting Numbers: [30, 16] Generated Node #0,0,0: 52:[30, 16] Operation: 19-3=16 Exploring Operation: 19+30=49, Resulting Numbers: [3, 49] Generated Node #0,0,1: 52:[3, 49] Operation: 19+30=49 Exploring Operation: 30-3=27, Resulting Numbers: [19, 27] Generated Node #0,0,2: 52:[19, 27] Operation: 30-3=27 Exploring Operation: 19+3=22, Resulting Numbers: [30, 22] Generated Node #0,0,3: 52:[30, 22] Operation: 19+3=22 Exploring Operation: 30-19=11, Resulting Numbers: [3, 11] Generated Node #0,0,4: 52:[3, 11] Operation: 30-19=11 Moving to Node #0,0,4 Current State: 52:[3, 11], Operations: ['98-95=3', '30-19=11'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,52 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[3, 49], Operations: ['98-95=3', '19+30=49'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,52 unequal: No Solution Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[19, 98, 30, 95], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [19, 30, 3] Generated Node #0,0: 52:[19, 30, 3] Operation: 98-95=3 Moving to Node #0,0 Current State: 52:[19, 30, 3], Operations: ['98-95=3'] Exploring Operation: 19+30=49, Resulting Numbers: [3, 49] Generated Node #0,0,1: 52:[3, 49] Operation: 19+30=49 Moving to Node #0,0,1 Current State: 52:[3, 49], Operations: ['98-95=3', '19+30=49'] Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 75, 2, 94, 50 ]
44
[ "94-75=19", "50/2=25", "19+25=44" ]
Current State: 44:[75, 2, 94, 50], Operations: [] Exploring Operation: 94-75=19, Resulting Numbers: [2, 50, 19] Generated Node #2: [2, 50, 19] from Operation: 94-75=19 Current State: 44:[2, 50, 19], Operations: ['94-75=19'] Exploring Operation: 50/2=25, Resulting Numbers: [19, 25] Generated Node #3: [19, 25] from Operation: 50/2=25 Current State: 44:[19, 25], Operations: ['94-75=19', '50/2=25'] Exploring Operation: 19+25=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[75, 2, 94, 50], Operations: [] Exploring Operation: 94/2=47, Resulting Numbers: [75, 50, 47] Generated Node #0,0: 44:[75, 50, 47] Operation: 94/2=47 Exploring Operation: 94-75=19, Resulting Numbers: [2, 50, 19] Generated Node #0,1: 44:[2, 50, 19] Operation: 94-75=19 Exploring Operation: 94-50=44, Resulting Numbers: [75, 2, 44] Generated Node #0,2: 44:[75, 2, 44] Operation: 94-50=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[2, 50, 19], Operations: ['94-75=19'] Exploring Operation: 2+19=21, Resulting Numbers: [50, 21] Generated Node #0,1,0: 44:[50, 21] Operation: 2+19=21 Exploring Operation: 50-2=48, Resulting Numbers: [19, 48] Generated Node #0,1,1: 44:[19, 48] Operation: 50-2=48 Exploring Operation: 50/2=25, Resulting Numbers: [19, 25] Generated Node #0,1,2: 44:[19, 25] Operation: 50/2=25 Moving to Node #0,1,2 Current State: 44:[19, 25], Operations: ['94-75=19', '50/2=25'] Exploring Operation: 19+25=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[75, 2, 94, 50], Operations: [] Exploring Operation: 94-75=19, Resulting Numbers: [2, 50, 19] Generated Node #0,1: 44:[2, 50, 19] Operation: 94-75=19 Moving to Node #0,1 Current State: 44:[2, 50, 19], Operations: ['94-75=19'] Exploring Operation: 50/2=25, Resulting Numbers: [19, 25] Generated Node #0,1,2: 44:[19, 25] Operation: 50/2=25 Moving to Node #0,1,2 Current State: 44:[19, 25], Operations: ['94-75=19', '50/2=25'] Exploring Operation: 19+25=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 8, 43, 96, 72 ]
40
[ "96-72=24", "24/8=3", "43-3=40" ]
Current State: 40:[8, 43, 96, 72], Operations: [] Exploring Operation: 96-72=24, Resulting Numbers: [8, 43, 24] Generated Node #2: [8, 43, 24] from Operation: 96-72=24 Current State: 40:[8, 43, 24], Operations: ['96-72=24'] Exploring Operation: 24/8=3, Resulting Numbers: [43, 3] Generated Node #3: [43, 3] from Operation: 24/8=3 Current State: 40:[43, 3], Operations: ['96-72=24', '24/8=3'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[8, 43, 96, 72], Operations: [] Exploring Operation: 96-72=24, Resulting Numbers: [8, 43, 24] Generated Node #0,0: 40:[8, 43, 24] Operation: 96-72=24 Exploring Operation: 96/8=12, Resulting Numbers: [43, 72, 12] Generated Node #0,1: 40:[43, 72, 12] Operation: 96/8=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[8, 43, 24], Operations: ['96-72=24'] Exploring Operation: 43-24=19, Resulting Numbers: [8, 19] Generated Node #0,0,0: 40:[8, 19] Operation: 43-24=19 Exploring Operation: 24/8=3, Resulting Numbers: [43, 3] Generated Node #0,0,1: 40:[43, 3] Operation: 24/8=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[8, 19], Operations: ['96-72=24', '43-24=19'] Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,40 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 40:[43, 3], Operations: ['96-72=24', '24/8=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,40 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[8, 43, 96, 72], Operations: [] Exploring Operation: 96-72=24, Resulting Numbers: [8, 43, 24] Generated Node #0,0: 40:[8, 43, 24] Operation: 96-72=24 Moving to Node #0,0 Current State: 40:[8, 43, 24], Operations: ['96-72=24'] Exploring Operation: 24/8=3, Resulting Numbers: [43, 3] Generated Node #0,0,1: 40:[43, 3] Operation: 24/8=3 Moving to Node #0,0,1 Current State: 40:[43, 3], Operations: ['96-72=24', '24/8=3'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 59, 87, 66, 85 ]
47
[ "87-59=28", "85-66=19", "28+19=47" ]
Current State: 47:[59, 87, 66, 85], Operations: [] Exploring Operation: 87-59=28, Resulting Numbers: [66, 85, 28] Generated Node #2: [66, 85, 28] from Operation: 87-59=28 Current State: 47:[66, 85, 28], Operations: ['87-59=28'] Exploring Operation: 85-66=19, Resulting Numbers: [28, 19] Generated Node #3: [28, 19] from Operation: 85-66=19 Current State: 47:[28, 19], Operations: ['87-59=28', '85-66=19'] Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[59, 87, 66, 85], Operations: [] Exploring Operation: 87-66=21, Resulting Numbers: [59, 85, 21] Generated Node #0,0: 47:[59, 85, 21] Operation: 87-66=21 Exploring Operation: 87-59=28, Resulting Numbers: [66, 85, 28] Generated Node #0,1: 47:[66, 85, 28] Operation: 87-59=28 Exploring Operation: 87-85=2, Resulting Numbers: [59, 66, 2] Generated Node #0,2: 47:[59, 66, 2] Operation: 87-85=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[59, 85, 21], Operations: ['87-66=21'] Exploring Operation: 85-59=26, Resulting Numbers: [21, 26] Generated Node #0,0,0: 47:[21, 26] Operation: 85-59=26 Exploring Operation: 59-21=38, Resulting Numbers: [85, 38] Generated Node #0,0,1: 47:[85, 38] Operation: 59-21=38 Exploring Operation: 85-21=64, Resulting Numbers: [59, 64] Generated Node #0,0,2: 47:[59, 64] Operation: 85-21=64 Moving to Node #0,0,2 Current State: 47:[59, 64], Operations: ['87-66=21', '85-21=64'] Exploring Operation: 59+64=123, Resulting Numbers: [123] 123,47 unequal: No Solution Exploring Operation: 64-59=5, Resulting Numbers: [5] 5,47 unequal: No Solution Exploring Operation: 59*64=3776, Resulting Numbers: [3776] 3776,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[21, 26], Operations: ['87-66=21', '85-59=26'] Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,47 unequal: No Solution Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[59, 87, 66, 85], Operations: [] Exploring Operation: 87-66=21, Resulting Numbers: [59, 85, 21] Generated Node #0,0: 47:[59, 85, 21] Operation: 87-66=21 Moving to Node #0,0 Current State: 47:[59, 85, 21], Operations: ['87-66=21'] Exploring Operation: 85-59=26, Resulting Numbers: [21, 26] Generated Node #0,0,0: 47:[21, 26] Operation: 85-59=26 Moving to Node #0,0,0 Current State: 47:[21, 26], Operations: ['87-66=21', '85-59=26'] Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 5, 54, 35, 10 ]
17
[ "10/5=2", "54-35=19", "19-2=17" ]
Current State: 17:[5, 54, 35, 10], Operations: [] Exploring Operation: 10/5=2, Resulting Numbers: [54, 35, 2] Generated Node #2: [54, 35, 2] from Operation: 10/5=2 Current State: 17:[54, 35, 2], Operations: ['10/5=2'] Exploring Operation: 54-35=19, Resulting Numbers: [2, 19] Generated Node #3: [2, 19] from Operation: 54-35=19 Current State: 17:[2, 19], Operations: ['10/5=2', '54-35=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[5, 54, 35, 10], Operations: [] Exploring Operation: 35/5=7, Resulting Numbers: [54, 10, 7] Generated Node #0,0: 17:[54, 10, 7] Operation: 35/5=7 Exploring Operation: 54-35=19, Resulting Numbers: [5, 10, 19] Generated Node #0,1: 17:[5, 10, 19] Operation: 54-35=19 Moving to Node #0,1 Current State: 17:[5, 10, 19], Operations: ['54-35=19'] Exploring Operation: 5+10=15, Resulting Numbers: [19, 15] Generated Node #0,1,0: 17:[19, 15] Operation: 5+10=15 Exploring Operation: 19-5=14, Resulting Numbers: [10, 14] Generated Node #0,1,1: 17:[10, 14] Operation: 19-5=14 Moving to Node #0,0 Current State: 17:[54, 10, 7], Operations: ['35/5=7'] Exploring Operation: 54-7=47, Resulting Numbers: [10, 47] Generated Node #0,0,0: 17:[10, 47] Operation: 54-7=47 Exploring Operation: 54-10=44, Resulting Numbers: [7, 44] Generated Node #0,0,1: 17:[7, 44] Operation: 54-10=44 Moving to Node #0,1,0 Current State: 17:[19, 15], Operations: ['54-35=19', '5+10=15'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[10, 14], Operations: ['54-35=19', '19-5=14'] Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,17 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[7, 44], Operations: ['35/5=7', '54-10=44'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,17 unequal: No Solution Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[10, 47], Operations: ['35/5=7', '54-7=47'] Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,17 unequal: No Solution Exploring Operation: 10+47=57, Resulting Numbers: [57] 57,17 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 64, 68, 49, 83 ]
33
[ "68-64=4", "49+83=132", "132/4=33" ]
Current State: 33:[64, 68, 49, 83], Operations: [] Exploring Operation: 68-64=4, Resulting Numbers: [49, 83, 4] Generated Node #2: [49, 83, 4] from Operation: 68-64=4 Current State: 33:[49, 83, 4], Operations: ['68-64=4'] Exploring Operation: 49+83=132, Resulting Numbers: [4, 132] Generated Node #3: [4, 132] from Operation: 49+83=132 Current State: 33:[4, 132], Operations: ['68-64=4', '49+83=132'] Exploring Operation: 132/4=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[64, 68, 49, 83], Operations: [] Exploring Operation: 83-49=34, Resulting Numbers: [64, 68, 34] Generated Node #0,0: 33:[64, 68, 34] Operation: 83-49=34 Exploring Operation: 83-68=15, Resulting Numbers: [64, 49, 15] Generated Node #0,1: 33:[64, 49, 15] Operation: 83-68=15 Exploring Operation: 68-64=4, Resulting Numbers: [49, 83, 4] Generated Node #0,2: 33:[49, 83, 4] Operation: 68-64=4 Exploring Operation: 83-64=19, Resulting Numbers: [68, 49, 19] Generated Node #0,3: 33:[68, 49, 19] Operation: 83-64=19 Exploring Operation: 64-49=15, Resulting Numbers: [68, 83, 15] Generated Node #0,4: 33:[68, 83, 15] Operation: 64-49=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[64, 49, 15], Operations: ['83-68=15'] Exploring Operation: 64+15=79, Resulting Numbers: [49, 79] Generated Node #0,1,0: 33:[49, 79] Operation: 64+15=79 Exploring Operation: 64-15=49, Resulting Numbers: [49, 49] Generated Node #0,1,1: 33:[49, 49] Operation: 64-15=49 Exploring Operation: 64-49=15, Resulting Numbers: [15, 15] Generated Node #0,1,2: 33:[15, 15] Operation: 64-49=15 Exploring Operation: 49-15=34, Resulting Numbers: [64, 34] Generated Node #0,1,3: 33:[64, 34] Operation: 49-15=34 Exploring Operation: 49+15=64, Resulting Numbers: [64, 64] Generated Node #0,1,4: 33:[64, 64] Operation: 49+15=64 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 33:[15, 15], Operations: ['83-68=15', '64-49=15'] Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 15*15=225, Resulting Numbers: [225] 225,33 unequal: No Solution Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,33 unequal: No Solution No 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: 33:[49, 49], Operations: ['83-68=15', '64-15=49'] Exploring Operation: 49-49=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 49/49=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,33 unequal: No Solution Exploring Operation: 49*49=2401, Resulting Numbers: [2401] 2401,33 unequal: No Solution No 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: 33:[64, 34], Operations: ['83-68=15', '49-15=34'] Exploring Operation: 64*34=2176, Resulting Numbers: [2176] 2176,33 unequal: No Solution Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 64+34=98, Resulting Numbers: [98] 98,33 unequal: No Solution No 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: 33:[49, 79], Operations: ['83-68=15', '64+15=79'] Exploring Operation: 79-49=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 49+79=128, Resulting Numbers: [128] 128,33 unequal: No Solution Exploring Operation: 49*79=3871, Resulting Numbers: [3871] 3871,33 unequal: No Solution No 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: 33:[64, 64], Operations: ['83-68=15', '49+15=64'] Exploring Operation: 64/64=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 64*64=4096, Resulting Numbers: [4096] 4096,33 unequal: No Solution Exploring Operation: 64-64=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 64+64=128, Resulting Numbers: [128] 128,33 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: 33:[68, 49, 19], Operations: ['83-64=19'] Exploring Operation: 68-19=49, Resulting Numbers: [49, 49] Generated Node #0,3,0: 33:[49, 49] Operation: 68-19=49 Exploring Operation: 49-19=30, Resulting Numbers: [68, 30] Generated Node #0,3,1: 33:[68, 30] Operation: 49-19=30 Exploring Operation: 68-49=19, Resulting Numbers: [19, 19] Generated Node #0,3,2: 33:[19, 19] Operation: 68-49=19 Exploring Operation: 68+19=87, Resulting Numbers: [49, 87] Generated Node #0,3,3: 33:[49, 87] Operation: 68+19=87 Exploring Operation: 49+19=68, Resulting Numbers: [68, 68] Generated Node #0,3,4: 33:[68, 68] Operation: 49+19=68 Moving to Node #0,3,2 Current State: 33:[19, 19], Operations: ['83-64=19', '68-49=19'] Exploring Operation: 19*19=361, Resulting Numbers: [361] 361,33 unequal: No Solution Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,33 unequal: No Solution Moving to Node #0,3,0 Current State: 33:[49, 49], Operations: ['83-64=19', '68-19=49'] Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,33 unequal: No Solution Exploring Operation: 49*49=2401, Resulting Numbers: [2401] 2401,33 unequal: No Solution Exploring Operation: 49/49=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 49-49=0, Resulting Numbers: [0] 0,33 unequal: No Solution Moving to Node #0,3,1 Current State: 33:[68, 30], Operations: ['83-64=19', '49-19=30'] Exploring Operation: 68+30=98, Resulting Numbers: [98] 98,33 unequal: No Solution Exploring Operation: 68*30=2040, Resulting Numbers: [2040] 2040,33 unequal: No Solution Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,33 unequal: No Solution Moving to Node #0,3,3 Current State: 33:[49, 87], Operations: ['83-64=19', '68+19=87'] Exploring Operation: 49*87=4263, Resulting Numbers: [4263] 4263,33 unequal: No Solution Exploring Operation: 87-49=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 49+87=136, Resulting Numbers: [136] 136,33 unequal: No Solution Moving to Node #0,3,4 Current State: 33:[68, 68], Operations: ['83-64=19', '49+19=68'] Exploring Operation: 68*68=4624, Resulting Numbers: [4624] 4624,33 unequal: No Solution Exploring Operation: 68/68=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 68+68=136, Resulting Numbers: [136] 136,33 unequal: No Solution Exploring Operation: 68-68=0, Resulting Numbers: [0] 0,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[64, 68, 34], Operations: ['83-49=34'] Exploring Operation: 68-34=34, Resulting Numbers: [64, 34] Generated Node #0,0,0: 33:[64, 34] Operation: 68-34=34 Exploring Operation: 64+68=132, Resulting Numbers: [34, 132] Generated Node #0,0,1: 33:[34, 132] Operation: 64+68=132 Exploring Operation: 68/34=2, Resulting Numbers: [64, 2] Generated Node #0,0,2: 33:[64, 2] Operation: 68/34=2 Exploring Operation: 64-34=30, Resulting Numbers: [68, 30] Generated Node #0,0,3: 33:[68, 30] Operation: 64-34=30 Exploring Operation: 68-64=4, Resulting Numbers: [34, 4] Generated Node #0,0,4: 33:[34, 4] Operation: 68-64=4 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 33:[34, 4], Operations: ['83-49=34', '68-64=4'] Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,33 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,33 unequal: No Solution No 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: 33:[64, 34], Operations: ['83-49=34', '68-34=34'] Exploring Operation: 64*34=2176, Resulting Numbers: [2176] 2176,33 unequal: No Solution Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 64+34=98, Resulting Numbers: [98] 98,33 unequal: No Solution No 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: 33:[64, 2], Operations: ['83-49=34', '68/34=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,33 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,33 unequal: No Solution Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,33 unequal: No Solution No 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: 33:[68, 30], Operations: ['83-49=34', '64-34=30'] Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 68+30=98, Resulting Numbers: [98] 98,33 unequal: No Solution Exploring Operation: 68*30=2040, Resulting Numbers: [2040] 2040,33 unequal: No Solution No 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: 33:[34, 132], Operations: ['83-49=34', '64+68=132'] Exploring Operation: 132-34=98, Resulting Numbers: [98] 98,33 unequal: No Solution Exploring Operation: 34*132=4488, Resulting Numbers: [4488] 4488,33 unequal: No Solution Exploring Operation: 34+132=166, Resulting Numbers: [166] 166,33 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: 33:[49, 83, 4], Operations: ['68-64=4'] Exploring Operation: 49+4=53, Resulting Numbers: [83, 53] Generated Node #0,2,0: 33:[83, 53] Operation: 49+4=53 Exploring Operation: 83-49=34, Resulting Numbers: [4, 34] Generated Node #0,2,1: 33:[4, 34] Operation: 83-49=34 Exploring Operation: 83+4=87, Resulting Numbers: [49, 87] Generated Node #0,2,2: 33:[49, 87] Operation: 83+4=87 Exploring Operation: 83-4=79, Resulting Numbers: [49, 79] Generated Node #0,2,3: 33:[49, 79] Operation: 83-4=79 Exploring Operation: 49-4=45, Resulting Numbers: [83, 45] Generated Node #0,2,4: 33:[83, 45] Operation: 49-4=45 Moving to Node #0,2,1 Current State: 33:[4, 34], Operations: ['68-64=4', '83-49=34'] Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,33 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,33 unequal: No Solution Moving to Node #0,2,4 Current State: 33:[83, 45], Operations: ['68-64=4', '49-4=45'] Exploring Operation: 83*45=3735, Resulting Numbers: [3735] 3735,33 unequal: No Solution Exploring Operation: 83+45=128, Resulting Numbers: [128] 128,33 unequal: No Solution Exploring Operation: 83-45=38, Resulting Numbers: [38] 38,33 unequal: No Solution Moving to Node #0,2,3 Current State: 33:[49, 79], Operations: ['68-64=4', '83-4=79'] Exploring Operation: 49*79=3871, Resulting Numbers: [3871] 3871,33 unequal: No Solution Exploring Operation: 79-49=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 49+79=128, Resulting Numbers: [128] 128,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[83, 53], Operations: ['68-64=4', '49+4=53'] Exploring Operation: 83+53=136, Resulting Numbers: [136] 136,33 unequal: No Solution Exploring Operation: 83*53=4399, Resulting Numbers: [4399] 4399,33 unequal: No Solution Exploring Operation: 83-53=30, Resulting Numbers: [30] 30,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[49, 87], Operations: ['68-64=4', '83+4=87'] Exploring Operation: 49+87=136, Resulting Numbers: [136] 136,33 unequal: No Solution Exploring Operation: 87-49=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 49*87=4263, Resulting Numbers: [4263] 4263,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 33:[68, 83, 15], Operations: ['64-49=15'] Exploring Operation: 68+15=83, Resulting Numbers: [83, 83] Generated Node #0,4,0: 33:[83, 83] Operation: 68+15=83 Exploring Operation: 83-68=15, Resulting Numbers: [15, 15] Generated Node #0,4,1: 33:[15, 15] Operation: 83-68=15 Exploring Operation: 68-15=53, Resulting Numbers: [83, 53] Generated Node #0,4,2: 33:[83, 53] Operation: 68-15=53 Exploring Operation: 83-15=68, Resulting Numbers: [68, 68] Generated Node #0,4,3: 33:[68, 68] Operation: 83-15=68 Exploring Operation: 83+15=98, Resulting Numbers: [68, 98] Generated Node #0,4,4: 33:[68, 98] Operation: 83+15=98 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 33:[15, 15], Operations: ['64-49=15', '83-68=15'] Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 15*15=225, Resulting Numbers: [225] 225,33 unequal: No Solution Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,33 unequal: No Solution No 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: 33:[83, 53], Operations: ['64-49=15', '68-15=53'] Exploring Operation: 83-53=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 83+53=136, Resulting Numbers: [136] 136,33 unequal: No Solution Exploring Operation: 83*53=4399, Resulting Numbers: [4399] 4399,33 unequal: No Solution No 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: 33:[68, 68], Operations: ['64-49=15', '83-15=68'] Exploring Operation: 68*68=4624, Resulting Numbers: [4624] 4624,33 unequal: No Solution Exploring Operation: 68/68=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 68+68=136, Resulting Numbers: [136] 136,33 unequal: No Solution Exploring Operation: 68-68=0, Resulting Numbers: [0] 0,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 33:[83, 83], Operations: ['64-49=15', '68+15=83'] Exploring Operation: 83-83=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 83*83=6889, Resulting Numbers: [6889] 6889,33 unequal: No Solution Exploring Operation: 83+83=166, Resulting Numbers: [166] 166,33 unequal: No Solution Exploring Operation: 83/83=1, Resulting Numbers: [1] 1,33 unequal: No Solution No 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: 33:[68, 98], Operations: ['64-49=15', '83+15=98'] Exploring Operation: 98-68=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 68*98=6664, Resulting Numbers: [6664] 6664,33 unequal: No Solution Exploring Operation: 68+98=166, Resulting Numbers: [166] 166,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 1, 44, 33, 4 ]
36
[ "33-1=32", "32/4=8", "44-8=36" ]
Current State: 36:[1, 44, 33, 4], Operations: [] Exploring Operation: 33-1=32, Resulting Numbers: [44, 4, 32] Generated Node #2: [44, 4, 32] from Operation: 33-1=32 Current State: 36:[44, 4, 32], Operations: ['33-1=32'] Exploring Operation: 32/4=8, Resulting Numbers: [44, 8] Generated Node #3: [44, 8] from Operation: 32/4=8 Current State: 36:[44, 8], Operations: ['33-1=32', '32/4=8'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[1, 44, 33, 4], Operations: [] Exploring Operation: 44-33=11, Resulting Numbers: [1, 4, 11] Generated Node #0,0: 36:[1, 4, 11] Operation: 44-33=11 Exploring Operation: 44/4=11, Resulting Numbers: [1, 33, 11] Generated Node #0,1: 36:[1, 33, 11] Operation: 44/4=11 Exploring Operation: 44-4=40, Resulting Numbers: [1, 33, 40] Generated Node #0,2: 36:[1, 33, 40] Operation: 44-4=40 Exploring Operation: 44-1=43, Resulting Numbers: [33, 4, 43] Generated Node #0,3: 36:[33, 4, 43] Operation: 44-1=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[1, 4, 11], Operations: ['44-33=11'] Exploring Operation: 4-1=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 36:[11, 3] Operation: 4-1=3 Exploring Operation: 1+11=12, Resulting Numbers: [4, 12] Generated Node #0,0,1: 36:[4, 12] Operation: 1+11=12 Exploring Operation: 1*4=4, Resulting Numbers: [11, 4] Generated Node #0,0,2: 36:[11, 4] Operation: 1*4=4 Exploring Operation: 4/1=4, Resulting Numbers: [11, 4] Generated Node #0,0,3: 36:[11, 4] Operation: 4/1=4 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 36:[4, 12], Operations: ['44-33=11', '1+11=12'] Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,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:[11, 3], Operations: ['44-33=11', '4-1=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,36 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,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,2 Current State: 36:[11, 4], Operations: ['44-33=11', '1*4=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,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,3 Current State: 36:[11, 4], Operations: ['44-33=11', '4/1=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,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:[1, 33, 11], Operations: ['44/4=11'] Exploring Operation: 33/11=3, Resulting Numbers: [1, 3] Generated Node #0,1,0: 36:[1, 3] Operation: 33/11=3 Exploring Operation: 1+33=34, Resulting Numbers: [11, 34] Generated Node #0,1,1: 36:[11, 34] Operation: 1+33=34 Exploring Operation: 1+11=12, Resulting Numbers: [33, 12] Generated Node #0,1,2: 36:[33, 12] Operation: 1+11=12 Exploring Operation: 1*33=33, Resulting Numbers: [11, 33] Generated Node #0,1,3: 36:[11, 33] Operation: 1*33=33 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 36:[1, 3], Operations: ['44/4=11', '33/11=3'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,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:[11, 34], Operations: ['44/4=11', '1+33=34'] Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,36 unequal: No Solution Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,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,2 Current State: 36:[33, 12], Operations: ['44/4=11', '1+11=12'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,36 unequal: No Solution Exploring Operation: 33*12=396, Resulting Numbers: [396] 396,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,3 Current State: 36:[11, 33], Operations: ['44/4=11', '1*33=33'] Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 11*33=363, Resulting Numbers: [363] 363,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,2 Current State: 36:[1, 33, 40], Operations: ['44-4=40'] Exploring Operation: 1*33=33, Resulting Numbers: [40, 33] Generated Node #0,2,0: 36:[40, 33] Operation: 1*33=33 Exploring Operation: 40-33=7, Resulting Numbers: [1, 7] Generated Node #0,2,1: 36:[1, 7] Operation: 40-33=7 Exploring Operation: 1+33=34, Resulting Numbers: [40, 34] Generated Node #0,2,2: 36:[40, 34] Operation: 1+33=34 Exploring Operation: 40-1=39, Resulting Numbers: [33, 39] Generated Node #0,2,3: 36:[33, 39] Operation: 40-1=39 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 36:[1, 7], Operations: ['44-4=40', '40-33=7'] Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,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,2,2 Current State: 36:[40, 34], Operations: ['44-4=40', '1+33=34'] Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 40*34=1360, Resulting Numbers: [1360] 1360,36 unequal: No Solution Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,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,2,3 Current State: 36:[33, 39], Operations: ['44-4=40', '40-1=39'] Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,36 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 33*39=1287, Resulting Numbers: [1287] 1287,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,2,0 Current State: 36:[40, 33], Operations: ['44-4=40', '1*33=33'] Exploring Operation: 40+33=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 40*33=1320, Resulting Numbers: [1320] 1320,36 unequal: No Solution Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,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,3 Current State: 36:[33, 4, 43], Operations: ['44-1=43'] Exploring Operation: 43-33=10, Resulting Numbers: [4, 10] Generated Node #0,3,0: 36:[4, 10] Operation: 43-33=10 Exploring Operation: 33-4=29, Resulting Numbers: [43, 29] Generated Node #0,3,1: 36:[43, 29] Operation: 33-4=29 Exploring Operation: 43-4=39, Resulting Numbers: [33, 39] Generated Node #0,3,2: 36:[33, 39] Operation: 43-4=39 Exploring Operation: 33+4=37, Resulting Numbers: [43, 37] Generated Node #0,3,3: 36:[43, 37] Operation: 33+4=37 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 36:[4, 10], Operations: ['44-1=43', '43-33=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,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,3,2 Current State: 36:[33, 39], Operations: ['44-1=43', '43-4=39'] Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 33*39=1287, Resulting Numbers: [1287] 1287,36 unequal: No Solution Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,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,3,3 Current State: 36:[43, 37], Operations: ['44-1=43', '33+4=37'] Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 43+37=80, Resulting Numbers: [80] 80,36 unequal: No Solution Exploring Operation: 43*37=1591, Resulting Numbers: [1591] 1591,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,3,1 Current State: 36:[43, 29], Operations: ['44-1=43', '33-4=29'] Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,36 unequal: No Solution Exploring Operation: 43*29=1247, Resulting Numbers: [1247] 1247,36 unequal: No Solution Exploring Operation: 43+29=72, Resulting Numbers: [72] 72,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_4
mult_heuristic
[ 57, 89, 22, 83 ]
73
[ "89-57=32", "22+83=105", "105-32=73" ]
Current State: 73:[57, 89, 22, 83], Operations: [] Exploring Operation: 89-57=32, Resulting Numbers: [22, 83, 32] Generated Node #2: [22, 83, 32] from Operation: 89-57=32 Current State: 73:[22, 83, 32], Operations: ['89-57=32'] Exploring Operation: 22+83=105, Resulting Numbers: [32, 105] Generated Node #3: [32, 105] from Operation: 22+83=105 Current State: 73:[32, 105], Operations: ['89-57=32', '22+83=105'] Exploring Operation: 105-32=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[57, 89, 22, 83], Operations: [] Exploring Operation: 57+22=79, Resulting Numbers: [89, 83, 79] Generated Node #0,0: 73:[89, 83, 79] Operation: 57+22=79 Exploring Operation: 89-22=67, Resulting Numbers: [57, 83, 67] Generated Node #0,1: 73:[57, 83, 67] Operation: 89-22=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[89, 83, 79], Operations: ['57+22=79'] Exploring Operation: 89-83=6, Resulting Numbers: [79, 6] Generated Node #0,0,0: 73:[79, 6] Operation: 89-83=6 Exploring Operation: 89-79=10, Resulting Numbers: [83, 10] Generated Node #0,0,1: 73:[83, 10] Operation: 89-79=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[79, 6], Operations: ['57+22=79', '89-83=6'] Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[57, 89, 22, 83], Operations: [] Exploring Operation: 57+22=79, Resulting Numbers: [89, 83, 79] Generated Node #0,0: 73:[89, 83, 79] Operation: 57+22=79 Moving to Node #0,0 Current State: 73:[89, 83, 79], Operations: ['57+22=79'] Exploring Operation: 89-83=6, Resulting Numbers: [79, 6] Generated Node #0,0,0: 73:[79, 6] Operation: 89-83=6 Moving to Node #0,0,0 Current State: 73:[79, 6], Operations: ['57+22=79', '89-83=6'] Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 59, 88, 76, 61 ]
64
[ "61-59=2", "76*2=152", "152-88=64" ]
Current State: 64:[59, 88, 76, 61], Operations: [] Exploring Operation: 61-59=2, Resulting Numbers: [88, 76, 2] Generated Node #2: [88, 76, 2] from Operation: 61-59=2 Current State: 64:[88, 76, 2], Operations: ['61-59=2'] Exploring Operation: 76*2=152, Resulting Numbers: [88, 152] Generated Node #3: [88, 152] from Operation: 76*2=152 Current State: 64:[88, 152], Operations: ['61-59=2', '76*2=152'] Exploring Operation: 152-88=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[59, 88, 76, 61], Operations: [] Exploring Operation: 88-59=29, Resulting Numbers: [76, 61, 29] Generated Node #0,0: 64:[76, 61, 29] Operation: 88-59=29 Exploring Operation: 88-61=27, Resulting Numbers: [59, 76, 27] Generated Node #0,1: 64:[59, 76, 27] Operation: 88-61=27 Exploring Operation: 88-76=12, Resulting Numbers: [59, 61, 12] Generated Node #0,2: 64:[59, 61, 12] Operation: 88-76=12 Exploring Operation: 76-59=17, Resulting Numbers: [88, 61, 17] Generated Node #0,3: 64:[88, 61, 17] Operation: 76-59=17 Exploring Operation: 76-61=15, Resulting Numbers: [59, 88, 15] Generated Node #0,4: 64:[59, 88, 15] Operation: 76-61=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[59, 61, 12], Operations: ['88-76=12'] Exploring Operation: 61+12=73, Resulting Numbers: [59, 73] Generated Node #0,2,0: 64:[59, 73] Operation: 61+12=73 Exploring Operation: 59+12=71, Resulting Numbers: [61, 71] Generated Node #0,2,1: 64:[61, 71] Operation: 59+12=71 Exploring Operation: 61-59=2, Resulting Numbers: [12, 2] Generated Node #0,2,2: 64:[12, 2] Operation: 61-59=2 Exploring Operation: 61-12=49, Resulting Numbers: [59, 49] Generated Node #0,2,3: 64:[59, 49] Operation: 61-12=49 Exploring Operation: 59-12=47, Resulting Numbers: [61, 47] Generated Node #0,2,4: 64:[61, 47] Operation: 59-12=47 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 64:[12, 2], Operations: ['88-76=12', '61-59=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,64 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,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,2,1 Current State: 64:[61, 71], Operations: ['88-76=12', '59+12=71'] Exploring Operation: 71-61=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 61+71=132, Resulting Numbers: [132] 132,64 unequal: No Solution Exploring Operation: 61*71=4331, Resulting Numbers: [4331] 4331,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,2,0 Current State: 64:[59, 73], Operations: ['88-76=12', '61+12=73'] Exploring Operation: 59*73=4307, Resulting Numbers: [4307] 4307,64 unequal: No Solution Exploring Operation: 73-59=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 59+73=132, Resulting Numbers: [132] 132,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,2,4 Current State: 64:[61, 47], Operations: ['88-76=12', '59-12=47'] Exploring Operation: 61*47=2867, Resulting Numbers: [2867] 2867,64 unequal: No Solution Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 61+47=108, Resulting Numbers: [108] 108,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,2,3 Current State: 64:[59, 49], Operations: ['88-76=12', '61-12=49'] Exploring Operation: 59+49=108, Resulting Numbers: [108] 108,64 unequal: No Solution Exploring Operation: 59*49=2891, Resulting Numbers: [2891] 2891,64 unequal: No Solution Exploring Operation: 59-49=10, Resulting Numbers: [10] 10,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[76, 61, 29], Operations: ['88-59=29'] Exploring Operation: 76+29=105, Resulting Numbers: [61, 105] Generated Node #0,0,0: 64:[61, 105] Operation: 76+29=105 Exploring Operation: 76-61=15, Resulting Numbers: [29, 15] Generated Node #0,0,1: 64:[29, 15] Operation: 76-61=15 Exploring Operation: 61-29=32, Resulting Numbers: [76, 32] Generated Node #0,0,2: 64:[76, 32] Operation: 61-29=32 Exploring Operation: 76-29=47, Resulting Numbers: [61, 47] Generated Node #0,0,3: 64:[61, 47] Operation: 76-29=47 Exploring Operation: 61+29=90, Resulting Numbers: [76, 90] Generated Node #0,0,4: 64:[76, 90] Operation: 61+29=90 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 64:[29, 15], Operations: ['88-59=29', '76-61=15'] Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 29+15=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 29*15=435, Resulting Numbers: [435] 435,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 64:[76, 32], Operations: ['88-59=29', '61-29=32'] Exploring Operation: 76*32=2432, Resulting Numbers: [2432] 2432,64 unequal: No Solution Exploring Operation: 76+32=108, Resulting Numbers: [108] 108,64 unequal: No Solution Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 64:[61, 47], Operations: ['88-59=29', '76-29=47'] Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 61*47=2867, Resulting Numbers: [2867] 2867,64 unequal: No Solution Exploring Operation: 61+47=108, Resulting Numbers: [108] 108,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 64:[76, 90], Operations: ['88-59=29', '61+29=90'] Exploring Operation: 90-76=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 76*90=6840, Resulting Numbers: [6840] 6840,64 unequal: No Solution Exploring Operation: 76+90=166, Resulting Numbers: [166] 166,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 64:[61, 105], Operations: ['88-59=29', '76+29=105'] Exploring Operation: 61*105=6405, Resulting Numbers: [6405] 6405,64 unequal: No Solution Exploring Operation: 61+105=166, Resulting Numbers: [166] 166,64 unequal: No Solution Exploring Operation: 105-61=44, Resulting Numbers: [44] 44,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[59, 76, 27], Operations: ['88-61=27'] Exploring Operation: 76-59=17, Resulting Numbers: [27, 17] Generated Node #0,1,0: 64:[27, 17] Operation: 76-59=17 Exploring Operation: 59+27=86, Resulting Numbers: [76, 86] Generated Node #0,1,1: 64:[76, 86] Operation: 59+27=86 Exploring Operation: 59-27=32, Resulting Numbers: [76, 32] Generated Node #0,1,2: 64:[76, 32] Operation: 59-27=32 Exploring Operation: 76+27=103, Resulting Numbers: [59, 103] Generated Node #0,1,3: 64:[59, 103] Operation: 76+27=103 Exploring Operation: 76-27=49, Resulting Numbers: [59, 49] Generated Node #0,1,4: 64:[59, 49] Operation: 76-27=49 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 64:[27, 17], Operations: ['88-61=27', '76-59=17'] Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 27*17=459, Resulting Numbers: [459] 459,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 64:[76, 32], Operations: ['88-61=27', '59-27=32'] Exploring Operation: 76+32=108, Resulting Numbers: [108] 108,64 unequal: No Solution Exploring Operation: 76*32=2432, Resulting Numbers: [2432] 2432,64 unequal: No Solution Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 64:[59, 49], Operations: ['88-61=27', '76-27=49'] Exploring Operation: 59-49=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 59+49=108, Resulting Numbers: [108] 108,64 unequal: No Solution Exploring Operation: 59*49=2891, Resulting Numbers: [2891] 2891,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[76, 86], Operations: ['88-61=27', '59+27=86'] Exploring Operation: 76*86=6536, Resulting Numbers: [6536] 6536,64 unequal: No Solution Exploring Operation: 86-76=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 76+86=162, Resulting Numbers: [162] 162,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 64:[59, 103], Operations: ['88-61=27', '76+27=103'] Exploring Operation: 103-59=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 59+103=162, Resulting Numbers: [162] 162,64 unequal: No Solution Exploring Operation: 59*103=6077, Resulting Numbers: [6077] 6077,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 64:[88, 61, 17], Operations: ['76-59=17'] Exploring Operation: 61+17=78, Resulting Numbers: [88, 78] Generated Node #0,3,0: 64:[88, 78] Operation: 61+17=78 Exploring Operation: 88+17=105, Resulting Numbers: [61, 105] Generated Node #0,3,1: 64:[61, 105] Operation: 88+17=105 Exploring Operation: 88-17=71, Resulting Numbers: [61, 71] Generated Node #0,3,2: 64:[61, 71] Operation: 88-17=71 Exploring Operation: 88-61=27, Resulting Numbers: [17, 27] Generated Node #0,3,3: 64:[17, 27] Operation: 88-61=27 Exploring Operation: 61-17=44, Resulting Numbers: [88, 44] Generated Node #0,3,4: 64:[88, 44] Operation: 61-17=44 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 64:[17, 27], Operations: ['76-59=17', '88-61=27'] Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 17*27=459, Resulting Numbers: [459] 459,64 unequal: No Solution Exploring Operation: 17+27=44, Resulting Numbers: [44] 44,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,2 Current State: 64:[61, 71], Operations: ['76-59=17', '88-17=71'] Exploring Operation: 61+71=132, Resulting Numbers: [132] 132,64 unequal: No Solution Exploring Operation: 61*71=4331, Resulting Numbers: [4331] 4331,64 unequal: No Solution Exploring Operation: 71-61=10, Resulting Numbers: [10] 10,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,4 Current State: 64:[88, 44], Operations: ['76-59=17', '61-17=44'] Exploring Operation: 88+44=132, Resulting Numbers: [132] 132,64 unequal: No Solution Exploring Operation: 88/44=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 88*44=3872, Resulting Numbers: [3872] 3872,64 unequal: No Solution Exploring Operation: 88-44=44, Resulting Numbers: [44] 44,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,0 Current State: 64:[88, 78], Operations: ['76-59=17', '61+17=78'] Exploring Operation: 88+78=166, Resulting Numbers: [166] 166,64 unequal: No Solution Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 88*78=6864, Resulting Numbers: [6864] 6864,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:[61, 105], Operations: ['76-59=17', '88+17=105'] Exploring Operation: 61*105=6405, Resulting Numbers: [6405] 6405,64 unequal: No Solution Exploring Operation: 105-61=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 61+105=166, Resulting Numbers: [166] 166,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 64:[59, 88, 15], Operations: ['76-61=15'] Exploring Operation: 88-15=73, Resulting Numbers: [59, 73] Generated Node #0,4,0: 64:[59, 73] Operation: 88-15=73 Exploring Operation: 59-15=44, Resulting Numbers: [88, 44] Generated Node #0,4,1: 64:[88, 44] Operation: 59-15=44 Exploring Operation: 59+15=74, Resulting Numbers: [88, 74] Generated Node #0,4,2: 64:[88, 74] Operation: 59+15=74 Exploring Operation: 88-59=29, Resulting Numbers: [15, 29] Generated Node #0,4,3: 64:[15, 29] Operation: 88-59=29 Exploring Operation: 88+15=103, Resulting Numbers: [59, 103] Generated Node #0,4,4: 64:[59, 103] Operation: 88+15=103 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 64:[15, 29], Operations: ['76-61=15', '88-59=29'] Exploring Operation: 15+29=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 15*29=435, Resulting Numbers: [435] 435,64 unequal: No Solution Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,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,4,0 Current State: 64:[59, 73], Operations: ['76-61=15', '88-15=73'] Exploring Operation: 73-59=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 59*73=4307, Resulting Numbers: [4307] 4307,64 unequal: No Solution Exploring Operation: 59+73=132, Resulting Numbers: [132] 132,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,4,2 Current State: 64:[88, 74], Operations: ['76-61=15', '59+15=74'] Exploring Operation: 88*74=6512, Resulting Numbers: [6512] 6512,64 unequal: No Solution Exploring Operation: 88+74=162, Resulting Numbers: [162] 162,64 unequal: No Solution Exploring Operation: 88-74=14, Resulting Numbers: [14] 14,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,4,1 Current State: 64:[88, 44], Operations: ['76-61=15', '59-15=44'] Exploring Operation: 88-44=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 88/44=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 88*44=3872, Resulting Numbers: [3872] 3872,64 unequal: No Solution Exploring Operation: 88+44=132, Resulting Numbers: [132] 132,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,4,4 Current State: 64:[59, 103], Operations: ['76-61=15', '88+15=103'] Exploring Operation: 59*103=6077, Resulting Numbers: [6077] 6077,64 unequal: No Solution Exploring Operation: 103-59=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 59+103=162, Resulting Numbers: [162] 162,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 63, 42, 51, 26 ]
46
[ "63-42=21", "51-26=25", "21+25=46" ]
Current State: 46:[63, 42, 51, 26], Operations: [] Exploring Operation: 63-42=21, Resulting Numbers: [51, 26, 21] Generated Node #2: [51, 26, 21] from Operation: 63-42=21 Current State: 46:[51, 26, 21], Operations: ['63-42=21'] Exploring Operation: 51-26=25, Resulting Numbers: [21, 25] Generated Node #3: [21, 25] from Operation: 51-26=25 Current State: 46:[21, 25], Operations: ['63-42=21', '51-26=25'] Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[63, 42, 51, 26], Operations: [] Exploring Operation: 63-26=37, Resulting Numbers: [42, 51, 37] Generated Node #0,0: 46:[42, 51, 37] Operation: 63-26=37 Exploring Operation: 51-26=25, Resulting Numbers: [63, 42, 25] Generated Node #0,1: 46:[63, 42, 25] Operation: 51-26=25 Exploring Operation: 63-51=12, Resulting Numbers: [42, 26, 12] Generated Node #0,2: 46:[42, 26, 12] Operation: 63-51=12 Exploring Operation: 51-42=9, Resulting Numbers: [63, 26, 9] Generated Node #0,3: 46:[63, 26, 9] Operation: 51-42=9 Exploring Operation: 63-42=21, Resulting Numbers: [51, 26, 21] Generated Node #0,4: 46:[51, 26, 21] Operation: 63-42=21 Moving to Node #0,4 Current State: 46:[51, 26, 21], Operations: ['63-42=21'] Exploring Operation: 51-21=30, Resulting Numbers: [26, 30] Generated Node #0,4,0: 46:[26, 30] Operation: 51-21=30 Exploring Operation: 26-21=5, Resulting Numbers: [51, 5] Generated Node #0,4,1: 46:[51, 5] Operation: 26-21=5 Exploring Operation: 51+21=72, Resulting Numbers: [26, 72] Generated Node #0,4,2: 46:[26, 72] Operation: 51+21=72 Exploring Operation: 51-26=25, Resulting Numbers: [21, 25] Generated Node #0,4,3: 46:[21, 25] Operation: 51-26=25 Exploring Operation: 26+21=47, Resulting Numbers: [51, 47] Generated Node #0,4,4: 46:[51, 47] Operation: 26+21=47 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 46:[21, 25], Operations: ['63-42=21', '51-26=25'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,46 unequal: No Solution Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[63, 42, 51, 26], Operations: [] Exploring Operation: 63-42=21, Resulting Numbers: [51, 26, 21] Generated Node #0,4: 46:[51, 26, 21] Operation: 63-42=21 Moving to Node #0,4 Current State: 46:[51, 26, 21], Operations: ['63-42=21'] Exploring Operation: 51-26=25, Resulting Numbers: [21, 25] Generated Node #0,4,3: 46:[21, 25] Operation: 51-26=25 Moving to Node #0,4,3 Current State: 46:[21, 25], Operations: ['63-42=21', '51-26=25'] Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 66, 77, 27, 2 ]
76
[ "77-66=11", "27+11=38", "2*38=76" ]
Current State: 76:[66, 77, 27, 2], Operations: [] Exploring Operation: 77-66=11, Resulting Numbers: [27, 2, 11] Generated Node #2: [27, 2, 11] from Operation: 77-66=11 Current State: 76:[27, 2, 11], Operations: ['77-66=11'] Exploring Operation: 27+11=38, Resulting Numbers: [2, 38] Generated Node #3: [2, 38] from Operation: 27+11=38 Current State: 76:[2, 38], Operations: ['77-66=11', '27+11=38'] Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[66, 77, 27, 2], Operations: [] Exploring Operation: 66/2=33, Resulting Numbers: [77, 27, 33] Generated Node #0,0: 76:[77, 27, 33] Operation: 66/2=33 Exploring Operation: 77-66=11, Resulting Numbers: [27, 2, 11] Generated Node #0,1: 76:[27, 2, 11] Operation: 77-66=11 Exploring Operation: 66-27=39, Resulting Numbers: [77, 2, 39] Generated Node #0,2: 76:[77, 2, 39] Operation: 66-27=39 Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[77, 2, 39], Operations: ['66-27=39'] Exploring Operation: 77-39=38, Resulting Numbers: [2, 38] Generated Node #0,2,0: 76:[2, 38] Operation: 77-39=38 Exploring Operation: 39-2=37, Resulting Numbers: [77, 37] Generated Node #0,2,1: 76:[77, 37] Operation: 39-2=37 Exploring Operation: 77-2=75, Resulting Numbers: [39, 75] Generated Node #0,2,2: 76:[39, 75] Operation: 77-2=75 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 76:[2, 38], Operations: ['66-27=39', '77-39=38'] Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,76 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[66, 77, 27, 2], Operations: [] Exploring Operation: 66-27=39, Resulting Numbers: [77, 2, 39] Generated Node #0,2: 76:[77, 2, 39] Operation: 66-27=39 Moving to Node #0,2 Current State: 76:[77, 2, 39], Operations: ['66-27=39'] Exploring Operation: 77-39=38, Resulting Numbers: [2, 38] Generated Node #0,2,0: 76:[2, 38] Operation: 77-39=38 Moving to Node #0,2,0 Current State: 76:[2, 38], Operations: ['66-27=39', '77-39=38'] Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 94, 78, 19, 16 ]
68
[ "19-16=3", "78/3=26", "94-26=68" ]
Current State: 68:[94, 78, 19, 16], Operations: [] Exploring Operation: 19-16=3, Resulting Numbers: [94, 78, 3] Generated Node #2: [94, 78, 3] from Operation: 19-16=3 Current State: 68:[94, 78, 3], Operations: ['19-16=3'] Exploring Operation: 78/3=26, Resulting Numbers: [94, 26] Generated Node #3: [94, 26] from Operation: 78/3=26 Current State: 68:[94, 26], Operations: ['19-16=3', '78/3=26'] Exploring Operation: 94-26=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[94, 78, 19, 16], Operations: [] Exploring Operation: 94-16=78, Resulting Numbers: [78, 19, 78] Generated Node #0,0: 68:[78, 19, 78] Operation: 94-16=78 Exploring Operation: 94-19=75, Resulting Numbers: [78, 16, 75] Generated Node #0,1: 68:[78, 16, 75] Operation: 94-19=75 Exploring Operation: 94-78=16, Resulting Numbers: [19, 16, 16] Generated Node #0,2: 68:[19, 16, 16] Operation: 94-78=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[19, 16, 16], Operations: ['94-78=16'] Exploring Operation: 19+16=35, Resulting Numbers: [16, 35] Generated Node #0,2,0: 68:[16, 35] Operation: 19+16=35 Exploring Operation: 19-16=3, Resulting Numbers: [16, 3] Generated Node #0,2,1: 68:[16, 3] Operation: 19-16=3 Exploring Operation: 19+16=35, Resulting Numbers: [16, 35] Generated Node #0,2,2: 68:[16, 35] Operation: 19+16=35 Moving to Node #0,2,0 Current State: 68:[16, 35], Operations: ['94-78=16', '19+16=35'] Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 16*35=560, Resulting Numbers: [560] 560,68 unequal: No Solution Exploring Operation: 16+35=51, Resulting Numbers: [51] 51,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[16, 3], Operations: ['94-78=16', '19-16=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,68 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[16, 35], Operations: ['94-78=16', '19+16=35'] Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 16*35=560, Resulting Numbers: [560] 560,68 unequal: No Solution Exploring Operation: 16+35=51, Resulting Numbers: [51] 51,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[78, 16, 75], Operations: ['94-19=75'] Exploring Operation: 78-16=62, Resulting Numbers: [75, 62] Generated Node #0,1,0: 68:[75, 62] Operation: 78-16=62 Exploring Operation: 78-75=3, Resulting Numbers: [16, 3] Generated Node #0,1,1: 68:[16, 3] Operation: 78-75=3 Exploring Operation: 75-16=59, Resulting Numbers: [78, 59] Generated Node #0,1,2: 68:[78, 59] Operation: 75-16=59 Moving to Node #0,1,1 Current State: 68:[16, 3], Operations: ['94-19=75', '78-75=3'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[75, 62], Operations: ['94-19=75', '78-16=62'] Exploring Operation: 75+62=137, Resulting Numbers: [137] 137,68 unequal: No Solution Exploring Operation: 75-62=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 75*62=4650, Resulting Numbers: [4650] 4650,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[78, 59], Operations: ['94-19=75', '75-16=59'] Exploring Operation: 78+59=137, Resulting Numbers: [137] 137,68 unequal: No Solution Exploring Operation: 78-59=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 78*59=4602, Resulting Numbers: [4602] 4602,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[78, 19, 78], Operations: ['94-16=78'] Exploring Operation: 78/78=1, Resulting Numbers: [19, 1] Generated Node #0,0,0: 68:[19, 1] Operation: 78/78=1 Exploring Operation: 78-78=0, Resulting Numbers: [19, 0] Generated Node #0,0,1: 68:[19, 0] Operation: 78-78=0 Exploring Operation: 78-19=59, Resulting Numbers: [78, 59] Generated Node #0,0,2: 68:[78, 59] Operation: 78-19=59 Moving to Node #0,0,0 Current State: 68:[19, 1], Operations: ['94-16=78', '78/78=1'] Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[19, 0], Operations: ['94-16=78', '78-78=0'] Exploring Operation: 19-0=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 19+0=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 19*0=0, Resulting Numbers: [0] 0,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[78, 59], Operations: ['94-16=78', '78-19=59'] Exploring Operation: 78-59=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 78*59=4602, Resulting Numbers: [4602] 4602,68 unequal: No Solution Exploring Operation: 78+59=137, Resulting Numbers: [137] 137,68 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
[ 22, 85, 6, 24 ]
82
[ "24-22=2", "6/2=3", "85-3=82" ]
Current State: 82:[22, 85, 6, 24], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [85, 6, 2] Generated Node #2: [85, 6, 2] from Operation: 24-22=2 Current State: 82:[85, 6, 2], Operations: ['24-22=2'] Exploring Operation: 6/2=3, Resulting Numbers: [85, 3] Generated Node #3: [85, 3] from Operation: 6/2=3 Current State: 82:[85, 3], Operations: ['24-22=2', '6/2=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[22, 85, 6, 24], Operations: [] Exploring Operation: 22+24=46, Resulting Numbers: [85, 6, 46] Generated Node #0,0: 82:[85, 6, 46] Operation: 22+24=46 Exploring Operation: 24/6=4, Resulting Numbers: [22, 85, 4] Generated Node #0,1: 82:[22, 85, 4] Operation: 24/6=4 Exploring Operation: 24-22=2, Resulting Numbers: [85, 6, 2] Generated Node #0,2: 82:[85, 6, 2] Operation: 24-22=2 Exploring Operation: 6+24=30, Resulting Numbers: [22, 85, 30] Generated Node #0,3: 82:[22, 85, 30] Operation: 6+24=30 Exploring Operation: 22+6=28, Resulting Numbers: [85, 24, 28] Generated Node #0,4: 82:[85, 24, 28] Operation: 22+6=28 Moving to Node #0,2 Current State: 82:[85, 6, 2], Operations: ['24-22=2'] Exploring Operation: 6-2=4, Resulting Numbers: [85, 4] Generated Node #0,2,0: 82:[85, 4] Operation: 6-2=4 Exploring Operation: 6/2=3, Resulting Numbers: [85, 3] Generated Node #0,2,1: 82:[85, 3] Operation: 6/2=3 Exploring Operation: 85-2=83, Resulting Numbers: [6, 83] Generated Node #0,2,2: 82:[6, 83] Operation: 85-2=83 Exploring Operation: 85+6=91, Resulting Numbers: [2, 91] Generated Node #0,2,3: 82:[2, 91] Operation: 85+6=91 Exploring Operation: 85-6=79, Resulting Numbers: [2, 79] Generated Node #0,2,4: 82:[2, 79] Operation: 85-6=79 Moving to Node #0,0 Current State: 82:[85, 6, 46], Operations: ['22+24=46'] Exploring Operation: 85+6=91, Resulting Numbers: [46, 91] Generated Node #0,0,0: 82:[46, 91] Operation: 85+6=91 Exploring Operation: 6+46=52, Resulting Numbers: [85, 52] Generated Node #0,0,1: 82:[85, 52] Operation: 6+46=52 Exploring Operation: 85-6=79, Resulting Numbers: [46, 79] Generated Node #0,0,2: 82:[46, 79] Operation: 85-6=79 Exploring Operation: 85-46=39, Resulting Numbers: [6, 39] Generated Node #0,0,3: 82:[6, 39] Operation: 85-46=39 Exploring Operation: 46-6=40, Resulting Numbers: [85, 40] Generated Node #0,0,4: 82:[85, 40] Operation: 46-6=40 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 82:[85, 40], Operations: ['22+24=46', '46-6=40'] Exploring Operation: 85*40=3400, Resulting Numbers: [3400] 3400,82 unequal: No Solution Exploring Operation: 85+40=125, Resulting Numbers: [125] 125,82 unequal: No Solution Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 82:[6, 39], Operations: ['22+24=46', '85-46=39'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 6*39=234, Resulting Numbers: [234] 234,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 82:[46, 79], Operations: ['22+24=46', '85-6=79'] Exploring Operation: 79-46=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 46+79=125, Resulting Numbers: [125] 125,82 unequal: No Solution Exploring Operation: 46*79=3634, Resulting Numbers: [3634] 3634,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[46, 91], Operations: ['22+24=46', '85+6=91'] Exploring Operation: 46*91=4186, Resulting Numbers: [4186] 4186,82 unequal: No Solution Exploring Operation: 46+91=137, Resulting Numbers: [137] 137,82 unequal: No Solution Exploring Operation: 91-46=45, Resulting Numbers: [45] 45,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[85, 52], Operations: ['22+24=46', '6+46=52'] Exploring Operation: 85+52=137, Resulting Numbers: [137] 137,82 unequal: No Solution Exploring Operation: 85-52=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 85*52=4420, Resulting Numbers: [4420] 4420,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 82:[22, 85, 4], Operations: ['24/6=4'] Exploring Operation: 22+4=26, Resulting Numbers: [85, 26] Generated Node #0,1,0: 82:[85, 26] Operation: 22+4=26 Exploring Operation: 22-4=18, Resulting Numbers: [85, 18] Generated Node #0,1,1: 82:[85, 18] Operation: 22-4=18 Exploring Operation: 22*4=88, Resulting Numbers: [85, 88] Generated Node #0,1,2: 82:[85, 88] Operation: 22*4=88 Exploring Operation: 85-4=81, Resulting Numbers: [22, 81] Generated Node #0,1,3: 82:[22, 81] Operation: 85-4=81 Exploring Operation: 85-22=63, Resulting Numbers: [4, 63] Generated Node #0,1,4: 82:[4, 63] Operation: 85-22=63 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[85, 88], Operations: ['24/6=4', '22*4=88'] Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 85*88=7480, Resulting Numbers: [7480] 7480,82 unequal: No Solution Exploring Operation: 85+88=173, Resulting Numbers: [173] 173,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:[85, 26], Operations: ['24/6=4', '22+4=26'] Exploring Operation: 85*26=2210, Resulting Numbers: [2210] 2210,82 unequal: No Solution Exploring Operation: 85+26=111, Resulting Numbers: [111] 111,82 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 82:[85, 18], Operations: ['24/6=4', '22-4=18'] Exploring Operation: 85*18=1530, Resulting Numbers: [1530] 1530,82 unequal: No Solution Exploring Operation: 85-18=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 85+18=103, Resulting Numbers: [103] 103,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:[22, 81], Operations: ['24/6=4', '85-4=81'] Exploring Operation: 22*81=1782, Resulting Numbers: [1782] 1782,82 unequal: No Solution Exploring Operation: 81-22=59, Resulting Numbers: [59] 59,82 unequal: No Solution Exploring Operation: 22+81=103, Resulting Numbers: [103] 103,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 82:[4, 63], Operations: ['24/6=4', '85-22=63'] Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,82 unequal: No Solution Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,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:[22, 85, 30], Operations: ['6+24=30'] Exploring Operation: 85-22=63, Resulting Numbers: [30, 63] Generated Node #0,3,0: 82:[30, 63] Operation: 85-22=63 Exploring Operation: 22+30=52, Resulting Numbers: [85, 52] Generated Node #0,3,1: 82:[85, 52] Operation: 22+30=52 Exploring Operation: 30-22=8, Resulting Numbers: [85, 8] Generated Node #0,3,2: 82:[85, 8] Operation: 30-22=8 Exploring Operation: 85-30=55, Resulting Numbers: [22, 55] Generated Node #0,3,3: 82:[22, 55] Operation: 85-30=55 Exploring Operation: 22+85=107, Resulting Numbers: [30, 107] Generated Node #0,3,4: 82:[30, 107] Operation: 22+85=107 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 82:[85, 8], Operations: ['6+24=30', '30-22=8'] Exploring Operation: 85+8=93, Resulting Numbers: [93] 93,82 unequal: No Solution Exploring Operation: 85*8=680, Resulting Numbers: [680] 680,82 unequal: No Solution Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 82:[85, 52], Operations: ['6+24=30', '22+30=52'] Exploring Operation: 85+52=137, Resulting Numbers: [137] 137,82 unequal: No Solution Exploring Operation: 85-52=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 85*52=4420, Resulting Numbers: [4420] 4420,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 82:[30, 63], Operations: ['6+24=30', '85-22=63'] Exploring Operation: 30*63=1890, Resulting Numbers: [1890] 1890,82 unequal: No Solution Exploring Operation: 30+63=93, Resulting Numbers: [93] 93,82 unequal: No Solution Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 82:[22, 55], Operations: ['6+24=30', '85-30=55'] Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 22+55=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 22*55=1210, Resulting Numbers: [1210] 1210,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 82:[30, 107], Operations: ['6+24=30', '22+85=107'] Exploring Operation: 30*107=3210, Resulting Numbers: [3210] 3210,82 unequal: No Solution Exploring Operation: 30+107=137, Resulting Numbers: [137] 137,82 unequal: No Solution Exploring Operation: 107-30=77, Resulting Numbers: [77] 77,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 82:[85, 24, 28], Operations: ['22+6=28'] Exploring Operation: 85-28=57, Resulting Numbers: [24, 57] Generated Node #0,4,0: 82:[24, 57] Operation: 85-28=57 Exploring Operation: 24+28=52, Resulting Numbers: [85, 52] Generated Node #0,4,1: 82:[85, 52] Operation: 24+28=52 Exploring Operation: 85-24=61, Resulting Numbers: [28, 61] Generated Node #0,4,2: 82:[28, 61] Operation: 85-24=61 Exploring Operation: 85+24=109, Resulting Numbers: [28, 109] Generated Node #0,4,3: 82:[28, 109] Operation: 85+24=109 Exploring Operation: 28-24=4, Resulting Numbers: [85, 4] Generated Node #0,4,4: 82:[85, 4] Operation: 28-24=4 Moving to Node #0,2,4 Current State: 82:[2, 79], Operations: ['24-22=2', '85-6=79'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 2*79=158, Resulting Numbers: [158] 158,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[85, 3], Operations: ['24-22=2', '6/2=3'] Exploring Operation: 85*3=255, Resulting Numbers: [255] 255,82 unequal: No Solution Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,82 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[22, 85, 6, 24], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [85, 6, 2] Generated Node #0,2: 82:[85, 6, 2] Operation: 24-22=2 Moving to Node #0,2 Current State: 82:[85, 6, 2], Operations: ['24-22=2'] Exploring Operation: 6/2=3, Resulting Numbers: [85, 3] Generated Node #0,2,1: 82:[85, 3] Operation: 6/2=3 Moving to Node #0,2,1 Current State: 82:[85, 3], Operations: ['24-22=2', '6/2=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
0.926215
hs_5
sum_heuristic
[ 12, 55, 49, 19 ]
38
[ "12*19=228", "55-49=6", "228/6=38" ]
Current State: 38:[12, 55, 49, 19], Operations: [] Exploring Operation: 12*19=228, Resulting Numbers: [55, 49, 228] Generated Node #2: [55, 49, 228] from Operation: 12*19=228 Current State: 38:[55, 49, 228], Operations: ['12*19=228'] Exploring Operation: 55-49=6, Resulting Numbers: [228, 6] Generated Node #3: [228, 6] from Operation: 55-49=6 Current State: 38:[228, 6], Operations: ['12*19=228', '55-49=6'] Exploring Operation: 228/6=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[12, 55, 49, 19], Operations: [] Exploring Operation: 55-49=6, Resulting Numbers: [12, 19, 6] Generated Node #0,0: 38:[12, 19, 6] Operation: 55-49=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[12, 19, 6], Operations: ['55-49=6'] Exploring Operation: 12/6=2, Resulting Numbers: [19, 2] Generated Node #0,0,0: 38:[19, 2] Operation: 12/6=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[19, 2], Operations: ['55-49=6', '12/6=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[12, 55, 49, 19], Operations: [] Exploring Operation: 55-49=6, Resulting Numbers: [12, 19, 6] Generated Node #0,0: 38:[12, 19, 6] Operation: 55-49=6 Moving to Node #0,0 Current State: 38:[12, 19, 6], Operations: ['55-49=6'] Exploring Operation: 12/6=2, Resulting Numbers: [19, 2] Generated Node #0,0,0: 38:[19, 2] Operation: 12/6=2 Moving to Node #0,0,0 Current State: 38:[19, 2], Operations: ['55-49=6', '12/6=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 12, 85, 4, 55 ]
87
[ "55-12=43", "4*43=172", "172-85=87" ]
Current State: 87:[12, 85, 4, 55], Operations: [] Exploring Operation: 55-12=43, Resulting Numbers: [85, 4, 43] Generated Node #2: [85, 4, 43] from Operation: 55-12=43 Current State: 87:[85, 4, 43], Operations: ['55-12=43'] Exploring Operation: 4*43=172, Resulting Numbers: [85, 172] Generated Node #3: [85, 172] from Operation: 4*43=172 Current State: 87:[85, 172], Operations: ['55-12=43', '4*43=172'] Exploring Operation: 172-85=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[12, 85, 4, 55], Operations: [] Exploring Operation: 85-55=30, Resulting Numbers: [12, 4, 30] Generated Node #0,0: 87:[12, 4, 30] Operation: 85-55=30 Exploring Operation: 55-12=43, Resulting Numbers: [85, 4, 43] Generated Node #0,1: 87:[85, 4, 43] Operation: 55-12=43 Moving to Node #0,0 Current State: 87:[12, 4, 30], Operations: ['85-55=30'] Exploring Operation: 12-4=8, Resulting Numbers: [30, 8] Generated Node #0,0,0: 87:[30, 8] Operation: 12-4=8 Exploring Operation: 12/4=3, Resulting Numbers: [30, 3] Generated Node #0,0,1: 87:[30, 3] Operation: 12/4=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[30, 3], Operations: ['85-55=30', '12/4=3'] Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,87 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,87 unequal: No Solution No 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: 87:[30, 8], Operations: ['85-55=30', '12-4=8'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,87 unequal: No Solution Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,87 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: 87:[85, 4, 43], Operations: ['55-12=43'] Exploring Operation: 85-43=42, Resulting Numbers: [4, 42] Generated Node #0,1,0: 87:[4, 42] Operation: 85-43=42 Exploring Operation: 43-4=39, Resulting Numbers: [85, 39] Generated Node #0,1,1: 87:[85, 39] Operation: 43-4=39 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[85, 39], Operations: ['55-12=43', '43-4=39'] Exploring Operation: 85-39=46, Resulting Numbers: [46] 46,87 unequal: No Solution Exploring Operation: 85+39=124, Resulting Numbers: [124] 124,87 unequal: No Solution No 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: 87:[4, 42], Operations: ['55-12=43', '85-43=42'] Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,87 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 53, 25, 25, 25 ]
54
[ "53*25=1325", "25+1325=1350", "1350/25=54" ]
Current State: 54:[53, 25, 25, 25], Operations: [] Exploring Operation: 53*25=1325, Resulting Numbers: [1325] 1325,54 equal: Goal Reached Exploring Operation: 25+1325=1350, Resulting Numbers: [1350] 1350,54 equal: Goal Reached Exploring Operation: 1350/25=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[53, 25, 25, 25], Operations: [] Exploring Operation: 25/25=1, Resulting Numbers: [53, 25, 1] Generated Node #0,0: 54:[53, 25, 1] Operation: 25/25=1 Exploring Operation: 25/25=1, Resulting Numbers: [53, 25, 1] Generated Node #0,1: 54:[53, 25, 1] Operation: 25/25=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[53, 25, 1], Operations: ['25/25=1'] Exploring Operation: 53+1=54, Resulting Numbers: [25, 54] Generated Node #0,0,0: 54:[25, 54] Operation: 53+1=54 Exploring Operation: 53-25=28, Resulting Numbers: [1, 28] Generated Node #0,0,1: 54:[1, 28] Operation: 53-25=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[25, 54], Operations: ['25/25=1', '53+1=54'] Exploring Operation: 25+54=79, Resulting Numbers: [79] 79,54 unequal: No Solution Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 54:[1, 28], Operations: ['25/25=1', '53-25=28'] Exploring Operation: 1*28=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[53, 25, 1], Operations: ['25/25=1'] Exploring Operation: 53-25=28, Resulting Numbers: [1, 28] Generated Node #0,1,0: 54:[1, 28] Operation: 53-25=28 Exploring Operation: 53+1=54, Resulting Numbers: [25, 54] Generated Node #0,1,1: 54:[25, 54] Operation: 53+1=54 Moving to Node #0,1,0 Current State: 54:[1, 28], Operations: ['25/25=1', '53-25=28'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,54 unequal: No Solution Exploring Operation: 1*28=28, Resulting Numbers: [28] 28,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[25, 54], Operations: ['25/25=1', '53+1=54'] Exploring Operation: 25+54=79, Resulting Numbers: [79] 79,54 unequal: No Solution Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,54 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
[ 19, 55, 43, 11 ]
96
[ "19-11=8", "55-43=12", "8*12=96" ]
Current State: 96:[19, 55, 43, 11], Operations: [] Exploring Operation: 19-11=8, Resulting Numbers: [55, 43, 8] Generated Node #2: [55, 43, 8] from Operation: 19-11=8 Current State: 96:[55, 43, 8], Operations: ['19-11=8'] Exploring Operation: 55-43=12, Resulting Numbers: [8, 12] Generated Node #3: [8, 12] from Operation: 55-43=12 Current State: 96:[8, 12], Operations: ['19-11=8', '55-43=12'] Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[19, 55, 43, 11], Operations: [] Exploring Operation: 55-43=12, Resulting Numbers: [19, 11, 12] Generated Node #0,0: 96:[19, 11, 12] Operation: 55-43=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[19, 11, 12], Operations: ['55-43=12'] Exploring Operation: 19-11=8, Resulting Numbers: [12, 8] Generated Node #0,0,0: 96:[12, 8] Operation: 19-11=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[12, 8], Operations: ['55-43=12', '19-11=8'] Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[19, 55, 43, 11], Operations: [] Exploring Operation: 55-43=12, Resulting Numbers: [19, 11, 12] Generated Node #0,0: 96:[19, 11, 12] Operation: 55-43=12 Moving to Node #0,0 Current State: 96:[19, 11, 12], Operations: ['55-43=12'] Exploring Operation: 19-11=8, Resulting Numbers: [12, 8] Generated Node #0,0,0: 96:[12, 8] Operation: 19-11=8 Moving to Node #0,0,0 Current State: 96:[12, 8], Operations: ['55-43=12', '19-11=8'] Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 2, 25, 4, 7 ]
64
[ "25-2=23", "23-7=16", "4*16=64" ]
Current State: 64:[2, 25, 4, 7], Operations: [] Exploring Operation: 25-2=23, Resulting Numbers: [4, 7, 23] Generated Node #2: [4, 7, 23] from Operation: 25-2=23 Current State: 64:[4, 7, 23], Operations: ['25-2=23'] Exploring Operation: 23-7=16, Resulting Numbers: [4, 16] Generated Node #3: [4, 16] from Operation: 23-7=16 Current State: 64:[4, 16], Operations: ['25-2=23', '23-7=16'] Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[2, 25, 4, 7], Operations: [] Exploring Operation: 25-7=18, Resulting Numbers: [2, 4, 18] Generated Node #0,0: 64:[2, 4, 18] Operation: 25-7=18 Exploring Operation: 25+7=32, Resulting Numbers: [2, 4, 32] Generated Node #0,1: 64:[2, 4, 32] Operation: 25+7=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[2, 4, 32], Operations: ['25+7=32'] Exploring Operation: 4-2=2, Resulting Numbers: [32, 2] Generated Node #0,1,0: 64:[32, 2] Operation: 4-2=2 Exploring Operation: 2*4=8, Resulting Numbers: [32, 8] Generated Node #0,1,1: 64:[32, 8] Operation: 2*4=8 Moving to Node #0,1,0 Current State: 64:[32, 2], Operations: ['25+7=32', '4-2=2'] Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[2, 25, 4, 7], Operations: [] Exploring Operation: 25+7=32, Resulting Numbers: [2, 4, 32] Generated Node #0,1: 64:[2, 4, 32] Operation: 25+7=32 Moving to Node #0,1 Current State: 64:[2, 4, 32], Operations: ['25+7=32'] Exploring Operation: 4-2=2, Resulting Numbers: [32, 2] Generated Node #0,1,0: 64:[32, 2] Operation: 4-2=2 Moving to Node #0,1,0 Current State: 64:[32, 2], Operations: ['25+7=32', '4-2=2'] Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 21, 53, 47, 94 ]
76
[ "21+53=74", "94/47=2", "74+2=76" ]
Current State: 76:[21, 53, 47, 94], Operations: [] Exploring Operation: 21+53=74, Resulting Numbers: [47, 94, 74] Generated Node #2: [47, 94, 74] from Operation: 21+53=74 Current State: 76:[47, 94, 74], Operations: ['21+53=74'] Exploring Operation: 94/47=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 94/47=2 Current State: 76:[74, 2], Operations: ['21+53=74', '94/47=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[21, 53, 47, 94], Operations: [] Exploring Operation: 94-47=47, Resulting Numbers: [21, 53, 47] Generated Node #0,0: 76:[21, 53, 47] Operation: 94-47=47 Exploring Operation: 94/47=2, Resulting Numbers: [21, 53, 2] Generated Node #0,1: 76:[21, 53, 2] Operation: 94/47=2 Exploring Operation: 53-47=6, Resulting Numbers: [21, 94, 6] Generated Node #0,2: 76:[21, 94, 6] Operation: 53-47=6 Exploring Operation: 94-53=41, Resulting Numbers: [21, 47, 41] Generated Node #0,3: 76:[21, 47, 41] Operation: 94-53=41 Moving to Node #0,3 Current State: 76:[21, 47, 41], Operations: ['94-53=41'] Exploring Operation: 47-41=6, Resulting Numbers: [21, 6] Generated Node #0,3,0: 76:[21, 6] Operation: 47-41=6 Exploring Operation: 47-21=26, Resulting Numbers: [41, 26] Generated Node #0,3,1: 76:[41, 26] Operation: 47-21=26 Exploring Operation: 21+47=68, Resulting Numbers: [41, 68] Generated Node #0,3,2: 76:[41, 68] Operation: 21+47=68 Exploring Operation: 41-21=20, Resulting Numbers: [47, 20] Generated Node #0,3,3: 76:[47, 20] Operation: 41-21=20 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 76:[21, 6], Operations: ['94-53=41', '47-41=6'] Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,76 unequal: No Solution Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,76 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,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:[41, 26], Operations: ['94-53=41', '47-21=26'] Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 41*26=1066, Resulting Numbers: [1066] 1066,76 unequal: No Solution Exploring Operation: 41+26=67, Resulting Numbers: [67] 67,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:[47, 20], Operations: ['94-53=41', '41-21=20'] Exploring Operation: 47*20=940, Resulting Numbers: [940] 940,76 unequal: No Solution Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,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:[41, 68], Operations: ['94-53=41', '21+47=68'] Exploring Operation: 68-41=27, Resulting Numbers: [27] 27,76 unequal: No Solution Exploring Operation: 41*68=2788, Resulting Numbers: [2788] 2788,76 unequal: No Solution Exploring Operation: 41+68=109, Resulting Numbers: [109] 109,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:[21, 53, 2], Operations: ['94/47=2'] Exploring Operation: 53-21=32, Resulting Numbers: [2, 32] Generated Node #0,1,0: 76:[2, 32] Operation: 53-21=32 Exploring Operation: 21+53=74, Resulting Numbers: [2, 74] Generated Node #0,1,1: 76:[2, 74] Operation: 21+53=74 Exploring Operation: 21-2=19, Resulting Numbers: [53, 19] Generated Node #0,1,2: 76:[53, 19] Operation: 21-2=19 Exploring Operation: 53-2=51, Resulting Numbers: [21, 51] Generated Node #0,1,3: 76:[21, 51] Operation: 53-2=51 Moving to Node #0,2 Current State: 76:[21, 94, 6], Operations: ['53-47=6'] Exploring Operation: 21-6=15, Resulting Numbers: [94, 15] Generated Node #0,2,0: 76:[94, 15] Operation: 21-6=15 Exploring Operation: 94-21=73, Resulting Numbers: [6, 73] Generated Node #0,2,1: 76:[6, 73] Operation: 94-21=73 Exploring Operation: 21+6=27, Resulting Numbers: [94, 27] Generated Node #0,2,2: 76:[94, 27] Operation: 21+6=27 Exploring Operation: 94-6=88, Resulting Numbers: [21, 88] Generated Node #0,2,3: 76:[21, 88] Operation: 94-6=88 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[6, 73], Operations: ['53-47=6', '94-21=73'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 6+73=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 6*73=438, Resulting Numbers: [438] 438,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 76:[21, 88], Operations: ['53-47=6', '94-6=88'] Exploring Operation: 21+88=109, Resulting Numbers: [109] 109,76 unequal: No Solution Exploring Operation: 88-21=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 21*88=1848, Resulting Numbers: [1848] 1848,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[94, 15], Operations: ['53-47=6', '21-6=15'] Exploring Operation: 94+15=109, Resulting Numbers: [109] 109,76 unequal: No Solution Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 94*15=1410, Resulting Numbers: [1410] 1410,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[94, 27], Operations: ['53-47=6', '21+6=27'] Exploring Operation: 94-27=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 94+27=121, Resulting Numbers: [121] 121,76 unequal: No Solution Exploring Operation: 94*27=2538, Resulting Numbers: [2538] 2538,76 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: 76:[21, 53, 47], Operations: ['94-47=47'] Exploring Operation: 53-47=6, Resulting Numbers: [21, 6] Generated Node #0,0,0: 76:[21, 6] Operation: 53-47=6 Exploring Operation: 47-21=26, Resulting Numbers: [53, 26] Generated Node #0,0,1: 76:[53, 26] Operation: 47-21=26 Exploring Operation: 21+53=74, Resulting Numbers: [47, 74] Generated Node #0,0,2: 76:[47, 74] Operation: 21+53=74 Exploring Operation: 53-21=32, Resulting Numbers: [47, 32] Generated Node #0,0,3: 76:[47, 32] Operation: 53-21=32 Moving to Node #0,1,1 Current State: 76:[2, 74], Operations: ['94/47=2', '21+53=74'] Exploring Operation: 2*74=148, Resulting Numbers: [148] 148,76 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,76 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 2+74=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[21, 53, 47, 94], Operations: [] Exploring Operation: 94/47=2, Resulting Numbers: [21, 53, 2] Generated Node #0,1: 76:[21, 53, 2] Operation: 94/47=2 Moving to Node #0,1 Current State: 76:[21, 53, 2], Operations: ['94/47=2'] Exploring Operation: 21+53=74, Resulting Numbers: [2, 74] Generated Node #0,1,1: 76:[2, 74] Operation: 21+53=74 Moving to Node #0,1,1 Current State: 76:[2, 74], Operations: ['94/47=2', '21+53=74'] Exploring Operation: 2+74=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
0.954861
hs_4
sum_heuristic
[ 31, 26, 11, 87 ]
81
[ "31-26=5", "87-11=76", "5+76=81" ]
Current State: 81:[31, 26, 11, 87], Operations: [] Exploring Operation: 31-26=5, Resulting Numbers: [11, 87, 5] Generated Node #2: [11, 87, 5] from Operation: 31-26=5 Current State: 81:[11, 87, 5], Operations: ['31-26=5'] Exploring Operation: 87-11=76, Resulting Numbers: [5, 76] Generated Node #3: [5, 76] from Operation: 87-11=76 Current State: 81:[5, 76], Operations: ['31-26=5', '87-11=76'] Exploring Operation: 5+76=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[31, 26, 11, 87], Operations: [] Exploring Operation: 31-26=5, Resulting Numbers: [11, 87, 5] Generated Node #0,0: 81:[11, 87, 5] Operation: 31-26=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[11, 87, 5], Operations: ['31-26=5'] Exploring Operation: 87-5=82, Resulting Numbers: [11, 82] Generated Node #0,0,0: 81:[11, 82] Operation: 87-5=82 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[11, 82], Operations: ['31-26=5', '87-5=82'] Exploring Operation: 82-11=71, Resulting Numbers: [71] 71,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 8, 35, 4, 27 ]
30
[ "8*4=32", "35+27=62", "62-32=30" ]
Current State: 30:[8, 35, 4, 27], Operations: [] Exploring Operation: 8*4=32, Resulting Numbers: [35, 27, 32] Generated Node #2: [35, 27, 32] from Operation: 8*4=32 Current State: 30:[35, 27, 32], Operations: ['8*4=32'] Exploring Operation: 35+27=62, Resulting Numbers: [32, 62] Generated Node #3: [32, 62] from Operation: 35+27=62 Current State: 30:[32, 62], Operations: ['8*4=32', '35+27=62'] Exploring Operation: 62-32=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[8, 35, 4, 27], Operations: [] Exploring Operation: 35-4=31, Resulting Numbers: [8, 27, 31] Generated Node #0,0: 30:[8, 27, 31] Operation: 35-4=31 Exploring Operation: 35-27=8, Resulting Numbers: [8, 4, 8] Generated Node #0,1: 30:[8, 4, 8] Operation: 35-27=8 Moving to Node #0,1 Current State: 30:[8, 4, 8], Operations: ['35-27=8'] Exploring Operation: 8+8=16, Resulting Numbers: [4, 16] Generated Node #0,1,0: 30:[4, 16] Operation: 8+8=16 Exploring Operation: 8/4=2, Resulting Numbers: [8, 2] Generated Node #0,1,1: 30:[8, 2] Operation: 8/4=2 Moving to Node #0,0 Current State: 30:[8, 27, 31], Operations: ['35-4=31'] Exploring Operation: 31-27=4, Resulting Numbers: [8, 4] Generated Node #0,0,0: 30:[8, 4] Operation: 31-27=4 Exploring Operation: 27-8=19, Resulting Numbers: [31, 19] Generated Node #0,0,1: 30:[31, 19] Operation: 27-8=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[8, 4], Operations: ['35-4=31', '31-27=4'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[31, 19], Operations: ['35-4=31', '27-8=19'] Exploring Operation: 31+19=50, Resulting Numbers: [50] 50,30 unequal: No Solution Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 30:[4, 16], Operations: ['35-27=8', '8+8=16'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[8, 2], Operations: ['35-27=8', '8/4=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,30 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 9, 5, 57, 25 ]
61
[ "9+57=66", "25/5=5", "66-5=61" ]
Current State: 61:[9, 5, 57, 25], Operations: [] Exploring Operation: 9+57=66, Resulting Numbers: [5, 25, 66] Generated Node #2: [5, 25, 66] from Operation: 9+57=66 Current State: 61:[5, 25, 66], Operations: ['9+57=66'] Exploring Operation: 25/5=5, Resulting Numbers: [66, 5] Generated Node #3: [66, 5] from Operation: 25/5=5 Current State: 61:[66, 5], Operations: ['9+57=66', '25/5=5'] Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[9, 5, 57, 25], Operations: [] Exploring Operation: 9+25=34, Resulting Numbers: [5, 57, 34] Generated Node #0,0: 61:[5, 57, 34] Operation: 9+25=34 Exploring Operation: 9+5=14, Resulting Numbers: [57, 25, 14] Generated Node #0,1: 61:[57, 25, 14] Operation: 9+5=14 Exploring Operation: 9*5=45, Resulting Numbers: [57, 25, 45] Generated Node #0,2: 61:[57, 25, 45] Operation: 9*5=45 Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[57, 25, 45], Operations: ['9*5=45'] Exploring Operation: 57-25=32, Resulting Numbers: [45, 32] Generated Node #0,2,0: 61:[45, 32] Operation: 57-25=32 Exploring Operation: 57+25=82, Resulting Numbers: [45, 82] Generated Node #0,2,1: 61:[45, 82] Operation: 57+25=82 Exploring Operation: 25+45=70, Resulting Numbers: [57, 70] Generated Node #0,2,2: 61:[57, 70] Operation: 25+45=70 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 61:[57, 70], Operations: ['9*5=45', '25+45=70'] Exploring Operation: 57*70=3990, Resulting Numbers: [3990] 3990,61 unequal: No Solution Exploring Operation: 70-57=13, Resulting Numbers: [13] 13,61 unequal: No Solution Exploring Operation: 57+70=127, Resulting Numbers: [127] 127,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,1 Current State: 61:[45, 82], Operations: ['9*5=45', '57+25=82'] Exploring Operation: 45*82=3690, Resulting Numbers: [3690] 3690,61 unequal: No Solution Exploring Operation: 45+82=127, Resulting Numbers: [127] 127,61 unequal: No Solution Exploring Operation: 82-45=37, Resulting Numbers: [37] 37,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:[45, 32], Operations: ['9*5=45', '57-25=32'] Exploring Operation: 45+32=77, Resulting Numbers: [77] 77,61 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,61 unequal: No Solution Exploring Operation: 45*32=1440, Resulting Numbers: [1440] 1440,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,0 Current State: 61:[5, 57, 34], Operations: ['9+25=34'] Exploring Operation: 57-5=52, Resulting Numbers: [34, 52] Generated Node #0,0,0: 61:[34, 52] Operation: 57-5=52 Exploring Operation: 5+57=62, Resulting Numbers: [34, 62] Generated Node #0,0,1: 61:[34, 62] Operation: 5+57=62 Exploring Operation: 5+34=39, Resulting Numbers: [57, 39] Generated Node #0,0,2: 61:[57, 39] Operation: 5+34=39 Moving to Node #0,0,2 Current State: 61:[57, 39], Operations: ['9+25=34', '5+34=39'] Exploring Operation: 57-39=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 57+39=96, Resulting Numbers: [96] 96,61 unequal: No Solution Exploring Operation: 57*39=2223, Resulting Numbers: [2223] 2223,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[34, 62], Operations: ['9+25=34', '5+57=62'] Exploring Operation: 34*62=2108, Resulting Numbers: [2108] 2108,61 unequal: No Solution Exploring Operation: 34+62=96, Resulting Numbers: [96] 96,61 unequal: No Solution Exploring Operation: 62-34=28, Resulting Numbers: [28] 28,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[34, 52], Operations: ['9+25=34', '57-5=52'] Exploring Operation: 34*52=1768, Resulting Numbers: [1768] 1768,61 unequal: No Solution Exploring Operation: 34+52=86, Resulting Numbers: [86] 86,61 unequal: No Solution Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,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:[57, 25, 14], Operations: ['9+5=14'] Exploring Operation: 57+14=71, Resulting Numbers: [25, 71] Generated Node #0,1,0: 61:[25, 71] Operation: 57+14=71 Exploring Operation: 57-14=43, Resulting Numbers: [25, 43] Generated Node #0,1,1: 61:[25, 43] Operation: 57-14=43 Exploring Operation: 25+14=39, Resulting Numbers: [57, 39] Generated Node #0,1,2: 61:[57, 39] Operation: 25+14=39 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 61:[57, 39], Operations: ['9+5=14', '25+14=39'] Exploring Operation: 57-39=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 57*39=2223, Resulting Numbers: [2223] 2223,61 unequal: No Solution Exploring Operation: 57+39=96, Resulting Numbers: [96] 96,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 61:[25, 71], Operations: ['9+5=14', '57+14=71'] Exploring Operation: 25*71=1775, Resulting Numbers: [1775] 1775,61 unequal: No Solution Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 25+71=96, Resulting Numbers: [96] 96,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 61:[25, 43], Operations: ['9+5=14', '57-14=43'] Exploring Operation: 25+43=68, Resulting Numbers: [68] 68,61 unequal: No Solution Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 25*43=1075, Resulting Numbers: [1075] 1075,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 No solution found.
0
hs_3
sum_heuristic
[ 77, 97, 95, 18 ]
96
[ "95-77=18", "18/18=1", "97-1=96" ]
Current State: 96:[77, 97, 95, 18], Operations: [] Exploring Operation: 95-77=18, Resulting Numbers: [97, 18, 18] Generated Node #2: [97, 18, 18] from Operation: 95-77=18 Current State: 96:[97, 18, 18], Operations: ['95-77=18'] Exploring Operation: 18/18=1, Resulting Numbers: [97, 1] Generated Node #3: [97, 1] from Operation: 18/18=1 Current State: 96:[97, 1], Operations: ['95-77=18', '18/18=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[77, 97, 95, 18], Operations: [] Exploring Operation: 77+18=95, Resulting Numbers: [97, 95, 95] Generated Node #0,0: 96:[97, 95, 95] Operation: 77+18=95 Moving to Node #0,0 Current State: 96:[97, 95, 95], Operations: ['77+18=95'] Exploring Operation: 97-95=2, Resulting Numbers: [95, 2] Generated Node #0,0,0: 96:[95, 2] Operation: 97-95=2 Moving to Node #0,0,0 Current State: 96:[95, 2], Operations: ['77+18=95', '97-95=2'] Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,96 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 84, 73, 26, 34 ]
97
[ "84+73=157", "26+34=60", "157-60=97" ]
Current State: 97:[84, 73, 26, 34], Operations: [] Exploring Operation: 84+73=157, Resulting Numbers: [26, 34, 157] Generated Node #2: [26, 34, 157] from Operation: 84+73=157 Current State: 97:[26, 34, 157], Operations: ['84+73=157'] Exploring Operation: 26+34=60, Resulting Numbers: [157, 60] Generated Node #3: [157, 60] from Operation: 26+34=60 Current State: 97:[157, 60], Operations: ['84+73=157', '26+34=60'] Exploring Operation: 157-60=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[84, 73, 26, 34], Operations: [] Exploring Operation: 73+26=99, Resulting Numbers: [84, 34, 99] Generated Node #0,0: 97:[84, 34, 99] Operation: 73+26=99 Exploring Operation: 84+26=110, Resulting Numbers: [73, 34, 110] Generated Node #0,1: 97:[73, 34, 110] Operation: 84+26=110 Exploring Operation: 26+34=60, Resulting Numbers: [84, 73, 60] Generated Node #0,2: 97:[84, 73, 60] Operation: 26+34=60 Exploring Operation: 73+34=107, Resulting Numbers: [84, 26, 107] Generated Node #0,3: 97:[84, 26, 107] Operation: 73+34=107 Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[84, 73, 60], Operations: ['26+34=60'] Exploring Operation: 73+60=133, Resulting Numbers: [84, 133] Generated Node #0,2,0: 97:[84, 133] Operation: 73+60=133 Exploring Operation: 84+60=144, Resulting Numbers: [73, 144] Generated Node #0,2,1: 97:[73, 144] Operation: 84+60=144 Exploring Operation: 84+73=157, Resulting Numbers: [60, 157] Generated Node #0,2,2: 97:[60, 157] Operation: 84+73=157 Exploring Operation: 84-60=24, Resulting Numbers: [73, 24] Generated Node #0,2,3: 97:[73, 24] Operation: 84-60=24 Moving to Node #0,2,0 Current State: 97:[84, 133], Operations: ['26+34=60', '73+60=133'] Exploring Operation: 84+133=217, Resulting Numbers: [217] 217,97 unequal: No Solution Exploring Operation: 133-84=49, Resulting Numbers: [49] 49,97 unequal: No Solution Exploring Operation: 84*133=11172, Resulting Numbers: [11172] 11172,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[73, 144], Operations: ['26+34=60', '84+60=144'] Exploring Operation: 73+144=217, Resulting Numbers: [217] 217,97 unequal: No Solution Exploring Operation: 144-73=71, Resulting Numbers: [71] 71,97 unequal: No Solution Exploring Operation: 73*144=10512, Resulting Numbers: [10512] 10512,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[73, 24], Operations: ['26+34=60', '84-60=24'] Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,97 unequal: No Solution Exploring Operation: 73+24=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[84, 73, 26, 34], Operations: [] Exploring Operation: 26+34=60, Resulting Numbers: [84, 73, 60] Generated Node #0,2: 97:[84, 73, 60] Operation: 26+34=60 Moving to Node #0,2 Current State: 97:[84, 73, 60], Operations: ['26+34=60'] Exploring Operation: 84-60=24, Resulting Numbers: [73, 24] Generated Node #0,2,3: 97:[73, 24] Operation: 84-60=24 Moving to Node #0,2,3 Current State: 97:[73, 24], Operations: ['26+34=60', '84-60=24'] Exploring Operation: 73+24=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 33, 54, 54, 2 ]
11
[ "54/54=1", "2+1=3", "33/3=11" ]
Current State: 11:[33, 54, 54, 2], Operations: [] Exploring Operation: 54/54=1, Resulting Numbers: [33, 2, 1] Generated Node #2: [33, 2, 1] from Operation: 54/54=1 Current State: 11:[33, 2, 1], Operations: ['54/54=1'] Exploring Operation: 2+1=3, Resulting Numbers: [33, 3] Generated Node #3: [33, 3] from Operation: 2+1=3 Current State: 11:[33, 3], Operations: ['54/54=1', '2+1=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[33, 54, 54, 2], Operations: [] Exploring Operation: 54/54=1, Resulting Numbers: [33, 2, 1] Generated Node #0,0: 11:[33, 2, 1] Operation: 54/54=1 Exploring Operation: 54-54=0, Resulting Numbers: [33, 2, 0] Generated Node #0,1: 11:[33, 2, 0] Operation: 54-54=0 Exploring Operation: 54-33=21, Resulting Numbers: [54, 2, 21] Generated Node #0,2: 11:[54, 2, 21] Operation: 54-33=21 Moving to Node #0,0 Current State: 11:[33, 2, 1], Operations: ['54/54=1'] Exploring Operation: 2+1=3, Resulting Numbers: [33, 3] Generated Node #0,0,0: 11:[33, 3] Operation: 2+1=3 Exploring Operation: 33-1=32, Resulting Numbers: [2, 32] Generated Node #0,0,1: 11:[2, 32] Operation: 33-1=32 Exploring Operation: 33-2=31, Resulting Numbers: [1, 31] Generated Node #0,0,2: 11:[1, 31] Operation: 33-2=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[33, 3], Operations: ['54/54=1', '2+1=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[33, 54, 54, 2], Operations: [] Exploring Operation: 54/54=1, Resulting Numbers: [33, 2, 1] Generated Node #0,0: 11:[33, 2, 1] Operation: 54/54=1 Moving to Node #0,0 Current State: 11:[33, 2, 1], Operations: ['54/54=1'] Exploring Operation: 2+1=3, Resulting Numbers: [33, 3] Generated Node #0,0,0: 11:[33, 3] Operation: 2+1=3 Moving to Node #0,0,0 Current State: 11:[33, 3], Operations: ['54/54=1', '2+1=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 16, 93, 80, 90 ]
67
[ "93-16=77", "90-80=10", "77-10=67" ]
Current State: 67:[16, 93, 80, 90], Operations: [] Exploring Operation: 93-16=77, Resulting Numbers: [80, 90, 77] Generated Node #2: [80, 90, 77] from Operation: 93-16=77 Current State: 67:[80, 90, 77], Operations: ['93-16=77'] Exploring Operation: 90-80=10, Resulting Numbers: [77, 10] Generated Node #3: [77, 10] from Operation: 90-80=10 Current State: 67:[77, 10], Operations: ['93-16=77', '90-80=10'] Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[16, 93, 80, 90], Operations: [] Exploring Operation: 16+93=109, Resulting Numbers: [80, 90, 109] Generated Node #0,0: 67:[80, 90, 109] Operation: 16+93=109 Exploring Operation: 80-16=64, Resulting Numbers: [93, 90, 64] Generated Node #0,1: 67:[93, 90, 64] Operation: 80-16=64 Exploring Operation: 93-16=77, Resulting Numbers: [80, 90, 77] Generated Node #0,2: 67:[80, 90, 77] Operation: 93-16=77 Exploring Operation: 90-16=74, Resulting Numbers: [93, 80, 74] Generated Node #0,3: 67:[93, 80, 74] Operation: 90-16=74 Moving to Node #0,2 Current State: 67:[80, 90, 77], Operations: ['93-16=77'] Exploring Operation: 80-77=3, Resulting Numbers: [90, 3] Generated Node #0,2,0: 67:[90, 3] Operation: 80-77=3 Exploring Operation: 90-80=10, Resulting Numbers: [77, 10] Generated Node #0,2,1: 67:[77, 10] Operation: 90-80=10 Exploring Operation: 80+90=170, Resulting Numbers: [77, 170] Generated Node #0,2,2: 67:[77, 170] Operation: 80+90=170 Exploring Operation: 90-77=13, Resulting Numbers: [80, 13] Generated Node #0,2,3: 67:[80, 13] Operation: 90-77=13 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 67:[77, 10], Operations: ['93-16=77', '90-80=10'] Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[16, 93, 80, 90], Operations: [] Exploring Operation: 93-16=77, Resulting Numbers: [80, 90, 77] Generated Node #0,2: 67:[80, 90, 77] Operation: 93-16=77 Moving to Node #0,2 Current State: 67:[80, 90, 77], Operations: ['93-16=77'] Exploring Operation: 90-80=10, Resulting Numbers: [77, 10] Generated Node #0,2,1: 67:[77, 10] Operation: 90-80=10 Moving to Node #0,2,1 Current State: 67:[77, 10], Operations: ['93-16=77', '90-80=10'] Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 50, 18, 64, 48 ]
55
[ "50-48=2", "18/2=9", "64-9=55" ]
Current State: 55:[50, 18, 64, 48], Operations: [] Exploring Operation: 50-48=2, Resulting Numbers: [18, 64, 2] Generated Node #2: [18, 64, 2] from Operation: 50-48=2 Current State: 55:[18, 64, 2], Operations: ['50-48=2'] Exploring Operation: 18/2=9, Resulting Numbers: [64, 9] Generated Node #3: [64, 9] from Operation: 18/2=9 Current State: 55:[64, 9], Operations: ['50-48=2', '18/2=9'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[50, 18, 64, 48], Operations: [] Exploring Operation: 64-48=16, Resulting Numbers: [50, 18, 16] Generated Node #0,0: 55:[50, 18, 16] Operation: 64-48=16 Exploring Operation: 64-18=46, Resulting Numbers: [50, 48, 46] Generated Node #0,1: 55:[50, 48, 46] Operation: 64-18=46 Exploring Operation: 50-48=2, Resulting Numbers: [18, 64, 2] Generated Node #0,2: 55:[18, 64, 2] Operation: 50-48=2 Exploring Operation: 64-50=14, Resulting Numbers: [18, 48, 14] Generated Node #0,3: 55:[18, 48, 14] Operation: 64-50=14 Moving to Node #0,0 Current State: 55:[50, 18, 16], Operations: ['64-48=16'] Exploring Operation: 18-16=2, Resulting Numbers: [50, 2] Generated Node #0,0,0: 55:[50, 2] Operation: 18-16=2 Exploring Operation: 50+18=68, Resulting Numbers: [16, 68] Generated Node #0,0,1: 55:[16, 68] Operation: 50+18=68 Exploring Operation: 50-18=32, Resulting Numbers: [16, 32] Generated Node #0,0,2: 55:[16, 32] Operation: 50-18=32 Exploring Operation: 50+16=66, Resulting Numbers: [18, 66] Generated Node #0,0,3: 55:[18, 66] Operation: 50+16=66 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[50, 2], Operations: ['64-48=16', '18-16=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,55 unequal: No Solution Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,55 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,55 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 55:[16, 68], Operations: ['64-48=16', '50+18=68'] Exploring Operation: 68-16=52, Resulting Numbers: [52] 52,55 unequal: No Solution Exploring Operation: 16*68=1088, Resulting Numbers: [1088] 1088,55 unequal: No Solution Exploring Operation: 16+68=84, Resulting Numbers: [84] 84,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 55:[18, 66], Operations: ['64-48=16', '50+16=66'] Exploring Operation: 18+66=84, Resulting Numbers: [84] 84,55 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,55 unequal: No Solution Exploring Operation: 18*66=1188, Resulting Numbers: [1188] 1188,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 55:[16, 32], Operations: ['64-48=16', '50-18=32'] Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,55 unequal: No Solution Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,55 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,55 unequal: No Solution Exploring Operation: 16*32=512, Resulting Numbers: [512] 512,55 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: 55:[18, 48, 14], Operations: ['64-50=14'] Exploring Operation: 18+48=66, Resulting Numbers: [14, 66] Generated Node #0,3,0: 55:[14, 66] Operation: 18+48=66 Exploring Operation: 18-14=4, Resulting Numbers: [48, 4] Generated Node #0,3,1: 55:[48, 4] Operation: 18-14=4 Exploring Operation: 48-18=30, Resulting Numbers: [14, 30] Generated Node #0,3,2: 55:[14, 30] Operation: 48-18=30 Exploring Operation: 48+14=62, Resulting Numbers: [18, 62] Generated Node #0,3,3: 55:[18, 62] Operation: 48+14=62 Moving to Node #0,2 Current State: 55:[18, 64, 2], Operations: ['50-48=2'] Exploring Operation: 64-2=62, Resulting Numbers: [18, 62] Generated Node #0,2,0: 55:[18, 62] Operation: 64-2=62 Exploring Operation: 64-18=46, Resulting Numbers: [2, 46] Generated Node #0,2,1: 55:[2, 46] Operation: 64-18=46 Exploring Operation: 18/2=9, Resulting Numbers: [64, 9] Generated Node #0,2,2: 55:[64, 9] Operation: 18/2=9 Exploring Operation: 18-2=16, Resulting Numbers: [64, 16] Generated Node #0,2,3: 55:[64, 16] Operation: 18-2=16 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 55:[64, 9], Operations: ['50-48=2', '18/2=9'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[50, 18, 64, 48], Operations: [] Exploring Operation: 50-48=2, Resulting Numbers: [18, 64, 2] Generated Node #0,2: 55:[18, 64, 2] Operation: 50-48=2 Moving to Node #0,2 Current State: 55:[18, 64, 2], Operations: ['50-48=2'] Exploring Operation: 18/2=9, Resulting Numbers: [64, 9] Generated Node #0,2,2: 55:[64, 9] Operation: 18/2=9 Moving to Node #0,2,2 Current State: 55:[64, 9], Operations: ['50-48=2', '18/2=9'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
mult_heuristic
[ 88, 4, 92, 95 ]
94
[ "88+4=92", "92/92=1", "95-1=94" ]
Current State: 94:[88, 4, 92, 95], Operations: [] Exploring Operation: 88+4=92, Resulting Numbers: [92, 95, 92] Generated Node #2: [92, 95, 92] from Operation: 88+4=92 Current State: 94:[92, 95, 92], Operations: ['88+4=92'] Exploring Operation: 92/92=1, Resulting Numbers: [95, 1] Generated Node #3: [95, 1] from Operation: 92/92=1 Current State: 94:[95, 1], Operations: ['88+4=92', '92/92=1'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[88, 4, 92, 95], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [4, 95, 4] Generated Node #0,0: 94:[4, 95, 4] Operation: 92-88=4 Exploring Operation: 4+92=96, Resulting Numbers: [88, 95, 96] Generated Node #0,1: 94:[88, 95, 96] Operation: 4+92=96 Exploring Operation: 88+4=92, Resulting Numbers: [92, 95, 92] Generated Node #0,2: 94:[92, 95, 92] Operation: 88+4=92 Exploring Operation: 95-88=7, Resulting Numbers: [4, 92, 7] Generated Node #0,3: 94:[4, 92, 7] Operation: 95-88=7 Exploring Operation: 95-92=3, Resulting Numbers: [88, 4, 3] Generated Node #0,4: 94:[88, 4, 3] Operation: 95-92=3 Moving to Node #0,0 Current State: 94:[4, 95, 4], Operations: ['92-88=4'] Exploring Operation: 95-4=91, Resulting Numbers: [4, 91] Generated Node #0,0,0: 94:[4, 91] Operation: 95-4=91 Exploring Operation: 4/4=1, Resulting Numbers: [95, 1] Generated Node #0,0,1: 94:[95, 1] Operation: 4/4=1 Exploring Operation: 95-4=91, Resulting Numbers: [4, 91] Generated Node #0,0,2: 94:[4, 91] Operation: 95-4=91 Exploring Operation: 4-4=0, Resulting Numbers: [95, 0] Generated Node #0,0,3: 94:[95, 0] Operation: 4-4=0 Exploring Operation: 4+95=99, Resulting Numbers: [4, 99] Generated Node #0,0,4: 94:[4, 99] Operation: 4+95=99 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[95, 1], Operations: ['92-88=4', '4/4=1'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[88, 4, 92, 95], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [4, 95, 4] Generated Node #0,0: 94:[4, 95, 4] Operation: 92-88=4 Moving to Node #0,0 Current State: 94:[4, 95, 4], Operations: ['92-88=4'] Exploring Operation: 4/4=1, Resulting Numbers: [95, 1] Generated Node #0,0,1: 94:[95, 1] Operation: 4/4=1 Moving to Node #0,0,1 Current State: 94:[95, 1], Operations: ['92-88=4', '4/4=1'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 36, 5, 42, 8 ]
43
[ "42-36=6", "8*6=48", "48-5=43" ]
Current State: 43:[36, 5, 42, 8], Operations: [] Exploring Operation: 42-36=6, Resulting Numbers: [5, 8, 6] Generated Node #2: [5, 8, 6] from Operation: 42-36=6 Current State: 43:[5, 8, 6], Operations: ['42-36=6'] Exploring Operation: 8*6=48, Resulting Numbers: [5, 48] Generated Node #3: [5, 48] from Operation: 8*6=48 Current State: 43:[5, 48], Operations: ['42-36=6', '8*6=48'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[36, 5, 42, 8], Operations: [] Exploring Operation: 5*8=40, Resulting Numbers: [36, 42, 40] Generated Node #0,0: 43:[36, 42, 40] Operation: 5*8=40 Exploring Operation: 36+5=41, Resulting Numbers: [42, 8, 41] Generated Node #0,1: 43:[42, 8, 41] Operation: 36+5=41 Moving to Node #0,0 Current State: 43:[36, 42, 40], Operations: ['5*8=40'] Exploring Operation: 36+40=76, Resulting Numbers: [42, 76] Generated Node #0,0,0: 43:[42, 76] Operation: 36+40=76 Exploring Operation: 36+42=78, Resulting Numbers: [40, 78] Generated Node #0,0,1: 43:[40, 78] Operation: 36+42=78 Moving to Node #0,1 Current State: 43:[42, 8, 41], Operations: ['36+5=41'] Exploring Operation: 42+8=50, Resulting Numbers: [41, 50] Generated Node #0,1,0: 43:[41, 50] Operation: 42+8=50 Exploring Operation: 8+41=49, Resulting Numbers: [42, 49] Generated Node #0,1,1: 43:[42, 49] Operation: 8+41=49 Moving to Node #0,1,1 Current State: 43:[42, 49], Operations: ['36+5=41', '8+41=49'] Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,43 unequal: No Solution Exploring Operation: 42+49=91, Resulting Numbers: [91] 91,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[41, 50], Operations: ['36+5=41', '42+8=50'] Exploring Operation: 41+50=91, Resulting Numbers: [91] 91,43 unequal: No Solution Exploring Operation: 50-41=9, Resulting Numbers: [9] 9,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[42, 76], Operations: ['5*8=40', '36+40=76'] Exploring Operation: 76-42=34, Resulting Numbers: [34] 34,43 unequal: No Solution Exploring Operation: 42+76=118, Resulting Numbers: [118] 118,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[40, 78], Operations: ['5*8=40', '36+42=78'] Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 40+78=118, Resulting Numbers: [118] 118,43 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 4, 15, 82, 92 ]
74
[ "92/4=23", "15+82=97", "97-23=74" ]
Current State: 74:[4, 15, 82, 92], Operations: [] Exploring Operation: 92/4=23, Resulting Numbers: [15, 82, 23] Generated Node #2: [15, 82, 23] from Operation: 92/4=23 Current State: 74:[15, 82, 23], Operations: ['92/4=23'] Exploring Operation: 15+82=97, Resulting Numbers: [23, 97] Generated Node #3: [23, 97] from Operation: 15+82=97 Current State: 74:[23, 97], Operations: ['92/4=23', '15+82=97'] Exploring Operation: 97-23=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[4, 15, 82, 92], Operations: [] Exploring Operation: 92-15=77, Resulting Numbers: [4, 82, 77] Generated Node #0,0: 74:[4, 82, 77] Operation: 92-15=77 Exploring Operation: 92-82=10, Resulting Numbers: [4, 15, 10] Generated Node #0,1: 74:[4, 15, 10] Operation: 92-82=10 Moving to Node #0,0 Current State: 74:[4, 82, 77], Operations: ['92-15=77'] Exploring Operation: 82-77=5, Resulting Numbers: [4, 5] Generated Node #0,0,0: 74:[4, 5] Operation: 82-77=5 Exploring Operation: 82-4=78, Resulting Numbers: [77, 78] Generated Node #0,0,1: 74:[77, 78] Operation: 82-4=78 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[4, 5], Operations: ['92-15=77', '82-77=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,74 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,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,0,1 Current State: 74:[77, 78], Operations: ['92-15=77', '82-4=78'] Exploring Operation: 77+78=155, Resulting Numbers: [155] 155,74 unequal: No Solution Exploring Operation: 78-77=1, Resulting Numbers: [1] 1,74 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: 74:[4, 15, 10], Operations: ['92-82=10'] Exploring Operation: 15+10=25, Resulting Numbers: [4, 25] Generated Node #0,1,0: 74:[4, 25] Operation: 15+10=25 Exploring Operation: 15-10=5, Resulting Numbers: [4, 5] Generated Node #0,1,1: 74:[4, 5] Operation: 15-10=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[4, 5], Operations: ['92-82=10', '15-10=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,74 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,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,0 Current State: 74:[4, 25], Operations: ['92-82=10', '15+10=25'] Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,74 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,74 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
[ 70, 70, 38, 94 ]
94
[ "70-70=0", "38*0=0", "94+0=94" ]
Current State: 94:[70, 70, 38, 94], Operations: [] Exploring Operation: 70-70=0, Resulting Numbers: [38, 94, 0] Generated Node #2: [38, 94, 0] from Operation: 70-70=0 Current State: 94:[38, 94, 0], Operations: ['70-70=0'] Exploring Operation: 38*0=0, Resulting Numbers: [94, 0] Generated Node #3: [94, 0] from Operation: 38*0=0 Current State: 94:[94, 0], Operations: ['70-70=0', '38*0=0'] Exploring Operation: 94+0=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[70, 70, 38, 94], Operations: [] Exploring Operation: 70-70=0, Resulting Numbers: [38, 94, 0] Generated Node #0,0: 94:[38, 94, 0] Operation: 70-70=0 Exploring Operation: 70/70=1, Resulting Numbers: [38, 94, 1] Generated Node #0,1: 94:[38, 94, 1] Operation: 70/70=1 Exploring Operation: 70+38=108, Resulting Numbers: [70, 94, 108] Generated Node #0,2: 94:[70, 94, 108] Operation: 70+38=108 Exploring Operation: 70+38=108, Resulting Numbers: [70, 94, 108] Generated Node #0,3: 94:[70, 94, 108] Operation: 70+38=108 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[38, 94, 1], Operations: ['70/70=1'] Exploring Operation: 38*1=38, Resulting Numbers: [94, 38] Generated Node #0,1,0: 94:[94, 38] Operation: 38*1=38 Exploring Operation: 94*1=94, Resulting Numbers: [38, 94] Generated Node #0,1,1: 94:[38, 94] Operation: 94*1=94 Exploring Operation: 38/1=38, Resulting Numbers: [94, 38] Generated Node #0,1,2: 94:[94, 38] Operation: 38/1=38 Exploring Operation: 38+1=39, Resulting Numbers: [94, 39] Generated Node #0,1,3: 94:[94, 39] Operation: 38+1=39 Moving to Node #0,1,3 Current State: 94:[94, 39], Operations: ['70/70=1', '38+1=39'] Exploring Operation: 94-39=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 94*39=3666, Resulting Numbers: [3666] 3666,94 unequal: No Solution Exploring Operation: 94+39=133, Resulting Numbers: [133] 133,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[38, 94], Operations: ['70/70=1', '94*1=94'] Exploring Operation: 94-38=56, Resulting Numbers: [56] 56,94 unequal: No Solution Exploring Operation: 38*94=3572, Resulting Numbers: [3572] 3572,94 unequal: No Solution Exploring Operation: 38+94=132, Resulting Numbers: [132] 132,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[94, 38], Operations: ['70/70=1', '38*1=38'] Exploring Operation: 94*38=3572, Resulting Numbers: [3572] 3572,94 unequal: No Solution Exploring Operation: 94+38=132, Resulting Numbers: [132] 132,94 unequal: No Solution Exploring Operation: 94-38=56, Resulting Numbers: [56] 56,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[94, 38], Operations: ['70/70=1', '38/1=38'] Exploring Operation: 94-38=56, Resulting Numbers: [56] 56,94 unequal: No Solution Exploring Operation: 94+38=132, Resulting Numbers: [132] 132,94 unequal: No Solution Exploring Operation: 94*38=3572, Resulting Numbers: [3572] 3572,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[38, 94, 0], Operations: ['70-70=0'] Exploring Operation: 38*0=0, Resulting Numbers: [94, 0] Generated Node #0,0,0: 94:[94, 0] Operation: 38*0=0 Exploring Operation: 94+0=94, Resulting Numbers: [38, 94] Generated Node #0,0,1: 94:[38, 94] Operation: 94+0=94 Exploring Operation: 38+0=38, Resulting Numbers: [94, 38] Generated Node #0,0,2: 94:[94, 38] Operation: 38+0=38 Exploring Operation: 38-0=38, Resulting Numbers: [94, 38] Generated Node #0,0,3: 94:[94, 38] Operation: 38-0=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[94, 0], Operations: ['70-70=0', '38*0=0'] Exploring Operation: 94+0=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[70, 70, 38, 94], Operations: [] Exploring Operation: 70-70=0, Resulting Numbers: [38, 94, 0] Generated Node #0,0: 94:[38, 94, 0] Operation: 70-70=0 Moving to Node #0,0 Current State: 94:[38, 94, 0], Operations: ['70-70=0'] Exploring Operation: 38*0=0, Resulting Numbers: [94, 0] Generated Node #0,0,0: 94:[94, 0] Operation: 38*0=0 Moving to Node #0,0,0 Current State: 94:[94, 0], Operations: ['70-70=0', '38*0=0'] Exploring Operation: 94+0=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.974826
hs_4
mult_heuristic
[ 60, 57, 18, 66 ]
72
[ "60-57=3", "18/3=6", "66+6=72" ]
Current State: 72:[60, 57, 18, 66], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [18, 66, 3] Generated Node #2: [18, 66, 3] from Operation: 60-57=3 Current State: 72:[18, 66, 3], Operations: ['60-57=3'] Exploring Operation: 18/3=6, Resulting Numbers: [66, 6] Generated Node #3: [66, 6] from Operation: 18/3=6 Current State: 72:[66, 6], Operations: ['60-57=3', '18/3=6'] Exploring Operation: 66+6=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[60, 57, 18, 66], Operations: [] Exploring Operation: 66-57=9, Resulting Numbers: [60, 18, 9] Generated Node #0,0: 72:[60, 18, 9] Operation: 66-57=9 Exploring Operation: 57+18=75, Resulting Numbers: [60, 66, 75] Generated Node #0,1: 72:[60, 66, 75] Operation: 57+18=75 Exploring Operation: 66-60=6, Resulting Numbers: [57, 18, 6] Generated Node #0,2: 72:[57, 18, 6] Operation: 66-60=6 Exploring Operation: 60-57=3, Resulting Numbers: [18, 66, 3] Generated Node #0,3: 72:[18, 66, 3] Operation: 60-57=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 72:[18, 66, 3], Operations: ['60-57=3'] Exploring Operation: 66/3=22, Resulting Numbers: [18, 22] Generated Node #0,3,0: 72:[18, 22] Operation: 66/3=22 Exploring Operation: 18+3=21, Resulting Numbers: [66, 21] Generated Node #0,3,1: 72:[66, 21] Operation: 18+3=21 Exploring Operation: 18/3=6, Resulting Numbers: [66, 6] Generated Node #0,3,2: 72:[66, 6] Operation: 18/3=6 Exploring Operation: 66+3=69, Resulting Numbers: [18, 69] Generated Node #0,3,3: 72:[18, 69] Operation: 66+3=69 Moving to Node #0,3,0 Current State: 72:[18, 22], Operations: ['60-57=3', '66/3=22'] Exploring Operation: 18*22=396, Resulting Numbers: [396] 396,72 unequal: No Solution Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,72 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,72 unequal: No Solution Moving to Node #0,3,3 Current State: 72:[18, 69], Operations: ['60-57=3', '66+3=69'] Exploring Operation: 18*69=1242, Resulting Numbers: [1242] 1242,72 unequal: No Solution Exploring Operation: 18+69=87, Resulting Numbers: [87] 87,72 unequal: No Solution Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,72 unequal: No Solution Moving to Node #0,3,2 Current State: 72:[66, 6], Operations: ['60-57=3', '18/3=6'] Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 66*6=396, Resulting Numbers: [396] 396,72 unequal: No Solution Exploring Operation: 66+6=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[60, 57, 18, 66], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [18, 66, 3] Generated Node #0,3: 72:[18, 66, 3] Operation: 60-57=3 Moving to Node #0,3 Current State: 72:[18, 66, 3], Operations: ['60-57=3'] Exploring Operation: 18/3=6, Resulting Numbers: [66, 6] Generated Node #0,3,2: 72:[66, 6] Operation: 18/3=6 Moving to Node #0,3,2 Current State: 72:[66, 6], Operations: ['60-57=3', '18/3=6'] Exploring Operation: 66+6=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 35, 20, 88, 25 ]
69
[ "20*88=1760", "1760-35=1725", "1725/25=69" ]
Current State: 69:[35, 20, 88, 25], Operations: [] Exploring Operation: 20*88=1760, Resulting Numbers: [35, 25, 1760] Generated Node #2: [35, 25, 1760] from Operation: 20*88=1760 Current State: 69:[35, 25, 1760], Operations: ['20*88=1760'] Exploring Operation: 1760-35=1725, Resulting Numbers: [25, 1725] Generated Node #3: [25, 1725] from Operation: 1760-35=1725 Current State: 69:[25, 1725], Operations: ['20*88=1760', '1760-35=1725'] Exploring Operation: 1725/25=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[35, 20, 88, 25], Operations: [] Exploring Operation: 35-25=10, Resulting Numbers: [20, 88, 10] Generated Node #0,0: 69:[20, 88, 10] Operation: 35-25=10 Exploring Operation: 88-25=63, Resulting Numbers: [35, 20, 63] Generated Node #0,1: 69:[35, 20, 63] Operation: 88-25=63 Exploring Operation: 88-20=68, Resulting Numbers: [35, 25, 68] Generated Node #0,2: 69:[35, 25, 68] Operation: 88-20=68 Exploring Operation: 88-35=53, Resulting Numbers: [20, 25, 53] Generated Node #0,3: 69:[20, 25, 53] Operation: 88-35=53 Exploring Operation: 35-20=15, Resulting Numbers: [88, 25, 15] Generated Node #0,4: 69:[88, 25, 15] Operation: 35-20=15 Moving to Node #0,2 Current State: 69:[35, 25, 68], Operations: ['88-20=68'] Exploring Operation: 35+25=60, Resulting Numbers: [68, 60] Generated Node #0,2,0: 69:[68, 60] Operation: 35+25=60 Exploring Operation: 35+68=103, Resulting Numbers: [25, 103] Generated Node #0,2,1: 69:[25, 103] Operation: 35+68=103 Exploring Operation: 68-25=43, Resulting Numbers: [35, 43] Generated Node #0,2,2: 69:[35, 43] Operation: 68-25=43 Exploring Operation: 68-35=33, Resulting Numbers: [25, 33] Generated Node #0,2,3: 69:[25, 33] Operation: 68-35=33 Exploring Operation: 35-25=10, Resulting Numbers: [68, 10] Generated Node #0,2,4: 69:[68, 10] Operation: 35-25=10 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 69:[68, 10], Operations: ['88-20=68', '35-25=10'] Exploring Operation: 68*10=680, Resulting Numbers: [680] 680,69 unequal: No Solution Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,69 unequal: No Solution Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 69:[68, 60], Operations: ['88-20=68', '35+25=60'] Exploring Operation: 68-60=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 68+60=128, Resulting Numbers: [128] 128,69 unequal: No Solution Exploring Operation: 68*60=4080, Resulting Numbers: [4080] 4080,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 69:[25, 33], Operations: ['88-20=68', '68-35=33'] Exploring Operation: 25+33=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 25*33=825, Resulting Numbers: [825] 825,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 69:[35, 43], Operations: ['88-20=68', '68-25=43'] Exploring Operation: 35+43=78, Resulting Numbers: [78] 78,69 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 35*43=1505, Resulting Numbers: [1505] 1505,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 69:[25, 103], Operations: ['88-20=68', '35+68=103'] Exploring Operation: 103-25=78, Resulting Numbers: [78] 78,69 unequal: No Solution Exploring Operation: 25*103=2575, Resulting Numbers: [2575] 2575,69 unequal: No Solution Exploring Operation: 25+103=128, Resulting Numbers: [128] 128,69 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: 69:[20, 25, 53], Operations: ['88-35=53'] Exploring Operation: 53-25=28, Resulting Numbers: [20, 28] Generated Node #0,3,0: 69:[20, 28] Operation: 53-25=28 Exploring Operation: 53-20=33, Resulting Numbers: [25, 33] Generated Node #0,3,1: 69:[25, 33] Operation: 53-20=33 Exploring Operation: 20+53=73, Resulting Numbers: [25, 73] Generated Node #0,3,2: 69:[25, 73] Operation: 20+53=73 Exploring Operation: 25+53=78, Resulting Numbers: [20, 78] Generated Node #0,3,3: 69:[20, 78] Operation: 25+53=78 Exploring Operation: 25-20=5, Resulting Numbers: [53, 5] Generated Node #0,3,4: 69:[53, 5] Operation: 25-20=5 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 69:[25, 73], Operations: ['88-35=53', '20+53=73'] Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 25+73=98, Resulting Numbers: [98] 98,69 unequal: No Solution Exploring Operation: 25*73=1825, Resulting Numbers: [1825] 1825,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 69:[20, 28], Operations: ['88-35=53', '53-25=28'] Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,69 unequal: No Solution Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 69:[25, 33], Operations: ['88-35=53', '53-20=33'] Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 25+33=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 25*33=825, Resulting Numbers: [825] 825,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 69:[20, 78], Operations: ['88-35=53', '25+53=78'] Exploring Operation: 78-20=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 20+78=98, Resulting Numbers: [98] 98,69 unequal: No Solution Exploring Operation: 20*78=1560, Resulting Numbers: [1560] 1560,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 69:[53, 5], Operations: ['88-35=53', '25-20=5'] Exploring Operation: 53*5=265, Resulting Numbers: [265] 265,69 unequal: No Solution Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,69 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: 69:[35, 20, 63], Operations: ['88-25=63'] Exploring Operation: 20+63=83, Resulting Numbers: [35, 83] Generated Node #0,1,0: 69:[35, 83] Operation: 20+63=83 Exploring Operation: 35-20=15, Resulting Numbers: [63, 15] Generated Node #0,1,1: 69:[63, 15] Operation: 35-20=15 Exploring Operation: 35+63=98, Resulting Numbers: [20, 98] Generated Node #0,1,2: 69:[20, 98] Operation: 35+63=98 Exploring Operation: 35+20=55, Resulting Numbers: [63, 55] Generated Node #0,1,3: 69:[63, 55] Operation: 35+20=55 Exploring Operation: 63-35=28, Resulting Numbers: [20, 28] Generated Node #0,1,4: 69:[20, 28] Operation: 63-35=28 Moving to Node #0,0 Current State: 69:[20, 88, 10], Operations: ['35-25=10'] Exploring Operation: 20+10=30, Resulting Numbers: [88, 30] Generated Node #0,0,0: 69:[88, 30] Operation: 20+10=30 Exploring Operation: 20/10=2, Resulting Numbers: [88, 2] Generated Node #0,0,1: 69:[88, 2] Operation: 20/10=2 Exploring Operation: 88-20=68, Resulting Numbers: [10, 68] Generated Node #0,0,2: 69:[10, 68] Operation: 88-20=68 Exploring Operation: 20-10=10, Resulting Numbers: [88, 10] Generated Node #0,0,3: 69:[88, 10] Operation: 20-10=10 Exploring Operation: 88-10=78, Resulting Numbers: [20, 78] Generated Node #0,0,4: 69:[20, 78] Operation: 88-10=78 Moving to Node #0,4 Current State: 69:[88, 25, 15], Operations: ['35-20=15'] Exploring Operation: 25-15=10, Resulting Numbers: [88, 10] Generated Node #0,4,0: 69:[88, 10] Operation: 25-15=10 Exploring Operation: 25+15=40, Resulting Numbers: [88, 40] Generated Node #0,4,1: 69:[88, 40] Operation: 25+15=40 Exploring Operation: 88-25=63, Resulting Numbers: [15, 63] Generated Node #0,4,2: 69:[15, 63] Operation: 88-25=63 Exploring Operation: 88-15=73, Resulting Numbers: [25, 73] Generated Node #0,4,3: 69:[25, 73] Operation: 88-15=73 Exploring Operation: 88+15=103, Resulting Numbers: [25, 103] Generated Node #0,4,4: 69:[25, 103] Operation: 88+15=103 Moving to Node #0,4,3 Current State: 69:[25, 73], Operations: ['35-20=15', '88-15=73'] Exploring Operation: 25+73=98, Resulting Numbers: [98] 98,69 unequal: No Solution Exploring Operation: 25*73=1825, Resulting Numbers: [1825] 1825,69 unequal: No Solution Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[10, 68], Operations: ['35-25=10', '88-20=68'] Exploring Operation: 10*68=680, Resulting Numbers: [680] 680,69 unequal: No Solution Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 10+68=78, Resulting Numbers: [78] 78,69 unequal: No Solution Moving to Node #0,1,4 Current State: 69:[20, 28], Operations: ['88-25=63', '63-35=28'] Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,69 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,0,4 Current State: 69:[20, 78], Operations: ['35-25=10', '88-10=78'] Exploring Operation: 20*78=1560, Resulting Numbers: [1560] 1560,69 unequal: No Solution Exploring Operation: 20+78=98, Resulting Numbers: [98] 98,69 unequal: No Solution Exploring Operation: 78-20=58, Resulting Numbers: [58] 58,69 unequal: No Solution Moving to Node #0,4,2 Current State: 69:[15, 63], Operations: ['35-20=15', '88-25=63'] Exploring Operation: 15*63=945, Resulting Numbers: [945] 945,69 unequal: No Solution Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 15+63=78, Resulting Numbers: [78] 78,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[63, 15], Operations: ['88-25=63', '35-20=15'] Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,69 unequal: No Solution Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 63*15=945, Resulting Numbers: [945] 945,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[63, 55], Operations: ['88-25=63', '35+20=55'] Exploring Operation: 63*55=3465, Resulting Numbers: [3465] 3465,69 unequal: No Solution Exploring Operation: 63-55=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 63+55=118, Resulting Numbers: [118] 118,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[88, 2], Operations: ['35-25=10', '20/10=2'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,69 unequal: No Solution Exploring Operation: 88+2=90, Resulting Numbers: [90] 90,69 unequal: No Solution Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 88*2=176, Resulting Numbers: [176] 176,69 unequal: No Solution Moving to Node #0,4,0 Current State: 69:[88, 10], Operations: ['35-20=15', '25-15=10'] Exploring Operation: 88*10=880, Resulting Numbers: [880] 880,69 unequal: No Solution Exploring Operation: 88-10=78, Resulting Numbers: [78] 78,69 unequal: No Solution Exploring Operation: 88+10=98, Resulting Numbers: [98] 98,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[35, 83], Operations: ['88-25=63', '20+63=83'] Exploring Operation: 35+83=118, Resulting Numbers: [118] 118,69 unequal: No Solution Exploring Operation: 35*83=2905, Resulting Numbers: [2905] 2905,69 unequal: No Solution Exploring Operation: 83-35=48, Resulting Numbers: [48] 48,69 unequal: No Solution Moving to Node #0,0,3 Current State: 69:[88, 10], Operations: ['35-25=10', '20-10=10'] Exploring Operation: 88-10=78, Resulting Numbers: [78] 78,69 unequal: No Solution Exploring Operation: 88+10=98, Resulting Numbers: [98] 98,69 unequal: No Solution Exploring Operation: 88*10=880, Resulting Numbers: [880] 880,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[88, 30], Operations: ['35-25=10', '20+10=30'] Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 88*30=2640, Resulting Numbers: [2640] 2640,69 unequal: No Solution Exploring Operation: 88+30=118, Resulting Numbers: [118] 118,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[20, 98], Operations: ['88-25=63', '35+63=98'] Exploring Operation: 20+98=118, Resulting Numbers: [118] 118,69 unequal: No Solution Exploring Operation: 98-20=78, Resulting Numbers: [78] 78,69 unequal: No Solution Exploring Operation: 20*98=1960, Resulting Numbers: [1960] 1960,69 unequal: No Solution Moving to Node #0,4,1 Current State: 69:[88, 40], Operations: ['35-20=15', '25+15=40'] Exploring Operation: 88-40=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 88*40=3520, Resulting Numbers: [3520] 3520,69 unequal: No Solution Exploring Operation: 88+40=128, Resulting Numbers: [128] 128,69 unequal: No Solution Moving to Node #0,4,4 Current State: 69:[25, 103], Operations: ['35-20=15', '88+15=103'] Exploring Operation: 25+103=128, Resulting Numbers: [128] 128,69 unequal: No Solution Exploring Operation: 103-25=78, Resulting Numbers: [78] 78,69 unequal: No Solution Exploring Operation: 25*103=2575, Resulting Numbers: [2575] 2575,69 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 28, 78, 85, 20 ]
34
[ "78-28=50", "85*20=1700", "1700/50=34" ]
Current State: 34:[28, 78, 85, 20], Operations: [] Exploring Operation: 78-28=50, Resulting Numbers: [85, 20, 50] Generated Node #2: [85, 20, 50] from Operation: 78-28=50 Current State: 34:[85, 20, 50], Operations: ['78-28=50'] Exploring Operation: 85*20=1700, Resulting Numbers: [50, 1700] Generated Node #3: [50, 1700] from Operation: 85*20=1700 Current State: 34:[50, 1700], Operations: ['78-28=50', '85*20=1700'] Exploring Operation: 1700/50=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[28, 78, 85, 20], Operations: [] Exploring Operation: 85-78=7, Resulting Numbers: [28, 20, 7] Generated Node #0,0: 34:[28, 20, 7] Operation: 85-78=7 Exploring Operation: 78-28=50, Resulting Numbers: [85, 20, 50] Generated Node #0,1: 34:[85, 20, 50] Operation: 78-28=50 Exploring Operation: 85-28=57, Resulting Numbers: [78, 20, 57] Generated Node #0,2: 34:[78, 20, 57] Operation: 85-28=57 Moving to Node #0,0 Current State: 34:[28, 20, 7], Operations: ['85-78=7'] Exploring Operation: 28-7=21, Resulting Numbers: [20, 21] Generated Node #0,0,0: 34:[20, 21] Operation: 28-7=21 Exploring Operation: 28/7=4, Resulting Numbers: [20, 4] Generated Node #0,0,1: 34:[20, 4] Operation: 28/7=4 Exploring Operation: 28+7=35, Resulting Numbers: [20, 35] Generated Node #0,0,2: 34:[20, 35] Operation: 28+7=35 Moving to Node #0,1 Current State: 34:[85, 20, 50], Operations: ['78-28=50'] Exploring Operation: 50-20=30, Resulting Numbers: [85, 30] Generated Node #0,1,0: 34:[85, 30] Operation: 50-20=30 Exploring Operation: 85-20=65, Resulting Numbers: [50, 65] Generated Node #0,1,1: 34:[50, 65] Operation: 85-20=65 Exploring Operation: 85-50=35, Resulting Numbers: [20, 35] Generated Node #0,1,2: 34:[20, 35] Operation: 85-50=35 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 34:[20, 35], Operations: ['78-28=50', '85-50=35'] Exploring Operation: 20+35=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 20*35=700, Resulting Numbers: [700] 700,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[50, 65], Operations: ['78-28=50', '85-20=65'] Exploring Operation: 50*65=3250, Resulting Numbers: [3250] 3250,34 unequal: No Solution Exploring Operation: 50+65=115, Resulting Numbers: [115] 115,34 unequal: No Solution Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[85, 30], Operations: ['78-28=50', '50-20=30'] Exploring Operation: 85*30=2550, Resulting Numbers: [2550] 2550,34 unequal: No Solution Exploring Operation: 85+30=115, Resulting Numbers: [115] 115,34 unequal: No Solution Exploring Operation: 85-30=55, Resulting Numbers: [55] 55,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 34:[78, 20, 57], Operations: ['85-28=57'] Exploring Operation: 57-20=37, Resulting Numbers: [78, 37] Generated Node #0,2,0: 34:[78, 37] Operation: 57-20=37 Exploring Operation: 78-20=58, Resulting Numbers: [57, 58] Generated Node #0,2,1: 34:[57, 58] Operation: 78-20=58 Exploring Operation: 78-57=21, Resulting Numbers: [20, 21] Generated Node #0,2,2: 34:[20, 21] Operation: 78-57=21 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 34:[20, 21], Operations: ['85-28=57', '78-57=21'] Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,34 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 34:[78, 37], Operations: ['85-28=57', '57-20=37'] Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,34 unequal: No Solution Exploring Operation: 78+37=115, Resulting Numbers: [115] 115,34 unequal: No Solution Exploring Operation: 78*37=2886, Resulting Numbers: [2886] 2886,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 34:[57, 58], Operations: ['85-28=57', '78-20=58'] Exploring Operation: 57*58=3306, Resulting Numbers: [3306] 3306,34 unequal: No Solution Exploring Operation: 57+58=115, Resulting Numbers: [115] 115,34 unequal: No Solution Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 34:[20, 35], Operations: ['85-78=7', '28+7=35'] Exploring Operation: 20*35=700, Resulting Numbers: [700] 700,34 unequal: No Solution Exploring Operation: 20+35=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[20, 4], Operations: ['85-78=7', '28/7=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[20, 21], Operations: ['85-78=7', '28-7=21'] Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,34 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,34 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,34 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 46, 79, 12, 41 ]
62
[ "79-46=33", "41-12=29", "33+29=62" ]
Current State: 62:[46, 79, 12, 41], Operations: [] Exploring Operation: 79-46=33, Resulting Numbers: [12, 41, 33] Generated Node #2: [12, 41, 33] from Operation: 79-46=33 Current State: 62:[12, 41, 33], Operations: ['79-46=33'] Exploring Operation: 41-12=29, Resulting Numbers: [33, 29] Generated Node #3: [33, 29] from Operation: 41-12=29 Current State: 62:[33, 29], Operations: ['79-46=33', '41-12=29'] Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[46, 79, 12, 41], Operations: [] Exploring Operation: 79-46=33, Resulting Numbers: [12, 41, 33] Generated Node #0,0: 62:[12, 41, 33] Operation: 79-46=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[12, 41, 33], Operations: ['79-46=33'] Exploring Operation: 41-12=29, Resulting Numbers: [33, 29] Generated Node #0,0,0: 62:[33, 29] Operation: 41-12=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[33, 29], Operations: ['79-46=33', '41-12=29'] Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[46, 79, 12, 41], Operations: [] Exploring Operation: 79-46=33, Resulting Numbers: [12, 41, 33] Generated Node #0,0: 62:[12, 41, 33] Operation: 79-46=33 Moving to Node #0,0 Current State: 62:[12, 41, 33], Operations: ['79-46=33'] Exploring Operation: 41-12=29, Resulting Numbers: [33, 29] Generated Node #0,0,0: 62:[33, 29] Operation: 41-12=29 Moving to Node #0,0,0 Current State: 62:[33, 29], Operations: ['79-46=33', '41-12=29'] Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 50, 12, 14, 50 ]
14
[ "50-50=0", "12*0=0", "14+0=14" ]
Current State: 14:[50, 12, 14, 50], Operations: [] Exploring Operation: 50-50=0, Resulting Numbers: [12, 14, 0] Generated Node #2: [12, 14, 0] from Operation: 50-50=0 Current State: 14:[12, 14, 0], Operations: ['50-50=0'] Exploring Operation: 12*0=0, Resulting Numbers: [14, 0] Generated Node #3: [14, 0] from Operation: 12*0=0 Current State: 14:[14, 0], Operations: ['50-50=0', '12*0=0'] Exploring Operation: 14+0=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[50, 12, 14, 50], Operations: [] Exploring Operation: 50-50=0, Resulting Numbers: [12, 14, 0] Generated Node #0,0: 14:[12, 14, 0] Operation: 50-50=0 Exploring Operation: 50/50=1, Resulting Numbers: [12, 14, 1] Generated Node #0,1: 14:[12, 14, 1] Operation: 50/50=1 Moving to Node #0,1 Current State: 14:[12, 14, 1], Operations: ['50/50=1'] Exploring Operation: 14-12=2, Resulting Numbers: [1, 2] Generated Node #0,1,0: 14:[1, 2] Operation: 14-12=2 Exploring Operation: 12+1=13, Resulting Numbers: [14, 13] Generated Node #0,1,1: 14:[14, 13] Operation: 12+1=13 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[1, 2], Operations: ['50/50=1', '14-12=2'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,14 unequal: No Solution No 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: 14:[14, 13], Operations: ['50/50=1', '12+1=13'] Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,14 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,14 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: 14:[12, 14, 0], Operations: ['50-50=0'] Exploring Operation: 12+0=12, Resulting Numbers: [14, 12] Generated Node #0,0,0: 14:[14, 12] Operation: 12+0=12 Exploring Operation: 14-12=2, Resulting Numbers: [0, 2] Generated Node #0,0,1: 14:[0, 2] Operation: 14-12=2 Moving to Node #0,0,0 Current State: 14:[14, 12], Operations: ['50-50=0', '12+0=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,14 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[0, 2], Operations: ['50-50=0', '14-12=2'] Exploring Operation: 2-0=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 0+2=2, Resulting Numbers: [2] 2,14 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 78, 6, 28, 2 ]
95
[ "6+28=34", "34/2=17", "78+17=95" ]
Current State: 95:[78, 6, 28, 2], Operations: [] Exploring Operation: 6+28=34, Resulting Numbers: [78, 2, 34] Generated Node #2: [78, 2, 34] from Operation: 6+28=34 Current State: 95:[78, 2, 34], Operations: ['6+28=34'] Exploring Operation: 34/2=17, Resulting Numbers: [78, 17] Generated Node #3: [78, 17] from Operation: 34/2=17 Current State: 95:[78, 17], Operations: ['6+28=34', '34/2=17'] Exploring Operation: 78+17=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[78, 6, 28, 2], Operations: [] Exploring Operation: 78+28=106, Resulting Numbers: [6, 2, 106] Generated Node #0,0: 95:[6, 2, 106] Operation: 78+28=106 Exploring Operation: 78/6=13, Resulting Numbers: [28, 2, 13] Generated Node #0,1: 95:[28, 2, 13] Operation: 78/6=13 Moving to Node #0,0 Current State: 95:[6, 2, 106], Operations: ['78+28=106'] Exploring Operation: 106-2=104, Resulting Numbers: [6, 104] Generated Node #0,0,0: 95:[6, 104] Operation: 106-2=104 Exploring Operation: 106-6=100, Resulting Numbers: [2, 100] Generated Node #0,0,1: 95:[2, 100] Operation: 106-6=100 Moving to Node #0,1 Current State: 95:[28, 2, 13], Operations: ['78/6=13'] Exploring Operation: 28-13=15, Resulting Numbers: [2, 15] Generated Node #0,1,0: 95:[2, 15] Operation: 28-13=15 Exploring Operation: 28/2=14, Resulting Numbers: [13, 14] Generated Node #0,1,1: 95:[13, 14] Operation: 28/2=14 Moving to Node #0,1,0 Current State: 95:[2, 15], Operations: ['78/6=13', '28-13=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[2, 100], Operations: ['78+28=106', '106-6=100'] Exploring Operation: 2+100=102, Resulting Numbers: [102] 102,95 unequal: No Solution Exploring Operation: 100-2=98, Resulting Numbers: [98] 98,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[6, 104], Operations: ['78+28=106', '106-2=104'] Exploring Operation: 104-6=98, Resulting Numbers: [98] 98,95 unequal: No Solution Exploring Operation: 6+104=110, Resulting Numbers: [110] 110,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[13, 14], Operations: ['78/6=13', '28/2=14'] Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,95 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 13, 14, 52, 10 ]
42
[ "14-13=1", "52-10=42", "1*42=42" ]
Current State: 42:[13, 14, 52, 10], Operations: [] Exploring Operation: 14-13=1, Resulting Numbers: [52, 10, 1] Generated Node #2: [52, 10, 1] from Operation: 14-13=1 Current State: 42:[52, 10, 1], Operations: ['14-13=1'] Exploring Operation: 52-10=42, Resulting Numbers: [1, 42] Generated Node #3: [1, 42] from Operation: 52-10=42 Current State: 42:[1, 42], Operations: ['14-13=1', '52-10=42'] Exploring Operation: 1*42=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[13, 14, 52, 10], Operations: [] Exploring Operation: 52/13=4, Resulting Numbers: [14, 10, 4] Generated Node #0,0: 42:[14, 10, 4] Operation: 52/13=4 Exploring Operation: 52-10=42, Resulting Numbers: [13, 14, 42] Generated Node #0,1: 42:[13, 14, 42] Operation: 52-10=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[13, 14, 42], Operations: ['52-10=42'] Exploring Operation: 42/14=3, Resulting Numbers: [13, 3] Generated Node #0,1,0: 42:[13, 3] Operation: 42/14=3 Exploring Operation: 14-13=1, Resulting Numbers: [42, 1] Generated Node #0,1,1: 42:[42, 1] Operation: 14-13=1 Moving to Node #0,1,0 Current State: 42:[13, 3], Operations: ['52-10=42', '42/14=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[42, 1], Operations: ['52-10=42', '14-13=1'] Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[13, 14, 52, 10], Operations: [] Exploring Operation: 52-10=42, Resulting Numbers: [13, 14, 42] Generated Node #0,1: 42:[13, 14, 42] Operation: 52-10=42 Moving to Node #0,1 Current State: 42:[13, 14, 42], Operations: ['52-10=42'] Exploring Operation: 14-13=1, Resulting Numbers: [42, 1] Generated Node #0,1,1: 42:[42, 1] Operation: 14-13=1 Moving to Node #0,1,1 Current State: 42:[42, 1], Operations: ['52-10=42', '14-13=1'] Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 16, 35, 85, 43 ]
23
[ "35-16=19", "85-43=42", "42-19=23" ]
Current State: 23:[16, 35, 85, 43], Operations: [] Exploring Operation: 35-16=19, Resulting Numbers: [85, 43, 19] Generated Node #2: [85, 43, 19] from Operation: 35-16=19 Current State: 23:[85, 43, 19], Operations: ['35-16=19'] Exploring Operation: 85-43=42, Resulting Numbers: [19, 42] Generated Node #3: [19, 42] from Operation: 85-43=42 Current State: 23:[19, 42], Operations: ['35-16=19', '85-43=42'] Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[16, 35, 85, 43], Operations: [] Exploring Operation: 85-43=42, Resulting Numbers: [16, 35, 42] Generated Node #0,0: 23:[16, 35, 42] Operation: 85-43=42 Exploring Operation: 85-16=69, Resulting Numbers: [35, 43, 69] Generated Node #0,1: 23:[35, 43, 69] Operation: 85-16=69 Exploring Operation: 85-35=50, Resulting Numbers: [16, 43, 50] Generated Node #0,2: 23:[16, 43, 50] Operation: 85-35=50 Exploring Operation: 43-16=27, Resulting Numbers: [35, 85, 27] Generated Node #0,3: 23:[35, 85, 27] Operation: 43-16=27 Moving to Node #0,0 Current State: 23:[16, 35, 42], Operations: ['85-43=42'] Exploring Operation: 35-16=19, Resulting Numbers: [42, 19] Generated Node #0,0,0: 23:[42, 19] Operation: 35-16=19 Exploring Operation: 42-35=7, Resulting Numbers: [16, 7] Generated Node #0,0,1: 23:[16, 7] Operation: 42-35=7 Exploring Operation: 42-16=26, Resulting Numbers: [35, 26] Generated Node #0,0,2: 23:[35, 26] Operation: 42-16=26 Exploring Operation: 16+35=51, Resulting Numbers: [42, 51] Generated Node #0,0,3: 23:[42, 51] Operation: 16+35=51 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 23:[35, 26], Operations: ['85-43=42', '42-16=26'] Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 35+26=61, Resulting Numbers: [61] 61,23 unequal: No Solution Exploring Operation: 35*26=910, Resulting Numbers: [910] 910,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[42, 19], Operations: ['85-43=42', '35-16=19'] Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[16, 35, 85, 43], Operations: [] Exploring Operation: 85-43=42, Resulting Numbers: [16, 35, 42] Generated Node #0,0: 23:[16, 35, 42] Operation: 85-43=42 Moving to Node #0,0 Current State: 23:[16, 35, 42], Operations: ['85-43=42'] Exploring Operation: 35-16=19, Resulting Numbers: [42, 19] Generated Node #0,0,0: 23:[42, 19] Operation: 35-16=19 Moving to Node #0,0,0 Current State: 23:[42, 19], Operations: ['85-43=42', '35-16=19'] Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 88, 24, 36, 4 ]
32
[ "88+24=112", "36*4=144", "144-112=32" ]
Current State: 32:[88, 24, 36, 4], Operations: [] Exploring Operation: 88+24=112, Resulting Numbers: [36, 4, 112] Generated Node #2: [36, 4, 112] from Operation: 88+24=112 Current State: 32:[36, 4, 112], Operations: ['88+24=112'] Exploring Operation: 36*4=144, Resulting Numbers: [112, 144] Generated Node #3: [112, 144] from Operation: 36*4=144 Current State: 32:[112, 144], Operations: ['88+24=112', '36*4=144'] Exploring Operation: 144-112=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[88, 24, 36, 4], Operations: [] Exploring Operation: 88-24=64, Resulting Numbers: [36, 4, 64] Generated Node #0,0: 32:[36, 4, 64] Operation: 88-24=64 Exploring Operation: 88-36=52, Resulting Numbers: [24, 4, 52] Generated Node #0,1: 32:[24, 4, 52] Operation: 88-36=52 Exploring Operation: 88/4=22, Resulting Numbers: [24, 36, 22] Generated Node #0,2: 32:[24, 36, 22] Operation: 88/4=22 Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[24, 36, 22], Operations: ['88/4=22'] Exploring Operation: 36-24=12, Resulting Numbers: [22, 12] Generated Node #0,2,0: 32:[22, 12] Operation: 36-24=12 Exploring Operation: 24-22=2, Resulting Numbers: [36, 2] Generated Node #0,2,1: 32:[36, 2] Operation: 24-22=2 Exploring Operation: 36-22=14, Resulting Numbers: [24, 14] Generated Node #0,2,2: 32:[24, 14] Operation: 36-22=14 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 32:[36, 2], Operations: ['88/4=22', '24-22=2'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,32 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,32 unequal: No Solution Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 32:[22, 12], Operations: ['88/4=22', '36-24=12'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,32 unequal: No Solution Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,32 unequal: No Solution Exploring Operation: 22*12=264, Resulting Numbers: [264] 264,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 32:[24, 14], Operations: ['88/4=22', '36-22=14'] Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,32 unequal: No Solution Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,32 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[24, 4, 52], Operations: ['88-36=52'] Exploring Operation: 52/4=13, Resulting Numbers: [24, 13] Generated Node #0,1,0: 32:[24, 13] Operation: 52/4=13 Exploring Operation: 24/4=6, Resulting Numbers: [52, 6] Generated Node #0,1,1: 32:[52, 6] Operation: 24/4=6 Exploring Operation: 52-24=28, Resulting Numbers: [4, 28] Generated Node #0,1,2: 32:[4, 28] Operation: 52-24=28 Moving to Node #0,1,2 Current State: 32:[4, 28], Operations: ['88-36=52', '52-24=28'] Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[88, 24, 36, 4], Operations: [] Exploring Operation: 88-36=52, Resulting Numbers: [24, 4, 52] Generated Node #0,1: 32:[24, 4, 52] Operation: 88-36=52 Moving to Node #0,1 Current State: 32:[24, 4, 52], Operations: ['88-36=52'] Exploring Operation: 52-24=28, Resulting Numbers: [4, 28] Generated Node #0,1,2: 32:[4, 28] Operation: 52-24=28 Moving to Node #0,1,2 Current State: 32:[4, 28], Operations: ['88-36=52', '52-24=28'] Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 98, 93, 16, 62 ]
41
[ "98-93=5", "62-16=46", "46-5=41" ]
Current State: 41:[98, 93, 16, 62], Operations: [] Exploring Operation: 98-93=5, Resulting Numbers: [16, 62, 5] Generated Node #2: [16, 62, 5] from Operation: 98-93=5 Current State: 41:[16, 62, 5], Operations: ['98-93=5'] Exploring Operation: 62-16=46, Resulting Numbers: [5, 46] Generated Node #3: [5, 46] from Operation: 62-16=46 Current State: 41:[5, 46], Operations: ['98-93=5', '62-16=46'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[98, 93, 16, 62], Operations: [] Exploring Operation: 98-93=5, Resulting Numbers: [16, 62, 5] Generated Node #0,0: 41:[16, 62, 5] Operation: 98-93=5 Exploring Operation: 98-16=82, Resulting Numbers: [93, 62, 82] Generated Node #0,1: 41:[93, 62, 82] Operation: 98-16=82 Exploring Operation: 93-62=31, Resulting Numbers: [98, 16, 31] Generated Node #0,2: 41:[98, 16, 31] Operation: 93-62=31 Exploring Operation: 98-62=36, Resulting Numbers: [93, 16, 36] Generated Node #0,3: 41:[93, 16, 36] Operation: 98-62=36 Exploring Operation: 93-16=77, Resulting Numbers: [98, 62, 77] Generated Node #0,4: 41:[98, 62, 77] Operation: 93-16=77 Moving to Node #0,0 Current State: 41:[16, 62, 5], Operations: ['98-93=5'] Exploring Operation: 62-16=46, Resulting Numbers: [5, 46] Generated Node #0,0,0: 41:[5, 46] Operation: 62-16=46 Exploring Operation: 16+5=21, Resulting Numbers: [62, 21] Generated Node #0,0,1: 41:[62, 21] Operation: 16+5=21 Exploring Operation: 16-5=11, Resulting Numbers: [62, 11] Generated Node #0,0,2: 41:[62, 11] Operation: 16-5=11 Exploring Operation: 62+5=67, Resulting Numbers: [16, 67] Generated Node #0,0,3: 41:[16, 67] Operation: 62+5=67 Exploring Operation: 62-5=57, Resulting Numbers: [16, 57] Generated Node #0,0,4: 41:[16, 57] Operation: 62-5=57 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[5, 46], Operations: ['98-93=5', '62-16=46'] Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,41 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[98, 93, 16, 62], Operations: [] Exploring Operation: 98-93=5, Resulting Numbers: [16, 62, 5] Generated Node #0,0: 41:[16, 62, 5] Operation: 98-93=5 Moving to Node #0,0 Current State: 41:[16, 62, 5], Operations: ['98-93=5'] Exploring Operation: 62-16=46, Resulting Numbers: [5, 46] Generated Node #0,0,0: 41:[5, 46] Operation: 62-16=46 Moving to Node #0,0,0 Current State: 41:[5, 46], Operations: ['98-93=5', '62-16=46'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 43, 1, 86, 37 ]
35
[ "43*1=43", "86/43=2", "37-2=35" ]
Current State: 35:[43, 1, 86, 37], Operations: [] Exploring Operation: 43*1=43, Resulting Numbers: [86, 37, 43] Generated Node #2: [86, 37, 43] from Operation: 43*1=43 Current State: 35:[86, 37, 43], Operations: ['43*1=43'] Exploring Operation: 86/43=2, Resulting Numbers: [37, 2] Generated Node #3: [37, 2] from Operation: 86/43=2 Current State: 35:[37, 2], Operations: ['43*1=43', '86/43=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[43, 1, 86, 37], Operations: [] Exploring Operation: 86/43=2, Resulting Numbers: [1, 37, 2] Generated Node #0,0: 35:[1, 37, 2] Operation: 86/43=2 Moving to Node #0,0 Current State: 35:[1, 37, 2], Operations: ['86/43=2'] Exploring Operation: 37-1=36, Resulting Numbers: [2, 36] Generated Node #0,0,0: 35:[2, 36] Operation: 37-1=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[2, 36], Operations: ['86/43=2', '37-1=36'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,35 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
[ 18, 74, 2, 13 ]
43
[ "18/2=9", "13*9=117", "117-74=43" ]
Current State: 43:[18, 74, 2, 13], Operations: [] Exploring Operation: 18/2=9, Resulting Numbers: [74, 13, 9] Generated Node #2: [74, 13, 9] from Operation: 18/2=9 Current State: 43:[74, 13, 9], Operations: ['18/2=9'] Exploring Operation: 13*9=117, Resulting Numbers: [74, 117] Generated Node #3: [74, 117] from Operation: 13*9=117 Current State: 43:[74, 117], Operations: ['18/2=9', '13*9=117'] Exploring Operation: 117-74=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[18, 74, 2, 13], Operations: [] Exploring Operation: 74/2=37, Resulting Numbers: [18, 13, 37] Generated Node #0,0: 43:[18, 13, 37] Operation: 74/2=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[18, 13, 37], Operations: ['74/2=37'] Exploring Operation: 18+13=31, Resulting Numbers: [37, 31] Generated Node #0,0,0: 43:[37, 31] Operation: 18+13=31 Moving to Node #0,0,0 Current State: 43:[37, 31], Operations: ['74/2=37', '18+13=31'] Exploring Operation: 37+31=68, Resulting Numbers: [68] 68,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic