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
[ 67, 64, 56, 6 ]
19
[ "64-56=8", "6*8=48", "67-48=19" ]
Current State: 19:[67, 64, 56, 6], Operations: [] Exploring Operation: 64-56=8, Resulting Numbers: [67, 6, 8] Generated Node #2: [67, 6, 8] from Operation: 64-56=8 Current State: 19:[67, 6, 8], Operations: ['64-56=8'] Exploring Operation: 6*8=48, Resulting Numbers: [67, 48] Generated Node #3: [67, 48] from Operation: 6*8=48 Current State: 19:[67, 48], Operations: ['64-56=8', '6*8=48'] Exploring Operation: 67-48=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[67, 64, 56, 6], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [56, 6, 3] Generated Node #0,0: 19:[56, 6, 3] Operation: 67-64=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[56, 6, 3], Operations: ['67-64=3'] Exploring Operation: 6*3=18, Resulting Numbers: [56, 18] Generated Node #0,0,0: 19:[56, 18] Operation: 6*3=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[56, 18], Operations: ['67-64=3', '6*3=18'] Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,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
sum_heuristic
[ 19, 65, 89, 86 ]
49
[ "65-19=46", "89-86=3", "46+3=49" ]
Current State: 49:[19, 65, 89, 86], Operations: [] Exploring Operation: 65-19=46, Resulting Numbers: [89, 86, 46] Generated Node #2: [89, 86, 46] from Operation: 65-19=46 Current State: 49:[89, 86, 46], Operations: ['65-19=46'] Exploring Operation: 89-86=3, Resulting Numbers: [46, 3] Generated Node #3: [46, 3] from Operation: 89-86=3 Current State: 49:[46, 3], Operations: ['65-19=46', '89-86=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[19, 65, 89, 86], Operations: [] Exploring Operation: 89-65=24, Resulting Numbers: [19, 86, 24] Generated Node #0,0: 49:[19, 86, 24] Operation: 89-65=24 Exploring Operation: 89-19=70, Resulting Numbers: [65, 86, 70] Generated Node #0,1: 49:[65, 86, 70] Operation: 89-19=70 Exploring Operation: 89-86=3, Resulting Numbers: [19, 65, 3] Generated Node #0,2: 49:[19, 65, 3] Operation: 89-86=3 Exploring Operation: 86-65=21, Resulting Numbers: [19, 89, 21] Generated Node #0,3: 49:[19, 89, 21] Operation: 86-65=21 Exploring Operation: 86-19=67, Resulting Numbers: [65, 89, 67] Generated Node #0,4: 49:[65, 89, 67] Operation: 86-19=67 Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[19, 65, 3], Operations: ['89-86=3'] Exploring Operation: 19-3=16, Resulting Numbers: [65, 16] Generated Node #0,2,0: 49:[65, 16] Operation: 19-3=16 Exploring Operation: 19*3=57, Resulting Numbers: [65, 57] Generated Node #0,2,1: 49:[65, 57] Operation: 19*3=57 Exploring Operation: 19+3=22, Resulting Numbers: [65, 22] Generated Node #0,2,2: 49:[65, 22] Operation: 19+3=22 Exploring Operation: 65-19=46, Resulting Numbers: [3, 46] Generated Node #0,2,3: 49:[3, 46] Operation: 65-19=46 Exploring Operation: 65-3=62, Resulting Numbers: [19, 62] Generated Node #0,2,4: 49:[19, 62] Operation: 65-3=62 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 49:[3, 46], Operations: ['89-86=3', '65-19=46'] Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,49 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[19, 65, 89, 86], Operations: [] Exploring Operation: 89-86=3, Resulting Numbers: [19, 65, 3] Generated Node #0,2: 49:[19, 65, 3] Operation: 89-86=3 Moving to Node #0,2 Current State: 49:[19, 65, 3], Operations: ['89-86=3'] Exploring Operation: 65-19=46, Resulting Numbers: [3, 46] Generated Node #0,2,3: 49:[3, 46] Operation: 65-19=46 Moving to Node #0,2,3 Current State: 49:[3, 46], Operations: ['89-86=3', '65-19=46'] Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 59, 86, 10, 82 ]
19
[ "86-82=4", "10*4=40", "59-40=19" ]
Current State: 19:[59, 86, 10, 82], Operations: [] Exploring Operation: 86-82=4, Resulting Numbers: [59, 10, 4] Generated Node #2: [59, 10, 4] from Operation: 86-82=4 Current State: 19:[59, 10, 4], Operations: ['86-82=4'] Exploring Operation: 10*4=40, Resulting Numbers: [59, 40] Generated Node #3: [59, 40] from Operation: 10*4=40 Current State: 19:[59, 40], Operations: ['86-82=4', '10*4=40'] Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[59, 86, 10, 82], Operations: [] Exploring Operation: 86-82=4, Resulting Numbers: [59, 10, 4] Generated Node #0,0: 19:[59, 10, 4] Operation: 86-82=4 Exploring Operation: 86-10=76, Resulting Numbers: [59, 82, 76] Generated Node #0,1: 19:[59, 82, 76] Operation: 86-10=76 Exploring Operation: 59-10=49, Resulting Numbers: [86, 82, 49] Generated Node #0,2: 19:[86, 82, 49] Operation: 59-10=49 Exploring Operation: 86-59=27, Resulting Numbers: [10, 82, 27] Generated Node #0,3: 19:[10, 82, 27] Operation: 86-59=27 Exploring Operation: 82-59=23, Resulting Numbers: [86, 10, 23] Generated Node #0,4: 19:[86, 10, 23] Operation: 82-59=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[59, 10, 4], Operations: ['86-82=4'] Exploring Operation: 10+4=14, Resulting Numbers: [59, 14] Generated Node #0,0,0: 19:[59, 14] Operation: 10+4=14 Exploring Operation: 59+4=63, Resulting Numbers: [10, 63] Generated Node #0,0,1: 19:[10, 63] Operation: 59+4=63 Exploring Operation: 59-10=49, Resulting Numbers: [4, 49] Generated Node #0,0,2: 19:[4, 49] Operation: 59-10=49 Exploring Operation: 59-4=55, Resulting Numbers: [10, 55] Generated Node #0,0,3: 19:[10, 55] Operation: 59-4=55 Exploring Operation: 10-4=6, Resulting Numbers: [59, 6] Generated Node #0,0,4: 19:[59, 6] Operation: 10-4=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[59, 14], Operations: ['86-82=4', '10+4=14'] Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,19 unequal: No Solution Exploring Operation: 59*14=826, Resulting Numbers: [826] 826,19 unequal: No Solution Exploring Operation: 59+14=73, Resulting Numbers: [73] 73,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 19:[4, 49], Operations: ['86-82=4', '59-10=49'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,19 unequal: No Solution Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,19 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 19:[10, 55], Operations: ['86-82=4', '59-4=55'] Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,19 unequal: No Solution Exploring Operation: 10*55=550, Resulting Numbers: [550] 550,19 unequal: No Solution Exploring Operation: 10+55=65, Resulting Numbers: [65] 65,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 19:[10, 63], Operations: ['86-82=4', '59+4=63'] Exploring Operation: 10+63=73, Resulting Numbers: [73] 73,19 unequal: No Solution Exploring Operation: 10*63=630, Resulting Numbers: [630] 630,19 unequal: No Solution Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 19:[59, 6], Operations: ['86-82=4', '10-4=6'] Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,19 unequal: No Solution Exploring Operation: 59*6=354, Resulting Numbers: [354] 354,19 unequal: No Solution Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 19:[10, 82, 27], Operations: ['86-59=27'] Exploring Operation: 82-27=55, Resulting Numbers: [10, 55] Generated Node #0,3,0: 19:[10, 55] Operation: 82-27=55 Exploring Operation: 27-10=17, Resulting Numbers: [82, 17] Generated Node #0,3,1: 19:[82, 17] Operation: 27-10=17 Exploring Operation: 82-10=72, Resulting Numbers: [27, 72] Generated Node #0,3,2: 19:[27, 72] Operation: 82-10=72 Exploring Operation: 10+27=37, Resulting Numbers: [82, 37] Generated Node #0,3,3: 19:[82, 37] Operation: 10+27=37 Exploring Operation: 10+82=92, Resulting Numbers: [27, 92] Generated Node #0,3,4: 19:[27, 92] Operation: 10+82=92 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 19:[10, 55], Operations: ['86-59=27', '82-27=55'] Exploring Operation: 10+55=65, Resulting Numbers: [65] 65,19 unequal: No Solution Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,19 unequal: No Solution Exploring Operation: 10*55=550, Resulting Numbers: [550] 550,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 19:[27, 72], Operations: ['86-59=27', '82-10=72'] Exploring Operation: 27*72=1944, Resulting Numbers: [1944] 1944,19 unequal: No Solution Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,19 unequal: No Solution Exploring Operation: 27+72=99, Resulting Numbers: [99] 99,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 19:[82, 17], Operations: ['86-59=27', '27-10=17'] Exploring Operation: 82*17=1394, Resulting Numbers: [1394] 1394,19 unequal: No Solution Exploring Operation: 82+17=99, Resulting Numbers: [99] 99,19 unequal: No Solution Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 19:[82, 37], Operations: ['86-59=27', '10+27=37'] Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,19 unequal: No Solution Exploring Operation: 82+37=119, Resulting Numbers: [119] 119,19 unequal: No Solution Exploring Operation: 82*37=3034, Resulting Numbers: [3034] 3034,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 19:[27, 92], Operations: ['86-59=27', '10+82=92'] Exploring Operation: 27*92=2484, Resulting Numbers: [2484] 2484,19 unequal: No Solution Exploring Operation: 92-27=65, Resulting Numbers: [65] 65,19 unequal: No Solution Exploring Operation: 27+92=119, Resulting Numbers: [119] 119,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 19:[86, 10, 23], Operations: ['82-59=23'] Exploring Operation: 10+23=33, Resulting Numbers: [86, 33] Generated Node #0,4,0: 19:[86, 33] Operation: 10+23=33 Exploring Operation: 86-23=63, Resulting Numbers: [10, 63] Generated Node #0,4,1: 19:[10, 63] Operation: 86-23=63 Exploring Operation: 86+10=96, Resulting Numbers: [23, 96] Generated Node #0,4,2: 19:[23, 96] Operation: 86+10=96 Exploring Operation: 86-10=76, Resulting Numbers: [23, 76] Generated Node #0,4,3: 19:[23, 76] Operation: 86-10=76 Exploring Operation: 23-10=13, Resulting Numbers: [86, 13] Generated Node #0,4,4: 19:[86, 13] Operation: 23-10=13 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 19:[10, 63], Operations: ['82-59=23', '86-23=63'] Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,19 unequal: No Solution Exploring Operation: 10*63=630, Resulting Numbers: [630] 630,19 unequal: No Solution Exploring Operation: 10+63=73, Resulting Numbers: [73] 73,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 19:[23, 76], Operations: ['82-59=23', '86-10=76'] Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,19 unequal: No Solution Exploring Operation: 23*76=1748, Resulting Numbers: [1748] 1748,19 unequal: No Solution Exploring Operation: 23+76=99, Resulting Numbers: [99] 99,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 19:[86, 13], Operations: ['82-59=23', '23-10=13'] Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,19 unequal: No Solution Exploring Operation: 86*13=1118, Resulting Numbers: [1118] 1118,19 unequal: No Solution Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 19:[86, 33], Operations: ['82-59=23', '10+23=33'] Exploring Operation: 86+33=119, Resulting Numbers: [119] 119,19 unequal: No Solution Exploring Operation: 86-33=53, Resulting Numbers: [53] 53,19 unequal: No Solution Exploring Operation: 86*33=2838, Resulting Numbers: [2838] 2838,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 19:[23, 96], Operations: ['82-59=23', '86+10=96'] Exploring Operation: 23+96=119, Resulting Numbers: [119] 119,19 unequal: No Solution Exploring Operation: 96-23=73, Resulting Numbers: [73] 73,19 unequal: No Solution Exploring Operation: 23*96=2208, Resulting Numbers: [2208] 2208,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[59, 82, 76], Operations: ['86-10=76'] Exploring Operation: 59+82=141, Resulting Numbers: [76, 141] Generated Node #0,1,0: 19:[76, 141] Operation: 59+82=141 Exploring Operation: 59+76=135, Resulting Numbers: [82, 135] Generated Node #0,1,1: 19:[82, 135] Operation: 59+76=135 Exploring Operation: 82-76=6, Resulting Numbers: [59, 6] Generated Node #0,1,2: 19:[59, 6] Operation: 82-76=6 Exploring Operation: 82-59=23, Resulting Numbers: [76, 23] Generated Node #0,1,3: 19:[76, 23] Operation: 82-59=23 Exploring Operation: 76-59=17, Resulting Numbers: [82, 17] Generated Node #0,1,4: 19:[82, 17] Operation: 76-59=17 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 19:[59, 6], Operations: ['86-10=76', '82-76=6'] Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,19 unequal: No Solution Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,19 unequal: No Solution Exploring Operation: 59*6=354, Resulting Numbers: [354] 354,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 19:[76, 23], Operations: ['86-10=76', '82-59=23'] Exploring Operation: 76*23=1748, Resulting Numbers: [1748] 1748,19 unequal: No Solution Exploring Operation: 76+23=99, Resulting Numbers: [99] 99,19 unequal: No Solution Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 19:[82, 17], Operations: ['86-10=76', '76-59=17'] Exploring Operation: 82*17=1394, Resulting Numbers: [1394] 1394,19 unequal: No Solution Exploring Operation: 82+17=99, Resulting Numbers: [99] 99,19 unequal: No Solution Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[76, 141], Operations: ['86-10=76', '59+82=141'] Exploring Operation: 76+141=217, Resulting Numbers: [217] 217,19 unequal: No Solution Exploring Operation: 141-76=65, Resulting Numbers: [65] 65,19 unequal: No Solution Exploring Operation: 76*141=10716, Resulting Numbers: [10716] 10716,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 19:[82, 135], Operations: ['86-10=76', '59+76=135'] Exploring Operation: 82*135=11070, Resulting Numbers: [11070] 11070,19 unequal: No Solution Exploring Operation: 82+135=217, Resulting Numbers: [217] 217,19 unequal: No Solution Exploring Operation: 135-82=53, Resulting Numbers: [53] 53,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[86, 82, 49], Operations: ['59-10=49'] Exploring Operation: 86+49=135, Resulting Numbers: [82, 135] Generated Node #0,2,0: 19:[82, 135] Operation: 86+49=135 Exploring Operation: 86+82=168, Resulting Numbers: [49, 168] Generated Node #0,2,1: 19:[49, 168] Operation: 86+82=168 Exploring Operation: 86-49=37, Resulting Numbers: [82, 37] Generated Node #0,2,2: 19:[82, 37] Operation: 86-49=37 Exploring Operation: 86-82=4, Resulting Numbers: [49, 4] Generated Node #0,2,3: 19:[49, 4] Operation: 86-82=4 Exploring Operation: 82-49=33, Resulting Numbers: [86, 33] Generated Node #0,2,4: 19:[86, 33] Operation: 82-49=33 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 19:[49, 4], Operations: ['59-10=49', '86-82=4'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,19 unequal: No Solution Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,19 unequal: No Solution Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 19:[82, 37], Operations: ['59-10=49', '86-49=37'] Exploring Operation: 82*37=3034, Resulting Numbers: [3034] 3034,19 unequal: No Solution Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,19 unequal: No Solution Exploring Operation: 82+37=119, Resulting Numbers: [119] 119,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 19:[86, 33], Operations: ['59-10=49', '82-49=33'] Exploring Operation: 86+33=119, Resulting Numbers: [119] 119,19 unequal: No Solution Exploring Operation: 86-33=53, Resulting Numbers: [53] 53,19 unequal: No Solution Exploring Operation: 86*33=2838, Resulting Numbers: [2838] 2838,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 19:[82, 135], Operations: ['59-10=49', '86+49=135'] Exploring Operation: 135-82=53, Resulting Numbers: [53] 53,19 unequal: No Solution Exploring Operation: 82*135=11070, Resulting Numbers: [11070] 11070,19 unequal: No Solution Exploring Operation: 82+135=217, Resulting Numbers: [217] 217,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 19:[49, 168], Operations: ['59-10=49', '86+82=168'] Exploring Operation: 168-49=119, Resulting Numbers: [119] 119,19 unequal: No Solution Exploring Operation: 49+168=217, Resulting Numbers: [217] 217,19 unequal: No Solution Exploring Operation: 49*168=8232, Resulting Numbers: [8232] 8232,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_5
mult_heuristic
[ 21, 85, 3, 40 ]
72
[ "85-21=64", "64-40=24", "3*24=72" ]
Current State: 72:[21, 85, 3, 40], Operations: [] Exploring Operation: 85-21=64, Resulting Numbers: [3, 40, 64] Generated Node #2: [3, 40, 64] from Operation: 85-21=64 Current State: 72:[3, 40, 64], Operations: ['85-21=64'] Exploring Operation: 64-40=24, Resulting Numbers: [3, 24] Generated Node #3: [3, 24] from Operation: 64-40=24 Current State: 72:[3, 24], Operations: ['85-21=64', '64-40=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[21, 85, 3, 40], Operations: [] Exploring Operation: 85-40=45, Resulting Numbers: [21, 3, 45] Generated Node #0,0: 72:[21, 3, 45] Operation: 85-40=45 Exploring Operation: 85-21=64, Resulting Numbers: [3, 40, 64] Generated Node #0,1: 72:[3, 40, 64] Operation: 85-21=64 Exploring Operation: 21+3=24, Resulting Numbers: [85, 40, 24] Generated Node #0,2: 72:[85, 40, 24] Operation: 21+3=24 Exploring Operation: 40-21=19, Resulting Numbers: [85, 3, 19] Generated Node #0,3: 72:[85, 3, 19] Operation: 40-21=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[21, 3, 45], Operations: ['85-40=45'] Exploring Operation: 21+3=24, Resulting Numbers: [45, 24] Generated Node #0,0,0: 72:[45, 24] Operation: 21+3=24 Exploring Operation: 45/3=15, Resulting Numbers: [21, 15] Generated Node #0,0,1: 72:[21, 15] Operation: 45/3=15 Exploring Operation: 45-21=24, Resulting Numbers: [3, 24] Generated Node #0,0,2: 72:[3, 24] Operation: 45-21=24 Exploring Operation: 21+45=66, Resulting Numbers: [3, 66] Generated Node #0,0,3: 72:[3, 66] Operation: 21+45=66 Moving to Node #0,0,2 Current State: 72:[3, 24], Operations: ['85-40=45', '45-21=24'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,72 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[21, 85, 3, 40], Operations: [] Exploring Operation: 85-40=45, Resulting Numbers: [21, 3, 45] Generated Node #0,0: 72:[21, 3, 45] Operation: 85-40=45 Moving to Node #0,0 Current State: 72:[21, 3, 45], Operations: ['85-40=45'] Exploring Operation: 45-21=24, Resulting Numbers: [3, 24] Generated Node #0,0,2: 72:[3, 24] Operation: 45-21=24 Moving to Node #0,0,2 Current State: 72:[3, 24], Operations: ['85-40=45', '45-21=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 98, 96, 94, 15 ]
77
[ "98-96=2", "94-15=79", "79-2=77" ]
Current State: 77:[98, 96, 94, 15], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [94, 15, 2] Generated Node #2: [94, 15, 2] from Operation: 98-96=2 Current State: 77:[94, 15, 2], Operations: ['98-96=2'] Exploring Operation: 94-15=79, Resulting Numbers: [2, 79] Generated Node #3: [2, 79] from Operation: 94-15=79 Current State: 77:[2, 79], Operations: ['98-96=2', '94-15=79'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[98, 96, 94, 15], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [94, 15, 2] Generated Node #0,0: 77:[94, 15, 2] Operation: 98-96=2 Exploring Operation: 98-94=4, Resulting Numbers: [96, 15, 4] Generated Node #0,1: 77:[96, 15, 4] Operation: 98-94=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[94, 15, 2], Operations: ['98-96=2'] Exploring Operation: 94-15=79, Resulting Numbers: [2, 79] Generated Node #0,0,0: 77:[2, 79] Operation: 94-15=79 Exploring Operation: 94-2=92, Resulting Numbers: [15, 92] Generated Node #0,0,1: 77:[15, 92] Operation: 94-2=92 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[2, 79], Operations: ['98-96=2', '94-15=79'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[98, 96, 94, 15], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [94, 15, 2] Generated Node #0,0: 77:[94, 15, 2] Operation: 98-96=2 Moving to Node #0,0 Current State: 77:[94, 15, 2], Operations: ['98-96=2'] Exploring Operation: 94-15=79, Resulting Numbers: [2, 79] Generated Node #0,0,0: 77:[2, 79] Operation: 94-15=79 Moving to Node #0,0,0 Current State: 77:[2, 79], Operations: ['98-96=2', '94-15=79'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 31, 54, 9, 51 ]
26
[ "51-31=20", "54/9=6", "20+6=26" ]
Current State: 26:[31, 54, 9, 51], Operations: [] Exploring Operation: 51-31=20, Resulting Numbers: [54, 9, 20] Generated Node #2: [54, 9, 20] from Operation: 51-31=20 Current State: 26:[54, 9, 20], Operations: ['51-31=20'] Exploring Operation: 54/9=6, Resulting Numbers: [20, 6] Generated Node #3: [20, 6] from Operation: 54/9=6 Current State: 26:[20, 6], Operations: ['51-31=20', '54/9=6'] Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[31, 54, 9, 51], Operations: [] Exploring Operation: 54-51=3, Resulting Numbers: [31, 9, 3] Generated Node #0,0: 26:[31, 9, 3] Operation: 54-51=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[31, 9, 3], Operations: ['54-51=3'] Exploring Operation: 31-9=22, Resulting Numbers: [3, 22] Generated Node #0,0,0: 26:[3, 22] Operation: 31-9=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[3, 22], Operations: ['54-51=3', '31-9=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,26 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, 13, 12, 89 ]
49
[ "15+13=28", "89-12=77", "77-28=49" ]
Current State: 49:[15, 13, 12, 89], Operations: [] Exploring Operation: 15+13=28, Resulting Numbers: [12, 89, 28] Generated Node #2: [12, 89, 28] from Operation: 15+13=28 Current State: 49:[12, 89, 28], Operations: ['15+13=28'] Exploring Operation: 89-12=77, Resulting Numbers: [28, 77] Generated Node #3: [28, 77] from Operation: 89-12=77 Current State: 49:[28, 77], Operations: ['15+13=28', '89-12=77'] Exploring Operation: 77-28=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[15, 13, 12, 89], Operations: [] Exploring Operation: 15-13=2, Resulting Numbers: [12, 89, 2] Generated Node #0,0: 49:[12, 89, 2] Operation: 15-13=2 Exploring Operation: 89-15=74, Resulting Numbers: [13, 12, 74] Generated Node #0,1: 49:[13, 12, 74] Operation: 89-15=74 Exploring Operation: 89-13=76, Resulting Numbers: [15, 12, 76] Generated Node #0,2: 49:[15, 12, 76] Operation: 89-13=76 Exploring Operation: 89-12=77, Resulting Numbers: [15, 13, 77] Generated Node #0,3: 49:[15, 13, 77] Operation: 89-12=77 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[13, 12, 74], Operations: ['89-15=74'] Exploring Operation: 13-12=1, Resulting Numbers: [74, 1] Generated Node #0,1,0: 49:[74, 1] Operation: 13-12=1 Exploring Operation: 74-13=61, Resulting Numbers: [12, 61] Generated Node #0,1,1: 49:[12, 61] Operation: 74-13=61 Exploring Operation: 74-12=62, Resulting Numbers: [13, 62] Generated Node #0,1,2: 49:[13, 62] Operation: 74-12=62 Exploring Operation: 13+12=25, Resulting Numbers: [74, 25] Generated Node #0,1,3: 49:[74, 25] Operation: 13+12=25 Moving to Node #0,1,1 Current State: 49:[12, 61], Operations: ['89-15=74', '74-13=61'] Exploring Operation: 12+61=73, Resulting Numbers: [73] 73,49 unequal: No Solution Exploring Operation: 12*61=732, Resulting Numbers: [732] 732,49 unequal: No Solution Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[15, 13, 12, 89], Operations: [] Exploring Operation: 89-15=74, Resulting Numbers: [13, 12, 74] Generated Node #0,1: 49:[13, 12, 74] Operation: 89-15=74 Moving to Node #0,1 Current State: 49:[13, 12, 74], Operations: ['89-15=74'] Exploring Operation: 74-13=61, Resulting Numbers: [12, 61] Generated Node #0,1,1: 49:[12, 61] Operation: 74-13=61 Moving to Node #0,1,1 Current State: 49:[12, 61], Operations: ['89-15=74', '74-13=61'] Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 25, 76, 70, 50 ]
69
[ "76-25=51", "70+50=120", "120-51=69" ]
Current State: 69:[25, 76, 70, 50], Operations: [] Exploring Operation: 76-25=51, Resulting Numbers: [70, 50, 51] Generated Node #2: [70, 50, 51] from Operation: 76-25=51 Current State: 69:[70, 50, 51], Operations: ['76-25=51'] Exploring Operation: 70+50=120, Resulting Numbers: [51, 120] Generated Node #3: [51, 120] from Operation: 70+50=120 Current State: 69:[51, 120], Operations: ['76-25=51', '70+50=120'] Exploring Operation: 120-51=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[25, 76, 70, 50], Operations: [] Exploring Operation: 50/25=2, Resulting Numbers: [76, 70, 2] Generated Node #0,0: 69:[76, 70, 2] Operation: 50/25=2 Exploring Operation: 76-50=26, Resulting Numbers: [25, 70, 26] Generated Node #0,1: 69:[25, 70, 26] Operation: 76-50=26 Exploring Operation: 50-25=25, Resulting Numbers: [76, 70, 25] Generated Node #0,2: 69:[76, 70, 25] Operation: 50-25=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[25, 70, 26], Operations: ['76-50=26'] Exploring Operation: 70-26=44, Resulting Numbers: [25, 44] Generated Node #0,1,0: 69:[25, 44] Operation: 70-26=44 Exploring Operation: 26-25=1, Resulting Numbers: [70, 1] Generated Node #0,1,1: 69:[70, 1] Operation: 26-25=1 Exploring Operation: 25+26=51, Resulting Numbers: [70, 51] Generated Node #0,1,2: 69:[70, 51] Operation: 25+26=51 Moving to Node #0,1,1 Current State: 69:[70, 1], Operations: ['76-50=26', '26-25=1'] Exploring Operation: 70*1=70, Resulting Numbers: [70] 70,69 unequal: No Solution Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[25, 76, 70, 50], Operations: [] Exploring Operation: 76-50=26, Resulting Numbers: [25, 70, 26] Generated Node #0,1: 69:[25, 70, 26] Operation: 76-50=26 Moving to Node #0,1 Current State: 69:[25, 70, 26], Operations: ['76-50=26'] Exploring Operation: 26-25=1, Resulting Numbers: [70, 1] Generated Node #0,1,1: 69:[70, 1] Operation: 26-25=1 Moving to Node #0,1,1 Current State: 69:[70, 1], Operations: ['76-50=26', '26-25=1'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 3, 31, 1, 71 ]
53
[ "3+1=4", "31*4=124", "124-71=53" ]
Current State: 53:[3, 31, 1, 71], Operations: [] Exploring Operation: 3+1=4, Resulting Numbers: [31, 71, 4] Generated Node #2: [31, 71, 4] from Operation: 3+1=4 Current State: 53:[31, 71, 4], Operations: ['3+1=4'] Exploring Operation: 31*4=124, Resulting Numbers: [71, 124] Generated Node #3: [71, 124] from Operation: 31*4=124 Current State: 53:[71, 124], Operations: ['3+1=4', '31*4=124'] Exploring Operation: 124-71=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[3, 31, 1, 71], Operations: [] Exploring Operation: 31+1=32, Resulting Numbers: [3, 71, 32] Generated Node #0,0: 53:[3, 71, 32] Operation: 31+1=32 Exploring Operation: 3+31=34, Resulting Numbers: [1, 71, 34] Generated Node #0,1: 53:[1, 71, 34] Operation: 3+31=34 Exploring Operation: 71-1=70, Resulting Numbers: [3, 31, 70] Generated Node #0,2: 53:[3, 31, 70] Operation: 71-1=70 Exploring Operation: 71-3=68, Resulting Numbers: [31, 1, 68] Generated Node #0,3: 53:[31, 1, 68] Operation: 71-3=68 Exploring Operation: 3+1=4, Resulting Numbers: [31, 71, 4] Generated Node #0,4: 53:[31, 71, 4] Operation: 3+1=4 Moving to Node #0,0 Current State: 53:[3, 71, 32], Operations: ['31+1=32'] Exploring Operation: 3+71=74, Resulting Numbers: [32, 74] Generated Node #0,0,0: 53:[32, 74] Operation: 3+71=74 Exploring Operation: 71-3=68, Resulting Numbers: [32, 68] Generated Node #0,0,1: 53:[32, 68] Operation: 71-3=68 Exploring Operation: 32-3=29, Resulting Numbers: [71, 29] Generated Node #0,0,2: 53:[71, 29] Operation: 32-3=29 Exploring Operation: 3*32=96, Resulting Numbers: [71, 96] Generated Node #0,0,3: 53:[71, 96] Operation: 3*32=96 Exploring Operation: 3+32=35, Resulting Numbers: [71, 35] Generated Node #0,0,4: 53:[71, 35] Operation: 3+32=35 Moving to Node #0,2 Current State: 53:[3, 31, 70], Operations: ['71-1=70'] Exploring Operation: 3+70=73, Resulting Numbers: [31, 73] Generated Node #0,2,0: 53:[31, 73] Operation: 3+70=73 Exploring Operation: 31-3=28, Resulting Numbers: [70, 28] Generated Node #0,2,1: 53:[70, 28] Operation: 31-3=28 Exploring Operation: 3*31=93, Resulting Numbers: [70, 93] Generated Node #0,2,2: 53:[70, 93] Operation: 3*31=93 Exploring Operation: 3+31=34, Resulting Numbers: [70, 34] Generated Node #0,2,3: 53:[70, 34] Operation: 3+31=34 Exploring Operation: 70-3=67, Resulting Numbers: [31, 67] Generated Node #0,2,4: 53:[31, 67] Operation: 70-3=67 Moving to Node #0,4 Current State: 53:[31, 71, 4], Operations: ['3+1=4'] Exploring Operation: 71+4=75, Resulting Numbers: [31, 75] Generated Node #0,4,0: 53:[31, 75] Operation: 71+4=75 Exploring Operation: 71-4=67, Resulting Numbers: [31, 67] Generated Node #0,4,1: 53:[31, 67] Operation: 71-4=67 Exploring Operation: 31-4=27, Resulting Numbers: [71, 27] Generated Node #0,4,2: 53:[71, 27] Operation: 31-4=27 Exploring Operation: 71-31=40, Resulting Numbers: [4, 40] Generated Node #0,4,3: 53:[4, 40] Operation: 71-31=40 Exploring Operation: 31+4=35, Resulting Numbers: [71, 35] Generated Node #0,4,4: 53:[71, 35] Operation: 31+4=35 Moving to Node #0,1 Current State: 53:[1, 71, 34], Operations: ['3+31=34'] Exploring Operation: 1*71=71, Resulting Numbers: [34, 71] Generated Node #0,1,0: 53:[34, 71] Operation: 1*71=71 Exploring Operation: 71/1=71, Resulting Numbers: [34, 71] Generated Node #0,1,1: 53:[34, 71] Operation: 71/1=71 Exploring Operation: 1+34=35, Resulting Numbers: [71, 35] Generated Node #0,1,2: 53:[71, 35] Operation: 1+34=35 Exploring Operation: 1*34=34, Resulting Numbers: [71, 34] Generated Node #0,1,3: 53:[71, 34] Operation: 1*34=34 Exploring Operation: 71-1=70, Resulting Numbers: [34, 70] Generated Node #0,1,4: 53:[34, 70] Operation: 71-1=70 Moving to Node #0,3 Current State: 53:[31, 1, 68], Operations: ['71-3=68'] Exploring Operation: 31/1=31, Resulting Numbers: [68, 31] Generated Node #0,3,0: 53:[68, 31] Operation: 31/1=31 Exploring Operation: 68-1=67, Resulting Numbers: [31, 67] Generated Node #0,3,1: 53:[31, 67] Operation: 68-1=67 Exploring Operation: 31+1=32, Resulting Numbers: [68, 32] Generated Node #0,3,2: 53:[68, 32] Operation: 31+1=32 Exploring Operation: 31*1=31, Resulting Numbers: [68, 31] Generated Node #0,3,3: 53:[68, 31] Operation: 31*1=31 Exploring Operation: 1*68=68, Resulting Numbers: [31, 68] Generated Node #0,3,4: 53:[31, 68] Operation: 1*68=68 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 53:[31, 67], Operations: ['71-3=68', '68-1=67'] Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 31*67=2077, Resulting Numbers: [2077] 2077,53 unequal: No Solution Exploring Operation: 31+67=98, Resulting Numbers: [98] 98,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,3,2 Current State: 53:[68, 32], Operations: ['71-3=68', '31+1=32'] Exploring Operation: 68+32=100, Resulting Numbers: [100] 100,53 unequal: No Solution Exploring Operation: 68-32=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 68*32=2176, Resulting Numbers: [2176] 2176,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,3,0 Current State: 53:[68, 31], Operations: ['71-3=68', '31/1=31'] Exploring Operation: 68*31=2108, Resulting Numbers: [2108] 2108,53 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,53 unequal: No Solution Exploring Operation: 68+31=99, Resulting Numbers: [99] 99,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,3,3 Current State: 53:[68, 31], Operations: ['71-3=68', '31*1=31'] Exploring Operation: 68*31=2108, Resulting Numbers: [2108] 2108,53 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,53 unequal: No Solution Exploring Operation: 68+31=99, Resulting Numbers: [99] 99,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,3,4 Current State: 53:[31, 68], Operations: ['71-3=68', '1*68=68'] Exploring Operation: 31+68=99, Resulting Numbers: [99] 99,53 unequal: No Solution Exploring Operation: 31*68=2108, Resulting Numbers: [2108] 2108,53 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 53:[32, 68], Operations: ['31+1=32', '71-3=68'] Exploring Operation: 68-32=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 32*68=2176, Resulting Numbers: [2176] 2176,53 unequal: No Solution Exploring Operation: 32+68=100, Resulting Numbers: [100] 100,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[70, 34], Operations: ['71-1=70', '3+31=34'] Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 70*34=2380, Resulting Numbers: [2380] 2380,53 unequal: No Solution Exploring Operation: 70+34=104, Resulting Numbers: [104] 104,53 unequal: No Solution Moving to Node #0,2,4 Current State: 53:[31, 67], Operations: ['71-1=70', '70-3=67'] Exploring Operation: 31*67=2077, Resulting Numbers: [2077] 2077,53 unequal: No Solution Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 31+67=98, Resulting Numbers: [98] 98,53 unequal: No Solution Moving to Node #0,4,4 Current State: 53:[71, 35], Operations: ['3+1=4', '31+4=35'] Exploring Operation: 71-35=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 71*35=2485, Resulting Numbers: [2485] 2485,53 unequal: No Solution Exploring Operation: 71+35=106, Resulting Numbers: [106] 106,53 unequal: No Solution Moving to Node #0,0,4 Current State: 53:[71, 35], Operations: ['31+1=32', '3+32=35'] Exploring Operation: 71+35=106, Resulting Numbers: [106] 106,53 unequal: No Solution Exploring Operation: 71-35=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 71*35=2485, Resulting Numbers: [2485] 2485,53 unequal: No Solution Moving to Node #0,4,1 Current State: 53:[31, 67], Operations: ['3+1=4', '71-4=67'] Exploring Operation: 31*67=2077, Resulting Numbers: [2077] 2077,53 unequal: No Solution Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 31+67=98, Resulting Numbers: [98] 98,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[71, 35], Operations: ['3+31=34', '1+34=35'] Exploring Operation: 71-35=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 71*35=2485, Resulting Numbers: [2485] 2485,53 unequal: No Solution Exploring Operation: 71+35=106, Resulting Numbers: [106] 106,53 unequal: No Solution Moving to Node #0,1,4 Current State: 53:[34, 70], Operations: ['3+31=34', '71-1=70'] Exploring Operation: 34*70=2380, Resulting Numbers: [2380] 2380,53 unequal: No Solution Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 34+70=104, Resulting Numbers: [104] 104,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[34, 71], Operations: ['3+31=34', '71/1=71'] Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,53 unequal: No Solution Exploring Operation: 34+71=105, Resulting Numbers: [105] 105,53 unequal: No Solution Exploring Operation: 34*71=2414, Resulting Numbers: [2414] 2414,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[71, 34], Operations: ['3+31=34', '1*34=34'] Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,53 unequal: No Solution Exploring Operation: 71*34=2414, Resulting Numbers: [2414] 2414,53 unequal: No Solution Exploring Operation: 71+34=105, Resulting Numbers: [105] 105,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[34, 71], Operations: ['3+31=34', '1*71=71'] Exploring Operation: 34+71=105, Resulting Numbers: [105] 105,53 unequal: No Solution Exploring Operation: 34*71=2414, Resulting Numbers: [2414] 2414,53 unequal: No Solution Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[32, 74], Operations: ['31+1=32', '3+71=74'] Exploring Operation: 32+74=106, Resulting Numbers: [106] 106,53 unequal: No Solution Exploring Operation: 74-32=42, Resulting Numbers: [42] 42,53 unequal: No Solution Exploring Operation: 32*74=2368, Resulting Numbers: [2368] 2368,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[70, 28], Operations: ['71-1=70', '31-3=28'] Exploring Operation: 70-28=42, Resulting Numbers: [42] 42,53 unequal: No Solution Exploring Operation: 70+28=98, Resulting Numbers: [98] 98,53 unequal: No Solution Exploring Operation: 70*28=1960, Resulting Numbers: [1960] 1960,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[71, 29], Operations: ['31+1=32', '32-3=29'] Exploring Operation: 71*29=2059, Resulting Numbers: [2059] 2059,53 unequal: No Solution Exploring Operation: 71+29=100, Resulting Numbers: [100] 100,53 unequal: No Solution Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[31, 73], Operations: ['71-1=70', '3+70=73'] Exploring Operation: 73-31=42, Resulting Numbers: [42] 42,53 unequal: No Solution Exploring Operation: 31*73=2263, Resulting Numbers: [2263] 2263,53 unequal: No Solution Exploring Operation: 31+73=104, Resulting Numbers: [104] 104,53 unequal: No Solution Moving to Node #0,4,2 Current State: 53:[71, 27], Operations: ['3+1=4', '31-4=27'] Exploring Operation: 71*27=1917, Resulting Numbers: [1917] 1917,53 unequal: No Solution Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,53 unequal: No Solution Exploring Operation: 71+27=98, Resulting Numbers: [98] 98,53 unequal: No Solution Moving to Node #0,4,0 Current State: 53:[31, 75], Operations: ['3+1=4', '71+4=75'] Exploring Operation: 75-31=44, Resulting Numbers: [44] 44,53 unequal: No Solution Exploring Operation: 31*75=2325, Resulting Numbers: [2325] 2325,53 unequal: No Solution Exploring Operation: 31+75=106, Resulting Numbers: [106] 106,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[70, 93], Operations: ['71-1=70', '3*31=93'] Exploring Operation: 70+93=163, Resulting Numbers: [163] 163,53 unequal: No Solution Exploring Operation: 93-70=23, Resulting Numbers: [23] 23,53 unequal: No Solution Exploring Operation: 70*93=6510, Resulting Numbers: [6510] 6510,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[71, 96], Operations: ['31+1=32', '3*32=96'] Exploring Operation: 96-71=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 71*96=6816, Resulting Numbers: [6816] 6816,53 unequal: No Solution Exploring Operation: 71+96=167, Resulting Numbers: [167] 167,53 unequal: No Solution Moving to Node #0,4,3 Current State: 53:[4, 40], Operations: ['3+1=4', '71-31=40'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,53 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,53 unequal: No Solution Exploring Operation: 4*40=160, Resulting Numbers: [160] 160,53 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 10, 62, 75, 45 ]
85
[ "75-62=13", "10*13=130", "130-45=85" ]
Current State: 85:[10, 62, 75, 45], Operations: [] Exploring Operation: 75-62=13, Resulting Numbers: [10, 45, 13] Generated Node #2: [10, 45, 13] from Operation: 75-62=13 Current State: 85:[10, 45, 13], Operations: ['75-62=13'] Exploring Operation: 10*13=130, Resulting Numbers: [45, 130] Generated Node #3: [45, 130] from Operation: 10*13=130 Current State: 85:[45, 130], Operations: ['75-62=13', '10*13=130'] Exploring Operation: 130-45=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[10, 62, 75, 45], Operations: [] Exploring Operation: 75-62=13, Resulting Numbers: [10, 45, 13] Generated Node #0,0: 85:[10, 45, 13] Operation: 75-62=13 Exploring Operation: 62-45=17, Resulting Numbers: [10, 75, 17] Generated Node #0,1: 85:[10, 75, 17] Operation: 62-45=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[10, 75, 17], Operations: ['62-45=17'] Exploring Operation: 10+75=85, Resulting Numbers: [17, 85] Generated Node #0,1,0: 85:[17, 85] Operation: 10+75=85 Exploring Operation: 17-10=7, Resulting Numbers: [75, 7] Generated Node #0,1,1: 85:[75, 7] Operation: 17-10=7 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 85:[17, 85], Operations: ['62-45=17', '10+75=85'] Exploring Operation: 85/17=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 17+85=102, Resulting Numbers: [102] 102,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 85:[75, 7], Operations: ['62-45=17', '17-10=7'] Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,85 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[10, 45, 13], Operations: ['75-62=13'] Exploring Operation: 45-13=32, Resulting Numbers: [10, 32] Generated Node #0,0,0: 85:[10, 32] Operation: 45-13=32 Exploring Operation: 45-10=35, Resulting Numbers: [13, 35] Generated Node #0,0,1: 85:[13, 35] Operation: 45-10=35 Moving to Node #0,0,0 Current State: 85:[10, 32], Operations: ['75-62=13', '45-13=32'] Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,85 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[13, 35], Operations: ['75-62=13', '45-10=35'] Exploring Operation: 13+35=48, Resulting Numbers: [48] 48,85 unequal: No Solution Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,85 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
[ 9, 7, 56, 38 ]
45
[ "9*7=63", "56-38=18", "63-18=45" ]
Current State: 45:[9, 7, 56, 38], Operations: [] Exploring Operation: 9*7=63, Resulting Numbers: [56, 38, 63] Generated Node #2: [56, 38, 63] from Operation: 9*7=63 Current State: 45:[56, 38, 63], Operations: ['9*7=63'] Exploring Operation: 56-38=18, Resulting Numbers: [63, 18] Generated Node #3: [63, 18] from Operation: 56-38=18 Current State: 45:[63, 18], Operations: ['9*7=63', '56-38=18'] Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[9, 7, 56, 38], Operations: [] Exploring Operation: 56-9=47, Resulting Numbers: [7, 38, 47] Generated Node #0,0: 45:[7, 38, 47] Operation: 56-9=47 Exploring Operation: 56/7=8, Resulting Numbers: [9, 38, 8] Generated Node #0,1: 45:[9, 38, 8] Operation: 56/7=8 Exploring Operation: 56-38=18, Resulting Numbers: [9, 7, 18] Generated Node #0,2: 45:[9, 7, 18] Operation: 56-38=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[9, 7, 18], Operations: ['56-38=18'] Exploring Operation: 18/9=2, Resulting Numbers: [7, 2] Generated Node #0,2,0: 45:[7, 2] Operation: 18/9=2 Exploring Operation: 18-9=9, Resulting Numbers: [7, 9] Generated Node #0,2,1: 45:[7, 9] Operation: 18-9=9 Exploring Operation: 18-7=11, Resulting Numbers: [9, 11] Generated Node #0,2,2: 45:[9, 11] Operation: 18-7=11 Moving to Node #0,2,1 Current State: 45:[7, 9], Operations: ['56-38=18', '18-9=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,45 unequal: No Solution Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[9, 11], Operations: ['56-38=18', '18-7=11'] Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,45 unequal: No Solution Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[7, 2], Operations: ['56-38=18', '18/9=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[9, 38, 8], Operations: ['56/7=8'] Exploring Operation: 9+38=47, Resulting Numbers: [8, 47] Generated Node #0,1,0: 45:[8, 47] Operation: 9+38=47 Exploring Operation: 38+8=46, Resulting Numbers: [9, 46] Generated Node #0,1,1: 45:[9, 46] Operation: 38+8=46 Exploring Operation: 9+8=17, Resulting Numbers: [38, 17] Generated Node #0,1,2: 45:[38, 17] Operation: 9+8=17 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 45:[9, 46], Operations: ['56/7=8', '38+8=46'] Exploring Operation: 9*46=414, Resulting Numbers: [414] 414,45 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,45 unequal: No Solution Exploring Operation: 9+46=55, Resulting Numbers: [55] 55,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 45:[8, 47], Operations: ['56/7=8', '9+38=47'] Exploring Operation: 8+47=55, Resulting Numbers: [55] 55,45 unequal: No Solution Exploring Operation: 8*47=376, Resulting Numbers: [376] 376,45 unequal: No Solution Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 45:[38, 17], Operations: ['56/7=8', '9+8=17'] Exploring Operation: 38+17=55, Resulting Numbers: [55] 55,45 unequal: No Solution Exploring Operation: 38*17=646, Resulting Numbers: [646] 646,45 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[7, 38, 47], Operations: ['56-9=47'] Exploring Operation: 7+38=45, Resulting Numbers: [47, 45] Generated Node #0,0,0: 45:[47, 45] Operation: 7+38=45 Exploring Operation: 47-7=40, Resulting Numbers: [38, 40] Generated Node #0,0,1: 45:[38, 40] Operation: 47-7=40 Exploring Operation: 47-38=9, Resulting Numbers: [7, 9] Generated Node #0,0,2: 45:[7, 9] Operation: 47-38=9 Moving to Node #0,0,0 Current State: 45:[47, 45], Operations: ['56-9=47', '7+38=45'] Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 47+45=92, Resulting Numbers: [92] 92,45 unequal: No Solution Exploring Operation: 47*45=2115, Resulting Numbers: [2115] 2115,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[7, 9], Operations: ['56-9=47', '47-38=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,45 unequal: No Solution Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[38, 40], Operations: ['56-9=47', '47-7=40'] Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 38*40=1520, Resulting Numbers: [1520] 1520,45 unequal: No Solution Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,45 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
[ 57, 30, 15, 75 ]
11
[ "57*15=855", "855-30=825", "825/75=11" ]
Current State: 11:[57, 30, 15, 75], Operations: [] Exploring Operation: 57*15=855, Resulting Numbers: [30, 75, 855] Generated Node #2: [30, 75, 855] from Operation: 57*15=855 Current State: 11:[30, 75, 855], Operations: ['57*15=855'] Exploring Operation: 855-30=825, Resulting Numbers: [75, 825] Generated Node #3: [75, 825] from Operation: 855-30=825 Current State: 11:[75, 825], Operations: ['57*15=855', '855-30=825'] Exploring Operation: 825/75=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[57, 30, 15, 75], Operations: [] Exploring Operation: 75-57=18, Resulting Numbers: [30, 15, 18] Generated Node #0,0: 11:[30, 15, 18] Operation: 75-57=18 Exploring Operation: 75/15=5, Resulting Numbers: [57, 30, 5] Generated Node #0,1: 11:[57, 30, 5] Operation: 75/15=5 Moving to Node #0,0 Current State: 11:[30, 15, 18], Operations: ['75-57=18'] Exploring Operation: 30-18=12, Resulting Numbers: [15, 12] Generated Node #0,0,0: 11:[15, 12] Operation: 30-18=12 Exploring Operation: 30-15=15, Resulting Numbers: [18, 15] Generated Node #0,0,1: 11:[18, 15] Operation: 30-15=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[15, 12], Operations: ['75-57=18', '30-18=12'] Exploring Operation: 15+12=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[18, 15], Operations: ['75-57=18', '30-15=15'] Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,11 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: 11:[57, 30, 5], Operations: ['75/15=5'] Exploring Operation: 57-30=27, Resulting Numbers: [5, 27] Generated Node #0,1,0: 11:[5, 27] Operation: 57-30=27 Exploring Operation: 30/5=6, Resulting Numbers: [57, 6] Generated Node #0,1,1: 11:[57, 6] Operation: 30/5=6 Moving to Node #0,1,0 Current State: 11:[5, 27], Operations: ['75/15=5', '57-30=27'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[57, 6], Operations: ['75/15=5', '30/5=6'] Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,11 unequal: No Solution Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,11 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 3, 76, 72, 59 ]
71
[ "76-72=4", "3*4=12", "59+12=71" ]
Current State: 71:[3, 76, 72, 59], Operations: [] Exploring Operation: 76-72=4, Resulting Numbers: [3, 59, 4] Generated Node #2: [3, 59, 4] from Operation: 76-72=4 Current State: 71:[3, 59, 4], Operations: ['76-72=4'] Exploring Operation: 3*4=12, Resulting Numbers: [59, 12] Generated Node #3: [59, 12] from Operation: 3*4=12 Current State: 71:[59, 12], Operations: ['76-72=4', '3*4=12'] Exploring Operation: 59+12=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[3, 76, 72, 59], Operations: [] Exploring Operation: 3+59=62, Resulting Numbers: [76, 72, 62] Generated Node #0,0: 71:[76, 72, 62] Operation: 3+59=62 Exploring Operation: 76-3=73, Resulting Numbers: [72, 59, 73] Generated Node #0,1: 71:[72, 59, 73] Operation: 76-3=73 Exploring Operation: 72-3=69, Resulting Numbers: [76, 59, 69] Generated Node #0,2: 71:[76, 59, 69] Operation: 72-3=69 Moving to Node #0,0 Current State: 71:[76, 72, 62], Operations: ['3+59=62'] Exploring Operation: 72-62=10, Resulting Numbers: [76, 10] Generated Node #0,0,0: 71:[76, 10] Operation: 72-62=10 Exploring Operation: 76+62=138, Resulting Numbers: [72, 138] Generated Node #0,0,1: 71:[72, 138] Operation: 76+62=138 Exploring Operation: 76-62=14, Resulting Numbers: [72, 14] Generated Node #0,0,2: 71:[72, 14] Operation: 76-62=14 Moving to Node #0,1 Current State: 71:[72, 59, 73], Operations: ['76-3=73'] Exploring Operation: 72-59=13, Resulting Numbers: [73, 13] Generated Node #0,1,0: 71:[73, 13] Operation: 72-59=13 Exploring Operation: 72+59=131, Resulting Numbers: [73, 131] Generated Node #0,1,1: 71:[73, 131] Operation: 72+59=131 Exploring Operation: 73-59=14, Resulting Numbers: [72, 14] Generated Node #0,1,2: 71:[72, 14] Operation: 73-59=14 Moving to Node #0,2 Current State: 71:[76, 59, 69], Operations: ['72-3=69'] Exploring Operation: 76-59=17, Resulting Numbers: [69, 17] Generated Node #0,2,0: 71:[69, 17] Operation: 76-59=17 Exploring Operation: 76+59=135, Resulting Numbers: [69, 135] Generated Node #0,2,1: 71:[69, 135] Operation: 76+59=135 Exploring Operation: 59+69=128, Resulting Numbers: [76, 128] Generated Node #0,2,2: 71:[76, 128] Operation: 59+69=128 Moving to Node #0,2,0 Current State: 71:[69, 17], Operations: ['72-3=69', '76-59=17'] Exploring Operation: 69+17=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 69-17=52, Resulting Numbers: [52] 52,71 unequal: No Solution Exploring Operation: 69*17=1173, Resulting Numbers: [1173] 1173,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[72, 14], Operations: ['3+59=62', '76-62=14'] Exploring Operation: 72+14=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 72*14=1008, Resulting Numbers: [1008] 1008,71 unequal: No Solution Exploring Operation: 72-14=58, Resulting Numbers: [58] 58,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[72, 14], Operations: ['76-3=73', '73-59=14'] Exploring Operation: 72+14=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 72-14=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 72*14=1008, Resulting Numbers: [1008] 1008,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[73, 13], Operations: ['76-3=73', '72-59=13'] Exploring Operation: 73*13=949, Resulting Numbers: [949] 949,71 unequal: No Solution Exploring Operation: 73+13=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 73-13=60, Resulting Numbers: [60] 60,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[73, 131], Operations: ['76-3=73', '72+59=131'] Exploring Operation: 131-73=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 73*131=9563, Resulting Numbers: [9563] 9563,71 unequal: No Solution Exploring Operation: 73+131=204, Resulting Numbers: [204] 204,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[76, 128], Operations: ['72-3=69', '59+69=128'] Exploring Operation: 128-76=52, Resulting Numbers: [52] 52,71 unequal: No Solution Exploring Operation: 76+128=204, Resulting Numbers: [204] 204,71 unequal: No Solution Exploring Operation: 76*128=9728, Resulting Numbers: [9728] 9728,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[69, 135], Operations: ['72-3=69', '76+59=135'] Exploring Operation: 69+135=204, Resulting Numbers: [204] 204,71 unequal: No Solution Exploring Operation: 69*135=9315, Resulting Numbers: [9315] 9315,71 unequal: No Solution Exploring Operation: 135-69=66, Resulting Numbers: [66] 66,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[76, 10], Operations: ['3+59=62', '72-62=10'] Exploring Operation: 76*10=760, Resulting Numbers: [760] 760,71 unequal: No Solution Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,71 unequal: No Solution Exploring Operation: 76+10=86, Resulting Numbers: [86] 86,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[72, 138], Operations: ['3+59=62', '76+62=138'] Exploring Operation: 72*138=9936, Resulting Numbers: [9936] 9936,71 unequal: No Solution Exploring Operation: 138-72=66, Resulting Numbers: [66] 66,71 unequal: No Solution Exploring Operation: 72+138=210, Resulting Numbers: [210] 210,71 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 29, 12, 67, 23 ]
65
[ "29-23=6", "12/6=2", "67-2=65" ]
Current State: 65:[29, 12, 67, 23], Operations: [] Exploring Operation: 29-23=6, Resulting Numbers: [12, 67, 6] Generated Node #2: [12, 67, 6] from Operation: 29-23=6 Current State: 65:[12, 67, 6], Operations: ['29-23=6'] Exploring Operation: 12/6=2, Resulting Numbers: [67, 2] Generated Node #3: [67, 2] from Operation: 12/6=2 Current State: 65:[67, 2], Operations: ['29-23=6', '12/6=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[29, 12, 67, 23], Operations: [] Exploring Operation: 23-12=11, Resulting Numbers: [29, 67, 11] Generated Node #0,0: 65:[29, 67, 11] Operation: 23-12=11 Exploring Operation: 29+23=52, Resulting Numbers: [12, 67, 52] Generated Node #0,1: 65:[12, 67, 52] Operation: 29+23=52 Exploring Operation: 29-12=17, Resulting Numbers: [67, 23, 17] Generated Node #0,2: 65:[67, 23, 17] Operation: 29-12=17 Exploring Operation: 29-23=6, Resulting Numbers: [12, 67, 6] Generated Node #0,3: 65:[12, 67, 6] Operation: 29-23=6 Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[12, 67, 6], Operations: ['29-23=6'] Exploring Operation: 12-6=6, Resulting Numbers: [67, 6] Generated Node #0,3,0: 65:[67, 6] Operation: 12-6=6 Exploring Operation: 67-6=61, Resulting Numbers: [12, 61] Generated Node #0,3,1: 65:[12, 61] Operation: 67-6=61 Exploring Operation: 12/6=2, Resulting Numbers: [67, 2] Generated Node #0,3,2: 65:[67, 2] Operation: 12/6=2 Exploring Operation: 12+6=18, Resulting Numbers: [67, 18] Generated Node #0,3,3: 65:[67, 18] Operation: 12+6=18 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 65:[67, 6], Operations: ['29-23=6', '12-6=6'] Exploring Operation: 67+6=73, Resulting Numbers: [73] 73,65 unequal: No Solution Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,65 unequal: No Solution Exploring Operation: 67*6=402, Resulting Numbers: [402] 402,65 unequal: No Solution No 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: 65:[12, 61], Operations: ['29-23=6', '67-6=61'] Exploring Operation: 12+61=73, Resulting Numbers: [73] 73,65 unequal: No Solution Exploring Operation: 12*61=732, Resulting Numbers: [732] 732,65 unequal: No Solution Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,65 unequal: No Solution No 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: 65:[67, 2], Operations: ['29-23=6', '12/6=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[29, 12, 67, 23], Operations: [] Exploring Operation: 29-23=6, Resulting Numbers: [12, 67, 6] Generated Node #0,3: 65:[12, 67, 6] Operation: 29-23=6 Moving to Node #0,3 Current State: 65:[12, 67, 6], Operations: ['29-23=6'] Exploring Operation: 12/6=2, Resulting Numbers: [67, 2] Generated Node #0,3,2: 65:[67, 2] Operation: 12/6=2 Moving to Node #0,3,2 Current State: 65:[67, 2], Operations: ['29-23=6', '12/6=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 66, 59, 62, 13 ]
68
[ "66-59=7", "62+13=75", "75-7=68" ]
Current State: 68:[66, 59, 62, 13], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [62, 13, 7] Generated Node #2: [62, 13, 7] from Operation: 66-59=7 Current State: 68:[62, 13, 7], Operations: ['66-59=7'] Exploring Operation: 62+13=75, Resulting Numbers: [7, 75] Generated Node #3: [7, 75] from Operation: 62+13=75 Current State: 68:[7, 75], Operations: ['66-59=7', '62+13=75'] Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[66, 59, 62, 13], Operations: [] Exploring Operation: 59+13=72, Resulting Numbers: [66, 62, 72] Generated Node #0,0: 68:[66, 62, 72] Operation: 59+13=72 Exploring Operation: 66-59=7, Resulting Numbers: [62, 13, 7] Generated Node #0,1: 68:[62, 13, 7] Operation: 66-59=7 Exploring Operation: 62-59=3, Resulting Numbers: [66, 13, 3] Generated Node #0,2: 68:[66, 13, 3] Operation: 62-59=3 Exploring Operation: 66-62=4, Resulting Numbers: [59, 13, 4] Generated Node #0,3: 68:[59, 13, 4] Operation: 66-62=4 Moving to Node #0,2 Current State: 68:[66, 13, 3], Operations: ['62-59=3'] Exploring Operation: 13+3=16, Resulting Numbers: [66, 16] Generated Node #0,2,0: 68:[66, 16] Operation: 13+3=16 Exploring Operation: 13-3=10, Resulting Numbers: [66, 10] Generated Node #0,2,1: 68:[66, 10] Operation: 13-3=10 Exploring Operation: 13*3=39, Resulting Numbers: [66, 39] Generated Node #0,2,2: 68:[66, 39] Operation: 13*3=39 Exploring Operation: 66+3=69, Resulting Numbers: [13, 69] Generated Node #0,2,3: 68:[13, 69] Operation: 66+3=69 Moving to Node #0,0 Current State: 68:[66, 62, 72], Operations: ['59+13=72'] Exploring Operation: 66-62=4, Resulting Numbers: [72, 4] Generated Node #0,0,0: 68:[72, 4] Operation: 66-62=4 Exploring Operation: 66+62=128, Resulting Numbers: [72, 128] Generated Node #0,0,1: 68:[72, 128] Operation: 66+62=128 Exploring Operation: 72-62=10, Resulting Numbers: [66, 10] Generated Node #0,0,2: 68:[66, 10] Operation: 72-62=10 Exploring Operation: 72-66=6, Resulting Numbers: [62, 6] Generated Node #0,0,3: 68:[62, 6] Operation: 72-66=6 Moving to Node #0,3 Current State: 68:[59, 13, 4], Operations: ['66-62=4'] Exploring Operation: 59+4=63, Resulting Numbers: [13, 63] Generated Node #0,3,0: 68:[13, 63] Operation: 59+4=63 Exploring Operation: 13+4=17, Resulting Numbers: [59, 17] Generated Node #0,3,1: 68:[59, 17] Operation: 13+4=17 Exploring Operation: 59-13=46, Resulting Numbers: [4, 46] Generated Node #0,3,2: 68:[4, 46] Operation: 59-13=46 Exploring Operation: 59+13=72, Resulting Numbers: [4, 72] Generated Node #0,3,3: 68:[4, 72] Operation: 59+13=72 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 68:[4, 72], Operations: ['66-62=4', '59+13=72'] Exploring Operation: 4*72=288, Resulting Numbers: [288] 288,68 unequal: No Solution Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[66, 59, 62, 13], Operations: [] Exploring Operation: 66-62=4, Resulting Numbers: [59, 13, 4] Generated Node #0,3: 68:[59, 13, 4] Operation: 66-62=4 Moving to Node #0,3 Current State: 68:[59, 13, 4], Operations: ['66-62=4'] Exploring Operation: 59+13=72, Resulting Numbers: [4, 72] Generated Node #0,3,3: 68:[4, 72] Operation: 59+13=72 Moving to Node #0,3,3 Current State: 68:[4, 72], Operations: ['66-62=4', '59+13=72'] Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 31, 84, 25, 47 ]
33
[ "31-25=6", "84/6=14", "47-14=33" ]
Current State: 33:[31, 84, 25, 47], Operations: [] Exploring Operation: 31-25=6, Resulting Numbers: [84, 47, 6] Generated Node #2: [84, 47, 6] from Operation: 31-25=6 Current State: 33:[84, 47, 6], Operations: ['31-25=6'] Exploring Operation: 84/6=14, Resulting Numbers: [47, 14] Generated Node #3: [47, 14] from Operation: 84/6=14 Current State: 33:[47, 14], Operations: ['31-25=6', '84/6=14'] Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[31, 84, 25, 47], Operations: [] Exploring Operation: 47-31=16, Resulting Numbers: [84, 25, 16] Generated Node #0,0: 33:[84, 25, 16] Operation: 47-31=16 Exploring Operation: 47-25=22, Resulting Numbers: [31, 84, 22] Generated Node #0,1: 33:[31, 84, 22] Operation: 47-25=22 Exploring Operation: 84-47=37, Resulting Numbers: [31, 25, 37] Generated Node #0,2: 33:[31, 25, 37] Operation: 84-47=37 Exploring Operation: 84-31=53, Resulting Numbers: [25, 47, 53] Generated Node #0,3: 33:[25, 47, 53] Operation: 84-31=53 Exploring Operation: 84-25=59, Resulting Numbers: [31, 47, 59] Generated Node #0,4: 33:[31, 47, 59] Operation: 84-25=59 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[31, 25, 37], Operations: ['84-47=37'] Exploring Operation: 37-25=12, Resulting Numbers: [31, 12] Generated Node #0,2,0: 33:[31, 12] Operation: 37-25=12 Exploring Operation: 31-25=6, Resulting Numbers: [37, 6] Generated Node #0,2,1: 33:[37, 6] Operation: 31-25=6 Exploring Operation: 37-31=6, Resulting Numbers: [25, 6] Generated Node #0,2,2: 33:[25, 6] Operation: 37-31=6 Exploring Operation: 25+37=62, Resulting Numbers: [31, 62] Generated Node #0,2,3: 33:[31, 62] Operation: 25+37=62 Exploring Operation: 31+25=56, Resulting Numbers: [37, 56] Generated Node #0,2,4: 33:[37, 56] Operation: 31+25=56 Moving to Node #0,2,0 Current State: 33:[31, 12], Operations: ['84-47=37', '37-25=12'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 31*12=372, Resulting Numbers: [372] 372,33 unequal: No Solution Exploring Operation: 31+12=43, Resulting Numbers: [43] 43,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[37, 6], Operations: ['84-47=37', '31-25=6'] Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,33 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[25, 6], Operations: ['84-47=37', '37-31=6'] Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,33 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,33 unequal: No Solution Moving to Node #0,2,4 Current State: 33:[37, 56], Operations: ['84-47=37', '31+25=56'] Exploring Operation: 37+56=93, Resulting Numbers: [93] 93,33 unequal: No Solution Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 37*56=2072, Resulting Numbers: [2072] 2072,33 unequal: No Solution Moving to Node #0,2,3 Current State: 33:[31, 62], Operations: ['84-47=37', '25+37=62'] Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 31+62=93, Resulting Numbers: [93] 93,33 unequal: No Solution Exploring Operation: 31*62=1922, Resulting Numbers: [1922] 1922,33 unequal: No Solution Exploring Operation: 62/31=2, Resulting Numbers: [2] 2,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,3 Current State: 33:[25, 47, 53], Operations: ['84-31=53'] Exploring Operation: 25+53=78, Resulting Numbers: [47, 78] Generated Node #0,3,0: 33:[47, 78] Operation: 25+53=78 Exploring Operation: 53-25=28, Resulting Numbers: [47, 28] Generated Node #0,3,1: 33:[47, 28] Operation: 53-25=28 Exploring Operation: 47-25=22, Resulting Numbers: [53, 22] Generated Node #0,3,2: 33:[53, 22] Operation: 47-25=22 Exploring Operation: 25+47=72, Resulting Numbers: [53, 72] Generated Node #0,3,3: 33:[53, 72] Operation: 25+47=72 Exploring Operation: 53-47=6, Resulting Numbers: [25, 6] Generated Node #0,3,4: 33:[25, 6] Operation: 53-47=6 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 33:[25, 6], Operations: ['84-31=53', '53-47=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 33:[47, 28], Operations: ['84-31=53', '53-25=28'] Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 47*28=1316, Resulting Numbers: [1316] 1316,33 unequal: No Solution Exploring Operation: 47+28=75, Resulting Numbers: [75] 75,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 33:[53, 22], Operations: ['84-31=53', '47-25=22'] Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 53*22=1166, Resulting Numbers: [1166] 1166,33 unequal: No Solution Exploring Operation: 53+22=75, Resulting Numbers: [75] 75,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 33:[47, 78], Operations: ['84-31=53', '25+53=78'] Exploring Operation: 47+78=125, Resulting Numbers: [125] 125,33 unequal: No Solution Exploring Operation: 47*78=3666, Resulting Numbers: [3666] 3666,33 unequal: No Solution Exploring Operation: 78-47=31, Resulting Numbers: [31] 31,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 33:[53, 72], Operations: ['84-31=53', '25+47=72'] Exploring Operation: 53*72=3816, Resulting Numbers: [3816] 3816,33 unequal: No Solution Exploring Operation: 72-53=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 53+72=125, Resulting Numbers: [125] 125,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 33:[31, 47, 59], Operations: ['84-25=59'] Exploring Operation: 59-47=12, Resulting Numbers: [31, 12] Generated Node #0,4,0: 33:[31, 12] Operation: 59-47=12 Exploring Operation: 47-31=16, Resulting Numbers: [59, 16] Generated Node #0,4,1: 33:[59, 16] Operation: 47-31=16 Exploring Operation: 31+47=78, Resulting Numbers: [59, 78] Generated Node #0,4,2: 33:[59, 78] Operation: 31+47=78 Exploring Operation: 31+59=90, Resulting Numbers: [47, 90] Generated Node #0,4,3: 33:[47, 90] Operation: 31+59=90 Exploring Operation: 59-31=28, Resulting Numbers: [47, 28] Generated Node #0,4,4: 33:[47, 28] Operation: 59-31=28 Moving to Node #0,4,0 Current State: 33:[31, 12], Operations: ['84-25=59', '59-47=12'] Exploring Operation: 31*12=372, Resulting Numbers: [372] 372,33 unequal: No Solution Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 31+12=43, Resulting Numbers: [43] 43,33 unequal: No Solution Moving to Node #0,4,4 Current State: 33:[47, 28], Operations: ['84-25=59', '59-31=28'] Exploring Operation: 47*28=1316, Resulting Numbers: [1316] 1316,33 unequal: No Solution Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 47+28=75, Resulting Numbers: [75] 75,33 unequal: No Solution Moving to Node #0,4,1 Current State: 33:[59, 16], Operations: ['84-25=59', '47-31=16'] Exploring Operation: 59*16=944, Resulting Numbers: [944] 944,33 unequal: No Solution Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,33 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,33 unequal: No Solution Moving to Node #0,4,2 Current State: 33:[59, 78], Operations: ['84-25=59', '31+47=78'] Exploring Operation: 59+78=137, Resulting Numbers: [137] 137,33 unequal: No Solution Exploring Operation: 78-59=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 59*78=4602, Resulting Numbers: [4602] 4602,33 unequal: No Solution Moving to Node #0,4,3 Current State: 33:[47, 90], Operations: ['84-25=59', '31+59=90'] Exploring Operation: 90-47=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 47*90=4230, Resulting Numbers: [4230] 4230,33 unequal: No Solution Exploring Operation: 47+90=137, Resulting Numbers: [137] 137,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[84, 25, 16], Operations: ['47-31=16'] Exploring Operation: 25-16=9, Resulting Numbers: [84, 9] Generated Node #0,0,0: 33:[84, 9] Operation: 25-16=9 Exploring Operation: 84-25=59, Resulting Numbers: [16, 59] Generated Node #0,0,1: 33:[16, 59] Operation: 84-25=59 Exploring Operation: 84+16=100, Resulting Numbers: [25, 100] Generated Node #0,0,2: 33:[25, 100] Operation: 84+16=100 Exploring Operation: 25+16=41, Resulting Numbers: [84, 41] Generated Node #0,0,3: 33:[84, 41] Operation: 25+16=41 Exploring Operation: 84-16=68, Resulting Numbers: [25, 68] Generated Node #0,0,4: 33:[25, 68] Operation: 84-16=68 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 33:[16, 59], Operations: ['47-31=16', '84-25=59'] Exploring Operation: 16*59=944, Resulting Numbers: [944] 944,33 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 33:[25, 68], Operations: ['47-31=16', '84-16=68'] Exploring Operation: 25*68=1700, Resulting Numbers: [1700] 1700,33 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 25+68=93, Resulting Numbers: [93] 93,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[84, 9], Operations: ['47-31=16', '25-16=9'] Exploring Operation: 84*9=756, Resulting Numbers: [756] 756,33 unequal: No Solution Exploring Operation: 84+9=93, Resulting Numbers: [93] 93,33 unequal: No Solution Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 33:[84, 41], Operations: ['47-31=16', '25+16=41'] Exploring Operation: 84*41=3444, Resulting Numbers: [3444] 3444,33 unequal: No Solution Exploring Operation: 84+41=125, Resulting Numbers: [125] 125,33 unequal: No Solution Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 33:[25, 100], Operations: ['47-31=16', '84+16=100'] Exploring Operation: 25*100=2500, Resulting Numbers: [2500] 2500,33 unequal: No Solution Exploring Operation: 100-25=75, Resulting Numbers: [75] 75,33 unequal: No Solution Exploring Operation: 25+100=125, Resulting Numbers: [125] 125,33 unequal: No Solution Exploring Operation: 100/25=4, Resulting Numbers: [4] 4,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[31, 84, 22], Operations: ['47-25=22'] Exploring Operation: 84+22=106, Resulting Numbers: [31, 106] Generated Node #0,1,0: 33:[31, 106] Operation: 84+22=106 Exploring Operation: 84-31=53, Resulting Numbers: [22, 53] Generated Node #0,1,1: 33:[22, 53] Operation: 84-31=53 Exploring Operation: 31-22=9, Resulting Numbers: [84, 9] Generated Node #0,1,2: 33:[84, 9] Operation: 31-22=9 Exploring Operation: 84-22=62, Resulting Numbers: [31, 62] Generated Node #0,1,3: 33:[31, 62] Operation: 84-22=62 Exploring Operation: 31+22=53, Resulting Numbers: [84, 53] Generated Node #0,1,4: 33:[84, 53] Operation: 31+22=53 Moving to Node #0,1,1 Current State: 33:[22, 53], Operations: ['47-25=22', '84-31=53'] Exploring Operation: 22+53=75, Resulting Numbers: [75] 75,33 unequal: No Solution Exploring Operation: 22*53=1166, Resulting Numbers: [1166] 1166,33 unequal: No Solution Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,33 unequal: No Solution Moving to Node #0,1,3 Current State: 33:[31, 62], Operations: ['47-25=22', '84-22=62'] Exploring Operation: 62/31=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 31*62=1922, Resulting Numbers: [1922] 1922,33 unequal: No Solution Exploring Operation: 31+62=93, Resulting Numbers: [93] 93,33 unequal: No Solution Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[84, 9], Operations: ['47-25=22', '31-22=9'] Exploring Operation: 84+9=93, Resulting Numbers: [93] 93,33 unequal: No Solution Exploring Operation: 84*9=756, Resulting Numbers: [756] 756,33 unequal: No Solution Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,33 unequal: No Solution Moving to Node #0,1,4 Current State: 33:[84, 53], Operations: ['47-25=22', '31+22=53'] Exploring Operation: 84+53=137, Resulting Numbers: [137] 137,33 unequal: No Solution Exploring Operation: 84-53=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 84*53=4452, Resulting Numbers: [4452] 4452,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[31, 106], Operations: ['47-25=22', '84+22=106'] Exploring Operation: 31*106=3286, Resulting Numbers: [3286] 3286,33 unequal: No Solution Exploring Operation: 31+106=137, Resulting Numbers: [137] 137,33 unequal: No Solution Exploring Operation: 106-31=75, Resulting Numbers: [75] 75,33 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
[ 45, 13, 28, 34 ]
31
[ "28-13=15", "45/15=3", "34-3=31" ]
Current State: 31:[45, 13, 28, 34], Operations: [] Exploring Operation: 28-13=15, Resulting Numbers: [45, 34, 15] Generated Node #2: [45, 34, 15] from Operation: 28-13=15 Current State: 31:[45, 34, 15], Operations: ['28-13=15'] Exploring Operation: 45/15=3, Resulting Numbers: [34, 3] Generated Node #3: [34, 3] from Operation: 45/15=3 Current State: 31:[34, 3], Operations: ['28-13=15', '45/15=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[45, 13, 28, 34], Operations: [] Exploring Operation: 45-13=32, Resulting Numbers: [28, 34, 32] Generated Node #0,0: 31:[28, 34, 32] Operation: 45-13=32 Exploring Operation: 34-13=21, Resulting Numbers: [45, 28, 21] Generated Node #0,1: 31:[45, 28, 21] Operation: 34-13=21 Exploring Operation: 45+13=58, Resulting Numbers: [28, 34, 58] Generated Node #0,2: 31:[28, 34, 58] Operation: 45+13=58 Exploring Operation: 13+28=41, Resulting Numbers: [45, 34, 41] Generated Node #0,3: 31:[45, 34, 41] Operation: 13+28=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[28, 34, 32], Operations: ['45-13=32'] Exploring Operation: 28+34=62, Resulting Numbers: [32, 62] Generated Node #0,0,0: 31:[32, 62] Operation: 28+34=62 Exploring Operation: 32-28=4, Resulting Numbers: [34, 4] Generated Node #0,0,1: 31:[34, 4] Operation: 32-28=4 Exploring Operation: 28+32=60, Resulting Numbers: [34, 60] Generated Node #0,0,2: 31:[34, 60] Operation: 28+32=60 Exploring Operation: 34-28=6, Resulting Numbers: [32, 6] Generated Node #0,0,3: 31:[32, 6] Operation: 34-28=6 Moving to Node #0,0,3 Current State: 31:[32, 6], Operations: ['45-13=32', '34-28=6'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[34, 4], Operations: ['45-13=32', '32-28=4'] Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[34, 60], Operations: ['45-13=32', '28+32=60'] Exploring Operation: 34+60=94, Resulting Numbers: [94] 94,31 unequal: No Solution Exploring Operation: 34*60=2040, Resulting Numbers: [2040] 2040,31 unequal: No Solution Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[32, 62], Operations: ['45-13=32', '28+34=62'] Exploring Operation: 32*62=1984, Resulting Numbers: [1984] 1984,31 unequal: No Solution Exploring Operation: 32+62=94, Resulting Numbers: [94] 94,31 unequal: No Solution Exploring Operation: 62-32=30, Resulting Numbers: [30] 30,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[45, 28, 21], Operations: ['34-13=21'] Exploring Operation: 45+21=66, Resulting Numbers: [28, 66] Generated Node #0,1,0: 31:[28, 66] Operation: 45+21=66 Exploring Operation: 45-21=24, Resulting Numbers: [28, 24] Generated Node #0,1,1: 31:[28, 24] Operation: 45-21=24 Exploring Operation: 28+21=49, Resulting Numbers: [45, 49] Generated Node #0,1,2: 31:[45, 49] Operation: 28+21=49 Exploring Operation: 45-28=17, Resulting Numbers: [21, 17] Generated Node #0,1,3: 31:[21, 17] Operation: 45-28=17 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[28, 24], Operations: ['34-13=21', '45-21=24'] Exploring Operation: 28*24=672, Resulting Numbers: [672] 672,31 unequal: No Solution Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 31:[21, 17], Operations: ['34-13=21', '45-28=17'] Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 31:[45, 49], Operations: ['34-13=21', '28+21=49'] Exploring Operation: 49-45=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 45*49=2205, Resulting Numbers: [2205] 2205,31 unequal: No Solution Exploring Operation: 45+49=94, Resulting Numbers: [94] 94,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[28, 66], Operations: ['34-13=21', '45+21=66'] Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 28+66=94, Resulting Numbers: [94] 94,31 unequal: No Solution Exploring Operation: 28*66=1848, Resulting Numbers: [1848] 1848,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 31:[45, 34, 41], Operations: ['13+28=41'] Exploring Operation: 41-34=7, Resulting Numbers: [45, 7] Generated Node #0,3,0: 31:[45, 7] Operation: 41-34=7 Exploring Operation: 45+34=79, Resulting Numbers: [41, 79] Generated Node #0,3,1: 31:[41, 79] Operation: 45+34=79 Exploring Operation: 45-34=11, Resulting Numbers: [41, 11] Generated Node #0,3,2: 31:[41, 11] Operation: 45-34=11 Exploring Operation: 45-41=4, Resulting Numbers: [34, 4] Generated Node #0,3,3: 31:[34, 4] Operation: 45-41=4 Moving to Node #0,3,2 Current State: 31:[41, 11], Operations: ['13+28=41', '45-34=11'] Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 41*11=451, Resulting Numbers: [451] 451,31 unequal: No Solution Moving to Node #0,3,3 Current State: 31:[34, 4], Operations: ['13+28=41', '45-41=4'] Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,31 unequal: No Solution Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,31 unequal: No Solution Moving to Node #0,3,0 Current State: 31:[45, 7], Operations: ['13+28=41', '41-34=7'] Exploring Operation: 45*7=315, Resulting Numbers: [315] 315,31 unequal: No Solution Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 45+7=52, Resulting Numbers: [52] 52,31 unequal: No Solution Moving to Node #0,3,1 Current State: 31:[41, 79], Operations: ['13+28=41', '45+34=79'] Exploring Operation: 79-41=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 41+79=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 41*79=3239, Resulting Numbers: [3239] 3239,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[28, 34, 58], Operations: ['45+13=58'] Exploring Operation: 58-34=24, Resulting Numbers: [28, 24] Generated Node #0,2,0: 31:[28, 24] Operation: 58-34=24 Exploring Operation: 34-28=6, Resulting Numbers: [58, 6] Generated Node #0,2,1: 31:[58, 6] Operation: 34-28=6 Exploring Operation: 58-28=30, Resulting Numbers: [34, 30] Generated Node #0,2,2: 31:[34, 30] Operation: 58-28=30 Exploring Operation: 28+34=62, Resulting Numbers: [58, 62] Generated Node #0,2,3: 31:[58, 62] Operation: 28+34=62 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 31:[34, 30], Operations: ['45+13=58', '58-28=30'] Exploring Operation: 34*30=1020, Resulting Numbers: [1020] 1020,31 unequal: No Solution Exploring Operation: 34-30=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 34+30=64, Resulting Numbers: [64] 64,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 31:[28, 24], Operations: ['45+13=58', '58-34=24'] Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 28*24=672, Resulting Numbers: [672] 672,31 unequal: No Solution Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 31:[58, 6], Operations: ['45+13=58', '34-28=6'] Exploring Operation: 58*6=348, Resulting Numbers: [348] 348,31 unequal: No Solution Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 31:[58, 62], Operations: ['45+13=58', '28+34=62'] Exploring Operation: 58+62=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 62-58=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 58*62=3596, Resulting Numbers: [3596] 3596,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 38, 23, 10, 66 ]
91
[ "38-23=15", "10+66=76", "15+76=91" ]
Current State: 91:[38, 23, 10, 66], Operations: [] Exploring Operation: 38-23=15, Resulting Numbers: [10, 66, 15] Generated Node #2: [10, 66, 15] from Operation: 38-23=15 Current State: 91:[10, 66, 15], Operations: ['38-23=15'] Exploring Operation: 10+66=76, Resulting Numbers: [15, 76] Generated Node #3: [15, 76] from Operation: 10+66=76 Current State: 91:[15, 76], Operations: ['38-23=15', '10+66=76'] Exploring Operation: 15+76=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[38, 23, 10, 66], Operations: [] Exploring Operation: 66-38=28, Resulting Numbers: [23, 10, 28] Generated Node #0,0: 91:[23, 10, 28] Operation: 66-38=28 Exploring Operation: 38-23=15, Resulting Numbers: [10, 66, 15] Generated Node #0,1: 91:[10, 66, 15] Operation: 38-23=15 Exploring Operation: 38+66=104, Resulting Numbers: [23, 10, 104] Generated Node #0,2: 91:[23, 10, 104] Operation: 38+66=104 Exploring Operation: 23+66=89, Resulting Numbers: [38, 10, 89] Generated Node #0,3: 91:[38, 10, 89] Operation: 23+66=89 Moving to Node #0,2 Current State: 91:[23, 10, 104], Operations: ['38+66=104'] Exploring Operation: 104-23=81, Resulting Numbers: [10, 81] Generated Node #0,2,0: 91:[10, 81] Operation: 104-23=81 Exploring Operation: 104-10=94, Resulting Numbers: [23, 94] Generated Node #0,2,1: 91:[23, 94] Operation: 104-10=94 Exploring Operation: 23-10=13, Resulting Numbers: [104, 13] Generated Node #0,2,2: 91:[104, 13] Operation: 23-10=13 Exploring Operation: 23+10=33, Resulting Numbers: [104, 33] Generated Node #0,2,3: 91:[104, 33] Operation: 23+10=33 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 91:[10, 81], Operations: ['38+66=104', '104-23=81'] Exploring Operation: 81-10=71, Resulting Numbers: [71] 71,91 unequal: No Solution Exploring Operation: 10*81=810, Resulting Numbers: [810] 810,91 unequal: No Solution Exploring Operation: 10+81=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[38, 23, 10, 66], Operations: [] Exploring Operation: 38+66=104, Resulting Numbers: [23, 10, 104] Generated Node #0,2: 91:[23, 10, 104] Operation: 38+66=104 Moving to Node #0,2 Current State: 91:[23, 10, 104], Operations: ['38+66=104'] Exploring Operation: 104-23=81, Resulting Numbers: [10, 81] Generated Node #0,2,0: 91:[10, 81] Operation: 104-23=81 Moving to Node #0,2,0 Current State: 91:[10, 81], Operations: ['38+66=104', '104-23=81'] Exploring Operation: 10+81=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 11, 20, 20, 16 ]
36
[ "20-11=9", "20-16=4", "9*4=36" ]
Current State: 36:[11, 20, 20, 16], Operations: [] Exploring Operation: 20-11=9, Resulting Numbers: [16, 9] Generated Node #2: [16, 9] from Operation: 20-11=9 Current State: 36:[16, 9], Operations: ['20-11=9'] Exploring Operation: 20-16=4, Resulting Numbers: [9, 4] Generated Node #3: [9, 4] from Operation: 20-16=4 Current State: 36:[9, 4], Operations: ['20-11=9', '20-16=4'] Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[11, 20, 20, 16], Operations: [] Exploring Operation: 20-16=4, Resulting Numbers: [11, 20, 4] Generated Node #0,0: 36:[11, 20, 4] Operation: 20-16=4 Exploring Operation: 20+16=36, Resulting Numbers: [11, 20, 36] Generated Node #0,1: 36:[11, 20, 36] Operation: 20+16=36 Exploring Operation: 20-16=4, Resulting Numbers: [11, 20, 4] Generated Node #0,2: 36:[11, 20, 4] Operation: 20-16=4 Exploring Operation: 20+16=36, Resulting Numbers: [11, 20, 36] Generated Node #0,3: 36:[11, 20, 36] Operation: 20+16=36 Moving to Node #0,0 Current State: 36:[11, 20, 4], Operations: ['20-16=4'] Exploring Operation: 11-4=7, Resulting Numbers: [20, 7] Generated Node #0,0,0: 36:[20, 7] Operation: 11-4=7 Exploring Operation: 20-4=16, Resulting Numbers: [11, 16] Generated Node #0,0,1: 36:[11, 16] Operation: 20-4=16 Exploring Operation: 20/4=5, Resulting Numbers: [11, 5] Generated Node #0,0,2: 36:[11, 5] Operation: 20/4=5 Exploring Operation: 20-11=9, Resulting Numbers: [4, 9] Generated Node #0,0,3: 36:[4, 9] Operation: 20-11=9 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 36:[4, 9], Operations: ['20-16=4', '20-11=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[11, 20, 20, 16], Operations: [] Exploring Operation: 20-16=4, Resulting Numbers: [11, 20, 4] Generated Node #0,0: 36:[11, 20, 4] Operation: 20-16=4 Moving to Node #0,0 Current State: 36:[11, 20, 4], Operations: ['20-16=4'] Exploring Operation: 20-11=9, Resulting Numbers: [4, 9] Generated Node #0,0,3: 36:[4, 9] Operation: 20-11=9 Moving to Node #0,0,3 Current State: 36:[4, 9], Operations: ['20-16=4', '20-11=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 14, 33, 57, 31 ]
64
[ "33-31=2", "14/2=7", "57+7=64" ]
Current State: 64:[14, 33, 57, 31], Operations: [] Exploring Operation: 33-31=2, Resulting Numbers: [14, 57, 2] Generated Node #2: [14, 57, 2] from Operation: 33-31=2 Current State: 64:[14, 57, 2], Operations: ['33-31=2'] Exploring Operation: 14/2=7, Resulting Numbers: [57, 7] Generated Node #3: [57, 7] from Operation: 14/2=7 Current State: 64:[57, 7], Operations: ['33-31=2', '14/2=7'] Exploring Operation: 57+7=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[14, 33, 57, 31], Operations: [] Exploring Operation: 14+57=71, Resulting Numbers: [33, 31, 71] Generated Node #0,0: 64:[33, 31, 71] Operation: 14+57=71 Moving to Node #0,0 Current State: 64:[33, 31, 71], Operations: ['14+57=71'] Exploring Operation: 33+31=64, Resulting Numbers: [71, 64] Generated Node #0,0,0: 64:[71, 64] Operation: 33+31=64 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[71, 64], Operations: ['14+57=71', '33+31=64'] Exploring Operation: 71-64=7, Resulting Numbers: [7] 7,64 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
[ 33, 48, 96, 93 ]
59
[ "96-93=3", "33/3=11", "48+11=59" ]
Current State: 59:[33, 48, 96, 93], Operations: [] Exploring Operation: 96-93=3, Resulting Numbers: [33, 48, 3] Generated Node #2: [33, 48, 3] from Operation: 96-93=3 Current State: 59:[33, 48, 3], Operations: ['96-93=3'] Exploring Operation: 33/3=11, Resulting Numbers: [48, 11] Generated Node #3: [48, 11] from Operation: 33/3=11 Current State: 59:[48, 11], Operations: ['96-93=3', '33/3=11'] Exploring Operation: 48+11=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[33, 48, 96, 93], Operations: [] Exploring Operation: 96-48=48, Resulting Numbers: [33, 93, 48] Generated Node #0,0: 59:[33, 93, 48] Operation: 96-48=48 Exploring Operation: 93-48=45, Resulting Numbers: [33, 96, 45] Generated Node #0,1: 59:[33, 96, 45] Operation: 93-48=45 Exploring Operation: 93-33=60, Resulting Numbers: [48, 96, 60] Generated Node #0,2: 59:[48, 96, 60] Operation: 93-33=60 Exploring Operation: 96-33=63, Resulting Numbers: [48, 93, 63] Generated Node #0,3: 59:[48, 93, 63] Operation: 96-33=63 Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[48, 96, 60], Operations: ['93-33=60'] Exploring Operation: 96/48=2, Resulting Numbers: [60, 2] Generated Node #0,2,0: 59:[60, 2] Operation: 96/48=2 Exploring Operation: 96-60=36, Resulting Numbers: [48, 36] Generated Node #0,2,1: 59:[48, 36] Operation: 96-60=36 Exploring Operation: 60-48=12, Resulting Numbers: [96, 12] Generated Node #0,2,2: 59:[96, 12] Operation: 60-48=12 Exploring Operation: 96-48=48, Resulting Numbers: [60, 48] Generated Node #0,2,3: 59:[60, 48] Operation: 96-48=48 Moving to Node #0,2,3 Current State: 59:[60, 48], Operations: ['93-33=60', '96-48=48'] Exploring Operation: 60*48=2880, Resulting Numbers: [2880] 2880,59 unequal: No Solution Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 60+48=108, Resulting Numbers: [108] 108,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[48, 36], Operations: ['93-33=60', '96-60=36'] Exploring Operation: 48-36=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 48+36=84, Resulting Numbers: [84] 84,59 unequal: No Solution Exploring Operation: 48*36=1728, Resulting Numbers: [1728] 1728,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[60, 2], Operations: ['93-33=60', '96/48=2'] Exploring Operation: 60*2=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,59 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[96, 12], Operations: ['93-33=60', '60-48=12'] Exploring Operation: 96*12=1152, Resulting Numbers: [1152] 1152,59 unequal: No Solution Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 96+12=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[48, 93, 63], Operations: ['96-33=63'] Exploring Operation: 93-63=30, Resulting Numbers: [48, 30] Generated Node #0,3,0: 59:[48, 30] Operation: 93-63=30 Exploring Operation: 48+93=141, Resulting Numbers: [63, 141] Generated Node #0,3,1: 59:[63, 141] Operation: 48+93=141 Exploring Operation: 63-48=15, Resulting Numbers: [93, 15] Generated Node #0,3,2: 59:[93, 15] Operation: 63-48=15 Exploring Operation: 93-48=45, Resulting Numbers: [63, 45] Generated Node #0,3,3: 59:[63, 45] Operation: 93-48=45 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 59:[63, 45], Operations: ['96-33=63', '93-48=45'] Exploring Operation: 63+45=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 63*45=2835, Resulting Numbers: [2835] 2835,59 unequal: No Solution Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 59:[48, 30], Operations: ['96-33=63', '93-63=30'] Exploring Operation: 48*30=1440, Resulting Numbers: [1440] 1440,59 unequal: No Solution Exploring Operation: 48+30=78, Resulting Numbers: [78] 78,59 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 59:[93, 15], Operations: ['96-33=63', '63-48=15'] Exploring Operation: 93+15=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 93*15=1395, Resulting Numbers: [1395] 1395,59 unequal: No Solution Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 59:[63, 141], Operations: ['96-33=63', '48+93=141'] Exploring Operation: 63+141=204, Resulting Numbers: [204] 204,59 unequal: No Solution Exploring Operation: 141-63=78, Resulting Numbers: [78] 78,59 unequal: No Solution Exploring Operation: 63*141=8883, Resulting Numbers: [8883] 8883,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[33, 93, 48], Operations: ['96-48=48'] Exploring Operation: 33+93=126, Resulting Numbers: [48, 126] Generated Node #0,0,0: 59:[48, 126] Operation: 33+93=126 Exploring Operation: 93-33=60, Resulting Numbers: [48, 60] Generated Node #0,0,1: 59:[48, 60] Operation: 93-33=60 Exploring Operation: 93-48=45, Resulting Numbers: [33, 45] Generated Node #0,0,2: 59:[33, 45] Operation: 93-48=45 Exploring Operation: 33+48=81, Resulting Numbers: [93, 81] Generated Node #0,0,3: 59:[93, 81] Operation: 33+48=81 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[48, 60], Operations: ['96-48=48', '93-33=60'] Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 48*60=2880, Resulting Numbers: [2880] 2880,59 unequal: No Solution Exploring Operation: 48+60=108, Resulting Numbers: [108] 108,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[33, 45], Operations: ['96-48=48', '93-48=45'] Exploring Operation: 33+45=78, Resulting Numbers: [78] 78,59 unequal: No Solution Exploring Operation: 33*45=1485, Resulting Numbers: [1485] 1485,59 unequal: No Solution Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 59:[93, 81], Operations: ['96-48=48', '33+48=81'] Exploring Operation: 93+81=174, Resulting Numbers: [174] 174,59 unequal: No Solution Exploring Operation: 93-81=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 93*81=7533, Resulting Numbers: [7533] 7533,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[48, 126], Operations: ['96-48=48', '33+93=126'] Exploring Operation: 126-48=78, Resulting Numbers: [78] 78,59 unequal: No Solution Exploring Operation: 48*126=6048, Resulting Numbers: [6048] 6048,59 unequal: No Solution Exploring Operation: 48+126=174, Resulting Numbers: [174] 174,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[33, 96, 45], Operations: ['93-48=45'] Exploring Operation: 33+96=129, Resulting Numbers: [45, 129] Generated Node #0,1,0: 59:[45, 129] Operation: 33+96=129 Exploring Operation: 33+45=78, Resulting Numbers: [96, 78] Generated Node #0,1,1: 59:[96, 78] Operation: 33+45=78 Exploring Operation: 96-33=63, Resulting Numbers: [45, 63] Generated Node #0,1,2: 59:[45, 63] Operation: 96-33=63 Exploring Operation: 96-45=51, Resulting Numbers: [33, 51] Generated Node #0,1,3: 59:[33, 51] Operation: 96-45=51 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[45, 63], Operations: ['93-48=45', '96-33=63'] Exploring Operation: 45+63=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 45*63=2835, Resulting Numbers: [2835] 2835,59 unequal: No Solution Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 59:[33, 51], Operations: ['93-48=45', '96-45=51'] Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 33+51=84, Resulting Numbers: [84] 84,59 unequal: No Solution Exploring Operation: 33*51=1683, Resulting Numbers: [1683] 1683,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[96, 78], Operations: ['93-48=45', '33+45=78'] Exploring Operation: 96-78=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 96+78=174, Resulting Numbers: [174] 174,59 unequal: No Solution Exploring Operation: 96*78=7488, Resulting Numbers: [7488] 7488,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[45, 129], Operations: ['93-48=45', '33+96=129'] Exploring Operation: 45*129=5805, Resulting Numbers: [5805] 5805,59 unequal: No Solution Exploring Operation: 45+129=174, Resulting Numbers: [174] 174,59 unequal: No Solution Exploring Operation: 129-45=84, Resulting Numbers: [84] 84,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 95, 39, 32, 99 ]
47
[ "99-95=4", "32/4=8", "39+8=47" ]
Current State: 47:[95, 39, 32, 99], Operations: [] Exploring Operation: 99-95=4, Resulting Numbers: [39, 32, 4] Generated Node #2: [39, 32, 4] from Operation: 99-95=4 Current State: 47:[39, 32, 4], Operations: ['99-95=4'] Exploring Operation: 32/4=8, Resulting Numbers: [39, 8] Generated Node #3: [39, 8] from Operation: 32/4=8 Current State: 47:[39, 8], Operations: ['99-95=4', '32/4=8'] Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[95, 39, 32, 99], Operations: [] Exploring Operation: 99-39=60, Resulting Numbers: [95, 32, 60] Generated Node #0,0: 47:[95, 32, 60] Operation: 99-39=60 Exploring Operation: 95-32=63, Resulting Numbers: [39, 99, 63] Generated Node #0,1: 47:[39, 99, 63] Operation: 95-32=63 Exploring Operation: 99-95=4, Resulting Numbers: [39, 32, 4] Generated Node #0,2: 47:[39, 32, 4] Operation: 99-95=4 Exploring Operation: 95-39=56, Resulting Numbers: [32, 99, 56] Generated Node #0,3: 47:[32, 99, 56] Operation: 95-39=56 Moving to Node #0,2 Current State: 47:[39, 32, 4], Operations: ['99-95=4'] Exploring Operation: 39-4=35, Resulting Numbers: [32, 35] Generated Node #0,2,0: 47:[32, 35] Operation: 39-4=35 Exploring Operation: 32-4=28, Resulting Numbers: [39, 28] Generated Node #0,2,1: 47:[39, 28] Operation: 32-4=28 Exploring Operation: 39+4=43, Resulting Numbers: [32, 43] Generated Node #0,2,2: 47:[32, 43] Operation: 39+4=43 Exploring Operation: 32+4=36, Resulting Numbers: [39, 36] Generated Node #0,2,3: 47:[39, 36] Operation: 32+4=36 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 47:[32, 43], Operations: ['99-95=4', '39+4=43'] Exploring Operation: 32*43=1376, Resulting Numbers: [1376] 1376,47 unequal: No Solution Exploring Operation: 43-32=11, Resulting Numbers: [11] 11,47 unequal: No Solution Exploring Operation: 32+43=75, Resulting Numbers: [75] 75,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,3 Current State: 47:[39, 36], Operations: ['99-95=4', '32+4=36'] Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 39*36=1404, Resulting Numbers: [1404] 1404,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:[32, 35], Operations: ['99-95=4', '39-4=35'] Exploring Operation: 32*35=1120, Resulting Numbers: [1120] 1120,47 unequal: No Solution Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,47 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[39, 28], Operations: ['99-95=4', '32-4=28'] Exploring Operation: 39*28=1092, Resulting Numbers: [1092] 1092,47 unequal: No Solution Exploring Operation: 39+28=67, Resulting Numbers: [67] 67,47 unequal: No Solution Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,47 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: 47:[39, 99, 63], Operations: ['95-32=63'] Exploring Operation: 39+99=138, Resulting Numbers: [63, 138] Generated Node #0,1,0: 47:[63, 138] Operation: 39+99=138 Exploring Operation: 63-39=24, Resulting Numbers: [99, 24] Generated Node #0,1,1: 47:[99, 24] Operation: 63-39=24 Exploring Operation: 99-39=60, Resulting Numbers: [63, 60] Generated Node #0,1,2: 47:[63, 60] Operation: 99-39=60 Exploring Operation: 99-63=36, Resulting Numbers: [39, 36] Generated Node #0,1,3: 47:[39, 36] Operation: 99-63=36 Moving to Node #0,0 Current State: 47:[95, 32, 60], Operations: ['99-39=60'] Exploring Operation: 60-32=28, Resulting Numbers: [95, 28] Generated Node #0,0,0: 47:[95, 28] Operation: 60-32=28 Exploring Operation: 95-32=63, Resulting Numbers: [60, 63] Generated Node #0,0,1: 47:[60, 63] Operation: 95-32=63 Exploring Operation: 95+32=127, Resulting Numbers: [60, 127] Generated Node #0,0,2: 47:[60, 127] Operation: 95+32=127 Exploring Operation: 95-60=35, Resulting Numbers: [32, 35] Generated Node #0,0,3: 47:[32, 35] Operation: 95-60=35 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 47:[32, 35], Operations: ['99-39=60', '95-60=35'] Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,47 unequal: No Solution Exploring Operation: 32*35=1120, Resulting Numbers: [1120] 1120,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,0,1 Current State: 47:[60, 63], Operations: ['99-39=60', '95-32=63'] Exploring Operation: 60*63=3780, Resulting Numbers: [3780] 3780,47 unequal: No Solution Exploring Operation: 60+63=123, Resulting Numbers: [123] 123,47 unequal: No Solution Exploring Operation: 63-60=3, Resulting Numbers: [3] 3,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[95, 28], Operations: ['99-39=60', '60-32=28'] Exploring Operation: 95+28=123, Resulting Numbers: [123] 123,47 unequal: No Solution Exploring Operation: 95*28=2660, Resulting Numbers: [2660] 2660,47 unequal: No Solution Exploring Operation: 95-28=67, Resulting Numbers: [67] 67,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,0,2 Current State: 47:[60, 127], Operations: ['99-39=60', '95+32=127'] Exploring Operation: 60*127=7620, Resulting Numbers: [7620] 7620,47 unequal: No Solution Exploring Operation: 60+127=187, Resulting Numbers: [187] 187,47 unequal: No Solution Exploring Operation: 127-60=67, Resulting Numbers: [67] 67,47 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: 47:[32, 99, 56], Operations: ['95-39=56'] Exploring Operation: 99-56=43, Resulting Numbers: [32, 43] Generated Node #0,3,0: 47:[32, 43] Operation: 99-56=43 Exploring Operation: 56-32=24, Resulting Numbers: [99, 24] Generated Node #0,3,1: 47:[99, 24] Operation: 56-32=24 Exploring Operation: 99-32=67, Resulting Numbers: [56, 67] Generated Node #0,3,2: 47:[56, 67] Operation: 99-32=67 Exploring Operation: 32+99=131, Resulting Numbers: [56, 131] Generated Node #0,3,3: 47:[56, 131] Operation: 32+99=131 Moving to Node #0,1,3 Current State: 47:[39, 36], Operations: ['95-32=63', '99-63=36'] Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 39*36=1404, Resulting Numbers: [1404] 1404,47 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,47 unequal: No Solution Moving to Node #0,3,0 Current State: 47:[32, 43], Operations: ['95-39=56', '99-56=43'] Exploring Operation: 32*43=1376, Resulting Numbers: [1376] 1376,47 unequal: No Solution Exploring Operation: 32+43=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 43-32=11, Resulting Numbers: [11] 11,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[56, 67], Operations: ['95-39=56', '99-32=67'] Exploring Operation: 56+67=123, Resulting Numbers: [123] 123,47 unequal: No Solution Exploring Operation: 67-56=11, Resulting Numbers: [11] 11,47 unequal: No Solution Exploring Operation: 56*67=3752, Resulting Numbers: [3752] 3752,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[63, 60], Operations: ['95-32=63', '99-39=60'] Exploring Operation: 63-60=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 63+60=123, Resulting Numbers: [123] 123,47 unequal: No Solution Exploring Operation: 63*60=3780, Resulting Numbers: [3780] 3780,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[99, 24], Operations: ['95-32=63', '63-39=24'] Exploring Operation: 99*24=2376, Resulting Numbers: [2376] 2376,47 unequal: No Solution Exploring Operation: 99+24=123, Resulting Numbers: [123] 123,47 unequal: No Solution Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,47 unequal: No Solution Moving to Node #0,3,1 Current State: 47:[99, 24], Operations: ['95-39=56', '56-32=24'] Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 99*24=2376, Resulting Numbers: [2376] 2376,47 unequal: No Solution Exploring Operation: 99+24=123, Resulting Numbers: [123] 123,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[56, 131], Operations: ['95-39=56', '32+99=131'] Exploring Operation: 56+131=187, Resulting Numbers: [187] 187,47 unequal: No Solution Exploring Operation: 131-56=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 56*131=7336, Resulting Numbers: [7336] 7336,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[63, 138], Operations: ['95-32=63', '39+99=138'] Exploring Operation: 63*138=8694, Resulting Numbers: [8694] 8694,47 unequal: No Solution Exploring Operation: 63+138=201, Resulting Numbers: [201] 201,47 unequal: No Solution Exploring Operation: 138-63=75, Resulting Numbers: [75] 75,47 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 56, 21, 28, 67 ]
63
[ "56+28=84", "84/21=4", "67-4=63" ]
Current State: 63:[56, 21, 28, 67], Operations: [] Exploring Operation: 56+28=84, Resulting Numbers: [21, 67, 84] Generated Node #2: [21, 67, 84] from Operation: 56+28=84 Current State: 63:[21, 67, 84], Operations: ['56+28=84'] Exploring Operation: 84/21=4, Resulting Numbers: [67, 4] Generated Node #3: [67, 4] from Operation: 84/21=4 Current State: 63:[67, 4], Operations: ['56+28=84', '84/21=4'] Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[56, 21, 28, 67], Operations: [] Exploring Operation: 56/28=2, Resulting Numbers: [21, 67, 2] Generated Node #0,0: 63:[21, 67, 2] Operation: 56/28=2 Exploring Operation: 67-56=11, Resulting Numbers: [21, 28, 11] Generated Node #0,1: 63:[21, 28, 11] Operation: 67-56=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[21, 67, 2], Operations: ['56/28=2'] Exploring Operation: 67-2=65, Resulting Numbers: [21, 65] Generated Node #0,0,0: 63:[21, 65] Operation: 67-2=65 Exploring Operation: 21+2=23, Resulting Numbers: [67, 23] Generated Node #0,0,1: 63:[67, 23] Operation: 21+2=23 Moving to Node #0,0,0 Current State: 63:[21, 65], Operations: ['56/28=2', '67-2=65'] Exploring Operation: 21+65=86, Resulting Numbers: [86] 86,63 unequal: No Solution Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[67, 23], Operations: ['56/28=2', '21+2=23'] Exploring Operation: 67+23=90, Resulting Numbers: [90] 90,63 unequal: No Solution Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[21, 28, 11], Operations: ['67-56=11'] Exploring Operation: 28-11=17, Resulting Numbers: [21, 17] Generated Node #0,1,0: 63:[21, 17] Operation: 28-11=17 Exploring Operation: 28-21=7, Resulting Numbers: [11, 7] Generated Node #0,1,1: 63:[11, 7] Operation: 28-21=7 Moving to Node #0,1,1 Current State: 63:[11, 7], Operations: ['67-56=11', '28-21=7'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[21, 17], Operations: ['67-56=11', '28-11=17'] Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,63 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
[ 64, 96, 7, 72 ]
33
[ "96-64=32", "72-7=65", "65-32=33" ]
Current State: 33:[64, 96, 7, 72], Operations: [] Exploring Operation: 96-64=32, Resulting Numbers: [7, 72, 32] Generated Node #2: [7, 72, 32] from Operation: 96-64=32 Current State: 33:[7, 72, 32], Operations: ['96-64=32'] Exploring Operation: 72-7=65, Resulting Numbers: [32, 65] Generated Node #3: [32, 65] from Operation: 72-7=65 Current State: 33:[32, 65], Operations: ['96-64=32', '72-7=65'] Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[64, 96, 7, 72], Operations: [] Exploring Operation: 96-72=24, Resulting Numbers: [64, 7, 24] Generated Node #0,0: 33:[64, 7, 24] Operation: 96-72=24 Exploring Operation: 64-7=57, Resulting Numbers: [96, 72, 57] Generated Node #0,1: 33:[96, 72, 57] Operation: 64-7=57 Exploring Operation: 96-7=89, Resulting Numbers: [64, 72, 89] Generated Node #0,2: 33:[64, 72, 89] Operation: 96-7=89 Exploring Operation: 72-64=8, Resulting Numbers: [96, 7, 8] Generated Node #0,3: 33:[96, 7, 8] Operation: 72-64=8 Exploring Operation: 96-64=32, Resulting Numbers: [7, 72, 32] Generated Node #0,4: 33:[7, 72, 32] Operation: 96-64=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[64, 7, 24], Operations: ['96-72=24'] Exploring Operation: 64-24=40, Resulting Numbers: [7, 40] Generated Node #0,0,0: 33:[7, 40] Operation: 64-24=40 Exploring Operation: 64-7=57, Resulting Numbers: [24, 57] Generated Node #0,0,1: 33:[24, 57] Operation: 64-7=57 Exploring Operation: 7+24=31, Resulting Numbers: [64, 31] Generated Node #0,0,2: 33:[64, 31] Operation: 7+24=31 Exploring Operation: 24-7=17, Resulting Numbers: [64, 17] Generated Node #0,0,3: 33:[64, 17] Operation: 24-7=17 Exploring Operation: 64+7=71, Resulting Numbers: [24, 71] Generated Node #0,0,4: 33:[24, 71] Operation: 64+7=71 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[7, 40], Operations: ['96-72=24', '64-24=40'] Exploring Operation: 7*40=280, Resulting Numbers: [280] 280,33 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[64, 96, 7, 72], Operations: [] Exploring Operation: 96-72=24, Resulting Numbers: [64, 7, 24] Generated Node #0,0: 33:[64, 7, 24] Operation: 96-72=24 Moving to Node #0,0 Current State: 33:[64, 7, 24], Operations: ['96-72=24'] Exploring Operation: 64-24=40, Resulting Numbers: [7, 40] Generated Node #0,0,0: 33:[7, 40] Operation: 64-24=40 Moving to Node #0,0,0 Current State: 33:[7, 40], Operations: ['96-72=24', '64-24=40'] Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 5, 27, 24, 9 ]
21
[ "9-5=4", "24/4=6", "27-6=21" ]
Current State: 21:[5, 27, 24, 9], Operations: [] Exploring Operation: 9-5=4, Resulting Numbers: [27, 24, 4] Generated Node #2: [27, 24, 4] from Operation: 9-5=4 Current State: 21:[27, 24, 4], Operations: ['9-5=4'] Exploring Operation: 24/4=6, Resulting Numbers: [27, 6] Generated Node #3: [27, 6] from Operation: 24/4=6 Current State: 21:[27, 6], Operations: ['9-5=4', '24/4=6'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[5, 27, 24, 9], Operations: [] Exploring Operation: 27/9=3, Resulting Numbers: [5, 24, 3] Generated Node #0,0: 21:[5, 24, 3] Operation: 27/9=3 Exploring Operation: 27-24=3, Resulting Numbers: [5, 9, 3] Generated Node #0,1: 21:[5, 9, 3] Operation: 27-24=3 Exploring Operation: 27-5=22, Resulting Numbers: [24, 9, 22] Generated Node #0,2: 21:[24, 9, 22] Operation: 27-5=22 Exploring Operation: 27-9=18, Resulting Numbers: [5, 24, 18] Generated Node #0,3: 21:[5, 24, 18] Operation: 27-9=18 Moving to Node #0,1 Current State: 21:[5, 9, 3], Operations: ['27-24=3'] Exploring Operation: 9-5=4, Resulting Numbers: [3, 4] Generated Node #0,1,0: 21:[3, 4] Operation: 9-5=4 Exploring Operation: 5-3=2, Resulting Numbers: [9, 2] Generated Node #0,1,1: 21:[9, 2] Operation: 5-3=2 Exploring Operation: 9/3=3, Resulting Numbers: [5, 3] Generated Node #0,1,2: 21:[5, 3] Operation: 9/3=3 Exploring Operation: 5+3=8, Resulting Numbers: [9, 8] Generated Node #0,1,3: 21:[9, 8] Operation: 5+3=8 Moving to Node #0,0 Current State: 21:[5, 24, 3], Operations: ['27/9=3'] Exploring Operation: 24-3=21, Resulting Numbers: [5, 21] Generated Node #0,0,0: 21:[5, 21] Operation: 24-3=21 Exploring Operation: 24-5=19, Resulting Numbers: [3, 19] Generated Node #0,0,1: 21:[3, 19] Operation: 24-5=19 Exploring Operation: 5+3=8, Resulting Numbers: [24, 8] Generated Node #0,0,2: 21:[24, 8] Operation: 5+3=8 Exploring Operation: 24/3=8, Resulting Numbers: [5, 8] Generated Node #0,0,3: 21:[5, 8] Operation: 24/3=8 Moving to Node #0,2 Current State: 21:[24, 9, 22], Operations: ['27-5=22'] Exploring Operation: 22-9=13, Resulting Numbers: [24, 13] Generated Node #0,2,0: 21:[24, 13] Operation: 22-9=13 Exploring Operation: 24-9=15, Resulting Numbers: [22, 15] Generated Node #0,2,1: 21:[22, 15] Operation: 24-9=15 Exploring Operation: 24-22=2, Resulting Numbers: [9, 2] Generated Node #0,2,2: 21:[9, 2] Operation: 24-22=2 Exploring Operation: 24+9=33, Resulting Numbers: [22, 33] Generated Node #0,2,3: 21:[22, 33] Operation: 24+9=33 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 21:[9, 2], Operations: ['27-5=22', '24-22=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,21 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 21:[22, 15], Operations: ['27-5=22', '24-9=15'] Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,21 unequal: No Solution Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 21:[24, 13], Operations: ['27-5=22', '22-9=13'] Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,21 unequal: No Solution Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,21 unequal: No Solution Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 21:[22, 33], Operations: ['27-5=22', '24+9=33'] Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,21 unequal: No Solution Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,21 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 21:[5, 24, 18], Operations: ['27-9=18'] Exploring Operation: 24-5=19, Resulting Numbers: [18, 19] Generated Node #0,3,0: 21:[18, 19] Operation: 24-5=19 Exploring Operation: 5+18=23, Resulting Numbers: [24, 23] Generated Node #0,3,1: 21:[24, 23] Operation: 5+18=23 Exploring Operation: 18-5=13, Resulting Numbers: [24, 13] Generated Node #0,3,2: 21:[24, 13] Operation: 18-5=13 Exploring Operation: 24-18=6, Resulting Numbers: [5, 6] Generated Node #0,3,3: 21:[5, 6] Operation: 24-18=6 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 21:[5, 6], Operations: ['27-9=18', '24-18=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,21 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 21:[18, 19], Operations: ['27-9=18', '24-5=19'] Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,21 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 21:[24, 23], Operations: ['27-9=18', '5+18=23'] Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 24+23=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 24*23=552, Resulting Numbers: [552] 552,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 21:[24, 13], Operations: ['27-9=18', '18-5=13'] Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,21 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,21 unequal: No Solution Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 21:[3, 4], Operations: ['27-24=3', '9-5=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[3, 19], Operations: ['27/9=3', '24-5=19'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,21 unequal: No Solution Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,21 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[5, 3], Operations: ['27-24=3', '9/3=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[5, 21], Operations: ['27/9=3', '24-3=21'] Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,21 unequal: No Solution Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,21 unequal: No Solution Moving to Node #0,0,3 Current State: 21:[5, 8], Operations: ['27/9=3', '24/3=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,21 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,21 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,21 unequal: No Solution Moving to Node #0,1,3 Current State: 21:[9, 8], Operations: ['27-24=3', '5+3=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,21 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[9, 2], Operations: ['27-24=3', '5-3=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,21 unequal: No Solution Moving to Node #0,0,2 Current State: 21:[24, 8], Operations: ['27/9=3', '5+3=8'] Exploring Operation: 24*8=192, Resulting Numbers: [192] 192,21 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,21 unequal: No Solution Exploring Operation: 24+8=32, Resulting Numbers: [32] 32,21 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 33, 69, 12, 96 ]
60
[ "69+96=165", "165/33=5", "12*5=60" ]
Current State: 60:[33, 69, 12, 96], Operations: [] Exploring Operation: 69+96=165, Resulting Numbers: [33, 12, 165] Generated Node #2: [33, 12, 165] from Operation: 69+96=165 Current State: 60:[33, 12, 165], Operations: ['69+96=165'] Exploring Operation: 165/33=5, Resulting Numbers: [12, 5] Generated Node #3: [12, 5] from Operation: 165/33=5 Current State: 60:[12, 5], Operations: ['69+96=165', '165/33=5'] Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[33, 69, 12, 96], Operations: [] Exploring Operation: 96-69=27, Resulting Numbers: [33, 12, 27] Generated Node #0,0: 60:[33, 12, 27] Operation: 96-69=27 Moving to Node #0,0 Current State: 60:[33, 12, 27], Operations: ['96-69=27'] Exploring Operation: 33+27=60, Resulting Numbers: [12, 60] Generated Node #0,0,0: 60:[12, 60] Operation: 33+27=60 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[12, 60], Operations: ['96-69=27', '33+27=60'] Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,60 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
[ 50, 48, 87, 80 ]
47
[ "50-48=2", "80/2=40", "87-40=47" ]
Current State: 47:[50, 48, 87, 80], Operations: [] Exploring Operation: 50-48=2, Resulting Numbers: [87, 80, 2] Generated Node #2: [87, 80, 2] from Operation: 50-48=2 Current State: 47:[87, 80, 2], Operations: ['50-48=2'] Exploring Operation: 80/2=40, Resulting Numbers: [87, 40] Generated Node #3: [87, 40] from Operation: 80/2=40 Current State: 47:[87, 40], Operations: ['50-48=2', '80/2=40'] Exploring Operation: 87-40=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[50, 48, 87, 80], Operations: [] Exploring Operation: 87-80=7, Resulting Numbers: [50, 48, 7] Generated Node #0,0: 47:[50, 48, 7] Operation: 87-80=7 Exploring Operation: 87-48=39, Resulting Numbers: [50, 80, 39] Generated Node #0,1: 47:[50, 80, 39] Operation: 87-48=39 Exploring Operation: 87-50=37, Resulting Numbers: [48, 80, 37] Generated Node #0,2: 47:[48, 80, 37] Operation: 87-50=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[50, 48, 7], Operations: ['87-80=7'] Exploring Operation: 50-7=43, Resulting Numbers: [48, 43] Generated Node #0,0,0: 47:[48, 43] Operation: 50-7=43 Exploring Operation: 50+7=57, Resulting Numbers: [48, 57] Generated Node #0,0,1: 47:[48, 57] Operation: 50+7=57 Exploring Operation: 48-7=41, Resulting Numbers: [50, 41] Generated Node #0,0,2: 47:[50, 41] Operation: 48-7=41 Moving to Node #0,0,0 Current State: 47:[48, 43], Operations: ['87-80=7', '50-7=43'] Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,47 unequal: No Solution Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,47 unequal: No Solution Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[50, 41], Operations: ['87-80=7', '48-7=41'] Exploring Operation: 50*41=2050, Resulting Numbers: [2050] 2050,47 unequal: No Solution Exploring Operation: 50-41=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 50+41=91, Resulting Numbers: [91] 91,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[48, 57], Operations: ['87-80=7', '50+7=57'] Exploring Operation: 48+57=105, Resulting Numbers: [105] 105,47 unequal: No Solution Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 48*57=2736, Resulting Numbers: [2736] 2736,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[50, 80, 39], Operations: ['87-48=39'] Exploring Operation: 80-50=30, Resulting Numbers: [39, 30] Generated Node #0,1,0: 47:[39, 30] Operation: 80-50=30 Exploring Operation: 80-39=41, Resulting Numbers: [50, 41] Generated Node #0,1,1: 47:[50, 41] Operation: 80-39=41 Exploring Operation: 50-39=11, Resulting Numbers: [80, 11] Generated Node #0,1,2: 47:[80, 11] Operation: 50-39=11 Moving to Node #0,1,1 Current State: 47:[50, 41], Operations: ['87-48=39', '80-39=41'] Exploring Operation: 50-41=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 50+41=91, Resulting Numbers: [91] 91,47 unequal: No Solution Exploring Operation: 50*41=2050, Resulting Numbers: [2050] 2050,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[39, 30], Operations: ['87-48=39', '80-50=30'] Exploring Operation: 39*30=1170, Resulting Numbers: [1170] 1170,47 unequal: No Solution Exploring Operation: 39+30=69, Resulting Numbers: [69] 69,47 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[80, 11], Operations: ['87-48=39', '50-39=11'] Exploring Operation: 80+11=91, Resulting Numbers: [91] 91,47 unequal: No Solution Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,47 unequal: No Solution Exploring Operation: 80*11=880, Resulting Numbers: [880] 880,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[48, 80, 37], Operations: ['87-50=37'] Exploring Operation: 80-48=32, Resulting Numbers: [37, 32] Generated Node #0,2,0: 47:[37, 32] Operation: 80-48=32 Exploring Operation: 80-37=43, Resulting Numbers: [48, 43] Generated Node #0,2,1: 47:[48, 43] Operation: 80-37=43 Exploring Operation: 48-37=11, Resulting Numbers: [80, 11] Generated Node #0,2,2: 47:[80, 11] Operation: 48-37=11 Moving to Node #0,2,1 Current State: 47:[48, 43], Operations: ['87-50=37', '80-37=43'] Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,47 unequal: No Solution Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,47 unequal: No Solution Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[37, 32], Operations: ['87-50=37', '80-48=32'] Exploring Operation: 37*32=1184, Resulting Numbers: [1184] 1184,47 unequal: No Solution Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,47 unequal: No Solution Exploring Operation: 37+32=69, Resulting Numbers: [69] 69,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[80, 11], Operations: ['87-50=37', '48-37=11'] Exploring Operation: 80*11=880, Resulting Numbers: [880] 880,47 unequal: No Solution Exploring Operation: 80+11=91, Resulting Numbers: [91] 91,47 unequal: No Solution Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 93, 39, 31, 85 ]
32
[ "93*39=3627", "3627/31=117", "117-85=32" ]
Current State: 32:[93, 39, 31, 85], Operations: [] Exploring Operation: 93*39=3627, Resulting Numbers: [31, 85, 3627] Generated Node #2: [31, 85, 3627] from Operation: 93*39=3627 Current State: 32:[31, 85, 3627], Operations: ['93*39=3627'] Exploring Operation: 3627/31=117, Resulting Numbers: [85, 117] Generated Node #3: [85, 117] from Operation: 3627/31=117 Current State: 32:[85, 117], Operations: ['93*39=3627', '3627/31=117'] Exploring Operation: 117-85=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[93, 39, 31, 85], Operations: [] Exploring Operation: 93-85=8, Resulting Numbers: [39, 31, 8] Generated Node #0,0: 32:[39, 31, 8] Operation: 93-85=8 Exploring Operation: 85-39=46, Resulting Numbers: [93, 31, 46] Generated Node #0,1: 32:[93, 31, 46] Operation: 85-39=46 Exploring Operation: 93-39=54, Resulting Numbers: [31, 85, 54] Generated Node #0,2: 32:[31, 85, 54] Operation: 93-39=54 Exploring Operation: 93-31=62, Resulting Numbers: [39, 85, 62] Generated Node #0,3: 32:[39, 85, 62] Operation: 93-31=62 Exploring Operation: 93/31=3, Resulting Numbers: [39, 85, 3] Generated Node #0,4: 32:[39, 85, 3] Operation: 93/31=3 Moving to Node #0,0 Current State: 32:[39, 31, 8], Operations: ['93-85=8'] Exploring Operation: 31-8=23, Resulting Numbers: [39, 23] Generated Node #0,0,0: 32:[39, 23] Operation: 31-8=23 Exploring Operation: 39-31=8, Resulting Numbers: [8, 8] Generated Node #0,0,1: 32:[8, 8] Operation: 39-31=8 Exploring Operation: 31+8=39, Resulting Numbers: [39, 39] Generated Node #0,0,2: 32:[39, 39] Operation: 31+8=39 Exploring Operation: 39+8=47, Resulting Numbers: [31, 47] Generated Node #0,0,3: 32:[31, 47] Operation: 39+8=47 Exploring Operation: 39-8=31, Resulting Numbers: [31, 31] Generated Node #0,0,4: 32:[31, 31] Operation: 39-8=31 Moving to Node #0,4 Current State: 32:[39, 85, 3], Operations: ['93/31=3'] Exploring Operation: 85-39=46, Resulting Numbers: [3, 46] Generated Node #0,4,0: 32:[3, 46] Operation: 85-39=46 Exploring Operation: 39-3=36, Resulting Numbers: [85, 36] Generated Node #0,4,1: 32:[85, 36] Operation: 39-3=36 Exploring Operation: 39/3=13, Resulting Numbers: [85, 13] Generated Node #0,4,2: 32:[85, 13] Operation: 39/3=13 Exploring Operation: 39+3=42, Resulting Numbers: [85, 42] Generated Node #0,4,3: 32:[85, 42] Operation: 39+3=42 Exploring Operation: 85-3=82, Resulting Numbers: [39, 82] Generated Node #0,4,4: 32:[39, 82] Operation: 85-3=82 Moving to Node #0,1 Current State: 32:[93, 31, 46], Operations: ['85-39=46'] Exploring Operation: 93+31=124, Resulting Numbers: [46, 124] Generated Node #0,1,0: 32:[46, 124] Operation: 93+31=124 Exploring Operation: 46-31=15, Resulting Numbers: [93, 15] Generated Node #0,1,1: 32:[93, 15] Operation: 46-31=15 Exploring Operation: 93-31=62, Resulting Numbers: [46, 62] Generated Node #0,1,2: 32:[46, 62] Operation: 93-31=62 Exploring Operation: 93/31=3, Resulting Numbers: [46, 3] Generated Node #0,1,3: 32:[46, 3] Operation: 93/31=3 Exploring Operation: 93-46=47, Resulting Numbers: [31, 47] Generated Node #0,1,4: 32:[31, 47] Operation: 93-46=47 Moving to Node #0,2 Current State: 32:[31, 85, 54], Operations: ['93-39=54'] Exploring Operation: 54-31=23, Resulting Numbers: [85, 23] Generated Node #0,2,0: 32:[85, 23] Operation: 54-31=23 Exploring Operation: 85-31=54, Resulting Numbers: [54, 54] Generated Node #0,2,1: 32:[54, 54] Operation: 85-31=54 Exploring Operation: 31+85=116, Resulting Numbers: [54, 116] Generated Node #0,2,2: 32:[54, 116] Operation: 31+85=116 Exploring Operation: 85-54=31, Resulting Numbers: [31, 31] Generated Node #0,2,3: 32:[31, 31] Operation: 85-54=31 Exploring Operation: 31+54=85, Resulting Numbers: [85, 85] Generated Node #0,2,4: 32:[85, 85] Operation: 31+54=85 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 32:[31, 31], Operations: ['93-39=54', '85-54=31'] Exploring Operation: 31/31=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 31-31=0, Resulting Numbers: [0] 0,32 unequal: No Solution Exploring Operation: 31*31=961, Resulting Numbers: [961] 961,32 unequal: No Solution Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 32:[54, 54], Operations: ['93-39=54', '85-31=54'] Exploring Operation: 54+54=108, Resulting Numbers: [108] 108,32 unequal: No Solution Exploring Operation: 54/54=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 54-54=0, Resulting Numbers: [0] 0,32 unequal: No Solution Exploring Operation: 54*54=2916, Resulting Numbers: [2916] 2916,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[85, 23], Operations: ['93-39=54', '54-31=23'] Exploring Operation: 85*23=1955, Resulting Numbers: [1955] 1955,32 unequal: No Solution Exploring Operation: 85+23=108, Resulting Numbers: [108] 108,32 unequal: No Solution Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 32:[54, 116], Operations: ['93-39=54', '31+85=116'] Exploring Operation: 54+116=170, Resulting Numbers: [170] 170,32 unequal: No Solution Exploring Operation: 116-54=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 54*116=6264, Resulting Numbers: [6264] 6264,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 32:[85, 85], Operations: ['93-39=54', '31+54=85'] Exploring Operation: 85*85=7225, Resulting Numbers: [7225] 7225,32 unequal: No Solution Exploring Operation: 85/85=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 85+85=170, Resulting Numbers: [170] 170,32 unequal: No Solution Exploring Operation: 85-85=0, Resulting Numbers: [0] 0,32 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: 32:[39, 85, 62], Operations: ['93-31=62'] Exploring Operation: 39+62=101, Resulting Numbers: [85, 101] Generated Node #0,3,0: 32:[85, 101] Operation: 39+62=101 Exploring Operation: 85-62=23, Resulting Numbers: [39, 23] Generated Node #0,3,1: 32:[39, 23] Operation: 85-62=23 Exploring Operation: 62-39=23, Resulting Numbers: [85, 23] Generated Node #0,3,2: 32:[85, 23] Operation: 62-39=23 Exploring Operation: 85-39=46, Resulting Numbers: [62, 46] Generated Node #0,3,3: 32:[62, 46] Operation: 85-39=46 Exploring Operation: 39+85=124, Resulting Numbers: [62, 124] Generated Node #0,3,4: 32:[62, 124] Operation: 39+85=124 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 32:[39, 23], Operations: ['93-31=62', '85-62=23'] Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 39+23=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 39*23=897, Resulting Numbers: [897] 897,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 32:[62, 46], Operations: ['93-31=62', '85-39=46'] Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 62+46=108, Resulting Numbers: [108] 108,32 unequal: No Solution Exploring Operation: 62*46=2852, Resulting Numbers: [2852] 2852,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 32:[85, 23], Operations: ['93-31=62', '62-39=23'] Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 85+23=108, Resulting Numbers: [108] 108,32 unequal: No Solution Exploring Operation: 85*23=1955, Resulting Numbers: [1955] 1955,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 32:[85, 101], Operations: ['93-31=62', '39+62=101'] Exploring Operation: 85+101=186, Resulting Numbers: [186] 186,32 unequal: No Solution Exploring Operation: 85*101=8585, Resulting Numbers: [8585] 8585,32 unequal: No Solution Exploring Operation: 101-85=16, Resulting Numbers: [16] 16,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 32:[62, 124], Operations: ['93-31=62', '39+85=124'] Exploring Operation: 124-62=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 124/62=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 62*124=7688, Resulting Numbers: [7688] 7688,32 unequal: No Solution Exploring Operation: 62+124=186, Resulting Numbers: [186] 186,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 32:[8, 8], Operations: ['93-85=8', '39-31=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,32 unequal: No Solution Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,32 unequal: No Solution Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,32 unequal: No Solution Moving to Node #0,0,4 Current State: 32:[31, 31], Operations: ['93-85=8', '39-8=31'] Exploring Operation: 31*31=961, Resulting Numbers: [961] 961,32 unequal: No Solution Exploring Operation: 31-31=0, Resulting Numbers: [0] 0,32 unequal: No Solution Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 31/31=1, Resulting Numbers: [1] 1,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[39, 23], Operations: ['93-85=8', '31-8=23'] Exploring Operation: 39+23=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 39*23=897, Resulting Numbers: [897] 897,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[39, 39], Operations: ['93-85=8', '31+8=39'] Exploring Operation: 39*39=1521, Resulting Numbers: [1521] 1521,32 unequal: No Solution Exploring Operation: 39+39=78, Resulting Numbers: [78] 78,32 unequal: No Solution Exploring Operation: 39/39=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 39-39=0, Resulting Numbers: [0] 0,32 unequal: No Solution Moving to Node #0,4,0 Current State: 32:[3, 46], Operations: ['93/31=3', '85-39=46'] Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,32 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,32 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[46, 3], Operations: ['85-39=46', '93/31=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,32 unequal: No Solution Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,32 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,32 unequal: No Solution Moving to Node #0,1,4 Current State: 32:[31, 47], Operations: ['85-39=46', '93-46=47'] Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 31+47=78, Resulting Numbers: [78] 78,32 unequal: No Solution Exploring Operation: 31*47=1457, Resulting Numbers: [1457] 1457,32 unequal: No Solution Moving to Node #0,0,3 Current State: 32:[31, 47], Operations: ['93-85=8', '39+8=47'] Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 31+47=78, Resulting Numbers: [78] 78,32 unequal: No Solution Exploring Operation: 31*47=1457, Resulting Numbers: [1457] 1457,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[46, 62], Operations: ['85-39=46', '93-31=62'] Exploring Operation: 46+62=108, Resulting Numbers: [108] 108,32 unequal: No Solution Exploring Operation: 46*62=2852, Resulting Numbers: [2852] 2852,32 unequal: No Solution Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,32 unequal: No Solution Moving to Node #0,4,2 Current State: 32:[85, 13], Operations: ['93/31=3', '39/3=13'] Exploring Operation: 85*13=1105, Resulting Numbers: [1105] 1105,32 unequal: No Solution Exploring Operation: 85-13=72, Resulting Numbers: [72] 72,32 unequal: No Solution Exploring Operation: 85+13=98, Resulting Numbers: [98] 98,32 unequal: No Solution Moving to Node #0,4,4 Current State: 32:[39, 82], Operations: ['93/31=3', '85-3=82'] Exploring Operation: 39+82=121, Resulting Numbers: [121] 121,32 unequal: No Solution Exploring Operation: 82-39=43, Resulting Numbers: [43] 43,32 unequal: No Solution Exploring Operation: 39*82=3198, Resulting Numbers: [3198] 3198,32 unequal: No Solution Moving to Node #0,4,1 Current State: 32:[85, 36], Operations: ['93/31=3', '39-3=36'] Exploring Operation: 85+36=121, Resulting Numbers: [121] 121,32 unequal: No Solution Exploring Operation: 85*36=3060, Resulting Numbers: [3060] 3060,32 unequal: No Solution Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[93, 15], Operations: ['85-39=46', '46-31=15'] Exploring Operation: 93*15=1395, Resulting Numbers: [1395] 1395,32 unequal: No Solution Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,32 unequal: No Solution Exploring Operation: 93+15=108, Resulting Numbers: [108] 108,32 unequal: No Solution Moving to Node #0,4,3 Current State: 32:[85, 42], Operations: ['93/31=3', '39+3=42'] Exploring Operation: 85*42=3570, Resulting Numbers: [3570] 3570,32 unequal: No Solution Exploring Operation: 85+42=127, Resulting Numbers: [127] 127,32 unequal: No Solution Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[46, 124], Operations: ['85-39=46', '93+31=124'] Exploring Operation: 46*124=5704, Resulting Numbers: [5704] 5704,32 unequal: No Solution Exploring Operation: 46+124=170, Resulting Numbers: [170] 170,32 unequal: No Solution Exploring Operation: 124-46=78, Resulting Numbers: [78] 78,32 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 85, 66, 88, 22 ]
44
[ "88-85=3", "66/3=22", "22+22=44" ]
Current State: 44:[85, 66, 88, 22], Operations: [] Exploring Operation: 88-85=3, Resulting Numbers: [66, 22, 3] Generated Node #2: [66, 22, 3] from Operation: 88-85=3 Current State: 44:[66, 22, 3], Operations: ['88-85=3'] Exploring Operation: 66/3=22, Resulting Numbers: [22, 22] Generated Node #3: [22, 22] from Operation: 66/3=22 Current State: 44:[22, 22], Operations: ['88-85=3', '66/3=22'] Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[85, 66, 88, 22], Operations: [] Exploring Operation: 88-85=3, Resulting Numbers: [66, 22, 3] Generated Node #0,0: 44:[66, 22, 3] Operation: 88-85=3 Exploring Operation: 88-66=22, Resulting Numbers: [85, 22, 22] Generated Node #0,1: 44:[85, 22, 22] Operation: 88-66=22 Exploring Operation: 85-66=19, Resulting Numbers: [88, 22, 19] Generated Node #0,2: 44:[88, 22, 19] Operation: 85-66=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[66, 22, 3], Operations: ['88-85=3'] Exploring Operation: 66-22=44, Resulting Numbers: [3, 44] Generated Node #0,0,0: 44:[3, 44] Operation: 66-22=44 Exploring Operation: 66/22=3, Resulting Numbers: [3, 3] Generated Node #0,0,1: 44:[3, 3] Operation: 66/22=3 Exploring Operation: 66/3=22, Resulting Numbers: [22, 22] Generated Node #0,0,2: 44:[22, 22] Operation: 66/3=22 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 44:[22, 22], Operations: ['88-85=3', '66/3=22'] Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,44 unequal: No Solution Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[85, 66, 88, 22], Operations: [] Exploring Operation: 88-85=3, Resulting Numbers: [66, 22, 3] Generated Node #0,0: 44:[66, 22, 3] Operation: 88-85=3 Moving to Node #0,0 Current State: 44:[66, 22, 3], Operations: ['88-85=3'] Exploring Operation: 66/3=22, Resulting Numbers: [22, 22] Generated Node #0,0,2: 44:[22, 22] Operation: 66/3=22 Moving to Node #0,0,2 Current State: 44:[22, 22], Operations: ['88-85=3', '66/3=22'] Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 43, 47, 72, 30 ]
12
[ "43+47=90", "72+30=102", "102-90=12" ]
Current State: 12:[43, 47, 72, 30], Operations: [] Exploring Operation: 43+47=90, Resulting Numbers: [72, 30, 90] Generated Node #2: [72, 30, 90] from Operation: 43+47=90 Current State: 12:[72, 30, 90], Operations: ['43+47=90'] Exploring Operation: 72+30=102, Resulting Numbers: [90, 102] Generated Node #3: [90, 102] from Operation: 72+30=102 Current State: 12:[90, 102], Operations: ['43+47=90', '72+30=102'] Exploring Operation: 102-90=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[43, 47, 72, 30], Operations: [] Exploring Operation: 72-47=25, Resulting Numbers: [43, 30, 25] Generated Node #0,0: 12:[43, 30, 25] Operation: 72-47=25 Moving to Node #0,0 Current State: 12:[43, 30, 25], Operations: ['72-47=25'] Exploring Operation: 43-30=13, Resulting Numbers: [25, 13] Generated Node #0,0,0: 12:[25, 13] Operation: 43-30=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[25, 13], Operations: ['72-47=25', '43-30=13'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[43, 47, 72, 30], Operations: [] Exploring Operation: 72-47=25, Resulting Numbers: [43, 30, 25] Generated Node #0,0: 12:[43, 30, 25] Operation: 72-47=25 Moving to Node #0,0 Current State: 12:[43, 30, 25], Operations: ['72-47=25'] Exploring Operation: 43-30=13, Resulting Numbers: [25, 13] Generated Node #0,0,0: 12:[25, 13] Operation: 43-30=13 Moving to Node #0,0,0 Current State: 12:[25, 13], Operations: ['72-47=25', '43-30=13'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 92, 69, 73, 52 ]
75
[ "73-69=4", "92/4=23", "52+23=75" ]
Current State: 75:[92, 69, 73, 52], Operations: [] Exploring Operation: 73-69=4, Resulting Numbers: [92, 52, 4] Generated Node #2: [92, 52, 4] from Operation: 73-69=4 Current State: 75:[92, 52, 4], Operations: ['73-69=4'] Exploring Operation: 92/4=23, Resulting Numbers: [52, 23] Generated Node #3: [52, 23] from Operation: 92/4=23 Current State: 75:[52, 23], Operations: ['73-69=4', '92/4=23'] Exploring Operation: 52+23=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[92, 69, 73, 52], Operations: [] Exploring Operation: 69-52=17, Resulting Numbers: [92, 73, 17] Generated Node #0,0: 75:[92, 73, 17] Operation: 69-52=17 Exploring Operation: 92-52=40, Resulting Numbers: [69, 73, 40] Generated Node #0,1: 75:[69, 73, 40] Operation: 92-52=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[92, 73, 17], Operations: ['69-52=17'] Exploring Operation: 92-73=19, Resulting Numbers: [17, 19] Generated Node #0,0,0: 75:[17, 19] Operation: 92-73=19 Exploring Operation: 92-17=75, Resulting Numbers: [73, 75] Generated Node #0,0,1: 75:[73, 75] Operation: 92-17=75 Moving to Node #0,0,1 Current State: 75:[73, 75], Operations: ['69-52=17', '92-17=75'] Exploring Operation: 75-73=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 73+75=148, Resulting Numbers: [148] 148,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[17, 19], Operations: ['69-52=17', '92-73=19'] Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,75 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[69, 73, 40], Operations: ['92-52=40'] Exploring Operation: 73-40=33, Resulting Numbers: [69, 33] Generated Node #0,1,0: 75:[69, 33] Operation: 73-40=33 Exploring Operation: 69-40=29, Resulting Numbers: [73, 29] Generated Node #0,1,1: 75:[73, 29] Operation: 69-40=29 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[73, 29], Operations: ['92-52=40', '69-40=29'] Exploring Operation: 73-29=44, Resulting Numbers: [44] 44,75 unequal: No Solution Exploring Operation: 73+29=102, Resulting Numbers: [102] 102,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[69, 33], Operations: ['92-52=40', '73-40=33'] Exploring Operation: 69-33=36, Resulting Numbers: [36] 36,75 unequal: No Solution Exploring Operation: 69+33=102, Resulting Numbers: [102] 102,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 17, 13, 25, 89 ]
84
[ "17+13=30", "25+89=114", "114-30=84" ]
Current State: 84:[17, 13, 25, 89], Operations: [] Exploring Operation: 17+13=30, Resulting Numbers: [25, 89, 30] Generated Node #2: [25, 89, 30] from Operation: 17+13=30 Current State: 84:[25, 89, 30], Operations: ['17+13=30'] Exploring Operation: 25+89=114, Resulting Numbers: [30, 114] Generated Node #3: [30, 114] from Operation: 25+89=114 Current State: 84:[30, 114], Operations: ['17+13=30', '25+89=114'] Exploring Operation: 114-30=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[17, 13, 25, 89], Operations: [] Exploring Operation: 25-17=8, Resulting Numbers: [13, 89, 8] Generated Node #0,0: 84:[13, 89, 8] Operation: 25-17=8 Exploring Operation: 17+25=42, Resulting Numbers: [13, 89, 42] Generated Node #0,1: 84:[13, 89, 42] Operation: 17+25=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[13, 89, 42], Operations: ['17+25=42'] Exploring Operation: 42-13=29, Resulting Numbers: [89, 29] Generated Node #0,1,0: 84:[89, 29] Operation: 42-13=29 Exploring Operation: 89-42=47, Resulting Numbers: [13, 47] Generated Node #0,1,1: 84:[13, 47] Operation: 89-42=47 Moving to Node #0,1,0 Current State: 84:[89, 29], Operations: ['17+25=42', '42-13=29'] Exploring Operation: 89-29=60, Resulting Numbers: [60] 60,84 unequal: No Solution Exploring Operation: 89+29=118, Resulting Numbers: [118] 118,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[13, 47], Operations: ['17+25=42', '89-42=47'] Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,84 unequal: No Solution Exploring Operation: 13+47=60, Resulting Numbers: [60] 60,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[13, 89, 8], Operations: ['25-17=8'] Exploring Operation: 89-8=81, Resulting Numbers: [13, 81] Generated Node #0,0,0: 84:[13, 81] Operation: 89-8=81 Exploring Operation: 13+8=21, Resulting Numbers: [89, 21] Generated Node #0,0,1: 84:[89, 21] Operation: 13+8=21 Moving to Node #0,0,0 Current State: 84:[13, 81], Operations: ['25-17=8', '89-8=81'] Exploring Operation: 13+81=94, Resulting Numbers: [94] 94,84 unequal: No Solution Exploring Operation: 81-13=68, Resulting Numbers: [68] 68,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[89, 21], Operations: ['25-17=8', '13+8=21'] Exploring Operation: 89-21=68, Resulting Numbers: [68] 68,84 unequal: No Solution Exploring Operation: 89+21=110, Resulting Numbers: [110] 110,84 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
[ 86, 79, 66, 6 ]
41
[ "86-66=20", "6*20=120", "120-79=41" ]
Current State: 41:[86, 79, 66, 6], Operations: [] Exploring Operation: 86-66=20, Resulting Numbers: [79, 6, 20] Generated Node #2: [79, 6, 20] from Operation: 86-66=20 Current State: 41:[79, 6, 20], Operations: ['86-66=20'] Exploring Operation: 6*20=120, Resulting Numbers: [79, 120] Generated Node #3: [79, 120] from Operation: 6*20=120 Current State: 41:[79, 120], Operations: ['86-66=20', '6*20=120'] Exploring Operation: 120-79=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[86, 79, 66, 6], Operations: [] Exploring Operation: 66-6=60, Resulting Numbers: [86, 79, 60] Generated Node #0,0: 41:[86, 79, 60] Operation: 66-6=60 Exploring Operation: 86-6=80, Resulting Numbers: [79, 66, 80] Generated Node #0,1: 41:[79, 66, 80] Operation: 86-6=80 Exploring Operation: 79-6=73, Resulting Numbers: [86, 66, 73] Generated Node #0,2: 41:[86, 66, 73] Operation: 79-6=73 Exploring Operation: 86-79=7, Resulting Numbers: [66, 6, 7] Generated Node #0,3: 41:[66, 6, 7] Operation: 86-79=7 Exploring Operation: 86-66=20, Resulting Numbers: [79, 6, 20] Generated Node #0,4: 41:[79, 6, 20] Operation: 86-66=20 Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[66, 6, 7], Operations: ['86-79=7'] Exploring Operation: 66-6=60, Resulting Numbers: [7, 60] Generated Node #0,3,0: 41:[7, 60] Operation: 66-6=60 Exploring Operation: 6*7=42, Resulting Numbers: [66, 42] Generated Node #0,3,1: 41:[66, 42] Operation: 6*7=42 Exploring Operation: 6+7=13, Resulting Numbers: [66, 13] Generated Node #0,3,2: 41:[66, 13] Operation: 6+7=13 Exploring Operation: 66-7=59, Resulting Numbers: [6, 59] Generated Node #0,3,3: 41:[6, 59] Operation: 66-7=59 Exploring Operation: 66/6=11, Resulting Numbers: [7, 11] Generated Node #0,3,4: 41:[7, 11] Operation: 66/6=11 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 41:[66, 42], Operations: ['86-79=7', '6*7=42'] Exploring Operation: 66+42=108, Resulting Numbers: [108] 108,41 unequal: No Solution Exploring Operation: 66*42=2772, Resulting Numbers: [2772] 2772,41 unequal: No Solution Exploring Operation: 66-42=24, Resulting Numbers: [24] 24,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 41:[7, 60], Operations: ['86-79=7', '66-6=60'] Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,41 unequal: No Solution Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,41 unequal: No Solution Exploring Operation: 7*60=420, Resulting Numbers: [420] 420,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 41:[66, 13], Operations: ['86-79=7', '6+7=13'] Exploring Operation: 66+13=79, Resulting Numbers: [79] 79,41 unequal: No Solution Exploring Operation: 66-13=53, Resulting Numbers: [53] 53,41 unequal: No Solution Exploring Operation: 66*13=858, Resulting Numbers: [858] 858,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 41:[6, 59], Operations: ['86-79=7', '66-7=59'] Exploring Operation: 6*59=354, Resulting Numbers: [354] 354,41 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,41 unequal: No Solution Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 41:[7, 11], Operations: ['86-79=7', '66/6=11'] Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,41 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 41:[79, 6, 20], Operations: ['86-66=20'] Exploring Operation: 79-6=73, Resulting Numbers: [20, 73] Generated Node #0,4,0: 41:[20, 73] Operation: 79-6=73 Exploring Operation: 20-6=14, Resulting Numbers: [79, 14] Generated Node #0,4,1: 41:[79, 14] Operation: 20-6=14 Exploring Operation: 79+6=85, Resulting Numbers: [20, 85] Generated Node #0,4,2: 41:[20, 85] Operation: 79+6=85 Exploring Operation: 79-20=59, Resulting Numbers: [6, 59] Generated Node #0,4,3: 41:[6, 59] Operation: 79-20=59 Exploring Operation: 6+20=26, Resulting Numbers: [79, 26] Generated Node #0,4,4: 41:[79, 26] Operation: 6+20=26 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 41:[20, 73], Operations: ['86-66=20', '79-6=73'] Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,41 unequal: No Solution Exploring Operation: 20+73=93, Resulting Numbers: [93] 93,41 unequal: No Solution Exploring Operation: 20*73=1460, Resulting Numbers: [1460] 1460,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 41:[6, 59], Operations: ['86-66=20', '79-20=59'] Exploring Operation: 6*59=354, Resulting Numbers: [354] 354,41 unequal: No Solution Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 41:[79, 26], Operations: ['86-66=20', '6+20=26'] Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,41 unequal: No Solution Exploring Operation: 79*26=2054, Resulting Numbers: [2054] 2054,41 unequal: No Solution Exploring Operation: 79+26=105, Resulting Numbers: [105] 105,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 41:[79, 14], Operations: ['86-66=20', '20-6=14'] Exploring Operation: 79*14=1106, Resulting Numbers: [1106] 1106,41 unequal: No Solution Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 79+14=93, Resulting Numbers: [93] 93,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 41:[20, 85], Operations: ['86-66=20', '79+6=85'] Exploring Operation: 20*85=1700, Resulting Numbers: [1700] 1700,41 unequal: No Solution Exploring Operation: 85-20=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 20+85=105, Resulting Numbers: [105] 105,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[86, 79, 60], Operations: ['66-6=60'] Exploring Operation: 86-79=7, Resulting Numbers: [60, 7] Generated Node #0,0,0: 41:[60, 7] Operation: 86-79=7 Exploring Operation: 86+79=165, Resulting Numbers: [60, 165] Generated Node #0,0,1: 41:[60, 165] Operation: 86+79=165 Exploring Operation: 79-60=19, Resulting Numbers: [86, 19] Generated Node #0,0,2: 41:[86, 19] Operation: 79-60=19 Exploring Operation: 86+60=146, Resulting Numbers: [79, 146] Generated Node #0,0,3: 41:[79, 146] Operation: 86+60=146 Exploring Operation: 86-60=26, Resulting Numbers: [79, 26] Generated Node #0,0,4: 41:[79, 26] Operation: 86-60=26 Moving to Node #0,0,0 Current State: 41:[60, 7], Operations: ['66-6=60', '86-79=7'] Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,41 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,41 unequal: No Solution Exploring Operation: 60*7=420, Resulting Numbers: [420] 420,41 unequal: No Solution Moving to Node #0,0,4 Current State: 41:[79, 26], Operations: ['66-6=60', '86-60=26'] Exploring Operation: 79*26=2054, Resulting Numbers: [2054] 2054,41 unequal: No Solution Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,41 unequal: No Solution Exploring Operation: 79+26=105, Resulting Numbers: [105] 105,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[86, 19], Operations: ['66-6=60', '79-60=19'] Exploring Operation: 86+19=105, Resulting Numbers: [105] 105,41 unequal: No Solution Exploring Operation: 86*19=1634, Resulting Numbers: [1634] 1634,41 unequal: No Solution Exploring Operation: 86-19=67, Resulting Numbers: [67] 67,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[60, 165], Operations: ['66-6=60', '86+79=165'] Exploring Operation: 60+165=225, Resulting Numbers: [225] 225,41 unequal: No Solution Exploring Operation: 60*165=9900, Resulting Numbers: [9900] 9900,41 unequal: No Solution Exploring Operation: 165-60=105, Resulting Numbers: [105] 105,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[79, 146], Operations: ['66-6=60', '86+60=146'] Exploring Operation: 79*146=11534, Resulting Numbers: [11534] 11534,41 unequal: No Solution Exploring Operation: 79+146=225, Resulting Numbers: [225] 225,41 unequal: No Solution Exploring Operation: 146-79=67, Resulting Numbers: [67] 67,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[79, 66, 80], Operations: ['86-6=80'] Exploring Operation: 80-79=1, Resulting Numbers: [66, 1] Generated Node #0,1,0: 41:[66, 1] Operation: 80-79=1 Exploring Operation: 80-66=14, Resulting Numbers: [79, 14] Generated Node #0,1,1: 41:[79, 14] Operation: 80-66=14 Exploring Operation: 79+66=145, Resulting Numbers: [80, 145] Generated Node #0,1,2: 41:[80, 145] Operation: 79+66=145 Exploring Operation: 79-66=13, Resulting Numbers: [80, 13] Generated Node #0,1,3: 41:[80, 13] Operation: 79-66=13 Exploring Operation: 79+80=159, Resulting Numbers: [66, 159] Generated Node #0,1,4: 41:[66, 159] Operation: 79+80=159 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[66, 1], Operations: ['86-6=80', '80-79=1'] Exploring Operation: 66+1=67, Resulting Numbers: [67] 67,41 unequal: No Solution Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,41 unequal: No Solution Exploring Operation: 66*1=66, Resulting Numbers: [66] 66,41 unequal: No Solution Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[79, 14], Operations: ['86-6=80', '80-66=14'] Exploring Operation: 79*14=1106, Resulting Numbers: [1106] 1106,41 unequal: No Solution Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 79+14=93, Resulting Numbers: [93] 93,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 41:[80, 13], Operations: ['86-6=80', '79-66=13'] Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,41 unequal: No Solution Exploring Operation: 80+13=93, Resulting Numbers: [93] 93,41 unequal: No Solution Exploring Operation: 80*13=1040, Resulting Numbers: [1040] 1040,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 41:[80, 145], Operations: ['86-6=80', '79+66=145'] Exploring Operation: 145-80=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 80+145=225, Resulting Numbers: [225] 225,41 unequal: No Solution Exploring Operation: 80*145=11600, Resulting Numbers: [11600] 11600,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 41:[66, 159], Operations: ['86-6=80', '79+80=159'] Exploring Operation: 66*159=10494, Resulting Numbers: [10494] 10494,41 unequal: No Solution Exploring Operation: 66+159=225, Resulting Numbers: [225] 225,41 unequal: No Solution Exploring Operation: 159-66=93, Resulting Numbers: [93] 93,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[86, 66, 73], Operations: ['79-6=73'] Exploring Operation: 86-66=20, Resulting Numbers: [73, 20] Generated Node #0,2,0: 41:[73, 20] Operation: 86-66=20 Exploring Operation: 86+73=159, Resulting Numbers: [66, 159] Generated Node #0,2,1: 41:[66, 159] Operation: 86+73=159 Exploring Operation: 86+66=152, Resulting Numbers: [73, 152] Generated Node #0,2,2: 41:[73, 152] Operation: 86+66=152 Exploring Operation: 73-66=7, Resulting Numbers: [86, 7] Generated Node #0,2,3: 41:[86, 7] Operation: 73-66=7 Exploring Operation: 86-73=13, Resulting Numbers: [66, 13] Generated Node #0,2,4: 41:[66, 13] Operation: 86-73=13 Moving to Node #0,2,0 Current State: 41:[73, 20], Operations: ['79-6=73', '86-66=20'] Exploring Operation: 73*20=1460, Resulting Numbers: [1460] 1460,41 unequal: No Solution Exploring Operation: 73+20=93, Resulting Numbers: [93] 93,41 unequal: No Solution Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,41 unequal: No Solution Moving to Node #0,2,4 Current State: 41:[66, 13], Operations: ['79-6=73', '86-73=13'] Exploring Operation: 66-13=53, Resulting Numbers: [53] 53,41 unequal: No Solution Exploring Operation: 66+13=79, Resulting Numbers: [79] 79,41 unequal: No Solution Exploring Operation: 66*13=858, Resulting Numbers: [858] 858,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[86, 7], Operations: ['79-6=73', '73-66=7'] Exploring Operation: 86-7=79, Resulting Numbers: [79] 79,41 unequal: No Solution Exploring Operation: 86+7=93, Resulting Numbers: [93] 93,41 unequal: No Solution Exploring Operation: 86*7=602, Resulting Numbers: [602] 602,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[66, 159], Operations: ['79-6=73', '86+73=159'] Exploring Operation: 66+159=225, Resulting Numbers: [225] 225,41 unequal: No Solution Exploring Operation: 66*159=10494, Resulting Numbers: [10494] 10494,41 unequal: No Solution Exploring Operation: 159-66=93, Resulting Numbers: [93] 93,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[73, 152], Operations: ['79-6=73', '86+66=152'] Exploring Operation: 73+152=225, Resulting Numbers: [225] 225,41 unequal: No Solution Exploring Operation: 73*152=11096, Resulting Numbers: [11096] 11096,41 unequal: No Solution Exploring Operation: 152-73=79, Resulting Numbers: [79] 79,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 32, 90, 56, 41 ]
82
[ "90-32=58", "58-56=2", "41*2=82" ]
Current State: 82:[32, 90, 56, 41], Operations: [] Exploring Operation: 90-32=58, Resulting Numbers: [56, 41, 58] Generated Node #2: [56, 41, 58] from Operation: 90-32=58 Current State: 82:[56, 41, 58], Operations: ['90-32=58'] Exploring Operation: 58-56=2, Resulting Numbers: [41, 2] Generated Node #3: [41, 2] from Operation: 58-56=2 Current State: 82:[41, 2], Operations: ['90-32=58', '58-56=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[32, 90, 56, 41], Operations: [] Exploring Operation: 32+56=88, Resulting Numbers: [90, 41, 88] Generated Node #0,0: 82:[90, 41, 88] Operation: 32+56=88 Exploring Operation: 90-56=34, Resulting Numbers: [32, 41, 34] Generated Node #0,1: 82:[32, 41, 34] Operation: 90-56=34 Moving to Node #0,0 Current State: 82:[90, 41, 88], Operations: ['32+56=88'] Exploring Operation: 90-88=2, Resulting Numbers: [41, 2] Generated Node #0,0,0: 82:[41, 2] Operation: 90-88=2 Exploring Operation: 90-41=49, Resulting Numbers: [88, 49] Generated Node #0,0,1: 82:[88, 49] Operation: 90-41=49 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[41, 2], Operations: ['32+56=88', '90-88=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[32, 90, 56, 41], Operations: [] Exploring Operation: 32+56=88, Resulting Numbers: [90, 41, 88] Generated Node #0,0: 82:[90, 41, 88] Operation: 32+56=88 Moving to Node #0,0 Current State: 82:[90, 41, 88], Operations: ['32+56=88'] Exploring Operation: 90-88=2, Resulting Numbers: [41, 2] Generated Node #0,0,0: 82:[41, 2] Operation: 90-88=2 Moving to Node #0,0,0 Current State: 82:[41, 2], Operations: ['32+56=88', '90-88=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 78, 94, 75, 57 ]
97
[ "78*94=7332", "7332-57=7275", "7275/75=97" ]
Current State: 97:[78, 94, 75, 57], Operations: [] Exploring Operation: 78*94=7332, Resulting Numbers: [75, 57, 7332] Generated Node #2: [75, 57, 7332] from Operation: 78*94=7332 Current State: 97:[75, 57, 7332], Operations: ['78*94=7332'] Exploring Operation: 7332-57=7275, Resulting Numbers: [75, 7275] Generated Node #3: [75, 7275] from Operation: 7332-57=7275 Current State: 97:[75, 7275], Operations: ['78*94=7332', '7332-57=7275'] Exploring Operation: 7275/75=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[78, 94, 75, 57], Operations: [] Exploring Operation: 78+57=135, Resulting Numbers: [94, 75, 135] Generated Node #0,0: 97:[94, 75, 135] Operation: 78+57=135 Exploring Operation: 75+57=132, Resulting Numbers: [78, 94, 132] Generated Node #0,1: 97:[78, 94, 132] Operation: 75+57=132 Exploring Operation: 78+75=153, Resulting Numbers: [94, 57, 153] Generated Node #0,2: 97:[94, 57, 153] Operation: 78+75=153 Exploring Operation: 94+57=151, Resulting Numbers: [78, 75, 151] Generated Node #0,3: 97:[78, 75, 151] Operation: 94+57=151 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[78, 94, 132], Operations: ['75+57=132'] Exploring Operation: 132-78=54, Resulting Numbers: [94, 54] Generated Node #0,1,0: 97:[94, 54] Operation: 132-78=54 Exploring Operation: 78+94=172, Resulting Numbers: [132, 172] Generated Node #0,1,1: 97:[132, 172] Operation: 78+94=172 Exploring Operation: 94-78=16, Resulting Numbers: [132, 16] Generated Node #0,1,2: 97:[132, 16] Operation: 94-78=16 Exploring Operation: 132-94=38, Resulting Numbers: [78, 38] Generated Node #0,1,3: 97:[78, 38] Operation: 132-94=38 Moving to Node #0,1,0 Current State: 97:[94, 54], Operations: ['75+57=132', '132-78=54'] Exploring Operation: 94-54=40, Resulting Numbers: [40] 40,97 unequal: No Solution Exploring Operation: 94*54=5076, Resulting Numbers: [5076] 5076,97 unequal: No Solution Exploring Operation: 94+54=148, Resulting Numbers: [148] 148,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[78, 38], Operations: ['75+57=132', '132-94=38'] Exploring Operation: 78+38=116, Resulting Numbers: [116] 116,97 unequal: No Solution Exploring Operation: 78*38=2964, Resulting Numbers: [2964] 2964,97 unequal: No Solution Exploring Operation: 78-38=40, Resulting Numbers: [40] 40,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[132, 172], Operations: ['75+57=132', '78+94=172'] Exploring Operation: 132+172=304, Resulting Numbers: [304] 304,97 unequal: No Solution Exploring Operation: 132*172=22704, Resulting Numbers: [22704] 22704,97 unequal: No Solution Exploring Operation: 172-132=40, Resulting Numbers: [40] 40,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[132, 16], Operations: ['75+57=132', '94-78=16'] Exploring Operation: 132-16=116, Resulting Numbers: [116] 116,97 unequal: No Solution Exploring Operation: 132*16=2112, Resulting Numbers: [2112] 2112,97 unequal: No Solution Exploring Operation: 132+16=148, Resulting Numbers: [148] 148,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[94, 75, 135], Operations: ['78+57=135'] Exploring Operation: 135-94=41, Resulting Numbers: [75, 41] Generated Node #0,0,0: 97:[75, 41] Operation: 135-94=41 Exploring Operation: 94+75=169, Resulting Numbers: [135, 169] Generated Node #0,0,1: 97:[135, 169] Operation: 94+75=169 Exploring Operation: 135-75=60, Resulting Numbers: [94, 60] Generated Node #0,0,2: 97:[94, 60] Operation: 135-75=60 Exploring Operation: 94-75=19, Resulting Numbers: [135, 19] Generated Node #0,0,3: 97:[135, 19] Operation: 94-75=19 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[94, 60], Operations: ['78+57=135', '135-75=60'] Exploring Operation: 94+60=154, Resulting Numbers: [154] 154,97 unequal: No Solution Exploring Operation: 94-60=34, Resulting Numbers: [34] 34,97 unequal: No Solution Exploring Operation: 94*60=5640, Resulting Numbers: [5640] 5640,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[75, 41], Operations: ['78+57=135', '135-94=41'] Exploring Operation: 75+41=116, Resulting Numbers: [116] 116,97 unequal: No Solution Exploring Operation: 75-41=34, Resulting Numbers: [34] 34,97 unequal: No Solution Exploring Operation: 75*41=3075, Resulting Numbers: [3075] 3075,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[135, 169], Operations: ['78+57=135', '94+75=169'] Exploring Operation: 135+169=304, Resulting Numbers: [304] 304,97 unequal: No Solution Exploring Operation: 169-135=34, Resulting Numbers: [34] 34,97 unequal: No Solution Exploring Operation: 135*169=22815, Resulting Numbers: [22815] 22815,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 97:[135, 19], Operations: ['78+57=135', '94-75=19'] Exploring Operation: 135+19=154, Resulting Numbers: [154] 154,97 unequal: No Solution Exploring Operation: 135-19=116, Resulting Numbers: [116] 116,97 unequal: No Solution Exploring Operation: 135*19=2565, Resulting Numbers: [2565] 2565,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 97:[78, 75, 151], Operations: ['94+57=151'] Exploring Operation: 151-75=76, Resulting Numbers: [78, 76] Generated Node #0,3,0: 97:[78, 76] Operation: 151-75=76 Exploring Operation: 151-78=73, Resulting Numbers: [75, 73] Generated Node #0,3,1: 97:[75, 73] Operation: 151-78=73 Exploring Operation: 78+75=153, Resulting Numbers: [151, 153] Generated Node #0,3,2: 97:[151, 153] Operation: 78+75=153 Exploring Operation: 78-75=3, Resulting Numbers: [151, 3] Generated Node #0,3,3: 97:[151, 3] Operation: 78-75=3 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 97:[78, 76], Operations: ['94+57=151', '151-75=76'] Exploring Operation: 78-76=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 78+76=154, Resulting Numbers: [154] 154,97 unequal: No Solution Exploring Operation: 78*76=5928, Resulting Numbers: [5928] 5928,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 97:[75, 73], Operations: ['94+57=151', '151-78=73'] Exploring Operation: 75*73=5475, Resulting Numbers: [5475] 5475,97 unequal: No Solution Exploring Operation: 75+73=148, Resulting Numbers: [148] 148,97 unequal: No Solution Exploring Operation: 75-73=2, Resulting Numbers: [2] 2,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 97:[151, 153], Operations: ['94+57=151', '78+75=153'] Exploring Operation: 151+153=304, Resulting Numbers: [304] 304,97 unequal: No Solution Exploring Operation: 151*153=23103, Resulting Numbers: [23103] 23103,97 unequal: No Solution Exploring Operation: 153-151=2, Resulting Numbers: [2] 2,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 97:[151, 3], Operations: ['94+57=151', '78-75=3'] Exploring Operation: 151+3=154, Resulting Numbers: [154] 154,97 unequal: No Solution Exploring Operation: 151-3=148, Resulting Numbers: [148] 148,97 unequal: No Solution Exploring Operation: 151*3=453, Resulting Numbers: [453] 453,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[94, 57, 153], Operations: ['78+75=153'] Exploring Operation: 153-57=96, Resulting Numbers: [94, 96] Generated Node #0,2,0: 97:[94, 96] Operation: 153-57=96 Exploring Operation: 153-94=59, Resulting Numbers: [57, 59] Generated Node #0,2,1: 97:[57, 59] Operation: 153-94=59 Exploring Operation: 94-57=37, Resulting Numbers: [153, 37] Generated Node #0,2,2: 97:[153, 37] Operation: 94-57=37 Exploring Operation: 94+57=151, Resulting Numbers: [153, 151] Generated Node #0,2,3: 97:[153, 151] Operation: 94+57=151 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[94, 96], Operations: ['78+75=153', '153-57=96'] Exploring Operation: 96-94=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 94+96=190, Resulting Numbers: [190] 190,97 unequal: No Solution Exploring Operation: 94*96=9024, Resulting Numbers: [9024] 9024,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[57, 59], Operations: ['78+75=153', '153-94=59'] Exploring Operation: 59-57=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 57*59=3363, Resulting Numbers: [3363] 3363,97 unequal: No Solution Exploring Operation: 57+59=116, Resulting Numbers: [116] 116,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 97:[153, 151], Operations: ['78+75=153', '94+57=151'] Exploring Operation: 153+151=304, Resulting Numbers: [304] 304,97 unequal: No Solution Exploring Operation: 153*151=23103, Resulting Numbers: [23103] 23103,97 unequal: No Solution Exploring Operation: 153-151=2, Resulting Numbers: [2] 2,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 97:[153, 37], Operations: ['78+75=153', '94-57=37'] Exploring Operation: 153+37=190, Resulting Numbers: [190] 190,97 unequal: No Solution Exploring Operation: 153-37=116, Resulting Numbers: [116] 116,97 unequal: No Solution Exploring Operation: 153*37=5661, Resulting Numbers: [5661] 5661,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 2, 34, 15, 33 ]
28
[ "34-15=19", "33-19=14", "2*14=28" ]
Current State: 28:[2, 34, 15, 33], Operations: [] Exploring Operation: 34-15=19, Resulting Numbers: [2, 33, 19] Generated Node #2: [2, 33, 19] from Operation: 34-15=19 Current State: 28:[2, 33, 19], Operations: ['34-15=19'] Exploring Operation: 33-19=14, Resulting Numbers: [2, 14] Generated Node #3: [2, 14] from Operation: 33-19=14 Current State: 28:[2, 14], Operations: ['34-15=19', '33-19=14'] Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[2, 34, 15, 33], Operations: [] Exploring Operation: 34-33=1, Resulting Numbers: [2, 15, 1] Generated Node #0,0: 28:[2, 15, 1] Operation: 34-33=1 Exploring Operation: 33-2=31, Resulting Numbers: [34, 15, 31] Generated Node #0,1: 28:[34, 15, 31] Operation: 33-2=31 Exploring Operation: 34/2=17, Resulting Numbers: [15, 33, 17] Generated Node #0,2: 28:[15, 33, 17] Operation: 34/2=17 Exploring Operation: 34-2=32, Resulting Numbers: [15, 33, 32] Generated Node #0,3: 28:[15, 33, 32] Operation: 34-2=32 Moving to Node #0,0 Current State: 28:[2, 15, 1], Operations: ['34-33=1'] Exploring Operation: 15*1=15, Resulting Numbers: [2, 15] Generated Node #0,0,0: 28:[2, 15] Operation: 15*1=15 Exploring Operation: 15-1=14, Resulting Numbers: [2, 14] Generated Node #0,0,1: 28:[2, 14] Operation: 15-1=14 Exploring Operation: 2*1=2, Resulting Numbers: [15, 2] Generated Node #0,0,2: 28:[15, 2] Operation: 2*1=2 Exploring Operation: 2/1=2, Resulting Numbers: [15, 2] Generated Node #0,0,3: 28:[15, 2] Operation: 2/1=2 Moving to Node #0,2 Current State: 28:[15, 33, 17], Operations: ['34/2=17'] Exploring Operation: 33-15=18, Resulting Numbers: [17, 18] Generated Node #0,2,0: 28:[17, 18] Operation: 33-15=18 Exploring Operation: 17-15=2, Resulting Numbers: [33, 2] Generated Node #0,2,1: 28:[33, 2] Operation: 17-15=2 Exploring Operation: 15+17=32, Resulting Numbers: [33, 32] Generated Node #0,2,2: 28:[33, 32] Operation: 15+17=32 Exploring Operation: 33-17=16, Resulting Numbers: [15, 16] Generated Node #0,2,3: 28:[15, 16] Operation: 33-17=16 Moving to Node #0,3 Current State: 28:[15, 33, 32], Operations: ['34-2=32'] Exploring Operation: 33-32=1, Resulting Numbers: [15, 1] Generated Node #0,3,0: 28:[15, 1] Operation: 33-32=1 Exploring Operation: 33-15=18, Resulting Numbers: [32, 18] Generated Node #0,3,1: 28:[32, 18] Operation: 33-15=18 Exploring Operation: 32-15=17, Resulting Numbers: [33, 17] Generated Node #0,3,2: 28:[33, 17] Operation: 32-15=17 Exploring Operation: 15+33=48, Resulting Numbers: [32, 48] Generated Node #0,3,3: 28:[32, 48] Operation: 15+33=48 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 28:[15, 1], Operations: ['34-2=32', '33-32=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,28 unequal: No Solution No 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: 28:[32, 18], Operations: ['34-2=32', '33-15=18'] Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,28 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 32*18=576, Resulting Numbers: [576] 576,28 unequal: No Solution No 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: 28:[33, 17], Operations: ['34-2=32', '32-15=17'] Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 33*17=561, Resulting Numbers: [561] 561,28 unequal: No Solution Exploring Operation: 33+17=50, Resulting Numbers: [50] 50,28 unequal: No Solution No 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: 28:[32, 48], Operations: ['34-2=32', '15+33=48'] Exploring Operation: 48-32=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 32*48=1536, Resulting Numbers: [1536] 1536,28 unequal: No Solution Exploring Operation: 32+48=80, Resulting Numbers: [80] 80,28 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: 28:[34, 15, 31], Operations: ['33-2=31'] Exploring Operation: 34-15=19, Resulting Numbers: [31, 19] Generated Node #0,1,0: 28:[31, 19] Operation: 34-15=19 Exploring Operation: 31-15=16, Resulting Numbers: [34, 16] Generated Node #0,1,1: 28:[34, 16] Operation: 31-15=16 Exploring Operation: 34-31=3, Resulting Numbers: [15, 3] Generated Node #0,1,2: 28:[15, 3] Operation: 34-31=3 Exploring Operation: 34+15=49, Resulting Numbers: [31, 49] Generated Node #0,1,3: 28:[31, 49] Operation: 34+15=49 Moving to Node #0,0,1 Current State: 28:[2, 14], Operations: ['34-33=1', '15-1=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[2, 34, 15, 33], Operations: [] Exploring Operation: 34-33=1, Resulting Numbers: [2, 15, 1] Generated Node #0,0: 28:[2, 15, 1] Operation: 34-33=1 Moving to Node #0,0 Current State: 28:[2, 15, 1], Operations: ['34-33=1'] Exploring Operation: 15-1=14, Resulting Numbers: [2, 14] Generated Node #0,0,1: 28:[2, 14] Operation: 15-1=14 Moving to Node #0,0,1 Current State: 28:[2, 14], Operations: ['34-33=1', '15-1=14'] Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
0.96441
hs_4
sum_heuristic
[ 7, 62, 63, 55 ]
49
[ "7+62=69", "63+55=118", "118-69=49" ]
Current State: 49:[7, 62, 63, 55], Operations: [] Exploring Operation: 7+62=69, Resulting Numbers: [63, 55, 69] Generated Node #2: [63, 55, 69] from Operation: 7+62=69 Current State: 49:[63, 55, 69], Operations: ['7+62=69'] Exploring Operation: 63+55=118, Resulting Numbers: [69, 118] Generated Node #3: [69, 118] from Operation: 63+55=118 Current State: 49:[69, 118], Operations: ['7+62=69', '63+55=118'] Exploring Operation: 118-69=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[7, 62, 63, 55], Operations: [] Exploring Operation: 63-62=1, Resulting Numbers: [7, 55, 1] Generated Node #0,0: 49:[7, 55, 1] Operation: 63-62=1 Exploring Operation: 62-55=7, Resulting Numbers: [7, 63, 7] Generated Node #0,1: 49:[7, 63, 7] Operation: 62-55=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[7, 55, 1], Operations: ['63-62=1'] Exploring Operation: 7*1=7, Resulting Numbers: [55, 7] Generated Node #0,0,0: 49:[55, 7] Operation: 7*1=7 Exploring Operation: 55-1=54, Resulting Numbers: [7, 54] Generated Node #0,0,1: 49:[7, 54] Operation: 55-1=54 Moving to Node #0,0,1 Current State: 49:[7, 54], Operations: ['63-62=1', '55-1=54'] Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[55, 7], Operations: ['63-62=1', '7*1=7'] Exploring Operation: 55+7=62, Resulting Numbers: [62] 62,49 unequal: No Solution Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[7, 63, 7], Operations: ['62-55=7'] Exploring Operation: 63/7=9, Resulting Numbers: [7, 9] Generated Node #0,1,0: 49:[7, 9] Operation: 63/7=9 Exploring Operation: 63/7=9, Resulting Numbers: [7, 9] Generated Node #0,1,1: 49:[7, 9] Operation: 63/7=9 Moving to Node #0,1,0 Current State: 49:[7, 9], Operations: ['62-55=7', '63/7=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[7, 9], Operations: ['62-55=7', '63/7=9'] Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,49 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
[ 57, 44, 73, 68 ]
40
[ "57+44=101", "73+68=141", "141-101=40" ]
Current State: 40:[57, 44, 73, 68], Operations: [] Exploring Operation: 57+44=101, Resulting Numbers: [73, 68, 101] Generated Node #2: [73, 68, 101] from Operation: 57+44=101 Current State: 40:[73, 68, 101], Operations: ['57+44=101'] Exploring Operation: 73+68=141, Resulting Numbers: [101, 141] Generated Node #3: [101, 141] from Operation: 73+68=141 Current State: 40:[101, 141], Operations: ['57+44=101', '73+68=141'] Exploring Operation: 141-101=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[57, 44, 73, 68], Operations: [] Exploring Operation: 73-68=5, Resulting Numbers: [57, 44, 5] Generated Node #0,0: 40:[57, 44, 5] Operation: 73-68=5 Exploring Operation: 73-57=16, Resulting Numbers: [44, 68, 16] Generated Node #0,1: 40:[44, 68, 16] Operation: 73-57=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[57, 44, 5], Operations: ['73-68=5'] Exploring Operation: 57-44=13, Resulting Numbers: [5, 13] Generated Node #0,0,0: 40:[5, 13] Operation: 57-44=13 Exploring Operation: 57-5=52, Resulting Numbers: [44, 52] Generated Node #0,0,1: 40:[44, 52] Operation: 57-5=52 Moving to Node #0,0,0 Current State: 40:[5, 13], Operations: ['73-68=5', '57-44=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[44, 52], Operations: ['73-68=5', '57-5=52'] Exploring Operation: 44+52=96, Resulting Numbers: [96] 96,40 unequal: No Solution Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[44, 68, 16], Operations: ['73-57=16'] Exploring Operation: 68-16=52, Resulting Numbers: [44, 52] Generated Node #0,1,0: 40:[44, 52] Operation: 68-16=52 Exploring Operation: 68-44=24, Resulting Numbers: [16, 24] Generated Node #0,1,1: 40:[16, 24] Operation: 68-44=24 Moving to Node #0,1,1 Current State: 40:[16, 24], Operations: ['73-57=16', '68-44=24'] Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 16+24=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[57, 44, 73, 68], Operations: [] Exploring Operation: 73-57=16, Resulting Numbers: [44, 68, 16] Generated Node #0,1: 40:[44, 68, 16] Operation: 73-57=16 Moving to Node #0,1 Current State: 40:[44, 68, 16], Operations: ['73-57=16'] Exploring Operation: 68-44=24, Resulting Numbers: [16, 24] Generated Node #0,1,1: 40:[16, 24] Operation: 68-44=24 Moving to Node #0,1,1 Current State: 40:[16, 24], Operations: ['73-57=16', '68-44=24'] Exploring Operation: 16+24=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 6, 95, 32, 3 ]
19
[ "95-6=89", "89-32=57", "57/3=19" ]
Current State: 19:[6, 95, 32, 3], Operations: [] Exploring Operation: 95-6=89, Resulting Numbers: [32, 3, 89] Generated Node #2: [32, 3, 89] from Operation: 95-6=89 Current State: 19:[32, 3, 89], Operations: ['95-6=89'] Exploring Operation: 89-32=57, Resulting Numbers: [3, 57] Generated Node #3: [3, 57] from Operation: 89-32=57 Current State: 19:[3, 57], Operations: ['95-6=89', '89-32=57'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[6, 95, 32, 3], Operations: [] Exploring Operation: 95-32=63, Resulting Numbers: [6, 3, 63] Generated Node #0,0: 19:[6, 3, 63] Operation: 95-32=63 Moving to Node #0,0 Current State: 19:[6, 3, 63], Operations: ['95-32=63'] Exploring Operation: 63/3=21, Resulting Numbers: [6, 21] Generated Node #0,0,0: 19:[6, 21] Operation: 63/3=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[6, 21], Operations: ['95-32=63', '63/3=21'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,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
[ 3, 3, 77, 46 ]
46
[ "3-3=0", "77*0=0", "46+0=46" ]
Current State: 46:[3, 3, 77, 46], Operations: [] Exploring Operation: 3-3=0, Resulting Numbers: [77, 46, 0] Generated Node #2: [77, 46, 0] from Operation: 3-3=0 Current State: 46:[77, 46, 0], Operations: ['3-3=0'] Exploring Operation: 77*0=0, Resulting Numbers: [46, 0] Generated Node #3: [46, 0] from Operation: 77*0=0 Current State: 46:[46, 0], Operations: ['3-3=0', '77*0=0'] Exploring Operation: 46+0=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[3, 3, 77, 46], Operations: [] Exploring Operation: 3/3=1, Resulting Numbers: [77, 46, 1] Generated Node #0,0: 46:[77, 46, 1] Operation: 3/3=1 Exploring Operation: 77-46=31, Resulting Numbers: [3, 3, 31] Generated Node #0,1: 46:[3, 3, 31] Operation: 77-46=31 Exploring Operation: 77-3=74, Resulting Numbers: [3, 46, 74] Generated Node #0,2: 46:[3, 46, 74] Operation: 77-3=74 Exploring Operation: 77-3=74, Resulting Numbers: [3, 46, 74] Generated Node #0,3: 46:[3, 46, 74] Operation: 77-3=74 Moving to Node #0,1 Current State: 46:[3, 3, 31], Operations: ['77-46=31'] Exploring Operation: 3/3=1, Resulting Numbers: [31, 1] Generated Node #0,1,0: 46:[31, 1] Operation: 3/3=1 Exploring Operation: 31-3=28, Resulting Numbers: [3, 28] Generated Node #0,1,1: 46:[3, 28] Operation: 31-3=28 Exploring Operation: 31-3=28, Resulting Numbers: [3, 28] Generated Node #0,1,2: 46:[3, 28] Operation: 31-3=28 Exploring Operation: 3-3=0, Resulting Numbers: [31, 0] Generated Node #0,1,3: 46:[31, 0] Operation: 3-3=0 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[3, 28], Operations: ['77-46=31', '31-3=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,46 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,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,1,2 Current State: 46:[3, 28], Operations: ['77-46=31', '31-3=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,46 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,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,1,0 Current State: 46:[31, 1], Operations: ['77-46=31', '3/3=1'] Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,46 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,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,1,3 Current State: 46:[31, 0], Operations: ['77-46=31', '3-3=0'] Exploring Operation: 31-0=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 31*0=0, Resulting Numbers: [0] 0,46 unequal: No Solution Exploring Operation: 31+0=31, Resulting Numbers: [31] 31,46 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: 46:[3, 46, 74], Operations: ['77-3=74'] Exploring Operation: 3+46=49, Resulting Numbers: [74, 49] Generated Node #0,3,0: 46:[74, 49] Operation: 3+46=49 Exploring Operation: 74-46=28, Resulting Numbers: [3, 28] Generated Node #0,3,1: 46:[3, 28] Operation: 74-46=28 Exploring Operation: 74-3=71, Resulting Numbers: [46, 71] Generated Node #0,3,2: 46:[46, 71] Operation: 74-3=71 Exploring Operation: 46-3=43, Resulting Numbers: [74, 43] Generated Node #0,3,3: 46:[74, 43] Operation: 46-3=43 Moving to Node #0,2 Current State: 46:[3, 46, 74], Operations: ['77-3=74'] Exploring Operation: 3+46=49, Resulting Numbers: [74, 49] Generated Node #0,2,0: 46:[74, 49] Operation: 3+46=49 Exploring Operation: 74-3=71, Resulting Numbers: [46, 71] Generated Node #0,2,1: 46:[46, 71] Operation: 74-3=71 Exploring Operation: 74-46=28, Resulting Numbers: [3, 28] Generated Node #0,2,2: 46:[3, 28] Operation: 74-46=28 Exploring Operation: 46-3=43, Resulting Numbers: [74, 43] Generated Node #0,2,3: 46:[74, 43] Operation: 46-3=43 Moving to Node #0,0 Current State: 46:[77, 46, 1], Operations: ['3/3=1'] Exploring Operation: 77/1=77, Resulting Numbers: [46, 77] Generated Node #0,0,0: 46:[46, 77] Operation: 77/1=77 Exploring Operation: 77*1=77, Resulting Numbers: [46, 77] Generated Node #0,0,1: 46:[46, 77] Operation: 77*1=77 Exploring Operation: 77-46=31, Resulting Numbers: [1, 31] Generated Node #0,0,2: 46:[1, 31] Operation: 77-46=31 Exploring Operation: 77-1=76, Resulting Numbers: [46, 76] Generated Node #0,0,3: 46:[46, 76] Operation: 77-1=76 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 46:[1, 31], Operations: ['3/3=1', '77-46=31'] Exploring Operation: 1*31=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 46:[46, 76], Operations: ['3/3=1', '77-1=76'] Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 46*76=3496, Resulting Numbers: [3496] 3496,46 unequal: No Solution Exploring Operation: 46+76=122, Resulting Numbers: [122] 122,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[46, 77], Operations: ['3/3=1', '77/1=77'] Exploring Operation: 46*77=3542, Resulting Numbers: [3542] 3542,46 unequal: No Solution Exploring Operation: 46+77=123, Resulting Numbers: [123] 123,46 unequal: No Solution Exploring Operation: 77-46=31, Resulting Numbers: [31] 31,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[46, 77], Operations: ['3/3=1', '77*1=77'] Exploring Operation: 77-46=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 46+77=123, Resulting Numbers: [123] 123,46 unequal: No Solution Exploring Operation: 46*77=3542, Resulting Numbers: [3542] 3542,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 46:[3, 28], Operations: ['77-3=74', '74-46=28'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,46 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[3, 28], Operations: ['77-3=74', '74-46=28'] Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,46 unequal: No Solution Moving to Node #0,2,1 Current State: 46:[46, 71], Operations: ['77-3=74', '74-3=71'] Exploring Operation: 46+71=117, Resulting Numbers: [117] 117,46 unequal: No Solution Exploring Operation: 46*71=3266, Resulting Numbers: [3266] 3266,46 unequal: No Solution Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,46 unequal: No Solution Moving to Node #0,3,2 Current State: 46:[46, 71], Operations: ['77-3=74', '74-3=71'] Exploring Operation: 46+71=117, Resulting Numbers: [117] 117,46 unequal: No Solution Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 46*71=3266, Resulting Numbers: [3266] 3266,46 unequal: No Solution Moving to Node #0,3,0 Current State: 46:[74, 49], Operations: ['77-3=74', '3+46=49'] Exploring Operation: 74+49=123, Resulting Numbers: [123] 123,46 unequal: No Solution Exploring Operation: 74*49=3626, Resulting Numbers: [3626] 3626,46 unequal: No Solution Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[74, 49], Operations: ['77-3=74', '3+46=49'] Exploring Operation: 74+49=123, Resulting Numbers: [123] 123,46 unequal: No Solution Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 74*49=3626, Resulting Numbers: [3626] 3626,46 unequal: No Solution Moving to Node #0,2,3 Current State: 46:[74, 43], Operations: ['77-3=74', '46-3=43'] Exploring Operation: 74+43=117, Resulting Numbers: [117] 117,46 unequal: No Solution Exploring Operation: 74*43=3182, Resulting Numbers: [3182] 3182,46 unequal: No Solution Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,46 unequal: No Solution Moving to Node #0,3,3 Current State: 46:[74, 43], Operations: ['77-3=74', '46-3=43'] Exploring Operation: 74+43=117, Resulting Numbers: [117] 117,46 unequal: No Solution Exploring Operation: 74*43=3182, Resulting Numbers: [3182] 3182,46 unequal: No Solution Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,46 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 61, 38, 96, 94 ]
80
[ "96-94=2", "38/2=19", "61+19=80" ]
Current State: 80:[61, 38, 96, 94], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [61, 38, 2] Generated Node #2: [61, 38, 2] from Operation: 96-94=2 Current State: 80:[61, 38, 2], Operations: ['96-94=2'] Exploring Operation: 38/2=19, Resulting Numbers: [61, 19] Generated Node #3: [61, 19] from Operation: 38/2=19 Current State: 80:[61, 19], Operations: ['96-94=2', '38/2=19'] Exploring Operation: 61+19=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[61, 38, 96, 94], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [61, 38, 2] Generated Node #0,0: 80:[61, 38, 2] Operation: 96-94=2 Exploring Operation: 96-61=35, Resulting Numbers: [38, 94, 35] Generated Node #0,1: 80:[38, 94, 35] Operation: 96-61=35 Exploring Operation: 94-61=33, Resulting Numbers: [38, 96, 33] Generated Node #0,2: 80:[38, 96, 33] Operation: 94-61=33 Exploring Operation: 61-38=23, Resulting Numbers: [96, 94, 23] Generated Node #0,3: 80:[96, 94, 23] Operation: 61-38=23 Exploring Operation: 61+38=99, Resulting Numbers: [96, 94, 99] Generated Node #0,4: 80:[96, 94, 99] Operation: 61+38=99 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[61, 38, 2], Operations: ['96-94=2'] Exploring Operation: 61+38=99, Resulting Numbers: [2, 99] Generated Node #0,0,0: 80:[2, 99] Operation: 61+38=99 Exploring Operation: 61+2=63, Resulting Numbers: [38, 63] Generated Node #0,0,1: 80:[38, 63] Operation: 61+2=63 Exploring Operation: 38/2=19, Resulting Numbers: [61, 19] Generated Node #0,0,2: 80:[61, 19] Operation: 38/2=19 Exploring Operation: 38+2=40, Resulting Numbers: [61, 40] Generated Node #0,0,3: 80:[61, 40] Operation: 38+2=40 Exploring Operation: 61-38=23, Resulting Numbers: [2, 23] Generated Node #0,0,4: 80:[2, 23] Operation: 61-38=23 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 80:[2, 23], Operations: ['96-94=2', '61-38=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[2, 99], Operations: ['96-94=2', '61+38=99'] Exploring Operation: 2+99=101, Resulting Numbers: [101] 101,80 unequal: No Solution Exploring Operation: 2*99=198, Resulting Numbers: [198] 198,80 unequal: No Solution Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 80:[38, 63], Operations: ['96-94=2', '61+2=63'] Exploring Operation: 63-38=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 38+63=101, Resulting Numbers: [101] 101,80 unequal: No Solution Exploring Operation: 38*63=2394, Resulting Numbers: [2394] 2394,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 80:[61, 40], Operations: ['96-94=2', '38+2=40'] Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 61+40=101, Resulting Numbers: [101] 101,80 unequal: No Solution Exploring Operation: 61*40=2440, Resulting Numbers: [2440] 2440,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 80:[61, 19], Operations: ['96-94=2', '38/2=19'] Exploring Operation: 61+19=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[61, 38, 96, 94], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [61, 38, 2] Generated Node #0,0: 80:[61, 38, 2] Operation: 96-94=2 Moving to Node #0,0 Current State: 80:[61, 38, 2], Operations: ['96-94=2'] Exploring Operation: 38/2=19, Resulting Numbers: [61, 19] Generated Node #0,0,2: 80:[61, 19] Operation: 38/2=19 Moving to Node #0,0,2 Current State: 80:[61, 19], Operations: ['96-94=2', '38/2=19'] Exploring Operation: 61+19=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 39, 5, 71, 27 ]
78
[ "39-5=34", "71-27=44", "34+44=78" ]
Current State: 78:[39, 5, 71, 27], Operations: [] Exploring Operation: 39-5=34, Resulting Numbers: [71, 27, 34] Generated Node #2: [71, 27, 34] from Operation: 39-5=34 Current State: 78:[71, 27, 34], Operations: ['39-5=34'] Exploring Operation: 71-27=44, Resulting Numbers: [34, 44] Generated Node #3: [34, 44] from Operation: 71-27=44 Current State: 78:[34, 44], Operations: ['39-5=34', '71-27=44'] Exploring Operation: 34+44=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[39, 5, 71, 27], Operations: [] Exploring Operation: 5+71=76, Resulting Numbers: [39, 27, 76] Generated Node #0,0: 78:[39, 27, 76] Operation: 5+71=76 Moving to Node #0,0 Current State: 78:[39, 27, 76], Operations: ['5+71=76'] Exploring Operation: 39-27=12, Resulting Numbers: [76, 12] Generated Node #0,0,0: 78:[76, 12] Operation: 39-27=12 Moving to Node #0,0,0 Current State: 78:[76, 12], Operations: ['5+71=76', '39-27=12'] Exploring Operation: 76+12=88, Resulting Numbers: [88] 88,78 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 18, 57, 30, 23 ]
63
[ "23-18=5", "30/5=6", "57+6=63" ]
Current State: 63:[18, 57, 30, 23], Operations: [] Exploring Operation: 23-18=5, Resulting Numbers: [57, 30, 5] Generated Node #2: [57, 30, 5] from Operation: 23-18=5 Current State: 63:[57, 30, 5], Operations: ['23-18=5'] Exploring Operation: 30/5=6, Resulting Numbers: [57, 6] Generated Node #3: [57, 6] from Operation: 30/5=6 Current State: 63:[57, 6], Operations: ['23-18=5', '30/5=6'] Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[18, 57, 30, 23], Operations: [] Exploring Operation: 23-18=5, Resulting Numbers: [57, 30, 5] Generated Node #0,0: 63:[57, 30, 5] Operation: 23-18=5 Exploring Operation: 30-23=7, Resulting Numbers: [18, 57, 7] Generated Node #0,1: 63:[18, 57, 7] Operation: 30-23=7 Exploring Operation: 57-30=27, Resulting Numbers: [18, 23, 27] Generated Node #0,2: 63:[18, 23, 27] Operation: 57-30=27 Exploring Operation: 30-18=12, Resulting Numbers: [57, 23, 12] Generated Node #0,3: 63:[57, 23, 12] Operation: 30-18=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[18, 57, 7], Operations: ['30-23=7'] Exploring Operation: 18-7=11, Resulting Numbers: [57, 11] Generated Node #0,1,0: 63:[57, 11] Operation: 18-7=11 Exploring Operation: 18+7=25, Resulting Numbers: [57, 25] Generated Node #0,1,1: 63:[57, 25] Operation: 18+7=25 Exploring Operation: 18+57=75, Resulting Numbers: [7, 75] Generated Node #0,1,2: 63:[7, 75] Operation: 18+57=75 Exploring Operation: 57+7=64, Resulting Numbers: [18, 64] Generated Node #0,1,3: 63:[18, 64] Operation: 57+7=64 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 63:[18, 64], Operations: ['30-23=7', '57+7=64'] Exploring Operation: 18*64=1152, Resulting Numbers: [1152] 1152,63 unequal: No Solution Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,63 unequal: No Solution Exploring Operation: 18+64=82, Resulting Numbers: [82] 82,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 63:[57, 11], Operations: ['30-23=7', '18-7=11'] Exploring Operation: 57*11=627, Resulting Numbers: [627] 627,63 unequal: No Solution Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,63 unequal: No Solution Exploring Operation: 57+11=68, Resulting Numbers: [68] 68,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 63:[57, 25], Operations: ['30-23=7', '18+7=25'] Exploring Operation: 57+25=82, Resulting Numbers: [82] 82,63 unequal: No Solution Exploring Operation: 57-25=32, Resulting Numbers: [32] 32,63 unequal: No Solution Exploring Operation: 57*25=1425, Resulting Numbers: [1425] 1425,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 63:[7, 75], Operations: ['30-23=7', '18+57=75'] Exploring Operation: 7+75=82, Resulting Numbers: [82] 82,63 unequal: No Solution Exploring Operation: 7*75=525, Resulting Numbers: [525] 525,63 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[18, 23, 27], Operations: ['57-30=27'] Exploring Operation: 27-18=9, Resulting Numbers: [23, 9] Generated Node #0,2,0: 63:[23, 9] Operation: 27-18=9 Exploring Operation: 23-18=5, Resulting Numbers: [27, 5] Generated Node #0,2,1: 63:[27, 5] Operation: 23-18=5 Exploring Operation: 23+27=50, Resulting Numbers: [18, 50] Generated Node #0,2,2: 63:[18, 50] Operation: 23+27=50 Exploring Operation: 27-23=4, Resulting Numbers: [18, 4] Generated Node #0,2,3: 63:[18, 4] Operation: 27-23=4 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 63:[23, 9], Operations: ['57-30=27', '27-18=9'] Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,63 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,63 unequal: No Solution Exploring Operation: 23*9=207, Resulting Numbers: [207] 207,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 63:[18, 4], Operations: ['57-30=27', '27-23=4'] Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,63 unequal: No Solution Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 63:[27, 5], Operations: ['57-30=27', '23-18=5'] Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,63 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,63 unequal: No Solution Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 63:[18, 50], Operations: ['57-30=27', '23+27=50'] Exploring Operation: 18+50=68, Resulting Numbers: [68] 68,63 unequal: No Solution Exploring Operation: 18*50=900, Resulting Numbers: [900] 900,63 unequal: No Solution Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 63:[57, 23, 12], Operations: ['30-18=12'] Exploring Operation: 57+23=80, Resulting Numbers: [12, 80] Generated Node #0,3,0: 63:[12, 80] Operation: 57+23=80 Exploring Operation: 57-23=34, Resulting Numbers: [12, 34] Generated Node #0,3,1: 63:[12, 34] Operation: 57-23=34 Exploring Operation: 23-12=11, Resulting Numbers: [57, 11] Generated Node #0,3,2: 63:[57, 11] Operation: 23-12=11 Exploring Operation: 57+12=69, Resulting Numbers: [23, 69] Generated Node #0,3,3: 63:[23, 69] Operation: 57+12=69 Moving to Node #0,3,2 Current State: 63:[57, 11], Operations: ['30-18=12', '23-12=11'] Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,63 unequal: No Solution Exploring Operation: 57*11=627, Resulting Numbers: [627] 627,63 unequal: No Solution Exploring Operation: 57+11=68, Resulting Numbers: [68] 68,63 unequal: No Solution Moving to Node #0,3,3 Current State: 63:[23, 69], Operations: ['30-18=12', '57+12=69'] Exploring Operation: 69/23=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 23+69=92, Resulting Numbers: [92] 92,63 unequal: No Solution Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,63 unequal: No Solution Exploring Operation: 23*69=1587, Resulting Numbers: [1587] 1587,63 unequal: No Solution Moving to Node #0,3,1 Current State: 63:[12, 34], Operations: ['30-18=12', '57-23=34'] Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,63 unequal: No Solution Exploring Operation: 12*34=408, Resulting Numbers: [408] 408,63 unequal: No Solution Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,63 unequal: No Solution Moving to Node #0,3,0 Current State: 63:[12, 80], Operations: ['30-18=12', '57+23=80'] Exploring Operation: 80-12=68, Resulting Numbers: [68] 68,63 unequal: No Solution Exploring Operation: 12+80=92, Resulting Numbers: [92] 92,63 unequal: No Solution Exploring Operation: 12*80=960, Resulting Numbers: [960] 960,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[57, 30, 5], Operations: ['23-18=5'] Exploring Operation: 57+5=62, Resulting Numbers: [30, 62] Generated Node #0,0,0: 63:[30, 62] Operation: 57+5=62 Exploring Operation: 30/5=6, Resulting Numbers: [57, 6] Generated Node #0,0,1: 63:[57, 6] Operation: 30/5=6 Exploring Operation: 57-30=27, Resulting Numbers: [5, 27] Generated Node #0,0,2: 63:[5, 27] Operation: 57-30=27 Exploring Operation: 30-5=25, Resulting Numbers: [57, 25] Generated Node #0,0,3: 63:[57, 25] Operation: 30-5=25 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[57, 6], Operations: ['23-18=5', '30/5=6'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,63 unequal: No Solution Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[18, 57, 30, 23], Operations: [] Exploring Operation: 23-18=5, Resulting Numbers: [57, 30, 5] Generated Node #0,0: 63:[57, 30, 5] Operation: 23-18=5 Moving to Node #0,0 Current State: 63:[57, 30, 5], Operations: ['23-18=5'] Exploring Operation: 30/5=6, Resulting Numbers: [57, 6] Generated Node #0,0,1: 63:[57, 6] Operation: 30/5=6 Moving to Node #0,0,1 Current State: 63:[57, 6], Operations: ['23-18=5', '30/5=6'] Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.945313
hs_4
mult_heuristic
[ 47, 66, 87, 4 ]
17
[ "66-47=19", "87-19=68", "68/4=17" ]
Current State: 17:[47, 66, 87, 4], Operations: [] Exploring Operation: 66-47=19, Resulting Numbers: [87, 4, 19] Generated Node #2: [87, 4, 19] from Operation: 66-47=19 Current State: 17:[87, 4, 19], Operations: ['66-47=19'] Exploring Operation: 87-19=68, Resulting Numbers: [4, 68] Generated Node #3: [4, 68] from Operation: 87-19=68 Current State: 17:[4, 68], Operations: ['66-47=19', '87-19=68'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[47, 66, 87, 4], Operations: [] Exploring Operation: 87-47=40, Resulting Numbers: [66, 4, 40] Generated Node #0,0: 17:[66, 4, 40] Operation: 87-47=40 Exploring Operation: 66-47=19, Resulting Numbers: [87, 4, 19] Generated Node #0,1: 17:[87, 4, 19] Operation: 66-47=19 Exploring Operation: 47-4=43, Resulting Numbers: [66, 87, 43] Generated Node #0,2: 17:[66, 87, 43] Operation: 47-4=43 Exploring Operation: 66-4=62, Resulting Numbers: [47, 87, 62] Generated Node #0,3: 17:[47, 87, 62] Operation: 66-4=62 Exploring Operation: 87-66=21, Resulting Numbers: [47, 4, 21] Generated Node #0,4: 17:[47, 4, 21] Operation: 87-66=21 Moving to Node #0,4 Current State: 17:[47, 4, 21], Operations: ['87-66=21'] Exploring Operation: 4+21=25, Resulting Numbers: [47, 25] Generated Node #0,4,0: 17:[47, 25] Operation: 4+21=25 Exploring Operation: 21-4=17, Resulting Numbers: [47, 17] Generated Node #0,4,1: 17:[47, 17] Operation: 21-4=17 Exploring Operation: 47+4=51, Resulting Numbers: [21, 51] Generated Node #0,4,2: 17:[21, 51] Operation: 47+4=51 Exploring Operation: 47-21=26, Resulting Numbers: [4, 26] Generated Node #0,4,3: 17:[4, 26] Operation: 47-21=26 Exploring Operation: 47-4=43, Resulting Numbers: [21, 43] Generated Node #0,4,4: 17:[21, 43] Operation: 47-4=43 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 17:[4, 26], Operations: ['87-66=21', '47-21=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,17 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,17 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 17:[47, 17], Operations: ['87-66=21', '21-4=17'] Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 47*17=799, Resulting Numbers: [799] 799,17 unequal: No Solution Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 17:[21, 43], Operations: ['87-66=21', '47-4=43'] Exploring Operation: 21+43=64, Resulting Numbers: [64] 64,17 unequal: No Solution Exploring Operation: 21*43=903, Resulting Numbers: [903] 903,17 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 17:[47, 25], Operations: ['87-66=21', '4+21=25'] Exploring Operation: 47*25=1175, Resulting Numbers: [1175] 1175,17 unequal: No Solution Exploring Operation: 47+25=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 17:[21, 51], Operations: ['87-66=21', '47+4=51'] Exploring Operation: 21+51=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 21*51=1071, Resulting Numbers: [1071] 1071,17 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: 17:[87, 4, 19], Operations: ['66-47=19'] Exploring Operation: 87-4=83, Resulting Numbers: [19, 83] Generated Node #0,1,0: 17:[19, 83] Operation: 87-4=83 Exploring Operation: 87+4=91, Resulting Numbers: [19, 91] Generated Node #0,1,1: 17:[19, 91] Operation: 87+4=91 Exploring Operation: 4+19=23, Resulting Numbers: [87, 23] Generated Node #0,1,2: 17:[87, 23] Operation: 4+19=23 Exploring Operation: 87-19=68, Resulting Numbers: [4, 68] Generated Node #0,1,3: 17:[4, 68] Operation: 87-19=68 Exploring Operation: 19-4=15, Resulting Numbers: [87, 15] Generated Node #0,1,4: 17:[87, 15] Operation: 19-4=15 Moving to Node #0,0 Current State: 17:[66, 4, 40], Operations: ['87-47=40'] Exploring Operation: 66-40=26, Resulting Numbers: [4, 26] Generated Node #0,0,0: 17:[4, 26] Operation: 66-40=26 Exploring Operation: 40/4=10, Resulting Numbers: [66, 10] Generated Node #0,0,1: 17:[66, 10] Operation: 40/4=10 Exploring Operation: 66-4=62, Resulting Numbers: [40, 62] Generated Node #0,0,2: 17:[40, 62] Operation: 66-4=62 Exploring Operation: 66+4=70, Resulting Numbers: [40, 70] Generated Node #0,0,3: 17:[40, 70] Operation: 66+4=70 Exploring Operation: 40-4=36, Resulting Numbers: [66, 36] Generated Node #0,0,4: 17:[66, 36] Operation: 40-4=36 Moving to Node #0,2 Current State: 17:[66, 87, 43], Operations: ['47-4=43'] Exploring Operation: 66-43=23, Resulting Numbers: [87, 23] Generated Node #0,2,0: 17:[87, 23] Operation: 66-43=23 Exploring Operation: 87-43=44, Resulting Numbers: [66, 44] Generated Node #0,2,1: 17:[66, 44] Operation: 87-43=44 Exploring Operation: 66+87=153, Resulting Numbers: [43, 153] Generated Node #0,2,2: 17:[43, 153] Operation: 66+87=153 Exploring Operation: 66+43=109, Resulting Numbers: [87, 109] Generated Node #0,2,3: 17:[87, 109] Operation: 66+43=109 Exploring Operation: 87-66=21, Resulting Numbers: [43, 21] Generated Node #0,2,4: 17:[43, 21] Operation: 87-66=21 Moving to Node #0,3 Current State: 17:[47, 87, 62], Operations: ['66-4=62'] Exploring Operation: 47+62=109, Resulting Numbers: [87, 109] Generated Node #0,3,0: 17:[87, 109] Operation: 47+62=109 Exploring Operation: 62-47=15, Resulting Numbers: [87, 15] Generated Node #0,3,1: 17:[87, 15] Operation: 62-47=15 Exploring Operation: 87-62=25, Resulting Numbers: [47, 25] Generated Node #0,3,2: 17:[47, 25] Operation: 87-62=25 Exploring Operation: 87-47=40, Resulting Numbers: [62, 40] Generated Node #0,3,3: 17:[62, 40] Operation: 87-47=40 Exploring Operation: 47+87=134, Resulting Numbers: [62, 134] Generated Node #0,3,4: 17:[62, 134] Operation: 47+87=134 Moving to Node #0,0,0 Current State: 17:[4, 26], Operations: ['87-47=40', '66-40=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,17 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,17 unequal: No Solution Moving to Node #0,2,4 Current State: 17:[43, 21], Operations: ['47-4=43', '87-66=21'] Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,17 unequal: No Solution Exploring Operation: 43*21=903, Resulting Numbers: [903] 903,17 unequal: No Solution Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[47, 25], Operations: ['66-4=62', '87-62=25'] Exploring Operation: 47*25=1175, Resulting Numbers: [1175] 1175,17 unequal: No Solution Exploring Operation: 47+25=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[66, 10], Operations: ['87-47=40', '40/4=10'] Exploring Operation: 66*10=660, Resulting Numbers: [660] 660,17 unequal: No Solution Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[4, 68], Operations: ['66-47=19', '87-19=68'] Exploring Operation: 4*68=272, Resulting Numbers: [272] 272,17 unequal: No Solution Exploring Operation: 4+68=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,17 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[47, 66, 87, 4], Operations: [] Exploring Operation: 66-47=19, Resulting Numbers: [87, 4, 19] Generated Node #0,1: 17:[87, 4, 19] Operation: 66-47=19 Moving to Node #0,1 Current State: 17:[87, 4, 19], Operations: ['66-47=19'] Exploring Operation: 87-19=68, Resulting Numbers: [4, 68] Generated Node #0,1,3: 17:[4, 68] Operation: 87-19=68 Moving to Node #0,1,3 Current State: 17:[4, 68], Operations: ['66-47=19', '87-19=68'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.943576
hs_5
sum_heuristic
[ 63, 76, 79, 60 ]
48
[ "63*76=4788", "79*60=4740", "4788-4740=48" ]
Current State: 48:[63, 76, 79, 60], Operations: [] Exploring Operation: 63*76=4788, Resulting Numbers: [79, 60, 4788] Generated Node #2: [79, 60, 4788] from Operation: 63*76=4788 Current State: 48:[79, 60, 4788], Operations: ['63*76=4788'] Exploring Operation: 79*60=4740, Resulting Numbers: [4788, 4740] Generated Node #3: [4788, 4740] from Operation: 79*60=4740 Current State: 48:[4788, 4740], Operations: ['63*76=4788', '79*60=4740'] Exploring Operation: 4788-4740=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[63, 76, 79, 60], Operations: [] Exploring Operation: 79-63=16, Resulting Numbers: [76, 60, 16] Generated Node #0,0: 48:[76, 60, 16] Operation: 79-63=16 Exploring Operation: 76-63=13, Resulting Numbers: [79, 60, 13] Generated Node #0,1: 48:[79, 60, 13] Operation: 76-63=13 Exploring Operation: 79-76=3, Resulting Numbers: [63, 60, 3] Generated Node #0,2: 48:[63, 60, 3] Operation: 79-76=3 Exploring Operation: 76-60=16, Resulting Numbers: [63, 79, 16] Generated Node #0,3: 48:[63, 79, 16] Operation: 76-60=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[63, 60, 3], Operations: ['79-76=3'] Exploring Operation: 63-3=60, Resulting Numbers: [60, 60] Generated Node #0,2,0: 48:[60, 60] Operation: 63-3=60 Exploring Operation: 60/3=20, Resulting Numbers: [63, 20] Generated Node #0,2,1: 48:[63, 20] Operation: 60/3=20 Exploring Operation: 63-60=3, Resulting Numbers: [3, 3] Generated Node #0,2,2: 48:[3, 3] Operation: 63-60=3 Exploring Operation: 63/3=21, Resulting Numbers: [60, 21] Generated Node #0,2,3: 48:[60, 21] Operation: 63/3=21 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 48:[3, 3], Operations: ['79-76=3', '63-60=3'] Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 48:[60, 21], Operations: ['79-76=3', '63/3=21'] Exploring Operation: 60+21=81, Resulting Numbers: [81] 81,48 unequal: No Solution Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,48 unequal: No Solution Exploring Operation: 60*21=1260, Resulting Numbers: [1260] 1260,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 48:[63, 20], Operations: ['79-76=3', '60/3=20'] Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 63*20=1260, Resulting Numbers: [1260] 1260,48 unequal: No Solution Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 48:[60, 60], Operations: ['79-76=3', '63-3=60'] Exploring Operation: 60-60=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 60/60=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 60+60=120, Resulting Numbers: [120] 120,48 unequal: No Solution Exploring Operation: 60*60=3600, Resulting Numbers: [3600] 3600,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[76, 60, 16], Operations: ['79-63=16'] Exploring Operation: 76-16=60, Resulting Numbers: [60, 60] Generated Node #0,0,0: 48:[60, 60] Operation: 76-16=60 Exploring Operation: 76+16=92, Resulting Numbers: [60, 92] Generated Node #0,0,1: 48:[60, 92] Operation: 76+16=92 Exploring Operation: 76-60=16, Resulting Numbers: [16, 16] Generated Node #0,0,2: 48:[16, 16] Operation: 76-60=16 Exploring Operation: 60-16=44, Resulting Numbers: [76, 44] Generated Node #0,0,3: 48:[76, 44] Operation: 60-16=44 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 48:[16, 16], Operations: ['79-63=16', '76-60=16'] Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 16*16=256, Resulting Numbers: [256] 256,48 unequal: No Solution Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[60, 60], Operations: ['79-63=16', '76-16=60'] Exploring Operation: 60+60=120, Resulting Numbers: [120] 120,48 unequal: No Solution Exploring Operation: 60-60=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 60/60=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 60*60=3600, Resulting Numbers: [3600] 3600,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 48:[76, 44], Operations: ['79-63=16', '60-16=44'] Exploring Operation: 76+44=120, Resulting Numbers: [120] 120,48 unequal: No Solution Exploring Operation: 76*44=3344, Resulting Numbers: [3344] 3344,48 unequal: No Solution Exploring Operation: 76-44=32, Resulting Numbers: [32] 32,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[60, 92], Operations: ['79-63=16', '76+16=92'] Exploring Operation: 60+92=152, Resulting Numbers: [152] 152,48 unequal: No Solution Exploring Operation: 92-60=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 60*92=5520, Resulting Numbers: [5520] 5520,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[79, 60, 13], Operations: ['76-63=13'] Exploring Operation: 79-13=66, Resulting Numbers: [60, 66] Generated Node #0,1,0: 48:[60, 66] Operation: 79-13=66 Exploring Operation: 79+13=92, Resulting Numbers: [60, 92] Generated Node #0,1,1: 48:[60, 92] Operation: 79+13=92 Exploring Operation: 60-13=47, Resulting Numbers: [79, 47] Generated Node #0,1,2: 48:[79, 47] Operation: 60-13=47 Exploring Operation: 79-60=19, Resulting Numbers: [13, 19] Generated Node #0,1,3: 48:[13, 19] Operation: 79-60=19 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 48:[13, 19], Operations: ['76-63=13', '79-60=19'] Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 13*19=247, Resulting Numbers: [247] 247,48 unequal: No Solution Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 48:[60, 66], Operations: ['76-63=13', '79-13=66'] Exploring Operation: 60+66=126, Resulting Numbers: [126] 126,48 unequal: No Solution Exploring Operation: 66-60=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 60*66=3960, Resulting Numbers: [3960] 3960,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 48:[79, 47], Operations: ['76-63=13', '60-13=47'] Exploring Operation: 79+47=126, Resulting Numbers: [126] 126,48 unequal: No Solution Exploring Operation: 79*47=3713, Resulting Numbers: [3713] 3713,48 unequal: No Solution Exploring Operation: 79-47=32, Resulting Numbers: [32] 32,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 48:[60, 92], Operations: ['76-63=13', '79+13=92'] Exploring Operation: 60*92=5520, Resulting Numbers: [5520] 5520,48 unequal: No Solution Exploring Operation: 92-60=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 60+92=152, Resulting Numbers: [152] 152,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 48:[63, 79, 16], Operations: ['76-60=16'] Exploring Operation: 79-63=16, Resulting Numbers: [16, 16] Generated Node #0,3,0: 48:[16, 16] Operation: 79-63=16 Exploring Operation: 63-16=47, Resulting Numbers: [79, 47] Generated Node #0,3,1: 48:[79, 47] Operation: 63-16=47 Exploring Operation: 63+16=79, Resulting Numbers: [79, 79] Generated Node #0,3,2: 48:[79, 79] Operation: 63+16=79 Exploring Operation: 79-16=63, Resulting Numbers: [63, 63] Generated Node #0,3,3: 48:[63, 63] Operation: 79-16=63 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 48:[16, 16], Operations: ['76-60=16', '79-63=16'] Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 16*16=256, Resulting Numbers: [256] 256,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 48:[63, 63], Operations: ['76-60=16', '79-16=63'] Exploring Operation: 63+63=126, Resulting Numbers: [126] 126,48 unequal: No Solution Exploring Operation: 63/63=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 63*63=3969, Resulting Numbers: [3969] 3969,48 unequal: No Solution Exploring Operation: 63-63=0, Resulting Numbers: [0] 0,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 48:[79, 47], Operations: ['76-60=16', '63-16=47'] Exploring Operation: 79+47=126, Resulting Numbers: [126] 126,48 unequal: No Solution Exploring Operation: 79-47=32, Resulting Numbers: [32] 32,48 unequal: No Solution Exploring Operation: 79*47=3713, Resulting Numbers: [3713] 3713,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 48:[79, 79], Operations: ['76-60=16', '63+16=79'] Exploring Operation: 79-79=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 79*79=6241, Resulting Numbers: [6241] 6241,48 unequal: No Solution Exploring Operation: 79+79=158, Resulting Numbers: [158] 158,48 unequal: No Solution Exploring Operation: 79/79=1, Resulting Numbers: [1] 1,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 38, 13, 32, 77 ]
36
[ "77-13=64", "64/32=2", "38-2=36" ]
Current State: 36:[38, 13, 32, 77], Operations: [] Exploring Operation: 77-13=64, Resulting Numbers: [38, 32, 64] Generated Node #2: [38, 32, 64] from Operation: 77-13=64 Current State: 36:[38, 32, 64], Operations: ['77-13=64'] Exploring Operation: 64/32=2, Resulting Numbers: [38, 2] Generated Node #3: [38, 2] from Operation: 64/32=2 Current State: 36:[38, 2], Operations: ['77-13=64', '64/32=2'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[38, 13, 32, 77], Operations: [] Exploring Operation: 77-32=45, Resulting Numbers: [38, 13, 45] Generated Node #0,0: 36:[38, 13, 45] Operation: 77-32=45 Exploring Operation: 77-38=39, Resulting Numbers: [13, 32, 39] Generated Node #0,1: 36:[13, 32, 39] Operation: 77-38=39 Moving to Node #0,1 Current State: 36:[13, 32, 39], Operations: ['77-38=39'] Exploring Operation: 39-32=7, Resulting Numbers: [13, 7] Generated Node #0,1,0: 36:[13, 7] Operation: 39-32=7 Exploring Operation: 32-13=19, Resulting Numbers: [39, 19] Generated Node #0,1,1: 36:[39, 19] Operation: 32-13=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[13, 7], Operations: ['77-38=39', '39-32=7'] Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,36 unequal: No Solution No 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: 36:[39, 19], Operations: ['77-38=39', '32-13=19'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 39+19=58, Resulting Numbers: [58] 58,36 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: 36:[38, 13, 45], Operations: ['77-32=45'] Exploring Operation: 45-13=32, Resulting Numbers: [38, 32] Generated Node #0,0,0: 36:[38, 32] Operation: 45-13=32 Exploring Operation: 45-38=7, Resulting Numbers: [13, 7] Generated Node #0,0,1: 36:[13, 7] Operation: 45-38=7 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 36:[13, 7], Operations: ['77-32=45', '45-38=7'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,36 unequal: No Solution No 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: 36:[38, 32], Operations: ['77-32=45', '45-13=32'] Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 38+32=70, Resulting Numbers: [70] 70,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 93, 93, 37, 73 ]
36
[ "93-93=0", "73-37=36", "0+36=36" ]
Current State: 36:[93, 93, 37, 73], Operations: [] Exploring Operation: 93-93=0, Resulting Numbers: [37, 73, 0] Generated Node #2: [37, 73, 0] from Operation: 93-93=0 Current State: 36:[37, 73, 0], Operations: ['93-93=0'] Exploring Operation: 73-37=36, Resulting Numbers: [0, 36] Generated Node #3: [0, 36] from Operation: 73-37=36 Current State: 36:[0, 36], Operations: ['93-93=0', '73-37=36'] Exploring Operation: 0+36=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[93, 93, 37, 73], Operations: [] Exploring Operation: 93-73=20, Resulting Numbers: [93, 37, 20] Generated Node #0,0: 36:[93, 37, 20] Operation: 93-73=20 Exploring Operation: 93-73=20, Resulting Numbers: [93, 37, 20] Generated Node #0,1: 36:[93, 37, 20] Operation: 93-73=20 Exploring Operation: 93-93=0, Resulting Numbers: [37, 73, 0] Generated Node #0,2: 36:[37, 73, 0] Operation: 93-93=0 Exploring Operation: 93/93=1, Resulting Numbers: [37, 73, 1] Generated Node #0,3: 36:[37, 73, 1] Operation: 93/93=1 Start Sub Search at level 1: Moving to Node #0,3 Current State: 36:[37, 73, 1], Operations: ['93/93=1'] Exploring Operation: 73-37=36, Resulting Numbers: [1, 36] Generated Node #0,3,0: 36:[1, 36] Operation: 73-37=36 Exploring Operation: 37*1=37, Resulting Numbers: [73, 37] Generated Node #0,3,1: 36:[73, 37] Operation: 37*1=37 Exploring Operation: 73-1=72, Resulting Numbers: [37, 72] Generated Node #0,3,2: 36:[37, 72] Operation: 73-1=72 Exploring Operation: 37-1=36, Resulting Numbers: [73, 36] Generated Node #0,3,3: 36:[73, 36] Operation: 37-1=36 Moving to Node #0,3,0 Current State: 36:[1, 36], Operations: ['93/93=1', '73-37=36'] Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[93, 93, 37, 73], Operations: [] Exploring Operation: 93/93=1, Resulting Numbers: [37, 73, 1] Generated Node #0,3: 36:[37, 73, 1] Operation: 93/93=1 Moving to Node #0,3 Current State: 36:[37, 73, 1], Operations: ['93/93=1'] Exploring Operation: 73-37=36, Resulting Numbers: [1, 36] Generated Node #0,3,0: 36:[1, 36] Operation: 73-37=36 Moving to Node #0,3,0 Current State: 36:[1, 36], Operations: ['93/93=1', '73-37=36'] Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 7, 65, 1, 34 ]
14
[ "65-1=64", "34+64=98", "98/7=14" ]
Current State: 14:[7, 65, 1, 34], Operations: [] Exploring Operation: 65-1=64, Resulting Numbers: [7, 34, 64] Generated Node #2: [7, 34, 64] from Operation: 65-1=64 Current State: 14:[7, 34, 64], Operations: ['65-1=64'] Exploring Operation: 34+64=98, Resulting Numbers: [7, 98] Generated Node #3: [7, 98] from Operation: 34+64=98 Current State: 14:[7, 98], Operations: ['65-1=64', '34+64=98'] Exploring Operation: 98/7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[7, 65, 1, 34], Operations: [] Exploring Operation: 65-34=31, Resulting Numbers: [7, 1, 31] Generated Node #0,0: 14:[7, 1, 31] Operation: 65-34=31 Exploring Operation: 34-1=33, Resulting Numbers: [7, 65, 33] Generated Node #0,1: 14:[7, 65, 33] Operation: 34-1=33 Exploring Operation: 65-7=58, Resulting Numbers: [1, 34, 58] Generated Node #0,2: 14:[1, 34, 58] Operation: 65-7=58 Exploring Operation: 34-7=27, Resulting Numbers: [65, 1, 27] Generated Node #0,3: 14:[65, 1, 27] Operation: 34-7=27 Exploring Operation: 65-1=64, Resulting Numbers: [7, 34, 64] Generated Node #0,4: 14:[7, 34, 64] Operation: 65-1=64 Moving to Node #0,0 Current State: 14:[7, 1, 31], Operations: ['65-34=31'] Exploring Operation: 7*1=7, Resulting Numbers: [31, 7] Generated Node #0,0,0: 14:[31, 7] Operation: 7*1=7 Exploring Operation: 1*31=31, Resulting Numbers: [7, 31] Generated Node #0,0,1: 14:[7, 31] Operation: 1*31=31 Exploring Operation: 31-7=24, Resulting Numbers: [1, 24] Generated Node #0,0,2: 14:[1, 24] Operation: 31-7=24 Exploring Operation: 7/1=7, Resulting Numbers: [31, 7] Generated Node #0,0,3: 14:[31, 7] Operation: 7/1=7 Exploring Operation: 31-1=30, Resulting Numbers: [7, 30] Generated Node #0,0,4: 14:[7, 30] Operation: 31-1=30 Moving to Node #0,3 Current State: 14:[65, 1, 27], Operations: ['34-7=27'] Exploring Operation: 65-27=38, Resulting Numbers: [1, 38] Generated Node #0,3,0: 14:[1, 38] Operation: 65-27=38 Exploring Operation: 65-1=64, Resulting Numbers: [27, 64] Generated Node #0,3,1: 14:[27, 64] Operation: 65-1=64 Exploring Operation: 65*1=65, Resulting Numbers: [27, 65] Generated Node #0,3,2: 14:[27, 65] Operation: 65*1=65 Exploring Operation: 65/1=65, Resulting Numbers: [27, 65] Generated Node #0,3,3: 14:[27, 65] Operation: 65/1=65 Exploring Operation: 27-1=26, Resulting Numbers: [65, 26] Generated Node #0,3,4: 14:[65, 26] Operation: 27-1=26 Moving to Node #0,2 Current State: 14:[1, 34, 58], Operations: ['65-7=58'] Exploring Operation: 34/1=34, Resulting Numbers: [58, 34] Generated Node #0,2,0: 14:[58, 34] Operation: 34/1=34 Exploring Operation: 58-1=57, Resulting Numbers: [34, 57] Generated Node #0,2,1: 14:[34, 57] Operation: 58-1=57 Exploring Operation: 1*34=34, Resulting Numbers: [58, 34] Generated Node #0,2,2: 14:[58, 34] Operation: 1*34=34 Exploring Operation: 34-1=33, Resulting Numbers: [58, 33] Generated Node #0,2,3: 14:[58, 33] Operation: 34-1=33 Exploring Operation: 58-34=24, Resulting Numbers: [1, 24] Generated Node #0,2,4: 14:[1, 24] Operation: 58-34=24 Moving to Node #0,1 Current State: 14:[7, 65, 33], Operations: ['34-1=33'] Exploring Operation: 7+33=40, Resulting Numbers: [65, 40] Generated Node #0,1,0: 14:[65, 40] Operation: 7+33=40 Exploring Operation: 65-33=32, Resulting Numbers: [7, 32] Generated Node #0,1,1: 14:[7, 32] Operation: 65-33=32 Exploring Operation: 65-7=58, Resulting Numbers: [33, 58] Generated Node #0,1,2: 14:[33, 58] Operation: 65-7=58 Exploring Operation: 7+65=72, Resulting Numbers: [33, 72] Generated Node #0,1,3: 14:[33, 72] Operation: 7+65=72 Exploring Operation: 33-7=26, Resulting Numbers: [65, 26] Generated Node #0,1,4: 14:[65, 26] Operation: 33-7=26 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 14:[7, 32], Operations: ['34-1=33', '65-33=32'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,14 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,14 unequal: No Solution Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 14:[33, 58], Operations: ['34-1=33', '65-7=58'] Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,14 unequal: No Solution Exploring Operation: 33*58=1914, Resulting Numbers: [1914] 1914,14 unequal: No Solution Exploring Operation: 33+58=91, Resulting Numbers: [91] 91,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 14:[65, 26], Operations: ['34-1=33', '33-7=26'] Exploring Operation: 65+26=91, Resulting Numbers: [91] 91,14 unequal: No Solution Exploring Operation: 65-26=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 65*26=1690, Resulting Numbers: [1690] 1690,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[65, 40], Operations: ['34-1=33', '7+33=40'] Exploring Operation: 65*40=2600, Resulting Numbers: [2600] 2600,14 unequal: No Solution Exploring Operation: 65+40=105, Resulting Numbers: [105] 105,14 unequal: No Solution Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 14:[33, 72], Operations: ['34-1=33', '7+65=72'] Exploring Operation: 33*72=2376, Resulting Numbers: [2376] 2376,14 unequal: No Solution Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 33+72=105, Resulting Numbers: [105] 105,14 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: 14:[7, 34, 64], Operations: ['65-1=64'] Exploring Operation: 7+64=71, Resulting Numbers: [34, 71] Generated Node #0,4,0: 14:[34, 71] Operation: 7+64=71 Exploring Operation: 34-7=27, Resulting Numbers: [64, 27] Generated Node #0,4,1: 14:[64, 27] Operation: 34-7=27 Exploring Operation: 64-34=30, Resulting Numbers: [7, 30] Generated Node #0,4,2: 14:[7, 30] Operation: 64-34=30 Exploring Operation: 64-7=57, Resulting Numbers: [34, 57] Generated Node #0,4,3: 14:[34, 57] Operation: 64-7=57 Exploring Operation: 7+34=41, Resulting Numbers: [64, 41] Generated Node #0,4,4: 14:[64, 41] Operation: 7+34=41 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 14:[7, 30], Operations: ['65-1=64', '64-34=30'] Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,14 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,14 unequal: No Solution Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 14:[64, 27], Operations: ['65-1=64', '34-7=27'] Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,14 unequal: No Solution Exploring Operation: 64+27=91, Resulting Numbers: [91] 91,14 unequal: No Solution Exploring Operation: 64*27=1728, Resulting Numbers: [1728] 1728,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 14:[34, 57], Operations: ['65-1=64', '64-7=57'] Exploring Operation: 34*57=1938, Resulting Numbers: [1938] 1938,14 unequal: No Solution Exploring Operation: 34+57=91, Resulting Numbers: [91] 91,14 unequal: No Solution Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 14:[34, 71], Operations: ['65-1=64', '7+64=71'] Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,14 unequal: No Solution Exploring Operation: 34*71=2414, Resulting Numbers: [2414] 2414,14 unequal: No Solution Exploring Operation: 34+71=105, Resulting Numbers: [105] 105,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 14:[64, 41], Operations: ['65-1=64', '7+34=41'] Exploring Operation: 64*41=2624, Resulting Numbers: [2624] 2624,14 unequal: No Solution Exploring Operation: 64-41=23, Resulting Numbers: [23] 23,14 unequal: No Solution Exploring Operation: 64+41=105, Resulting Numbers: [105] 105,14 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: 14:[1, 24], Operations: ['65-34=31', '31-7=24'] Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,14 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,14 unequal: No Solution Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,14 unequal: No Solution Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,14 unequal: No Solution Moving to Node #0,2,4 Current State: 14:[1, 24], Operations: ['65-7=58', '58-34=24'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,14 unequal: No Solution Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,14 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,14 unequal: No Solution Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,14 unequal: No Solution Moving to Node #0,0,4 Current State: 14:[7, 30], Operations: ['65-34=31', '31-1=30'] Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,14 unequal: No Solution Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,14 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[31, 7], Operations: ['65-34=31', '7*1=7'] Exploring Operation: 31*7=217, Resulting Numbers: [217] 217,14 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,14 unequal: No Solution Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,14 unequal: No Solution Moving to Node #0,0,3 Current State: 14:[31, 7], Operations: ['65-34=31', '7/1=7'] Exploring Operation: 31*7=217, Resulting Numbers: [217] 217,14 unequal: No Solution Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,14 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[7, 31], Operations: ['65-34=31', '1*31=31'] Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,14 unequal: No Solution Exploring Operation: 7*31=217, Resulting Numbers: [217] 217,14 unequal: No Solution Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,14 unequal: No Solution Moving to Node #0,3,0 Current State: 14:[1, 38], Operations: ['34-7=27', '65-27=38'] Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,14 unequal: No Solution Exploring Operation: 1+38=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 1*38=38, Resulting Numbers: [38] 38,14 unequal: No Solution Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,14 unequal: No Solution Moving to Node #0,3,1 Current State: 14:[27, 64], Operations: ['34-7=27', '65-1=64'] Exploring Operation: 27*64=1728, Resulting Numbers: [1728] 1728,14 unequal: No Solution Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,14 unequal: No Solution Exploring Operation: 27+64=91, Resulting Numbers: [91] 91,14 unequal: No Solution Moving to Node #0,2,1 Current State: 14:[34, 57], Operations: ['65-7=58', '58-1=57'] Exploring Operation: 34+57=91, Resulting Numbers: [91] 91,14 unequal: No Solution Exploring Operation: 34*57=1938, Resulting Numbers: [1938] 1938,14 unequal: No Solution Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,14 unequal: No Solution Moving to Node #0,3,4 Current State: 14:[65, 26], Operations: ['34-7=27', '27-1=26'] Exploring Operation: 65*26=1690, Resulting Numbers: [1690] 1690,14 unequal: No Solution Exploring Operation: 65+26=91, Resulting Numbers: [91] 91,14 unequal: No Solution Exploring Operation: 65-26=39, Resulting Numbers: [39] 39,14 unequal: No Solution Moving to Node #0,2,3 Current State: 14:[58, 33], Operations: ['65-7=58', '34-1=33'] Exploring Operation: 58+33=91, Resulting Numbers: [91] 91,14 unequal: No Solution Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,14 unequal: No Solution Exploring Operation: 58*33=1914, Resulting Numbers: [1914] 1914,14 unequal: No Solution Moving to Node #0,3,3 Current State: 14:[27, 65], Operations: ['34-7=27', '65/1=65'] Exploring Operation: 27+65=92, Resulting Numbers: [92] 92,14 unequal: No Solution Exploring Operation: 27*65=1755, Resulting Numbers: [1755] 1755,14 unequal: No Solution Exploring Operation: 65-27=38, Resulting Numbers: [38] 38,14 unequal: No Solution Moving to Node #0,3,2 Current State: 14:[27, 65], Operations: ['34-7=27', '65*1=65'] Exploring Operation: 27+65=92, Resulting Numbers: [92] 92,14 unequal: No Solution Exploring Operation: 65-27=38, Resulting Numbers: [38] 38,14 unequal: No Solution Exploring Operation: 27*65=1755, Resulting Numbers: [1755] 1755,14 unequal: No Solution Moving to Node #0,2,2 Current State: 14:[58, 34], Operations: ['65-7=58', '1*34=34'] Exploring Operation: 58-34=24, Resulting Numbers: [24] 24,14 unequal: No Solution Exploring Operation: 58+34=92, Resulting Numbers: [92] 92,14 unequal: No Solution Exploring Operation: 58*34=1972, Resulting Numbers: [1972] 1972,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[58, 34], Operations: ['65-7=58', '34/1=34'] Exploring Operation: 58*34=1972, Resulting Numbers: [1972] 1972,14 unequal: No Solution Exploring Operation: 58-34=24, Resulting Numbers: [24] 24,14 unequal: No Solution Exploring Operation: 58+34=92, Resulting Numbers: [92] 92,14 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 32, 46, 64, 32 ]
76
[ "32+46=78", "64/32=2", "78-2=76" ]
Current State: 76:[32, 46, 64, 32], Operations: [] Exploring Operation: 32+46=78, Resulting Numbers: [64, 78] Generated Node #2: [64, 78] from Operation: 32+46=78 Current State: 76:[64, 78], Operations: ['32+46=78'] Exploring Operation: 64/32=2, Resulting Numbers: [78, 2] Generated Node #3: [78, 2] from Operation: 64/32=2 Current State: 76:[78, 2], Operations: ['32+46=78', '64/32=2'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[32, 46, 64, 32], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [46, 32, 2] Generated Node #0,0: 76:[46, 32, 2] Operation: 64/32=2 Exploring Operation: 64/32=2, Resulting Numbers: [32, 46, 2] Generated Node #0,1: 76:[32, 46, 2] Operation: 64/32=2 Exploring Operation: 64-46=18, Resulting Numbers: [32, 32, 18] Generated Node #0,2: 76:[32, 32, 18] Operation: 64-46=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[32, 32, 18], Operations: ['64-46=18'] Exploring Operation: 32-18=14, Resulting Numbers: [32, 14] Generated Node #0,2,0: 76:[32, 14] Operation: 32-18=14 Exploring Operation: 32-32=0, Resulting Numbers: [18, 0] Generated Node #0,2,1: 76:[18, 0] Operation: 32-32=0 Exploring Operation: 32/32=1, Resulting Numbers: [18, 1] Generated Node #0,2,2: 76:[18, 1] Operation: 32/32=1 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 76:[18, 1], Operations: ['64-46=18', '32/32=1'] Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 76:[18, 0], Operations: ['64-46=18', '32-32=0'] Exploring Operation: 18*0=0, Resulting Numbers: [0] 0,76 unequal: No Solution Exploring Operation: 18-0=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 18+0=18, Resulting Numbers: [18] 18,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 76:[32, 14], Operations: ['64-46=18', '32-18=14'] Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,76 unequal: No Solution Exploring Operation: 32*14=448, Resulting Numbers: [448] 448,76 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[46, 32, 2], Operations: ['64/32=2'] Exploring Operation: 46-32=14, Resulting Numbers: [2, 14] Generated Node #0,0,0: 76:[2, 14] Operation: 46-32=14 Exploring Operation: 46+32=78, Resulting Numbers: [2, 78] Generated Node #0,0,1: 76:[2, 78] Operation: 46+32=78 Exploring Operation: 46/2=23, Resulting Numbers: [32, 23] Generated Node #0,0,2: 76:[32, 23] Operation: 46/2=23 Moving to Node #0,0,1 Current State: 76:[2, 78], Operations: ['64/32=2', '46+32=78'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,76 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[32, 46, 64, 32], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [46, 32, 2] Generated Node #0,0: 76:[46, 32, 2] Operation: 64/32=2 Moving to Node #0,0 Current State: 76:[46, 32, 2], Operations: ['64/32=2'] Exploring Operation: 46+32=78, Resulting Numbers: [2, 78] Generated Node #0,0,1: 76:[2, 78] Operation: 46+32=78 Moving to Node #0,0,1 Current State: 76:[2, 78], Operations: ['64/32=2', '46+32=78'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 14, 24, 10, 99 ]
98
[ "24-14=10", "10/10=1", "99-1=98" ]
Current State: 98:[14, 24, 10, 99], Operations: [] Exploring Operation: 24-14=10, Resulting Numbers: [10, 99, 10] Generated Node #2: [10, 99, 10] from Operation: 24-14=10 Current State: 98:[10, 99, 10], Operations: ['24-14=10'] Exploring Operation: 10/10=1, Resulting Numbers: [99, 1] Generated Node #3: [99, 1] from Operation: 10/10=1 Current State: 98:[99, 1], Operations: ['24-14=10', '10/10=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[14, 24, 10, 99], Operations: [] Exploring Operation: 24-10=14, Resulting Numbers: [14, 99, 14] Generated Node #0,0: 98:[14, 99, 14] Operation: 24-10=14 Exploring Operation: 24-14=10, Resulting Numbers: [10, 99, 10] Generated Node #0,1: 98:[10, 99, 10] Operation: 24-14=10 Exploring Operation: 14+24=38, Resulting Numbers: [10, 99, 38] Generated Node #0,2: 98:[10, 99, 38] Operation: 14+24=38 Exploring Operation: 14-10=4, Resulting Numbers: [24, 99, 4] Generated Node #0,3: 98:[24, 99, 4] Operation: 14-10=4 Moving to Node #0,0 Current State: 98:[14, 99, 14], Operations: ['24-10=14'] Exploring Operation: 14-14=0, Resulting Numbers: [99, 0] Generated Node #0,0,0: 98:[99, 0] Operation: 14-14=0 Exploring Operation: 99-14=85, Resulting Numbers: [14, 85] Generated Node #0,0,1: 98:[14, 85] Operation: 99-14=85 Exploring Operation: 14/14=1, Resulting Numbers: [99, 1] Generated Node #0,0,2: 98:[99, 1] Operation: 14/14=1 Exploring Operation: 99-14=85, Resulting Numbers: [14, 85] Generated Node #0,0,3: 98:[14, 85] Operation: 99-14=85 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 98:[99, 1], Operations: ['24-10=14', '14/14=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,98 unequal: No Solution Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[14, 24, 10, 99], Operations: [] Exploring Operation: 24-10=14, Resulting Numbers: [14, 99, 14] Generated Node #0,0: 98:[14, 99, 14] Operation: 24-10=14 Moving to Node #0,0 Current State: 98:[14, 99, 14], Operations: ['24-10=14'] Exploring Operation: 14/14=1, Resulting Numbers: [99, 1] Generated Node #0,0,2: 98:[99, 1] Operation: 14/14=1 Moving to Node #0,0,2 Current State: 98:[99, 1], Operations: ['24-10=14', '14/14=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 24, 98, 79, 65 ]
88
[ "98-24=74", "79-65=14", "74+14=88" ]
Current State: 88:[24, 98, 79, 65], Operations: [] Exploring Operation: 98-24=74, Resulting Numbers: [79, 65, 74] Generated Node #2: [79, 65, 74] from Operation: 98-24=74 Current State: 88:[79, 65, 74], Operations: ['98-24=74'] Exploring Operation: 79-65=14, Resulting Numbers: [74, 14] Generated Node #3: [74, 14] from Operation: 79-65=14 Current State: 88:[74, 14], Operations: ['98-24=74', '79-65=14'] Exploring Operation: 74+14=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[24, 98, 79, 65], Operations: [] Exploring Operation: 79-65=14, Resulting Numbers: [24, 98, 14] Generated Node #0,0: 88:[24, 98, 14] Operation: 79-65=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[24, 98, 14], Operations: ['79-65=14'] Exploring Operation: 98/14=7, Resulting Numbers: [24, 7] Generated Node #0,0,0: 88:[24, 7] Operation: 98/14=7 Moving to Node #0,0,0 Current State: 88:[24, 7], Operations: ['79-65=14', '98/14=7'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,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
mult_heuristic
[ 77, 11, 96, 61 ]
17
[ "77-61=16", "96/16=6", "11+6=17" ]
Current State: 17:[77, 11, 96, 61], Operations: [] Exploring Operation: 77-61=16, Resulting Numbers: [11, 96, 16] Generated Node #2: [11, 96, 16] from Operation: 77-61=16 Current State: 17:[11, 96, 16], Operations: ['77-61=16'] Exploring Operation: 96/16=6, Resulting Numbers: [11, 6] Generated Node #3: [11, 6] from Operation: 96/16=6 Current State: 17:[11, 6], Operations: ['77-61=16', '96/16=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[77, 11, 96, 61], Operations: [] Exploring Operation: 96-61=35, Resulting Numbers: [77, 11, 35] Generated Node #0,0: 17:[77, 11, 35] Operation: 96-61=35 Exploring Operation: 77/11=7, Resulting Numbers: [96, 61, 7] Generated Node #0,1: 17:[96, 61, 7] Operation: 77/11=7 Exploring Operation: 77-61=16, Resulting Numbers: [11, 96, 16] Generated Node #0,2: 17:[11, 96, 16] Operation: 77-61=16 Exploring Operation: 96-77=19, Resulting Numbers: [11, 61, 19] Generated Node #0,3: 17:[11, 61, 19] Operation: 96-77=19 Moving to Node #0,3 Current State: 17:[11, 61, 19], Operations: ['96-77=19'] Exploring Operation: 61-19=42, Resulting Numbers: [11, 42] Generated Node #0,3,0: 17:[11, 42] Operation: 61-19=42 Exploring Operation: 11+61=72, Resulting Numbers: [19, 72] Generated Node #0,3,1: 17:[19, 72] Operation: 11+61=72 Exploring Operation: 61-11=50, Resulting Numbers: [19, 50] Generated Node #0,3,2: 17:[19, 50] Operation: 61-11=50 Exploring Operation: 19-11=8, Resulting Numbers: [61, 8] Generated Node #0,3,3: 17:[61, 8] Operation: 19-11=8 Moving to Node #0,0 Current State: 17:[77, 11, 35], Operations: ['96-61=35'] Exploring Operation: 35-11=24, Resulting Numbers: [77, 24] Generated Node #0,0,0: 17:[77, 24] Operation: 35-11=24 Exploring Operation: 77-11=66, Resulting Numbers: [35, 66] Generated Node #0,0,1: 17:[35, 66] Operation: 77-11=66 Exploring Operation: 77-35=42, Resulting Numbers: [11, 42] Generated Node #0,0,2: 17:[11, 42] Operation: 77-35=42 Exploring Operation: 77/11=7, Resulting Numbers: [35, 7] Generated Node #0,0,3: 17:[35, 7] Operation: 77/11=7 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 17:[35, 7], Operations: ['96-61=35', '77/11=7'] Exploring Operation: 35*7=245, Resulting Numbers: [245] 245,17 unequal: No Solution Exploring Operation: 35+7=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 17:[11, 42], Operations: ['96-61=35', '77-35=42'] Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 11*42=462, Resulting Numbers: [462] 462,17 unequal: No Solution Exploring Operation: 11+42=53, Resulting Numbers: [53] 53,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[77, 24], Operations: ['96-61=35', '35-11=24'] Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,17 unequal: No Solution Exploring Operation: 77*24=1848, Resulting Numbers: [1848] 1848,17 unequal: No Solution Exploring Operation: 77+24=101, Resulting Numbers: [101] 101,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[35, 66], Operations: ['96-61=35', '77-11=66'] Exploring Operation: 35+66=101, Resulting Numbers: [101] 101,17 unequal: No Solution Exploring Operation: 35*66=2310, Resulting Numbers: [2310] 2310,17 unequal: No Solution Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 17:[11, 96, 16], Operations: ['77-61=16'] Exploring Operation: 96-11=85, Resulting Numbers: [16, 85] Generated Node #0,2,0: 17:[16, 85] Operation: 96-11=85 Exploring Operation: 11+16=27, Resulting Numbers: [96, 27] Generated Node #0,2,1: 17:[96, 27] Operation: 11+16=27 Exploring Operation: 96/16=6, Resulting Numbers: [11, 6] Generated Node #0,2,2: 17:[11, 6] Operation: 96/16=6 Exploring Operation: 96-16=80, Resulting Numbers: [11, 80] Generated Node #0,2,3: 17:[11, 80] Operation: 96-16=80 Moving to Node #0,1 Current State: 17:[96, 61, 7], Operations: ['77/11=7'] Exploring Operation: 96-7=89, Resulting Numbers: [61, 89] Generated Node #0,1,0: 17:[61, 89] Operation: 96-7=89 Exploring Operation: 96-61=35, Resulting Numbers: [7, 35] Generated Node #0,1,1: 17:[7, 35] Operation: 96-61=35 Exploring Operation: 96+7=103, Resulting Numbers: [61, 103] Generated Node #0,1,2: 17:[61, 103] Operation: 96+7=103 Exploring Operation: 61-7=54, Resulting Numbers: [96, 54] Generated Node #0,1,3: 17:[96, 54] Operation: 61-7=54 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[7, 35], Operations: ['77/11=7', '96-61=35'] Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 7*35=245, Resulting Numbers: [245] 245,17 unequal: No Solution Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,17 unequal: No Solution Exploring Operation: 7+35=42, Resulting Numbers: [42] 42,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[61, 89], Operations: ['77/11=7', '96-7=89'] Exploring Operation: 61+89=150, Resulting Numbers: [150] 150,17 unequal: No Solution Exploring Operation: 61*89=5429, Resulting Numbers: [5429] 5429,17 unequal: No Solution Exploring Operation: 89-61=28, Resulting Numbers: [28] 28,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 17:[96, 54], Operations: ['77/11=7', '61-7=54'] Exploring Operation: 96+54=150, Resulting Numbers: [150] 150,17 unequal: No Solution Exploring Operation: 96*54=5184, Resulting Numbers: [5184] 5184,17 unequal: No Solution Exploring Operation: 96-54=42, Resulting Numbers: [42] 42,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 17:[61, 103], Operations: ['77/11=7', '96+7=103'] Exploring Operation: 61+103=164, Resulting Numbers: [164] 164,17 unequal: No Solution Exploring Operation: 61*103=6283, Resulting Numbers: [6283] 6283,17 unequal: No Solution Exploring Operation: 103-61=42, Resulting Numbers: [42] 42,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 17:[11, 6], Operations: ['77-61=16', '96/16=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[77, 11, 96, 61], Operations: [] Exploring Operation: 77-61=16, Resulting Numbers: [11, 96, 16] Generated Node #0,2: 17:[11, 96, 16] Operation: 77-61=16 Moving to Node #0,2 Current State: 17:[11, 96, 16], Operations: ['77-61=16'] Exploring Operation: 96/16=6, Resulting Numbers: [11, 6] Generated Node #0,2,2: 17:[11, 6] Operation: 96/16=6 Moving to Node #0,2,2 Current State: 17:[11, 6], Operations: ['77-61=16', '96/16=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.955729
hs_4
mult_heuristic
[ 20, 24, 5, 85 ]
68
[ "24-20=4", "85/5=17", "4*17=68" ]
Current State: 68:[20, 24, 5, 85], Operations: [] Exploring Operation: 24-20=4, Resulting Numbers: [5, 85, 4] Generated Node #2: [5, 85, 4] from Operation: 24-20=4 Current State: 68:[5, 85, 4], Operations: ['24-20=4'] Exploring Operation: 85/5=17, Resulting Numbers: [4, 17] Generated Node #3: [4, 17] from Operation: 85/5=17 Current State: 68:[4, 17], Operations: ['24-20=4', '85/5=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[20, 24, 5, 85], Operations: [] Exploring Operation: 85-20=65, Resulting Numbers: [24, 5, 65] Generated Node #0,0: 68:[24, 5, 65] Operation: 85-20=65 Exploring Operation: 85-24=61, Resulting Numbers: [20, 5, 61] Generated Node #0,1: 68:[20, 5, 61] Operation: 85-24=61 Exploring Operation: 24-20=4, Resulting Numbers: [5, 85, 4] Generated Node #0,2: 68:[5, 85, 4] Operation: 24-20=4 Exploring Operation: 85/5=17, Resulting Numbers: [20, 24, 17] Generated Node #0,3: 68:[20, 24, 17] Operation: 85/5=17 Start Sub Search at level 1: Moving to Node #0,3 Current State: 68:[20, 24, 17], Operations: ['85/5=17'] Exploring Operation: 20+24=44, Resulting Numbers: [17, 44] Generated Node #0,3,0: 68:[17, 44] Operation: 20+24=44 Exploring Operation: 20-17=3, Resulting Numbers: [24, 3] Generated Node #0,3,1: 68:[24, 3] Operation: 20-17=3 Exploring Operation: 24-17=7, Resulting Numbers: [20, 7] Generated Node #0,3,2: 68:[20, 7] Operation: 24-17=7 Exploring Operation: 24-20=4, Resulting Numbers: [17, 4] Generated Node #0,3,3: 68:[17, 4] Operation: 24-20=4 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 68:[17, 4], Operations: ['85/5=17', '24-20=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[20, 24, 5, 85], Operations: [] Exploring Operation: 85/5=17, Resulting Numbers: [20, 24, 17] Generated Node #0,3: 68:[20, 24, 17] Operation: 85/5=17 Moving to Node #0,3 Current State: 68:[20, 24, 17], Operations: ['85/5=17'] Exploring Operation: 24-20=4, Resulting Numbers: [17, 4] Generated Node #0,3,3: 68:[17, 4] Operation: 24-20=4 Moving to Node #0,3,3 Current State: 68:[17, 4], Operations: ['85/5=17', '24-20=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 17, 16, 96, 51 ]
28
[ "51-17=34", "96/16=6", "34-6=28" ]
Current State: 28:[17, 16, 96, 51], Operations: [] Exploring Operation: 51-17=34, Resulting Numbers: [16, 96, 34] Generated Node #2: [16, 96, 34] from Operation: 51-17=34 Current State: 28:[16, 96, 34], Operations: ['51-17=34'] Exploring Operation: 96/16=6, Resulting Numbers: [34, 6] Generated Node #3: [34, 6] from Operation: 96/16=6 Current State: 28:[34, 6], Operations: ['51-17=34', '96/16=6'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[17, 16, 96, 51], Operations: [] Exploring Operation: 51/17=3, Resulting Numbers: [16, 96, 3] Generated Node #0,0: 28:[16, 96, 3] Operation: 51/17=3 Exploring Operation: 96-17=79, Resulting Numbers: [16, 51, 79] Generated Node #0,1: 28:[16, 51, 79] Operation: 96-17=79 Exploring Operation: 96-51=45, Resulting Numbers: [17, 16, 45] Generated Node #0,2: 28:[17, 16, 45] Operation: 96-51=45 Exploring Operation: 96/16=6, Resulting Numbers: [17, 51, 6] Generated Node #0,3: 28:[17, 51, 6] Operation: 96/16=6 Moving to Node #0,2 Current State: 28:[17, 16, 45], Operations: ['96-51=45'] Exploring Operation: 17-16=1, Resulting Numbers: [45, 1] Generated Node #0,2,0: 28:[45, 1] Operation: 17-16=1 Exploring Operation: 17+16=33, Resulting Numbers: [45, 33] Generated Node #0,2,1: 28:[45, 33] Operation: 17+16=33 Exploring Operation: 45-17=28, Resulting Numbers: [16, 28] Generated Node #0,2,2: 28:[16, 28] Operation: 45-17=28 Exploring Operation: 45-16=29, Resulting Numbers: [17, 29] Generated Node #0,2,3: 28:[17, 29] Operation: 45-16=29 Moving to Node #0,3 Current State: 28:[17, 51, 6], Operations: ['96/16=6'] Exploring Operation: 51/17=3, Resulting Numbers: [6, 3] Generated Node #0,3,0: 28:[6, 3] Operation: 51/17=3 Exploring Operation: 51-17=34, Resulting Numbers: [6, 34] Generated Node #0,3,1: 28:[6, 34] Operation: 51-17=34 Exploring Operation: 17-6=11, Resulting Numbers: [51, 11] Generated Node #0,3,2: 28:[51, 11] Operation: 17-6=11 Exploring Operation: 51-6=45, Resulting Numbers: [17, 45] Generated Node #0,3,3: 28:[17, 45] Operation: 51-6=45 Moving to Node #0,0 Current State: 28:[16, 96, 3], Operations: ['51/17=3'] Exploring Operation: 96/16=6, Resulting Numbers: [3, 6] Generated Node #0,0,0: 28:[3, 6] Operation: 96/16=6 Exploring Operation: 96/3=32, Resulting Numbers: [16, 32] Generated Node #0,0,1: 28:[16, 32] Operation: 96/3=32 Exploring Operation: 96-16=80, Resulting Numbers: [3, 80] Generated Node #0,0,2: 28:[3, 80] Operation: 96-16=80 Exploring Operation: 96-3=93, Resulting Numbers: [16, 93] Generated Node #0,0,3: 28:[16, 93] Operation: 96-3=93 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[3, 6], Operations: ['51/17=3', '96/16=6'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,28 unequal: No Solution No 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: 28:[16, 32], Operations: ['51/17=3', '96/3=32'] Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 16*32=512, Resulting Numbers: [512] 512,28 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,28 unequal: No Solution No 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: 28:[3, 80], Operations: ['51/17=3', '96-16=80'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,28 unequal: No Solution Exploring Operation: 3*80=240, Resulting Numbers: [240] 240,28 unequal: No Solution Exploring Operation: 3+80=83, Resulting Numbers: [83] 83,28 unequal: No Solution No 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: 28:[16, 93], Operations: ['51/17=3', '96-3=93'] Exploring Operation: 16*93=1488, Resulting Numbers: [1488] 1488,28 unequal: No Solution Exploring Operation: 93-16=77, Resulting Numbers: [77] 77,28 unequal: No Solution Exploring Operation: 16+93=109, Resulting Numbers: [109] 109,28 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: 28:[16, 51, 79], Operations: ['96-17=79'] Exploring Operation: 16+51=67, Resulting Numbers: [79, 67] Generated Node #0,1,0: 28:[79, 67] Operation: 16+51=67 Exploring Operation: 51-16=35, Resulting Numbers: [79, 35] Generated Node #0,1,1: 28:[79, 35] Operation: 51-16=35 Exploring Operation: 79-51=28, Resulting Numbers: [16, 28] Generated Node #0,1,2: 28:[16, 28] Operation: 79-51=28 Exploring Operation: 79-16=63, Resulting Numbers: [51, 63] Generated Node #0,1,3: 28:[51, 63] Operation: 79-16=63 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[16, 28], Operations: ['96-17=79', '79-51=28'] Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,28 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 16*28=448, Resulting Numbers: [448] 448,28 unequal: No Solution No 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: 28:[79, 35], Operations: ['96-17=79', '51-16=35'] Exploring Operation: 79*35=2765, Resulting Numbers: [2765] 2765,28 unequal: No Solution Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,28 unequal: No Solution Exploring Operation: 79+35=114, Resulting Numbers: [114] 114,28 unequal: No Solution No 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: 28:[51, 63], Operations: ['96-17=79', '79-16=63'] Exploring Operation: 51*63=3213, Resulting Numbers: [3213] 3213,28 unequal: No Solution Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 51+63=114, Resulting Numbers: [114] 114,28 unequal: No Solution No 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: 28:[79, 67], Operations: ['96-17=79', '16+51=67'] Exploring Operation: 79*67=5293, Resulting Numbers: [5293] 5293,28 unequal: No Solution Exploring Operation: 79+67=146, Resulting Numbers: [146] 146,28 unequal: No Solution Exploring Operation: 79-67=12, Resulting Numbers: [12] 12,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 28:[16, 28], Operations: ['96-51=45', '45-17=28'] Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,28 unequal: No Solution Exploring Operation: 16*28=448, Resulting Numbers: [448] 448,28 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,28 unequal: No Solution Moving to Node #0,3,0 Current State: 28:[6, 3], Operations: ['96/16=6', '51/17=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,28 unequal: No Solution Moving to Node #0,2,3 Current State: 28:[17, 29], Operations: ['96-51=45', '45-16=29'] Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 17+29=46, Resulting Numbers: [46] 46,28 unequal: No Solution Exploring Operation: 17*29=493, Resulting Numbers: [493] 493,28 unequal: No Solution Moving to Node #0,3,1 Current State: 28:[6, 34], Operations: ['96/16=6', '51-17=34'] Exploring Operation: 6*34=204, Resulting Numbers: [204] 204,28 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[17, 16, 96, 51], Operations: [] Exploring Operation: 96/16=6, Resulting Numbers: [17, 51, 6] Generated Node #0,3: 28:[17, 51, 6] Operation: 96/16=6 Moving to Node #0,3 Current State: 28:[17, 51, 6], Operations: ['96/16=6'] Exploring Operation: 51-17=34, Resulting Numbers: [6, 34] Generated Node #0,3,1: 28:[6, 34] Operation: 51-17=34 Moving to Node #0,3,1 Current State: 28:[6, 34], Operations: ['96/16=6', '51-17=34'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
0.946181
hs_4
sum_heuristic
[ 6, 16, 20, 50 ]
34
[ "16*50=800", "800/20=40", "40-6=34" ]
Current State: 34:[6, 16, 20, 50], Operations: [] Exploring Operation: 16*50=800, Resulting Numbers: [6, 20, 800] Generated Node #2: [6, 20, 800] from Operation: 16*50=800 Current State: 34:[6, 20, 800], Operations: ['16*50=800'] Exploring Operation: 800/20=40, Resulting Numbers: [6, 40] Generated Node #3: [6, 40] from Operation: 800/20=40 Current State: 34:[6, 40], Operations: ['16*50=800', '800/20=40'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[6, 16, 20, 50], Operations: [] Exploring Operation: 50-20=30, Resulting Numbers: [6, 16, 30] Generated Node #0,0: 34:[6, 16, 30] Operation: 50-20=30 Exploring Operation: 50-16=34, Resulting Numbers: [6, 20, 34] Generated Node #0,1: 34:[6, 20, 34] Operation: 50-16=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[6, 20, 34], Operations: ['50-16=34'] Exploring Operation: 20-6=14, Resulting Numbers: [34, 14] Generated Node #0,1,0: 34:[34, 14] Operation: 20-6=14 Exploring Operation: 34-20=14, Resulting Numbers: [6, 14] Generated Node #0,1,1: 34:[6, 14] Operation: 34-20=14 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 34:[34, 14], Operations: ['50-16=34', '20-6=14'] Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 34+14=48, Resulting Numbers: [48] 48,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 34:[6, 14], Operations: ['50-16=34', '34-20=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[6, 16, 30], Operations: ['50-20=30'] Exploring Operation: 30/6=5, Resulting Numbers: [16, 5] Generated Node #0,0,0: 34:[16, 5] Operation: 30/6=5 Exploring Operation: 6+30=36, Resulting Numbers: [16, 36] Generated Node #0,0,1: 34:[16, 36] Operation: 6+30=36 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 34:[16, 36], Operations: ['50-20=30', '6+30=36'] Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[16, 5], Operations: ['50-20=30', '30/6=5'] Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 96, 45, 26, 47 ]
83
[ "47-45=2", "26/2=13", "96-13=83" ]
Current State: 83:[96, 45, 26, 47], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [96, 26, 2] Generated Node #2: [96, 26, 2] from Operation: 47-45=2 Current State: 83:[96, 26, 2], Operations: ['47-45=2'] Exploring Operation: 26/2=13, Resulting Numbers: [96, 13] Generated Node #3: [96, 13] from Operation: 26/2=13 Current State: 83:[96, 13], Operations: ['47-45=2', '26/2=13'] Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[96, 45, 26, 47], Operations: [] Exploring Operation: 45+26=71, Resulting Numbers: [96, 47, 71] Generated Node #0,0: 83:[96, 47, 71] Operation: 45+26=71 Exploring Operation: 45+47=92, Resulting Numbers: [96, 26, 92] Generated Node #0,1: 83:[96, 26, 92] Operation: 45+47=92 Exploring Operation: 26+47=73, Resulting Numbers: [96, 45, 73] Generated Node #0,2: 83:[96, 45, 73] Operation: 26+47=73 Moving to Node #0,0 Current State: 83:[96, 47, 71], Operations: ['45+26=71'] Exploring Operation: 96-47=49, Resulting Numbers: [71, 49] Generated Node #0,0,0: 83:[71, 49] Operation: 96-47=49 Exploring Operation: 96+47=143, Resulting Numbers: [71, 143] Generated Node #0,0,1: 83:[71, 143] Operation: 96+47=143 Exploring Operation: 47+71=118, Resulting Numbers: [96, 118] Generated Node #0,0,2: 83:[96, 118] Operation: 47+71=118 Moving to Node #0,2 Current State: 83:[96, 45, 73], Operations: ['26+47=73'] Exploring Operation: 96-45=51, Resulting Numbers: [73, 51] Generated Node #0,2,0: 83:[73, 51] Operation: 96-45=51 Exploring Operation: 45+73=118, Resulting Numbers: [96, 118] Generated Node #0,2,1: 83:[96, 118] Operation: 45+73=118 Exploring Operation: 96+45=141, Resulting Numbers: [73, 141] Generated Node #0,2,2: 83:[73, 141] Operation: 96+45=141 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[73, 51], Operations: ['26+47=73', '96-45=51'] Exploring Operation: 73+51=124, Resulting Numbers: [124] 124,83 unequal: No Solution Exploring Operation: 73-51=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 73*51=3723, Resulting Numbers: [3723] 3723,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[96, 118], Operations: ['26+47=73', '45+73=118'] Exploring Operation: 118-96=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 96*118=11328, Resulting Numbers: [11328] 11328,83 unequal: No Solution Exploring Operation: 96+118=214, Resulting Numbers: [214] 214,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[73, 141], Operations: ['26+47=73', '96+45=141'] Exploring Operation: 73+141=214, Resulting Numbers: [214] 214,83 unequal: No Solution Exploring Operation: 73*141=10293, Resulting Numbers: [10293] 10293,83 unequal: No Solution Exploring Operation: 141-73=68, Resulting Numbers: [68] 68,83 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: 83:[96, 26, 92], Operations: ['45+47=92'] Exploring Operation: 92-26=66, Resulting Numbers: [96, 66] Generated Node #0,1,0: 83:[96, 66] Operation: 92-26=66 Exploring Operation: 96-26=70, Resulting Numbers: [92, 70] Generated Node #0,1,1: 83:[92, 70] Operation: 96-26=70 Exploring Operation: 96+26=122, Resulting Numbers: [92, 122] Generated Node #0,1,2: 83:[92, 122] Operation: 96+26=122 Moving to Node #0,1,1 Current State: 83:[92, 70], Operations: ['45+47=92', '96-26=70'] Exploring Operation: 92-70=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 92+70=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 92*70=6440, Resulting Numbers: [6440] 6440,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[96, 66], Operations: ['45+47=92', '92-26=66'] Exploring Operation: 96+66=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 96*66=6336, Resulting Numbers: [6336] 6336,83 unequal: No Solution Exploring Operation: 96-66=30, Resulting Numbers: [30] 30,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[71, 49], Operations: ['45+26=71', '96-47=49'] Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 71*49=3479, Resulting Numbers: [3479] 3479,83 unequal: No Solution Exploring Operation: 71+49=120, Resulting Numbers: [120] 120,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[92, 122], Operations: ['45+47=92', '96+26=122'] Exploring Operation: 92*122=11224, Resulting Numbers: [11224] 11224,83 unequal: No Solution Exploring Operation: 122-92=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 92+122=214, Resulting Numbers: [214] 214,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[96, 118], Operations: ['45+26=71', '47+71=118'] Exploring Operation: 96*118=11328, Resulting Numbers: [11328] 11328,83 unequal: No Solution Exploring Operation: 118-96=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 96+118=214, Resulting Numbers: [214] 214,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[71, 143], Operations: ['45+26=71', '96+47=143'] Exploring Operation: 71+143=214, Resulting Numbers: [214] 214,83 unequal: No Solution Exploring Operation: 143-71=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 71*143=10153, Resulting Numbers: [10153] 10153,83 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 25, 54, 74, 70 ]
14
[ "25+54=79", "79-74=5", "70/5=14" ]
Current State: 14:[25, 54, 74, 70], Operations: [] Exploring Operation: 25+54=79, Resulting Numbers: [74, 70, 79] Generated Node #2: [74, 70, 79] from Operation: 25+54=79 Current State: 14:[74, 70, 79], Operations: ['25+54=79'] Exploring Operation: 79-74=5, Resulting Numbers: [70, 5] Generated Node #3: [70, 5] from Operation: 79-74=5 Current State: 14:[70, 5], Operations: ['25+54=79', '79-74=5'] Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[25, 54, 74, 70], Operations: [] Exploring Operation: 74-70=4, Resulting Numbers: [25, 54, 4] Generated Node #0,0: 14:[25, 54, 4] Operation: 74-70=4 Moving to Node #0,0 Current State: 14:[25, 54, 4], Operations: ['74-70=4'] Exploring Operation: 54-25=29, Resulting Numbers: [4, 29] Generated Node #0,0,0: 14:[4, 29] Operation: 54-25=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[4, 29], Operations: ['74-70=4', '54-25=29'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,14 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
[ 13, 3, 13, 70 ]
44
[ "13*3=39", "13+70=83", "83-39=44" ]
Current State: 44:[13, 3, 13, 70], Operations: [] Exploring Operation: 13*3=39, Resulting Numbers: [70, 39] Generated Node #2: [70, 39] from Operation: 13*3=39 Current State: 44:[70, 39], Operations: ['13*3=39'] Exploring Operation: 13+70=83, Resulting Numbers: [39, 83] Generated Node #3: [39, 83] from Operation: 13+70=83 Current State: 44:[39, 83], Operations: ['13*3=39', '13+70=83'] Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[13, 3, 13, 70], Operations: [] Exploring Operation: 70-13=57, Resulting Numbers: [3, 13, 57] Generated Node #0,0: 44:[3, 13, 57] Operation: 70-13=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[3, 13, 57], Operations: ['70-13=57'] Exploring Operation: 57-13=44, Resulting Numbers: [3, 44] Generated Node #0,0,0: 44:[3, 44] Operation: 57-13=44 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[3, 44], Operations: ['70-13=57', '57-13=44'] Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 76, 82, 63, 85 ]
75
[ "85-76=9", "63/9=7", "82-7=75" ]
Current State: 75:[76, 82, 63, 85], Operations: [] Exploring Operation: 85-76=9, Resulting Numbers: [82, 63, 9] Generated Node #2: [82, 63, 9] from Operation: 85-76=9 Current State: 75:[82, 63, 9], Operations: ['85-76=9'] Exploring Operation: 63/9=7, Resulting Numbers: [82, 7] Generated Node #3: [82, 7] from Operation: 63/9=7 Current State: 75:[82, 7], Operations: ['85-76=9', '63/9=7'] Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[76, 82, 63, 85], Operations: [] Exploring Operation: 76-63=13, Resulting Numbers: [82, 85, 13] Generated Node #0,0: 75:[82, 85, 13] Operation: 76-63=13 Exploring Operation: 82-63=19, Resulting Numbers: [76, 85, 19] Generated Node #0,1: 75:[76, 85, 19] Operation: 82-63=19 Exploring Operation: 85-82=3, Resulting Numbers: [76, 63, 3] Generated Node #0,2: 75:[76, 63, 3] Operation: 85-82=3 Exploring Operation: 85-63=22, Resulting Numbers: [76, 82, 22] Generated Node #0,3: 75:[76, 82, 22] Operation: 85-63=22 Moving to Node #0,3 Current State: 75:[76, 82, 22], Operations: ['85-63=22'] Exploring Operation: 82-22=60, Resulting Numbers: [76, 60] Generated Node #0,3,0: 75:[76, 60] Operation: 82-22=60 Exploring Operation: 76+22=98, Resulting Numbers: [82, 98] Generated Node #0,3,1: 75:[82, 98] Operation: 76+22=98 Exploring Operation: 82-76=6, Resulting Numbers: [22, 6] Generated Node #0,3,2: 75:[22, 6] Operation: 82-76=6 Exploring Operation: 76-22=54, Resulting Numbers: [82, 54] Generated Node #0,3,3: 75:[82, 54] Operation: 76-22=54 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 75:[22, 6], Operations: ['85-63=22', '82-76=6'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,75 unequal: No Solution Exploring Operation: 22*6=132, Resulting Numbers: [132] 132,75 unequal: No Solution No 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: 75:[76, 60], Operations: ['85-63=22', '82-22=60'] Exploring Operation: 76-60=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 76+60=136, Resulting Numbers: [136] 136,75 unequal: No Solution Exploring Operation: 76*60=4560, Resulting Numbers: [4560] 4560,75 unequal: No Solution No 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: 75:[82, 54], Operations: ['85-63=22', '76-22=54'] Exploring Operation: 82*54=4428, Resulting Numbers: [4428] 4428,75 unequal: No Solution Exploring Operation: 82-54=28, Resulting Numbers: [28] 28,75 unequal: No Solution Exploring Operation: 82+54=136, Resulting Numbers: [136] 136,75 unequal: No Solution No 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: 75:[82, 98], Operations: ['85-63=22', '76+22=98'] Exploring Operation: 98-82=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 82*98=8036, Resulting Numbers: [8036] 8036,75 unequal: No Solution Exploring Operation: 82+98=180, Resulting Numbers: [180] 180,75 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: 75:[76, 63, 3], Operations: ['85-82=3'] Exploring Operation: 76-63=13, Resulting Numbers: [3, 13] Generated Node #0,2,0: 75:[3, 13] Operation: 76-63=13 Exploring Operation: 63/3=21, Resulting Numbers: [76, 21] Generated Node #0,2,1: 75:[76, 21] Operation: 63/3=21 Exploring Operation: 76-3=73, Resulting Numbers: [63, 73] Generated Node #0,2,2: 75:[63, 73] Operation: 76-3=73 Exploring Operation: 63+3=66, Resulting Numbers: [76, 66] Generated Node #0,2,3: 75:[76, 66] Operation: 63+3=66 Moving to Node #0,1 Current State: 75:[76, 85, 19], Operations: ['82-63=19'] Exploring Operation: 85-76=9, Resulting Numbers: [19, 9] Generated Node #0,1,0: 75:[19, 9] Operation: 85-76=9 Exploring Operation: 76-19=57, Resulting Numbers: [85, 57] Generated Node #0,1,1: 75:[85, 57] Operation: 76-19=57 Exploring Operation: 76/19=4, Resulting Numbers: [85, 4] Generated Node #0,1,2: 75:[85, 4] Operation: 76/19=4 Exploring Operation: 85-19=66, Resulting Numbers: [76, 66] Generated Node #0,1,3: 75:[76, 66] Operation: 85-19=66 Moving to Node #0,0 Current State: 75:[82, 85, 13], Operations: ['76-63=13'] Exploring Operation: 82+13=95, Resulting Numbers: [85, 95] Generated Node #0,0,0: 75:[85, 95] Operation: 82+13=95 Exploring Operation: 85-82=3, Resulting Numbers: [13, 3] Generated Node #0,0,1: 75:[13, 3] Operation: 85-82=3 Exploring Operation: 82-13=69, Resulting Numbers: [85, 69] Generated Node #0,0,2: 75:[85, 69] Operation: 82-13=69 Exploring Operation: 85-13=72, Resulting Numbers: [82, 72] Generated Node #0,0,3: 75:[82, 72] Operation: 85-13=72 Moving to Node #0,2,0 Current State: 75:[3, 13], Operations: ['85-82=3', '76-63=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,75 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[13, 3], Operations: ['76-63=13', '85-82=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[76, 21], Operations: ['85-82=3', '63/3=21'] Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,75 unequal: No Solution Exploring Operation: 76+21=97, Resulting Numbers: [97] 97,75 unequal: No Solution Exploring Operation: 76*21=1596, Resulting Numbers: [1596] 1596,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[19, 9], Operations: ['82-63=19', '85-76=9'] Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,75 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,75 unequal: No Solution Moving to Node #0,2,3 Current State: 75:[76, 66], Operations: ['85-82=3', '63+3=66'] Exploring Operation: 76+66=142, Resulting Numbers: [142] 142,75 unequal: No Solution Exploring Operation: 76-66=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 76*66=5016, Resulting Numbers: [5016] 5016,75 unequal: No Solution Moving to Node #0,1,3 Current State: 75:[76, 66], Operations: ['82-63=19', '85-19=66'] Exploring Operation: 76-66=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 76+66=142, Resulting Numbers: [142] 142,75 unequal: No Solution Exploring Operation: 76*66=5016, Resulting Numbers: [5016] 5016,75 unequal: No Solution Moving to Node #0,0,3 Current State: 75:[82, 72], Operations: ['76-63=13', '85-13=72'] Exploring Operation: 82+72=154, Resulting Numbers: [154] 154,75 unequal: No Solution Exploring Operation: 82-72=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 82*72=5904, Resulting Numbers: [5904] 5904,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[85, 4], Operations: ['82-63=19', '76/19=4'] Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,75 unequal: No Solution Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,75 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[63, 73], Operations: ['85-82=3', '76-3=73'] Exploring Operation: 73-63=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 63+73=136, Resulting Numbers: [136] 136,75 unequal: No Solution Exploring Operation: 63*73=4599, Resulting Numbers: [4599] 4599,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[85, 69], Operations: ['76-63=13', '82-13=69'] Exploring Operation: 85*69=5865, Resulting Numbers: [5865] 5865,75 unequal: No Solution Exploring Operation: 85-69=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 85+69=154, Resulting Numbers: [154] 154,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[85, 57], Operations: ['82-63=19', '76-19=57'] Exploring Operation: 85+57=142, Resulting Numbers: [142] 142,75 unequal: No Solution Exploring Operation: 85*57=4845, Resulting Numbers: [4845] 4845,75 unequal: No Solution Exploring Operation: 85-57=28, Resulting Numbers: [28] 28,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[85, 95], Operations: ['76-63=13', '82+13=95'] Exploring Operation: 85*95=8075, Resulting Numbers: [8075] 8075,75 unequal: No Solution Exploring Operation: 85+95=180, Resulting Numbers: [180] 180,75 unequal: No Solution Exploring Operation: 95-85=10, Resulting Numbers: [10] 10,75 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 9, 5, 95, 2 ]
79
[ "9+5=14", "95-2=93", "93-14=79" ]
Current State: 79:[9, 5, 95, 2], Operations: [] Exploring Operation: 9+5=14, Resulting Numbers: [95, 2, 14] Generated Node #2: [95, 2, 14] from Operation: 9+5=14 Current State: 79:[95, 2, 14], Operations: ['9+5=14'] Exploring Operation: 95-2=93, Resulting Numbers: [14, 93] Generated Node #3: [14, 93] from Operation: 95-2=93 Current State: 79:[14, 93], Operations: ['9+5=14', '95-2=93'] Exploring Operation: 93-14=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[9, 5, 95, 2], Operations: [] Exploring Operation: 5*2=10, Resulting Numbers: [9, 95, 10] Generated Node #0,0: 79:[9, 95, 10] Operation: 5*2=10 Exploring Operation: 9*2=18, Resulting Numbers: [5, 95, 18] Generated Node #0,1: 79:[5, 95, 18] Operation: 9*2=18 Exploring Operation: 9+5=14, Resulting Numbers: [95, 2, 14] Generated Node #0,2: 79:[95, 2, 14] Operation: 9+5=14 Exploring Operation: 9*5=45, Resulting Numbers: [95, 2, 45] Generated Node #0,3: 79:[95, 2, 45] Operation: 9*5=45 Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[95, 2, 45], Operations: ['9*5=45'] Exploring Operation: 95-2=93, Resulting Numbers: [45, 93] Generated Node #0,3,0: 79:[45, 93] Operation: 95-2=93 Exploring Operation: 2*45=90, Resulting Numbers: [95, 90] Generated Node #0,3,1: 79:[95, 90] Operation: 2*45=90 Exploring Operation: 2+45=47, Resulting Numbers: [95, 47] Generated Node #0,3,2: 79:[95, 47] Operation: 2+45=47 Exploring Operation: 95+2=97, Resulting Numbers: [45, 97] Generated Node #0,3,3: 79:[45, 97] Operation: 95+2=97 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 79:[95, 90], Operations: ['9*5=45', '2*45=90'] Exploring Operation: 95*90=8550, Resulting Numbers: [8550] 8550,79 unequal: No Solution Exploring Operation: 95-90=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 95+90=185, Resulting Numbers: [185] 185,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 79:[45, 93], Operations: ['9*5=45', '95-2=93'] Exploring Operation: 45+93=138, Resulting Numbers: [138] 138,79 unequal: No Solution Exploring Operation: 45*93=4185, Resulting Numbers: [4185] 4185,79 unequal: No Solution Exploring Operation: 93-45=48, Resulting Numbers: [48] 48,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 79:[95, 47], Operations: ['9*5=45', '2+45=47'] Exploring Operation: 95+47=142, Resulting Numbers: [142] 142,79 unequal: No Solution Exploring Operation: 95*47=4465, Resulting Numbers: [4465] 4465,79 unequal: No Solution Exploring Operation: 95-47=48, Resulting Numbers: [48] 48,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 79:[45, 97], Operations: ['9*5=45', '95+2=97'] Exploring Operation: 45*97=4365, Resulting Numbers: [4365] 4365,79 unequal: No Solution Exploring Operation: 45+97=142, Resulting Numbers: [142] 142,79 unequal: No Solution Exploring Operation: 97-45=52, Resulting Numbers: [52] 52,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[5, 95, 18], Operations: ['9*2=18'] Exploring Operation: 95-18=77, Resulting Numbers: [5, 77] Generated Node #0,1,0: 79:[5, 77] Operation: 95-18=77 Exploring Operation: 5+18=23, Resulting Numbers: [95, 23] Generated Node #0,1,1: 79:[95, 23] Operation: 5+18=23 Exploring Operation: 95-5=90, Resulting Numbers: [18, 90] Generated Node #0,1,2: 79:[18, 90] Operation: 95-5=90 Exploring Operation: 5*18=90, Resulting Numbers: [95, 90] Generated Node #0,1,3: 79:[95, 90] Operation: 5*18=90 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 79:[95, 90], Operations: ['9*2=18', '5*18=90'] Exploring Operation: 95*90=8550, Resulting Numbers: [8550] 8550,79 unequal: No Solution Exploring Operation: 95-90=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 95+90=185, Resulting Numbers: [185] 185,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[95, 23], Operations: ['9*2=18', '5+18=23'] Exploring Operation: 95-23=72, Resulting Numbers: [72] 72,79 unequal: No Solution Exploring Operation: 95+23=118, Resulting Numbers: [118] 118,79 unequal: No Solution Exploring Operation: 95*23=2185, Resulting Numbers: [2185] 2185,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 79:[18, 90], Operations: ['9*2=18', '95-5=90'] Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,79 unequal: No Solution Exploring Operation: 18+90=108, Resulting Numbers: [108] 108,79 unequal: No Solution Exploring Operation: 90/18=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 18*90=1620, Resulting Numbers: [1620] 1620,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[5, 77], Operations: ['9*2=18', '95-18=77'] Exploring Operation: 5*77=385, Resulting Numbers: [385] 385,79 unequal: No Solution Exploring Operation: 5+77=82, Resulting Numbers: [82] 82,79 unequal: No Solution Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[9, 95, 10], Operations: ['5*2=10'] Exploring Operation: 9+10=19, Resulting Numbers: [95, 19] Generated Node #0,0,0: 79:[95, 19] Operation: 9+10=19 Exploring Operation: 95-10=85, Resulting Numbers: [9, 85] Generated Node #0,0,1: 79:[9, 85] Operation: 95-10=85 Exploring Operation: 9*10=90, Resulting Numbers: [95, 90] Generated Node #0,0,2: 79:[95, 90] Operation: 9*10=90 Exploring Operation: 95-9=86, Resulting Numbers: [10, 86] Generated Node #0,0,3: 79:[10, 86] Operation: 95-9=86 Moving to Node #0,0,2 Current State: 79:[95, 90], Operations: ['5*2=10', '9*10=90'] Exploring Operation: 95-90=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 95+90=185, Resulting Numbers: [185] 185,79 unequal: No Solution Exploring Operation: 95*90=8550, Resulting Numbers: [8550] 8550,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[9, 85], Operations: ['5*2=10', '95-10=85'] Exploring Operation: 9+85=94, Resulting Numbers: [94] 94,79 unequal: No Solution Exploring Operation: 85-9=76, Resulting Numbers: [76] 76,79 unequal: No Solution Exploring Operation: 9*85=765, Resulting Numbers: [765] 765,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[95, 19], Operations: ['5*2=10', '9+10=19'] Exploring Operation: 95*19=1805, Resulting Numbers: [1805] 1805,79 unequal: No Solution Exploring Operation: 95-19=76, Resulting Numbers: [76] 76,79 unequal: No Solution Exploring Operation: 95/19=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 95+19=114, Resulting Numbers: [114] 114,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[10, 86], Operations: ['5*2=10', '95-9=86'] Exploring Operation: 10*86=860, Resulting Numbers: [860] 860,79 unequal: No Solution Exploring Operation: 10+86=96, Resulting Numbers: [96] 96,79 unequal: No Solution Exploring Operation: 86-10=76, Resulting Numbers: [76] 76,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[95, 2, 14], Operations: ['9+5=14'] Exploring Operation: 2*14=28, Resulting Numbers: [95, 28] Generated Node #0,2,0: 79:[95, 28] Operation: 2*14=28 Exploring Operation: 95-2=93, Resulting Numbers: [14, 93] Generated Node #0,2,1: 79:[14, 93] Operation: 95-2=93 Exploring Operation: 2+14=16, Resulting Numbers: [95, 16] Generated Node #0,2,2: 79:[95, 16] Operation: 2+14=16 Exploring Operation: 95-14=81, Resulting Numbers: [2, 81] Generated Node #0,2,3: 79:[2, 81] Operation: 95-14=81 Moving to Node #0,2,0 Current State: 79:[95, 28], Operations: ['9+5=14', '2*14=28'] Exploring Operation: 95-28=67, Resulting Numbers: [67] 67,79 unequal: No Solution Exploring Operation: 95*28=2660, Resulting Numbers: [2660] 2660,79 unequal: No Solution Exploring Operation: 95+28=123, Resulting Numbers: [123] 123,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[95, 16], Operations: ['9+5=14', '2+14=16'] Exploring Operation: 95*16=1520, Resulting Numbers: [1520] 1520,79 unequal: No Solution Exploring Operation: 95-16=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[9, 5, 95, 2], Operations: [] Exploring Operation: 9+5=14, Resulting Numbers: [95, 2, 14] Generated Node #0,2: 79:[95, 2, 14] Operation: 9+5=14 Moving to Node #0,2 Current State: 79:[95, 2, 14], Operations: ['9+5=14'] Exploring Operation: 2+14=16, Resulting Numbers: [95, 16] Generated Node #0,2,2: 79:[95, 16] Operation: 2+14=16 Moving to Node #0,2,2 Current State: 79:[95, 16], Operations: ['9+5=14', '2+14=16'] Exploring Operation: 95-16=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.94184
hs_4
mult_heuristic
[ 65, 2, 65, 53 ]
24
[ "65+65=130", "2*53=106", "130-106=24" ]
Current State: 24:[65, 2, 65, 53], Operations: [] Exploring Operation: 65+65=130, Resulting Numbers: [2, 53, 130] Generated Node #2: [2, 53, 130] from Operation: 65+65=130 Current State: 24:[2, 53, 130], Operations: ['65+65=130'] Exploring Operation: 2*53=106, Resulting Numbers: [130, 106] Generated Node #3: [130, 106] from Operation: 2*53=106 Current State: 24:[130, 106], Operations: ['65+65=130', '2*53=106'] Exploring Operation: 130-106=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[65, 2, 65, 53], Operations: [] Exploring Operation: 65-53=12, Resulting Numbers: [65, 2, 12] Generated Node #0,0: 24:[65, 2, 12] Operation: 65-53=12 Exploring Operation: 65/65=1, Resulting Numbers: [2, 53, 1] Generated Node #0,1: 24:[2, 53, 1] Operation: 65/65=1 Exploring Operation: 65-65=0, Resulting Numbers: [2, 53, 0] Generated Node #0,2: 24:[2, 53, 0] Operation: 65-65=0 Exploring Operation: 65-53=12, Resulting Numbers: [2, 65, 12] Generated Node #0,3: 24:[2, 65, 12] Operation: 65-53=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[2, 53, 1], Operations: ['65/65=1'] Exploring Operation: 2*1=2, Resulting Numbers: [53, 2] Generated Node #0,1,0: 24:[53, 2] Operation: 2*1=2 Exploring Operation: 2+1=3, Resulting Numbers: [53, 3] Generated Node #0,1,1: 24:[53, 3] Operation: 2+1=3 Exploring Operation: 53-1=52, Resulting Numbers: [2, 52] Generated Node #0,1,2: 24:[2, 52] Operation: 53-1=52 Exploring Operation: 53-2=51, Resulting Numbers: [1, 51] Generated Node #0,1,3: 24:[1, 51] Operation: 53-2=51 Moving to Node #0,1,2 Current State: 24:[2, 52], Operations: ['65/65=1', '53-1=52'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,24 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,24 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,24 unequal: No Solution Exploring Operation: 2*52=104, Resulting Numbers: [104] 104,24 unequal: No Solution Moving to Node #0,1,3 Current State: 24:[1, 51], Operations: ['65/65=1', '53-2=51'] Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,24 unequal: No Solution Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 1*51=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 1+51=52, Resulting Numbers: [52] 52,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[53, 3], Operations: ['65/65=1', '2+1=3'] Exploring Operation: 53*3=159, Resulting Numbers: [159] 159,24 unequal: No Solution Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,24 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[53, 2], Operations: ['65/65=1', '2*1=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,24 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[2, 53, 0], Operations: ['65-65=0'] Exploring Operation: 2-0=2, Resulting Numbers: [53, 2] Generated Node #0,2,0: 24:[53, 2] Operation: 2-0=2 Exploring Operation: 53*0=0, Resulting Numbers: [2, 0] Generated Node #0,2,1: 24:[2, 0] Operation: 53*0=0 Exploring Operation: 2+0=2, Resulting Numbers: [53, 2] Generated Node #0,2,2: 24:[53, 2] Operation: 2+0=2 Exploring Operation: 53-2=51, Resulting Numbers: [0, 51] Generated Node #0,2,3: 24:[0, 51] Operation: 53-2=51 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 24:[2, 0], Operations: ['65-65=0', '53*0=0'] Exploring Operation: 2+0=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 2*0=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 2-0=2, Resulting Numbers: [2] 2,24 unequal: No Solution No 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: 24:[53, 2], Operations: ['65-65=0', '2-0=2'] Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,24 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,24 unequal: No Solution No 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: 24:[53, 2], Operations: ['65-65=0', '2+0=2'] Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,24 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,24 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,24 unequal: No Solution No 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: 24:[0, 51], Operations: ['65-65=0', '53-2=51'] Exploring Operation: 51-0=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 0*51=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 0+51=51, Resulting Numbers: [51] 51,24 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: 24:[65, 2, 12], Operations: ['65-53=12'] Exploring Operation: 12/2=6, Resulting Numbers: [65, 6] Generated Node #0,0,0: 24:[65, 6] Operation: 12/2=6 Exploring Operation: 65-2=63, Resulting Numbers: [12, 63] Generated Node #0,0,1: 24:[12, 63] Operation: 65-2=63 Exploring Operation: 2*12=24, Resulting Numbers: [65, 24] Generated Node #0,0,2: 24:[65, 24] Operation: 2*12=24 Exploring Operation: 65-12=53, Resulting Numbers: [2, 53] Generated Node #0,0,3: 24:[2, 53] Operation: 65-12=53 Moving to Node #0,0,3 Current State: 24:[2, 53], Operations: ['65-53=12', '65-12=53'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,24 unequal: No Solution Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[12, 63], Operations: ['65-53=12', '65-2=63'] Exploring Operation: 12+63=75, Resulting Numbers: [75] 75,24 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 12*63=756, Resulting Numbers: [756] 756,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[65, 24], Operations: ['65-53=12', '2*12=24'] Exploring Operation: 65*24=1560, Resulting Numbers: [1560] 1560,24 unequal: No Solution Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,24 unequal: No Solution Exploring Operation: 65+24=89, Resulting Numbers: [89] 89,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[65, 6], Operations: ['65-53=12', '12/2=6'] Exploring Operation: 65+6=71, Resulting Numbers: [71] 71,24 unequal: No Solution Exploring Operation: 65*6=390, Resulting Numbers: [390] 390,24 unequal: No Solution Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 24:[2, 65, 12], Operations: ['65-53=12'] Exploring Operation: 12/2=6, Resulting Numbers: [65, 6] Generated Node #0,3,0: 24:[65, 6] Operation: 12/2=6 Exploring Operation: 2*12=24, Resulting Numbers: [65, 24] Generated Node #0,3,1: 24:[65, 24] Operation: 2*12=24 Exploring Operation: 65-12=53, Resulting Numbers: [2, 53] Generated Node #0,3,2: 24:[2, 53] Operation: 65-12=53 Exploring Operation: 65-2=63, Resulting Numbers: [12, 63] Generated Node #0,3,3: 24:[12, 63] Operation: 65-2=63 Moving to Node #0,3,2 Current State: 24:[2, 53], Operations: ['65-53=12', '65-12=53'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,24 unequal: No Solution Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,24 unequal: No Solution Moving to Node #0,3,3 Current State: 24:[12, 63], Operations: ['65-53=12', '65-2=63'] Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 12+63=75, Resulting Numbers: [75] 75,24 unequal: No Solution Exploring Operation: 12*63=756, Resulting Numbers: [756] 756,24 unequal: No Solution Moving to Node #0,3,1 Current State: 24:[65, 24], Operations: ['65-53=12', '2*12=24'] Exploring Operation: 65*24=1560, Resulting Numbers: [1560] 1560,24 unequal: No Solution Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,24 unequal: No Solution Exploring Operation: 65+24=89, Resulting Numbers: [89] 89,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[65, 6], Operations: ['65-53=12', '12/2=6'] Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 65*6=390, Resulting Numbers: [390] 390,24 unequal: No Solution Exploring Operation: 65+6=71, Resulting Numbers: [71] 71,24 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
[ 6, 96, 87, 30 ]
24
[ "96-87=9", "6*9=54", "54-30=24" ]
Current State: 24:[6, 96, 87, 30], Operations: [] Exploring Operation: 96-87=9, Resulting Numbers: [6, 30, 9] Generated Node #2: [6, 30, 9] from Operation: 96-87=9 Current State: 24:[6, 30, 9], Operations: ['96-87=9'] Exploring Operation: 6*9=54, Resulting Numbers: [30, 54] Generated Node #3: [30, 54] from Operation: 6*9=54 Current State: 24:[30, 54], Operations: ['96-87=9', '6*9=54'] Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[6, 96, 87, 30], Operations: [] Exploring Operation: 96-87=9, Resulting Numbers: [6, 30, 9] Generated Node #0,0: 24:[6, 30, 9] Operation: 96-87=9 Moving to Node #0,0 Current State: 24:[6, 30, 9], Operations: ['96-87=9'] Exploring Operation: 30-6=24, Resulting Numbers: [9, 24] Generated Node #0,0,0: 24:[9, 24] Operation: 30-6=24 Moving to Node #0,0,0 Current State: 24:[9, 24], Operations: ['96-87=9', '30-6=24'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,24 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 79, 96, 31, 59 ]
45
[ "96-79=17", "59-31=28", "17+28=45" ]
Current State: 45:[79, 96, 31, 59], Operations: [] Exploring Operation: 96-79=17, Resulting Numbers: [31, 59, 17] Generated Node #2: [31, 59, 17] from Operation: 96-79=17 Current State: 45:[31, 59, 17], Operations: ['96-79=17'] Exploring Operation: 59-31=28, Resulting Numbers: [17, 28] Generated Node #3: [17, 28] from Operation: 59-31=28 Current State: 45:[17, 28], Operations: ['96-79=17', '59-31=28'] Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[79, 96, 31, 59], Operations: [] Exploring Operation: 96-79=17, Resulting Numbers: [31, 59, 17] Generated Node #0,0: 45:[31, 59, 17] Operation: 96-79=17 Moving to Node #0,0 Current State: 45:[31, 59, 17], Operations: ['96-79=17'] Exploring Operation: 59-31=28, Resulting Numbers: [17, 28] Generated Node #0,0,0: 45:[17, 28] Operation: 59-31=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[17, 28], Operations: ['96-79=17', '59-31=28'] Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[79, 96, 31, 59], Operations: [] Exploring Operation: 96-79=17, Resulting Numbers: [31, 59, 17] Generated Node #0,0: 45:[31, 59, 17] Operation: 96-79=17 Moving to Node #0,0 Current State: 45:[31, 59, 17], Operations: ['96-79=17'] Exploring Operation: 59-31=28, Resulting Numbers: [17, 28] Generated Node #0,0,0: 45:[17, 28] Operation: 59-31=28 Moving to Node #0,0,0 Current State: 45:[17, 28], Operations: ['96-79=17', '59-31=28'] Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 15, 21, 76, 57 ]
55
[ "15+21=36", "76-57=19", "36+19=55" ]
Current State: 55:[15, 21, 76, 57], Operations: [] Exploring Operation: 15+21=36, Resulting Numbers: [76, 57, 36] Generated Node #2: [76, 57, 36] from Operation: 15+21=36 Current State: 55:[76, 57, 36], Operations: ['15+21=36'] Exploring Operation: 76-57=19, Resulting Numbers: [36, 19] Generated Node #3: [36, 19] from Operation: 76-57=19 Current State: 55:[36, 19], Operations: ['15+21=36', '76-57=19'] Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[15, 21, 76, 57], Operations: [] Exploring Operation: 76-21=55, Resulting Numbers: [15, 57, 55] Generated Node #0,0: 55:[15, 57, 55] Operation: 76-21=55 Exploring Operation: 76-15=61, Resulting Numbers: [21, 57, 61] Generated Node #0,1: 55:[21, 57, 61] Operation: 76-15=61 Moving to Node #0,0 Current State: 55:[15, 57, 55], Operations: ['76-21=55'] Exploring Operation: 57-55=2, Resulting Numbers: [15, 2] Generated Node #0,0,0: 55:[15, 2] Operation: 57-55=2 Exploring Operation: 57-15=42, Resulting Numbers: [55, 42] Generated Node #0,0,1: 55:[55, 42] Operation: 57-15=42 Moving to Node #0,1 Current State: 55:[21, 57, 61], Operations: ['76-15=61'] Exploring Operation: 61-57=4, Resulting Numbers: [21, 4] Generated Node #0,1,0: 55:[21, 4] Operation: 61-57=4 Exploring Operation: 61-21=40, Resulting Numbers: [57, 40] Generated Node #0,1,1: 55:[57, 40] Operation: 61-21=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[21, 4], Operations: ['76-15=61', '61-57=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,55 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[57, 40], Operations: ['76-15=61', '61-21=40'] Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 57+40=97, Resulting Numbers: [97] 97,55 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: 55:[15, 2], Operations: ['76-21=55', '57-55=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[55, 42], Operations: ['76-21=55', '57-15=42'] Exploring Operation: 55-42=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 55+42=97, Resulting Numbers: [97] 97,55 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 69, 5, 79, 57 ]
42
[ "69-5=64", "79-57=22", "64-22=42" ]
Current State: 42:[69, 5, 79, 57], Operations: [] Exploring Operation: 69-5=64, Resulting Numbers: [79, 57, 64] Generated Node #2: [79, 57, 64] from Operation: 69-5=64 Current State: 42:[79, 57, 64], Operations: ['69-5=64'] Exploring Operation: 79-57=22, Resulting Numbers: [64, 22] Generated Node #3: [64, 22] from Operation: 79-57=22 Current State: 42:[64, 22], Operations: ['69-5=64', '79-57=22'] Exploring Operation: 64-22=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[69, 5, 79, 57], Operations: [] Exploring Operation: 79-69=10, Resulting Numbers: [5, 57, 10] Generated Node #0,0: 42:[5, 57, 10] Operation: 79-69=10 Exploring Operation: 79-57=22, Resulting Numbers: [69, 5, 22] Generated Node #0,1: 42:[69, 5, 22] Operation: 79-57=22 Moving to Node #0,0 Current State: 42:[5, 57, 10], Operations: ['79-69=10'] Exploring Operation: 57-10=47, Resulting Numbers: [5, 47] Generated Node #0,0,0: 42:[5, 47] Operation: 57-10=47 Exploring Operation: 57-5=52, Resulting Numbers: [10, 52] Generated Node #0,0,1: 42:[10, 52] Operation: 57-5=52 Moving to Node #0,1 Current State: 42:[69, 5, 22], Operations: ['79-57=22'] Exploring Operation: 69-5=64, Resulting Numbers: [22, 64] Generated Node #0,1,0: 42:[22, 64] Operation: 69-5=64 Exploring Operation: 69-22=47, Resulting Numbers: [5, 47] Generated Node #0,1,1: 42:[5, 47] Operation: 69-22=47 Moving to Node #0,0,0 Current State: 42:[5, 47], Operations: ['79-69=10', '57-10=47'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[69, 5, 79, 57], Operations: [] Exploring Operation: 79-69=10, Resulting Numbers: [5, 57, 10] Generated Node #0,0: 42:[5, 57, 10] Operation: 79-69=10 Moving to Node #0,0 Current State: 42:[5, 57, 10], Operations: ['79-69=10'] Exploring Operation: 57-10=47, Resulting Numbers: [5, 47] Generated Node #0,0,0: 42:[5, 47] Operation: 57-10=47 Moving to Node #0,0,0 Current State: 42:[5, 47], Operations: ['79-69=10', '57-10=47'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 20, 99, 46, 22 ]
33
[ "20+46=66", "99*22=2178", "2178/66=33" ]
Current State: 33:[20, 99, 46, 22], Operations: [] Exploring Operation: 20+46=66, Resulting Numbers: [99, 22, 66] Generated Node #2: [99, 22, 66] from Operation: 20+46=66 Current State: 33:[99, 22, 66], Operations: ['20+46=66'] Exploring Operation: 99*22=2178, Resulting Numbers: [66, 2178] Generated Node #3: [66, 2178] from Operation: 99*22=2178 Current State: 33:[66, 2178], Operations: ['20+46=66', '99*22=2178'] Exploring Operation: 2178/66=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[20, 99, 46, 22], Operations: [] Exploring Operation: 99-46=53, Resulting Numbers: [20, 22, 53] Generated Node #0,0: 33:[20, 22, 53] Operation: 99-46=53 Exploring Operation: 99-22=77, Resulting Numbers: [20, 46, 77] Generated Node #0,1: 33:[20, 46, 77] Operation: 99-22=77 Exploring Operation: 99-20=79, Resulting Numbers: [46, 22, 79] Generated Node #0,2: 33:[46, 22, 79] Operation: 99-20=79 Moving to Node #0,0 Current State: 33:[20, 22, 53], Operations: ['99-46=53'] Exploring Operation: 22-20=2, Resulting Numbers: [53, 2] Generated Node #0,0,0: 33:[53, 2] Operation: 22-20=2 Exploring Operation: 53-20=33, Resulting Numbers: [22, 33] Generated Node #0,0,1: 33:[22, 33] Operation: 53-20=33 Exploring Operation: 53-22=31, Resulting Numbers: [20, 31] Generated Node #0,0,2: 33:[20, 31] Operation: 53-22=31 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[22, 33], Operations: ['99-46=53', '53-20=33'] Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,33 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 33:[20, 31], Operations: ['99-46=53', '53-22=31'] Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 20*31=620, Resulting Numbers: [620] 620,33 unequal: No Solution Exploring Operation: 20+31=51, Resulting Numbers: [51] 51,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[53, 2], Operations: ['99-46=53', '22-20=2'] Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,33 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,33 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,33 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: 33:[20, 46, 77], Operations: ['99-22=77'] Exploring Operation: 77-46=31, Resulting Numbers: [20, 31] Generated Node #0,1,0: 33:[20, 31] Operation: 77-46=31 Exploring Operation: 77-20=57, Resulting Numbers: [46, 57] Generated Node #0,1,1: 33:[46, 57] Operation: 77-20=57 Exploring Operation: 46-20=26, Resulting Numbers: [77, 26] Generated Node #0,1,2: 33:[77, 26] Operation: 46-20=26 Moving to Node #0,2 Current State: 33:[46, 22, 79], Operations: ['99-20=79'] Exploring Operation: 79-22=57, Resulting Numbers: [46, 57] Generated Node #0,2,0: 33:[46, 57] Operation: 79-22=57 Exploring Operation: 46-22=24, Resulting Numbers: [79, 24] Generated Node #0,2,1: 33:[79, 24] Operation: 46-22=24 Exploring Operation: 79-46=33, Resulting Numbers: [22, 33] Generated Node #0,2,2: 33:[22, 33] Operation: 79-46=33 Moving to Node #0,1,0 Current State: 33:[20, 31], Operations: ['99-22=77', '77-46=31'] Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 20*31=620, Resulting Numbers: [620] 620,33 unequal: No Solution Exploring Operation: 20+31=51, Resulting Numbers: [51] 51,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[22, 33], Operations: ['99-20=79', '79-46=33'] Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,33 unequal: No Solution Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[46, 57], Operations: ['99-20=79', '79-22=57'] Exploring Operation: 46+57=103, Resulting Numbers: [103] 103,33 unequal: No Solution Exploring Operation: 46*57=2622, Resulting Numbers: [2622] 2622,33 unequal: No Solution Exploring Operation: 57-46=11, Resulting Numbers: [11] 11,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[46, 57], Operations: ['99-22=77', '77-20=57'] Exploring Operation: 57-46=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 46*57=2622, Resulting Numbers: [2622] 2622,33 unequal: No Solution Exploring Operation: 46+57=103, Resulting Numbers: [103] 103,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[77, 26], Operations: ['99-22=77', '46-20=26'] Exploring Operation: 77+26=103, Resulting Numbers: [103] 103,33 unequal: No Solution Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 77*26=2002, Resulting Numbers: [2002] 2002,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[79, 24], Operations: ['99-20=79', '46-22=24'] Exploring Operation: 79*24=1896, Resulting Numbers: [1896] 1896,33 unequal: No Solution Exploring Operation: 79+24=103, Resulting Numbers: [103] 103,33 unequal: No Solution Exploring Operation: 79-24=55, Resulting Numbers: [55] 55,33 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 4, 84, 52, 85 ]
57
[ "84-4=80", "52+85=137", "137-80=57" ]
Current State: 57:[4, 84, 52, 85], Operations: [] Exploring Operation: 84-4=80, Resulting Numbers: [52, 85, 80] Generated Node #2: [52, 85, 80] from Operation: 84-4=80 Current State: 57:[52, 85, 80], Operations: ['84-4=80'] Exploring Operation: 52+85=137, Resulting Numbers: [80, 137] Generated Node #3: [80, 137] from Operation: 52+85=137 Current State: 57:[80, 137], Operations: ['84-4=80', '52+85=137'] Exploring Operation: 137-80=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[4, 84, 52, 85], Operations: [] Exploring Operation: 84/4=21, Resulting Numbers: [52, 85, 21] Generated Node #0,0: 57:[52, 85, 21] Operation: 84/4=21 Exploring Operation: 84-52=32, Resulting Numbers: [4, 85, 32] Generated Node #0,1: 57:[4, 85, 32] Operation: 84-52=32 Exploring Operation: 85-52=33, Resulting Numbers: [4, 84, 33] Generated Node #0,2: 57:[4, 84, 33] Operation: 85-52=33 Exploring Operation: 85-84=1, Resulting Numbers: [4, 52, 1] Generated Node #0,3: 57:[4, 52, 1] Operation: 85-84=1 Moving to Node #0,3 Current State: 57:[4, 52, 1], Operations: ['85-84=1'] Exploring Operation: 4*1=4, Resulting Numbers: [52, 4] Generated Node #0,3,0: 57:[52, 4] Operation: 4*1=4 Exploring Operation: 4+52=56, Resulting Numbers: [1, 56] Generated Node #0,3,1: 57:[1, 56] Operation: 4+52=56 Exploring Operation: 52+1=53, Resulting Numbers: [4, 53] Generated Node #0,3,2: 57:[4, 53] Operation: 52+1=53 Exploring Operation: 4-1=3, Resulting Numbers: [52, 3] Generated Node #0,3,3: 57:[52, 3] Operation: 4-1=3 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 57:[1, 56], Operations: ['85-84=1', '4+52=56'] Exploring Operation: 1+56=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[4, 84, 52, 85], Operations: [] Exploring Operation: 85-84=1, Resulting Numbers: [4, 52, 1] Generated Node #0,3: 57:[4, 52, 1] Operation: 85-84=1 Moving to Node #0,3 Current State: 57:[4, 52, 1], Operations: ['85-84=1'] Exploring Operation: 4+52=56, Resulting Numbers: [1, 56] Generated Node #0,3,1: 57:[1, 56] Operation: 4+52=56 Moving to Node #0,3,1 Current State: 57:[1, 56], Operations: ['85-84=1', '4+52=56'] Exploring Operation: 1+56=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 16, 94, 2, 8 ]
72
[ "94-16=78", "8-2=6", "78-6=72" ]
Current State: 72:[16, 94, 2, 8], Operations: [] Exploring Operation: 94-16=78, Resulting Numbers: [2, 8, 78] Generated Node #2: [2, 8, 78] from Operation: 94-16=78 Current State: 72:[2, 8, 78], Operations: ['94-16=78'] Exploring Operation: 8-2=6, Resulting Numbers: [78, 6] Generated Node #3: [78, 6] from Operation: 8-2=6 Current State: 72:[78, 6], Operations: ['94-16=78', '8-2=6'] Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[16, 94, 2, 8], Operations: [] Exploring Operation: 94-16=78, Resulting Numbers: [2, 8, 78] Generated Node #0,0: 72:[2, 8, 78] Operation: 94-16=78 Exploring Operation: 16+2=18, Resulting Numbers: [94, 8, 18] Generated Node #0,1: 72:[94, 8, 18] Operation: 16+2=18 Exploring Operation: 16/2=8, Resulting Numbers: [94, 8, 8] Generated Node #0,2: 72:[94, 8, 8] Operation: 16/2=8 Exploring Operation: 94/2=47, Resulting Numbers: [16, 8, 47] Generated Node #0,3: 72:[16, 8, 47] Operation: 94/2=47 Exploring Operation: 94-8=86, Resulting Numbers: [16, 2, 86] Generated Node #0,4: 72:[16, 2, 86] Operation: 94-8=86 Moving to Node #0,0 Current State: 72:[2, 8, 78], Operations: ['94-16=78'] Exploring Operation: 8-2=6, Resulting Numbers: [78, 6] Generated Node #0,0,0: 72:[78, 6] Operation: 8-2=6 Exploring Operation: 78/2=39, Resulting Numbers: [8, 39] Generated Node #0,0,1: 72:[8, 39] Operation: 78/2=39 Exploring Operation: 78-8=70, Resulting Numbers: [2, 70] Generated Node #0,0,2: 72:[2, 70] Operation: 78-8=70 Exploring Operation: 78-2=76, Resulting Numbers: [8, 76] Generated Node #0,0,3: 72:[8, 76] Operation: 78-2=76 Exploring Operation: 8/2=4, Resulting Numbers: [78, 4] Generated Node #0,0,4: 72:[78, 4] Operation: 8/2=4 Moving to Node #0,3 Current State: 72:[16, 8, 47], Operations: ['94/2=47'] Exploring Operation: 16+47=63, Resulting Numbers: [8, 63] Generated Node #0,3,0: 72:[8, 63] Operation: 16+47=63 Exploring Operation: 47-16=31, Resulting Numbers: [8, 31] Generated Node #0,3,1: 72:[8, 31] Operation: 47-16=31 Exploring Operation: 47-8=39, Resulting Numbers: [16, 39] Generated Node #0,3,2: 72:[16, 39] Operation: 47-8=39 Exploring Operation: 16+8=24, Resulting Numbers: [47, 24] Generated Node #0,3,3: 72:[47, 24] Operation: 16+8=24 Exploring Operation: 16-8=8, Resulting Numbers: [47, 8] Generated Node #0,3,4: 72:[47, 8] Operation: 16-8=8 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 72:[8, 31], Operations: ['94/2=47', '47-16=31'] Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,72 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 72:[16, 39], Operations: ['94/2=47', '47-8=39'] Exploring Operation: 16*39=624, Resulting Numbers: [624] 624,72 unequal: No Solution Exploring Operation: 16+39=55, Resulting Numbers: [55] 55,72 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 72:[8, 63], Operations: ['94/2=47', '16+47=63'] Exploring Operation: 8+63=71, Resulting Numbers: [71] 71,72 unequal: No Solution Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,72 unequal: No Solution Exploring Operation: 8*63=504, Resulting Numbers: [504] 504,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 72:[47, 24], Operations: ['94/2=47', '16+8=24'] Exploring Operation: 47+24=71, Resulting Numbers: [71] 71,72 unequal: No Solution Exploring Operation: 47*24=1128, Resulting Numbers: [1128] 1128,72 unequal: No Solution Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 72:[47, 8], Operations: ['94/2=47', '16-8=8'] Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,72 unequal: No Solution Exploring Operation: 47*8=376, Resulting Numbers: [376] 376,72 unequal: No Solution Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,72 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: 72:[16, 2, 86], Operations: ['94-8=86'] Exploring Operation: 16+2=18, Resulting Numbers: [86, 18] Generated Node #0,4,0: 72:[86, 18] Operation: 16+2=18 Exploring Operation: 86/2=43, Resulting Numbers: [16, 43] Generated Node #0,4,1: 72:[16, 43] Operation: 86/2=43 Exploring Operation: 86-2=84, Resulting Numbers: [16, 84] Generated Node #0,4,2: 72:[16, 84] Operation: 86-2=84 Exploring Operation: 16/2=8, Resulting Numbers: [86, 8] Generated Node #0,4,3: 72:[86, 8] Operation: 16/2=8 Exploring Operation: 86-16=70, Resulting Numbers: [2, 70] Generated Node #0,4,4: 72:[2, 70] Operation: 86-16=70 Moving to Node #0,1 Current State: 72:[94, 8, 18], Operations: ['16+2=18'] Exploring Operation: 94+8=102, Resulting Numbers: [18, 102] Generated Node #0,1,0: 72:[18, 102] Operation: 94+8=102 Exploring Operation: 94-18=76, Resulting Numbers: [8, 76] Generated Node #0,1,1: 72:[8, 76] Operation: 94-18=76 Exploring Operation: 18-8=10, Resulting Numbers: [94, 10] Generated Node #0,1,2: 72:[94, 10] Operation: 18-8=10 Exploring Operation: 94-8=86, Resulting Numbers: [18, 86] Generated Node #0,1,3: 72:[18, 86] Operation: 94-8=86 Exploring Operation: 8+18=26, Resulting Numbers: [94, 26] Generated Node #0,1,4: 72:[94, 26] Operation: 8+18=26 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[8, 76], Operations: ['16+2=18', '94-18=76'] Exploring Operation: 8+76=84, Resulting Numbers: [84] 84,72 unequal: No Solution Exploring Operation: 8*76=608, Resulting Numbers: [608] 608,72 unequal: No Solution Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 72:[18, 86], Operations: ['16+2=18', '94-8=86'] Exploring Operation: 18+86=104, Resulting Numbers: [104] 104,72 unequal: No Solution Exploring Operation: 18*86=1548, Resulting Numbers: [1548] 1548,72 unequal: No Solution Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 72:[94, 10], Operations: ['16+2=18', '18-8=10'] Exploring Operation: 94+10=104, Resulting Numbers: [104] 104,72 unequal: No Solution Exploring Operation: 94-10=84, Resulting Numbers: [84] 84,72 unequal: No Solution Exploring Operation: 94*10=940, Resulting Numbers: [940] 940,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 72:[94, 26], Operations: ['16+2=18', '8+18=26'] Exploring Operation: 94-26=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 94+26=120, Resulting Numbers: [120] 120,72 unequal: No Solution Exploring Operation: 94*26=2444, Resulting Numbers: [2444] 2444,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[18, 102], Operations: ['16+2=18', '94+8=102'] Exploring Operation: 18+102=120, Resulting Numbers: [120] 120,72 unequal: No Solution Exploring Operation: 18*102=1836, Resulting Numbers: [1836] 1836,72 unequal: No Solution Exploring Operation: 102-18=84, Resulting Numbers: [84] 84,72 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: 72:[94, 8, 8], Operations: ['16/2=8'] Exploring Operation: 8/8=1, Resulting Numbers: [94, 1] Generated Node #0,2,0: 72:[94, 1] Operation: 8/8=1 Exploring Operation: 8-8=0, Resulting Numbers: [94, 0] Generated Node #0,2,1: 72:[94, 0] Operation: 8-8=0 Exploring Operation: 8+8=16, Resulting Numbers: [94, 16] Generated Node #0,2,2: 72:[94, 16] Operation: 8+8=16 Exploring Operation: 94-8=86, Resulting Numbers: [8, 86] Generated Node #0,2,3: 72:[8, 86] Operation: 94-8=86 Exploring Operation: 94-8=86, Resulting Numbers: [8, 86] Generated Node #0,2,4: 72:[8, 86] Operation: 94-8=86 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 72:[8, 86], Operations: ['16/2=8', '94-8=86'] Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,72 unequal: No Solution Exploring Operation: 8*86=688, Resulting Numbers: [688] 688,72 unequal: No Solution Exploring Operation: 8+86=94, Resulting Numbers: [94] 94,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 72:[8, 86], Operations: ['16/2=8', '94-8=86'] Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,72 unequal: No Solution Exploring Operation: 8+86=94, Resulting Numbers: [94] 94,72 unequal: No Solution Exploring Operation: 8*86=688, Resulting Numbers: [688] 688,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[94, 1], Operations: ['16/2=8', '8/8=1'] Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,72 unequal: No Solution Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,72 unequal: No Solution Exploring Operation: 94+1=95, Resulting Numbers: [95] 95,72 unequal: No Solution Exploring Operation: 94/1=94, Resulting Numbers: [94] 94,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[94, 0], Operations: ['16/2=8', '8-8=0'] Exploring Operation: 94-0=94, Resulting Numbers: [94] 94,72 unequal: No Solution Exploring Operation: 94*0=0, Resulting Numbers: [0] 0,72 unequal: No Solution Exploring Operation: 94+0=94, Resulting Numbers: [94] 94,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[94, 16], Operations: ['16/2=8', '8+8=16'] Exploring Operation: 94*16=1504, Resulting Numbers: [1504] 1504,72 unequal: No Solution Exploring Operation: 94+16=110, Resulting Numbers: [110] 110,72 unequal: No Solution Exploring Operation: 94-16=78, Resulting Numbers: [78] 78,72 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: 72:[2, 70], Operations: ['94-16=78', '78-8=70'] Exploring Operation: 2*70=140, Resulting Numbers: [140] 140,72 unequal: No Solution Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[16, 94, 2, 8], Operations: [] Exploring Operation: 94-16=78, Resulting Numbers: [2, 8, 78] Generated Node #0,0: 72:[2, 8, 78] Operation: 94-16=78 Moving to Node #0,0 Current State: 72:[2, 8, 78], Operations: ['94-16=78'] Exploring Operation: 78-8=70, Resulting Numbers: [2, 70] Generated Node #0,0,2: 72:[2, 70] Operation: 78-8=70 Moving to Node #0,0,2 Current State: 72:[2, 70], Operations: ['94-16=78', '78-8=70'] Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.928819
hs_5
sum_heuristic
[ 65, 95, 79, 93 ]
44
[ "95-65=30", "93-79=14", "30+14=44" ]
Current State: 44:[65, 95, 79, 93], Operations: [] Exploring Operation: 95-65=30, Resulting Numbers: [79, 93, 30] Generated Node #2: [79, 93, 30] from Operation: 95-65=30 Current State: 44:[79, 93, 30], Operations: ['95-65=30'] Exploring Operation: 93-79=14, Resulting Numbers: [30, 14] Generated Node #3: [30, 14] from Operation: 93-79=14 Current State: 44:[30, 14], Operations: ['95-65=30', '93-79=14'] Exploring Operation: 30+14=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[65, 95, 79, 93], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [65, 79, 2] Generated Node #0,0: 44:[65, 79, 2] Operation: 95-93=2 Exploring Operation: 95-79=16, Resulting Numbers: [65, 93, 16] Generated Node #0,1: 44:[65, 93, 16] Operation: 95-79=16 Moving to Node #0,0 Current State: 44:[65, 79, 2], Operations: ['95-93=2'] Exploring Operation: 79-65=14, Resulting Numbers: [2, 14] Generated Node #0,0,0: 44:[2, 14] Operation: 79-65=14 Exploring Operation: 65-2=63, Resulting Numbers: [79, 63] Generated Node #0,0,1: 44:[79, 63] Operation: 65-2=63 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[2, 14], Operations: ['95-93=2', '79-65=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[79, 63], Operations: ['95-93=2', '65-2=63'] Exploring Operation: 79+63=142, Resulting Numbers: [142] 142,44 unequal: No Solution Exploring Operation: 79-63=16, Resulting Numbers: [16] 16,44 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: 44:[65, 93, 16], Operations: ['95-79=16'] Exploring Operation: 65-16=49, Resulting Numbers: [93, 49] Generated Node #0,1,0: 44:[93, 49] Operation: 65-16=49 Exploring Operation: 93-65=28, Resulting Numbers: [16, 28] Generated Node #0,1,1: 44:[16, 28] Operation: 93-65=28 Moving to Node #0,1,1 Current State: 44:[16, 28], Operations: ['95-79=16', '93-65=28'] Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[65, 95, 79, 93], Operations: [] Exploring Operation: 95-79=16, Resulting Numbers: [65, 93, 16] Generated Node #0,1: 44:[65, 93, 16] Operation: 95-79=16 Moving to Node #0,1 Current State: 44:[65, 93, 16], Operations: ['95-79=16'] Exploring Operation: 93-65=28, Resulting Numbers: [16, 28] Generated Node #0,1,1: 44:[16, 28] Operation: 93-65=28 Moving to Node #0,1,1 Current State: 44:[16, 28], Operations: ['95-79=16', '93-65=28'] Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 89, 99, 86, 58 ]
18
[ "99-89=10", "86-58=28", "28-10=18" ]
Current State: 18:[89, 99, 86, 58], Operations: [] Exploring Operation: 99-89=10, Resulting Numbers: [86, 58, 10] Generated Node #2: [86, 58, 10] from Operation: 99-89=10 Current State: 18:[86, 58, 10], Operations: ['99-89=10'] Exploring Operation: 86-58=28, Resulting Numbers: [10, 28] Generated Node #3: [10, 28] from Operation: 86-58=28 Current State: 18:[10, 28], Operations: ['99-89=10', '86-58=28'] Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[89, 99, 86, 58], Operations: [] Exploring Operation: 89-86=3, Resulting Numbers: [99, 58, 3] Generated Node #0,0: 18:[99, 58, 3] Operation: 89-86=3 Exploring Operation: 99-86=13, Resulting Numbers: [89, 58, 13] Generated Node #0,1: 18:[89, 58, 13] Operation: 99-86=13 Exploring Operation: 99-89=10, Resulting Numbers: [86, 58, 10] Generated Node #0,2: 18:[86, 58, 10] Operation: 99-89=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 18:[86, 58, 10], Operations: ['99-89=10'] Exploring Operation: 86-58=28, Resulting Numbers: [10, 28] Generated Node #0,2,0: 18:[10, 28] Operation: 86-58=28 Exploring Operation: 86-10=76, Resulting Numbers: [58, 76] Generated Node #0,2,1: 18:[58, 76] Operation: 86-10=76 Exploring Operation: 58-10=48, Resulting Numbers: [86, 48] Generated Node #0,2,2: 18:[86, 48] Operation: 58-10=48 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 18:[10, 28], Operations: ['99-89=10', '86-58=28'] Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[89, 99, 86, 58], Operations: [] Exploring Operation: 99-89=10, Resulting Numbers: [86, 58, 10] Generated Node #0,2: 18:[86, 58, 10] Operation: 99-89=10 Moving to Node #0,2 Current State: 18:[86, 58, 10], Operations: ['99-89=10'] Exploring Operation: 86-58=28, Resulting Numbers: [10, 28] Generated Node #0,2,0: 18:[10, 28] Operation: 86-58=28 Moving to Node #0,2,0 Current State: 18:[10, 28], Operations: ['99-89=10', '86-58=28'] Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 3, 39, 62, 33 ]
80
[ "39-33=6", "3*6=18", "62+18=80" ]
Current State: 80:[3, 39, 62, 33], Operations: [] Exploring Operation: 39-33=6, Resulting Numbers: [3, 62, 6] Generated Node #2: [3, 62, 6] from Operation: 39-33=6 Current State: 80:[3, 62, 6], Operations: ['39-33=6'] Exploring Operation: 3*6=18, Resulting Numbers: [62, 18] Generated Node #3: [62, 18] from Operation: 3*6=18 Current State: 80:[62, 18], Operations: ['39-33=6', '3*6=18'] Exploring Operation: 62+18=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[3, 39, 62, 33], Operations: [] Exploring Operation: 39-33=6, Resulting Numbers: [3, 62, 6] Generated Node #0,0: 80:[3, 62, 6] Operation: 39-33=6 Exploring Operation: 62-33=29, Resulting Numbers: [3, 39, 29] Generated Node #0,1: 80:[3, 39, 29] Operation: 62-33=29 Exploring Operation: 62-39=23, Resulting Numbers: [3, 33, 23] Generated Node #0,2: 80:[3, 33, 23] Operation: 62-39=23 Exploring Operation: 62+33=95, Resulting Numbers: [3, 39, 95] Generated Node #0,3: 80:[3, 39, 95] Operation: 62+33=95 Exploring Operation: 33/3=11, Resulting Numbers: [39, 62, 11] Generated Node #0,4: 80:[39, 62, 11] Operation: 33/3=11 Moving to Node #0,1 Current State: 80:[3, 39, 29], Operations: ['62-33=29'] Exploring Operation: 3+29=32, Resulting Numbers: [39, 32] Generated Node #0,1,0: 80:[39, 32] Operation: 3+29=32 Exploring Operation: 39-29=10, Resulting Numbers: [3, 10] Generated Node #0,1,1: 80:[3, 10] Operation: 39-29=10 Exploring Operation: 29-3=26, Resulting Numbers: [39, 26] Generated Node #0,1,2: 80:[39, 26] Operation: 29-3=26 Exploring Operation: 3*29=87, Resulting Numbers: [39, 87] Generated Node #0,1,3: 80:[39, 87] Operation: 3*29=87 Exploring Operation: 3+39=42, Resulting Numbers: [29, 42] Generated Node #0,1,4: 80:[29, 42] Operation: 3+39=42 Moving to Node #0,2 Current State: 80:[3, 33, 23], Operations: ['62-39=23'] Exploring Operation: 33/3=11, Resulting Numbers: [23, 11] Generated Node #0,2,0: 80:[23, 11] Operation: 33/3=11 Exploring Operation: 23-3=20, Resulting Numbers: [33, 20] Generated Node #0,2,1: 80:[33, 20] Operation: 23-3=20 Exploring Operation: 3+33=36, Resulting Numbers: [23, 36] Generated Node #0,2,2: 80:[23, 36] Operation: 3+33=36 Exploring Operation: 33-23=10, Resulting Numbers: [3, 10] Generated Node #0,2,3: 80:[3, 10] Operation: 33-23=10 Exploring Operation: 33-3=30, Resulting Numbers: [23, 30] Generated Node #0,2,4: 80:[23, 30] Operation: 33-3=30 Moving to Node #0,3 Current State: 80:[3, 39, 95], Operations: ['62+33=95'] Exploring Operation: 3+39=42, Resulting Numbers: [95, 42] Generated Node #0,3,0: 80:[95, 42] Operation: 3+39=42 Exploring Operation: 95-39=56, Resulting Numbers: [3, 56] Generated Node #0,3,1: 80:[3, 56] Operation: 95-39=56 Exploring Operation: 95-3=92, Resulting Numbers: [39, 92] Generated Node #0,3,2: 80:[39, 92] Operation: 95-3=92 Exploring Operation: 39-3=36, Resulting Numbers: [95, 36] Generated Node #0,3,3: 80:[95, 36] Operation: 39-3=36 Exploring Operation: 39/3=13, Resulting Numbers: [95, 13] Generated Node #0,3,4: 80:[95, 13] Operation: 39/3=13 Moving to Node #0,0 Current State: 80:[3, 62, 6], Operations: ['39-33=6'] Exploring Operation: 62+6=68, Resulting Numbers: [3, 68] Generated Node #0,0,0: 80:[3, 68] Operation: 62+6=68 Exploring Operation: 62-6=56, Resulting Numbers: [3, 56] Generated Node #0,0,1: 80:[3, 56] Operation: 62-6=56 Exploring Operation: 6/3=2, Resulting Numbers: [62, 2] Generated Node #0,0,2: 80:[62, 2] Operation: 6/3=2 Exploring Operation: 3+62=65, Resulting Numbers: [6, 65] Generated Node #0,0,3: 80:[6, 65] Operation: 3+62=65 Exploring Operation: 3+6=9, Resulting Numbers: [62, 9] Generated Node #0,0,4: 80:[62, 9] Operation: 3+6=9 Moving to Node #0,4 Current State: 80:[39, 62, 11], Operations: ['33/3=11'] Exploring Operation: 62-39=23, Resulting Numbers: [11, 23] Generated Node #0,4,0: 80:[11, 23] Operation: 62-39=23 Exploring Operation: 39-11=28, Resulting Numbers: [62, 28] Generated Node #0,4,1: 80:[62, 28] Operation: 39-11=28 Exploring Operation: 62+11=73, Resulting Numbers: [39, 73] Generated Node #0,4,2: 80:[39, 73] Operation: 62+11=73 Exploring Operation: 62-11=51, Resulting Numbers: [39, 51] Generated Node #0,4,3: 80:[39, 51] Operation: 62-11=51 Exploring Operation: 39+62=101, Resulting Numbers: [11, 101] Generated Node #0,4,4: 80:[11, 101] Operation: 39+62=101 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 80:[11, 23], Operations: ['33/3=11', '62-39=23'] Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 11*23=253, Resulting Numbers: [253] 253,80 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 80:[39, 73], Operations: ['33/3=11', '62+11=73'] Exploring Operation: 39*73=2847, Resulting Numbers: [2847] 2847,80 unequal: No Solution Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 39+73=112, Resulting Numbers: [112] 112,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 80:[39, 51], Operations: ['33/3=11', '62-11=51'] Exploring Operation: 39+51=90, Resulting Numbers: [90] 90,80 unequal: No Solution Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 39*51=1989, Resulting Numbers: [1989] 1989,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 80:[11, 101], Operations: ['33/3=11', '39+62=101'] Exploring Operation: 11*101=1111, Resulting Numbers: [1111] 1111,80 unequal: No Solution Exploring Operation: 101-11=90, Resulting Numbers: [90] 90,80 unequal: No Solution Exploring Operation: 11+101=112, Resulting Numbers: [112] 112,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 80:[62, 28], Operations: ['33/3=11', '39-11=28'] Exploring Operation: 62+28=90, Resulting Numbers: [90] 90,80 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 62*28=1736, Resulting Numbers: [1736] 1736,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 80:[3, 10], Operations: ['62-33=29', '39-29=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,80 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[3, 10], Operations: ['62-39=23', '33-23=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,80 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[23, 11], Operations: ['62-39=23', '33/3=11'] Exploring Operation: 23*11=253, Resulting Numbers: [253] 253,80 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 23+11=34, Resulting Numbers: [34] 34,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[39, 26], Operations: ['62-33=29', '29-3=26'] Exploring Operation: 39*26=1014, Resulting Numbers: [1014] 1014,80 unequal: No Solution Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[33, 20], Operations: ['62-39=23', '23-3=20'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 33*20=660, Resulting Numbers: [660] 660,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[23, 36], Operations: ['62-39=23', '3+33=36'] Exploring Operation: 23*36=828, Resulting Numbers: [828] 828,80 unequal: No Solution Exploring Operation: 23+36=59, Resulting Numbers: [59] 59,80 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[39, 87], Operations: ['62-33=29', '3*29=87'] Exploring Operation: 39+87=126, Resulting Numbers: [126] 126,80 unequal: No Solution Exploring Operation: 39*87=3393, Resulting Numbers: [3393] 3393,80 unequal: No Solution Exploring Operation: 87-39=48, Resulting Numbers: [48] 48,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[39, 32], Operations: ['62-33=29', '3+29=32'] Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,80 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,80 unequal: No Solution Moving to Node #0,1,4 Current State: 80:[29, 42], Operations: ['62-33=29', '3+39=42'] Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 29*42=1218, Resulting Numbers: [1218] 1218,80 unequal: No Solution Exploring Operation: 29+42=71, Resulting Numbers: [71] 71,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[39, 92], Operations: ['62+33=95', '95-3=92'] Exploring Operation: 92-39=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 39*92=3588, Resulting Numbers: [3588] 3588,80 unequal: No Solution Exploring Operation: 39+92=131, Resulting Numbers: [131] 131,80 unequal: No Solution Moving to Node #0,2,4 Current State: 80:[23, 30], Operations: ['62-39=23', '33-3=30'] Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 23+30=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 23*30=690, Resulting Numbers: [690] 690,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[3, 68], Operations: ['39-33=6', '62+6=68'] Exploring Operation: 3*68=204, Resulting Numbers: [204] 204,80 unequal: No Solution Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,80 unequal: No Solution Exploring Operation: 3+68=71, Resulting Numbers: [71] 71,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[6, 65], Operations: ['39-33=6', '3+62=65'] Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,80 unequal: No Solution Exploring Operation: 6*65=390, Resulting Numbers: [390] 390,80 unequal: No Solution Exploring Operation: 6+65=71, Resulting Numbers: [71] 71,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[3, 56], Operations: ['62+33=95', '95-39=56'] Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 3*56=168, Resulting Numbers: [168] 168,80 unequal: No Solution Exploring Operation: 3+56=59, Resulting Numbers: [59] 59,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[95, 42], Operations: ['62+33=95', '3+39=42'] Exploring Operation: 95-42=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 95*42=3990, Resulting Numbers: [3990] 3990,80 unequal: No Solution Exploring Operation: 95+42=137, Resulting Numbers: [137] 137,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[3, 56], Operations: ['39-33=6', '62-6=56'] Exploring Operation: 3+56=59, Resulting Numbers: [59] 59,80 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 3*56=168, Resulting Numbers: [168] 168,80 unequal: No Solution Moving to Node #0,3,4 Current State: 80:[95, 13], Operations: ['62+33=95', '39/3=13'] Exploring Operation: 95*13=1235, Resulting Numbers: [1235] 1235,80 unequal: No Solution Exploring Operation: 95+13=108, Resulting Numbers: [108] 108,80 unequal: No Solution Exploring Operation: 95-13=82, Resulting Numbers: [82] 82,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[62, 2], Operations: ['39-33=6', '6/3=2'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,80 unequal: No Solution Exploring Operation: 62*2=124, Resulting Numbers: [124] 124,80 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,80 unequal: No Solution Moving to Node #0,0,4 Current State: 80:[62, 9], Operations: ['39-33=6', '3+6=9'] Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 62*9=558, Resulting Numbers: [558] 558,80 unequal: No Solution Exploring Operation: 62+9=71, Resulting Numbers: [71] 71,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[95, 36], Operations: ['62+33=95', '39-3=36'] Exploring Operation: 95-36=59, Resulting Numbers: [59] 59,80 unequal: No Solution Exploring Operation: 95+36=131, Resulting Numbers: [131] 131,80 unequal: No Solution Exploring Operation: 95*36=3420, Resulting Numbers: [3420] 3420,80 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 21, 67, 23, 94 ]
71
[ "67-21=46", "23+94=117", "117-46=71" ]
Current State: 71:[21, 67, 23, 94], Operations: [] Exploring Operation: 67-21=46, Resulting Numbers: [23, 94, 46] Generated Node #2: [23, 94, 46] from Operation: 67-21=46 Current State: 71:[23, 94, 46], Operations: ['67-21=46'] Exploring Operation: 23+94=117, Resulting Numbers: [46, 117] Generated Node #3: [46, 117] from Operation: 23+94=117 Current State: 71:[46, 117], Operations: ['67-21=46', '23+94=117'] Exploring Operation: 117-46=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[21, 67, 23, 94], Operations: [] Exploring Operation: 94-21=73, Resulting Numbers: [67, 23, 73] Generated Node #0,0: 71:[67, 23, 73] Operation: 94-21=73 Exploring Operation: 21+23=44, Resulting Numbers: [67, 94, 44] Generated Node #0,1: 71:[67, 94, 44] Operation: 21+23=44 Moving to Node #0,0 Current State: 71:[67, 23, 73], Operations: ['94-21=73'] Exploring Operation: 73-23=50, Resulting Numbers: [67, 50] Generated Node #0,0,0: 71:[67, 50] Operation: 73-23=50 Exploring Operation: 67+23=90, Resulting Numbers: [73, 90] Generated Node #0,0,1: 71:[73, 90] Operation: 67+23=90 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[73, 90], Operations: ['94-21=73', '67+23=90'] Exploring Operation: 73+90=163, Resulting Numbers: [163] 163,71 unequal: No Solution Exploring Operation: 90-73=17, Resulting Numbers: [17] 17,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:[67, 50], Operations: ['94-21=73', '73-23=50'] Exploring Operation: 67-50=17, Resulting Numbers: [17] 17,71 unequal: No Solution Exploring Operation: 67+50=117, Resulting Numbers: [117] 117,71 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: 71:[67, 94, 44], Operations: ['21+23=44'] Exploring Operation: 94-44=50, Resulting Numbers: [67, 50] Generated Node #0,1,0: 71:[67, 50] Operation: 94-44=50 Exploring Operation: 67+44=111, Resulting Numbers: [94, 111] Generated Node #0,1,1: 71:[94, 111] Operation: 67+44=111 Moving to Node #0,1,0 Current State: 71:[67, 50], Operations: ['21+23=44', '94-44=50'] Exploring Operation: 67-50=17, Resulting Numbers: [17] 17,71 unequal: No Solution Exploring Operation: 67+50=117, Resulting Numbers: [117] 117,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[94, 111], Operations: ['21+23=44', '67+44=111'] Exploring Operation: 111-94=17, Resulting Numbers: [17] 17,71 unequal: No Solution Exploring Operation: 94+111=205, Resulting Numbers: [205] 205,71 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 24, 3, 76, 57 ]
65
[ "57-24=33", "33/3=11", "76-11=65" ]
Current State: 65:[24, 3, 76, 57], Operations: [] Exploring Operation: 57-24=33, Resulting Numbers: [3, 76, 33] Generated Node #2: [3, 76, 33] from Operation: 57-24=33 Current State: 65:[3, 76, 33], Operations: ['57-24=33'] Exploring Operation: 33/3=11, Resulting Numbers: [76, 11] Generated Node #3: [76, 11] from Operation: 33/3=11 Current State: 65:[76, 11], Operations: ['57-24=33', '33/3=11'] Exploring Operation: 76-11=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[24, 3, 76, 57], Operations: [] Exploring Operation: 76-57=19, Resulting Numbers: [24, 3, 19] Generated Node #0,0: 65:[24, 3, 19] Operation: 76-57=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[24, 3, 19], Operations: ['76-57=19'] Exploring Operation: 24-19=5, Resulting Numbers: [3, 5] Generated Node #0,0,0: 65:[3, 5] Operation: 24-19=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[3, 5], Operations: ['76-57=19', '24-19=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,65 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
[ 20, 42, 6, 3 ]
28
[ "20-6=14", "42/3=14", "14+14=28" ]
Current State: 28:[20, 42, 6, 3], Operations: [] Exploring Operation: 20-6=14, Resulting Numbers: [42, 3, 14] Generated Node #2: [42, 3, 14] from Operation: 20-6=14 Current State: 28:[42, 3, 14], Operations: ['20-6=14'] Exploring Operation: 42/3=14, Resulting Numbers: [14, 14] Generated Node #3: [14, 14] from Operation: 42/3=14 Current State: 28:[14, 14], Operations: ['20-6=14', '42/3=14'] Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[20, 42, 6, 3], Operations: [] Exploring Operation: 42/6=7, Resulting Numbers: [20, 3, 7] Generated Node #0,0: 28:[20, 3, 7] Operation: 42/6=7 Moving to Node #0,0 Current State: 28:[20, 3, 7], Operations: ['42/6=7'] Exploring Operation: 20+7=27, Resulting Numbers: [3, 27] Generated Node #0,0,0: 28:[3, 27] Operation: 20+7=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[3, 27], Operations: ['42/6=7', '20+7=27'] Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 60, 31, 30, 49 ]
13
[ "60*31=1860", "1860/30=62", "62-49=13" ]
Current State: 13:[60, 31, 30, 49], Operations: [] Exploring Operation: 60*31=1860, Resulting Numbers: [30, 49, 1860] Generated Node #2: [30, 49, 1860] from Operation: 60*31=1860 Current State: 13:[30, 49, 1860], Operations: ['60*31=1860'] Exploring Operation: 1860/30=62, Resulting Numbers: [49, 62] Generated Node #3: [49, 62] from Operation: 1860/30=62 Current State: 13:[49, 62], Operations: ['60*31=1860', '1860/30=62'] Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[60, 31, 30, 49], Operations: [] Exploring Operation: 60-31=29, Resulting Numbers: [30, 49, 29] Generated Node #0,0: 13:[30, 49, 29] Operation: 60-31=29 Exploring Operation: 60/30=2, Resulting Numbers: [31, 49, 2] Generated Node #0,1: 13:[31, 49, 2] Operation: 60/30=2 Exploring Operation: 49-31=18, Resulting Numbers: [60, 30, 18] Generated Node #0,2: 13:[60, 30, 18] Operation: 49-31=18 Exploring Operation: 60-49=11, Resulting Numbers: [31, 30, 11] Generated Node #0,3: 13:[31, 30, 11] Operation: 60-49=11 Moving to Node #0,3 Current State: 13:[31, 30, 11], Operations: ['60-49=11'] Exploring Operation: 31-30=1, Resulting Numbers: [11, 1] Generated Node #0,3,0: 13:[11, 1] Operation: 31-30=1 Exploring Operation: 31+11=42, Resulting Numbers: [30, 42] Generated Node #0,3,1: 13:[30, 42] Operation: 31+11=42 Exploring Operation: 30-11=19, Resulting Numbers: [31, 19] Generated Node #0,3,2: 13:[31, 19] Operation: 30-11=19 Exploring Operation: 31-11=20, Resulting Numbers: [30, 20] Generated Node #0,3,3: 13:[30, 20] Operation: 31-11=20 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 13:[11, 1], Operations: ['60-49=11', '31-30=1'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,13 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,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,3,2 Current State: 13:[31, 19], Operations: ['60-49=11', '30-11=19'] Exploring Operation: 31*19=589, Resulting Numbers: [589] 589,13 unequal: No Solution Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 31+19=50, Resulting Numbers: [50] 50,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,3,3 Current State: 13:[30, 20], Operations: ['60-49=11', '31-11=20'] Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,13 unequal: No Solution Exploring Operation: 30*20=600, Resulting Numbers: [600] 600,13 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,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,3,1 Current State: 13:[30, 42], Operations: ['60-49=11', '31+11=42'] Exploring Operation: 30+42=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 30*42=1260, Resulting Numbers: [1260] 1260,13 unequal: No Solution Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,13 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: 13:[31, 49, 2], Operations: ['60/30=2'] Exploring Operation: 31-2=29, Resulting Numbers: [49, 29] Generated Node #0,1,0: 13:[49, 29] Operation: 31-2=29 Exploring Operation: 31+2=33, Resulting Numbers: [49, 33] Generated Node #0,1,1: 13:[49, 33] Operation: 31+2=33 Exploring Operation: 49-2=47, Resulting Numbers: [31, 47] Generated Node #0,1,2: 13:[31, 47] Operation: 49-2=47 Exploring Operation: 49-31=18, Resulting Numbers: [2, 18] Generated Node #0,1,3: 13:[2, 18] Operation: 49-31=18 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 13:[2, 18], Operations: ['60/30=2', '49-31=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,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,0 Current State: 13:[49, 29], Operations: ['60/30=2', '31-2=29'] Exploring Operation: 49*29=1421, Resulting Numbers: [1421] 1421,13 unequal: No Solution Exploring Operation: 49+29=78, Resulting Numbers: [78] 78,13 unequal: No Solution Exploring Operation: 49-29=20, Resulting Numbers: [20] 20,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,2 Current State: 13:[31, 47], Operations: ['60/30=2', '49-2=47'] Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 31+47=78, Resulting Numbers: [78] 78,13 unequal: No Solution Exploring Operation: 31*47=1457, Resulting Numbers: [1457] 1457,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,1 Current State: 13:[49, 33], Operations: ['60/30=2', '31+2=33'] Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 49*33=1617, Resulting Numbers: [1617] 1617,13 unequal: No Solution Exploring Operation: 49+33=82, Resulting Numbers: [82] 82,13 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: 13:[60, 30, 18], Operations: ['49-31=18'] Exploring Operation: 60/30=2, Resulting Numbers: [18, 2] Generated Node #0,2,0: 13:[18, 2] Operation: 60/30=2 Exploring Operation: 60-30=30, Resulting Numbers: [18, 30] Generated Node #0,2,1: 13:[18, 30] Operation: 60-30=30 Exploring Operation: 60-18=42, Resulting Numbers: [30, 42] Generated Node #0,2,2: 13:[30, 42] Operation: 60-18=42 Exploring Operation: 30-18=12, Resulting Numbers: [60, 12] Generated Node #0,2,3: 13:[60, 12] Operation: 30-18=12 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 13:[18, 2], Operations: ['49-31=18', '60/30=2'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 13:[18, 30], Operations: ['49-31=18', '60-30=30'] Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 13:[30, 42], Operations: ['49-31=18', '60-18=42'] Exploring Operation: 30*42=1260, Resulting Numbers: [1260] 1260,13 unequal: No Solution Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 30+42=72, Resulting Numbers: [72] 72,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 13:[60, 12], Operations: ['49-31=18', '30-18=12'] Exploring Operation: 60*12=720, Resulting Numbers: [720] 720,13 unequal: No Solution Exploring Operation: 60+12=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,13 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: 13:[30, 49, 29], Operations: ['60-31=29'] Exploring Operation: 49-30=19, Resulting Numbers: [29, 19] Generated Node #0,0,0: 13:[29, 19] Operation: 49-30=19 Exploring Operation: 30-29=1, Resulting Numbers: [49, 1] Generated Node #0,0,1: 13:[49, 1] Operation: 30-29=1 Exploring Operation: 49-29=20, Resulting Numbers: [30, 20] Generated Node #0,0,2: 13:[30, 20] Operation: 49-29=20 Exploring Operation: 30+49=79, Resulting Numbers: [29, 79] Generated Node #0,0,3: 13:[29, 79] Operation: 30+49=79 Moving to Node #0,0,0 Current State: 13:[29, 19], Operations: ['60-31=29', '49-30=19'] Exploring Operation: 29+19=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 29*19=551, Resulting Numbers: [551] 551,13 unequal: No Solution Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[30, 20], Operations: ['60-31=29', '49-29=20'] Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,13 unequal: No Solution Exploring Operation: 30*20=600, Resulting Numbers: [600] 600,13 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[49, 1], Operations: ['60-31=29', '30-29=1'] Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,13 unequal: No Solution Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,13 unequal: No Solution Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,13 unequal: No Solution Moving to Node #0,0,3 Current State: 13:[29, 79], Operations: ['60-31=29', '30+49=79'] Exploring Operation: 29*79=2291, Resulting Numbers: [2291] 2291,13 unequal: No Solution Exploring Operation: 29+79=108, Resulting Numbers: [108] 108,13 unequal: No Solution Exploring Operation: 79-29=50, Resulting Numbers: [50] 50,13 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 99, 11, 83, 81 ]
44
[ "99-11=88", "83-81=2", "88/2=44" ]
Current State: 44:[99, 11, 83, 81], Operations: [] Exploring Operation: 99-11=88, Resulting Numbers: [83, 81, 88] Generated Node #2: [83, 81, 88] from Operation: 99-11=88 Current State: 44:[83, 81, 88], Operations: ['99-11=88'] Exploring Operation: 83-81=2, Resulting Numbers: [88, 2] Generated Node #3: [88, 2] from Operation: 83-81=2 Current State: 44:[88, 2], Operations: ['99-11=88', '83-81=2'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[99, 11, 83, 81], Operations: [] Exploring Operation: 99-83=16, Resulting Numbers: [11, 81, 16] Generated Node #0,0: 44:[11, 81, 16] Operation: 99-83=16 Exploring Operation: 99-81=18, Resulting Numbers: [11, 83, 18] Generated Node #0,1: 44:[11, 83, 18] Operation: 99-81=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[11, 81, 16], Operations: ['99-83=16'] Exploring Operation: 81-16=65, Resulting Numbers: [11, 65] Generated Node #0,0,0: 44:[11, 65] Operation: 81-16=65 Exploring Operation: 81-11=70, Resulting Numbers: [16, 70] Generated Node #0,0,1: 44:[16, 70] Operation: 81-11=70 Moving to Node #0,0,0 Current State: 44:[11, 65], Operations: ['99-83=16', '81-16=65'] Exploring Operation: 11+65=76, Resulting Numbers: [76] 76,44 unequal: No Solution Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[16, 70], Operations: ['99-83=16', '81-11=70'] Exploring Operation: 16+70=86, Resulting Numbers: [86] 86,44 unequal: No Solution Exploring Operation: 70-16=54, Resulting Numbers: [54] 54,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[11, 83, 18], Operations: ['99-81=18'] Exploring Operation: 83-18=65, Resulting Numbers: [11, 65] Generated Node #0,1,0: 44:[11, 65] Operation: 83-18=65 Exploring Operation: 83-11=72, Resulting Numbers: [18, 72] Generated Node #0,1,1: 44:[18, 72] Operation: 83-11=72 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 44:[11, 65], Operations: ['99-81=18', '83-18=65'] Exploring Operation: 11+65=76, Resulting Numbers: [76] 76,44 unequal: No Solution Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 44:[18, 72], Operations: ['99-81=18', '83-11=72'] Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 2, 49, 6, 56 ]
27
[ "56/2=28", "49+6=55", "55-28=27" ]
Current State: 27:[2, 49, 6, 56], Operations: [] Exploring Operation: 56/2=28, Resulting Numbers: [49, 6, 28] Generated Node #2: [49, 6, 28] from Operation: 56/2=28 Current State: 27:[49, 6, 28], Operations: ['56/2=28'] Exploring Operation: 49+6=55, Resulting Numbers: [28, 55] Generated Node #3: [28, 55] from Operation: 49+6=55 Current State: 27:[28, 55], Operations: ['56/2=28', '49+6=55'] Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[2, 49, 6, 56], Operations: [] Exploring Operation: 49-6=43, Resulting Numbers: [2, 56, 43] Generated Node #0,0: 27:[2, 56, 43] Operation: 49-6=43 Exploring Operation: 56/2=28, Resulting Numbers: [49, 6, 28] Generated Node #0,1: 27:[49, 6, 28] Operation: 56/2=28 Exploring Operation: 56-49=7, Resulting Numbers: [2, 6, 7] Generated Node #0,2: 27:[2, 6, 7] Operation: 56-49=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[2, 6, 7], Operations: ['56-49=7'] Exploring Operation: 6/2=3, Resulting Numbers: [7, 3] Generated Node #0,2,0: 27:[7, 3] Operation: 6/2=3 Exploring Operation: 2+6=8, Resulting Numbers: [7, 8] Generated Node #0,2,1: 27:[7, 8] Operation: 2+6=8 Exploring Operation: 6-2=4, Resulting Numbers: [7, 4] Generated Node #0,2,2: 27:[7, 4] Operation: 6-2=4 Moving to Node #0,2,0 Current State: 27:[7, 3], Operations: ['56-49=7', '6/2=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,27 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[7, 8], Operations: ['56-49=7', '2+6=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,27 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[7, 4], Operations: ['56-49=7', '6-2=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,27 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[49, 6, 28], Operations: ['56/2=28'] Exploring Operation: 49-28=21, Resulting Numbers: [6, 21] Generated Node #0,1,0: 27:[6, 21] Operation: 49-28=21 Exploring Operation: 28-6=22, Resulting Numbers: [49, 22] Generated Node #0,1,1: 27:[49, 22] Operation: 28-6=22 Exploring Operation: 49-6=43, Resulting Numbers: [28, 43] Generated Node #0,1,2: 27:[28, 43] Operation: 49-6=43 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 27:[6, 21], Operations: ['56/2=28', '49-28=21'] Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[2, 49, 6, 56], Operations: [] Exploring Operation: 56/2=28, Resulting Numbers: [49, 6, 28] Generated Node #0,1: 27:[49, 6, 28] Operation: 56/2=28 Moving to Node #0,1 Current State: 27:[49, 6, 28], Operations: ['56/2=28'] Exploring Operation: 49-28=21, Resulting Numbers: [6, 21] Generated Node #0,1,0: 27:[6, 21] Operation: 49-28=21 Moving to Node #0,1,0 Current State: 27:[6, 21], Operations: ['56/2=28', '49-28=21'] Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 24, 44, 71, 93 ]
12
[ "93-71=22", "24*22=528", "528/44=12" ]
Current State: 12:[24, 44, 71, 93], Operations: [] Exploring Operation: 93-71=22, Resulting Numbers: [24, 44, 22] Generated Node #2: [24, 44, 22] from Operation: 93-71=22 Current State: 12:[24, 44, 22], Operations: ['93-71=22'] Exploring Operation: 24*22=528, Resulting Numbers: [44, 528] Generated Node #3: [44, 528] from Operation: 24*22=528 Current State: 12:[44, 528], Operations: ['93-71=22', '24*22=528'] Exploring Operation: 528/44=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[24, 44, 71, 93], Operations: [] Exploring Operation: 71-44=27, Resulting Numbers: [24, 93, 27] Generated Node #0,0: 12:[24, 93, 27] Operation: 71-44=27 Exploring Operation: 44-24=20, Resulting Numbers: [71, 93, 20] Generated Node #0,1: 12:[71, 93, 20] Operation: 44-24=20 Exploring Operation: 93-44=49, Resulting Numbers: [24, 71, 49] Generated Node #0,2: 12:[24, 71, 49] Operation: 93-44=49 Exploring Operation: 93-71=22, Resulting Numbers: [24, 44, 22] Generated Node #0,3: 12:[24, 44, 22] Operation: 93-71=22 Moving to Node #0,3 Current State: 12:[24, 44, 22], Operations: ['93-71=22'] Exploring Operation: 44-22=22, Resulting Numbers: [24, 22] Generated Node #0,3,0: 12:[24, 22] Operation: 44-22=22 Exploring Operation: 44/22=2, Resulting Numbers: [24, 2] Generated Node #0,3,1: 12:[24, 2] Operation: 44/22=2 Exploring Operation: 24-22=2, Resulting Numbers: [44, 2] Generated Node #0,3,2: 12:[44, 2] Operation: 24-22=2 Exploring Operation: 44-24=20, Resulting Numbers: [22, 20] Generated Node #0,3,3: 12:[22, 20] Operation: 44-24=20 Moving to Node #0,2 Current State: 12:[24, 71, 49], Operations: ['93-44=49'] Exploring Operation: 71-49=22, Resulting Numbers: [24, 22] Generated Node #0,2,0: 12:[24, 22] Operation: 71-49=22 Exploring Operation: 71-24=47, Resulting Numbers: [49, 47] Generated Node #0,2,1: 12:[49, 47] Operation: 71-24=47 Exploring Operation: 24+71=95, Resulting Numbers: [49, 95] Generated Node #0,2,2: 12:[49, 95] Operation: 24+71=95 Exploring Operation: 49-24=25, Resulting Numbers: [71, 25] Generated Node #0,2,3: 12:[71, 25] Operation: 49-24=25 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 12:[24, 22], Operations: ['93-44=49', '71-49=22'] Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,12 unequal: No Solution Exploring Operation: 24*22=528, Resulting Numbers: [528] 528,12 unequal: No Solution Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 12:[49, 47], Operations: ['93-44=49', '71-24=47'] Exploring Operation: 49+47=96, Resulting Numbers: [96] 96,12 unequal: No Solution Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 49*47=2303, Resulting Numbers: [2303] 2303,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 12:[71, 25], Operations: ['93-44=49', '49-24=25'] Exploring Operation: 71*25=1775, Resulting Numbers: [1775] 1775,12 unequal: No Solution Exploring Operation: 71+25=96, Resulting Numbers: [96] 96,12 unequal: No Solution Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 12:[49, 95], Operations: ['93-44=49', '24+71=95'] Exploring Operation: 49+95=144, Resulting Numbers: [144] 144,12 unequal: No Solution Exploring Operation: 95-49=46, Resulting Numbers: [46] 46,12 unequal: No Solution Exploring Operation: 49*95=4655, Resulting Numbers: [4655] 4655,12 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: 12:[24, 93, 27], Operations: ['71-44=27'] Exploring Operation: 27-24=3, Resulting Numbers: [93, 3] Generated Node #0,0,0: 12:[93, 3] Operation: 27-24=3 Exploring Operation: 24+93=117, Resulting Numbers: [27, 117] Generated Node #0,0,1: 12:[27, 117] Operation: 24+93=117 Exploring Operation: 93-24=69, Resulting Numbers: [27, 69] Generated Node #0,0,2: 12:[27, 69] Operation: 93-24=69 Exploring Operation: 93-27=66, Resulting Numbers: [24, 66] Generated Node #0,0,3: 12:[24, 66] Operation: 93-27=66 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 12:[24, 66], Operations: ['71-44=27', '93-27=66'] Exploring Operation: 24+66=90, Resulting Numbers: [90] 90,12 unequal: No Solution Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 24*66=1584, Resulting Numbers: [1584] 1584,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 12:[27, 69], Operations: ['71-44=27', '93-24=69'] Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 27+69=96, Resulting Numbers: [96] 96,12 unequal: No Solution Exploring Operation: 27*69=1863, Resulting Numbers: [1863] 1863,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[93, 3], Operations: ['71-44=27', '27-24=3'] Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,12 unequal: No Solution Exploring Operation: 93*3=279, Resulting Numbers: [279] 279,12 unequal: No Solution Exploring Operation: 93+3=96, Resulting Numbers: [96] 96,12 unequal: No Solution Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 12:[27, 117], Operations: ['71-44=27', '24+93=117'] Exploring Operation: 27+117=144, Resulting Numbers: [144] 144,12 unequal: No Solution Exploring Operation: 117-27=90, Resulting Numbers: [90] 90,12 unequal: No Solution Exploring Operation: 27*117=3159, Resulting Numbers: [3159] 3159,12 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: 12:[71, 93, 20], Operations: ['44-24=20'] Exploring Operation: 71+93=164, Resulting Numbers: [20, 164] Generated Node #0,1,0: 12:[20, 164] Operation: 71+93=164 Exploring Operation: 93-71=22, Resulting Numbers: [20, 22] Generated Node #0,1,1: 12:[20, 22] Operation: 93-71=22 Exploring Operation: 71-20=51, Resulting Numbers: [93, 51] Generated Node #0,1,2: 12:[93, 51] Operation: 71-20=51 Exploring Operation: 93-20=73, Resulting Numbers: [71, 73] Generated Node #0,1,3: 12:[71, 73] Operation: 93-20=73 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 12:[20, 22], Operations: ['44-24=20', '93-71=22'] Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,12 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 12:[93, 51], Operations: ['44-24=20', '71-20=51'] Exploring Operation: 93-51=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 93*51=4743, Resulting Numbers: [4743] 4743,12 unequal: No Solution Exploring Operation: 93+51=144, Resulting Numbers: [144] 144,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 12:[71, 73], Operations: ['44-24=20', '93-20=73'] Exploring Operation: 71*73=5183, Resulting Numbers: [5183] 5183,12 unequal: No Solution Exploring Operation: 71+73=144, Resulting Numbers: [144] 144,12 unequal: No Solution Exploring Operation: 73-71=2, Resulting Numbers: [2] 2,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 12:[20, 164], Operations: ['44-24=20', '71+93=164'] Exploring Operation: 20*164=3280, Resulting Numbers: [3280] 3280,12 unequal: No Solution Exploring Operation: 20+164=184, Resulting Numbers: [184] 184,12 unequal: No Solution Exploring Operation: 164-20=144, Resulting Numbers: [144] 144,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 12:[24, 2], Operations: ['93-71=22', '44/22=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,12 unequal: No Solution Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,12 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[24, 44, 71, 93], Operations: [] Exploring Operation: 93-71=22, Resulting Numbers: [24, 44, 22] Generated Node #0,3: 12:[24, 44, 22] Operation: 93-71=22 Moving to Node #0,3 Current State: 12:[24, 44, 22], Operations: ['93-71=22'] Exploring Operation: 44/22=2, Resulting Numbers: [24, 2] Generated Node #0,3,1: 12:[24, 2] Operation: 44/22=2 Moving to Node #0,3,1 Current State: 12:[24, 2], Operations: ['93-71=22', '44/22=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
0.943576
hs_4
mult_heuristic
[ 59, 75, 69, 7 ]
59
[ "75-69=6", "7-6=1", "59*1=59" ]
Current State: 59:[59, 75, 69, 7], Operations: [] Exploring Operation: 75-69=6, Resulting Numbers: [59, 7, 6] Generated Node #2: [59, 7, 6] from Operation: 75-69=6 Current State: 59:[59, 7, 6], Operations: ['75-69=6'] Exploring Operation: 7-6=1, Resulting Numbers: [59, 1] Generated Node #3: [59, 1] from Operation: 7-6=1 Current State: 59:[59, 1], Operations: ['75-69=6', '7-6=1'] Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[59, 75, 69, 7], Operations: [] Exploring Operation: 75-7=68, Resulting Numbers: [59, 69, 68] Generated Node #0,0: 59:[59, 69, 68] Operation: 75-7=68 Exploring Operation: 69-7=62, Resulting Numbers: [59, 75, 62] Generated Node #0,1: 59:[59, 75, 62] Operation: 69-7=62 Exploring Operation: 59-7=52, Resulting Numbers: [75, 69, 52] Generated Node #0,2: 59:[75, 69, 52] Operation: 59-7=52 Exploring Operation: 59+7=66, Resulting Numbers: [75, 69, 66] Generated Node #0,3: 59:[75, 69, 66] Operation: 59+7=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[59, 69, 68], Operations: ['75-7=68'] Exploring Operation: 59+69=128, Resulting Numbers: [68, 128] Generated Node #0,0,0: 59:[68, 128] Operation: 59+69=128 Exploring Operation: 69-59=10, Resulting Numbers: [68, 10] Generated Node #0,0,1: 59:[68, 10] Operation: 69-59=10 Exploring Operation: 68-59=9, Resulting Numbers: [69, 9] Generated Node #0,0,2: 59:[69, 9] Operation: 68-59=9 Exploring Operation: 69-68=1, Resulting Numbers: [59, 1] Generated Node #0,0,3: 59:[59, 1] Operation: 69-68=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[68, 10], Operations: ['75-7=68', '69-59=10'] Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 68*10=680, Resulting Numbers: [680] 680,59 unequal: No Solution Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 59:[59, 1], Operations: ['75-7=68', '69-68=1'] Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[59, 75, 69, 7], Operations: [] Exploring Operation: 75-7=68, Resulting Numbers: [59, 69, 68] Generated Node #0,0: 59:[59, 69, 68] Operation: 75-7=68 Moving to Node #0,0 Current State: 59:[59, 69, 68], Operations: ['75-7=68'] Exploring Operation: 69-68=1, Resulting Numbers: [59, 1] Generated Node #0,0,3: 59:[59, 1] Operation: 69-68=1 Moving to Node #0,0,3 Current State: 59:[59, 1], Operations: ['75-7=68', '69-68=1'] Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 12, 35, 46, 7 ]
30
[ "35-12=23", "46+7=53", "53-23=30" ]
Current State: 30:[12, 35, 46, 7], Operations: [] Exploring Operation: 35-12=23, Resulting Numbers: [46, 7, 23] Generated Node #2: [46, 7, 23] from Operation: 35-12=23 Current State: 30:[46, 7, 23], Operations: ['35-12=23'] Exploring Operation: 46+7=53, Resulting Numbers: [23, 53] Generated Node #3: [23, 53] from Operation: 46+7=53 Current State: 30:[23, 53], Operations: ['35-12=23', '46+7=53'] Exploring Operation: 53-23=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[12, 35, 46, 7], Operations: [] Exploring Operation: 46-35=11, Resulting Numbers: [12, 7, 11] Generated Node #0,0: 30:[12, 7, 11] Operation: 46-35=11 Exploring Operation: 46-12=34, Resulting Numbers: [35, 7, 34] Generated Node #0,1: 30:[35, 7, 34] Operation: 46-12=34 Moving to Node #0,0 Current State: 30:[12, 7, 11], Operations: ['46-35=11'] Exploring Operation: 12-11=1, Resulting Numbers: [7, 1] Generated Node #0,0,0: 30:[7, 1] Operation: 12-11=1 Exploring Operation: 12-7=5, Resulting Numbers: [11, 5] Generated Node #0,0,1: 30:[11, 5] Operation: 12-7=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[11, 5], Operations: ['46-35=11', '12-7=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,30 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[7, 1], Operations: ['46-35=11', '12-11=1'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,30 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,30 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: 30:[35, 7, 34], Operations: ['46-12=34'] Exploring Operation: 35/7=5, Resulting Numbers: [34, 5] Generated Node #0,1,0: 30:[34, 5] Operation: 35/7=5 Exploring Operation: 35-34=1, Resulting Numbers: [7, 1] Generated Node #0,1,1: 30:[7, 1] Operation: 35-34=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 30:[7, 1], Operations: ['46-12=34', '35-34=1'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,30 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 30:[34, 5], Operations: ['46-12=34', '35/7=5'] Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,30 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
[ 96, 64, 88, 8 ]
99
[ "88-64=24", "24/8=3", "96+3=99" ]
Current State: 99:[96, 64, 88, 8], Operations: [] Exploring Operation: 88-64=24, Resulting Numbers: [96, 8, 24] Generated Node #2: [96, 8, 24] from Operation: 88-64=24 Current State: 99:[96, 8, 24], Operations: ['88-64=24'] Exploring Operation: 24/8=3, Resulting Numbers: [96, 3] Generated Node #3: [96, 3] from Operation: 24/8=3 Current State: 99:[96, 3], Operations: ['88-64=24', '24/8=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[96, 64, 88, 8], Operations: [] Exploring Operation: 96-64=32, Resulting Numbers: [88, 8, 32] Generated Node #0,0: 99:[88, 8, 32] Operation: 96-64=32 Exploring Operation: 88-64=24, Resulting Numbers: [96, 8, 24] Generated Node #0,1: 99:[96, 8, 24] Operation: 88-64=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[88, 8, 32], Operations: ['96-64=32'] Exploring Operation: 88+8=96, Resulting Numbers: [32, 96] Generated Node #0,0,0: 99:[32, 96] Operation: 88+8=96 Exploring Operation: 88/8=11, Resulting Numbers: [32, 11] Generated Node #0,0,1: 99:[32, 11] Operation: 88/8=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 99:[32, 11], Operations: ['96-64=32', '88/8=11'] Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,99 unequal: No Solution Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[32, 96], Operations: ['96-64=32', '88+8=96'] Exploring Operation: 32+96=128, Resulting Numbers: [128] 128,99 unequal: No Solution Exploring Operation: 96/32=3, Resulting Numbers: [3] 3,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[96, 8, 24], Operations: ['88-64=24'] Exploring Operation: 24/8=3, Resulting Numbers: [96, 3] Generated Node #0,1,0: 99:[96, 3] Operation: 24/8=3 Exploring Operation: 96/24=4, Resulting Numbers: [8, 4] Generated Node #0,1,1: 99:[8, 4] Operation: 96/24=4 Moving to Node #0,1,1 Current State: 99:[8, 4], Operations: ['88-64=24', '96/24=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,99 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[96, 3], Operations: ['88-64=24', '24/8=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[96, 64, 88, 8], Operations: [] Exploring Operation: 88-64=24, Resulting Numbers: [96, 8, 24] Generated Node #0,1: 99:[96, 8, 24] Operation: 88-64=24 Moving to Node #0,1 Current State: 99:[96, 8, 24], Operations: ['88-64=24'] Exploring Operation: 24/8=3, Resulting Numbers: [96, 3] Generated Node #0,1,0: 99:[96, 3] Operation: 24/8=3 Moving to Node #0,1,0 Current State: 99:[96, 3], Operations: ['88-64=24', '24/8=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
mult_heuristic
[ 5, 46, 24, 84 ]
70
[ "46+24=70", "70/5=14", "84-14=70" ]
Current State: 70:[5, 46, 24, 84], Operations: [] Exploring Operation: 46+24=70, Resulting Numbers: [5, 84, 70] Generated Node #2: [5, 84, 70] from Operation: 46+24=70 Current State: 70:[5, 84, 70], Operations: ['46+24=70'] Exploring Operation: 70/5=14, Resulting Numbers: [84, 14] Generated Node #3: [84, 14] from Operation: 70/5=14 Current State: 70:[84, 14], Operations: ['46+24=70', '70/5=14'] Exploring Operation: 84-14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[5, 46, 24, 84], Operations: [] Exploring Operation: 46+24=70, Resulting Numbers: [5, 84, 70] Generated Node #0,0: 70:[5, 84, 70] Operation: 46+24=70 Exploring Operation: 84-46=38, Resulting Numbers: [5, 24, 38] Generated Node #0,1: 70:[5, 24, 38] Operation: 84-46=38 Exploring Operation: 84-24=60, Resulting Numbers: [5, 46, 60] Generated Node #0,2: 70:[5, 46, 60] Operation: 84-24=60 Moving to Node #0,1 Current State: 70:[5, 24, 38], Operations: ['84-46=38'] Exploring Operation: 24-5=19, Resulting Numbers: [38, 19] Generated Node #0,1,0: 70:[38, 19] Operation: 24-5=19 Exploring Operation: 38-24=14, Resulting Numbers: [5, 14] Generated Node #0,1,1: 70:[5, 14] Operation: 38-24=14 Exploring Operation: 24+38=62, Resulting Numbers: [5, 62] Generated Node #0,1,2: 70:[5, 62] Operation: 24+38=62 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[5, 14], Operations: ['84-46=38', '38-24=14'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[5, 46, 24, 84], Operations: [] Exploring Operation: 84-46=38, Resulting Numbers: [5, 24, 38] Generated Node #0,1: 70:[5, 24, 38] Operation: 84-46=38 Moving to Node #0,1 Current State: 70:[5, 24, 38], Operations: ['84-46=38'] Exploring Operation: 38-24=14, Resulting Numbers: [5, 14] Generated Node #0,1,1: 70:[5, 14] Operation: 38-24=14 Moving to Node #0,1,1 Current State: 70:[5, 14], Operations: ['84-46=38', '38-24=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 97, 59, 26, 41 ]
29
[ "97-59=38", "26+41=67", "67-38=29" ]
Current State: 29:[97, 59, 26, 41], Operations: [] Exploring Operation: 97-59=38, Resulting Numbers: [26, 41, 38] Generated Node #2: [26, 41, 38] from Operation: 97-59=38 Current State: 29:[26, 41, 38], Operations: ['97-59=38'] Exploring Operation: 26+41=67, Resulting Numbers: [38, 67] Generated Node #3: [38, 67] from Operation: 26+41=67 Current State: 29:[38, 67], Operations: ['97-59=38', '26+41=67'] Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[97, 59, 26, 41], Operations: [] Exploring Operation: 97-41=56, Resulting Numbers: [59, 26, 56] Generated Node #0,0: 29:[59, 26, 56] Operation: 97-41=56 Exploring Operation: 97-59=38, Resulting Numbers: [26, 41, 38] Generated Node #0,1: 29:[26, 41, 38] Operation: 97-59=38 Moving to Node #0,1 Current State: 29:[26, 41, 38], Operations: ['97-59=38'] Exploring Operation: 41-26=15, Resulting Numbers: [38, 15] Generated Node #0,1,0: 29:[38, 15] Operation: 41-26=15 Exploring Operation: 38-26=12, Resulting Numbers: [41, 12] Generated Node #0,1,1: 29:[41, 12] Operation: 38-26=12 Moving to Node #0,0 Current State: 29:[59, 26, 56], Operations: ['97-41=56'] Exploring Operation: 59-26=33, Resulting Numbers: [56, 33] Generated Node #0,0,0: 29:[56, 33] Operation: 59-26=33 Exploring Operation: 59-56=3, Resulting Numbers: [26, 3] Generated Node #0,0,1: 29:[26, 3] Operation: 59-56=3 Moving to Node #0,1,0 Current State: 29:[38, 15], Operations: ['97-59=38', '41-26=15'] Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,29 unequal: No Solution Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[26, 3], Operations: ['97-41=56', '59-56=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[97, 59, 26, 41], Operations: [] Exploring Operation: 97-41=56, Resulting Numbers: [59, 26, 56] Generated Node #0,0: 29:[59, 26, 56] Operation: 97-41=56 Moving to Node #0,0 Current State: 29:[59, 26, 56], Operations: ['97-41=56'] Exploring Operation: 59-56=3, Resulting Numbers: [26, 3] Generated Node #0,0,1: 29:[26, 3] Operation: 59-56=3 Moving to Node #0,0,1 Current State: 29:[26, 3], Operations: ['97-41=56', '59-56=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.988715
hs_2
sum_heuristic
[ 58, 2, 56, 18 ]
75
[ "58+56=114", "114/2=57", "18+57=75" ]
Current State: 75:[58, 2, 56, 18], Operations: [] Exploring Operation: 58+56=114, Resulting Numbers: [2, 18, 114] Generated Node #2: [2, 18, 114] from Operation: 58+56=114 Current State: 75:[2, 18, 114], Operations: ['58+56=114'] Exploring Operation: 114/2=57, Resulting Numbers: [18, 57] Generated Node #3: [18, 57] from Operation: 114/2=57 Current State: 75:[18, 57], Operations: ['58+56=114', '114/2=57'] Exploring Operation: 18+57=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[58, 2, 56, 18], Operations: [] Exploring Operation: 56/2=28, Resulting Numbers: [58, 18, 28] Generated Node #0,0: 75:[58, 18, 28] Operation: 56/2=28 Exploring Operation: 56+18=74, Resulting Numbers: [58, 2, 74] Generated Node #0,1: 75:[58, 2, 74] Operation: 56+18=74 Exploring Operation: 58+18=76, Resulting Numbers: [2, 56, 76] Generated Node #0,2: 75:[2, 56, 76] Operation: 58+18=76 Exploring Operation: 58-56=2, Resulting Numbers: [2, 18, 2] Generated Node #0,3: 75:[2, 18, 2] Operation: 58-56=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[2, 18, 2], Operations: ['58-56=2'] Exploring Operation: 18-2=16, Resulting Numbers: [2, 16] Generated Node #0,3,0: 75:[2, 16] Operation: 18-2=16 Exploring Operation: 2+2=4, Resulting Numbers: [18, 4] Generated Node #0,3,1: 75:[18, 4] Operation: 2+2=4 Exploring Operation: 2*2=4, Resulting Numbers: [18, 4] Generated Node #0,3,2: 75:[18, 4] Operation: 2*2=4 Exploring Operation: 18-2=16, Resulting Numbers: [2, 16] Generated Node #0,3,3: 75:[2, 16] Operation: 18-2=16 Moving to Node #0,3,0 Current State: 75:[2, 16], Operations: ['58-56=2', '18-2=16'] Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,75 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,75 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,75 unequal: No Solution Moving to Node #0,3,3 Current State: 75:[2, 16], Operations: ['58-56=2', '18-2=16'] Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,75 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,75 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,75 unequal: No Solution Moving to Node #0,3,2 Current State: 75:[18, 4], Operations: ['58-56=2', '2*2=4'] Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,75 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,75 unequal: No Solution Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,75 unequal: No Solution Moving to Node #0,3,1 Current State: 75:[18, 4], Operations: ['58-56=2', '2+2=4'] Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,75 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,75 unequal: No Solution Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[58, 2, 74], Operations: ['56+18=74'] Exploring Operation: 2+74=76, Resulting Numbers: [58, 76] Generated Node #0,1,0: 75:[58, 76] Operation: 2+74=76 Exploring Operation: 58+2=60, Resulting Numbers: [74, 60] Generated Node #0,1,1: 75:[74, 60] Operation: 58+2=60 Exploring Operation: 58/2=29, Resulting Numbers: [74, 29] Generated Node #0,1,2: 75:[74, 29] Operation: 58/2=29 Exploring Operation: 74-58=16, Resulting Numbers: [2, 16] Generated Node #0,1,3: 75:[2, 16] Operation: 74-58=16 Moving to Node #0,1,3 Current State: 75:[2, 16], Operations: ['56+18=74', '74-58=16'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,75 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,75 unequal: No Solution Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[74, 29], Operations: ['56+18=74', '58/2=29'] Exploring Operation: 74*29=2146, Resulting Numbers: [2146] 2146,75 unequal: No Solution Exploring Operation: 74-29=45, Resulting Numbers: [45] 45,75 unequal: No Solution Exploring Operation: 74+29=103, Resulting Numbers: [103] 103,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[74, 60], Operations: ['56+18=74', '58+2=60'] Exploring Operation: 74*60=4440, Resulting Numbers: [4440] 4440,75 unequal: No Solution Exploring Operation: 74+60=134, Resulting Numbers: [134] 134,75 unequal: No Solution Exploring Operation: 74-60=14, Resulting Numbers: [14] 14,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[58, 76], Operations: ['56+18=74', '2+74=76'] Exploring Operation: 76-58=18, Resulting Numbers: [18] 18,75 unequal: No Solution Exploring Operation: 58+76=134, Resulting Numbers: [134] 134,75 unequal: No Solution Exploring Operation: 58*76=4408, Resulting Numbers: [4408] 4408,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[2, 56, 76], Operations: ['58+18=76'] Exploring Operation: 2+56=58, Resulting Numbers: [76, 58] Generated Node #0,2,0: 75:[76, 58] Operation: 2+56=58 Exploring Operation: 76-56=20, Resulting Numbers: [2, 20] Generated Node #0,2,1: 75:[2, 20] Operation: 76-56=20 Exploring Operation: 56/2=28, Resulting Numbers: [76, 28] Generated Node #0,2,2: 75:[76, 28] Operation: 56/2=28 Exploring Operation: 76-2=74, Resulting Numbers: [56, 74] Generated Node #0,2,3: 75:[56, 74] Operation: 76-2=74 Moving to Node #0,2,2 Current State: 75:[76, 28], Operations: ['58+18=76', '56/2=28'] Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,75 unequal: No Solution Exploring Operation: 76+28=104, Resulting Numbers: [104] 104,75 unequal: No Solution Exploring Operation: 76*28=2128, Resulting Numbers: [2128] 2128,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[2, 20], Operations: ['58+18=76', '76-56=20'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,75 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,75 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[76, 58], Operations: ['58+18=76', '2+56=58'] Exploring Operation: 76-58=18, Resulting Numbers: [18] 18,75 unequal: No Solution Exploring Operation: 76*58=4408, Resulting Numbers: [4408] 4408,75 unequal: No Solution Exploring Operation: 76+58=134, Resulting Numbers: [134] 134,75 unequal: No Solution Moving to Node #0,2,3 Current State: 75:[56, 74], Operations: ['58+18=76', '76-2=74'] Exploring Operation: 56*74=4144, Resulting Numbers: [4144] 4144,75 unequal: No Solution Exploring Operation: 56+74=130, Resulting Numbers: [130] 130,75 unequal: No Solution Exploring Operation: 74-56=18, Resulting Numbers: [18] 18,75 unequal: No Solution No 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: 75:[58, 18, 28], Operations: ['56/2=28'] Exploring Operation: 58-28=30, Resulting Numbers: [18, 30] Generated Node #0,0,0: 75:[18, 30] Operation: 58-28=30 Exploring Operation: 58+18=76, Resulting Numbers: [28, 76] Generated Node #0,0,1: 75:[28, 76] Operation: 58+18=76 Exploring Operation: 58-18=40, Resulting Numbers: [28, 40] Generated Node #0,0,2: 75:[28, 40] Operation: 58-18=40 Exploring Operation: 58+28=86, Resulting Numbers: [18, 86] Generated Node #0,0,3: 75:[18, 86] Operation: 58+28=86 Moving to Node #0,0,1 Current State: 75:[28, 76], Operations: ['56/2=28', '58+18=76'] Exploring Operation: 28*76=2128, Resulting Numbers: [2128] 2128,75 unequal: No Solution Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,75 unequal: No Solution Exploring Operation: 28+76=104, Resulting Numbers: [104] 104,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[18, 30], Operations: ['56/2=28', '58-28=30'] Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,75 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,75 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,75 unequal: No Solution Moving to Node #0,0,3 Current State: 75:[18, 86], Operations: ['56/2=28', '58+28=86'] Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,75 unequal: No Solution Exploring Operation: 18*86=1548, Resulting Numbers: [1548] 1548,75 unequal: No Solution Exploring Operation: 18+86=104, Resulting Numbers: [104] 104,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[28, 40], Operations: ['56/2=28', '58-18=40'] Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,75 unequal: No Solution Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 28*40=1120, Resulting Numbers: [1120] 1120,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 3, 40, 31, 88 ]
85
[ "40-31=9", "9/3=3", "88-3=85" ]
Current State: 85:[3, 40, 31, 88], Operations: [] Exploring Operation: 40-31=9, Resulting Numbers: [3, 88, 9] Generated Node #2: [3, 88, 9] from Operation: 40-31=9 Current State: 85:[3, 88, 9], Operations: ['40-31=9'] Exploring Operation: 9/3=3, Resulting Numbers: [88, 3] Generated Node #3: [88, 3] from Operation: 9/3=3 Current State: 85:[88, 3], Operations: ['40-31=9', '9/3=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[3, 40, 31, 88], Operations: [] Exploring Operation: 3*31=93, Resulting Numbers: [40, 88, 93] Generated Node #0,0: 85:[40, 88, 93] Operation: 3*31=93 Exploring Operation: 40+31=71, Resulting Numbers: [3, 88, 71] Generated Node #0,1: 85:[3, 88, 71] Operation: 40+31=71 Exploring Operation: 40-3=37, Resulting Numbers: [31, 88, 37] Generated Node #0,2: 85:[31, 88, 37] Operation: 40-3=37 Exploring Operation: 40-31=9, Resulting Numbers: [3, 88, 9] Generated Node #0,3: 85:[3, 88, 9] Operation: 40-31=9 Start Sub Search at level 1: Moving to Node #0,3 Current State: 85:[3, 88, 9], Operations: ['40-31=9'] Exploring Operation: 88-3=85, Resulting Numbers: [9, 85] Generated Node #0,3,0: 85:[9, 85] Operation: 88-3=85 Exploring Operation: 3+9=12, Resulting Numbers: [88, 12] Generated Node #0,3,1: 85:[88, 12] Operation: 3+9=12 Exploring Operation: 9-3=6, Resulting Numbers: [88, 6] Generated Node #0,3,2: 85:[88, 6] Operation: 9-3=6 Exploring Operation: 9/3=3, Resulting Numbers: [88, 3] Generated Node #0,3,3: 85:[88, 3] Operation: 9/3=3 Moving to Node #0,3,0 Current State: 85:[9, 85], Operations: ['40-31=9', '88-3=85'] Exploring Operation: 9*85=765, Resulting Numbers: [765] 765,85 unequal: No Solution Exploring Operation: 85-9=76, Resulting Numbers: [76] 76,85 unequal: No Solution Exploring Operation: 9+85=94, Resulting Numbers: [94] 94,85 unequal: No Solution Moving to Node #0,3,2 Current State: 85:[88, 6], Operations: ['40-31=9', '9-3=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,85 unequal: No Solution Exploring Operation: 88*6=528, Resulting Numbers: [528] 528,85 unequal: No Solution Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,85 unequal: No Solution Moving to Node #0,3,3 Current State: 85:[88, 3], Operations: ['40-31=9', '9/3=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[3, 40, 31, 88], Operations: [] Exploring Operation: 40-31=9, Resulting Numbers: [3, 88, 9] Generated Node #0,3: 85:[3, 88, 9] Operation: 40-31=9 Moving to Node #0,3 Current State: 85:[3, 88, 9], Operations: ['40-31=9'] Exploring Operation: 9/3=3, Resulting Numbers: [88, 3] Generated Node #0,3,3: 85:[88, 3] Operation: 9/3=3 Moving to Node #0,3,3 Current State: 85:[88, 3], Operations: ['40-31=9', '9/3=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 65, 14, 40, 19 ]
100
[ "65+14=79", "40-19=21", "79+21=100" ]
Current State: 100:[65, 14, 40, 19], Operations: [] Exploring Operation: 65+14=79, Resulting Numbers: [40, 19, 79] Generated Node #2: [40, 19, 79] from Operation: 65+14=79 Current State: 100:[40, 19, 79], Operations: ['65+14=79'] Exploring Operation: 40-19=21, Resulting Numbers: [79, 21] Generated Node #3: [79, 21] from Operation: 40-19=21 Current State: 100:[79, 21], Operations: ['65+14=79', '40-19=21'] Exploring Operation: 79+21=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[65, 14, 40, 19], Operations: [] Exploring Operation: 65-40=25, Resulting Numbers: [14, 19, 25] Generated Node #0,0: 100:[14, 19, 25] Operation: 65-40=25 Exploring Operation: 65+40=105, Resulting Numbers: [14, 19, 105] Generated Node #0,1: 100:[14, 19, 105] Operation: 65+40=105 Exploring Operation: 65-14=51, Resulting Numbers: [40, 19, 51] Generated Node #0,2: 100:[40, 19, 51] Operation: 65-14=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[14, 19, 25], Operations: ['65-40=25'] Exploring Operation: 25-19=6, Resulting Numbers: [14, 6] Generated Node #0,0,0: 100:[14, 6] Operation: 25-19=6 Exploring Operation: 25-14=11, Resulting Numbers: [19, 11] Generated Node #0,0,1: 100:[19, 11] Operation: 25-14=11 Exploring Operation: 19-14=5, Resulting Numbers: [25, 5] Generated Node #0,0,2: 100:[25, 5] Operation: 19-14=5 Moving to Node #0,0,2 Current State: 100:[25, 5], Operations: ['65-40=25', '19-14=5'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[19, 11], Operations: ['65-40=25', '25-14=11'] Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,100 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 19*11=209, Resulting Numbers: [209] 209,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[14, 6], Operations: ['65-40=25', '25-19=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,100 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,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 Current State: 100:[14, 19, 105], Operations: ['65+40=105'] Exploring Operation: 105-14=91, Resulting Numbers: [19, 91] Generated Node #0,1,0: 100:[19, 91] Operation: 105-14=91 Exploring Operation: 19-14=5, Resulting Numbers: [105, 5] Generated Node #0,1,1: 100:[105, 5] Operation: 19-14=5 Exploring Operation: 14+19=33, Resulting Numbers: [105, 33] Generated Node #0,1,2: 100:[105, 33] Operation: 14+19=33 Moving to Node #0,1,1 Current State: 100:[105, 5], Operations: ['65+40=105', '19-14=5'] Exploring Operation: 105/5=21, Resulting Numbers: [21] 21,100 unequal: No Solution Exploring Operation: 105-5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[65, 14, 40, 19], Operations: [] Exploring Operation: 65+40=105, Resulting Numbers: [14, 19, 105] Generated Node #0,1: 100:[14, 19, 105] Operation: 65+40=105 Moving to Node #0,1 Current State: 100:[14, 19, 105], Operations: ['65+40=105'] Exploring Operation: 19-14=5, Resulting Numbers: [105, 5] Generated Node #0,1,1: 100:[105, 5] Operation: 19-14=5 Moving to Node #0,1,1 Current State: 100:[105, 5], Operations: ['65+40=105', '19-14=5'] Exploring Operation: 105-5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 47, 57, 3, 88 ]
19
[ "47+57=104", "88-3=85", "104-85=19" ]
Current State: 19:[47, 57, 3, 88], Operations: [] Exploring Operation: 47+57=104, Resulting Numbers: [3, 88, 104] Generated Node #2: [3, 88, 104] from Operation: 47+57=104 Current State: 19:[3, 88, 104], Operations: ['47+57=104'] Exploring Operation: 88-3=85, Resulting Numbers: [104, 85] Generated Node #3: [104, 85] from Operation: 88-3=85 Current State: 19:[104, 85], Operations: ['47+57=104', '88-3=85'] Exploring Operation: 104-85=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[47, 57, 3, 88], Operations: [] Exploring Operation: 57/3=19, Resulting Numbers: [47, 88, 19] Generated Node #0,0: 19:[47, 88, 19] Operation: 57/3=19 Exploring Operation: 57-47=10, Resulting Numbers: [3, 88, 10] Generated Node #0,1: 19:[3, 88, 10] Operation: 57-47=10 Exploring Operation: 88-47=41, Resulting Numbers: [57, 3, 41] Generated Node #0,2: 19:[57, 3, 41] Operation: 88-47=41 Exploring Operation: 88-57=31, Resulting Numbers: [47, 3, 31] Generated Node #0,3: 19:[47, 3, 31] Operation: 88-57=31 Moving to Node #0,3 Current State: 19:[47, 3, 31], Operations: ['88-57=31'] Exploring Operation: 47-3=44, Resulting Numbers: [31, 44] Generated Node #0,3,0: 19:[31, 44] Operation: 47-3=44 Exploring Operation: 47-31=16, Resulting Numbers: [3, 16] Generated Node #0,3,1: 19:[3, 16] Operation: 47-31=16 Exploring Operation: 47+3=50, Resulting Numbers: [31, 50] Generated Node #0,3,2: 19:[31, 50] Operation: 47+3=50 Exploring Operation: 31-3=28, Resulting Numbers: [47, 28] Generated Node #0,3,3: 19:[47, 28] Operation: 31-3=28 Moving to Node #0,2 Current State: 19:[57, 3, 41], Operations: ['88-47=41'] Exploring Operation: 57-41=16, Resulting Numbers: [3, 16] Generated Node #0,2,0: 19:[3, 16] Operation: 57-41=16 Exploring Operation: 57/3=19, Resulting Numbers: [41, 19] Generated Node #0,2,1: 19:[41, 19] Operation: 57/3=19 Exploring Operation: 41-3=38, Resulting Numbers: [57, 38] Generated Node #0,2,2: 19:[57, 38] Operation: 41-3=38 Exploring Operation: 57-3=54, Resulting Numbers: [41, 54] Generated Node #0,2,3: 19:[41, 54] Operation: 57-3=54 Moving to Node #0,1 Current State: 19:[3, 88, 10], Operations: ['57-47=10'] Exploring Operation: 3+10=13, Resulting Numbers: [88, 13] Generated Node #0,1,0: 19:[88, 13] Operation: 3+10=13 Exploring Operation: 88-10=78, Resulting Numbers: [3, 78] Generated Node #0,1,1: 19:[3, 78] Operation: 88-10=78 Exploring Operation: 3*10=30, Resulting Numbers: [88, 30] Generated Node #0,1,2: 19:[88, 30] Operation: 3*10=30 Exploring Operation: 88-3=85, Resulting Numbers: [10, 85] Generated Node #0,1,3: 19:[10, 85] Operation: 88-3=85 Moving to Node #0,0 Current State: 19:[47, 88, 19], Operations: ['57/3=19'] Exploring Operation: 88-19=69, Resulting Numbers: [47, 69] Generated Node #0,0,0: 19:[47, 69] Operation: 88-19=69 Exploring Operation: 47-19=28, Resulting Numbers: [88, 28] Generated Node #0,0,1: 19:[88, 28] Operation: 47-19=28 Exploring Operation: 88-47=41, Resulting Numbers: [19, 41] Generated Node #0,0,2: 19:[19, 41] Operation: 88-47=41 Exploring Operation: 47+88=135, Resulting Numbers: [19, 135] Generated Node #0,0,3: 19:[19, 135] Operation: 47+88=135 Moving to Node #0,3,1 Current State: 19:[3, 16], Operations: ['88-57=31', '47-31=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[47, 57, 3, 88], Operations: [] Exploring Operation: 88-57=31, Resulting Numbers: [47, 3, 31] Generated Node #0,3: 19:[47, 3, 31] Operation: 88-57=31 Moving to Node #0,3 Current State: 19:[47, 3, 31], Operations: ['88-57=31'] Exploring Operation: 47-31=16, Resulting Numbers: [3, 16] Generated Node #0,3,1: 19:[3, 16] Operation: 47-31=16 Moving to Node #0,3,1 Current State: 19:[3, 16], Operations: ['88-57=31', '47-31=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.977431
hs_4
sum_heuristic
[ 4, 43, 44, 8 ]
96
[ "43-8=35", "4*35=140", "140-44=96" ]
Current State: 96:[4, 43, 44, 8], Operations: [] Exploring Operation: 43-8=35, Resulting Numbers: [4, 44, 35] Generated Node #2: [4, 44, 35] from Operation: 43-8=35 Current State: 96:[4, 44, 35], Operations: ['43-8=35'] Exploring Operation: 4*35=140, Resulting Numbers: [44, 140] Generated Node #3: [44, 140] from Operation: 4*35=140 Current State: 96:[44, 140], Operations: ['43-8=35', '4*35=140'] Exploring Operation: 140-44=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[4, 43, 44, 8], Operations: [] Exploring Operation: 44-43=1, Resulting Numbers: [4, 8, 1] Generated Node #0,0: 96:[4, 8, 1] Operation: 44-43=1 Moving to Node #0,0 Current State: 96:[4, 8, 1], Operations: ['44-43=1'] Exploring Operation: 4*1=4, Resulting Numbers: [8, 4] Generated Node #0,0,0: 96:[8, 4] Operation: 4*1=4 Moving to Node #0,0,0 Current State: 96:[8, 4], Operations: ['44-43=1', '4*1=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,96 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 95, 76, 51, 52 ]
68
[ "95+76=171", "51+52=103", "171-103=68" ]
Current State: 68:[95, 76, 51, 52], Operations: [] Exploring Operation: 95+76=171, Resulting Numbers: [51, 52, 171] Generated Node #2: [51, 52, 171] from Operation: 95+76=171 Current State: 68:[51, 52, 171], Operations: ['95+76=171'] Exploring Operation: 51+52=103, Resulting Numbers: [171, 103] Generated Node #3: [171, 103] from Operation: 51+52=103 Current State: 68:[171, 103], Operations: ['95+76=171', '51+52=103'] Exploring Operation: 171-103=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[95, 76, 51, 52], Operations: [] Exploring Operation: 95-76=19, Resulting Numbers: [51, 52, 19] Generated Node #0,0: 68:[51, 52, 19] Operation: 95-76=19 Exploring Operation: 95-52=43, Resulting Numbers: [76, 51, 43] Generated Node #0,1: 68:[76, 51, 43] Operation: 95-52=43 Exploring Operation: 95-51=44, Resulting Numbers: [76, 52, 44] Generated Node #0,2: 68:[76, 52, 44] Operation: 95-51=44 Exploring Operation: 52-51=1, Resulting Numbers: [95, 76, 1] Generated Node #0,3: 68:[95, 76, 1] Operation: 52-51=1 Moving to Node #0,1 Current State: 68:[76, 51, 43], Operations: ['95-52=43'] Exploring Operation: 51+43=94, Resulting Numbers: [76, 94] Generated Node #0,1,0: 68:[76, 94] Operation: 51+43=94 Exploring Operation: 76-51=25, Resulting Numbers: [43, 25] Generated Node #0,1,1: 68:[43, 25] Operation: 76-51=25 Exploring Operation: 76-43=33, Resulting Numbers: [51, 33] Generated Node #0,1,2: 68:[51, 33] Operation: 76-43=33 Exploring Operation: 51-43=8, Resulting Numbers: [76, 8] Generated Node #0,1,3: 68:[76, 8] Operation: 51-43=8 Moving to Node #0,2 Current State: 68:[76, 52, 44], Operations: ['95-51=44'] Exploring Operation: 76-52=24, Resulting Numbers: [44, 24] Generated Node #0,2,0: 68:[44, 24] Operation: 76-52=24 Exploring Operation: 52-44=8, Resulting Numbers: [76, 8] Generated Node #0,2,1: 68:[76, 8] Operation: 52-44=8 Exploring Operation: 76-44=32, Resulting Numbers: [52, 32] Generated Node #0,2,2: 68:[52, 32] Operation: 76-44=32 Exploring Operation: 52+44=96, Resulting Numbers: [76, 96] Generated Node #0,2,3: 68:[76, 96] Operation: 52+44=96 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 68:[76, 8], Operations: ['95-51=44', '52-44=8'] Exploring Operation: 76*8=608, Resulting Numbers: [608] 608,68 unequal: No Solution Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[95, 76, 51, 52], Operations: [] Exploring Operation: 95-51=44, Resulting Numbers: [76, 52, 44] Generated Node #0,2: 68:[76, 52, 44] Operation: 95-51=44 Moving to Node #0,2 Current State: 68:[76, 52, 44], Operations: ['95-51=44'] Exploring Operation: 52-44=8, Resulting Numbers: [76, 8] Generated Node #0,2,1: 68:[76, 8] Operation: 52-44=8 Moving to Node #0,2,1 Current State: 68:[76, 8], Operations: ['95-51=44', '52-44=8'] Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 84, 28, 60, 22 ]
46
[ "28-22=6", "84/6=14", "60-14=46" ]
Current State: 46:[84, 28, 60, 22], Operations: [] Exploring Operation: 28-22=6, Resulting Numbers: [84, 60, 6] Generated Node #2: [84, 60, 6] from Operation: 28-22=6 Current State: 46:[84, 60, 6], Operations: ['28-22=6'] Exploring Operation: 84/6=14, Resulting Numbers: [60, 14] Generated Node #3: [60, 14] from Operation: 84/6=14 Current State: 46:[60, 14], Operations: ['28-22=6', '84/6=14'] Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[84, 28, 60, 22], Operations: [] Exploring Operation: 84-60=24, Resulting Numbers: [28, 22, 24] Generated Node #0,0: 46:[28, 22, 24] Operation: 84-60=24 Exploring Operation: 84/28=3, Resulting Numbers: [60, 22, 3] Generated Node #0,1: 46:[60, 22, 3] Operation: 84/28=3 Moving to Node #0,0 Current State: 46:[28, 22, 24], Operations: ['84-60=24'] Exploring Operation: 28-24=4, Resulting Numbers: [22, 4] Generated Node #0,0,0: 46:[22, 4] Operation: 28-24=4 Exploring Operation: 28+22=50, Resulting Numbers: [24, 50] Generated Node #0,0,1: 46:[24, 50] Operation: 28+22=50 Moving to Node #0,1 Current State: 46:[60, 22, 3], Operations: ['84/28=3'] Exploring Operation: 60-22=38, Resulting Numbers: [3, 38] Generated Node #0,1,0: 46:[3, 38] Operation: 60-22=38 Exploring Operation: 60/3=20, Resulting Numbers: [22, 20] Generated Node #0,1,1: 46:[22, 20] Operation: 60/3=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[22, 20], Operations: ['84/28=3', '60/3=20'] Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,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,1,0 Current State: 46:[3, 38], Operations: ['84/28=3', '60-22=38'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,46 unequal: No Solution Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,46 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: 46:[22, 4], Operations: ['84-60=24', '28-24=4'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[24, 50], Operations: ['84-60=24', '28+22=50'] Exploring Operation: 24+50=74, Resulting Numbers: [74] 74,46 unequal: No Solution Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,46 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 72, 98, 96, 93 ]
23
[ "98-72=26", "96-93=3", "26-3=23" ]
Current State: 23:[72, 98, 96, 93], Operations: [] Exploring Operation: 98-72=26, Resulting Numbers: [96, 93, 26] Generated Node #2: [96, 93, 26] from Operation: 98-72=26 Current State: 23:[96, 93, 26], Operations: ['98-72=26'] Exploring Operation: 96-93=3, Resulting Numbers: [26, 3] Generated Node #3: [26, 3] from Operation: 96-93=3 Current State: 23:[26, 3], Operations: ['98-72=26', '96-93=3'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[72, 98, 96, 93], Operations: [] Exploring Operation: 96-93=3, Resulting Numbers: [72, 98, 3] Generated Node #0,0: 23:[72, 98, 3] Operation: 96-93=3 Exploring Operation: 98-93=5, Resulting Numbers: [72, 96, 5] Generated Node #0,1: 23:[72, 96, 5] Operation: 98-93=5 Exploring Operation: 98-72=26, Resulting Numbers: [96, 93, 26] Generated Node #0,2: 23:[96, 93, 26] Operation: 98-72=26 Exploring Operation: 98-96=2, Resulting Numbers: [72, 93, 2] Generated Node #0,3: 23:[72, 93, 2] Operation: 98-96=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[72, 96, 5], Operations: ['98-93=5'] Exploring Operation: 96-5=91, Resulting Numbers: [72, 91] Generated Node #0,1,0: 23:[72, 91] Operation: 96-5=91 Exploring Operation: 96-72=24, Resulting Numbers: [5, 24] Generated Node #0,1,1: 23:[5, 24] Operation: 96-72=24 Exploring Operation: 72-5=67, Resulting Numbers: [96, 67] Generated Node #0,1,2: 23:[96, 67] Operation: 72-5=67 Exploring Operation: 72+5=77, Resulting Numbers: [96, 77] Generated Node #0,1,3: 23:[96, 77] Operation: 72+5=77 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 23:[5, 24], Operations: ['98-93=5', '96-72=24'] Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,23 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 23:[72, 91], Operations: ['98-93=5', '96-5=91'] Exploring Operation: 72*91=6552, Resulting Numbers: [6552] 6552,23 unequal: No Solution Exploring Operation: 91-72=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 72+91=163, Resulting Numbers: [163] 163,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 23:[96, 67], Operations: ['98-93=5', '72-5=67'] Exploring Operation: 96*67=6432, Resulting Numbers: [6432] 6432,23 unequal: No Solution Exploring Operation: 96+67=163, Resulting Numbers: [163] 163,23 unequal: No Solution Exploring Operation: 96-67=29, Resulting Numbers: [29] 29,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 23:[96, 77], Operations: ['98-93=5', '72+5=77'] Exploring Operation: 96+77=173, Resulting Numbers: [173] 173,23 unequal: No Solution Exploring Operation: 96*77=7392, Resulting Numbers: [7392] 7392,23 unequal: No Solution Exploring Operation: 96-77=19, Resulting Numbers: [19] 19,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 23:[72, 93, 2], Operations: ['98-96=2'] Exploring Operation: 72/2=36, Resulting Numbers: [93, 36] Generated Node #0,3,0: 23:[93, 36] Operation: 72/2=36 Exploring Operation: 72-2=70, Resulting Numbers: [93, 70] Generated Node #0,3,1: 23:[93, 70] Operation: 72-2=70 Exploring Operation: 93-2=91, Resulting Numbers: [72, 91] Generated Node #0,3,2: 23:[72, 91] Operation: 93-2=91 Exploring Operation: 93-72=21, Resulting Numbers: [2, 21] Generated Node #0,3,3: 23:[2, 21] Operation: 93-72=21 Moving to Node #0,3,3 Current State: 23:[2, 21], Operations: ['98-96=2', '93-72=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[72, 98, 96, 93], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [72, 93, 2] Generated Node #0,3: 23:[72, 93, 2] Operation: 98-96=2 Moving to Node #0,3 Current State: 23:[72, 93, 2], Operations: ['98-96=2'] Exploring Operation: 93-72=21, Resulting Numbers: [2, 21] Generated Node #0,3,3: 23:[2, 21] Operation: 93-72=21 Moving to Node #0,3,3 Current State: 23:[2, 21], Operations: ['98-96=2', '93-72=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
mult_heuristic
[ 88, 10, 3, 28 ]
82
[ "28-10=18", "18/3=6", "88-6=82" ]
Current State: 82:[88, 10, 3, 28], Operations: [] Exploring Operation: 28-10=18, Resulting Numbers: [88, 3, 18] Generated Node #2: [88, 3, 18] from Operation: 28-10=18 Current State: 82:[88, 3, 18], Operations: ['28-10=18'] Exploring Operation: 18/3=6, Resulting Numbers: [88, 6] Generated Node #3: [88, 6] from Operation: 18/3=6 Current State: 82:[88, 6], Operations: ['28-10=18', '18/3=6'] Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[88, 10, 3, 28], Operations: [] Exploring Operation: 10+28=38, Resulting Numbers: [88, 3, 38] Generated Node #0,0: 82:[88, 3, 38] Operation: 10+28=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[88, 3, 38], Operations: ['10+28=38'] Exploring Operation: 88-3=85, Resulting Numbers: [38, 85] Generated Node #0,0,0: 82:[38, 85] Operation: 88-3=85 Moving to Node #0,0,0 Current State: 82:[38, 85], Operations: ['10+28=38', '88-3=85'] Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 2, 21, 84, 33 ]
58
[ "84/21=4", "33-4=29", "2*29=58" ]
Current State: 58:[2, 21, 84, 33], Operations: [] Exploring Operation: 84/21=4, Resulting Numbers: [2, 33, 4] Generated Node #2: [2, 33, 4] from Operation: 84/21=4 Current State: 58:[2, 33, 4], Operations: ['84/21=4'] Exploring Operation: 33-4=29, Resulting Numbers: [2, 29] Generated Node #3: [2, 29] from Operation: 33-4=29 Current State: 58:[2, 29], Operations: ['84/21=4', '33-4=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[2, 21, 84, 33], Operations: [] Exploring Operation: 84-21=63, Resulting Numbers: [2, 33, 63] Generated Node #0,0: 58:[2, 33, 63] Operation: 84-21=63 Exploring Operation: 84/21=4, Resulting Numbers: [2, 33, 4] Generated Node #0,1: 58:[2, 33, 4] Operation: 84/21=4 Moving to Node #0,1 Current State: 58:[2, 33, 4], Operations: ['84/21=4'] Exploring Operation: 33-4=29, Resulting Numbers: [2, 29] Generated Node #0,1,0: 58:[2, 29] Operation: 33-4=29 Exploring Operation: 33-2=31, Resulting Numbers: [4, 31] Generated Node #0,1,1: 58:[4, 31] Operation: 33-2=31 Moving to Node #0,0 Current State: 58:[2, 33, 63], Operations: ['84-21=63'] Exploring Operation: 63-33=30, Resulting Numbers: [2, 30] Generated Node #0,0,0: 58:[2, 30] Operation: 63-33=30 Exploring Operation: 33-2=31, Resulting Numbers: [63, 31] Generated Node #0,0,1: 58:[63, 31] Operation: 33-2=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[2, 30], Operations: ['84-21=63', '63-33=30'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,58 unequal: No Solution Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[63, 31], Operations: ['84-21=63', '33-2=31'] Exploring Operation: 63-31=32, Resulting Numbers: [32] 32,58 unequal: No Solution Exploring Operation: 63+31=94, Resulting Numbers: [94] 94,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 58:[2, 29], Operations: ['84/21=4', '33-4=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[2, 21, 84, 33], Operations: [] Exploring Operation: 84/21=4, Resulting Numbers: [2, 33, 4] Generated Node #0,1: 58:[2, 33, 4] Operation: 84/21=4 Moving to Node #0,1 Current State: 58:[2, 33, 4], Operations: ['84/21=4'] Exploring Operation: 33-4=29, Resulting Numbers: [2, 29] Generated Node #0,1,0: 58:[2, 29] Operation: 33-4=29 Moving to Node #0,1,0 Current State: 58:[2, 29], Operations: ['84/21=4', '33-4=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 7, 18, 50, 4 ]
83
[ "7*50=350", "350-18=332", "332/4=83" ]
Current State: 83:[7, 18, 50, 4], Operations: [] Exploring Operation: 7*50=350, Resulting Numbers: [18, 4, 350] Generated Node #2: [18, 4, 350] from Operation: 7*50=350 Current State: 83:[18, 4, 350], Operations: ['7*50=350'] Exploring Operation: 350-18=332, Resulting Numbers: [4, 332] Generated Node #3: [4, 332] from Operation: 350-18=332 Current State: 83:[4, 332], Operations: ['7*50=350', '350-18=332'] Exploring Operation: 332/4=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[7, 18, 50, 4], Operations: [] Exploring Operation: 7*4=28, Resulting Numbers: [18, 50, 28] Generated Node #0,0: 83:[18, 50, 28] Operation: 7*4=28 Exploring Operation: 7*18=126, Resulting Numbers: [50, 4, 126] Generated Node #0,1: 83:[50, 4, 126] Operation: 7*18=126 Exploring Operation: 18*4=72, Resulting Numbers: [7, 50, 72] Generated Node #0,2: 83:[7, 50, 72] Operation: 18*4=72 Exploring Operation: 7+18=25, Resulting Numbers: [50, 4, 25] Generated Node #0,3: 83:[50, 4, 25] Operation: 7+18=25 Exploring Operation: 7+50=57, Resulting Numbers: [18, 4, 57] Generated Node #0,4: 83:[18, 4, 57] Operation: 7+50=57 Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[7, 50, 72], Operations: ['18*4=72'] Exploring Operation: 50+72=122, Resulting Numbers: [7, 122] Generated Node #0,2,0: 83:[7, 122] Operation: 50+72=122 Exploring Operation: 72-7=65, Resulting Numbers: [50, 65] Generated Node #0,2,1: 83:[50, 65] Operation: 72-7=65 Exploring Operation: 7+50=57, Resulting Numbers: [72, 57] Generated Node #0,2,2: 83:[72, 57] Operation: 7+50=57 Exploring Operation: 7+72=79, Resulting Numbers: [50, 79] Generated Node #0,2,3: 83:[50, 79] Operation: 7+72=79 Exploring Operation: 50-7=43, Resulting Numbers: [72, 43] Generated Node #0,2,4: 83:[72, 43] Operation: 50-7=43 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 83:[72, 57], Operations: ['18*4=72', '7+50=57'] Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,83 unequal: No Solution Exploring Operation: 72+57=129, Resulting Numbers: [129] 129,83 unequal: No Solution Exploring Operation: 72*57=4104, Resulting Numbers: [4104] 4104,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 83:[50, 79], Operations: ['18*4=72', '7+72=79'] Exploring Operation: 50*79=3950, Resulting Numbers: [3950] 3950,83 unequal: No Solution Exploring Operation: 79-50=29, Resulting Numbers: [29] 29,83 unequal: No Solution Exploring Operation: 50+79=129, Resulting Numbers: [129] 129,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 83:[50, 65], Operations: ['18*4=72', '72-7=65'] Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,83 unequal: No Solution Exploring Operation: 50+65=115, Resulting Numbers: [115] 115,83 unequal: No Solution Exploring Operation: 50*65=3250, Resulting Numbers: [3250] 3250,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 83:[72, 43], Operations: ['18*4=72', '50-7=43'] Exploring Operation: 72*43=3096, Resulting Numbers: [3096] 3096,83 unequal: No Solution Exploring Operation: 72-43=29, Resulting Numbers: [29] 29,83 unequal: No Solution Exploring Operation: 72+43=115, Resulting Numbers: [115] 115,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 83:[7, 122], Operations: ['18*4=72', '50+72=122'] Exploring Operation: 7*122=854, Resulting Numbers: [854] 854,83 unequal: No Solution Exploring Operation: 7+122=129, Resulting Numbers: [129] 129,83 unequal: No Solution Exploring Operation: 122-7=115, Resulting Numbers: [115] 115,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[18, 50, 28], Operations: ['7*4=28'] Exploring Operation: 50-18=32, Resulting Numbers: [28, 32] Generated Node #0,0,0: 83:[28, 32] Operation: 50-18=32 Exploring Operation: 28-18=10, Resulting Numbers: [50, 10] Generated Node #0,0,1: 83:[50, 10] Operation: 28-18=10 Exploring Operation: 18+50=68, Resulting Numbers: [28, 68] Generated Node #0,0,2: 83:[28, 68] Operation: 18+50=68 Exploring Operation: 50+28=78, Resulting Numbers: [18, 78] Generated Node #0,0,3: 83:[18, 78] Operation: 50+28=78 Exploring Operation: 18+28=46, Resulting Numbers: [50, 46] Generated Node #0,0,4: 83:[50, 46] Operation: 18+28=46 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 83:[28, 68], Operations: ['7*4=28', '18+50=68'] Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,83 unequal: No Solution Exploring Operation: 28*68=1904, Resulting Numbers: [1904] 1904,83 unequal: No Solution Exploring Operation: 28+68=96, Resulting Numbers: [96] 96,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 83:[18, 78], Operations: ['7*4=28', '50+28=78'] Exploring Operation: 18*78=1404, Resulting Numbers: [1404] 1404,83 unequal: No Solution Exploring Operation: 18+78=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 83:[50, 46], Operations: ['7*4=28', '18+28=46'] Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,83 unequal: No Solution Exploring Operation: 50+46=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 50*46=2300, Resulting Numbers: [2300] 2300,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[28, 32], Operations: ['7*4=28', '50-18=32'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,83 unequal: No Solution Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 28*32=896, Resulting Numbers: [896] 896,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[50, 10], Operations: ['7*4=28', '28-18=10'] Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,83 unequal: No Solution Exploring Operation: 50+10=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 50*10=500, Resulting Numbers: [500] 500,83 unequal: No Solution Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[50, 4, 126], Operations: ['7*18=126'] Exploring Operation: 126-50=76, Resulting Numbers: [4, 76] Generated Node #0,1,0: 83:[4, 76] Operation: 126-50=76 Exploring Operation: 50+4=54, Resulting Numbers: [126, 54] Generated Node #0,1,1: 83:[126, 54] Operation: 50+4=54 Exploring Operation: 126-4=122, Resulting Numbers: [50, 122] Generated Node #0,1,2: 83:[50, 122] Operation: 126-4=122 Exploring Operation: 4+126=130, Resulting Numbers: [50, 130] Generated Node #0,1,3: 83:[50, 130] Operation: 4+126=130 Exploring Operation: 50-4=46, Resulting Numbers: [126, 46] Generated Node #0,1,4: 83:[126, 46] Operation: 50-4=46 Moving to Node #0,1,1 Current State: 83:[126, 54], Operations: ['7*18=126', '50+4=54'] Exploring Operation: 126+54=180, Resulting Numbers: [180] 180,83 unequal: No Solution Exploring Operation: 126*54=6804, Resulting Numbers: [6804] 6804,83 unequal: No Solution Exploring Operation: 126-54=72, Resulting Numbers: [72] 72,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[50, 122], Operations: ['7*18=126', '126-4=122'] Exploring Operation: 50*122=6100, Resulting Numbers: [6100] 6100,83 unequal: No Solution Exploring Operation: 50+122=172, Resulting Numbers: [172] 172,83 unequal: No Solution Exploring Operation: 122-50=72, Resulting Numbers: [72] 72,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[50, 130], Operations: ['7*18=126', '4+126=130'] Exploring Operation: 130-50=80, Resulting Numbers: [80] 80,83 unequal: No Solution Exploring Operation: 50*130=6500, Resulting Numbers: [6500] 6500,83 unequal: No Solution Exploring Operation: 50+130=180, Resulting Numbers: [180] 180,83 unequal: No Solution Moving to Node #0,1,4 Current State: 83:[126, 46], Operations: ['7*18=126', '50-4=46'] Exploring Operation: 126-46=80, Resulting Numbers: [80] 80,83 unequal: No Solution Exploring Operation: 126*46=5796, Resulting Numbers: [5796] 5796,83 unequal: No Solution Exploring Operation: 126+46=172, Resulting Numbers: [172] 172,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[4, 76], Operations: ['7*18=126', '126-50=76'] Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,83 unequal: No Solution Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 4*76=304, Resulting Numbers: [304] 304,83 unequal: No Solution Exploring Operation: 4+76=80, Resulting Numbers: [80] 80,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[50, 4, 25], Operations: ['7+18=25'] Exploring Operation: 50-4=46, Resulting Numbers: [25, 46] Generated Node #0,3,0: 83:[25, 46] Operation: 50-4=46 Exploring Operation: 4+25=29, Resulting Numbers: [50, 29] Generated Node #0,3,1: 83:[50, 29] Operation: 4+25=29 Exploring Operation: 50+4=54, Resulting Numbers: [25, 54] Generated Node #0,3,2: 83:[25, 54] Operation: 50+4=54 Exploring Operation: 50+25=75, Resulting Numbers: [4, 75] Generated Node #0,3,3: 83:[4, 75] Operation: 50+25=75 Exploring Operation: 4*25=100, Resulting Numbers: [50, 100] Generated Node #0,3,4: 83:[50, 100] Operation: 4*25=100 Moving to Node #0,3,4 Current State: 83:[50, 100], Operations: ['7+18=25', '4*25=100'] Exploring Operation: 50+100=150, Resulting Numbers: [150] 150,83 unequal: No Solution Exploring Operation: 50*100=5000, Resulting Numbers: [5000] 5000,83 unequal: No Solution Exploring Operation: 100/50=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 100-50=50, Resulting Numbers: [50] 50,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[25, 54], Operations: ['7+18=25', '50+4=54'] Exploring Operation: 25*54=1350, Resulting Numbers: [1350] 1350,83 unequal: No Solution Exploring Operation: 25+54=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[50, 29], Operations: ['7+18=25', '4+25=29'] Exploring Operation: 50*29=1450, Resulting Numbers: [1450] 1450,83 unequal: No Solution Exploring Operation: 50-29=21, Resulting Numbers: [21] 21,83 unequal: No Solution Exploring Operation: 50+29=79, Resulting Numbers: [79] 79,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[4, 75], Operations: ['7+18=25', '50+25=75'] Exploring Operation: 4*75=300, Resulting Numbers: [300] 300,83 unequal: No Solution Exploring Operation: 4+75=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[25, 46], Operations: ['7+18=25', '50-4=46'] Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,83 unequal: No Solution Exploring Operation: 25*46=1150, Resulting Numbers: [1150] 1150,83 unequal: No Solution Exploring Operation: 25+46=71, Resulting Numbers: [71] 71,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 83:[18, 4, 57], Operations: ['7+50=57'] Exploring Operation: 18+4=22, Resulting Numbers: [57, 22] Generated Node #0,4,0: 83:[57, 22] Operation: 18+4=22 Exploring Operation: 18-4=14, Resulting Numbers: [57, 14] Generated Node #0,4,1: 83:[57, 14] Operation: 18-4=14 Exploring Operation: 18+57=75, Resulting Numbers: [4, 75] Generated Node #0,4,2: 83:[4, 75] Operation: 18+57=75 Exploring Operation: 4+57=61, Resulting Numbers: [18, 61] Generated Node #0,4,3: 83:[18, 61] Operation: 4+57=61 Exploring Operation: 18*4=72, Resulting Numbers: [57, 72] Generated Node #0,4,4: 83:[57, 72] Operation: 18*4=72 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 83:[57, 72], Operations: ['7+50=57', '18*4=72'] Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,83 unequal: No Solution Exploring Operation: 57+72=129, Resulting Numbers: [129] 129,83 unequal: No Solution Exploring Operation: 57*72=4104, Resulting Numbers: [4104] 4104,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 83:[57, 22], Operations: ['7+50=57', '18+4=22'] Exploring Operation: 57*22=1254, Resulting Numbers: [1254] 1254,83 unequal: No Solution Exploring Operation: 57+22=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 83:[4, 75], Operations: ['7+50=57', '18+57=75'] Exploring Operation: 4+75=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 4*75=300, Resulting Numbers: [300] 300,83 unequal: No Solution Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 83:[18, 61], Operations: ['7+50=57', '4+57=61'] Exploring Operation: 18*61=1098, Resulting Numbers: [1098] 1098,83 unequal: No Solution Exploring Operation: 18+61=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 83:[57, 14], Operations: ['7+50=57', '18-4=14'] Exploring Operation: 57+14=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 57*14=798, Resulting Numbers: [798] 798,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 13, 11, 3, 86 ]
90
[ "13+3=16", "11*16=176", "176-86=90" ]
Current State: 90:[13, 11, 3, 86], Operations: [] Exploring Operation: 13+3=16, Resulting Numbers: [11, 86, 16] Generated Node #2: [11, 86, 16] from Operation: 13+3=16 Current State: 90:[11, 86, 16], Operations: ['13+3=16'] Exploring Operation: 11*16=176, Resulting Numbers: [86, 176] Generated Node #3: [86, 176] from Operation: 11*16=176 Current State: 90:[86, 176], Operations: ['13+3=16', '11*16=176'] Exploring Operation: 176-86=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[13, 11, 3, 86], Operations: [] Exploring Operation: 13-11=2, Resulting Numbers: [3, 86, 2] Generated Node #0,0: 90:[3, 86, 2] Operation: 13-11=2 Exploring Operation: 3+86=89, Resulting Numbers: [13, 11, 89] Generated Node #0,1: 90:[13, 11, 89] Operation: 3+86=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[3, 86, 2], Operations: ['13-11=2'] Exploring Operation: 3+86=89, Resulting Numbers: [2, 89] Generated Node #0,0,0: 90:[2, 89] Operation: 3+86=89 Exploring Operation: 86+2=88, Resulting Numbers: [3, 88] Generated Node #0,0,1: 90:[3, 88] Operation: 86+2=88 Moving to Node #0,0,0 Current State: 90:[2, 89], Operations: ['13-11=2', '3+86=89'] Exploring Operation: 2+89=91, Resulting Numbers: [91] 91,90 unequal: No Solution Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[3, 88], Operations: ['13-11=2', '86+2=88'] Exploring Operation: 3+88=91, Resulting Numbers: [91] 91,90 unequal: No Solution Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[13, 11, 89], Operations: ['3+86=89'] Exploring Operation: 13+11=24, Resulting Numbers: [89, 24] Generated Node #0,1,0: 90:[89, 24] Operation: 13+11=24 Exploring Operation: 13-11=2, Resulting Numbers: [89, 2] Generated Node #0,1,1: 90:[89, 2] Operation: 13-11=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 90:[89, 2], Operations: ['3+86=89', '13-11=2'] Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,90 unequal: No Solution Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,90 unequal: No Solution No 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: 90:[89, 24], Operations: ['3+86=89', '13+11=24'] Exploring Operation: 89-24=65, Resulting Numbers: [65] 65,90 unequal: No Solution Exploring Operation: 89+24=113, Resulting Numbers: [113] 113,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 81, 52, 40, 17 ]
28
[ "81-52=29", "40+17=57", "57-29=28" ]
Current State: 28:[81, 52, 40, 17], Operations: [] Exploring Operation: 81-52=29, Resulting Numbers: [40, 17, 29] Generated Node #2: [40, 17, 29] from Operation: 81-52=29 Current State: 28:[40, 17, 29], Operations: ['81-52=29'] Exploring Operation: 40+17=57, Resulting Numbers: [29, 57] Generated Node #3: [29, 57] from Operation: 40+17=57 Current State: 28:[29, 57], Operations: ['81-52=29', '40+17=57'] Exploring Operation: 57-29=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[81, 52, 40, 17], Operations: [] Exploring Operation: 81-40=41, Resulting Numbers: [52, 17, 41] Generated Node #0,0: 28:[52, 17, 41] Operation: 81-40=41 Exploring Operation: 81-52=29, Resulting Numbers: [40, 17, 29] Generated Node #0,1: 28:[40, 17, 29] Operation: 81-52=29 Exploring Operation: 52-40=12, Resulting Numbers: [81, 17, 12] Generated Node #0,2: 28:[81, 17, 12] Operation: 52-40=12 Moving to Node #0,1 Current State: 28:[40, 17, 29], Operations: ['81-52=29'] Exploring Operation: 40-17=23, Resulting Numbers: [29, 23] Generated Node #0,1,0: 28:[29, 23] Operation: 40-17=23 Exploring Operation: 40-29=11, Resulting Numbers: [17, 11] Generated Node #0,1,1: 28:[17, 11] Operation: 40-29=11 Exploring Operation: 29-17=12, Resulting Numbers: [40, 12] Generated Node #0,1,2: 28:[40, 12] Operation: 29-17=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[29, 23], Operations: ['81-52=29', '40-17=23'] Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,28 unequal: No Solution Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,28 unequal: No Solution No 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: 28:[17, 11], Operations: ['81-52=29', '40-29=11'] Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[81, 52, 40, 17], Operations: [] Exploring Operation: 81-52=29, Resulting Numbers: [40, 17, 29] Generated Node #0,1: 28:[40, 17, 29] Operation: 81-52=29 Moving to Node #0,1 Current State: 28:[40, 17, 29], Operations: ['81-52=29'] Exploring Operation: 40-29=11, Resulting Numbers: [17, 11] Generated Node #0,1,1: 28:[17, 11] Operation: 40-29=11 Moving to Node #0,1,1 Current State: 28:[17, 11], Operations: ['81-52=29', '40-29=11'] Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 86, 2, 43, 29 ]
30
[ "86/2=43", "43/43=1", "29+1=30" ]
Current State: 30:[86, 2, 43, 29], Operations: [] Exploring Operation: 86/2=43, Resulting Numbers: [43, 29, 43] Generated Node #2: [43, 29, 43] from Operation: 86/2=43 Current State: 30:[43, 29, 43], Operations: ['86/2=43'] Exploring Operation: 43/43=1, Resulting Numbers: [29, 1] Generated Node #3: [29, 1] from Operation: 43/43=1 Current State: 30:[29, 1], Operations: ['86/2=43', '43/43=1'] Exploring Operation: 29+1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[86, 2, 43, 29], Operations: [] Exploring Operation: 86/43=2, Resulting Numbers: [2, 29, 2] Generated Node #0,0: 30:[2, 29, 2] Operation: 86/43=2 Exploring Operation: 86-43=43, Resulting Numbers: [2, 29, 43] Generated Node #0,1: 30:[2, 29, 43] Operation: 86-43=43 Moving to Node #0,0 Current State: 30:[2, 29, 2], Operations: ['86/43=2'] Exploring Operation: 29+2=31, Resulting Numbers: [2, 31] Generated Node #0,0,0: 30:[2, 31] Operation: 29+2=31 Exploring Operation: 2+29=31, Resulting Numbers: [2, 31] Generated Node #0,0,1: 30:[2, 31] Operation: 2+29=31 Moving to Node #0,1 Current State: 30:[2, 29, 43], Operations: ['86-43=43'] Exploring Operation: 43-2=41, Resulting Numbers: [29, 41] Generated Node #0,1,0: 30:[29, 41] Operation: 43-2=41 Exploring Operation: 43-29=14, Resulting Numbers: [2, 14] Generated Node #0,1,1: 30:[2, 14] Operation: 43-29=14 Moving to Node #0,0,0 Current State: 30:[2, 31], Operations: ['86/43=2', '29+2=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,30 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[2, 14], Operations: ['86-43=43', '43-29=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[2, 31], Operations: ['86/43=2', '2+29=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,30 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[29, 41], Operations: ['86-43=43', '43-2=41'] Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 29+41=70, Resulting Numbers: [70] 70,30 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 66, 36, 54, 30 ]
65
[ "36-30=6", "66/6=11", "54+11=65" ]
Current State: 65:[66, 36, 54, 30], Operations: [] Exploring Operation: 36-30=6, Resulting Numbers: [66, 54, 6] Generated Node #2: [66, 54, 6] from Operation: 36-30=6 Current State: 65:[66, 54, 6], Operations: ['36-30=6'] Exploring Operation: 66/6=11, Resulting Numbers: [54, 11] Generated Node #3: [54, 11] from Operation: 66/6=11 Current State: 65:[54, 11], Operations: ['36-30=6', '66/6=11'] Exploring Operation: 54+11=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[66, 36, 54, 30], Operations: [] Exploring Operation: 36+30=66, Resulting Numbers: [66, 54, 66] Generated Node #0,0: 65:[66, 54, 66] Operation: 36+30=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[66, 54, 66], Operations: ['36+30=66'] Exploring Operation: 66-54=12, Resulting Numbers: [66, 12] Generated Node #0,0,0: 65:[66, 12] Operation: 66-54=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[66, 12], Operations: ['36+30=66', '66-54=12'] Exploring Operation: 66-12=54, Resulting Numbers: [54] 54,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 41, 97, 74, 38 ]
69
[ "41-38=3", "97-74=23", "3*23=69" ]
Current State: 69:[41, 97, 74, 38], Operations: [] Exploring Operation: 41-38=3, Resulting Numbers: [97, 74, 3] Generated Node #2: [97, 74, 3] from Operation: 41-38=3 Current State: 69:[97, 74, 3], Operations: ['41-38=3'] Exploring Operation: 97-74=23, Resulting Numbers: [3, 23] Generated Node #3: [3, 23] from Operation: 97-74=23 Current State: 69:[3, 23], Operations: ['41-38=3', '97-74=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[41, 97, 74, 38], Operations: [] Exploring Operation: 41-38=3, Resulting Numbers: [97, 74, 3] Generated Node #0,0: 69:[97, 74, 3] Operation: 41-38=3 Exploring Operation: 97-74=23, Resulting Numbers: [41, 38, 23] Generated Node #0,1: 69:[41, 38, 23] Operation: 97-74=23 Exploring Operation: 97-41=56, Resulting Numbers: [74, 38, 56] Generated Node #0,2: 69:[74, 38, 56] Operation: 97-41=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[97, 74, 3], Operations: ['41-38=3'] Exploring Operation: 74-3=71, Resulting Numbers: [97, 71] Generated Node #0,0,0: 69:[97, 71] Operation: 74-3=71 Exploring Operation: 97-74=23, Resulting Numbers: [3, 23] Generated Node #0,0,1: 69:[3, 23] Operation: 97-74=23 Exploring Operation: 97-3=94, Resulting Numbers: [74, 94] Generated Node #0,0,2: 69:[74, 94] Operation: 97-3=94 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[3, 23], Operations: ['41-38=3', '97-74=23'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[41, 97, 74, 38], Operations: [] Exploring Operation: 41-38=3, Resulting Numbers: [97, 74, 3] Generated Node #0,0: 69:[97, 74, 3] Operation: 41-38=3 Moving to Node #0,0 Current State: 69:[97, 74, 3], Operations: ['41-38=3'] Exploring Operation: 97-74=23, Resulting Numbers: [3, 23] Generated Node #0,0,1: 69:[3, 23] Operation: 97-74=23 Moving to Node #0,0,1 Current State: 69:[3, 23], Operations: ['41-38=3', '97-74=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 58, 47, 42, 37 ]
56
[ "47+37=84", "84/42=2", "58-2=56" ]
Current State: 56:[58, 47, 42, 37], Operations: [] Exploring Operation: 47+37=84, Resulting Numbers: [58, 42, 84] Generated Node #2: [58, 42, 84] from Operation: 47+37=84 Current State: 56:[58, 42, 84], Operations: ['47+37=84'] Exploring Operation: 84/42=2, Resulting Numbers: [58, 2] Generated Node #3: [58, 2] from Operation: 84/42=2 Current State: 56:[58, 2], Operations: ['47+37=84', '84/42=2'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[58, 47, 42, 37], Operations: [] Exploring Operation: 47-42=5, Resulting Numbers: [58, 37, 5] Generated Node #0,0: 56:[58, 37, 5] Operation: 47-42=5 Exploring Operation: 58-42=16, Resulting Numbers: [47, 37, 16] Generated Node #0,1: 56:[47, 37, 16] Operation: 58-42=16 Exploring Operation: 47-37=10, Resulting Numbers: [58, 42, 10] Generated Node #0,2: 56:[58, 42, 10] Operation: 47-37=10 Exploring Operation: 42-37=5, Resulting Numbers: [58, 47, 5] Generated Node #0,3: 56:[58, 47, 5] Operation: 42-37=5 Moving to Node #0,0 Current State: 56:[58, 37, 5], Operations: ['47-42=5'] Exploring Operation: 58-37=21, Resulting Numbers: [5, 21] Generated Node #0,0,0: 56:[5, 21] Operation: 58-37=21 Exploring Operation: 58+5=63, Resulting Numbers: [37, 63] Generated Node #0,0,1: 56:[37, 63] Operation: 58+5=63 Exploring Operation: 58-5=53, Resulting Numbers: [37, 53] Generated Node #0,0,2: 56:[37, 53] Operation: 58-5=53 Exploring Operation: 37-5=32, Resulting Numbers: [58, 32] Generated Node #0,0,3: 56:[58, 32] Operation: 37-5=32 Moving to Node #0,3 Current State: 56:[58, 47, 5], Operations: ['42-37=5'] Exploring Operation: 58-47=11, Resulting Numbers: [5, 11] Generated Node #0,3,0: 56:[5, 11] Operation: 58-47=11 Exploring Operation: 58+5=63, Resulting Numbers: [47, 63] Generated Node #0,3,1: 56:[47, 63] Operation: 58+5=63 Exploring Operation: 47+5=52, Resulting Numbers: [58, 52] Generated Node #0,3,2: 56:[58, 52] Operation: 47+5=52 Exploring Operation: 58-5=53, Resulting Numbers: [47, 53] Generated Node #0,3,3: 56:[47, 53] Operation: 58-5=53 Moving to Node #0,2 Current State: 56:[58, 42, 10], Operations: ['47-37=10'] Exploring Operation: 58-42=16, Resulting Numbers: [10, 16] Generated Node #0,2,0: 56:[10, 16] Operation: 58-42=16 Exploring Operation: 42-10=32, Resulting Numbers: [58, 32] Generated Node #0,2,1: 56:[58, 32] Operation: 42-10=32 Exploring Operation: 58-10=48, Resulting Numbers: [42, 48] Generated Node #0,2,2: 56:[42, 48] Operation: 58-10=48 Exploring Operation: 42+10=52, Resulting Numbers: [58, 52] Generated Node #0,2,3: 56:[58, 52] Operation: 42+10=52 Moving to Node #0,1 Current State: 56:[47, 37, 16], Operations: ['58-42=16'] Exploring Operation: 37+16=53, Resulting Numbers: [47, 53] Generated Node #0,1,0: 56:[47, 53] Operation: 37+16=53 Exploring Operation: 47-37=10, Resulting Numbers: [16, 10] Generated Node #0,1,1: 56:[16, 10] Operation: 47-37=10 Exploring Operation: 47-16=31, Resulting Numbers: [37, 31] Generated Node #0,1,2: 56:[37, 31] Operation: 47-16=31 Exploring Operation: 47+16=63, Resulting Numbers: [37, 63] Generated Node #0,1,3: 56:[37, 63] Operation: 47+16=63 Moving to Node #0,3,0 Current State: 56:[5, 11], Operations: ['42-37=5', '58-47=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[16, 10], Operations: ['58-42=16', '47-37=10'] Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,56 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[10, 16], Operations: ['47-37=10', '58-42=16'] Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,56 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,56 unequal: No Solution Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,56 unequal: No Solution Moving to Node #0,3,2 Current State: 56:[58, 52], Operations: ['42-37=5', '47+5=52'] Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,56 unequal: No Solution Exploring Operation: 58*52=3016, Resulting Numbers: [3016] 3016,56 unequal: No Solution Exploring Operation: 58+52=110, Resulting Numbers: [110] 110,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[58, 32], Operations: ['47-37=10', '42-10=32'] Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,56 unequal: No Solution Exploring Operation: 58*32=1856, Resulting Numbers: [1856] 1856,56 unequal: No Solution Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[58, 52], Operations: ['47-37=10', '42+10=52'] Exploring Operation: 58+52=110, Resulting Numbers: [110] 110,56 unequal: No Solution Exploring Operation: 58*52=3016, Resulting Numbers: [3016] 3016,56 unequal: No Solution Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,56 unequal: No Solution Moving to Node #0,0,3 Current State: 56:[58, 32], Operations: ['47-42=5', '37-5=32'] Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,56 unequal: No Solution Exploring Operation: 58*32=1856, Resulting Numbers: [1856] 1856,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[5, 21], Operations: ['47-42=5', '58-37=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,56 unequal: No Solution Moving to Node #0,3,3 Current State: 56:[47, 53], Operations: ['42-37=5', '58-5=53'] Exploring Operation: 47*53=2491, Resulting Numbers: [2491] 2491,56 unequal: No Solution Exploring Operation: 47+53=100, Resulting Numbers: [100] 100,56 unequal: No Solution Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[47, 53], Operations: ['58-42=16', '37+16=53'] Exploring Operation: 47+53=100, Resulting Numbers: [100] 100,56 unequal: No Solution Exploring Operation: 47*53=2491, Resulting Numbers: [2491] 2491,56 unequal: No Solution Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[37, 53], Operations: ['47-42=5', '58-5=53'] Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 37*53=1961, Resulting Numbers: [1961] 1961,56 unequal: No Solution Exploring Operation: 37+53=90, Resulting Numbers: [90] 90,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[37, 31], Operations: ['58-42=16', '47-16=31'] Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,56 unequal: No Solution Exploring Operation: 37+31=68, Resulting Numbers: [68] 68,56 unequal: No Solution Exploring Operation: 37*31=1147, Resulting Numbers: [1147] 1147,56 unequal: No Solution Moving to Node #0,3,1 Current State: 56:[47, 63], Operations: ['42-37=5', '58+5=63'] Exploring Operation: 47+63=110, Resulting Numbers: [110] 110,56 unequal: No Solution Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 47*63=2961, Resulting Numbers: [2961] 2961,56 unequal: No Solution Moving to Node #0,1,3 Current State: 56:[37, 63], Operations: ['58-42=16', '47+16=63'] Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 37+63=100, Resulting Numbers: [100] 100,56 unequal: No Solution Exploring Operation: 37*63=2331, Resulting Numbers: [2331] 2331,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[37, 63], Operations: ['47-42=5', '58+5=63'] Exploring Operation: 37*63=2331, Resulting Numbers: [2331] 2331,56 unequal: No Solution Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 37+63=100, Resulting Numbers: [100] 100,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[42, 48], Operations: ['47-37=10', '58-10=48'] Exploring Operation: 42+48=90, Resulting Numbers: [90] 90,56 unequal: No Solution Exploring Operation: 42*48=2016, Resulting Numbers: [2016] 2016,56 unequal: No Solution Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,56 unequal: No Solution No solution found.
0
hs_4
sum_heuristic