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
[ 49, 97, 8, 55 ]
99
[ "49+97=146", "55-8=47", "146-47=99" ]
Current State: 99:[49, 97, 8, 55], Operations: [] Exploring Operation: 49+97=146, Resulting Numbers: [8, 55, 146] Generated Node #2: [8, 55, 146] from Operation: 49+97=146 Current State: 99:[8, 55, 146], Operations: ['49+97=146'] Exploring Operation: 55-8=47, Resulting Numbers: [146, 47] Generated Node #3: [146, 47] from Operation: 55-8=47 Current State: 99:[146, 47], Operations: ['49+97=146', '55-8=47'] Exploring Operation: 146-47=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[49, 97, 8, 55], Operations: [] Exploring Operation: 49+55=104, Resulting Numbers: [97, 8, 104] Generated Node #0,0: 99:[97, 8, 104] Operation: 49+55=104 Exploring Operation: 55-49=6, Resulting Numbers: [97, 8, 6] Generated Node #0,1: 99:[97, 8, 6] Operation: 55-49=6 Moving to Node #0,1 Current State: 99:[97, 8, 6], Operations: ['55-49=6'] Exploring Operation: 97+6=103, Resulting Numbers: [8, 103] Generated Node #0,1,0: 99:[8, 103] Operation: 97+6=103 Exploring Operation: 8-6=2, Resulting Numbers: [97, 2] Generated Node #0,1,1: 99:[97, 2] Operation: 8-6=2 Moving to Node #0,0 Current State: 99:[97, 8, 104], Operations: ['49+55=104'] Exploring Operation: 104/8=13, Resulting Numbers: [97, 13] Generated Node #0,0,0: 99:[97, 13] Operation: 104/8=13 Exploring Operation: 104-97=7, Resulting Numbers: [8, 7] Generated Node #0,0,1: 99:[8, 7] Operation: 104-97=7 Moving to Node #0,1,1 Current State: 99:[97, 2], Operations: ['55-49=6', '8-6=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[49, 97, 8, 55], Operations: [] Exploring Operation: 55-49=6, Resulting Numbers: [97, 8, 6] Generated Node #0,1: 99:[97, 8, 6] Operation: 55-49=6 Moving to Node #0,1 Current State: 99:[97, 8, 6], Operations: ['55-49=6'] Exploring Operation: 8-6=2, Resulting Numbers: [97, 2] Generated Node #0,1,1: 99:[97, 2] Operation: 8-6=2 Moving to Node #0,1,1 Current State: 99:[97, 2], Operations: ['55-49=6', '8-6=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 26, 28, 11, 61 ]
48
[ "28-26=2", "61-11=50", "50-2=48" ]
Current State: 48:[26, 28, 11, 61], Operations: [] Exploring Operation: 28-26=2, Resulting Numbers: [11, 61, 2] Generated Node #2: [11, 61, 2] from Operation: 28-26=2 Current State: 48:[11, 61, 2], Operations: ['28-26=2'] Exploring Operation: 61-11=50, Resulting Numbers: [2, 50] Generated Node #3: [2, 50] from Operation: 61-11=50 Current State: 48:[2, 50], Operations: ['28-26=2', '61-11=50'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[26, 28, 11, 61], Operations: [] Exploring Operation: 61-28=33, Resulting Numbers: [26, 11, 33] Generated Node #0,0: 48:[26, 11, 33] Operation: 61-28=33 Exploring Operation: 28-26=2, Resulting Numbers: [11, 61, 2] Generated Node #0,1: 48:[11, 61, 2] Operation: 28-26=2 Exploring Operation: 61-11=50, Resulting Numbers: [26, 28, 50] Generated Node #0,2: 48:[26, 28, 50] Operation: 61-11=50 Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[26, 28, 50], Operations: ['61-11=50'] Exploring Operation: 50-28=22, Resulting Numbers: [26, 22] Generated Node #0,2,0: 48:[26, 22] Operation: 50-28=22 Exploring Operation: 50-26=24, Resulting Numbers: [28, 24] Generated Node #0,2,1: 48:[28, 24] Operation: 50-26=24 Exploring Operation: 28-26=2, Resulting Numbers: [50, 2] Generated Node #0,2,2: 48:[50, 2] Operation: 28-26=2 Moving to Node #0,2,2 Current State: 48:[50, 2], Operations: ['61-11=50', '28-26=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,48 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[26, 28, 11, 61], Operations: [] Exploring Operation: 61-11=50, Resulting Numbers: [26, 28, 50] Generated Node #0,2: 48:[26, 28, 50] Operation: 61-11=50 Moving to Node #0,2 Current State: 48:[26, 28, 50], Operations: ['61-11=50'] Exploring Operation: 28-26=2, Resulting Numbers: [50, 2] Generated Node #0,2,2: 48:[50, 2] Operation: 28-26=2 Moving to Node #0,2,2 Current State: 48:[50, 2], Operations: ['61-11=50', '28-26=2'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 84, 7, 1, 68 ]
82
[ "7-1=6", "84/6=14", "68+14=82" ]
Current State: 82:[84, 7, 1, 68], Operations: [] Exploring Operation: 7-1=6, Resulting Numbers: [84, 68, 6] Generated Node #2: [84, 68, 6] from Operation: 7-1=6 Current State: 82:[84, 68, 6], Operations: ['7-1=6'] Exploring Operation: 84/6=14, Resulting Numbers: [68, 14] Generated Node #3: [68, 14] from Operation: 84/6=14 Current State: 82:[68, 14], Operations: ['7-1=6', '84/6=14'] Exploring Operation: 68+14=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[84, 7, 1, 68], Operations: [] Exploring Operation: 7+68=75, Resulting Numbers: [84, 1, 75] Generated Node #0,0: 82:[84, 1, 75] Operation: 7+68=75 Moving to Node #0,0 Current State: 82:[84, 1, 75], Operations: ['7+68=75'] Exploring Operation: 84-1=83, Resulting Numbers: [75, 83] Generated Node #0,0,0: 82:[75, 83] Operation: 84-1=83 Moving to Node #0,0,0 Current State: 82:[75, 83], Operations: ['7+68=75', '84-1=83'] Exploring Operation: 83-75=8, Resulting Numbers: [8] 8,82 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 86, 4, 47, 37 ]
19
[ "86-47=39", "37+39=76", "76/4=19" ]
Current State: 19:[86, 4, 47, 37], Operations: [] Exploring Operation: 86-47=39, Resulting Numbers: [4, 37, 39] Generated Node #2: [4, 37, 39] from Operation: 86-47=39 Current State: 19:[4, 37, 39], Operations: ['86-47=39'] Exploring Operation: 37+39=76, Resulting Numbers: [4, 76] Generated Node #3: [4, 76] from Operation: 37+39=76 Current State: 19:[4, 76], Operations: ['86-47=39', '37+39=76'] Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[86, 4, 47, 37], Operations: [] Exploring Operation: 86-37=49, Resulting Numbers: [4, 47, 49] Generated Node #0,0: 19:[4, 47, 49] Operation: 86-37=49 Exploring Operation: 86-47=39, Resulting Numbers: [4, 37, 39] Generated Node #0,1: 19:[4, 37, 39] Operation: 86-47=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[4, 37, 39], Operations: ['86-47=39'] Exploring Operation: 39-37=2, Resulting Numbers: [4, 2] Generated Node #0,1,0: 19:[4, 2] Operation: 39-37=2 Exploring Operation: 37-4=33, Resulting Numbers: [39, 33] Generated Node #0,1,1: 19:[39, 33] Operation: 37-4=33 Moving to Node #0,1,0 Current State: 19:[4, 2], Operations: ['86-47=39', '39-37=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[39, 33], Operations: ['86-47=39', '37-4=33'] Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,19 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,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:[4, 47, 49], Operations: ['86-37=49'] Exploring Operation: 47-4=43, Resulting Numbers: [49, 43] Generated Node #0,0,0: 19:[49, 43] Operation: 47-4=43 Exploring Operation: 49-47=2, Resulting Numbers: [4, 2] Generated Node #0,0,1: 19:[4, 2] Operation: 49-47=2 Moving to Node #0,0,1 Current State: 19:[4, 2], Operations: ['86-37=49', '49-47=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[49, 43], Operations: ['86-37=49', '47-4=43'] Exploring Operation: 49+43=92, Resulting Numbers: [92] 92,19 unequal: No Solution Exploring Operation: 49-43=6, Resulting Numbers: [6] 6,19 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
[ 67, 56, 24, 39 ]
60
[ "67+56=123", "24+39=63", "123-63=60" ]
Current State: 60:[67, 56, 24, 39], Operations: [] Exploring Operation: 67+56=123, Resulting Numbers: [24, 39, 123] Generated Node #2: [24, 39, 123] from Operation: 67+56=123 Current State: 60:[24, 39, 123], Operations: ['67+56=123'] Exploring Operation: 24+39=63, Resulting Numbers: [123, 63] Generated Node #3: [123, 63] from Operation: 24+39=63 Current State: 60:[123, 63], Operations: ['67+56=123', '24+39=63'] Exploring Operation: 123-63=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[67, 56, 24, 39], Operations: [] Exploring Operation: 39-24=15, Resulting Numbers: [67, 56, 15] Generated Node #0,0: 60:[67, 56, 15] Operation: 39-24=15 Exploring Operation: 67-39=28, Resulting Numbers: [56, 24, 28] Generated Node #0,1: 60:[56, 24, 28] Operation: 67-39=28 Exploring Operation: 56-39=17, Resulting Numbers: [67, 24, 17] Generated Node #0,2: 60:[67, 24, 17] Operation: 56-39=17 Moving to Node #0,1 Current State: 60:[56, 24, 28], Operations: ['67-39=28'] Exploring Operation: 28-24=4, Resulting Numbers: [56, 4] Generated Node #0,1,0: 60:[56, 4] Operation: 28-24=4 Exploring Operation: 56/28=2, Resulting Numbers: [24, 2] Generated Node #0,1,1: 60:[24, 2] Operation: 56/28=2 Exploring Operation: 56-24=32, Resulting Numbers: [28, 32] Generated Node #0,1,2: 60:[28, 32] Operation: 56-24=32 Moving to Node #0,0 Current State: 60:[67, 56, 15], Operations: ['39-24=15'] Exploring Operation: 56+15=71, Resulting Numbers: [67, 71] Generated Node #0,0,0: 60:[67, 71] Operation: 56+15=71 Exploring Operation: 67-15=52, Resulting Numbers: [56, 52] Generated Node #0,0,1: 60:[56, 52] Operation: 67-15=52 Exploring Operation: 67-56=11, Resulting Numbers: [15, 11] Generated Node #0,0,2: 60:[15, 11] Operation: 67-56=11 Moving to Node #0,2 Current State: 60:[67, 24, 17], Operations: ['56-39=17'] Exploring Operation: 67-24=43, Resulting Numbers: [17, 43] Generated Node #0,2,0: 60:[17, 43] Operation: 67-24=43 Exploring Operation: 67-17=50, Resulting Numbers: [24, 50] Generated Node #0,2,1: 60:[24, 50] Operation: 67-17=50 Exploring Operation: 24-17=7, Resulting Numbers: [67, 7] Generated Node #0,2,2: 60:[67, 7] Operation: 24-17=7 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 60:[67, 7], Operations: ['56-39=17', '24-17=7'] Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[67, 56, 24, 39], Operations: [] Exploring Operation: 56-39=17, Resulting Numbers: [67, 24, 17] Generated Node #0,2: 60:[67, 24, 17] Operation: 56-39=17 Moving to Node #0,2 Current State: 60:[67, 24, 17], Operations: ['56-39=17'] Exploring Operation: 24-17=7, Resulting Numbers: [67, 7] Generated Node #0,2,2: 60:[67, 7] Operation: 24-17=7 Moving to Node #0,2,2 Current State: 60:[67, 7], Operations: ['56-39=17', '24-17=7'] Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 82, 33, 58, 43 ]
100
[ "82+33=115", "58-43=15", "115-15=100" ]
Current State: 100:[82, 33, 58, 43], Operations: [] Exploring Operation: 82+33=115, Resulting Numbers: [58, 43, 115] Generated Node #2: [58, 43, 115] from Operation: 82+33=115 Current State: 100:[58, 43, 115], Operations: ['82+33=115'] Exploring Operation: 58-43=15, Resulting Numbers: [115, 15] Generated Node #3: [115, 15] from Operation: 58-43=15 Current State: 100:[115, 15], Operations: ['82+33=115', '58-43=15'] Exploring Operation: 115-15=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[82, 33, 58, 43], Operations: [] Exploring Operation: 82-58=24, Resulting Numbers: [33, 43, 24] Generated Node #0,0: 100:[33, 43, 24] Operation: 82-58=24 Exploring Operation: 82-33=49, Resulting Numbers: [58, 43, 49] Generated Node #0,1: 100:[58, 43, 49] Operation: 82-33=49 Exploring Operation: 58-33=25, Resulting Numbers: [82, 43, 25] Generated Node #0,2: 100:[82, 43, 25] Operation: 58-33=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[33, 43, 24], Operations: ['82-58=24'] Exploring Operation: 43-24=19, Resulting Numbers: [33, 19] Generated Node #0,0,0: 100:[33, 19] Operation: 43-24=19 Exploring Operation: 43-33=10, Resulting Numbers: [24, 10] Generated Node #0,0,1: 100:[24, 10] Operation: 43-33=10 Exploring Operation: 33-24=9, Resulting Numbers: [43, 9] Generated Node #0,0,2: 100:[43, 9] Operation: 33-24=9 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[24, 10], Operations: ['82-58=24', '43-33=10'] Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,100 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,100 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,100 unequal: No Solution No 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: 100:[43, 9], Operations: ['82-58=24', '33-24=9'] Exploring Operation: 43*9=387, Resulting Numbers: [387] 387,100 unequal: No Solution Exploring Operation: 43+9=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,100 unequal: No Solution No 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: 100:[33, 19], Operations: ['82-58=24', '43-24=19'] Exploring Operation: 33*19=627, Resulting Numbers: [627] 627,100 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,100 unequal: No Solution Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,100 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: 100:[58, 43, 49], Operations: ['82-33=49'] Exploring Operation: 58+43=101, Resulting Numbers: [49, 101] Generated Node #0,1,0: 100:[49, 101] Operation: 58+43=101 Exploring Operation: 58-49=9, Resulting Numbers: [43, 9] Generated Node #0,1,1: 100:[43, 9] Operation: 58-49=9 Exploring Operation: 58-43=15, Resulting Numbers: [49, 15] Generated Node #0,1,2: 100:[49, 15] Operation: 58-43=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[49, 101], Operations: ['82-33=49', '58+43=101'] Exploring Operation: 49+101=150, Resulting Numbers: [150] 150,100 unequal: No Solution Exploring Operation: 49*101=4949, Resulting Numbers: [4949] 4949,100 unequal: No Solution Exploring Operation: 101-49=52, Resulting Numbers: [52] 52,100 unequal: No Solution No 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: 100:[49, 15], Operations: ['82-33=49', '58-43=15'] Exploring Operation: 49+15=64, Resulting Numbers: [64] 64,100 unequal: No Solution Exploring Operation: 49*15=735, Resulting Numbers: [735] 735,100 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,100 unequal: No Solution No 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: 100:[43, 9], Operations: ['82-33=49', '58-49=9'] Exploring Operation: 43*9=387, Resulting Numbers: [387] 387,100 unequal: No Solution Exploring Operation: 43+9=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,100 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: 100:[82, 43, 25], Operations: ['58-33=25'] Exploring Operation: 82-25=57, Resulting Numbers: [43, 57] Generated Node #0,2,0: 100:[43, 57] Operation: 82-25=57 Exploring Operation: 82+25=107, Resulting Numbers: [43, 107] Generated Node #0,2,1: 100:[43, 107] Operation: 82+25=107 Exploring Operation: 82-43=39, Resulting Numbers: [25, 39] Generated Node #0,2,2: 100:[25, 39] Operation: 82-43=39 Moving to Node #0,2,2 Current State: 100:[25, 39], Operations: ['58-33=25', '82-43=39'] Exploring Operation: 25*39=975, Resulting Numbers: [975] 975,100 unequal: No Solution Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,100 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[43, 57], Operations: ['58-33=25', '82-25=57'] Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,100 unequal: No Solution Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[82, 33, 58, 43], Operations: [] Exploring Operation: 58-33=25, Resulting Numbers: [82, 43, 25] Generated Node #0,2: 100:[82, 43, 25] Operation: 58-33=25 Moving to Node #0,2 Current State: 100:[82, 43, 25], Operations: ['58-33=25'] Exploring Operation: 82-25=57, Resulting Numbers: [43, 57] Generated Node #0,2,0: 100:[43, 57] Operation: 82-25=57 Moving to Node #0,2,0 Current State: 100:[43, 57], Operations: ['58-33=25', '82-25=57'] Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_3
mult_heuristic
[ 94, 88, 19, 26 ]
26
[ "94+88=182", "26-19=7", "182/7=26" ]
Current State: 26:[94, 88, 19, 26], Operations: [] Exploring Operation: 94+88=182, Resulting Numbers: [19, 26, 182] Generated Node #2: [19, 26, 182] from Operation: 94+88=182 Current State: 26:[19, 26, 182], Operations: ['94+88=182'] Exploring Operation: 26-19=7, Resulting Numbers: [182, 7] Generated Node #3: [182, 7] from Operation: 26-19=7 Current State: 26:[182, 7], Operations: ['94+88=182', '26-19=7'] Exploring Operation: 182/7=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[94, 88, 19, 26], Operations: [] Exploring Operation: 94-88=6, Resulting Numbers: [19, 26, 6] Generated Node #0,0: 26:[19, 26, 6] Operation: 94-88=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[19, 26, 6], Operations: ['94-88=6'] Exploring Operation: 19-6=13, Resulting Numbers: [26, 13] Generated Node #0,0,0: 26:[26, 13] Operation: 19-6=13 Moving to Node #0,0,0 Current State: 26:[26, 13], Operations: ['94-88=6', '19-6=13'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,26 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
[ 95, 21, 29, 19 ]
10
[ "95/19=5", "21+29=50", "50/5=10" ]
Current State: 10:[95, 21, 29, 19], Operations: [] Exploring Operation: 95/19=5, Resulting Numbers: [21, 29, 5] Generated Node #2: [21, 29, 5] from Operation: 95/19=5 Current State: 10:[21, 29, 5], Operations: ['95/19=5'] Exploring Operation: 21+29=50, Resulting Numbers: [5, 50] Generated Node #3: [5, 50] from Operation: 21+29=50 Current State: 10:[5, 50], Operations: ['95/19=5', '21+29=50'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[95, 21, 29, 19], Operations: [] Exploring Operation: 95-21=74, Resulting Numbers: [29, 19, 74] Generated Node #0,0: 10:[29, 19, 74] Operation: 95-21=74 Exploring Operation: 95-29=66, Resulting Numbers: [21, 19, 66] Generated Node #0,1: 10:[21, 19, 66] Operation: 95-29=66 Exploring Operation: 95/19=5, Resulting Numbers: [21, 29, 5] Generated Node #0,2: 10:[21, 29, 5] Operation: 95/19=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[21, 29, 5], Operations: ['95/19=5'] Exploring Operation: 21-5=16, Resulting Numbers: [29, 16] Generated Node #0,2,0: 10:[29, 16] Operation: 21-5=16 Exploring Operation: 29-21=8, Resulting Numbers: [5, 8] Generated Node #0,2,1: 10:[5, 8] Operation: 29-21=8 Exploring Operation: 29-5=24, Resulting Numbers: [21, 24] Generated Node #0,2,2: 10:[21, 24] Operation: 29-5=24 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 10:[5, 8], Operations: ['95/19=5', '29-21=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,10 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,10 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,10 unequal: No Solution No 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: 10:[29, 16], Operations: ['95/19=5', '21-5=16'] Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,10 unequal: No Solution Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 29*16=464, Resulting Numbers: [464] 464,10 unequal: No Solution No 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: 10:[21, 24], Operations: ['95/19=5', '29-5=24'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 21*24=504, Resulting Numbers: [504] 504,10 unequal: No Solution Exploring Operation: 21+24=45, Resulting Numbers: [45] 45,10 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: 10:[21, 19, 66], Operations: ['95-29=66'] Exploring Operation: 66-19=47, Resulting Numbers: [21, 47] Generated Node #0,1,0: 10:[21, 47] Operation: 66-19=47 Exploring Operation: 66-21=45, Resulting Numbers: [19, 45] Generated Node #0,1,1: 10:[19, 45] Operation: 66-21=45 Exploring Operation: 21-19=2, Resulting Numbers: [66, 2] Generated Node #0,1,2: 10:[66, 2] Operation: 21-19=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 10:[19, 45], Operations: ['95-29=66', '66-21=45'] Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 19*45=855, Resulting Numbers: [855] 855,10 unequal: No Solution Exploring Operation: 19+45=64, Resulting Numbers: [64] 64,10 unequal: No Solution No 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: 10:[21, 47], Operations: ['95-29=66', '66-19=47'] Exploring Operation: 21*47=987, Resulting Numbers: [987] 987,10 unequal: No Solution Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 21+47=68, Resulting Numbers: [68] 68,10 unequal: No Solution No 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: 10:[66, 2], Operations: ['95-29=66', '21-19=2'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,10 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,10 unequal: No Solution Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,10 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: 10:[29, 19, 74], Operations: ['95-21=74'] Exploring Operation: 29-19=10, Resulting Numbers: [74, 10] Generated Node #0,0,0: 10:[74, 10] Operation: 29-19=10 Exploring Operation: 74-29=45, Resulting Numbers: [19, 45] Generated Node #0,0,1: 10:[19, 45] Operation: 74-29=45 Exploring Operation: 74-19=55, Resulting Numbers: [29, 55] Generated Node #0,0,2: 10:[29, 55] Operation: 74-19=55 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 10:[19, 45], Operations: ['95-21=74', '74-29=45'] Exploring Operation: 19*45=855, Resulting Numbers: [855] 855,10 unequal: No Solution Exploring Operation: 19+45=64, Resulting Numbers: [64] 64,10 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,10 unequal: No Solution No 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: 10:[74, 10], Operations: ['95-21=74', '29-19=10'] Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,10 unequal: No Solution Exploring Operation: 74+10=84, Resulting Numbers: [84] 84,10 unequal: No Solution Exploring Operation: 74*10=740, Resulting Numbers: [740] 740,10 unequal: No Solution No 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: 10:[29, 55], Operations: ['95-21=74', '74-19=55'] Exploring Operation: 29+55=84, Resulting Numbers: [84] 84,10 unequal: No Solution Exploring Operation: 55-29=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 29*55=1595, Resulting Numbers: [1595] 1595,10 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
[ 5, 77, 97, 63 ]
88
[ "77-5=72", "97+63=160", "160-72=88" ]
Current State: 88:[5, 77, 97, 63], Operations: [] Exploring Operation: 77-5=72, Resulting Numbers: [97, 63, 72] Generated Node #2: [97, 63, 72] from Operation: 77-5=72 Current State: 88:[97, 63, 72], Operations: ['77-5=72'] Exploring Operation: 97+63=160, Resulting Numbers: [72, 160] Generated Node #3: [72, 160] from Operation: 97+63=160 Current State: 88:[72, 160], Operations: ['77-5=72', '97+63=160'] Exploring Operation: 160-72=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[5, 77, 97, 63], Operations: [] Exploring Operation: 5+77=82, Resulting Numbers: [97, 63, 82] Generated Node #0,0: 88:[97, 63, 82] Operation: 5+77=82 Exploring Operation: 97-5=92, Resulting Numbers: [77, 63, 92] Generated Node #0,1: 88:[77, 63, 92] Operation: 97-5=92 Exploring Operation: 97-77=20, Resulting Numbers: [5, 63, 20] Generated Node #0,2: 88:[5, 63, 20] Operation: 97-77=20 Exploring Operation: 77-63=14, Resulting Numbers: [5, 97, 14] Generated Node #0,3: 88:[5, 97, 14] Operation: 77-63=14 Exploring Operation: 97-63=34, Resulting Numbers: [5, 77, 34] Generated Node #0,4: 88:[5, 77, 34] Operation: 97-63=34 Moving to Node #0,3 Current State: 88:[5, 97, 14], Operations: ['77-63=14'] Exploring Operation: 97-5=92, Resulting Numbers: [14, 92] Generated Node #0,3,0: 88:[14, 92] Operation: 97-5=92 Exploring Operation: 5+14=19, Resulting Numbers: [97, 19] Generated Node #0,3,1: 88:[97, 19] Operation: 5+14=19 Exploring Operation: 5+97=102, Resulting Numbers: [14, 102] Generated Node #0,3,2: 88:[14, 102] Operation: 5+97=102 Exploring Operation: 14-5=9, Resulting Numbers: [97, 9] Generated Node #0,3,3: 88:[97, 9] Operation: 14-5=9 Exploring Operation: 97-14=83, Resulting Numbers: [5, 83] Generated Node #0,3,4: 88:[5, 83] Operation: 97-14=83 Moving to Node #0,4 Current State: 88:[5, 77, 34], Operations: ['97-63=34'] Exploring Operation: 34-5=29, Resulting Numbers: [77, 29] Generated Node #0,4,0: 88:[77, 29] Operation: 34-5=29 Exploring Operation: 77-34=43, Resulting Numbers: [5, 43] Generated Node #0,4,1: 88:[5, 43] Operation: 77-34=43 Exploring Operation: 5+77=82, Resulting Numbers: [34, 82] Generated Node #0,4,2: 88:[34, 82] Operation: 5+77=82 Exploring Operation: 77+34=111, Resulting Numbers: [5, 111] Generated Node #0,4,3: 88:[5, 111] Operation: 77+34=111 Exploring Operation: 5+34=39, Resulting Numbers: [77, 39] Generated Node #0,4,4: 88:[77, 39] Operation: 5+34=39 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 88:[5, 43], Operations: ['97-63=34', '77-34=43'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,88 unequal: No Solution Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 5*43=215, Resulting Numbers: [215] 215,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 88:[34, 82], Operations: ['97-63=34', '5+77=82'] Exploring Operation: 34*82=2788, Resulting Numbers: [2788] 2788,88 unequal: No Solution Exploring Operation: 82-34=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 34+82=116, Resulting Numbers: [116] 116,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 88:[77, 39], Operations: ['97-63=34', '5+34=39'] Exploring Operation: 77*39=3003, Resulting Numbers: [3003] 3003,88 unequal: No Solution Exploring Operation: 77+39=116, Resulting Numbers: [116] 116,88 unequal: No Solution Exploring Operation: 77-39=38, Resulting Numbers: [38] 38,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 88:[77, 29], Operations: ['97-63=34', '34-5=29'] Exploring Operation: 77-29=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 77*29=2233, Resulting Numbers: [2233] 2233,88 unequal: No Solution Exploring Operation: 77+29=106, Resulting Numbers: [106] 106,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 88:[5, 111], Operations: ['97-63=34', '77+34=111'] Exploring Operation: 5+111=116, Resulting Numbers: [116] 116,88 unequal: No Solution Exploring Operation: 5*111=555, Resulting Numbers: [555] 555,88 unequal: No Solution Exploring Operation: 111-5=106, Resulting Numbers: [106] 106,88 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: 88:[5, 63, 20], Operations: ['97-77=20'] Exploring Operation: 20/5=4, Resulting Numbers: [63, 4] Generated Node #0,2,0: 88:[63, 4] Operation: 20/5=4 Exploring Operation: 63+20=83, Resulting Numbers: [5, 83] Generated Node #0,2,1: 88:[5, 83] Operation: 63+20=83 Exploring Operation: 5+63=68, Resulting Numbers: [20, 68] Generated Node #0,2,2: 88:[20, 68] Operation: 5+63=68 Exploring Operation: 63-20=43, Resulting Numbers: [5, 43] Generated Node #0,2,3: 88:[5, 43] Operation: 63-20=43 Exploring Operation: 63-5=58, Resulting Numbers: [20, 58] Generated Node #0,2,4: 88:[20, 58] Operation: 63-5=58 Moving to Node #0,0 Current State: 88:[97, 63, 82], Operations: ['5+77=82'] Exploring Operation: 97-82=15, Resulting Numbers: [63, 15] Generated Node #0,0,0: 88:[63, 15] Operation: 97-82=15 Exploring Operation: 97+63=160, Resulting Numbers: [82, 160] Generated Node #0,0,1: 88:[82, 160] Operation: 97+63=160 Exploring Operation: 82-63=19, Resulting Numbers: [97, 19] Generated Node #0,0,2: 88:[97, 19] Operation: 82-63=19 Exploring Operation: 97-63=34, Resulting Numbers: [82, 34] Generated Node #0,0,3: 88:[82, 34] Operation: 97-63=34 Exploring Operation: 63+82=145, Resulting Numbers: [97, 145] Generated Node #0,0,4: 88:[97, 145] Operation: 63+82=145 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 88:[97, 19], Operations: ['5+77=82', '82-63=19'] Exploring Operation: 97*19=1843, Resulting Numbers: [1843] 1843,88 unequal: No Solution Exploring Operation: 97-19=78, Resulting Numbers: [78] 78,88 unequal: No Solution Exploring Operation: 97+19=116, Resulting Numbers: [116] 116,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 88:[82, 34], Operations: ['5+77=82', '97-63=34'] Exploring Operation: 82+34=116, Resulting Numbers: [116] 116,88 unequal: No Solution Exploring Operation: 82*34=2788, Resulting Numbers: [2788] 2788,88 unequal: No Solution Exploring Operation: 82-34=48, Resulting Numbers: [48] 48,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[63, 15], Operations: ['5+77=82', '97-82=15'] Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 63*15=945, Resulting Numbers: [945] 945,88 unequal: No Solution Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 88:[97, 145], Operations: ['5+77=82', '63+82=145'] Exploring Operation: 97+145=242, Resulting Numbers: [242] 242,88 unequal: No Solution Exploring Operation: 145-97=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 97*145=14065, Resulting Numbers: [14065] 14065,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 88:[82, 160], Operations: ['5+77=82', '97+63=160'] Exploring Operation: 82+160=242, Resulting Numbers: [242] 242,88 unequal: No Solution Exploring Operation: 160-82=78, Resulting Numbers: [78] 78,88 unequal: No Solution Exploring Operation: 82*160=13120, Resulting Numbers: [13120] 13120,88 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: 88:[77, 63, 92], Operations: ['97-5=92'] Exploring Operation: 92-63=29, Resulting Numbers: [77, 29] Generated Node #0,1,0: 88:[77, 29] Operation: 92-63=29 Exploring Operation: 92-77=15, Resulting Numbers: [63, 15] Generated Node #0,1,1: 88:[63, 15] Operation: 92-77=15 Exploring Operation: 77-63=14, Resulting Numbers: [92, 14] Generated Node #0,1,2: 88:[92, 14] Operation: 77-63=14 Exploring Operation: 63+92=155, Resulting Numbers: [77, 155] Generated Node #0,1,3: 88:[77, 155] Operation: 63+92=155 Exploring Operation: 77+63=140, Resulting Numbers: [92, 140] Generated Node #0,1,4: 88:[92, 140] Operation: 77+63=140 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[92, 14], Operations: ['97-5=92', '77-63=14'] Exploring Operation: 92+14=106, Resulting Numbers: [106] 106,88 unequal: No Solution Exploring Operation: 92*14=1288, Resulting Numbers: [1288] 1288,88 unequal: No Solution Exploring Operation: 92-14=78, Resulting Numbers: [78] 78,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 88:[77, 29], Operations: ['97-5=92', '92-63=29'] Exploring Operation: 77-29=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 77*29=2233, Resulting Numbers: [2233] 2233,88 unequal: No Solution Exploring Operation: 77+29=106, Resulting Numbers: [106] 106,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 88:[63, 15], Operations: ['97-5=92', '92-77=15'] Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,88 unequal: No Solution Exploring Operation: 63*15=945, Resulting Numbers: [945] 945,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 88:[92, 140], Operations: ['97-5=92', '77+63=140'] Exploring Operation: 140-92=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 92*140=12880, Resulting Numbers: [12880] 12880,88 unequal: No Solution Exploring Operation: 92+140=232, Resulting Numbers: [232] 232,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 88:[77, 155], Operations: ['97-5=92', '63+92=155'] Exploring Operation: 77+155=232, Resulting Numbers: [232] 232,88 unequal: No Solution Exploring Operation: 77*155=11935, Resulting Numbers: [11935] 11935,88 unequal: No Solution Exploring Operation: 155-77=78, Resulting Numbers: [78] 78,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 88:[5, 43], Operations: ['97-77=20', '63-20=43'] Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,88 unequal: No Solution Exploring Operation: 5*43=215, Resulting Numbers: [215] 215,88 unequal: No Solution Moving to Node #0,3,4 Current State: 88:[5, 83], Operations: ['77-63=14', '97-14=83'] Exploring Operation: 5+83=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[5, 77, 97, 63], Operations: [] Exploring Operation: 77-63=14, Resulting Numbers: [5, 97, 14] Generated Node #0,3: 88:[5, 97, 14] Operation: 77-63=14 Moving to Node #0,3 Current State: 88:[5, 97, 14], Operations: ['77-63=14'] Exploring Operation: 97-14=83, Resulting Numbers: [5, 83] Generated Node #0,3,4: 88:[5, 83] Operation: 97-14=83 Moving to Node #0,3,4 Current State: 88:[5, 83], Operations: ['77-63=14', '97-14=83'] Exploring Operation: 5+83=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.927951
hs_5
sum_heuristic
[ 10, 6, 29, 78 ]
86
[ "10+78=88", "6*29=174", "174-88=86" ]
Current State: 86:[10, 6, 29, 78], Operations: [] Exploring Operation: 10+78=88, Resulting Numbers: [6, 29, 88] Generated Node #2: [6, 29, 88] from Operation: 10+78=88 Current State: 86:[6, 29, 88], Operations: ['10+78=88'] Exploring Operation: 6*29=174, Resulting Numbers: [88, 174] Generated Node #3: [88, 174] from Operation: 6*29=174 Current State: 86:[88, 174], Operations: ['10+78=88', '6*29=174'] Exploring Operation: 174-88=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[10, 6, 29, 78], Operations: [] Exploring Operation: 10+29=39, Resulting Numbers: [6, 78, 39] Generated Node #0,0: 86:[6, 78, 39] Operation: 10+29=39 Exploring Operation: 78-29=49, Resulting Numbers: [10, 6, 49] Generated Node #0,1: 86:[10, 6, 49] Operation: 78-29=49 Exploring Operation: 10-6=4, Resulting Numbers: [29, 78, 4] Generated Node #0,2: 86:[29, 78, 4] Operation: 10-6=4 Exploring Operation: 10+78=88, Resulting Numbers: [6, 29, 88] Generated Node #0,3: 86:[6, 29, 88] Operation: 10+78=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[6, 78, 39], Operations: ['10+29=39'] Exploring Operation: 6+78=84, Resulting Numbers: [39, 84] Generated Node #0,0,0: 86:[39, 84] Operation: 6+78=84 Exploring Operation: 78-39=39, Resulting Numbers: [6, 39] Generated Node #0,0,1: 86:[6, 39] Operation: 78-39=39 Exploring Operation: 78/39=2, Resulting Numbers: [6, 2] Generated Node #0,0,2: 86:[6, 2] Operation: 78/39=2 Exploring Operation: 6+39=45, Resulting Numbers: [78, 45] Generated Node #0,0,3: 86:[78, 45] Operation: 6+39=45 Moving to Node #0,0,2 Current State: 86:[6, 2], Operations: ['10+29=39', '78/39=2'] Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,86 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,86 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[39, 84], Operations: ['10+29=39', '6+78=84'] Exploring Operation: 39+84=123, Resulting Numbers: [123] 123,86 unequal: No Solution Exploring Operation: 39*84=3276, Resulting Numbers: [3276] 3276,86 unequal: No Solution Exploring Operation: 84-39=45, Resulting Numbers: [45] 45,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[6, 39], Operations: ['10+29=39', '78-39=39'] Exploring Operation: 6*39=234, Resulting Numbers: [234] 234,86 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,86 unequal: No Solution Moving to Node #0,0,3 Current State: 86:[78, 45], Operations: ['10+29=39', '6+39=45'] Exploring Operation: 78+45=123, Resulting Numbers: [123] 123,86 unequal: No Solution Exploring Operation: 78-45=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 78*45=3510, Resulting Numbers: [3510] 3510,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[10, 6, 49], Operations: ['78-29=49'] Exploring Operation: 49-6=43, Resulting Numbers: [10, 43] Generated Node #0,1,0: 86:[10, 43] Operation: 49-6=43 Exploring Operation: 49-10=39, Resulting Numbers: [6, 39] Generated Node #0,1,1: 86:[6, 39] Operation: 49-10=39 Exploring Operation: 10-6=4, Resulting Numbers: [49, 4] Generated Node #0,1,2: 86:[49, 4] Operation: 10-6=4 Exploring Operation: 10+6=16, Resulting Numbers: [49, 16] Generated Node #0,1,3: 86:[49, 16] Operation: 10+6=16 Moving to Node #0,1,0 Current State: 86:[10, 43], Operations: ['78-29=49', '49-6=43'] Exploring Operation: 10+43=53, Resulting Numbers: [53] 53,86 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 10*43=430, Resulting Numbers: [430] 430,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[49, 4], Operations: ['78-29=49', '10-6=4'] Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,86 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[6, 39], Operations: ['78-29=49', '49-10=39'] Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 6*39=234, Resulting Numbers: [234] 234,86 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[49, 16], Operations: ['78-29=49', '10+6=16'] Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 49+16=65, Resulting Numbers: [65] 65,86 unequal: No Solution Exploring Operation: 49*16=784, Resulting Numbers: [784] 784,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 86:[6, 29, 88], Operations: ['10+78=88'] Exploring Operation: 88-29=59, Resulting Numbers: [6, 59] Generated Node #0,3,0: 86:[6, 59] Operation: 88-29=59 Exploring Operation: 88-6=82, Resulting Numbers: [29, 82] Generated Node #0,3,1: 86:[29, 82] Operation: 88-6=82 Exploring Operation: 29-6=23, Resulting Numbers: [88, 23] Generated Node #0,3,2: 86:[88, 23] Operation: 29-6=23 Exploring Operation: 6+29=35, Resulting Numbers: [88, 35] Generated Node #0,3,3: 86:[88, 35] Operation: 6+29=35 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 86:[88, 35], Operations: ['10+78=88', '6+29=35'] Exploring Operation: 88+35=123, Resulting Numbers: [123] 123,86 unequal: No Solution Exploring Operation: 88*35=3080, Resulting Numbers: [3080] 3080,86 unequal: No Solution Exploring Operation: 88-35=53, Resulting Numbers: [53] 53,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 86:[29, 82], Operations: ['10+78=88', '88-6=82'] Exploring Operation: 29+82=111, Resulting Numbers: [111] 111,86 unequal: No Solution Exploring Operation: 29*82=2378, Resulting Numbers: [2378] 2378,86 unequal: No Solution Exploring Operation: 82-29=53, Resulting Numbers: [53] 53,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 86:[6, 59], Operations: ['10+78=88', '88-29=59'] Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,86 unequal: No Solution Exploring Operation: 6*59=354, Resulting Numbers: [354] 354,86 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 86:[88, 23], Operations: ['10+78=88', '29-6=23'] Exploring Operation: 88+23=111, Resulting Numbers: [111] 111,86 unequal: No Solution Exploring Operation: 88*23=2024, Resulting Numbers: [2024] 2024,86 unequal: No Solution Exploring Operation: 88-23=65, Resulting Numbers: [65] 65,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[29, 78, 4], Operations: ['10-6=4'] Exploring Operation: 78-29=49, Resulting Numbers: [4, 49] Generated Node #0,2,0: 86:[4, 49] Operation: 78-29=49 Exploring Operation: 29+4=33, Resulting Numbers: [78, 33] Generated Node #0,2,1: 86:[78, 33] Operation: 29+4=33 Exploring Operation: 78+4=82, Resulting Numbers: [29, 82] Generated Node #0,2,2: 86:[29, 82] Operation: 78+4=82 Exploring Operation: 29+78=107, Resulting Numbers: [4, 107] Generated Node #0,2,3: 86:[4, 107] Operation: 29+78=107 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 86:[4, 49], Operations: ['10-6=4', '78-29=49'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,86 unequal: No Solution Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 86:[78, 33], Operations: ['10-6=4', '29+4=33'] Exploring Operation: 78+33=111, Resulting Numbers: [111] 111,86 unequal: No Solution Exploring Operation: 78-33=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 78*33=2574, Resulting Numbers: [2574] 2574,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 86:[29, 82], Operations: ['10-6=4', '78+4=82'] Exploring Operation: 29+82=111, Resulting Numbers: [111] 111,86 unequal: No Solution Exploring Operation: 29*82=2378, Resulting Numbers: [2378] 2378,86 unequal: No Solution Exploring Operation: 82-29=53, Resulting Numbers: [53] 53,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 86:[4, 107], Operations: ['10-6=4', '29+78=107'] Exploring Operation: 4*107=428, Resulting Numbers: [428] 428,86 unequal: No Solution Exploring Operation: 4+107=111, Resulting Numbers: [111] 111,86 unequal: No Solution Exploring Operation: 107-4=103, Resulting Numbers: [103] 103,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 35, 74, 3, 14 ]
15
[ "74-14=60", "60/3=20", "35-20=15" ]
Current State: 15:[35, 74, 3, 14], Operations: [] Exploring Operation: 74-14=60, Resulting Numbers: [35, 3, 60] Generated Node #2: [35, 3, 60] from Operation: 74-14=60 Current State: 15:[35, 3, 60], Operations: ['74-14=60'] Exploring Operation: 60/3=20, Resulting Numbers: [35, 20] Generated Node #3: [35, 20] from Operation: 60/3=20 Current State: 15:[35, 20], Operations: ['74-14=60', '60/3=20'] Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[35, 74, 3, 14], Operations: [] Exploring Operation: 74-35=39, Resulting Numbers: [3, 14, 39] Generated Node #0,0: 15:[3, 14, 39] Operation: 74-35=39 Exploring Operation: 74-14=60, Resulting Numbers: [35, 3, 60] Generated Node #0,1: 15:[35, 3, 60] Operation: 74-14=60 Exploring Operation: 35-14=21, Resulting Numbers: [74, 3, 21] Generated Node #0,2: 15:[74, 3, 21] Operation: 35-14=21 Moving to Node #0,0 Current State: 15:[3, 14, 39], Operations: ['74-35=39'] Exploring Operation: 39-3=36, Resulting Numbers: [14, 36] Generated Node #0,0,0: 15:[14, 36] Operation: 39-3=36 Exploring Operation: 39-14=25, Resulting Numbers: [3, 25] Generated Node #0,0,1: 15:[3, 25] Operation: 39-14=25 Exploring Operation: 39/3=13, Resulting Numbers: [14, 13] Generated Node #0,0,2: 15:[14, 13] Operation: 39/3=13 Moving to Node #0,1 Current State: 15:[35, 3, 60], Operations: ['74-14=60'] Exploring Operation: 35-3=32, Resulting Numbers: [60, 32] Generated Node #0,1,0: 15:[60, 32] Operation: 35-3=32 Exploring Operation: 60-35=25, Resulting Numbers: [3, 25] Generated Node #0,1,1: 15:[3, 25] Operation: 60-35=25 Exploring Operation: 60/3=20, Resulting Numbers: [35, 20] Generated Node #0,1,2: 15:[35, 20] Operation: 60/3=20 Moving to Node #0,2 Current State: 15:[74, 3, 21], Operations: ['35-14=21'] Exploring Operation: 74-21=53, Resulting Numbers: [3, 53] Generated Node #0,2,0: 15:[3, 53] Operation: 74-21=53 Exploring Operation: 74-3=71, Resulting Numbers: [21, 71] Generated Node #0,2,1: 15:[21, 71] Operation: 74-3=71 Exploring Operation: 21/3=7, Resulting Numbers: [74, 7] Generated Node #0,2,2: 15:[74, 7] Operation: 21/3=7 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[3, 53], Operations: ['35-14=21', '74-21=53'] Exploring Operation: 3*53=159, Resulting Numbers: [159] 159,15 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 15:[74, 7], Operations: ['35-14=21', '21/3=7'] Exploring Operation: 74*7=518, Resulting Numbers: [518] 518,15 unequal: No Solution Exploring Operation: 74+7=81, Resulting Numbers: [81] 81,15 unequal: No Solution Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[21, 71], Operations: ['35-14=21', '74-3=71'] Exploring Operation: 21+71=92, Resulting Numbers: [92] 92,15 unequal: No Solution Exploring Operation: 71-21=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 21*71=1491, Resulting Numbers: [1491] 1491,15 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: 15:[14, 13], Operations: ['74-35=39', '39/3=13'] Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 14*13=182, Resulting Numbers: [182] 182,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[3, 25], Operations: ['74-35=39', '39-14=25'] Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[3, 25], Operations: ['74-14=60', '60-35=25'] Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,15 unequal: No Solution Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[14, 36], Operations: ['74-35=39', '39-3=36'] Exploring Operation: 14*36=504, Resulting Numbers: [504] 504,15 unequal: No Solution Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,15 unequal: No Solution Exploring Operation: 14+36=50, Resulting Numbers: [50] 50,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[35, 20], Operations: ['74-14=60', '60/3=20'] Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[35, 74, 3, 14], Operations: [] Exploring Operation: 74-14=60, Resulting Numbers: [35, 3, 60] Generated Node #0,1: 15:[35, 3, 60] Operation: 74-14=60 Moving to Node #0,1 Current State: 15:[35, 3, 60], Operations: ['74-14=60'] Exploring Operation: 60/3=20, Resulting Numbers: [35, 20] Generated Node #0,1,2: 15:[35, 20] Operation: 60/3=20 Moving to Node #0,1,2 Current State: 15:[35, 20], Operations: ['74-14=60', '60/3=20'] Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.967014
hs_3
sum_heuristic
[ 18, 46, 56, 47 ]
55
[ "18+46=64", "56-47=9", "64-9=55" ]
Current State: 55:[18, 46, 56, 47], Operations: [] Exploring Operation: 18+46=64, Resulting Numbers: [56, 47, 64] Generated Node #2: [56, 47, 64] from Operation: 18+46=64 Current State: 55:[56, 47, 64], Operations: ['18+46=64'] Exploring Operation: 56-47=9, Resulting Numbers: [64, 9] Generated Node #3: [64, 9] from Operation: 56-47=9 Current State: 55:[64, 9], Operations: ['18+46=64', '56-47=9'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[18, 46, 56, 47], Operations: [] Exploring Operation: 18+47=65, Resulting Numbers: [46, 56, 65] Generated Node #0,0: 55:[46, 56, 65] Operation: 18+47=65 Exploring Operation: 18+46=64, Resulting Numbers: [56, 47, 64] Generated Node #0,1: 55:[56, 47, 64] Operation: 18+46=64 Exploring Operation: 56-46=10, Resulting Numbers: [18, 47, 10] Generated Node #0,2: 55:[18, 47, 10] Operation: 56-46=10 Exploring Operation: 56-47=9, Resulting Numbers: [18, 46, 9] Generated Node #0,3: 55:[18, 46, 9] Operation: 56-47=9 Exploring Operation: 47-46=1, Resulting Numbers: [18, 56, 1] Generated Node #0,4: 55:[18, 56, 1] Operation: 47-46=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 55:[18, 56, 1], Operations: ['47-46=1'] Exploring Operation: 18/1=18, Resulting Numbers: [56, 18] Generated Node #0,4,0: 55:[56, 18] Operation: 18/1=18 Exploring Operation: 56*1=56, Resulting Numbers: [18, 56] Generated Node #0,4,1: 55:[18, 56] Operation: 56*1=56 Exploring Operation: 18*1=18, Resulting Numbers: [56, 18] Generated Node #0,4,2: 55:[56, 18] Operation: 18*1=18 Exploring Operation: 18-1=17, Resulting Numbers: [56, 17] Generated Node #0,4,3: 55:[56, 17] Operation: 18-1=17 Exploring Operation: 56-1=55, Resulting Numbers: [18, 55] Generated Node #0,4,4: 55:[18, 55] Operation: 56-1=55 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 55:[56, 17], Operations: ['47-46=1', '18-1=17'] Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,55 unequal: No Solution Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,55 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 55:[18, 55], Operations: ['47-46=1', '56-1=55'] Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,55 unequal: No Solution Exploring Operation: 18+55=73, Resulting Numbers: [73] 73,55 unequal: No Solution Exploring Operation: 18*55=990, Resulting Numbers: [990] 990,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 55:[56, 18], Operations: ['47-46=1', '18/1=18'] Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,55 unequal: No Solution Exploring Operation: 56+18=74, Resulting Numbers: [74] 74,55 unequal: No Solution Exploring Operation: 56*18=1008, Resulting Numbers: [1008] 1008,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 55:[18, 56], Operations: ['47-46=1', '56*1=56'] Exploring Operation: 18*56=1008, Resulting Numbers: [1008] 1008,55 unequal: No Solution Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,55 unequal: No Solution Exploring Operation: 18+56=74, Resulting Numbers: [74] 74,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 55:[56, 18], Operations: ['47-46=1', '18*1=18'] Exploring Operation: 56+18=74, Resulting Numbers: [74] 74,55 unequal: No Solution Exploring Operation: 56*18=1008, Resulting Numbers: [1008] 1008,55 unequal: No Solution Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[18, 47, 10], Operations: ['56-46=10'] Exploring Operation: 18+47=65, Resulting Numbers: [10, 65] Generated Node #0,2,0: 55:[10, 65] Operation: 18+47=65 Exploring Operation: 47-18=29, Resulting Numbers: [10, 29] Generated Node #0,2,1: 55:[10, 29] Operation: 47-18=29 Exploring Operation: 47+10=57, Resulting Numbers: [18, 57] Generated Node #0,2,2: 55:[18, 57] Operation: 47+10=57 Exploring Operation: 18-10=8, Resulting Numbers: [47, 8] Generated Node #0,2,3: 55:[47, 8] Operation: 18-10=8 Exploring Operation: 18+10=28, Resulting Numbers: [47, 28] Generated Node #0,2,4: 55:[47, 28] Operation: 18+10=28 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 55:[18, 57], Operations: ['56-46=10', '47+10=57'] Exploring Operation: 18*57=1026, Resulting Numbers: [1026] 1026,55 unequal: No Solution Exploring Operation: 18+57=75, Resulting Numbers: [75] 75,55 unequal: No Solution Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 55:[10, 65], Operations: ['56-46=10', '18+47=65'] Exploring Operation: 10*65=650, Resulting Numbers: [650] 650,55 unequal: No Solution Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[18, 46, 56, 47], Operations: [] Exploring Operation: 56-46=10, Resulting Numbers: [18, 47, 10] Generated Node #0,2: 55:[18, 47, 10] Operation: 56-46=10 Moving to Node #0,2 Current State: 55:[18, 47, 10], Operations: ['56-46=10'] Exploring Operation: 18+47=65, Resulting Numbers: [10, 65] Generated Node #0,2,0: 55:[10, 65] Operation: 18+47=65 Moving to Node #0,2,0 Current State: 55:[10, 65], Operations: ['56-46=10', '18+47=65'] Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 55, 66, 52, 66 ]
88
[ "55-52=3", "66/3=22", "66+22=88" ]
Current State: 88:[55, 66, 52, 66], Operations: [] Exploring Operation: 55-52=3, Resulting Numbers: [66, 66, 3] Generated Node #2: [66, 66, 3] from Operation: 55-52=3 Current State: 88:[66, 66, 3], Operations: ['55-52=3'] Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,88 equal: Goal Reached Exploring Operation: 66+22=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[55, 66, 52, 66], Operations: [] Exploring Operation: 66-52=14, Resulting Numbers: [55, 66, 14] Generated Node #0,0: 88:[55, 66, 14] Operation: 66-52=14 Exploring Operation: 66/66=1, Resulting Numbers: [55, 52, 1] Generated Node #0,1: 88:[55, 52, 1] Operation: 66/66=1 Exploring Operation: 66-55=11, Resulting Numbers: [66, 52, 11] Generated Node #0,2: 88:[66, 52, 11] Operation: 66-55=11 Exploring Operation: 66-55=11, Resulting Numbers: [52, 66, 11] Generated Node #0,3: 88:[52, 66, 11] Operation: 66-55=11 Exploring Operation: 66-66=0, Resulting Numbers: [55, 52, 0] Generated Node #0,4: 88:[55, 52, 0] Operation: 66-66=0 Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[55, 52, 1], Operations: ['66/66=1'] Exploring Operation: 55-1=54, Resulting Numbers: [52, 54] Generated Node #0,1,0: 88:[52, 54] Operation: 55-1=54 Exploring Operation: 52-1=51, Resulting Numbers: [55, 51] Generated Node #0,1,1: 88:[55, 51] Operation: 52-1=51 Exploring Operation: 55*1=55, Resulting Numbers: [52, 55] Generated Node #0,1,2: 88:[52, 55] Operation: 55*1=55 Exploring Operation: 55-52=3, Resulting Numbers: [1, 3] Generated Node #0,1,3: 88:[1, 3] Operation: 55-52=3 Exploring Operation: 55/1=55, Resulting Numbers: [52, 55] Generated Node #0,1,4: 88:[52, 55] Operation: 55/1=55 Moving to Node #0,1,3 Current State: 88:[1, 3], Operations: ['66/66=1', '55-52=3'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[55, 51], Operations: ['66/66=1', '52-1=51'] Exploring Operation: 55*51=2805, Resulting Numbers: [2805] 2805,88 unequal: No Solution Exploring Operation: 55+51=106, Resulting Numbers: [106] 106,88 unequal: No Solution Exploring Operation: 55-51=4, Resulting Numbers: [4] 4,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[52, 54], Operations: ['66/66=1', '55-1=54'] Exploring Operation: 52*54=2808, Resulting Numbers: [2808] 2808,88 unequal: No Solution Exploring Operation: 52+54=106, Resulting Numbers: [106] 106,88 unequal: No Solution Exploring Operation: 54-52=2, Resulting Numbers: [2] 2,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[52, 55], Operations: ['66/66=1', '55*1=55'] Exploring Operation: 52+55=107, Resulting Numbers: [107] 107,88 unequal: No Solution Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 52*55=2860, Resulting Numbers: [2860] 2860,88 unequal: No Solution Moving to Node #0,1,4 Current State: 88:[52, 55], Operations: ['66/66=1', '55/1=55'] Exploring Operation: 52*55=2860, Resulting Numbers: [2860] 2860,88 unequal: No Solution Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 52+55=107, Resulting Numbers: [107] 107,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 88:[55, 52, 0], Operations: ['66-66=0'] Exploring Operation: 55-52=3, Resulting Numbers: [0, 3] Generated Node #0,4,0: 88:[0, 3] Operation: 55-52=3 Exploring Operation: 55*0=0, Resulting Numbers: [52, 0] Generated Node #0,4,1: 88:[52, 0] Operation: 55*0=0 Exploring Operation: 55+0=55, Resulting Numbers: [52, 55] Generated Node #0,4,2: 88:[52, 55] Operation: 55+0=55 Exploring Operation: 55-0=55, Resulting Numbers: [52, 55] Generated Node #0,4,3: 88:[52, 55] Operation: 55-0=55 Exploring Operation: 52*0=0, Resulting Numbers: [55, 0] Generated Node #0,4,4: 88:[55, 0] Operation: 52*0=0 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 88:[0, 3], Operations: ['66-66=0', '55-52=3'] Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 0*3=0, Resulting Numbers: [0] 0,88 unequal: No Solution Exploring Operation: 0+3=3, Resulting Numbers: [3] 3,88 unequal: No Solution No 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: 88:[52, 0], Operations: ['66-66=0', '55*0=0'] Exploring Operation: 52+0=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 52-0=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 52*0=0, Resulting Numbers: [0] 0,88 unequal: No Solution No 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: 88:[55, 0], Operations: ['66-66=0', '52*0=0'] Exploring Operation: 55*0=0, Resulting Numbers: [0] 0,88 unequal: No Solution Exploring Operation: 55-0=55, Resulting Numbers: [55] 55,88 unequal: No Solution Exploring Operation: 55+0=55, Resulting Numbers: [55] 55,88 unequal: No Solution No 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: 88:[52, 55], Operations: ['66-66=0', '55+0=55'] Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 52*55=2860, Resulting Numbers: [2860] 2860,88 unequal: No Solution Exploring Operation: 52+55=107, Resulting Numbers: [107] 107,88 unequal: No Solution No 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: 88:[52, 55], Operations: ['66-66=0', '55-0=55'] Exploring Operation: 52+55=107, Resulting Numbers: [107] 107,88 unequal: No Solution Exploring Operation: 52*55=2860, Resulting Numbers: [2860] 2860,88 unequal: No Solution Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[66, 52, 11], Operations: ['66-55=11'] Exploring Operation: 52-11=41, Resulting Numbers: [66, 41] Generated Node #0,2,0: 88:[66, 41] Operation: 52-11=41 Exploring Operation: 66-11=55, Resulting Numbers: [52, 55] Generated Node #0,2,1: 88:[52, 55] Operation: 66-11=55 Exploring Operation: 66+11=77, Resulting Numbers: [52, 77] Generated Node #0,2,2: 88:[52, 77] Operation: 66+11=77 Exploring Operation: 66/11=6, Resulting Numbers: [52, 6] Generated Node #0,2,3: 88:[52, 6] Operation: 66/11=6 Exploring Operation: 66-52=14, Resulting Numbers: [11, 14] Generated Node #0,2,4: 88:[11, 14] Operation: 66-52=14 Moving to Node #0,2,4 Current State: 88:[11, 14], Operations: ['66-55=11', '66-52=14'] Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,88 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,88 unequal: No Solution Moving to Node #0,2,3 Current State: 88:[52, 6], Operations: ['66-55=11', '66/11=6'] Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,88 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,88 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[52, 55], Operations: ['66-55=11', '66-11=55'] Exploring Operation: 52*55=2860, Resulting Numbers: [2860] 2860,88 unequal: No Solution Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 52+55=107, Resulting Numbers: [107] 107,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[52, 77], Operations: ['66-55=11', '66+11=77'] Exploring Operation: 52*77=4004, Resulting Numbers: [4004] 4004,88 unequal: No Solution Exploring Operation: 52+77=129, Resulting Numbers: [129] 129,88 unequal: No Solution Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[66, 41], Operations: ['66-55=11', '52-11=41'] Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 66+41=107, Resulting Numbers: [107] 107,88 unequal: No Solution Exploring Operation: 66*41=2706, Resulting Numbers: [2706] 2706,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 88:[52, 66, 11], Operations: ['66-55=11'] Exploring Operation: 66/11=6, Resulting Numbers: [52, 6] Generated Node #0,3,0: 88:[52, 6] Operation: 66/11=6 Exploring Operation: 66-11=55, Resulting Numbers: [52, 55] Generated Node #0,3,1: 88:[52, 55] Operation: 66-11=55 Exploring Operation: 66+11=77, Resulting Numbers: [52, 77] Generated Node #0,3,2: 88:[52, 77] Operation: 66+11=77 Exploring Operation: 66-52=14, Resulting Numbers: [11, 14] Generated Node #0,3,3: 88:[11, 14] Operation: 66-52=14 Exploring Operation: 52-11=41, Resulting Numbers: [66, 41] Generated Node #0,3,4: 88:[66, 41] Operation: 52-11=41 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 88:[11, 14], Operations: ['66-55=11', '66-52=14'] Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,88 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,88 unequal: No Solution No 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: 88:[52, 6], Operations: ['66-55=11', '66/11=6'] Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,88 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,88 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,88 unequal: No Solution No 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: 88:[52, 55], Operations: ['66-55=11', '66-11=55'] Exploring Operation: 52+55=107, Resulting Numbers: [107] 107,88 unequal: No Solution Exploring Operation: 52*55=2860, Resulting Numbers: [2860] 2860,88 unequal: No Solution Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,88 unequal: No Solution No 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: 88:[52, 77], Operations: ['66-55=11', '66+11=77'] Exploring Operation: 52*77=4004, Resulting Numbers: [4004] 4004,88 unequal: No Solution Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 52+77=129, Resulting Numbers: [129] 129,88 unequal: No Solution No 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: 88:[66, 41], Operations: ['66-55=11', '52-11=41'] Exploring Operation: 66*41=2706, Resulting Numbers: [2706] 2706,88 unequal: No Solution Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 66+41=107, Resulting Numbers: [107] 107,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[55, 66, 14], Operations: ['66-52=14'] Exploring Operation: 55+66=121, Resulting Numbers: [14, 121] Generated Node #0,0,0: 88:[14, 121] Operation: 55+66=121 Exploring Operation: 55-14=41, Resulting Numbers: [66, 41] Generated Node #0,0,1: 88:[66, 41] Operation: 55-14=41 Exploring Operation: 66-55=11, Resulting Numbers: [14, 11] Generated Node #0,0,2: 88:[14, 11] Operation: 66-55=11 Exploring Operation: 66-14=52, Resulting Numbers: [55, 52] Generated Node #0,0,3: 88:[55, 52] Operation: 66-14=52 Exploring Operation: 66+14=80, Resulting Numbers: [55, 80] Generated Node #0,0,4: 88:[55, 80] Operation: 66+14=80 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 88:[14, 11], Operations: ['66-52=14', '66-55=11'] Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,88 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,88 unequal: No Solution No 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: 88:[55, 52], Operations: ['66-52=14', '66-14=52'] Exploring Operation: 55*52=2860, Resulting Numbers: [2860] 2860,88 unequal: No Solution Exploring Operation: 55+52=107, Resulting Numbers: [107] 107,88 unequal: No Solution Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,88 unequal: No Solution No 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: 88:[55, 80], Operations: ['66-52=14', '66+14=80'] Exploring Operation: 55*80=4400, Resulting Numbers: [4400] 4400,88 unequal: No Solution Exploring Operation: 80-55=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 55+80=135, Resulting Numbers: [135] 135,88 unequal: No Solution No 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: 88:[66, 41], Operations: ['66-52=14', '55-14=41'] Exploring Operation: 66+41=107, Resulting Numbers: [107] 107,88 unequal: No Solution Exploring Operation: 66*41=2706, Resulting Numbers: [2706] 2706,88 unequal: No Solution Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,88 unequal: No Solution No 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: 88:[14, 121], Operations: ['66-52=14', '55+66=121'] Exploring Operation: 14*121=1694, Resulting Numbers: [1694] 1694,88 unequal: No Solution Exploring Operation: 14+121=135, Resulting Numbers: [135] 135,88 unequal: No Solution Exploring Operation: 121-14=107, Resulting Numbers: [107] 107,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 48, 40, 95, 90 ]
56
[ "95-90=5", "40/5=8", "48+8=56" ]
Current State: 56:[48, 40, 95, 90], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [48, 40, 5] Generated Node #2: [48, 40, 5] from Operation: 95-90=5 Current State: 56:[48, 40, 5], Operations: ['95-90=5'] Exploring Operation: 40/5=8, Resulting Numbers: [48, 8] Generated Node #3: [48, 8] from Operation: 40/5=8 Current State: 56:[48, 8], Operations: ['95-90=5', '40/5=8'] Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[48, 40, 95, 90], Operations: [] Exploring Operation: 95-48=47, Resulting Numbers: [40, 90, 47] Generated Node #0,0: 56:[40, 90, 47] Operation: 95-48=47 Exploring Operation: 90-40=50, Resulting Numbers: [48, 95, 50] Generated Node #0,1: 56:[48, 95, 50] Operation: 90-40=50 Exploring Operation: 95-90=5, Resulting Numbers: [48, 40, 5] Generated Node #0,2: 56:[48, 40, 5] Operation: 95-90=5 Exploring Operation: 95-40=55, Resulting Numbers: [48, 90, 55] Generated Node #0,3: 56:[48, 90, 55] Operation: 95-40=55 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[48, 40, 5], Operations: ['95-90=5'] Exploring Operation: 48-40=8, Resulting Numbers: [5, 8] Generated Node #0,2,0: 56:[5, 8] Operation: 48-40=8 Exploring Operation: 40-5=35, Resulting Numbers: [48, 35] Generated Node #0,2,1: 56:[48, 35] Operation: 40-5=35 Exploring Operation: 48+5=53, Resulting Numbers: [40, 53] Generated Node #0,2,2: 56:[40, 53] Operation: 48+5=53 Exploring Operation: 40/5=8, Resulting Numbers: [48, 8] Generated Node #0,2,3: 56:[48, 8] Operation: 40/5=8 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 56:[5, 8], Operations: ['95-90=5', '48-40=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 56:[48, 8], Operations: ['95-90=5', '40/5=8'] Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,56 unequal: No Solution Exploring Operation: 48*8=384, Resulting Numbers: [384] 384,56 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[48, 40, 95, 90], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [48, 40, 5] Generated Node #0,2: 56:[48, 40, 5] Operation: 95-90=5 Moving to Node #0,2 Current State: 56:[48, 40, 5], Operations: ['95-90=5'] Exploring Operation: 40/5=8, Resulting Numbers: [48, 8] Generated Node #0,2,3: 56:[48, 8] Operation: 40/5=8 Moving to Node #0,2,3 Current State: 56:[48, 8], Operations: ['95-90=5', '40/5=8'] Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 98, 81, 73, 95 ]
45
[ "98+73=171", "81*95=7695", "7695/171=45" ]
Current State: 45:[98, 81, 73, 95], Operations: [] Exploring Operation: 98+73=171, Resulting Numbers: [81, 95, 171] Generated Node #2: [81, 95, 171] from Operation: 98+73=171 Current State: 45:[81, 95, 171], Operations: ['98+73=171'] Exploring Operation: 81*95=7695, Resulting Numbers: [171, 7695] Generated Node #3: [171, 7695] from Operation: 81*95=7695 Current State: 45:[171, 7695], Operations: ['98+73=171', '81*95=7695'] Exploring Operation: 7695/171=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[98, 81, 73, 95], Operations: [] Exploring Operation: 98-73=25, Resulting Numbers: [81, 95, 25] Generated Node #0,0: 45:[81, 95, 25] Operation: 98-73=25 Exploring Operation: 95-81=14, Resulting Numbers: [98, 73, 14] Generated Node #0,1: 45:[98, 73, 14] Operation: 95-81=14 Exploring Operation: 98-95=3, Resulting Numbers: [81, 73, 3] Generated Node #0,2: 45:[81, 73, 3] Operation: 98-95=3 Exploring Operation: 98-81=17, Resulting Numbers: [73, 95, 17] Generated Node #0,3: 45:[73, 95, 17] Operation: 98-81=17 Exploring Operation: 95-73=22, Resulting Numbers: [98, 81, 22] Generated Node #0,4: 45:[98, 81, 22] Operation: 95-73=22 Moving to Node #0,2 Current State: 45:[81, 73, 3], Operations: ['98-95=3'] Exploring Operation: 81+3=84, Resulting Numbers: [73, 84] Generated Node #0,2,0: 45:[73, 84] Operation: 81+3=84 Exploring Operation: 81/3=27, Resulting Numbers: [73, 27] Generated Node #0,2,1: 45:[73, 27] Operation: 81/3=27 Exploring Operation: 81-73=8, Resulting Numbers: [3, 8] Generated Node #0,2,2: 45:[3, 8] Operation: 81-73=8 Exploring Operation: 73-3=70, Resulting Numbers: [81, 70] Generated Node #0,2,3: 45:[81, 70] Operation: 73-3=70 Exploring Operation: 81-3=78, Resulting Numbers: [73, 78] Generated Node #0,2,4: 45:[73, 78] Operation: 81-3=78 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[3, 8], Operations: ['98-95=3', '81-73=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,45 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[73, 27], Operations: ['98-95=3', '81/3=27'] Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 73*27=1971, Resulting Numbers: [1971] 1971,45 unequal: No Solution Exploring Operation: 73+27=100, Resulting Numbers: [100] 100,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 45:[81, 70], Operations: ['98-95=3', '73-3=70'] Exploring Operation: 81-70=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 81*70=5670, Resulting Numbers: [5670] 5670,45 unequal: No Solution Exploring Operation: 81+70=151, Resulting Numbers: [151] 151,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 45:[73, 78], Operations: ['98-95=3', '81-3=78'] Exploring Operation: 73+78=151, Resulting Numbers: [151] 151,45 unequal: No Solution Exploring Operation: 73*78=5694, Resulting Numbers: [5694] 5694,45 unequal: No Solution Exploring Operation: 78-73=5, Resulting Numbers: [5] 5,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[73, 84], Operations: ['98-95=3', '81+3=84'] Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 73*84=6132, Resulting Numbers: [6132] 6132,45 unequal: No Solution Exploring Operation: 73+84=157, Resulting Numbers: [157] 157,45 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: 45:[73, 95, 17], Operations: ['98-81=17'] Exploring Operation: 95-73=22, Resulting Numbers: [17, 22] Generated Node #0,3,0: 45:[17, 22] Operation: 95-73=22 Exploring Operation: 95-17=78, Resulting Numbers: [73, 78] Generated Node #0,3,1: 45:[73, 78] Operation: 95-17=78 Exploring Operation: 95+17=112, Resulting Numbers: [73, 112] Generated Node #0,3,2: 45:[73, 112] Operation: 95+17=112 Exploring Operation: 73-17=56, Resulting Numbers: [95, 56] Generated Node #0,3,3: 45:[95, 56] Operation: 73-17=56 Exploring Operation: 73+17=90, Resulting Numbers: [95, 90] Generated Node #0,3,4: 45:[95, 90] Operation: 73+17=90 Moving to Node #0,1 Current State: 45:[98, 73, 14], Operations: ['95-81=14'] Exploring Operation: 98+14=112, Resulting Numbers: [73, 112] Generated Node #0,1,0: 45:[73, 112] Operation: 98+14=112 Exploring Operation: 98/14=7, Resulting Numbers: [73, 7] Generated Node #0,1,1: 45:[73, 7] Operation: 98/14=7 Exploring Operation: 98-73=25, Resulting Numbers: [14, 25] Generated Node #0,1,2: 45:[14, 25] Operation: 98-73=25 Exploring Operation: 98-14=84, Resulting Numbers: [73, 84] Generated Node #0,1,3: 45:[73, 84] Operation: 98-14=84 Exploring Operation: 73-14=59, Resulting Numbers: [98, 59] Generated Node #0,1,4: 45:[98, 59] Operation: 73-14=59 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[14, 25], Operations: ['95-81=14', '98-73=25'] Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 14+25=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 14*25=350, Resulting Numbers: [350] 350,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[73, 7], Operations: ['95-81=14', '98/14=7'] Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 73+7=80, Resulting Numbers: [80] 80,45 unequal: No Solution Exploring Operation: 73*7=511, Resulting Numbers: [511] 511,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 45:[73, 84], Operations: ['95-81=14', '98-14=84'] Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 73*84=6132, Resulting Numbers: [6132] 6132,45 unequal: No Solution Exploring Operation: 73+84=157, Resulting Numbers: [157] 157,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 45:[98, 59], Operations: ['95-81=14', '73-14=59'] Exploring Operation: 98*59=5782, Resulting Numbers: [5782] 5782,45 unequal: No Solution Exploring Operation: 98-59=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 98+59=157, Resulting Numbers: [157] 157,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[73, 112], Operations: ['95-81=14', '98+14=112'] Exploring Operation: 112-73=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 73*112=8176, Resulting Numbers: [8176] 8176,45 unequal: No Solution Exploring Operation: 73+112=185, Resulting Numbers: [185] 185,45 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: 45:[81, 95, 25], Operations: ['98-73=25'] Exploring Operation: 95+25=120, Resulting Numbers: [81, 120] Generated Node #0,0,0: 45:[81, 120] Operation: 95+25=120 Exploring Operation: 81+25=106, Resulting Numbers: [95, 106] Generated Node #0,0,1: 45:[95, 106] Operation: 81+25=106 Exploring Operation: 95-25=70, Resulting Numbers: [81, 70] Generated Node #0,0,2: 45:[81, 70] Operation: 95-25=70 Exploring Operation: 95-81=14, Resulting Numbers: [25, 14] Generated Node #0,0,3: 45:[25, 14] Operation: 95-81=14 Exploring Operation: 81-25=56, Resulting Numbers: [95, 56] Generated Node #0,0,4: 45:[95, 56] Operation: 81-25=56 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 45:[25, 14], Operations: ['98-73=25', '95-81=14'] Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 25*14=350, Resulting Numbers: [350] 350,45 unequal: No Solution Exploring Operation: 25+14=39, Resulting Numbers: [39] 39,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 45:[81, 70], Operations: ['98-73=25', '95-25=70'] Exploring Operation: 81+70=151, Resulting Numbers: [151] 151,45 unequal: No Solution Exploring Operation: 81-70=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 81*70=5670, Resulting Numbers: [5670] 5670,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 45:[95, 56], Operations: ['98-73=25', '81-25=56'] Exploring Operation: 95*56=5320, Resulting Numbers: [5320] 5320,45 unequal: No Solution Exploring Operation: 95-56=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 95+56=151, Resulting Numbers: [151] 151,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[81, 120], Operations: ['98-73=25', '95+25=120'] Exploring Operation: 81+120=201, Resulting Numbers: [201] 201,45 unequal: No Solution Exploring Operation: 81*120=9720, Resulting Numbers: [9720] 9720,45 unequal: No Solution Exploring Operation: 120-81=39, Resulting Numbers: [39] 39,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[95, 106], Operations: ['98-73=25', '81+25=106'] Exploring Operation: 106-95=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 95*106=10070, Resulting Numbers: [10070] 10070,45 unequal: No Solution Exploring Operation: 95+106=201, Resulting Numbers: [201] 201,45 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: 45:[98, 81, 22], Operations: ['95-73=22'] Exploring Operation: 81-22=59, Resulting Numbers: [98, 59] Generated Node #0,4,0: 45:[98, 59] Operation: 81-22=59 Exploring Operation: 98-81=17, Resulting Numbers: [22, 17] Generated Node #0,4,1: 45:[22, 17] Operation: 98-81=17 Exploring Operation: 81+22=103, Resulting Numbers: [98, 103] Generated Node #0,4,2: 45:[98, 103] Operation: 81+22=103 Exploring Operation: 98-22=76, Resulting Numbers: [81, 76] Generated Node #0,4,3: 45:[81, 76] Operation: 98-22=76 Exploring Operation: 98+22=120, Resulting Numbers: [81, 120] Generated Node #0,4,4: 45:[81, 120] Operation: 98+22=120 Moving to Node #0,3,0 Current State: 45:[17, 22], Operations: ['98-81=17', '95-73=22'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,45 unequal: No Solution Moving to Node #0,4,1 Current State: 45:[22, 17], Operations: ['95-73=22', '98-81=17'] Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[95, 56], Operations: ['98-81=17', '73-17=56'] Exploring Operation: 95*56=5320, Resulting Numbers: [5320] 5320,45 unequal: No Solution Exploring Operation: 95-56=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 95+56=151, Resulting Numbers: [151] 151,45 unequal: No Solution Moving to Node #0,3,1 Current State: 45:[73, 78], Operations: ['98-81=17', '95-17=78'] Exploring Operation: 73*78=5694, Resulting Numbers: [5694] 5694,45 unequal: No Solution Exploring Operation: 78-73=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 73+78=151, Resulting Numbers: [151] 151,45 unequal: No Solution Moving to Node #0,4,0 Current State: 45:[98, 59], Operations: ['95-73=22', '81-22=59'] Exploring Operation: 98-59=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 98+59=157, Resulting Numbers: [157] 157,45 unequal: No Solution Exploring Operation: 98*59=5782, Resulting Numbers: [5782] 5782,45 unequal: No Solution Moving to Node #0,4,3 Current State: 45:[81, 76], Operations: ['95-73=22', '98-22=76'] Exploring Operation: 81+76=157, Resulting Numbers: [157] 157,45 unequal: No Solution Exploring Operation: 81-76=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 81*76=6156, Resulting Numbers: [6156] 6156,45 unequal: No Solution Moving to Node #0,3,4 Current State: 45:[95, 90], Operations: ['98-81=17', '73+17=90'] Exploring Operation: 95*90=8550, Resulting Numbers: [8550] 8550,45 unequal: No Solution Exploring Operation: 95+90=185, Resulting Numbers: [185] 185,45 unequal: No Solution Exploring Operation: 95-90=5, Resulting Numbers: [5] 5,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[73, 112], Operations: ['98-81=17', '95+17=112'] Exploring Operation: 112-73=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 73*112=8176, Resulting Numbers: [8176] 8176,45 unequal: No Solution Exploring Operation: 73+112=185, Resulting Numbers: [185] 185,45 unequal: No Solution Moving to Node #0,4,2 Current State: 45:[98, 103], Operations: ['95-73=22', '81+22=103'] Exploring Operation: 98*103=10094, Resulting Numbers: [10094] 10094,45 unequal: No Solution Exploring Operation: 103-98=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 98+103=201, Resulting Numbers: [201] 201,45 unequal: No Solution Moving to Node #0,4,4 Current State: 45:[81, 120], Operations: ['95-73=22', '98+22=120'] Exploring Operation: 120-81=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 81+120=201, Resulting Numbers: [201] 201,45 unequal: No Solution Exploring Operation: 81*120=9720, Resulting Numbers: [9720] 9720,45 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 89, 40, 56, 96 ]
32
[ "96-89=7", "56/7=8", "40-8=32" ]
Current State: 32:[89, 40, 56, 96], Operations: [] Exploring Operation: 96-89=7, Resulting Numbers: [40, 56, 7] Generated Node #2: [40, 56, 7] from Operation: 96-89=7 Current State: 32:[40, 56, 7], Operations: ['96-89=7'] Exploring Operation: 56/7=8, Resulting Numbers: [40, 8] Generated Node #3: [40, 8] from Operation: 56/7=8 Current State: 32:[40, 8], Operations: ['96-89=7', '56/7=8'] Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[89, 40, 56, 96], Operations: [] Exploring Operation: 96-89=7, Resulting Numbers: [40, 56, 7] Generated Node #0,0: 32:[40, 56, 7] Operation: 96-89=7 Exploring Operation: 89-40=49, Resulting Numbers: [56, 96, 49] Generated Node #0,1: 32:[56, 96, 49] Operation: 89-40=49 Exploring Operation: 96-56=40, Resulting Numbers: [89, 40, 40] Generated Node #0,2: 32:[89, 40, 40] Operation: 96-56=40 Exploring Operation: 89-56=33, Resulting Numbers: [40, 96, 33] Generated Node #0,3: 32:[40, 96, 33] Operation: 89-56=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[40, 56, 7], Operations: ['96-89=7'] Exploring Operation: 56-40=16, Resulting Numbers: [7, 16] Generated Node #0,0,0: 32:[7, 16] Operation: 56-40=16 Exploring Operation: 56-7=49, Resulting Numbers: [40, 49] Generated Node #0,0,1: 32:[40, 49] Operation: 56-7=49 Exploring Operation: 56/7=8, Resulting Numbers: [40, 8] Generated Node #0,0,2: 32:[40, 8] Operation: 56/7=8 Exploring Operation: 40-7=33, Resulting Numbers: [56, 33] Generated Node #0,0,3: 32:[56, 33] Operation: 40-7=33 Moving to Node #0,0,0 Current State: 32:[7, 16], Operations: ['96-89=7', '56-40=16'] Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,32 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[40, 8], Operations: ['96-89=7', '56/7=8'] Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[89, 40, 56, 96], Operations: [] Exploring Operation: 96-89=7, Resulting Numbers: [40, 56, 7] Generated Node #0,0: 32:[40, 56, 7] Operation: 96-89=7 Moving to Node #0,0 Current State: 32:[40, 56, 7], Operations: ['96-89=7'] Exploring Operation: 56/7=8, Resulting Numbers: [40, 8] Generated Node #0,0,2: 32:[40, 8] Operation: 56/7=8 Moving to Node #0,0,2 Current State: 32:[40, 8], Operations: ['96-89=7', '56/7=8'] Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 42, 12, 10, 51 ]
46
[ "10*51=510", "42+510=552", "552/12=46" ]
Current State: 46:[42, 12, 10, 51], Operations: [] Exploring Operation: 10*51=510, Resulting Numbers: [42, 12, 510] Generated Node #2: [42, 12, 510] from Operation: 10*51=510 Current State: 46:[42, 12, 510], Operations: ['10*51=510'] Exploring Operation: 42+510=552, Resulting Numbers: [12, 552] Generated Node #3: [12, 552] from Operation: 42+510=552 Current State: 46:[12, 552], Operations: ['10*51=510', '42+510=552'] Exploring Operation: 552/12=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[42, 12, 10, 51], Operations: [] Exploring Operation: 12+10=22, Resulting Numbers: [42, 51, 22] Generated Node #0,0: 46:[42, 51, 22] Operation: 12+10=22 Exploring Operation: 51-12=39, Resulting Numbers: [42, 10, 39] Generated Node #0,1: 46:[42, 10, 39] Operation: 51-12=39 Exploring Operation: 12-10=2, Resulting Numbers: [42, 51, 2] Generated Node #0,2: 46:[42, 51, 2] Operation: 12-10=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[42, 51, 2], Operations: ['12-10=2'] Exploring Operation: 51-42=9, Resulting Numbers: [2, 9] Generated Node #0,2,0: 46:[2, 9] Operation: 51-42=9 Exploring Operation: 42+2=44, Resulting Numbers: [51, 44] Generated Node #0,2,1: 46:[51, 44] Operation: 42+2=44 Exploring Operation: 42/2=21, Resulting Numbers: [51, 21] Generated Node #0,2,2: 46:[51, 21] Operation: 42/2=21 Moving to Node #0,2,0 Current State: 46:[2, 9], Operations: ['12-10=2', '51-42=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,46 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,46 unequal: No Solution Moving to Node #0,2,1 Current State: 46:[51, 44], Operations: ['12-10=2', '42+2=44'] Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,46 unequal: No Solution Exploring Operation: 51+44=95, Resulting Numbers: [95] 95,46 unequal: No Solution Exploring Operation: 51*44=2244, Resulting Numbers: [2244] 2244,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[51, 21], Operations: ['12-10=2', '42/2=21'] Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 51+21=72, Resulting Numbers: [72] 72,46 unequal: No Solution Exploring Operation: 51*21=1071, Resulting Numbers: [1071] 1071,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[42, 51, 22], Operations: ['12+10=22'] Exploring Operation: 51-22=29, Resulting Numbers: [42, 29] Generated Node #0,0,0: 46:[42, 29] Operation: 51-22=29 Exploring Operation: 42-22=20, Resulting Numbers: [51, 20] Generated Node #0,0,1: 46:[51, 20] Operation: 42-22=20 Exploring Operation: 51-42=9, Resulting Numbers: [22, 9] Generated Node #0,0,2: 46:[22, 9] Operation: 51-42=9 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 46:[51, 20], Operations: ['12+10=22', '42-22=20'] Exploring Operation: 51*20=1020, Resulting Numbers: [1020] 1020,46 unequal: No Solution Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 51+20=71, Resulting Numbers: [71] 71,46 unequal: No Solution No 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: 46:[22, 9], Operations: ['12+10=22', '51-42=9'] Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 22*9=198, Resulting Numbers: [198] 198,46 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,46 unequal: No Solution No 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: 46:[42, 29], Operations: ['12+10=22', '51-22=29'] Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,46 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 42*29=1218, Resulting Numbers: [1218] 1218,46 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: 46:[42, 10, 39], Operations: ['51-12=39'] Exploring Operation: 39-10=29, Resulting Numbers: [42, 29] Generated Node #0,1,0: 46:[42, 29] Operation: 39-10=29 Exploring Operation: 42-39=3, Resulting Numbers: [10, 3] Generated Node #0,1,1: 46:[10, 3] Operation: 42-39=3 Exploring Operation: 10+39=49, Resulting Numbers: [42, 49] Generated Node #0,1,2: 46:[42, 49] Operation: 10+39=49 Moving to Node #0,1,2 Current State: 46:[42, 49], Operations: ['51-12=39', '10+39=49'] Exploring Operation: 42+49=91, Resulting Numbers: [91] 91,46 unequal: No Solution Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,46 unequal: No Solution Exploring Operation: 42*49=2058, Resulting Numbers: [2058] 2058,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[10, 3], Operations: ['51-12=39', '42-39=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,46 unequal: No Solution Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[42, 29], Operations: ['51-12=39', '39-10=29'] Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,46 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 42*29=1218, Resulting Numbers: [1218] 1218,46 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
[ 6, 23, 20, 24 ]
68
[ "23-6=17", "24-20=4", "17*4=68" ]
Current State: 68:[6, 23, 20, 24], Operations: [] Exploring Operation: 23-6=17, Resulting Numbers: [20, 24, 17] Generated Node #2: [20, 24, 17] from Operation: 23-6=17 Current State: 68:[20, 24, 17], Operations: ['23-6=17'] Exploring Operation: 24-20=4, Resulting Numbers: [17, 4] Generated Node #3: [17, 4] from Operation: 24-20=4 Current State: 68:[17, 4], Operations: ['23-6=17', '24-20=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[6, 23, 20, 24], Operations: [] Exploring Operation: 24-23=1, Resulting Numbers: [6, 20, 1] Generated Node #0,0: 68:[6, 20, 1] Operation: 24-23=1 Moving to Node #0,0 Current State: 68:[6, 20, 1], Operations: ['24-23=1'] Exploring Operation: 20-6=14, Resulting Numbers: [1, 14] Generated Node #0,0,0: 68:[1, 14] Operation: 20-6=14 Moving to Node #0,0,0 Current State: 68:[1, 14], Operations: ['24-23=1', '20-6=14'] Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,68 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 25, 89, 95, 15 ]
97
[ "25+95=120", "120/15=8", "89+8=97" ]
Current State: 97:[25, 89, 95, 15], Operations: [] Exploring Operation: 25+95=120, Resulting Numbers: [89, 15, 120] Generated Node #2: [89, 15, 120] from Operation: 25+95=120 Current State: 97:[89, 15, 120], Operations: ['25+95=120'] Exploring Operation: 120/15=8, Resulting Numbers: [89, 8] Generated Node #3: [89, 8] from Operation: 120/15=8 Current State: 97:[89, 8], Operations: ['25+95=120', '120/15=8'] Exploring Operation: 89+8=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[25, 89, 95, 15], Operations: [] Exploring Operation: 25-15=10, Resulting Numbers: [89, 95, 10] Generated Node #0,0: 97:[89, 95, 10] Operation: 25-15=10 Exploring Operation: 89+15=104, Resulting Numbers: [25, 95, 104] Generated Node #0,1: 97:[25, 95, 104] Operation: 89+15=104 Exploring Operation: 95+15=110, Resulting Numbers: [25, 89, 110] Generated Node #0,2: 97:[25, 89, 110] Operation: 95+15=110 Exploring Operation: 25+15=40, Resulting Numbers: [89, 95, 40] Generated Node #0,3: 97:[89, 95, 40] Operation: 25+15=40 Start Sub Search at level 1: Moving to Node #0,3 Current State: 97:[89, 95, 40], Operations: ['25+15=40'] Exploring Operation: 89-40=49, Resulting Numbers: [95, 49] Generated Node #0,3,0: 97:[95, 49] Operation: 89-40=49 Exploring Operation: 95-40=55, Resulting Numbers: [89, 55] Generated Node #0,3,1: 97:[89, 55] Operation: 95-40=55 Exploring Operation: 89+40=129, Resulting Numbers: [95, 129] Generated Node #0,3,2: 97:[95, 129] Operation: 89+40=129 Exploring Operation: 95+40=135, Resulting Numbers: [89, 135] Generated Node #0,3,3: 97:[89, 135] Operation: 95+40=135 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 97:[95, 129], Operations: ['25+15=40', '89+40=129'] Exploring Operation: 95+129=224, Resulting Numbers: [224] 224,97 unequal: No Solution Exploring Operation: 129-95=34, Resulting Numbers: [34] 34,97 unequal: No Solution Exploring Operation: 95*129=12255, Resulting Numbers: [12255] 12255,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 97:[89, 135], Operations: ['25+15=40', '95+40=135'] Exploring Operation: 89*135=12015, Resulting Numbers: [12015] 12015,97 unequal: No Solution Exploring Operation: 135-89=46, Resulting Numbers: [46] 46,97 unequal: No Solution Exploring Operation: 89+135=224, Resulting Numbers: [224] 224,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 97:[95, 49], Operations: ['25+15=40', '89-40=49'] Exploring Operation: 95*49=4655, Resulting Numbers: [4655] 4655,97 unequal: No Solution Exploring Operation: 95-49=46, Resulting Numbers: [46] 46,97 unequal: No Solution Exploring Operation: 95+49=144, Resulting Numbers: [144] 144,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 97:[89, 55], Operations: ['25+15=40', '95-40=55'] Exploring Operation: 89-55=34, Resulting Numbers: [34] 34,97 unequal: No Solution Exploring Operation: 89*55=4895, Resulting Numbers: [4895] 4895,97 unequal: No Solution Exploring Operation: 89+55=144, Resulting Numbers: [144] 144,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[25, 95, 104], Operations: ['89+15=104'] Exploring Operation: 25+104=129, Resulting Numbers: [95, 129] Generated Node #0,1,0: 97:[95, 129] Operation: 25+104=129 Exploring Operation: 104-25=79, Resulting Numbers: [95, 79] Generated Node #0,1,1: 97:[95, 79] Operation: 104-25=79 Exploring Operation: 25+95=120, Resulting Numbers: [104, 120] Generated Node #0,1,2: 97:[104, 120] Operation: 25+95=120 Exploring Operation: 95-25=70, Resulting Numbers: [104, 70] Generated Node #0,1,3: 97:[104, 70] Operation: 95-25=70 Moving to Node #0,1,1 Current State: 97:[95, 79], Operations: ['89+15=104', '104-25=79'] Exploring Operation: 95+79=174, Resulting Numbers: [174] 174,97 unequal: No Solution Exploring Operation: 95*79=7505, Resulting Numbers: [7505] 7505,97 unequal: No Solution Exploring Operation: 95-79=16, Resulting Numbers: [16] 16,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[104, 120], Operations: ['89+15=104', '25+95=120'] Exploring Operation: 104+120=224, Resulting Numbers: [224] 224,97 unequal: No Solution Exploring Operation: 104*120=12480, Resulting Numbers: [12480] 12480,97 unequal: No Solution Exploring Operation: 120-104=16, Resulting Numbers: [16] 16,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[104, 70], Operations: ['89+15=104', '95-25=70'] Exploring Operation: 104*70=7280, Resulting Numbers: [7280] 7280,97 unequal: No Solution Exploring Operation: 104+70=174, Resulting Numbers: [174] 174,97 unequal: No Solution Exploring Operation: 104-70=34, Resulting Numbers: [34] 34,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[95, 129], Operations: ['89+15=104', '25+104=129'] Exploring Operation: 95+129=224, Resulting Numbers: [224] 224,97 unequal: No Solution Exploring Operation: 129-95=34, Resulting Numbers: [34] 34,97 unequal: No Solution Exploring Operation: 95*129=12255, Resulting Numbers: [12255] 12255,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[25, 89, 110], Operations: ['95+15=110'] Exploring Operation: 110-25=85, Resulting Numbers: [89, 85] Generated Node #0,2,0: 97:[89, 85] Operation: 110-25=85 Exploring Operation: 89-25=64, Resulting Numbers: [110, 64] Generated Node #0,2,1: 97:[110, 64] Operation: 89-25=64 Exploring Operation: 25+110=135, Resulting Numbers: [89, 135] Generated Node #0,2,2: 97:[89, 135] Operation: 25+110=135 Exploring Operation: 25+89=114, Resulting Numbers: [110, 114] Generated Node #0,2,3: 97:[110, 114] Operation: 25+89=114 Moving to Node #0,2,0 Current State: 97:[89, 85], Operations: ['95+15=110', '110-25=85'] Exploring Operation: 89*85=7565, Resulting Numbers: [7565] 7565,97 unequal: No Solution Exploring Operation: 89-85=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 89+85=174, Resulting Numbers: [174] 174,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[110, 114], Operations: ['95+15=110', '25+89=114'] Exploring Operation: 114-110=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 110+114=224, Resulting Numbers: [224] 224,97 unequal: No Solution Exploring Operation: 110*114=12540, Resulting Numbers: [12540] 12540,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[89, 135], Operations: ['95+15=110', '25+110=135'] Exploring Operation: 89+135=224, Resulting Numbers: [224] 224,97 unequal: No Solution Exploring Operation: 135-89=46, Resulting Numbers: [46] 46,97 unequal: No Solution Exploring Operation: 89*135=12015, Resulting Numbers: [12015] 12015,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[110, 64], Operations: ['95+15=110', '89-25=64'] Exploring Operation: 110+64=174, Resulting Numbers: [174] 174,97 unequal: No Solution Exploring Operation: 110*64=7040, Resulting Numbers: [7040] 7040,97 unequal: No Solution Exploring Operation: 110-64=46, Resulting Numbers: [46] 46,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[89, 95, 10], Operations: ['25-15=10'] Exploring Operation: 95-10=85, Resulting Numbers: [89, 85] Generated Node #0,0,0: 97:[89, 85] Operation: 95-10=85 Exploring Operation: 89+10=99, Resulting Numbers: [95, 99] Generated Node #0,0,1: 97:[95, 99] Operation: 89+10=99 Exploring Operation: 95+10=105, Resulting Numbers: [89, 105] Generated Node #0,0,2: 97:[89, 105] Operation: 95+10=105 Exploring Operation: 89-10=79, Resulting Numbers: [95, 79] Generated Node #0,0,3: 97:[95, 79] Operation: 89-10=79 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[95, 99], Operations: ['25-15=10', '89+10=99'] Exploring Operation: 95*99=9405, Resulting Numbers: [9405] 9405,97 unequal: No Solution Exploring Operation: 99-95=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 95+99=194, Resulting Numbers: [194] 194,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[89, 105], Operations: ['25-15=10', '95+10=105'] Exploring Operation: 89*105=9345, Resulting Numbers: [9345] 9345,97 unequal: No Solution Exploring Operation: 105-89=16, Resulting Numbers: [16] 16,97 unequal: No Solution Exploring Operation: 89+105=194, Resulting Numbers: [194] 194,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[89, 85], Operations: ['25-15=10', '95-10=85'] Exploring Operation: 89-85=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 89+85=174, Resulting Numbers: [174] 174,97 unequal: No Solution Exploring Operation: 89*85=7565, Resulting Numbers: [7565] 7565,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 97:[95, 79], Operations: ['25-15=10', '89-10=79'] Exploring Operation: 95-79=16, Resulting Numbers: [16] 16,97 unequal: No Solution Exploring Operation: 95+79=174, Resulting Numbers: [174] 174,97 unequal: No Solution Exploring Operation: 95*79=7505, Resulting Numbers: [7505] 7505,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 42, 68, 2, 16 ]
16
[ "42-16=26", "2*26=52", "68-52=16" ]
Current State: 16:[42, 68, 2, 16], Operations: [] Exploring Operation: 42-16=26, Resulting Numbers: [68, 2, 26] Generated Node #2: [68, 2, 26] from Operation: 42-16=26 Current State: 16:[68, 2, 26], Operations: ['42-16=26'] Exploring Operation: 2*26=52, Resulting Numbers: [68, 52] Generated Node #3: [68, 52] from Operation: 2*26=52 Current State: 16:[68, 52], Operations: ['42-16=26', '2*26=52'] Exploring Operation: 68-52=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[42, 68, 2, 16], Operations: [] Exploring Operation: 68-42=26, Resulting Numbers: [2, 16, 26] Generated Node #0,0: 16:[2, 16, 26] Operation: 68-42=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[2, 16, 26], Operations: ['68-42=26'] Exploring Operation: 26-16=10, Resulting Numbers: [2, 10] Generated Node #0,0,0: 16:[2, 10] Operation: 26-16=10 Moving to Node #0,0,0 Current State: 16:[2, 10], Operations: ['68-42=26', '26-16=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 42, 21, 80, 61 ]
82
[ "42+21=63", "80-61=19", "63+19=82" ]
Current State: 82:[42, 21, 80, 61], Operations: [] Exploring Operation: 42+21=63, Resulting Numbers: [80, 61, 63] Generated Node #2: [80, 61, 63] from Operation: 42+21=63 Current State: 82:[80, 61, 63], Operations: ['42+21=63'] Exploring Operation: 80-61=19, Resulting Numbers: [63, 19] Generated Node #3: [63, 19] from Operation: 80-61=19 Current State: 82:[63, 19], Operations: ['42+21=63', '80-61=19'] Exploring Operation: 63+19=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[42, 21, 80, 61], Operations: [] Exploring Operation: 21+61=82, Resulting Numbers: [42, 80, 82] Generated Node #0,0: 82:[42, 80, 82] Operation: 21+61=82 Moving to Node #0,0 Current State: 82:[42, 80, 82], Operations: ['21+61=82'] Exploring Operation: 82-80=2, Resulting Numbers: [42, 2] Generated Node #0,0,0: 82:[42, 2] Operation: 82-80=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[42, 2], Operations: ['21+61=82', '82-80=2'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,82 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
[ 89, 62, 85, 7 ]
72
[ "85-62=23", "7*23=161", "161-89=72" ]
Current State: 72:[89, 62, 85, 7], Operations: [] Exploring Operation: 85-62=23, Resulting Numbers: [89, 7, 23] Generated Node #2: [89, 7, 23] from Operation: 85-62=23 Current State: 72:[89, 7, 23], Operations: ['85-62=23'] Exploring Operation: 7*23=161, Resulting Numbers: [89, 161] Generated Node #3: [89, 161] from Operation: 7*23=161 Current State: 72:[89, 161], Operations: ['85-62=23', '7*23=161'] Exploring Operation: 161-89=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[89, 62, 85, 7], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [62, 7, 4] Generated Node #0,0: 72:[62, 7, 4] Operation: 89-85=4 Exploring Operation: 89-62=27, Resulting Numbers: [85, 7, 27] Generated Node #0,1: 72:[85, 7, 27] Operation: 89-62=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[62, 7, 4], Operations: ['89-85=4'] Exploring Operation: 62+7=69, Resulting Numbers: [4, 69] Generated Node #0,0,0: 72:[4, 69] Operation: 62+7=69 Exploring Operation: 62+4=66, Resulting Numbers: [7, 66] Generated Node #0,0,1: 72:[7, 66] Operation: 62+4=66 Moving to Node #0,0,0 Current State: 72:[4, 69], Operations: ['89-85=4', '62+7=69'] Exploring Operation: 4+69=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[7, 66], Operations: ['89-85=4', '62+4=66'] Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,72 unequal: No Solution Exploring Operation: 7+66=73, Resulting Numbers: [73] 73,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[85, 7, 27], Operations: ['89-62=27'] Exploring Operation: 85-27=58, Resulting Numbers: [7, 58] Generated Node #0,1,0: 72:[7, 58] Operation: 85-27=58 Exploring Operation: 85-7=78, Resulting Numbers: [27, 78] Generated Node #0,1,1: 72:[27, 78] Operation: 85-7=78 Moving to Node #0,1,1 Current State: 72:[27, 78], Operations: ['89-62=27', '85-7=78'] Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,72 unequal: No Solution Exploring Operation: 27+78=105, Resulting Numbers: [105] 105,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[7, 58], Operations: ['89-62=27', '85-27=58'] Exploring Operation: 7+58=65, Resulting Numbers: [65] 65,72 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 44, 27, 31, 71 ]
32
[ "44+27=71", "71/71=1", "31+1=32" ]
Current State: 32:[44, 27, 31, 71], Operations: [] Exploring Operation: 44+27=71, Resulting Numbers: [31, 71, 71] Generated Node #2: [31, 71, 71] from Operation: 44+27=71 Current State: 32:[31, 71, 71], Operations: ['44+27=71'] Exploring Operation: 71/71=1, Resulting Numbers: [31, 1] Generated Node #3: [31, 1] from Operation: 71/71=1 Current State: 32:[31, 1], Operations: ['44+27=71', '71/71=1'] Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[44, 27, 31, 71], Operations: [] Exploring Operation: 71-31=40, Resulting Numbers: [44, 27, 40] Generated Node #0,0: 32:[44, 27, 40] Operation: 71-31=40 Exploring Operation: 71-27=44, Resulting Numbers: [44, 31, 44] Generated Node #0,1: 32:[44, 31, 44] Operation: 71-27=44 Exploring Operation: 71-44=27, Resulting Numbers: [27, 31, 27] Generated Node #0,2: 32:[27, 31, 27] Operation: 71-44=27 Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[27, 31, 27], Operations: ['71-44=27'] Exploring Operation: 27/27=1, Resulting Numbers: [31, 1] Generated Node #0,2,0: 32:[31, 1] Operation: 27/27=1 Exploring Operation: 31-27=4, Resulting Numbers: [27, 4] Generated Node #0,2,1: 32:[27, 4] Operation: 31-27=4 Exploring Operation: 27-27=0, Resulting Numbers: [31, 0] Generated Node #0,2,2: 32:[31, 0] Operation: 27-27=0 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 32:[31, 1], Operations: ['71-44=27', '27/27=1'] Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[44, 27, 31, 71], Operations: [] Exploring Operation: 71-44=27, Resulting Numbers: [27, 31, 27] Generated Node #0,2: 32:[27, 31, 27] Operation: 71-44=27 Moving to Node #0,2 Current State: 32:[27, 31, 27], Operations: ['71-44=27'] Exploring Operation: 27/27=1, Resulting Numbers: [31, 1] Generated Node #0,2,0: 32:[31, 1] Operation: 27/27=1 Moving to Node #0,2,0 Current State: 32:[31, 1], Operations: ['71-44=27', '27/27=1'] Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 84, 33, 31, 58 ]
52
[ "84-58=26", "33-31=2", "26*2=52" ]
Current State: 52:[84, 33, 31, 58], Operations: [] Exploring Operation: 84-58=26, Resulting Numbers: [33, 31, 26] Generated Node #2: [33, 31, 26] from Operation: 84-58=26 Current State: 52:[33, 31, 26], Operations: ['84-58=26'] Exploring Operation: 33-31=2, Resulting Numbers: [26, 2] Generated Node #3: [26, 2] from Operation: 33-31=2 Current State: 52:[26, 2], Operations: ['84-58=26', '33-31=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[84, 33, 31, 58], Operations: [] Exploring Operation: 58-33=25, Resulting Numbers: [84, 31, 25] Generated Node #0,0: 52:[84, 31, 25] Operation: 58-33=25 Exploring Operation: 84-58=26, Resulting Numbers: [33, 31, 26] Generated Node #0,1: 52:[33, 31, 26] Operation: 84-58=26 Exploring Operation: 33-31=2, Resulting Numbers: [84, 58, 2] Generated Node #0,2: 52:[84, 58, 2] Operation: 33-31=2 Exploring Operation: 84-33=51, Resulting Numbers: [31, 58, 51] Generated Node #0,3: 52:[31, 58, 51] Operation: 84-33=51 Exploring Operation: 84-31=53, Resulting Numbers: [33, 58, 53] Generated Node #0,4: 52:[33, 58, 53] Operation: 84-31=53 Moving to Node #0,1 Current State: 52:[33, 31, 26], Operations: ['84-58=26'] Exploring Operation: 33-31=2, Resulting Numbers: [26, 2] Generated Node #0,1,0: 52:[26, 2] Operation: 33-31=2 Exploring Operation: 33+31=64, Resulting Numbers: [26, 64] Generated Node #0,1,1: 52:[26, 64] Operation: 33+31=64 Exploring Operation: 31-26=5, Resulting Numbers: [33, 5] Generated Node #0,1,2: 52:[33, 5] Operation: 31-26=5 Exploring Operation: 33-26=7, Resulting Numbers: [31, 7] Generated Node #0,1,3: 52:[31, 7] Operation: 33-26=7 Exploring Operation: 33+26=59, Resulting Numbers: [31, 59] Generated Node #0,1,4: 52:[31, 59] Operation: 33+26=59 Moving to Node #0,3 Current State: 52:[31, 58, 51], Operations: ['84-33=51'] Exploring Operation: 51-31=20, Resulting Numbers: [58, 20] Generated Node #0,3,0: 52:[58, 20] Operation: 51-31=20 Exploring Operation: 58-51=7, Resulting Numbers: [31, 7] Generated Node #0,3,1: 52:[31, 7] Operation: 58-51=7 Exploring Operation: 58-31=27, Resulting Numbers: [51, 27] Generated Node #0,3,2: 52:[51, 27] Operation: 58-31=27 Exploring Operation: 31+51=82, Resulting Numbers: [58, 82] Generated Node #0,3,3: 52:[58, 82] Operation: 31+51=82 Exploring Operation: 31+58=89, Resulting Numbers: [51, 89] Generated Node #0,3,4: 52:[51, 89] Operation: 31+58=89 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 52:[51, 27], Operations: ['84-33=51', '58-31=27'] Exploring Operation: 51+27=78, Resulting Numbers: [78] 78,52 unequal: No Solution Exploring Operation: 51*27=1377, Resulting Numbers: [1377] 1377,52 unequal: No Solution Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 52:[31, 7], Operations: ['84-33=51', '58-51=7'] Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,52 unequal: No Solution Exploring Operation: 31*7=217, Resulting Numbers: [217] 217,52 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 52:[58, 20], Operations: ['84-33=51', '51-31=20'] Exploring Operation: 58*20=1160, Resulting Numbers: [1160] 1160,52 unequal: No Solution Exploring Operation: 58+20=78, Resulting Numbers: [78] 78,52 unequal: No Solution Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 52:[58, 82], Operations: ['84-33=51', '31+51=82'] Exploring Operation: 82-58=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 58+82=140, Resulting Numbers: [140] 140,52 unequal: No Solution Exploring Operation: 58*82=4756, Resulting Numbers: [4756] 4756,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 52:[51, 89], Operations: ['84-33=51', '31+58=89'] Exploring Operation: 51*89=4539, Resulting Numbers: [4539] 4539,52 unequal: No Solution Exploring Operation: 51+89=140, Resulting Numbers: [140] 140,52 unequal: No Solution Exploring Operation: 89-51=38, Resulting Numbers: [38] 38,52 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: 52:[33, 58, 53], Operations: ['84-31=53'] Exploring Operation: 58-53=5, Resulting Numbers: [33, 5] Generated Node #0,4,0: 52:[33, 5] Operation: 58-53=5 Exploring Operation: 58-33=25, Resulting Numbers: [53, 25] Generated Node #0,4,1: 52:[53, 25] Operation: 58-33=25 Exploring Operation: 53-33=20, Resulting Numbers: [58, 20] Generated Node #0,4,2: 52:[58, 20] Operation: 53-33=20 Exploring Operation: 33+53=86, Resulting Numbers: [58, 86] Generated Node #0,4,3: 52:[58, 86] Operation: 33+53=86 Exploring Operation: 33+58=91, Resulting Numbers: [53, 91] Generated Node #0,4,4: 52:[53, 91] Operation: 33+58=91 Moving to Node #0,0 Current State: 52:[84, 31, 25], Operations: ['58-33=25'] Exploring Operation: 31-25=6, Resulting Numbers: [84, 6] Generated Node #0,0,0: 52:[84, 6] Operation: 31-25=6 Exploring Operation: 84+25=109, Resulting Numbers: [31, 109] Generated Node #0,0,1: 52:[31, 109] Operation: 84+25=109 Exploring Operation: 31+25=56, Resulting Numbers: [84, 56] Generated Node #0,0,2: 52:[84, 56] Operation: 31+25=56 Exploring Operation: 84-25=59, Resulting Numbers: [31, 59] Generated Node #0,0,3: 52:[31, 59] Operation: 84-25=59 Exploring Operation: 84-31=53, Resulting Numbers: [25, 53] Generated Node #0,0,4: 52:[25, 53] Operation: 84-31=53 Moving to Node #0,2 Current State: 52:[84, 58, 2], Operations: ['33-31=2'] Exploring Operation: 58-2=56, Resulting Numbers: [84, 56] Generated Node #0,2,0: 52:[84, 56] Operation: 58-2=56 Exploring Operation: 84/2=42, Resulting Numbers: [58, 42] Generated Node #0,2,1: 52:[58, 42] Operation: 84/2=42 Exploring Operation: 84-2=82, Resulting Numbers: [58, 82] Generated Node #0,2,2: 52:[58, 82] Operation: 84-2=82 Exploring Operation: 84-58=26, Resulting Numbers: [2, 26] Generated Node #0,2,3: 52:[2, 26] Operation: 84-58=26 Exploring Operation: 58/2=29, Resulting Numbers: [84, 29] Generated Node #0,2,4: 52:[84, 29] Operation: 58/2=29 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 52:[2, 26], Operations: ['33-31=2', '84-58=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,52 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[84, 33, 31, 58], Operations: [] Exploring Operation: 33-31=2, Resulting Numbers: [84, 58, 2] Generated Node #0,2: 52:[84, 58, 2] Operation: 33-31=2 Moving to Node #0,2 Current State: 52:[84, 58, 2], Operations: ['33-31=2'] Exploring Operation: 84-58=26, Resulting Numbers: [2, 26] Generated Node #0,2,3: 52:[2, 26] Operation: 84-58=26 Moving to Node #0,2,3 Current State: 52:[2, 26], Operations: ['33-31=2', '84-58=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.954861
hs_5
mult_heuristic
[ 28, 5, 20, 80 ]
32
[ "28+20=48", "80/5=16", "48-16=32" ]
Current State: 32:[28, 5, 20, 80], Operations: [] Exploring Operation: 28+20=48, Resulting Numbers: [5, 80, 48] Generated Node #2: [5, 80, 48] from Operation: 28+20=48 Current State: 32:[5, 80, 48], Operations: ['28+20=48'] Exploring Operation: 80/5=16, Resulting Numbers: [48, 16] Generated Node #3: [48, 16] from Operation: 80/5=16 Current State: 32:[48, 16], Operations: ['28+20=48', '80/5=16'] Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[28, 5, 20, 80], Operations: [] Exploring Operation: 80/20=4, Resulting Numbers: [28, 5, 4] Generated Node #0,0: 32:[28, 5, 4] Operation: 80/20=4 Moving to Node #0,0 Current State: 32:[28, 5, 4], Operations: ['80/20=4'] Exploring Operation: 28+5=33, Resulting Numbers: [4, 33] Generated Node #0,0,0: 32:[4, 33] Operation: 28+5=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[4, 33], Operations: ['80/20=4', '28+5=33'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 21, 58, 3, 6 ]
63
[ "21-6=15", "15/3=5", "58+5=63" ]
Current State: 63:[21, 58, 3, 6], Operations: [] Exploring Operation: 21-6=15, Resulting Numbers: [58, 3, 15] Generated Node #2: [58, 3, 15] from Operation: 21-6=15 Current State: 63:[58, 3, 15], Operations: ['21-6=15'] Exploring Operation: 15/3=5, Resulting Numbers: [58, 5] Generated Node #3: [58, 5] from Operation: 15/3=5 Current State: 63:[58, 5], Operations: ['21-6=15', '15/3=5'] Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[21, 58, 3, 6], Operations: [] Exploring Operation: 58+3=61, Resulting Numbers: [21, 6, 61] Generated Node #0,0: 63:[21, 6, 61] Operation: 58+3=61 Exploring Operation: 3+6=9, Resulting Numbers: [21, 58, 9] Generated Node #0,1: 63:[21, 58, 9] Operation: 3+6=9 Exploring Operation: 58+6=64, Resulting Numbers: [21, 3, 64] Generated Node #0,2: 63:[21, 3, 64] Operation: 58+6=64 Moving to Node #0,2 Current State: 63:[21, 3, 64], Operations: ['58+6=64'] Exploring Operation: 21/3=7, Resulting Numbers: [64, 7] Generated Node #0,2,0: 63:[64, 7] Operation: 21/3=7 Exploring Operation: 64-3=61, Resulting Numbers: [21, 61] Generated Node #0,2,1: 63:[21, 61] Operation: 64-3=61 Exploring Operation: 21*3=63, Resulting Numbers: [64, 63] Generated Node #0,2,2: 63:[64, 63] Operation: 21*3=63 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 63:[64, 7], Operations: ['58+6=64', '21/3=7'] Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,63 unequal: No Solution Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,63 unequal: No Solution Exploring Operation: 64*7=448, Resulting Numbers: [448] 448,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 63:[64, 63], Operations: ['58+6=64', '21*3=63'] Exploring Operation: 64+63=127, Resulting Numbers: [127] 127,63 unequal: No Solution Exploring Operation: 64-63=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 64*63=4032, Resulting Numbers: [4032] 4032,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 63:[21, 61], Operations: ['58+6=64', '64-3=61'] Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,63 unequal: No Solution Exploring Operation: 21*61=1281, Resulting Numbers: [1281] 1281,63 unequal: No Solution Exploring Operation: 21+61=82, Resulting Numbers: [82] 82,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 63:[21, 6, 61], Operations: ['58+3=61'] Exploring Operation: 21+6=27, Resulting Numbers: [61, 27] Generated Node #0,0,0: 63:[61, 27] Operation: 21+6=27 Exploring Operation: 21-6=15, Resulting Numbers: [61, 15] Generated Node #0,0,1: 63:[61, 15] Operation: 21-6=15 Exploring Operation: 6+61=67, Resulting Numbers: [21, 67] Generated Node #0,0,2: 63:[21, 67] Operation: 6+61=67 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 63:[21, 67], Operations: ['58+3=61', '6+61=67'] Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,63 unequal: No Solution Exploring Operation: 21*67=1407, Resulting Numbers: [1407] 1407,63 unequal: No Solution Exploring Operation: 21+67=88, Resulting Numbers: [88] 88,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[61, 27], Operations: ['58+3=61', '21+6=27'] Exploring Operation: 61+27=88, Resulting Numbers: [88] 88,63 unequal: No Solution Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,63 unequal: No Solution Exploring Operation: 61*27=1647, Resulting Numbers: [1647] 1647,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[61, 15], Operations: ['58+3=61', '21-6=15'] Exploring Operation: 61+15=76, Resulting Numbers: [76] 76,63 unequal: No Solution Exploring Operation: 61*15=915, Resulting Numbers: [915] 915,63 unequal: No Solution Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 63:[21, 58, 9], Operations: ['3+6=9'] Exploring Operation: 58+9=67, Resulting Numbers: [21, 67] Generated Node #0,1,0: 63:[21, 67] Operation: 58+9=67 Exploring Operation: 21+9=30, Resulting Numbers: [58, 30] Generated Node #0,1,1: 63:[58, 30] Operation: 21+9=30 Exploring Operation: 21-9=12, Resulting Numbers: [58, 12] Generated Node #0,1,2: 63:[58, 12] Operation: 21-9=12 Moving to Node #0,1,0 Current State: 63:[21, 67], Operations: ['3+6=9', '58+9=67'] Exploring Operation: 21*67=1407, Resulting Numbers: [1407] 1407,63 unequal: No Solution Exploring Operation: 21+67=88, Resulting Numbers: [88] 88,63 unequal: No Solution Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[58, 12], Operations: ['3+6=9', '21-9=12'] Exploring Operation: 58+12=70, Resulting Numbers: [70] 70,63 unequal: No Solution Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,63 unequal: No Solution Exploring Operation: 58*12=696, Resulting Numbers: [696] 696,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[58, 30], Operations: ['3+6=9', '21+9=30'] Exploring Operation: 58-30=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 58+30=88, Resulting Numbers: [88] 88,63 unequal: No Solution Exploring Operation: 58*30=1740, Resulting Numbers: [1740] 1740,63 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 2, 85, 38, 39 ]
84
[ "85-2=83", "39-38=1", "83+1=84" ]
Current State: 84:[2, 85, 38, 39], Operations: [] Exploring Operation: 85-2=83, Resulting Numbers: [38, 39, 83] Generated Node #2: [38, 39, 83] from Operation: 85-2=83 Current State: 84:[38, 39, 83], Operations: ['85-2=83'] Exploring Operation: 39-38=1, Resulting Numbers: [83, 1] Generated Node #3: [83, 1] from Operation: 39-38=1 Current State: 84:[83, 1], Operations: ['85-2=83', '39-38=1'] Exploring Operation: 83+1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[2, 85, 38, 39], Operations: [] Exploring Operation: 39-38=1, Resulting Numbers: [2, 85, 1] Generated Node #0,0: 84:[2, 85, 1] Operation: 39-38=1 Exploring Operation: 2+38=40, Resulting Numbers: [85, 39, 40] Generated Node #0,1: 84:[85, 39, 40] Operation: 2+38=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[2, 85, 1], Operations: ['39-38=1'] Exploring Operation: 85-1=84, Resulting Numbers: [2, 84] Generated Node #0,0,0: 84:[2, 84] Operation: 85-1=84 Exploring Operation: 2+1=3, Resulting Numbers: [85, 3] Generated Node #0,0,1: 84:[85, 3] Operation: 2+1=3 Moving to Node #0,0,0 Current State: 84:[2, 84], Operations: ['39-38=1', '85-1=84'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,84 unequal: No Solution Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[85, 3], Operations: ['39-38=1', '2+1=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,84 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,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 Current State: 84:[85, 39, 40], Operations: ['2+38=40'] Exploring Operation: 85-39=46, Resulting Numbers: [40, 46] Generated Node #0,1,0: 84:[40, 46] Operation: 85-39=46 Exploring Operation: 40-39=1, Resulting Numbers: [85, 1] Generated Node #0,1,1: 84:[85, 1] Operation: 40-39=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 84:[85, 1], Operations: ['2+38=40', '40-39=1'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[2, 85, 38, 39], Operations: [] Exploring Operation: 2+38=40, Resulting Numbers: [85, 39, 40] Generated Node #0,1: 84:[85, 39, 40] Operation: 2+38=40 Moving to Node #0,1 Current State: 84:[85, 39, 40], Operations: ['2+38=40'] Exploring Operation: 40-39=1, Resulting Numbers: [85, 1] Generated Node #0,1,1: 84:[85, 1] Operation: 40-39=1 Moving to Node #0,1,1 Current State: 84:[85, 1], Operations: ['2+38=40', '40-39=1'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 85, 1, 94, 85 ]
93
[ "85+1=86", "94+85=179", "179-86=93" ]
Current State: 93:[85, 1, 94, 85], Operations: [] Exploring Operation: 85+1=86, Resulting Numbers: [94, 86] Generated Node #2: [94, 86] from Operation: 85+1=86 Current State: 93:[94, 86], Operations: ['85+1=86'] Exploring Operation: 94+85=179, Resulting Numbers: [86, 179] Generated Node #3: [86, 179] from Operation: 94+85=179 Current State: 93:[86, 179], Operations: ['85+1=86', '94+85=179'] Exploring Operation: 179-86=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[85, 1, 94, 85], Operations: [] Exploring Operation: 85+1=86, Resulting Numbers: [94, 85, 86] Generated Node #0,0: 93:[94, 85, 86] Operation: 85+1=86 Exploring Operation: 85/85=1, Resulting Numbers: [1, 94, 1] Generated Node #0,1: 93:[1, 94, 1] Operation: 85/85=1 Exploring Operation: 85-85=0, Resulting Numbers: [1, 94, 0] Generated Node #0,2: 93:[1, 94, 0] Operation: 85-85=0 Moving to Node #0,1 Current State: 93:[1, 94, 1], Operations: ['85/85=1'] Exploring Operation: 94-1=93, Resulting Numbers: [1, 93] Generated Node #0,1,0: 93:[1, 93] Operation: 94-1=93 Exploring Operation: 1+1=2, Resulting Numbers: [94, 2] Generated Node #0,1,1: 93:[94, 2] Operation: 1+1=2 Exploring Operation: 94-1=93, Resulting Numbers: [1, 93] Generated Node #0,1,2: 93:[1, 93] Operation: 94-1=93 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[1, 93], Operations: ['85/85=1', '94-1=93'] Exploring Operation: 1*93=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[85, 1, 94, 85], Operations: [] Exploring Operation: 85/85=1, Resulting Numbers: [1, 94, 1] Generated Node #0,1: 93:[1, 94, 1] Operation: 85/85=1 Moving to Node #0,1 Current State: 93:[1, 94, 1], Operations: ['85/85=1'] Exploring Operation: 94-1=93, Resulting Numbers: [1, 93] Generated Node #0,1,0: 93:[1, 93] Operation: 94-1=93 Moving to Node #0,1,0 Current State: 93:[1, 93], Operations: ['85/85=1', '94-1=93'] Exploring Operation: 1*93=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 7, 86, 23, 10 ]
85
[ "7*23=161", "86-10=76", "161-76=85" ]
Current State: 85:[7, 86, 23, 10], Operations: [] Exploring Operation: 7*23=161, Resulting Numbers: [86, 10, 161] Generated Node #2: [86, 10, 161] from Operation: 7*23=161 Current State: 85:[86, 10, 161], Operations: ['7*23=161'] Exploring Operation: 86-10=76, Resulting Numbers: [161, 76] Generated Node #3: [161, 76] from Operation: 86-10=76 Current State: 85:[161, 76], Operations: ['7*23=161', '86-10=76'] Exploring Operation: 161-76=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[7, 86, 23, 10], Operations: [] Exploring Operation: 7+10=17, Resulting Numbers: [86, 23, 17] Generated Node #0,0: 85:[86, 23, 17] Operation: 7+10=17 Exploring Operation: 23-7=16, Resulting Numbers: [86, 10, 16] Generated Node #0,1: 85:[86, 10, 16] Operation: 23-7=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[86, 23, 17], Operations: ['7+10=17'] Exploring Operation: 86-23=63, Resulting Numbers: [17, 63] Generated Node #0,0,0: 85:[17, 63] Operation: 86-23=63 Exploring Operation: 23-17=6, Resulting Numbers: [86, 6] Generated Node #0,0,1: 85:[86, 6] Operation: 23-17=6 Moving to Node #0,0,1 Current State: 85:[86, 6], Operations: ['7+10=17', '23-17=6'] Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,85 unequal: No Solution Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,85 unequal: No Solution Moving to Node #0,0,0 Current State: 85:[17, 63], Operations: ['7+10=17', '86-23=63'] Exploring Operation: 63-17=46, Resulting Numbers: [46] 46,85 unequal: No Solution Exploring Operation: 17+63=80, Resulting Numbers: [80] 80,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[86, 10, 16], Operations: ['23-7=16'] Exploring Operation: 86-10=76, Resulting Numbers: [16, 76] Generated Node #0,1,0: 85:[16, 76] Operation: 86-10=76 Exploring Operation: 16-10=6, Resulting Numbers: [86, 6] Generated Node #0,1,1: 85:[86, 6] Operation: 16-10=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 85:[86, 6], Operations: ['23-7=16', '16-10=6'] Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,85 unequal: No Solution Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,85 unequal: No Solution No 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: 85:[16, 76], Operations: ['23-7=16', '86-10=76'] Exploring Operation: 16+76=92, Resulting Numbers: [92] 92,85 unequal: No Solution Exploring Operation: 76-16=60, Resulting Numbers: [60] 60,85 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
[ 3, 29, 99, 61 ]
55
[ "3*61=183", "29+99=128", "183-128=55" ]
Current State: 55:[3, 29, 99, 61], Operations: [] Exploring Operation: 3*61=183, Resulting Numbers: [29, 99, 183] Generated Node #2: [29, 99, 183] from Operation: 3*61=183 Current State: 55:[29, 99, 183], Operations: ['3*61=183'] Exploring Operation: 29+99=128, Resulting Numbers: [183, 128] Generated Node #3: [183, 128] from Operation: 29+99=128 Current State: 55:[183, 128], Operations: ['3*61=183', '29+99=128'] Exploring Operation: 183-128=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[3, 29, 99, 61], Operations: [] Exploring Operation: 29-3=26, Resulting Numbers: [99, 61, 26] Generated Node #0,0: 55:[99, 61, 26] Operation: 29-3=26 Exploring Operation: 99-29=70, Resulting Numbers: [3, 61, 70] Generated Node #0,1: 55:[3, 61, 70] Operation: 99-29=70 Exploring Operation: 99/3=33, Resulting Numbers: [29, 61, 33] Generated Node #0,2: 55:[29, 61, 33] Operation: 99/3=33 Exploring Operation: 99-61=38, Resulting Numbers: [3, 29, 38] Generated Node #0,3: 55:[3, 29, 38] Operation: 99-61=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[3, 61, 70], Operations: ['99-29=70'] Exploring Operation: 70-61=9, Resulting Numbers: [3, 9] Generated Node #0,1,0: 55:[3, 9] Operation: 70-61=9 Exploring Operation: 3+61=64, Resulting Numbers: [70, 64] Generated Node #0,1,1: 55:[70, 64] Operation: 3+61=64 Exploring Operation: 70-3=67, Resulting Numbers: [61, 67] Generated Node #0,1,2: 55:[61, 67] Operation: 70-3=67 Exploring Operation: 61-3=58, Resulting Numbers: [70, 58] Generated Node #0,1,3: 55:[70, 58] Operation: 61-3=58 Moving to Node #0,1,0 Current State: 55:[3, 9], Operations: ['99-29=70', '70-61=9'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,55 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,55 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,55 unequal: No Solution Moving to Node #0,1,3 Current State: 55:[70, 58], Operations: ['99-29=70', '61-3=58'] Exploring Operation: 70+58=128, Resulting Numbers: [128] 128,55 unequal: No Solution Exploring Operation: 70*58=4060, Resulting Numbers: [4060] 4060,55 unequal: No Solution Exploring Operation: 70-58=12, Resulting Numbers: [12] 12,55 unequal: No Solution Moving to Node #0,1,2 Current State: 55:[61, 67], Operations: ['99-29=70', '70-3=67'] Exploring Operation: 67-61=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 61*67=4087, Resulting Numbers: [4087] 4087,55 unequal: No Solution Exploring Operation: 61+67=128, Resulting Numbers: [128] 128,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[70, 64], Operations: ['99-29=70', '3+61=64'] Exploring Operation: 70-64=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 70+64=134, Resulting Numbers: [134] 134,55 unequal: No Solution Exploring Operation: 70*64=4480, Resulting Numbers: [4480] 4480,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[3, 29, 38], Operations: ['99-61=38'] Exploring Operation: 29+38=67, Resulting Numbers: [3, 67] Generated Node #0,3,0: 55:[3, 67] Operation: 29+38=67 Exploring Operation: 38-29=9, Resulting Numbers: [3, 9] Generated Node #0,3,1: 55:[3, 9] Operation: 38-29=9 Exploring Operation: 3+38=41, Resulting Numbers: [29, 41] Generated Node #0,3,2: 55:[29, 41] Operation: 3+38=41 Exploring Operation: 29-3=26, Resulting Numbers: [38, 26] Generated Node #0,3,3: 55:[38, 26] Operation: 29-3=26 Moving to Node #0,3,1 Current State: 55:[3, 9], Operations: ['99-61=38', '38-29=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,55 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[3, 67], Operations: ['99-61=38', '29+38=67'] Exploring Operation: 3*67=201, Resulting Numbers: [201] 201,55 unequal: No Solution Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,55 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[38, 26], Operations: ['99-61=38', '29-3=26'] Exploring Operation: 38+26=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 38*26=988, Resulting Numbers: [988] 988,55 unequal: No Solution Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[29, 41], Operations: ['99-61=38', '3+38=41'] Exploring Operation: 29+41=70, Resulting Numbers: [70] 70,55 unequal: No Solution Exploring Operation: 29*41=1189, Resulting Numbers: [1189] 1189,55 unequal: No Solution Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[29, 61, 33], Operations: ['99/3=33'] Exploring Operation: 29+33=62, Resulting Numbers: [61, 62] Generated Node #0,2,0: 55:[61, 62] Operation: 29+33=62 Exploring Operation: 61-33=28, Resulting Numbers: [29, 28] Generated Node #0,2,1: 55:[29, 28] Operation: 61-33=28 Exploring Operation: 61-29=32, Resulting Numbers: [33, 32] Generated Node #0,2,2: 55:[33, 32] Operation: 61-29=32 Exploring Operation: 33-29=4, Resulting Numbers: [61, 4] Generated Node #0,2,3: 55:[61, 4] Operation: 33-29=4 Moving to Node #0,2,3 Current State: 55:[61, 4], Operations: ['99/3=33', '33-29=4'] Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,55 unequal: No Solution Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,55 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[61, 62], Operations: ['99/3=33', '29+33=62'] Exploring Operation: 61*62=3782, Resulting Numbers: [3782] 3782,55 unequal: No Solution Exploring Operation: 61+62=123, Resulting Numbers: [123] 123,55 unequal: No Solution Exploring Operation: 62-61=1, Resulting Numbers: [1] 1,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[29, 28], Operations: ['99/3=33', '61-33=28'] Exploring Operation: 29+28=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 29*28=812, Resulting Numbers: [812] 812,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[33, 32], Operations: ['99/3=33', '61-29=32'] Exploring Operation: 33*32=1056, Resulting Numbers: [1056] 1056,55 unequal: No Solution Exploring Operation: 33+32=65, Resulting Numbers: [65] 65,55 unequal: No Solution Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,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 Current State: 55:[99, 61, 26], Operations: ['29-3=26'] Exploring Operation: 99+26=125, Resulting Numbers: [61, 125] Generated Node #0,0,0: 55:[61, 125] Operation: 99+26=125 Exploring Operation: 99-26=73, Resulting Numbers: [61, 73] Generated Node #0,0,1: 55:[61, 73] Operation: 99-26=73 Exploring Operation: 61-26=35, Resulting Numbers: [99, 35] Generated Node #0,0,2: 55:[99, 35] Operation: 61-26=35 Exploring Operation: 99-61=38, Resulting Numbers: [26, 38] Generated Node #0,0,3: 55:[26, 38] Operation: 99-61=38 Moving to Node #0,0,1 Current State: 55:[61, 73], Operations: ['29-3=26', '99-26=73'] Exploring Operation: 61*73=4453, Resulting Numbers: [4453] 4453,55 unequal: No Solution Exploring Operation: 61+73=134, Resulting Numbers: [134] 134,55 unequal: No Solution Exploring Operation: 73-61=12, Resulting Numbers: [12] 12,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[26, 38], Operations: ['29-3=26', '99-61=38'] Exploring Operation: 26*38=988, Resulting Numbers: [988] 988,55 unequal: No Solution Exploring Operation: 26+38=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[99, 35], Operations: ['29-3=26', '61-26=35'] Exploring Operation: 99*35=3465, Resulting Numbers: [3465] 3465,55 unequal: No Solution Exploring Operation: 99-35=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 99+35=134, Resulting Numbers: [134] 134,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[61, 125], Operations: ['29-3=26', '99+26=125'] Exploring Operation: 61+125=186, Resulting Numbers: [186] 186,55 unequal: No Solution Exploring Operation: 125-61=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 61*125=7625, Resulting Numbers: [7625] 7625,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 88, 81, 93, 66 ]
75
[ "93-88=5", "81-66=15", "5*15=75" ]
Current State: 75:[88, 81, 93, 66], Operations: [] Exploring Operation: 93-88=5, Resulting Numbers: [81, 66, 5] Generated Node #2: [81, 66, 5] from Operation: 93-88=5 Current State: 75:[81, 66, 5], Operations: ['93-88=5'] Exploring Operation: 81-66=15, Resulting Numbers: [5, 15] Generated Node #3: [5, 15] from Operation: 81-66=15 Current State: 75:[5, 15], Operations: ['93-88=5', '81-66=15'] Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[88, 81, 93, 66], Operations: [] Exploring Operation: 93-81=12, Resulting Numbers: [88, 66, 12] Generated Node #0,0: 75:[88, 66, 12] Operation: 93-81=12 Exploring Operation: 93-66=27, Resulting Numbers: [88, 81, 27] Generated Node #0,1: 75:[88, 81, 27] Operation: 93-66=27 Exploring Operation: 88-66=22, Resulting Numbers: [81, 93, 22] Generated Node #0,2: 75:[81, 93, 22] Operation: 88-66=22 Exploring Operation: 93-88=5, Resulting Numbers: [81, 66, 5] Generated Node #0,3: 75:[81, 66, 5] Operation: 93-88=5 Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[81, 66, 5], Operations: ['93-88=5'] Exploring Operation: 66+5=71, Resulting Numbers: [81, 71] Generated Node #0,3,0: 75:[81, 71] Operation: 66+5=71 Exploring Operation: 81-66=15, Resulting Numbers: [5, 15] Generated Node #0,3,1: 75:[5, 15] Operation: 81-66=15 Exploring Operation: 81-5=76, Resulting Numbers: [66, 76] Generated Node #0,3,2: 75:[66, 76] Operation: 81-5=76 Exploring Operation: 81+5=86, Resulting Numbers: [66, 86] Generated Node #0,3,3: 75:[66, 86] Operation: 81+5=86 Moving to Node #0,3,1 Current State: 75:[5, 15], Operations: ['93-88=5', '81-66=15'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[88, 81, 93, 66], Operations: [] Exploring Operation: 93-88=5, Resulting Numbers: [81, 66, 5] Generated Node #0,3: 75:[81, 66, 5] Operation: 93-88=5 Moving to Node #0,3 Current State: 75:[81, 66, 5], Operations: ['93-88=5'] Exploring Operation: 81-66=15, Resulting Numbers: [5, 15] Generated Node #0,3,1: 75:[5, 15] Operation: 81-66=15 Moving to Node #0,3,1 Current State: 75:[5, 15], Operations: ['93-88=5', '81-66=15'] Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 91, 85, 12, 42 ]
84
[ "91-85=6", "12*42=504", "504/6=84" ]
Current State: 84:[91, 85, 12, 42], Operations: [] Exploring Operation: 91-85=6, Resulting Numbers: [12, 42, 6] Generated Node #2: [12, 42, 6] from Operation: 91-85=6 Current State: 84:[12, 42, 6], Operations: ['91-85=6'] Exploring Operation: 12*42=504, Resulting Numbers: [6, 504] Generated Node #3: [6, 504] from Operation: 12*42=504 Current State: 84:[6, 504], Operations: ['91-85=6', '12*42=504'] Exploring Operation: 504/6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[91, 85, 12, 42], Operations: [] Exploring Operation: 85-42=43, Resulting Numbers: [91, 12, 43] Generated Node #0,0: 84:[91, 12, 43] Operation: 85-42=43 Exploring Operation: 91-85=6, Resulting Numbers: [12, 42, 6] Generated Node #0,1: 84:[12, 42, 6] Operation: 91-85=6 Exploring Operation: 91-42=49, Resulting Numbers: [85, 12, 49] Generated Node #0,2: 84:[85, 12, 49] Operation: 91-42=49 Exploring Operation: 91-12=79, Resulting Numbers: [85, 42, 79] Generated Node #0,3: 84:[85, 42, 79] Operation: 91-12=79 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[12, 42, 6], Operations: ['91-85=6'] Exploring Operation: 42/6=7, Resulting Numbers: [12, 7] Generated Node #0,1,0: 84:[12, 7] Operation: 42/6=7 Exploring Operation: 12/6=2, Resulting Numbers: [42, 2] Generated Node #0,1,1: 84:[42, 2] Operation: 12/6=2 Exploring Operation: 42-12=30, Resulting Numbers: [6, 30] Generated Node #0,1,2: 84:[6, 30] Operation: 42-12=30 Exploring Operation: 12-6=6, Resulting Numbers: [42, 6] Generated Node #0,1,3: 84:[42, 6] Operation: 12-6=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 84:[12, 7], Operations: ['91-85=6', '42/6=7'] Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[91, 85, 12, 42], Operations: [] Exploring Operation: 91-85=6, Resulting Numbers: [12, 42, 6] Generated Node #0,1: 84:[12, 42, 6] Operation: 91-85=6 Moving to Node #0,1 Current State: 84:[12, 42, 6], Operations: ['91-85=6'] Exploring Operation: 42/6=7, Resulting Numbers: [12, 7] Generated Node #0,1,0: 84:[12, 7] Operation: 42/6=7 Moving to Node #0,1,0 Current State: 84:[12, 7], Operations: ['91-85=6', '42/6=7'] Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 33, 80, 91, 21 ]
43
[ "33+80=113", "91-21=70", "113-70=43" ]
Current State: 43:[33, 80, 91, 21], Operations: [] Exploring Operation: 33+80=113, Resulting Numbers: [91, 21, 113] Generated Node #2: [91, 21, 113] from Operation: 33+80=113 Current State: 43:[91, 21, 113], Operations: ['33+80=113'] Exploring Operation: 91-21=70, Resulting Numbers: [113, 70] Generated Node #3: [113, 70] from Operation: 91-21=70 Current State: 43:[113, 70], Operations: ['33+80=113', '91-21=70'] Exploring Operation: 113-70=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[33, 80, 91, 21], Operations: [] Exploring Operation: 80-33=47, Resulting Numbers: [91, 21, 47] Generated Node #0,0: 43:[91, 21, 47] Operation: 80-33=47 Exploring Operation: 91-21=70, Resulting Numbers: [33, 80, 70] Generated Node #0,1: 43:[33, 80, 70] Operation: 91-21=70 Exploring Operation: 91-80=11, Resulting Numbers: [33, 21, 11] Generated Node #0,2: 43:[33, 21, 11] Operation: 91-80=11 Exploring Operation: 91-33=58, Resulting Numbers: [80, 21, 58] Generated Node #0,3: 43:[80, 21, 58] Operation: 91-33=58 Exploring Operation: 80-21=59, Resulting Numbers: [33, 91, 59] Generated Node #0,4: 43:[33, 91, 59] Operation: 80-21=59 Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[33, 21, 11], Operations: ['91-80=11'] Exploring Operation: 33+11=44, Resulting Numbers: [21, 44] Generated Node #0,2,0: 43:[21, 44] Operation: 33+11=44 Exploring Operation: 21-11=10, Resulting Numbers: [33, 10] Generated Node #0,2,1: 43:[33, 10] Operation: 21-11=10 Exploring Operation: 21+11=32, Resulting Numbers: [33, 32] Generated Node #0,2,2: 43:[33, 32] Operation: 21+11=32 Exploring Operation: 33-11=22, Resulting Numbers: [21, 22] Generated Node #0,2,3: 43:[21, 22] Operation: 33-11=22 Exploring Operation: 33+21=54, Resulting Numbers: [11, 54] Generated Node #0,2,4: 43:[11, 54] Operation: 33+21=54 Moving to Node #0,2,2 Current State: 43:[33, 32], Operations: ['91-80=11', '21+11=32'] Exploring Operation: 33*32=1056, Resulting Numbers: [1056] 1056,43 unequal: No Solution Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 33+32=65, Resulting Numbers: [65] 65,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[21, 44], Operations: ['91-80=11', '33+11=44'] Exploring Operation: 21+44=65, Resulting Numbers: [65] 65,43 unequal: No Solution Exploring Operation: 21*44=924, Resulting Numbers: [924] 924,43 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[33, 10], Operations: ['91-80=11', '21-11=10'] Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[33, 80, 91, 21], Operations: [] Exploring Operation: 91-80=11, Resulting Numbers: [33, 21, 11] Generated Node #0,2: 43:[33, 21, 11] Operation: 91-80=11 Moving to Node #0,2 Current State: 43:[33, 21, 11], Operations: ['91-80=11'] Exploring Operation: 21-11=10, Resulting Numbers: [33, 10] Generated Node #0,2,1: 43:[33, 10] Operation: 21-11=10 Moving to Node #0,2,1 Current State: 43:[33, 10], Operations: ['91-80=11', '21-11=10'] Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 89, 72, 91, 97 ]
82
[ "97-89=8", "72/8=9", "91-9=82" ]
Current State: 82:[89, 72, 91, 97], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [72, 91, 8] Generated Node #2: [72, 91, 8] from Operation: 97-89=8 Current State: 82:[72, 91, 8], Operations: ['97-89=8'] Exploring Operation: 72/8=9, Resulting Numbers: [91, 9] Generated Node #3: [91, 9] from Operation: 72/8=9 Current State: 82:[91, 9], Operations: ['97-89=8', '72/8=9'] Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[89, 72, 91, 97], Operations: [] Exploring Operation: 97-72=25, Resulting Numbers: [89, 91, 25] Generated Node #0,0: 82:[89, 91, 25] Operation: 97-72=25 Exploring Operation: 97-89=8, Resulting Numbers: [72, 91, 8] Generated Node #0,1: 82:[72, 91, 8] Operation: 97-89=8 Exploring Operation: 91-89=2, Resulting Numbers: [72, 97, 2] Generated Node #0,2: 82:[72, 97, 2] Operation: 91-89=2 Exploring Operation: 97-91=6, Resulting Numbers: [89, 72, 6] Generated Node #0,3: 82:[89, 72, 6] Operation: 97-91=6 Moving to Node #0,3 Current State: 82:[89, 72, 6], Operations: ['97-91=6'] Exploring Operation: 89-6=83, Resulting Numbers: [72, 83] Generated Node #0,3,0: 82:[72, 83] Operation: 89-6=83 Exploring Operation: 72/6=12, Resulting Numbers: [89, 12] Generated Node #0,3,1: 82:[89, 12] Operation: 72/6=12 Exploring Operation: 89-72=17, Resulting Numbers: [6, 17] Generated Node #0,3,2: 82:[6, 17] Operation: 89-72=17 Exploring Operation: 72+6=78, Resulting Numbers: [89, 78] Generated Node #0,3,3: 82:[89, 78] Operation: 72+6=78 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 82:[72, 83], Operations: ['97-91=6', '89-6=83'] Exploring Operation: 83-72=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 72*83=5976, Resulting Numbers: [5976] 5976,82 unequal: No Solution Exploring Operation: 72+83=155, Resulting Numbers: [155] 155,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:[89, 78], Operations: ['97-91=6', '72+6=78'] Exploring Operation: 89*78=6942, Resulting Numbers: [6942] 6942,82 unequal: No Solution Exploring Operation: 89+78=167, Resulting Numbers: [167] 167,82 unequal: No Solution Exploring Operation: 89-78=11, Resulting Numbers: [11] 11,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:[89, 12], Operations: ['97-91=6', '72/6=12'] Exploring Operation: 89*12=1068, Resulting Numbers: [1068] 1068,82 unequal: No Solution Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 89+12=101, Resulting Numbers: [101] 101,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,2 Current State: 82:[6, 17], Operations: ['97-91=6', '89-72=17'] Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,82 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 82:[72, 97, 2], Operations: ['91-89=2'] Exploring Operation: 72+2=74, Resulting Numbers: [97, 74] Generated Node #0,2,0: 82:[97, 74] Operation: 72+2=74 Exploring Operation: 97-2=95, Resulting Numbers: [72, 95] Generated Node #0,2,1: 82:[72, 95] Operation: 97-2=95 Exploring Operation: 72/2=36, Resulting Numbers: [97, 36] Generated Node #0,2,2: 82:[97, 36] Operation: 72/2=36 Exploring Operation: 97-72=25, Resulting Numbers: [2, 25] Generated Node #0,2,3: 82:[2, 25] Operation: 97-72=25 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 82:[2, 25], Operations: ['91-89=2', '97-72=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,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,2,2 Current State: 82:[97, 36], Operations: ['91-89=2', '72/2=36'] Exploring Operation: 97+36=133, Resulting Numbers: [133] 133,82 unequal: No Solution Exploring Operation: 97*36=3492, Resulting Numbers: [3492] 3492,82 unequal: No Solution Exploring Operation: 97-36=61, Resulting Numbers: [61] 61,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,2,0 Current State: 82:[97, 74], Operations: ['91-89=2', '72+2=74'] Exploring Operation: 97-74=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 97+74=171, Resulting Numbers: [171] 171,82 unequal: No Solution Exploring Operation: 97*74=7178, Resulting Numbers: [7178] 7178,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,2,1 Current State: 82:[72, 95], Operations: ['91-89=2', '97-2=95'] Exploring Operation: 72+95=167, Resulting Numbers: [167] 167,82 unequal: No Solution Exploring Operation: 72*95=6840, Resulting Numbers: [6840] 6840,82 unequal: No Solution Exploring Operation: 95-72=23, Resulting Numbers: [23] 23,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:[72, 91, 8], Operations: ['97-89=8'] Exploring Operation: 72+8=80, Resulting Numbers: [91, 80] Generated Node #0,1,0: 82:[91, 80] Operation: 72+8=80 Exploring Operation: 91-72=19, Resulting Numbers: [8, 19] Generated Node #0,1,1: 82:[8, 19] Operation: 91-72=19 Exploring Operation: 91-8=83, Resulting Numbers: [72, 83] Generated Node #0,1,2: 82:[72, 83] Operation: 91-8=83 Exploring Operation: 72/8=9, Resulting Numbers: [91, 9] Generated Node #0,1,3: 82:[91, 9] Operation: 72/8=9 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[91, 80], Operations: ['97-89=8', '72+8=80'] Exploring Operation: 91-80=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 91*80=7280, Resulting Numbers: [7280] 7280,82 unequal: No Solution Exploring Operation: 91+80=171, Resulting Numbers: [171] 171,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[72, 83], Operations: ['97-89=8', '91-8=83'] Exploring Operation: 72+83=155, Resulting Numbers: [155] 155,82 unequal: No Solution Exploring Operation: 83-72=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 72*83=5976, Resulting Numbers: [5976] 5976,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:[91, 9], Operations: ['97-89=8', '72/8=9'] Exploring Operation: 91+9=100, Resulting Numbers: [100] 100,82 unequal: No Solution Exploring Operation: 91*9=819, Resulting Numbers: [819] 819,82 unequal: No Solution Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[89, 72, 91, 97], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [72, 91, 8] Generated Node #0,1: 82:[72, 91, 8] Operation: 97-89=8 Moving to Node #0,1 Current State: 82:[72, 91, 8], Operations: ['97-89=8'] Exploring Operation: 72/8=9, Resulting Numbers: [91, 9] Generated Node #0,1,3: 82:[91, 9] Operation: 72/8=9 Moving to Node #0,1,3 Current State: 82:[91, 9], Operations: ['97-89=8', '72/8=9'] Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.953993
hs_4
mult_heuristic
[ 20, 2, 40, 60 ]
60
[ "20*2=40", "40+60=100", "100-40=60" ]
Current State: 60:[20, 2, 40, 60], Operations: [] Exploring Operation: 20*2=40, Resulting Numbers: [40, 60, 40] Generated Node #2: [40, 60, 40] from Operation: 20*2=40 Current State: 60:[40, 60, 40], Operations: ['20*2=40'] Exploring Operation: 40+60=100, Resulting Numbers: [100] 100,60 equal: Goal Reached Exploring Operation: 100-40=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[20, 2, 40, 60], Operations: [] Exploring Operation: 20+40=60, Resulting Numbers: [2, 60, 60] Generated Node #0,0: 60:[2, 60, 60] Operation: 20+40=60 Exploring Operation: 40-20=20, Resulting Numbers: [2, 60, 20] Generated Node #0,1: 60:[2, 60, 20] Operation: 40-20=20 Exploring Operation: 40/20=2, Resulting Numbers: [2, 60, 2] Generated Node #0,2: 60:[2, 60, 2] Operation: 40/20=2 Moving to Node #0,0 Current State: 60:[2, 60, 60], Operations: ['20+40=60'] Exploring Operation: 60/2=30, Resulting Numbers: [60, 30] Generated Node #0,0,0: 60:[60, 30] Operation: 60/2=30 Exploring Operation: 60/60=1, Resulting Numbers: [2, 1] Generated Node #0,0,1: 60:[2, 1] Operation: 60/60=1 Exploring Operation: 60/2=30, Resulting Numbers: [60, 30] Generated Node #0,0,2: 60:[60, 30] Operation: 60/2=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[60, 30], Operations: ['20+40=60', '60/2=30'] Exploring Operation: 60+30=90, Resulting Numbers: [90] 90,60 unequal: No Solution Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,60 unequal: No Solution No 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: 60:[60, 30], Operations: ['20+40=60', '60/2=30'] Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 60+30=90, Resulting Numbers: [90] 90,60 unequal: No Solution No 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: 60:[2, 1], Operations: ['20+40=60', '60/60=1'] Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,60 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: 60:[2, 60, 20], Operations: ['40-20=20'] Exploring Operation: 60/2=30, Resulting Numbers: [20, 30] Generated Node #0,1,0: 60:[20, 30] Operation: 60/2=30 Exploring Operation: 20/2=10, Resulting Numbers: [60, 10] Generated Node #0,1,1: 60:[60, 10] Operation: 20/2=10 Exploring Operation: 60/20=3, Resulting Numbers: [2, 3] Generated Node #0,1,2: 60:[2, 3] Operation: 60/20=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[20, 30], Operations: ['40-20=20', '60/2=30'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,60 unequal: No Solution Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,60 unequal: No Solution No 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: 60:[60, 10], Operations: ['40-20=20', '20/2=10'] Exploring Operation: 60+10=70, Resulting Numbers: [70] 70,60 unequal: No Solution Exploring Operation: 60/10=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 60-10=50, Resulting Numbers: [50] 50,60 unequal: No Solution No 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: 60:[2, 3], Operations: ['40-20=20', '60/20=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,60 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: 60:[2, 60, 2], Operations: ['40/20=2'] Exploring Operation: 2*2=4, Resulting Numbers: [60, 4] Generated Node #0,2,0: 60:[60, 4] Operation: 2*2=4 Exploring Operation: 2+2=4, Resulting Numbers: [60, 4] Generated Node #0,2,1: 60:[60, 4] Operation: 2+2=4 Exploring Operation: 60/2=30, Resulting Numbers: [2, 30] Generated Node #0,2,2: 60:[2, 30] Operation: 60/2=30 Moving to Node #0,2,0 Current State: 60:[60, 4], Operations: ['40/20=2', '2*2=4'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,60 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,60 unequal: No Solution Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[60, 4], Operations: ['40/20=2', '2+2=4'] Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,60 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,60 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[2, 30], Operations: ['40/20=2', '60/2=30'] Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,60 unequal: No Solution Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[20, 2, 40, 60], Operations: [] Exploring Operation: 40/20=2, Resulting Numbers: [2, 60, 2] Generated Node #0,2: 60:[2, 60, 2] Operation: 40/20=2 Moving to Node #0,2 Current State: 60:[2, 60, 2], Operations: ['40/20=2'] Exploring Operation: 60/2=30, Resulting Numbers: [2, 30] Generated Node #0,2,2: 60:[2, 30] Operation: 60/2=30 Moving to Node #0,2,2 Current State: 60:[2, 30], Operations: ['40/20=2', '60/2=30'] Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.962674
hs_3
sum_heuristic
[ 29, 97, 19, 75 ]
87
[ "97-19=78", "78-75=3", "29*3=87" ]
Current State: 87:[29, 97, 19, 75], Operations: [] Exploring Operation: 97-19=78, Resulting Numbers: [29, 75, 78] Generated Node #2: [29, 75, 78] from Operation: 97-19=78 Current State: 87:[29, 75, 78], Operations: ['97-19=78'] Exploring Operation: 78-75=3, Resulting Numbers: [29, 3] Generated Node #3: [29, 3] from Operation: 78-75=3 Current State: 87:[29, 3], Operations: ['97-19=78', '78-75=3'] Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[29, 97, 19, 75], Operations: [] Exploring Operation: 97-19=78, Resulting Numbers: [29, 75, 78] Generated Node #0,0: 87:[29, 75, 78] Operation: 97-19=78 Exploring Operation: 97-75=22, Resulting Numbers: [29, 19, 22] Generated Node #0,1: 87:[29, 19, 22] Operation: 97-75=22 Exploring Operation: 19+75=94, Resulting Numbers: [29, 97, 94] Generated Node #0,2: 87:[29, 97, 94] Operation: 19+75=94 Exploring Operation: 29-19=10, Resulting Numbers: [97, 75, 10] Generated Node #0,3: 87:[97, 75, 10] Operation: 29-19=10 Moving to Node #0,1 Current State: 87:[29, 19, 22], Operations: ['97-75=22'] Exploring Operation: 22-19=3, Resulting Numbers: [29, 3] Generated Node #0,1,0: 87:[29, 3] Operation: 22-19=3 Exploring Operation: 19+22=41, Resulting Numbers: [29, 41] Generated Node #0,1,1: 87:[29, 41] Operation: 19+22=41 Exploring Operation: 29-22=7, Resulting Numbers: [19, 7] Generated Node #0,1,2: 87:[19, 7] Operation: 29-22=7 Exploring Operation: 29-19=10, Resulting Numbers: [22, 10] Generated Node #0,1,3: 87:[22, 10] Operation: 29-19=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[29, 3], Operations: ['97-75=22', '22-19=3'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,87 unequal: No Solution Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[29, 97, 19, 75], Operations: [] Exploring Operation: 97-75=22, Resulting Numbers: [29, 19, 22] Generated Node #0,1: 87:[29, 19, 22] Operation: 97-75=22 Moving to Node #0,1 Current State: 87:[29, 19, 22], Operations: ['97-75=22'] Exploring Operation: 22-19=3, Resulting Numbers: [29, 3] Generated Node #0,1,0: 87:[29, 3] Operation: 22-19=3 Moving to Node #0,1,0 Current State: 87:[29, 3], Operations: ['97-75=22', '22-19=3'] Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 84, 68, 80, 53 ]
36
[ "84-80=4", "68/4=17", "53-17=36" ]
Current State: 36:[84, 68, 80, 53], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [68, 53, 4] Generated Node #2: [68, 53, 4] from Operation: 84-80=4 Current State: 36:[68, 53, 4], Operations: ['84-80=4'] Exploring Operation: 68/4=17, Resulting Numbers: [53, 17] Generated Node #3: [53, 17] from Operation: 68/4=17 Current State: 36:[53, 17], Operations: ['84-80=4', '68/4=17'] Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[84, 68, 80, 53], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [68, 53, 4] Generated Node #0,0: 36:[68, 53, 4] Operation: 84-80=4 Moving to Node #0,0 Current State: 36:[68, 53, 4], Operations: ['84-80=4'] Exploring Operation: 68-53=15, Resulting Numbers: [4, 15] Generated Node #0,0,0: 36:[4, 15] Operation: 68-53=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[4, 15], Operations: ['84-80=4', '68-53=15'] Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 8, 55, 10, 91 ]
45
[ "91-55=36", "10*36=360", "360/8=45" ]
Current State: 45:[8, 55, 10, 91], Operations: [] Exploring Operation: 91-55=36, Resulting Numbers: [8, 10, 36] Generated Node #2: [8, 10, 36] from Operation: 91-55=36 Current State: 45:[8, 10, 36], Operations: ['91-55=36'] Exploring Operation: 10*36=360, Resulting Numbers: [8, 360] Generated Node #3: [8, 360] from Operation: 10*36=360 Current State: 45:[8, 360], Operations: ['91-55=36', '10*36=360'] Exploring Operation: 360/8=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[8, 55, 10, 91], Operations: [] Exploring Operation: 55-10=45, Resulting Numbers: [8, 91, 45] Generated Node #0,0: 45:[8, 91, 45] Operation: 55-10=45 Exploring Operation: 91-55=36, Resulting Numbers: [8, 10, 36] Generated Node #0,1: 45:[8, 10, 36] Operation: 91-55=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[8, 10, 36], Operations: ['91-55=36'] Exploring Operation: 10+36=46, Resulting Numbers: [8, 46] Generated Node #0,1,0: 45:[8, 46] Operation: 10+36=46 Exploring Operation: 8+36=44, Resulting Numbers: [10, 44] Generated Node #0,1,1: 45:[10, 44] Operation: 8+36=44 Moving to Node #0,1,0 Current State: 45:[8, 46], Operations: ['91-55=36', '10+36=46'] Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[10, 44], Operations: ['91-55=36', '8+36=44'] Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 10+44=54, Resulting Numbers: [54] 54,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[8, 91, 45], Operations: ['55-10=45'] Exploring Operation: 91-8=83, Resulting Numbers: [45, 83] Generated Node #0,0,0: 45:[45, 83] Operation: 91-8=83 Exploring Operation: 91-45=46, Resulting Numbers: [8, 46] Generated Node #0,0,1: 45:[8, 46] Operation: 91-45=46 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 45:[8, 46], Operations: ['55-10=45', '91-45=46'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,45 unequal: No Solution No 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: 45:[45, 83], Operations: ['55-10=45', '91-8=83'] Exploring Operation: 83-45=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 45+83=128, Resulting Numbers: [128] 128,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 59, 13, 85, 98 ]
88
[ "98-59=39", "39/13=3", "85+3=88" ]
Current State: 88:[59, 13, 85, 98], Operations: [] Exploring Operation: 98-59=39, Resulting Numbers: [13, 85, 39] Generated Node #2: [13, 85, 39] from Operation: 98-59=39 Current State: 88:[13, 85, 39], Operations: ['98-59=39'] Exploring Operation: 39/13=3, Resulting Numbers: [85, 3] Generated Node #3: [85, 3] from Operation: 39/13=3 Current State: 88:[85, 3], Operations: ['98-59=39', '39/13=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[59, 13, 85, 98], Operations: [] Exploring Operation: 98-59=39, Resulting Numbers: [13, 85, 39] Generated Node #0,0: 88:[13, 85, 39] Operation: 98-59=39 Exploring Operation: 98-85=13, Resulting Numbers: [59, 13, 13] Generated Node #0,1: 88:[59, 13, 13] Operation: 98-85=13 Exploring Operation: 85-59=26, Resulting Numbers: [13, 98, 26] Generated Node #0,2: 88:[13, 98, 26] Operation: 85-59=26 Exploring Operation: 59-13=46, Resulting Numbers: [85, 98, 46] Generated Node #0,3: 88:[85, 98, 46] Operation: 59-13=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[13, 85, 39], Operations: ['98-59=39'] Exploring Operation: 85-39=46, Resulting Numbers: [13, 46] Generated Node #0,0,0: 88:[13, 46] Operation: 85-39=46 Exploring Operation: 39-13=26, Resulting Numbers: [85, 26] Generated Node #0,0,1: 88:[85, 26] Operation: 39-13=26 Exploring Operation: 13+39=52, Resulting Numbers: [85, 52] Generated Node #0,0,2: 88:[85, 52] Operation: 13+39=52 Exploring Operation: 39/13=3, Resulting Numbers: [85, 3] Generated Node #0,0,3: 88:[85, 3] Operation: 39/13=3 Moving to Node #0,0,0 Current State: 88:[13, 46], Operations: ['98-59=39', '85-39=46'] Exploring Operation: 13+46=59, Resulting Numbers: [59] 59,88 unequal: No Solution Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,88 unequal: No Solution Exploring Operation: 13*46=598, Resulting Numbers: [598] 598,88 unequal: No Solution Moving to Node #0,0,3 Current State: 88:[85, 3], Operations: ['98-59=39', '39/13=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,88 unequal: No Solution Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[59, 13, 85, 98], Operations: [] Exploring Operation: 98-59=39, Resulting Numbers: [13, 85, 39] Generated Node #0,0: 88:[13, 85, 39] Operation: 98-59=39 Moving to Node #0,0 Current State: 88:[13, 85, 39], Operations: ['98-59=39'] Exploring Operation: 39/13=3, Resulting Numbers: [85, 3] Generated Node #0,0,3: 88:[85, 3] Operation: 39/13=3 Moving to Node #0,0,3 Current State: 88:[85, 3], Operations: ['98-59=39', '39/13=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 85, 30, 5, 5 ]
16
[ "85-30=55", "55/5=11", "5+11=16" ]
Current State: 16:[85, 30, 5, 5], Operations: [] Exploring Operation: 85-30=55, Resulting Numbers: [5, 5, 55] Generated Node #2: [5, 5, 55] from Operation: 85-30=55 Current State: 16:[5, 5, 55], Operations: ['85-30=55'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,16 equal: Goal Reached Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[85, 30, 5, 5], Operations: [] Exploring Operation: 85/5=17, Resulting Numbers: [30, 5, 17] Generated Node #0,0: 16:[30, 5, 17] Operation: 85/5=17 Exploring Operation: 85/5=17, Resulting Numbers: [30, 5, 17] Generated Node #0,1: 16:[30, 5, 17] Operation: 85/5=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[30, 5, 17], Operations: ['85/5=17'] Exploring Operation: 30/5=6, Resulting Numbers: [17, 6] Generated Node #0,0,0: 16:[17, 6] Operation: 30/5=6 Exploring Operation: 30-17=13, Resulting Numbers: [5, 13] Generated Node #0,0,1: 16:[5, 13] Operation: 30-17=13 Moving to Node #0,0,0 Current State: 16:[17, 6], Operations: ['85/5=17', '30/5=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,16 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[5, 13], Operations: ['85/5=17', '30-17=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[30, 5, 17], Operations: ['85/5=17'] Exploring Operation: 30/5=6, Resulting Numbers: [17, 6] Generated Node #0,1,0: 16:[17, 6] Operation: 30/5=6 Exploring Operation: 30-17=13, Resulting Numbers: [5, 13] Generated Node #0,1,1: 16:[5, 13] Operation: 30-17=13 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 16:[17, 6], Operations: ['85/5=17', '30/5=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 16:[5, 13], Operations: ['85/5=17', '30-17=13'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 65, 26, 73, 35 ]
95
[ "73-35=38", "65*38=2470", "2470/26=95" ]
Current State: 95:[65, 26, 73, 35], Operations: [] Exploring Operation: 73-35=38, Resulting Numbers: [65, 26, 38] Generated Node #2: [65, 26, 38] from Operation: 73-35=38 Current State: 95:[65, 26, 38], Operations: ['73-35=38'] Exploring Operation: 65*38=2470, Resulting Numbers: [26, 2470] Generated Node #3: [26, 2470] from Operation: 65*38=2470 Current State: 95:[26, 2470], Operations: ['73-35=38', '65*38=2470'] Exploring Operation: 2470/26=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[65, 26, 73, 35], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [26, 35, 8] Generated Node #0,0: 95:[26, 35, 8] Operation: 73-65=8 Exploring Operation: 65+35=100, Resulting Numbers: [26, 73, 100] Generated Node #0,1: 95:[26, 73, 100] Operation: 65+35=100 Moving to Node #0,0 Current State: 95:[26, 35, 8], Operations: ['73-65=8'] Exploring Operation: 35-26=9, Resulting Numbers: [8, 9] Generated Node #0,0,0: 95:[8, 9] Operation: 35-26=9 Exploring Operation: 35-8=27, Resulting Numbers: [26, 27] Generated Node #0,0,1: 95:[26, 27] Operation: 35-8=27 Moving to Node #0,1 Current State: 95:[26, 73, 100], Operations: ['65+35=100'] Exploring Operation: 100-73=27, Resulting Numbers: [26, 27] Generated Node #0,1,0: 95:[26, 27] Operation: 100-73=27 Exploring Operation: 26+73=99, Resulting Numbers: [100, 99] Generated Node #0,1,1: 95:[100, 99] Operation: 26+73=99 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[100, 99], Operations: ['65+35=100', '26+73=99'] Exploring Operation: 100+99=199, Resulting Numbers: [199] 199,95 unequal: No Solution Exploring Operation: 100-99=1, Resulting Numbers: [1] 1,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[26, 27], Operations: ['65+35=100', '100-73=27'] Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,95 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 95:[8, 9], Operations: ['73-65=8', '35-26=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[26, 27], Operations: ['73-65=8', '35-8=27'] Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,95 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,95 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 65, 2, 32, 3 ]
19
[ "2+3=5", "65/5=13", "32-13=19" ]
Current State: 19:[65, 2, 32, 3], Operations: [] Exploring Operation: 2+3=5, Resulting Numbers: [65, 32, 5] Generated Node #2: [65, 32, 5] from Operation: 2+3=5 Current State: 19:[65, 32, 5], Operations: ['2+3=5'] Exploring Operation: 65/5=13, Resulting Numbers: [32, 13] Generated Node #3: [32, 13] from Operation: 65/5=13 Current State: 19:[32, 13], Operations: ['2+3=5', '65/5=13'] Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[65, 2, 32, 3], Operations: [] Exploring Operation: 32/2=16, Resulting Numbers: [65, 3, 16] Generated Node #0,0: 19:[65, 3, 16] Operation: 32/2=16 Exploring Operation: 65-32=33, Resulting Numbers: [2, 3, 33] Generated Node #0,1: 19:[2, 3, 33] Operation: 65-32=33 Exploring Operation: 2*3=6, Resulting Numbers: [65, 32, 6] Generated Node #0,2: 19:[65, 32, 6] Operation: 2*3=6 Moving to Node #0,1 Current State: 19:[2, 3, 33], Operations: ['65-32=33'] Exploring Operation: 33/3=11, Resulting Numbers: [2, 11] Generated Node #0,1,0: 19:[2, 11] Operation: 33/3=11 Exploring Operation: 2*3=6, Resulting Numbers: [33, 6] Generated Node #0,1,1: 19:[33, 6] Operation: 2*3=6 Exploring Operation: 2+3=5, Resulting Numbers: [33, 5] Generated Node #0,1,2: 19:[33, 5] Operation: 2+3=5 Moving to Node #0,0 Current State: 19:[65, 3, 16], Operations: ['32/2=16'] Exploring Operation: 3+16=19, Resulting Numbers: [65, 19] Generated Node #0,0,0: 19:[65, 19] Operation: 3+16=19 Exploring Operation: 65-16=49, Resulting Numbers: [3, 49] Generated Node #0,0,1: 19:[3, 49] Operation: 65-16=49 Exploring Operation: 65-3=62, Resulting Numbers: [16, 62] Generated Node #0,0,2: 19:[16, 62] Operation: 65-3=62 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[65, 19], Operations: ['32/2=16', '3+16=19'] Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,19 unequal: No Solution Exploring Operation: 65+19=84, Resulting Numbers: [84] 84,19 unequal: No Solution Exploring Operation: 65*19=1235, Resulting Numbers: [1235] 1235,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,1 Current State: 19:[3, 49], Operations: ['32/2=16', '65-16=49'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,19 unequal: No Solution Exploring Operation: 3*49=147, Resulting Numbers: [147] 147,19 unequal: No Solution Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,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,2 Current State: 19:[16, 62], Operations: ['32/2=16', '65-3=62'] Exploring Operation: 16*62=992, Resulting Numbers: [992] 992,19 unequal: No Solution Exploring Operation: 16+62=78, Resulting Numbers: [78] 78,19 unequal: No Solution Exploring Operation: 62-16=46, Resulting Numbers: [46] 46,19 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: 19:[65, 32, 6], Operations: ['2*3=6'] Exploring Operation: 65-6=59, Resulting Numbers: [32, 59] Generated Node #0,2,0: 19:[32, 59] Operation: 65-6=59 Exploring Operation: 32-6=26, Resulting Numbers: [65, 26] Generated Node #0,2,1: 19:[65, 26] Operation: 32-6=26 Exploring Operation: 65-32=33, Resulting Numbers: [6, 33] Generated Node #0,2,2: 19:[6, 33] Operation: 65-32=33 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 19:[6, 33], Operations: ['2*3=6', '65-32=33'] Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,19 unequal: No Solution Exploring Operation: 6*33=198, Resulting Numbers: [198] 198,19 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,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:[32, 59], Operations: ['2*3=6', '65-6=59'] Exploring Operation: 32*59=1888, Resulting Numbers: [1888] 1888,19 unequal: No Solution Exploring Operation: 32+59=91, Resulting Numbers: [91] 91,19 unequal: No Solution Exploring Operation: 59-32=27, Resulting Numbers: [27] 27,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:[65, 26], Operations: ['2*3=6', '32-6=26'] Exploring Operation: 65-26=39, Resulting Numbers: [39] 39,19 unequal: No Solution Exploring Operation: 65+26=91, Resulting Numbers: [91] 91,19 unequal: No Solution Exploring Operation: 65*26=1690, Resulting Numbers: [1690] 1690,19 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: 19:[2, 11], Operations: ['65-32=33', '33/3=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[33, 6], Operations: ['65-32=33', '2*3=6'] Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,19 unequal: No Solution Exploring Operation: 33*6=198, Resulting Numbers: [198] 198,19 unequal: No Solution Exploring Operation: 33+6=39, Resulting Numbers: [39] 39,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[33, 5], Operations: ['65-32=33', '2+3=5'] Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,19 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,19 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 93, 84, 88, 35 ]
62
[ "93-84=9", "88-35=53", "9+53=62" ]
Current State: 62:[93, 84, 88, 35], Operations: [] Exploring Operation: 93-84=9, Resulting Numbers: [88, 35, 9] Generated Node #2: [88, 35, 9] from Operation: 93-84=9 Current State: 62:[88, 35, 9], Operations: ['93-84=9'] Exploring Operation: 88-35=53, Resulting Numbers: [9, 53] Generated Node #3: [9, 53] from Operation: 88-35=53 Current State: 62:[9, 53], Operations: ['93-84=9', '88-35=53'] Exploring Operation: 9+53=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[93, 84, 88, 35], Operations: [] Exploring Operation: 88-84=4, Resulting Numbers: [93, 35, 4] Generated Node #0,0: 62:[93, 35, 4] Operation: 88-84=4 Exploring Operation: 88-35=53, Resulting Numbers: [93, 84, 53] Generated Node #0,1: 62:[93, 84, 53] Operation: 88-35=53 Exploring Operation: 93-84=9, Resulting Numbers: [88, 35, 9] Generated Node #0,2: 62:[88, 35, 9] Operation: 93-84=9 Exploring Operation: 93-35=58, Resulting Numbers: [84, 88, 58] Generated Node #0,3: 62:[84, 88, 58] Operation: 93-35=58 Exploring Operation: 93-88=5, Resulting Numbers: [84, 35, 5] Generated Node #0,4: 62:[84, 35, 5] Operation: 93-88=5 Moving to Node #0,4 Current State: 62:[84, 35, 5], Operations: ['93-88=5'] Exploring Operation: 35/5=7, Resulting Numbers: [84, 7] Generated Node #0,4,0: 62:[84, 7] Operation: 35/5=7 Exploring Operation: 35-5=30, Resulting Numbers: [84, 30] Generated Node #0,4,1: 62:[84, 30] Operation: 35-5=30 Exploring Operation: 84-35=49, Resulting Numbers: [5, 49] Generated Node #0,4,2: 62:[5, 49] Operation: 84-35=49 Exploring Operation: 84+5=89, Resulting Numbers: [35, 89] Generated Node #0,4,3: 62:[35, 89] Operation: 84+5=89 Exploring Operation: 84-5=79, Resulting Numbers: [35, 79] Generated Node #0,4,4: 62:[35, 79] Operation: 84-5=79 Moving to Node #0,2 Current State: 62:[88, 35, 9], Operations: ['93-84=9'] Exploring Operation: 88-35=53, Resulting Numbers: [9, 53] Generated Node #0,2,0: 62:[9, 53] Operation: 88-35=53 Exploring Operation: 88-9=79, Resulting Numbers: [35, 79] Generated Node #0,2,1: 62:[35, 79] Operation: 88-9=79 Exploring Operation: 88+9=97, Resulting Numbers: [35, 97] Generated Node #0,2,2: 62:[35, 97] Operation: 88+9=97 Exploring Operation: 35-9=26, Resulting Numbers: [88, 26] Generated Node #0,2,3: 62:[88, 26] Operation: 35-9=26 Exploring Operation: 35+9=44, Resulting Numbers: [88, 44] Generated Node #0,2,4: 62:[88, 44] Operation: 35+9=44 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 62:[9, 53], Operations: ['93-84=9', '88-35=53'] Exploring Operation: 9+53=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[93, 84, 88, 35], Operations: [] Exploring Operation: 93-84=9, Resulting Numbers: [88, 35, 9] Generated Node #0,2: 62:[88, 35, 9] Operation: 93-84=9 Moving to Node #0,2 Current State: 62:[88, 35, 9], Operations: ['93-84=9'] Exploring Operation: 88-35=53, Resulting Numbers: [9, 53] Generated Node #0,2,0: 62:[9, 53] Operation: 88-35=53 Moving to Node #0,2,0 Current State: 62:[9, 53], Operations: ['93-84=9', '88-35=53'] Exploring Operation: 9+53=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 41, 77, 70, 69 ]
100
[ "41+69=110", "70*110=7700", "7700/77=100" ]
Current State: 100:[41, 77, 70, 69], Operations: [] Exploring Operation: 41+69=110, Resulting Numbers: [77, 70, 110] Generated Node #2: [77, 70, 110] from Operation: 41+69=110 Current State: 100:[77, 70, 110], Operations: ['41+69=110'] Exploring Operation: 70*110=7700, Resulting Numbers: [77, 7700] Generated Node #3: [77, 7700] from Operation: 70*110=7700 Current State: 100:[77, 7700], Operations: ['41+69=110', '70*110=7700'] Exploring Operation: 7700/77=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[41, 77, 70, 69], Operations: [] Exploring Operation: 77-70=7, Resulting Numbers: [41, 69, 7] Generated Node #0,0: 100:[41, 69, 7] Operation: 77-70=7 Moving to Node #0,0 Current State: 100:[41, 69, 7], Operations: ['77-70=7'] Exploring Operation: 69-41=28, Resulting Numbers: [7, 28] Generated Node #0,0,0: 100:[7, 28] Operation: 69-41=28 Moving to Node #0,0,0 Current State: 100:[7, 28], Operations: ['77-70=7', '69-41=28'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,100 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 65, 85, 5, 4 ]
52
[ "65+4=69", "85/5=17", "69-17=52" ]
Current State: 52:[65, 85, 5, 4], Operations: [] Exploring Operation: 65+4=69, Resulting Numbers: [85, 5, 69] Generated Node #2: [85, 5, 69] from Operation: 65+4=69 Current State: 52:[85, 5, 69], Operations: ['65+4=69'] Exploring Operation: 85/5=17, Resulting Numbers: [69, 17] Generated Node #3: [69, 17] from Operation: 85/5=17 Current State: 52:[69, 17], Operations: ['65+4=69', '85/5=17'] Exploring Operation: 69-17=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[65, 85, 5, 4], Operations: [] Exploring Operation: 85-65=20, Resulting Numbers: [5, 4, 20] Generated Node #0,0: 52:[5, 4, 20] Operation: 85-65=20 Exploring Operation: 85/5=17, Resulting Numbers: [65, 4, 17] Generated Node #0,1: 52:[65, 4, 17] Operation: 85/5=17 Exploring Operation: 65/5=13, Resulting Numbers: [85, 4, 13] Generated Node #0,2: 52:[85, 4, 13] Operation: 65/5=13 Exploring Operation: 85-5=80, Resulting Numbers: [65, 4, 80] Generated Node #0,3: 52:[65, 4, 80] Operation: 85-5=80 Exploring Operation: 65-5=60, Resulting Numbers: [85, 4, 60] Generated Node #0,4: 52:[85, 4, 60] Operation: 65-5=60 Moving to Node #0,0 Current State: 52:[5, 4, 20], Operations: ['85-65=20'] Exploring Operation: 20/5=4, Resulting Numbers: [4, 4] Generated Node #0,0,0: 52:[4, 4] Operation: 20/5=4 Exploring Operation: 5+20=25, Resulting Numbers: [4, 25] Generated Node #0,0,1: 52:[4, 25] Operation: 5+20=25 Exploring Operation: 4+20=24, Resulting Numbers: [5, 24] Generated Node #0,0,2: 52:[5, 24] Operation: 4+20=24 Exploring Operation: 20/4=5, Resulting Numbers: [5, 5] Generated Node #0,0,3: 52:[5, 5] Operation: 20/4=5 Exploring Operation: 20-5=15, Resulting Numbers: [4, 15] Generated Node #0,0,4: 52:[4, 15] Operation: 20-5=15 Moving to Node #0,1 Current State: 52:[65, 4, 17], Operations: ['85/5=17'] Exploring Operation: 4+17=21, Resulting Numbers: [65, 21] Generated Node #0,1,0: 52:[65, 21] Operation: 4+17=21 Exploring Operation: 65-17=48, Resulting Numbers: [4, 48] Generated Node #0,1,1: 52:[4, 48] Operation: 65-17=48 Exploring Operation: 17-4=13, Resulting Numbers: [65, 13] Generated Node #0,1,2: 52:[65, 13] Operation: 17-4=13 Exploring Operation: 65-4=61, Resulting Numbers: [17, 61] Generated Node #0,1,3: 52:[17, 61] Operation: 65-4=61 Exploring Operation: 65+4=69, Resulting Numbers: [17, 69] Generated Node #0,1,4: 52:[17, 69] Operation: 65+4=69 Moving to Node #0,2 Current State: 52:[85, 4, 13], Operations: ['65/5=13'] Exploring Operation: 4+13=17, Resulting Numbers: [85, 17] Generated Node #0,2,0: 52:[85, 17] Operation: 4+13=17 Exploring Operation: 85-13=72, Resulting Numbers: [4, 72] Generated Node #0,2,1: 52:[4, 72] Operation: 85-13=72 Exploring Operation: 85+4=89, Resulting Numbers: [13, 89] Generated Node #0,2,2: 52:[13, 89] Operation: 85+4=89 Exploring Operation: 4*13=52, Resulting Numbers: [85, 52] Generated Node #0,2,3: 52:[85, 52] Operation: 4*13=52 Exploring Operation: 85-4=81, Resulting Numbers: [13, 81] Generated Node #0,2,4: 52:[13, 81] Operation: 85-4=81 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 52:[4, 72], Operations: ['65/5=13', '85-13=72'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 4*72=288, Resulting Numbers: [288] 288,52 unequal: No Solution Exploring Operation: 4+72=76, Resulting Numbers: [76] 76,52 unequal: No Solution Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 52:[13, 81], Operations: ['65/5=13', '85-4=81'] Exploring Operation: 81-13=68, Resulting Numbers: [68] 68,52 unequal: No Solution Exploring Operation: 13*81=1053, Resulting Numbers: [1053] 1053,52 unequal: No Solution Exploring Operation: 13+81=94, Resulting Numbers: [94] 94,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 52:[85, 52], Operations: ['65/5=13', '4*13=52'] Exploring Operation: 85*52=4420, Resulting Numbers: [4420] 4420,52 unequal: No Solution Exploring Operation: 85+52=137, Resulting Numbers: [137] 137,52 unequal: No Solution Exploring Operation: 85-52=33, Resulting Numbers: [33] 33,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 52:[85, 17], Operations: ['65/5=13', '4+13=17'] Exploring Operation: 85-17=68, Resulting Numbers: [68] 68,52 unequal: No Solution Exploring Operation: 85+17=102, Resulting Numbers: [102] 102,52 unequal: No Solution Exploring Operation: 85/17=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 85*17=1445, Resulting Numbers: [1445] 1445,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 52:[13, 89], Operations: ['65/5=13', '85+4=89'] Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,52 unequal: No Solution Exploring Operation: 13+89=102, Resulting Numbers: [102] 102,52 unequal: No Solution Exploring Operation: 13*89=1157, Resulting Numbers: [1157] 1157,52 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: 52:[65, 4, 80], Operations: ['85-5=80'] Exploring Operation: 80-4=76, Resulting Numbers: [65, 76] Generated Node #0,3,0: 52:[65, 76] Operation: 80-4=76 Exploring Operation: 65+4=69, Resulting Numbers: [80, 69] Generated Node #0,3,1: 52:[80, 69] Operation: 65+4=69 Exploring Operation: 80-65=15, Resulting Numbers: [4, 15] Generated Node #0,3,2: 52:[4, 15] Operation: 80-65=15 Exploring Operation: 65-4=61, Resulting Numbers: [80, 61] Generated Node #0,3,3: 52:[80, 61] Operation: 65-4=61 Exploring Operation: 80/4=20, Resulting Numbers: [65, 20] Generated Node #0,3,4: 52:[65, 20] Operation: 80/4=20 Moving to Node #0,4 Current State: 52:[85, 4, 60], Operations: ['65-5=60'] Exploring Operation: 85+4=89, Resulting Numbers: [60, 89] Generated Node #0,4,0: 52:[60, 89] Operation: 85+4=89 Exploring Operation: 60/4=15, Resulting Numbers: [85, 15] Generated Node #0,4,1: 52:[85, 15] Operation: 60/4=15 Exploring Operation: 60-4=56, Resulting Numbers: [85, 56] Generated Node #0,4,2: 52:[85, 56] Operation: 60-4=56 Exploring Operation: 85-60=25, Resulting Numbers: [4, 25] Generated Node #0,4,3: 52:[4, 25] Operation: 85-60=25 Exploring Operation: 85-4=81, Resulting Numbers: [60, 81] Generated Node #0,4,4: 52:[60, 81] Operation: 85-4=81 Moving to Node #0,0,0 Current State: 52:[4, 4], Operations: ['85-65=20', '20/5=4'] Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,52 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,52 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,52 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[4, 25], Operations: ['85-65=20', '5+20=25'] Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,52 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,52 unequal: No Solution Moving to Node #0,4,3 Current State: 52:[4, 25], Operations: ['65-5=60', '85-60=25'] Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,52 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[5, 5], Operations: ['85-65=20', '20/4=5'] Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,52 unequal: No Solution Moving to Node #0,3,2 Current State: 52:[4, 15], Operations: ['85-5=80', '80-65=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,52 unequal: No Solution Moving to Node #0,0,4 Current State: 52:[4, 15], Operations: ['85-65=20', '20-5=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[5, 24], Operations: ['85-65=20', '4+20=24'] Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,52 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[4, 48], Operations: ['85/5=17', '65-17=48'] Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[65, 85, 5, 4], Operations: [] Exploring Operation: 85/5=17, Resulting Numbers: [65, 4, 17] Generated Node #0,1: 52:[65, 4, 17] Operation: 85/5=17 Moving to Node #0,1 Current State: 52:[65, 4, 17], Operations: ['85/5=17'] Exploring Operation: 65-17=48, Resulting Numbers: [4, 48] Generated Node #0,1,1: 52:[4, 48] Operation: 65-17=48 Moving to Node #0,1,1 Current State: 52:[4, 48], Operations: ['85/5=17', '65-17=48'] Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.934896
hs_5
sum_heuristic
[ 63, 34, 87, 89 ]
92
[ "63-34=29", "87/29=3", "89+3=92" ]
Current State: 92:[63, 34, 87, 89], Operations: [] Exploring Operation: 63-34=29, Resulting Numbers: [87, 89, 29] Generated Node #2: [87, 89, 29] from Operation: 63-34=29 Current State: 92:[87, 89, 29], Operations: ['63-34=29'] Exploring Operation: 87/29=3, Resulting Numbers: [89, 3] Generated Node #3: [89, 3] from Operation: 87/29=3 Current State: 92:[89, 3], Operations: ['63-34=29', '87/29=3'] Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[63, 34, 87, 89], Operations: [] Exploring Operation: 87-63=24, Resulting Numbers: [34, 89, 24] Generated Node #0,0: 92:[34, 89, 24] Operation: 87-63=24 Exploring Operation: 89-63=26, Resulting Numbers: [34, 87, 26] Generated Node #0,1: 92:[34, 87, 26] Operation: 89-63=26 Exploring Operation: 63-34=29, Resulting Numbers: [87, 89, 29] Generated Node #0,2: 92:[87, 89, 29] Operation: 63-34=29 Exploring Operation: 63+34=97, Resulting Numbers: [87, 89, 97] Generated Node #0,3: 92:[87, 89, 97] Operation: 63+34=97 Moving to Node #0,3 Current State: 92:[87, 89, 97], Operations: ['63+34=97'] Exploring Operation: 97-89=8, Resulting Numbers: [87, 8] Generated Node #0,3,0: 92:[87, 8] Operation: 97-89=8 Exploring Operation: 97-87=10, Resulting Numbers: [89, 10] Generated Node #0,3,1: 92:[89, 10] Operation: 97-87=10 Exploring Operation: 87+89=176, Resulting Numbers: [97, 176] Generated Node #0,3,2: 92:[97, 176] Operation: 87+89=176 Exploring Operation: 89-87=2, Resulting Numbers: [97, 2] Generated Node #0,3,3: 92:[97, 2] Operation: 89-87=2 Moving to Node #0,2 Current State: 92:[87, 89, 29], Operations: ['63-34=29'] Exploring Operation: 87/29=3, Resulting Numbers: [89, 3] Generated Node #0,2,0: 92:[89, 3] Operation: 87/29=3 Exploring Operation: 87-29=58, Resulting Numbers: [89, 58] Generated Node #0,2,1: 92:[89, 58] Operation: 87-29=58 Exploring Operation: 89-29=60, Resulting Numbers: [87, 60] Generated Node #0,2,2: 92:[87, 60] Operation: 89-29=60 Exploring Operation: 89-87=2, Resulting Numbers: [29, 2] Generated Node #0,2,3: 92:[29, 2] Operation: 89-87=2 Moving to Node #0,0 Current State: 92:[34, 89, 24], Operations: ['87-63=24'] Exploring Operation: 34+24=58, Resulting Numbers: [89, 58] Generated Node #0,0,0: 92:[89, 58] Operation: 34+24=58 Exploring Operation: 34-24=10, Resulting Numbers: [89, 10] Generated Node #0,0,1: 92:[89, 10] Operation: 34-24=10 Exploring Operation: 89-34=55, Resulting Numbers: [24, 55] Generated Node #0,0,2: 92:[24, 55] Operation: 89-34=55 Exploring Operation: 89-24=65, Resulting Numbers: [34, 65] Generated Node #0,0,3: 92:[34, 65] Operation: 89-24=65 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[89, 10], Operations: ['87-63=24', '34-24=10'] Exploring Operation: 89-10=79, Resulting Numbers: [79] 79,92 unequal: No Solution Exploring Operation: 89*10=890, Resulting Numbers: [890] 890,92 unequal: No Solution Exploring Operation: 89+10=99, Resulting Numbers: [99] 99,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 92:[24, 55], Operations: ['87-63=24', '89-34=55'] Exploring Operation: 24+55=79, Resulting Numbers: [79] 79,92 unequal: No Solution Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,92 unequal: No Solution Exploring Operation: 24*55=1320, Resulting Numbers: [1320] 1320,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[89, 58], Operations: ['87-63=24', '34+24=58'] Exploring Operation: 89-58=31, Resulting Numbers: [31] 31,92 unequal: No Solution Exploring Operation: 89+58=147, Resulting Numbers: [147] 147,92 unequal: No Solution Exploring Operation: 89*58=5162, Resulting Numbers: [5162] 5162,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 92:[34, 65], Operations: ['87-63=24', '89-24=65'] Exploring Operation: 34*65=2210, Resulting Numbers: [2210] 2210,92 unequal: No Solution Exploring Operation: 34+65=99, Resulting Numbers: [99] 99,92 unequal: No Solution Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 92:[34, 87, 26], Operations: ['89-63=26'] Exploring Operation: 87-26=61, Resulting Numbers: [34, 61] Generated Node #0,1,0: 92:[34, 61] Operation: 87-26=61 Exploring Operation: 34-26=8, Resulting Numbers: [87, 8] Generated Node #0,1,1: 92:[87, 8] Operation: 34-26=8 Exploring Operation: 87-34=53, Resulting Numbers: [26, 53] Generated Node #0,1,2: 92:[26, 53] Operation: 87-34=53 Exploring Operation: 34+26=60, Resulting Numbers: [87, 60] Generated Node #0,1,3: 92:[87, 60] Operation: 34+26=60 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[87, 8], Operations: ['89-63=26', '34-26=8'] Exploring Operation: 87*8=696, Resulting Numbers: [696] 696,92 unequal: No Solution Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,92 unequal: No Solution Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 92:[26, 53], Operations: ['89-63=26', '87-34=53'] Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 26+53=79, Resulting Numbers: [79] 79,92 unequal: No Solution Exploring Operation: 26*53=1378, Resulting Numbers: [1378] 1378,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 92:[87, 60], Operations: ['89-63=26', '34+26=60'] Exploring Operation: 87*60=5220, Resulting Numbers: [5220] 5220,92 unequal: No Solution Exploring Operation: 87+60=147, Resulting Numbers: [147] 147,92 unequal: No Solution Exploring Operation: 87-60=27, Resulting Numbers: [27] 27,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[34, 61], Operations: ['89-63=26', '87-26=61'] Exploring Operation: 34*61=2074, Resulting Numbers: [2074] 2074,92 unequal: No Solution Exploring Operation: 34+61=95, Resulting Numbers: [95] 95,92 unequal: No Solution Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 92:[89, 3], Operations: ['63-34=29', '87/29=3'] Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,92 unequal: No Solution Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,92 unequal: No Solution Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[63, 34, 87, 89], Operations: [] Exploring Operation: 63-34=29, Resulting Numbers: [87, 89, 29] Generated Node #0,2: 92:[87, 89, 29] Operation: 63-34=29 Moving to Node #0,2 Current State: 92:[87, 89, 29], Operations: ['63-34=29'] Exploring Operation: 87/29=3, Resulting Numbers: [89, 3] Generated Node #0,2,0: 92:[89, 3] Operation: 87/29=3 Moving to Node #0,2,0 Current State: 92:[89, 3], Operations: ['63-34=29', '87/29=3'] Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.955729
hs_4
mult_heuristic
[ 33, 12, 19, 79 ]
39
[ "33-12=21", "79-19=60", "60-21=39" ]
Current State: 39:[33, 12, 19, 79], Operations: [] Exploring Operation: 33-12=21, Resulting Numbers: [19, 79, 21] Generated Node #2: [19, 79, 21] from Operation: 33-12=21 Current State: 39:[19, 79, 21], Operations: ['33-12=21'] Exploring Operation: 79-19=60, Resulting Numbers: [21, 60] Generated Node #3: [21, 60] from Operation: 79-19=60 Current State: 39:[21, 60], Operations: ['33-12=21', '79-19=60'] Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[33, 12, 19, 79], Operations: [] Exploring Operation: 79-12=67, Resulting Numbers: [33, 19, 67] Generated Node #0,0: 39:[33, 19, 67] Operation: 79-12=67 Exploring Operation: 79-33=46, Resulting Numbers: [12, 19, 46] Generated Node #0,1: 39:[12, 19, 46] Operation: 79-33=46 Exploring Operation: 33-19=14, Resulting Numbers: [12, 79, 14] Generated Node #0,2: 39:[12, 79, 14] Operation: 33-19=14 Exploring Operation: 79-19=60, Resulting Numbers: [33, 12, 60] Generated Node #0,3: 39:[33, 12, 60] Operation: 79-19=60 Moving to Node #0,1 Current State: 39:[12, 19, 46], Operations: ['79-33=46'] Exploring Operation: 19-12=7, Resulting Numbers: [46, 7] Generated Node #0,1,0: 39:[46, 7] Operation: 19-12=7 Exploring Operation: 46-19=27, Resulting Numbers: [12, 27] Generated Node #0,1,1: 39:[12, 27] Operation: 46-19=27 Exploring Operation: 46-12=34, Resulting Numbers: [19, 34] Generated Node #0,1,2: 39:[19, 34] Operation: 46-12=34 Exploring Operation: 12+19=31, Resulting Numbers: [46, 31] Generated Node #0,1,3: 39:[46, 31] Operation: 12+19=31 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[46, 7], Operations: ['79-33=46', '19-12=7'] Exploring Operation: 46+7=53, Resulting Numbers: [53] 53,39 unequal: No Solution Exploring Operation: 46*7=322, Resulting Numbers: [322] 322,39 unequal: No Solution Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[33, 12, 19, 79], Operations: [] Exploring Operation: 79-33=46, Resulting Numbers: [12, 19, 46] Generated Node #0,1: 39:[12, 19, 46] Operation: 79-33=46 Moving to Node #0,1 Current State: 39:[12, 19, 46], Operations: ['79-33=46'] Exploring Operation: 19-12=7, Resulting Numbers: [46, 7] Generated Node #0,1,0: 39:[46, 7] Operation: 19-12=7 Moving to Node #0,1,0 Current State: 39:[46, 7], Operations: ['79-33=46', '19-12=7'] Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 8, 96, 12, 69 ]
68
[ "96/8=12", "12/12=1", "69-1=68" ]
Current State: 68:[8, 96, 12, 69], Operations: [] Exploring Operation: 96/8=12, Resulting Numbers: [12, 69, 12] Generated Node #2: [12, 69, 12] from Operation: 96/8=12 Current State: 68:[12, 69, 12], Operations: ['96/8=12'] Exploring Operation: 12/12=1, Resulting Numbers: [69, 1] Generated Node #3: [69, 1] from Operation: 12/12=1 Current State: 68:[69, 1], Operations: ['96/8=12', '12/12=1'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[8, 96, 12, 69], Operations: [] Exploring Operation: 96/8=12, Resulting Numbers: [12, 69, 12] Generated Node #0,0: 68:[12, 69, 12] Operation: 96/8=12 Exploring Operation: 96-12=84, Resulting Numbers: [8, 69, 84] Generated Node #0,1: 68:[8, 69, 84] Operation: 96-12=84 Exploring Operation: 96-69=27, Resulting Numbers: [8, 12, 27] Generated Node #0,2: 68:[8, 12, 27] Operation: 96-69=27 Exploring Operation: 96-8=88, Resulting Numbers: [12, 69, 88] Generated Node #0,3: 68:[12, 69, 88] Operation: 96-8=88 Exploring Operation: 96/12=8, Resulting Numbers: [8, 69, 8] Generated Node #0,4: 68:[8, 69, 8] Operation: 96/12=8 Moving to Node #0,4 Current State: 68:[8, 69, 8], Operations: ['96/12=8'] Exploring Operation: 8*8=64, Resulting Numbers: [69, 64] Generated Node #0,4,0: 68:[69, 64] Operation: 8*8=64 Exploring Operation: 8-8=0, Resulting Numbers: [69, 0] Generated Node #0,4,1: 68:[69, 0] Operation: 8-8=0 Exploring Operation: 69-8=61, Resulting Numbers: [8, 61] Generated Node #0,4,2: 68:[8, 61] Operation: 69-8=61 Exploring Operation: 8/8=1, Resulting Numbers: [69, 1] Generated Node #0,4,3: 68:[69, 1] Operation: 8/8=1 Exploring Operation: 8+8=16, Resulting Numbers: [69, 16] Generated Node #0,4,4: 68:[69, 16] Operation: 8+8=16 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 68:[69, 1], Operations: ['96/12=8', '8/8=1'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[8, 96, 12, 69], Operations: [] Exploring Operation: 96/12=8, Resulting Numbers: [8, 69, 8] Generated Node #0,4: 68:[8, 69, 8] Operation: 96/12=8 Moving to Node #0,4 Current State: 68:[8, 69, 8], Operations: ['96/12=8'] Exploring Operation: 8/8=1, Resulting Numbers: [69, 1] Generated Node #0,4,3: 68:[69, 1] Operation: 8/8=1 Moving to Node #0,4,3 Current State: 68:[69, 1], Operations: ['96/12=8', '8/8=1'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 91, 48, 10, 71 ]
50
[ "91-71=20", "20/10=2", "48+2=50" ]
Current State: 50:[91, 48, 10, 71], Operations: [] Exploring Operation: 91-71=20, Resulting Numbers: [48, 10, 20] Generated Node #2: [48, 10, 20] from Operation: 91-71=20 Current State: 50:[48, 10, 20], Operations: ['91-71=20'] Exploring Operation: 20/10=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 20/10=2 Current State: 50:[48, 2], Operations: ['91-71=20', '20/10=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[91, 48, 10, 71], Operations: [] Exploring Operation: 91-71=20, Resulting Numbers: [48, 10, 20] Generated Node #0,0: 50:[48, 10, 20] Operation: 91-71=20 Exploring Operation: 91-48=43, Resulting Numbers: [10, 71, 43] Generated Node #0,1: 50:[10, 71, 43] Operation: 91-48=43 Moving to Node #0,0 Current State: 50:[48, 10, 20], Operations: ['91-71=20'] Exploring Operation: 20-10=10, Resulting Numbers: [48, 10] Generated Node #0,0,0: 50:[48, 10] Operation: 20-10=10 Exploring Operation: 20/10=2, Resulting Numbers: [48, 2] Generated Node #0,0,1: 50:[48, 2] Operation: 20/10=2 Moving to Node #0,1 Current State: 50:[10, 71, 43], Operations: ['91-48=43'] Exploring Operation: 71-10=61, Resulting Numbers: [43, 61] Generated Node #0,1,0: 50:[43, 61] Operation: 71-10=61 Exploring Operation: 71-43=28, Resulting Numbers: [10, 28] Generated Node #0,1,1: 50:[10, 28] Operation: 71-43=28 Moving to Node #0,0,0 Current State: 50:[48, 10], Operations: ['91-71=20', '20-10=10'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,50 unequal: No Solution Exploring Operation: 48+10=58, Resulting Numbers: [58] 58,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[48, 2], Operations: ['91-71=20', '20/10=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[91, 48, 10, 71], Operations: [] Exploring Operation: 91-71=20, Resulting Numbers: [48, 10, 20] Generated Node #0,0: 50:[48, 10, 20] Operation: 91-71=20 Moving to Node #0,0 Current State: 50:[48, 10, 20], Operations: ['91-71=20'] Exploring Operation: 20/10=2, Resulting Numbers: [48, 2] Generated Node #0,0,1: 50:[48, 2] Operation: 20/10=2 Moving to Node #0,0,1 Current State: 50:[48, 2], Operations: ['91-71=20', '20/10=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.988715
hs_2
sum_heuristic
[ 19, 9, 92, 23 ]
55
[ "9*92=828", "828/23=36", "19+36=55" ]
Current State: 55:[19, 9, 92, 23], Operations: [] Exploring Operation: 9*92=828, Resulting Numbers: [19, 23, 828] Generated Node #2: [19, 23, 828] from Operation: 9*92=828 Current State: 55:[19, 23, 828], Operations: ['9*92=828'] Exploring Operation: 828/23=36, Resulting Numbers: [19, 36] Generated Node #3: [19, 36] from Operation: 828/23=36 Current State: 55:[19, 36], Operations: ['9*92=828', '828/23=36'] Exploring Operation: 19+36=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[19, 9, 92, 23], Operations: [] Exploring Operation: 92-23=69, Resulting Numbers: [19, 9, 69] Generated Node #0,0: 55:[19, 9, 69] Operation: 92-23=69 Exploring Operation: 23-19=4, Resulting Numbers: [9, 92, 4] Generated Node #0,1: 55:[9, 92, 4] Operation: 23-19=4 Exploring Operation: 92/23=4, Resulting Numbers: [19, 9, 4] Generated Node #0,2: 55:[19, 9, 4] Operation: 92/23=4 Exploring Operation: 92-19=73, Resulting Numbers: [9, 23, 73] Generated Node #0,3: 55:[9, 23, 73] Operation: 92-19=73 Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[19, 9, 4], Operations: ['92/23=4'] Exploring Operation: 19-4=15, Resulting Numbers: [9, 15] Generated Node #0,2,0: 55:[9, 15] Operation: 19-4=15 Exploring Operation: 19-9=10, Resulting Numbers: [4, 10] Generated Node #0,2,1: 55:[4, 10] Operation: 19-9=10 Exploring Operation: 9+4=13, Resulting Numbers: [19, 13] Generated Node #0,2,2: 55:[19, 13] Operation: 9+4=13 Exploring Operation: 9-4=5, Resulting Numbers: [19, 5] Generated Node #0,2,3: 55:[19, 5] Operation: 9-4=5 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 55:[4, 10], Operations: ['92/23=4', '19-9=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 55:[9, 15], Operations: ['92/23=4', '19-4=15'] Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 9+15=24, Resulting Numbers: [24] 24,55 unequal: No Solution Exploring Operation: 9*15=135, Resulting Numbers: [135] 135,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 55:[19, 5], Operations: ['92/23=4', '9-4=5'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,55 unequal: No Solution Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 55:[19, 13], Operations: ['92/23=4', '9+4=13'] Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,55 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[19, 9, 69], Operations: ['92-23=69'] Exploring Operation: 19+9=28, Resulting Numbers: [69, 28] Generated Node #0,0,0: 55:[69, 28] Operation: 19+9=28 Exploring Operation: 69-9=60, Resulting Numbers: [19, 60] Generated Node #0,0,1: 55:[19, 60] Operation: 69-9=60 Exploring Operation: 69-19=50, Resulting Numbers: [9, 50] Generated Node #0,0,2: 55:[9, 50] Operation: 69-19=50 Exploring Operation: 19-9=10, Resulting Numbers: [69, 10] Generated Node #0,0,3: 55:[69, 10] Operation: 19-9=10 Moving to Node #0,0,2 Current State: 55:[9, 50], Operations: ['92-23=69', '69-19=50'] Exploring Operation: 9*50=450, Resulting Numbers: [450] 450,55 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[19, 60], Operations: ['92-23=69', '69-9=60'] Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 19+60=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 19*60=1140, Resulting Numbers: [1140] 1140,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[69, 10], Operations: ['92-23=69', '19-9=10'] Exploring Operation: 69*10=690, Resulting Numbers: [690] 690,55 unequal: No Solution Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 69+10=79, Resulting Numbers: [79] 79,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[69, 28], Operations: ['92-23=69', '19+9=28'] Exploring Operation: 69+28=97, Resulting Numbers: [97] 97,55 unequal: No Solution Exploring Operation: 69*28=1932, Resulting Numbers: [1932] 1932,55 unequal: No Solution Exploring Operation: 69-28=41, Resulting Numbers: [41] 41,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[9, 23, 73], Operations: ['92-19=73'] Exploring Operation: 73-9=64, Resulting Numbers: [23, 64] Generated Node #0,3,0: 55:[23, 64] Operation: 73-9=64 Exploring Operation: 23-9=14, Resulting Numbers: [73, 14] Generated Node #0,3,1: 55:[73, 14] Operation: 23-9=14 Exploring Operation: 73-23=50, Resulting Numbers: [9, 50] Generated Node #0,3,2: 55:[9, 50] Operation: 73-23=50 Exploring Operation: 9+23=32, Resulting Numbers: [73, 32] Generated Node #0,3,3: 55:[73, 32] Operation: 9+23=32 Moving to Node #0,3,2 Current State: 55:[9, 50], Operations: ['92-19=73', '73-23=50'] Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 9*50=450, Resulting Numbers: [450] 450,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[73, 14], Operations: ['92-19=73', '23-9=14'] Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 73+14=87, Resulting Numbers: [87] 87,55 unequal: No Solution Exploring Operation: 73*14=1022, Resulting Numbers: [1022] 1022,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[23, 64], Operations: ['92-19=73', '73-9=64'] Exploring Operation: 23+64=87, Resulting Numbers: [87] 87,55 unequal: No Solution Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 23*64=1472, Resulting Numbers: [1472] 1472,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[73, 32], Operations: ['92-19=73', '9+23=32'] Exploring Operation: 73-32=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 73*32=2336, Resulting Numbers: [2336] 2336,55 unequal: No Solution Exploring Operation: 73+32=105, Resulting Numbers: [105] 105,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[9, 92, 4], Operations: ['23-19=4'] Exploring Operation: 92-4=88, Resulting Numbers: [9, 88] Generated Node #0,1,0: 55:[9, 88] Operation: 92-4=88 Exploring Operation: 92/4=23, Resulting Numbers: [9, 23] Generated Node #0,1,1: 55:[9, 23] Operation: 92/4=23 Exploring Operation: 9-4=5, Resulting Numbers: [92, 5] Generated Node #0,1,2: 55:[92, 5] Operation: 9-4=5 Exploring Operation: 92-9=83, Resulting Numbers: [4, 83] Generated Node #0,1,3: 55:[4, 83] Operation: 92-9=83 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 55:[9, 23], Operations: ['23-19=4', '92/4=23'] Exploring Operation: 9*23=207, Resulting Numbers: [207] 207,55 unequal: No Solution Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,55 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 55:[4, 83], Operations: ['23-19=4', '92-9=83'] Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 4*83=332, Resulting Numbers: [332] 332,55 unequal: No Solution Exploring Operation: 4+83=87, Resulting Numbers: [87] 87,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 55:[9, 88], Operations: ['23-19=4', '92-4=88'] Exploring Operation: 88-9=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 9+88=97, Resulting Numbers: [97] 97,55 unequal: No Solution Exploring Operation: 9*88=792, Resulting Numbers: [792] 792,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 55:[92, 5], Operations: ['23-19=4', '9-4=5'] Exploring Operation: 92+5=97, Resulting Numbers: [97] 97,55 unequal: No Solution Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,55 unequal: No Solution Exploring Operation: 92*5=460, Resulting Numbers: [460] 460,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 94, 89, 88, 59 ]
35
[ "94-59=35", "89-88=1", "35*1=35" ]
Current State: 35:[94, 89, 88, 59], Operations: [] Exploring Operation: 94-59=35, Resulting Numbers: [89, 88, 35] Generated Node #2: [89, 88, 35] from Operation: 94-59=35 Current State: 35:[89, 88, 35], Operations: ['94-59=35'] Exploring Operation: 89-88=1, Resulting Numbers: [35, 1] Generated Node #3: [35, 1] from Operation: 89-88=1 Current State: 35:[35, 1], Operations: ['94-59=35', '89-88=1'] Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[94, 89, 88, 59], Operations: [] Exploring Operation: 94-88=6, Resulting Numbers: [89, 59, 6] Generated Node #0,0: 35:[89, 59, 6] Operation: 94-88=6 Exploring Operation: 94-89=5, Resulting Numbers: [88, 59, 5] Generated Node #0,1: 35:[88, 59, 5] Operation: 94-89=5 Moving to Node #0,1 Current State: 35:[88, 59, 5], Operations: ['94-89=5'] Exploring Operation: 88-59=29, Resulting Numbers: [5, 29] Generated Node #0,1,0: 35:[5, 29] Operation: 88-59=29 Exploring Operation: 88-5=83, Resulting Numbers: [59, 83] Generated Node #0,1,1: 35:[59, 83] Operation: 88-5=83 Moving to Node #0,0 Current State: 35:[89, 59, 6], Operations: ['94-88=6'] Exploring Operation: 89-6=83, Resulting Numbers: [59, 83] Generated Node #0,0,0: 35:[59, 83] Operation: 89-6=83 Exploring Operation: 89-59=30, Resulting Numbers: [6, 30] Generated Node #0,0,1: 35:[6, 30] Operation: 89-59=30 Moving to Node #0,1,0 Current State: 35:[5, 29], Operations: ['94-89=5', '88-59=29'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[6, 30], Operations: ['94-88=6', '89-59=30'] Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[59, 83], Operations: ['94-89=5', '88-5=83'] Exploring Operation: 83-59=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 59+83=142, Resulting Numbers: [142] 142,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[59, 83], Operations: ['94-88=6', '89-6=83'] Exploring Operation: 59+83=142, Resulting Numbers: [142] 142,35 unequal: No Solution Exploring Operation: 83-59=24, Resulting Numbers: [24] 24,35 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 80, 18, 77, 58 ]
80
[ "77-18=59", "59-58=1", "80*1=80" ]
Current State: 80:[80, 18, 77, 58], Operations: [] Exploring Operation: 77-18=59, Resulting Numbers: [80, 58, 59] Generated Node #2: [80, 58, 59] from Operation: 77-18=59 Current State: 80:[80, 58, 59], Operations: ['77-18=59'] Exploring Operation: 59-58=1, Resulting Numbers: [80, 1] Generated Node #3: [80, 1] from Operation: 59-58=1 Current State: 80:[80, 1], Operations: ['77-18=59', '59-58=1'] Exploring Operation: 80*1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[80, 18, 77, 58], Operations: [] Exploring Operation: 18+58=76, Resulting Numbers: [80, 77, 76] Generated Node #0,0: 80:[80, 77, 76] Operation: 18+58=76 Exploring Operation: 58-18=40, Resulting Numbers: [80, 77, 40] Generated Node #0,1: 80:[80, 77, 40] Operation: 58-18=40 Exploring Operation: 77-58=19, Resulting Numbers: [80, 18, 19] Generated Node #0,2: 80:[80, 18, 19] Operation: 77-58=19 Exploring Operation: 80-58=22, Resulting Numbers: [18, 77, 22] Generated Node #0,3: 80:[18, 77, 22] Operation: 80-58=22 Moving to Node #0,1 Current State: 80:[80, 77, 40], Operations: ['58-18=40'] Exploring Operation: 77-40=37, Resulting Numbers: [80, 37] Generated Node #0,1,0: 80:[80, 37] Operation: 77-40=37 Exploring Operation: 80-40=40, Resulting Numbers: [77, 40] Generated Node #0,1,1: 80:[77, 40] Operation: 80-40=40 Exploring Operation: 80/40=2, Resulting Numbers: [77, 2] Generated Node #0,1,2: 80:[77, 2] Operation: 80/40=2 Exploring Operation: 80-77=3, Resulting Numbers: [40, 3] Generated Node #0,1,3: 80:[40, 3] Operation: 80-77=3 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 80:[40, 3], Operations: ['58-18=40', '80-77=3'] Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,80 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[80, 37], Operations: ['58-18=40', '77-40=37'] Exploring Operation: 80+37=117, Resulting Numbers: [117] 117,80 unequal: No Solution Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,80 unequal: No Solution Exploring Operation: 80*37=2960, Resulting Numbers: [2960] 2960,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[77, 40], Operations: ['58-18=40', '80-40=40'] Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 77*40=3080, Resulting Numbers: [3080] 3080,80 unequal: No Solution Exploring Operation: 77+40=117, Resulting Numbers: [117] 117,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[77, 2], Operations: ['58-18=40', '80/40=2'] Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,80 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,80 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,80 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: 80:[80, 18, 19], Operations: ['77-58=19'] Exploring Operation: 19-18=1, Resulting Numbers: [80, 1] Generated Node #0,2,0: 80:[80, 1] Operation: 19-18=1 Exploring Operation: 18+19=37, Resulting Numbers: [80, 37] Generated Node #0,2,1: 80:[80, 37] Operation: 18+19=37 Exploring Operation: 80+18=98, Resulting Numbers: [19, 98] Generated Node #0,2,2: 80:[19, 98] Operation: 80+18=98 Exploring Operation: 80-18=62, Resulting Numbers: [19, 62] Generated Node #0,2,3: 80:[19, 62] Operation: 80-18=62 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 80:[80, 1], Operations: ['77-58=19', '19-18=1'] Exploring Operation: 80*1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[80, 18, 77, 58], Operations: [] Exploring Operation: 77-58=19, Resulting Numbers: [80, 18, 19] Generated Node #0,2: 80:[80, 18, 19] Operation: 77-58=19 Moving to Node #0,2 Current State: 80:[80, 18, 19], Operations: ['77-58=19'] Exploring Operation: 19-18=1, Resulting Numbers: [80, 1] Generated Node #0,2,0: 80:[80, 1] Operation: 19-18=1 Moving to Node #0,2,0 Current State: 80:[80, 1], Operations: ['77-58=19', '19-18=1'] Exploring Operation: 80*1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
sum_heuristic
[ 42, 42, 35, 5 ]
84
[ "42-35=7", "7-5=2", "42*2=84" ]
Current State: 84:[42, 42, 35, 5], Operations: [] Exploring Operation: 42-35=7, Resulting Numbers: [5, 7] Generated Node #2: [5, 7] from Operation: 42-35=7 Current State: 84:[5, 7], Operations: ['42-35=7'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,84 equal: Goal Reached Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[42, 42, 35, 5], Operations: [] Exploring Operation: 42-35=7, Resulting Numbers: [42, 5, 7] Generated Node #0,0: 84:[42, 5, 7] Operation: 42-35=7 Exploring Operation: 42-35=7, Resulting Numbers: [42, 5, 7] Generated Node #0,1: 84:[42, 5, 7] Operation: 42-35=7 Exploring Operation: 35+5=40, Resulting Numbers: [42, 42, 40] Generated Node #0,2: 84:[42, 42, 40] Operation: 35+5=40 Exploring Operation: 35/5=7, Resulting Numbers: [42, 42, 7] Generated Node #0,3: 84:[42, 42, 7] Operation: 35/5=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 84:[42, 42, 7], Operations: ['35/5=7'] Exploring Operation: 42/7=6, Resulting Numbers: [42, 6] Generated Node #0,3,0: 84:[42, 6] Operation: 42/7=6 Exploring Operation: 42+42=84, Resulting Numbers: [7, 84] Generated Node #0,3,1: 84:[7, 84] Operation: 42+42=84 Exploring Operation: 42/42=1, Resulting Numbers: [7, 1] Generated Node #0,3,2: 84:[7, 1] Operation: 42/42=1 Exploring Operation: 42/7=6, Resulting Numbers: [42, 6] Generated Node #0,3,3: 84:[42, 6] Operation: 42/7=6 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 84:[42, 6], Operations: ['35/5=7', '42/7=6'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,84 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,84 unequal: No Solution Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,84 unequal: No Solution No 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: 84:[7, 84], Operations: ['35/5=7', '42+42=84'] Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,84 unequal: No Solution Exploring Operation: 7*84=588, Resulting Numbers: [588] 588,84 unequal: No Solution Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 7+84=91, Resulting Numbers: [91] 91,84 unequal: No Solution No 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: 84:[42, 6], Operations: ['35/5=7', '42/7=6'] Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,84 unequal: No Solution Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,84 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,84 unequal: No Solution No 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: 84:[7, 1], Operations: ['35/5=7', '42/42=1'] Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,84 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: 84:[42, 5, 7], Operations: ['42-35=7'] Exploring Operation: 7-5=2, Resulting Numbers: [42, 2] Generated Node #0,0,0: 84:[42, 2] Operation: 7-5=2 Exploring Operation: 5+7=12, Resulting Numbers: [42, 12] Generated Node #0,0,1: 84:[42, 12] Operation: 5+7=12 Exploring Operation: 42+5=47, Resulting Numbers: [7, 47] Generated Node #0,0,2: 84:[7, 47] Operation: 42+5=47 Exploring Operation: 42/7=6, Resulting Numbers: [5, 6] Generated Node #0,0,3: 84:[5, 6] Operation: 42/7=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[42, 2], Operations: ['42-35=7', '7-5=2'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[42, 42, 35, 5], Operations: [] Exploring Operation: 42-35=7, Resulting Numbers: [42, 5, 7] Generated Node #0,0: 84:[42, 5, 7] Operation: 42-35=7 Moving to Node #0,0 Current State: 84:[42, 5, 7], Operations: ['42-35=7'] Exploring Operation: 7-5=2, Resulting Numbers: [42, 2] Generated Node #0,0,0: 84:[42, 2] Operation: 7-5=2 Moving to Node #0,0,0 Current State: 84:[42, 2], Operations: ['42-35=7', '7-5=2'] Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 26, 79, 50, 55 ]
51
[ "55-50=5", "26*5=130", "130-79=51" ]
Current State: 51:[26, 79, 50, 55], Operations: [] Exploring Operation: 55-50=5, Resulting Numbers: [26, 79, 5] Generated Node #2: [26, 79, 5] from Operation: 55-50=5 Current State: 51:[26, 79, 5], Operations: ['55-50=5'] Exploring Operation: 26*5=130, Resulting Numbers: [79, 130] Generated Node #3: [79, 130] from Operation: 26*5=130 Current State: 51:[79, 130], Operations: ['55-50=5', '26*5=130'] Exploring Operation: 130-79=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[26, 79, 50, 55], Operations: [] Exploring Operation: 79-26=53, Resulting Numbers: [50, 55, 53] Generated Node #0,0: 51:[50, 55, 53] Operation: 79-26=53 Exploring Operation: 50-26=24, Resulting Numbers: [79, 55, 24] Generated Node #0,1: 51:[79, 55, 24] Operation: 50-26=24 Exploring Operation: 79-50=29, Resulting Numbers: [26, 55, 29] Generated Node #0,2: 51:[26, 55, 29] Operation: 79-50=29 Exploring Operation: 79-55=24, Resulting Numbers: [26, 50, 24] Generated Node #0,3: 51:[26, 50, 24] Operation: 79-55=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[50, 55, 53], Operations: ['79-26=53'] Exploring Operation: 55-50=5, Resulting Numbers: [53, 5] Generated Node #0,0,0: 51:[53, 5] Operation: 55-50=5 Exploring Operation: 53-50=3, Resulting Numbers: [55, 3] Generated Node #0,0,1: 51:[55, 3] Operation: 53-50=3 Exploring Operation: 55-53=2, Resulting Numbers: [50, 2] Generated Node #0,0,2: 51:[50, 2] Operation: 55-53=2 Exploring Operation: 50+55=105, Resulting Numbers: [53, 105] Generated Node #0,0,3: 51:[53, 105] Operation: 50+55=105 Moving to Node #0,0,2 Current State: 51:[50, 2], Operations: ['79-26=53', '55-53=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,51 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[55, 3], Operations: ['79-26=53', '53-50=3'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 55*3=165, Resulting Numbers: [165] 165,51 unequal: No Solution Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[53, 5], Operations: ['79-26=53', '55-50=5'] Exploring Operation: 53*5=265, Resulting Numbers: [265] 265,51 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,51 unequal: No Solution Moving to Node #0,0,3 Current State: 51:[53, 105], Operations: ['79-26=53', '50+55=105'] Exploring Operation: 53*105=5565, Resulting Numbers: [5565] 5565,51 unequal: No Solution Exploring Operation: 53+105=158, Resulting Numbers: [158] 158,51 unequal: No Solution Exploring Operation: 105-53=52, Resulting Numbers: [52] 52,51 unequal: No Solution No 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: 51:[26, 50, 24], Operations: ['79-55=24'] Exploring Operation: 50-24=26, Resulting Numbers: [26, 26] Generated Node #0,3,0: 51:[26, 26] Operation: 50-24=26 Exploring Operation: 26-24=2, Resulting Numbers: [50, 2] Generated Node #0,3,1: 51:[50, 2] Operation: 26-24=2 Exploring Operation: 50-26=24, Resulting Numbers: [24, 24] Generated Node #0,3,2: 51:[24, 24] Operation: 50-26=24 Exploring Operation: 26+24=50, Resulting Numbers: [50, 50] Generated Node #0,3,3: 51:[50, 50] Operation: 26+24=50 Moving to Node #0,3,1 Current State: 51:[50, 2], Operations: ['79-55=24', '26-24=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,51 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,51 unequal: No Solution Moving to Node #0,3,3 Current State: 51:[50, 50], Operations: ['79-55=24', '26+24=50'] Exploring Operation: 50*50=2500, Resulting Numbers: [2500] 2500,51 unequal: No Solution Exploring Operation: 50/50=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 50-50=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,51 unequal: No Solution Moving to Node #0,3,2 Current State: 51:[24, 24], Operations: ['79-55=24', '50-26=24'] Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,51 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,51 unequal: No Solution Moving to Node #0,3,0 Current State: 51:[26, 26], Operations: ['79-55=24', '50-24=26'] Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,51 unequal: No Solution Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,51 unequal: No Solution No 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: 51:[26, 55, 29], Operations: ['79-50=29'] Exploring Operation: 55-26=29, Resulting Numbers: [29, 29] Generated Node #0,2,0: 51:[29, 29] Operation: 55-26=29 Exploring Operation: 26+29=55, Resulting Numbers: [55, 55] Generated Node #0,2,1: 51:[55, 55] Operation: 26+29=55 Exploring Operation: 55-29=26, Resulting Numbers: [26, 26] Generated Node #0,2,2: 51:[26, 26] Operation: 55-29=26 Exploring Operation: 29-26=3, Resulting Numbers: [55, 3] Generated Node #0,2,3: 51:[55, 3] Operation: 29-26=3 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 51:[55, 3], Operations: ['79-50=29', '29-26=3'] Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,51 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 55*3=165, Resulting Numbers: [165] 165,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,2,1 Current State: 51:[55, 55], Operations: ['79-50=29', '26+29=55'] Exploring Operation: 55/55=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 55*55=3025, Resulting Numbers: [3025] 3025,51 unequal: No Solution Exploring Operation: 55+55=110, Resulting Numbers: [110] 110,51 unequal: No Solution Exploring Operation: 55-55=0, Resulting Numbers: [0] 0,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,2,2 Current State: 51:[26, 26], Operations: ['79-50=29', '55-29=26'] Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,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,2,0 Current State: 51:[29, 29], Operations: ['79-50=29', '55-26=29'] Exploring Operation: 29+29=58, Resulting Numbers: [58] 58,51 unequal: No Solution Exploring Operation: 29-29=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 29/29=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 29*29=841, Resulting Numbers: [841] 841,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:[79, 55, 24], Operations: ['50-26=24'] Exploring Operation: 79-55=24, Resulting Numbers: [24, 24] Generated Node #0,1,0: 51:[24, 24] Operation: 79-55=24 Exploring Operation: 55-24=31, Resulting Numbers: [79, 31] Generated Node #0,1,1: 51:[79, 31] Operation: 55-24=31 Exploring Operation: 79+24=103, Resulting Numbers: [55, 103] Generated Node #0,1,2: 51:[55, 103] Operation: 79+24=103 Exploring Operation: 79-24=55, Resulting Numbers: [55, 55] Generated Node #0,1,3: 51:[55, 55] Operation: 79-24=55 Moving to Node #0,1,3 Current State: 51:[55, 55], Operations: ['50-26=24', '79-24=55'] Exploring Operation: 55/55=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 55+55=110, Resulting Numbers: [110] 110,51 unequal: No Solution Exploring Operation: 55-55=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 55*55=3025, Resulting Numbers: [3025] 3025,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[24, 24], Operations: ['50-26=24', '79-55=24'] Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,51 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[79, 31], Operations: ['50-26=24', '55-24=31'] Exploring Operation: 79*31=2449, Resulting Numbers: [2449] 2449,51 unequal: No Solution Exploring Operation: 79+31=110, Resulting Numbers: [110] 110,51 unequal: No Solution Exploring Operation: 79-31=48, Resulting Numbers: [48] 48,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[55, 103], Operations: ['50-26=24', '79+24=103'] Exploring Operation: 55*103=5665, Resulting Numbers: [5665] 5665,51 unequal: No Solution Exploring Operation: 55+103=158, Resulting Numbers: [158] 158,51 unequal: No Solution Exploring Operation: 103-55=48, Resulting Numbers: [48] 48,51 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
[ 55, 88, 11, 9 ]
22
[ "55+88=143", "143/11=13", "9+13=22" ]
Current State: 22:[55, 88, 11, 9], Operations: [] Exploring Operation: 55+88=143, Resulting Numbers: [11, 9, 143] Generated Node #2: [11, 9, 143] from Operation: 55+88=143 Current State: 22:[11, 9, 143], Operations: ['55+88=143'] Exploring Operation: 143/11=13, Resulting Numbers: [9, 13] Generated Node #3: [9, 13] from Operation: 143/11=13 Current State: 22:[9, 13], Operations: ['55+88=143', '143/11=13'] Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[55, 88, 11, 9], Operations: [] Exploring Operation: 88/11=8, Resulting Numbers: [55, 9, 8] Generated Node #0,0: 22:[55, 9, 8] Operation: 88/11=8 Exploring Operation: 55/11=5, Resulting Numbers: [88, 9, 5] Generated Node #0,1: 22:[88, 9, 5] Operation: 55/11=5 Exploring Operation: 88-55=33, Resulting Numbers: [11, 9, 33] Generated Node #0,2: 22:[11, 9, 33] Operation: 88-55=33 Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[11, 9, 33], Operations: ['88-55=33'] Exploring Operation: 33-9=24, Resulting Numbers: [11, 24] Generated Node #0,2,0: 22:[11, 24] Operation: 33-9=24 Exploring Operation: 33-11=22, Resulting Numbers: [9, 22] Generated Node #0,2,1: 22:[9, 22] Operation: 33-11=22 Exploring Operation: 33/11=3, Resulting Numbers: [9, 3] Generated Node #0,2,2: 22:[9, 3] Operation: 33/11=3 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 22:[11, 24], Operations: ['88-55=33', '33-9=24'] Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,22 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,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,2,1 Current State: 22:[9, 22], Operations: ['88-55=33', '33-11=22'] Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,22 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,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,2,2 Current State: 22:[9, 3], Operations: ['88-55=33', '33/11=3'] Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,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:[55, 9, 8], Operations: ['88/11=8'] Exploring Operation: 55-8=47, Resulting Numbers: [9, 47] Generated Node #0,0,0: 22:[9, 47] Operation: 55-8=47 Exploring Operation: 9-8=1, Resulting Numbers: [55, 1] Generated Node #0,0,1: 22:[55, 1] Operation: 9-8=1 Exploring Operation: 55-9=46, Resulting Numbers: [8, 46] Generated Node #0,0,2: 22:[8, 46] Operation: 55-9=46 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[9, 47], Operations: ['88/11=8', '55-8=47'] Exploring Operation: 9+47=56, Resulting Numbers: [56] 56,22 unequal: No Solution Exploring Operation: 9*47=423, Resulting Numbers: [423] 423,22 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 22:[8, 46], Operations: ['88/11=8', '55-9=46'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,22 unequal: No Solution Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,22 unequal: No Solution Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 22:[55, 1], Operations: ['88/11=8', '9-8=1'] Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,22 unequal: No Solution Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,22 unequal: No Solution Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,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,1 Current State: 22:[88, 9, 5], Operations: ['55/11=5'] Exploring Operation: 88-5=83, Resulting Numbers: [9, 83] Generated Node #0,1,0: 22:[9, 83] Operation: 88-5=83 Exploring Operation: 88-9=79, Resulting Numbers: [5, 79] Generated Node #0,1,1: 22:[5, 79] Operation: 88-9=79 Exploring Operation: 9-5=4, Resulting Numbers: [88, 4] Generated Node #0,1,2: 22:[88, 4] Operation: 9-5=4 Moving to Node #0,1,1 Current State: 22:[5, 79], Operations: ['55/11=5', '88-9=79'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,22 unequal: No Solution Exploring Operation: 5*79=395, Resulting Numbers: [395] 395,22 unequal: No Solution Exploring Operation: 5+79=84, Resulting Numbers: [84] 84,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[9, 83], Operations: ['55/11=5', '88-5=83'] Exploring Operation: 9+83=92, Resulting Numbers: [92] 92,22 unequal: No Solution Exploring Operation: 9*83=747, Resulting Numbers: [747] 747,22 unequal: No Solution Exploring Operation: 83-9=74, Resulting Numbers: [74] 74,22 unequal: No Solution Moving to Node #0,1,2 Current State: 22:[88, 4], Operations: ['55/11=5', '9-5=4'] Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[55, 88, 11, 9], Operations: [] Exploring Operation: 55/11=5, Resulting Numbers: [88, 9, 5] Generated Node #0,1: 22:[88, 9, 5] Operation: 55/11=5 Moving to Node #0,1 Current State: 22:[88, 9, 5], Operations: ['55/11=5'] Exploring Operation: 9-5=4, Resulting Numbers: [88, 4] Generated Node #0,1,2: 22:[88, 4] Operation: 9-5=4 Moving to Node #0,1,2 Current State: 22:[88, 4], Operations: ['55/11=5', '9-5=4'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_3
mult_heuristic
[ 21, 46, 23, 9 ]
99
[ "21+46=67", "23+9=32", "67+32=99" ]
Current State: 99:[21, 46, 23, 9], Operations: [] Exploring Operation: 21+46=67, Resulting Numbers: [23, 9, 67] Generated Node #2: [23, 9, 67] from Operation: 21+46=67 Current State: 99:[23, 9, 67], Operations: ['21+46=67'] Exploring Operation: 23+9=32, Resulting Numbers: [67, 32] Generated Node #3: [67, 32] from Operation: 23+9=32 Current State: 99:[67, 32], Operations: ['21+46=67', '23+9=32'] Exploring Operation: 67+32=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[21, 46, 23, 9], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [46, 9, 2] Generated Node #0,0: 99:[46, 9, 2] Operation: 23-21=2 Exploring Operation: 46/23=2, Resulting Numbers: [21, 9, 2] Generated Node #0,1: 99:[21, 9, 2] Operation: 46/23=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[21, 9, 2], Operations: ['46/23=2'] Exploring Operation: 21-9=12, Resulting Numbers: [2, 12] Generated Node #0,1,0: 99:[2, 12] Operation: 21-9=12 Exploring Operation: 21+9=30, Resulting Numbers: [2, 30] Generated Node #0,1,1: 99:[2, 30] Operation: 21+9=30 Moving to Node #0,1,0 Current State: 99:[2, 12], Operations: ['46/23=2', '21-9=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[2, 30], Operations: ['46/23=2', '21+9=30'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,99 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[46, 9, 2], Operations: ['23-21=2'] Exploring Operation: 46-9=37, Resulting Numbers: [2, 37] Generated Node #0,0,0: 99:[2, 37] Operation: 46-9=37 Exploring Operation: 46*2=92, Resulting Numbers: [9, 92] Generated Node #0,0,1: 99:[9, 92] Operation: 46*2=92 Moving to Node #0,0,0 Current State: 99:[2, 37], Operations: ['23-21=2', '46-9=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,99 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[9, 92], Operations: ['23-21=2', '46*2=92'] Exploring Operation: 9+92=101, Resulting Numbers: [101] 101,99 unequal: No Solution Exploring Operation: 92-9=83, Resulting Numbers: [83] 83,99 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
[ 99, 9, 90, 34 ]
52
[ "99+9=108", "90-34=56", "108-56=52" ]
Current State: 52:[99, 9, 90, 34], Operations: [] Exploring Operation: 99+9=108, Resulting Numbers: [90, 34, 108] Generated Node #2: [90, 34, 108] from Operation: 99+9=108 Current State: 52:[90, 34, 108], Operations: ['99+9=108'] Exploring Operation: 90-34=56, Resulting Numbers: [108, 56] Generated Node #3: [108, 56] from Operation: 90-34=56 Current State: 52:[108, 56], Operations: ['99+9=108', '90-34=56'] Exploring Operation: 108-56=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[99, 9, 90, 34], Operations: [] Exploring Operation: 99/9=11, Resulting Numbers: [90, 34, 11] Generated Node #0,0: 52:[90, 34, 11] Operation: 99/9=11 Exploring Operation: 99-90=9, Resulting Numbers: [9, 34, 9] Generated Node #0,1: 52:[9, 34, 9] Operation: 99-90=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[9, 34, 9], Operations: ['99-90=9'] Exploring Operation: 34-9=25, Resulting Numbers: [9, 25] Generated Node #0,1,0: 52:[9, 25] Operation: 34-9=25 Exploring Operation: 34-9=25, Resulting Numbers: [9, 25] Generated Node #0,1,1: 52:[9, 25] Operation: 34-9=25 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 52:[9, 25], Operations: ['99-90=9', '34-9=25'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,52 unequal: No Solution Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 52:[9, 25], Operations: ['99-90=9', '34-9=25'] Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,52 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[90, 34, 11], Operations: ['99/9=11'] Exploring Operation: 90-34=56, Resulting Numbers: [11, 56] Generated Node #0,0,0: 52:[11, 56] Operation: 90-34=56 Exploring Operation: 90-11=79, Resulting Numbers: [34, 79] Generated Node #0,0,1: 52:[34, 79] Operation: 90-11=79 Moving to Node #0,0,0 Current State: 52:[11, 56], Operations: ['99/9=11', '90-34=56'] Exploring Operation: 11+56=67, Resulting Numbers: [67] 67,52 unequal: No Solution Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[34, 79], Operations: ['99/9=11', '90-11=79'] Exploring Operation: 79-34=45, Resulting Numbers: [45] 45,52 unequal: No Solution Exploring Operation: 34+79=113, Resulting Numbers: [113] 113,52 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
[ 28, 29, 18, 6 ]
19
[ "28+29=57", "18/6=3", "57/3=19" ]
Current State: 19:[28, 29, 18, 6], Operations: [] Exploring Operation: 28+29=57, Resulting Numbers: [18, 6, 57] Generated Node #2: [18, 6, 57] from Operation: 28+29=57 Current State: 19:[18, 6, 57], Operations: ['28+29=57'] Exploring Operation: 18/6=3, Resulting Numbers: [57, 3] Generated Node #3: [57, 3] from Operation: 18/6=3 Current State: 19:[57, 3], Operations: ['28+29=57', '18/6=3'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[28, 29, 18, 6], Operations: [] Exploring Operation: 29-6=23, Resulting Numbers: [28, 18, 23] Generated Node #0,0: 19:[28, 18, 23] Operation: 29-6=23 Exploring Operation: 28-6=22, Resulting Numbers: [29, 18, 22] Generated Node #0,1: 19:[29, 18, 22] Operation: 28-6=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[28, 18, 23], Operations: ['29-6=23'] Exploring Operation: 28-18=10, Resulting Numbers: [23, 10] Generated Node #0,0,0: 19:[23, 10] Operation: 28-18=10 Exploring Operation: 28-23=5, Resulting Numbers: [18, 5] Generated Node #0,0,1: 19:[18, 5] Operation: 28-23=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[23, 10], Operations: ['29-6=23', '28-18=10'] Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,19 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 19:[18, 5], Operations: ['29-6=23', '28-23=5'] Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[29, 18, 22], Operations: ['28-6=22'] Exploring Operation: 29-18=11, Resulting Numbers: [22, 11] Generated Node #0,1,0: 19:[22, 11] Operation: 29-18=11 Exploring Operation: 29-22=7, Resulting Numbers: [18, 7] Generated Node #0,1,1: 19:[18, 7] Operation: 29-22=7 Moving to Node #0,1,0 Current State: 19:[22, 11], Operations: ['28-6=22', '29-18=11'] Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,19 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[18, 7], Operations: ['28-6=22', '29-22=7'] Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,19 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,19 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
[ 16, 2, 54, 16 ]
52
[ "16+2=18", "54+16=70", "70-18=52" ]
Current State: 52:[16, 2, 54, 16], Operations: [] Exploring Operation: 16+2=18, Resulting Numbers: [54, 18] Generated Node #2: [54, 18] from Operation: 16+2=18 Current State: 52:[54, 18], Operations: ['16+2=18'] Exploring Operation: 54+16=70, Resulting Numbers: [18, 70] Generated Node #3: [18, 70] from Operation: 54+16=70 Current State: 52:[18, 70], Operations: ['16+2=18', '54+16=70'] Exploring Operation: 70-18=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[16, 2, 54, 16], Operations: [] Exploring Operation: 16/16=1, Resulting Numbers: [2, 54, 1] Generated Node #0,0: 52:[2, 54, 1] Operation: 16/16=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[2, 54, 1], Operations: ['16/16=1'] Exploring Operation: 54-2=52, Resulting Numbers: [1, 52] Generated Node #0,0,0: 52:[1, 52] Operation: 54-2=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[1, 52], Operations: ['16/16=1', '54-2=52'] Exploring Operation: 1*52=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[16, 2, 54, 16], Operations: [] Exploring Operation: 16/16=1, Resulting Numbers: [2, 54, 1] Generated Node #0,0: 52:[2, 54, 1] Operation: 16/16=1 Moving to Node #0,0 Current State: 52:[2, 54, 1], Operations: ['16/16=1'] Exploring Operation: 54-2=52, Resulting Numbers: [1, 52] Generated Node #0,0,0: 52:[1, 52] Operation: 54-2=52 Moving to Node #0,0,0 Current State: 52:[1, 52], Operations: ['16/16=1', '54-2=52'] Exploring Operation: 1*52=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 9, 68, 61, 39 ]
41
[ "68-9=59", "61+39=100", "100-59=41" ]
Current State: 41:[9, 68, 61, 39], Operations: [] Exploring Operation: 68-9=59, Resulting Numbers: [61, 39, 59] Generated Node #2: [61, 39, 59] from Operation: 68-9=59 Current State: 41:[61, 39, 59], Operations: ['68-9=59'] Exploring Operation: 61+39=100, Resulting Numbers: [59, 100] Generated Node #3: [59, 100] from Operation: 61+39=100 Current State: 41:[59, 100], Operations: ['68-9=59', '61+39=100'] Exploring Operation: 100-59=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[9, 68, 61, 39], Operations: [] Exploring Operation: 9+61=70, Resulting Numbers: [68, 39, 70] Generated Node #0,0: 41:[68, 39, 70] Operation: 9+61=70 Exploring Operation: 61-9=52, Resulting Numbers: [68, 39, 52] Generated Node #0,1: 41:[68, 39, 52] Operation: 61-9=52 Exploring Operation: 9+39=48, Resulting Numbers: [68, 61, 48] Generated Node #0,2: 41:[68, 61, 48] Operation: 9+39=48 Exploring Operation: 9+68=77, Resulting Numbers: [61, 39, 77] Generated Node #0,3: 41:[61, 39, 77] Operation: 9+68=77 Exploring Operation: 68-9=59, Resulting Numbers: [61, 39, 59] Generated Node #0,4: 41:[61, 39, 59] Operation: 68-9=59 Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[68, 39, 52], Operations: ['61-9=52'] Exploring Operation: 68+39=107, Resulting Numbers: [52, 107] Generated Node #0,1,0: 41:[52, 107] Operation: 68+39=107 Exploring Operation: 39+52=91, Resulting Numbers: [68, 91] Generated Node #0,1,1: 41:[68, 91] Operation: 39+52=91 Exploring Operation: 68-52=16, Resulting Numbers: [39, 16] Generated Node #0,1,2: 41:[39, 16] Operation: 68-52=16 Exploring Operation: 68-39=29, Resulting Numbers: [52, 29] Generated Node #0,1,3: 41:[52, 29] Operation: 68-39=29 Exploring Operation: 52-39=13, Resulting Numbers: [68, 13] Generated Node #0,1,4: 41:[68, 13] Operation: 52-39=13 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 41:[52, 29], Operations: ['61-9=52', '68-39=29'] Exploring Operation: 52+29=81, Resulting Numbers: [81] 81,41 unequal: No Solution Exploring Operation: 52*29=1508, Resulting Numbers: [1508] 1508,41 unequal: No Solution Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 41:[39, 16], Operations: ['61-9=52', '68-52=16'] Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,41 unequal: No Solution Exploring Operation: 39*16=624, Resulting Numbers: [624] 624,41 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 41:[68, 13], Operations: ['61-9=52', '52-39=13'] Exploring Operation: 68*13=884, Resulting Numbers: [884] 884,41 unequal: No Solution Exploring Operation: 68+13=81, Resulting Numbers: [81] 81,41 unequal: No Solution Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[52, 107], Operations: ['61-9=52', '68+39=107'] Exploring Operation: 107-52=55, Resulting Numbers: [55] 55,41 unequal: No Solution Exploring Operation: 52+107=159, Resulting Numbers: [159] 159,41 unequal: No Solution Exploring Operation: 52*107=5564, Resulting Numbers: [5564] 5564,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[68, 91], Operations: ['61-9=52', '39+52=91'] Exploring Operation: 68*91=6188, Resulting Numbers: [6188] 6188,41 unequal: No Solution Exploring Operation: 68+91=159, Resulting Numbers: [159] 159,41 unequal: No Solution Exploring Operation: 91-68=23, Resulting Numbers: [23] 23,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 41:[61, 39, 59], Operations: ['68-9=59'] Exploring Operation: 39+59=98, Resulting Numbers: [61, 98] Generated Node #0,4,0: 41:[61, 98] Operation: 39+59=98 Exploring Operation: 61-39=22, Resulting Numbers: [59, 22] Generated Node #0,4,1: 41:[59, 22] Operation: 61-39=22 Exploring Operation: 61+39=100, Resulting Numbers: [59, 100] Generated Node #0,4,2: 41:[59, 100] Operation: 61+39=100 Exploring Operation: 59-39=20, Resulting Numbers: [61, 20] Generated Node #0,4,3: 41:[61, 20] Operation: 59-39=20 Exploring Operation: 61-59=2, Resulting Numbers: [39, 2] Generated Node #0,4,4: 41:[39, 2] Operation: 61-59=2 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 41:[59, 22], Operations: ['68-9=59', '61-39=22'] Exploring Operation: 59*22=1298, Resulting Numbers: [1298] 1298,41 unequal: No Solution Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 59+22=81, Resulting Numbers: [81] 81,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 41:[61, 20], Operations: ['68-9=59', '59-39=20'] Exploring Operation: 61*20=1220, Resulting Numbers: [1220] 1220,41 unequal: No Solution Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[9, 68, 61, 39], Operations: [] Exploring Operation: 68-9=59, Resulting Numbers: [61, 39, 59] Generated Node #0,4: 41:[61, 39, 59] Operation: 68-9=59 Moving to Node #0,4 Current State: 41:[61, 39, 59], Operations: ['68-9=59'] Exploring Operation: 59-39=20, Resulting Numbers: [61, 20] Generated Node #0,4,3: 41:[61, 20] Operation: 59-39=20 Moving to Node #0,4,3 Current State: 41:[61, 20], Operations: ['68-9=59', '59-39=20'] Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 3, 62, 14, 40 ]
72
[ "3*40=120", "62-14=48", "120-48=72" ]
Current State: 72:[3, 62, 14, 40], Operations: [] Exploring Operation: 3*40=120, Resulting Numbers: [62, 14, 120] Generated Node #2: [62, 14, 120] from Operation: 3*40=120 Current State: 72:[62, 14, 120], Operations: ['3*40=120'] Exploring Operation: 62-14=48, Resulting Numbers: [120, 48] Generated Node #3: [120, 48] from Operation: 62-14=48 Current State: 72:[120, 48], Operations: ['3*40=120', '62-14=48'] Exploring Operation: 120-48=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[3, 62, 14, 40], Operations: [] Exploring Operation: 62-40=22, Resulting Numbers: [3, 14, 22] Generated Node #0,0: 72:[3, 14, 22] Operation: 62-40=22 Exploring Operation: 62+14=76, Resulting Numbers: [3, 40, 76] Generated Node #0,1: 72:[3, 40, 76] Operation: 62+14=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[3, 14, 22], Operations: ['62-40=22'] Exploring Operation: 14+22=36, Resulting Numbers: [3, 36] Generated Node #0,0,0: 72:[3, 36] Operation: 14+22=36 Exploring Operation: 22-14=8, Resulting Numbers: [3, 8] Generated Node #0,0,1: 72:[3, 8] Operation: 22-14=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[3, 36], Operations: ['62-40=22', '14+22=36'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 72:[3, 8], Operations: ['62-40=22', '22-14=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[3, 40, 76], Operations: ['62+14=76'] Exploring Operation: 40-3=37, Resulting Numbers: [76, 37] Generated Node #0,1,0: 72:[76, 37] Operation: 40-3=37 Exploring Operation: 76-40=36, Resulting Numbers: [3, 36] Generated Node #0,1,1: 72:[3, 36] Operation: 76-40=36 Moving to Node #0,1,1 Current State: 72:[3, 36], Operations: ['62+14=76', '76-40=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,72 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[76, 37], Operations: ['62+14=76', '40-3=37'] Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,72 unequal: No Solution Exploring Operation: 76+37=113, Resulting Numbers: [113] 113,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 93, 11, 10, 3 ]
24
[ "93-11=82", "82-10=72", "72/3=24" ]
Current State: 24:[93, 11, 10, 3], Operations: [] Exploring Operation: 93-11=82, Resulting Numbers: [10, 3, 82] Generated Node #2: [10, 3, 82] from Operation: 93-11=82 Current State: 24:[10, 3, 82], Operations: ['93-11=82'] Exploring Operation: 82-10=72, Resulting Numbers: [3, 72] Generated Node #3: [3, 72] from Operation: 82-10=72 Current State: 24:[3, 72], Operations: ['93-11=82', '82-10=72'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[93, 11, 10, 3], Operations: [] Exploring Operation: 93/3=31, Resulting Numbers: [11, 10, 31] Generated Node #0,0: 24:[11, 10, 31] Operation: 93/3=31 Exploring Operation: 93-10=83, Resulting Numbers: [11, 3, 83] Generated Node #0,1: 24:[11, 3, 83] Operation: 93-10=83 Exploring Operation: 93-11=82, Resulting Numbers: [10, 3, 82] Generated Node #0,2: 24:[10, 3, 82] Operation: 93-11=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[11, 10, 31], Operations: ['93/3=31'] Exploring Operation: 31-11=20, Resulting Numbers: [10, 20] Generated Node #0,0,0: 24:[10, 20] Operation: 31-11=20 Exploring Operation: 31-10=21, Resulting Numbers: [11, 21] Generated Node #0,0,1: 24:[11, 21] Operation: 31-10=21 Exploring Operation: 11-10=1, Resulting Numbers: [31, 1] Generated Node #0,0,2: 24:[31, 1] Operation: 11-10=1 Moving to Node #0,0,1 Current State: 24:[11, 21], Operations: ['93/3=31', '31-10=21'] Exploring Operation: 11+21=32, Resulting Numbers: [32] 32,24 unequal: No Solution Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 11*21=231, Resulting Numbers: [231] 231,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[10, 20], Operations: ['93/3=31', '31-11=20'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[31, 1], Operations: ['93/3=31', '11-10=1'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,24 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[11, 3, 83], Operations: ['93-10=83'] Exploring Operation: 83-3=80, Resulting Numbers: [11, 80] Generated Node #0,1,0: 24:[11, 80] Operation: 83-3=80 Exploring Operation: 83-11=72, Resulting Numbers: [3, 72] Generated Node #0,1,1: 24:[3, 72] Operation: 83-11=72 Exploring Operation: 11-3=8, Resulting Numbers: [83, 8] Generated Node #0,1,2: 24:[83, 8] Operation: 11-3=8 Moving to Node #0,1,1 Current State: 24:[3, 72], Operations: ['93-10=83', '83-11=72'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[93, 11, 10, 3], Operations: [] Exploring Operation: 93-10=83, Resulting Numbers: [11, 3, 83] Generated Node #0,1: 24:[11, 3, 83] Operation: 93-10=83 Moving to Node #0,1 Current State: 24:[11, 3, 83], Operations: ['93-10=83'] Exploring Operation: 83-11=72, Resulting Numbers: [3, 72] Generated Node #0,1,1: 24:[3, 72] Operation: 83-11=72 Moving to Node #0,1,1 Current State: 24:[3, 72], Operations: ['93-10=83', '83-11=72'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 97, 57, 23, 22 ]
85
[ "97-57=40", "23+22=45", "40+45=85" ]
Current State: 85:[97, 57, 23, 22], Operations: [] Exploring Operation: 97-57=40, Resulting Numbers: [23, 22, 40] Generated Node #2: [23, 22, 40] from Operation: 97-57=40 Current State: 85:[23, 22, 40], Operations: ['97-57=40'] Exploring Operation: 23+22=45, Resulting Numbers: [40, 45] Generated Node #3: [40, 45] from Operation: 23+22=45 Current State: 85:[40, 45], Operations: ['97-57=40', '23+22=45'] Exploring Operation: 40+45=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[97, 57, 23, 22], Operations: [] Exploring Operation: 57+22=79, Resulting Numbers: [97, 23, 79] Generated Node #0,0: 85:[97, 23, 79] Operation: 57+22=79 Exploring Operation: 57+23=80, Resulting Numbers: [97, 22, 80] Generated Node #0,1: 85:[97, 22, 80] Operation: 57+23=80 Exploring Operation: 97-57=40, Resulting Numbers: [23, 22, 40] Generated Node #0,2: 85:[23, 22, 40] Operation: 97-57=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[97, 22, 80], Operations: ['57+23=80'] Exploring Operation: 97-80=17, Resulting Numbers: [22, 17] Generated Node #0,1,0: 85:[22, 17] Operation: 97-80=17 Exploring Operation: 22+80=102, Resulting Numbers: [97, 102] Generated Node #0,1,1: 85:[97, 102] Operation: 22+80=102 Exploring Operation: 97-22=75, Resulting Numbers: [80, 75] Generated Node #0,1,2: 85:[80, 75] Operation: 97-22=75 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 85:[22, 17], Operations: ['57+23=80', '97-80=17'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,85 unequal: No Solution Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,85 unequal: No Solution No 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: 85:[80, 75], Operations: ['57+23=80', '97-22=75'] Exploring Operation: 80+75=155, Resulting Numbers: [155] 155,85 unequal: No Solution Exploring Operation: 80-75=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 80*75=6000, Resulting Numbers: [6000] 6000,85 unequal: No Solution No 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: 85:[97, 102], Operations: ['57+23=80', '22+80=102'] Exploring Operation: 97+102=199, Resulting Numbers: [199] 199,85 unequal: No Solution Exploring Operation: 102-97=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 97*102=9894, Resulting Numbers: [9894] 9894,85 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: 85:[97, 23, 79], Operations: ['57+22=79'] Exploring Operation: 97-23=74, Resulting Numbers: [79, 74] Generated Node #0,0,0: 85:[79, 74] Operation: 97-23=74 Exploring Operation: 97-79=18, Resulting Numbers: [23, 18] Generated Node #0,0,1: 85:[23, 18] Operation: 97-79=18 Exploring Operation: 23+79=102, Resulting Numbers: [97, 102] Generated Node #0,0,2: 85:[97, 102] Operation: 23+79=102 Moving to Node #0,0,1 Current State: 85:[23, 18], Operations: ['57+22=79', '97-79=18'] Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,85 unequal: No Solution Exploring Operation: 23*18=414, Resulting Numbers: [414] 414,85 unequal: No Solution Moving to Node #0,0,0 Current State: 85:[79, 74], Operations: ['57+22=79', '97-23=74'] Exploring Operation: 79+74=153, Resulting Numbers: [153] 153,85 unequal: No Solution Exploring Operation: 79-74=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 79*74=5846, Resulting Numbers: [5846] 5846,85 unequal: No Solution Moving to Node #0,0,2 Current State: 85:[97, 102], Operations: ['57+22=79', '23+79=102'] Exploring Operation: 97*102=9894, Resulting Numbers: [9894] 9894,85 unequal: No Solution Exploring Operation: 97+102=199, Resulting Numbers: [199] 199,85 unequal: No Solution Exploring Operation: 102-97=5, Resulting Numbers: [5] 5,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[23, 22, 40], Operations: ['97-57=40'] Exploring Operation: 40-22=18, Resulting Numbers: [23, 18] Generated Node #0,2,0: 85:[23, 18] Operation: 40-22=18 Exploring Operation: 40-23=17, Resulting Numbers: [22, 17] Generated Node #0,2,1: 85:[22, 17] Operation: 40-23=17 Exploring Operation: 23-22=1, Resulting Numbers: [40, 1] Generated Node #0,2,2: 85:[40, 1] Operation: 23-22=1 Moving to Node #0,2,1 Current State: 85:[22, 17], Operations: ['97-57=40', '40-23=17'] Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,85 unequal: No Solution Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,85 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[23, 18], Operations: ['97-57=40', '40-22=18'] Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,85 unequal: No Solution Exploring Operation: 23*18=414, Resulting Numbers: [414] 414,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[40, 1], Operations: ['97-57=40', '23-22=1'] Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,85 unequal: No Solution Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,85 unequal: No Solution Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,85 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
[ 44, 83, 59, 88 ]
22
[ "88/44=2", "83-59=24", "24-2=22" ]
Current State: 22:[44, 83, 59, 88], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [83, 59, 2] Generated Node #2: [83, 59, 2] from Operation: 88/44=2 Current State: 22:[83, 59, 2], Operations: ['88/44=2'] Exploring Operation: 83-59=24, Resulting Numbers: [2, 24] Generated Node #3: [2, 24] from Operation: 83-59=24 Current State: 22:[2, 24], Operations: ['88/44=2', '83-59=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[44, 83, 59, 88], Operations: [] Exploring Operation: 83-59=24, Resulting Numbers: [44, 88, 24] Generated Node #0,0: 22:[44, 88, 24] Operation: 83-59=24 Exploring Operation: 83-44=39, Resulting Numbers: [59, 88, 39] Generated Node #0,1: 22:[59, 88, 39] Operation: 83-44=39 Exploring Operation: 88/44=2, Resulting Numbers: [83, 59, 2] Generated Node #0,2: 22:[83, 59, 2] Operation: 88/44=2 Exploring Operation: 88-59=29, Resulting Numbers: [44, 83, 29] Generated Node #0,3: 22:[44, 83, 29] Operation: 88-59=29 Exploring Operation: 88-83=5, Resulting Numbers: [44, 59, 5] Generated Node #0,4: 22:[44, 59, 5] Operation: 88-83=5 Moving to Node #0,4 Current State: 22:[44, 59, 5], Operations: ['88-83=5'] Exploring Operation: 59-5=54, Resulting Numbers: [44, 54] Generated Node #0,4,0: 22:[44, 54] Operation: 59-5=54 Exploring Operation: 59-44=15, Resulting Numbers: [5, 15] Generated Node #0,4,1: 22:[5, 15] Operation: 59-44=15 Exploring Operation: 44+5=49, Resulting Numbers: [59, 49] Generated Node #0,4,2: 22:[59, 49] Operation: 44+5=49 Exploring Operation: 59+5=64, Resulting Numbers: [44, 64] Generated Node #0,4,3: 22:[44, 64] Operation: 59+5=64 Exploring Operation: 44-5=39, Resulting Numbers: [59, 39] Generated Node #0,4,4: 22:[59, 39] Operation: 44-5=39 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 22:[5, 15], Operations: ['88-83=5', '59-44=15'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,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,4,0 Current State: 22:[44, 54], Operations: ['88-83=5', '59-5=54'] Exploring Operation: 44+54=98, Resulting Numbers: [98] 98,22 unequal: No Solution Exploring Operation: 44*54=2376, Resulting Numbers: [2376] 2376,22 unequal: No Solution Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,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,4,4 Current State: 22:[59, 39], Operations: ['88-83=5', '44-5=39'] Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 59+39=98, Resulting Numbers: [98] 98,22 unequal: No Solution Exploring Operation: 59*39=2301, Resulting Numbers: [2301] 2301,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,4,2 Current State: 22:[59, 49], Operations: ['88-83=5', '44+5=49'] Exploring Operation: 59*49=2891, Resulting Numbers: [2891] 2891,22 unequal: No Solution Exploring Operation: 59+49=108, Resulting Numbers: [108] 108,22 unequal: No Solution Exploring Operation: 59-49=10, Resulting Numbers: [10] 10,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,4,3 Current State: 22:[44, 64], Operations: ['88-83=5', '59+5=64'] Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 44*64=2816, Resulting Numbers: [2816] 2816,22 unequal: No Solution Exploring Operation: 44+64=108, Resulting Numbers: [108] 108,22 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: 22:[44, 83, 29], Operations: ['88-59=29'] Exploring Operation: 44+83=127, Resulting Numbers: [29, 127] Generated Node #0,3,0: 22:[29, 127] Operation: 44+83=127 Exploring Operation: 83-29=54, Resulting Numbers: [44, 54] Generated Node #0,3,1: 22:[44, 54] Operation: 83-29=54 Exploring Operation: 44+29=73, Resulting Numbers: [83, 73] Generated Node #0,3,2: 22:[83, 73] Operation: 44+29=73 Exploring Operation: 83-44=39, Resulting Numbers: [29, 39] Generated Node #0,3,3: 22:[29, 39] Operation: 83-44=39 Exploring Operation: 44-29=15, Resulting Numbers: [83, 15] Generated Node #0,3,4: 22:[83, 15] Operation: 44-29=15 Moving to Node #0,0 Current State: 22:[44, 88, 24], Operations: ['83-59=24'] Exploring Operation: 44+88=132, Resulting Numbers: [24, 132] Generated Node #0,0,0: 22:[24, 132] Operation: 44+88=132 Exploring Operation: 88/44=2, Resulting Numbers: [24, 2] Generated Node #0,0,1: 22:[24, 2] Operation: 88/44=2 Exploring Operation: 44-24=20, Resulting Numbers: [88, 20] Generated Node #0,0,2: 22:[88, 20] Operation: 44-24=20 Exploring Operation: 88-24=64, Resulting Numbers: [44, 64] Generated Node #0,0,3: 22:[44, 64] Operation: 88-24=64 Exploring Operation: 88-44=44, Resulting Numbers: [24, 44] Generated Node #0,0,4: 22:[24, 44] Operation: 88-44=44 Moving to Node #0,2 Current State: 22:[83, 59, 2], Operations: ['88/44=2'] Exploring Operation: 59-2=57, Resulting Numbers: [83, 57] Generated Node #0,2,0: 22:[83, 57] Operation: 59-2=57 Exploring Operation: 59+2=61, Resulting Numbers: [83, 61] Generated Node #0,2,1: 22:[83, 61] Operation: 59+2=61 Exploring Operation: 83-59=24, Resulting Numbers: [2, 24] Generated Node #0,2,2: 22:[2, 24] Operation: 83-59=24 Exploring Operation: 83+2=85, Resulting Numbers: [59, 85] Generated Node #0,2,3: 22:[59, 85] Operation: 83+2=85 Exploring Operation: 83-2=81, Resulting Numbers: [59, 81] Generated Node #0,2,4: 22:[59, 81] Operation: 83-2=81 Moving to Node #0,1 Current State: 22:[59, 88, 39], Operations: ['83-44=39'] Exploring Operation: 59-39=20, Resulting Numbers: [88, 20] Generated Node #0,1,0: 22:[88, 20] Operation: 59-39=20 Exploring Operation: 88-39=49, Resulting Numbers: [59, 49] Generated Node #0,1,1: 22:[59, 49] Operation: 88-39=49 Exploring Operation: 59+39=98, Resulting Numbers: [88, 98] Generated Node #0,1,2: 22:[88, 98] Operation: 59+39=98 Exploring Operation: 88-59=29, Resulting Numbers: [39, 29] Generated Node #0,1,3: 22:[39, 29] Operation: 88-59=29 Exploring Operation: 59+88=147, Resulting Numbers: [39, 147] Generated Node #0,1,4: 22:[39, 147] Operation: 59+88=147 Moving to Node #0,0,1 Current State: 22:[24, 2], Operations: ['83-59=24', '88/44=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[44, 83, 59, 88], Operations: [] Exploring Operation: 83-59=24, Resulting Numbers: [44, 88, 24] Generated Node #0,0: 22:[44, 88, 24] Operation: 83-59=24 Moving to Node #0,0 Current State: 22:[44, 88, 24], Operations: ['83-59=24'] Exploring Operation: 88/44=2, Resulting Numbers: [24, 2] Generated Node #0,0,1: 22:[24, 2] Operation: 88/44=2 Moving to Node #0,0,1 Current State: 22:[24, 2], Operations: ['83-59=24', '88/44=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
0.955729
hs_5
sum_heuristic
[ 42, 12, 31, 35 ]
39
[ "35-31=4", "12/4=3", "42-3=39" ]
Current State: 39:[42, 12, 31, 35], Operations: [] Exploring Operation: 35-31=4, Resulting Numbers: [42, 12, 4] Generated Node #2: [42, 12, 4] from Operation: 35-31=4 Current State: 39:[42, 12, 4], Operations: ['35-31=4'] Exploring Operation: 12/4=3, Resulting Numbers: [42, 3] Generated Node #3: [42, 3] from Operation: 12/4=3 Current State: 39:[42, 3], Operations: ['35-31=4', '12/4=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[42, 12, 31, 35], Operations: [] Exploring Operation: 35-31=4, Resulting Numbers: [42, 12, 4] Generated Node #0,0: 39:[42, 12, 4] Operation: 35-31=4 Exploring Operation: 12+31=43, Resulting Numbers: [42, 35, 43] Generated Node #0,1: 39:[42, 35, 43] Operation: 12+31=43 Exploring Operation: 42-31=11, Resulting Numbers: [12, 35, 11] Generated Node #0,2: 39:[12, 35, 11] Operation: 42-31=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[42, 12, 4], Operations: ['35-31=4'] Exploring Operation: 42-4=38, Resulting Numbers: [12, 38] Generated Node #0,0,0: 39:[12, 38] Operation: 42-4=38 Exploring Operation: 12+4=16, Resulting Numbers: [42, 16] Generated Node #0,0,1: 39:[42, 16] Operation: 12+4=16 Exploring Operation: 12/4=3, Resulting Numbers: [42, 3] Generated Node #0,0,2: 39:[42, 3] Operation: 12/4=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[12, 38], Operations: ['35-31=4', '42-4=38'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,39 unequal: No Solution Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,39 unequal: No Solution Exploring Operation: 12*38=456, Resulting Numbers: [456] 456,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 39:[42, 3], Operations: ['35-31=4', '12/4=3'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[42, 12, 31, 35], Operations: [] Exploring Operation: 35-31=4, Resulting Numbers: [42, 12, 4] Generated Node #0,0: 39:[42, 12, 4] Operation: 35-31=4 Moving to Node #0,0 Current State: 39:[42, 12, 4], Operations: ['35-31=4'] Exploring Operation: 12/4=3, Resulting Numbers: [42, 3] Generated Node #0,0,2: 39:[42, 3] Operation: 12/4=3 Moving to Node #0,0,2 Current State: 39:[42, 3], Operations: ['35-31=4', '12/4=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 48, 61, 3, 8 ]
39
[ "48+61=109", "8+109=117", "117/3=39" ]
Current State: 39:[48, 61, 3, 8], Operations: [] Exploring Operation: 48+61=109, Resulting Numbers: [3, 8, 109] Generated Node #2: [3, 8, 109] from Operation: 48+61=109 Current State: 39:[3, 8, 109], Operations: ['48+61=109'] Exploring Operation: 8+109=117, Resulting Numbers: [3, 117] Generated Node #3: [3, 117] from Operation: 8+109=117 Current State: 39:[3, 117], Operations: ['48+61=109', '8+109=117'] Exploring Operation: 117/3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[48, 61, 3, 8], Operations: [] Exploring Operation: 48-8=40, Resulting Numbers: [61, 3, 40] Generated Node #0,0: 39:[61, 3, 40] Operation: 48-8=40 Exploring Operation: 61-48=13, Resulting Numbers: [3, 8, 13] Generated Node #0,1: 39:[3, 8, 13] Operation: 61-48=13 Exploring Operation: 48/8=6, Resulting Numbers: [61, 3, 6] Generated Node #0,2: 39:[61, 3, 6] Operation: 48/8=6 Exploring Operation: 61-8=53, Resulting Numbers: [48, 3, 53] Generated Node #0,3: 39:[48, 3, 53] Operation: 61-8=53 Moving to Node #0,1 Current State: 39:[3, 8, 13], Operations: ['61-48=13'] Exploring Operation: 3+8=11, Resulting Numbers: [13, 11] Generated Node #0,1,0: 39:[13, 11] Operation: 3+8=11 Exploring Operation: 13-8=5, Resulting Numbers: [3, 5] Generated Node #0,1,1: 39:[3, 5] Operation: 13-8=5 Exploring Operation: 8-3=5, Resulting Numbers: [13, 5] Generated Node #0,1,2: 39:[13, 5] Operation: 8-3=5 Exploring Operation: 3*13=39, Resulting Numbers: [8, 39] Generated Node #0,1,3: 39:[8, 39] Operation: 3*13=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[13, 11], Operations: ['61-48=13', '3+8=11'] Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,39 unequal: No Solution Exploring Operation: 13*11=143, Resulting Numbers: [143] 143,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[3, 5], Operations: ['61-48=13', '13-8=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 39:[13, 5], Operations: ['61-48=13', '8-3=5'] Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,39 unequal: No Solution Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,39 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 39:[8, 39], Operations: ['61-48=13', '3*13=39'] Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,39 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,39 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: 39:[48, 3, 53], Operations: ['61-8=53'] Exploring Operation: 53-48=5, Resulting Numbers: [3, 5] Generated Node #0,3,0: 39:[3, 5] Operation: 53-48=5 Exploring Operation: 48-3=45, Resulting Numbers: [53, 45] Generated Node #0,3,1: 39:[53, 45] Operation: 48-3=45 Exploring Operation: 48/3=16, Resulting Numbers: [53, 16] Generated Node #0,3,2: 39:[53, 16] Operation: 48/3=16 Exploring Operation: 53-3=50, Resulting Numbers: [48, 50] Generated Node #0,3,3: 39:[48, 50] Operation: 53-3=50 Moving to Node #0,0 Current State: 39:[61, 3, 40], Operations: ['48-8=40'] Exploring Operation: 61+3=64, Resulting Numbers: [40, 64] Generated Node #0,0,0: 39:[40, 64] Operation: 61+3=64 Exploring Operation: 61-40=21, Resulting Numbers: [3, 21] Generated Node #0,0,1: 39:[3, 21] Operation: 61-40=21 Exploring Operation: 40-3=37, Resulting Numbers: [61, 37] Generated Node #0,0,2: 39:[61, 37] Operation: 40-3=37 Exploring Operation: 61-3=58, Resulting Numbers: [40, 58] Generated Node #0,0,3: 39:[40, 58] Operation: 61-3=58 Moving to Node #0,2 Current State: 39:[61, 3, 6], Operations: ['48/8=6'] Exploring Operation: 6/3=2, Resulting Numbers: [61, 2] Generated Node #0,2,0: 39:[61, 2] Operation: 6/3=2 Exploring Operation: 61-6=55, Resulting Numbers: [3, 55] Generated Node #0,2,1: 39:[3, 55] Operation: 61-6=55 Exploring Operation: 61-3=58, Resulting Numbers: [6, 58] Generated Node #0,2,2: 39:[6, 58] Operation: 61-3=58 Exploring Operation: 6-3=3, Resulting Numbers: [61, 3] Generated Node #0,2,3: 39:[61, 3] Operation: 6-3=3 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 39:[3, 55], Operations: ['48/8=6', '61-6=55'] Exploring Operation: 3*55=165, Resulting Numbers: [165] 165,39 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 39:[6, 58], Operations: ['48/8=6', '61-3=58'] Exploring Operation: 6+58=64, Resulting Numbers: [64] 64,39 unequal: No Solution Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 6*58=348, Resulting Numbers: [348] 348,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 39:[61, 3], Operations: ['48/8=6', '6-3=3'] Exploring Operation: 61*3=183, Resulting Numbers: [183] 183,39 unequal: No Solution Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,39 unequal: No Solution Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 39:[61, 2], Operations: ['48/8=6', '6/3=2'] Exploring Operation: 61*2=122, Resulting Numbers: [122] 122,39 unequal: No Solution Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,39 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 39:[3, 5], Operations: ['61-8=53', '53-48=5'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[3, 21], Operations: ['48-8=40', '61-40=21'] Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,39 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,39 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,39 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,39 unequal: No Solution Moving to Node #0,3,2 Current State: 39:[53, 16], Operations: ['61-8=53', '48/3=16'] Exploring Operation: 53+16=69, Resulting Numbers: [69] 69,39 unequal: No Solution Exploring Operation: 53*16=848, Resulting Numbers: [848] 848,39 unequal: No Solution Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,39 unequal: No Solution Moving to Node #0,3,1 Current State: 39:[53, 45], Operations: ['61-8=53', '48-3=45'] Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,39 unequal: No Solution Exploring Operation: 53*45=2385, Resulting Numbers: [2385] 2385,39 unequal: No Solution Moving to Node #0,0,3 Current State: 39:[40, 58], Operations: ['48-8=40', '61-3=58'] Exploring Operation: 40*58=2320, Resulting Numbers: [2320] 2320,39 unequal: No Solution Exploring Operation: 40+58=98, Resulting Numbers: [98] 98,39 unequal: No Solution Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,39 unequal: No Solution Moving to Node #0,3,3 Current State: 39:[48, 50], Operations: ['61-8=53', '53-3=50'] Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 48+50=98, Resulting Numbers: [98] 98,39 unequal: No Solution Exploring Operation: 48*50=2400, Resulting Numbers: [2400] 2400,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[61, 37], Operations: ['48-8=40', '40-3=37'] Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,39 unequal: No Solution Exploring Operation: 61*37=2257, Resulting Numbers: [2257] 2257,39 unequal: No Solution Exploring Operation: 61+37=98, Resulting Numbers: [98] 98,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[40, 64], Operations: ['48-8=40', '61+3=64'] Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,39 unequal: No Solution Exploring Operation: 40+64=104, Resulting Numbers: [104] 104,39 unequal: No Solution Exploring Operation: 40*64=2560, Resulting Numbers: [2560] 2560,39 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 10, 30, 6, 49 ]
41
[ "10*6=60", "49-30=19", "60-19=41" ]
Current State: 41:[10, 30, 6, 49], Operations: [] Exploring Operation: 10*6=60, Resulting Numbers: [30, 49, 60] Generated Node #2: [30, 49, 60] from Operation: 10*6=60 Current State: 41:[30, 49, 60], Operations: ['10*6=60'] Exploring Operation: 49-30=19, Resulting Numbers: [60, 19] Generated Node #3: [60, 19] from Operation: 49-30=19 Current State: 41:[60, 19], Operations: ['10*6=60', '49-30=19'] Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[10, 30, 6, 49], Operations: [] Exploring Operation: 30+6=36, Resulting Numbers: [10, 49, 36] Generated Node #0,0: 41:[10, 49, 36] Operation: 30+6=36 Exploring Operation: 10+30=40, Resulting Numbers: [6, 49, 40] Generated Node #0,1: 41:[6, 49, 40] Operation: 10+30=40 Exploring Operation: 10*6=60, Resulting Numbers: [30, 49, 60] Generated Node #0,2: 41:[30, 49, 60] Operation: 10*6=60 Exploring Operation: 10+6=16, Resulting Numbers: [30, 49, 16] Generated Node #0,3: 41:[30, 49, 16] Operation: 10+6=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[30, 49, 60], Operations: ['10*6=60'] Exploring Operation: 60-30=30, Resulting Numbers: [49, 30] Generated Node #0,2,0: 41:[49, 30] Operation: 60-30=30 Exploring Operation: 49-30=19, Resulting Numbers: [60, 19] Generated Node #0,2,1: 41:[60, 19] Operation: 49-30=19 Exploring Operation: 60-49=11, Resulting Numbers: [30, 11] Generated Node #0,2,2: 41:[30, 11] Operation: 60-49=11 Exploring Operation: 60/30=2, Resulting Numbers: [49, 2] Generated Node #0,2,3: 41:[49, 2] Operation: 60/30=2 Moving to Node #0,2,0 Current State: 41:[49, 30], Operations: ['10*6=60', '60-30=30'] Exploring Operation: 49*30=1470, Resulting Numbers: [1470] 1470,41 unequal: No Solution Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,41 unequal: No Solution Exploring Operation: 49+30=79, Resulting Numbers: [79] 79,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[30, 11], Operations: ['10*6=60', '60-49=11'] Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,41 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,41 unequal: No Solution Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[10, 30, 6, 49], Operations: [] Exploring Operation: 10*6=60, Resulting Numbers: [30, 49, 60] Generated Node #0,2: 41:[30, 49, 60] Operation: 10*6=60 Moving to Node #0,2 Current State: 41:[30, 49, 60], Operations: ['10*6=60'] Exploring Operation: 60-49=11, Resulting Numbers: [30, 11] Generated Node #0,2,2: 41:[30, 11] Operation: 60-49=11 Moving to Node #0,2,2 Current State: 41:[30, 11], Operations: ['10*6=60', '60-49=11'] Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 2, 16, 95, 11 ]
58
[ "95-11=84", "84/2=42", "16+42=58" ]
Current State: 58:[2, 16, 95, 11], Operations: [] Exploring Operation: 95-11=84, Resulting Numbers: [2, 16, 84] Generated Node #2: [2, 16, 84] from Operation: 95-11=84 Current State: 58:[2, 16, 84], Operations: ['95-11=84'] Exploring Operation: 84/2=42, Resulting Numbers: [16, 42] Generated Node #3: [16, 42] from Operation: 84/2=42 Current State: 58:[16, 42], Operations: ['95-11=84', '84/2=42'] Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[2, 16, 95, 11], Operations: [] Exploring Operation: 95-16=79, Resulting Numbers: [2, 11, 79] Generated Node #0,0: 58:[2, 11, 79] Operation: 95-16=79 Exploring Operation: 95-11=84, Resulting Numbers: [2, 16, 84] Generated Node #0,1: 58:[2, 16, 84] Operation: 95-11=84 Exploring Operation: 16+11=27, Resulting Numbers: [2, 95, 27] Generated Node #0,2: 58:[2, 95, 27] Operation: 16+11=27 Moving to Node #0,0 Current State: 58:[2, 11, 79], Operations: ['95-16=79'] Exploring Operation: 79-11=68, Resulting Numbers: [2, 68] Generated Node #0,0,0: 58:[2, 68] Operation: 79-11=68 Exploring Operation: 11-2=9, Resulting Numbers: [79, 9] Generated Node #0,0,1: 58:[79, 9] Operation: 11-2=9 Exploring Operation: 2*11=22, Resulting Numbers: [79, 22] Generated Node #0,0,2: 58:[79, 22] Operation: 2*11=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[2, 68], Operations: ['95-16=79', '79-11=68'] Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,58 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,58 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,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,1 Current State: 58:[79, 9], Operations: ['95-16=79', '11-2=9'] Exploring Operation: 79+9=88, Resulting Numbers: [88] 88,58 unequal: No Solution Exploring Operation: 79*9=711, Resulting Numbers: [711] 711,58 unequal: No Solution Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,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,2 Current State: 58:[79, 22], Operations: ['95-16=79', '2*11=22'] Exploring Operation: 79+22=101, Resulting Numbers: [101] 101,58 unequal: No Solution Exploring Operation: 79-22=57, Resulting Numbers: [57] 57,58 unequal: No Solution Exploring Operation: 79*22=1738, Resulting Numbers: [1738] 1738,58 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: 58:[2, 16, 84], Operations: ['95-11=84'] Exploring Operation: 2*16=32, Resulting Numbers: [84, 32] Generated Node #0,1,0: 58:[84, 32] Operation: 2*16=32 Exploring Operation: 84/2=42, Resulting Numbers: [16, 42] Generated Node #0,1,1: 58:[16, 42] Operation: 84/2=42 Exploring Operation: 84-16=68, Resulting Numbers: [2, 68] Generated Node #0,1,2: 58:[2, 68] Operation: 84-16=68 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 58:[2, 68], Operations: ['95-11=84', '84-16=68'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,58 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 58:[16, 42], Operations: ['95-11=84', '84/2=42'] Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[2, 16, 95, 11], Operations: [] Exploring Operation: 95-11=84, Resulting Numbers: [2, 16, 84] Generated Node #0,1: 58:[2, 16, 84] Operation: 95-11=84 Moving to Node #0,1 Current State: 58:[2, 16, 84], Operations: ['95-11=84'] Exploring Operation: 84/2=42, Resulting Numbers: [16, 42] Generated Node #0,1,1: 58:[16, 42] Operation: 84/2=42 Moving to Node #0,1,1 Current State: 58:[16, 42], Operations: ['95-11=84', '84/2=42'] Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
sum_heuristic
[ 7, 13, 93, 2 ]
56
[ "93-7=86", "86/2=43", "13+43=56" ]
Current State: 56:[7, 13, 93, 2], Operations: [] Exploring Operation: 93-7=86, Resulting Numbers: [13, 2, 86] Generated Node #2: [13, 2, 86] from Operation: 93-7=86 Current State: 56:[13, 2, 86], Operations: ['93-7=86'] Exploring Operation: 86/2=43, Resulting Numbers: [13, 43] Generated Node #3: [13, 43] from Operation: 86/2=43 Current State: 56:[13, 43], Operations: ['93-7=86', '86/2=43'] Exploring Operation: 13+43=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[7, 13, 93, 2], Operations: [] Exploring Operation: 93-2=91, Resulting Numbers: [7, 13, 91] Generated Node #0,0: 56:[7, 13, 91] Operation: 93-2=91 Exploring Operation: 93-7=86, Resulting Numbers: [13, 2, 86] Generated Node #0,1: 56:[13, 2, 86] Operation: 93-7=86 Exploring Operation: 13-7=6, Resulting Numbers: [93, 2, 6] Generated Node #0,2: 56:[93, 2, 6] Operation: 13-7=6 Exploring Operation: 93-13=80, Resulting Numbers: [7, 2, 80] Generated Node #0,3: 56:[7, 2, 80] Operation: 93-13=80 Moving to Node #0,3 Current State: 56:[7, 2, 80], Operations: ['93-13=80'] Exploring Operation: 80/2=40, Resulting Numbers: [7, 40] Generated Node #0,3,0: 56:[7, 40] Operation: 80/2=40 Exploring Operation: 7*2=14, Resulting Numbers: [80, 14] Generated Node #0,3,1: 56:[80, 14] Operation: 7*2=14 Exploring Operation: 80-7=73, Resulting Numbers: [2, 73] Generated Node #0,3,2: 56:[2, 73] Operation: 80-7=73 Exploring Operation: 80-2=78, Resulting Numbers: [7, 78] Generated Node #0,3,3: 56:[7, 78] Operation: 80-2=78 Moving to Node #0,1 Current State: 56:[13, 2, 86], Operations: ['93-7=86'] Exploring Operation: 86-2=84, Resulting Numbers: [13, 84] Generated Node #0,1,0: 56:[13, 84] Operation: 86-2=84 Exploring Operation: 86-13=73, Resulting Numbers: [2, 73] Generated Node #0,1,1: 56:[2, 73] Operation: 86-13=73 Exploring Operation: 13+2=15, Resulting Numbers: [86, 15] Generated Node #0,1,2: 56:[86, 15] Operation: 13+2=15 Exploring Operation: 86/2=43, Resulting Numbers: [13, 43] Generated Node #0,1,3: 56:[13, 43] Operation: 86/2=43 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 56:[13, 43], Operations: ['93-7=86', '86/2=43'] Exploring Operation: 13*43=559, Resulting Numbers: [559] 559,56 unequal: No Solution Exploring Operation: 13+43=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[7, 13, 93, 2], Operations: [] Exploring Operation: 93-7=86, Resulting Numbers: [13, 2, 86] Generated Node #0,1: 56:[13, 2, 86] Operation: 93-7=86 Moving to Node #0,1 Current State: 56:[13, 2, 86], Operations: ['93-7=86'] Exploring Operation: 86/2=43, Resulting Numbers: [13, 43] Generated Node #0,1,3: 56:[13, 43] Operation: 86/2=43 Moving to Node #0,1,3 Current State: 56:[13, 43], Operations: ['93-7=86', '86/2=43'] Exploring Operation: 13+43=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 72, 33, 39, 36 ]
11
[ "72-39=33", "36-33=3", "33/3=11" ]
Current State: 11:[72, 33, 39, 36], Operations: [] Exploring Operation: 72-39=33, Resulting Numbers: [33, 36, 33] Generated Node #2: [33, 36, 33] from Operation: 72-39=33 Current State: 11:[33, 36, 33], Operations: ['72-39=33'] Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,11 equal: Goal Reached Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[72, 33, 39, 36], Operations: [] Exploring Operation: 72/36=2, Resulting Numbers: [33, 39, 2] Generated Node #0,0: 11:[33, 39, 2] Operation: 72/36=2 Exploring Operation: 72-39=33, Resulting Numbers: [33, 36, 33] Generated Node #0,1: 11:[33, 36, 33] Operation: 72-39=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[33, 39, 2], Operations: ['72/36=2'] Exploring Operation: 33-2=31, Resulting Numbers: [39, 31] Generated Node #0,0,0: 11:[39, 31] Operation: 33-2=31 Exploring Operation: 39-33=6, Resulting Numbers: [2, 6] Generated Node #0,0,1: 11:[2, 6] Operation: 39-33=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[2, 6], Operations: ['72/36=2', '39-33=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,11 unequal: No Solution No 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: 11:[39, 31], Operations: ['72/36=2', '33-2=31'] Exploring Operation: 39+31=70, Resulting Numbers: [70] 70,11 unequal: No Solution Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,11 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: 11:[33, 36, 33], Operations: ['72-39=33'] Exploring Operation: 36-33=3, Resulting Numbers: [33, 3] Generated Node #0,1,0: 11:[33, 3] Operation: 36-33=3 Exploring Operation: 36-33=3, Resulting Numbers: [33, 3] Generated Node #0,1,1: 11:[33, 3] Operation: 36-33=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[33, 3], Operations: ['72-39=33', '36-33=3'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[72, 33, 39, 36], Operations: [] Exploring Operation: 72-39=33, Resulting Numbers: [33, 36, 33] Generated Node #0,1: 11:[33, 36, 33] Operation: 72-39=33 Moving to Node #0,1 Current State: 11:[33, 36, 33], Operations: ['72-39=33'] Exploring Operation: 36-33=3, Resulting Numbers: [33, 3] Generated Node #0,1,0: 11:[33, 3] Operation: 36-33=3 Moving to Node #0,1,0 Current State: 11:[33, 3], Operations: ['72-39=33', '36-33=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 85, 24, 20, 56 ]
97
[ "85-24=61", "56-20=36", "61+36=97" ]
Current State: 97:[85, 24, 20, 56], Operations: [] Exploring Operation: 85-24=61, Resulting Numbers: [20, 56, 61] Generated Node #2: [20, 56, 61] from Operation: 85-24=61 Current State: 97:[20, 56, 61], Operations: ['85-24=61'] Exploring Operation: 56-20=36, Resulting Numbers: [61, 36] Generated Node #3: [61, 36] from Operation: 56-20=36 Current State: 97:[61, 36], Operations: ['85-24=61', '56-20=36'] Exploring Operation: 61+36=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[85, 24, 20, 56], Operations: [] Exploring Operation: 20+56=76, Resulting Numbers: [85, 24, 76] Generated Node #0,0: 97:[85, 24, 76] Operation: 20+56=76 Exploring Operation: 24+20=44, Resulting Numbers: [85, 56, 44] Generated Node #0,1: 97:[85, 56, 44] Operation: 24+20=44 Exploring Operation: 24+56=80, Resulting Numbers: [85, 20, 80] Generated Node #0,2: 97:[85, 20, 80] Operation: 24+56=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[85, 24, 76], Operations: ['20+56=76'] Exploring Operation: 85+24=109, Resulting Numbers: [76, 109] Generated Node #0,0,0: 97:[76, 109] Operation: 85+24=109 Exploring Operation: 85-24=61, Resulting Numbers: [76, 61] Generated Node #0,0,1: 97:[76, 61] Operation: 85-24=61 Exploring Operation: 24+76=100, Resulting Numbers: [85, 100] Generated Node #0,0,2: 97:[85, 100] Operation: 24+76=100 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[85, 100], Operations: ['20+56=76', '24+76=100'] Exploring Operation: 85+100=185, Resulting Numbers: [185] 185,97 unequal: No Solution Exploring Operation: 85*100=8500, Resulting Numbers: [8500] 8500,97 unequal: No Solution Exploring Operation: 100-85=15, Resulting Numbers: [15] 15,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[76, 109], Operations: ['20+56=76', '85+24=109'] Exploring Operation: 76+109=185, Resulting Numbers: [185] 185,97 unequal: No Solution Exploring Operation: 109-76=33, Resulting Numbers: [33] 33,97 unequal: No Solution Exploring Operation: 76*109=8284, Resulting Numbers: [8284] 8284,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[76, 61], Operations: ['20+56=76', '85-24=61'] Exploring Operation: 76-61=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 76+61=137, Resulting Numbers: [137] 137,97 unequal: No Solution Exploring Operation: 76*61=4636, Resulting Numbers: [4636] 4636,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[85, 56, 44], Operations: ['24+20=44'] Exploring Operation: 56+44=100, Resulting Numbers: [85, 100] Generated Node #0,1,0: 97:[85, 100] Operation: 56+44=100 Exploring Operation: 85+44=129, Resulting Numbers: [56, 129] Generated Node #0,1,1: 97:[56, 129] Operation: 85+44=129 Exploring Operation: 85+56=141, Resulting Numbers: [44, 141] Generated Node #0,1,2: 97:[44, 141] Operation: 85+56=141 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[85, 100], Operations: ['24+20=44', '56+44=100'] Exploring Operation: 100-85=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 85*100=8500, Resulting Numbers: [8500] 8500,97 unequal: No Solution Exploring Operation: 85+100=185, Resulting Numbers: [185] 185,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[56, 129], Operations: ['24+20=44', '85+44=129'] Exploring Operation: 56+129=185, Resulting Numbers: [185] 185,97 unequal: No Solution Exploring Operation: 56*129=7224, Resulting Numbers: [7224] 7224,97 unequal: No Solution Exploring Operation: 129-56=73, Resulting Numbers: [73] 73,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 97:[44, 141], Operations: ['24+20=44', '85+56=141'] Exploring Operation: 44*141=6204, Resulting Numbers: [6204] 6204,97 unequal: No Solution Exploring Operation: 44+141=185, Resulting Numbers: [185] 185,97 unequal: No Solution Exploring Operation: 141-44=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[85, 24, 20, 56], Operations: [] Exploring Operation: 24+20=44, Resulting Numbers: [85, 56, 44] Generated Node #0,1: 97:[85, 56, 44] Operation: 24+20=44 Moving to Node #0,1 Current State: 97:[85, 56, 44], Operations: ['24+20=44'] Exploring Operation: 85+56=141, Resulting Numbers: [44, 141] Generated Node #0,1,2: 97:[44, 141] Operation: 85+56=141 Moving to Node #0,1,2 Current State: 97:[44, 141], Operations: ['24+20=44', '85+56=141'] Exploring Operation: 141-44=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_3
sum_heuristic
[ 48, 51, 84, 27 ]
37
[ "51-48=3", "84+27=111", "111/3=37" ]
Current State: 37:[48, 51, 84, 27], Operations: [] Exploring Operation: 51-48=3, Resulting Numbers: [84, 27, 3] Generated Node #2: [84, 27, 3] from Operation: 51-48=3 Current State: 37:[84, 27, 3], Operations: ['51-48=3'] Exploring Operation: 84+27=111, Resulting Numbers: [3, 111] Generated Node #3: [3, 111] from Operation: 84+27=111 Current State: 37:[3, 111], Operations: ['51-48=3', '84+27=111'] Exploring Operation: 111/3=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[48, 51, 84, 27], Operations: [] Exploring Operation: 51-27=24, Resulting Numbers: [48, 84, 24] Generated Node #0,0: 37:[48, 84, 24] Operation: 51-27=24 Exploring Operation: 48-27=21, Resulting Numbers: [51, 84, 21] Generated Node #0,1: 37:[51, 84, 21] Operation: 48-27=21 Exploring Operation: 84-48=36, Resulting Numbers: [51, 27, 36] Generated Node #0,2: 37:[51, 27, 36] Operation: 84-48=36 Exploring Operation: 84-27=57, Resulting Numbers: [48, 51, 57] Generated Node #0,3: 37:[48, 51, 57] Operation: 84-27=57 Exploring Operation: 84-51=33, Resulting Numbers: [48, 27, 33] Generated Node #0,4: 37:[48, 27, 33] Operation: 84-51=33 Moving to Node #0,2 Current State: 37:[51, 27, 36], Operations: ['84-48=36'] Exploring Operation: 36-27=9, Resulting Numbers: [51, 9] Generated Node #0,2,0: 37:[51, 9] Operation: 36-27=9 Exploring Operation: 51-36=15, Resulting Numbers: [27, 15] Generated Node #0,2,1: 37:[27, 15] Operation: 51-36=15 Exploring Operation: 51-27=24, Resulting Numbers: [36, 24] Generated Node #0,2,2: 37:[36, 24] Operation: 51-27=24 Exploring Operation: 27+36=63, Resulting Numbers: [51, 63] Generated Node #0,2,3: 37:[51, 63] Operation: 27+36=63 Exploring Operation: 51+27=78, Resulting Numbers: [36, 78] Generated Node #0,2,4: 37:[36, 78] Operation: 51+27=78 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 37:[36, 24], Operations: ['84-48=36', '51-27=24'] Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,37 unequal: No Solution Exploring Operation: 36*24=864, Resulting Numbers: [864] 864,37 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,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,2,1 Current State: 37:[27, 15], Operations: ['84-48=36', '51-36=15'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,37 unequal: No Solution Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 37:[51, 63], Operations: ['84-48=36', '27+36=63'] Exploring Operation: 51+63=114, Resulting Numbers: [114] 114,37 unequal: No Solution Exploring Operation: 51*63=3213, Resulting Numbers: [3213] 3213,37 unequal: No Solution Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,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,2,0 Current State: 37:[51, 9], Operations: ['84-48=36', '36-27=9'] Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 51*9=459, Resulting Numbers: [459] 459,37 unequal: No Solution Exploring Operation: 51+9=60, Resulting Numbers: [60] 60,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,2,4 Current State: 37:[36, 78], Operations: ['84-48=36', '51+27=78'] Exploring Operation: 78-36=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 36*78=2808, Resulting Numbers: [2808] 2808,37 unequal: No Solution Exploring Operation: 36+78=114, Resulting Numbers: [114] 114,37 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: 37:[48, 27, 33], Operations: ['84-51=33'] Exploring Operation: 48-33=15, Resulting Numbers: [27, 15] Generated Node #0,4,0: 37:[27, 15] Operation: 48-33=15 Exploring Operation: 48-27=21, Resulting Numbers: [33, 21] Generated Node #0,4,1: 37:[33, 21] Operation: 48-27=21 Exploring Operation: 27+33=60, Resulting Numbers: [48, 60] Generated Node #0,4,2: 37:[48, 60] Operation: 27+33=60 Exploring Operation: 33-27=6, Resulting Numbers: [48, 6] Generated Node #0,4,3: 37:[48, 6] Operation: 33-27=6 Exploring Operation: 48+27=75, Resulting Numbers: [33, 75] Generated Node #0,4,4: 37:[33, 75] Operation: 48+27=75 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 37:[33, 21], Operations: ['84-51=33', '48-27=21'] Exploring Operation: 33+21=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 33*21=693, Resulting Numbers: [693] 693,37 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,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,4,0 Current State: 37:[27, 15], Operations: ['84-51=33', '48-33=15'] Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,37 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,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,4,2 Current State: 37:[48, 60], Operations: ['84-51=33', '27+33=60'] Exploring Operation: 48+60=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 48*60=2880, Resulting Numbers: [2880] 2880,37 unequal: No Solution Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,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,4,3 Current State: 37:[48, 6], Operations: ['84-51=33', '33-27=6'] Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,37 unequal: No Solution Exploring Operation: 48*6=288, Resulting Numbers: [288] 288,37 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,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,4,4 Current State: 37:[33, 75], Operations: ['84-51=33', '48+27=75'] Exploring Operation: 33+75=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 33*75=2475, Resulting Numbers: [2475] 2475,37 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: 37:[48, 51, 57], Operations: ['84-27=57'] Exploring Operation: 51-48=3, Resulting Numbers: [57, 3] Generated Node #0,3,0: 37:[57, 3] Operation: 51-48=3 Exploring Operation: 57-51=6, Resulting Numbers: [48, 6] Generated Node #0,3,1: 37:[48, 6] Operation: 57-51=6 Exploring Operation: 57-48=9, Resulting Numbers: [51, 9] Generated Node #0,3,2: 37:[51, 9] Operation: 57-48=9 Exploring Operation: 48+57=105, Resulting Numbers: [51, 105] Generated Node #0,3,3: 37:[51, 105] Operation: 48+57=105 Exploring Operation: 48+51=99, Resulting Numbers: [57, 99] Generated Node #0,3,4: 37:[57, 99] Operation: 48+51=99 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 37:[48, 6], Operations: ['84-27=57', '57-51=6'] Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,37 unequal: No Solution Exploring Operation: 48*6=288, Resulting Numbers: [288] 288,37 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 37:[51, 9], Operations: ['84-27=57', '57-48=9'] Exploring Operation: 51+9=60, Resulting Numbers: [60] 60,37 unequal: No Solution Exploring Operation: 51*9=459, Resulting Numbers: [459] 459,37 unequal: No Solution Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 37:[57, 3], Operations: ['84-27=57', '51-48=3'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,37 unequal: No Solution Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,37 unequal: No Solution Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 37:[51, 105], Operations: ['84-27=57', '48+57=105'] Exploring Operation: 51+105=156, Resulting Numbers: [156] 156,37 unequal: No Solution Exploring Operation: 105-51=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 51*105=5355, Resulting Numbers: [5355] 5355,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 37:[57, 99], Operations: ['84-27=57', '48+51=99'] Exploring Operation: 57*99=5643, Resulting Numbers: [5643] 5643,37 unequal: No Solution Exploring Operation: 99-57=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 57+99=156, Resulting Numbers: [156] 156,37 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: 37:[48, 84, 24], Operations: ['51-27=24'] Exploring Operation: 48+24=72, Resulting Numbers: [84, 72] Generated Node #0,0,0: 37:[84, 72] Operation: 48+24=72 Exploring Operation: 48/24=2, Resulting Numbers: [84, 2] Generated Node #0,0,1: 37:[84, 2] Operation: 48/24=2 Exploring Operation: 84-48=36, Resulting Numbers: [24, 36] Generated Node #0,0,2: 37:[24, 36] Operation: 84-48=36 Exploring Operation: 48-24=24, Resulting Numbers: [84, 24] Generated Node #0,0,3: 37:[84, 24] Operation: 48-24=24 Exploring Operation: 84-24=60, Resulting Numbers: [48, 60] Generated Node #0,0,4: 37:[48, 60] Operation: 84-24=60 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 37:[24, 36], Operations: ['51-27=24', '84-48=36'] Exploring Operation: 24+36=60, Resulting Numbers: [60] 60,37 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,37 unequal: No Solution Exploring Operation: 24*36=864, Resulting Numbers: [864] 864,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 37:[48, 60], Operations: ['51-27=24', '84-24=60'] Exploring Operation: 48+60=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,37 unequal: No Solution Exploring Operation: 48*60=2880, Resulting Numbers: [2880] 2880,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 37:[84, 24], Operations: ['51-27=24', '48-24=24'] Exploring Operation: 84-24=60, Resulting Numbers: [60] 60,37 unequal: No Solution Exploring Operation: 84*24=2016, Resulting Numbers: [2016] 2016,37 unequal: No Solution Exploring Operation: 84+24=108, Resulting Numbers: [108] 108,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[84, 72], Operations: ['51-27=24', '48+24=72'] Exploring Operation: 84*72=6048, Resulting Numbers: [6048] 6048,37 unequal: No Solution Exploring Operation: 84-72=12, Resulting Numbers: [12] 12,37 unequal: No Solution Exploring Operation: 84+72=156, Resulting Numbers: [156] 156,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[84, 2], Operations: ['51-27=24', '48/24=2'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,37 unequal: No Solution Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,37 unequal: No Solution Exploring Operation: 84*2=168, Resulting Numbers: [168] 168,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 37:[51, 84, 21], Operations: ['48-27=21'] Exploring Operation: 84-21=63, Resulting Numbers: [51, 63] Generated Node #0,1,0: 37:[51, 63] Operation: 84-21=63 Exploring Operation: 51-21=30, Resulting Numbers: [84, 30] Generated Node #0,1,1: 37:[84, 30] Operation: 51-21=30 Exploring Operation: 51+21=72, Resulting Numbers: [84, 72] Generated Node #0,1,2: 37:[84, 72] Operation: 51+21=72 Exploring Operation: 84/21=4, Resulting Numbers: [51, 4] Generated Node #0,1,3: 37:[51, 4] Operation: 84/21=4 Exploring Operation: 84-51=33, Resulting Numbers: [21, 33] Generated Node #0,1,4: 37:[21, 33] Operation: 84-51=33 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 37:[21, 33], Operations: ['48-27=21', '84-51=33'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,37 unequal: No Solution Exploring Operation: 21*33=693, Resulting Numbers: [693] 693,37 unequal: No Solution Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[51, 63], Operations: ['48-27=21', '84-21=63'] Exploring Operation: 51+63=114, Resulting Numbers: [114] 114,37 unequal: No Solution Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,37 unequal: No Solution Exploring Operation: 51*63=3213, Resulting Numbers: [3213] 3213,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 37:[51, 4], Operations: ['48-27=21', '84/21=4'] Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,37 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,37 unequal: No Solution Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[84, 30], Operations: ['48-27=21', '51-21=30'] Exploring Operation: 84*30=2520, Resulting Numbers: [2520] 2520,37 unequal: No Solution Exploring Operation: 84-30=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 84+30=114, Resulting Numbers: [114] 114,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 37:[84, 72], Operations: ['48-27=21', '51+21=72'] Exploring Operation: 84-72=12, Resulting Numbers: [12] 12,37 unequal: No Solution Exploring Operation: 84*72=6048, Resulting Numbers: [6048] 6048,37 unequal: No Solution Exploring Operation: 84+72=156, Resulting Numbers: [156] 156,37 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
[ 50, 38, 36, 88 ]
19
[ "50+36=86", "88-86=2", "38/2=19" ]
Current State: 19:[50, 38, 36, 88], Operations: [] Exploring Operation: 50+36=86, Resulting Numbers: [38, 88, 86] Generated Node #2: [38, 88, 86] from Operation: 50+36=86 Current State: 19:[38, 88, 86], Operations: ['50+36=86'] Exploring Operation: 88-86=2, Resulting Numbers: [38, 2] Generated Node #3: [38, 2] from Operation: 88-86=2 Current State: 19:[38, 2], Operations: ['50+36=86', '88-86=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[50, 38, 36, 88], Operations: [] Exploring Operation: 50-38=12, Resulting Numbers: [36, 88, 12] Generated Node #0,0: 19:[36, 88, 12] Operation: 50-38=12 Exploring Operation: 88-38=50, Resulting Numbers: [50, 36, 50] Generated Node #0,1: 19:[50, 36, 50] Operation: 88-38=50 Exploring Operation: 88-36=52, Resulting Numbers: [50, 38, 52] Generated Node #0,2: 19:[50, 38, 52] Operation: 88-36=52 Exploring Operation: 88-50=38, Resulting Numbers: [38, 36, 38] Generated Node #0,3: 19:[38, 36, 38] Operation: 88-50=38 Moving to Node #0,3 Current State: 19:[38, 36, 38], Operations: ['88-50=38'] Exploring Operation: 38/38=1, Resulting Numbers: [36, 1] Generated Node #0,3,0: 19:[36, 1] Operation: 38/38=1 Exploring Operation: 38-36=2, Resulting Numbers: [38, 2] Generated Node #0,3,1: 19:[38, 2] Operation: 38-36=2 Exploring Operation: 38-36=2, Resulting Numbers: [38, 2] Generated Node #0,3,2: 19:[38, 2] Operation: 38-36=2 Exploring Operation: 38-38=0, Resulting Numbers: [36, 0] Generated Node #0,3,3: 19:[36, 0] Operation: 38-38=0 Moving to Node #0,1 Current State: 19:[50, 36, 50], Operations: ['88-38=50'] Exploring Operation: 50-36=14, Resulting Numbers: [50, 14] Generated Node #0,1,0: 19:[50, 14] Operation: 50-36=14 Exploring Operation: 50/50=1, Resulting Numbers: [36, 1] Generated Node #0,1,1: 19:[36, 1] Operation: 50/50=1 Exploring Operation: 50-36=14, Resulting Numbers: [50, 14] Generated Node #0,1,2: 19:[50, 14] Operation: 50-36=14 Exploring Operation: 50-50=0, Resulting Numbers: [36, 0] Generated Node #0,1,3: 19:[36, 0] Operation: 50-50=0 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[36, 1], Operations: ['88-38=50', '50/50=1'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,19 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 36+1=37, Resulting Numbers: [37] 37,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[50, 14], Operations: ['88-38=50', '50-36=14'] Exploring Operation: 50+14=64, Resulting Numbers: [64] 64,19 unequal: No Solution Exploring Operation: 50*14=700, Resulting Numbers: [700] 700,19 unequal: No Solution Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 19:[50, 14], Operations: ['88-38=50', '50-36=14'] Exploring Operation: 50*14=700, Resulting Numbers: [700] 700,19 unequal: No Solution Exploring Operation: 50+14=64, Resulting Numbers: [64] 64,19 unequal: No Solution Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 19:[36, 0], Operations: ['88-38=50', '50-50=0'] Exploring Operation: 36+0=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 36*0=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 36-0=36, Resulting Numbers: [36] 36,19 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: 19:[50, 38, 52], Operations: ['88-36=52'] Exploring Operation: 50+38=88, Resulting Numbers: [52, 88] Generated Node #0,2,0: 19:[52, 88] Operation: 50+38=88 Exploring Operation: 52-50=2, Resulting Numbers: [38, 2] Generated Node #0,2,1: 19:[38, 2] Operation: 52-50=2 Exploring Operation: 52-38=14, Resulting Numbers: [50, 14] Generated Node #0,2,2: 19:[50, 14] Operation: 52-38=14 Exploring Operation: 50-38=12, Resulting Numbers: [52, 12] Generated Node #0,2,3: 19:[52, 12] Operation: 50-38=12 Moving to Node #0,0 Current State: 19:[36, 88, 12], Operations: ['50-38=12'] Exploring Operation: 88-36=52, Resulting Numbers: [12, 52] Generated Node #0,0,0: 19:[12, 52] Operation: 88-36=52 Exploring Operation: 36-12=24, Resulting Numbers: [88, 24] Generated Node #0,0,1: 19:[88, 24] Operation: 36-12=24 Exploring Operation: 36/12=3, Resulting Numbers: [88, 3] Generated Node #0,0,2: 19:[88, 3] Operation: 36/12=3 Exploring Operation: 88-12=76, Resulting Numbers: [36, 76] Generated Node #0,0,3: 19:[36, 76] Operation: 88-12=76 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[12, 52], Operations: ['50-38=12', '88-36=52'] Exploring Operation: 12+52=64, Resulting Numbers: [64] 64,19 unequal: No Solution Exploring Operation: 12*52=624, Resulting Numbers: [624] 624,19 unequal: No Solution Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,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,1 Current State: 19:[88, 24], Operations: ['50-38=12', '36-12=24'] Exploring Operation: 88+24=112, Resulting Numbers: [112] 112,19 unequal: No Solution Exploring Operation: 88-24=64, Resulting Numbers: [64] 64,19 unequal: No Solution Exploring Operation: 88*24=2112, Resulting Numbers: [2112] 2112,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,3 Current State: 19:[36, 76], Operations: ['50-38=12', '88-12=76'] Exploring Operation: 36*76=2736, Resulting Numbers: [2736] 2736,19 unequal: No Solution Exploring Operation: 76-36=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 36+76=112, Resulting Numbers: [112] 112,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,2 Current State: 19:[88, 3], Operations: ['50-38=12', '36/12=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,19 unequal: No Solution Exploring Operation: 88*3=264, Resulting Numbers: [264] 264,19 unequal: No Solution Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 19:[36, 1], Operations: ['88-50=38', '38/38=1'] Exploring Operation: 36+1=37, Resulting Numbers: [37] 37,19 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,19 unequal: No Solution Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,19 unequal: No Solution Moving to Node #0,3,2 Current State: 19:[38, 2], Operations: ['88-50=38', '38-36=2'] Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,19 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[50, 38, 36, 88], Operations: [] Exploring Operation: 88-50=38, Resulting Numbers: [38, 36, 38] Generated Node #0,3: 19:[38, 36, 38] Operation: 88-50=38 Moving to Node #0,3 Current State: 19:[38, 36, 38], Operations: ['88-50=38'] Exploring Operation: 38-36=2, Resulting Numbers: [38, 2] Generated Node #0,3,2: 19:[38, 2] Operation: 38-36=2 Moving to Node #0,3,2 Current State: 19:[38, 2], Operations: ['88-50=38', '38-36=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.952257
hs_4
mult_heuristic
[ 45, 69, 38, 60 ]
63
[ "45+69=114", "114/38=3", "60+3=63" ]
Current State: 63:[45, 69, 38, 60], Operations: [] Exploring Operation: 45+69=114, Resulting Numbers: [38, 60, 114] Generated Node #2: [38, 60, 114] from Operation: 45+69=114 Current State: 63:[38, 60, 114], Operations: ['45+69=114'] Exploring Operation: 114/38=3, Resulting Numbers: [60, 3] Generated Node #3: [60, 3] from Operation: 114/38=3 Current State: 63:[60, 3], Operations: ['45+69=114', '114/38=3'] Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[45, 69, 38, 60], Operations: [] Exploring Operation: 69-45=24, Resulting Numbers: [38, 60, 24] Generated Node #0,0: 63:[38, 60, 24] Operation: 69-45=24 Exploring Operation: 45-38=7, Resulting Numbers: [69, 60, 7] Generated Node #0,1: 63:[69, 60, 7] Operation: 45-38=7 Moving to Node #0,1 Current State: 63:[69, 60, 7], Operations: ['45-38=7'] Exploring Operation: 69-60=9, Resulting Numbers: [7, 9] Generated Node #0,1,0: 63:[7, 9] Operation: 69-60=9 Exploring Operation: 69-7=62, Resulting Numbers: [60, 62] Generated Node #0,1,1: 63:[60, 62] Operation: 69-7=62 Moving to Node #0,0 Current State: 63:[38, 60, 24], Operations: ['69-45=24'] Exploring Operation: 38+24=62, Resulting Numbers: [60, 62] Generated Node #0,0,0: 63:[60, 62] Operation: 38+24=62 Exploring Operation: 60-38=22, Resulting Numbers: [24, 22] Generated Node #0,0,1: 63:[24, 22] Operation: 60-38=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[60, 62], Operations: ['69-45=24', '38+24=62'] Exploring Operation: 62-60=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 60+62=122, Resulting Numbers: [122] 122,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[24, 22], Operations: ['69-45=24', '60-38=22'] Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,63 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: 63:[7, 9], Operations: ['45-38=7', '69-60=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[45, 69, 38, 60], Operations: [] Exploring Operation: 45-38=7, Resulting Numbers: [69, 60, 7] Generated Node #0,1: 63:[69, 60, 7] Operation: 45-38=7 Moving to Node #0,1 Current State: 63:[69, 60, 7], Operations: ['45-38=7'] Exploring Operation: 69-60=9, Resulting Numbers: [7, 9] Generated Node #0,1,0: 63:[7, 9] Operation: 69-60=9 Moving to Node #0,1,0 Current State: 63:[7, 9], Operations: ['45-38=7', '69-60=9'] Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 89, 86, 93, 4 ]
94
[ "89-86=3", "93+4=97", "97-3=94" ]
Current State: 94:[89, 86, 93, 4], Operations: [] Exploring Operation: 89-86=3, Resulting Numbers: [93, 4, 3] Generated Node #2: [93, 4, 3] from Operation: 89-86=3 Current State: 94:[93, 4, 3], Operations: ['89-86=3'] Exploring Operation: 93+4=97, Resulting Numbers: [3, 97] Generated Node #3: [3, 97] from Operation: 93+4=97 Current State: 94:[3, 97], Operations: ['89-86=3', '93+4=97'] Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[89, 86, 93, 4], Operations: [] Exploring Operation: 89+4=93, Resulting Numbers: [86, 93, 93] Generated Node #0,0: 94:[86, 93, 93] Operation: 89+4=93 Exploring Operation: 89-86=3, Resulting Numbers: [93, 4, 3] Generated Node #0,1: 94:[93, 4, 3] Operation: 89-86=3 Moving to Node #0,1 Current State: 94:[93, 4, 3], Operations: ['89-86=3'] Exploring Operation: 93+4=97, Resulting Numbers: [3, 97] Generated Node #0,1,0: 94:[3, 97] Operation: 93+4=97 Exploring Operation: 4-3=1, Resulting Numbers: [93, 1] Generated Node #0,1,1: 94:[93, 1] Operation: 4-3=1 Moving to Node #0,0 Current State: 94:[86, 93, 93], Operations: ['89+4=93'] Exploring Operation: 93-86=7, Resulting Numbers: [93, 7] Generated Node #0,0,0: 94:[93, 7] Operation: 93-86=7 Exploring Operation: 93-86=7, Resulting Numbers: [93, 7] Generated Node #0,0,1: 94:[93, 7] Operation: 93-86=7 Moving to Node #0,1,1 Current State: 94:[93, 1], Operations: ['89-86=3', '4-3=1'] Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[89, 86, 93, 4], Operations: [] Exploring Operation: 89-86=3, Resulting Numbers: [93, 4, 3] Generated Node #0,1: 94:[93, 4, 3] Operation: 89-86=3 Moving to Node #0,1 Current State: 94:[93, 4, 3], Operations: ['89-86=3'] Exploring Operation: 4-3=1, Resulting Numbers: [93, 1] Generated Node #0,1,1: 94:[93, 1] Operation: 4-3=1 Moving to Node #0,1,1 Current State: 94:[93, 1], Operations: ['89-86=3', '4-3=1'] Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 3, 12, 2, 27 ]
81
[ "12/2=6", "6-3=3", "27*3=81" ]
Current State: 81:[3, 12, 2, 27], Operations: [] Exploring Operation: 12/2=6, Resulting Numbers: [3, 27, 6] Generated Node #2: [3, 27, 6] from Operation: 12/2=6 Current State: 81:[3, 27, 6], Operations: ['12/2=6'] Exploring Operation: 6-3=3, Resulting Numbers: [27, 3] Generated Node #3: [27, 3] from Operation: 6-3=3 Current State: 81:[27, 3], Operations: ['12/2=6', '6-3=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[3, 12, 2, 27], Operations: [] Exploring Operation: 12-3=9, Resulting Numbers: [2, 27, 9] Generated Node #0,0: 81:[2, 27, 9] Operation: 12-3=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[2, 27, 9], Operations: ['12-3=9'] Exploring Operation: 27/9=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 81:[2, 3] Operation: 27/9=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[2, 3], Operations: ['12-3=9', '27/9=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 41, 23, 6, 4 ]
40
[ "41+23=64", "6*4=24", "64-24=40" ]
Current State: 40:[41, 23, 6, 4], Operations: [] Exploring Operation: 41+23=64, Resulting Numbers: [6, 4, 64] Generated Node #2: [6, 4, 64] from Operation: 41+23=64 Current State: 40:[6, 4, 64], Operations: ['41+23=64'] Exploring Operation: 6*4=24, Resulting Numbers: [64, 24] Generated Node #3: [64, 24] from Operation: 6*4=24 Current State: 40:[64, 24], Operations: ['41+23=64', '6*4=24'] Exploring Operation: 64-24=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[41, 23, 6, 4], Operations: [] Exploring Operation: 6+4=10, Resulting Numbers: [41, 23, 10] Generated Node #0,0: 40:[41, 23, 10] Operation: 6+4=10 Exploring Operation: 23-4=19, Resulting Numbers: [41, 6, 19] Generated Node #0,1: 40:[41, 6, 19] Operation: 23-4=19 Exploring Operation: 41-23=18, Resulting Numbers: [6, 4, 18] Generated Node #0,2: 40:[6, 4, 18] Operation: 41-23=18 Exploring Operation: 6-4=2, Resulting Numbers: [41, 23, 2] Generated Node #0,3: 40:[41, 23, 2] Operation: 6-4=2 Exploring Operation: 23-6=17, Resulting Numbers: [41, 4, 17] Generated Node #0,4: 40:[41, 4, 17] Operation: 23-6=17 Moving to Node #0,1 Current State: 40:[41, 6, 19], Operations: ['23-4=19'] Exploring Operation: 6+19=25, Resulting Numbers: [41, 25] Generated Node #0,1,0: 40:[41, 25] Operation: 6+19=25 Exploring Operation: 41+6=47, Resulting Numbers: [19, 47] Generated Node #0,1,1: 40:[19, 47] Operation: 41+6=47 Exploring Operation: 41-19=22, Resulting Numbers: [6, 22] Generated Node #0,1,2: 40:[6, 22] Operation: 41-19=22 Exploring Operation: 19-6=13, Resulting Numbers: [41, 13] Generated Node #0,1,3: 40:[41, 13] Operation: 19-6=13 Exploring Operation: 41-6=35, Resulting Numbers: [19, 35] Generated Node #0,1,4: 40:[19, 35] Operation: 41-6=35 Moving to Node #0,2 Current State: 40:[6, 4, 18], Operations: ['41-23=18'] Exploring Operation: 18/6=3, Resulting Numbers: [4, 3] Generated Node #0,2,0: 40:[4, 3] Operation: 18/6=3 Exploring Operation: 4+18=22, Resulting Numbers: [6, 22] Generated Node #0,2,1: 40:[6, 22] Operation: 4+18=22 Exploring Operation: 6+4=10, Resulting Numbers: [18, 10] Generated Node #0,2,2: 40:[18, 10] Operation: 6+4=10 Exploring Operation: 6-4=2, Resulting Numbers: [18, 2] Generated Node #0,2,3: 40:[18, 2] Operation: 6-4=2 Exploring Operation: 18-6=12, Resulting Numbers: [4, 12] Generated Node #0,2,4: 40:[4, 12] Operation: 18-6=12 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 40:[4, 3], Operations: ['41-23=18', '18/6=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,40 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,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,2,2 Current State: 40:[18, 10], Operations: ['41-23=18', '6+4=10'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,40 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,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,2,3 Current State: 40:[18, 2], Operations: ['41-23=18', '6-4=2'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,40 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,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,2,4 Current State: 40:[4, 12], Operations: ['41-23=18', '18-6=12'] Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,40 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,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,2,1 Current State: 40:[6, 22], Operations: ['41-23=18', '4+18=22'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,40 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,40 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: 40:[41, 23, 10], Operations: ['6+4=10'] Exploring Operation: 41+10=51, Resulting Numbers: [23, 51] Generated Node #0,0,0: 40:[23, 51] Operation: 41+10=51 Exploring Operation: 23+10=33, Resulting Numbers: [41, 33] Generated Node #0,0,1: 40:[41, 33] Operation: 23+10=33 Exploring Operation: 41-23=18, Resulting Numbers: [10, 18] Generated Node #0,0,2: 40:[10, 18] Operation: 41-23=18 Exploring Operation: 23-10=13, Resulting Numbers: [41, 13] Generated Node #0,0,3: 40:[41, 13] Operation: 23-10=13 Exploring Operation: 41-10=31, Resulting Numbers: [23, 31] Generated Node #0,0,4: 40:[23, 31] Operation: 41-10=31 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 40:[10, 18], Operations: ['6+4=10', '41-23=18'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,40 unequal: No Solution Exploring Operation: 10*18=180, Resulting Numbers: [180] 180,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,0,3 Current State: 40:[41, 13], Operations: ['6+4=10', '23-10=13'] Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,40 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,40 unequal: No Solution Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,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,0,1 Current State: 40:[41, 33], Operations: ['6+4=10', '23+10=33'] Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 41+33=74, Resulting Numbers: [74] 74,40 unequal: No Solution Exploring Operation: 41*33=1353, Resulting Numbers: [1353] 1353,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,0,4 Current State: 40:[23, 31], Operations: ['6+4=10', '41-10=31'] Exploring Operation: 23+31=54, Resulting Numbers: [54] 54,40 unequal: No Solution Exploring Operation: 31-23=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 23*31=713, Resulting Numbers: [713] 713,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,0,0 Current State: 40:[23, 51], Operations: ['6+4=10', '41+10=51'] Exploring Operation: 23+51=74, Resulting Numbers: [74] 74,40 unequal: No Solution Exploring Operation: 23*51=1173, Resulting Numbers: [1173] 1173,40 unequal: No Solution Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,40 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: 40:[41, 23, 2], Operations: ['6-4=2'] Exploring Operation: 23+2=25, Resulting Numbers: [41, 25] Generated Node #0,3,0: 40:[41, 25] Operation: 23+2=25 Exploring Operation: 23-2=21, Resulting Numbers: [41, 21] Generated Node #0,3,1: 40:[41, 21] Operation: 23-2=21 Exploring Operation: 41+2=43, Resulting Numbers: [23, 43] Generated Node #0,3,2: 40:[23, 43] Operation: 41+2=43 Exploring Operation: 41-2=39, Resulting Numbers: [23, 39] Generated Node #0,3,3: 40:[23, 39] Operation: 41-2=39 Exploring Operation: 41-23=18, Resulting Numbers: [2, 18] Generated Node #0,3,4: 40:[2, 18] Operation: 41-23=18 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 40:[41, 21], Operations: ['6-4=2', '23-2=21'] Exploring Operation: 41*21=861, Resulting Numbers: [861] 861,40 unequal: No Solution Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,40 unequal: No Solution Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,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,3,4 Current State: 40:[2, 18], Operations: ['6-4=2', '41-23=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,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,3,3 Current State: 40:[23, 39], Operations: ['6-4=2', '41-2=39'] Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 23*39=897, Resulting Numbers: [897] 897,40 unequal: No Solution Exploring Operation: 23+39=62, Resulting Numbers: [62] 62,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,3,0 Current State: 40:[41, 25], Operations: ['6-4=2', '23+2=25'] Exploring Operation: 41+25=66, Resulting Numbers: [66] 66,40 unequal: No Solution Exploring Operation: 41*25=1025, Resulting Numbers: [1025] 1025,40 unequal: No Solution Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,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,3,2 Current State: 40:[23, 43], Operations: ['6-4=2', '41+2=43'] Exploring Operation: 23+43=66, Resulting Numbers: [66] 66,40 unequal: No Solution Exploring Operation: 23*43=989, Resulting Numbers: [989] 989,40 unequal: No Solution Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,40 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: 40:[41, 4, 17], Operations: ['23-6=17'] Exploring Operation: 4+17=21, Resulting Numbers: [41, 21] Generated Node #0,4,0: 40:[41, 21] Operation: 4+17=21 Exploring Operation: 17-4=13, Resulting Numbers: [41, 13] Generated Node #0,4,1: 40:[41, 13] Operation: 17-4=13 Exploring Operation: 41+4=45, Resulting Numbers: [17, 45] Generated Node #0,4,2: 40:[17, 45] Operation: 41+4=45 Exploring Operation: 41-17=24, Resulting Numbers: [4, 24] Generated Node #0,4,3: 40:[4, 24] Operation: 41-17=24 Exploring Operation: 41-4=37, Resulting Numbers: [17, 37] Generated Node #0,4,4: 40:[17, 37] Operation: 41-4=37 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 40:[41, 21], Operations: ['23-6=17', '4+17=21'] Exploring Operation: 41*21=861, Resulting Numbers: [861] 861,40 unequal: No Solution Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,40 unequal: No Solution Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,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,4,1 Current State: 40:[41, 13], Operations: ['23-6=17', '17-4=13'] Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,40 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,40 unequal: No Solution Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,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,4,3 Current State: 40:[4, 24], Operations: ['23-6=17', '41-17=24'] Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,40 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,40 unequal: No Solution Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,40 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,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,4,4 Current State: 40:[17, 37], Operations: ['23-6=17', '41-4=37'] Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,40 unequal: No Solution Exploring Operation: 17*37=629, Resulting Numbers: [629] 629,40 unequal: No Solution Exploring Operation: 17+37=54, Resulting Numbers: [54] 54,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,4,2 Current State: 40:[17, 45], Operations: ['23-6=17', '41+4=45'] Exploring Operation: 17+45=62, Resulting Numbers: [62] 62,40 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,40 unequal: No Solution Exploring Operation: 17*45=765, Resulting Numbers: [765] 765,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 40:[6, 22], Operations: ['23-4=19', '41-19=22'] Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,40 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,40 unequal: No Solution Moving to Node #0,1,3 Current State: 40:[41, 13], Operations: ['23-4=19', '19-6=13'] Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,40 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,40 unequal: No Solution Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[41, 25], Operations: ['23-4=19', '6+19=25'] Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 41+25=66, Resulting Numbers: [66] 66,40 unequal: No Solution Exploring Operation: 41*25=1025, Resulting Numbers: [1025] 1025,40 unequal: No Solution Moving to Node #0,1,4 Current State: 40:[19, 35], Operations: ['23-4=19', '41-6=35'] Exploring Operation: 19+35=54, Resulting Numbers: [54] 54,40 unequal: No Solution Exploring Operation: 19*35=665, Resulting Numbers: [665] 665,40 unequal: No Solution Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[19, 47], Operations: ['23-4=19', '41+6=47'] Exploring Operation: 19*47=893, Resulting Numbers: [893] 893,40 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,40 unequal: No Solution Exploring Operation: 19+47=66, Resulting Numbers: [66] 66,40 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 92, 7, 77, 22 ]
67
[ "92-22=70", "70/7=10", "77-10=67" ]
Current State: 67:[92, 7, 77, 22], Operations: [] Exploring Operation: 92-22=70, Resulting Numbers: [7, 77, 70] Generated Node #2: [7, 77, 70] from Operation: 92-22=70 Current State: 67:[7, 77, 70], Operations: ['92-22=70'] Exploring Operation: 70/7=10, Resulting Numbers: [77, 10] Generated Node #3: [77, 10] from Operation: 70/7=10 Current State: 67:[77, 10], Operations: ['92-22=70', '70/7=10'] Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[92, 7, 77, 22], Operations: [] Exploring Operation: 7+22=29, Resulting Numbers: [92, 77, 29] Generated Node #0,0: 67:[92, 77, 29] Operation: 7+22=29 Exploring Operation: 92+7=99, Resulting Numbers: [77, 22, 99] Generated Node #0,1: 67:[77, 22, 99] Operation: 92+7=99 Exploring Operation: 92-7=85, Resulting Numbers: [77, 22, 85] Generated Node #0,2: 67:[77, 22, 85] Operation: 92-7=85 Exploring Operation: 77-7=70, Resulting Numbers: [92, 22, 70] Generated Node #0,3: 67:[92, 22, 70] Operation: 77-7=70 Exploring Operation: 92-22=70, Resulting Numbers: [7, 77, 70] Generated Node #0,4: 67:[7, 77, 70] Operation: 92-22=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[92, 77, 29], Operations: ['7+22=29'] Exploring Operation: 77+29=106, Resulting Numbers: [92, 106] Generated Node #0,0,0: 67:[92, 106] Operation: 77+29=106 Exploring Operation: 77-29=48, Resulting Numbers: [92, 48] Generated Node #0,0,1: 67:[92, 48] Operation: 77-29=48 Exploring Operation: 92+29=121, Resulting Numbers: [77, 121] Generated Node #0,0,2: 67:[77, 121] Operation: 92+29=121 Exploring Operation: 92-77=15, Resulting Numbers: [29, 15] Generated Node #0,0,3: 67:[29, 15] Operation: 92-77=15 Exploring Operation: 92-29=63, Resulting Numbers: [77, 63] Generated Node #0,0,4: 67:[77, 63] Operation: 92-29=63 Moving to Node #0,0,4 Current State: 67:[77, 63], Operations: ['7+22=29', '92-29=63'] Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,67 unequal: No Solution Exploring Operation: 77*63=4851, Resulting Numbers: [4851] 4851,67 unequal: No Solution Exploring Operation: 77+63=140, Resulting Numbers: [140] 140,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[92, 48], Operations: ['7+22=29', '77-29=48'] Exploring Operation: 92-48=44, Resulting Numbers: [44] 44,67 unequal: No Solution Exploring Operation: 92*48=4416, Resulting Numbers: [4416] 4416,67 unequal: No Solution Exploring Operation: 92+48=140, Resulting Numbers: [140] 140,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[92, 106], Operations: ['7+22=29', '77+29=106'] Exploring Operation: 92*106=9752, Resulting Numbers: [9752] 9752,67 unequal: No Solution Exploring Operation: 92+106=198, Resulting Numbers: [198] 198,67 unequal: No Solution Exploring Operation: 106-92=14, Resulting Numbers: [14] 14,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[77, 121], Operations: ['7+22=29', '92+29=121'] Exploring Operation: 77+121=198, Resulting Numbers: [198] 198,67 unequal: No Solution Exploring Operation: 77*121=9317, Resulting Numbers: [9317] 9317,67 unequal: No Solution Exploring Operation: 121-77=44, Resulting Numbers: [44] 44,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[29, 15], Operations: ['7+22=29', '92-77=15'] Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,67 unequal: No Solution Exploring Operation: 29+15=44, Resulting Numbers: [44] 44,67 unequal: No Solution Exploring Operation: 29*15=435, Resulting Numbers: [435] 435,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[77, 22, 85], Operations: ['92-7=85'] Exploring Operation: 85-77=8, Resulting Numbers: [22, 8] Generated Node #0,2,0: 67:[22, 8] Operation: 85-77=8 Exploring Operation: 77+22=99, Resulting Numbers: [85, 99] Generated Node #0,2,1: 67:[85, 99] Operation: 77+22=99 Exploring Operation: 22+85=107, Resulting Numbers: [77, 107] Generated Node #0,2,2: 67:[77, 107] Operation: 22+85=107 Exploring Operation: 85-22=63, Resulting Numbers: [77, 63] Generated Node #0,2,3: 67:[77, 63] Operation: 85-22=63 Exploring Operation: 77-22=55, Resulting Numbers: [85, 55] Generated Node #0,2,4: 67:[85, 55] Operation: 77-22=55 Moving to Node #0,2,3 Current State: 67:[77, 63], Operations: ['92-7=85', '85-22=63'] Exploring Operation: 77*63=4851, Resulting Numbers: [4851] 4851,67 unequal: No Solution Exploring Operation: 77+63=140, Resulting Numbers: [140] 140,67 unequal: No Solution Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,67 unequal: No Solution Moving to Node #0,2,4 Current State: 67:[85, 55], Operations: ['92-7=85', '77-22=55'] Exploring Operation: 85-55=30, Resulting Numbers: [30] 30,67 unequal: No Solution Exploring Operation: 85+55=140, Resulting Numbers: [140] 140,67 unequal: No Solution Exploring Operation: 85*55=4675, Resulting Numbers: [4675] 4675,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[85, 99], Operations: ['92-7=85', '77+22=99'] Exploring Operation: 85*99=8415, Resulting Numbers: [8415] 8415,67 unequal: No Solution Exploring Operation: 99-85=14, Resulting Numbers: [14] 14,67 unequal: No Solution Exploring Operation: 85+99=184, Resulting Numbers: [184] 184,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[77, 107], Operations: ['92-7=85', '22+85=107'] Exploring Operation: 107-77=30, Resulting Numbers: [30] 30,67 unequal: No Solution Exploring Operation: 77+107=184, Resulting Numbers: [184] 184,67 unequal: No Solution Exploring Operation: 77*107=8239, Resulting Numbers: [8239] 8239,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[22, 8], Operations: ['92-7=85', '85-77=8'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,67 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,67 unequal: No Solution Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[92, 22, 70], Operations: ['77-7=70'] Exploring Operation: 92+22=114, Resulting Numbers: [70, 114] Generated Node #0,3,0: 67:[70, 114] Operation: 92+22=114 Exploring Operation: 70-22=48, Resulting Numbers: [92, 48] Generated Node #0,3,1: 67:[92, 48] Operation: 70-22=48 Exploring Operation: 22+70=92, Resulting Numbers: [92, 92] Generated Node #0,3,2: 67:[92, 92] Operation: 22+70=92 Exploring Operation: 92-70=22, Resulting Numbers: [22, 22] Generated Node #0,3,3: 67:[22, 22] Operation: 92-70=22 Exploring Operation: 92-22=70, Resulting Numbers: [70, 70] Generated Node #0,3,4: 67:[70, 70] Operation: 92-22=70 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 67:[70, 70], Operations: ['77-7=70', '92-22=70'] Exploring Operation: 70+70=140, Resulting Numbers: [140] 140,67 unequal: No Solution Exploring Operation: 70-70=0, Resulting Numbers: [0] 0,67 unequal: No Solution Exploring Operation: 70/70=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 70*70=4900, Resulting Numbers: [4900] 4900,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 67:[92, 48], Operations: ['77-7=70', '70-22=48'] Exploring Operation: 92-48=44, Resulting Numbers: [44] 44,67 unequal: No Solution Exploring Operation: 92*48=4416, Resulting Numbers: [4416] 4416,67 unequal: No Solution Exploring Operation: 92+48=140, Resulting Numbers: [140] 140,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 67:[70, 114], Operations: ['77-7=70', '92+22=114'] Exploring Operation: 70+114=184, Resulting Numbers: [184] 184,67 unequal: No Solution Exploring Operation: 70*114=7980, Resulting Numbers: [7980] 7980,67 unequal: No Solution Exploring Operation: 114-70=44, Resulting Numbers: [44] 44,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 67:[92, 92], Operations: ['77-7=70', '22+70=92'] Exploring Operation: 92*92=8464, Resulting Numbers: [8464] 8464,67 unequal: No Solution Exploring Operation: 92-92=0, Resulting Numbers: [0] 0,67 unequal: No Solution Exploring Operation: 92/92=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 92+92=184, Resulting Numbers: [184] 184,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 67:[22, 22], Operations: ['77-7=70', '92-70=22'] Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,67 unequal: No Solution Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,67 unequal: No Solution Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 67:[7, 77, 70], Operations: ['92-22=70'] Exploring Operation: 77/7=11, Resulting Numbers: [70, 11] Generated Node #0,4,0: 67:[70, 11] Operation: 77/7=11 Exploring Operation: 7+70=77, Resulting Numbers: [77, 77] Generated Node #0,4,1: 67:[77, 77] Operation: 7+70=77 Exploring Operation: 70-7=63, Resulting Numbers: [77, 63] Generated Node #0,4,2: 67:[77, 63] Operation: 70-7=63 Exploring Operation: 7+77=84, Resulting Numbers: [70, 84] Generated Node #0,4,3: 67:[70, 84] Operation: 7+77=84 Exploring Operation: 77-7=70, Resulting Numbers: [70, 70] Generated Node #0,4,4: 67:[70, 70] Operation: 77-7=70 Moving to Node #0,4,4 Current State: 67:[70, 70], Operations: ['92-22=70', '77-7=70'] Exploring Operation: 70/70=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 70+70=140, Resulting Numbers: [140] 140,67 unequal: No Solution Exploring Operation: 70*70=4900, Resulting Numbers: [4900] 4900,67 unequal: No Solution Exploring Operation: 70-70=0, Resulting Numbers: [0] 0,67 unequal: No Solution Moving to Node #0,4,2 Current State: 67:[77, 63], Operations: ['92-22=70', '70-7=63'] Exploring Operation: 77*63=4851, Resulting Numbers: [4851] 4851,67 unequal: No Solution Exploring Operation: 77+63=140, Resulting Numbers: [140] 140,67 unequal: No Solution Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,67 unequal: No Solution Moving to Node #0,4,1 Current State: 67:[77, 77], Operations: ['92-22=70', '7+70=77'] Exploring Operation: 77*77=5929, Resulting Numbers: [5929] 5929,67 unequal: No Solution Exploring Operation: 77+77=154, Resulting Numbers: [154] 154,67 unequal: No Solution Exploring Operation: 77/77=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 77-77=0, Resulting Numbers: [0] 0,67 unequal: No Solution Moving to Node #0,4,3 Current State: 67:[70, 84], Operations: ['92-22=70', '7+77=84'] Exploring Operation: 84-70=14, Resulting Numbers: [14] 14,67 unequal: No Solution Exploring Operation: 70+84=154, Resulting Numbers: [154] 154,67 unequal: No Solution Exploring Operation: 70*84=5880, Resulting Numbers: [5880] 5880,67 unequal: No Solution Moving to Node #0,4,0 Current State: 67:[70, 11], Operations: ['92-22=70', '77/7=11'] Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,67 unequal: No Solution Exploring Operation: 70*11=770, Resulting Numbers: [770] 770,67 unequal: No Solution Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[77, 22, 99], Operations: ['92+7=99'] Exploring Operation: 22+99=121, Resulting Numbers: [77, 121] Generated Node #0,1,0: 67:[77, 121] Operation: 22+99=121 Exploring Operation: 77+22=99, Resulting Numbers: [99, 99] Generated Node #0,1,1: 67:[99, 99] Operation: 77+22=99 Exploring Operation: 77-22=55, Resulting Numbers: [99, 55] Generated Node #0,1,2: 67:[99, 55] Operation: 77-22=55 Exploring Operation: 99-22=77, Resulting Numbers: [77, 77] Generated Node #0,1,3: 67:[77, 77] Operation: 99-22=77 Exploring Operation: 99-77=22, Resulting Numbers: [22, 22] Generated Node #0,1,4: 67:[22, 22] Operation: 99-77=22 Moving to Node #0,1,3 Current State: 67:[77, 77], Operations: ['92+7=99', '99-22=77'] Exploring Operation: 77-77=0, Resulting Numbers: [0] 0,67 unequal: No Solution Exploring Operation: 77+77=154, Resulting Numbers: [154] 154,67 unequal: No Solution Exploring Operation: 77*77=5929, Resulting Numbers: [5929] 5929,67 unequal: No Solution Exploring Operation: 77/77=1, Resulting Numbers: [1] 1,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[99, 55], Operations: ['92+7=99', '77-22=55'] Exploring Operation: 99+55=154, Resulting Numbers: [154] 154,67 unequal: No Solution Exploring Operation: 99*55=5445, Resulting Numbers: [5445] 5445,67 unequal: No Solution Exploring Operation: 99-55=44, Resulting Numbers: [44] 44,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[77, 121], Operations: ['92+7=99', '22+99=121'] Exploring Operation: 77*121=9317, Resulting Numbers: [9317] 9317,67 unequal: No Solution Exploring Operation: 77+121=198, Resulting Numbers: [198] 198,67 unequal: No Solution Exploring Operation: 121-77=44, Resulting Numbers: [44] 44,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[99, 99], Operations: ['92+7=99', '77+22=99'] Exploring Operation: 99*99=9801, Resulting Numbers: [9801] 9801,67 unequal: No Solution Exploring Operation: 99+99=198, Resulting Numbers: [198] 198,67 unequal: No Solution Exploring Operation: 99/99=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 99-99=0, Resulting Numbers: [0] 0,67 unequal: No Solution Moving to Node #0,1,4 Current State: 67:[22, 22], Operations: ['92+7=99', '99-77=22'] Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,67 unequal: No Solution Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,67 unequal: No Solution Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,67 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
[ 30, 61, 54, 46 ]
52
[ "61-46=15", "30/15=2", "54-2=52" ]
Current State: 52:[30, 61, 54, 46], Operations: [] Exploring Operation: 61-46=15, Resulting Numbers: [30, 54, 15] Generated Node #2: [30, 54, 15] from Operation: 61-46=15 Current State: 52:[30, 54, 15], Operations: ['61-46=15'] Exploring Operation: 30/15=2, Resulting Numbers: [54, 2] Generated Node #3: [54, 2] from Operation: 30/15=2 Current State: 52:[54, 2], Operations: ['61-46=15', '30/15=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[30, 61, 54, 46], Operations: [] Exploring Operation: 61-30=31, Resulting Numbers: [54, 46, 31] Generated Node #0,0: 52:[54, 46, 31] Operation: 61-30=31 Exploring Operation: 46-30=16, Resulting Numbers: [61, 54, 16] Generated Node #0,1: 52:[61, 54, 16] Operation: 46-30=16 Exploring Operation: 61-54=7, Resulting Numbers: [30, 46, 7] Generated Node #0,2: 52:[30, 46, 7] Operation: 61-54=7 Exploring Operation: 61-46=15, Resulting Numbers: [30, 54, 15] Generated Node #0,3: 52:[30, 54, 15] Operation: 61-46=15 Exploring Operation: 54-30=24, Resulting Numbers: [61, 46, 24] Generated Node #0,4: 52:[61, 46, 24] Operation: 54-30=24 Moving to Node #0,3 Current State: 52:[30, 54, 15], Operations: ['61-46=15'] Exploring Operation: 30-15=15, Resulting Numbers: [54, 15] Generated Node #0,3,0: 52:[54, 15] Operation: 30-15=15 Exploring Operation: 54-30=24, Resulting Numbers: [15, 24] Generated Node #0,3,1: 52:[15, 24] Operation: 54-30=24 Exploring Operation: 54-15=39, Resulting Numbers: [30, 39] Generated Node #0,3,2: 52:[30, 39] Operation: 54-15=39 Exploring Operation: 30/15=2, Resulting Numbers: [54, 2] Generated Node #0,3,3: 52:[54, 2] Operation: 30/15=2 Exploring Operation: 30+15=45, Resulting Numbers: [54, 45] Generated Node #0,3,4: 52:[54, 45] Operation: 30+15=45 Moving to Node #0,2 Current State: 52:[30, 46, 7], Operations: ['61-54=7'] Exploring Operation: 46-30=16, Resulting Numbers: [7, 16] Generated Node #0,2,0: 52:[7, 16] Operation: 46-30=16 Exploring Operation: 30+7=37, Resulting Numbers: [46, 37] Generated Node #0,2,1: 52:[46, 37] Operation: 30+7=37 Exploring Operation: 30-7=23, Resulting Numbers: [46, 23] Generated Node #0,2,2: 52:[46, 23] Operation: 30-7=23 Exploring Operation: 46-7=39, Resulting Numbers: [30, 39] Generated Node #0,2,3: 52:[30, 39] Operation: 46-7=39 Exploring Operation: 46+7=53, Resulting Numbers: [30, 53] Generated Node #0,2,4: 52:[30, 53] Operation: 46+7=53 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 52:[30, 53], Operations: ['61-54=7', '46+7=53'] Exploring Operation: 30+53=83, Resulting Numbers: [83] 83,52 unequal: No Solution Exploring Operation: 30*53=1590, Resulting Numbers: [1590] 1590,52 unequal: No Solution Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 52:[7, 16], Operations: ['61-54=7', '46-30=16'] Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,52 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 52:[46, 23], Operations: ['61-54=7', '30-7=23'] Exploring Operation: 46+23=69, Resulting Numbers: [69] 69,52 unequal: No Solution Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 46*23=1058, Resulting Numbers: [1058] 1058,52 unequal: No Solution Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 52:[46, 37], Operations: ['61-54=7', '30+7=37'] Exploring Operation: 46-37=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 46*37=1702, Resulting Numbers: [1702] 1702,52 unequal: No Solution Exploring Operation: 46+37=83, Resulting Numbers: [83] 83,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 52:[30, 39], Operations: ['61-54=7', '46-7=39'] Exploring Operation: 30*39=1170, Resulting Numbers: [1170] 1170,52 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 30+39=69, Resulting Numbers: [69] 69,52 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: 52:[54, 46, 31], Operations: ['61-30=31'] Exploring Operation: 54+31=85, Resulting Numbers: [46, 85] Generated Node #0,0,0: 52:[46, 85] Operation: 54+31=85 Exploring Operation: 54-46=8, Resulting Numbers: [31, 8] Generated Node #0,0,1: 52:[31, 8] Operation: 54-46=8 Exploring Operation: 46-31=15, Resulting Numbers: [54, 15] Generated Node #0,0,2: 52:[54, 15] Operation: 46-31=15 Exploring Operation: 46+31=77, Resulting Numbers: [54, 77] Generated Node #0,0,3: 52:[54, 77] Operation: 46+31=77 Exploring Operation: 54-31=23, Resulting Numbers: [46, 23] Generated Node #0,0,4: 52:[46, 23] Operation: 54-31=23 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 52:[54, 15], Operations: ['61-30=31', '46-31=15'] Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 54*15=810, Resulting Numbers: [810] 810,52 unequal: No Solution Exploring Operation: 54+15=69, Resulting Numbers: [69] 69,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[31, 8], Operations: ['61-30=31', '54-46=8'] Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,52 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 52:[46, 23], Operations: ['61-30=31', '54-31=23'] Exploring Operation: 46+23=69, Resulting Numbers: [69] 69,52 unequal: No Solution Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 46*23=1058, Resulting Numbers: [1058] 1058,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 52:[54, 77], Operations: ['61-30=31', '46+31=77'] Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 54+77=131, Resulting Numbers: [131] 131,52 unequal: No Solution Exploring Operation: 54*77=4158, Resulting Numbers: [4158] 4158,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[46, 85], Operations: ['61-30=31', '54+31=85'] Exploring Operation: 46+85=131, Resulting Numbers: [131] 131,52 unequal: No Solution Exploring Operation: 46*85=3910, Resulting Numbers: [3910] 3910,52 unequal: No Solution Exploring Operation: 85-46=39, Resulting Numbers: [39] 39,52 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: 52:[61, 54, 16], Operations: ['46-30=16'] Exploring Operation: 61-16=45, Resulting Numbers: [54, 45] Generated Node #0,1,0: 52:[54, 45] Operation: 61-16=45 Exploring Operation: 54-16=38, Resulting Numbers: [61, 38] Generated Node #0,1,1: 52:[61, 38] Operation: 54-16=38 Exploring Operation: 61+16=77, Resulting Numbers: [54, 77] Generated Node #0,1,2: 52:[54, 77] Operation: 61+16=77 Exploring Operation: 61-54=7, Resulting Numbers: [16, 7] Generated Node #0,1,3: 52:[16, 7] Operation: 61-54=7 Exploring Operation: 54+16=70, Resulting Numbers: [61, 70] Generated Node #0,1,4: 52:[61, 70] Operation: 54+16=70 Moving to Node #0,4 Current State: 52:[61, 46, 24], Operations: ['54-30=24'] Exploring Operation: 46-24=22, Resulting Numbers: [61, 22] Generated Node #0,4,0: 52:[61, 22] Operation: 46-24=22 Exploring Operation: 46+24=70, Resulting Numbers: [61, 70] Generated Node #0,4,1: 52:[61, 70] Operation: 46+24=70 Exploring Operation: 61-46=15, Resulting Numbers: [24, 15] Generated Node #0,4,2: 52:[24, 15] Operation: 61-46=15 Exploring Operation: 61-24=37, Resulting Numbers: [46, 37] Generated Node #0,4,3: 52:[46, 37] Operation: 61-24=37 Exploring Operation: 61+24=85, Resulting Numbers: [46, 85] Generated Node #0,4,4: 52:[46, 85] Operation: 61+24=85 Moving to Node #0,3,3 Current State: 52:[54, 2], Operations: ['61-46=15', '30/15=2'] Exploring Operation: 54*2=108, Resulting Numbers: [108] 108,52 unequal: No Solution Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,52 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[30, 61, 54, 46], Operations: [] Exploring Operation: 61-46=15, Resulting Numbers: [30, 54, 15] Generated Node #0,3: 52:[30, 54, 15] Operation: 61-46=15 Moving to Node #0,3 Current State: 52:[30, 54, 15], Operations: ['61-46=15'] Exploring Operation: 30/15=2, Resulting Numbers: [54, 2] Generated Node #0,3,3: 52:[54, 2] Operation: 30/15=2 Moving to Node #0,3,3 Current State: 52:[54, 2], Operations: ['61-46=15', '30/15=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.940104
hs_5
mult_heuristic
[ 22, 13, 39, 24 ]
11
[ "39-13=26", "26-24=2", "22/2=11" ]
Current State: 11:[22, 13, 39, 24], Operations: [] Exploring Operation: 39-13=26, Resulting Numbers: [22, 24, 26] Generated Node #2: [22, 24, 26] from Operation: 39-13=26 Current State: 11:[22, 24, 26], Operations: ['39-13=26'] Exploring Operation: 26-24=2, Resulting Numbers: [22, 2] Generated Node #3: [22, 2] from Operation: 26-24=2 Current State: 11:[22, 2], Operations: ['39-13=26', '26-24=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[22, 13, 39, 24], Operations: [] Exploring Operation: 39-24=15, Resulting Numbers: [22, 13, 15] Generated Node #0,0: 11:[22, 13, 15] Operation: 39-24=15 Exploring Operation: 39-22=17, Resulting Numbers: [13, 24, 17] Generated Node #0,1: 11:[13, 24, 17] Operation: 39-22=17 Exploring Operation: 39/13=3, Resulting Numbers: [22, 24, 3] Generated Node #0,2: 11:[22, 24, 3] Operation: 39/13=3 Exploring Operation: 24-22=2, Resulting Numbers: [13, 39, 2] Generated Node #0,3: 11:[13, 39, 2] Operation: 24-22=2 Moving to Node #0,0 Current State: 11:[22, 13, 15], Operations: ['39-24=15'] Exploring Operation: 15-13=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 11:[22, 2] Operation: 15-13=2 Exploring Operation: 22-13=9, Resulting Numbers: [15, 9] Generated Node #0,0,1: 11:[15, 9] Operation: 22-13=9 Exploring Operation: 22-15=7, Resulting Numbers: [13, 7] Generated Node #0,0,2: 11:[13, 7] Operation: 22-15=7 Exploring Operation: 22+13=35, Resulting Numbers: [15, 35] Generated Node #0,0,3: 11:[15, 35] Operation: 22+13=35 Moving to Node #0,1 Current State: 11:[13, 24, 17], Operations: ['39-22=17'] Exploring Operation: 13+24=37, Resulting Numbers: [17, 37] Generated Node #0,1,0: 11:[17, 37] Operation: 13+24=37 Exploring Operation: 24-17=7, Resulting Numbers: [13, 7] Generated Node #0,1,1: 11:[13, 7] Operation: 24-17=7 Exploring Operation: 17-13=4, Resulting Numbers: [24, 4] Generated Node #0,1,2: 11:[24, 4] Operation: 17-13=4 Exploring Operation: 24-13=11, Resulting Numbers: [17, 11] Generated Node #0,1,3: 11:[17, 11] Operation: 24-13=11 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[13, 7], Operations: ['39-22=17', '24-17=7'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,11 unequal: No Solution Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 11:[17, 11], Operations: ['39-22=17', '24-13=11'] Exploring Operation: 17*11=187, Resulting Numbers: [187] 187,11 unequal: No Solution Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 11:[24, 4], Operations: ['39-22=17', '17-13=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,11 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[17, 37], Operations: ['39-22=17', '13+24=37'] Exploring Operation: 17+37=54, Resulting Numbers: [54] 54,11 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 17*37=629, Resulting Numbers: [629] 629,11 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: 11:[22, 24, 3], Operations: ['39/13=3'] Exploring Operation: 24-22=2, Resulting Numbers: [3, 2] Generated Node #0,2,0: 11:[3, 2] Operation: 24-22=2 Exploring Operation: 22-3=19, Resulting Numbers: [24, 19] Generated Node #0,2,1: 11:[24, 19] Operation: 22-3=19 Exploring Operation: 24/3=8, Resulting Numbers: [22, 8] Generated Node #0,2,2: 11:[22, 8] Operation: 24/3=8 Exploring Operation: 24-3=21, Resulting Numbers: [22, 21] Generated Node #0,2,3: 11:[22, 21] Operation: 24-3=21 Moving to Node #0,3 Current State: 11:[13, 39, 2], Operations: ['24-22=2'] Exploring Operation: 39-13=26, Resulting Numbers: [2, 26] Generated Node #0,3,0: 11:[2, 26] Operation: 39-13=26 Exploring Operation: 39/13=3, Resulting Numbers: [2, 3] Generated Node #0,3,1: 11:[2, 3] Operation: 39/13=3 Exploring Operation: 39-2=37, Resulting Numbers: [13, 37] Generated Node #0,3,2: 11:[13, 37] Operation: 39-2=37 Exploring Operation: 13-2=11, Resulting Numbers: [39, 11] Generated Node #0,3,3: 11:[39, 11] Operation: 13-2=11 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 11:[2, 3], Operations: ['24-22=2', '39/13=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[2, 26], Operations: ['24-22=2', '39-13=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,11 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 11:[13, 37], Operations: ['24-22=2', '39-2=37'] Exploring Operation: 13+37=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 13*37=481, Resulting Numbers: [481] 481,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 11:[39, 11], Operations: ['24-22=2', '13-2=11'] Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 39*11=429, Resulting Numbers: [429] 429,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 11:[15, 9], Operations: ['39-24=15', '22-13=9'] Exploring Operation: 15+9=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 15*9=135, Resulting Numbers: [135] 135,11 unequal: No Solution Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[13, 7], Operations: ['39-24=15', '22-15=7'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,11 unequal: No Solution Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[22, 8], Operations: ['39/13=3', '24/3=8'] Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,11 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[3, 2], Operations: ['39/13=3', '24-22=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[22, 2], Operations: ['39-24=15', '15-13=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[22, 13, 39, 24], Operations: [] Exploring Operation: 39-24=15, Resulting Numbers: [22, 13, 15] Generated Node #0,0: 11:[22, 13, 15] Operation: 39-24=15 Moving to Node #0,0 Current State: 11:[22, 13, 15], Operations: ['39-24=15'] Exploring Operation: 15-13=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 11:[22, 2] Operation: 15-13=2 Moving to Node #0,0,0 Current State: 11:[22, 2], Operations: ['39-24=15', '15-13=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
0.945313
hs_4
mult_heuristic
[ 82, 5, 55, 13 ]
74
[ "82+13=95", "95/5=19", "55+19=74" ]
Current State: 74:[82, 5, 55, 13], Operations: [] Exploring Operation: 82+13=95, Resulting Numbers: [5, 55, 95] Generated Node #2: [5, 55, 95] from Operation: 82+13=95 Current State: 74:[5, 55, 95], Operations: ['82+13=95'] Exploring Operation: 95/5=19, Resulting Numbers: [55, 19] Generated Node #3: [55, 19] from Operation: 95/5=19 Current State: 74:[55, 19], Operations: ['82+13=95', '95/5=19'] Exploring Operation: 55+19=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[82, 5, 55, 13], Operations: [] Exploring Operation: 55-13=42, Resulting Numbers: [82, 5, 42] Generated Node #0,0: 74:[82, 5, 42] Operation: 55-13=42 Exploring Operation: 55+13=68, Resulting Numbers: [82, 5, 68] Generated Node #0,1: 74:[82, 5, 68] Operation: 55+13=68 Exploring Operation: 82-55=27, Resulting Numbers: [5, 13, 27] Generated Node #0,2: 74:[5, 13, 27] Operation: 82-55=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[82, 5, 42], Operations: ['55-13=42'] Exploring Operation: 42-5=37, Resulting Numbers: [82, 37] Generated Node #0,0,0: 74:[82, 37] Operation: 42-5=37 Exploring Operation: 82-42=40, Resulting Numbers: [5, 40] Generated Node #0,0,1: 74:[5, 40] Operation: 82-42=40 Exploring Operation: 82-5=77, Resulting Numbers: [42, 77] Generated Node #0,0,2: 74:[42, 77] Operation: 82-5=77 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[5, 40], Operations: ['55-13=42', '82-42=40'] Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,74 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[82, 37], Operations: ['55-13=42', '42-5=37'] Exploring Operation: 82*37=3034, Resulting Numbers: [3034] 3034,74 unequal: No Solution Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,74 unequal: No Solution Exploring Operation: 82+37=119, Resulting Numbers: [119] 119,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[42, 77], Operations: ['55-13=42', '82-5=77'] Exploring Operation: 77-42=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 42*77=3234, Resulting Numbers: [3234] 3234,74 unequal: No Solution Exploring Operation: 42+77=119, Resulting Numbers: [119] 119,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[82, 5, 68], Operations: ['55+13=68'] Exploring Operation: 5+68=73, Resulting Numbers: [82, 73] Generated Node #0,1,0: 74:[82, 73] Operation: 5+68=73 Exploring Operation: 82-5=77, Resulting Numbers: [68, 77] Generated Node #0,1,1: 74:[68, 77] Operation: 82-5=77 Exploring Operation: 82-68=14, Resulting Numbers: [5, 14] Generated Node #0,1,2: 74:[5, 14] Operation: 82-68=14 Moving to Node #0,1,0 Current State: 74:[82, 73], Operations: ['55+13=68', '5+68=73'] Exploring Operation: 82+73=155, Resulting Numbers: [155] 155,74 unequal: No Solution Exploring Operation: 82-73=9, Resulting Numbers: [9] 9,74 unequal: No Solution Exploring Operation: 82*73=5986, Resulting Numbers: [5986] 5986,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[68, 77], Operations: ['55+13=68', '82-5=77'] Exploring Operation: 68*77=5236, Resulting Numbers: [5236] 5236,74 unequal: No Solution Exploring Operation: 77-68=9, Resulting Numbers: [9] 9,74 unequal: No Solution Exploring Operation: 68+77=145, Resulting Numbers: [145] 145,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[5, 14], Operations: ['55+13=68', '82-68=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,74 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[5, 13, 27], Operations: ['82-55=27'] Exploring Operation: 27-13=14, Resulting Numbers: [5, 14] Generated Node #0,2,0: 74:[5, 14] Operation: 27-13=14 Exploring Operation: 13-5=8, Resulting Numbers: [27, 8] Generated Node #0,2,1: 74:[27, 8] Operation: 13-5=8 Exploring Operation: 13+27=40, Resulting Numbers: [5, 40] Generated Node #0,2,2: 74:[5, 40] Operation: 13+27=40 Moving to Node #0,2,2 Current State: 74:[5, 40], Operations: ['82-55=27', '13+27=40'] Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,74 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[5, 14], Operations: ['82-55=27', '27-13=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,74 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[27, 8], Operations: ['82-55=27', '13-5=8'] Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 27*8=216, Resulting Numbers: [216] 216,74 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
[ 2, 85, 16, 86 ]
17
[ "2+85=87", "86-16=70", "87-70=17" ]
Current State: 17:[2, 85, 16, 86], Operations: [] Exploring Operation: 2+85=87, Resulting Numbers: [16, 86, 87] Generated Node #2: [16, 86, 87] from Operation: 2+85=87 Current State: 17:[16, 86, 87], Operations: ['2+85=87'] Exploring Operation: 86-16=70, Resulting Numbers: [87, 70] Generated Node #3: [87, 70] from Operation: 86-16=70 Current State: 17:[87, 70], Operations: ['2+85=87', '86-16=70'] Exploring Operation: 87-70=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[2, 85, 16, 86], Operations: [] Exploring Operation: 86/2=43, Resulting Numbers: [85, 16, 43] Generated Node #0,0: 17:[85, 16, 43] Operation: 86/2=43 Exploring Operation: 85-2=83, Resulting Numbers: [16, 86, 83] Generated Node #0,1: 17:[16, 86, 83] Operation: 85-2=83 Exploring Operation: 86-85=1, Resulting Numbers: [2, 16, 1] Generated Node #0,2: 17:[2, 16, 1] Operation: 86-85=1 Moving to Node #0,2 Current State: 17:[2, 16, 1], Operations: ['86-85=1'] Exploring Operation: 2*1=2, Resulting Numbers: [16, 2] Generated Node #0,2,0: 17:[16, 2] Operation: 2*1=2 Exploring Operation: 16+1=17, Resulting Numbers: [2, 17] Generated Node #0,2,1: 17:[2, 17] Operation: 16+1=17 Exploring Operation: 2+1=3, Resulting Numbers: [16, 3] Generated Node #0,2,2: 17:[16, 3] Operation: 2+1=3 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 17:[2, 17], Operations: ['86-85=1', '16+1=17'] Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 17:[16, 3], Operations: ['86-85=1', '2+1=3'] Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 17:[16, 2], Operations: ['86-85=1', '2*1=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,17 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,17 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,17 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: 17:[85, 16, 43], Operations: ['86/2=43'] Exploring Operation: 43-16=27, Resulting Numbers: [85, 27] Generated Node #0,0,0: 17:[85, 27] Operation: 43-16=27 Exploring Operation: 85-43=42, Resulting Numbers: [16, 42] Generated Node #0,0,1: 17:[16, 42] Operation: 85-43=42 Exploring Operation: 85-16=69, Resulting Numbers: [43, 69] Generated Node #0,0,2: 17:[43, 69] Operation: 85-16=69 Moving to Node #0,1 Current State: 17:[16, 86, 83], Operations: ['85-2=83'] Exploring Operation: 86-83=3, Resulting Numbers: [16, 3] Generated Node #0,1,0: 17:[16, 3] Operation: 86-83=3 Exploring Operation: 83-16=67, Resulting Numbers: [86, 67] Generated Node #0,1,1: 17:[86, 67] Operation: 83-16=67 Exploring Operation: 86-16=70, Resulting Numbers: [83, 70] Generated Node #0,1,2: 17:[83, 70] Operation: 86-16=70 Moving to Node #0,1,0 Current State: 17:[16, 3], Operations: ['85-2=83', '86-83=3'] Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[16, 42], Operations: ['86/2=43', '85-43=42'] Exploring Operation: 16*42=672, Resulting Numbers: [672] 672,17 unequal: No Solution Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,17 unequal: No Solution Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[43, 69], Operations: ['86/2=43', '85-16=69'] Exploring Operation: 43*69=2967, Resulting Numbers: [2967] 2967,17 unequal: No Solution Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,17 unequal: No Solution Exploring Operation: 43+69=112, Resulting Numbers: [112] 112,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[85, 27], Operations: ['86/2=43', '43-16=27'] Exploring Operation: 85+27=112, Resulting Numbers: [112] 112,17 unequal: No Solution Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,17 unequal: No Solution Exploring Operation: 85*27=2295, Resulting Numbers: [2295] 2295,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[83, 70], Operations: ['85-2=83', '86-16=70'] Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 83+70=153, Resulting Numbers: [153] 153,17 unequal: No Solution Exploring Operation: 83*70=5810, Resulting Numbers: [5810] 5810,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[86, 67], Operations: ['85-2=83', '83-16=67'] Exploring Operation: 86+67=153, Resulting Numbers: [153] 153,17 unequal: No Solution Exploring Operation: 86-67=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 86*67=5762, Resulting Numbers: [5762] 5762,17 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 89, 67, 84, 4 ]
87
[ "89-84=5", "4*5=20", "67+20=87" ]
Current State: 87:[89, 67, 84, 4], Operations: [] Exploring Operation: 89-84=5, Resulting Numbers: [67, 4, 5] Generated Node #2: [67, 4, 5] from Operation: 89-84=5 Current State: 87:[67, 4, 5], Operations: ['89-84=5'] Exploring Operation: 4*5=20, Resulting Numbers: [67, 20] Generated Node #3: [67, 20] from Operation: 4*5=20 Current State: 87:[67, 20], Operations: ['89-84=5', '4*5=20'] Exploring Operation: 67+20=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[89, 67, 84, 4], Operations: [] Exploring Operation: 84-67=17, Resulting Numbers: [89, 4, 17] Generated Node #0,0: 87:[89, 4, 17] Operation: 84-67=17 Exploring Operation: 89-67=22, Resulting Numbers: [84, 4, 22] Generated Node #0,1: 87:[84, 4, 22] Operation: 89-67=22 Moving to Node #0,1 Current State: 87:[84, 4, 22], Operations: ['89-67=22'] Exploring Operation: 4*22=88, Resulting Numbers: [84, 88] Generated Node #0,1,0: 87:[84, 88] Operation: 4*22=88 Exploring Operation: 4+22=26, Resulting Numbers: [84, 26] Generated Node #0,1,1: 87:[84, 26] Operation: 4+22=26 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[84, 88], Operations: ['89-67=22', '4*22=88'] Exploring Operation: 88-84=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 84+88=172, Resulting Numbers: [172] 172,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,1 Current State: 87:[84, 26], Operations: ['89-67=22', '4+22=26'] Exploring Operation: 84-26=58, Resulting Numbers: [58] 58,87 unequal: No Solution Exploring Operation: 84+26=110, Resulting Numbers: [110] 110,87 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: 87:[89, 4, 17], Operations: ['84-67=17'] Exploring Operation: 17-4=13, Resulting Numbers: [89, 13] Generated Node #0,0,0: 87:[89, 13] Operation: 17-4=13 Exploring Operation: 4+17=21, Resulting Numbers: [89, 21] Generated Node #0,0,1: 87:[89, 21] Operation: 4+17=21 Moving to Node #0,0,1 Current State: 87:[89, 21], Operations: ['84-67=17', '4+17=21'] Exploring Operation: 89+21=110, Resulting Numbers: [110] 110,87 unequal: No Solution Exploring Operation: 89-21=68, Resulting Numbers: [68] 68,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[89, 13], Operations: ['84-67=17', '17-4=13'] Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,87 unequal: No Solution Exploring Operation: 89+13=102, Resulting Numbers: [102] 102,87 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 33, 87, 31, 67 ]
47
[ "33-31=2", "67*2=134", "134-87=47" ]
Current State: 47:[33, 87, 31, 67], Operations: [] Exploring Operation: 33-31=2, Resulting Numbers: [87, 67, 2] Generated Node #2: [87, 67, 2] from Operation: 33-31=2 Current State: 47:[87, 67, 2], Operations: ['33-31=2'] Exploring Operation: 67*2=134, Resulting Numbers: [87, 134] Generated Node #3: [87, 134] from Operation: 67*2=134 Current State: 47:[87, 134], Operations: ['33-31=2', '67*2=134'] Exploring Operation: 134-87=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[33, 87, 31, 67], Operations: [] Exploring Operation: 87-33=54, Resulting Numbers: [31, 67, 54] Generated Node #0,0: 47:[31, 67, 54] Operation: 87-33=54 Exploring Operation: 87-31=56, Resulting Numbers: [33, 67, 56] Generated Node #0,1: 47:[33, 67, 56] Operation: 87-31=56 Exploring Operation: 87-67=20, Resulting Numbers: [33, 31, 20] Generated Node #0,2: 47:[33, 31, 20] Operation: 87-67=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[31, 67, 54], Operations: ['87-33=54'] Exploring Operation: 67-54=13, Resulting Numbers: [31, 13] Generated Node #0,0,0: 47:[31, 13] Operation: 67-54=13 Exploring Operation: 54-31=23, Resulting Numbers: [67, 23] Generated Node #0,0,1: 47:[67, 23] Operation: 54-31=23 Exploring Operation: 67-31=36, Resulting Numbers: [54, 36] Generated Node #0,0,2: 47:[54, 36] Operation: 67-31=36 Moving to Node #0,0,2 Current State: 47:[54, 36], Operations: ['87-33=54', '67-31=36'] Exploring Operation: 54*36=1944, Resulting Numbers: [1944] 1944,47 unequal: No Solution Exploring Operation: 54-36=18, Resulting Numbers: [18] 18,47 unequal: No Solution Exploring Operation: 54+36=90, Resulting Numbers: [90] 90,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[67, 23], Operations: ['87-33=54', '54-31=23'] Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 67*23=1541, Resulting Numbers: [1541] 1541,47 unequal: No Solution Exploring Operation: 67+23=90, Resulting Numbers: [90] 90,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[31, 13], Operations: ['87-33=54', '67-54=13'] Exploring Operation: 31*13=403, Resulting Numbers: [403] 403,47 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,47 unequal: No Solution Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[33, 67, 56], Operations: ['87-31=56'] Exploring Operation: 67-56=11, Resulting Numbers: [33, 11] Generated Node #0,1,0: 47:[33, 11] Operation: 67-56=11 Exploring Operation: 67-33=34, Resulting Numbers: [56, 34] Generated Node #0,1,1: 47:[56, 34] Operation: 67-33=34 Exploring Operation: 56-33=23, Resulting Numbers: [67, 23] Generated Node #0,1,2: 47:[67, 23] Operation: 56-33=23 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[56, 34], Operations: ['87-31=56', '67-33=34'] Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 56+34=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 56*34=1904, Resulting Numbers: [1904] 1904,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 47:[67, 23], Operations: ['87-31=56', '56-33=23'] Exploring Operation: 67*23=1541, Resulting Numbers: [1541] 1541,47 unequal: No Solution Exploring Operation: 67+23=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[33, 11], Operations: ['87-31=56', '67-56=11'] Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 33+11=44, Resulting Numbers: [44] 44,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[33, 31, 20], Operations: ['87-67=20'] Exploring Operation: 31+20=51, Resulting Numbers: [33, 51] Generated Node #0,2,0: 47:[33, 51] Operation: 31+20=51 Exploring Operation: 33+31=64, Resulting Numbers: [20, 64] Generated Node #0,2,1: 47:[20, 64] Operation: 33+31=64 Exploring Operation: 33+20=53, Resulting Numbers: [31, 53] Generated Node #0,2,2: 47:[31, 53] Operation: 33+20=53 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[33, 51], Operations: ['87-67=20', '31+20=51'] Exploring Operation: 33*51=1683, Resulting Numbers: [1683] 1683,47 unequal: No Solution Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,47 unequal: No Solution Exploring Operation: 33+51=84, Resulting Numbers: [84] 84,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 47:[31, 53], Operations: ['87-67=20', '33+20=53'] Exploring Operation: 53-31=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 31*53=1643, Resulting Numbers: [1643] 1643,47 unequal: No Solution Exploring Operation: 31+53=84, Resulting Numbers: [84] 84,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[20, 64], Operations: ['87-67=20', '33+31=64'] Exploring Operation: 20+64=84, Resulting Numbers: [84] 84,47 unequal: No Solution Exploring Operation: 20*64=1280, Resulting Numbers: [1280] 1280,47 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 16, 2, 35, 78 ]
75
[ "16*2=32", "78-35=43", "32+43=75" ]
Current State: 75:[16, 2, 35, 78], Operations: [] Exploring Operation: 16*2=32, Resulting Numbers: [35, 78, 32] Generated Node #2: [35, 78, 32] from Operation: 16*2=32 Current State: 75:[35, 78, 32], Operations: ['16*2=32'] Exploring Operation: 78-35=43, Resulting Numbers: [32, 43] Generated Node #3: [32, 43] from Operation: 78-35=43 Current State: 75:[32, 43], Operations: ['16*2=32', '78-35=43'] Exploring Operation: 32+43=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[16, 2, 35, 78], Operations: [] Exploring Operation: 35-16=19, Resulting Numbers: [2, 78, 19] Generated Node #0,0: 75:[2, 78, 19] Operation: 35-16=19 Exploring Operation: 2*35=70, Resulting Numbers: [16, 78, 70] Generated Node #0,1: 75:[16, 78, 70] Operation: 2*35=70 Exploring Operation: 35-2=33, Resulting Numbers: [16, 78, 33] Generated Node #0,2: 75:[16, 78, 33] Operation: 35-2=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[2, 78, 19], Operations: ['35-16=19'] Exploring Operation: 2+19=21, Resulting Numbers: [78, 21] Generated Node #0,0,0: 75:[78, 21] Operation: 2+19=21 Exploring Operation: 78-2=76, Resulting Numbers: [19, 76] Generated Node #0,0,1: 75:[19, 76] Operation: 78-2=76 Exploring Operation: 19-2=17, Resulting Numbers: [78, 17] Generated Node #0,0,2: 75:[78, 17] Operation: 19-2=17 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[19, 76], Operations: ['35-16=19', '78-2=76'] Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,75 unequal: No Solution Exploring Operation: 19+76=95, Resulting Numbers: [95] 95,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 75:[78, 17], Operations: ['35-16=19', '19-2=17'] Exploring Operation: 78*17=1326, Resulting Numbers: [1326] 1326,75 unequal: No Solution Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,75 unequal: No Solution Exploring Operation: 78+17=95, Resulting Numbers: [95] 95,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[78, 21], Operations: ['35-16=19', '2+19=21'] Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,75 unequal: No Solution Exploring Operation: 78+21=99, Resulting Numbers: [99] 99,75 unequal: No Solution Exploring Operation: 78*21=1638, Resulting Numbers: [1638] 1638,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[16, 78, 70], Operations: ['2*35=70'] Exploring Operation: 78-16=62, Resulting Numbers: [70, 62] Generated Node #0,1,0: 75:[70, 62] Operation: 78-16=62 Exploring Operation: 16+70=86, Resulting Numbers: [78, 86] Generated Node #0,1,1: 75:[78, 86] Operation: 16+70=86 Exploring Operation: 78-70=8, Resulting Numbers: [16, 8] Generated Node #0,1,2: 75:[16, 8] Operation: 78-70=8 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 75:[16, 8], Operations: ['2*35=70', '78-70=8'] Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[78, 86], Operations: ['2*35=70', '16+70=86'] Exploring Operation: 86-78=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 78*86=6708, Resulting Numbers: [6708] 6708,75 unequal: No Solution Exploring Operation: 78+86=164, Resulting Numbers: [164] 164,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[70, 62], Operations: ['2*35=70', '78-16=62'] Exploring Operation: 70+62=132, Resulting Numbers: [132] 132,75 unequal: No Solution Exploring Operation: 70*62=4340, Resulting Numbers: [4340] 4340,75 unequal: No Solution Exploring Operation: 70-62=8, Resulting Numbers: [8] 8,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[16, 78, 33], Operations: ['35-2=33'] Exploring Operation: 78-16=62, Resulting Numbers: [33, 62] Generated Node #0,2,0: 75:[33, 62] Operation: 78-16=62 Exploring Operation: 33-16=17, Resulting Numbers: [78, 17] Generated Node #0,2,1: 75:[78, 17] Operation: 33-16=17 Exploring Operation: 78-33=45, Resulting Numbers: [16, 45] Generated Node #0,2,2: 75:[16, 45] Operation: 78-33=45 Moving to Node #0,2,1 Current State: 75:[78, 17], Operations: ['35-2=33', '33-16=17'] Exploring Operation: 78*17=1326, Resulting Numbers: [1326] 1326,75 unequal: No Solution Exploring Operation: 78+17=95, Resulting Numbers: [95] 95,75 unequal: No Solution Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[33, 62], Operations: ['35-2=33', '78-16=62'] Exploring Operation: 62-33=29, Resulting Numbers: [29] 29,75 unequal: No Solution Exploring Operation: 33*62=2046, Resulting Numbers: [2046] 2046,75 unequal: No Solution Exploring Operation: 33+62=95, Resulting Numbers: [95] 95,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[16, 45], Operations: ['35-2=33', '78-33=45'] Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,75 unequal: No Solution Exploring Operation: 16*45=720, Resulting Numbers: [720] 720,75 unequal: No Solution Exploring Operation: 16+45=61, Resulting Numbers: [61] 61,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 42, 68, 89, 72 ]
70
[ "89-68=21", "42/21=2", "72-2=70" ]
Current State: 70:[42, 68, 89, 72], Operations: [] Exploring Operation: 89-68=21, Resulting Numbers: [42, 72, 21] Generated Node #2: [42, 72, 21] from Operation: 89-68=21 Current State: 70:[42, 72, 21], Operations: ['89-68=21'] Exploring Operation: 42/21=2, Resulting Numbers: [72, 2] Generated Node #3: [72, 2] from Operation: 42/21=2 Current State: 70:[72, 2], Operations: ['89-68=21', '42/21=2'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[42, 68, 89, 72], Operations: [] Exploring Operation: 89-72=17, Resulting Numbers: [42, 68, 17] Generated Node #0,0: 70:[42, 68, 17] Operation: 89-72=17 Exploring Operation: 72-42=30, Resulting Numbers: [68, 89, 30] Generated Node #0,1: 70:[68, 89, 30] Operation: 72-42=30 Exploring Operation: 89-68=21, Resulting Numbers: [42, 72, 21] Generated Node #0,2: 70:[42, 72, 21] Operation: 89-68=21 Exploring Operation: 89-42=47, Resulting Numbers: [68, 72, 47] Generated Node #0,3: 70:[68, 72, 47] Operation: 89-42=47 Moving to Node #0,0 Current State: 70:[42, 68, 17], Operations: ['89-72=17'] Exploring Operation: 68/17=4, Resulting Numbers: [42, 4] Generated Node #0,0,0: 70:[42, 4] Operation: 68/17=4 Exploring Operation: 42-17=25, Resulting Numbers: [68, 25] Generated Node #0,0,1: 70:[68, 25] Operation: 42-17=25 Exploring Operation: 42+17=59, Resulting Numbers: [68, 59] Generated Node #0,0,2: 70:[68, 59] Operation: 42+17=59 Exploring Operation: 68-42=26, Resulting Numbers: [17, 26] Generated Node #0,0,3: 70:[17, 26] Operation: 68-42=26 Moving to Node #0,3 Current State: 70:[68, 72, 47], Operations: ['89-42=47'] Exploring Operation: 72-47=25, Resulting Numbers: [68, 25] Generated Node #0,3,0: 70:[68, 25] Operation: 72-47=25 Exploring Operation: 68+47=115, Resulting Numbers: [72, 115] Generated Node #0,3,1: 70:[72, 115] Operation: 68+47=115 Exploring Operation: 72-68=4, Resulting Numbers: [47, 4] Generated Node #0,3,2: 70:[47, 4] Operation: 72-68=4 Exploring Operation: 68-47=21, Resulting Numbers: [72, 21] Generated Node #0,3,3: 70:[72, 21] Operation: 68-47=21 Moving to Node #0,2 Current State: 70:[42, 72, 21], Operations: ['89-68=21'] Exploring Operation: 42-21=21, Resulting Numbers: [72, 21] Generated Node #0,2,0: 70:[72, 21] Operation: 42-21=21 Exploring Operation: 42+21=63, Resulting Numbers: [72, 63] Generated Node #0,2,1: 70:[72, 63] Operation: 42+21=63 Exploring Operation: 72-42=30, Resulting Numbers: [21, 30] Generated Node #0,2,2: 70:[21, 30] Operation: 72-42=30 Exploring Operation: 42/21=2, Resulting Numbers: [72, 2] Generated Node #0,2,3: 70:[72, 2] Operation: 42/21=2 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 70:[72, 2], Operations: ['89-68=21', '42/21=2'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 72*2=144, Resulting Numbers: [144] 144,70 unequal: No Solution Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,70 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[42, 68, 89, 72], Operations: [] Exploring Operation: 89-68=21, Resulting Numbers: [42, 72, 21] Generated Node #0,2: 70:[42, 72, 21] Operation: 89-68=21 Moving to Node #0,2 Current State: 70:[42, 72, 21], Operations: ['89-68=21'] Exploring Operation: 42/21=2, Resulting Numbers: [72, 2] Generated Node #0,2,3: 70:[72, 2] Operation: 42/21=2 Moving to Node #0,2,3 Current State: 70:[72, 2], Operations: ['89-68=21', '42/21=2'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 57, 75, 48, 9 ]
50
[ "75-57=18", "18/9=2", "48+2=50" ]
Current State: 50:[57, 75, 48, 9], Operations: [] Exploring Operation: 75-57=18, Resulting Numbers: [48, 9, 18] Generated Node #2: [48, 9, 18] from Operation: 75-57=18 Current State: 50:[48, 9, 18], Operations: ['75-57=18'] Exploring Operation: 18/9=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 18/9=2 Current State: 50:[48, 2], Operations: ['75-57=18', '18/9=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[57, 75, 48, 9], Operations: [] Exploring Operation: 57-48=9, Resulting Numbers: [75, 9, 9] Generated Node #0,0: 50:[75, 9, 9] Operation: 57-48=9 Exploring Operation: 75-9=66, Resulting Numbers: [57, 48, 66] Generated Node #0,1: 50:[57, 48, 66] Operation: 75-9=66 Exploring Operation: 75-48=27, Resulting Numbers: [57, 9, 27] Generated Node #0,2: 50:[57, 9, 27] Operation: 75-48=27 Exploring Operation: 75-57=18, Resulting Numbers: [48, 9, 18] Generated Node #0,3: 50:[48, 9, 18] Operation: 75-57=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[57, 9, 27], Operations: ['75-48=27'] Exploring Operation: 57-27=30, Resulting Numbers: [9, 30] Generated Node #0,2,0: 50:[9, 30] Operation: 57-27=30 Exploring Operation: 27/9=3, Resulting Numbers: [57, 3] Generated Node #0,2,1: 50:[57, 3] Operation: 27/9=3 Exploring Operation: 27-9=18, Resulting Numbers: [57, 18] Generated Node #0,2,2: 50:[57, 18] Operation: 27-9=18 Exploring Operation: 57-9=48, Resulting Numbers: [27, 48] Generated Node #0,2,3: 50:[27, 48] Operation: 57-9=48 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 50:[27, 48], Operations: ['75-48=27', '57-9=48'] Exploring Operation: 27+48=75, Resulting Numbers: [75] 75,50 unequal: No Solution Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 27*48=1296, Resulting Numbers: [1296] 1296,50 unequal: No Solution No 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: 50:[9, 30], Operations: ['75-48=27', '57-27=30'] Exploring Operation: 9*30=270, Resulting Numbers: [270] 270,50 unequal: No Solution Exploring Operation: 9+30=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,50 unequal: No Solution No 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: 50:[57, 3], Operations: ['75-48=27', '27/9=3'] Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,50 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,50 unequal: No Solution Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,50 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,50 unequal: No Solution No 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: 50:[57, 18], Operations: ['75-48=27', '27-9=18'] Exploring Operation: 57+18=75, Resulting Numbers: [75] 75,50 unequal: No Solution Exploring Operation: 57*18=1026, Resulting Numbers: [1026] 1026,50 unequal: No Solution Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,50 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: 50:[48, 9, 18], Operations: ['75-57=18'] Exploring Operation: 18/9=2, Resulting Numbers: [48, 2] Generated Node #0,3,0: 50:[48, 2] Operation: 18/9=2 Exploring Operation: 9+18=27, Resulting Numbers: [48, 27] Generated Node #0,3,1: 50:[48, 27] Operation: 9+18=27 Exploring Operation: 48-18=30, Resulting Numbers: [9, 30] Generated Node #0,3,2: 50:[9, 30] Operation: 48-18=30 Exploring Operation: 18-9=9, Resulting Numbers: [48, 9] Generated Node #0,3,3: 50:[48, 9] Operation: 18-9=9 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 50:[48, 2], Operations: ['75-57=18', '18/9=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,50 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,50 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[57, 75, 48, 9], Operations: [] Exploring Operation: 75-57=18, Resulting Numbers: [48, 9, 18] Generated Node #0,3: 50:[48, 9, 18] Operation: 75-57=18 Moving to Node #0,3 Current State: 50:[48, 9, 18], Operations: ['75-57=18'] Exploring Operation: 18/9=2, Resulting Numbers: [48, 2] Generated Node #0,3,0: 50:[48, 2] Operation: 18/9=2 Moving to Node #0,3,0 Current State: 50:[48, 2], Operations: ['75-57=18', '18/9=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.971354
hs_4
sum_heuristic
[ 26, 14, 80, 59 ]
61
[ "26+14=40", "80-59=21", "40+21=61" ]
Current State: 61:[26, 14, 80, 59], Operations: [] Exploring Operation: 26+14=40, Resulting Numbers: [80, 59, 40] Generated Node #2: [80, 59, 40] from Operation: 26+14=40 Current State: 61:[80, 59, 40], Operations: ['26+14=40'] Exploring Operation: 80-59=21, Resulting Numbers: [40, 21] Generated Node #3: [40, 21] from Operation: 80-59=21 Current State: 61:[40, 21], Operations: ['26+14=40', '80-59=21'] Exploring Operation: 40+21=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[26, 14, 80, 59], Operations: [] Exploring Operation: 26+14=40, Resulting Numbers: [80, 59, 40] Generated Node #0,0: 61:[80, 59, 40] Operation: 26+14=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[80, 59, 40], Operations: ['26+14=40'] Exploring Operation: 80-40=40, Resulting Numbers: [59, 40] Generated Node #0,0,0: 61:[59, 40] Operation: 80-40=40 Moving to Node #0,0,0 Current State: 61:[59, 40], Operations: ['26+14=40', '80-40=40'] Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 21, 44, 75, 20 ]
78
[ "44-21=23", "75-20=55", "23+55=78" ]
Current State: 78:[21, 44, 75, 20], Operations: [] Exploring Operation: 44-21=23, Resulting Numbers: [75, 20, 23] Generated Node #2: [75, 20, 23] from Operation: 44-21=23 Current State: 78:[75, 20, 23], Operations: ['44-21=23'] Exploring Operation: 75-20=55, Resulting Numbers: [23, 55] Generated Node #3: [23, 55] from Operation: 75-20=55 Current State: 78:[23, 55], Operations: ['44-21=23', '75-20=55'] Exploring Operation: 23+55=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[21, 44, 75, 20], Operations: [] Exploring Operation: 21-20=1, Resulting Numbers: [44, 75, 1] Generated Node #0,0: 78:[44, 75, 1] Operation: 21-20=1 Moving to Node #0,0 Current State: 78:[44, 75, 1], Operations: ['21-20=1'] Exploring Operation: 75-44=31, Resulting Numbers: [1, 31] Generated Node #0,0,0: 78:[1, 31] Operation: 75-44=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[1, 31], Operations: ['21-20=1', '75-44=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,78 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
[ 48, 62, 65, 37 ]
86
[ "48*65=3120", "62+3120=3182", "3182/37=86" ]
Current State: 86:[48, 62, 65, 37], Operations: [] Exploring Operation: 48*65=3120, Resulting Numbers: [62, 37, 3120] Generated Node #2: [62, 37, 3120] from Operation: 48*65=3120 Current State: 86:[62, 37, 3120], Operations: ['48*65=3120'] Exploring Operation: 62+3120=3182, Resulting Numbers: [37, 3182] Generated Node #3: [37, 3182] from Operation: 62+3120=3182 Current State: 86:[37, 3182], Operations: ['48*65=3120', '62+3120=3182'] Exploring Operation: 3182/37=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[48, 62, 65, 37], Operations: [] Exploring Operation: 65-48=17, Resulting Numbers: [62, 37, 17] Generated Node #0,0: 86:[62, 37, 17] Operation: 65-48=17 Exploring Operation: 65-62=3, Resulting Numbers: [48, 37, 3] Generated Node #0,1: 86:[48, 37, 3] Operation: 65-62=3 Exploring Operation: 62-48=14, Resulting Numbers: [65, 37, 14] Generated Node #0,2: 86:[65, 37, 14] Operation: 62-48=14 Exploring Operation: 62+37=99, Resulting Numbers: [48, 65, 99] Generated Node #0,3: 86:[48, 65, 99] Operation: 62+37=99 Exploring Operation: 65-37=28, Resulting Numbers: [48, 62, 28] Generated Node #0,4: 86:[48, 62, 28] Operation: 65-37=28 Moving to Node #0,1 Current State: 86:[48, 37, 3], Operations: ['65-62=3'] Exploring Operation: 48-3=45, Resulting Numbers: [37, 45] Generated Node #0,1,0: 86:[37, 45] Operation: 48-3=45 Exploring Operation: 48+3=51, Resulting Numbers: [37, 51] Generated Node #0,1,1: 86:[37, 51] Operation: 48+3=51 Exploring Operation: 48-37=11, Resulting Numbers: [3, 11] Generated Node #0,1,2: 86:[3, 11] Operation: 48-37=11 Exploring Operation: 37+3=40, Resulting Numbers: [48, 40] Generated Node #0,1,3: 86:[48, 40] Operation: 37+3=40 Exploring Operation: 48+37=85, Resulting Numbers: [3, 85] Generated Node #0,1,4: 86:[3, 85] Operation: 48+37=85 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 86:[3, 85], Operations: ['65-62=3', '48+37=85'] Exploring Operation: 3+85=88, Resulting Numbers: [88] 88,86 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,86 unequal: No Solution Exploring Operation: 3*85=255, Resulting Numbers: [255] 255,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[37, 45], Operations: ['65-62=3', '48-3=45'] Exploring Operation: 37+45=82, Resulting Numbers: [82] 82,86 unequal: No Solution Exploring Operation: 37*45=1665, Resulting Numbers: [1665] 1665,86 unequal: No Solution Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 86:[48, 40], Operations: ['65-62=3', '37+3=40'] Exploring Operation: 48*40=1920, Resulting Numbers: [1920] 1920,86 unequal: No Solution Exploring Operation: 48+40=88, Resulting Numbers: [88] 88,86 unequal: No Solution Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[3, 11], Operations: ['65-62=3', '48-37=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[37, 51], Operations: ['65-62=3', '48+3=51'] Exploring Operation: 37*51=1887, Resulting Numbers: [1887] 1887,86 unequal: No Solution Exploring Operation: 37+51=88, Resulting Numbers: [88] 88,86 unequal: No Solution Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,86 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: 86:[48, 65, 99], Operations: ['62+37=99'] Exploring Operation: 48+99=147, Resulting Numbers: [65, 147] Generated Node #0,3,0: 86:[65, 147] Operation: 48+99=147 Exploring Operation: 65-48=17, Resulting Numbers: [99, 17] Generated Node #0,3,1: 86:[99, 17] Operation: 65-48=17 Exploring Operation: 99-65=34, Resulting Numbers: [48, 34] Generated Node #0,3,2: 86:[48, 34] Operation: 99-65=34 Exploring Operation: 48+65=113, Resulting Numbers: [99, 113] Generated Node #0,3,3: 86:[99, 113] Operation: 48+65=113 Exploring Operation: 99-48=51, Resulting Numbers: [65, 51] Generated Node #0,3,4: 86:[65, 51] Operation: 99-48=51 Moving to Node #0,2 Current State: 86:[65, 37, 14], Operations: ['62-48=14'] Exploring Operation: 37+14=51, Resulting Numbers: [65, 51] Generated Node #0,2,0: 86:[65, 51] Operation: 37+14=51 Exploring Operation: 65+14=79, Resulting Numbers: [37, 79] Generated Node #0,2,1: 86:[37, 79] Operation: 65+14=79 Exploring Operation: 65-14=51, Resulting Numbers: [37, 51] Generated Node #0,2,2: 86:[37, 51] Operation: 65-14=51 Exploring Operation: 65+37=102, Resulting Numbers: [14, 102] Generated Node #0,2,3: 86:[14, 102] Operation: 65+37=102 Exploring Operation: 65-37=28, Resulting Numbers: [14, 28] Generated Node #0,2,4: 86:[14, 28] Operation: 65-37=28 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 86:[37, 79], Operations: ['62-48=14', '65+14=79'] Exploring Operation: 37*79=2923, Resulting Numbers: [2923] 2923,86 unequal: No Solution Exploring Operation: 79-37=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 37+79=116, Resulting Numbers: [116] 116,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 86:[37, 51], Operations: ['62-48=14', '65-14=51'] Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 37+51=88, Resulting Numbers: [88] 88,86 unequal: No Solution Exploring Operation: 37*51=1887, Resulting Numbers: [1887] 1887,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 86:[14, 28], Operations: ['62-48=14', '65-37=28'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 14*28=392, Resulting Numbers: [392] 392,86 unequal: No Solution Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 86:[14, 102], Operations: ['62-48=14', '65+37=102'] Exploring Operation: 102-14=88, Resulting Numbers: [88] 88,86 unequal: No Solution Exploring Operation: 14+102=116, Resulting Numbers: [116] 116,86 unequal: No Solution Exploring Operation: 14*102=1428, Resulting Numbers: [1428] 1428,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 86:[65, 51], Operations: ['62-48=14', '37+14=51'] Exploring Operation: 65+51=116, Resulting Numbers: [116] 116,86 unequal: No Solution Exploring Operation: 65*51=3315, Resulting Numbers: [3315] 3315,86 unequal: No Solution Exploring Operation: 65-51=14, Resulting Numbers: [14] 14,86 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: 86:[48, 62, 28], Operations: ['65-37=28'] Exploring Operation: 62-28=34, Resulting Numbers: [48, 34] Generated Node #0,4,0: 86:[48, 34] Operation: 62-28=34 Exploring Operation: 62-48=14, Resulting Numbers: [28, 14] Generated Node #0,4,1: 86:[28, 14] Operation: 62-48=14 Exploring Operation: 48-28=20, Resulting Numbers: [62, 20] Generated Node #0,4,2: 86:[62, 20] Operation: 48-28=20 Exploring Operation: 62+28=90, Resulting Numbers: [48, 90] Generated Node #0,4,3: 86:[48, 90] Operation: 62+28=90 Exploring Operation: 48+28=76, Resulting Numbers: [62, 76] Generated Node #0,4,4: 86:[62, 76] Operation: 48+28=76 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 86:[48, 90], Operations: ['65-37=28', '62+28=90'] Exploring Operation: 48+90=138, Resulting Numbers: [138] 138,86 unequal: No Solution Exploring Operation: 48*90=4320, Resulting Numbers: [4320] 4320,86 unequal: No Solution Exploring Operation: 90-48=42, Resulting Numbers: [42] 42,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 86:[48, 34], Operations: ['65-37=28', '62-28=34'] Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 48*34=1632, Resulting Numbers: [1632] 1632,86 unequal: No Solution Exploring Operation: 48+34=82, Resulting Numbers: [82] 82,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 86:[28, 14], Operations: ['65-37=28', '62-48=14'] Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 28+14=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 28*14=392, Resulting Numbers: [392] 392,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 86:[62, 76], Operations: ['65-37=28', '48+28=76'] Exploring Operation: 62+76=138, Resulting Numbers: [138] 138,86 unequal: No Solution Exploring Operation: 76-62=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 62*76=4712, Resulting Numbers: [4712] 4712,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 86:[62, 20], Operations: ['65-37=28', '48-28=20'] Exploring Operation: 62*20=1240, Resulting Numbers: [1240] 1240,86 unequal: No Solution Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 62+20=82, Resulting Numbers: [82] 82,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 86:[62, 37, 17], Operations: ['65-48=17'] Exploring Operation: 62-17=45, Resulting Numbers: [37, 45] Generated Node #0,0,0: 86:[37, 45] Operation: 62-17=45 Exploring Operation: 62+37=99, Resulting Numbers: [17, 99] Generated Node #0,0,1: 86:[17, 99] Operation: 62+37=99 Exploring Operation: 62-37=25, Resulting Numbers: [17, 25] Generated Node #0,0,2: 86:[17, 25] Operation: 62-37=25 Exploring Operation: 37+17=54, Resulting Numbers: [62, 54] Generated Node #0,0,3: 86:[62, 54] Operation: 37+17=54 Exploring Operation: 62+17=79, Resulting Numbers: [37, 79] Generated Node #0,0,4: 86:[37, 79] Operation: 62+17=79 Moving to Node #0,0,0 Current State: 86:[37, 45], Operations: ['65-48=17', '62-17=45'] Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,86 unequal: No Solution Exploring Operation: 37+45=82, Resulting Numbers: [82] 82,86 unequal: No Solution Exploring Operation: 37*45=1665, Resulting Numbers: [1665] 1665,86 unequal: No Solution Moving to Node #0,0,4 Current State: 86:[37, 79], Operations: ['65-48=17', '62+17=79'] Exploring Operation: 37*79=2923, Resulting Numbers: [2923] 2923,86 unequal: No Solution Exploring Operation: 37+79=116, Resulting Numbers: [116] 116,86 unequal: No Solution Exploring Operation: 79-37=42, Resulting Numbers: [42] 42,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[48, 34], Operations: ['62+37=99', '99-65=34'] Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 48+34=82, Resulting Numbers: [82] 82,86 unequal: No Solution Exploring Operation: 48*34=1632, Resulting Numbers: [1632] 1632,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[99, 17], Operations: ['62+37=99', '65-48=17'] Exploring Operation: 99*17=1683, Resulting Numbers: [1683] 1683,86 unequal: No Solution Exploring Operation: 99-17=82, Resulting Numbers: [82] 82,86 unequal: No Solution Exploring Operation: 99+17=116, Resulting Numbers: [116] 116,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[17, 99], Operations: ['65-48=17', '62+37=99'] Exploring Operation: 99-17=82, Resulting Numbers: [82] 82,86 unequal: No Solution Exploring Operation: 17*99=1683, Resulting Numbers: [1683] 1683,86 unequal: No Solution Exploring Operation: 17+99=116, Resulting Numbers: [116] 116,86 unequal: No Solution Moving to Node #0,3,4 Current State: 86:[65, 51], Operations: ['62+37=99', '99-48=51'] Exploring Operation: 65*51=3315, Resulting Numbers: [3315] 3315,86 unequal: No Solution Exploring Operation: 65-51=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 65+51=116, Resulting Numbers: [116] 116,86 unequal: No Solution Moving to Node #0,0,3 Current State: 86:[62, 54], Operations: ['65-48=17', '37+17=54'] Exploring Operation: 62-54=8, Resulting Numbers: [8] 8,86 unequal: No Solution Exploring Operation: 62+54=116, Resulting Numbers: [116] 116,86 unequal: No Solution Exploring Operation: 62*54=3348, Resulting Numbers: [3348] 3348,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[17, 25], Operations: ['65-48=17', '62-37=25'] Exploring Operation: 17*25=425, Resulting Numbers: [425] 425,86 unequal: No Solution Exploring Operation: 17+25=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[99, 113], Operations: ['62+37=99', '48+65=113'] Exploring Operation: 99+113=212, Resulting Numbers: [212] 212,86 unequal: No Solution Exploring Operation: 113-99=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 99*113=11187, Resulting Numbers: [11187] 11187,86 unequal: No Solution Moving to Node #0,3,0 Current State: 86:[65, 147], Operations: ['62+37=99', '48+99=147'] Exploring Operation: 65+147=212, Resulting Numbers: [212] 212,86 unequal: No Solution Exploring Operation: 65*147=9555, Resulting Numbers: [9555] 9555,86 unequal: No Solution Exploring Operation: 147-65=82, Resulting Numbers: [82] 82,86 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 3, 34, 10, 98 ]
34
[ "3*10=30", "98-34=64", "64-30=34" ]
Current State: 34:[3, 34, 10, 98], Operations: [] Exploring Operation: 3*10=30, Resulting Numbers: [34, 98, 30] Generated Node #2: [34, 98, 30] from Operation: 3*10=30 Current State: 34:[34, 98, 30], Operations: ['3*10=30'] Exploring Operation: 98-34=64, Resulting Numbers: [30, 64] Generated Node #3: [30, 64] from Operation: 98-34=64 Current State: 34:[30, 64], Operations: ['3*10=30', '98-34=64'] Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[3, 34, 10, 98], Operations: [] Exploring Operation: 98-34=64, Resulting Numbers: [3, 10, 64] Generated Node #0,0: 34:[3, 10, 64] Operation: 98-34=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[3, 10, 64], Operations: ['98-34=64'] Exploring Operation: 64-10=54, Resulting Numbers: [3, 54] Generated Node #0,0,0: 34:[3, 54] Operation: 64-10=54 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[3, 54], Operations: ['98-34=64', '64-10=54'] Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 30, 39, 39, 21 ]
69
[ "39-30=9", "39+21=60", "9+60=69" ]
Current State: 69:[30, 39, 39, 21], Operations: [] Exploring Operation: 39-30=9, Resulting Numbers: [21, 9] Generated Node #2: [21, 9] from Operation: 39-30=9 Current State: 69:[21, 9], Operations: ['39-30=9'] Exploring Operation: 39+21=60, Resulting Numbers: [9, 60] Generated Node #3: [9, 60] from Operation: 39+21=60 Current State: 69:[9, 60], Operations: ['39-30=9', '39+21=60'] Exploring Operation: 9+60=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[30, 39, 39, 21], Operations: [] Exploring Operation: 39/39=1, Resulting Numbers: [30, 21, 1] Generated Node #0,0: 69:[30, 21, 1] Operation: 39/39=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[30, 21, 1], Operations: ['39/39=1'] Exploring Operation: 30-21=9, Resulting Numbers: [1, 9] Generated Node #0,0,0: 69:[1, 9] Operation: 30-21=9 Moving to Node #0,0,0 Current State: 69:[1, 9], Operations: ['39/39=1', '30-21=9'] Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,69 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
[ 7, 78, 3, 93 ]
50
[ "78+93=171", "171/3=57", "57-7=50" ]
Current State: 50:[7, 78, 3, 93], Operations: [] Exploring Operation: 78+93=171, Resulting Numbers: [7, 3, 171] Generated Node #2: [7, 3, 171] from Operation: 78+93=171 Current State: 50:[7, 3, 171], Operations: ['78+93=171'] Exploring Operation: 171/3=57, Resulting Numbers: [7, 57] Generated Node #3: [7, 57] from Operation: 171/3=57 Current State: 50:[7, 57], Operations: ['78+93=171', '171/3=57'] Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[7, 78, 3, 93], Operations: [] Exploring Operation: 93/3=31, Resulting Numbers: [7, 78, 31] Generated Node #0,0: 50:[7, 78, 31] Operation: 93/3=31 Exploring Operation: 78/3=26, Resulting Numbers: [7, 93, 26] Generated Node #0,1: 50:[7, 93, 26] Operation: 78/3=26 Exploring Operation: 93-78=15, Resulting Numbers: [7, 3, 15] Generated Node #0,2: 50:[7, 3, 15] Operation: 93-78=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[7, 3, 15], Operations: ['93-78=15'] Exploring Operation: 7+15=22, Resulting Numbers: [3, 22] Generated Node #0,2,0: 50:[3, 22] Operation: 7+15=22 Exploring Operation: 15-7=8, Resulting Numbers: [3, 8] Generated Node #0,2,1: 50:[3, 8] Operation: 15-7=8 Exploring Operation: 15/3=5, Resulting Numbers: [7, 5] Generated Node #0,2,2: 50:[7, 5] Operation: 15/3=5 Moving to Node #0,2,2 Current State: 50:[7, 5], Operations: ['93-78=15', '15/3=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,50 unequal: No Solution Moving to Node #0,2,1 Current State: 50:[3, 8], Operations: ['93-78=15', '15-7=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,50 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,50 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[3, 22], Operations: ['93-78=15', '7+15=22'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,50 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,50 unequal: No Solution No 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: 50:[7, 78, 31], Operations: ['93/3=31'] Exploring Operation: 78-31=47, Resulting Numbers: [7, 47] Generated Node #0,0,0: 50:[7, 47] Operation: 78-31=47 Exploring Operation: 31-7=24, Resulting Numbers: [78, 24] Generated Node #0,0,1: 50:[78, 24] Operation: 31-7=24 Exploring Operation: 78-7=71, Resulting Numbers: [31, 71] Generated Node #0,0,2: 50:[31, 71] Operation: 78-7=71 Moving to Node #0,0,0 Current State: 50:[7, 47], Operations: ['93/3=31', '78-31=47'] Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,50 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 7*47=329, Resulting Numbers: [329] 329,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[31, 71], Operations: ['93/3=31', '78-7=71'] Exploring Operation: 71-31=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 31+71=102, Resulting Numbers: [102] 102,50 unequal: No Solution Exploring Operation: 31*71=2201, Resulting Numbers: [2201] 2201,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[78, 24], Operations: ['93/3=31', '31-7=24'] Exploring Operation: 78-24=54, Resulting Numbers: [54] 54,50 unequal: No Solution Exploring Operation: 78+24=102, Resulting Numbers: [102] 102,50 unequal: No Solution Exploring Operation: 78*24=1872, Resulting Numbers: [1872] 1872,50 unequal: No Solution No 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: 50:[7, 93, 26], Operations: ['78/3=26'] Exploring Operation: 93-26=67, Resulting Numbers: [7, 67] Generated Node #0,1,0: 50:[7, 67] Operation: 93-26=67 Exploring Operation: 26-7=19, Resulting Numbers: [93, 19] Generated Node #0,1,1: 50:[93, 19] Operation: 26-7=19 Exploring Operation: 93-7=86, Resulting Numbers: [26, 86] Generated Node #0,1,2: 50:[26, 86] Operation: 93-7=86 Moving to Node #0,1,0 Current State: 50:[7, 67], Operations: ['78/3=26', '93-26=67'] Exploring Operation: 7+67=74, Resulting Numbers: [74] 74,50 unequal: No Solution Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,50 unequal: No Solution Exploring Operation: 7*67=469, Resulting Numbers: [469] 469,50 unequal: No Solution Moving to Node #0,1,2 Current State: 50:[26, 86], Operations: ['78/3=26', '93-7=86'] Exploring Operation: 86-26=60, Resulting Numbers: [60] 60,50 unequal: No Solution Exploring Operation: 26+86=112, Resulting Numbers: [112] 112,50 unequal: No Solution Exploring Operation: 26*86=2236, Resulting Numbers: [2236] 2236,50 unequal: No Solution Moving to Node #0,1,1 Current State: 50:[93, 19], Operations: ['78/3=26', '26-7=19'] Exploring Operation: 93-19=74, Resulting Numbers: [74] 74,50 unequal: No Solution Exploring Operation: 93+19=112, Resulting Numbers: [112] 112,50 unequal: No Solution Exploring Operation: 93*19=1767, Resulting Numbers: [1767] 1767,50 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
[ 79, 7, 92, 15 ]
76
[ "92-79=13", "7*13=91", "91-15=76" ]
Current State: 76:[79, 7, 92, 15], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [7, 15, 13] Generated Node #2: [7, 15, 13] from Operation: 92-79=13 Current State: 76:[7, 15, 13], Operations: ['92-79=13'] Exploring Operation: 7*13=91, Resulting Numbers: [15, 91] Generated Node #3: [15, 91] from Operation: 7*13=91 Current State: 76:[15, 91], Operations: ['92-79=13', '7*13=91'] Exploring Operation: 91-15=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[79, 7, 92, 15], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [7, 15, 13] Generated Node #0,0: 76:[7, 15, 13] Operation: 92-79=13 Exploring Operation: 92-15=77, Resulting Numbers: [79, 7, 77] Generated Node #0,1: 76:[79, 7, 77] Operation: 92-15=77 Exploring Operation: 7+15=22, Resulting Numbers: [79, 92, 22] Generated Node #0,2: 76:[79, 92, 22] Operation: 7+15=22 Exploring Operation: 92-7=85, Resulting Numbers: [79, 15, 85] Generated Node #0,3: 76:[79, 15, 85] Operation: 92-7=85 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[79, 7, 77], Operations: ['92-15=77'] Exploring Operation: 79-77=2, Resulting Numbers: [7, 2] Generated Node #0,1,0: 76:[7, 2] Operation: 79-77=2 Exploring Operation: 77-7=70, Resulting Numbers: [79, 70] Generated Node #0,1,1: 76:[79, 70] Operation: 77-7=70 Exploring Operation: 79-7=72, Resulting Numbers: [77, 72] Generated Node #0,1,2: 76:[77, 72] Operation: 79-7=72 Exploring Operation: 77/7=11, Resulting Numbers: [79, 11] Generated Node #0,1,3: 76:[79, 11] Operation: 77/7=11 Moving to Node #0,1,0 Current State: 76:[7, 2], Operations: ['92-15=77', '79-77=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,76 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[77, 72], Operations: ['92-15=77', '79-7=72'] Exploring Operation: 77*72=5544, Resulting Numbers: [5544] 5544,76 unequal: No Solution Exploring Operation: 77-72=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 77+72=149, Resulting Numbers: [149] 149,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[79, 70], Operations: ['92-15=77', '77-7=70'] Exploring Operation: 79+70=149, Resulting Numbers: [149] 149,76 unequal: No Solution Exploring Operation: 79*70=5530, Resulting Numbers: [5530] 5530,76 unequal: No Solution Exploring Operation: 79-70=9, Resulting Numbers: [9] 9,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[79, 11], Operations: ['92-15=77', '77/7=11'] Exploring Operation: 79*11=869, Resulting Numbers: [869] 869,76 unequal: No Solution Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,76 unequal: No Solution Exploring Operation: 79+11=90, Resulting Numbers: [90] 90,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[7, 15, 13], Operations: ['92-79=13'] Exploring Operation: 7+13=20, Resulting Numbers: [15, 20] Generated Node #0,0,0: 76:[15, 20] Operation: 7+13=20 Exploring Operation: 7+15=22, Resulting Numbers: [13, 22] Generated Node #0,0,1: 76:[13, 22] Operation: 7+15=22 Exploring Operation: 15-13=2, Resulting Numbers: [7, 2] Generated Node #0,0,2: 76:[7, 2] Operation: 15-13=2 Exploring Operation: 13-7=6, Resulting Numbers: [15, 6] Generated Node #0,0,3: 76:[15, 6] Operation: 13-7=6 Moving to Node #0,0,2 Current State: 76:[7, 2], Operations: ['92-79=13', '15-13=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,76 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[15, 20], Operations: ['92-79=13', '7+13=20'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,76 unequal: No Solution Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[15, 6], Operations: ['92-79=13', '13-7=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[13, 22], Operations: ['92-79=13', '7+15=22'] Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,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 Current State: 76:[79, 15, 85], Operations: ['92-7=85'] Exploring Operation: 85-79=6, Resulting Numbers: [15, 6] Generated Node #0,3,0: 76:[15, 6] Operation: 85-79=6 Exploring Operation: 85-15=70, Resulting Numbers: [79, 70] Generated Node #0,3,1: 76:[79, 70] Operation: 85-15=70 Exploring Operation: 79+15=94, Resulting Numbers: [85, 94] Generated Node #0,3,2: 76:[85, 94] Operation: 79+15=94 Exploring Operation: 79-15=64, Resulting Numbers: [85, 64] Generated Node #0,3,3: 76:[85, 64] Operation: 79-15=64 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 76:[15, 6], Operations: ['92-7=85', '85-79=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 76:[79, 70], Operations: ['92-7=85', '85-15=70'] Exploring Operation: 79-70=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 79+70=149, Resulting Numbers: [149] 149,76 unequal: No Solution Exploring Operation: 79*70=5530, Resulting Numbers: [5530] 5530,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 76:[85, 64], Operations: ['92-7=85', '79-15=64'] Exploring Operation: 85*64=5440, Resulting Numbers: [5440] 5440,76 unequal: No Solution Exploring Operation: 85-64=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 85+64=149, Resulting Numbers: [149] 149,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 76:[85, 94], Operations: ['92-7=85', '79+15=94'] Exploring Operation: 85*94=7990, Resulting Numbers: [7990] 7990,76 unequal: No Solution Exploring Operation: 85+94=179, Resulting Numbers: [179] 179,76 unequal: No Solution Exploring Operation: 94-85=9, Resulting Numbers: [9] 9,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[79, 92, 22], Operations: ['7+15=22'] Exploring Operation: 92-22=70, Resulting Numbers: [79, 70] Generated Node #0,2,0: 76:[79, 70] Operation: 92-22=70 Exploring Operation: 92-79=13, Resulting Numbers: [22, 13] Generated Node #0,2,1: 76:[22, 13] Operation: 92-79=13 Exploring Operation: 79+22=101, Resulting Numbers: [92, 101] Generated Node #0,2,2: 76:[92, 101] Operation: 79+22=101 Exploring Operation: 79-22=57, Resulting Numbers: [92, 57] Generated Node #0,2,3: 76:[92, 57] Operation: 79-22=57 Moving to Node #0,2,0 Current State: 76:[79, 70], Operations: ['7+15=22', '92-22=70'] Exploring Operation: 79+70=149, Resulting Numbers: [149] 149,76 unequal: No Solution Exploring Operation: 79*70=5530, Resulting Numbers: [5530] 5530,76 unequal: No Solution Exploring Operation: 79-70=9, Resulting Numbers: [9] 9,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[22, 13], Operations: ['7+15=22', '92-79=13'] Exploring Operation: 22*13=286, Resulting Numbers: [286] 286,76 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,76 unequal: No Solution Moving to Node #0,2,3 Current State: 76:[92, 57], Operations: ['7+15=22', '79-22=57'] Exploring Operation: 92+57=149, Resulting Numbers: [149] 149,76 unequal: No Solution Exploring Operation: 92*57=5244, Resulting Numbers: [5244] 5244,76 unequal: No Solution Exploring Operation: 92-57=35, Resulting Numbers: [35] 35,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[92, 101], Operations: ['7+15=22', '79+22=101'] Exploring Operation: 92+101=193, Resulting Numbers: [193] 193,76 unequal: No Solution Exploring Operation: 101-92=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 92*101=9292, Resulting Numbers: [9292] 9292,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 81, 83, 87, 17 ]
91
[ "83+87=170", "170/17=10", "81+10=91" ]
Current State: 91:[81, 83, 87, 17], Operations: [] Exploring Operation: 83+87=170, Resulting Numbers: [81, 17, 170] Generated Node #2: [81, 17, 170] from Operation: 83+87=170 Current State: 91:[81, 17, 170], Operations: ['83+87=170'] Exploring Operation: 170/17=10, Resulting Numbers: [81, 10] Generated Node #3: [81, 10] from Operation: 170/17=10 Current State: 91:[81, 10], Operations: ['83+87=170', '170/17=10'] Exploring Operation: 81+10=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[81, 83, 87, 17], Operations: [] Exploring Operation: 87-83=4, Resulting Numbers: [81, 17, 4] Generated Node #0,0: 91:[81, 17, 4] Operation: 87-83=4 Exploring Operation: 83-81=2, Resulting Numbers: [87, 17, 2] Generated Node #0,1: 91:[87, 17, 2] Operation: 83-81=2 Exploring Operation: 87-81=6, Resulting Numbers: [83, 17, 6] Generated Node #0,2: 91:[83, 17, 6] Operation: 87-81=6 Moving to Node #0,1 Current State: 91:[87, 17, 2], Operations: ['83-81=2'] Exploring Operation: 87+2=89, Resulting Numbers: [17, 89] Generated Node #0,1,0: 91:[17, 89] Operation: 87+2=89 Exploring Operation: 87-2=85, Resulting Numbers: [17, 85] Generated Node #0,1,1: 91:[17, 85] Operation: 87-2=85 Exploring Operation: 17-2=15, Resulting Numbers: [87, 15] Generated Node #0,1,2: 91:[87, 15] Operation: 17-2=15 Moving to Node #0,2 Current State: 91:[83, 17, 6], Operations: ['87-81=6'] Exploring Operation: 83+6=89, Resulting Numbers: [17, 89] Generated Node #0,2,0: 91:[17, 89] Operation: 83+6=89 Exploring Operation: 17-6=11, Resulting Numbers: [83, 11] Generated Node #0,2,1: 91:[83, 11] Operation: 17-6=11 Exploring Operation: 83+17=100, Resulting Numbers: [6, 100] Generated Node #0,2,2: 91:[6, 100] Operation: 83+17=100 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 91:[17, 89], Operations: ['87-81=6', '83+6=89'] Exploring Operation: 89-17=72, Resulting Numbers: [72] 72,91 unequal: No Solution Exploring Operation: 17+89=106, Resulting Numbers: [106] 106,91 unequal: No Solution Exploring Operation: 17*89=1513, Resulting Numbers: [1513] 1513,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 91:[83, 11], Operations: ['87-81=6', '17-6=11'] Exploring Operation: 83*11=913, Resulting Numbers: [913] 913,91 unequal: No Solution Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,91 unequal: No Solution Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[6, 100], Operations: ['87-81=6', '83+17=100'] Exploring Operation: 6*100=600, Resulting Numbers: [600] 600,91 unequal: No Solution Exploring Operation: 6+100=106, Resulting Numbers: [106] 106,91 unequal: No Solution Exploring Operation: 100-6=94, Resulting Numbers: [94] 94,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 91:[81, 17, 4], Operations: ['87-83=4'] Exploring Operation: 17-4=13, Resulting Numbers: [81, 13] Generated Node #0,0,0: 91:[81, 13] Operation: 17-4=13 Exploring Operation: 81+17=98, Resulting Numbers: [4, 98] Generated Node #0,0,1: 91:[4, 98] Operation: 81+17=98 Exploring Operation: 81+4=85, Resulting Numbers: [17, 85] Generated Node #0,0,2: 91:[17, 85] Operation: 81+4=85 Moving to Node #0,1,0 Current State: 91:[17, 89], Operations: ['83-81=2', '87+2=89'] Exploring Operation: 89-17=72, Resulting Numbers: [72] 72,91 unequal: No Solution Exploring Operation: 17*89=1513, Resulting Numbers: [1513] 1513,91 unequal: No Solution Exploring Operation: 17+89=106, Resulting Numbers: [106] 106,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[87, 15], Operations: ['83-81=2', '17-2=15'] Exploring Operation: 87+15=102, Resulting Numbers: [102] 102,91 unequal: No Solution Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,91 unequal: No Solution Exploring Operation: 87*15=1305, Resulting Numbers: [1305] 1305,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[17, 85], Operations: ['83-81=2', '87-2=85'] Exploring Operation: 85-17=68, Resulting Numbers: [68] 68,91 unequal: No Solution Exploring Operation: 85/17=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 17+85=102, Resulting Numbers: [102] 102,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[17, 85], Operations: ['87-83=4', '81+4=85'] Exploring Operation: 17+85=102, Resulting Numbers: [102] 102,91 unequal: No Solution Exploring Operation: 85/17=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 85-17=68, Resulting Numbers: [68] 68,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[4, 98], Operations: ['87-83=4', '81+17=98'] Exploring Operation: 4*98=392, Resulting Numbers: [392] 392,91 unequal: No Solution Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,91 unequal: No Solution Exploring Operation: 4+98=102, Resulting Numbers: [102] 102,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[81, 13], Operations: ['87-83=4', '17-4=13'] Exploring Operation: 81*13=1053, Resulting Numbers: [1053] 1053,91 unequal: No Solution Exploring Operation: 81-13=68, Resulting Numbers: [68] 68,91 unequal: No Solution Exploring Operation: 81+13=94, Resulting Numbers: [94] 94,91 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 78, 60, 90, 77 ]
66
[ "90-77=13", "78/13=6", "60+6=66" ]
Current State: 66:[78, 60, 90, 77], Operations: [] Exploring Operation: 90-77=13, Resulting Numbers: [78, 60, 13] Generated Node #2: [78, 60, 13] from Operation: 90-77=13 Current State: 66:[78, 60, 13], Operations: ['90-77=13'] Exploring Operation: 78/13=6, Resulting Numbers: [60, 6] Generated Node #3: [60, 6] from Operation: 78/13=6 Current State: 66:[60, 6], Operations: ['90-77=13', '78/13=6'] Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[78, 60, 90, 77], Operations: [] Exploring Operation: 90-78=12, Resulting Numbers: [60, 77, 12] Generated Node #0,0: 66:[60, 77, 12] Operation: 90-78=12 Exploring Operation: 90-77=13, Resulting Numbers: [78, 60, 13] Generated Node #0,1: 66:[78, 60, 13] Operation: 90-77=13 Moving to Node #0,0 Current State: 66:[60, 77, 12], Operations: ['90-78=12'] Exploring Operation: 77-12=65, Resulting Numbers: [60, 65] Generated Node #0,0,0: 66:[60, 65] Operation: 77-12=65 Exploring Operation: 77-60=17, Resulting Numbers: [12, 17] Generated Node #0,0,1: 66:[12, 17] Operation: 77-60=17 Moving to Node #0,1 Current State: 66:[78, 60, 13], Operations: ['90-77=13'] Exploring Operation: 78/13=6, Resulting Numbers: [60, 6] Generated Node #0,1,0: 66:[60, 6] Operation: 78/13=6 Exploring Operation: 78-60=18, Resulting Numbers: [13, 18] Generated Node #0,1,1: 66:[13, 18] Operation: 78-60=18 Moving to Node #0,0,1 Current State: 66:[12, 17], Operations: ['90-78=12', '77-60=17'] Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,66 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,66 unequal: No Solution Moving to Node #0,1,0 Current State: 66:[60, 6], Operations: ['90-77=13', '78/13=6'] Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[78, 60, 90, 77], Operations: [] Exploring Operation: 90-77=13, Resulting Numbers: [78, 60, 13] Generated Node #0,1: 66:[78, 60, 13] Operation: 90-77=13 Moving to Node #0,1 Current State: 66:[78, 60, 13], Operations: ['90-77=13'] Exploring Operation: 78/13=6, Resulting Numbers: [60, 6] Generated Node #0,1,0: 66:[60, 6] Operation: 78/13=6 Moving to Node #0,1,0 Current State: 66:[60, 6], Operations: ['90-77=13', '78/13=6'] Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.988715
hs_2
sum_heuristic
[ 32, 7, 3, 76 ]
41
[ "32+7=39", "3*39=117", "117-76=41" ]
Current State: 41:[32, 7, 3, 76], Operations: [] Exploring Operation: 32+7=39, Resulting Numbers: [3, 76, 39] Generated Node #2: [3, 76, 39] from Operation: 32+7=39 Current State: 41:[3, 76, 39], Operations: ['32+7=39'] Exploring Operation: 3*39=117, Resulting Numbers: [76, 117] Generated Node #3: [76, 117] from Operation: 3*39=117 Current State: 41:[76, 117], Operations: ['32+7=39', '3*39=117'] Exploring Operation: 117-76=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[32, 7, 3, 76], Operations: [] Exploring Operation: 7*3=21, Resulting Numbers: [32, 76, 21] Generated Node #0,0: 41:[32, 76, 21] Operation: 7*3=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[32, 76, 21], Operations: ['7*3=21'] Exploring Operation: 76-32=44, Resulting Numbers: [21, 44] Generated Node #0,0,0: 41:[21, 44] Operation: 76-32=44 Moving to Node #0,0,0 Current State: 41:[21, 44], Operations: ['7*3=21', '76-32=44'] Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 87, 39, 61, 13 ]
23
[ "87-61=26", "39/13=3", "26-3=23" ]
Current State: 23:[87, 39, 61, 13], Operations: [] Exploring Operation: 87-61=26, Resulting Numbers: [39, 13, 26] Generated Node #2: [39, 13, 26] from Operation: 87-61=26 Current State: 23:[39, 13, 26], Operations: ['87-61=26'] Exploring Operation: 39/13=3, Resulting Numbers: [26, 3] Generated Node #3: [26, 3] from Operation: 39/13=3 Current State: 23:[26, 3], Operations: ['87-61=26', '39/13=3'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[87, 39, 61, 13], Operations: [] Exploring Operation: 87-39=48, Resulting Numbers: [61, 13, 48] Generated Node #0,0: 23:[61, 13, 48] Operation: 87-39=48 Exploring Operation: 87-61=26, Resulting Numbers: [39, 13, 26] Generated Node #0,1: 23:[39, 13, 26] Operation: 87-61=26 Moving to Node #0,1 Current State: 23:[39, 13, 26], Operations: ['87-61=26'] Exploring Operation: 39-13=26, Resulting Numbers: [26, 26] Generated Node #0,1,0: 23:[26, 26] Operation: 39-13=26 Exploring Operation: 39-26=13, Resulting Numbers: [13, 13] Generated Node #0,1,1: 23:[13, 13] Operation: 39-26=13 Moving to Node #0,0 Current State: 23:[61, 13, 48], Operations: ['87-39=48'] Exploring Operation: 61-13=48, Resulting Numbers: [48, 48] Generated Node #0,0,0: 23:[48, 48] Operation: 61-13=48 Exploring Operation: 61-48=13, Resulting Numbers: [13, 13] Generated Node #0,0,1: 23:[13, 13] Operation: 61-48=13 Moving to Node #0,1,0 Current State: 23:[26, 26], Operations: ['87-61=26', '39-13=26'] Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[13, 13], Operations: ['87-39=48', '61-48=13'] Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[13, 13], Operations: ['87-61=26', '39-26=13'] Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[48, 48], Operations: ['87-39=48', '61-13=48'] Exploring Operation: 48-48=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 48/48=1, Resulting Numbers: [1] 1,23 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 48, 15, 59, 21 ]
51
[ "21-15=6", "48/6=8", "59-8=51" ]
Current State: 51:[48, 15, 59, 21], Operations: [] Exploring Operation: 21-15=6, Resulting Numbers: [48, 59, 6] Generated Node #2: [48, 59, 6] from Operation: 21-15=6 Current State: 51:[48, 59, 6], Operations: ['21-15=6'] Exploring Operation: 48/6=8, Resulting Numbers: [59, 8] Generated Node #3: [59, 8] from Operation: 48/6=8 Current State: 51:[59, 8], Operations: ['21-15=6', '48/6=8'] Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[48, 15, 59, 21], Operations: [] Exploring Operation: 48-21=27, Resulting Numbers: [15, 59, 27] Generated Node #0,0: 51:[15, 59, 27] Operation: 48-21=27 Exploring Operation: 59-48=11, Resulting Numbers: [15, 21, 11] Generated Node #0,1: 51:[15, 21, 11] Operation: 59-48=11 Exploring Operation: 59-21=38, Resulting Numbers: [48, 15, 38] Generated Node #0,2: 51:[48, 15, 38] Operation: 59-21=38 Exploring Operation: 21-15=6, Resulting Numbers: [48, 59, 6] Generated Node #0,3: 51:[48, 59, 6] Operation: 21-15=6 Exploring Operation: 59-15=44, Resulting Numbers: [48, 21, 44] Generated Node #0,4: 51:[48, 21, 44] Operation: 59-15=44 Moving to Node #0,1 Current State: 51:[15, 21, 11], Operations: ['59-48=11'] Exploring Operation: 21-15=6, Resulting Numbers: [11, 6] Generated Node #0,1,0: 51:[11, 6] Operation: 21-15=6 Exploring Operation: 15-11=4, Resulting Numbers: [21, 4] Generated Node #0,1,1: 51:[21, 4] Operation: 15-11=4 Exploring Operation: 15+11=26, Resulting Numbers: [21, 26] Generated Node #0,1,2: 51:[21, 26] Operation: 15+11=26 Exploring Operation: 21-11=10, Resulting Numbers: [15, 10] Generated Node #0,1,3: 51:[15, 10] Operation: 21-11=10 Exploring Operation: 21+11=32, Resulting Numbers: [15, 32] Generated Node #0,1,4: 51:[15, 32] Operation: 21+11=32 Moving to Node #0,4 Current State: 51:[48, 21, 44], Operations: ['59-15=44'] Exploring Operation: 48+21=69, Resulting Numbers: [44, 69] Generated Node #0,4,0: 51:[44, 69] Operation: 48+21=69 Exploring Operation: 48-21=27, Resulting Numbers: [44, 27] Generated Node #0,4,1: 51:[44, 27] Operation: 48-21=27 Exploring Operation: 44-21=23, Resulting Numbers: [48, 23] Generated Node #0,4,2: 51:[48, 23] Operation: 44-21=23 Exploring Operation: 48-44=4, Resulting Numbers: [21, 4] Generated Node #0,4,3: 51:[21, 4] Operation: 48-44=4 Exploring Operation: 21+44=65, Resulting Numbers: [48, 65] Generated Node #0,4,4: 51:[48, 65] Operation: 21+44=65 Moving to Node #0,3 Current State: 51:[48, 59, 6], Operations: ['21-15=6'] Exploring Operation: 59-48=11, Resulting Numbers: [6, 11] Generated Node #0,3,0: 51:[6, 11] Operation: 59-48=11 Exploring Operation: 48/6=8, Resulting Numbers: [59, 8] Generated Node #0,3,1: 51:[59, 8] Operation: 48/6=8 Exploring Operation: 48+6=54, Resulting Numbers: [59, 54] Generated Node #0,3,2: 51:[59, 54] Operation: 48+6=54 Exploring Operation: 59-6=53, Resulting Numbers: [48, 53] Generated Node #0,3,3: 51:[48, 53] Operation: 59-6=53 Exploring Operation: 48-6=42, Resulting Numbers: [59, 42] Generated Node #0,3,4: 51:[59, 42] Operation: 48-6=42 Moving to Node #0,2 Current State: 51:[48, 15, 38], Operations: ['59-21=38'] Exploring Operation: 15+38=53, Resulting Numbers: [48, 53] Generated Node #0,2,0: 51:[48, 53] Operation: 15+38=53 Exploring Operation: 38-15=23, Resulting Numbers: [48, 23] Generated Node #0,2,1: 51:[48, 23] Operation: 38-15=23 Exploring Operation: 48-15=33, Resulting Numbers: [38, 33] Generated Node #0,2,2: 51:[38, 33] Operation: 48-15=33 Exploring Operation: 48-38=10, Resulting Numbers: [15, 10] Generated Node #0,2,3: 51:[15, 10] Operation: 48-38=10 Exploring Operation: 48+15=63, Resulting Numbers: [38, 63] Generated Node #0,2,4: 51:[38, 63] Operation: 48+15=63 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 51:[48, 53], Operations: ['59-21=38', '15+38=53'] Exploring Operation: 48*53=2544, Resulting Numbers: [2544] 2544,51 unequal: No Solution Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 48+53=101, Resulting Numbers: [101] 101,51 unequal: No Solution No 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: 51:[48, 23], Operations: ['59-21=38', '38-15=23'] Exploring Operation: 48+23=71, Resulting Numbers: [71] 71,51 unequal: No Solution Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 48*23=1104, Resulting Numbers: [1104] 1104,51 unequal: No Solution No 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: 51:[15, 10], Operations: ['59-21=38', '48-38=10'] Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 15*10=150, Resulting Numbers: [150] 150,51 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,51 unequal: No Solution No 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: 51:[38, 63], Operations: ['59-21=38', '48+15=63'] Exploring Operation: 63-38=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 38*63=2394, Resulting Numbers: [2394] 2394,51 unequal: No Solution Exploring Operation: 38+63=101, Resulting Numbers: [101] 101,51 unequal: No Solution No 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: 51:[38, 33], Operations: ['59-21=38', '48-15=33'] Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 38*33=1254, Resulting Numbers: [1254] 1254,51 unequal: No Solution Exploring Operation: 38+33=71, Resulting Numbers: [71] 71,51 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: 51:[15, 59, 27], Operations: ['48-21=27'] Exploring Operation: 59-15=44, Resulting Numbers: [27, 44] Generated Node #0,0,0: 51:[27, 44] Operation: 59-15=44 Exploring Operation: 59-27=32, Resulting Numbers: [15, 32] Generated Node #0,0,1: 51:[15, 32] Operation: 59-27=32 Exploring Operation: 15+27=42, Resulting Numbers: [59, 42] Generated Node #0,0,2: 51:[59, 42] Operation: 15+27=42 Exploring Operation: 15+59=74, Resulting Numbers: [27, 74] Generated Node #0,0,3: 51:[27, 74] Operation: 15+59=74 Exploring Operation: 27-15=12, Resulting Numbers: [59, 12] Generated Node #0,0,4: 51:[59, 12] Operation: 27-15=12 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 51:[59, 12], Operations: ['48-21=27', '27-15=12'] Exploring Operation: 59*12=708, Resulting Numbers: [708] 708,51 unequal: No Solution Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,51 unequal: No Solution Exploring Operation: 59+12=71, Resulting Numbers: [71] 71,51 unequal: No Solution No 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: 51:[27, 44], Operations: ['48-21=27', '59-15=44'] Exploring Operation: 27*44=1188, Resulting Numbers: [1188] 1188,51 unequal: No Solution Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,51 unequal: No Solution Exploring Operation: 27+44=71, Resulting Numbers: [71] 71,51 unequal: No Solution No 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: 51:[15, 32], Operations: ['48-21=27', '59-27=32'] Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,51 unequal: No Solution Exploring Operation: 15*32=480, Resulting Numbers: [480] 480,51 unequal: No Solution Exploring Operation: 15+32=47, Resulting Numbers: [47] 47,51 unequal: No Solution No 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: 51:[59, 42], Operations: ['48-21=27', '15+27=42'] Exploring Operation: 59-42=17, Resulting Numbers: [17] 17,51 unequal: No Solution Exploring Operation: 59*42=2478, Resulting Numbers: [2478] 2478,51 unequal: No Solution Exploring Operation: 59+42=101, Resulting Numbers: [101] 101,51 unequal: No Solution No 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: 51:[27, 74], Operations: ['48-21=27', '15+59=74'] Exploring Operation: 27+74=101, Resulting Numbers: [101] 101,51 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,51 unequal: No Solution Exploring Operation: 27*74=1998, Resulting Numbers: [1998] 1998,51 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: 51:[21, 4], Operations: ['59-48=11', '15-11=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,51 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,51 unequal: No Solution Moving to Node #0,4,3 Current State: 51:[21, 4], Operations: ['59-15=44', '48-44=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,51 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,51 unequal: No Solution Moving to Node #0,3,3 Current State: 51:[48, 53], Operations: ['21-15=6', '59-6=53'] Exploring Operation: 48+53=101, Resulting Numbers: [101] 101,51 unequal: No Solution Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 48*53=2544, Resulting Numbers: [2544] 2544,51 unequal: No Solution Moving to Node #0,4,2 Current State: 51:[48, 23], Operations: ['59-15=44', '44-21=23'] Exploring Operation: 48*23=1104, Resulting Numbers: [1104] 1104,51 unequal: No Solution Exploring Operation: 48+23=71, Resulting Numbers: [71] 71,51 unequal: No Solution Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[15, 10], Operations: ['59-48=11', '21-11=10'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 15*10=150, Resulting Numbers: [150] 150,51 unequal: No Solution Moving to Node #0,3,0 Current State: 51:[6, 11], Operations: ['21-15=6', '59-48=11'] Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,51 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,51 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[11, 6], Operations: ['59-48=11', '21-15=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,51 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,51 unequal: No Solution Moving to Node #0,3,2 Current State: 51:[59, 54], Operations: ['21-15=6', '48+6=54'] Exploring Operation: 59-54=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 59*54=3186, Resulting Numbers: [3186] 3186,51 unequal: No Solution Exploring Operation: 59+54=113, Resulting Numbers: [113] 113,51 unequal: No Solution Moving to Node #0,3,1 Current State: 51:[59, 8], Operations: ['21-15=6', '48/6=8'] Exploring Operation: 59+8=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[48, 15, 59, 21], Operations: [] Exploring Operation: 21-15=6, Resulting Numbers: [48, 59, 6] Generated Node #0,3: 51:[48, 59, 6] Operation: 21-15=6 Moving to Node #0,3 Current State: 51:[48, 59, 6], Operations: ['21-15=6'] Exploring Operation: 48/6=8, Resulting Numbers: [59, 8] Generated Node #0,3,1: 51:[59, 8] Operation: 48/6=8 Moving to Node #0,3,1 Current State: 51:[59, 8], Operations: ['21-15=6', '48/6=8'] Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.921875
hs_5
mult_heuristic
[ 53, 87, 81, 21 ]
94
[ "87-53=34", "81-21=60", "34+60=94" ]
Current State: 94:[53, 87, 81, 21], Operations: [] Exploring Operation: 87-53=34, Resulting Numbers: [81, 21, 34] Generated Node #2: [81, 21, 34] from Operation: 87-53=34 Current State: 94:[81, 21, 34], Operations: ['87-53=34'] Exploring Operation: 81-21=60, Resulting Numbers: [34, 60] Generated Node #3: [34, 60] from Operation: 81-21=60 Current State: 94:[34, 60], Operations: ['87-53=34', '81-21=60'] Exploring Operation: 34+60=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[53, 87, 81, 21], Operations: [] Exploring Operation: 81-21=60, Resulting Numbers: [53, 87, 60] Generated Node #0,0: 94:[53, 87, 60] Operation: 81-21=60 Exploring Operation: 81+21=102, Resulting Numbers: [53, 87, 102] Generated Node #0,1: 94:[53, 87, 102] Operation: 81+21=102 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[53, 87, 102], Operations: ['81+21=102'] Exploring Operation: 102-53=49, Resulting Numbers: [87, 49] Generated Node #0,1,0: 94:[87, 49] Operation: 102-53=49 Exploring Operation: 102-87=15, Resulting Numbers: [53, 15] Generated Node #0,1,1: 94:[53, 15] Operation: 102-87=15 Moving to Node #0,1,0 Current State: 94:[87, 49], Operations: ['81+21=102', '102-53=49'] Exploring Operation: 87+49=136, Resulting Numbers: [136] 136,94 unequal: No Solution Exploring Operation: 87-49=38, Resulting Numbers: [38] 38,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[53, 15], Operations: ['81+21=102', '102-87=15'] Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 53+15=68, Resulting Numbers: [68] 68,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:[53, 87, 60], Operations: ['81-21=60'] Exploring Operation: 60-53=7, Resulting Numbers: [87, 7] Generated Node #0,0,0: 94:[87, 7] Operation: 60-53=7 Exploring Operation: 87-53=34, Resulting Numbers: [60, 34] Generated Node #0,0,1: 94:[60, 34] Operation: 87-53=34 Moving to Node #0,0,0 Current State: 94:[87, 7], Operations: ['81-21=60', '60-53=7'] Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,94 unequal: No Solution Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[53, 87, 81, 21], Operations: [] Exploring Operation: 81-21=60, Resulting Numbers: [53, 87, 60] Generated Node #0,0: 94:[53, 87, 60] Operation: 81-21=60 Moving to Node #0,0 Current State: 94:[53, 87, 60], Operations: ['81-21=60'] Exploring Operation: 60-53=7, Resulting Numbers: [87, 7] Generated Node #0,0,0: 94:[87, 7] Operation: 60-53=7 Moving to Node #0,0,0 Current State: 94:[87, 7], Operations: ['81-21=60', '60-53=7'] Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic