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
[ 29, 82, 61, 59 ]
67
[ "82-29=53", "61+59=120", "120-53=67" ]
Current State: 67:[29, 82, 61, 59], Operations: [] Exploring Operation: 82-29=53, Resulting Numbers: [61, 59, 53] Generated Node #2: [61, 59, 53] from Operation: 82-29=53 Current State: 67:[61, 59, 53], Operations: ['82-29=53'] Exploring Operation: 61+59=120, Resulting Numbers: [53, 120] Generated Node #3: [53, 120] from Operation: 61+59=120 Current State: 67:[53, 120], Operations: ['82-29=53', '61+59=120'] Exploring Operation: 120-53=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[29, 82, 61, 59], Operations: [] Exploring Operation: 29+59=88, Resulting Numbers: [82, 61, 88] Generated Node #0,0: 67:[82, 61, 88] Operation: 29+59=88 Exploring Operation: 29+82=111, Resulting Numbers: [61, 59, 111] Generated Node #0,1: 67:[61, 59, 111] Operation: 29+82=111 Exploring Operation: 29+61=90, Resulting Numbers: [82, 59, 90] Generated Node #0,2: 67:[82, 59, 90] Operation: 29+61=90 Exploring Operation: 82-29=53, Resulting Numbers: [61, 59, 53] Generated Node #0,3: 67:[61, 59, 53] Operation: 82-29=53 Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[61, 59, 53], Operations: ['82-29=53'] Exploring Operation: 61+53=114, Resulting Numbers: [59, 114] Generated Node #0,3,0: 67:[59, 114] Operation: 61+53=114 Exploring Operation: 61+59=120, Resulting Numbers: [53, 120] Generated Node #0,3,1: 67:[53, 120] Operation: 61+59=120 Exploring Operation: 61-53=8, Resulting Numbers: [59, 8] Generated Node #0,3,2: 67:[59, 8] Operation: 61-53=8 Exploring Operation: 59+53=112, Resulting Numbers: [61, 112] Generated Node #0,3,3: 67:[61, 112] Operation: 59+53=112 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 67:[61, 112], Operations: ['82-29=53', '59+53=112'] Exploring Operation: 61*112=6832, Resulting Numbers: [6832] 6832,67 unequal: No Solution Exploring Operation: 112-61=51, Resulting Numbers: [51] 51,67 unequal: No Solution Exploring Operation: 61+112=173, Resulting Numbers: [173] 173,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:[59, 114], Operations: ['82-29=53', '61+53=114'] Exploring Operation: 114-59=55, Resulting Numbers: [55] 55,67 unequal: No Solution Exploring Operation: 59+114=173, Resulting Numbers: [173] 173,67 unequal: No Solution Exploring Operation: 59*114=6726, Resulting Numbers: [6726] 6726,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:[53, 120], Operations: ['82-29=53', '61+59=120'] Exploring Operation: 53*120=6360, Resulting Numbers: [6360] 6360,67 unequal: No Solution Exploring Operation: 53+120=173, Resulting Numbers: [173] 173,67 unequal: No Solution Exploring Operation: 120-53=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[29, 82, 61, 59], Operations: [] Exploring Operation: 82-29=53, Resulting Numbers: [61, 59, 53] Generated Node #0,3: 67:[61, 59, 53] Operation: 82-29=53 Moving to Node #0,3 Current State: 67:[61, 59, 53], Operations: ['82-29=53'] Exploring Operation: 61+59=120, Resulting Numbers: [53, 120] Generated Node #0,3,1: 67:[53, 120] Operation: 61+59=120 Moving to Node #0,3,1 Current State: 67:[53, 120], Operations: ['82-29=53', '61+59=120'] Exploring Operation: 120-53=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 93, 91, 18, 72 ]
27
[ "93-91=2", "72-18=54", "54/2=27" ]
Current State: 27:[93, 91, 18, 72], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [18, 72, 2] Generated Node #2: [18, 72, 2] from Operation: 93-91=2 Current State: 27:[18, 72, 2], Operations: ['93-91=2'] Exploring Operation: 72-18=54, Resulting Numbers: [2, 54] Generated Node #3: [2, 54] from Operation: 72-18=54 Current State: 27:[2, 54], Operations: ['93-91=2', '72-18=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[93, 91, 18, 72], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [18, 72, 2] Generated Node #0,0: 27:[18, 72, 2] Operation: 93-91=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[18, 72, 2], Operations: ['93-91=2'] Exploring Operation: 72/18=4, Resulting Numbers: [2, 4] Generated Node #0,0,0: 27:[2, 4] Operation: 72/18=4 Moving to Node #0,0,0 Current State: 27:[2, 4], Operations: ['93-91=2', '72/18=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,27 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
[ 76, 79, 96, 27 ]
87
[ "79-76=3", "27/3=9", "96-9=87" ]
Current State: 87:[76, 79, 96, 27], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [96, 27, 3] Generated Node #2: [96, 27, 3] from Operation: 79-76=3 Current State: 87:[96, 27, 3], Operations: ['79-76=3'] Exploring Operation: 27/3=9, Resulting Numbers: [96, 9] Generated Node #3: [96, 9] from Operation: 27/3=9 Current State: 87:[96, 9], Operations: ['79-76=3', '27/3=9'] Exploring Operation: 96-9=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[76, 79, 96, 27], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [96, 27, 3] Generated Node #0,0: 87:[96, 27, 3] Operation: 79-76=3 Exploring Operation: 96-76=20, Resulting Numbers: [79, 27, 20] Generated Node #0,1: 87:[79, 27, 20] Operation: 96-76=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[96, 27, 3], Operations: ['79-76=3'] Exploring Operation: 96-3=93, Resulting Numbers: [27, 93] Generated Node #0,0,0: 87:[27, 93] Operation: 96-3=93 Exploring Operation: 96/3=32, Resulting Numbers: [27, 32] Generated Node #0,0,1: 87:[27, 32] Operation: 96/3=32 Moving to Node #0,0,1 Current State: 87:[27, 32], Operations: ['79-76=3', '96/3=32'] Exploring Operation: 27+32=59, Resulting Numbers: [59] 59,87 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[27, 93], Operations: ['79-76=3', '96-3=93'] Exploring Operation: 93-27=66, Resulting Numbers: [66] 66,87 unequal: No Solution Exploring Operation: 27+93=120, Resulting Numbers: [120] 120,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 Current State: 87:[79, 27, 20], Operations: ['96-76=20'] Exploring Operation: 27-20=7, Resulting Numbers: [79, 7] Generated Node #0,1,0: 87:[79, 7] Operation: 27-20=7 Exploring Operation: 79+20=99, Resulting Numbers: [27, 99] Generated Node #0,1,1: 87:[27, 99] Operation: 79+20=99 Moving to Node #0,1,0 Current State: 87:[79, 7], Operations: ['96-76=20', '27-20=7'] Exploring Operation: 79-7=72, Resulting Numbers: [72] 72,87 unequal: No Solution Exploring Operation: 79+7=86, Resulting Numbers: [86] 86,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[27, 99], Operations: ['96-76=20', '79+20=99'] Exploring Operation: 99-27=72, Resulting Numbers: [72] 72,87 unequal: No Solution Exploring Operation: 27+99=126, Resulting Numbers: [126] 126,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 78, 54, 26, 87 ]
89
[ "78-54=24", "26+87=113", "113-24=89" ]
Current State: 89:[78, 54, 26, 87], Operations: [] Exploring Operation: 78-54=24, Resulting Numbers: [26, 87, 24] Generated Node #2: [26, 87, 24] from Operation: 78-54=24 Current State: 89:[26, 87, 24], Operations: ['78-54=24'] Exploring Operation: 26+87=113, Resulting Numbers: [24, 113] Generated Node #3: [24, 113] from Operation: 26+87=113 Current State: 89:[24, 113], Operations: ['78-54=24', '26+87=113'] Exploring Operation: 113-24=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[78, 54, 26, 87], Operations: [] Exploring Operation: 78+26=104, Resulting Numbers: [54, 87, 104] Generated Node #0,0: 89:[54, 87, 104] Operation: 78+26=104 Exploring Operation: 54+26=80, Resulting Numbers: [78, 87, 80] Generated Node #0,1: 89:[78, 87, 80] Operation: 54+26=80 Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[78, 87, 80], Operations: ['54+26=80'] Exploring Operation: 78+80=158, Resulting Numbers: [87, 158] Generated Node #0,1,0: 89:[87, 158] Operation: 78+80=158 Exploring Operation: 78+87=165, Resulting Numbers: [80, 165] Generated Node #0,1,1: 89:[80, 165] Operation: 78+87=165 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[87, 158], Operations: ['54+26=80', '78+80=158'] Exploring Operation: 158-87=71, Resulting Numbers: [71] 71,89 unequal: No Solution Exploring Operation: 87+158=245, Resulting Numbers: [245] 245,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[80, 165], Operations: ['54+26=80', '78+87=165'] Exploring Operation: 80+165=245, Resulting Numbers: [245] 245,89 unequal: No Solution Exploring Operation: 165-80=85, Resulting Numbers: [85] 85,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[54, 87, 104], Operations: ['78+26=104'] Exploring Operation: 104-54=50, Resulting Numbers: [87, 50] Generated Node #0,0,0: 89:[87, 50] Operation: 104-54=50 Exploring Operation: 54+87=141, Resulting Numbers: [104, 141] Generated Node #0,0,1: 89:[104, 141] Operation: 54+87=141 Moving to Node #0,0,0 Current State: 89:[87, 50], Operations: ['78+26=104', '104-54=50'] Exploring Operation: 87-50=37, Resulting Numbers: [37] 37,89 unequal: No Solution Exploring Operation: 87+50=137, Resulting Numbers: [137] 137,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[104, 141], Operations: ['78+26=104', '54+87=141'] Exploring Operation: 141-104=37, Resulting Numbers: [37] 37,89 unequal: No Solution Exploring Operation: 104+141=245, Resulting Numbers: [245] 245,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 10, 33, 59, 73 ]
63
[ "73-33=40", "40/10=4", "59+4=63" ]
Current State: 63:[10, 33, 59, 73], Operations: [] Exploring Operation: 73-33=40, Resulting Numbers: [10, 59, 40] Generated Node #2: [10, 59, 40] from Operation: 73-33=40 Current State: 63:[10, 59, 40], Operations: ['73-33=40'] Exploring Operation: 40/10=4, Resulting Numbers: [59, 4] Generated Node #3: [59, 4] from Operation: 40/10=4 Current State: 63:[59, 4], Operations: ['73-33=40', '40/10=4'] Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[10, 33, 59, 73], Operations: [] Exploring Operation: 33-10=23, Resulting Numbers: [59, 73, 23] Generated Node #0,0: 63:[59, 73, 23] Operation: 33-10=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[59, 73, 23], Operations: ['33-10=23'] Exploring Operation: 73-59=14, Resulting Numbers: [23, 14] Generated Node #0,0,0: 63:[23, 14] Operation: 73-59=14 Moving to Node #0,0,0 Current State: 63:[23, 14], Operations: ['33-10=23', '73-59=14'] Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 5, 76, 27, 59 ]
38
[ "59-5=54", "76*27=2052", "2052/54=38" ]
Current State: 38:[5, 76, 27, 59], Operations: [] Exploring Operation: 59-5=54, Resulting Numbers: [76, 27, 54] Generated Node #2: [76, 27, 54] from Operation: 59-5=54 Current State: 38:[76, 27, 54], Operations: ['59-5=54'] Exploring Operation: 76*27=2052, Resulting Numbers: [54, 2052] Generated Node #3: [54, 2052] from Operation: 76*27=2052 Current State: 38:[54, 2052], Operations: ['59-5=54', '76*27=2052'] Exploring Operation: 2052/54=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[5, 76, 27, 59], Operations: [] Exploring Operation: 59-27=32, Resulting Numbers: [5, 76, 32] Generated Node #0,0: 38:[5, 76, 32] Operation: 59-27=32 Exploring Operation: 76-59=17, Resulting Numbers: [5, 27, 17] Generated Node #0,1: 38:[5, 27, 17] Operation: 76-59=17 Exploring Operation: 76-27=49, Resulting Numbers: [5, 59, 49] Generated Node #0,2: 38:[5, 59, 49] Operation: 76-27=49 Moving to Node #0,1 Current State: 38:[5, 27, 17], Operations: ['76-59=17'] Exploring Operation: 5+27=32, Resulting Numbers: [17, 32] Generated Node #0,1,0: 38:[17, 32] Operation: 5+27=32 Exploring Operation: 27+17=44, Resulting Numbers: [5, 44] Generated Node #0,1,1: 38:[5, 44] Operation: 27+17=44 Exploring Operation: 27-5=22, Resulting Numbers: [17, 22] Generated Node #0,1,2: 38:[17, 22] Operation: 27-5=22 Moving to Node #0,2 Current State: 38:[5, 59, 49], Operations: ['76-27=49'] Exploring Operation: 49-5=44, Resulting Numbers: [59, 44] Generated Node #0,2,0: 38:[59, 44] Operation: 49-5=44 Exploring Operation: 59-49=10, Resulting Numbers: [5, 10] Generated Node #0,2,1: 38:[5, 10] Operation: 59-49=10 Exploring Operation: 59-5=54, Resulting Numbers: [49, 54] Generated Node #0,2,2: 38:[49, 54] Operation: 59-5=54 Moving to Node #0,0 Current State: 38:[5, 76, 32], Operations: ['59-27=32'] Exploring Operation: 76-32=44, Resulting Numbers: [5, 44] Generated Node #0,0,0: 38:[5, 44] Operation: 76-32=44 Exploring Operation: 5+32=37, Resulting Numbers: [76, 37] Generated Node #0,0,1: 38:[76, 37] Operation: 5+32=37 Exploring Operation: 76-5=71, Resulting Numbers: [32, 71] Generated Node #0,0,2: 38:[32, 71] Operation: 76-5=71 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[5, 44], Operations: ['59-27=32', '76-32=44'] Exploring Operation: 5*44=220, Resulting Numbers: [220] 220,38 unequal: No Solution Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[76, 37], Operations: ['59-27=32', '5+32=37'] Exploring Operation: 76+37=113, Resulting Numbers: [113] 113,38 unequal: No Solution Exploring Operation: 76*37=2812, Resulting Numbers: [2812] 2812,38 unequal: No Solution Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 38:[32, 71], Operations: ['59-27=32', '76-5=71'] Exploring Operation: 32+71=103, Resulting Numbers: [103] 103,38 unequal: No Solution Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 32*71=2272, Resulting Numbers: [2272] 2272,38 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: 38:[17, 22], Operations: ['76-59=17', '27-5=22'] Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[17, 32], Operations: ['76-59=17', '5+27=32'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,38 unequal: No Solution Exploring Operation: 17*32=544, Resulting Numbers: [544] 544,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[5, 44], Operations: ['76-59=17', '27+17=44'] Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,38 unequal: No Solution Exploring Operation: 5*44=220, Resulting Numbers: [220] 220,38 unequal: No Solution Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[5, 10], Operations: ['76-27=49', '59-49=10'] Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[49, 54], Operations: ['76-27=49', '59-5=54'] Exploring Operation: 49*54=2646, Resulting Numbers: [2646] 2646,38 unequal: No Solution Exploring Operation: 49+54=103, Resulting Numbers: [103] 103,38 unequal: No Solution Exploring Operation: 54-49=5, Resulting Numbers: [5] 5,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[59, 44], Operations: ['76-27=49', '49-5=44'] Exploring Operation: 59*44=2596, Resulting Numbers: [2596] 2596,38 unequal: No Solution Exploring Operation: 59+44=103, Resulting Numbers: [103] 103,38 unequal: No Solution Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,38 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 95, 9, 55, 13 ]
67
[ "95+13=108", "108/9=12", "55+12=67" ]
Current State: 67:[95, 9, 55, 13], Operations: [] Exploring Operation: 95+13=108, Resulting Numbers: [9, 55, 108] Generated Node #2: [9, 55, 108] from Operation: 95+13=108 Current State: 67:[9, 55, 108], Operations: ['95+13=108'] Exploring Operation: 108/9=12, Resulting Numbers: [55, 12] Generated Node #3: [55, 12] from Operation: 108/9=12 Current State: 67:[55, 12], Operations: ['95+13=108', '108/9=12'] Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[95, 9, 55, 13], Operations: [] Exploring Operation: 9+55=64, Resulting Numbers: [95, 13, 64] Generated Node #0,0: 67:[95, 13, 64] Operation: 9+55=64 Exploring Operation: 95-13=82, Resulting Numbers: [9, 55, 82] Generated Node #0,1: 67:[9, 55, 82] Operation: 95-13=82 Exploring Operation: 95-9=86, Resulting Numbers: [55, 13, 86] Generated Node #0,2: 67:[55, 13, 86] Operation: 95-9=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[95, 13, 64], Operations: ['9+55=64'] Exploring Operation: 95+13=108, Resulting Numbers: [64, 108] Generated Node #0,0,0: 67:[64, 108] Operation: 95+13=108 Exploring Operation: 95-13=82, Resulting Numbers: [64, 82] Generated Node #0,0,1: 67:[64, 82] Operation: 95-13=82 Exploring Operation: 13+64=77, Resulting Numbers: [95, 77] Generated Node #0,0,2: 67:[95, 77] Operation: 13+64=77 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[64, 82], Operations: ['9+55=64', '95-13=82'] Exploring Operation: 82-64=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 64*82=5248, Resulting Numbers: [5248] 5248,67 unequal: No Solution Exploring Operation: 64+82=146, Resulting Numbers: [146] 146,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,0,2 Current State: 67:[95, 77], Operations: ['9+55=64', '13+64=77'] Exploring Operation: 95+77=172, Resulting Numbers: [172] 172,67 unequal: No Solution Exploring Operation: 95-77=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 95*77=7315, Resulting Numbers: [7315] 7315,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,0,0 Current State: 67:[64, 108], Operations: ['9+55=64', '95+13=108'] Exploring Operation: 108-64=44, Resulting Numbers: [44] 44,67 unequal: No Solution Exploring Operation: 64+108=172, Resulting Numbers: [172] 172,67 unequal: No Solution Exploring Operation: 64*108=6912, Resulting Numbers: [6912] 6912,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,1 Current State: 67:[9, 55, 82], Operations: ['95-13=82'] Exploring Operation: 9+55=64, Resulting Numbers: [82, 64] Generated Node #0,1,0: 67:[82, 64] Operation: 9+55=64 Exploring Operation: 82-9=73, Resulting Numbers: [55, 73] Generated Node #0,1,1: 67:[55, 73] Operation: 82-9=73 Exploring Operation: 55-9=46, Resulting Numbers: [82, 46] Generated Node #0,1,2: 67:[82, 46] Operation: 55-9=46 Moving to Node #0,1,0 Current State: 67:[82, 64], Operations: ['95-13=82', '9+55=64'] Exploring Operation: 82*64=5248, Resulting Numbers: [5248] 5248,67 unequal: No Solution Exploring Operation: 82-64=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 82+64=146, Resulting Numbers: [146] 146,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[55, 73], Operations: ['95-13=82', '82-9=73'] Exploring Operation: 55*73=4015, Resulting Numbers: [4015] 4015,67 unequal: No Solution Exploring Operation: 73-55=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 55+73=128, Resulting Numbers: [128] 128,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[82, 46], Operations: ['95-13=82', '55-9=46'] Exploring Operation: 82+46=128, Resulting Numbers: [128] 128,67 unequal: No Solution Exploring Operation: 82-46=36, Resulting Numbers: [36] 36,67 unequal: No Solution Exploring Operation: 82*46=3772, Resulting Numbers: [3772] 3772,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:[55, 13, 86], Operations: ['95-9=86'] Exploring Operation: 55+13=68, Resulting Numbers: [86, 68] Generated Node #0,2,0: 67:[86, 68] Operation: 55+13=68 Exploring Operation: 55-13=42, Resulting Numbers: [86, 42] Generated Node #0,2,1: 67:[86, 42] Operation: 55-13=42 Exploring Operation: 86-13=73, Resulting Numbers: [55, 73] Generated Node #0,2,2: 67:[55, 73] Operation: 86-13=73 Moving to Node #0,2,2 Current State: 67:[55, 73], Operations: ['95-9=86', '86-13=73'] Exploring Operation: 55+73=128, Resulting Numbers: [128] 128,67 unequal: No Solution Exploring Operation: 55*73=4015, Resulting Numbers: [4015] 4015,67 unequal: No Solution Exploring Operation: 73-55=18, Resulting Numbers: [18] 18,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[86, 68], Operations: ['95-9=86', '55+13=68'] Exploring Operation: 86*68=5848, Resulting Numbers: [5848] 5848,67 unequal: No Solution Exploring Operation: 86+68=154, Resulting Numbers: [154] 154,67 unequal: No Solution Exploring Operation: 86-68=18, Resulting Numbers: [18] 18,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[86, 42], Operations: ['95-9=86', '55-13=42'] Exploring Operation: 86*42=3612, Resulting Numbers: [3612] 3612,67 unequal: No Solution Exploring Operation: 86-42=44, Resulting Numbers: [44] 44,67 unequal: No Solution Exploring Operation: 86+42=128, Resulting Numbers: [128] 128,67 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
[ 38, 17, 47, 19 ]
27
[ "38+17=55", "47-19=28", "55-28=27" ]
Current State: 27:[38, 17, 47, 19], Operations: [] Exploring Operation: 38+17=55, Resulting Numbers: [47, 19, 55] Generated Node #2: [47, 19, 55] from Operation: 38+17=55 Current State: 27:[47, 19, 55], Operations: ['38+17=55'] Exploring Operation: 47-19=28, Resulting Numbers: [55, 28] Generated Node #3: [55, 28] from Operation: 47-19=28 Current State: 27:[55, 28], Operations: ['38+17=55', '47-19=28'] Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[38, 17, 47, 19], Operations: [] Exploring Operation: 47-38=9, Resulting Numbers: [17, 19, 9] Generated Node #0,0: 27:[17, 19, 9] Operation: 47-38=9 Moving to Node #0,0 Current State: 27:[17, 19, 9], Operations: ['47-38=9'] Exploring Operation: 19-17=2, Resulting Numbers: [9, 2] Generated Node #0,0,0: 27:[9, 2] Operation: 19-17=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[9, 2], Operations: ['47-38=9', '19-17=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,27 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
[ 9, 36, 53, 92 ]
100
[ "9+36=45", "53+92=145", "145-45=100" ]
Current State: 100:[9, 36, 53, 92], Operations: [] Exploring Operation: 9+36=45, Resulting Numbers: [53, 92, 45] Generated Node #2: [53, 92, 45] from Operation: 9+36=45 Current State: 100:[53, 92, 45], Operations: ['9+36=45'] Exploring Operation: 53+92=145, Resulting Numbers: [45, 145] Generated Node #3: [45, 145] from Operation: 53+92=145 Current State: 100:[45, 145], Operations: ['9+36=45', '53+92=145'] Exploring Operation: 145-45=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[9, 36, 53, 92], Operations: [] Exploring Operation: 53-36=17, Resulting Numbers: [9, 92, 17] Generated Node #0,0: 100:[9, 92, 17] Operation: 53-36=17 Exploring Operation: 92-36=56, Resulting Numbers: [9, 53, 56] Generated Node #0,1: 100:[9, 53, 56] Operation: 92-36=56 Exploring Operation: 36/9=4, Resulting Numbers: [53, 92, 4] Generated Node #0,2: 100:[53, 92, 4] Operation: 36/9=4 Moving to Node #0,1 Current State: 100:[9, 53, 56], Operations: ['92-36=56'] Exploring Operation: 53+56=109, Resulting Numbers: [9, 109] Generated Node #0,1,0: 100:[9, 109] Operation: 53+56=109 Exploring Operation: 56-9=47, Resulting Numbers: [53, 47] Generated Node #0,1,1: 100:[53, 47] Operation: 56-9=47 Exploring Operation: 56-53=3, Resulting Numbers: [9, 3] Generated Node #0,1,2: 100:[9, 3] Operation: 56-53=3 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 100:[9, 3], Operations: ['92-36=56', '56-53=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[53, 47], Operations: ['92-36=56', '56-9=47'] Exploring Operation: 53+47=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[9, 36, 53, 92], Operations: [] Exploring Operation: 92-36=56, Resulting Numbers: [9, 53, 56] Generated Node #0,1: 100:[9, 53, 56] Operation: 92-36=56 Moving to Node #0,1 Current State: 100:[9, 53, 56], Operations: ['92-36=56'] Exploring Operation: 56-9=47, Resulting Numbers: [53, 47] Generated Node #0,1,1: 100:[53, 47] Operation: 56-9=47 Moving to Node #0,1,1 Current State: 100:[53, 47], Operations: ['92-36=56', '56-9=47'] Exploring Operation: 53+47=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 43, 17, 84, 52 ]
76
[ "43+17=60", "84+52=136", "136-60=76" ]
Current State: 76:[43, 17, 84, 52], Operations: [] Exploring Operation: 43+17=60, Resulting Numbers: [84, 52, 60] Generated Node #2: [84, 52, 60] from Operation: 43+17=60 Current State: 76:[84, 52, 60], Operations: ['43+17=60'] Exploring Operation: 84+52=136, Resulting Numbers: [60, 136] Generated Node #3: [60, 136] from Operation: 84+52=136 Current State: 76:[60, 136], Operations: ['43+17=60', '84+52=136'] Exploring Operation: 136-60=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[43, 17, 84, 52], Operations: [] Exploring Operation: 52-43=9, Resulting Numbers: [17, 84, 9] Generated Node #0,0: 76:[17, 84, 9] Operation: 52-43=9 Exploring Operation: 84-52=32, Resulting Numbers: [43, 17, 32] Generated Node #0,1: 76:[43, 17, 32] Operation: 84-52=32 Exploring Operation: 84-43=41, Resulting Numbers: [17, 52, 41] Generated Node #0,2: 76:[17, 52, 41] Operation: 84-43=41 Exploring Operation: 52-17=35, Resulting Numbers: [43, 84, 35] Generated Node #0,3: 76:[43, 84, 35] Operation: 52-17=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[43, 17, 32], Operations: ['84-52=32'] Exploring Operation: 43-17=26, Resulting Numbers: [32, 26] Generated Node #0,1,0: 76:[32, 26] Operation: 43-17=26 Exploring Operation: 32-17=15, Resulting Numbers: [43, 15] Generated Node #0,1,1: 76:[43, 15] Operation: 32-17=15 Exploring Operation: 43+32=75, Resulting Numbers: [17, 75] Generated Node #0,1,2: 76:[17, 75] Operation: 43+32=75 Exploring Operation: 43-32=11, Resulting Numbers: [17, 11] Generated Node #0,1,3: 76:[17, 11] Operation: 43-32=11 Moving to Node #0,1,2 Current State: 76:[17, 75], Operations: ['84-52=32', '43+32=75'] Exploring Operation: 75-17=58, Resulting Numbers: [58] 58,76 unequal: No Solution Exploring Operation: 17+75=92, Resulting Numbers: [92] 92,76 unequal: No Solution Exploring Operation: 17*75=1275, Resulting Numbers: [1275] 1275,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[17, 11], Operations: ['84-52=32', '43-32=11'] Exploring Operation: 17*11=187, Resulting Numbers: [187] 187,76 unequal: No Solution Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[43, 15], Operations: ['84-52=32', '32-17=15'] Exploring Operation: 43*15=645, Resulting Numbers: [645] 645,76 unequal: No Solution Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 43+15=58, Resulting Numbers: [58] 58,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[32, 26], Operations: ['84-52=32', '43-17=26'] Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,76 unequal: No Solution Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,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:[17, 84, 9], Operations: ['52-43=9'] Exploring Operation: 17-9=8, Resulting Numbers: [84, 8] Generated Node #0,0,0: 76:[84, 8] Operation: 17-9=8 Exploring Operation: 84-17=67, Resulting Numbers: [9, 67] Generated Node #0,0,1: 76:[9, 67] Operation: 84-17=67 Exploring Operation: 84-9=75, Resulting Numbers: [17, 75] Generated Node #0,0,2: 76:[17, 75] Operation: 84-9=75 Exploring Operation: 17+9=26, Resulting Numbers: [84, 26] Generated Node #0,0,3: 76:[84, 26] Operation: 17+9=26 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 76:[17, 75], Operations: ['52-43=9', '84-9=75'] Exploring Operation: 17*75=1275, Resulting Numbers: [1275] 1275,76 unequal: No Solution Exploring Operation: 75-17=58, Resulting Numbers: [58] 58,76 unequal: No Solution Exploring Operation: 17+75=92, Resulting Numbers: [92] 92,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,0,0 Current State: 76:[84, 8], Operations: ['52-43=9', '17-9=8'] Exploring Operation: 84*8=672, Resulting Numbers: [672] 672,76 unequal: No Solution Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,76 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[43, 17, 84, 52], Operations: [] Exploring Operation: 52-43=9, Resulting Numbers: [17, 84, 9] Generated Node #0,0: 76:[17, 84, 9] Operation: 52-43=9 Moving to Node #0,0 Current State: 76:[17, 84, 9], Operations: ['52-43=9'] Exploring Operation: 17-9=8, Resulting Numbers: [84, 8] Generated Node #0,0,0: 76:[84, 8] Operation: 17-9=8 Moving to Node #0,0,0 Current State: 76:[84, 8], Operations: ['52-43=9', '17-9=8'] Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 80, 46, 94, 6 ]
92
[ "46-6=40", "80/40=2", "94-2=92" ]
Current State: 92:[80, 46, 94, 6], Operations: [] Exploring Operation: 46-6=40, Resulting Numbers: [80, 94, 40] Generated Node #2: [80, 94, 40] from Operation: 46-6=40 Current State: 92:[80, 94, 40], Operations: ['46-6=40'] Exploring Operation: 80/40=2, Resulting Numbers: [94, 2] Generated Node #3: [94, 2] from Operation: 80/40=2 Current State: 92:[94, 2], Operations: ['46-6=40', '80/40=2'] Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[80, 46, 94, 6], Operations: [] Exploring Operation: 80+6=86, Resulting Numbers: [46, 94, 86] Generated Node #0,0: 92:[46, 94, 86] Operation: 80+6=86 Exploring Operation: 94-6=88, Resulting Numbers: [80, 46, 88] Generated Node #0,1: 92:[80, 46, 88] Operation: 94-6=88 Exploring Operation: 80-46=34, Resulting Numbers: [94, 6, 34] Generated Node #0,2: 92:[94, 6, 34] Operation: 80-46=34 Exploring Operation: 94-80=14, Resulting Numbers: [46, 6, 14] Generated Node #0,3: 92:[46, 6, 14] Operation: 94-80=14 Exploring Operation: 94-46=48, Resulting Numbers: [80, 6, 48] Generated Node #0,4: 92:[80, 6, 48] Operation: 94-46=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[46, 94, 86], Operations: ['80+6=86'] Exploring Operation: 46+94=140, Resulting Numbers: [86, 140] Generated Node #0,0,0: 92:[86, 140] Operation: 46+94=140 Exploring Operation: 94-86=8, Resulting Numbers: [46, 8] Generated Node #0,0,1: 92:[46, 8] Operation: 94-86=8 Exploring Operation: 46+86=132, Resulting Numbers: [94, 132] Generated Node #0,0,2: 92:[94, 132] Operation: 46+86=132 Exploring Operation: 94-46=48, Resulting Numbers: [86, 48] Generated Node #0,0,3: 92:[86, 48] Operation: 94-46=48 Exploring Operation: 86-46=40, Resulting Numbers: [94, 40] Generated Node #0,0,4: 92:[94, 40] Operation: 86-46=40 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[46, 8], Operations: ['80+6=86', '94-86=8'] Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,92 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 92:[86, 48], Operations: ['80+6=86', '94-46=48'] Exploring Operation: 86+48=134, Resulting Numbers: [134] 134,92 unequal: No Solution Exploring Operation: 86*48=4128, Resulting Numbers: [4128] 4128,92 unequal: No Solution Exploring Operation: 86-48=38, Resulting Numbers: [38] 38,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 92:[94, 40], Operations: ['80+6=86', '86-46=40'] Exploring Operation: 94-40=54, Resulting Numbers: [54] 54,92 unequal: No Solution Exploring Operation: 94+40=134, Resulting Numbers: [134] 134,92 unequal: No Solution Exploring Operation: 94*40=3760, Resulting Numbers: [3760] 3760,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 92:[94, 132], Operations: ['80+6=86', '46+86=132'] Exploring Operation: 94*132=12408, Resulting Numbers: [12408] 12408,92 unequal: No Solution Exploring Operation: 132-94=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 94+132=226, Resulting Numbers: [226] 226,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[86, 140], Operations: ['80+6=86', '46+94=140'] Exploring Operation: 86*140=12040, Resulting Numbers: [12040] 12040,92 unequal: No Solution Exploring Operation: 140-86=54, Resulting Numbers: [54] 54,92 unequal: No Solution Exploring Operation: 86+140=226, Resulting Numbers: [226] 226,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 92:[46, 6, 14], Operations: ['94-80=14'] Exploring Operation: 46-14=32, Resulting Numbers: [6, 32] Generated Node #0,3,0: 92:[6, 32] Operation: 46-14=32 Exploring Operation: 6+14=20, Resulting Numbers: [46, 20] Generated Node #0,3,1: 92:[46, 20] Operation: 6+14=20 Exploring Operation: 6*14=84, Resulting Numbers: [46, 84] Generated Node #0,3,2: 92:[46, 84] Operation: 6*14=84 Exploring Operation: 14-6=8, Resulting Numbers: [46, 8] Generated Node #0,3,3: 92:[46, 8] Operation: 14-6=8 Exploring Operation: 46+6=52, Resulting Numbers: [14, 52] Generated Node #0,3,4: 92:[14, 52] Operation: 46+6=52 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 92:[46, 20], Operations: ['94-80=14', '6+14=20'] Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,92 unequal: No Solution Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,92 unequal: No Solution Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 92:[46, 8], Operations: ['94-80=14', '14-6=8'] Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,92 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 92:[46, 84], Operations: ['94-80=14', '6*14=84'] Exploring Operation: 84-46=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 46+84=130, Resulting Numbers: [130] 130,92 unequal: No Solution Exploring Operation: 46*84=3864, Resulting Numbers: [3864] 3864,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 92:[6, 32], Operations: ['94-80=14', '46-14=32'] Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,92 unequal: No Solution Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 92:[14, 52], Operations: ['94-80=14', '46+6=52'] Exploring Operation: 14+52=66, Resulting Numbers: [66] 66,92 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 14*52=728, Resulting Numbers: [728] 728,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[94, 6, 34], Operations: ['80-46=34'] Exploring Operation: 94-6=88, Resulting Numbers: [34, 88] Generated Node #0,2,0: 92:[34, 88] Operation: 94-6=88 Exploring Operation: 34-6=28, Resulting Numbers: [94, 28] Generated Node #0,2,1: 92:[94, 28] Operation: 34-6=28 Exploring Operation: 94-34=60, Resulting Numbers: [6, 60] Generated Node #0,2,2: 92:[6, 60] Operation: 94-34=60 Exploring Operation: 6+34=40, Resulting Numbers: [94, 40] Generated Node #0,2,3: 92:[94, 40] Operation: 6+34=40 Exploring Operation: 94+6=100, Resulting Numbers: [34, 100] Generated Node #0,2,4: 92:[34, 100] Operation: 94+6=100 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 92:[94, 28], Operations: ['80-46=34', '34-6=28'] Exploring Operation: 94-28=66, Resulting Numbers: [66] 66,92 unequal: No Solution Exploring Operation: 94*28=2632, Resulting Numbers: [2632] 2632,92 unequal: No Solution Exploring Operation: 94+28=122, Resulting Numbers: [122] 122,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 92:[94, 40], Operations: ['80-46=34', '6+34=40'] Exploring Operation: 94+40=134, Resulting Numbers: [134] 134,92 unequal: No Solution Exploring Operation: 94-40=54, Resulting Numbers: [54] 54,92 unequal: No Solution Exploring Operation: 94*40=3760, Resulting Numbers: [3760] 3760,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 92:[34, 88], Operations: ['80-46=34', '94-6=88'] Exploring Operation: 34+88=122, Resulting Numbers: [122] 122,92 unequal: No Solution Exploring Operation: 34*88=2992, Resulting Numbers: [2992] 2992,92 unequal: No Solution Exploring Operation: 88-34=54, Resulting Numbers: [54] 54,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 92:[6, 60], Operations: ['80-46=34', '94-34=60'] Exploring Operation: 6*60=360, Resulting Numbers: [360] 360,92 unequal: No Solution Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 6+60=66, Resulting Numbers: [66] 66,92 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 92:[34, 100], Operations: ['80-46=34', '94+6=100'] Exploring Operation: 34*100=3400, Resulting Numbers: [3400] 3400,92 unequal: No Solution Exploring Operation: 34+100=134, Resulting Numbers: [134] 134,92 unequal: No Solution Exploring Operation: 100-34=66, Resulting Numbers: [66] 66,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[80, 46, 88], Operations: ['94-6=88'] Exploring Operation: 80-46=34, Resulting Numbers: [88, 34] Generated Node #0,1,0: 92:[88, 34] Operation: 80-46=34 Exploring Operation: 88-80=8, Resulting Numbers: [46, 8] Generated Node #0,1,1: 92:[46, 8] Operation: 88-80=8 Exploring Operation: 80+46=126, Resulting Numbers: [88, 126] Generated Node #0,1,2: 92:[88, 126] Operation: 80+46=126 Exploring Operation: 46+88=134, Resulting Numbers: [80, 134] Generated Node #0,1,3: 92:[80, 134] Operation: 46+88=134 Exploring Operation: 88-46=42, Resulting Numbers: [80, 42] Generated Node #0,1,4: 92:[80, 42] Operation: 88-46=42 Moving to Node #0,1,1 Current State: 92:[46, 8], Operations: ['94-6=88', '88-80=8'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,92 unequal: No Solution Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[88, 34], Operations: ['94-6=88', '80-46=34'] Exploring Operation: 88+34=122, Resulting Numbers: [122] 122,92 unequal: No Solution Exploring Operation: 88*34=2992, Resulting Numbers: [2992] 2992,92 unequal: No Solution Exploring Operation: 88-34=54, Resulting Numbers: [54] 54,92 unequal: No Solution Moving to Node #0,1,4 Current State: 92:[80, 42], Operations: ['94-6=88', '88-46=42'] Exploring Operation: 80+42=122, Resulting Numbers: [122] 122,92 unequal: No Solution Exploring Operation: 80*42=3360, Resulting Numbers: [3360] 3360,92 unequal: No Solution Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[88, 126], Operations: ['94-6=88', '80+46=126'] Exploring Operation: 126-88=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 88*126=11088, Resulting Numbers: [11088] 11088,92 unequal: No Solution Exploring Operation: 88+126=214, Resulting Numbers: [214] 214,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[80, 134], Operations: ['94-6=88', '46+88=134'] Exploring Operation: 80+134=214, Resulting Numbers: [214] 214,92 unequal: No Solution Exploring Operation: 134-80=54, Resulting Numbers: [54] 54,92 unequal: No Solution Exploring Operation: 80*134=10720, Resulting Numbers: [10720] 10720,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,4 Current State: 92:[80, 6, 48], Operations: ['94-46=48'] Exploring Operation: 48/6=8, Resulting Numbers: [80, 8] Generated Node #0,4,0: 92:[80, 8] Operation: 48/6=8 Exploring Operation: 48-6=42, Resulting Numbers: [80, 42] Generated Node #0,4,1: 92:[80, 42] Operation: 48-6=42 Exploring Operation: 80-6=74, Resulting Numbers: [48, 74] Generated Node #0,4,2: 92:[48, 74] Operation: 80-6=74 Exploring Operation: 80-48=32, Resulting Numbers: [6, 32] Generated Node #0,4,3: 92:[6, 32] Operation: 80-48=32 Exploring Operation: 80+6=86, Resulting Numbers: [48, 86] Generated Node #0,4,4: 92:[48, 86] Operation: 80+6=86 Moving to Node #0,4,4 Current State: 92:[48, 86], Operations: ['94-46=48', '80+6=86'] Exploring Operation: 86-48=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 48+86=134, Resulting Numbers: [134] 134,92 unequal: No Solution Exploring Operation: 48*86=4128, Resulting Numbers: [4128] 4128,92 unequal: No Solution Moving to Node #0,4,3 Current State: 92:[6, 32], Operations: ['94-46=48', '80-48=32'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,92 unequal: No Solution Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,92 unequal: No Solution Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,92 unequal: No Solution Moving to Node #0,4,0 Current State: 92:[80, 8], Operations: ['94-46=48', '48/6=8'] Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 80*8=640, Resulting Numbers: [640] 640,92 unequal: No Solution Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,92 unequal: No Solution Exploring Operation: 80+8=88, Resulting Numbers: [88] 88,92 unequal: No Solution Moving to Node #0,4,1 Current State: 92:[80, 42], Operations: ['94-46=48', '48-6=42'] Exploring Operation: 80*42=3360, Resulting Numbers: [3360] 3360,92 unequal: No Solution Exploring Operation: 80+42=122, Resulting Numbers: [122] 122,92 unequal: No Solution Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,92 unequal: No Solution Moving to Node #0,4,2 Current State: 92:[48, 74], Operations: ['94-46=48', '80-6=74'] Exploring Operation: 48+74=122, Resulting Numbers: [122] 122,92 unequal: No Solution Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,92 unequal: No Solution Exploring Operation: 48*74=3552, Resulting Numbers: [3552] 3552,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 37, 53, 48, 80 ]
43
[ "53-37=16", "80/16=5", "48-5=43" ]
Current State: 43:[37, 53, 48, 80], Operations: [] Exploring Operation: 53-37=16, Resulting Numbers: [48, 80, 16] Generated Node #2: [48, 80, 16] from Operation: 53-37=16 Current State: 43:[48, 80, 16], Operations: ['53-37=16'] Exploring Operation: 80/16=5, Resulting Numbers: [48, 5] Generated Node #3: [48, 5] from Operation: 80/16=5 Current State: 43:[48, 5], Operations: ['53-37=16', '80/16=5'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[37, 53, 48, 80], Operations: [] Exploring Operation: 80-37=43, Resulting Numbers: [53, 48, 43] Generated Node #0,0: 43:[53, 48, 43] Operation: 80-37=43 Exploring Operation: 53-37=16, Resulting Numbers: [48, 80, 16] Generated Node #0,1: 43:[48, 80, 16] Operation: 53-37=16 Exploring Operation: 48-37=11, Resulting Numbers: [53, 80, 11] Generated Node #0,2: 43:[53, 80, 11] Operation: 48-37=11 Exploring Operation: 80-48=32, Resulting Numbers: [37, 53, 32] Generated Node #0,3: 43:[37, 53, 32] Operation: 80-48=32 Exploring Operation: 80-53=27, Resulting Numbers: [37, 48, 27] Generated Node #0,4: 43:[37, 48, 27] Operation: 80-53=27 Moving to Node #0,0 Current State: 43:[53, 48, 43], Operations: ['80-37=43'] Exploring Operation: 48-43=5, Resulting Numbers: [53, 5] Generated Node #0,0,0: 43:[53, 5] Operation: 48-43=5 Exploring Operation: 53-48=5, Resulting Numbers: [43, 5] Generated Node #0,0,1: 43:[43, 5] Operation: 53-48=5 Exploring Operation: 53+48=101, Resulting Numbers: [43, 101] Generated Node #0,0,2: 43:[43, 101] Operation: 53+48=101 Exploring Operation: 53+43=96, Resulting Numbers: [48, 96] Generated Node #0,0,3: 43:[48, 96] Operation: 53+43=96 Exploring Operation: 53-43=10, Resulting Numbers: [48, 10] Generated Node #0,0,4: 43:[48, 10] Operation: 53-43=10 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[43, 5], Operations: ['80-37=43', '53-48=5'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 43*5=215, Resulting Numbers: [215] 215,43 unequal: No Solution Exploring Operation: 43+5=48, Resulting Numbers: [48] 48,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 43:[48, 10], Operations: ['80-37=43', '53-43=10'] Exploring Operation: 48+10=58, Resulting Numbers: [58] 58,43 unequal: No Solution Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 48*10=480, Resulting Numbers: [480] 480,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[53, 5], Operations: ['80-37=43', '48-43=5'] Exploring Operation: 53*5=265, Resulting Numbers: [265] 265,43 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 43:[43, 101], Operations: ['80-37=43', '53+48=101'] Exploring Operation: 43*101=4343, Resulting Numbers: [4343] 4343,43 unequal: No Solution Exploring Operation: 101-43=58, Resulting Numbers: [58] 58,43 unequal: No Solution Exploring Operation: 43+101=144, Resulting Numbers: [144] 144,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 43:[48, 96], Operations: ['80-37=43', '53+43=96'] Exploring Operation: 48*96=4608, Resulting Numbers: [4608] 4608,43 unequal: No Solution Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 48+96=144, Resulting Numbers: [144] 144,43 unequal: No Solution Exploring Operation: 96/48=2, Resulting Numbers: [2] 2,43 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: 43:[37, 48, 27], Operations: ['80-53=27'] Exploring Operation: 48+27=75, Resulting Numbers: [37, 75] Generated Node #0,4,0: 43:[37, 75] Operation: 48+27=75 Exploring Operation: 37+27=64, Resulting Numbers: [48, 64] Generated Node #0,4,1: 43:[48, 64] Operation: 37+27=64 Exploring Operation: 48-37=11, Resulting Numbers: [27, 11] Generated Node #0,4,2: 43:[27, 11] Operation: 48-37=11 Exploring Operation: 48-27=21, Resulting Numbers: [37, 21] Generated Node #0,4,3: 43:[37, 21] Operation: 48-27=21 Exploring Operation: 37-27=10, Resulting Numbers: [48, 10] Generated Node #0,4,4: 43:[48, 10] Operation: 37-27=10 Moving to Node #0,3 Current State: 43:[37, 53, 32], Operations: ['80-48=32'] Exploring Operation: 37-32=5, Resulting Numbers: [53, 5] Generated Node #0,3,0: 43:[53, 5] Operation: 37-32=5 Exploring Operation: 53-32=21, Resulting Numbers: [37, 21] Generated Node #0,3,1: 43:[37, 21] Operation: 53-32=21 Exploring Operation: 53+32=85, Resulting Numbers: [37, 85] Generated Node #0,3,2: 43:[37, 85] Operation: 53+32=85 Exploring Operation: 37+32=69, Resulting Numbers: [53, 69] Generated Node #0,3,3: 43:[53, 69] Operation: 37+32=69 Exploring Operation: 53-37=16, Resulting Numbers: [32, 16] Generated Node #0,3,4: 43:[32, 16] Operation: 53-37=16 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 43:[37, 21], Operations: ['80-48=32', '53-32=21'] Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,43 unequal: No Solution Exploring Operation: 37+21=58, Resulting Numbers: [58] 58,43 unequal: No Solution Exploring Operation: 37*21=777, Resulting Numbers: [777] 777,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 43:[53, 69], Operations: ['80-48=32', '37+32=69'] Exploring Operation: 53*69=3657, Resulting Numbers: [3657] 3657,43 unequal: No Solution Exploring Operation: 69-53=16, Resulting Numbers: [16] 16,43 unequal: No Solution Exploring Operation: 53+69=122, Resulting Numbers: [122] 122,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 43:[32, 16], Operations: ['80-48=32', '53-37=16'] Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,43 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,43 unequal: No Solution Exploring Operation: 32+16=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 32*16=512, Resulting Numbers: [512] 512,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 43:[53, 5], Operations: ['80-48=32', '37-32=5'] Exploring Operation: 53*5=265, Resulting Numbers: [265] 265,43 unequal: No Solution Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,43 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 43:[37, 85], Operations: ['80-48=32', '53+32=85'] Exploring Operation: 37+85=122, Resulting Numbers: [122] 122,43 unequal: No Solution Exploring Operation: 85-37=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 37*85=3145, Resulting Numbers: [3145] 3145,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 43:[48, 80, 16], Operations: ['53-37=16'] Exploring Operation: 48-16=32, Resulting Numbers: [80, 32] Generated Node #0,1,0: 43:[80, 32] Operation: 48-16=32 Exploring Operation: 80-16=64, Resulting Numbers: [48, 64] Generated Node #0,1,1: 43:[48, 64] Operation: 80-16=64 Exploring Operation: 80-48=32, Resulting Numbers: [16, 32] Generated Node #0,1,2: 43:[16, 32] Operation: 80-48=32 Exploring Operation: 80/16=5, Resulting Numbers: [48, 5] Generated Node #0,1,3: 43:[48, 5] Operation: 80/16=5 Exploring Operation: 48+16=64, Resulting Numbers: [80, 64] Generated Node #0,1,4: 43:[80, 64] Operation: 48+16=64 Moving to Node #0,2 Current State: 43:[53, 80, 11], Operations: ['48-37=11'] Exploring Operation: 53+11=64, Resulting Numbers: [80, 64] Generated Node #0,2,0: 43:[80, 64] Operation: 53+11=64 Exploring Operation: 80+11=91, Resulting Numbers: [53, 91] Generated Node #0,2,1: 43:[53, 91] Operation: 80+11=91 Exploring Operation: 80-53=27, Resulting Numbers: [11, 27] Generated Node #0,2,2: 43:[11, 27] Operation: 80-53=27 Exploring Operation: 53-11=42, Resulting Numbers: [80, 42] Generated Node #0,2,3: 43:[80, 42] Operation: 53-11=42 Exploring Operation: 80-11=69, Resulting Numbers: [53, 69] Generated Node #0,2,4: 43:[53, 69] Operation: 80-11=69 Moving to Node #0,4,1 Current State: 43:[48, 64], Operations: ['80-53=27', '37+27=64'] Exploring Operation: 64-48=16, Resulting Numbers: [16] 16,43 unequal: No Solution Exploring Operation: 48*64=3072, Resulting Numbers: [3072] 3072,43 unequal: No Solution Exploring Operation: 48+64=112, Resulting Numbers: [112] 112,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[48, 64], Operations: ['53-37=16', '80-16=64'] Exploring Operation: 48*64=3072, Resulting Numbers: [3072] 3072,43 unequal: No Solution Exploring Operation: 64-48=16, Resulting Numbers: [16] 16,43 unequal: No Solution Exploring Operation: 48+64=112, Resulting Numbers: [112] 112,43 unequal: No Solution Moving to Node #0,4,3 Current State: 43:[37, 21], Operations: ['80-53=27', '48-27=21'] Exploring Operation: 37+21=58, Resulting Numbers: [58] 58,43 unequal: No Solution Exploring Operation: 37*21=777, Resulting Numbers: [777] 777,43 unequal: No Solution Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,43 unequal: No Solution Moving to Node #0,2,4 Current State: 43:[53, 69], Operations: ['48-37=11', '80-11=69'] Exploring Operation: 53+69=122, Resulting Numbers: [122] 122,43 unequal: No Solution Exploring Operation: 53*69=3657, Resulting Numbers: [3657] 3657,43 unequal: No Solution Exploring Operation: 69-53=16, Resulting Numbers: [16] 16,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[16, 32], Operations: ['53-37=16', '80-48=32'] Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,43 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,43 unequal: No Solution Exploring Operation: 16*32=512, Resulting Numbers: [512] 512,43 unequal: No Solution Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,43 unequal: No Solution Moving to Node #0,4,0 Current State: 43:[37, 75], Operations: ['80-53=27', '48+27=75'] Exploring Operation: 37*75=2775, Resulting Numbers: [2775] 2775,43 unequal: No Solution Exploring Operation: 37+75=112, Resulting Numbers: [112] 112,43 unequal: No Solution Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[80, 42], Operations: ['48-37=11', '53-11=42'] Exploring Operation: 80+42=122, Resulting Numbers: [122] 122,43 unequal: No Solution Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 80*42=3360, Resulting Numbers: [3360] 3360,43 unequal: No Solution Moving to Node #0,4,4 Current State: 43:[48, 10], Operations: ['80-53=27', '37-27=10'] Exploring Operation: 48*10=480, Resulting Numbers: [480] 480,43 unequal: No Solution Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 48+10=58, Resulting Numbers: [58] 58,43 unequal: No Solution Moving to Node #0,1,3 Current State: 43:[48, 5], Operations: ['53-37=16', '80/16=5'] Exploring Operation: 48*5=240, Resulting Numbers: [240] 240,43 unequal: No Solution Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[37, 53, 48, 80], Operations: [] Exploring Operation: 53-37=16, Resulting Numbers: [48, 80, 16] Generated Node #0,1: 43:[48, 80, 16] Operation: 53-37=16 Moving to Node #0,1 Current State: 43:[48, 80, 16], Operations: ['53-37=16'] Exploring Operation: 80/16=5, Resulting Numbers: [48, 5] Generated Node #0,1,3: 43:[48, 5] Operation: 80/16=5 Moving to Node #0,1,3 Current State: 43:[48, 5], Operations: ['53-37=16', '80/16=5'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
0.919271
hs_5
mult_heuristic
[ 14, 96, 29, 67 ]
13
[ "96-29=67", "67/67=1", "14-1=13" ]
Current State: 13:[14, 96, 29, 67], Operations: [] Exploring Operation: 96-29=67, Resulting Numbers: [14, 67, 67] Generated Node #2: [14, 67, 67] from Operation: 96-29=67 Current State: 13:[14, 67, 67], Operations: ['96-29=67'] Exploring Operation: 67/67=1, Resulting Numbers: [14, 1] Generated Node #3: [14, 1] from Operation: 67/67=1 Current State: 13:[14, 1], Operations: ['96-29=67', '67/67=1'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[14, 96, 29, 67], Operations: [] Exploring Operation: 96-67=29, Resulting Numbers: [14, 29, 29] Generated Node #0,0: 13:[14, 29, 29] Operation: 96-67=29 Moving to Node #0,0 Current State: 13:[14, 29, 29], Operations: ['96-67=29'] Exploring Operation: 29/29=1, Resulting Numbers: [14, 1] Generated Node #0,0,0: 13:[14, 1] Operation: 29/29=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[14, 1], Operations: ['96-67=29', '29/29=1'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[14, 96, 29, 67], Operations: [] Exploring Operation: 96-67=29, Resulting Numbers: [14, 29, 29] Generated Node #0,0: 13:[14, 29, 29] Operation: 96-67=29 Moving to Node #0,0 Current State: 13:[14, 29, 29], Operations: ['96-67=29'] Exploring Operation: 29/29=1, Resulting Numbers: [14, 1] Generated Node #0,0,0: 13:[14, 1] Operation: 29/29=1 Moving to Node #0,0,0 Current State: 13:[14, 1], Operations: ['96-67=29', '29/29=1'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 96, 99, 91, 64 ]
40
[ "96+99=195", "91+64=155", "195-155=40" ]
Current State: 40:[96, 99, 91, 64], Operations: [] Exploring Operation: 96+99=195, Resulting Numbers: [91, 64, 195] Generated Node #2: [91, 64, 195] from Operation: 96+99=195 Current State: 40:[91, 64, 195], Operations: ['96+99=195'] Exploring Operation: 91+64=155, Resulting Numbers: [195, 155] Generated Node #3: [195, 155] from Operation: 91+64=155 Current State: 40:[195, 155], Operations: ['96+99=195', '91+64=155'] Exploring Operation: 195-155=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[96, 99, 91, 64], Operations: [] Exploring Operation: 96-64=32, Resulting Numbers: [99, 91, 32] Generated Node #0,0: 40:[99, 91, 32] Operation: 96-64=32 Exploring Operation: 96-91=5, Resulting Numbers: [99, 64, 5] Generated Node #0,1: 40:[99, 64, 5] Operation: 96-91=5 Exploring Operation: 99-96=3, Resulting Numbers: [91, 64, 3] Generated Node #0,2: 40:[91, 64, 3] Operation: 99-96=3 Exploring Operation: 99-64=35, Resulting Numbers: [96, 91, 35] Generated Node #0,3: 40:[96, 91, 35] Operation: 99-64=35 Exploring Operation: 99-91=8, Resulting Numbers: [96, 64, 8] Generated Node #0,4: 40:[96, 64, 8] Operation: 99-91=8 Moving to Node #0,2 Current State: 40:[91, 64, 3], Operations: ['99-96=3'] Exploring Operation: 91-3=88, Resulting Numbers: [64, 88] Generated Node #0,2,0: 40:[64, 88] Operation: 91-3=88 Exploring Operation: 64+3=67, Resulting Numbers: [91, 67] Generated Node #0,2,1: 40:[91, 67] Operation: 64+3=67 Exploring Operation: 64-3=61, Resulting Numbers: [91, 61] Generated Node #0,2,2: 40:[91, 61] Operation: 64-3=61 Exploring Operation: 91-64=27, Resulting Numbers: [3, 27] Generated Node #0,2,3: 40:[3, 27] Operation: 91-64=27 Exploring Operation: 91+3=94, Resulting Numbers: [64, 94] Generated Node #0,2,4: 40:[64, 94] Operation: 91+3=94 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 40:[3, 27], Operations: ['99-96=3', '91-64=27'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,40 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,40 unequal: No Solution Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,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,0 Current State: 40:[64, 88], Operations: ['99-96=3', '91-3=88'] Exploring Operation: 88-64=24, Resulting Numbers: [24] 24,40 unequal: No Solution Exploring Operation: 64+88=152, Resulting Numbers: [152] 152,40 unequal: No Solution Exploring Operation: 64*88=5632, Resulting Numbers: [5632] 5632,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:[91, 61], Operations: ['99-96=3', '64-3=61'] Exploring Operation: 91*61=5551, Resulting Numbers: [5551] 5551,40 unequal: No Solution Exploring Operation: 91+61=152, Resulting Numbers: [152] 152,40 unequal: No Solution Exploring Operation: 91-61=30, Resulting Numbers: [30] 30,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:[91, 67], Operations: ['99-96=3', '64+3=67'] Exploring Operation: 91*67=6097, Resulting Numbers: [6097] 6097,40 unequal: No Solution Exploring Operation: 91+67=158, Resulting Numbers: [158] 158,40 unequal: No Solution Exploring Operation: 91-67=24, Resulting Numbers: [24] 24,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:[64, 94], Operations: ['99-96=3', '91+3=94'] Exploring Operation: 64*94=6016, Resulting Numbers: [6016] 6016,40 unequal: No Solution Exploring Operation: 94-64=30, Resulting Numbers: [30] 30,40 unequal: No Solution Exploring Operation: 64+94=158, Resulting Numbers: [158] 158,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:[96, 64, 8], Operations: ['99-91=8'] Exploring Operation: 64-8=56, Resulting Numbers: [96, 56] Generated Node #0,4,0: 40:[96, 56] Operation: 64-8=56 Exploring Operation: 64/8=8, Resulting Numbers: [96, 8] Generated Node #0,4,1: 40:[96, 8] Operation: 64/8=8 Exploring Operation: 96-8=88, Resulting Numbers: [64, 88] Generated Node #0,4,2: 40:[64, 88] Operation: 96-8=88 Exploring Operation: 96/8=12, Resulting Numbers: [64, 12] Generated Node #0,4,3: 40:[64, 12] Operation: 96/8=12 Exploring Operation: 96-64=32, Resulting Numbers: [8, 32] Generated Node #0,4,4: 40:[8, 32] Operation: 96-64=32 Moving to Node #0,1 Current State: 40:[99, 64, 5], Operations: ['96-91=5'] Exploring Operation: 99-64=35, Resulting Numbers: [5, 35] Generated Node #0,1,0: 40:[5, 35] Operation: 99-64=35 Exploring Operation: 64+5=69, Resulting Numbers: [99, 69] Generated Node #0,1,1: 40:[99, 69] Operation: 64+5=69 Exploring Operation: 99-5=94, Resulting Numbers: [64, 94] Generated Node #0,1,2: 40:[64, 94] Operation: 99-5=94 Exploring Operation: 64-5=59, Resulting Numbers: [99, 59] Generated Node #0,1,3: 40:[99, 59] Operation: 64-5=59 Exploring Operation: 99+5=104, Resulting Numbers: [64, 104] Generated Node #0,1,4: 40:[64, 104] Operation: 99+5=104 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[5, 35], Operations: ['96-91=5', '99-64=35'] Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[96, 99, 91, 64], Operations: [] Exploring Operation: 96-91=5, Resulting Numbers: [99, 64, 5] Generated Node #0,1: 40:[99, 64, 5] Operation: 96-91=5 Moving to Node #0,1 Current State: 40:[99, 64, 5], Operations: ['96-91=5'] Exploring Operation: 99-64=35, Resulting Numbers: [5, 35] Generated Node #0,1,0: 40:[5, 35] Operation: 99-64=35 Moving to Node #0,1,0 Current State: 40:[5, 35], Operations: ['96-91=5', '99-64=35'] Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
mult_heuristic
[ 24, 93, 1, 4 ]
73
[ "93-24=69", "1*4=4", "69+4=73" ]
Current State: 73:[24, 93, 1, 4], Operations: [] Exploring Operation: 93-24=69, Resulting Numbers: [1, 4, 69] Generated Node #2: [1, 4, 69] from Operation: 93-24=69 Current State: 73:[1, 4, 69], Operations: ['93-24=69'] Exploring Operation: 1*4=4, Resulting Numbers: [69, 4] Generated Node #3: [69, 4] from Operation: 1*4=4 Current State: 73:[69, 4], Operations: ['93-24=69', '1*4=4'] Exploring Operation: 69+4=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[24, 93, 1, 4], Operations: [] Exploring Operation: 24*4=96, Resulting Numbers: [93, 1, 96] Generated Node #0,0: 73:[93, 1, 96] Operation: 24*4=96 Moving to Node #0,0 Current State: 73:[93, 1, 96], Operations: ['24*4=96'] Exploring Operation: 93-1=92, Resulting Numbers: [96, 92] Generated Node #0,0,0: 73:[96, 92] Operation: 93-1=92 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[96, 92], Operations: ['24*4=96', '93-1=92'] Exploring Operation: 96-92=4, Resulting Numbers: [4] 4,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 83, 16, 85, 66 ]
85
[ "83-16=67", "67-66=1", "85*1=85" ]
Current State: 85:[83, 16, 85, 66], Operations: [] Exploring Operation: 83-16=67, Resulting Numbers: [85, 66, 67] Generated Node #2: [85, 66, 67] from Operation: 83-16=67 Current State: 85:[85, 66, 67], Operations: ['83-16=67'] Exploring Operation: 67-66=1, Resulting Numbers: [85, 1] Generated Node #3: [85, 1] from Operation: 67-66=1 Current State: 85:[85, 1], Operations: ['83-16=67', '67-66=1'] Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[83, 16, 85, 66], Operations: [] Exploring Operation: 16+66=82, Resulting Numbers: [83, 85, 82] Generated Node #0,0: 85:[83, 85, 82] Operation: 16+66=82 Exploring Operation: 83-66=17, Resulting Numbers: [16, 85, 17] Generated Node #0,1: 85:[16, 85, 17] Operation: 83-66=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[16, 85, 17], Operations: ['83-66=17'] Exploring Operation: 17-16=1, Resulting Numbers: [85, 1] Generated Node #0,1,0: 85:[85, 1] Operation: 17-16=1 Exploring Operation: 85/17=5, Resulting Numbers: [16, 5] Generated Node #0,1,1: 85:[16, 5] Operation: 85/17=5 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 85:[16, 5], Operations: ['83-66=17', '85/17=5'] Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,85 unequal: No Solution Exploring Operation: 16*5=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:[85, 1], Operations: ['83-66=17', '17-16=1'] Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[83, 16, 85, 66], Operations: [] Exploring Operation: 83-66=17, Resulting Numbers: [16, 85, 17] Generated Node #0,1: 85:[16, 85, 17] Operation: 83-66=17 Moving to Node #0,1 Current State: 85:[16, 85, 17], Operations: ['83-66=17'] Exploring Operation: 17-16=1, Resulting Numbers: [85, 1] Generated Node #0,1,0: 85:[85, 1] Operation: 17-16=1 Moving to Node #0,1,0 Current State: 85:[85, 1], Operations: ['83-66=17', '17-16=1'] Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 35, 12, 74, 73 ]
46
[ "35+12=47", "74-73=1", "47-1=46" ]
Current State: 46:[35, 12, 74, 73], Operations: [] Exploring Operation: 35+12=47, Resulting Numbers: [74, 73, 47] Generated Node #2: [74, 73, 47] from Operation: 35+12=47 Current State: 46:[74, 73, 47], Operations: ['35+12=47'] Exploring Operation: 74-73=1, Resulting Numbers: [47, 1] Generated Node #3: [47, 1] from Operation: 74-73=1 Current State: 46:[47, 1], Operations: ['35+12=47', '74-73=1'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[35, 12, 74, 73], Operations: [] Exploring Operation: 74-35=39, Resulting Numbers: [12, 73, 39] Generated Node #0,0: 46:[12, 73, 39] Operation: 74-35=39 Exploring Operation: 73-35=38, Resulting Numbers: [12, 74, 38] Generated Node #0,1: 46:[12, 74, 38] Operation: 73-35=38 Exploring Operation: 73-12=61, Resulting Numbers: [35, 74, 61] Generated Node #0,2: 46:[35, 74, 61] Operation: 73-12=61 Exploring Operation: 74-73=1, Resulting Numbers: [35, 12, 1] Generated Node #0,3: 46:[35, 12, 1] Operation: 74-73=1 Exploring Operation: 74-12=62, Resulting Numbers: [35, 73, 62] Generated Node #0,4: 46:[35, 73, 62] Operation: 74-12=62 Moving to Node #0,3 Current State: 46:[35, 12, 1], Operations: ['74-73=1'] Exploring Operation: 12-1=11, Resulting Numbers: [35, 11] Generated Node #0,3,0: 46:[35, 11] Operation: 12-1=11 Exploring Operation: 35*1=35, Resulting Numbers: [12, 35] Generated Node #0,3,1: 46:[12, 35] Operation: 35*1=35 Exploring Operation: 35+1=36, Resulting Numbers: [12, 36] Generated Node #0,3,2: 46:[12, 36] Operation: 35+1=36 Exploring Operation: 35+12=47, Resulting Numbers: [1, 47] Generated Node #0,3,3: 46:[1, 47] Operation: 35+12=47 Exploring Operation: 35-12=23, Resulting Numbers: [1, 23] Generated Node #0,3,4: 46:[1, 23] Operation: 35-12=23 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 46:[1, 23], Operations: ['74-73=1', '35-12=23'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,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,3,3 Current State: 46:[1, 47], Operations: ['74-73=1', '35+12=47'] Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 1*47=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[35, 12, 74, 73], Operations: [] Exploring Operation: 74-73=1, Resulting Numbers: [35, 12, 1] Generated Node #0,3: 46:[35, 12, 1] Operation: 74-73=1 Moving to Node #0,3 Current State: 46:[35, 12, 1], Operations: ['74-73=1'] Exploring Operation: 35+12=47, Resulting Numbers: [1, 47] Generated Node #0,3,3: 46:[1, 47] Operation: 35+12=47 Moving to Node #0,3,3 Current State: 46:[1, 47], Operations: ['74-73=1', '35+12=47'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 27, 27, 40, 98 ]
84
[ "27+27=54", "40+98=138", "138-54=84" ]
Current State: 84:[27, 27, 40, 98], Operations: [] Exploring Operation: 27+27=54, Resulting Numbers: [40, 98, 54] Generated Node #2: [40, 98, 54] from Operation: 27+27=54 Current State: 84:[40, 98, 54], Operations: ['27+27=54'] Exploring Operation: 40+98=138, Resulting Numbers: [54, 138] Generated Node #3: [54, 138] from Operation: 40+98=138 Current State: 84:[54, 138], Operations: ['27+27=54', '40+98=138'] Exploring Operation: 138-54=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[27, 27, 40, 98], Operations: [] Exploring Operation: 40-27=13, Resulting Numbers: [27, 98, 13] Generated Node #0,0: 84:[27, 98, 13] Operation: 40-27=13 Exploring Operation: 98-27=71, Resulting Numbers: [27, 40, 71] Generated Node #0,1: 84:[27, 40, 71] Operation: 98-27=71 Exploring Operation: 40-27=13, Resulting Numbers: [27, 98, 13] Generated Node #0,2: 84:[27, 98, 13] Operation: 40-27=13 Exploring Operation: 98-27=71, Resulting Numbers: [27, 40, 71] Generated Node #0,3: 84:[27, 40, 71] Operation: 98-27=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[27, 98, 13], Operations: ['40-27=13'] Exploring Operation: 27+13=40, Resulting Numbers: [98, 40] Generated Node #0,0,0: 84:[98, 40] Operation: 27+13=40 Exploring Operation: 27-13=14, Resulting Numbers: [98, 14] Generated Node #0,0,1: 84:[98, 14] Operation: 27-13=14 Exploring Operation: 98-13=85, Resulting Numbers: [27, 85] Generated Node #0,0,2: 84:[27, 85] Operation: 98-13=85 Exploring Operation: 98-27=71, Resulting Numbers: [13, 71] Generated Node #0,0,3: 84:[13, 71] Operation: 98-27=71 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 84:[27, 85], Operations: ['40-27=13', '98-13=85'] Exploring Operation: 27*85=2295, Resulting Numbers: [2295] 2295,84 unequal: No Solution Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,84 unequal: No Solution Exploring Operation: 27+85=112, Resulting Numbers: [112] 112,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,0,1 Current State: 84:[98, 14], Operations: ['40-27=13', '27-13=14'] Exploring Operation: 98/14=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 98-14=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[27, 27, 40, 98], Operations: [] Exploring Operation: 40-27=13, Resulting Numbers: [27, 98, 13] Generated Node #0,0: 84:[27, 98, 13] Operation: 40-27=13 Moving to Node #0,0 Current State: 84:[27, 98, 13], Operations: ['40-27=13'] Exploring Operation: 27-13=14, Resulting Numbers: [98, 14] Generated Node #0,0,1: 84:[98, 14] Operation: 27-13=14 Moving to Node #0,0,1 Current State: 84:[98, 14], Operations: ['40-27=13', '27-13=14'] Exploring Operation: 98-14=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 45, 13, 33, 45 ]
46
[ "45+13=58", "45-33=12", "58-12=46" ]
Current State: 46:[45, 13, 33, 45], Operations: [] Exploring Operation: 45+13=58, Resulting Numbers: [33, 58] Generated Node #2: [33, 58] from Operation: 45+13=58 Current State: 46:[33, 58], Operations: ['45+13=58'] Exploring Operation: 45-33=12, Resulting Numbers: [58, 12] Generated Node #3: [58, 12] from Operation: 45-33=12 Current State: 46:[58, 12], Operations: ['45+13=58', '45-33=12'] Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[45, 13, 33, 45], Operations: [] Exploring Operation: 45-33=12, Resulting Numbers: [13, 45, 12] Generated Node #0,0: 46:[13, 45, 12] Operation: 45-33=12 Exploring Operation: 13+33=46, Resulting Numbers: [45, 45, 46] Generated Node #0,1: 46:[45, 45, 46] Operation: 13+33=46 Exploring Operation: 33-13=20, Resulting Numbers: [45, 45, 20] Generated Node #0,2: 46:[45, 45, 20] Operation: 33-13=20 Exploring Operation: 45-13=32, Resulting Numbers: [45, 33, 32] Generated Node #0,3: 46:[45, 33, 32] Operation: 45-13=32 Exploring Operation: 45-13=32, Resulting Numbers: [33, 45, 32] Generated Node #0,4: 46:[33, 45, 32] Operation: 45-13=32 Moving to Node #0,1 Current State: 46:[45, 45, 46], Operations: ['13+33=46'] Exploring Operation: 45-45=0, Resulting Numbers: [46, 0] Generated Node #0,1,0: 46:[46, 0] Operation: 45-45=0 Exploring Operation: 46-45=1, Resulting Numbers: [45, 1] Generated Node #0,1,1: 46:[45, 1] Operation: 46-45=1 Exploring Operation: 46-45=1, Resulting Numbers: [45, 1] Generated Node #0,1,2: 46:[45, 1] Operation: 46-45=1 Exploring Operation: 45/45=1, Resulting Numbers: [46, 1] Generated Node #0,1,3: 46:[46, 1] Operation: 45/45=1 Exploring Operation: 45+45=90, Resulting Numbers: [46, 90] Generated Node #0,1,4: 46:[46, 90] Operation: 45+45=90 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 46:[46, 1], Operations: ['13+33=46', '45/45=1'] Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[45, 13, 33, 45], Operations: [] Exploring Operation: 13+33=46, Resulting Numbers: [45, 45, 46] Generated Node #0,1: 46:[45, 45, 46] Operation: 13+33=46 Moving to Node #0,1 Current State: 46:[45, 45, 46], Operations: ['13+33=46'] Exploring Operation: 45/45=1, Resulting Numbers: [46, 1] Generated Node #0,1,3: 46:[46, 1] Operation: 45/45=1 Moving to Node #0,1,3 Current State: 46:[46, 1], Operations: ['13+33=46', '45/45=1'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 29, 62, 89, 28 ]
14
[ "29+62=91", "91-89=2", "28/2=14" ]
Current State: 14:[29, 62, 89, 28], Operations: [] Exploring Operation: 29+62=91, Resulting Numbers: [89, 28, 91] Generated Node #2: [89, 28, 91] from Operation: 29+62=91 Current State: 14:[89, 28, 91], Operations: ['29+62=91'] Exploring Operation: 91-89=2, Resulting Numbers: [28, 2] Generated Node #3: [28, 2] from Operation: 91-89=2 Current State: 14:[28, 2], Operations: ['29+62=91', '91-89=2'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[29, 62, 89, 28], Operations: [] Exploring Operation: 62-29=33, Resulting Numbers: [89, 28, 33] Generated Node #0,0: 14:[89, 28, 33] Operation: 62-29=33 Exploring Operation: 89-29=60, Resulting Numbers: [62, 28, 60] Generated Node #0,1: 14:[62, 28, 60] Operation: 89-29=60 Exploring Operation: 89-62=27, Resulting Numbers: [29, 28, 27] Generated Node #0,2: 14:[29, 28, 27] Operation: 89-62=27 Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[29, 28, 27], Operations: ['89-62=27'] Exploring Operation: 29-27=2, Resulting Numbers: [28, 2] Generated Node #0,2,0: 14:[28, 2] Operation: 29-27=2 Exploring Operation: 28-27=1, Resulting Numbers: [29, 1] Generated Node #0,2,1: 14:[29, 1] Operation: 28-27=1 Exploring Operation: 29-28=1, Resulting Numbers: [27, 1] Generated Node #0,2,2: 14:[27, 1] Operation: 29-28=1 Moving to Node #0,2,0 Current State: 14:[28, 2], Operations: ['89-62=27', '29-27=2'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[29, 62, 89, 28], Operations: [] Exploring Operation: 89-62=27, Resulting Numbers: [29, 28, 27] Generated Node #0,2: 14:[29, 28, 27] Operation: 89-62=27 Moving to Node #0,2 Current State: 14:[29, 28, 27], Operations: ['89-62=27'] Exploring Operation: 29-27=2, Resulting Numbers: [28, 2] Generated Node #0,2,0: 14:[28, 2] Operation: 29-27=2 Moving to Node #0,2,0 Current State: 14:[28, 2], Operations: ['89-62=27', '29-27=2'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 54, 17, 7, 73 ]
100
[ "73-54=19", "17*7=119", "119-19=100" ]
Current State: 100:[54, 17, 7, 73], Operations: [] Exploring Operation: 73-54=19, Resulting Numbers: [17, 7, 19] Generated Node #2: [17, 7, 19] from Operation: 73-54=19 Current State: 100:[17, 7, 19], Operations: ['73-54=19'] Exploring Operation: 17*7=119, Resulting Numbers: [19, 119] Generated Node #3: [19, 119] from Operation: 17*7=119 Current State: 100:[19, 119], Operations: ['73-54=19', '17*7=119'] Exploring Operation: 119-19=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[54, 17, 7, 73], Operations: [] Exploring Operation: 73-54=19, Resulting Numbers: [17, 7, 19] Generated Node #0,0: 100:[17, 7, 19] Operation: 73-54=19 Exploring Operation: 73-17=56, Resulting Numbers: [54, 7, 56] Generated Node #0,1: 100:[54, 7, 56] Operation: 73-17=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[17, 7, 19], Operations: ['73-54=19'] Exploring Operation: 17-7=10, Resulting Numbers: [19, 10] Generated Node #0,0,0: 100:[19, 10] Operation: 17-7=10 Exploring Operation: 17+7=24, Resulting Numbers: [19, 24] Generated Node #0,0,1: 100:[19, 24] Operation: 17+7=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[19, 10], Operations: ['73-54=19', '17-7=10'] Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,100 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,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,1 Current State: 100:[19, 24], Operations: ['73-54=19', '17+7=24'] Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,100 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,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:[54, 7, 56], Operations: ['73-17=56'] Exploring Operation: 56-54=2, Resulting Numbers: [7, 2] Generated Node #0,1,0: 100:[7, 2] Operation: 56-54=2 Exploring Operation: 56-7=49, Resulting Numbers: [54, 49] Generated Node #0,1,1: 100:[54, 49] Operation: 56-7=49 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[7, 2], Operations: ['73-17=56', '56-54=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,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:[54, 49], Operations: ['73-17=56', '56-7=49'] Exploring Operation: 54-49=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 54+49=103, Resulting Numbers: [103] 103,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 No solution found.
0
hs_2
sum_heuristic
[ 63, 99, 25, 56 ]
81
[ "63+99=162", "25+56=81", "162-81=81" ]
Current State: 81:[63, 99, 25, 56], Operations: [] Exploring Operation: 63+99=162, Resulting Numbers: [25, 56, 162] Generated Node #2: [25, 56, 162] from Operation: 63+99=162 Current State: 81:[25, 56, 162], Operations: ['63+99=162'] Exploring Operation: 25+56=81, Resulting Numbers: [162, 81] Generated Node #3: [162, 81] from Operation: 25+56=81 Current State: 81:[162, 81], Operations: ['63+99=162', '25+56=81'] Exploring Operation: 162-81=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[63, 99, 25, 56], Operations: [] Exploring Operation: 99-63=36, Resulting Numbers: [25, 56, 36] Generated Node #0,0: 81:[25, 56, 36] Operation: 99-63=36 Exploring Operation: 63-56=7, Resulting Numbers: [99, 25, 7] Generated Node #0,1: 81:[99, 25, 7] Operation: 63-56=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[99, 25, 7], Operations: ['63-56=7'] Exploring Operation: 99-7=92, Resulting Numbers: [25, 92] Generated Node #0,1,0: 81:[25, 92] Operation: 99-7=92 Exploring Operation: 99-25=74, Resulting Numbers: [7, 74] Generated Node #0,1,1: 81:[7, 74] Operation: 99-25=74 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 81:[7, 74], Operations: ['63-56=7', '99-25=74'] Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,81 unequal: No Solution Exploring Operation: 7+74=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[63, 99, 25, 56], Operations: [] Exploring Operation: 63-56=7, Resulting Numbers: [99, 25, 7] Generated Node #0,1: 81:[99, 25, 7] Operation: 63-56=7 Moving to Node #0,1 Current State: 81:[99, 25, 7], Operations: ['63-56=7'] Exploring Operation: 99-25=74, Resulting Numbers: [7, 74] Generated Node #0,1,1: 81:[7, 74] Operation: 99-25=74 Moving to Node #0,1,1 Current State: 81:[7, 74], Operations: ['63-56=7', '99-25=74'] Exploring Operation: 7+74=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 16, 21, 48, 32 ]
53
[ "16+21=37", "48-32=16", "37+16=53" ]
Current State: 53:[16, 21, 48, 32], Operations: [] Exploring Operation: 16+21=37, Resulting Numbers: [48, 32, 37] Generated Node #2: [48, 32, 37] from Operation: 16+21=37 Current State: 53:[48, 32, 37], Operations: ['16+21=37'] Exploring Operation: 48-32=16, Resulting Numbers: [37, 16] Generated Node #3: [37, 16] from Operation: 48-32=16 Current State: 53:[37, 16], Operations: ['16+21=37', '48-32=16'] Exploring Operation: 37+16=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[16, 21, 48, 32], Operations: [] Exploring Operation: 16+32=48, Resulting Numbers: [21, 48, 48] Generated Node #0,0: 53:[21, 48, 48] Operation: 16+32=48 Exploring Operation: 21+32=53, Resulting Numbers: [16, 48, 53] Generated Node #0,1: 53:[16, 48, 53] Operation: 21+32=53 Exploring Operation: 16+48=64, Resulting Numbers: [21, 32, 64] Generated Node #0,2: 53:[21, 32, 64] Operation: 16+48=64 Exploring Operation: 21-16=5, Resulting Numbers: [48, 32, 5] Generated Node #0,3: 53:[48, 32, 5] Operation: 21-16=5 Exploring Operation: 16+21=37, Resulting Numbers: [48, 32, 37] Generated Node #0,4: 53:[48, 32, 37] Operation: 16+21=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[21, 48, 48], Operations: ['16+32=48'] Exploring Operation: 48+48=96, Resulting Numbers: [21, 96] Generated Node #0,0,0: 53:[21, 96] Operation: 48+48=96 Exploring Operation: 48-21=27, Resulting Numbers: [48, 27] Generated Node #0,0,1: 53:[48, 27] Operation: 48-21=27 Exploring Operation: 48-21=27, Resulting Numbers: [48, 27] Generated Node #0,0,2: 53:[48, 27] Operation: 48-21=27 Exploring Operation: 21+48=69, Resulting Numbers: [48, 69] Generated Node #0,0,3: 53:[48, 69] Operation: 21+48=69 Exploring Operation: 21+48=69, Resulting Numbers: [48, 69] Generated Node #0,0,4: 53:[48, 69] Operation: 21+48=69 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 53:[48, 69], Operations: ['16+32=48', '21+48=69'] Exploring Operation: 48+69=117, Resulting Numbers: [117] 117,53 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 48*69=3312, Resulting Numbers: [3312] 3312,53 unequal: No Solution No 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: 53:[48, 69], Operations: ['16+32=48', '21+48=69'] Exploring Operation: 48+69=117, Resulting Numbers: [117] 117,53 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 48*69=3312, Resulting Numbers: [3312] 3312,53 unequal: No Solution No 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: 53:[48, 27], Operations: ['16+32=48', '48-21=27'] Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 48+27=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 48*27=1296, Resulting Numbers: [1296] 1296,53 unequal: No Solution No 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: 53:[48, 27], Operations: ['16+32=48', '48-21=27'] Exploring Operation: 48*27=1296, Resulting Numbers: [1296] 1296,53 unequal: No Solution Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 48+27=75, Resulting Numbers: [75] 75,53 unequal: No Solution No 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: 53:[21, 96], Operations: ['16+32=48', '48+48=96'] Exploring Operation: 96-21=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 21+96=117, Resulting Numbers: [117] 117,53 unequal: No Solution Exploring Operation: 21*96=2016, Resulting Numbers: [2016] 2016,53 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: 53:[16, 48, 53], Operations: ['21+32=53'] Exploring Operation: 16+53=69, Resulting Numbers: [48, 69] Generated Node #0,1,0: 53:[48, 69] Operation: 16+53=69 Exploring Operation: 48/16=3, Resulting Numbers: [53, 3] Generated Node #0,1,1: 53:[53, 3] Operation: 48/16=3 Exploring Operation: 16+48=64, Resulting Numbers: [53, 64] Generated Node #0,1,2: 53:[53, 64] Operation: 16+48=64 Exploring Operation: 53-16=37, Resulting Numbers: [48, 37] Generated Node #0,1,3: 53:[48, 37] Operation: 53-16=37 Exploring Operation: 48-16=32, Resulting Numbers: [53, 32] Generated Node #0,1,4: 53:[53, 32] Operation: 48-16=32 Moving to Node #0,1,2 Current State: 53:[53, 64], Operations: ['21+32=53', '16+48=64'] Exploring Operation: 53*64=3392, Resulting Numbers: [3392] 3392,53 unequal: No Solution Exploring Operation: 53+64=117, Resulting Numbers: [117] 117,53 unequal: No Solution Exploring Operation: 64-53=11, Resulting Numbers: [11] 11,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[48, 37], Operations: ['21+32=53', '53-16=37'] Exploring Operation: 48*37=1776, Resulting Numbers: [1776] 1776,53 unequal: No Solution Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 48+37=85, Resulting Numbers: [85] 85,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[48, 69], Operations: ['21+32=53', '16+53=69'] Exploring Operation: 48*69=3312, Resulting Numbers: [3312] 3312,53 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 48+69=117, Resulting Numbers: [117] 117,53 unequal: No Solution Moving to Node #0,1,4 Current State: 53:[53, 32], Operations: ['21+32=53', '48-16=32'] Exploring Operation: 53*32=1696, Resulting Numbers: [1696] 1696,53 unequal: No Solution Exploring Operation: 53+32=85, Resulting Numbers: [85] 85,53 unequal: No Solution Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[53, 3], Operations: ['21+32=53', '48/16=3'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,53 unequal: No Solution Exploring Operation: 53*3=159, Resulting Numbers: [159] 159,53 unequal: No Solution Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 53:[48, 32, 37], Operations: ['16+21=37'] Exploring Operation: 48+32=80, Resulting Numbers: [37, 80] Generated Node #0,4,0: 53:[37, 80] Operation: 48+32=80 Exploring Operation: 48+37=85, Resulting Numbers: [32, 85] Generated Node #0,4,1: 53:[32, 85] Operation: 48+37=85 Exploring Operation: 37-32=5, Resulting Numbers: [48, 5] Generated Node #0,4,2: 53:[48, 5] Operation: 37-32=5 Exploring Operation: 32+37=69, Resulting Numbers: [48, 69] Generated Node #0,4,3: 53:[48, 69] Operation: 32+37=69 Exploring Operation: 48-32=16, Resulting Numbers: [37, 16] Generated Node #0,4,4: 53:[37, 16] Operation: 48-32=16 Moving to Node #0,4,3 Current State: 53:[48, 69], Operations: ['16+21=37', '32+37=69'] Exploring Operation: 48+69=117, Resulting Numbers: [117] 117,53 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 48*69=3312, Resulting Numbers: [3312] 3312,53 unequal: No Solution Moving to Node #0,4,0 Current State: 53:[37, 80], Operations: ['16+21=37', '48+32=80'] Exploring Operation: 37+80=117, Resulting Numbers: [117] 117,53 unequal: No Solution Exploring Operation: 37*80=2960, Resulting Numbers: [2960] 2960,53 unequal: No Solution Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,53 unequal: No Solution Moving to Node #0,4,1 Current State: 53:[32, 85], Operations: ['16+21=37', '48+37=85'] Exploring Operation: 85-32=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[16, 21, 48, 32], Operations: [] Exploring Operation: 16+21=37, Resulting Numbers: [48, 32, 37] Generated Node #0,4: 53:[48, 32, 37] Operation: 16+21=37 Moving to Node #0,4 Current State: 53:[48, 32, 37], Operations: ['16+21=37'] Exploring Operation: 48+37=85, Resulting Numbers: [32, 85] Generated Node #0,4,1: 53:[32, 85] Operation: 48+37=85 Moving to Node #0,4,1 Current State: 53:[32, 85], Operations: ['16+21=37', '48+37=85'] Exploring Operation: 85-32=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.947049
hs_5
sum_heuristic
[ 28, 49, 79, 77 ]
35
[ "28*77=2156", "2156/49=44", "79-44=35" ]
Current State: 35:[28, 49, 79, 77], Operations: [] Exploring Operation: 28*77=2156, Resulting Numbers: [49, 79, 2156] Generated Node #2: [49, 79, 2156] from Operation: 28*77=2156 Current State: 35:[49, 79, 2156], Operations: ['28*77=2156'] Exploring Operation: 2156/49=44, Resulting Numbers: [79, 44] Generated Node #3: [79, 44] from Operation: 2156/49=44 Current State: 35:[79, 44], Operations: ['28*77=2156', '2156/49=44'] Exploring Operation: 79-44=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[28, 49, 79, 77], Operations: [] Exploring Operation: 79-49=30, Resulting Numbers: [28, 77, 30] Generated Node #0,0: 35:[28, 77, 30] Operation: 79-49=30 Exploring Operation: 79-77=2, Resulting Numbers: [28, 49, 2] Generated Node #0,1: 35:[28, 49, 2] Operation: 79-77=2 Moving to Node #0,1 Current State: 35:[28, 49, 2], Operations: ['79-77=2'] Exploring Operation: 49-28=21, Resulting Numbers: [2, 21] Generated Node #0,1,0: 35:[2, 21] Operation: 49-28=21 Exploring Operation: 28+2=30, Resulting Numbers: [49, 30] Generated Node #0,1,1: 35:[49, 30] Operation: 28+2=30 Moving to Node #0,0 Current State: 35:[28, 77, 30], Operations: ['79-49=30'] Exploring Operation: 77-30=47, Resulting Numbers: [28, 47] Generated Node #0,0,0: 35:[28, 47] Operation: 77-30=47 Exploring Operation: 77-28=49, Resulting Numbers: [30, 49] Generated Node #0,0,1: 35:[30, 49] Operation: 77-28=49 Moving to Node #0,1,0 Current State: 35:[2, 21], Operations: ['79-77=2', '49-28=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,35 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[28, 47], Operations: ['79-49=30', '77-30=47'] Exploring Operation: 28+47=75, Resulting Numbers: [75] 75,35 unequal: No Solution Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[49, 30], Operations: ['79-77=2', '28+2=30'] Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,35 unequal: No Solution Exploring Operation: 49+30=79, Resulting Numbers: [79] 79,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[30, 49], Operations: ['79-49=30', '77-28=49'] Exploring Operation: 30+49=79, Resulting Numbers: [79] 79,35 unequal: No Solution Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,35 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 32, 17, 6, 88 ]
45
[ "32+17=49", "6+88=94", "94-49=45" ]
Current State: 45:[32, 17, 6, 88], Operations: [] Exploring Operation: 32+17=49, Resulting Numbers: [6, 88, 49] Generated Node #2: [6, 88, 49] from Operation: 32+17=49 Current State: 45:[6, 88, 49], Operations: ['32+17=49'] Exploring Operation: 6+88=94, Resulting Numbers: [49, 94] Generated Node #3: [49, 94] from Operation: 6+88=94 Current State: 45:[49, 94], Operations: ['32+17=49', '6+88=94'] Exploring Operation: 94-49=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[32, 17, 6, 88], Operations: [] Exploring Operation: 32-17=15, Resulting Numbers: [6, 88, 15] Generated Node #0,0: 45:[6, 88, 15] Operation: 32-17=15 Exploring Operation: 88-17=71, Resulting Numbers: [32, 6, 71] Generated Node #0,1: 45:[32, 6, 71] Operation: 88-17=71 Exploring Operation: 88-32=56, Resulting Numbers: [17, 6, 56] Generated Node #0,2: 45:[17, 6, 56] Operation: 88-32=56 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[17, 6, 56], Operations: ['88-32=56'] Exploring Operation: 56-17=39, Resulting Numbers: [6, 39] Generated Node #0,2,0: 45:[6, 39] Operation: 56-17=39 Exploring Operation: 56-6=50, Resulting Numbers: [17, 50] Generated Node #0,2,1: 45:[17, 50] Operation: 56-6=50 Exploring Operation: 17-6=11, Resulting Numbers: [56, 11] Generated Node #0,2,2: 45:[56, 11] Operation: 17-6=11 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 45:[6, 39], Operations: ['88-32=56', '56-17=39'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,45 unequal: No Solution Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[32, 17, 6, 88], Operations: [] Exploring Operation: 88-32=56, Resulting Numbers: [17, 6, 56] Generated Node #0,2: 45:[17, 6, 56] Operation: 88-32=56 Moving to Node #0,2 Current State: 45:[17, 6, 56], Operations: ['88-32=56'] Exploring Operation: 56-17=39, Resulting Numbers: [6, 39] Generated Node #0,2,0: 45:[6, 39] Operation: 56-17=39 Moving to Node #0,2,0 Current State: 45:[6, 39], Operations: ['88-32=56', '56-17=39'] Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 95, 41, 37, 60 ]
82
[ "95-37=58", "60-58=2", "41*2=82" ]
Current State: 82:[95, 41, 37, 60], Operations: [] Exploring Operation: 95-37=58, Resulting Numbers: [41, 60, 58] Generated Node #2: [41, 60, 58] from Operation: 95-37=58 Current State: 82:[41, 60, 58], Operations: ['95-37=58'] Exploring Operation: 60-58=2, Resulting Numbers: [41, 2] Generated Node #3: [41, 2] from Operation: 60-58=2 Current State: 82:[41, 2], Operations: ['95-37=58', '60-58=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[95, 41, 37, 60], Operations: [] Exploring Operation: 37+60=97, Resulting Numbers: [95, 41, 97] Generated Node #0,0: 82:[95, 41, 97] Operation: 37+60=97 Exploring Operation: 60-37=23, Resulting Numbers: [95, 41, 23] Generated Node #0,1: 82:[95, 41, 23] Operation: 60-37=23 Exploring Operation: 41-37=4, Resulting Numbers: [95, 60, 4] Generated Node #0,2: 82:[95, 60, 4] Operation: 41-37=4 Exploring Operation: 60-41=19, Resulting Numbers: [95, 37, 19] Generated Node #0,3: 82:[95, 37, 19] Operation: 60-41=19 Exploring Operation: 95-60=35, Resulting Numbers: [41, 37, 35] Generated Node #0,4: 82:[41, 37, 35] Operation: 95-60=35 Moving to Node #0,4 Current State: 82:[41, 37, 35], Operations: ['95-60=35'] Exploring Operation: 41+37=78, Resulting Numbers: [35, 78] Generated Node #0,4,0: 82:[35, 78] Operation: 41+37=78 Exploring Operation: 41-37=4, Resulting Numbers: [35, 4] Generated Node #0,4,1: 82:[35, 4] Operation: 41-37=4 Exploring Operation: 37-35=2, Resulting Numbers: [41, 2] Generated Node #0,4,2: 82:[41, 2] Operation: 37-35=2 Exploring Operation: 41+35=76, Resulting Numbers: [37, 76] Generated Node #0,4,3: 82:[37, 76] Operation: 41+35=76 Exploring Operation: 41-35=6, Resulting Numbers: [37, 6] Generated Node #0,4,4: 82:[37, 6] Operation: 41-35=6 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 82:[41, 2], Operations: ['95-60=35', '37-35=2'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[95, 41, 37, 60], Operations: [] Exploring Operation: 95-60=35, Resulting Numbers: [41, 37, 35] Generated Node #0,4: 82:[41, 37, 35] Operation: 95-60=35 Moving to Node #0,4 Current State: 82:[41, 37, 35], Operations: ['95-60=35'] Exploring Operation: 37-35=2, Resulting Numbers: [41, 2] Generated Node #0,4,2: 82:[41, 2] Operation: 37-35=2 Moving to Node #0,4,2 Current State: 82:[41, 2], Operations: ['95-60=35', '37-35=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 63, 99, 71, 94 ]
59
[ "99-63=36", "94-71=23", "36+23=59" ]
Current State: 59:[63, 99, 71, 94], Operations: [] Exploring Operation: 99-63=36, Resulting Numbers: [71, 94, 36] Generated Node #2: [71, 94, 36] from Operation: 99-63=36 Current State: 59:[71, 94, 36], Operations: ['99-63=36'] Exploring Operation: 94-71=23, Resulting Numbers: [36, 23] Generated Node #3: [36, 23] from Operation: 94-71=23 Current State: 59:[36, 23], Operations: ['99-63=36', '94-71=23'] Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[63, 99, 71, 94], Operations: [] Exploring Operation: 99-63=36, Resulting Numbers: [71, 94, 36] Generated Node #0,0: 59:[71, 94, 36] Operation: 99-63=36 Moving to Node #0,0 Current State: 59:[71, 94, 36], Operations: ['99-63=36'] Exploring Operation: 94-36=58, Resulting Numbers: [71, 58] Generated Node #0,0,0: 59:[71, 58] Operation: 94-36=58 Moving to Node #0,0,0 Current State: 59:[71, 58], Operations: ['99-63=36', '94-36=58'] Exploring Operation: 71-58=13, Resulting Numbers: [13] 13,59 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 75, 4, 79, 83 ]
76
[ "4+79=83", "83/83=1", "75+1=76" ]
Current State: 76:[75, 4, 79, 83], Operations: [] Exploring Operation: 4+79=83, Resulting Numbers: [75, 83, 83] Generated Node #2: [75, 83, 83] from Operation: 4+79=83 Current State: 76:[75, 83, 83], Operations: ['4+79=83'] Exploring Operation: 83/83=1, Resulting Numbers: [75, 1] Generated Node #3: [75, 1] from Operation: 83/83=1 Current State: 76:[75, 1], Operations: ['4+79=83', '83/83=1'] Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[75, 4, 79, 83], Operations: [] Exploring Operation: 83-79=4, Resulting Numbers: [75, 4, 4] Generated Node #0,0: 76:[75, 4, 4] Operation: 83-79=4 Exploring Operation: 79-75=4, Resulting Numbers: [4, 83, 4] Generated Node #0,1: 76:[4, 83, 4] Operation: 79-75=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[75, 4, 4], Operations: ['83-79=4'] Exploring Operation: 75+4=79, Resulting Numbers: [4, 79] Generated Node #0,0,0: 76:[4, 79] Operation: 75+4=79 Exploring Operation: 4/4=1, Resulting Numbers: [75, 1] Generated Node #0,0,1: 76:[75, 1] Operation: 4/4=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[75, 1], Operations: ['83-79=4', '4/4=1'] Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[75, 4, 79, 83], Operations: [] Exploring Operation: 83-79=4, Resulting Numbers: [75, 4, 4] Generated Node #0,0: 76:[75, 4, 4] Operation: 83-79=4 Moving to Node #0,0 Current State: 76:[75, 4, 4], Operations: ['83-79=4'] Exploring Operation: 4/4=1, Resulting Numbers: [75, 1] Generated Node #0,0,1: 76:[75, 1] Operation: 4/4=1 Moving to Node #0,0,1 Current State: 76:[75, 1], Operations: ['83-79=4', '4/4=1'] Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 42, 12, 21, 25 ]
76
[ "42-12=30", "21+25=46", "30+46=76" ]
Current State: 76:[42, 12, 21, 25], Operations: [] Exploring Operation: 42-12=30, Resulting Numbers: [21, 25, 30] Generated Node #2: [21, 25, 30] from Operation: 42-12=30 Current State: 76:[21, 25, 30], Operations: ['42-12=30'] Exploring Operation: 21+25=46, Resulting Numbers: [30, 46] Generated Node #3: [30, 46] from Operation: 21+25=46 Current State: 76:[30, 46], Operations: ['42-12=30', '21+25=46'] Exploring Operation: 30+46=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[42, 12, 21, 25], Operations: [] Exploring Operation: 25-12=13, Resulting Numbers: [42, 21, 13] Generated Node #0,0: 76:[42, 21, 13] Operation: 25-12=13 Exploring Operation: 25-21=4, Resulting Numbers: [42, 12, 4] Generated Node #0,1: 76:[42, 12, 4] Operation: 25-21=4 Exploring Operation: 42-25=17, Resulting Numbers: [12, 21, 17] Generated Node #0,2: 76:[12, 21, 17] Operation: 42-25=17 Exploring Operation: 42/21=2, Resulting Numbers: [12, 25, 2] Generated Node #0,3: 76:[12, 25, 2] Operation: 42/21=2 Exploring Operation: 12+25=37, Resulting Numbers: [42, 21, 37] Generated Node #0,4: 76:[42, 21, 37] Operation: 12+25=37 Moving to Node #0,4 Current State: 76:[42, 21, 37], Operations: ['12+25=37'] Exploring Operation: 42-37=5, Resulting Numbers: [21, 5] Generated Node #0,4,0: 76:[21, 5] Operation: 42-37=5 Exploring Operation: 42-21=21, Resulting Numbers: [37, 21] Generated Node #0,4,1: 76:[37, 21] Operation: 42-21=21 Exploring Operation: 42+37=79, Resulting Numbers: [21, 79] Generated Node #0,4,2: 76:[21, 79] Operation: 42+37=79 Exploring Operation: 42/21=2, Resulting Numbers: [37, 2] Generated Node #0,4,3: 76:[37, 2] Operation: 42/21=2 Exploring Operation: 37-21=16, Resulting Numbers: [42, 16] Generated Node #0,4,4: 76:[42, 16] Operation: 37-21=16 Moving to Node #0,2 Current State: 76:[12, 21, 17], Operations: ['42-25=17'] Exploring Operation: 21-17=4, Resulting Numbers: [12, 4] Generated Node #0,2,0: 76:[12, 4] Operation: 21-17=4 Exploring Operation: 21-12=9, Resulting Numbers: [17, 9] Generated Node #0,2,1: 76:[17, 9] Operation: 21-12=9 Exploring Operation: 12+21=33, Resulting Numbers: [17, 33] Generated Node #0,2,2: 76:[17, 33] Operation: 12+21=33 Exploring Operation: 21+17=38, Resulting Numbers: [12, 38] Generated Node #0,2,3: 76:[12, 38] Operation: 21+17=38 Exploring Operation: 17-12=5, Resulting Numbers: [21, 5] Generated Node #0,2,4: 76:[21, 5] Operation: 17-12=5 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 76:[21, 5], Operations: ['42-25=17', '17-12=5'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,76 unequal: No Solution Exploring Operation: 21+5=26, Resulting Numbers: [26] 26,76 unequal: No Solution Exploring Operation: 21*5=105, Resulting Numbers: [105] 105,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[12, 4], Operations: ['42-25=17', '21-17=4'] Exploring Operation: 12*4=48, Resulting Numbers: [48] 48,76 unequal: No Solution Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,76 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[17, 9], Operations: ['42-25=17', '21-12=9'] Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,76 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[17, 33], Operations: ['42-25=17', '12+21=33'] Exploring Operation: 17+33=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,76 unequal: No Solution Exploring Operation: 17*33=561, Resulting Numbers: [561] 561,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 76:[12, 38], Operations: ['42-25=17', '21+17=38'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,76 unequal: No Solution Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 12*38=456, Resulting Numbers: [456] 456,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 76:[42, 12, 4], Operations: ['25-21=4'] Exploring Operation: 12-4=8, Resulting Numbers: [42, 8] Generated Node #0,1,0: 76:[42, 8] Operation: 12-4=8 Exploring Operation: 12+4=16, Resulting Numbers: [42, 16] Generated Node #0,1,1: 76:[42, 16] Operation: 12+4=16 Exploring Operation: 42-12=30, Resulting Numbers: [4, 30] Generated Node #0,1,2: 76:[4, 30] Operation: 42-12=30 Exploring Operation: 42-4=38, Resulting Numbers: [12, 38] Generated Node #0,1,3: 76:[12, 38] Operation: 42-4=38 Exploring Operation: 12/4=3, Resulting Numbers: [42, 3] Generated Node #0,1,4: 76:[42, 3] Operation: 12/4=3 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 76:[42, 3], Operations: ['25-21=4', '12/4=3'] Exploring Operation: 42*3=126, Resulting Numbers: [126] 126,76 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,76 unequal: No Solution Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,76 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[42, 16], Operations: ['25-21=4', '12+4=16'] Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,76 unequal: No Solution Exploring Operation: 42*16=672, Resulting Numbers: [672] 672,76 unequal: No Solution Exploring Operation: 42+16=58, Resulting Numbers: [58] 58,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 76:[12, 38], Operations: ['25-21=4', '42-4=38'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,76 unequal: No Solution Exploring Operation: 12*38=456, Resulting Numbers: [456] 456,76 unequal: No Solution Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[42, 8], Operations: ['25-21=4', '12-4=8'] Exploring Operation: 42*8=336, Resulting Numbers: [336] 336,76 unequal: No Solution Exploring Operation: 42+8=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 76:[4, 30], Operations: ['25-21=4', '42-12=30'] Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,76 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,76 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 76:[42, 21, 13], Operations: ['25-12=13'] Exploring Operation: 42-13=29, Resulting Numbers: [21, 29] Generated Node #0,0,0: 76:[21, 29] Operation: 42-13=29 Exploring Operation: 42-21=21, Resulting Numbers: [13, 21] Generated Node #0,0,1: 76:[13, 21] Operation: 42-21=21 Exploring Operation: 21+13=34, Resulting Numbers: [42, 34] Generated Node #0,0,2: 76:[42, 34] Operation: 21+13=34 Exploring Operation: 21-13=8, Resulting Numbers: [42, 8] Generated Node #0,0,3: 76:[42, 8] Operation: 21-13=8 Exploring Operation: 42/21=2, Resulting Numbers: [13, 2] Generated Node #0,0,4: 76:[13, 2] Operation: 42/21=2 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 76:[13, 2], Operations: ['25-12=13', '42/21=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,76 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,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,1 Current State: 76:[13, 21], Operations: ['25-12=13', '42-21=21'] Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 13*21=273, Resulting Numbers: [273] 273,76 unequal: No Solution Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[42, 34], Operations: ['25-12=13', '21+13=34'] Exploring Operation: 42+34=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[42, 12, 21, 25], Operations: [] Exploring Operation: 25-12=13, Resulting Numbers: [42, 21, 13] Generated Node #0,0: 76:[42, 21, 13] Operation: 25-12=13 Moving to Node #0,0 Current State: 76:[42, 21, 13], Operations: ['25-12=13'] Exploring Operation: 21+13=34, Resulting Numbers: [42, 34] Generated Node #0,0,2: 76:[42, 34] Operation: 21+13=34 Moving to Node #0,0,2 Current State: 76:[42, 34], Operations: ['25-12=13', '21+13=34'] Exploring Operation: 42+34=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.940972
hs_5
sum_heuristic
[ 3, 20, 83, 55 ]
64
[ "83-55=28", "3*28=84", "84-20=64" ]
Current State: 64:[3, 20, 83, 55], Operations: [] Exploring Operation: 83-55=28, Resulting Numbers: [3, 20, 28] Generated Node #2: [3, 20, 28] from Operation: 83-55=28 Current State: 64:[3, 20, 28], Operations: ['83-55=28'] Exploring Operation: 3*28=84, Resulting Numbers: [20, 84] Generated Node #3: [20, 84] from Operation: 3*28=84 Current State: 64:[20, 84], Operations: ['83-55=28', '3*28=84'] Exploring Operation: 84-20=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[3, 20, 83, 55], Operations: [] Exploring Operation: 83-20=63, Resulting Numbers: [3, 55, 63] Generated Node #0,0: 64:[3, 55, 63] Operation: 83-20=63 Exploring Operation: 55-20=35, Resulting Numbers: [3, 83, 35] Generated Node #0,1: 64:[3, 83, 35] Operation: 55-20=35 Exploring Operation: 83-55=28, Resulting Numbers: [3, 20, 28] Generated Node #0,2: 64:[3, 20, 28] Operation: 83-55=28 Exploring Operation: 20-3=17, Resulting Numbers: [83, 55, 17] Generated Node #0,3: 64:[83, 55, 17] Operation: 20-3=17 Exploring Operation: 83-3=80, Resulting Numbers: [20, 55, 80] Generated Node #0,4: 64:[20, 55, 80] Operation: 83-3=80 Moving to Node #0,2 Current State: 64:[3, 20, 28], Operations: ['83-55=28'] Exploring Operation: 3+28=31, Resulting Numbers: [20, 31] Generated Node #0,2,0: 64:[20, 31] Operation: 3+28=31 Exploring Operation: 28-20=8, Resulting Numbers: [3, 8] Generated Node #0,2,1: 64:[3, 8] Operation: 28-20=8 Exploring Operation: 20-3=17, Resulting Numbers: [28, 17] Generated Node #0,2,2: 64:[28, 17] Operation: 20-3=17 Exploring Operation: 3+20=23, Resulting Numbers: [28, 23] Generated Node #0,2,3: 64:[28, 23] Operation: 3+20=23 Exploring Operation: 3*20=60, Resulting Numbers: [28, 60] Generated Node #0,2,4: 64:[28, 60] Operation: 3*20=60 Moving to Node #0,0 Current State: 64:[3, 55, 63], Operations: ['83-20=63'] Exploring Operation: 3+63=66, Resulting Numbers: [55, 66] Generated Node #0,0,0: 64:[55, 66] Operation: 3+63=66 Exploring Operation: 63-55=8, Resulting Numbers: [3, 8] Generated Node #0,0,1: 64:[3, 8] Operation: 63-55=8 Exploring Operation: 63-3=60, Resulting Numbers: [55, 60] Generated Node #0,0,2: 64:[55, 60] Operation: 63-3=60 Exploring Operation: 55-3=52, Resulting Numbers: [63, 52] Generated Node #0,0,3: 64:[63, 52] Operation: 55-3=52 Exploring Operation: 3+55=58, Resulting Numbers: [63, 58] Generated Node #0,0,4: 64:[63, 58] Operation: 3+55=58 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[3, 8], Operations: ['83-20=63', '63-55=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,64 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 64:[63, 58], Operations: ['83-20=63', '3+55=58'] Exploring Operation: 63*58=3654, Resulting Numbers: [3654] 3654,64 unequal: No Solution Exploring Operation: 63+58=121, Resulting Numbers: [121] 121,64 unequal: No Solution Exploring Operation: 63-58=5, Resulting Numbers: [5] 5,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[55, 66], Operations: ['83-20=63', '3+63=66'] Exploring Operation: 55*66=3630, Resulting Numbers: [3630] 3630,64 unequal: No Solution Exploring Operation: 66-55=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 55+66=121, Resulting Numbers: [121] 121,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[55, 60], Operations: ['83-20=63', '63-3=60'] Exploring Operation: 55+60=115, Resulting Numbers: [115] 115,64 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 55*60=3300, Resulting Numbers: [3300] 3300,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 64:[63, 52], Operations: ['83-20=63', '55-3=52'] Exploring Operation: 63*52=3276, Resulting Numbers: [3276] 3276,64 unequal: No Solution Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 63+52=115, Resulting Numbers: [115] 115,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 64:[3, 83, 35], Operations: ['55-20=35'] Exploring Operation: 3+35=38, Resulting Numbers: [83, 38] Generated Node #0,1,0: 64:[83, 38] Operation: 3+35=38 Exploring Operation: 35-3=32, Resulting Numbers: [83, 32] Generated Node #0,1,1: 64:[83, 32] Operation: 35-3=32 Exploring Operation: 3+83=86, Resulting Numbers: [35, 86] Generated Node #0,1,2: 64:[35, 86] Operation: 3+83=86 Exploring Operation: 83-35=48, Resulting Numbers: [3, 48] Generated Node #0,1,3: 64:[3, 48] Operation: 83-35=48 Exploring Operation: 83-3=80, Resulting Numbers: [35, 80] Generated Node #0,1,4: 64:[35, 80] Operation: 83-3=80 Moving to Node #0,3 Current State: 64:[83, 55, 17], Operations: ['20-3=17'] Exploring Operation: 83-17=66, Resulting Numbers: [55, 66] Generated Node #0,3,0: 64:[55, 66] Operation: 83-17=66 Exploring Operation: 83-55=28, Resulting Numbers: [17, 28] Generated Node #0,3,1: 64:[17, 28] Operation: 83-55=28 Exploring Operation: 55+17=72, Resulting Numbers: [83, 72] Generated Node #0,3,2: 64:[83, 72] Operation: 55+17=72 Exploring Operation: 83+17=100, Resulting Numbers: [55, 100] Generated Node #0,3,3: 64:[55, 100] Operation: 83+17=100 Exploring Operation: 55-17=38, Resulting Numbers: [83, 38] Generated Node #0,3,4: 64:[83, 38] Operation: 55-17=38 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 64:[17, 28], Operations: ['20-3=17', '83-55=28'] Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 17*28=476, Resulting Numbers: [476] 476,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 64:[55, 66], Operations: ['20-3=17', '83-17=66'] Exploring Operation: 55*66=3630, Resulting Numbers: [3630] 3630,64 unequal: No Solution Exploring Operation: 66-55=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 55+66=121, Resulting Numbers: [121] 121,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 64:[83, 38], Operations: ['20-3=17', '55-17=38'] Exploring Operation: 83-38=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 83+38=121, Resulting Numbers: [121] 121,64 unequal: No Solution Exploring Operation: 83*38=3154, Resulting Numbers: [3154] 3154,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 64:[83, 72], Operations: ['20-3=17', '55+17=72'] Exploring Operation: 83*72=5976, Resulting Numbers: [5976] 5976,64 unequal: No Solution Exploring Operation: 83+72=155, Resulting Numbers: [155] 155,64 unequal: No Solution Exploring Operation: 83-72=11, Resulting Numbers: [11] 11,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 64:[55, 100], Operations: ['20-3=17', '83+17=100'] Exploring Operation: 55+100=155, Resulting Numbers: [155] 155,64 unequal: No Solution Exploring Operation: 100-55=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 55*100=5500, Resulting Numbers: [5500] 5500,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 64:[20, 55, 80], Operations: ['83-3=80'] Exploring Operation: 20+55=75, Resulting Numbers: [80, 75] Generated Node #0,4,0: 64:[80, 75] Operation: 20+55=75 Exploring Operation: 55-20=35, Resulting Numbers: [80, 35] Generated Node #0,4,1: 64:[80, 35] Operation: 55-20=35 Exploring Operation: 80/20=4, Resulting Numbers: [55, 4] Generated Node #0,4,2: 64:[55, 4] Operation: 80/20=4 Exploring Operation: 80-20=60, Resulting Numbers: [55, 60] Generated Node #0,4,3: 64:[55, 60] Operation: 80-20=60 Exploring Operation: 80-55=25, Resulting Numbers: [20, 25] Generated Node #0,4,4: 64:[20, 25] Operation: 80-55=25 Moving to Node #0,2,1 Current State: 64:[3, 8], Operations: ['83-55=28', '28-20=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[28, 17], Operations: ['83-55=28', '20-3=17'] Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[20, 31], Operations: ['83-55=28', '3+28=31'] Exploring Operation: 20*31=620, Resulting Numbers: [620] 620,64 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 20+31=51, Resulting Numbers: [51] 51,64 unequal: No Solution Moving to Node #0,2,4 Current State: 64:[28, 60], Operations: ['83-55=28', '3*20=60'] Exploring Operation: 28*60=1680, Resulting Numbers: [1680] 1680,64 unequal: No Solution Exploring Operation: 28+60=88, Resulting Numbers: [88] 88,64 unequal: No Solution Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,64 unequal: No Solution Moving to Node #0,4,2 Current State: 64:[55, 4], Operations: ['83-3=80', '80/20=4'] Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,64 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,64 unequal: No Solution Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,64 unequal: No Solution Moving to Node #0,4,4 Current State: 64:[20, 25], Operations: ['83-3=80', '80-55=25'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,64 unequal: No Solution Moving to Node #0,2,3 Current State: 64:[28, 23], Operations: ['83-55=28', '3+20=23'] Exploring Operation: 28*23=644, Resulting Numbers: [644] 644,64 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 28+23=51, Resulting Numbers: [51] 51,64 unequal: No Solution Moving to Node #0,4,3 Current State: 64:[55, 60], Operations: ['83-3=80', '80-20=60'] Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 55*60=3300, Resulting Numbers: [3300] 3300,64 unequal: No Solution Exploring Operation: 55+60=115, Resulting Numbers: [115] 115,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[3, 48], Operations: ['55-20=35', '83-35=48'] Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,64 unequal: No Solution Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[83, 32], Operations: ['55-20=35', '35-3=32'] Exploring Operation: 83-32=51, Resulting Numbers: [51] 51,64 unequal: No Solution Exploring Operation: 83*32=2656, Resulting Numbers: [2656] 2656,64 unequal: No Solution Exploring Operation: 83+32=115, Resulting Numbers: [115] 115,64 unequal: No Solution Moving to Node #0,1,4 Current State: 64:[35, 80], Operations: ['55-20=35', '83-3=80'] Exploring Operation: 80-35=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 35+80=115, Resulting Numbers: [115] 115,64 unequal: No Solution Exploring Operation: 35*80=2800, Resulting Numbers: [2800] 2800,64 unequal: No Solution Moving to Node #0,4,1 Current State: 64:[80, 35], Operations: ['83-3=80', '55-20=35'] Exploring Operation: 80+35=115, Resulting Numbers: [115] 115,64 unequal: No Solution Exploring Operation: 80-35=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 80*35=2800, Resulting Numbers: [2800] 2800,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[83, 38], Operations: ['55-20=35', '3+35=38'] Exploring Operation: 83+38=121, Resulting Numbers: [121] 121,64 unequal: No Solution Exploring Operation: 83-38=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 83*38=3154, Resulting Numbers: [3154] 3154,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[35, 86], Operations: ['55-20=35', '3+83=86'] Exploring Operation: 35*86=3010, Resulting Numbers: [3010] 3010,64 unequal: No Solution Exploring Operation: 86-35=51, Resulting Numbers: [51] 51,64 unequal: No Solution Exploring Operation: 35+86=121, Resulting Numbers: [121] 121,64 unequal: No Solution Moving to Node #0,4,0 Current State: 64:[80, 75], Operations: ['83-3=80', '20+55=75'] Exploring Operation: 80*75=6000, Resulting Numbers: [6000] 6000,64 unequal: No Solution Exploring Operation: 80+75=155, Resulting Numbers: [155] 155,64 unequal: No Solution Exploring Operation: 80-75=5, Resulting Numbers: [5] 5,64 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 31, 37, 14, 96 ]
12
[ "37-31=6", "14*6=84", "96-84=12" ]
Current State: 12:[31, 37, 14, 96], Operations: [] Exploring Operation: 37-31=6, Resulting Numbers: [14, 96, 6] Generated Node #2: [14, 96, 6] from Operation: 37-31=6 Current State: 12:[14, 96, 6], Operations: ['37-31=6'] Exploring Operation: 14*6=84, Resulting Numbers: [96, 84] Generated Node #3: [96, 84] from Operation: 14*6=84 Current State: 12:[96, 84], Operations: ['37-31=6', '14*6=84'] Exploring Operation: 96-84=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[31, 37, 14, 96], Operations: [] Exploring Operation: 96-37=59, Resulting Numbers: [31, 14, 59] Generated Node #0,0: 12:[31, 14, 59] Operation: 96-37=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[31, 14, 59], Operations: ['96-37=59'] Exploring Operation: 59-31=28, Resulting Numbers: [14, 28] Generated Node #0,0,0: 12:[14, 28] Operation: 59-31=28 Moving to Node #0,0,0 Current State: 12:[14, 28], Operations: ['96-37=59', '59-31=28'] Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,12 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
[ 38, 17, 56, 16 ]
19
[ "38-17=21", "56-16=40", "40-21=19" ]
Current State: 19:[38, 17, 56, 16], Operations: [] Exploring Operation: 38-17=21, Resulting Numbers: [56, 16, 21] Generated Node #2: [56, 16, 21] from Operation: 38-17=21 Current State: 19:[56, 16, 21], Operations: ['38-17=21'] Exploring Operation: 56-16=40, Resulting Numbers: [21, 40] Generated Node #3: [21, 40] from Operation: 56-16=40 Current State: 19:[21, 40], Operations: ['38-17=21', '56-16=40'] Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[38, 17, 56, 16], Operations: [] Exploring Operation: 56-38=18, Resulting Numbers: [17, 16, 18] Generated Node #0,0: 19:[17, 16, 18] Operation: 56-38=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[17, 16, 18], Operations: ['56-38=18'] Exploring Operation: 17+16=33, Resulting Numbers: [18, 33] Generated Node #0,0,0: 19:[18, 33] Operation: 17+16=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[18, 33], Operations: ['56-38=18', '17+16=33'] Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 2, 68, 93, 6 ]
31
[ "68-6=62", "2*62=124", "124-93=31" ]
Current State: 31:[2, 68, 93, 6], Operations: [] Exploring Operation: 68-6=62, Resulting Numbers: [2, 93, 62] Generated Node #2: [2, 93, 62] from Operation: 68-6=62 Current State: 31:[2, 93, 62], Operations: ['68-6=62'] Exploring Operation: 2*62=124, Resulting Numbers: [93, 124] Generated Node #3: [93, 124] from Operation: 2*62=124 Current State: 31:[93, 124], Operations: ['68-6=62', '2*62=124'] Exploring Operation: 124-93=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[2, 68, 93, 6], Operations: [] Exploring Operation: 93-68=25, Resulting Numbers: [2, 6, 25] Generated Node #0,0: 31:[2, 6, 25] Operation: 93-68=25 Moving to Node #0,0 Current State: 31:[2, 6, 25], Operations: ['93-68=25'] Exploring Operation: 2*6=12, Resulting Numbers: [25, 12] Generated Node #0,0,0: 31:[25, 12] Operation: 2*6=12 Moving to Node #0,0,0 Current State: 31:[25, 12], Operations: ['93-68=25', '2*6=12'] Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,31 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 56, 20, 61, 36 ]
32
[ "61-56=5", "20/5=4", "36-4=32" ]
Current State: 32:[56, 20, 61, 36], Operations: [] Exploring Operation: 61-56=5, Resulting Numbers: [20, 36, 5] Generated Node #2: [20, 36, 5] from Operation: 61-56=5 Current State: 32:[20, 36, 5], Operations: ['61-56=5'] Exploring Operation: 20/5=4, Resulting Numbers: [36, 4] Generated Node #3: [36, 4] from Operation: 20/5=4 Current State: 32:[36, 4], Operations: ['61-56=5', '20/5=4'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[56, 20, 61, 36], Operations: [] Exploring Operation: 56-36=20, Resulting Numbers: [20, 61, 20] Generated Node #0,0: 32:[20, 61, 20] Operation: 56-36=20 Exploring Operation: 61-36=25, Resulting Numbers: [56, 20, 25] Generated Node #0,1: 32:[56, 20, 25] Operation: 61-36=25 Exploring Operation: 56-20=36, Resulting Numbers: [61, 36, 36] Generated Node #0,2: 32:[61, 36, 36] Operation: 56-20=36 Exploring Operation: 61-56=5, Resulting Numbers: [20, 36, 5] Generated Node #0,3: 32:[20, 36, 5] Operation: 61-56=5 Exploring Operation: 61-20=41, Resulting Numbers: [56, 36, 41] Generated Node #0,4: 32:[56, 36, 41] Operation: 61-20=41 Start Sub Search at level 1: Moving to Node #0,3 Current State: 32:[20, 36, 5], Operations: ['61-56=5'] Exploring Operation: 20-5=15, Resulting Numbers: [36, 15] Generated Node #0,3,0: 32:[36, 15] Operation: 20-5=15 Exploring Operation: 20+5=25, Resulting Numbers: [36, 25] Generated Node #0,3,1: 32:[36, 25] Operation: 20+5=25 Exploring Operation: 36-20=16, Resulting Numbers: [5, 16] Generated Node #0,3,2: 32:[5, 16] Operation: 36-20=16 Exploring Operation: 20/5=4, Resulting Numbers: [36, 4] Generated Node #0,3,3: 32:[36, 4] Operation: 20/5=4 Exploring Operation: 36-5=31, Resulting Numbers: [20, 31] Generated Node #0,3,4: 32:[20, 31] Operation: 36-5=31 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 32:[5, 16], Operations: ['61-56=5', '36-20=16'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,32 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 32:[36, 4], Operations: ['61-56=5', '20/5=4'] Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,32 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[56, 20, 61, 36], Operations: [] Exploring Operation: 61-56=5, Resulting Numbers: [20, 36, 5] Generated Node #0,3: 32:[20, 36, 5] Operation: 61-56=5 Moving to Node #0,3 Current State: 32:[20, 36, 5], Operations: ['61-56=5'] Exploring Operation: 20/5=4, Resulting Numbers: [36, 4] Generated Node #0,3,3: 32:[36, 4] Operation: 20/5=4 Moving to Node #0,3,3 Current State: 32:[36, 4], Operations: ['61-56=5', '20/5=4'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 26, 92, 17, 10 ]
35
[ "26*17=442", "442-92=350", "350/10=35" ]
Current State: 35:[26, 92, 17, 10], Operations: [] Exploring Operation: 26*17=442, Resulting Numbers: [92, 10, 442] Generated Node #2: [92, 10, 442] from Operation: 26*17=442 Current State: 35:[92, 10, 442], Operations: ['26*17=442'] Exploring Operation: 442-92=350, Resulting Numbers: [10, 350] Generated Node #3: [10, 350] from Operation: 442-92=350 Current State: 35:[10, 350], Operations: ['26*17=442', '442-92=350'] Exploring Operation: 350/10=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[26, 92, 17, 10], Operations: [] Exploring Operation: 26-17=9, Resulting Numbers: [92, 10, 9] Generated Node #0,0: 35:[92, 10, 9] Operation: 26-17=9 Exploring Operation: 92-17=75, Resulting Numbers: [26, 10, 75] Generated Node #0,1: 35:[26, 10, 75] Operation: 92-17=75 Exploring Operation: 92-26=66, Resulting Numbers: [17, 10, 66] Generated Node #0,2: 35:[17, 10, 66] Operation: 92-26=66 Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[17, 10, 66], Operations: ['92-26=66'] Exploring Operation: 66-10=56, Resulting Numbers: [17, 56] Generated Node #0,2,0: 35:[17, 56] Operation: 66-10=56 Exploring Operation: 17-10=7, Resulting Numbers: [66, 7] Generated Node #0,2,1: 35:[66, 7] Operation: 17-10=7 Exploring Operation: 66-17=49, Resulting Numbers: [10, 49] Generated Node #0,2,2: 35:[10, 49] Operation: 66-17=49 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 35:[10, 49], Operations: ['92-26=66', '66-17=49'] Exploring Operation: 10+49=59, Resulting Numbers: [59] 59,35 unequal: No Solution Exploring Operation: 10*49=490, Resulting Numbers: [490] 490,35 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,35 unequal: No Solution No 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: 35:[17, 56], Operations: ['92-26=66', '66-10=56'] Exploring Operation: 17*56=952, Resulting Numbers: [952] 952,35 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,35 unequal: No Solution Exploring Operation: 17+56=73, Resulting Numbers: [73] 73,35 unequal: No Solution No 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: 35:[66, 7], Operations: ['92-26=66', '17-10=7'] Exploring Operation: 66*7=462, Resulting Numbers: [462] 462,35 unequal: No Solution Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,35 unequal: No Solution Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,35 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: 35:[26, 10, 75], Operations: ['92-17=75'] Exploring Operation: 75-26=49, Resulting Numbers: [10, 49] Generated Node #0,1,0: 35:[10, 49] Operation: 75-26=49 Exploring Operation: 26+10=36, Resulting Numbers: [75, 36] Generated Node #0,1,1: 35:[75, 36] Operation: 26+10=36 Exploring Operation: 75-10=65, Resulting Numbers: [26, 65] Generated Node #0,1,2: 35:[26, 65] Operation: 75-10=65 Moving to Node #0,1,0 Current State: 35:[10, 49], Operations: ['92-17=75', '75-26=49'] Exploring Operation: 10+49=59, Resulting Numbers: [59] 59,35 unequal: No Solution Exploring Operation: 10*49=490, Resulting Numbers: [490] 490,35 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[26, 65], Operations: ['92-17=75', '75-10=65'] Exploring Operation: 26+65=91, Resulting Numbers: [91] 91,35 unequal: No Solution Exploring Operation: 26*65=1690, Resulting Numbers: [1690] 1690,35 unequal: No Solution Exploring Operation: 65-26=39, Resulting Numbers: [39] 39,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[75, 36], Operations: ['92-17=75', '26+10=36'] Exploring Operation: 75*36=2700, Resulting Numbers: [2700] 2700,35 unequal: No Solution Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,35 unequal: No Solution Exploring Operation: 75+36=111, Resulting Numbers: [111] 111,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[92, 10, 9], Operations: ['26-17=9'] Exploring Operation: 92-10=82, Resulting Numbers: [9, 82] Generated Node #0,0,0: 35:[9, 82] Operation: 92-10=82 Exploring Operation: 92-9=83, Resulting Numbers: [10, 83] Generated Node #0,0,1: 35:[10, 83] Operation: 92-9=83 Exploring Operation: 10-9=1, Resulting Numbers: [92, 1] Generated Node #0,0,2: 35:[92, 1] Operation: 10-9=1 Moving to Node #0,0,0 Current State: 35:[9, 82], Operations: ['26-17=9', '92-10=82'] Exploring Operation: 82-9=73, Resulting Numbers: [73] 73,35 unequal: No Solution Exploring Operation: 9+82=91, Resulting Numbers: [91] 91,35 unequal: No Solution Exploring Operation: 9*82=738, Resulting Numbers: [738] 738,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[10, 83], Operations: ['26-17=9', '92-9=83'] Exploring Operation: 10*83=830, Resulting Numbers: [830] 830,35 unequal: No Solution Exploring Operation: 10+83=93, Resulting Numbers: [93] 93,35 unequal: No Solution Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[92, 1], Operations: ['26-17=9', '10-9=1'] Exploring Operation: 92*1=92, Resulting Numbers: [92] 92,35 unequal: No Solution Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,35 unequal: No Solution Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,35 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
[ 32, 66, 21, 59 ]
96
[ "32*21=672", "66-59=7", "672/7=96" ]
Current State: 96:[32, 66, 21, 59], Operations: [] Exploring Operation: 32*21=672, Resulting Numbers: [66, 59, 672] Generated Node #2: [66, 59, 672] from Operation: 32*21=672 Current State: 96:[66, 59, 672], Operations: ['32*21=672'] Exploring Operation: 66-59=7, Resulting Numbers: [672, 7] Generated Node #3: [672, 7] from Operation: 66-59=7 Current State: 96:[672, 7], Operations: ['32*21=672', '66-59=7'] Exploring Operation: 672/7=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[32, 66, 21, 59], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [32, 21, 7] Generated Node #0,0: 96:[32, 21, 7] Operation: 66-59=7 Exploring Operation: 66-21=45, Resulting Numbers: [32, 59, 45] Generated Node #0,1: 96:[32, 59, 45] Operation: 66-21=45 Exploring Operation: 32+66=98, Resulting Numbers: [21, 59, 98] Generated Node #0,2: 96:[21, 59, 98] Operation: 32+66=98 Moving to Node #0,0 Current State: 96:[32, 21, 7], Operations: ['66-59=7'] Exploring Operation: 32-21=11, Resulting Numbers: [7, 11] Generated Node #0,0,0: 96:[7, 11] Operation: 32-21=11 Exploring Operation: 21-7=14, Resulting Numbers: [32, 14] Generated Node #0,0,1: 96:[32, 14] Operation: 21-7=14 Exploring Operation: 21/7=3, Resulting Numbers: [32, 3] Generated Node #0,0,2: 96:[32, 3] Operation: 21/7=3 Moving to Node #0,1 Current State: 96:[32, 59, 45], Operations: ['66-21=45'] Exploring Operation: 59-32=27, Resulting Numbers: [45, 27] Generated Node #0,1,0: 96:[45, 27] Operation: 59-32=27 Exploring Operation: 32+59=91, Resulting Numbers: [45, 91] Generated Node #0,1,1: 96:[45, 91] Operation: 32+59=91 Exploring Operation: 59-45=14, Resulting Numbers: [32, 14] Generated Node #0,1,2: 96:[32, 14] Operation: 59-45=14 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 96:[32, 14], Operations: ['66-21=45', '59-45=14'] Exploring Operation: 32*14=448, Resulting Numbers: [448] 448,96 unequal: No Solution Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,96 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[45, 27], Operations: ['66-21=45', '59-32=27'] Exploring Operation: 45*27=1215, Resulting Numbers: [1215] 1215,96 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,96 unequal: No Solution Exploring Operation: 45+27=72, Resulting Numbers: [72] 72,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[45, 91], Operations: ['66-21=45', '32+59=91'] Exploring Operation: 45+91=136, Resulting Numbers: [136] 136,96 unequal: No Solution Exploring Operation: 91-45=46, Resulting Numbers: [46] 46,96 unequal: No Solution Exploring Operation: 45*91=4095, Resulting Numbers: [4095] 4095,96 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: 96:[21, 59, 98], Operations: ['32+66=98'] Exploring Operation: 59-21=38, Resulting Numbers: [98, 38] Generated Node #0,2,0: 96:[98, 38] Operation: 59-21=38 Exploring Operation: 21+59=80, Resulting Numbers: [98, 80] Generated Node #0,2,1: 96:[98, 80] Operation: 21+59=80 Exploring Operation: 98-59=39, Resulting Numbers: [21, 39] Generated Node #0,2,2: 96:[21, 39] Operation: 98-59=39 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[98, 38], Operations: ['32+66=98', '59-21=38'] Exploring Operation: 98*38=3724, Resulting Numbers: [3724] 3724,96 unequal: No Solution Exploring Operation: 98-38=60, Resulting Numbers: [60] 60,96 unequal: No Solution Exploring Operation: 98+38=136, Resulting Numbers: [136] 136,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 96:[21, 39], Operations: ['32+66=98', '98-59=39'] Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,96 unequal: No Solution Exploring Operation: 21*39=819, Resulting Numbers: [819] 819,96 unequal: No Solution Exploring Operation: 21+39=60, Resulting Numbers: [60] 60,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[98, 80], Operations: ['32+66=98', '21+59=80'] Exploring Operation: 98+80=178, Resulting Numbers: [178] 178,96 unequal: No Solution Exploring Operation: 98-80=18, Resulting Numbers: [18] 18,96 unequal: No Solution Exploring Operation: 98*80=7840, Resulting Numbers: [7840] 7840,96 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: 96:[32, 3], Operations: ['66-59=7', '21/7=3'] Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,96 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[32, 66, 21, 59], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [32, 21, 7] Generated Node #0,0: 96:[32, 21, 7] Operation: 66-59=7 Moving to Node #0,0 Current State: 96:[32, 21, 7], Operations: ['66-59=7'] Exploring Operation: 21/7=3, Resulting Numbers: [32, 3] Generated Node #0,0,2: 96:[32, 3] Operation: 21/7=3 Moving to Node #0,0,2 Current State: 96:[32, 3], Operations: ['66-59=7', '21/7=3'] Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.967882
hs_3
sum_heuristic
[ 85, 89, 23, 15 ]
12
[ "89-85=4", "23-15=8", "4+8=12" ]
Current State: 12:[85, 89, 23, 15], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [23, 15, 4] Generated Node #2: [23, 15, 4] from Operation: 89-85=4 Current State: 12:[23, 15, 4], Operations: ['89-85=4'] Exploring Operation: 23-15=8, Resulting Numbers: [4, 8] Generated Node #3: [4, 8] from Operation: 23-15=8 Current State: 12:[4, 8], Operations: ['89-85=4', '23-15=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[85, 89, 23, 15], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [23, 15, 4] Generated Node #0,0: 12:[23, 15, 4] Operation: 89-85=4 Exploring Operation: 85-23=62, Resulting Numbers: [89, 15, 62] Generated Node #0,1: 12:[89, 15, 62] Operation: 85-23=62 Exploring Operation: 89-23=66, Resulting Numbers: [85, 15, 66] Generated Node #0,2: 12:[85, 15, 66] Operation: 89-23=66 Exploring Operation: 85-15=70, Resulting Numbers: [89, 23, 70] Generated Node #0,3: 12:[89, 23, 70] Operation: 85-15=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[23, 15, 4], Operations: ['89-85=4'] Exploring Operation: 23-4=19, Resulting Numbers: [15, 19] Generated Node #0,0,0: 12:[15, 19] Operation: 23-4=19 Exploring Operation: 15-4=11, Resulting Numbers: [23, 11] Generated Node #0,0,1: 12:[23, 11] Operation: 15-4=11 Exploring Operation: 23-15=8, Resulting Numbers: [4, 8] Generated Node #0,0,2: 12:[4, 8] Operation: 23-15=8 Exploring Operation: 23+4=27, Resulting Numbers: [15, 27] Generated Node #0,0,3: 12:[15, 27] Operation: 23+4=27 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 12:[4, 8], Operations: ['89-85=4', '23-15=8'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[85, 89, 23, 15], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [23, 15, 4] Generated Node #0,0: 12:[23, 15, 4] Operation: 89-85=4 Moving to Node #0,0 Current State: 12:[23, 15, 4], Operations: ['89-85=4'] Exploring Operation: 23-15=8, Resulting Numbers: [4, 8] Generated Node #0,0,2: 12:[4, 8] Operation: 23-15=8 Moving to Node #0,0,2 Current State: 12:[4, 8], Operations: ['89-85=4', '23-15=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 31, 3, 54, 86 ]
93
[ "31+86=117", "117/3=39", "54+39=93" ]
Current State: 93:[31, 3, 54, 86], Operations: [] Exploring Operation: 31+86=117, Resulting Numbers: [3, 54, 117] Generated Node #2: [3, 54, 117] from Operation: 31+86=117 Current State: 93:[3, 54, 117], Operations: ['31+86=117'] Exploring Operation: 117/3=39, Resulting Numbers: [54, 39] Generated Node #3: [54, 39] from Operation: 117/3=39 Current State: 93:[54, 39], Operations: ['31+86=117', '117/3=39'] Exploring Operation: 54+39=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[31, 3, 54, 86], Operations: [] Exploring Operation: 31+54=85, Resulting Numbers: [3, 86, 85] Generated Node #0,0: 93:[3, 86, 85] Operation: 31+54=85 Exploring Operation: 54/3=18, Resulting Numbers: [31, 86, 18] Generated Node #0,1: 93:[31, 86, 18] Operation: 54/3=18 Exploring Operation: 86-54=32, Resulting Numbers: [31, 3, 32] Generated Node #0,2: 93:[31, 3, 32] Operation: 86-54=32 Exploring Operation: 54-31=23, Resulting Numbers: [3, 86, 23] Generated Node #0,3: 93:[3, 86, 23] Operation: 54-31=23 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[31, 3, 32], Operations: ['86-54=32'] Exploring Operation: 3*32=96, Resulting Numbers: [31, 96] Generated Node #0,2,0: 93:[31, 96] Operation: 3*32=96 Exploring Operation: 32-3=29, Resulting Numbers: [31, 29] Generated Node #0,2,1: 93:[31, 29] Operation: 32-3=29 Exploring Operation: 32-31=1, Resulting Numbers: [3, 1] Generated Node #0,2,2: 93:[3, 1] Operation: 32-31=1 Exploring Operation: 31*3=93, Resulting Numbers: [32, 93] Generated Node #0,2,3: 93:[32, 93] Operation: 31*3=93 Moving to Node #0,2,3 Current State: 93:[32, 93], Operations: ['86-54=32', '31*3=93'] Exploring Operation: 32+93=125, Resulting Numbers: [125] 125,93 unequal: No Solution Exploring Operation: 93-32=61, Resulting Numbers: [61] 61,93 unequal: No Solution Exploring Operation: 32*93=2976, Resulting Numbers: [2976] 2976,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[3, 1], Operations: ['86-54=32', '32-31=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[31, 29], Operations: ['86-54=32', '32-3=29'] Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 31*29=899, Resulting Numbers: [899] 899,93 unequal: No Solution Exploring Operation: 31+29=60, Resulting Numbers: [60] 60,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[31, 96], Operations: ['86-54=32', '3*32=96'] Exploring Operation: 31*96=2976, Resulting Numbers: [2976] 2976,93 unequal: No Solution Exploring Operation: 31+96=127, Resulting Numbers: [127] 127,93 unequal: No Solution Exploring Operation: 96-31=65, Resulting Numbers: [65] 65,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[3, 86, 85], Operations: ['31+54=85'] Exploring Operation: 3+86=89, Resulting Numbers: [85, 89] Generated Node #0,0,0: 93:[85, 89] Operation: 3+86=89 Exploring Operation: 86-3=83, Resulting Numbers: [85, 83] Generated Node #0,0,1: 93:[85, 83] Operation: 86-3=83 Exploring Operation: 3+85=88, Resulting Numbers: [86, 88] Generated Node #0,0,2: 93:[86, 88] Operation: 3+85=88 Exploring Operation: 86-85=1, Resulting Numbers: [3, 1] Generated Node #0,0,3: 93:[3, 1] Operation: 86-85=1 Moving to Node #0,0,3 Current State: 93:[3, 1], Operations: ['31+54=85', '86-85=1'] Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[86, 88], Operations: ['31+54=85', '3+85=88'] Exploring Operation: 88-86=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 86*88=7568, Resulting Numbers: [7568] 7568,93 unequal: No Solution Exploring Operation: 86+88=174, Resulting Numbers: [174] 174,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[85, 89], Operations: ['31+54=85', '3+86=89'] Exploring Operation: 85+89=174, Resulting Numbers: [174] 174,93 unequal: No Solution Exploring Operation: 85*89=7565, Resulting Numbers: [7565] 7565,93 unequal: No Solution Exploring Operation: 89-85=4, Resulting Numbers: [4] 4,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[85, 83], Operations: ['31+54=85', '86-3=83'] Exploring Operation: 85-83=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 85*83=7055, Resulting Numbers: [7055] 7055,93 unequal: No Solution Exploring Operation: 85+83=168, Resulting Numbers: [168] 168,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[3, 86, 23], Operations: ['54-31=23'] Exploring Operation: 86+23=109, Resulting Numbers: [3, 109] Generated Node #0,3,0: 93:[3, 109] Operation: 86+23=109 Exploring Operation: 86-3=83, Resulting Numbers: [23, 83] Generated Node #0,3,1: 93:[23, 83] Operation: 86-3=83 Exploring Operation: 3+86=89, Resulting Numbers: [23, 89] Generated Node #0,3,2: 93:[23, 89] Operation: 3+86=89 Exploring Operation: 3+23=26, Resulting Numbers: [86, 26] Generated Node #0,3,3: 93:[86, 26] Operation: 3+23=26 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 93:[23, 89], Operations: ['54-31=23', '3+86=89'] Exploring Operation: 23*89=2047, Resulting Numbers: [2047] 2047,93 unequal: No Solution Exploring Operation: 89-23=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 23+89=112, Resulting Numbers: [112] 112,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 93:[86, 26], Operations: ['54-31=23', '3+23=26'] Exploring Operation: 86+26=112, Resulting Numbers: [112] 112,93 unequal: No Solution Exploring Operation: 86*26=2236, Resulting Numbers: [2236] 2236,93 unequal: No Solution Exploring Operation: 86-26=60, Resulting Numbers: [60] 60,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 93:[3, 109], Operations: ['54-31=23', '86+23=109'] Exploring Operation: 3+109=112, Resulting Numbers: [112] 112,93 unequal: No Solution Exploring Operation: 3*109=327, Resulting Numbers: [327] 327,93 unequal: No Solution Exploring Operation: 109-3=106, Resulting Numbers: [106] 106,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 93:[23, 83], Operations: ['54-31=23', '86-3=83'] Exploring Operation: 83-23=60, Resulting Numbers: [60] 60,93 unequal: No Solution Exploring Operation: 23*83=1909, Resulting Numbers: [1909] 1909,93 unequal: No Solution Exploring Operation: 23+83=106, Resulting Numbers: [106] 106,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[31, 86, 18], Operations: ['54/3=18'] Exploring Operation: 86-18=68, Resulting Numbers: [31, 68] Generated Node #0,1,0: 93:[31, 68] Operation: 86-18=68 Exploring Operation: 31-18=13, Resulting Numbers: [86, 13] Generated Node #0,1,1: 93:[86, 13] Operation: 31-18=13 Exploring Operation: 31+18=49, Resulting Numbers: [86, 49] Generated Node #0,1,2: 93:[86, 49] Operation: 31+18=49 Exploring Operation: 86+18=104, Resulting Numbers: [31, 104] Generated Node #0,1,3: 93:[31, 104] Operation: 86+18=104 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 93:[31, 104], Operations: ['54/3=18', '86+18=104'] Exploring Operation: 31*104=3224, Resulting Numbers: [3224] 3224,93 unequal: No Solution Exploring Operation: 104-31=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 31+104=135, Resulting Numbers: [135] 135,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[86, 13], Operations: ['54/3=18', '31-18=13'] Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,93 unequal: No Solution Exploring Operation: 86*13=1118, Resulting Numbers: [1118] 1118,93 unequal: No Solution Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[31, 68], Operations: ['54/3=18', '86-18=68'] Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,93 unequal: No Solution Exploring Operation: 31+68=99, Resulting Numbers: [99] 99,93 unequal: No Solution Exploring Operation: 31*68=2108, Resulting Numbers: [2108] 2108,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 93:[86, 49], Operations: ['54/3=18', '31+18=49'] Exploring Operation: 86*49=4214, Resulting Numbers: [4214] 4214,93 unequal: No Solution Exploring Operation: 86-49=37, Resulting Numbers: [37] 37,93 unequal: No Solution Exploring Operation: 86+49=135, Resulting Numbers: [135] 135,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 72, 17, 3, 72 ]
15
[ "72/72=1", "17-3=14", "1+14=15" ]
Current State: 15:[72, 17, 3, 72], Operations: [] Exploring Operation: 72/72=1, Resulting Numbers: [17, 3, 1] Generated Node #2: [17, 3, 1] from Operation: 72/72=1 Current State: 15:[17, 3, 1], Operations: ['72/72=1'] Exploring Operation: 17-3=14, Resulting Numbers: [1, 14] Generated Node #3: [1, 14] from Operation: 17-3=14 Current State: 15:[1, 14], Operations: ['72/72=1', '17-3=14'] Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[72, 17, 3, 72], Operations: [] Exploring Operation: 72-72=0, Resulting Numbers: [17, 3, 0] Generated Node #0,0: 15:[17, 3, 0] Operation: 72-72=0 Exploring Operation: 72/3=24, Resulting Numbers: [72, 17, 24] Generated Node #0,1: 15:[72, 17, 24] Operation: 72/3=24 Exploring Operation: 72-17=55, Resulting Numbers: [3, 72, 55] Generated Node #0,2: 15:[3, 72, 55] Operation: 72-17=55 Exploring Operation: 72/3=24, Resulting Numbers: [17, 72, 24] Generated Node #0,3: 15:[17, 72, 24] Operation: 72/3=24 Exploring Operation: 72/72=1, Resulting Numbers: [17, 3, 1] Generated Node #0,4: 15:[17, 3, 1] Operation: 72/72=1 Moving to Node #0,4 Current State: 15:[17, 3, 1], Operations: ['72/72=1'] Exploring Operation: 17-1=16, Resulting Numbers: [3, 16] Generated Node #0,4,0: 15:[3, 16] Operation: 17-1=16 Exploring Operation: 3/1=3, Resulting Numbers: [17, 3] Generated Node #0,4,1: 15:[17, 3] Operation: 3/1=3 Exploring Operation: 17*1=17, Resulting Numbers: [3, 17] Generated Node #0,4,2: 15:[3, 17] Operation: 17*1=17 Exploring Operation: 17/1=17, Resulting Numbers: [3, 17] Generated Node #0,4,3: 15:[3, 17] Operation: 17/1=17 Exploring Operation: 3*1=3, Resulting Numbers: [17, 3] Generated Node #0,4,4: 15:[17, 3] Operation: 3*1=3 Moving to Node #0,0 Current State: 15:[17, 3, 0], Operations: ['72-72=0'] Exploring Operation: 17-0=17, Resulting Numbers: [3, 17] Generated Node #0,0,0: 15:[3, 17] Operation: 17-0=17 Exploring Operation: 3-0=3, Resulting Numbers: [17, 3] Generated Node #0,0,1: 15:[17, 3] Operation: 3-0=3 Exploring Operation: 17*0=0, Resulting Numbers: [3, 0] Generated Node #0,0,2: 15:[3, 0] Operation: 17*0=0 Exploring Operation: 3+0=3, Resulting Numbers: [17, 3] Generated Node #0,0,3: 15:[17, 3] Operation: 3+0=3 Exploring Operation: 17+0=17, Resulting Numbers: [3, 17] Generated Node #0,0,4: 15:[3, 17] Operation: 17+0=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[3, 17], Operations: ['72-72=0', '17-0=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[17, 3], Operations: ['72-72=0', '3-0=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 15:[17, 3], Operations: ['72-72=0', '3+0=3'] Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 15:[3, 17], Operations: ['72-72=0', '17+0=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 15:[3, 0], Operations: ['72-72=0', '17*0=0'] Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,15 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 15:[72, 17, 24], Operations: ['72/3=24'] Exploring Operation: 72+17=89, Resulting Numbers: [24, 89] Generated Node #0,1,0: 15:[24, 89] Operation: 72+17=89 Exploring Operation: 72/24=3, Resulting Numbers: [17, 3] Generated Node #0,1,1: 15:[17, 3] Operation: 72/24=3 Exploring Operation: 24-17=7, Resulting Numbers: [72, 7] Generated Node #0,1,2: 15:[72, 7] Operation: 24-17=7 Exploring Operation: 72-24=48, Resulting Numbers: [17, 48] Generated Node #0,1,3: 15:[17, 48] Operation: 72-24=48 Exploring Operation: 72-17=55, Resulting Numbers: [24, 55] Generated Node #0,1,4: 15:[24, 55] Operation: 72-17=55 Moving to Node #0,3 Current State: 15:[17, 72, 24], Operations: ['72/3=24'] Exploring Operation: 72-24=48, Resulting Numbers: [17, 48] Generated Node #0,3,0: 15:[17, 48] Operation: 72-24=48 Exploring Operation: 72-17=55, Resulting Numbers: [24, 55] Generated Node #0,3,1: 15:[24, 55] Operation: 72-17=55 Exploring Operation: 24-17=7, Resulting Numbers: [72, 7] Generated Node #0,3,2: 15:[72, 7] Operation: 24-17=7 Exploring Operation: 17+72=89, Resulting Numbers: [24, 89] Generated Node #0,3,3: 15:[24, 89] Operation: 17+72=89 Exploring Operation: 72/24=3, Resulting Numbers: [17, 3] Generated Node #0,3,4: 15:[17, 3] Operation: 72/24=3 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 15:[17, 3], Operations: ['72/3=24', '72/24=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,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,3,0 Current State: 15:[17, 48], Operations: ['72/3=24', '72-24=48'] Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 17+48=65, Resulting Numbers: [65] 65,15 unequal: No Solution Exploring Operation: 17*48=816, Resulting Numbers: [816] 816,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,3,1 Current State: 15:[24, 55], Operations: ['72/3=24', '72-17=55'] Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 24+55=79, Resulting Numbers: [79] 79,15 unequal: No Solution Exploring Operation: 24*55=1320, Resulting Numbers: [1320] 1320,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,3,2 Current State: 15:[72, 7], Operations: ['72/3=24', '24-17=7'] Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,15 unequal: No Solution Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,15 unequal: No Solution Exploring Operation: 72*7=504, Resulting Numbers: [504] 504,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,3,3 Current State: 15:[24, 89], Operations: ['72/3=24', '17+72=89'] Exploring Operation: 24*89=2136, Resulting Numbers: [2136] 2136,15 unequal: No Solution Exploring Operation: 89-24=65, Resulting Numbers: [65] 65,15 unequal: No Solution Exploring Operation: 24+89=113, Resulting Numbers: [113] 113,15 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: 15:[3, 72, 55], Operations: ['72-17=55'] Exploring Operation: 72-3=69, Resulting Numbers: [55, 69] Generated Node #0,2,0: 15:[55, 69] Operation: 72-3=69 Exploring Operation: 72-55=17, Resulting Numbers: [3, 17] Generated Node #0,2,1: 15:[3, 17] Operation: 72-55=17 Exploring Operation: 55-3=52, Resulting Numbers: [72, 52] Generated Node #0,2,2: 15:[72, 52] Operation: 55-3=52 Exploring Operation: 3+72=75, Resulting Numbers: [55, 75] Generated Node #0,2,3: 15:[55, 75] Operation: 3+72=75 Exploring Operation: 72/3=24, Resulting Numbers: [55, 24] Generated Node #0,2,4: 15:[55, 24] Operation: 72/3=24 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[3, 17], Operations: ['72-17=55', '72-55=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,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,4 Current State: 15:[55, 24], Operations: ['72-17=55', '72/3=24'] Exploring Operation: 55+24=79, Resulting Numbers: [79] 79,15 unequal: No Solution Exploring Operation: 55*24=1320, Resulting Numbers: [1320] 1320,15 unequal: No Solution Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,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,0 Current State: 15:[55, 69], Operations: ['72-17=55', '72-3=69'] Exploring Operation: 55+69=124, Resulting Numbers: [124] 124,15 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 55*69=3795, Resulting Numbers: [3795] 3795,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:[72, 52], Operations: ['72-17=55', '55-3=52'] Exploring Operation: 72*52=3744, Resulting Numbers: [3744] 3744,15 unequal: No Solution Exploring Operation: 72+52=124, Resulting Numbers: [124] 124,15 unequal: No Solution Exploring Operation: 72-52=20, Resulting Numbers: [20] 20,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,3 Current State: 15:[55, 75], Operations: ['72-17=55', '3+72=75'] Exploring Operation: 55*75=4125, Resulting Numbers: [4125] 4125,15 unequal: No Solution Exploring Operation: 75-55=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 55+75=130, Resulting Numbers: [130] 130,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,0 Current State: 15:[3, 16], Operations: ['72/72=1', '17-1=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,15 unequal: No Solution Moving to Node #0,4,2 Current State: 15:[3, 17], Operations: ['72/72=1', '17*1=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[17, 3], Operations: ['72/3=24', '72/24=3'] Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,15 unequal: No Solution Moving to Node #0,4,1 Current State: 15:[17, 3], Operations: ['72/72=1', '3/1=3'] Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,15 unequal: No Solution Moving to Node #0,4,4 Current State: 15:[17, 3], Operations: ['72/72=1', '3*1=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,15 unequal: No Solution Moving to Node #0,4,3 Current State: 15:[3, 17], Operations: ['72/72=1', '17/1=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,15 unequal: No Solution Moving to Node #0,1,3 Current State: 15:[17, 48], Operations: ['72/3=24', '72-24=48'] Exploring Operation: 17*48=816, Resulting Numbers: [816] 816,15 unequal: No Solution Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 17+48=65, Resulting Numbers: [65] 65,15 unequal: No Solution Moving to Node #0,1,4 Current State: 15:[24, 55], Operations: ['72/3=24', '72-17=55'] Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 24*55=1320, Resulting Numbers: [1320] 1320,15 unequal: No Solution Exploring Operation: 24+55=79, Resulting Numbers: [79] 79,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[72, 7], Operations: ['72/3=24', '24-17=7'] Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,15 unequal: No Solution Exploring Operation: 72*7=504, Resulting Numbers: [504] 504,15 unequal: No Solution Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[24, 89], Operations: ['72/3=24', '72+17=89'] Exploring Operation: 24*89=2136, Resulting Numbers: [2136] 2136,15 unequal: No Solution Exploring Operation: 24+89=113, Resulting Numbers: [113] 113,15 unequal: No Solution Exploring Operation: 89-24=65, Resulting Numbers: [65] 65,15 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 73, 59, 47, 53 ]
71
[ "59+47=106", "106/53=2", "73-2=71" ]
Current State: 71:[73, 59, 47, 53], Operations: [] Exploring Operation: 59+47=106, Resulting Numbers: [73, 53, 106] Generated Node #2: [73, 53, 106] from Operation: 59+47=106 Current State: 71:[73, 53, 106], Operations: ['59+47=106'] Exploring Operation: 106/53=2, Resulting Numbers: [73, 2] Generated Node #3: [73, 2] from Operation: 106/53=2 Current State: 71:[73, 2], Operations: ['59+47=106', '106/53=2'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[73, 59, 47, 53], Operations: [] Exploring Operation: 59+47=106, Resulting Numbers: [73, 53, 106] Generated Node #0,0: 71:[73, 53, 106] Operation: 59+47=106 Exploring Operation: 47+53=100, Resulting Numbers: [73, 59, 100] Generated Node #0,1: 71:[73, 59, 100] Operation: 47+53=100 Moving to Node #0,1 Current State: 71:[73, 59, 100], Operations: ['47+53=100'] Exploring Operation: 100-59=41, Resulting Numbers: [73, 41] Generated Node #0,1,0: 71:[73, 41] Operation: 100-59=41 Exploring Operation: 100-73=27, Resulting Numbers: [59, 27] Generated Node #0,1,1: 71:[59, 27] Operation: 100-73=27 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[73, 41], Operations: ['47+53=100', '100-59=41'] Exploring Operation: 73-41=32, Resulting Numbers: [32] 32,71 unequal: No Solution Exploring Operation: 73+41=114, Resulting Numbers: [114] 114,71 unequal: No Solution No 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: 71:[59, 27], Operations: ['47+53=100', '100-73=27'] Exploring Operation: 59-27=32, Resulting Numbers: [32] 32,71 unequal: No Solution Exploring Operation: 59+27=86, Resulting Numbers: [86] 86,71 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: 71:[73, 53, 106], Operations: ['59+47=106'] Exploring Operation: 106-73=33, Resulting Numbers: [53, 33] Generated Node #0,0,0: 71:[53, 33] Operation: 106-73=33 Exploring Operation: 106-53=53, Resulting Numbers: [73, 53] Generated Node #0,0,1: 71:[73, 53] Operation: 106-53=53 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[73, 53], Operations: ['59+47=106', '106-53=53'] Exploring Operation: 73+53=126, Resulting Numbers: [126] 126,71 unequal: No Solution Exploring Operation: 73-53=20, Resulting Numbers: [20] 20,71 unequal: No Solution No 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: 71:[53, 33], Operations: ['59+47=106', '106-73=33'] Exploring Operation: 53+33=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,71 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
[ 45, 55, 53, 77 ]
30
[ "45+55=100", "53+77=130", "130-100=30" ]
Current State: 30:[45, 55, 53, 77], Operations: [] Exploring Operation: 45+55=100, Resulting Numbers: [53, 77, 100] Generated Node #2: [53, 77, 100] from Operation: 45+55=100 Current State: 30:[53, 77, 100], Operations: ['45+55=100'] Exploring Operation: 53+77=130, Resulting Numbers: [100, 130] Generated Node #3: [100, 130] from Operation: 53+77=130 Current State: 30:[100, 130], Operations: ['45+55=100', '53+77=130'] Exploring Operation: 130-100=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[45, 55, 53, 77], Operations: [] Exploring Operation: 77-53=24, Resulting Numbers: [45, 55, 24] Generated Node #0,0: 30:[45, 55, 24] Operation: 77-53=24 Exploring Operation: 77-55=22, Resulting Numbers: [45, 53, 22] Generated Node #0,1: 30:[45, 53, 22] Operation: 77-55=22 Exploring Operation: 77-45=32, Resulting Numbers: [55, 53, 32] Generated Node #0,2: 30:[55, 53, 32] Operation: 77-45=32 Exploring Operation: 55-53=2, Resulting Numbers: [45, 77, 2] Generated Node #0,3: 30:[45, 77, 2] Operation: 55-53=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[45, 53, 22], Operations: ['77-55=22'] Exploring Operation: 53-22=31, Resulting Numbers: [45, 31] Generated Node #0,1,0: 30:[45, 31] Operation: 53-22=31 Exploring Operation: 53-45=8, Resulting Numbers: [22, 8] Generated Node #0,1,1: 30:[22, 8] Operation: 53-45=8 Exploring Operation: 45-22=23, Resulting Numbers: [53, 23] Generated Node #0,1,2: 30:[53, 23] Operation: 45-22=23 Exploring Operation: 45+22=67, Resulting Numbers: [53, 67] Generated Node #0,1,3: 30:[53, 67] Operation: 45+22=67 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 30:[22, 8], Operations: ['77-55=22', '53-45=8'] Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[45, 55, 53, 77], Operations: [] Exploring Operation: 77-55=22, Resulting Numbers: [45, 53, 22] Generated Node #0,1: 30:[45, 53, 22] Operation: 77-55=22 Moving to Node #0,1 Current State: 30:[45, 53, 22], Operations: ['77-55=22'] Exploring Operation: 53-45=8, Resulting Numbers: [22, 8] Generated Node #0,1,1: 30:[22, 8] Operation: 53-45=8 Moving to Node #0,1,1 Current State: 30:[22, 8], Operations: ['77-55=22', '53-45=8'] Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 46, 5, 6, 51 ]
52
[ "6*51=306", "306-46=260", "260/5=52" ]
Current State: 52:[46, 5, 6, 51], Operations: [] Exploring Operation: 6*51=306, Resulting Numbers: [46, 5, 306] Generated Node #2: [46, 5, 306] from Operation: 6*51=306 Current State: 52:[46, 5, 306], Operations: ['6*51=306'] Exploring Operation: 306-46=260, Resulting Numbers: [5, 260] Generated Node #3: [5, 260] from Operation: 306-46=260 Current State: 52:[5, 260], Operations: ['6*51=306', '306-46=260'] Exploring Operation: 260/5=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[46, 5, 6, 51], Operations: [] Exploring Operation: 46+5=51, Resulting Numbers: [6, 51, 51] Generated Node #0,0: 52:[6, 51, 51] Operation: 46+5=51 Exploring Operation: 46+6=52, Resulting Numbers: [5, 51, 52] Generated Node #0,1: 52:[5, 51, 52] Operation: 46+6=52 Exploring Operation: 51-46=5, Resulting Numbers: [5, 6, 5] Generated Node #0,2: 52:[5, 6, 5] Operation: 51-46=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[5, 51, 52], Operations: ['46+6=52'] Exploring Operation: 52-51=1, Resulting Numbers: [5, 1] Generated Node #0,1,0: 52:[5, 1] Operation: 52-51=1 Exploring Operation: 51-5=46, Resulting Numbers: [52, 46] Generated Node #0,1,1: 52:[52, 46] Operation: 51-5=46 Exploring Operation: 5+51=56, Resulting Numbers: [52, 56] Generated Node #0,1,2: 52:[52, 56] Operation: 5+51=56 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 52:[5, 1], Operations: ['46+6=52', '52-51=1'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 52:[52, 56], Operations: ['46+6=52', '5+51=56'] Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 52*56=2912, Resulting Numbers: [2912] 2912,52 unequal: No Solution Exploring Operation: 52+56=108, Resulting Numbers: [108] 108,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:[52, 46], Operations: ['46+6=52', '51-5=46'] Exploring Operation: 52*46=2392, Resulting Numbers: [2392] 2392,52 unequal: No Solution Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,52 unequal: No Solution Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,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:[6, 51, 51], Operations: ['46+5=51'] Exploring Operation: 51/51=1, Resulting Numbers: [6, 1] Generated Node #0,0,0: 52:[6, 1] Operation: 51/51=1 Exploring Operation: 6+51=57, Resulting Numbers: [51, 57] Generated Node #0,0,1: 52:[51, 57] Operation: 6+51=57 Exploring Operation: 51-51=0, Resulting Numbers: [6, 0] Generated Node #0,0,2: 52:[6, 0] Operation: 51-51=0 Moving to Node #0,0,0 Current State: 52:[6, 1], Operations: ['46+5=51', '51/51=1'] Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[6, 0], Operations: ['46+5=51', '51-51=0'] Exploring Operation: 6+0=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 6-0=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 6*0=0, Resulting Numbers: [0] 0,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[51, 57], Operations: ['46+5=51', '6+51=57'] Exploring Operation: 57-51=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 51+57=108, Resulting Numbers: [108] 108,52 unequal: No Solution Exploring Operation: 51*57=2907, Resulting Numbers: [2907] 2907,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[5, 6, 5], Operations: ['51-46=5'] Exploring Operation: 6-5=1, Resulting Numbers: [5, 1] Generated Node #0,2,0: 52:[5, 1] Operation: 6-5=1 Exploring Operation: 6-5=1, Resulting Numbers: [5, 1] Generated Node #0,2,1: 52:[5, 1] Operation: 6-5=1 Exploring Operation: 5+6=11, Resulting Numbers: [5, 11] Generated Node #0,2,2: 52:[5, 11] Operation: 5+6=11 Moving to Node #0,2,0 Current State: 52:[5, 1], Operations: ['51-46=5', '6-5=1'] Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[5, 1], Operations: ['51-46=5', '6-5=1'] Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[5, 11], Operations: ['51-46=5', '5+6=11'] Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,52 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,52 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
[ 47, 83, 80, 40 ]
34
[ "83-47=36", "80/40=2", "36-2=34" ]
Current State: 34:[47, 83, 80, 40], Operations: [] Exploring Operation: 83-47=36, Resulting Numbers: [80, 40, 36] Generated Node #2: [80, 40, 36] from Operation: 83-47=36 Current State: 34:[80, 40, 36], Operations: ['83-47=36'] Exploring Operation: 80/40=2, Resulting Numbers: [36, 2] Generated Node #3: [36, 2] from Operation: 80/40=2 Current State: 34:[36, 2], Operations: ['83-47=36', '80/40=2'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[47, 83, 80, 40], Operations: [] Exploring Operation: 83-80=3, Resulting Numbers: [47, 40, 3] Generated Node #0,0: 34:[47, 40, 3] Operation: 83-80=3 Exploring Operation: 83-47=36, Resulting Numbers: [80, 40, 36] Generated Node #0,1: 34:[80, 40, 36] Operation: 83-47=36 Moving to Node #0,0 Current State: 34:[47, 40, 3], Operations: ['83-80=3'] Exploring Operation: 47-40=7, Resulting Numbers: [3, 7] Generated Node #0,0,0: 34:[3, 7] Operation: 47-40=7 Exploring Operation: 47-3=44, Resulting Numbers: [40, 44] Generated Node #0,0,1: 34:[40, 44] Operation: 47-3=44 Moving to Node #0,1 Current State: 34:[80, 40, 36], Operations: ['83-47=36'] Exploring Operation: 80/40=2, Resulting Numbers: [36, 2] Generated Node #0,1,0: 34:[36, 2] Operation: 80/40=2 Exploring Operation: 80-40=40, Resulting Numbers: [36, 40] Generated Node #0,1,1: 34:[36, 40] Operation: 80-40=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[36, 2], Operations: ['83-47=36', '80/40=2'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[47, 83, 80, 40], Operations: [] Exploring Operation: 83-47=36, Resulting Numbers: [80, 40, 36] Generated Node #0,1: 34:[80, 40, 36] Operation: 83-47=36 Moving to Node #0,1 Current State: 34:[80, 40, 36], Operations: ['83-47=36'] Exploring Operation: 80/40=2, Resulting Numbers: [36, 2] Generated Node #0,1,0: 34:[36, 2] Operation: 80/40=2 Moving to Node #0,1,0 Current State: 34:[36, 2], Operations: ['83-47=36', '80/40=2'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 43, 60, 84, 46 ]
12
[ "84-43=41", "46-41=5", "60/5=12" ]
Current State: 12:[43, 60, 84, 46], Operations: [] Exploring Operation: 84-43=41, Resulting Numbers: [60, 46, 41] Generated Node #2: [60, 46, 41] from Operation: 84-43=41 Current State: 12:[60, 46, 41], Operations: ['84-43=41'] Exploring Operation: 46-41=5, Resulting Numbers: [60, 5] Generated Node #3: [60, 5] from Operation: 46-41=5 Current State: 12:[60, 5], Operations: ['84-43=41', '46-41=5'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[43, 60, 84, 46], Operations: [] Exploring Operation: 60-43=17, Resulting Numbers: [84, 46, 17] Generated Node #0,0: 12:[84, 46, 17] Operation: 60-43=17 Exploring Operation: 84-43=41, Resulting Numbers: [60, 46, 41] Generated Node #0,1: 12:[60, 46, 41] Operation: 84-43=41 Exploring Operation: 84-60=24, Resulting Numbers: [43, 46, 24] Generated Node #0,2: 12:[43, 46, 24] Operation: 84-60=24 Exploring Operation: 84-46=38, Resulting Numbers: [43, 60, 38] Generated Node #0,3: 12:[43, 60, 38] Operation: 84-46=38 Exploring Operation: 60-46=14, Resulting Numbers: [43, 84, 14] Generated Node #0,4: 12:[43, 84, 14] Operation: 60-46=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[43, 46, 24], Operations: ['84-60=24'] Exploring Operation: 43+24=67, Resulting Numbers: [46, 67] Generated Node #0,2,0: 12:[46, 67] Operation: 43+24=67 Exploring Operation: 43+46=89, Resulting Numbers: [24, 89] Generated Node #0,2,1: 12:[24, 89] Operation: 43+46=89 Exploring Operation: 46-24=22, Resulting Numbers: [43, 22] Generated Node #0,2,2: 12:[43, 22] Operation: 46-24=22 Exploring Operation: 43-24=19, Resulting Numbers: [46, 19] Generated Node #0,2,3: 12:[46, 19] Operation: 43-24=19 Exploring Operation: 46-43=3, Resulting Numbers: [24, 3] Generated Node #0,2,4: 12:[24, 3] Operation: 46-43=3 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 12:[24, 3], Operations: ['84-60=24', '46-43=3'] Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,12 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 12:[43, 22], Operations: ['84-60=24', '46-24=22'] Exploring Operation: 43+22=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 43*22=946, Resulting Numbers: [946] 946,12 unequal: No Solution Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 12:[46, 19], Operations: ['84-60=24', '43-24=19'] Exploring Operation: 46*19=874, Resulting Numbers: [874] 874,12 unequal: No Solution Exploring Operation: 46-19=27, Resulting Numbers: [27] 27,12 unequal: No Solution Exploring Operation: 46+19=65, Resulting Numbers: [65] 65,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 12:[46, 67], Operations: ['84-60=24', '43+24=67'] Exploring Operation: 67-46=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 46*67=3082, Resulting Numbers: [3082] 3082,12 unequal: No Solution Exploring Operation: 46+67=113, Resulting Numbers: [113] 113,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 12:[24, 89], Operations: ['84-60=24', '43+46=89'] Exploring Operation: 24+89=113, Resulting Numbers: [113] 113,12 unequal: No Solution Exploring Operation: 89-24=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 24*89=2136, Resulting Numbers: [2136] 2136,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[43, 60, 38], Operations: ['84-46=38'] Exploring Operation: 60-38=22, Resulting Numbers: [43, 22] Generated Node #0,3,0: 12:[43, 22] Operation: 60-38=22 Exploring Operation: 43-38=5, Resulting Numbers: [60, 5] Generated Node #0,3,1: 12:[60, 5] Operation: 43-38=5 Exploring Operation: 43+38=81, Resulting Numbers: [60, 81] Generated Node #0,3,2: 12:[60, 81] Operation: 43+38=81 Exploring Operation: 43+60=103, Resulting Numbers: [38, 103] Generated Node #0,3,3: 12:[38, 103] Operation: 43+60=103 Exploring Operation: 60-43=17, Resulting Numbers: [38, 17] Generated Node #0,3,4: 12:[38, 17] Operation: 60-43=17 Moving to Node #0,3,4 Current State: 12:[38, 17], Operations: ['84-46=38', '60-43=17'] Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 38*17=646, Resulting Numbers: [646] 646,12 unequal: No Solution Exploring Operation: 38+17=55, Resulting Numbers: [55] 55,12 unequal: No Solution Moving to Node #0,3,0 Current State: 12:[43, 22], Operations: ['84-46=38', '60-38=22'] Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 43+22=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 43*22=946, Resulting Numbers: [946] 946,12 unequal: No Solution Moving to Node #0,3,1 Current State: 12:[60, 5], Operations: ['84-46=38', '43-38=5'] Exploring Operation: 60+5=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,12 unequal: No Solution Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[43, 60, 84, 46], Operations: [] Exploring Operation: 84-46=38, Resulting Numbers: [43, 60, 38] Generated Node #0,3: 12:[43, 60, 38] Operation: 84-46=38 Moving to Node #0,3 Current State: 12:[43, 60, 38], Operations: ['84-46=38'] Exploring Operation: 43-38=5, Resulting Numbers: [60, 5] Generated Node #0,3,1: 12:[60, 5] Operation: 43-38=5 Moving to Node #0,3,1 Current State: 12:[60, 5], Operations: ['84-46=38', '43-38=5'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.961806
hs_5
mult_heuristic
[ 81, 1, 3, 21 ]
56
[ "81-1=80", "3+21=24", "80-24=56" ]
Current State: 56:[81, 1, 3, 21], Operations: [] Exploring Operation: 81-1=80, Resulting Numbers: [3, 21, 80] Generated Node #2: [3, 21, 80] from Operation: 81-1=80 Current State: 56:[3, 21, 80], Operations: ['81-1=80'] Exploring Operation: 3+21=24, Resulting Numbers: [80, 24] Generated Node #3: [80, 24] from Operation: 3+21=24 Current State: 56:[80, 24], Operations: ['81-1=80', '3+21=24'] Exploring Operation: 80-24=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[81, 1, 3, 21], Operations: [] Exploring Operation: 3+21=24, Resulting Numbers: [81, 1, 24] Generated Node #0,0: 56:[81, 1, 24] Operation: 3+21=24 Exploring Operation: 21/3=7, Resulting Numbers: [81, 1, 7] Generated Node #0,1: 56:[81, 1, 7] Operation: 21/3=7 Exploring Operation: 81-21=60, Resulting Numbers: [1, 3, 60] Generated Node #0,2: 56:[1, 3, 60] Operation: 81-21=60 Exploring Operation: 81-3=78, Resulting Numbers: [1, 21, 78] Generated Node #0,3: 56:[1, 21, 78] Operation: 81-3=78 Exploring Operation: 81/3=27, Resulting Numbers: [1, 21, 27] Generated Node #0,4: 56:[1, 21, 27] Operation: 81/3=27 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[1, 3, 60], Operations: ['81-21=60'] Exploring Operation: 60-3=57, Resulting Numbers: [1, 57] Generated Node #0,2,0: 56:[1, 57] Operation: 60-3=57 Exploring Operation: 1*3=3, Resulting Numbers: [60, 3] Generated Node #0,2,1: 56:[60, 3] Operation: 1*3=3 Exploring Operation: 3-1=2, Resulting Numbers: [60, 2] Generated Node #0,2,2: 56:[60, 2] Operation: 3-1=2 Exploring Operation: 1+3=4, Resulting Numbers: [60, 4] Generated Node #0,2,3: 56:[60, 4] Operation: 1+3=4 Exploring Operation: 60-1=59, Resulting Numbers: [3, 59] Generated Node #0,2,4: 56:[3, 59] Operation: 60-1=59 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 56:[1, 57], Operations: ['81-21=60', '60-3=57'] Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,56 unequal: No Solution Exploring Operation: 1*57=57, Resulting Numbers: [57] 57,56 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[81, 1, 3, 21], Operations: [] Exploring Operation: 81-21=60, Resulting Numbers: [1, 3, 60] Generated Node #0,2: 56:[1, 3, 60] Operation: 81-21=60 Moving to Node #0,2 Current State: 56:[1, 3, 60], Operations: ['81-21=60'] Exploring Operation: 60-3=57, Resulting Numbers: [1, 57] Generated Node #0,2,0: 56:[1, 57] Operation: 60-3=57 Moving to Node #0,2,0 Current State: 56:[1, 57], Operations: ['81-21=60', '60-3=57'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 78, 21, 12, 76 ]
18
[ "78-76=2", "21-12=9", "2*9=18" ]
Current State: 18:[78, 21, 12, 76], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [21, 12, 2] Generated Node #2: [21, 12, 2] from Operation: 78-76=2 Current State: 18:[21, 12, 2], Operations: ['78-76=2'] Exploring Operation: 21-12=9, Resulting Numbers: [2, 9] Generated Node #3: [2, 9] from Operation: 21-12=9 Current State: 18:[2, 9], Operations: ['78-76=2', '21-12=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[78, 21, 12, 76], Operations: [] Exploring Operation: 78-12=66, Resulting Numbers: [21, 76, 66] Generated Node #0,0: 18:[21, 76, 66] Operation: 78-12=66 Exploring Operation: 78-21=57, Resulting Numbers: [12, 76, 57] Generated Node #0,1: 18:[12, 76, 57] Operation: 78-21=57 Exploring Operation: 76-21=55, Resulting Numbers: [78, 12, 55] Generated Node #0,2: 18:[78, 12, 55] Operation: 76-21=55 Exploring Operation: 78-76=2, Resulting Numbers: [21, 12, 2] Generated Node #0,3: 18:[21, 12, 2] Operation: 78-76=2 Moving to Node #0,3 Current State: 18:[21, 12, 2], Operations: ['78-76=2'] Exploring Operation: 21-12=9, Resulting Numbers: [2, 9] Generated Node #0,3,0: 18:[2, 9] Operation: 21-12=9 Exploring Operation: 12-2=10, Resulting Numbers: [21, 10] Generated Node #0,3,1: 18:[21, 10] Operation: 12-2=10 Exploring Operation: 12/2=6, Resulting Numbers: [21, 6] Generated Node #0,3,2: 18:[21, 6] Operation: 12/2=6 Exploring Operation: 21-2=19, Resulting Numbers: [12, 19] Generated Node #0,3,3: 18:[12, 19] Operation: 21-2=19 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 18:[2, 9], Operations: ['78-76=2', '21-12=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[78, 21, 12, 76], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [21, 12, 2] Generated Node #0,3: 18:[21, 12, 2] Operation: 78-76=2 Moving to Node #0,3 Current State: 18:[21, 12, 2], Operations: ['78-76=2'] Exploring Operation: 21-12=9, Resulting Numbers: [2, 9] Generated Node #0,3,0: 18:[2, 9] Operation: 21-12=9 Moving to Node #0,3,0 Current State: 18:[2, 9], Operations: ['78-76=2', '21-12=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 39, 67, 19, 89 ]
36
[ "39+67=106", "89-19=70", "106-70=36" ]
Current State: 36:[39, 67, 19, 89], Operations: [] Exploring Operation: 39+67=106, Resulting Numbers: [19, 89, 106] Generated Node #2: [19, 89, 106] from Operation: 39+67=106 Current State: 36:[19, 89, 106], Operations: ['39+67=106'] Exploring Operation: 89-19=70, Resulting Numbers: [106, 70] Generated Node #3: [106, 70] from Operation: 89-19=70 Current State: 36:[106, 70], Operations: ['39+67=106', '89-19=70'] Exploring Operation: 106-70=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[39, 67, 19, 89], Operations: [] Exploring Operation: 67-19=48, Resulting Numbers: [39, 89, 48] Generated Node #0,0: 36:[39, 89, 48] Operation: 67-19=48 Exploring Operation: 89-19=70, Resulting Numbers: [39, 67, 70] Generated Node #0,1: 36:[39, 67, 70] Operation: 89-19=70 Exploring Operation: 89-67=22, Resulting Numbers: [39, 19, 22] Generated Node #0,2: 36:[39, 19, 22] Operation: 89-67=22 Exploring Operation: 67-39=28, Resulting Numbers: [19, 89, 28] Generated Node #0,3: 36:[19, 89, 28] Operation: 67-39=28 Exploring Operation: 89-39=50, Resulting Numbers: [67, 19, 50] Generated Node #0,4: 36:[67, 19, 50] Operation: 89-39=50 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[39, 19, 22], Operations: ['89-67=22'] Exploring Operation: 39+19=58, Resulting Numbers: [22, 58] Generated Node #0,2,0: 36:[22, 58] Operation: 39+19=58 Exploring Operation: 22-19=3, Resulting Numbers: [39, 3] Generated Node #0,2,1: 36:[39, 3] Operation: 22-19=3 Exploring Operation: 39-19=20, Resulting Numbers: [22, 20] Generated Node #0,2,2: 36:[22, 20] Operation: 39-19=20 Exploring Operation: 39-22=17, Resulting Numbers: [19, 17] Generated Node #0,2,3: 36:[19, 17] Operation: 39-22=17 Exploring Operation: 19+22=41, Resulting Numbers: [39, 41] Generated Node #0,2,4: 36:[39, 41] Operation: 19+22=41 Moving to Node #0,2,3 Current State: 36:[19, 17], Operations: ['89-67=22', '39-22=17'] Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[39, 67, 19, 89], Operations: [] Exploring Operation: 89-67=22, Resulting Numbers: [39, 19, 22] Generated Node #0,2: 36:[39, 19, 22] Operation: 89-67=22 Moving to Node #0,2 Current State: 36:[39, 19, 22], Operations: ['89-67=22'] Exploring Operation: 39-22=17, Resulting Numbers: [19, 17] Generated Node #0,2,3: 36:[19, 17] Operation: 39-22=17 Moving to Node #0,2,3 Current State: 36:[19, 17], Operations: ['89-67=22', '39-22=17'] Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 23, 28, 21, 14 ]
86
[ "23+28=51", "21+14=35", "51+35=86" ]
Current State: 86:[23, 28, 21, 14], Operations: [] Exploring Operation: 23+28=51, Resulting Numbers: [21, 14, 51] Generated Node #2: [21, 14, 51] from Operation: 23+28=51 Current State: 86:[21, 14, 51], Operations: ['23+28=51'] Exploring Operation: 21+14=35, Resulting Numbers: [51, 35] Generated Node #3: [51, 35] from Operation: 21+14=35 Current State: 86:[51, 35], Operations: ['23+28=51', '21+14=35'] Exploring Operation: 51+35=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[23, 28, 21, 14], Operations: [] Exploring Operation: 23+21=44, Resulting Numbers: [28, 14, 44] Generated Node #0,0: 86:[28, 14, 44] Operation: 23+21=44 Exploring Operation: 23-21=2, Resulting Numbers: [28, 14, 2] Generated Node #0,1: 86:[28, 14, 2] Operation: 23-21=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[28, 14, 2], Operations: ['23-21=2'] Exploring Operation: 28+14=42, Resulting Numbers: [2, 42] Generated Node #0,1,0: 86:[2, 42] Operation: 28+14=42 Exploring Operation: 28/14=2, Resulting Numbers: [2, 2] Generated Node #0,1,1: 86:[2, 2] Operation: 28/14=2 Moving to Node #0,1,1 Current State: 86:[2, 2], Operations: ['23-21=2', '28/14=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[2, 42], Operations: ['23-21=2', '28+14=42'] Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,86 unequal: No Solution Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[28, 14, 44], Operations: ['23+21=44'] Exploring Operation: 28/14=2, Resulting Numbers: [44, 2] Generated Node #0,0,0: 86:[44, 2] Operation: 28/14=2 Exploring Operation: 28+14=42, Resulting Numbers: [44, 42] Generated Node #0,0,1: 86:[44, 42] Operation: 28+14=42 Moving to Node #0,0,0 Current State: 86:[44, 2], Operations: ['23+21=44', '28/14=2'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[44, 42], Operations: ['23+21=44', '28+14=42'] Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[23, 28, 21, 14], Operations: [] Exploring Operation: 23+21=44, Resulting Numbers: [28, 14, 44] Generated Node #0,0: 86:[28, 14, 44] Operation: 23+21=44 Moving to Node #0,0 Current State: 86:[28, 14, 44], Operations: ['23+21=44'] Exploring Operation: 28+14=42, Resulting Numbers: [44, 42] Generated Node #0,0,1: 86:[44, 42] Operation: 28+14=42 Moving to Node #0,0,1 Current State: 86:[44, 42], Operations: ['23+21=44', '28+14=42'] Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
sum_heuristic
[ 9, 70, 67, 4 ]
33
[ "9*4=36", "70-67=3", "36-3=33" ]
Current State: 33:[9, 70, 67, 4], Operations: [] Exploring Operation: 9*4=36, Resulting Numbers: [70, 67, 36] Generated Node #2: [70, 67, 36] from Operation: 9*4=36 Current State: 33:[70, 67, 36], Operations: ['9*4=36'] Exploring Operation: 70-67=3, Resulting Numbers: [36, 3] Generated Node #3: [36, 3] from Operation: 70-67=3 Current State: 33:[36, 3], Operations: ['9*4=36', '70-67=3'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[9, 70, 67, 4], Operations: [] Exploring Operation: 67-4=63, Resulting Numbers: [9, 70, 63] Generated Node #0,0: 33:[9, 70, 63] Operation: 67-4=63 Exploring Operation: 70-67=3, Resulting Numbers: [9, 4, 3] Generated Node #0,1: 33:[9, 4, 3] Operation: 70-67=3 Exploring Operation: 70-9=61, Resulting Numbers: [67, 4, 61] Generated Node #0,2: 33:[67, 4, 61] Operation: 70-9=61 Exploring Operation: 67-9=58, Resulting Numbers: [70, 4, 58] Generated Node #0,3: 33:[70, 4, 58] Operation: 67-9=58 Exploring Operation: 70-4=66, Resulting Numbers: [9, 67, 66] Generated Node #0,4: 33:[9, 67, 66] Operation: 70-4=66 Moving to Node #0,1 Current State: 33:[9, 4, 3], Operations: ['70-67=3'] Exploring Operation: 9-4=5, Resulting Numbers: [3, 5] Generated Node #0,1,0: 33:[3, 5] Operation: 9-4=5 Exploring Operation: 9/3=3, Resulting Numbers: [4, 3] Generated Node #0,1,1: 33:[4, 3] Operation: 9/3=3 Exploring Operation: 9+4=13, Resulting Numbers: [3, 13] Generated Node #0,1,2: 33:[3, 13] Operation: 9+4=13 Exploring Operation: 9+3=12, Resulting Numbers: [4, 12] Generated Node #0,1,3: 33:[4, 12] Operation: 9+3=12 Exploring Operation: 9*4=36, Resulting Numbers: [3, 36] Generated Node #0,1,4: 33:[3, 36] Operation: 9*4=36 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[4, 3], Operations: ['70-67=3', '9/3=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,33 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[3, 5], Operations: ['70-67=3', '9-4=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 33:[3, 13], Operations: ['70-67=3', '9+4=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,33 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 33:[4, 12], Operations: ['70-67=3', '9+3=12'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,33 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 33:[3, 36], Operations: ['70-67=3', '9*4=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,33 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[9, 70, 67, 4], Operations: [] Exploring Operation: 70-67=3, Resulting Numbers: [9, 4, 3] Generated Node #0,1: 33:[9, 4, 3] Operation: 70-67=3 Moving to Node #0,1 Current State: 33:[9, 4, 3], Operations: ['70-67=3'] Exploring Operation: 9*4=36, Resulting Numbers: [3, 36] Generated Node #0,1,4: 33:[3, 36] Operation: 9*4=36 Moving to Node #0,1,4 Current State: 33:[3, 36], Operations: ['70-67=3', '9*4=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_5
mult_heuristic
[ 19, 93, 47, 3 ]
35
[ "19+47=66", "93/3=31", "66-31=35" ]
Current State: 35:[19, 93, 47, 3], Operations: [] Exploring Operation: 19+47=66, Resulting Numbers: [93, 3, 66] Generated Node #2: [93, 3, 66] from Operation: 19+47=66 Current State: 35:[93, 3, 66], Operations: ['19+47=66'] Exploring Operation: 93/3=31, Resulting Numbers: [66, 31] Generated Node #3: [66, 31] from Operation: 93/3=31 Current State: 35:[66, 31], Operations: ['19+47=66', '93/3=31'] Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[19, 93, 47, 3], Operations: [] Exploring Operation: 93-47=46, Resulting Numbers: [19, 3, 46] Generated Node #0,0: 35:[19, 3, 46] Operation: 93-47=46 Exploring Operation: 93-19=74, Resulting Numbers: [47, 3, 74] Generated Node #0,1: 35:[47, 3, 74] Operation: 93-19=74 Exploring Operation: 19-3=16, Resulting Numbers: [93, 47, 16] Generated Node #0,2: 35:[93, 47, 16] Operation: 19-3=16 Exploring Operation: 93/3=31, Resulting Numbers: [19, 47, 31] Generated Node #0,3: 35:[19, 47, 31] Operation: 93/3=31 Exploring Operation: 47-19=28, Resulting Numbers: [93, 3, 28] Generated Node #0,4: 35:[93, 3, 28] Operation: 47-19=28 Moving to Node #0,0 Current State: 35:[19, 3, 46], Operations: ['93-47=46'] Exploring Operation: 46-3=43, Resulting Numbers: [19, 43] Generated Node #0,0,0: 35:[19, 43] Operation: 46-3=43 Exploring Operation: 19+3=22, Resulting Numbers: [46, 22] Generated Node #0,0,1: 35:[46, 22] Operation: 19+3=22 Exploring Operation: 46-19=27, Resulting Numbers: [3, 27] Generated Node #0,0,2: 35:[3, 27] Operation: 46-19=27 Exploring Operation: 3+46=49, Resulting Numbers: [19, 49] Generated Node #0,0,3: 35:[19, 49] Operation: 3+46=49 Exploring Operation: 19-3=16, Resulting Numbers: [46, 16] Generated Node #0,0,4: 35:[46, 16] Operation: 19-3=16 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 35:[3, 27], Operations: ['93-47=46', '46-19=27'] Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,35 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[19, 43], Operations: ['93-47=46', '46-3=43'] Exploring Operation: 19*43=817, Resulting Numbers: [817] 817,35 unequal: No Solution Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 19+43=62, Resulting Numbers: [62] 62,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 35:[46, 16], Operations: ['93-47=46', '19-3=16'] Exploring Operation: 46+16=62, Resulting Numbers: [62] 62,35 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 46*16=736, Resulting Numbers: [736] 736,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 35:[46, 22], Operations: ['93-47=46', '19+3=22'] Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 46+22=68, Resulting Numbers: [68] 68,35 unequal: No Solution Exploring Operation: 46*22=1012, Resulting Numbers: [1012] 1012,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 35:[19, 49], Operations: ['93-47=46', '3+46=49'] Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 19+49=68, Resulting Numbers: [68] 68,35 unequal: No Solution Exploring Operation: 19*49=931, Resulting Numbers: [931] 931,35 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: 35:[19, 47, 31], Operations: ['93/3=31'] Exploring Operation: 47-31=16, Resulting Numbers: [19, 16] Generated Node #0,3,0: 35:[19, 16] Operation: 47-31=16 Exploring Operation: 31-19=12, Resulting Numbers: [47, 12] Generated Node #0,3,1: 35:[47, 12] Operation: 31-19=12 Exploring Operation: 47-19=28, Resulting Numbers: [31, 28] Generated Node #0,3,2: 35:[31, 28] Operation: 47-19=28 Exploring Operation: 19+47=66, Resulting Numbers: [31, 66] Generated Node #0,3,3: 35:[31, 66] Operation: 19+47=66 Exploring Operation: 19+31=50, Resulting Numbers: [47, 50] Generated Node #0,3,4: 35:[47, 50] Operation: 19+31=50 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 35:[31, 28], Operations: ['93/3=31', '47-19=28'] Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,35 unequal: No Solution Exploring Operation: 31*28=868, Resulting Numbers: [868] 868,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 35:[47, 12], Operations: ['93/3=31', '31-19=12'] Exploring Operation: 47+12=59, Resulting Numbers: [59] 59,35 unequal: No Solution Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[19, 93, 47, 3], Operations: [] Exploring Operation: 93/3=31, Resulting Numbers: [19, 47, 31] Generated Node #0,3: 35:[19, 47, 31] Operation: 93/3=31 Moving to Node #0,3 Current State: 35:[19, 47, 31], Operations: ['93/3=31'] Exploring Operation: 31-19=12, Resulting Numbers: [47, 12] Generated Node #0,3,1: 35:[47, 12] Operation: 31-19=12 Moving to Node #0,3,1 Current State: 35:[47, 12], Operations: ['93/3=31', '31-19=12'] Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_5
mult_heuristic
[ 20, 96, 69, 31 ]
38
[ "96-20=76", "69-31=38", "76-38=38" ]
Current State: 38:[20, 96, 69, 31], Operations: [] Exploring Operation: 96-20=76, Resulting Numbers: [69, 31, 76] Generated Node #2: [69, 31, 76] from Operation: 96-20=76 Current State: 38:[69, 31, 76], Operations: ['96-20=76'] Exploring Operation: 69-31=38, Resulting Numbers: [76, 38] Generated Node #3: [76, 38] from Operation: 69-31=38 Current State: 38:[76, 38], Operations: ['96-20=76', '69-31=38'] Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[20, 96, 69, 31], Operations: [] Exploring Operation: 96-31=65, Resulting Numbers: [20, 69, 65] Generated Node #0,0: 38:[20, 69, 65] Operation: 96-31=65 Exploring Operation: 96-69=27, Resulting Numbers: [20, 31, 27] Generated Node #0,1: 38:[20, 31, 27] Operation: 96-69=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[20, 31, 27], Operations: ['96-69=27'] Exploring Operation: 27-20=7, Resulting Numbers: [31, 7] Generated Node #0,1,0: 38:[31, 7] Operation: 27-20=7 Exploring Operation: 31-27=4, Resulting Numbers: [20, 4] Generated Node #0,1,1: 38:[20, 4] Operation: 31-27=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[20, 4], Operations: ['96-69=27', '31-27=4'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,38 unequal: No Solution No 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: 38:[31, 7], Operations: ['96-69=27', '27-20=7'] Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[20, 96, 69, 31], Operations: [] Exploring Operation: 96-69=27, Resulting Numbers: [20, 31, 27] Generated Node #0,1: 38:[20, 31, 27] Operation: 96-69=27 Moving to Node #0,1 Current State: 38:[20, 31, 27], Operations: ['96-69=27'] Exploring Operation: 27-20=7, Resulting Numbers: [31, 7] Generated Node #0,1,0: 38:[31, 7] Operation: 27-20=7 Moving to Node #0,1,0 Current State: 38:[31, 7], Operations: ['96-69=27', '27-20=7'] Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 85, 66, 4, 5 ]
91
[ "85-66=19", "5*19=95", "95-4=91" ]
Current State: 91:[85, 66, 4, 5], Operations: [] Exploring Operation: 85-66=19, Resulting Numbers: [4, 5, 19] Generated Node #2: [4, 5, 19] from Operation: 85-66=19 Current State: 91:[4, 5, 19], Operations: ['85-66=19'] Exploring Operation: 5*19=95, Resulting Numbers: [4, 95] Generated Node #3: [4, 95] from Operation: 5*19=95 Current State: 91:[4, 95], Operations: ['85-66=19', '5*19=95'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[85, 66, 4, 5], Operations: [] Exploring Operation: 85-66=19, Resulting Numbers: [4, 5, 19] Generated Node #0,0: 91:[4, 5, 19] Operation: 85-66=19 Exploring Operation: 66+4=70, Resulting Numbers: [85, 5, 70] Generated Node #0,1: 91:[85, 5, 70] Operation: 66+4=70 Exploring Operation: 85+4=89, Resulting Numbers: [66, 5, 89] Generated Node #0,2: 91:[66, 5, 89] Operation: 85+4=89 Exploring Operation: 85+5=90, Resulting Numbers: [66, 4, 90] Generated Node #0,3: 91:[66, 4, 90] Operation: 85+5=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[4, 5, 19], Operations: ['85-66=19'] Exploring Operation: 4+5=9, Resulting Numbers: [19, 9] Generated Node #0,0,0: 91:[19, 9] Operation: 4+5=9 Exploring Operation: 19-5=14, Resulting Numbers: [4, 14] Generated Node #0,0,1: 91:[4, 14] Operation: 19-5=14 Exploring Operation: 19-4=15, Resulting Numbers: [5, 15] Generated Node #0,0,2: 91:[5, 15] Operation: 19-4=15 Exploring Operation: 5*19=95, Resulting Numbers: [4, 95] Generated Node #0,0,3: 91:[4, 95] Operation: 5*19=95 Moving to Node #0,0,1 Current State: 91:[4, 14], Operations: ['85-66=19', '19-5=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,91 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,91 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[5, 15], Operations: ['85-66=19', '19-4=15'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,91 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,91 unequal: No Solution Moving to Node #0,0,3 Current State: 91:[4, 95], Operations: ['85-66=19', '5*19=95'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[85, 66, 4, 5], Operations: [] Exploring Operation: 85-66=19, Resulting Numbers: [4, 5, 19] Generated Node #0,0: 91:[4, 5, 19] Operation: 85-66=19 Moving to Node #0,0 Current State: 91:[4, 5, 19], Operations: ['85-66=19'] Exploring Operation: 5*19=95, Resulting Numbers: [4, 95] Generated Node #0,0,3: 91:[4, 95] Operation: 5*19=95 Moving to Node #0,0,3 Current State: 91:[4, 95], Operations: ['85-66=19', '5*19=95'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 11, 15, 58, 83 ]
100
[ "15-11=4", "83-58=25", "4*25=100" ]
Current State: 100:[11, 15, 58, 83], Operations: [] Exploring Operation: 15-11=4, Resulting Numbers: [58, 83, 4] Generated Node #2: [58, 83, 4] from Operation: 15-11=4 Current State: 100:[58, 83, 4], Operations: ['15-11=4'] Exploring Operation: 83-58=25, Resulting Numbers: [4, 25] Generated Node #3: [4, 25] from Operation: 83-58=25 Current State: 100:[4, 25], Operations: ['15-11=4', '83-58=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[11, 15, 58, 83], Operations: [] Exploring Operation: 15+83=98, Resulting Numbers: [11, 58, 98] Generated Node #0,0: 100:[11, 58, 98] Operation: 15+83=98 Exploring Operation: 83-58=25, Resulting Numbers: [11, 15, 25] Generated Node #0,1: 100:[11, 15, 25] Operation: 83-58=25 Exploring Operation: 11+83=94, Resulting Numbers: [15, 58, 94] Generated Node #0,2: 100:[15, 58, 94] Operation: 11+83=94 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[11, 15, 25], Operations: ['83-58=25'] Exploring Operation: 11+15=26, Resulting Numbers: [25, 26] Generated Node #0,1,0: 100:[25, 26] Operation: 11+15=26 Exploring Operation: 25-15=10, Resulting Numbers: [11, 10] Generated Node #0,1,1: 100:[11, 10] Operation: 25-15=10 Exploring Operation: 15-11=4, Resulting Numbers: [25, 4] Generated Node #0,1,2: 100:[25, 4] Operation: 15-11=4 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 100:[25, 4], Operations: ['83-58=25', '15-11=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[11, 15, 58, 83], Operations: [] Exploring Operation: 83-58=25, Resulting Numbers: [11, 15, 25] Generated Node #0,1: 100:[11, 15, 25] Operation: 83-58=25 Moving to Node #0,1 Current State: 100:[11, 15, 25], Operations: ['83-58=25'] Exploring Operation: 15-11=4, Resulting Numbers: [25, 4] Generated Node #0,1,2: 100:[25, 4] Operation: 15-11=4 Moving to Node #0,1,2 Current State: 100:[25, 4], Operations: ['83-58=25', '15-11=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 20, 27, 9, 38 ]
76
[ "20+27=47", "38-9=29", "47+29=76" ]
Current State: 76:[20, 27, 9, 38], Operations: [] Exploring Operation: 20+27=47, Resulting Numbers: [9, 38, 47] Generated Node #2: [9, 38, 47] from Operation: 20+27=47 Current State: 76:[9, 38, 47], Operations: ['20+27=47'] Exploring Operation: 38-9=29, Resulting Numbers: [47, 29] Generated Node #3: [47, 29] from Operation: 38-9=29 Current State: 76:[47, 29], Operations: ['20+27=47', '38-9=29'] Exploring Operation: 47+29=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[20, 27, 9, 38], Operations: [] Exploring Operation: 27-9=18, Resulting Numbers: [20, 38, 18] Generated Node #0,0: 76:[20, 38, 18] Operation: 27-9=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[20, 38, 18], Operations: ['27-9=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38, 38] Generated Node #0,0,0: 76:[38, 38] Operation: 20+18=38 Moving to Node #0,0,0 Current State: 76:[38, 38], Operations: ['27-9=18', '20+18=38'] Exploring Operation: 38+38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[20, 27, 9, 38], Operations: [] Exploring Operation: 27-9=18, Resulting Numbers: [20, 38, 18] Generated Node #0,0: 76:[20, 38, 18] Operation: 27-9=18 Moving to Node #0,0 Current State: 76:[20, 38, 18], Operations: ['27-9=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38, 38] Generated Node #0,0,0: 76:[38, 38] Operation: 20+18=38 Moving to Node #0,0,0 Current State: 76:[38, 38], Operations: ['27-9=18', '20+18=38'] Exploring Operation: 38+38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 60, 99, 21, 82 ]
99
[ "60+21=81", "82-81=1", "99*1=99" ]
Current State: 99:[60, 99, 21, 82], Operations: [] Exploring Operation: 60+21=81, Resulting Numbers: [99, 82, 81] Generated Node #2: [99, 82, 81] from Operation: 60+21=81 Current State: 99:[99, 82, 81], Operations: ['60+21=81'] Exploring Operation: 82-81=1, Resulting Numbers: [99, 1] Generated Node #3: [99, 1] from Operation: 82-81=1 Current State: 99:[99, 1], Operations: ['60+21=81', '82-81=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[60, 99, 21, 82], Operations: [] Exploring Operation: 82-60=22, Resulting Numbers: [99, 21, 22] Generated Node #0,0: 99:[99, 21, 22] Operation: 82-60=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[99, 21, 22], Operations: ['82-60=22'] Exploring Operation: 22-21=1, Resulting Numbers: [99, 1] Generated Node #0,0,0: 99:[99, 1] Operation: 22-21=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[99, 1], Operations: ['82-60=22', '22-21=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[60, 99, 21, 82], Operations: [] Exploring Operation: 82-60=22, Resulting Numbers: [99, 21, 22] Generated Node #0,0: 99:[99, 21, 22] Operation: 82-60=22 Moving to Node #0,0 Current State: 99:[99, 21, 22], Operations: ['82-60=22'] Exploring Operation: 22-21=1, Resulting Numbers: [99, 1] Generated Node #0,0,0: 99:[99, 1] Operation: 22-21=1 Moving to Node #0,0,0 Current State: 99:[99, 1], Operations: ['82-60=22', '22-21=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 43, 23, 54, 13 ]
47
[ "43-23=20", "54+13=67", "67-20=47" ]
Current State: 47:[43, 23, 54, 13], Operations: [] Exploring Operation: 43-23=20, Resulting Numbers: [54, 13, 20] Generated Node #2: [54, 13, 20] from Operation: 43-23=20 Current State: 47:[54, 13, 20], Operations: ['43-23=20'] Exploring Operation: 54+13=67, Resulting Numbers: [20, 67] Generated Node #3: [20, 67] from Operation: 54+13=67 Current State: 47:[20, 67], Operations: ['43-23=20', '54+13=67'] Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[43, 23, 54, 13], Operations: [] Exploring Operation: 43+13=56, Resulting Numbers: [23, 54, 56] Generated Node #0,0: 47:[23, 54, 56] Operation: 43+13=56 Exploring Operation: 54-13=41, Resulting Numbers: [43, 23, 41] Generated Node #0,1: 47:[43, 23, 41] Operation: 54-13=41 Exploring Operation: 23+13=36, Resulting Numbers: [43, 54, 36] Generated Node #0,2: 47:[43, 54, 36] Operation: 23+13=36 Exploring Operation: 23-13=10, Resulting Numbers: [43, 54, 10] Generated Node #0,3: 47:[43, 54, 10] Operation: 23-13=10 Exploring Operation: 43-13=30, Resulting Numbers: [23, 54, 30] Generated Node #0,4: 47:[23, 54, 30] Operation: 43-13=30 Moving to Node #0,2 Current State: 47:[43, 54, 36], Operations: ['23+13=36'] Exploring Operation: 54-43=11, Resulting Numbers: [36, 11] Generated Node #0,2,0: 47:[36, 11] Operation: 54-43=11 Exploring Operation: 54-36=18, Resulting Numbers: [43, 18] Generated Node #0,2,1: 47:[43, 18] Operation: 54-36=18 Exploring Operation: 43+36=79, Resulting Numbers: [54, 79] Generated Node #0,2,2: 47:[54, 79] Operation: 43+36=79 Exploring Operation: 54+36=90, Resulting Numbers: [43, 90] Generated Node #0,2,3: 47:[43, 90] Operation: 54+36=90 Exploring Operation: 43-36=7, Resulting Numbers: [54, 7] Generated Node #0,2,4: 47:[54, 7] Operation: 43-36=7 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[43, 18], Operations: ['23+13=36', '54-36=18'] Exploring Operation: 43*18=774, Resulting Numbers: [774] 774,47 unequal: No Solution Exploring Operation: 43+18=61, Resulting Numbers: [61] 61,47 unequal: No Solution Exploring Operation: 43-18=25, Resulting Numbers: [25] 25,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 47:[54, 79], Operations: ['23+13=36', '43+36=79'] Exploring Operation: 54*79=4266, Resulting Numbers: [4266] 4266,47 unequal: No Solution Exploring Operation: 54+79=133, Resulting Numbers: [133] 133,47 unequal: No Solution Exploring Operation: 79-54=25, Resulting Numbers: [25] 25,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[36, 11], Operations: ['23+13=36', '54-43=11'] Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,47 unequal: No Solution Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[43, 23, 54, 13], Operations: [] Exploring Operation: 23+13=36, Resulting Numbers: [43, 54, 36] Generated Node #0,2: 47:[43, 54, 36] Operation: 23+13=36 Moving to Node #0,2 Current State: 47:[43, 54, 36], Operations: ['23+13=36'] Exploring Operation: 54-43=11, Resulting Numbers: [36, 11] Generated Node #0,2,0: 47:[36, 11] Operation: 54-43=11 Moving to Node #0,2,0 Current State: 47:[36, 11], Operations: ['23+13=36', '54-43=11'] Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 33, 82, 79, 16 ]
15
[ "82-79=3", "16*3=48", "48-33=15" ]
Current State: 15:[33, 82, 79, 16], Operations: [] Exploring Operation: 82-79=3, Resulting Numbers: [33, 16, 3] Generated Node #2: [33, 16, 3] from Operation: 82-79=3 Current State: 15:[33, 16, 3], Operations: ['82-79=3'] Exploring Operation: 16*3=48, Resulting Numbers: [33, 48] Generated Node #3: [33, 48] from Operation: 16*3=48 Current State: 15:[33, 48], Operations: ['82-79=3', '16*3=48'] Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[33, 82, 79, 16], Operations: [] Exploring Operation: 33-16=17, Resulting Numbers: [82, 79, 17] Generated Node #0,0: 15:[82, 79, 17] Operation: 33-16=17 Exploring Operation: 79-33=46, Resulting Numbers: [82, 16, 46] Generated Node #0,1: 15:[82, 16, 46] Operation: 79-33=46 Exploring Operation: 82-33=49, Resulting Numbers: [79, 16, 49] Generated Node #0,2: 15:[79, 16, 49] Operation: 82-33=49 Exploring Operation: 82-79=3, Resulting Numbers: [33, 16, 3] Generated Node #0,3: 15:[33, 16, 3] Operation: 82-79=3 Moving to Node #0,3 Current State: 15:[33, 16, 3], Operations: ['82-79=3'] Exploring Operation: 33-16=17, Resulting Numbers: [3, 17] Generated Node #0,3,0: 15:[3, 17] Operation: 33-16=17 Exploring Operation: 16-3=13, Resulting Numbers: [33, 13] Generated Node #0,3,1: 15:[33, 13] Operation: 16-3=13 Exploring Operation: 33-3=30, Resulting Numbers: [16, 30] Generated Node #0,3,2: 15:[16, 30] Operation: 33-3=30 Exploring Operation: 33/3=11, Resulting Numbers: [16, 11] Generated Node #0,3,3: 15:[16, 11] Operation: 33/3=11 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 15:[3, 17], Operations: ['82-79=3', '33-16=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,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,3,3 Current State: 15:[16, 11], Operations: ['82-79=3', '33/3=11'] Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,15 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 15:[16, 30], Operations: ['82-79=3', '33-3=30'] Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 16*30=480, Resulting Numbers: [480] 480,15 unequal: No Solution Exploring Operation: 16+30=46, Resulting Numbers: [46] 46,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,3,1 Current State: 15:[33, 13], Operations: ['82-79=3', '16-3=13'] Exploring Operation: 33*13=429, Resulting Numbers: [429] 429,15 unequal: No Solution Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 33+13=46, Resulting Numbers: [46] 46,15 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: 15:[79, 16, 49], Operations: ['82-33=49'] Exploring Operation: 79+16=95, Resulting Numbers: [49, 95] Generated Node #0,2,0: 15:[49, 95] Operation: 79+16=95 Exploring Operation: 49-16=33, Resulting Numbers: [79, 33] Generated Node #0,2,1: 15:[79, 33] Operation: 49-16=33 Exploring Operation: 79-16=63, Resulting Numbers: [49, 63] Generated Node #0,2,2: 15:[49, 63] Operation: 79-16=63 Exploring Operation: 79-49=30, Resulting Numbers: [16, 30] Generated Node #0,2,3: 15:[16, 30] Operation: 79-49=30 Moving to Node #0,1 Current State: 15:[82, 16, 46], Operations: ['79-33=46'] Exploring Operation: 82+16=98, Resulting Numbers: [46, 98] Generated Node #0,1,0: 15:[46, 98] Operation: 82+16=98 Exploring Operation: 82-46=36, Resulting Numbers: [16, 36] Generated Node #0,1,1: 15:[16, 36] Operation: 82-46=36 Exploring Operation: 82-16=66, Resulting Numbers: [46, 66] Generated Node #0,1,2: 15:[46, 66] Operation: 82-16=66 Exploring Operation: 46-16=30, Resulting Numbers: [82, 30] Generated Node #0,1,3: 15:[82, 30] Operation: 46-16=30 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[16, 36], Operations: ['79-33=46', '82-46=36'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,15 unequal: No Solution Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 15:[46, 66], Operations: ['79-33=46', '82-16=66'] Exploring Operation: 46+66=112, Resulting Numbers: [112] 112,15 unequal: No Solution Exploring Operation: 46*66=3036, Resulting Numbers: [3036] 3036,15 unequal: No Solution Exploring Operation: 66-46=20, Resulting Numbers: [20] 20,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 15:[82, 30], Operations: ['79-33=46', '46-16=30'] Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 82*30=2460, Resulting Numbers: [2460] 2460,15 unequal: No Solution Exploring Operation: 82+30=112, Resulting Numbers: [112] 112,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[46, 98], Operations: ['79-33=46', '82+16=98'] Exploring Operation: 46*98=4508, Resulting Numbers: [4508] 4508,15 unequal: No Solution Exploring Operation: 46+98=144, Resulting Numbers: [144] 144,15 unequal: No Solution Exploring Operation: 98-46=52, Resulting Numbers: [52] 52,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 15:[82, 79, 17], Operations: ['33-16=17'] Exploring Operation: 82+79=161, Resulting Numbers: [17, 161] Generated Node #0,0,0: 15:[17, 161] Operation: 82+79=161 Exploring Operation: 82-17=65, Resulting Numbers: [79, 65] Generated Node #0,0,1: 15:[79, 65] Operation: 82-17=65 Exploring Operation: 79-17=62, Resulting Numbers: [82, 62] Generated Node #0,0,2: 15:[82, 62] Operation: 79-17=62 Exploring Operation: 82-79=3, Resulting Numbers: [17, 3] Generated Node #0,0,3: 15:[17, 3] Operation: 82-79=3 Moving to Node #0,0,3 Current State: 15:[17, 3], Operations: ['33-16=17', '82-79=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,15 unequal: No Solution Moving to Node #0,2,3 Current State: 15:[16, 30], Operations: ['82-33=49', '79-49=30'] Exploring Operation: 16*30=480, Resulting Numbers: [480] 480,15 unequal: No Solution Exploring Operation: 16+30=46, Resulting Numbers: [46] 46,15 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[49, 63], Operations: ['82-33=49', '79-16=63'] Exploring Operation: 49*63=3087, Resulting Numbers: [3087] 3087,15 unequal: No Solution Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 49+63=112, Resulting Numbers: [112] 112,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[79, 33], Operations: ['82-33=49', '49-16=33'] Exploring Operation: 79+33=112, Resulting Numbers: [112] 112,15 unequal: No Solution Exploring Operation: 79*33=2607, Resulting Numbers: [2607] 2607,15 unequal: No Solution Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[79, 65], Operations: ['33-16=17', '82-17=65'] Exploring Operation: 79+65=144, Resulting Numbers: [144] 144,15 unequal: No Solution Exploring Operation: 79*65=5135, Resulting Numbers: [5135] 5135,15 unequal: No Solution Exploring Operation: 79-65=14, Resulting Numbers: [14] 14,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[49, 95], Operations: ['82-33=49', '79+16=95'] Exploring Operation: 49*95=4655, Resulting Numbers: [4655] 4655,15 unequal: No Solution Exploring Operation: 49+95=144, Resulting Numbers: [144] 144,15 unequal: No Solution Exploring Operation: 95-49=46, Resulting Numbers: [46] 46,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[82, 62], Operations: ['33-16=17', '79-17=62'] Exploring Operation: 82*62=5084, Resulting Numbers: [5084] 5084,15 unequal: No Solution Exploring Operation: 82+62=144, Resulting Numbers: [144] 144,15 unequal: No Solution Exploring Operation: 82-62=20, Resulting Numbers: [20] 20,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[17, 161], Operations: ['33-16=17', '82+79=161'] Exploring Operation: 161-17=144, Resulting Numbers: [144] 144,15 unequal: No Solution Exploring Operation: 17+161=178, Resulting Numbers: [178] 178,15 unequal: No Solution Exploring Operation: 17*161=2737, Resulting Numbers: [2737] 2737,15 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 45, 48, 23, 31 ]
51
[ "48-45=3", "23+31=54", "54-3=51" ]
Current State: 51:[45, 48, 23, 31], Operations: [] Exploring Operation: 48-45=3, Resulting Numbers: [23, 31, 3] Generated Node #2: [23, 31, 3] from Operation: 48-45=3 Current State: 51:[23, 31, 3], Operations: ['48-45=3'] Exploring Operation: 23+31=54, Resulting Numbers: [3, 54] Generated Node #3: [3, 54] from Operation: 23+31=54 Current State: 51:[3, 54], Operations: ['48-45=3', '23+31=54'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[45, 48, 23, 31], Operations: [] Exploring Operation: 48-31=17, Resulting Numbers: [45, 23, 17] Generated Node #0,0: 51:[45, 23, 17] Operation: 48-31=17 Exploring Operation: 23+31=54, Resulting Numbers: [45, 48, 54] Generated Node #0,1: 51:[45, 48, 54] Operation: 23+31=54 Exploring Operation: 31-23=8, Resulting Numbers: [45, 48, 8] Generated Node #0,2: 51:[45, 48, 8] Operation: 31-23=8 Exploring Operation: 45-31=14, Resulting Numbers: [48, 23, 14] Generated Node #0,3: 51:[48, 23, 14] Operation: 45-31=14 Moving to Node #0,0 Current State: 51:[45, 23, 17], Operations: ['48-31=17'] Exploring Operation: 45+23=68, Resulting Numbers: [17, 68] Generated Node #0,0,0: 51:[17, 68] Operation: 45+23=68 Exploring Operation: 45+17=62, Resulting Numbers: [23, 62] Generated Node #0,0,1: 51:[23, 62] Operation: 45+17=62 Exploring Operation: 45-23=22, Resulting Numbers: [17, 22] Generated Node #0,0,2: 51:[17, 22] Operation: 45-23=22 Exploring Operation: 23-17=6, Resulting Numbers: [45, 6] Generated Node #0,0,3: 51:[45, 6] Operation: 23-17=6 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 51:[17, 22], Operations: ['48-31=17', '45-23=22'] Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,51 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,51 unequal: No Solution Exploring Operation: 22-17=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,0,3 Current State: 51:[45, 6], Operations: ['48-31=17', '23-17=6'] Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,51 unequal: No Solution Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,51 unequal: No Solution Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[45, 48, 23, 31], Operations: [] Exploring Operation: 48-31=17, Resulting Numbers: [45, 23, 17] Generated Node #0,0: 51:[45, 23, 17] Operation: 48-31=17 Moving to Node #0,0 Current State: 51:[45, 23, 17], Operations: ['48-31=17'] Exploring Operation: 23-17=6, Resulting Numbers: [45, 6] Generated Node #0,0,3: 51:[45, 6] Operation: 23-17=6 Moving to Node #0,0,3 Current State: 51:[45, 6], Operations: ['48-31=17', '23-17=6'] Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 21, 78, 12, 75 ]
30
[ "78-21=57", "12+75=87", "87-57=30" ]
Current State: 30:[21, 78, 12, 75], Operations: [] Exploring Operation: 78-21=57, Resulting Numbers: [12, 75, 57] Generated Node #2: [12, 75, 57] from Operation: 78-21=57 Current State: 30:[12, 75, 57], Operations: ['78-21=57'] Exploring Operation: 12+75=87, Resulting Numbers: [57, 87] Generated Node #3: [57, 87] from Operation: 12+75=87 Current State: 30:[57, 87], Operations: ['78-21=57', '12+75=87'] Exploring Operation: 87-57=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[21, 78, 12, 75], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [21, 12, 3] Generated Node #0,0: 30:[21, 12, 3] Operation: 78-75=3 Exploring Operation: 78-21=57, Resulting Numbers: [12, 75, 57] Generated Node #0,1: 30:[12, 75, 57] Operation: 78-21=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[21, 12, 3], Operations: ['78-75=3'] Exploring Operation: 21+12=33, Resulting Numbers: [3, 33] Generated Node #0,0,0: 30:[3, 33] Operation: 21+12=33 Exploring Operation: 21-12=9, Resulting Numbers: [3, 9] Generated Node #0,0,1: 30:[3, 9] Operation: 21-12=9 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 30:[3, 9], Operations: ['78-75=3', '21-12=9'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,30 unequal: No Solution No 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: 30:[3, 33], Operations: ['78-75=3', '21+12=33'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[21, 78, 12, 75], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [21, 12, 3] Generated Node #0,0: 30:[21, 12, 3] Operation: 78-75=3 Moving to Node #0,0 Current State: 30:[21, 12, 3], Operations: ['78-75=3'] Exploring Operation: 21+12=33, Resulting Numbers: [3, 33] Generated Node #0,0,0: 30:[3, 33] Operation: 21+12=33 Moving to Node #0,0,0 Current State: 30:[3, 33], Operations: ['78-75=3', '21+12=33'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 1, 4, 76, 66 ]
13
[ "4-1=3", "76-66=10", "3+10=13" ]
Current State: 13:[1, 4, 76, 66], Operations: [] Exploring Operation: 4-1=3, Resulting Numbers: [76, 66, 3] Generated Node #2: [76, 66, 3] from Operation: 4-1=3 Current State: 13:[76, 66, 3], Operations: ['4-1=3'] Exploring Operation: 76-66=10, Resulting Numbers: [3, 10] Generated Node #3: [3, 10] from Operation: 76-66=10 Current State: 13:[3, 10], Operations: ['4-1=3', '76-66=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[1, 4, 76, 66], Operations: [] Exploring Operation: 76/4=19, Resulting Numbers: [1, 66, 19] Generated Node #0,0: 13:[1, 66, 19] Operation: 76/4=19 Exploring Operation: 76-1=75, Resulting Numbers: [4, 66, 75] Generated Node #0,1: 13:[4, 66, 75] Operation: 76-1=75 Exploring Operation: 76-66=10, Resulting Numbers: [1, 4, 10] Generated Node #0,2: 13:[1, 4, 10] Operation: 76-66=10 Exploring Operation: 66-1=65, Resulting Numbers: [4, 76, 65] Generated Node #0,3: 13:[4, 76, 65] Operation: 66-1=65 Exploring Operation: 1+4=5, Resulting Numbers: [76, 66, 5] Generated Node #0,4: 13:[76, 66, 5] Operation: 1+4=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[1, 4, 10], Operations: ['76-66=10'] Exploring Operation: 1*10=10, Resulting Numbers: [4, 10] Generated Node #0,2,0: 13:[4, 10] Operation: 1*10=10 Exploring Operation: 4/1=4, Resulting Numbers: [10, 4] Generated Node #0,2,1: 13:[10, 4] Operation: 4/1=4 Exploring Operation: 1+10=11, Resulting Numbers: [4, 11] Generated Node #0,2,2: 13:[4, 11] Operation: 1+10=11 Exploring Operation: 1*4=4, Resulting Numbers: [10, 4] Generated Node #0,2,3: 13:[10, 4] Operation: 1*4=4 Exploring Operation: 1+4=5, Resulting Numbers: [10, 5] Generated Node #0,2,4: 13:[10, 5] Operation: 1+4=5 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 13:[4, 11], Operations: ['76-66=10', '1+10=11'] Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 13:[10, 5], Operations: ['76-66=10', '1+4=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,13 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 13:[4, 10], Operations: ['76-66=10', '1*10=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,13 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 13:[10, 4], Operations: ['76-66=10', '4/1=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 13:[10, 4], Operations: ['76-66=10', '1*4=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[1, 66, 19], Operations: ['76/4=19'] Exploring Operation: 19-1=18, Resulting Numbers: [66, 18] Generated Node #0,0,0: 13:[66, 18] Operation: 19-1=18 Exploring Operation: 66-1=65, Resulting Numbers: [19, 65] Generated Node #0,0,1: 13:[19, 65] Operation: 66-1=65 Exploring Operation: 66/1=66, Resulting Numbers: [19, 66] Generated Node #0,0,2: 13:[19, 66] Operation: 66/1=66 Exploring Operation: 66-19=47, Resulting Numbers: [1, 47] Generated Node #0,0,3: 13:[1, 47] Operation: 66-19=47 Exploring Operation: 1*66=66, Resulting Numbers: [19, 66] Generated Node #0,0,4: 13:[19, 66] Operation: 1*66=66 Moving to Node #0,0,3 Current State: 13:[1, 47], Operations: ['76/4=19', '66-19=47'] Exploring Operation: 1*47=47, Resulting Numbers: [47] 47,13 unequal: No Solution Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,13 unequal: No Solution Exploring Operation: 1+47=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[19, 65], Operations: ['76/4=19', '66-1=65'] Exploring Operation: 19*65=1235, Resulting Numbers: [1235] 1235,13 unequal: No Solution Exploring Operation: 19+65=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[66, 18], Operations: ['76/4=19', '19-1=18'] Exploring Operation: 66+18=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 66*18=1188, Resulting Numbers: [1188] 1188,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[19, 66], Operations: ['76/4=19', '66/1=66'] Exploring Operation: 19+66=85, Resulting Numbers: [85] 85,13 unequal: No Solution Exploring Operation: 66-19=47, Resulting Numbers: [47] 47,13 unequal: No Solution Exploring Operation: 19*66=1254, Resulting Numbers: [1254] 1254,13 unequal: No Solution Moving to Node #0,0,4 Current State: 13:[19, 66], Operations: ['76/4=19', '1*66=66'] Exploring Operation: 66-19=47, Resulting Numbers: [47] 47,13 unequal: No Solution Exploring Operation: 19*66=1254, Resulting Numbers: [1254] 1254,13 unequal: No Solution Exploring Operation: 19+66=85, Resulting Numbers: [85] 85,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[4, 66, 75], Operations: ['76-1=75'] Exploring Operation: 75-4=71, Resulting Numbers: [66, 71] Generated Node #0,1,0: 13:[66, 71] Operation: 75-4=71 Exploring Operation: 4+66=70, Resulting Numbers: [75, 70] Generated Node #0,1,1: 13:[75, 70] Operation: 4+66=70 Exploring Operation: 4+75=79, Resulting Numbers: [66, 79] Generated Node #0,1,2: 13:[66, 79] Operation: 4+75=79 Exploring Operation: 66-4=62, Resulting Numbers: [75, 62] Generated Node #0,1,3: 13:[75, 62] Operation: 66-4=62 Exploring Operation: 75-66=9, Resulting Numbers: [4, 9] Generated Node #0,1,4: 13:[4, 9] Operation: 75-66=9 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 13:[4, 9], Operations: ['76-1=75', '75-66=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[1, 4, 76, 66], Operations: [] Exploring Operation: 76-1=75, Resulting Numbers: [4, 66, 75] Generated Node #0,1: 13:[4, 66, 75] Operation: 76-1=75 Moving to Node #0,1 Current State: 13:[4, 66, 75], Operations: ['76-1=75'] Exploring Operation: 75-66=9, Resulting Numbers: [4, 9] Generated Node #0,1,4: 13:[4, 9] Operation: 75-66=9 Moving to Node #0,1,4 Current State: 13:[4, 9], Operations: ['76-1=75', '75-66=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.948785
hs_5
mult_heuristic
[ 60, 43, 55, 3 ]
96
[ "55-43=12", "3*12=36", "60+36=96" ]
Current State: 96:[60, 43, 55, 3], Operations: [] Exploring Operation: 55-43=12, Resulting Numbers: [60, 3, 12] Generated Node #2: [60, 3, 12] from Operation: 55-43=12 Current State: 96:[60, 3, 12], Operations: ['55-43=12'] Exploring Operation: 3*12=36, Resulting Numbers: [60, 36] Generated Node #3: [60, 36] from Operation: 3*12=36 Current State: 96:[60, 36], Operations: ['55-43=12', '3*12=36'] Exploring Operation: 60+36=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[60, 43, 55, 3], Operations: [] Exploring Operation: 60-55=5, Resulting Numbers: [43, 3, 5] Generated Node #0,0: 96:[43, 3, 5] Operation: 60-55=5 Exploring Operation: 60-43=17, Resulting Numbers: [55, 3, 17] Generated Node #0,1: 96:[55, 3, 17] Operation: 60-43=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[43, 3, 5], Operations: ['60-55=5'] Exploring Operation: 43+3=46, Resulting Numbers: [5, 46] Generated Node #0,0,0: 96:[5, 46] Operation: 43+3=46 Exploring Operation: 43+5=48, Resulting Numbers: [3, 48] Generated Node #0,0,1: 96:[3, 48] Operation: 43+5=48 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[3, 48], Operations: ['60-55=5', '43+5=48'] Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,96 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[5, 46], Operations: ['60-55=5', '43+3=46'] Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,96 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[55, 3, 17], Operations: ['60-43=17'] Exploring Operation: 55-17=38, Resulting Numbers: [3, 38] Generated Node #0,1,0: 96:[3, 38] Operation: 55-17=38 Exploring Operation: 55-3=52, Resulting Numbers: [17, 52] Generated Node #0,1,1: 96:[17, 52] Operation: 55-3=52 Moving to Node #0,1,1 Current State: 96:[17, 52], Operations: ['60-43=17', '55-3=52'] Exploring Operation: 17+52=69, Resulting Numbers: [69] 69,96 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[3, 38], Operations: ['60-43=17', '55-17=38'] Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,96 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 60, 44, 4, 96 ]
76
[ "60-44=16", "96-4=92", "92-16=76" ]
Current State: 76:[60, 44, 4, 96], Operations: [] Exploring Operation: 60-44=16, Resulting Numbers: [4, 96, 16] Generated Node #2: [4, 96, 16] from Operation: 60-44=16 Current State: 76:[4, 96, 16], Operations: ['60-44=16'] Exploring Operation: 96-4=92, Resulting Numbers: [16, 92] Generated Node #3: [16, 92] from Operation: 96-4=92 Current State: 76:[16, 92], Operations: ['60-44=16', '96-4=92'] Exploring Operation: 92-16=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[60, 44, 4, 96], Operations: [] Exploring Operation: 96-60=36, Resulting Numbers: [44, 4, 36] Generated Node #0,0: 76:[44, 4, 36] Operation: 96-60=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[44, 4, 36], Operations: ['96-60=36'] Exploring Operation: 44-4=40, Resulting Numbers: [36, 40] Generated Node #0,0,0: 76:[36, 40] Operation: 44-4=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[36, 40], Operations: ['96-60=36', '44-4=40'] Exploring Operation: 36+40=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[60, 44, 4, 96], Operations: [] Exploring Operation: 96-60=36, Resulting Numbers: [44, 4, 36] Generated Node #0,0: 76:[44, 4, 36] Operation: 96-60=36 Moving to Node #0,0 Current State: 76:[44, 4, 36], Operations: ['96-60=36'] Exploring Operation: 44-4=40, Resulting Numbers: [36, 40] Generated Node #0,0,0: 76:[36, 40] Operation: 44-4=40 Moving to Node #0,0,0 Current State: 76:[36, 40], Operations: ['96-60=36', '44-4=40'] Exploring Operation: 36+40=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 74, 63, 28, 25 ]
86
[ "74*25=1850", "63*28=1764", "1850-1764=86" ]
Current State: 86:[74, 63, 28, 25], Operations: [] Exploring Operation: 74*25=1850, Resulting Numbers: [63, 28, 1850] Generated Node #2: [63, 28, 1850] from Operation: 74*25=1850 Current State: 86:[63, 28, 1850], Operations: ['74*25=1850'] Exploring Operation: 63*28=1764, Resulting Numbers: [1850, 1764] Generated Node #3: [1850, 1764] from Operation: 63*28=1764 Current State: 86:[1850, 1764], Operations: ['74*25=1850', '63*28=1764'] Exploring Operation: 1850-1764=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[74, 63, 28, 25], Operations: [] Exploring Operation: 63+25=88, Resulting Numbers: [74, 28, 88] Generated Node #0,0: 86:[74, 28, 88] Operation: 63+25=88 Exploring Operation: 63-25=38, Resulting Numbers: [74, 28, 38] Generated Node #0,1: 86:[74, 28, 38] Operation: 63-25=38 Exploring Operation: 28-25=3, Resulting Numbers: [74, 63, 3] Generated Node #0,2: 86:[74, 63, 3] Operation: 28-25=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[74, 28, 88], Operations: ['63+25=88'] Exploring Operation: 74+28=102, Resulting Numbers: [88, 102] Generated Node #0,0,0: 86:[88, 102] Operation: 74+28=102 Exploring Operation: 74-28=46, Resulting Numbers: [88, 46] Generated Node #0,0,1: 86:[88, 46] Operation: 74-28=46 Exploring Operation: 88-74=14, Resulting Numbers: [28, 14] Generated Node #0,0,2: 86:[28, 14] Operation: 88-74=14 Moving to Node #0,0,1 Current State: 86:[88, 46], Operations: ['63+25=88', '74-28=46'] Exploring Operation: 88-46=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 88+46=134, Resulting Numbers: [134] 134,86 unequal: No Solution Exploring Operation: 88*46=4048, Resulting Numbers: [4048] 4048,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[88, 102], Operations: ['63+25=88', '74+28=102'] Exploring Operation: 102-88=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 88+102=190, Resulting Numbers: [190] 190,86 unequal: No Solution Exploring Operation: 88*102=8976, Resulting Numbers: [8976] 8976,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[28, 14], Operations: ['63+25=88', '88-74=14'] Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 28+14=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,1 Current State: 86:[74, 28, 38], Operations: ['63-25=38'] Exploring Operation: 74+28=102, Resulting Numbers: [38, 102] Generated Node #0,1,0: 86:[38, 102] Operation: 74+28=102 Exploring Operation: 38-28=10, Resulting Numbers: [74, 10] Generated Node #0,1,1: 86:[74, 10] Operation: 38-28=10 Exploring Operation: 74-28=46, Resulting Numbers: [38, 46] Generated Node #0,1,2: 86:[38, 46] Operation: 74-28=46 Moving to Node #0,1,2 Current State: 86:[38, 46], Operations: ['63-25=38', '74-28=46'] Exploring Operation: 38*46=1748, Resulting Numbers: [1748] 1748,86 unequal: No Solution Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,86 unequal: No Solution Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[74, 10], Operations: ['63-25=38', '38-28=10'] Exploring Operation: 74+10=84, Resulting Numbers: [84] 84,86 unequal: No Solution Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,86 unequal: No Solution Exploring Operation: 74*10=740, Resulting Numbers: [740] 740,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[38, 102], Operations: ['63-25=38', '74+28=102'] Exploring Operation: 102-38=64, Resulting Numbers: [64] 64,86 unequal: No Solution Exploring Operation: 38+102=140, Resulting Numbers: [140] 140,86 unequal: No Solution Exploring Operation: 38*102=3876, Resulting Numbers: [3876] 3876,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[74, 63, 3], Operations: ['28-25=3'] Exploring Operation: 74+3=77, Resulting Numbers: [63, 77] Generated Node #0,2,0: 86:[63, 77] Operation: 74+3=77 Exploring Operation: 74-63=11, Resulting Numbers: [3, 11] Generated Node #0,2,1: 86:[3, 11] Operation: 74-63=11 Exploring Operation: 63-3=60, Resulting Numbers: [74, 60] Generated Node #0,2,2: 86:[74, 60] Operation: 63-3=60 Moving to Node #0,2,1 Current State: 86:[3, 11], Operations: ['28-25=3', '74-63=11'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,86 unequal: No Solution 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 Moving to Node #0,2,0 Current State: 86:[63, 77], Operations: ['28-25=3', '74+3=77'] Exploring Operation: 63*77=4851, Resulting Numbers: [4851] 4851,86 unequal: No Solution Exploring Operation: 63+77=140, Resulting Numbers: [140] 140,86 unequal: No Solution Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[74, 60], Operations: ['28-25=3', '63-3=60'] Exploring Operation: 74+60=134, Resulting Numbers: [134] 134,86 unequal: No Solution Exploring Operation: 74*60=4440, Resulting Numbers: [4440] 4440,86 unequal: No Solution Exploring Operation: 74-60=14, Resulting Numbers: [14] 14,86 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
[ 20, 1, 46, 24 ]
10
[ "24-1=23", "20*23=460", "460/46=10" ]
Current State: 10:[20, 1, 46, 24], Operations: [] Exploring Operation: 24-1=23, Resulting Numbers: [20, 46, 23] Generated Node #2: [20, 46, 23] from Operation: 24-1=23 Current State: 10:[20, 46, 23], Operations: ['24-1=23'] Exploring Operation: 20*23=460, Resulting Numbers: [46, 460] Generated Node #3: [46, 460] from Operation: 20*23=460 Current State: 10:[46, 460], Operations: ['24-1=23', '20*23=460'] Exploring Operation: 460/46=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[20, 1, 46, 24], Operations: [] Exploring Operation: 24-20=4, Resulting Numbers: [1, 46, 4] Generated Node #0,0: 10:[1, 46, 4] Operation: 24-20=4 Exploring Operation: 46-20=26, Resulting Numbers: [1, 24, 26] Generated Node #0,1: 10:[1, 24, 26] Operation: 46-20=26 Exploring Operation: 46-24=22, Resulting Numbers: [20, 1, 22] Generated Node #0,2: 10:[20, 1, 22] Operation: 46-24=22 Moving to Node #0,2 Current State: 10:[20, 1, 22], Operations: ['46-24=22'] Exploring Operation: 22-20=2, Resulting Numbers: [1, 2] Generated Node #0,2,0: 10:[1, 2] Operation: 22-20=2 Exploring Operation: 22-1=21, Resulting Numbers: [20, 21] Generated Node #0,2,1: 10:[20, 21] Operation: 22-1=21 Exploring Operation: 20-1=19, Resulting Numbers: [22, 19] Generated Node #0,2,2: 10:[22, 19] Operation: 20-1=19 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 10:[1, 2], Operations: ['46-24=22', '22-20=2'] Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 10:[20, 21], Operations: ['46-24=22', '22-1=21'] Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,10 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[22, 19], Operations: ['46-24=22', '20-1=19'] Exploring Operation: 22*19=418, Resulting Numbers: [418] 418,10 unequal: No Solution Exploring Operation: 22+19=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 10:[1, 24, 26], Operations: ['46-20=26'] Exploring Operation: 26-1=25, Resulting Numbers: [24, 25] Generated Node #0,1,0: 10:[24, 25] Operation: 26-1=25 Exploring Operation: 24-1=23, Resulting Numbers: [26, 23] Generated Node #0,1,1: 10:[26, 23] Operation: 24-1=23 Exploring Operation: 26-24=2, Resulting Numbers: [1, 2] Generated Node #0,1,2: 10:[1, 2] Operation: 26-24=2 Moving to Node #0,0 Current State: 10:[1, 46, 4], Operations: ['24-20=4'] Exploring Operation: 46-1=45, Resulting Numbers: [4, 45] Generated Node #0,0,0: 10:[4, 45] Operation: 46-1=45 Exploring Operation: 1+4=5, Resulting Numbers: [46, 5] Generated Node #0,0,1: 10:[46, 5] Operation: 1+4=5 Exploring Operation: 46-4=42, Resulting Numbers: [1, 42] Generated Node #0,0,2: 10:[1, 42] Operation: 46-4=42 Moving to Node #0,1,2 Current State: 10:[1, 2], Operations: ['46-20=26', '26-24=2'] Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[26, 23], Operations: ['46-20=26', '24-1=23'] Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,10 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[24, 25], Operations: ['46-20=26', '26-1=25'] Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 24*25=600, Resulting Numbers: [600] 600,10 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[1, 42], Operations: ['24-20=4', '46-4=42'] Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,10 unequal: No Solution Exploring Operation: 1*42=42, Resulting Numbers: [42] 42,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[4, 45], Operations: ['24-20=4', '46-1=45'] Exploring Operation: 4*45=180, Resulting Numbers: [180] 180,10 unequal: No Solution Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[46, 5], Operations: ['24-20=4', '1+4=5'] Exploring Operation: 46*5=230, Resulting Numbers: [230] 230,10 unequal: No Solution Exploring Operation: 46+5=51, Resulting Numbers: [51] 51,10 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,10 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 35, 66, 42, 87 ]
70
[ "35*42=1470", "87-66=21", "1470/21=70" ]
Current State: 70:[35, 66, 42, 87], Operations: [] Exploring Operation: 35*42=1470, Resulting Numbers: [66, 87, 1470] Generated Node #2: [66, 87, 1470] from Operation: 35*42=1470 Current State: 70:[66, 87, 1470], Operations: ['35*42=1470'] Exploring Operation: 87-66=21, Resulting Numbers: [1470, 21] Generated Node #3: [1470, 21] from Operation: 87-66=21 Current State: 70:[1470, 21], Operations: ['35*42=1470', '87-66=21'] Exploring Operation: 1470/21=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[35, 66, 42, 87], Operations: [] Exploring Operation: 87-66=21, Resulting Numbers: [35, 42, 21] Generated Node #0,0: 70:[35, 42, 21] Operation: 87-66=21 Exploring Operation: 87-42=45, Resulting Numbers: [35, 66, 45] Generated Node #0,1: 70:[35, 66, 45] Operation: 87-42=45 Moving to Node #0,0 Current State: 70:[35, 42, 21], Operations: ['87-66=21'] Exploring Operation: 42/21=2, Resulting Numbers: [35, 2] Generated Node #0,0,0: 70:[35, 2] Operation: 42/21=2 Exploring Operation: 42-35=7, Resulting Numbers: [21, 7] Generated Node #0,0,1: 70:[21, 7] Operation: 42-35=7 Moving to Node #0,1 Current State: 70:[35, 66, 45], Operations: ['87-42=45'] Exploring Operation: 66-45=21, Resulting Numbers: [35, 21] Generated Node #0,1,0: 70:[35, 21] Operation: 66-45=21 Exploring Operation: 45-35=10, Resulting Numbers: [66, 10] Generated Node #0,1,1: 70:[66, 10] Operation: 45-35=10 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[66, 10], Operations: ['87-42=45', '45-35=10'] Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,70 unequal: No Solution Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 70:[35, 21], Operations: ['87-42=45', '66-45=21'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,70 unequal: No Solution Exploring Operation: 35+21=56, Resulting Numbers: [56] 56,70 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: 70:[35, 2], Operations: ['87-66=21', '42/21=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[35, 66, 42, 87], Operations: [] Exploring Operation: 87-66=21, Resulting Numbers: [35, 42, 21] Generated Node #0,0: 70:[35, 42, 21] Operation: 87-66=21 Moving to Node #0,0 Current State: 70:[35, 42, 21], Operations: ['87-66=21'] Exploring Operation: 42/21=2, Resulting Numbers: [35, 2] Generated Node #0,0,0: 70:[35, 2] Operation: 42/21=2 Moving to Node #0,0,0 Current State: 70:[35, 2], Operations: ['87-66=21', '42/21=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 44, 75, 46, 49 ]
69
[ "49-46=3", "75/3=25", "44+25=69" ]
Current State: 69:[44, 75, 46, 49], Operations: [] Exploring Operation: 49-46=3, Resulting Numbers: [44, 75, 3] Generated Node #2: [44, 75, 3] from Operation: 49-46=3 Current State: 69:[44, 75, 3], Operations: ['49-46=3'] Exploring Operation: 75/3=25, Resulting Numbers: [44, 25] Generated Node #3: [44, 25] from Operation: 75/3=25 Current State: 69:[44, 25], Operations: ['49-46=3', '75/3=25'] Exploring Operation: 44+25=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[44, 75, 46, 49], Operations: [] Exploring Operation: 46-44=2, Resulting Numbers: [75, 49, 2] Generated Node #0,0: 69:[75, 49, 2] Operation: 46-44=2 Exploring Operation: 44+46=90, Resulting Numbers: [75, 49, 90] Generated Node #0,1: 69:[75, 49, 90] Operation: 44+46=90 Exploring Operation: 49-44=5, Resulting Numbers: [75, 46, 5] Generated Node #0,2: 69:[75, 46, 5] Operation: 49-44=5 Exploring Operation: 49-46=3, Resulting Numbers: [44, 75, 3] Generated Node #0,3: 69:[44, 75, 3] Operation: 49-46=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[75, 49, 2], Operations: ['46-44=2'] Exploring Operation: 49+2=51, Resulting Numbers: [75, 51] Generated Node #0,0,0: 69:[75, 51] Operation: 49+2=51 Exploring Operation: 75-2=73, Resulting Numbers: [49, 73] Generated Node #0,0,1: 69:[49, 73] Operation: 75-2=73 Exploring Operation: 75-49=26, Resulting Numbers: [2, 26] Generated Node #0,0,2: 69:[2, 26] Operation: 75-49=26 Exploring Operation: 75+2=77, Resulting Numbers: [49, 77] Generated Node #0,0,3: 69:[49, 77] Operation: 75+2=77 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 69:[2, 26], Operations: ['46-44=2', '75-49=26'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,69 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,69 unequal: No Solution No 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: 69:[75, 51], Operations: ['46-44=2', '49+2=51'] Exploring Operation: 75*51=3825, Resulting Numbers: [3825] 3825,69 unequal: No Solution Exploring Operation: 75+51=126, Resulting Numbers: [126] 126,69 unequal: No Solution Exploring Operation: 75-51=24, Resulting Numbers: [24] 24,69 unequal: No Solution No 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: 69:[49, 73], Operations: ['46-44=2', '75-2=73'] Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 49+73=122, Resulting Numbers: [122] 122,69 unequal: No Solution Exploring Operation: 49*73=3577, Resulting Numbers: [3577] 3577,69 unequal: No Solution No 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: 69:[49, 77], Operations: ['46-44=2', '75+2=77'] Exploring Operation: 77-49=28, Resulting Numbers: [28] 28,69 unequal: No Solution Exploring Operation: 49*77=3773, Resulting Numbers: [3773] 3773,69 unequal: No Solution Exploring Operation: 49+77=126, Resulting Numbers: [126] 126,69 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: 69:[44, 75, 3], Operations: ['49-46=3'] Exploring Operation: 75-3=72, Resulting Numbers: [44, 72] Generated Node #0,3,0: 69:[44, 72] Operation: 75-3=72 Exploring Operation: 75/3=25, Resulting Numbers: [44, 25] Generated Node #0,3,1: 69:[44, 25] Operation: 75/3=25 Exploring Operation: 75-44=31, Resulting Numbers: [3, 31] Generated Node #0,3,2: 69:[3, 31] Operation: 75-44=31 Exploring Operation: 44-3=41, Resulting Numbers: [75, 41] Generated Node #0,3,3: 69:[75, 41] Operation: 44-3=41 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 69:[3, 31], Operations: ['49-46=3', '75-44=31'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,69 unequal: No Solution Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,69 unequal: No Solution Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,69 unequal: No Solution No 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: 69:[44, 25], Operations: ['49-46=3', '75/3=25'] Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,69 unequal: No Solution Exploring Operation: 44+25=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[44, 75, 46, 49], Operations: [] Exploring Operation: 49-46=3, Resulting Numbers: [44, 75, 3] Generated Node #0,3: 69:[44, 75, 3] Operation: 49-46=3 Moving to Node #0,3 Current State: 69:[44, 75, 3], Operations: ['49-46=3'] Exploring Operation: 75/3=25, Resulting Numbers: [44, 25] Generated Node #0,3,1: 69:[44, 25] Operation: 75/3=25 Moving to Node #0,3,1 Current State: 69:[44, 25], Operations: ['49-46=3', '75/3=25'] Exploring Operation: 44+25=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.970486
hs_4
mult_heuristic
[ 62, 76, 34, 1 ]
20
[ "76-62=14", "34*1=34", "34-14=20" ]
Current State: 20:[62, 76, 34, 1], Operations: [] Exploring Operation: 76-62=14, Resulting Numbers: [34, 1, 14] Generated Node #2: [34, 1, 14] from Operation: 76-62=14 Current State: 20:[34, 1, 14], Operations: ['76-62=14'] Exploring Operation: 34*1=34, Resulting Numbers: [14, 34] Generated Node #3: [14, 34] from Operation: 34*1=34 Current State: 20:[14, 34], Operations: ['76-62=14', '34*1=34'] Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[62, 76, 34, 1], Operations: [] Exploring Operation: 76-62=14, Resulting Numbers: [34, 1, 14] Generated Node #0,0: 20:[34, 1, 14] Operation: 76-62=14 Moving to Node #0,0 Current State: 20:[34, 1, 14], Operations: ['76-62=14'] Exploring Operation: 34-14=20, Resulting Numbers: [1, 20] Generated Node #0,0,0: 20:[1, 20] Operation: 34-14=20 Moving to Node #0,0,0 Current State: 20:[1, 20], Operations: ['76-62=14', '34-14=20'] Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[62, 76, 34, 1], Operations: [] Exploring Operation: 76-62=14, Resulting Numbers: [34, 1, 14] Generated Node #0,0: 20:[34, 1, 14] Operation: 76-62=14 Moving to Node #0,0 Current State: 20:[34, 1, 14], Operations: ['76-62=14'] Exploring Operation: 34-14=20, Resulting Numbers: [1, 20] Generated Node #0,0,0: 20:[1, 20] Operation: 34-14=20 Moving to Node #0,0,0 Current State: 20:[1, 20], Operations: ['76-62=14', '34-14=20'] Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 7, 45, 89, 98 ]
47
[ "45-7=38", "98-89=9", "38+9=47" ]
Current State: 47:[7, 45, 89, 98], Operations: [] Exploring Operation: 45-7=38, Resulting Numbers: [89, 98, 38] Generated Node #2: [89, 98, 38] from Operation: 45-7=38 Current State: 47:[89, 98, 38], Operations: ['45-7=38'] Exploring Operation: 98-89=9, Resulting Numbers: [38, 9] Generated Node #3: [38, 9] from Operation: 98-89=9 Current State: 47:[38, 9], Operations: ['45-7=38', '98-89=9'] Exploring Operation: 38+9=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[7, 45, 89, 98], Operations: [] Exploring Operation: 98-89=9, Resulting Numbers: [7, 45, 9] Generated Node #0,0: 47:[7, 45, 9] Operation: 98-89=9 Exploring Operation: 98/7=14, Resulting Numbers: [45, 89, 14] Generated Node #0,1: 47:[45, 89, 14] Operation: 98/7=14 Moving to Node #0,1 Current State: 47:[45, 89, 14], Operations: ['98/7=14'] Exploring Operation: 89-14=75, Resulting Numbers: [45, 75] Generated Node #0,1,0: 47:[45, 75] Operation: 89-14=75 Exploring Operation: 89-45=44, Resulting Numbers: [14, 44] Generated Node #0,1,1: 47:[14, 44] Operation: 89-45=44 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[45, 75], Operations: ['98/7=14', '89-14=75'] Exploring Operation: 45+75=120, Resulting Numbers: [120] 120,47 unequal: No Solution Exploring Operation: 75-45=30, Resulting Numbers: [30] 30,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,1 Current State: 47:[14, 44], Operations: ['98/7=14', '89-45=44'] Exploring Operation: 14+44=58, Resulting Numbers: [58] 58,47 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 47:[7, 45, 9], Operations: ['98-89=9'] Exploring Operation: 7+9=16, Resulting Numbers: [45, 16] Generated Node #0,0,0: 47:[45, 16] Operation: 7+9=16 Exploring Operation: 7*9=63, Resulting Numbers: [45, 63] Generated Node #0,0,1: 47:[45, 63] Operation: 7*9=63 Moving to Node #0,0,1 Current State: 47:[45, 63], Operations: ['98-89=9', '7*9=63'] Exploring Operation: 45+63=108, Resulting Numbers: [108] 108,47 unequal: No Solution Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[45, 16], Operations: ['98-89=9', '7+9=16'] Exploring Operation: 45+16=61, Resulting Numbers: [61] 61,47 unequal: No Solution Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,47 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 28, 55, 2, 37 ]
12
[ "55-28=27", "2+37=39", "39-27=12" ]
Current State: 12:[28, 55, 2, 37], Operations: [] Exploring Operation: 55-28=27, Resulting Numbers: [2, 37, 27] Generated Node #2: [2, 37, 27] from Operation: 55-28=27 Current State: 12:[2, 37, 27], Operations: ['55-28=27'] Exploring Operation: 2+37=39, Resulting Numbers: [27, 39] Generated Node #3: [27, 39] from Operation: 2+37=39 Current State: 12:[27, 39], Operations: ['55-28=27', '2+37=39'] Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[28, 55, 2, 37], Operations: [] Exploring Operation: 37-28=9, Resulting Numbers: [55, 2, 9] Generated Node #0,0: 12:[55, 2, 9] Operation: 37-28=9 Exploring Operation: 28/2=14, Resulting Numbers: [55, 37, 14] Generated Node #0,1: 12:[55, 37, 14] Operation: 28/2=14 Exploring Operation: 55-28=27, Resulting Numbers: [2, 37, 27] Generated Node #0,2: 12:[2, 37, 27] Operation: 55-28=27 Exploring Operation: 55-37=18, Resulting Numbers: [28, 2, 18] Generated Node #0,3: 12:[28, 2, 18] Operation: 55-37=18 Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[28, 2, 18], Operations: ['55-37=18'] Exploring Operation: 28-18=10, Resulting Numbers: [2, 10] Generated Node #0,3,0: 12:[2, 10] Operation: 28-18=10 Exploring Operation: 18/2=9, Resulting Numbers: [28, 9] Generated Node #0,3,1: 12:[28, 9] Operation: 18/2=9 Exploring Operation: 28-2=26, Resulting Numbers: [18, 26] Generated Node #0,3,2: 12:[18, 26] Operation: 28-2=26 Exploring Operation: 28/2=14, Resulting Numbers: [18, 14] Generated Node #0,3,3: 12:[18, 14] Operation: 28/2=14 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 12:[2, 10], Operations: ['55-37=18', '28-18=10'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[28, 55, 2, 37], Operations: [] Exploring Operation: 55-37=18, Resulting Numbers: [28, 2, 18] Generated Node #0,3: 12:[28, 2, 18] Operation: 55-37=18 Moving to Node #0,3 Current State: 12:[28, 2, 18], Operations: ['55-37=18'] Exploring Operation: 28-18=10, Resulting Numbers: [2, 10] Generated Node #0,3,0: 12:[2, 10] Operation: 28-18=10 Moving to Node #0,3,0 Current State: 12:[2, 10], Operations: ['55-37=18', '28-18=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 70, 89, 48, 69 ]
38
[ "48*69=3312", "70+3312=3382", "3382/89=38" ]
Current State: 38:[70, 89, 48, 69], Operations: [] Exploring Operation: 48*69=3312, Resulting Numbers: [70, 89, 3312] Generated Node #2: [70, 89, 3312] from Operation: 48*69=3312 Current State: 38:[70, 89, 3312], Operations: ['48*69=3312'] Exploring Operation: 70+3312=3382, Resulting Numbers: [89, 3382] Generated Node #3: [89, 3382] from Operation: 70+3312=3382 Current State: 38:[89, 3382], Operations: ['48*69=3312', '70+3312=3382'] Exploring Operation: 3382/89=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[70, 89, 48, 69], Operations: [] Exploring Operation: 89-70=19, Resulting Numbers: [48, 69, 19] Generated Node #0,0: 38:[48, 69, 19] Operation: 89-70=19 Exploring Operation: 70-69=1, Resulting Numbers: [89, 48, 1] Generated Node #0,1: 38:[89, 48, 1] Operation: 70-69=1 Exploring Operation: 89-69=20, Resulting Numbers: [70, 48, 20] Generated Node #0,2: 38:[70, 48, 20] Operation: 89-69=20 Moving to Node #0,0 Current State: 38:[48, 69, 19], Operations: ['89-70=19'] Exploring Operation: 69-19=50, Resulting Numbers: [48, 50] Generated Node #0,0,0: 38:[48, 50] Operation: 69-19=50 Exploring Operation: 48-19=29, Resulting Numbers: [69, 29] Generated Node #0,0,1: 38:[69, 29] Operation: 48-19=29 Exploring Operation: 69-48=21, Resulting Numbers: [19, 21] Generated Node #0,0,2: 38:[19, 21] Operation: 69-48=21 Moving to Node #0,2 Current State: 38:[70, 48, 20], Operations: ['89-69=20'] Exploring Operation: 48-20=28, Resulting Numbers: [70, 28] Generated Node #0,2,0: 38:[70, 28] Operation: 48-20=28 Exploring Operation: 70-20=50, Resulting Numbers: [48, 50] Generated Node #0,2,1: 38:[48, 50] Operation: 70-20=50 Exploring Operation: 70-48=22, Resulting Numbers: [20, 22] Generated Node #0,2,2: 38:[20, 22] Operation: 70-48=22 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 38:[20, 22], Operations: ['89-69=20', '70-48=22'] Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,38 unequal: No Solution Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,38 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 38:[48, 50], Operations: ['89-69=20', '70-20=50'] Exploring Operation: 48*50=2400, Resulting Numbers: [2400] 2400,38 unequal: No Solution Exploring Operation: 48+50=98, Resulting Numbers: [98] 98,38 unequal: No Solution Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 38:[70, 28], Operations: ['89-69=20', '48-20=28'] Exploring Operation: 70+28=98, Resulting Numbers: [98] 98,38 unequal: No Solution Exploring Operation: 70*28=1960, Resulting Numbers: [1960] 1960,38 unequal: No Solution Exploring Operation: 70-28=42, Resulting Numbers: [42] 42,38 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: 38:[89, 48, 1], Operations: ['70-69=1'] Exploring Operation: 89-1=88, Resulting Numbers: [48, 88] Generated Node #0,1,0: 38:[48, 88] Operation: 89-1=88 Exploring Operation: 48-1=47, Resulting Numbers: [89, 47] Generated Node #0,1,1: 38:[89, 47] Operation: 48-1=47 Exploring Operation: 89-48=41, Resulting Numbers: [1, 41] Generated Node #0,1,2: 38:[1, 41] Operation: 89-48=41 Moving to Node #0,0,2 Current State: 38:[19, 21], Operations: ['89-70=19', '69-48=21'] Exploring Operation: 19*21=399, Resulting Numbers: [399] 399,38 unequal: No Solution Exploring Operation: 19+21=40, Resulting Numbers: [40] 40,38 unequal: No Solution Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[1, 41], Operations: ['70-69=1', '89-48=41'] Exploring Operation: 1*41=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,38 unequal: No Solution Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[48, 50], Operations: ['89-70=19', '69-19=50'] Exploring Operation: 48+50=98, Resulting Numbers: [98] 98,38 unequal: No Solution Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 48*50=2400, Resulting Numbers: [2400] 2400,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[69, 29], Operations: ['89-70=19', '48-19=29'] Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,38 unequal: No Solution Exploring Operation: 69+29=98, Resulting Numbers: [98] 98,38 unequal: No Solution Exploring Operation: 69*29=2001, Resulting Numbers: [2001] 2001,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[89, 47], Operations: ['70-69=1', '48-1=47'] Exploring Operation: 89*47=4183, Resulting Numbers: [4183] 4183,38 unequal: No Solution Exploring Operation: 89-47=42, Resulting Numbers: [42] 42,38 unequal: No Solution Exploring Operation: 89+47=136, Resulting Numbers: [136] 136,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[48, 88], Operations: ['70-69=1', '89-1=88'] Exploring Operation: 48*88=4224, Resulting Numbers: [4224] 4224,38 unequal: No Solution Exploring Operation: 88-48=40, Resulting Numbers: [40] 40,38 unequal: No Solution Exploring Operation: 48+88=136, Resulting Numbers: [136] 136,38 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 15, 15, 50, 65 ]
16
[ "15/15=1", "65-50=15", "1+15=16" ]
Current State: 16:[15, 15, 50, 65], Operations: [] Exploring Operation: 15/15=1, Resulting Numbers: [50, 65, 1] Generated Node #2: [50, 65, 1] from Operation: 15/15=1 Current State: 16:[50, 65, 1], Operations: ['15/15=1'] Exploring Operation: 65-50=15, Resulting Numbers: [1, 15] Generated Node #3: [1, 15] from Operation: 65-50=15 Current State: 16:[1, 15], Operations: ['15/15=1', '65-50=15'] Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[15, 15, 50, 65], Operations: [] Exploring Operation: 65-50=15, Resulting Numbers: [15, 15, 15] Generated Node #0,0: 16:[15, 15, 15] Operation: 65-50=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[15, 15, 15], Operations: ['65-50=15'] Exploring Operation: 15/15=1, Resulting Numbers: [15, 1] Generated Node #0,0,0: 16:[15, 1] Operation: 15/15=1 Moving to Node #0,0,0 Current State: 16:[15, 1], Operations: ['65-50=15', '15/15=1'] Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[15, 15, 50, 65], Operations: [] Exploring Operation: 65-50=15, Resulting Numbers: [15, 15, 15] Generated Node #0,0: 16:[15, 15, 15] Operation: 65-50=15 Moving to Node #0,0 Current State: 16:[15, 15, 15], Operations: ['65-50=15'] Exploring Operation: 15/15=1, Resulting Numbers: [15, 1] Generated Node #0,0,0: 16:[15, 1] Operation: 15/15=1 Moving to Node #0,0,0 Current State: 16:[15, 1], Operations: ['65-50=15', '15/15=1'] Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 3, 62, 82, 50 ]
46
[ "62-50=12", "3*12=36", "82-36=46" ]
Current State: 46:[3, 62, 82, 50], Operations: [] Exploring Operation: 62-50=12, Resulting Numbers: [3, 82, 12] Generated Node #2: [3, 82, 12] from Operation: 62-50=12 Current State: 46:[3, 82, 12], Operations: ['62-50=12'] Exploring Operation: 3*12=36, Resulting Numbers: [82, 36] Generated Node #3: [82, 36] from Operation: 3*12=36 Current State: 46:[82, 36], Operations: ['62-50=12', '3*12=36'] Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[3, 62, 82, 50], Operations: [] Exploring Operation: 82-50=32, Resulting Numbers: [3, 62, 32] Generated Node #0,0: 46:[3, 62, 32] Operation: 82-50=32 Exploring Operation: 82-62=20, Resulting Numbers: [3, 50, 20] Generated Node #0,1: 46:[3, 50, 20] Operation: 82-62=20 Exploring Operation: 62-50=12, Resulting Numbers: [3, 82, 12] Generated Node #0,2: 46:[3, 82, 12] Operation: 62-50=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[3, 50, 20], Operations: ['82-62=20'] Exploring Operation: 50-20=30, Resulting Numbers: [3, 30] Generated Node #0,1,0: 46:[3, 30] Operation: 50-20=30 Exploring Operation: 50-3=47, Resulting Numbers: [20, 47] Generated Node #0,1,1: 46:[20, 47] Operation: 50-3=47 Exploring Operation: 3+20=23, Resulting Numbers: [50, 23] Generated Node #0,1,2: 46:[50, 23] Operation: 3+20=23 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 46:[20, 47], Operations: ['82-62=20', '50-3=47'] Exploring Operation: 20+47=67, Resulting Numbers: [67] 67,46 unequal: No Solution Exploring Operation: 20*47=940, Resulting Numbers: [940] 940,46 unequal: No Solution Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,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,1,2 Current State: 46:[50, 23], Operations: ['82-62=20', '3+20=23'] Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 50+23=73, Resulting Numbers: [73] 73,46 unequal: No Solution Exploring Operation: 50*23=1150, Resulting Numbers: [1150] 1150,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,1,0 Current State: 46:[3, 30], Operations: ['82-62=20', '50-20=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,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,0 Current State: 46:[3, 62, 32], Operations: ['82-50=32'] Exploring Operation: 62-32=30, Resulting Numbers: [3, 30] Generated Node #0,0,0: 46:[3, 30] Operation: 62-32=30 Exploring Operation: 32-3=29, Resulting Numbers: [62, 29] Generated Node #0,0,1: 46:[62, 29] Operation: 32-3=29 Exploring Operation: 62-3=59, Resulting Numbers: [32, 59] Generated Node #0,0,2: 46:[32, 59] Operation: 62-3=59 Moving to Node #0,0,0 Current State: 46:[3, 30], Operations: ['82-50=32', '62-32=30'] Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[62, 29], Operations: ['82-50=32', '32-3=29'] Exploring Operation: 62-29=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 62*29=1798, Resulting Numbers: [1798] 1798,46 unequal: No Solution Exploring Operation: 62+29=91, Resulting Numbers: [91] 91,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[32, 59], Operations: ['82-50=32', '62-3=59'] Exploring Operation: 32+59=91, Resulting Numbers: [91] 91,46 unequal: No Solution Exploring Operation: 59-32=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 32*59=1888, Resulting Numbers: [1888] 1888,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,2 Current State: 46:[3, 82, 12], Operations: ['62-50=12'] Exploring Operation: 82-12=70, Resulting Numbers: [3, 70] Generated Node #0,2,0: 46:[3, 70] Operation: 82-12=70 Exploring Operation: 82-3=79, Resulting Numbers: [12, 79] Generated Node #0,2,1: 46:[12, 79] Operation: 82-3=79 Exploring Operation: 12/3=4, Resulting Numbers: [82, 4] Generated Node #0,2,2: 46:[82, 4] Operation: 12/3=4 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 46:[3, 70], Operations: ['62-50=12', '82-12=70'] Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,46 unequal: No Solution Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,46 unequal: No Solution Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,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,2,2 Current State: 46:[82, 4], Operations: ['62-50=12', '12/3=4'] Exploring Operation: 82*4=328, Resulting Numbers: [328] 328,46 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,46 unequal: No Solution Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,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,2,1 Current State: 46:[12, 79], Operations: ['62-50=12', '82-3=79'] Exploring Operation: 12+79=91, Resulting Numbers: [91] 91,46 unequal: No Solution Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,46 unequal: No Solution Exploring Operation: 12*79=948, Resulting Numbers: [948] 948,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 No solution found.
0
hs_3
sum_heuristic
[ 45, 79, 70, 76 ]
75
[ "70-45=25", "79-76=3", "25*3=75" ]
Current State: 75:[45, 79, 70, 76], Operations: [] Exploring Operation: 70-45=25, Resulting Numbers: [79, 76, 25] Generated Node #2: [79, 76, 25] from Operation: 70-45=25 Current State: 75:[79, 76, 25], Operations: ['70-45=25'] Exploring Operation: 79-76=3, Resulting Numbers: [25, 3] Generated Node #3: [25, 3] from Operation: 79-76=3 Current State: 75:[25, 3], Operations: ['70-45=25', '79-76=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[45, 79, 70, 76], Operations: [] Exploring Operation: 70-45=25, Resulting Numbers: [79, 76, 25] Generated Node #0,0: 75:[79, 76, 25] Operation: 70-45=25 Exploring Operation: 76-45=31, Resulting Numbers: [79, 70, 31] Generated Node #0,1: 75:[79, 70, 31] Operation: 76-45=31 Exploring Operation: 79-45=34, Resulting Numbers: [70, 76, 34] Generated Node #0,2: 75:[70, 76, 34] Operation: 79-45=34 Moving to Node #0,0 Current State: 75:[79, 76, 25], Operations: ['70-45=25'] Exploring Operation: 79-25=54, Resulting Numbers: [76, 54] Generated Node #0,0,0: 75:[76, 54] Operation: 79-25=54 Exploring Operation: 79-76=3, Resulting Numbers: [25, 3] Generated Node #0,0,1: 75:[25, 3] Operation: 79-76=3 Exploring Operation: 76-25=51, Resulting Numbers: [79, 51] Generated Node #0,0,2: 75:[79, 51] Operation: 76-25=51 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 75:[25, 3], Operations: ['70-45=25', '79-76=3'] Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,75 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,75 unequal: No Solution Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[45, 79, 70, 76], Operations: [] Exploring Operation: 70-45=25, Resulting Numbers: [79, 76, 25] Generated Node #0,0: 75:[79, 76, 25] Operation: 70-45=25 Moving to Node #0,0 Current State: 75:[79, 76, 25], Operations: ['70-45=25'] Exploring Operation: 79-76=3, Resulting Numbers: [25, 3] Generated Node #0,0,1: 75:[25, 3] Operation: 79-76=3 Moving to Node #0,0,1 Current State: 75:[25, 3], Operations: ['70-45=25', '79-76=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 87, 6, 59, 8 ]
19
[ "87+6=93", "59+93=152", "152/8=19" ]
Current State: 19:[87, 6, 59, 8], Operations: [] Exploring Operation: 87+6=93, Resulting Numbers: [59, 8, 93] Generated Node #2: [59, 8, 93] from Operation: 87+6=93 Current State: 19:[59, 8, 93], Operations: ['87+6=93'] Exploring Operation: 59+93=152, Resulting Numbers: [8, 152] Generated Node #3: [8, 152] from Operation: 59+93=152 Current State: 19:[8, 152], Operations: ['87+6=93', '59+93=152'] Exploring Operation: 152/8=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[87, 6, 59, 8], Operations: [] Exploring Operation: 87-59=28, Resulting Numbers: [6, 8, 28] Generated Node #0,0: 19:[6, 8, 28] Operation: 87-59=28 Moving to Node #0,0 Current State: 19:[6, 8, 28], Operations: ['87-59=28'] Exploring Operation: 6+8=14, Resulting Numbers: [28, 14] Generated Node #0,0,0: 19:[28, 14] Operation: 6+8=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[28, 14], Operations: ['87-59=28', '6+8=14'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,19 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
[ 14, 76, 57, 30 ]
54
[ "14+76=90", "90/30=3", "57-3=54" ]
Current State: 54:[14, 76, 57, 30], Operations: [] Exploring Operation: 14+76=90, Resulting Numbers: [57, 30, 90] Generated Node #2: [57, 30, 90] from Operation: 14+76=90 Current State: 54:[57, 30, 90], Operations: ['14+76=90'] Exploring Operation: 90/30=3, Resulting Numbers: [57, 3] Generated Node #3: [57, 3] from Operation: 90/30=3 Current State: 54:[57, 3], Operations: ['14+76=90', '90/30=3'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[14, 76, 57, 30], Operations: [] Exploring Operation: 57-30=27, Resulting Numbers: [14, 76, 27] Generated Node #0,0: 54:[14, 76, 27] Operation: 57-30=27 Exploring Operation: 76-57=19, Resulting Numbers: [14, 30, 19] Generated Node #0,1: 54:[14, 30, 19] Operation: 76-57=19 Exploring Operation: 76-30=46, Resulting Numbers: [14, 57, 46] Generated Node #0,2: 54:[14, 57, 46] Operation: 76-30=46 Exploring Operation: 76-14=62, Resulting Numbers: [57, 30, 62] Generated Node #0,3: 54:[57, 30, 62] Operation: 76-14=62 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[14, 30, 19], Operations: ['76-57=19'] Exploring Operation: 19-14=5, Resulting Numbers: [30, 5] Generated Node #0,1,0: 54:[30, 5] Operation: 19-14=5 Exploring Operation: 30-14=16, Resulting Numbers: [19, 16] Generated Node #0,1,1: 54:[19, 16] Operation: 30-14=16 Exploring Operation: 30-19=11, Resulting Numbers: [14, 11] Generated Node #0,1,2: 54:[14, 11] Operation: 30-19=11 Exploring Operation: 14+19=33, Resulting Numbers: [30, 33] Generated Node #0,1,3: 54:[30, 33] Operation: 14+19=33 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 54:[19, 16], Operations: ['76-57=19', '30-14=16'] Exploring Operation: 19*16=304, Resulting Numbers: [304] 304,54 unequal: No Solution Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 54:[30, 5], Operations: ['76-57=19', '19-14=5'] Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 30*5=150, Resulting Numbers: [150] 150,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 54:[14, 11], Operations: ['76-57=19', '30-19=11'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,54 unequal: No Solution Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 54:[30, 33], Operations: ['76-57=19', '14+19=33'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 30*33=990, Resulting Numbers: [990] 990,54 unequal: No Solution Exploring Operation: 30+33=63, Resulting Numbers: [63] 63,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 54:[57, 30, 62], Operations: ['76-14=62'] Exploring Operation: 57-30=27, Resulting Numbers: [62, 27] Generated Node #0,3,0: 54:[62, 27] Operation: 57-30=27 Exploring Operation: 62-30=32, Resulting Numbers: [57, 32] Generated Node #0,3,1: 54:[57, 32] Operation: 62-30=32 Exploring Operation: 57+30=87, Resulting Numbers: [62, 87] Generated Node #0,3,2: 54:[62, 87] Operation: 57+30=87 Exploring Operation: 62-57=5, Resulting Numbers: [30, 5] Generated Node #0,3,3: 54:[30, 5] Operation: 62-57=5 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 54:[30, 5], Operations: ['76-14=62', '62-57=5'] Exploring Operation: 30*5=150, Resulting Numbers: [150] 150,54 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 54:[62, 27], Operations: ['76-14=62', '57-30=27'] Exploring Operation: 62*27=1674, Resulting Numbers: [1674] 1674,54 unequal: No Solution Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 62+27=89, Resulting Numbers: [89] 89,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 54:[57, 32], Operations: ['76-14=62', '62-30=32'] Exploring Operation: 57+32=89, Resulting Numbers: [89] 89,54 unequal: No Solution Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 57*32=1824, Resulting Numbers: [1824] 1824,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 54:[62, 87], Operations: ['76-14=62', '57+30=87'] Exploring Operation: 62+87=149, Resulting Numbers: [149] 149,54 unequal: No Solution Exploring Operation: 87-62=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 62*87=5394, Resulting Numbers: [5394] 5394,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[14, 57, 46], Operations: ['76-30=46'] Exploring Operation: 57-14=43, Resulting Numbers: [46, 43] Generated Node #0,2,0: 54:[46, 43] Operation: 57-14=43 Exploring Operation: 57-46=11, Resulting Numbers: [14, 11] Generated Node #0,2,1: 54:[14, 11] Operation: 57-46=11 Exploring Operation: 46-14=32, Resulting Numbers: [57, 32] Generated Node #0,2,2: 54:[57, 32] Operation: 46-14=32 Exploring Operation: 14+46=60, Resulting Numbers: [57, 60] Generated Node #0,2,3: 54:[57, 60] Operation: 14+46=60 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 54:[14, 11], Operations: ['76-30=46', '57-46=11'] Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,54 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 54:[57, 32], Operations: ['76-30=46', '46-14=32'] Exploring Operation: 57*32=1824, Resulting Numbers: [1824] 1824,54 unequal: No Solution Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 57+32=89, Resulting Numbers: [89] 89,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 54:[57, 60], Operations: ['76-30=46', '14+46=60'] Exploring Operation: 57*60=3420, Resulting Numbers: [3420] 3420,54 unequal: No Solution Exploring Operation: 57+60=117, Resulting Numbers: [117] 117,54 unequal: No Solution Exploring Operation: 60-57=3, Resulting Numbers: [3] 3,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 54:[46, 43], Operations: ['76-30=46', '57-14=43'] Exploring Operation: 46*43=1978, Resulting Numbers: [1978] 1978,54 unequal: No Solution Exploring Operation: 46-43=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 46+43=89, Resulting Numbers: [89] 89,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[14, 76, 27], Operations: ['57-30=27'] Exploring Operation: 14+27=41, Resulting Numbers: [76, 41] Generated Node #0,0,0: 54:[76, 41] Operation: 14+27=41 Exploring Operation: 76-27=49, Resulting Numbers: [14, 49] Generated Node #0,0,1: 54:[14, 49] Operation: 76-27=49 Exploring Operation: 76-14=62, Resulting Numbers: [27, 62] Generated Node #0,0,2: 54:[27, 62] Operation: 76-14=62 Exploring Operation: 27-14=13, Resulting Numbers: [76, 13] Generated Node #0,0,3: 54:[76, 13] Operation: 27-14=13 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 54:[27, 62], Operations: ['57-30=27', '76-14=62'] Exploring Operation: 27+62=89, Resulting Numbers: [89] 89,54 unequal: No Solution Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 27*62=1674, Resulting Numbers: [1674] 1674,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 54:[14, 49], Operations: ['57-30=27', '76-27=49'] Exploring Operation: 49-14=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 14+49=63, Resulting Numbers: [63] 63,54 unequal: No Solution Exploring Operation: 14*49=686, Resulting Numbers: [686] 686,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 54:[76, 13], Operations: ['57-30=27', '27-14=13'] Exploring Operation: 76*13=988, Resulting Numbers: [988] 988,54 unequal: No Solution Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,54 unequal: No Solution Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[76, 41], Operations: ['57-30=27', '14+27=41'] Exploring Operation: 76*41=3116, Resulting Numbers: [3116] 3116,54 unequal: No Solution Exploring Operation: 76+41=117, Resulting Numbers: [117] 117,54 unequal: No Solution Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 61, 35, 3, 46 ]
88
[ "35+46=81", "81/3=27", "61+27=88" ]
Current State: 88:[61, 35, 3, 46], Operations: [] Exploring Operation: 35+46=81, Resulting Numbers: [61, 3, 81] Generated Node #2: [61, 3, 81] from Operation: 35+46=81 Current State: 88:[61, 3, 81], Operations: ['35+46=81'] Exploring Operation: 81/3=27, Resulting Numbers: [61, 27] Generated Node #3: [61, 27] from Operation: 81/3=27 Current State: 88:[61, 27], Operations: ['35+46=81', '81/3=27'] Exploring Operation: 61+27=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[61, 35, 3, 46], Operations: [] Exploring Operation: 61-35=26, Resulting Numbers: [3, 46, 26] Generated Node #0,0: 88:[3, 46, 26] Operation: 61-35=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[3, 46, 26], Operations: ['61-35=26'] Exploring Operation: 26-3=23, Resulting Numbers: [46, 23] Generated Node #0,0,0: 88:[46, 23] Operation: 26-3=23 Moving to Node #0,0,0 Current State: 88:[46, 23], Operations: ['61-35=26', '26-3=23'] Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,88 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
[ 44, 49, 74, 71 ]
76
[ "71-49=22", "44/22=2", "74+2=76" ]
Current State: 76:[44, 49, 74, 71], Operations: [] Exploring Operation: 71-49=22, Resulting Numbers: [44, 74, 22] Generated Node #2: [44, 74, 22] from Operation: 71-49=22 Current State: 76:[44, 74, 22], Operations: ['71-49=22'] Exploring Operation: 44/22=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 44/22=2 Current State: 76:[74, 2], Operations: ['71-49=22', '44/22=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[44, 49, 74, 71], Operations: [] Exploring Operation: 71-49=22, Resulting Numbers: [44, 74, 22] Generated Node #0,0: 76:[44, 74, 22] Operation: 71-49=22 Exploring Operation: 49-44=5, Resulting Numbers: [74, 71, 5] Generated Node #0,1: 76:[74, 71, 5] Operation: 49-44=5 Exploring Operation: 74-49=25, Resulting Numbers: [44, 71, 25] Generated Node #0,2: 76:[44, 71, 25] Operation: 74-49=25 Moving to Node #0,1 Current State: 76:[74, 71, 5], Operations: ['49-44=5'] Exploring Operation: 74-71=3, Resulting Numbers: [5, 3] Generated Node #0,1,0: 76:[5, 3] Operation: 74-71=3 Exploring Operation: 74+5=79, Resulting Numbers: [71, 79] Generated Node #0,1,1: 76:[71, 79] Operation: 74+5=79 Exploring Operation: 71+5=76, Resulting Numbers: [74, 76] Generated Node #0,1,2: 76:[74, 76] Operation: 71+5=76 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[5, 3], Operations: ['49-44=5', '74-71=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 76:[74, 76], Operations: ['49-44=5', '71+5=76'] Exploring Operation: 76-74=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 74+76=150, Resulting Numbers: [150] 150,76 unequal: No Solution Exploring Operation: 74*76=5624, Resulting Numbers: [5624] 5624,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[71, 79], Operations: ['49-44=5', '74+5=79'] Exploring Operation: 79-71=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 71+79=150, Resulting Numbers: [150] 150,76 unequal: No Solution Exploring Operation: 71*79=5609, Resulting Numbers: [5609] 5609,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 76:[44, 74, 22], Operations: ['71-49=22'] Exploring Operation: 44-22=22, Resulting Numbers: [74, 22] Generated Node #0,0,0: 76:[74, 22] Operation: 44-22=22 Exploring Operation: 74-44=30, Resulting Numbers: [22, 30] Generated Node #0,0,1: 76:[22, 30] Operation: 74-44=30 Exploring Operation: 44/22=2, Resulting Numbers: [74, 2] Generated Node #0,0,2: 76:[74, 2] Operation: 44/22=2 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[74, 2], Operations: ['71-49=22', '44/22=2'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,76 unequal: No Solution Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[44, 49, 74, 71], Operations: [] Exploring Operation: 71-49=22, Resulting Numbers: [44, 74, 22] Generated Node #0,0: 76:[44, 74, 22] Operation: 71-49=22 Moving to Node #0,0 Current State: 76:[44, 74, 22], Operations: ['71-49=22'] Exploring Operation: 44/22=2, Resulting Numbers: [74, 2] Generated Node #0,0,2: 76:[74, 2] Operation: 44/22=2 Moving to Node #0,0,2 Current State: 76:[74, 2], Operations: ['71-49=22', '44/22=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 77, 99, 93, 31 ]
40
[ "99-77=22", "93-31=62", "62-22=40" ]
Current State: 40:[77, 99, 93, 31], Operations: [] Exploring Operation: 99-77=22, Resulting Numbers: [93, 31, 22] Generated Node #2: [93, 31, 22] from Operation: 99-77=22 Current State: 40:[93, 31, 22], Operations: ['99-77=22'] Exploring Operation: 93-31=62, Resulting Numbers: [22, 62] Generated Node #3: [22, 62] from Operation: 93-31=62 Current State: 40:[22, 62], Operations: ['99-77=22', '93-31=62'] Exploring Operation: 62-22=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[77, 99, 93, 31], Operations: [] Exploring Operation: 99-77=22, Resulting Numbers: [93, 31, 22] Generated Node #0,0: 40:[93, 31, 22] Operation: 99-77=22 Exploring Operation: 99-93=6, Resulting Numbers: [77, 31, 6] Generated Node #0,1: 40:[77, 31, 6] Operation: 99-93=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[77, 31, 6], Operations: ['99-93=6'] Exploring Operation: 77-31=46, Resulting Numbers: [6, 46] Generated Node #0,1,0: 40:[6, 46] Operation: 77-31=46 Exploring Operation: 77-6=71, Resulting Numbers: [31, 71] Generated Node #0,1,1: 40:[31, 71] Operation: 77-6=71 Moving to Node #0,1,0 Current State: 40:[6, 46], Operations: ['99-93=6', '77-31=46'] Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[77, 99, 93, 31], Operations: [] Exploring Operation: 99-93=6, Resulting Numbers: [77, 31, 6] Generated Node #0,1: 40:[77, 31, 6] Operation: 99-93=6 Moving to Node #0,1 Current State: 40:[77, 31, 6], Operations: ['99-93=6'] Exploring Operation: 77-31=46, Resulting Numbers: [6, 46] Generated Node #0,1,0: 40:[6, 46] Operation: 77-31=46 Moving to Node #0,1,0 Current State: 40:[6, 46], Operations: ['99-93=6', '77-31=46'] Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 19, 44, 28, 49 ]
58
[ "44*49=2156", "2156/28=77", "77-19=58" ]
Current State: 58:[19, 44, 28, 49], Operations: [] Exploring Operation: 44*49=2156, Resulting Numbers: [19, 28, 2156] Generated Node #2: [19, 28, 2156] from Operation: 44*49=2156 Current State: 58:[19, 28, 2156], Operations: ['44*49=2156'] Exploring Operation: 2156/28=77, Resulting Numbers: [19, 77] Generated Node #3: [19, 77] from Operation: 2156/28=77 Current State: 58:[19, 77], Operations: ['44*49=2156', '2156/28=77'] Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[19, 44, 28, 49], Operations: [] Exploring Operation: 44-19=25, Resulting Numbers: [28, 49, 25] Generated Node #0,0: 58:[28, 49, 25] Operation: 44-19=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[28, 49, 25], Operations: ['44-19=25'] Exploring Operation: 49-25=24, Resulting Numbers: [28, 24] Generated Node #0,0,0: 58:[28, 24] Operation: 49-25=24 Moving to Node #0,0,0 Current State: 58:[28, 24], Operations: ['44-19=25', '49-25=24'] Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,58 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
[ 86, 66, 30, 88 ]
48
[ "88-86=2", "66+30=96", "96/2=48" ]
Current State: 48:[86, 66, 30, 88], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [66, 30, 2] Generated Node #2: [66, 30, 2] from Operation: 88-86=2 Current State: 48:[66, 30, 2], Operations: ['88-86=2'] Exploring Operation: 66+30=96, Resulting Numbers: [2, 96] Generated Node #3: [2, 96] from Operation: 66+30=96 Current State: 48:[2, 96], Operations: ['88-86=2', '66+30=96'] Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[86, 66, 30, 88], Operations: [] Exploring Operation: 86-30=56, Resulting Numbers: [66, 88, 56] Generated Node #0,0: 48:[66, 88, 56] Operation: 86-30=56 Exploring Operation: 86-66=20, Resulting Numbers: [30, 88, 20] Generated Node #0,1: 48:[30, 88, 20] Operation: 86-66=20 Exploring Operation: 88-66=22, Resulting Numbers: [86, 30, 22] Generated Node #0,2: 48:[86, 30, 22] Operation: 88-66=22 Exploring Operation: 88-86=2, Resulting Numbers: [66, 30, 2] Generated Node #0,3: 48:[66, 30, 2] Operation: 88-86=2 Moving to Node #0,3 Current State: 48:[66, 30, 2], Operations: ['88-86=2'] Exploring Operation: 66-30=36, Resulting Numbers: [2, 36] Generated Node #0,3,0: 48:[2, 36] Operation: 66-30=36 Exploring Operation: 66-2=64, Resulting Numbers: [30, 64] Generated Node #0,3,1: 48:[30, 64] Operation: 66-2=64 Exploring Operation: 66/2=33, Resulting Numbers: [30, 33] Generated Node #0,3,2: 48:[30, 33] Operation: 66/2=33 Exploring Operation: 30/2=15, Resulting Numbers: [66, 15] Generated Node #0,3,3: 48:[66, 15] Operation: 30/2=15 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 48:[2, 36], Operations: ['88-86=2', '66-30=36'] Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,48 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,48 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 48:[30, 33], Operations: ['88-86=2', '66/2=33'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 30+33=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 30*33=990, Resulting Numbers: [990] 990,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 48:[66, 15], Operations: ['88-86=2', '30/2=15'] Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,48 unequal: No Solution Exploring Operation: 66*15=990, Resulting Numbers: [990] 990,48 unequal: No Solution Exploring Operation: 66+15=81, Resulting Numbers: [81] 81,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 48:[30, 64], Operations: ['88-86=2', '66-2=64'] Exploring Operation: 30+64=94, Resulting Numbers: [94] 94,48 unequal: No Solution Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,48 unequal: No Solution Exploring Operation: 30*64=1920, Resulting Numbers: [1920] 1920,48 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: 48:[86, 30, 22], Operations: ['88-66=22'] Exploring Operation: 30+22=52, Resulting Numbers: [86, 52] Generated Node #0,2,0: 48:[86, 52] Operation: 30+22=52 Exploring Operation: 30-22=8, Resulting Numbers: [86, 8] Generated Node #0,2,1: 48:[86, 8] Operation: 30-22=8 Exploring Operation: 86-30=56, Resulting Numbers: [22, 56] Generated Node #0,2,2: 48:[22, 56] Operation: 86-30=56 Exploring Operation: 86-22=64, Resulting Numbers: [30, 64] Generated Node #0,2,3: 48:[30, 64] Operation: 86-22=64 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 48:[22, 56], Operations: ['88-66=22', '86-30=56'] Exploring Operation: 56-22=34, Resulting Numbers: [34] 34,48 unequal: No Solution Exploring Operation: 22*56=1232, Resulting Numbers: [1232] 1232,48 unequal: No Solution Exploring Operation: 22+56=78, Resulting Numbers: [78] 78,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 48:[30, 64], Operations: ['88-66=22', '86-22=64'] Exploring Operation: 30+64=94, Resulting Numbers: [94] 94,48 unequal: No Solution Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,48 unequal: No Solution Exploring Operation: 30*64=1920, Resulting Numbers: [1920] 1920,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[86, 8], Operations: ['88-66=22', '30-22=8'] Exploring Operation: 86+8=94, Resulting Numbers: [94] 94,48 unequal: No Solution Exploring Operation: 86*8=688, Resulting Numbers: [688] 688,48 unequal: No Solution Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[86, 52], Operations: ['88-66=22', '30+22=52'] Exploring Operation: 86-52=34, Resulting Numbers: [34] 34,48 unequal: No Solution Exploring Operation: 86*52=4472, Resulting Numbers: [4472] 4472,48 unequal: No Solution Exploring Operation: 86+52=138, Resulting Numbers: [138] 138,48 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: 48:[30, 88, 20], Operations: ['86-66=20'] Exploring Operation: 30-20=10, Resulting Numbers: [88, 10] Generated Node #0,1,0: 48:[88, 10] Operation: 30-20=10 Exploring Operation: 88-20=68, Resulting Numbers: [30, 68] Generated Node #0,1,1: 48:[30, 68] Operation: 88-20=68 Exploring Operation: 30+20=50, Resulting Numbers: [88, 50] Generated Node #0,1,2: 48:[88, 50] Operation: 30+20=50 Exploring Operation: 88-30=58, Resulting Numbers: [20, 58] Generated Node #0,1,3: 48:[20, 58] Operation: 88-30=58 Moving to Node #0,0 Current State: 48:[66, 88, 56], Operations: ['86-30=56'] Exploring Operation: 66+88=154, Resulting Numbers: [56, 154] Generated Node #0,0,0: 48:[56, 154] Operation: 66+88=154 Exploring Operation: 88-56=32, Resulting Numbers: [66, 32] Generated Node #0,0,1: 48:[66, 32] Operation: 88-56=32 Exploring Operation: 66-56=10, Resulting Numbers: [88, 10] Generated Node #0,0,2: 48:[88, 10] Operation: 66-56=10 Exploring Operation: 88-66=22, Resulting Numbers: [56, 22] Generated Node #0,0,3: 48:[56, 22] Operation: 88-66=22 Moving to Node #0,0,3 Current State: 48:[56, 22], Operations: ['86-30=56', '88-66=22'] Exploring Operation: 56-22=34, Resulting Numbers: [34] 34,48 unequal: No Solution Exploring Operation: 56*22=1232, Resulting Numbers: [1232] 1232,48 unequal: No Solution Exploring Operation: 56+22=78, Resulting Numbers: [78] 78,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[20, 58], Operations: ['86-66=20', '88-30=58'] Exploring Operation: 20+58=78, Resulting Numbers: [78] 78,48 unequal: No Solution Exploring Operation: 20*58=1160, Resulting Numbers: [1160] 1160,48 unequal: No Solution Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[66, 32], Operations: ['86-30=56', '88-56=32'] Exploring Operation: 66+32=98, Resulting Numbers: [98] 98,48 unequal: No Solution Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,48 unequal: No Solution Exploring Operation: 66*32=2112, Resulting Numbers: [2112] 2112,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[30, 68], Operations: ['86-66=20', '88-20=68'] Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 30*68=2040, Resulting Numbers: [2040] 2040,48 unequal: No Solution Exploring Operation: 30+68=98, Resulting Numbers: [98] 98,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[88, 10], Operations: ['86-66=20', '30-20=10'] Exploring Operation: 88+10=98, Resulting Numbers: [98] 98,48 unequal: No Solution Exploring Operation: 88-10=78, Resulting Numbers: [78] 78,48 unequal: No Solution Exploring Operation: 88*10=880, Resulting Numbers: [880] 880,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[88, 50], Operations: ['86-66=20', '30+20=50'] Exploring Operation: 88+50=138, Resulting Numbers: [138] 138,48 unequal: No Solution Exploring Operation: 88*50=4400, Resulting Numbers: [4400] 4400,48 unequal: No Solution Exploring Operation: 88-50=38, Resulting Numbers: [38] 38,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[88, 10], Operations: ['86-30=56', '66-56=10'] Exploring Operation: 88-10=78, Resulting Numbers: [78] 78,48 unequal: No Solution Exploring Operation: 88*10=880, Resulting Numbers: [880] 880,48 unequal: No Solution Exploring Operation: 88+10=98, Resulting Numbers: [98] 98,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[56, 154], Operations: ['86-30=56', '66+88=154'] Exploring Operation: 56+154=210, Resulting Numbers: [210] 210,48 unequal: No Solution Exploring Operation: 154-56=98, Resulting Numbers: [98] 98,48 unequal: No Solution Exploring Operation: 56*154=8624, Resulting Numbers: [8624] 8624,48 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 71, 42, 85, 31 ]
87
[ "71-42=29", "85+31=116", "116-29=87" ]
Current State: 87:[71, 42, 85, 31], Operations: [] Exploring Operation: 71-42=29, Resulting Numbers: [85, 31, 29] Generated Node #2: [85, 31, 29] from Operation: 71-42=29 Current State: 87:[85, 31, 29], Operations: ['71-42=29'] Exploring Operation: 85+31=116, Resulting Numbers: [29, 116] Generated Node #3: [29, 116] from Operation: 85+31=116 Current State: 87:[29, 116], Operations: ['71-42=29', '85+31=116'] Exploring Operation: 116-29=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[71, 42, 85, 31], Operations: [] Exploring Operation: 85-71=14, Resulting Numbers: [42, 31, 14] Generated Node #0,0: 87:[42, 31, 14] Operation: 85-71=14 Exploring Operation: 71-42=29, Resulting Numbers: [85, 31, 29] Generated Node #0,1: 87:[85, 31, 29] Operation: 71-42=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[85, 31, 29], Operations: ['71-42=29'] Exploring Operation: 85-31=54, Resulting Numbers: [29, 54] Generated Node #0,1,0: 87:[29, 54] Operation: 85-31=54 Exploring Operation: 31-29=2, Resulting Numbers: [85, 2] Generated Node #0,1,1: 87:[85, 2] Operation: 31-29=2 Moving to Node #0,1,1 Current State: 87:[85, 2], Operations: ['71-42=29', '31-29=2'] Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,87 unequal: No Solution Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[71, 42, 85, 31], Operations: [] Exploring Operation: 71-42=29, Resulting Numbers: [85, 31, 29] Generated Node #0,1: 87:[85, 31, 29] Operation: 71-42=29 Moving to Node #0,1 Current State: 87:[85, 31, 29], Operations: ['71-42=29'] Exploring Operation: 31-29=2, Resulting Numbers: [85, 2] Generated Node #0,1,1: 87:[85, 2] Operation: 31-29=2 Moving to Node #0,1,1 Current State: 87:[85, 2], Operations: ['71-42=29', '31-29=2'] Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 50, 89, 87, 67 ]
33
[ "89-87=2", "50*2=100", "100-67=33" ]
Current State: 33:[50, 89, 87, 67], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [50, 67, 2] Generated Node #2: [50, 67, 2] from Operation: 89-87=2 Current State: 33:[50, 67, 2], Operations: ['89-87=2'] Exploring Operation: 50*2=100, Resulting Numbers: [67, 100] Generated Node #3: [67, 100] from Operation: 50*2=100 Current State: 33:[67, 100], Operations: ['89-87=2', '50*2=100'] Exploring Operation: 100-67=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[50, 89, 87, 67], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [50, 67, 2] Generated Node #0,0: 33:[50, 67, 2] Operation: 89-87=2 Moving to Node #0,0 Current State: 33:[50, 67, 2], Operations: ['89-87=2'] Exploring Operation: 67-50=17, Resulting Numbers: [2, 17] Generated Node #0,0,0: 33:[2, 17] Operation: 67-50=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[2, 17], Operations: ['89-87=2', '67-50=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,33 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
[ 23, 82, 18, 35 ]
89
[ "23-18=5", "35/5=7", "82+7=89" ]
Current State: 89:[23, 82, 18, 35], Operations: [] Exploring Operation: 23-18=5, Resulting Numbers: [82, 35, 5] Generated Node #2: [82, 35, 5] from Operation: 23-18=5 Current State: 89:[82, 35, 5], Operations: ['23-18=5'] Exploring Operation: 35/5=7, Resulting Numbers: [82, 7] Generated Node #3: [82, 7] from Operation: 35/5=7 Current State: 89:[82, 7], Operations: ['23-18=5', '35/5=7'] Exploring Operation: 82+7=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[23, 82, 18, 35], Operations: [] Exploring Operation: 23+35=58, Resulting Numbers: [82, 18, 58] Generated Node #0,0: 89:[82, 18, 58] Operation: 23+35=58 Exploring Operation: 23+18=41, Resulting Numbers: [82, 35, 41] Generated Node #0,1: 89:[82, 35, 41] Operation: 23+18=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[82, 18, 58], Operations: ['23+35=58'] Exploring Operation: 18+58=76, Resulting Numbers: [82, 76] Generated Node #0,0,0: 89:[82, 76] Operation: 18+58=76 Exploring Operation: 82+18=100, Resulting Numbers: [58, 100] Generated Node #0,0,1: 89:[58, 100] Operation: 82+18=100 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[82, 76], Operations: ['23+35=58', '18+58=76'] Exploring Operation: 82+76=158, Resulting Numbers: [158] 158,89 unequal: No Solution Exploring Operation: 82-76=6, Resulting Numbers: [6] 6,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[58, 100], Operations: ['23+35=58', '82+18=100'] Exploring Operation: 100-58=42, Resulting Numbers: [42] 42,89 unequal: No Solution Exploring Operation: 58+100=158, Resulting Numbers: [158] 158,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[82, 35, 41], Operations: ['23+18=41'] Exploring Operation: 82+35=117, Resulting Numbers: [41, 117] Generated Node #0,1,0: 89:[41, 117] Operation: 82+35=117 Exploring Operation: 35+41=76, Resulting Numbers: [82, 76] Generated Node #0,1,1: 89:[82, 76] Operation: 35+41=76 Moving to Node #0,1,1 Current State: 89:[82, 76], Operations: ['23+18=41', '35+41=76'] Exploring Operation: 82-76=6, Resulting Numbers: [6] 6,89 unequal: No Solution Exploring Operation: 82+76=158, Resulting Numbers: [158] 158,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[41, 117], Operations: ['23+18=41', '82+35=117'] Exploring Operation: 41+117=158, Resulting Numbers: [158] 158,89 unequal: No Solution Exploring Operation: 117-41=76, Resulting Numbers: [76] 76,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 42, 40, 19, 27 ]
35
[ "42-40=2", "27*2=54", "54-19=35" ]
Current State: 35:[42, 40, 19, 27], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [19, 27, 2] Generated Node #2: [19, 27, 2] from Operation: 42-40=2 Current State: 35:[19, 27, 2], Operations: ['42-40=2'] Exploring Operation: 27*2=54, Resulting Numbers: [19, 54] Generated Node #3: [19, 54] from Operation: 27*2=54 Current State: 35:[19, 54], Operations: ['42-40=2', '27*2=54'] Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[42, 40, 19, 27], Operations: [] Exploring Operation: 27-19=8, Resulting Numbers: [42, 40, 8] Generated Node #0,0: 35:[42, 40, 8] Operation: 27-19=8 Exploring Operation: 19+27=46, Resulting Numbers: [42, 40, 46] Generated Node #0,1: 35:[42, 40, 46] Operation: 19+27=46 Exploring Operation: 42-19=23, Resulting Numbers: [40, 27, 23] Generated Node #0,2: 35:[40, 27, 23] Operation: 42-19=23 Exploring Operation: 42-40=2, Resulting Numbers: [19, 27, 2] Generated Node #0,3: 35:[19, 27, 2] Operation: 42-40=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[42, 40, 8], Operations: ['27-19=8'] Exploring Operation: 40/8=5, Resulting Numbers: [42, 5] Generated Node #0,0,0: 35:[42, 5] Operation: 40/8=5 Exploring Operation: 40-8=32, Resulting Numbers: [42, 32] Generated Node #0,0,1: 35:[42, 32] Operation: 40-8=32 Exploring Operation: 42-40=2, Resulting Numbers: [8, 2] Generated Node #0,0,2: 35:[8, 2] Operation: 42-40=2 Exploring Operation: 42-8=34, Resulting Numbers: [40, 34] Generated Node #0,0,3: 35:[40, 34] Operation: 42-8=34 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 35:[8, 2], Operations: ['27-19=8', '42-40=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,35 unequal: No Solution No 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: 35:[40, 34], Operations: ['27-19=8', '42-8=34'] Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,35 unequal: No Solution Exploring Operation: 40*34=1360, Resulting Numbers: [1360] 1360,35 unequal: No Solution No 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: 35:[42, 5], Operations: ['27-19=8', '40/8=5'] Exploring Operation: 42*5=210, Resulting Numbers: [210] 210,35 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,35 unequal: No Solution Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,35 unequal: No Solution No 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: 35:[42, 32], Operations: ['27-19=8', '40-8=32'] Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 42+32=74, Resulting Numbers: [74] 74,35 unequal: No Solution Exploring Operation: 42*32=1344, Resulting Numbers: [1344] 1344,35 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: 35:[42, 40, 46], Operations: ['19+27=46'] Exploring Operation: 46-40=6, Resulting Numbers: [42, 6] Generated Node #0,1,0: 35:[42, 6] Operation: 46-40=6 Exploring Operation: 46-42=4, Resulting Numbers: [40, 4] Generated Node #0,1,1: 35:[40, 4] Operation: 46-42=4 Exploring Operation: 42-40=2, Resulting Numbers: [46, 2] Generated Node #0,1,2: 35:[46, 2] Operation: 42-40=2 Exploring Operation: 42+40=82, Resulting Numbers: [46, 82] Generated Node #0,1,3: 35:[46, 82] Operation: 42+40=82 Moving to Node #0,1,1 Current State: 35:[40, 4], Operations: ['19+27=46', '46-42=4'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 40*4=160, Resulting Numbers: [160] 160,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[42, 6], Operations: ['19+27=46', '46-40=6'] Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,35 unequal: No Solution Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,35 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[46, 2], Operations: ['19+27=46', '42-40=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,35 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,35 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,35 unequal: No Solution Moving to Node #0,1,3 Current State: 35:[46, 82], Operations: ['19+27=46', '42+40=82'] Exploring Operation: 46*82=3772, Resulting Numbers: [3772] 3772,35 unequal: No Solution Exploring Operation: 46+82=128, Resulting Numbers: [128] 128,35 unequal: No Solution Exploring Operation: 82-46=36, Resulting Numbers: [36] 36,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[19, 27, 2], Operations: ['42-40=2'] Exploring Operation: 27-19=8, Resulting Numbers: [2, 8] Generated Node #0,3,0: 35:[2, 8] Operation: 27-19=8 Exploring Operation: 19-2=17, Resulting Numbers: [27, 17] Generated Node #0,3,1: 35:[27, 17] Operation: 19-2=17 Exploring Operation: 19*2=38, Resulting Numbers: [27, 38] Generated Node #0,3,2: 35:[27, 38] Operation: 19*2=38 Exploring Operation: 19+27=46, Resulting Numbers: [2, 46] Generated Node #0,3,3: 35:[2, 46] Operation: 19+27=46 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 35:[2, 8], Operations: ['42-40=2', '27-19=8'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,35 unequal: No Solution No 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: 35:[27, 38], Operations: ['42-40=2', '19*2=38'] Exploring Operation: 27+38=65, Resulting Numbers: [65] 65,35 unequal: No Solution Exploring Operation: 27*38=1026, Resulting Numbers: [1026] 1026,35 unequal: No Solution Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,35 unequal: No Solution No 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: 35:[2, 46], Operations: ['42-40=2', '19+27=46'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,35 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,35 unequal: No Solution Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,35 unequal: No Solution No 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: 35:[27, 17], Operations: ['42-40=2', '19-2=17'] Exploring Operation: 27*17=459, Resulting Numbers: [459] 459,35 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,35 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: 35:[40, 27, 23], Operations: ['42-19=23'] Exploring Operation: 40-23=17, Resulting Numbers: [27, 17] Generated Node #0,2,0: 35:[27, 17] Operation: 40-23=17 Exploring Operation: 27+23=50, Resulting Numbers: [40, 50] Generated Node #0,2,1: 35:[40, 50] Operation: 27+23=50 Exploring Operation: 27-23=4, Resulting Numbers: [40, 4] Generated Node #0,2,2: 35:[40, 4] Operation: 27-23=4 Exploring Operation: 40-27=13, Resulting Numbers: [23, 13] Generated Node #0,2,3: 35:[23, 13] Operation: 40-27=13 Moving to Node #0,2,2 Current State: 35:[40, 4], Operations: ['42-19=23', '27-23=4'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 40*4=160, Resulting Numbers: [160] 160,35 unequal: No Solution Moving to Node #0,2,3 Current State: 35:[23, 13], Operations: ['42-19=23', '40-27=13'] Exploring Operation: 23*13=299, Resulting Numbers: [299] 299,35 unequal: No Solution Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[27, 17], Operations: ['42-19=23', '40-23=17'] Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 27*17=459, Resulting Numbers: [459] 459,35 unequal: No Solution Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,35 unequal: No Solution Moving to Node #0,2,1 Current State: 35:[40, 50], Operations: ['42-19=23', '27+23=50'] Exploring Operation: 40+50=90, Resulting Numbers: [90] 90,35 unequal: No Solution Exploring Operation: 40*50=2000, Resulting Numbers: [2000] 2000,35 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,35 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
[ 33, 9, 32, 85 ]
93
[ "33-9=24", "32+85=117", "117-24=93" ]
Current State: 93:[33, 9, 32, 85], Operations: [] Exploring Operation: 33-9=24, Resulting Numbers: [32, 85, 24] Generated Node #2: [32, 85, 24] from Operation: 33-9=24 Current State: 93:[32, 85, 24], Operations: ['33-9=24'] Exploring Operation: 32+85=117, Resulting Numbers: [24, 117] Generated Node #3: [24, 117] from Operation: 32+85=117 Current State: 93:[24, 117], Operations: ['33-9=24', '32+85=117'] Exploring Operation: 117-24=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[33, 9, 32, 85], Operations: [] Exploring Operation: 33-32=1, Resulting Numbers: [9, 85, 1] Generated Node #0,0: 93:[9, 85, 1] Operation: 33-32=1 Exploring Operation: 33-9=24, Resulting Numbers: [32, 85, 24] Generated Node #0,1: 93:[32, 85, 24] Operation: 33-9=24 Exploring Operation: 9+85=94, Resulting Numbers: [33, 32, 94] Generated Node #0,2: 93:[33, 32, 94] Operation: 9+85=94 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[33, 32, 94], Operations: ['9+85=94'] Exploring Operation: 94-33=61, Resulting Numbers: [32, 61] Generated Node #0,2,0: 93:[32, 61] Operation: 94-33=61 Exploring Operation: 33-32=1, Resulting Numbers: [94, 1] Generated Node #0,2,1: 93:[94, 1] Operation: 33-32=1 Exploring Operation: 33+32=65, Resulting Numbers: [94, 65] Generated Node #0,2,2: 93:[94, 65] Operation: 33+32=65 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[94, 1], Operations: ['9+85=94', '33-32=1'] Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[33, 9, 32, 85], Operations: [] Exploring Operation: 9+85=94, Resulting Numbers: [33, 32, 94] Generated Node #0,2: 93:[33, 32, 94] Operation: 9+85=94 Moving to Node #0,2 Current State: 93:[33, 32, 94], Operations: ['9+85=94'] Exploring Operation: 33-32=1, Resulting Numbers: [94, 1] Generated Node #0,2,1: 93:[94, 1] Operation: 33-32=1 Moving to Node #0,2,1 Current State: 93:[94, 1], Operations: ['9+85=94', '33-32=1'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 78, 13, 95, 61 ]
31
[ "78-13=65", "95-61=34", "65-34=31" ]
Current State: 31:[78, 13, 95, 61], Operations: [] Exploring Operation: 78-13=65, Resulting Numbers: [95, 61, 65] Generated Node #2: [95, 61, 65] from Operation: 78-13=65 Current State: 31:[95, 61, 65], Operations: ['78-13=65'] Exploring Operation: 95-61=34, Resulting Numbers: [65, 34] Generated Node #3: [65, 34] from Operation: 95-61=34 Current State: 31:[65, 34], Operations: ['78-13=65', '95-61=34'] Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[78, 13, 95, 61], Operations: [] Exploring Operation: 95-78=17, Resulting Numbers: [13, 61, 17] Generated Node #0,0: 31:[13, 61, 17] Operation: 95-78=17 Exploring Operation: 78-61=17, Resulting Numbers: [13, 95, 17] Generated Node #0,1: 31:[13, 95, 17] Operation: 78-61=17 Exploring Operation: 78/13=6, Resulting Numbers: [95, 61, 6] Generated Node #0,2: 31:[95, 61, 6] Operation: 78/13=6 Exploring Operation: 95-61=34, Resulting Numbers: [78, 13, 34] Generated Node #0,3: 31:[78, 13, 34] Operation: 95-61=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[13, 61, 17], Operations: ['95-78=17'] Exploring Operation: 13+17=30, Resulting Numbers: [61, 30] Generated Node #0,0,0: 31:[61, 30] Operation: 13+17=30 Exploring Operation: 61-13=48, Resulting Numbers: [17, 48] Generated Node #0,0,1: 31:[17, 48] Operation: 61-13=48 Exploring Operation: 13+61=74, Resulting Numbers: [17, 74] Generated Node #0,0,2: 31:[17, 74] Operation: 13+61=74 Exploring Operation: 61-17=44, Resulting Numbers: [13, 44] Generated Node #0,0,3: 31:[13, 44] Operation: 61-17=44 Moving to Node #0,0,0 Current State: 31:[61, 30], Operations: ['95-78=17', '13+17=30'] Exploring Operation: 61+30=91, Resulting Numbers: [91] 91,31 unequal: No Solution Exploring Operation: 61*30=1830, Resulting Numbers: [1830] 1830,31 unequal: No Solution Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[78, 13, 95, 61], Operations: [] Exploring Operation: 95-78=17, Resulting Numbers: [13, 61, 17] Generated Node #0,0: 31:[13, 61, 17] Operation: 95-78=17 Moving to Node #0,0 Current State: 31:[13, 61, 17], Operations: ['95-78=17'] Exploring Operation: 13+17=30, Resulting Numbers: [61, 30] Generated Node #0,0,0: 31:[61, 30] Operation: 13+17=30 Moving to Node #0,0,0 Current State: 31:[61, 30], Operations: ['95-78=17', '13+17=30'] Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 36, 1, 4, 26 ]
69
[ "36-1=35", "4*26=104", "104-35=69" ]
Current State: 69:[36, 1, 4, 26], Operations: [] Exploring Operation: 36-1=35, Resulting Numbers: [4, 26, 35] Generated Node #2: [4, 26, 35] from Operation: 36-1=35 Current State: 69:[4, 26, 35], Operations: ['36-1=35'] Exploring Operation: 4*26=104, Resulting Numbers: [35, 104] Generated Node #3: [35, 104] from Operation: 4*26=104 Current State: 69:[35, 104], Operations: ['36-1=35', '4*26=104'] Exploring Operation: 104-35=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[36, 1, 4, 26], Operations: [] Exploring Operation: 36/4=9, Resulting Numbers: [1, 26, 9] Generated Node #0,0: 69:[1, 26, 9] Operation: 36/4=9 Exploring Operation: 36+26=62, Resulting Numbers: [1, 4, 62] Generated Node #0,1: 69:[1, 4, 62] Operation: 36+26=62 Exploring Operation: 36-26=10, Resulting Numbers: [1, 4, 10] Generated Node #0,2: 69:[1, 4, 10] Operation: 36-26=10 Moving to Node #0,1 Current State: 69:[1, 4, 62], Operations: ['36+26=62'] Exploring Operation: 4+62=66, Resulting Numbers: [1, 66] Generated Node #0,1,0: 69:[1, 66] Operation: 4+62=66 Exploring Operation: 1+62=63, Resulting Numbers: [4, 63] Generated Node #0,1,1: 69:[4, 63] Operation: 1+62=63 Exploring Operation: 4-1=3, Resulting Numbers: [62, 3] Generated Node #0,1,2: 69:[62, 3] Operation: 4-1=3 Moving to Node #0,2 Current State: 69:[1, 4, 10], Operations: ['36-26=10'] Exploring Operation: 10-4=6, Resulting Numbers: [1, 6] Generated Node #0,2,0: 69:[1, 6] Operation: 10-4=6 Exploring Operation: 4-1=3, Resulting Numbers: [10, 3] Generated Node #0,2,1: 69:[10, 3] Operation: 4-1=3 Exploring Operation: 10-1=9, Resulting Numbers: [4, 9] Generated Node #0,2,2: 69:[4, 9] Operation: 10-1=9 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 69:[1, 6], Operations: ['36-26=10', '10-4=6'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,69 unequal: No Solution Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 69:[10, 3], Operations: ['36-26=10', '4-1=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,69 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 69:[4, 9], Operations: ['36-26=10', '10-1=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,69 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,69 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: 69:[1, 26, 9], Operations: ['36/4=9'] Exploring Operation: 26-9=17, Resulting Numbers: [1, 17] Generated Node #0,0,0: 69:[1, 17] Operation: 26-9=17 Exploring Operation: 9-1=8, Resulting Numbers: [26, 8] Generated Node #0,0,1: 69:[26, 8] Operation: 9-1=8 Exploring Operation: 26-1=25, Resulting Numbers: [9, 25] Generated Node #0,0,2: 69:[9, 25] Operation: 26-1=25 Moving to Node #0,1,0 Current State: 69:[1, 66], Operations: ['36+26=62', '4+62=66'] Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,69 unequal: No Solution Exploring Operation: 1*66=66, Resulting Numbers: [66] 66,69 unequal: No Solution Exploring Operation: 1+66=67, Resulting Numbers: [67] 67,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[62, 3], Operations: ['36+26=62', '4-1=3'] Exploring Operation: 62*3=186, Resulting Numbers: [186] 186,69 unequal: No Solution Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,69 unequal: No Solution Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[4, 63], Operations: ['36+26=62', '1+62=63'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,69 unequal: No Solution Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,69 unequal: No Solution Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[9, 25], Operations: ['36/4=9', '26-1=25'] Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,69 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[1, 17], Operations: ['36/4=9', '26-9=17'] Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 1*17=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 1+17=18, Resulting Numbers: [18] 18,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[26, 8], Operations: ['36/4=9', '9-1=8'] Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,69 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,69 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 29, 49, 21, 72 ]
71
[ "49-29=20", "72-21=51", "20+51=71" ]
Current State: 71:[29, 49, 21, 72], Operations: [] Exploring Operation: 49-29=20, Resulting Numbers: [21, 72, 20] Generated Node #2: [21, 72, 20] from Operation: 49-29=20 Current State: 71:[21, 72, 20], Operations: ['49-29=20'] Exploring Operation: 72-21=51, Resulting Numbers: [20, 51] Generated Node #3: [20, 51] from Operation: 72-21=51 Current State: 71:[20, 51], Operations: ['49-29=20', '72-21=51'] Exploring Operation: 20+51=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[29, 49, 21, 72], Operations: [] Exploring Operation: 29+21=50, Resulting Numbers: [49, 72, 50] Generated Node #0,0: 71:[49, 72, 50] Operation: 29+21=50 Moving to Node #0,0 Current State: 71:[49, 72, 50], Operations: ['29+21=50'] Exploring Operation: 49+50=99, Resulting Numbers: [72, 99] Generated Node #0,0,0: 71:[72, 99] Operation: 49+50=99 Moving to Node #0,0,0 Current State: 71:[72, 99], Operations: ['29+21=50', '49+50=99'] Exploring Operation: 99-72=27, Resulting Numbers: [27] 27,71 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 22, 76, 73, 76 ]
96
[ "22+73=95", "76/76=1", "95+1=96" ]
Current State: 96:[22, 76, 73, 76], Operations: [] Exploring Operation: 22+73=95, Resulting Numbers: [76, 76, 95] Generated Node #2: [76, 76, 95] from Operation: 22+73=95 Current State: 96:[76, 76, 95], Operations: ['22+73=95'] Exploring Operation: 76/76=1, Resulting Numbers: [95, 1] Generated Node #3: [95, 1] from Operation: 76/76=1 Current State: 96:[95, 1], Operations: ['22+73=95', '76/76=1'] Exploring Operation: 95+1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[22, 76, 73, 76], Operations: [] Exploring Operation: 76-73=3, Resulting Numbers: [22, 76, 3] Generated Node #0,0: 96:[22, 76, 3] Operation: 76-73=3 Moving to Node #0,0 Current State: 96:[22, 76, 3], Operations: ['76-73=3'] Exploring Operation: 22+76=98, Resulting Numbers: [3, 98] Generated Node #0,0,0: 96:[3, 98] Operation: 22+76=98 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[3, 98], Operations: ['76-73=3', '22+76=98'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 47, 4, 94, 83 ]
91
[ "94/47=2", "4*2=8", "83+8=91" ]
Current State: 91:[47, 4, 94, 83], Operations: [] Exploring Operation: 94/47=2, Resulting Numbers: [4, 83, 2] Generated Node #2: [4, 83, 2] from Operation: 94/47=2 Current State: 91:[4, 83, 2], Operations: ['94/47=2'] Exploring Operation: 4*2=8, Resulting Numbers: [83, 8] Generated Node #3: [83, 8] from Operation: 4*2=8 Current State: 91:[83, 8], Operations: ['94/47=2', '4*2=8'] Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[47, 4, 94, 83], Operations: [] Exploring Operation: 94-83=11, Resulting Numbers: [47, 4, 11] Generated Node #0,0: 91:[47, 4, 11] Operation: 94-83=11 Exploring Operation: 4+83=87, Resulting Numbers: [47, 94, 87] Generated Node #0,1: 91:[47, 94, 87] Operation: 4+83=87 Exploring Operation: 94/47=2, Resulting Numbers: [4, 83, 2] Generated Node #0,2: 91:[4, 83, 2] Operation: 94/47=2 Exploring Operation: 47-4=43, Resulting Numbers: [94, 83, 43] Generated Node #0,3: 91:[94, 83, 43] Operation: 47-4=43 Exploring Operation: 83-47=36, Resulting Numbers: [4, 94, 36] Generated Node #0,4: 91:[4, 94, 36] Operation: 83-47=36 Moving to Node #0,2 Current State: 91:[4, 83, 2], Operations: ['94/47=2'] Exploring Operation: 4-2=2, Resulting Numbers: [83, 2] Generated Node #0,2,0: 91:[83, 2] Operation: 4-2=2 Exploring Operation: 4+83=87, Resulting Numbers: [2, 87] Generated Node #0,2,1: 91:[2, 87] Operation: 4+83=87 Exploring Operation: 4+2=6, Resulting Numbers: [83, 6] Generated Node #0,2,2: 91:[83, 6] Operation: 4+2=6 Exploring Operation: 83+2=85, Resulting Numbers: [4, 85] Generated Node #0,2,3: 91:[4, 85] Operation: 83+2=85 Exploring Operation: 4*2=8, Resulting Numbers: [83, 8] Generated Node #0,2,4: 91:[83, 8] Operation: 4*2=8 Moving to Node #0,4 Current State: 91:[4, 94, 36], Operations: ['83-47=36'] Exploring Operation: 36-4=32, Resulting Numbers: [94, 32] Generated Node #0,4,0: 91:[94, 32] Operation: 36-4=32 Exploring Operation: 4+94=98, Resulting Numbers: [36, 98] Generated Node #0,4,1: 91:[36, 98] Operation: 4+94=98 Exploring Operation: 4+36=40, Resulting Numbers: [94, 40] Generated Node #0,4,2: 91:[94, 40] Operation: 4+36=40 Exploring Operation: 94-4=90, Resulting Numbers: [36, 90] Generated Node #0,4,3: 91:[36, 90] Operation: 94-4=90 Exploring Operation: 36/4=9, Resulting Numbers: [94, 9] Generated Node #0,4,4: 91:[94, 9] Operation: 36/4=9 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 91:[94, 9], Operations: ['83-47=36', '36/4=9'] Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,91 unequal: No Solution Exploring Operation: 94*9=846, Resulting Numbers: [846] 846,91 unequal: No Solution Exploring Operation: 94+9=103, Resulting Numbers: [103] 103,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 91:[94, 32], Operations: ['83-47=36', '36-4=32'] Exploring Operation: 94*32=3008, Resulting Numbers: [3008] 3008,91 unequal: No Solution Exploring Operation: 94+32=126, Resulting Numbers: [126] 126,91 unequal: No Solution Exploring Operation: 94-32=62, Resulting Numbers: [62] 62,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 91:[36, 90], Operations: ['83-47=36', '94-4=90'] Exploring Operation: 90-36=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 36+90=126, Resulting Numbers: [126] 126,91 unequal: No Solution Exploring Operation: 36*90=3240, Resulting Numbers: [3240] 3240,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 91:[36, 98], Operations: ['83-47=36', '4+94=98'] Exploring Operation: 36*98=3528, Resulting Numbers: [3528] 3528,91 unequal: No Solution Exploring Operation: 36+98=134, Resulting Numbers: [134] 134,91 unequal: No Solution Exploring Operation: 98-36=62, Resulting Numbers: [62] 62,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 91:[94, 40], Operations: ['83-47=36', '4+36=40'] Exploring Operation: 94*40=3760, Resulting Numbers: [3760] 3760,91 unequal: No Solution Exploring Operation: 94-40=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 94+40=134, Resulting Numbers: [134] 134,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:[47, 4, 11], Operations: ['94-83=11'] Exploring Operation: 11-4=7, Resulting Numbers: [47, 7] Generated Node #0,0,0: 91:[47, 7] Operation: 11-4=7 Exploring Operation: 47-11=36, Resulting Numbers: [4, 36] Generated Node #0,0,1: 91:[4, 36] Operation: 47-11=36 Exploring Operation: 4+11=15, Resulting Numbers: [47, 15] Generated Node #0,0,2: 91:[47, 15] Operation: 4+11=15 Exploring Operation: 47+11=58, Resulting Numbers: [4, 58] Generated Node #0,0,3: 91:[4, 58] Operation: 47+11=58 Exploring Operation: 47-4=43, Resulting Numbers: [11, 43] Generated Node #0,0,4: 91:[11, 43] Operation: 47-4=43 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[4, 36], Operations: ['94-83=11', '47-11=36'] Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,91 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 91:[11, 43], Operations: ['94-83=11', '47-4=43'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 11+43=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 11*43=473, Resulting Numbers: [473] 473,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[47, 7], Operations: ['94-83=11', '11-4=7'] Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,91 unequal: No Solution Exploring Operation: 47*7=329, Resulting Numbers: [329] 329,91 unequal: No Solution Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[47, 15], Operations: ['94-83=11', '4+11=15'] Exploring Operation: 47*15=705, Resulting Numbers: [705] 705,91 unequal: No Solution Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 47+15=62, Resulting Numbers: [62] 62,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 91:[4, 58], Operations: ['94-83=11', '47+11=58'] Exploring Operation: 4*58=232, Resulting Numbers: [232] 232,91 unequal: No Solution Exploring Operation: 4+58=62, Resulting Numbers: [62] 62,91 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 91:[47, 94, 87], Operations: ['4+83=87'] Exploring Operation: 87-47=40, Resulting Numbers: [94, 40] Generated Node #0,1,0: 91:[94, 40] Operation: 87-47=40 Exploring Operation: 94/47=2, Resulting Numbers: [87, 2] Generated Node #0,1,1: 91:[87, 2] Operation: 94/47=2 Exploring Operation: 47+87=134, Resulting Numbers: [94, 134] Generated Node #0,1,2: 91:[94, 134] Operation: 47+87=134 Exploring Operation: 94-47=47, Resulting Numbers: [87, 47] Generated Node #0,1,3: 91:[87, 47] Operation: 94-47=47 Exploring Operation: 94-87=7, Resulting Numbers: [47, 7] Generated Node #0,1,4: 91:[47, 7] Operation: 94-87=7 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[87, 2], Operations: ['4+83=87', '94/47=2'] Exploring Operation: 87*2=174, Resulting Numbers: [174] 174,91 unequal: No Solution Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[94, 40], Operations: ['4+83=87', '87-47=40'] Exploring Operation: 94-40=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 94+40=134, Resulting Numbers: [134] 134,91 unequal: No Solution Exploring Operation: 94*40=3760, Resulting Numbers: [3760] 3760,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 91:[47, 7], Operations: ['4+83=87', '94-87=7'] Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,91 unequal: No Solution Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 47*7=329, Resulting Numbers: [329] 329,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 91:[87, 47], Operations: ['4+83=87', '94-47=47'] Exploring Operation: 87*47=4089, Resulting Numbers: [4089] 4089,91 unequal: No Solution Exploring Operation: 87+47=134, Resulting Numbers: [134] 134,91 unequal: No Solution Exploring Operation: 87-47=40, Resulting Numbers: [40] 40,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 91:[94, 134], Operations: ['4+83=87', '47+87=134'] Exploring Operation: 94+134=228, Resulting Numbers: [228] 228,91 unequal: No Solution Exploring Operation: 134-94=40, Resulting Numbers: [40] 40,91 unequal: No Solution Exploring Operation: 94*134=12596, Resulting Numbers: [12596] 12596,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 91:[94, 83, 43], Operations: ['47-4=43'] Exploring Operation: 94+43=137, Resulting Numbers: [83, 137] Generated Node #0,3,0: 91:[83, 137] Operation: 94+43=137 Exploring Operation: 83-43=40, Resulting Numbers: [94, 40] Generated Node #0,3,1: 91:[94, 40] Operation: 83-43=40 Exploring Operation: 83+43=126, Resulting Numbers: [94, 126] Generated Node #0,3,2: 91:[94, 126] Operation: 83+43=126 Exploring Operation: 94-83=11, Resulting Numbers: [43, 11] Generated Node #0,3,3: 91:[43, 11] Operation: 94-83=11 Exploring Operation: 94-43=51, Resulting Numbers: [83, 51] Generated Node #0,3,4: 91:[83, 51] Operation: 94-43=51 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 91:[94, 40], Operations: ['47-4=43', '83-43=40'] Exploring Operation: 94-40=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 94*40=3760, Resulting Numbers: [3760] 3760,91 unequal: No Solution Exploring Operation: 94+40=134, Resulting Numbers: [134] 134,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 91:[43, 11], Operations: ['47-4=43', '94-83=11'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 91:[94, 126], Operations: ['47-4=43', '83+43=126'] Exploring Operation: 94+126=220, Resulting Numbers: [220] 220,91 unequal: No Solution Exploring Operation: 94*126=11844, Resulting Numbers: [11844] 11844,91 unequal: No Solution Exploring Operation: 126-94=32, Resulting Numbers: [32] 32,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 91:[83, 51], Operations: ['47-4=43', '94-43=51'] Exploring Operation: 83+51=134, Resulting Numbers: [134] 134,91 unequal: No Solution Exploring Operation: 83-51=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 83*51=4233, Resulting Numbers: [4233] 4233,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 91:[83, 137], Operations: ['47-4=43', '94+43=137'] Exploring Operation: 83+137=220, Resulting Numbers: [220] 220,91 unequal: No Solution Exploring Operation: 137-83=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 83*137=11371, Resulting Numbers: [11371] 11371,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 91:[2, 87], Operations: ['94/47=2', '4+83=87'] Exploring Operation: 2*87=174, Resulting Numbers: [174] 174,91 unequal: No Solution Exploring Operation: 2+87=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,91 unequal: No Solution Moving to Node #0,2,3 Current State: 91:[4, 85], Operations: ['94/47=2', '83+2=85'] Exploring Operation: 4+85=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,91 unequal: No Solution Exploring Operation: 4*85=340, Resulting Numbers: [340] 340,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[83, 6], Operations: ['94/47=2', '4+2=6'] Exploring Operation: 83*6=498, Resulting Numbers: [498] 498,91 unequal: No Solution Exploring Operation: 83+6=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 83-6=77, Resulting Numbers: [77] 77,91 unequal: No Solution Moving to Node #0,2,4 Current State: 91:[83, 8], Operations: ['94/47=2', '4*2=8'] Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[47, 4, 94, 83], Operations: [] Exploring Operation: 94/47=2, Resulting Numbers: [4, 83, 2] Generated Node #0,2: 91:[4, 83, 2] Operation: 94/47=2 Moving to Node #0,2 Current State: 91:[4, 83, 2], Operations: ['94/47=2'] Exploring Operation: 4*2=8, Resulting Numbers: [83, 8] Generated Node #0,2,4: 91:[83, 8] Operation: 4*2=8 Moving to Node #0,2,4 Current State: 91:[83, 8], Operations: ['94/47=2', '4*2=8'] Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.907986
hs_5
mult_heuristic
[ 76, 2, 13, 2 ]
32
[ "76/2=38", "38/2=19", "13+19=32" ]
Current State: 32:[76, 2, 13, 2], Operations: [] Exploring Operation: 76/2=38, Resulting Numbers: [13, 38] Generated Node #2: [13, 38] from Operation: 76/2=38 Current State: 32:[13, 38], Operations: ['76/2=38'] Exploring Operation: 38/2=19, Resulting Numbers: [13, 19] Generated Node #3: [13, 19] from Operation: 38/2=19 Current State: 32:[13, 19], Operations: ['76/2=38', '38/2=19'] Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[76, 2, 13, 2], Operations: [] Exploring Operation: 76/2=38, Resulting Numbers: [13, 2, 38] Generated Node #0,0: 32:[13, 2, 38] Operation: 76/2=38 Exploring Operation: 76/2=38, Resulting Numbers: [2, 13, 38] Generated Node #0,1: 32:[2, 13, 38] Operation: 76/2=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[13, 2, 38], Operations: ['76/2=38'] Exploring Operation: 13+2=15, Resulting Numbers: [38, 15] Generated Node #0,0,0: 32:[38, 15] Operation: 13+2=15 Exploring Operation: 38/2=19, Resulting Numbers: [13, 19] Generated Node #0,0,1: 32:[13, 19] Operation: 38/2=19 Moving to Node #0,0,1 Current State: 32:[13, 19], Operations: ['76/2=38', '38/2=19'] Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[76, 2, 13, 2], Operations: [] Exploring Operation: 76/2=38, Resulting Numbers: [13, 2, 38] Generated Node #0,0: 32:[13, 2, 38] Operation: 76/2=38 Moving to Node #0,0 Current State: 32:[13, 2, 38], Operations: ['76/2=38'] Exploring Operation: 38/2=19, Resulting Numbers: [13, 19] Generated Node #0,0,1: 32:[13, 19] Operation: 38/2=19 Moving to Node #0,0,1 Current State: 32:[13, 19], Operations: ['76/2=38', '38/2=19'] Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 58, 62, 39, 4 ]
31
[ "62-58=4", "39-4=35", "35-4=31" ]
Current State: 31:[58, 62, 39, 4], Operations: [] Exploring Operation: 62-58=4, Resulting Numbers: [39, 4, 4] Generated Node #2: [39, 4, 4] from Operation: 62-58=4 Current State: 31:[39, 4, 4], Operations: ['62-58=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,31 equal: Goal Reached Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[58, 62, 39, 4], Operations: [] Exploring Operation: 62-39=23, Resulting Numbers: [58, 4, 23] Generated Node #0,0: 31:[58, 4, 23] Operation: 62-39=23 Exploring Operation: 58-4=54, Resulting Numbers: [62, 39, 54] Generated Node #0,1: 31:[62, 39, 54] Operation: 58-4=54 Exploring Operation: 62-4=58, Resulting Numbers: [58, 39, 58] Generated Node #0,2: 31:[58, 39, 58] Operation: 62-4=58 Exploring Operation: 62-58=4, Resulting Numbers: [39, 4, 4] Generated Node #0,3: 31:[39, 4, 4] Operation: 62-58=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[58, 4, 23], Operations: ['62-39=23'] Exploring Operation: 58-23=35, Resulting Numbers: [4, 35] Generated Node #0,0,0: 31:[4, 35] Operation: 58-23=35 Exploring Operation: 58+4=62, Resulting Numbers: [23, 62] Generated Node #0,0,1: 31:[23, 62] Operation: 58+4=62 Exploring Operation: 4+23=27, Resulting Numbers: [58, 27] Generated Node #0,0,2: 31:[58, 27] Operation: 4+23=27 Exploring Operation: 58-4=54, Resulting Numbers: [23, 54] Generated Node #0,0,3: 31:[23, 54] Operation: 58-4=54 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[4, 35], Operations: ['62-39=23', '58-23=35'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[58, 62, 39, 4], Operations: [] Exploring Operation: 62-39=23, Resulting Numbers: [58, 4, 23] Generated Node #0,0: 31:[58, 4, 23] Operation: 62-39=23 Moving to Node #0,0 Current State: 31:[58, 4, 23], Operations: ['62-39=23'] Exploring Operation: 58-23=35, Resulting Numbers: [4, 35] Generated Node #0,0,0: 31:[4, 35] Operation: 58-23=35 Moving to Node #0,0,0 Current State: 31:[4, 35], Operations: ['62-39=23', '58-23=35'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 60, 15, 64, 69 ]
58
[ "60+15=75", "64+69=133", "133-75=58" ]
Current State: 58:[60, 15, 64, 69], Operations: [] Exploring Operation: 60+15=75, Resulting Numbers: [64, 69, 75] Generated Node #2: [64, 69, 75] from Operation: 60+15=75 Current State: 58:[64, 69, 75], Operations: ['60+15=75'] Exploring Operation: 64+69=133, Resulting Numbers: [75, 133] Generated Node #3: [75, 133] from Operation: 64+69=133 Current State: 58:[75, 133], Operations: ['60+15=75', '64+69=133'] Exploring Operation: 133-75=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[60, 15, 64, 69], Operations: [] Exploring Operation: 64-15=49, Resulting Numbers: [60, 69, 49] Generated Node #0,0: 58:[60, 69, 49] Operation: 64-15=49 Exploring Operation: 64-60=4, Resulting Numbers: [15, 69, 4] Generated Node #0,1: 58:[15, 69, 4] Operation: 64-60=4 Exploring Operation: 60/15=4, Resulting Numbers: [64, 69, 4] Generated Node #0,2: 58:[64, 69, 4] Operation: 60/15=4 Exploring Operation: 69-15=54, Resulting Numbers: [60, 64, 54] Generated Node #0,3: 58:[60, 64, 54] Operation: 69-15=54 Exploring Operation: 69-64=5, Resulting Numbers: [60, 15, 5] Generated Node #0,4: 58:[60, 15, 5] Operation: 69-64=5 Moving to Node #0,3 Current State: 58:[60, 64, 54], Operations: ['69-15=54'] Exploring Operation: 64+54=118, Resulting Numbers: [60, 118] Generated Node #0,3,0: 58:[60, 118] Operation: 64+54=118 Exploring Operation: 60+54=114, Resulting Numbers: [64, 114] Generated Node #0,3,1: 58:[64, 114] Operation: 60+54=114 Exploring Operation: 60-54=6, Resulting Numbers: [64, 6] Generated Node #0,3,2: 58:[64, 6] Operation: 60-54=6 Exploring Operation: 64-60=4, Resulting Numbers: [54, 4] Generated Node #0,3,3: 58:[54, 4] Operation: 64-60=4 Exploring Operation: 64-54=10, Resulting Numbers: [60, 10] Generated Node #0,3,4: 58:[60, 10] Operation: 64-54=10 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 58:[54, 4], Operations: ['69-15=54', '64-60=4'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,58 unequal: No Solution Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,58 unequal: No Solution Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[60, 15, 64, 69], Operations: [] Exploring Operation: 69-15=54, Resulting Numbers: [60, 64, 54] Generated Node #0,3: 58:[60, 64, 54] Operation: 69-15=54 Moving to Node #0,3 Current State: 58:[60, 64, 54], Operations: ['69-15=54'] Exploring Operation: 64-60=4, Resulting Numbers: [54, 4] Generated Node #0,3,3: 58:[54, 4] Operation: 64-60=4 Moving to Node #0,3,3 Current State: 58:[54, 4], Operations: ['69-15=54', '64-60=4'] Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 77, 45, 62, 90 ]
13
[ "77-62=15", "90/45=2", "15-2=13" ]
Current State: 13:[77, 45, 62, 90], Operations: [] Exploring Operation: 77-62=15, Resulting Numbers: [45, 90, 15] Generated Node #2: [45, 90, 15] from Operation: 77-62=15 Current State: 13:[45, 90, 15], Operations: ['77-62=15'] Exploring Operation: 90/45=2, Resulting Numbers: [15, 2] Generated Node #3: [15, 2] from Operation: 90/45=2 Current State: 13:[15, 2], Operations: ['77-62=15', '90/45=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[77, 45, 62, 90], Operations: [] Exploring Operation: 90-77=13, Resulting Numbers: [45, 62, 13] Generated Node #0,0: 13:[45, 62, 13] Operation: 90-77=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[45, 62, 13], Operations: ['90-77=13'] Exploring Operation: 62-45=17, Resulting Numbers: [13, 17] Generated Node #0,0,0: 13:[13, 17] Operation: 62-45=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[13, 17], Operations: ['90-77=13', '62-45=17'] Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 15, 93, 4, 37 ]
70
[ "93-15=78", "4*37=148", "148-78=70" ]
Current State: 70:[15, 93, 4, 37], Operations: [] Exploring Operation: 93-15=78, Resulting Numbers: [4, 37, 78] Generated Node #2: [4, 37, 78] from Operation: 93-15=78 Current State: 70:[4, 37, 78], Operations: ['93-15=78'] Exploring Operation: 4*37=148, Resulting Numbers: [78, 148] Generated Node #3: [78, 148] from Operation: 4*37=148 Current State: 70:[78, 148], Operations: ['93-15=78', '4*37=148'] Exploring Operation: 148-78=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[15, 93, 4, 37], Operations: [] Exploring Operation: 93-15=78, Resulting Numbers: [4, 37, 78] Generated Node #0,0: 70:[4, 37, 78] Operation: 93-15=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[4, 37, 78], Operations: ['93-15=78'] Exploring Operation: 78-4=74, Resulting Numbers: [37, 74] Generated Node #0,0,0: 70:[37, 74] Operation: 78-4=74 Moving to Node #0,0,0 Current State: 70:[37, 74], Operations: ['93-15=78', '78-4=74'] Exploring Operation: 74/37=2, Resulting Numbers: [2] 2,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 66, 32, 96, 51 ]
73
[ "66*32=2112", "2112/96=22", "51+22=73" ]
Current State: 73:[66, 32, 96, 51], Operations: [] Exploring Operation: 66*32=2112, Resulting Numbers: [96, 51, 2112] Generated Node #2: [96, 51, 2112] from Operation: 66*32=2112 Current State: 73:[96, 51, 2112], Operations: ['66*32=2112'] Exploring Operation: 2112/96=22, Resulting Numbers: [51, 22] Generated Node #3: [51, 22] from Operation: 2112/96=22 Current State: 73:[51, 22], Operations: ['66*32=2112', '2112/96=22'] Exploring Operation: 51+22=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[66, 32, 96, 51], Operations: [] Exploring Operation: 66+32=98, Resulting Numbers: [96, 51, 98] Generated Node #0,0: 73:[96, 51, 98] Operation: 66+32=98 Exploring Operation: 96-51=45, Resulting Numbers: [66, 32, 45] Generated Node #0,1: 73:[66, 32, 45] Operation: 96-51=45 Exploring Operation: 96-32=64, Resulting Numbers: [66, 51, 64] Generated Node #0,2: 73:[66, 51, 64] Operation: 96-32=64 Exploring Operation: 32+51=83, Resulting Numbers: [66, 96, 83] Generated Node #0,3: 73:[66, 96, 83] Operation: 32+51=83 Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[66, 51, 64], Operations: ['96-32=64'] Exploring Operation: 66+51=117, Resulting Numbers: [64, 117] Generated Node #0,2,0: 73:[64, 117] Operation: 66+51=117 Exploring Operation: 51+64=115, Resulting Numbers: [66, 115] Generated Node #0,2,1: 73:[66, 115] Operation: 51+64=115 Exploring Operation: 64-51=13, Resulting Numbers: [66, 13] Generated Node #0,2,2: 73:[66, 13] Operation: 64-51=13 Exploring Operation: 66-51=15, Resulting Numbers: [64, 15] Generated Node #0,2,3: 73:[64, 15] Operation: 66-51=15 Moving to Node #0,2,1 Current State: 73:[66, 115], Operations: ['96-32=64', '51+64=115'] Exploring Operation: 115-66=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 66*115=7590, Resulting Numbers: [7590] 7590,73 unequal: No Solution Exploring Operation: 66+115=181, Resulting Numbers: [181] 181,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[64, 117], Operations: ['96-32=64', '66+51=117'] Exploring Operation: 64+117=181, Resulting Numbers: [181] 181,73 unequal: No Solution Exploring Operation: 64*117=7488, Resulting Numbers: [7488] 7488,73 unequal: No Solution Exploring Operation: 117-64=53, Resulting Numbers: [53] 53,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[64, 15], Operations: ['96-32=64', '66-51=15'] Exploring Operation: 64+15=79, Resulting Numbers: [79] 79,73 unequal: No Solution Exploring Operation: 64*15=960, Resulting Numbers: [960] 960,73 unequal: No Solution Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[66, 13], Operations: ['96-32=64', '64-51=13'] Exploring Operation: 66-13=53, Resulting Numbers: [53] 53,73 unequal: No Solution Exploring Operation: 66+13=79, Resulting Numbers: [79] 79,73 unequal: No Solution Exploring Operation: 66*13=858, Resulting Numbers: [858] 858,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 73:[66, 96, 83], Operations: ['32+51=83'] Exploring Operation: 83-66=17, Resulting Numbers: [96, 17] Generated Node #0,3,0: 73:[96, 17] Operation: 83-66=17 Exploring Operation: 96-66=30, Resulting Numbers: [83, 30] Generated Node #0,3,1: 73:[83, 30] Operation: 96-66=30 Exploring Operation: 96-83=13, Resulting Numbers: [66, 13] Generated Node #0,3,2: 73:[66, 13] Operation: 96-83=13 Exploring Operation: 66+96=162, Resulting Numbers: [83, 162] Generated Node #0,3,3: 73:[83, 162] Operation: 66+96=162 Moving to Node #0,3,1 Current State: 73:[83, 30], Operations: ['32+51=83', '96-66=30'] Exploring Operation: 83*30=2490, Resulting Numbers: [2490] 2490,73 unequal: No Solution Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,73 unequal: No Solution Exploring Operation: 83+30=113, Resulting Numbers: [113] 113,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[66, 13], Operations: ['32+51=83', '96-83=13'] Exploring Operation: 66+13=79, Resulting Numbers: [79] 79,73 unequal: No Solution Exploring Operation: 66-13=53, Resulting Numbers: [53] 53,73 unequal: No Solution Exploring Operation: 66*13=858, Resulting Numbers: [858] 858,73 unequal: No Solution Moving to Node #0,3,0 Current State: 73:[96, 17], Operations: ['32+51=83', '83-66=17'] Exploring Operation: 96*17=1632, Resulting Numbers: [1632] 1632,73 unequal: No Solution Exploring Operation: 96-17=79, Resulting Numbers: [79] 79,73 unequal: No Solution Exploring Operation: 96+17=113, Resulting Numbers: [113] 113,73 unequal: No Solution Moving to Node #0,3,3 Current State: 73:[83, 162], Operations: ['32+51=83', '66+96=162'] Exploring Operation: 83+162=245, Resulting Numbers: [245] 245,73 unequal: No Solution Exploring Operation: 162-83=79, Resulting Numbers: [79] 79,73 unequal: No Solution Exploring Operation: 83*162=13446, Resulting Numbers: [13446] 13446,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[96, 51, 98], Operations: ['66+32=98'] Exploring Operation: 96-51=45, Resulting Numbers: [98, 45] Generated Node #0,0,0: 73:[98, 45] Operation: 96-51=45 Exploring Operation: 96+51=147, Resulting Numbers: [98, 147] Generated Node #0,0,1: 73:[98, 147] Operation: 96+51=147 Exploring Operation: 98-96=2, Resulting Numbers: [51, 2] Generated Node #0,0,2: 73:[51, 2] Operation: 98-96=2 Exploring Operation: 98-51=47, Resulting Numbers: [96, 47] Generated Node #0,0,3: 73:[96, 47] Operation: 98-51=47 Moving to Node #0,0,3 Current State: 73:[96, 47], Operations: ['66+32=98', '98-51=47'] Exploring Operation: 96-47=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 96*47=4512, Resulting Numbers: [4512] 4512,73 unequal: No Solution Exploring Operation: 96+47=143, Resulting Numbers: [143] 143,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[98, 45], Operations: ['66+32=98', '96-51=45'] Exploring Operation: 98-45=53, Resulting Numbers: [53] 53,73 unequal: No Solution Exploring Operation: 98+45=143, Resulting Numbers: [143] 143,73 unequal: No Solution Exploring Operation: 98*45=4410, Resulting Numbers: [4410] 4410,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[51, 2], Operations: ['66+32=98', '98-96=2'] Exploring Operation: 51*2=102, Resulting Numbers: [102] 102,73 unequal: No Solution Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,73 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[98, 147], Operations: ['66+32=98', '96+51=147'] Exploring Operation: 147-98=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 98+147=245, Resulting Numbers: [245] 245,73 unequal: No Solution Exploring Operation: 98*147=14406, Resulting Numbers: [14406] 14406,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[66, 32, 45], Operations: ['96-51=45'] Exploring Operation: 66-32=34, Resulting Numbers: [45, 34] Generated Node #0,1,0: 73:[45, 34] Operation: 66-32=34 Exploring Operation: 45-32=13, Resulting Numbers: [66, 13] Generated Node #0,1,1: 73:[66, 13] Operation: 45-32=13 Exploring Operation: 32+45=77, Resulting Numbers: [66, 77] Generated Node #0,1,2: 73:[66, 77] Operation: 32+45=77 Exploring Operation: 66+32=98, Resulting Numbers: [45, 98] Generated Node #0,1,3: 73:[45, 98] Operation: 66+32=98 Moving to Node #0,1,2 Current State: 73:[66, 77], Operations: ['96-51=45', '32+45=77'] Exploring Operation: 66+77=143, Resulting Numbers: [143] 143,73 unequal: No Solution Exploring Operation: 66*77=5082, Resulting Numbers: [5082] 5082,73 unequal: No Solution Exploring Operation: 77-66=11, Resulting Numbers: [11] 11,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[45, 98], Operations: ['96-51=45', '66+32=98'] Exploring Operation: 45+98=143, Resulting Numbers: [143] 143,73 unequal: No Solution Exploring Operation: 98-45=53, Resulting Numbers: [53] 53,73 unequal: No Solution Exploring Operation: 45*98=4410, Resulting Numbers: [4410] 4410,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[66, 13], Operations: ['96-51=45', '45-32=13'] Exploring Operation: 66*13=858, Resulting Numbers: [858] 858,73 unequal: No Solution Exploring Operation: 66+13=79, Resulting Numbers: [79] 79,73 unequal: No Solution Exploring Operation: 66-13=53, Resulting Numbers: [53] 53,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[45, 34], Operations: ['96-51=45', '66-32=34'] Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,73 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,73 unequal: No Solution Exploring Operation: 45*34=1530, Resulting Numbers: [1530] 1530,73 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
[ 84, 24, 53, 88 ]
25
[ "84-24=60", "88-53=35", "60-35=25" ]
Current State: 25:[84, 24, 53, 88], Operations: [] Exploring Operation: 84-24=60, Resulting Numbers: [53, 88, 60] Generated Node #2: [53, 88, 60] from Operation: 84-24=60 Current State: 25:[53, 88, 60], Operations: ['84-24=60'] Exploring Operation: 88-53=35, Resulting Numbers: [60, 35] Generated Node #3: [60, 35] from Operation: 88-53=35 Current State: 25:[60, 35], Operations: ['84-24=60', '88-53=35'] Exploring Operation: 60-35=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[84, 24, 53, 88], Operations: [] Exploring Operation: 84-53=31, Resulting Numbers: [24, 88, 31] Generated Node #0,0: 25:[24, 88, 31] Operation: 84-53=31 Exploring Operation: 88-84=4, Resulting Numbers: [24, 53, 4] Generated Node #0,1: 25:[24, 53, 4] Operation: 88-84=4 Moving to Node #0,1 Current State: 25:[24, 53, 4], Operations: ['88-84=4'] Exploring Operation: 53-4=49, Resulting Numbers: [24, 49] Generated Node #0,1,0: 25:[24, 49] Operation: 53-4=49 Exploring Operation: 53-24=29, Resulting Numbers: [4, 29] Generated Node #0,1,1: 25:[4, 29] Operation: 53-24=29 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[4, 29], Operations: ['88-84=4', '53-24=29'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[84, 24, 53, 88], Operations: [] Exploring Operation: 88-84=4, Resulting Numbers: [24, 53, 4] Generated Node #0,1: 25:[24, 53, 4] Operation: 88-84=4 Moving to Node #0,1 Current State: 25:[24, 53, 4], Operations: ['88-84=4'] Exploring Operation: 53-24=29, Resulting Numbers: [4, 29] Generated Node #0,1,1: 25:[4, 29] Operation: 53-24=29 Moving to Node #0,1,1 Current State: 25:[4, 29], Operations: ['88-84=4', '53-24=29'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 13, 35, 97, 17 ]
32
[ "13+35=48", "97-17=80", "80-48=32" ]
Current State: 32:[13, 35, 97, 17], Operations: [] Exploring Operation: 13+35=48, Resulting Numbers: [97, 17, 48] Generated Node #2: [97, 17, 48] from Operation: 13+35=48 Current State: 32:[97, 17, 48], Operations: ['13+35=48'] Exploring Operation: 97-17=80, Resulting Numbers: [48, 80] Generated Node #3: [48, 80] from Operation: 97-17=80 Current State: 32:[48, 80], Operations: ['13+35=48', '97-17=80'] Exploring Operation: 80-48=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[13, 35, 97, 17], Operations: [] Exploring Operation: 17-13=4, Resulting Numbers: [35, 97, 4] Generated Node #0,0: 32:[35, 97, 4] Operation: 17-13=4 Exploring Operation: 97-35=62, Resulting Numbers: [13, 17, 62] Generated Node #0,1: 32:[13, 17, 62] Operation: 97-35=62 Exploring Operation: 97-17=80, Resulting Numbers: [13, 35, 80] Generated Node #0,2: 32:[13, 35, 80] Operation: 97-17=80 Exploring Operation: 97-13=84, Resulting Numbers: [35, 17, 84] Generated Node #0,3: 32:[35, 17, 84] Operation: 97-13=84 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[13, 17, 62], Operations: ['97-35=62'] Exploring Operation: 17-13=4, Resulting Numbers: [62, 4] Generated Node #0,1,0: 32:[62, 4] Operation: 17-13=4 Exploring Operation: 62-13=49, Resulting Numbers: [17, 49] Generated Node #0,1,1: 32:[17, 49] Operation: 62-13=49 Exploring Operation: 62-17=45, Resulting Numbers: [13, 45] Generated Node #0,1,2: 32:[13, 45] Operation: 62-17=45 Exploring Operation: 13+17=30, Resulting Numbers: [62, 30] Generated Node #0,1,3: 32:[62, 30] Operation: 13+17=30 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 32:[13, 45], Operations: ['97-35=62', '62-17=45'] Exploring Operation: 13+45=58, Resulting Numbers: [58] 58,32 unequal: No Solution Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[13, 35, 97, 17], Operations: [] Exploring Operation: 97-35=62, Resulting Numbers: [13, 17, 62] Generated Node #0,1: 32:[13, 17, 62] Operation: 97-35=62 Moving to Node #0,1 Current State: 32:[13, 17, 62], Operations: ['97-35=62'] Exploring Operation: 62-17=45, Resulting Numbers: [13, 45] Generated Node #0,1,2: 32:[13, 45] Operation: 62-17=45 Moving to Node #0,1,2 Current State: 32:[13, 45], Operations: ['97-35=62', '62-17=45'] Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 54, 25, 28, 66 ]
76
[ "28-25=3", "66/3=22", "54+22=76" ]
Current State: 76:[54, 25, 28, 66], Operations: [] Exploring Operation: 28-25=3, Resulting Numbers: [54, 66, 3] Generated Node #2: [54, 66, 3] from Operation: 28-25=3 Current State: 76:[54, 66, 3], Operations: ['28-25=3'] Exploring Operation: 66/3=22, Resulting Numbers: [54, 22] Generated Node #3: [54, 22] from Operation: 66/3=22 Current State: 76:[54, 22], Operations: ['28-25=3', '66/3=22'] Exploring Operation: 54+22=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[54, 25, 28, 66], Operations: [] Exploring Operation: 66-28=38, Resulting Numbers: [54, 25, 38] Generated Node #0,0: 76:[54, 25, 38] Operation: 66-28=38 Exploring Operation: 54+28=82, Resulting Numbers: [25, 66, 82] Generated Node #0,1: 76:[25, 66, 82] Operation: 54+28=82 Exploring Operation: 66-54=12, Resulting Numbers: [25, 28, 12] Generated Node #0,2: 76:[25, 28, 12] Operation: 66-54=12 Exploring Operation: 54+25=79, Resulting Numbers: [28, 66, 79] Generated Node #0,3: 76:[28, 66, 79] Operation: 54+25=79 Moving to Node #0,0 Current State: 76:[54, 25, 38], Operations: ['66-28=38'] Exploring Operation: 54+25=79, Resulting Numbers: [38, 79] Generated Node #0,0,0: 76:[38, 79] Operation: 54+25=79 Exploring Operation: 54+38=92, Resulting Numbers: [25, 92] Generated Node #0,0,1: 76:[25, 92] Operation: 54+38=92 Exploring Operation: 54-25=29, Resulting Numbers: [38, 29] Generated Node #0,0,2: 76:[38, 29] Operation: 54-25=29 Exploring Operation: 54-38=16, Resulting Numbers: [25, 16] Generated Node #0,0,3: 76:[25, 16] Operation: 54-38=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[38, 79], Operations: ['66-28=38', '54+25=79'] Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 38+79=117, Resulting Numbers: [117] 117,76 unequal: No Solution Exploring Operation: 38*79=3002, Resulting Numbers: [3002] 3002,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[38, 29], Operations: ['66-28=38', '54-25=29'] Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 38+29=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 38*29=1102, Resulting Numbers: [1102] 1102,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,3 Current State: 76:[25, 16], Operations: ['66-28=38', '54-38=16'] Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,76 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,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,1 Current State: 76:[25, 92], Operations: ['66-28=38', '54+38=92'] Exploring Operation: 25+92=117, Resulting Numbers: [117] 117,76 unequal: No Solution Exploring Operation: 92-25=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 25*92=2300, Resulting Numbers: [2300] 2300,76 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: 76:[25, 28, 12], Operations: ['66-54=12'] Exploring Operation: 28-12=16, Resulting Numbers: [25, 16] Generated Node #0,2,0: 76:[25, 16] Operation: 28-12=16 Exploring Operation: 28-25=3, Resulting Numbers: [12, 3] Generated Node #0,2,1: 76:[12, 3] Operation: 28-25=3 Exploring Operation: 25+12=37, Resulting Numbers: [28, 37] Generated Node #0,2,2: 76:[28, 37] Operation: 25+12=37 Exploring Operation: 28+12=40, Resulting Numbers: [25, 40] Generated Node #0,2,3: 76:[25, 40] Operation: 28+12=40 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[12, 3], Operations: ['66-54=12', '28-25=3'] Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 76:[25, 40], Operations: ['66-54=12', '28+12=40'] Exploring Operation: 25*40=1000, Resulting Numbers: [1000] 1000,76 unequal: No Solution Exploring Operation: 40-25=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 25+40=65, Resulting Numbers: [65] 65,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[25, 16], Operations: ['66-54=12', '28-12=16'] Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[28, 37], Operations: ['66-54=12', '25+12=37'] Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 28*37=1036, Resulting Numbers: [1036] 1036,76 unequal: No Solution Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 76:[25, 66, 82], Operations: ['54+28=82'] Exploring Operation: 25+66=91, Resulting Numbers: [82, 91] Generated Node #0,1,0: 76:[82, 91] Operation: 25+66=91 Exploring Operation: 82-66=16, Resulting Numbers: [25, 16] Generated Node #0,1,1: 76:[25, 16] Operation: 82-66=16 Exploring Operation: 82-25=57, Resulting Numbers: [66, 57] Generated Node #0,1,2: 76:[66, 57] Operation: 82-25=57 Exploring Operation: 66-25=41, Resulting Numbers: [82, 41] Generated Node #0,1,3: 76:[82, 41] Operation: 66-25=41 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[25, 16], Operations: ['54+28=82', '82-66=16'] Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,76 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 76:[82, 41], Operations: ['54+28=82', '66-25=41'] Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 82/41=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 82*41=3362, Resulting Numbers: [3362] 3362,76 unequal: No Solution Exploring Operation: 82+41=123, Resulting Numbers: [123] 123,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[82, 91], Operations: ['54+28=82', '25+66=91'] Exploring Operation: 91-82=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 82+91=173, Resulting Numbers: [173] 173,76 unequal: No Solution Exploring Operation: 82*91=7462, Resulting Numbers: [7462] 7462,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 76:[66, 57], Operations: ['54+28=82', '82-25=57'] Exploring Operation: 66*57=3762, Resulting Numbers: [3762] 3762,76 unequal: No Solution Exploring Operation: 66+57=123, Resulting Numbers: [123] 123,76 unequal: No Solution Exploring Operation: 66-57=9, Resulting Numbers: [9] 9,76 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: 76:[28, 66, 79], Operations: ['54+25=79'] Exploring Operation: 79-66=13, Resulting Numbers: [28, 13] Generated Node #0,3,0: 76:[28, 13] Operation: 79-66=13 Exploring Operation: 66-28=38, Resulting Numbers: [79, 38] Generated Node #0,3,1: 76:[79, 38] Operation: 66-28=38 Exploring Operation: 79-28=51, Resulting Numbers: [66, 51] Generated Node #0,3,2: 76:[66, 51] Operation: 79-28=51 Exploring Operation: 28+66=94, Resulting Numbers: [79, 94] Generated Node #0,3,3: 76:[79, 94] Operation: 28+66=94 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 76:[79, 38], Operations: ['54+25=79', '66-28=38'] Exploring Operation: 79*38=3002, Resulting Numbers: [3002] 3002,76 unequal: No Solution Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 79+38=117, Resulting Numbers: [117] 117,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,0 Current State: 76:[28, 13], Operations: ['54+25=79', '79-66=13'] Exploring Operation: 28*13=364, Resulting Numbers: [364] 364,76 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 76:[79, 94], Operations: ['54+25=79', '28+66=94'] Exploring Operation: 94-79=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 79*94=7426, Resulting Numbers: [7426] 7426,76 unequal: No Solution Exploring Operation: 79+94=173, Resulting Numbers: [173] 173,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 76:[66, 51], Operations: ['54+25=79', '79-28=51'] Exploring Operation: 66+51=117, Resulting Numbers: [117] 117,76 unequal: No Solution Exploring Operation: 66*51=3366, Resulting Numbers: [3366] 3366,76 unequal: No Solution Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,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
mult_heuristic
[ 57, 15, 61, 43 ]
61
[ "57-15=42", "43-42=1", "61*1=61" ]
Current State: 61:[57, 15, 61, 43], Operations: [] Exploring Operation: 57-15=42, Resulting Numbers: [61, 43, 42] Generated Node #2: [61, 43, 42] from Operation: 57-15=42 Current State: 61:[61, 43, 42], Operations: ['57-15=42'] Exploring Operation: 43-42=1, Resulting Numbers: [61, 1] Generated Node #3: [61, 1] from Operation: 43-42=1 Current State: 61:[61, 1], Operations: ['57-15=42', '43-42=1'] Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[57, 15, 61, 43], Operations: [] Exploring Operation: 57+15=72, Resulting Numbers: [61, 43, 72] Generated Node #0,0: 61:[61, 43, 72] Operation: 57+15=72 Exploring Operation: 57-15=42, Resulting Numbers: [61, 43, 42] Generated Node #0,1: 61:[61, 43, 42] Operation: 57-15=42 Exploring Operation: 15+43=58, Resulting Numbers: [57, 61, 58] Generated Node #0,2: 61:[57, 61, 58] Operation: 15+43=58 Exploring Operation: 61-15=46, Resulting Numbers: [57, 43, 46] Generated Node #0,3: 61:[57, 43, 46] Operation: 61-15=46 Exploring Operation: 15+61=76, Resulting Numbers: [57, 43, 76] Generated Node #0,4: 61:[57, 43, 76] Operation: 15+61=76 Moving to Node #0,2 Current State: 61:[57, 61, 58], Operations: ['15+43=58'] Exploring Operation: 61+58=119, Resulting Numbers: [57, 119] Generated Node #0,2,0: 61:[57, 119] Operation: 61+58=119 Exploring Operation: 58-57=1, Resulting Numbers: [61, 1] Generated Node #0,2,1: 61:[61, 1] Operation: 58-57=1 Exploring Operation: 61-57=4, Resulting Numbers: [58, 4] Generated Node #0,2,2: 61:[58, 4] Operation: 61-57=4 Exploring Operation: 57+61=118, Resulting Numbers: [58, 118] Generated Node #0,2,3: 61:[58, 118] Operation: 57+61=118 Exploring Operation: 57+58=115, Resulting Numbers: [61, 115] Generated Node #0,2,4: 61:[61, 115] Operation: 57+58=115 Moving to Node #0,0 Current State: 61:[61, 43, 72], Operations: ['57+15=72'] Exploring Operation: 43+72=115, Resulting Numbers: [61, 115] Generated Node #0,0,0: 61:[61, 115] Operation: 43+72=115 Exploring Operation: 72-61=11, Resulting Numbers: [43, 11] Generated Node #0,0,1: 61:[43, 11] Operation: 72-61=11 Exploring Operation: 61-43=18, Resulting Numbers: [72, 18] Generated Node #0,0,2: 61:[72, 18] Operation: 61-43=18 Exploring Operation: 72-43=29, Resulting Numbers: [61, 29] Generated Node #0,0,3: 61:[61, 29] Operation: 72-43=29 Exploring Operation: 61+43=104, Resulting Numbers: [72, 104] Generated Node #0,0,4: 61:[72, 104] Operation: 61+43=104 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 61:[61, 29], Operations: ['57+15=72', '72-43=29'] Exploring Operation: 61+29=90, Resulting Numbers: [90] 90,61 unequal: No Solution Exploring Operation: 61*29=1769, Resulting Numbers: [1769] 1769,61 unequal: No Solution Exploring Operation: 61-29=32, Resulting Numbers: [32] 32,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[61, 115], Operations: ['57+15=72', '43+72=115'] Exploring Operation: 61+115=176, Resulting Numbers: [176] 176,61 unequal: No Solution Exploring Operation: 61*115=7015, Resulting Numbers: [7015] 7015,61 unequal: No Solution Exploring Operation: 115-61=54, Resulting Numbers: [54] 54,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[72, 18], Operations: ['57+15=72', '61-43=18'] Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,61 unequal: No Solution Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,61 unequal: No Solution Exploring Operation: 72*18=1296, Resulting Numbers: [1296] 1296,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 61:[72, 104], Operations: ['57+15=72', '61+43=104'] Exploring Operation: 104-72=32, Resulting Numbers: [32] 32,61 unequal: No Solution Exploring Operation: 72+104=176, Resulting Numbers: [176] 176,61 unequal: No Solution Exploring Operation: 72*104=7488, Resulting Numbers: [7488] 7488,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[43, 11], Operations: ['57+15=72', '72-61=11'] Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,61 unequal: No Solution Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,61 unequal: No Solution Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,61 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: 61:[61, 43, 42], Operations: ['57-15=42'] Exploring Operation: 43+42=85, Resulting Numbers: [61, 85] Generated Node #0,1,0: 61:[61, 85] Operation: 43+42=85 Exploring Operation: 61+43=104, Resulting Numbers: [42, 104] Generated Node #0,1,1: 61:[42, 104] Operation: 61+43=104 Exploring Operation: 43-42=1, Resulting Numbers: [61, 1] Generated Node #0,1,2: 61:[61, 1] Operation: 43-42=1 Exploring Operation: 61-42=19, Resulting Numbers: [43, 19] Generated Node #0,1,3: 61:[43, 19] Operation: 61-42=19 Exploring Operation: 61+42=103, Resulting Numbers: [43, 103] Generated Node #0,1,4: 61:[43, 103] Operation: 61+42=103 Moving to Node #0,3 Current State: 61:[57, 43, 46], Operations: ['61-15=46'] Exploring Operation: 46-43=3, Resulting Numbers: [57, 3] Generated Node #0,3,0: 61:[57, 3] Operation: 46-43=3 Exploring Operation: 57-43=14, Resulting Numbers: [46, 14] Generated Node #0,3,1: 61:[46, 14] Operation: 57-43=14 Exploring Operation: 43+46=89, Resulting Numbers: [57, 89] Generated Node #0,3,2: 61:[57, 89] Operation: 43+46=89 Exploring Operation: 57+43=100, Resulting Numbers: [46, 100] Generated Node #0,3,3: 61:[46, 100] Operation: 57+43=100 Exploring Operation: 57+46=103, Resulting Numbers: [43, 103] Generated Node #0,3,4: 61:[43, 103] Operation: 57+46=103 Moving to Node #0,4 Current State: 61:[57, 43, 76], Operations: ['15+61=76'] Exploring Operation: 43+76=119, Resulting Numbers: [57, 119] Generated Node #0,4,0: 61:[57, 119] Operation: 43+76=119 Exploring Operation: 57-43=14, Resulting Numbers: [76, 14] Generated Node #0,4,1: 61:[76, 14] Operation: 57-43=14 Exploring Operation: 76-57=19, Resulting Numbers: [43, 19] Generated Node #0,4,2: 61:[43, 19] Operation: 76-57=19 Exploring Operation: 76-43=33, Resulting Numbers: [57, 33] Generated Node #0,4,3: 61:[57, 33] Operation: 76-43=33 Exploring Operation: 57+43=100, Resulting Numbers: [76, 100] Generated Node #0,4,4: 61:[76, 100] Operation: 57+43=100 Moving to Node #0,1,0 Current State: 61:[61, 85], Operations: ['57-15=42', '43+42=85'] Exploring Operation: 61+85=146, Resulting Numbers: [146] 146,61 unequal: No Solution Exploring Operation: 61*85=5185, Resulting Numbers: [5185] 5185,61 unequal: No Solution Exploring Operation: 85-61=24, Resulting Numbers: [24] 24,61 unequal: No Solution Moving to Node #0,3,2 Current State: 61:[57, 89], Operations: ['61-15=46', '43+46=89'] Exploring Operation: 57*89=5073, Resulting Numbers: [5073] 5073,61 unequal: No Solution Exploring Operation: 89-57=32, Resulting Numbers: [32] 32,61 unequal: No Solution Exploring Operation: 57+89=146, Resulting Numbers: [146] 146,61 unequal: No Solution Moving to Node #0,4,3 Current State: 61:[57, 33], Operations: ['15+61=76', '76-43=33'] Exploring Operation: 57-33=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 57+33=90, Resulting Numbers: [90] 90,61 unequal: No Solution Exploring Operation: 57*33=1881, Resulting Numbers: [1881] 1881,61 unequal: No Solution Moving to Node #0,2,4 Current State: 61:[61, 115], Operations: ['15+43=58', '57+58=115'] Exploring Operation: 115-61=54, Resulting Numbers: [54] 54,61 unequal: No Solution Exploring Operation: 61+115=176, Resulting Numbers: [176] 176,61 unequal: No Solution Exploring Operation: 61*115=7015, Resulting Numbers: [7015] 7015,61 unequal: No Solution Moving to Node #0,3,3 Current State: 61:[46, 100], Operations: ['61-15=46', '57+43=100'] Exploring Operation: 46+100=146, Resulting Numbers: [146] 146,61 unequal: No Solution Exploring Operation: 46*100=4600, Resulting Numbers: [4600] 4600,61 unequal: No Solution Exploring Operation: 100-46=54, Resulting Numbers: [54] 54,61 unequal: No Solution Moving to Node #0,4,4 Current State: 61:[76, 100], Operations: ['15+61=76', '57+43=100'] Exploring Operation: 76+100=176, Resulting Numbers: [176] 176,61 unequal: No Solution Exploring Operation: 100-76=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 76*100=7600, Resulting Numbers: [7600] 7600,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[61, 1], Operations: ['57-15=42', '43-42=1'] Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[57, 15, 61, 43], Operations: [] Exploring Operation: 57-15=42, Resulting Numbers: [61, 43, 42] Generated Node #0,1: 61:[61, 43, 42] Operation: 57-15=42 Moving to Node #0,1 Current State: 61:[61, 43, 42], Operations: ['57-15=42'] Exploring Operation: 43-42=1, Resulting Numbers: [61, 1] Generated Node #0,1,2: 61:[61, 1] Operation: 43-42=1 Moving to Node #0,1,2 Current State: 61:[61, 1], Operations: ['57-15=42', '43-42=1'] Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
0.940104
hs_5
sum_heuristic