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
[ 95, 80, 18, 82 ]
49
[ "95-80=15", "82-18=64", "64-15=49" ]
Current State: 49:[95, 80, 18, 82], Operations: [] Exploring Operation: 95-80=15, Resulting Numbers: [18, 82, 15] Generated Node #2: [18, 82, 15] from Operation: 95-80=15 Current State: 49:[18, 82, 15], Operations: ['95-80=15'] Exploring Operation: 82-18=64, Resulting Numbers: [15, 64] Generated Node #3: [15, 64] from Operation: 82-18=64 Current State: 49:[15, 64], Operations: ['95-80=15', '82-18=64'] Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[95, 80, 18, 82], Operations: [] Exploring Operation: 95-82=13, Resulting Numbers: [80, 18, 13] Generated Node #0,0: 49:[80, 18, 13] Operation: 95-82=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[80, 18, 13], Operations: ['95-82=13'] Exploring Operation: 80-18=62, Resulting Numbers: [13, 62] Generated Node #0,0,0: 49:[13, 62] Operation: 80-18=62 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[13, 62], Operations: ['95-82=13', '80-18=62'] Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[95, 80, 18, 82], Operations: [] Exploring Operation: 95-82=13, Resulting Numbers: [80, 18, 13] Generated Node #0,0: 49:[80, 18, 13] Operation: 95-82=13 Moving to Node #0,0 Current State: 49:[80, 18, 13], Operations: ['95-82=13'] Exploring Operation: 80-18=62, Resulting Numbers: [13, 62] Generated Node #0,0,0: 49:[13, 62] Operation: 80-18=62 Moving to Node #0,0,0 Current State: 49:[13, 62], Operations: ['95-82=13', '80-18=62'] Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 88, 34, 94, 75 ]
35
[ "88-34=54", "94-75=19", "54-19=35" ]
Current State: 35:[88, 34, 94, 75], Operations: [] Exploring Operation: 88-34=54, Resulting Numbers: [94, 75, 54] Generated Node #2: [94, 75, 54] from Operation: 88-34=54 Current State: 35:[94, 75, 54], Operations: ['88-34=54'] Exploring Operation: 94-75=19, Resulting Numbers: [54, 19] Generated Node #3: [54, 19] from Operation: 94-75=19 Current State: 35:[54, 19], Operations: ['88-34=54', '94-75=19'] Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[88, 34, 94, 75], Operations: [] Exploring Operation: 94-88=6, Resulting Numbers: [34, 75, 6] Generated Node #0,0: 35:[34, 75, 6] Operation: 94-88=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[34, 75, 6], Operations: ['94-88=6'] Exploring Operation: 75-34=41, Resulting Numbers: [6, 41] Generated Node #0,0,0: 35:[6, 41] Operation: 75-34=41 Moving to Node #0,0,0 Current State: 35:[6, 41], Operations: ['94-88=6', '75-34=41'] Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[88, 34, 94, 75], Operations: [] Exploring Operation: 94-88=6, Resulting Numbers: [34, 75, 6] Generated Node #0,0: 35:[34, 75, 6] Operation: 94-88=6 Moving to Node #0,0 Current State: 35:[34, 75, 6], Operations: ['94-88=6'] Exploring Operation: 75-34=41, Resulting Numbers: [6, 41] Generated Node #0,0,0: 35:[6, 41] Operation: 75-34=41 Moving to Node #0,0,0 Current State: 35:[6, 41], Operations: ['94-88=6', '75-34=41'] Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 39, 33, 74, 61 ]
99
[ "39*33=1287", "74-61=13", "1287/13=99" ]
Current State: 99:[39, 33, 74, 61], Operations: [] Exploring Operation: 39*33=1287, Resulting Numbers: [74, 61, 1287] Generated Node #2: [74, 61, 1287] from Operation: 39*33=1287 Current State: 99:[74, 61, 1287], Operations: ['39*33=1287'] Exploring Operation: 74-61=13, Resulting Numbers: [1287, 13] Generated Node #3: [1287, 13] from Operation: 74-61=13 Current State: 99:[1287, 13], Operations: ['39*33=1287', '74-61=13'] Exploring Operation: 1287/13=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[39, 33, 74, 61], Operations: [] Exploring Operation: 74-61=13, Resulting Numbers: [39, 33, 13] Generated Node #0,0: 99:[39, 33, 13] Operation: 74-61=13 Exploring Operation: 39+61=100, Resulting Numbers: [33, 74, 100] Generated Node #0,1: 99:[33, 74, 100] Operation: 39+61=100 Moving to Node #0,0 Current State: 99:[39, 33, 13], Operations: ['74-61=13'] Exploring Operation: 39/13=3, Resulting Numbers: [33, 3] Generated Node #0,0,0: 99:[33, 3] Operation: 39/13=3 Exploring Operation: 39-33=6, Resulting Numbers: [13, 6] Generated Node #0,0,1: 99:[13, 6] Operation: 39-33=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[33, 3], Operations: ['74-61=13', '39/13=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[39, 33, 74, 61], Operations: [] Exploring Operation: 74-61=13, Resulting Numbers: [39, 33, 13] Generated Node #0,0: 99:[39, 33, 13] Operation: 74-61=13 Moving to Node #0,0 Current State: 99:[39, 33, 13], Operations: ['74-61=13'] Exploring Operation: 39/13=3, Resulting Numbers: [33, 3] Generated Node #0,0,0: 99:[33, 3] Operation: 39/13=3 Moving to Node #0,0,0 Current State: 99:[33, 3], Operations: ['74-61=13', '39/13=3'] Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 98, 97, 20, 75 ]
49
[ "97-20=77", "77-75=2", "98/2=49" ]
Current State: 49:[98, 97, 20, 75], Operations: [] Exploring Operation: 97-20=77, Resulting Numbers: [98, 75, 77] Generated Node #2: [98, 75, 77] from Operation: 97-20=77 Current State: 49:[98, 75, 77], Operations: ['97-20=77'] Exploring Operation: 77-75=2, Resulting Numbers: [98, 2] Generated Node #3: [98, 2] from Operation: 77-75=2 Current State: 49:[98, 2], Operations: ['97-20=77', '77-75=2'] Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[98, 97, 20, 75], Operations: [] Exploring Operation: 98-97=1, Resulting Numbers: [20, 75, 1] Generated Node #0,0: 49:[20, 75, 1] Operation: 98-97=1 Exploring Operation: 97-75=22, Resulting Numbers: [98, 20, 22] Generated Node #0,1: 49:[98, 20, 22] Operation: 97-75=22 Exploring Operation: 98-20=78, Resulting Numbers: [97, 75, 78] Generated Node #0,2: 49:[97, 75, 78] Operation: 98-20=78 Exploring Operation: 98-75=23, Resulting Numbers: [97, 20, 23] Generated Node #0,3: 49:[97, 20, 23] Operation: 98-75=23 Moving to Node #0,0 Current State: 49:[20, 75, 1], Operations: ['98-97=1'] Exploring Operation: 20*1=20, Resulting Numbers: [75, 20] Generated Node #0,0,0: 49:[75, 20] Operation: 20*1=20 Exploring Operation: 20-1=19, Resulting Numbers: [75, 19] Generated Node #0,0,1: 49:[75, 19] Operation: 20-1=19 Exploring Operation: 75-1=74, Resulting Numbers: [20, 74] Generated Node #0,0,2: 49:[20, 74] Operation: 75-1=74 Exploring Operation: 75-20=55, Resulting Numbers: [1, 55] Generated Node #0,0,3: 49:[1, 55] Operation: 75-20=55 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 49:[1, 55], Operations: ['98-97=1', '75-20=55'] Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 1*55=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 1+55=56, Resulting Numbers: [56] 56,49 unequal: No Solution Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[75, 19], Operations: ['98-97=1', '20-1=19'] Exploring Operation: 75*19=1425, Resulting Numbers: [1425] 1425,49 unequal: No Solution Exploring Operation: 75-19=56, Resulting Numbers: [56] 56,49 unequal: No Solution Exploring Operation: 75+19=94, Resulting Numbers: [94] 94,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 49:[20, 74], Operations: ['98-97=1', '75-1=74'] Exploring Operation: 74-20=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 20+74=94, Resulting Numbers: [94] 94,49 unequal: No Solution Exploring Operation: 20*74=1480, Resulting Numbers: [1480] 1480,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[75, 20], Operations: ['98-97=1', '20*1=20'] Exploring Operation: 75+20=95, Resulting Numbers: [95] 95,49 unequal: No Solution Exploring Operation: 75*20=1500, Resulting Numbers: [1500] 1500,49 unequal: No Solution Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,49 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: 49:[97, 20, 23], Operations: ['98-75=23'] Exploring Operation: 23-20=3, Resulting Numbers: [97, 3] Generated Node #0,3,0: 49:[97, 3] Operation: 23-20=3 Exploring Operation: 97-20=77, Resulting Numbers: [23, 77] Generated Node #0,3,1: 49:[23, 77] Operation: 97-20=77 Exploring Operation: 97-23=74, Resulting Numbers: [20, 74] Generated Node #0,3,2: 49:[20, 74] Operation: 97-23=74 Exploring Operation: 20+23=43, Resulting Numbers: [97, 43] Generated Node #0,3,3: 49:[97, 43] Operation: 20+23=43 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 49:[20, 74], Operations: ['98-75=23', '97-23=74'] Exploring Operation: 20*74=1480, Resulting Numbers: [1480] 1480,49 unequal: No Solution Exploring Operation: 20+74=94, Resulting Numbers: [94] 94,49 unequal: No Solution Exploring Operation: 74-20=54, Resulting Numbers: [54] 54,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,3,1 Current State: 49:[23, 77], Operations: ['98-75=23', '97-20=77'] Exploring Operation: 23*77=1771, Resulting Numbers: [1771] 1771,49 unequal: No Solution Exploring Operation: 23+77=100, Resulting Numbers: [100] 100,49 unequal: No Solution Exploring Operation: 77-23=54, Resulting Numbers: [54] 54,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,3,0 Current State: 49:[97, 3], Operations: ['98-75=23', '23-20=3'] Exploring Operation: 97*3=291, Resulting Numbers: [291] 291,49 unequal: No Solution Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,49 unequal: No Solution Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,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,3,3 Current State: 49:[97, 43], Operations: ['98-75=23', '20+23=43'] Exploring Operation: 97*43=4171, Resulting Numbers: [4171] 4171,49 unequal: No Solution Exploring Operation: 97+43=140, Resulting Numbers: [140] 140,49 unequal: No Solution Exploring Operation: 97-43=54, Resulting Numbers: [54] 54,49 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: 49:[98, 20, 22], Operations: ['97-75=22'] Exploring Operation: 98-22=76, Resulting Numbers: [20, 76] Generated Node #0,1,0: 49:[20, 76] Operation: 98-22=76 Exploring Operation: 20+22=42, Resulting Numbers: [98, 42] Generated Node #0,1,1: 49:[98, 42] Operation: 20+22=42 Exploring Operation: 22-20=2, Resulting Numbers: [98, 2] Generated Node #0,1,2: 49:[98, 2] Operation: 22-20=2 Exploring Operation: 98-20=78, Resulting Numbers: [22, 78] Generated Node #0,1,3: 49:[22, 78] Operation: 98-20=78 Moving to Node #0,2 Current State: 49:[97, 75, 78], Operations: ['98-20=78'] Exploring Operation: 78-75=3, Resulting Numbers: [97, 3] Generated Node #0,2,0: 49:[97, 3] Operation: 78-75=3 Exploring Operation: 97-75=22, Resulting Numbers: [78, 22] Generated Node #0,2,1: 49:[78, 22] Operation: 97-75=22 Exploring Operation: 97-78=19, Resulting Numbers: [75, 19] Generated Node #0,2,2: 49:[75, 19] Operation: 97-78=19 Exploring Operation: 97+75=172, Resulting Numbers: [78, 172] Generated Node #0,2,3: 49:[78, 172] Operation: 97+75=172 Moving to Node #0,2,2 Current State: 49:[75, 19], Operations: ['98-20=78', '97-78=19'] Exploring Operation: 75-19=56, Resulting Numbers: [56] 56,49 unequal: No Solution Exploring Operation: 75*19=1425, Resulting Numbers: [1425] 1425,49 unequal: No Solution Exploring Operation: 75+19=94, Resulting Numbers: [94] 94,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[20, 76], Operations: ['97-75=22', '98-22=76'] Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,49 unequal: No Solution Exploring Operation: 20+76=96, Resulting Numbers: [96] 96,49 unequal: No Solution Exploring Operation: 20*76=1520, Resulting Numbers: [1520] 1520,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[78, 22], Operations: ['98-20=78', '97-75=22'] Exploring Operation: 78+22=100, Resulting Numbers: [100] 100,49 unequal: No Solution Exploring Operation: 78*22=1716, Resulting Numbers: [1716] 1716,49 unequal: No Solution Exploring Operation: 78-22=56, Resulting Numbers: [56] 56,49 unequal: No Solution Moving to Node #0,1,3 Current State: 49:[22, 78], Operations: ['97-75=22', '98-20=78'] Exploring Operation: 22*78=1716, Resulting Numbers: [1716] 1716,49 unequal: No Solution Exploring Operation: 78-22=56, Resulting Numbers: [56] 56,49 unequal: No Solution Exploring Operation: 22+78=100, Resulting Numbers: [100] 100,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[97, 3], Operations: ['98-20=78', '78-75=3'] Exploring Operation: 97*3=291, Resulting Numbers: [291] 291,49 unequal: No Solution Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,49 unequal: No Solution Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[98, 2], Operations: ['97-75=22', '22-20=2'] Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,49 unequal: No Solution Exploring Operation: 98*2=196, Resulting Numbers: [196] 196,49 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,49 unequal: No Solution Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[98, 97, 20, 75], Operations: [] Exploring Operation: 97-75=22, Resulting Numbers: [98, 20, 22] Generated Node #0,1: 49:[98, 20, 22] Operation: 97-75=22 Moving to Node #0,1 Current State: 49:[98, 20, 22], Operations: ['97-75=22'] Exploring Operation: 22-20=2, Resulting Numbers: [98, 2] Generated Node #0,1,2: 49:[98, 2] Operation: 22-20=2 Moving to Node #0,1,2 Current State: 49:[98, 2], Operations: ['97-75=22', '22-20=2'] Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.940972
hs_4
sum_heuristic
[ 23, 96, 7, 59 ]
11
[ "96*7=672", "672-23=649", "649/59=11" ]
Current State: 11:[23, 96, 7, 59], Operations: [] Exploring Operation: 96*7=672, Resulting Numbers: [23, 59, 672] Generated Node #2: [23, 59, 672] from Operation: 96*7=672 Current State: 11:[23, 59, 672], Operations: ['96*7=672'] Exploring Operation: 672-23=649, Resulting Numbers: [59, 649] Generated Node #3: [59, 649] from Operation: 672-23=649 Current State: 11:[59, 649], Operations: ['96*7=672', '672-23=649'] Exploring Operation: 649/59=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[23, 96, 7, 59], Operations: [] Exploring Operation: 23-7=16, Resulting Numbers: [96, 59, 16] Generated Node #0,0: 11:[96, 59, 16] Operation: 23-7=16 Exploring Operation: 96-7=89, Resulting Numbers: [23, 59, 89] Generated Node #0,1: 11:[23, 59, 89] Operation: 96-7=89 Exploring Operation: 96-59=37, Resulting Numbers: [23, 7, 37] Generated Node #0,2: 11:[23, 7, 37] Operation: 96-59=37 Exploring Operation: 96-23=73, Resulting Numbers: [7, 59, 73] Generated Node #0,3: 11:[7, 59, 73] Operation: 96-23=73 Exploring Operation: 59-23=36, Resulting Numbers: [96, 7, 36] Generated Node #0,4: 11:[96, 7, 36] Operation: 59-23=36 Moving to Node #0,2 Current State: 11:[23, 7, 37], Operations: ['96-59=37'] Exploring Operation: 37-7=30, Resulting Numbers: [23, 30] Generated Node #0,2,0: 11:[23, 30] Operation: 37-7=30 Exploring Operation: 23+7=30, Resulting Numbers: [37, 30] Generated Node #0,2,1: 11:[37, 30] Operation: 23+7=30 Exploring Operation: 7+37=44, Resulting Numbers: [23, 44] Generated Node #0,2,2: 11:[23, 44] Operation: 7+37=44 Exploring Operation: 23-7=16, Resulting Numbers: [37, 16] Generated Node #0,2,3: 11:[37, 16] Operation: 23-7=16 Exploring Operation: 37-23=14, Resulting Numbers: [7, 14] Generated Node #0,2,4: 11:[7, 14] Operation: 37-23=14 Moving to Node #0,4 Current State: 11:[96, 7, 36], Operations: ['59-23=36'] Exploring Operation: 96+7=103, Resulting Numbers: [36, 103] Generated Node #0,4,0: 11:[36, 103] Operation: 96+7=103 Exploring Operation: 96-36=60, Resulting Numbers: [7, 60] Generated Node #0,4,1: 11:[7, 60] Operation: 96-36=60 Exploring Operation: 36-7=29, Resulting Numbers: [96, 29] Generated Node #0,4,2: 11:[96, 29] Operation: 36-7=29 Exploring Operation: 7+36=43, Resulting Numbers: [96, 43] Generated Node #0,4,3: 11:[96, 43] Operation: 7+36=43 Exploring Operation: 96-7=89, Resulting Numbers: [36, 89] Generated Node #0,4,4: 11:[36, 89] Operation: 96-7=89 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 11:[7, 60], Operations: ['59-23=36', '96-36=60'] Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 7*60=420, Resulting Numbers: [420] 420,11 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,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,4,2 Current State: 11:[96, 29], Operations: ['59-23=36', '36-7=29'] Exploring Operation: 96*29=2784, Resulting Numbers: [2784] 2784,11 unequal: No Solution Exploring Operation: 96-29=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 96+29=125, Resulting Numbers: [125] 125,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,4,4 Current State: 11:[36, 89], Operations: ['59-23=36', '96-7=89'] Exploring Operation: 36*89=3204, Resulting Numbers: [3204] 3204,11 unequal: No Solution Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 36+89=125, Resulting Numbers: [125] 125,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,4,0 Current State: 11:[36, 103], Operations: ['59-23=36', '96+7=103'] Exploring Operation: 36+103=139, Resulting Numbers: [139] 139,11 unequal: No Solution Exploring Operation: 103-36=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 36*103=3708, Resulting Numbers: [3708] 3708,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,4,3 Current State: 11:[96, 43], Operations: ['59-23=36', '7+36=43'] Exploring Operation: 96-43=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 96*43=4128, Resulting Numbers: [4128] 4128,11 unequal: No Solution Exploring Operation: 96+43=139, Resulting Numbers: [139] 139,11 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: 11:[7, 59, 73], Operations: ['96-23=73'] Exploring Operation: 7+73=80, Resulting Numbers: [59, 80] Generated Node #0,3,0: 11:[59, 80] Operation: 7+73=80 Exploring Operation: 73-59=14, Resulting Numbers: [7, 14] Generated Node #0,3,1: 11:[7, 14] Operation: 73-59=14 Exploring Operation: 59-7=52, Resulting Numbers: [73, 52] Generated Node #0,3,2: 11:[73, 52] Operation: 59-7=52 Exploring Operation: 7+59=66, Resulting Numbers: [73, 66] Generated Node #0,3,3: 11:[73, 66] Operation: 7+59=66 Exploring Operation: 73-7=66, Resulting Numbers: [59, 66] Generated Node #0,3,4: 11:[59, 66] Operation: 73-7=66 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 11:[7, 14], Operations: ['96-23=73', '73-59=14'] Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 11:[73, 52], Operations: ['96-23=73', '59-7=52'] Exploring Operation: 73+52=125, Resulting Numbers: [125] 125,11 unequal: No Solution Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,11 unequal: No Solution Exploring Operation: 73*52=3796, Resulting Numbers: [3796] 3796,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 11:[59, 66], Operations: ['96-23=73', '73-7=66'] Exploring Operation: 66-59=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 59*66=3894, Resulting Numbers: [3894] 3894,11 unequal: No Solution Exploring Operation: 59+66=125, Resulting Numbers: [125] 125,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[59, 80], Operations: ['96-23=73', '7+73=80'] Exploring Operation: 80-59=21, Resulting Numbers: [21] 21,11 unequal: No Solution Exploring Operation: 59*80=4720, Resulting Numbers: [4720] 4720,11 unequal: No Solution Exploring Operation: 59+80=139, Resulting Numbers: [139] 139,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 11:[73, 66], Operations: ['96-23=73', '7+59=66'] Exploring Operation: 73-66=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 73*66=4818, Resulting Numbers: [4818] 4818,11 unequal: No Solution Exploring Operation: 73+66=139, Resulting Numbers: [139] 139,11 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: 11:[96, 59, 16], Operations: ['23-7=16'] Exploring Operation: 96+59=155, Resulting Numbers: [16, 155] Generated Node #0,0,0: 11:[16, 155] Operation: 96+59=155 Exploring Operation: 96-59=37, Resulting Numbers: [16, 37] Generated Node #0,0,1: 11:[16, 37] Operation: 96-59=37 Exploring Operation: 59-16=43, Resulting Numbers: [96, 43] Generated Node #0,0,2: 11:[96, 43] Operation: 59-16=43 Exploring Operation: 96-16=80, Resulting Numbers: [59, 80] Generated Node #0,0,3: 11:[59, 80] Operation: 96-16=80 Exploring Operation: 96/16=6, Resulting Numbers: [59, 6] Generated Node #0,0,4: 11:[59, 6] Operation: 96/16=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[16, 37], Operations: ['23-7=16', '96-59=37'] Exploring Operation: 16*37=592, Resulting Numbers: [592] 592,11 unequal: No Solution Exploring Operation: 16+37=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,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,4 Current State: 11:[59, 6], Operations: ['23-7=16', '96/16=6'] Exploring Operation: 59*6=354, Resulting Numbers: [354] 354,11 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,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,2 Current State: 11:[96, 43], Operations: ['23-7=16', '59-16=43'] Exploring Operation: 96-43=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 96+43=139, Resulting Numbers: [139] 139,11 unequal: No Solution Exploring Operation: 96*43=4128, Resulting Numbers: [4128] 4128,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,3 Current State: 11:[59, 80], Operations: ['23-7=16', '96-16=80'] Exploring Operation: 59+80=139, Resulting Numbers: [139] 139,11 unequal: No Solution Exploring Operation: 80-59=21, Resulting Numbers: [21] 21,11 unequal: No Solution Exploring Operation: 59*80=4720, Resulting Numbers: [4720] 4720,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,0 Current State: 11:[16, 155], Operations: ['23-7=16', '96+59=155'] Exploring Operation: 16*155=2480, Resulting Numbers: [2480] 2480,11 unequal: No Solution Exploring Operation: 16+155=171, Resulting Numbers: [171] 171,11 unequal: No Solution Exploring Operation: 155-16=139, Resulting Numbers: [139] 139,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:[23, 59, 89], Operations: ['96-7=89'] Exploring Operation: 89-59=30, Resulting Numbers: [23, 30] Generated Node #0,1,0: 11:[23, 30] Operation: 89-59=30 Exploring Operation: 23+89=112, Resulting Numbers: [59, 112] Generated Node #0,1,1: 11:[59, 112] Operation: 23+89=112 Exploring Operation: 23+59=82, Resulting Numbers: [89, 82] Generated Node #0,1,2: 11:[89, 82] Operation: 23+59=82 Exploring Operation: 59-23=36, Resulting Numbers: [89, 36] Generated Node #0,1,3: 11:[89, 36] Operation: 59-23=36 Exploring Operation: 89-23=66, Resulting Numbers: [59, 66] Generated Node #0,1,4: 11:[59, 66] Operation: 89-23=66 Moving to Node #0,2,4 Current State: 11:[7, 14], Operations: ['96-59=37', '37-23=14'] Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,11 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,11 unequal: No Solution Moving to Node #0,2,3 Current State: 11:[37, 16], Operations: ['96-59=37', '23-7=16'] Exploring Operation: 37*16=592, Resulting Numbers: [592] 592,11 unequal: No Solution Exploring Operation: 37+16=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[23, 30], Operations: ['96-7=89', '89-59=30'] Exploring Operation: 23*30=690, Resulting Numbers: [690] 690,11 unequal: No Solution Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 23+30=53, Resulting Numbers: [53] 53,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[23, 30], Operations: ['96-59=37', '37-7=30'] Exploring Operation: 23+30=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 23*30=690, Resulting Numbers: [690] 690,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[23, 44], Operations: ['96-59=37', '7+37=44'] Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,11 unequal: No Solution Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[37, 30], Operations: ['96-59=37', '23+7=30'] Exploring Operation: 37*30=1110, Resulting Numbers: [1110] 1110,11 unequal: No Solution Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 37+30=67, Resulting Numbers: [67] 67,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[89, 36], Operations: ['96-7=89', '59-23=36'] Exploring Operation: 89*36=3204, Resulting Numbers: [3204] 3204,11 unequal: No Solution Exploring Operation: 89+36=125, Resulting Numbers: [125] 125,11 unequal: No Solution Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,11 unequal: No Solution Moving to Node #0,1,4 Current State: 11:[59, 66], Operations: ['96-7=89', '89-23=66'] Exploring Operation: 59*66=3894, Resulting Numbers: [3894] 3894,11 unequal: No Solution Exploring Operation: 66-59=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 59+66=125, Resulting Numbers: [125] 125,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[59, 112], Operations: ['96-7=89', '23+89=112'] Exploring Operation: 59+112=171, Resulting Numbers: [171] 171,11 unequal: No Solution Exploring Operation: 112-59=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 59*112=6608, Resulting Numbers: [6608] 6608,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[89, 82], Operations: ['96-7=89', '23+59=82'] Exploring Operation: 89+82=171, Resulting Numbers: [171] 171,11 unequal: No Solution Exploring Operation: 89-82=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 89*82=7298, Resulting Numbers: [7298] 7298,11 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 71, 79, 2, 39 ]
48
[ "71+39=110", "79*2=158", "158-110=48" ]
Current State: 48:[71, 79, 2, 39], Operations: [] Exploring Operation: 71+39=110, Resulting Numbers: [79, 2, 110] Generated Node #2: [79, 2, 110] from Operation: 71+39=110 Current State: 48:[79, 2, 110], Operations: ['71+39=110'] Exploring Operation: 79*2=158, Resulting Numbers: [110, 158] Generated Node #3: [110, 158] from Operation: 79*2=158 Current State: 48:[110, 158], Operations: ['71+39=110', '79*2=158'] Exploring Operation: 158-110=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[71, 79, 2, 39], Operations: [] Exploring Operation: 79-39=40, Resulting Numbers: [71, 2, 40] Generated Node #0,0: 48:[71, 2, 40] Operation: 79-39=40 Exploring Operation: 79-71=8, Resulting Numbers: [2, 39, 8] Generated Node #0,1: 48:[2, 39, 8] Operation: 79-71=8 Exploring Operation: 71-39=32, Resulting Numbers: [79, 2, 32] Generated Node #0,2: 48:[79, 2, 32] Operation: 71-39=32 Moving to Node #0,1 Current State: 48:[2, 39, 8], Operations: ['79-71=8'] Exploring Operation: 39-8=31, Resulting Numbers: [2, 31] Generated Node #0,1,0: 48:[2, 31] Operation: 39-8=31 Exploring Operation: 39+8=47, Resulting Numbers: [2, 47] Generated Node #0,1,1: 48:[2, 47] Operation: 39+8=47 Exploring Operation: 2+39=41, Resulting Numbers: [8, 41] Generated Node #0,1,2: 48:[8, 41] Operation: 2+39=41 Moving to Node #0,0 Current State: 48:[71, 2, 40], Operations: ['79-39=40'] Exploring Operation: 71-40=31, Resulting Numbers: [2, 31] Generated Node #0,0,0: 48:[2, 31] Operation: 71-40=31 Exploring Operation: 71-2=69, Resulting Numbers: [40, 69] Generated Node #0,0,1: 48:[40, 69] Operation: 71-2=69 Exploring Operation: 40/2=20, Resulting Numbers: [71, 20] Generated Node #0,0,2: 48:[71, 20] Operation: 40/2=20 Moving to Node #0,2 Current State: 48:[79, 2, 32], Operations: ['71-39=32'] Exploring Operation: 79-2=77, Resulting Numbers: [32, 77] Generated Node #0,2,0: 48:[32, 77] Operation: 79-2=77 Exploring Operation: 79-32=47, Resulting Numbers: [2, 47] Generated Node #0,2,1: 48:[2, 47] Operation: 79-32=47 Exploring Operation: 32/2=16, Resulting Numbers: [79, 16] Generated Node #0,2,2: 48:[79, 16] Operation: 32/2=16 Moving to Node #0,1,1 Current State: 48:[2, 47], Operations: ['79-71=8', '39+8=47'] Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,48 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[2, 47], Operations: ['71-39=32', '79-32=47'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,48 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[8, 41], Operations: ['79-71=8', '2+39=41'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 8*41=328, Resulting Numbers: [328] 328,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[2, 31], Operations: ['79-71=8', '39-8=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[2, 31], Operations: ['79-39=40', '71-40=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[71, 20], Operations: ['79-39=40', '40/2=20'] Exploring Operation: 71+20=91, Resulting Numbers: [91] 91,48 unequal: No Solution Exploring Operation: 71*20=1420, Resulting Numbers: [1420] 1420,48 unequal: No Solution Exploring Operation: 71-20=51, Resulting Numbers: [51] 51,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[40, 69], Operations: ['79-39=40', '71-2=69'] Exploring Operation: 40*69=2760, Resulting Numbers: [2760] 2760,48 unequal: No Solution Exploring Operation: 40+69=109, Resulting Numbers: [109] 109,48 unequal: No Solution Exploring Operation: 69-40=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[79, 16], Operations: ['71-39=32', '32/2=16'] Exploring Operation: 79+16=95, Resulting Numbers: [95] 95,48 unequal: No Solution Exploring Operation: 79-16=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 79*16=1264, Resulting Numbers: [1264] 1264,48 unequal: No Solution Moving to Node #0,2,0 Current State: 48:[32, 77], Operations: ['71-39=32', '79-2=77'] Exploring Operation: 32*77=2464, Resulting Numbers: [2464] 2464,48 unequal: No Solution Exploring Operation: 32+77=109, Resulting Numbers: [109] 109,48 unequal: No Solution Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,48 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 5, 77, 60, 44 ]
100
[ "77*60=4620", "4620/44=105", "105-5=100" ]
Current State: 100:[5, 77, 60, 44], Operations: [] Exploring Operation: 77*60=4620, Resulting Numbers: [5, 44, 4620] Generated Node #2: [5, 44, 4620] from Operation: 77*60=4620 Current State: 100:[5, 44, 4620], Operations: ['77*60=4620'] Exploring Operation: 4620/44=105, Resulting Numbers: [5, 105] Generated Node #3: [5, 105] from Operation: 4620/44=105 Current State: 100:[5, 105], Operations: ['77*60=4620', '4620/44=105'] Exploring Operation: 105-5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[5, 77, 60, 44], Operations: [] Exploring Operation: 77-60=17, Resulting Numbers: [5, 44, 17] Generated Node #0,0: 100:[5, 44, 17] Operation: 77-60=17 Exploring Operation: 77-44=33, Resulting Numbers: [5, 60, 33] Generated Node #0,1: 100:[5, 60, 33] Operation: 77-44=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[5, 44, 17], Operations: ['77-60=17'] Exploring Operation: 5+44=49, Resulting Numbers: [17, 49] Generated Node #0,0,0: 100:[17, 49] Operation: 5+44=49 Exploring Operation: 44-17=27, Resulting Numbers: [5, 27] Generated Node #0,0,1: 100:[5, 27] Operation: 44-17=27 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[5, 27], Operations: ['77-60=17', '44-17=27'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[17, 49], Operations: ['77-60=17', '5+44=49'] Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,100 unequal: No Solution Exploring Operation: 17+49=66, Resulting Numbers: [66] 66,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[5, 60, 33], Operations: ['77-44=33'] Exploring Operation: 60-33=27, Resulting Numbers: [5, 27] Generated Node #0,1,0: 100:[5, 27] Operation: 60-33=27 Exploring Operation: 60+33=93, Resulting Numbers: [5, 93] Generated Node #0,1,1: 100:[5, 93] Operation: 60+33=93 Moving to Node #0,1,0 Current State: 100:[5, 27], Operations: ['77-44=33', '60-33=27'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[5, 93], Operations: ['77-44=33', '60+33=93'] Exploring Operation: 5+93=98, Resulting Numbers: [98] 98,100 unequal: No Solution Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,100 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
[ 87, 89, 57, 47 ]
52
[ "89-87=2", "57+47=104", "104/2=52" ]
Current State: 52:[87, 89, 57, 47], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [57, 47, 2] Generated Node #2: [57, 47, 2] from Operation: 89-87=2 Current State: 52:[57, 47, 2], Operations: ['89-87=2'] Exploring Operation: 57+47=104, Resulting Numbers: [2, 104] Generated Node #3: [2, 104] from Operation: 57+47=104 Current State: 52:[2, 104], Operations: ['89-87=2', '57+47=104'] Exploring Operation: 104/2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[87, 89, 57, 47], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [57, 47, 2] Generated Node #0,0: 52:[57, 47, 2] Operation: 89-87=2 Moving to Node #0,0 Current State: 52:[57, 47, 2], Operations: ['89-87=2'] Exploring Operation: 57-47=10, Resulting Numbers: [2, 10] Generated Node #0,0,0: 52:[2, 10] Operation: 57-47=10 Moving to Node #0,0,0 Current State: 52:[2, 10], Operations: ['89-87=2', '57-47=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,52 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 26, 38, 66, 31 ]
62
[ "26+38=64", "66-64=2", "31*2=62" ]
Current State: 62:[26, 38, 66, 31], Operations: [] Exploring Operation: 26+38=64, Resulting Numbers: [66, 31, 64] Generated Node #2: [66, 31, 64] from Operation: 26+38=64 Current State: 62:[66, 31, 64], Operations: ['26+38=64'] Exploring Operation: 66-64=2, Resulting Numbers: [31, 2] Generated Node #3: [31, 2] from Operation: 66-64=2 Current State: 62:[31, 2], Operations: ['26+38=64', '66-64=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[26, 38, 66, 31], Operations: [] Exploring Operation: 31-26=5, Resulting Numbers: [38, 66, 5] Generated Node #0,0: 62:[38, 66, 5] Operation: 31-26=5 Exploring Operation: 38-26=12, Resulting Numbers: [66, 31, 12] Generated Node #0,1: 62:[66, 31, 12] Operation: 38-26=12 Exploring Operation: 26+38=64, Resulting Numbers: [66, 31, 64] Generated Node #0,2: 62:[66, 31, 64] Operation: 26+38=64 Exploring Operation: 66-38=28, Resulting Numbers: [26, 31, 28] Generated Node #0,3: 62:[26, 31, 28] Operation: 66-38=28 Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[66, 31, 64], Operations: ['26+38=64'] Exploring Operation: 66-31=35, Resulting Numbers: [64, 35] Generated Node #0,2,0: 62:[64, 35] Operation: 66-31=35 Exploring Operation: 66+31=97, Resulting Numbers: [64, 97] Generated Node #0,2,1: 62:[64, 97] Operation: 66+31=97 Exploring Operation: 66-64=2, Resulting Numbers: [31, 2] Generated Node #0,2,2: 62:[31, 2] Operation: 66-64=2 Exploring Operation: 64-31=33, Resulting Numbers: [66, 33] Generated Node #0,2,3: 62:[66, 33] Operation: 64-31=33 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 62:[31, 2], Operations: ['26+38=64', '66-64=2'] Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[26, 38, 66, 31], Operations: [] Exploring Operation: 26+38=64, Resulting Numbers: [66, 31, 64] Generated Node #0,2: 62:[66, 31, 64] Operation: 26+38=64 Moving to Node #0,2 Current State: 62:[66, 31, 64], Operations: ['26+38=64'] Exploring Operation: 66-64=2, Resulting Numbers: [31, 2] Generated Node #0,2,2: 62:[31, 2] Operation: 66-64=2 Moving to Node #0,2,2 Current State: 62:[31, 2], Operations: ['26+38=64', '66-64=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 76, 14, 8, 90 ]
37
[ "76*8=608", "608-90=518", "518/14=37" ]
Current State: 37:[76, 14, 8, 90], Operations: [] Exploring Operation: 76*8=608, Resulting Numbers: [14, 90, 608] Generated Node #2: [14, 90, 608] from Operation: 76*8=608 Current State: 37:[14, 90, 608], Operations: ['76*8=608'] Exploring Operation: 608-90=518, Resulting Numbers: [14, 518] Generated Node #3: [14, 518] from Operation: 608-90=518 Current State: 37:[14, 518], Operations: ['76*8=608', '608-90=518'] Exploring Operation: 518/14=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[76, 14, 8, 90], Operations: [] Exploring Operation: 76-8=68, Resulting Numbers: [14, 90, 68] Generated Node #0,0: 37:[14, 90, 68] Operation: 76-8=68 Exploring Operation: 76-14=62, Resulting Numbers: [8, 90, 62] Generated Node #0,1: 37:[8, 90, 62] Operation: 76-14=62 Exploring Operation: 90-76=14, Resulting Numbers: [14, 8, 14] Generated Node #0,2: 37:[14, 8, 14] Operation: 90-76=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[14, 8, 14], Operations: ['90-76=14'] Exploring Operation: 14+14=28, Resulting Numbers: [8, 28] Generated Node #0,2,0: 37:[8, 28] Operation: 14+14=28 Exploring Operation: 8+14=22, Resulting Numbers: [14, 22] Generated Node #0,2,1: 37:[14, 22] Operation: 8+14=22 Exploring Operation: 14+8=22, Resulting Numbers: [14, 22] Generated Node #0,2,2: 37:[14, 22] Operation: 14+8=22 Moving to Node #0,2,0 Current State: 37:[8, 28], Operations: ['90-76=14', '14+14=28'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,37 unequal: No Solution Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[14, 22], Operations: ['90-76=14', '8+14=22'] Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,37 unequal: No Solution Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[14, 22], Operations: ['90-76=14', '14+8=22'] Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,37 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[14, 90, 68], Operations: ['76-8=68'] Exploring Operation: 90-68=22, Resulting Numbers: [14, 22] Generated Node #0,0,0: 37:[14, 22] Operation: 90-68=22 Exploring Operation: 90-14=76, Resulting Numbers: [68, 76] Generated Node #0,0,1: 37:[68, 76] Operation: 90-14=76 Exploring Operation: 68-14=54, Resulting Numbers: [90, 54] Generated Node #0,0,2: 37:[90, 54] Operation: 68-14=54 Moving to Node #0,0,0 Current State: 37:[14, 22], Operations: ['76-8=68', '90-68=22'] Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,37 unequal: No Solution Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[68, 76], Operations: ['76-8=68', '90-14=76'] Exploring Operation: 68*76=5168, Resulting Numbers: [5168] 5168,37 unequal: No Solution Exploring Operation: 76-68=8, Resulting Numbers: [8] 8,37 unequal: No Solution Exploring Operation: 68+76=144, Resulting Numbers: [144] 144,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[90, 54], Operations: ['76-8=68', '68-14=54'] Exploring Operation: 90+54=144, Resulting Numbers: [144] 144,37 unequal: No Solution Exploring Operation: 90-54=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 90*54=4860, Resulting Numbers: [4860] 4860,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[8, 90, 62], Operations: ['76-14=62'] Exploring Operation: 62-8=54, Resulting Numbers: [90, 54] Generated Node #0,1,0: 37:[90, 54] Operation: 62-8=54 Exploring Operation: 90-62=28, Resulting Numbers: [8, 28] Generated Node #0,1,1: 37:[8, 28] Operation: 90-62=28 Exploring Operation: 90-8=82, Resulting Numbers: [62, 82] Generated Node #0,1,2: 37:[62, 82] Operation: 90-8=82 Moving to Node #0,1,1 Current State: 37:[8, 28], Operations: ['76-14=62', '90-62=28'] Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,37 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[90, 54], Operations: ['76-14=62', '62-8=54'] Exploring Operation: 90*54=4860, Resulting Numbers: [4860] 4860,37 unequal: No Solution Exploring Operation: 90-54=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 90+54=144, Resulting Numbers: [144] 144,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[62, 82], Operations: ['76-14=62', '90-8=82'] Exploring Operation: 62*82=5084, Resulting Numbers: [5084] 5084,37 unequal: No Solution Exploring Operation: 62+82=144, Resulting Numbers: [144] 144,37 unequal: No Solution Exploring Operation: 82-62=20, Resulting Numbers: [20] 20,37 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
[ 77, 77, 31, 91 ]
31
[ "77-77=0", "91*0=0", "31+0=31" ]
Current State: 31:[77, 77, 31, 91], Operations: [] Exploring Operation: 77-77=0, Resulting Numbers: [31, 91, 0] Generated Node #2: [31, 91, 0] from Operation: 77-77=0 Current State: 31:[31, 91, 0], Operations: ['77-77=0'] Exploring Operation: 91*0=0, Resulting Numbers: [31, 0] Generated Node #3: [31, 0] from Operation: 91*0=0 Current State: 31:[31, 0], Operations: ['77-77=0', '91*0=0'] Exploring Operation: 31+0=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[77, 77, 31, 91], Operations: [] Exploring Operation: 91-77=14, Resulting Numbers: [77, 31, 14] Generated Node #0,0: 31:[77, 31, 14] Operation: 91-77=14 Exploring Operation: 77/77=1, Resulting Numbers: [31, 91, 1] Generated Node #0,1: 31:[31, 91, 1] Operation: 77/77=1 Exploring Operation: 77-77=0, Resulting Numbers: [31, 91, 0] Generated Node #0,2: 31:[31, 91, 0] Operation: 77-77=0 Exploring Operation: 91-77=14, Resulting Numbers: [77, 31, 14] Generated Node #0,3: 31:[77, 31, 14] Operation: 91-77=14 Moving to Node #0,0 Current State: 31:[77, 31, 14], Operations: ['91-77=14'] Exploring Operation: 31+14=45, Resulting Numbers: [77, 45] Generated Node #0,0,0: 31:[77, 45] Operation: 31+14=45 Exploring Operation: 77-14=63, Resulting Numbers: [31, 63] Generated Node #0,0,1: 31:[31, 63] Operation: 77-14=63 Exploring Operation: 77+14=91, Resulting Numbers: [31, 91] Generated Node #0,0,2: 31:[31, 91] Operation: 77+14=91 Exploring Operation: 77-31=46, Resulting Numbers: [14, 46] Generated Node #0,0,3: 31:[14, 46] Operation: 77-31=46 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 31:[31, 63], Operations: ['91-77=14', '77-14=63'] Exploring Operation: 31+63=94, Resulting Numbers: [94] 94,31 unequal: No Solution Exploring Operation: 31*63=1953, Resulting Numbers: [1953] 1953,31 unequal: No Solution Exploring Operation: 63-31=32, Resulting Numbers: [32] 32,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,0,3 Current State: 31:[14, 46], Operations: ['91-77=14', '77-31=46'] Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 14*46=644, Resulting Numbers: [644] 644,31 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,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,0,0 Current State: 31:[77, 45], Operations: ['91-77=14', '31+14=45'] Exploring Operation: 77*45=3465, Resulting Numbers: [3465] 3465,31 unequal: No Solution Exploring Operation: 77-45=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 77+45=122, Resulting Numbers: [122] 122,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,0,2 Current State: 31:[31, 91], Operations: ['91-77=14', '77+14=91'] Exploring Operation: 91-31=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 31*91=2821, Resulting Numbers: [2821] 2821,31 unequal: No Solution Exploring Operation: 31+91=122, Resulting Numbers: [122] 122,31 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: 31:[77, 31, 14], Operations: ['91-77=14'] Exploring Operation: 31+14=45, Resulting Numbers: [77, 45] Generated Node #0,3,0: 31:[77, 45] Operation: 31+14=45 Exploring Operation: 77-14=63, Resulting Numbers: [31, 63] Generated Node #0,3,1: 31:[31, 63] Operation: 77-14=63 Exploring Operation: 77+14=91, Resulting Numbers: [31, 91] Generated Node #0,3,2: 31:[31, 91] Operation: 77+14=91 Exploring Operation: 77-31=46, Resulting Numbers: [14, 46] Generated Node #0,3,3: 31:[14, 46] Operation: 77-31=46 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 31:[31, 63], Operations: ['91-77=14', '77-14=63'] Exploring Operation: 31*63=1953, Resulting Numbers: [1953] 1953,31 unequal: No Solution Exploring Operation: 31+63=94, Resulting Numbers: [94] 94,31 unequal: No Solution Exploring Operation: 63-31=32, Resulting Numbers: [32] 32,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 31:[14, 46], Operations: ['91-77=14', '77-31=46'] Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 14*46=644, Resulting Numbers: [644] 644,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 31:[77, 45], Operations: ['91-77=14', '31+14=45'] Exploring Operation: 77-45=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 77*45=3465, Resulting Numbers: [3465] 3465,31 unequal: No Solution Exploring Operation: 77+45=122, Resulting Numbers: [122] 122,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 31:[31, 91], Operations: ['91-77=14', '77+14=91'] Exploring Operation: 31*91=2821, Resulting Numbers: [2821] 2821,31 unequal: No Solution Exploring Operation: 31+91=122, Resulting Numbers: [122] 122,31 unequal: No Solution Exploring Operation: 91-31=60, Resulting Numbers: [60] 60,31 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: 31:[31, 91, 1], Operations: ['77/77=1'] Exploring Operation: 31/1=31, Resulting Numbers: [91, 31] Generated Node #0,1,0: 31:[91, 31] Operation: 31/1=31 Exploring Operation: 31*1=31, Resulting Numbers: [91, 31] Generated Node #0,1,1: 31:[91, 31] Operation: 31*1=31 Exploring Operation: 91-31=60, Resulting Numbers: [1, 60] Generated Node #0,1,2: 31:[1, 60] Operation: 91-31=60 Exploring Operation: 91-1=90, Resulting Numbers: [31, 90] Generated Node #0,1,3: 31:[31, 90] Operation: 91-1=90 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 31:[1, 60], Operations: ['77/77=1', '91-31=60'] Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,31 unequal: No Solution Exploring Operation: 1*60=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 1+60=61, Resulting Numbers: [61] 61,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,3 Current State: 31:[31, 90], Operations: ['77/77=1', '91-1=90'] Exploring Operation: 31+90=121, Resulting Numbers: [121] 121,31 unequal: No Solution Exploring Operation: 31*90=2790, Resulting Numbers: [2790] 2790,31 unequal: No Solution Exploring Operation: 90-31=59, Resulting Numbers: [59] 59,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,0 Current State: 31:[91, 31], Operations: ['77/77=1', '31/1=31'] Exploring Operation: 91-31=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 91*31=2821, Resulting Numbers: [2821] 2821,31 unequal: No Solution Exploring Operation: 91+31=122, Resulting Numbers: [122] 122,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,1 Current State: 31:[91, 31], Operations: ['77/77=1', '31*1=31'] Exploring Operation: 91*31=2821, Resulting Numbers: [2821] 2821,31 unequal: No Solution Exploring Operation: 91-31=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 91+31=122, Resulting Numbers: [122] 122,31 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: 31:[31, 91, 0], Operations: ['77-77=0'] Exploring Operation: 91*0=0, Resulting Numbers: [31, 0] Generated Node #0,2,0: 31:[31, 0] Operation: 91*0=0 Exploring Operation: 91-31=60, Resulting Numbers: [0, 60] Generated Node #0,2,1: 31:[0, 60] Operation: 91-31=60 Exploring Operation: 31+0=31, Resulting Numbers: [91, 31] Generated Node #0,2,2: 31:[91, 31] Operation: 31+0=31 Exploring Operation: 31-0=31, Resulting Numbers: [91, 31] Generated Node #0,2,3: 31:[91, 31] Operation: 31-0=31 Moving to Node #0,2,0 Current State: 31:[31, 0], Operations: ['77-77=0', '91*0=0'] Exploring Operation: 31-0=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[77, 77, 31, 91], Operations: [] Exploring Operation: 77-77=0, Resulting Numbers: [31, 91, 0] Generated Node #0,2: 31:[31, 91, 0] Operation: 77-77=0 Moving to Node #0,2 Current State: 31:[31, 91, 0], Operations: ['77-77=0'] Exploring Operation: 91*0=0, Resulting Numbers: [31, 0] Generated Node #0,2,0: 31:[31, 0] Operation: 91*0=0 Moving to Node #0,2,0 Current State: 31:[31, 0], Operations: ['77-77=0', '91*0=0'] Exploring Operation: 31-0=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.946181
hs_4
mult_heuristic
[ 21, 18, 52, 27 ]
72
[ "52-21=31", "31-27=4", "18*4=72" ]
Current State: 72:[21, 18, 52, 27], Operations: [] Exploring Operation: 52-21=31, Resulting Numbers: [18, 27, 31] Generated Node #2: [18, 27, 31] from Operation: 52-21=31 Current State: 72:[18, 27, 31], Operations: ['52-21=31'] Exploring Operation: 31-27=4, Resulting Numbers: [18, 4] Generated Node #3: [18, 4] from Operation: 31-27=4 Current State: 72:[18, 4], Operations: ['52-21=31', '31-27=4'] Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[21, 18, 52, 27], Operations: [] Exploring Operation: 21+52=73, Resulting Numbers: [18, 27, 73] Generated Node #0,0: 72:[18, 27, 73] Operation: 21+52=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[18, 27, 73], Operations: ['21+52=73'] Exploring Operation: 27-18=9, Resulting Numbers: [73, 9] Generated Node #0,0,0: 72:[73, 9] Operation: 27-18=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[73, 9], Operations: ['21+52=73', '27-18=9'] Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 8, 92, 94, 3 ]
54
[ "92+94=186", "186/3=62", "62-8=54" ]
Current State: 54:[8, 92, 94, 3], Operations: [] Exploring Operation: 92+94=186, Resulting Numbers: [8, 3, 186] Generated Node #2: [8, 3, 186] from Operation: 92+94=186 Current State: 54:[8, 3, 186], Operations: ['92+94=186'] Exploring Operation: 186/3=62, Resulting Numbers: [8, 62] Generated Node #3: [8, 62] from Operation: 186/3=62 Current State: 54:[8, 62], Operations: ['92+94=186', '186/3=62'] Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[8, 92, 94, 3], Operations: [] Exploring Operation: 94-8=86, Resulting Numbers: [92, 3, 86] Generated Node #0,0: 54:[92, 3, 86] Operation: 94-8=86 Exploring Operation: 92-3=89, Resulting Numbers: [8, 94, 89] Generated Node #0,1: 54:[8, 94, 89] Operation: 92-3=89 Exploring Operation: 94-92=2, Resulting Numbers: [8, 3, 2] Generated Node #0,2: 54:[8, 3, 2] Operation: 94-92=2 Exploring Operation: 92-8=84, Resulting Numbers: [94, 3, 84] Generated Node #0,3: 54:[94, 3, 84] Operation: 92-8=84 Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[8, 3, 2], Operations: ['94-92=2'] Exploring Operation: 8/2=4, Resulting Numbers: [3, 4] Generated Node #0,2,0: 54:[3, 4] Operation: 8/2=4 Exploring Operation: 8-3=5, Resulting Numbers: [2, 5] Generated Node #0,2,1: 54:[2, 5] Operation: 8-3=5 Exploring Operation: 8+2=10, Resulting Numbers: [3, 10] Generated Node #0,2,2: 54:[3, 10] Operation: 8+2=10 Exploring Operation: 8-2=6, Resulting Numbers: [3, 6] Generated Node #0,2,3: 54:[3, 6] Operation: 8-2=6 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 54:[3, 6], Operations: ['94-92=2', '8-2=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,54 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 54:[3, 4], Operations: ['94-92=2', '8/2=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 54:[2, 5], Operations: ['94-92=2', '8-3=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 54:[3, 10], Operations: ['94-92=2', '8+2=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,54 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[92, 3, 86], Operations: ['94-8=86'] Exploring Operation: 92+3=95, Resulting Numbers: [86, 95] Generated Node #0,0,0: 54:[86, 95] Operation: 92+3=95 Exploring Operation: 92-86=6, Resulting Numbers: [3, 6] Generated Node #0,0,1: 54:[3, 6] Operation: 92-86=6 Exploring Operation: 92-3=89, Resulting Numbers: [86, 89] Generated Node #0,0,2: 54:[86, 89] Operation: 92-3=89 Exploring Operation: 86-3=83, Resulting Numbers: [92, 83] Generated Node #0,0,3: 54:[92, 83] Operation: 86-3=83 Moving to Node #0,0,1 Current State: 54:[3, 6], Operations: ['94-8=86', '92-86=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,54 unequal: No Solution Moving to Node #0,0,3 Current State: 54:[92, 83], Operations: ['94-8=86', '86-3=83'] Exploring Operation: 92*83=7636, Resulting Numbers: [7636] 7636,54 unequal: No Solution Exploring Operation: 92+83=175, Resulting Numbers: [175] 175,54 unequal: No Solution Exploring Operation: 92-83=9, Resulting Numbers: [9] 9,54 unequal: No Solution Moving to Node #0,0,2 Current State: 54:[86, 89], Operations: ['94-8=86', '92-3=89'] Exploring Operation: 86*89=7654, Resulting Numbers: [7654] 7654,54 unequal: No Solution Exploring Operation: 86+89=175, Resulting Numbers: [175] 175,54 unequal: No Solution Exploring Operation: 89-86=3, Resulting Numbers: [3] 3,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[86, 95], Operations: ['94-8=86', '92+3=95'] Exploring Operation: 95-86=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 86*95=8170, Resulting Numbers: [8170] 8170,54 unequal: No Solution Exploring Operation: 86+95=181, Resulting Numbers: [181] 181,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 54:[94, 3, 84], Operations: ['92-8=84'] Exploring Operation: 94-3=91, Resulting Numbers: [84, 91] Generated Node #0,3,0: 54:[84, 91] Operation: 94-3=91 Exploring Operation: 84-3=81, Resulting Numbers: [94, 81] Generated Node #0,3,1: 54:[94, 81] Operation: 84-3=81 Exploring Operation: 84/3=28, Resulting Numbers: [94, 28] Generated Node #0,3,2: 54:[94, 28] Operation: 84/3=28 Exploring Operation: 94-84=10, Resulting Numbers: [3, 10] Generated Node #0,3,3: 54:[3, 10] Operation: 94-84=10 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 54:[3, 10], Operations: ['92-8=84', '94-84=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 54:[94, 28], Operations: ['92-8=84', '84/3=28'] Exploring Operation: 94+28=122, Resulting Numbers: [122] 122,54 unequal: No Solution Exploring Operation: 94-28=66, Resulting Numbers: [66] 66,54 unequal: No Solution Exploring Operation: 94*28=2632, Resulting Numbers: [2632] 2632,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 54:[84, 91], Operations: ['92-8=84', '94-3=91'] Exploring Operation: 84*91=7644, Resulting Numbers: [7644] 7644,54 unequal: No Solution Exploring Operation: 91-84=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 84+91=175, Resulting Numbers: [175] 175,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 54:[94, 81], Operations: ['92-8=84', '84-3=81'] Exploring Operation: 94+81=175, Resulting Numbers: [175] 175,54 unequal: No Solution Exploring Operation: 94*81=7614, Resulting Numbers: [7614] 7614,54 unequal: No Solution Exploring Operation: 94-81=13, Resulting Numbers: [13] 13,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[8, 94, 89], Operations: ['92-3=89'] Exploring Operation: 8+94=102, Resulting Numbers: [89, 102] Generated Node #0,1,0: 54:[89, 102] Operation: 8+94=102 Exploring Operation: 94-8=86, Resulting Numbers: [89, 86] Generated Node #0,1,1: 54:[89, 86] Operation: 94-8=86 Exploring Operation: 94-89=5, Resulting Numbers: [8, 5] Generated Node #0,1,2: 54:[8, 5] Operation: 94-89=5 Exploring Operation: 89-8=81, Resulting Numbers: [94, 81] Generated Node #0,1,3: 54:[94, 81] Operation: 89-8=81 Moving to Node #0,1,2 Current State: 54:[8, 5], Operations: ['92-3=89', '94-89=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,54 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,54 unequal: No Solution Moving to Node #0,1,3 Current State: 54:[94, 81], Operations: ['92-3=89', '89-8=81'] Exploring Operation: 94+81=175, Resulting Numbers: [175] 175,54 unequal: No Solution Exploring Operation: 94-81=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 94*81=7614, Resulting Numbers: [7614] 7614,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[89, 86], Operations: ['92-3=89', '94-8=86'] Exploring Operation: 89-86=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 89+86=175, Resulting Numbers: [175] 175,54 unequal: No Solution Exploring Operation: 89*86=7654, Resulting Numbers: [7654] 7654,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[89, 102], Operations: ['92-3=89', '8+94=102'] Exploring Operation: 89+102=191, Resulting Numbers: [191] 191,54 unequal: No Solution Exploring Operation: 102-89=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 89*102=9078, Resulting Numbers: [9078] 9078,54 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
[ 4, 18, 54, 92 ]
93
[ "4+92=96", "54/18=3", "96-3=93" ]
Current State: 93:[4, 18, 54, 92], Operations: [] Exploring Operation: 4+92=96, Resulting Numbers: [18, 54, 96] Generated Node #2: [18, 54, 96] from Operation: 4+92=96 Current State: 93:[18, 54, 96], Operations: ['4+92=96'] Exploring Operation: 54/18=3, Resulting Numbers: [96, 3] Generated Node #3: [96, 3] from Operation: 54/18=3 Current State: 93:[96, 3], Operations: ['4+92=96', '54/18=3'] Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[4, 18, 54, 92], Operations: [] Exploring Operation: 54/18=3, Resulting Numbers: [4, 92, 3] Generated Node #0,0: 93:[4, 92, 3] Operation: 54/18=3 Exploring Operation: 92-54=38, Resulting Numbers: [4, 18, 38] Generated Node #0,1: 93:[4, 18, 38] Operation: 92-54=38 Exploring Operation: 54-18=36, Resulting Numbers: [4, 92, 36] Generated Node #0,2: 93:[4, 92, 36] Operation: 54-18=36 Exploring Operation: 18+54=72, Resulting Numbers: [4, 92, 72] Generated Node #0,3: 93:[4, 92, 72] Operation: 18+54=72 Exploring Operation: 4+18=22, Resulting Numbers: [54, 92, 22] Generated Node #0,4: 93:[54, 92, 22] Operation: 4+18=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[4, 92, 3], Operations: ['54/18=3'] Exploring Operation: 92-4=88, Resulting Numbers: [3, 88] Generated Node #0,0,0: 93:[3, 88] Operation: 92-4=88 Exploring Operation: 92+3=95, Resulting Numbers: [4, 95] Generated Node #0,0,1: 93:[4, 95] Operation: 92+3=95 Exploring Operation: 4+92=96, Resulting Numbers: [3, 96] Generated Node #0,0,2: 93:[3, 96] Operation: 4+92=96 Exploring Operation: 4+3=7, Resulting Numbers: [92, 7] Generated Node #0,0,3: 93:[92, 7] Operation: 4+3=7 Exploring Operation: 4-3=1, Resulting Numbers: [92, 1] Generated Node #0,0,4: 93:[92, 1] Operation: 4-3=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[4, 95], Operations: ['54/18=3', '92+3=95'] Exploring Operation: 4*95=380, Resulting Numbers: [380] 380,93 unequal: No Solution Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,93 unequal: No Solution Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 93:[3, 96], Operations: ['54/18=3', '4+92=96'] Exploring Operation: 3+96=99, Resulting Numbers: [99] 99,93 unequal: No Solution Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[4, 18, 54, 92], Operations: [] Exploring Operation: 54/18=3, Resulting Numbers: [4, 92, 3] Generated Node #0,0: 93:[4, 92, 3] Operation: 54/18=3 Moving to Node #0,0 Current State: 93:[4, 92, 3], Operations: ['54/18=3'] Exploring Operation: 4+92=96, Resulting Numbers: [3, 96] Generated Node #0,0,2: 93:[3, 96] Operation: 4+92=96 Moving to Node #0,0,2 Current State: 93:[3, 96], Operations: ['54/18=3', '4+92=96'] Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 18, 25, 55, 9 ]
60
[ "18/9=2", "55-25=30", "2*30=60" ]
Current State: 60:[18, 25, 55, 9], Operations: [] Exploring Operation: 18/9=2, Resulting Numbers: [25, 55, 2] Generated Node #2: [25, 55, 2] from Operation: 18/9=2 Current State: 60:[25, 55, 2], Operations: ['18/9=2'] Exploring Operation: 55-25=30, Resulting Numbers: [2, 30] Generated Node #3: [2, 30] from Operation: 55-25=30 Current State: 60:[2, 30], Operations: ['18/9=2', '55-25=30'] Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[18, 25, 55, 9], Operations: [] Exploring Operation: 55-25=30, Resulting Numbers: [18, 9, 30] Generated Node #0,0: 60:[18, 9, 30] Operation: 55-25=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[18, 9, 30], Operations: ['55-25=30'] Exploring Operation: 18/9=2, Resulting Numbers: [30, 2] Generated Node #0,0,0: 60:[30, 2] Operation: 18/9=2 Moving to Node #0,0,0 Current State: 60:[30, 2], Operations: ['55-25=30', '18/9=2'] Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[18, 25, 55, 9], Operations: [] Exploring Operation: 55-25=30, Resulting Numbers: [18, 9, 30] Generated Node #0,0: 60:[18, 9, 30] Operation: 55-25=30 Moving to Node #0,0 Current State: 60:[18, 9, 30], Operations: ['55-25=30'] Exploring Operation: 18/9=2, Resulting Numbers: [30, 2] Generated Node #0,0,0: 60:[30, 2] Operation: 18/9=2 Moving to Node #0,0,0 Current State: 60:[30, 2], Operations: ['55-25=30', '18/9=2'] Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 83, 48, 68, 52 ]
80
[ "68-52=16", "48/16=3", "83-3=80" ]
Current State: 80:[83, 48, 68, 52], Operations: [] Exploring Operation: 68-52=16, Resulting Numbers: [83, 48, 16] Generated Node #2: [83, 48, 16] from Operation: 68-52=16 Current State: 80:[83, 48, 16], Operations: ['68-52=16'] Exploring Operation: 48/16=3, Resulting Numbers: [83, 3] Generated Node #3: [83, 3] from Operation: 48/16=3 Current State: 80:[83, 3], Operations: ['68-52=16', '48/16=3'] Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[83, 48, 68, 52], Operations: [] Exploring Operation: 52-48=4, Resulting Numbers: [83, 68, 4] Generated Node #0,0: 80:[83, 68, 4] Operation: 52-48=4 Exploring Operation: 83-68=15, Resulting Numbers: [48, 52, 15] Generated Node #0,1: 80:[48, 52, 15] Operation: 83-68=15 Exploring Operation: 68-52=16, Resulting Numbers: [83, 48, 16] Generated Node #0,2: 80:[83, 48, 16] Operation: 68-52=16 Exploring Operation: 83-48=35, Resulting Numbers: [68, 52, 35] Generated Node #0,3: 80:[68, 52, 35] Operation: 83-48=35 Exploring Operation: 68-48=20, Resulting Numbers: [83, 52, 20] Generated Node #0,4: 80:[83, 52, 20] Operation: 68-48=20 Moving to Node #0,2 Current State: 80:[83, 48, 16], Operations: ['68-52=16'] Exploring Operation: 83-16=67, Resulting Numbers: [48, 67] Generated Node #0,2,0: 80:[48, 67] Operation: 83-16=67 Exploring Operation: 48/16=3, Resulting Numbers: [83, 3] Generated Node #0,2,1: 80:[83, 3] Operation: 48/16=3 Exploring Operation: 48-16=32, Resulting Numbers: [83, 32] Generated Node #0,2,2: 80:[83, 32] Operation: 48-16=32 Exploring Operation: 83-48=35, Resulting Numbers: [16, 35] Generated Node #0,2,3: 80:[16, 35] Operation: 83-48=35 Exploring Operation: 48+16=64, Resulting Numbers: [83, 64] Generated Node #0,2,4: 80:[83, 64] Operation: 48+16=64 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 80:[83, 3], Operations: ['68-52=16', '48/16=3'] Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[83, 48, 68, 52], Operations: [] Exploring Operation: 68-52=16, Resulting Numbers: [83, 48, 16] Generated Node #0,2: 80:[83, 48, 16] Operation: 68-52=16 Moving to Node #0,2 Current State: 80:[83, 48, 16], Operations: ['68-52=16'] Exploring Operation: 48/16=3, Resulting Numbers: [83, 3] Generated Node #0,2,1: 80:[83, 3] Operation: 48/16=3 Moving to Node #0,2,1 Current State: 80:[83, 3], Operations: ['68-52=16', '48/16=3'] Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 47, 79, 53, 84 ]
95
[ "47+79=126", "84-53=31", "126-31=95" ]
Current State: 95:[47, 79, 53, 84], Operations: [] Exploring Operation: 47+79=126, Resulting Numbers: [53, 84, 126] Generated Node #2: [53, 84, 126] from Operation: 47+79=126 Current State: 95:[53, 84, 126], Operations: ['47+79=126'] Exploring Operation: 84-53=31, Resulting Numbers: [126, 31] Generated Node #3: [126, 31] from Operation: 84-53=31 Current State: 95:[126, 31], Operations: ['47+79=126', '84-53=31'] Exploring Operation: 126-31=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[47, 79, 53, 84], Operations: [] Exploring Operation: 47+53=100, Resulting Numbers: [79, 84, 100] Generated Node #0,0: 95:[79, 84, 100] Operation: 47+53=100 Exploring Operation: 53-47=6, Resulting Numbers: [79, 84, 6] Generated Node #0,1: 95:[79, 84, 6] Operation: 53-47=6 Exploring Operation: 84-53=31, Resulting Numbers: [47, 79, 31] Generated Node #0,2: 95:[47, 79, 31] Operation: 84-53=31 Exploring Operation: 79-47=32, Resulting Numbers: [53, 84, 32] Generated Node #0,3: 95:[53, 84, 32] Operation: 79-47=32 Exploring Operation: 79-53=26, Resulting Numbers: [47, 84, 26] Generated Node #0,4: 95:[47, 84, 26] Operation: 79-53=26 Moving to Node #0,1 Current State: 95:[79, 84, 6], Operations: ['53-47=6'] Exploring Operation: 84/6=14, Resulting Numbers: [79, 14] Generated Node #0,1,0: 95:[79, 14] Operation: 84/6=14 Exploring Operation: 79+6=85, Resulting Numbers: [84, 85] Generated Node #0,1,1: 95:[84, 85] Operation: 79+6=85 Exploring Operation: 84+6=90, Resulting Numbers: [79, 90] Generated Node #0,1,2: 95:[79, 90] Operation: 84+6=90 Exploring Operation: 79-6=73, Resulting Numbers: [84, 73] Generated Node #0,1,3: 95:[84, 73] Operation: 79-6=73 Exploring Operation: 84-79=5, Resulting Numbers: [6, 5] Generated Node #0,1,4: 95:[6, 5] Operation: 84-79=5 Moving to Node #0,0 Current State: 95:[79, 84, 100], Operations: ['47+53=100'] Exploring Operation: 79+100=179, Resulting Numbers: [84, 179] Generated Node #0,0,0: 95:[84, 179] Operation: 79+100=179 Exploring Operation: 100-84=16, Resulting Numbers: [79, 16] Generated Node #0,0,1: 95:[79, 16] Operation: 100-84=16 Exploring Operation: 84-79=5, Resulting Numbers: [100, 5] Generated Node #0,0,2: 95:[100, 5] Operation: 84-79=5 Exploring Operation: 79+84=163, Resulting Numbers: [100, 163] Generated Node #0,0,3: 95:[100, 163] Operation: 79+84=163 Exploring Operation: 100-79=21, Resulting Numbers: [84, 21] Generated Node #0,0,4: 95:[84, 21] Operation: 100-79=21 Moving to Node #0,4 Current State: 95:[47, 84, 26], Operations: ['79-53=26'] Exploring Operation: 84+26=110, Resulting Numbers: [47, 110] Generated Node #0,4,0: 95:[47, 110] Operation: 84+26=110 Exploring Operation: 47+84=131, Resulting Numbers: [26, 131] Generated Node #0,4,1: 95:[26, 131] Operation: 47+84=131 Exploring Operation: 47-26=21, Resulting Numbers: [84, 21] Generated Node #0,4,2: 95:[84, 21] Operation: 47-26=21 Exploring Operation: 47+26=73, Resulting Numbers: [84, 73] Generated Node #0,4,3: 95:[84, 73] Operation: 47+26=73 Exploring Operation: 84-47=37, Resulting Numbers: [26, 37] Generated Node #0,4,4: 95:[26, 37] Operation: 84-47=37 Moving to Node #0,2 Current State: 95:[47, 79, 31], Operations: ['84-53=31'] Exploring Operation: 47-31=16, Resulting Numbers: [79, 16] Generated Node #0,2,0: 95:[79, 16] Operation: 47-31=16 Exploring Operation: 47+79=126, Resulting Numbers: [31, 126] Generated Node #0,2,1: 95:[31, 126] Operation: 47+79=126 Exploring Operation: 79+31=110, Resulting Numbers: [47, 110] Generated Node #0,2,2: 95:[47, 110] Operation: 79+31=110 Exploring Operation: 79-47=32, Resulting Numbers: [31, 32] Generated Node #0,2,3: 95:[31, 32] Operation: 79-47=32 Exploring Operation: 47+31=78, Resulting Numbers: [79, 78] Generated Node #0,2,4: 95:[79, 78] Operation: 47+31=78 Moving to Node #0,3 Current State: 95:[53, 84, 32], Operations: ['79-47=32'] Exploring Operation: 53-32=21, Resulting Numbers: [84, 21] Generated Node #0,3,0: 95:[84, 21] Operation: 53-32=21 Exploring Operation: 84+32=116, Resulting Numbers: [53, 116] Generated Node #0,3,1: 95:[53, 116] Operation: 84+32=116 Exploring Operation: 53+84=137, Resulting Numbers: [32, 137] Generated Node #0,3,2: 95:[32, 137] Operation: 53+84=137 Exploring Operation: 84-53=31, Resulting Numbers: [32, 31] Generated Node #0,3,3: 95:[32, 31] Operation: 84-53=31 Exploring Operation: 53+32=85, Resulting Numbers: [84, 85] Generated Node #0,3,4: 95:[84, 85] Operation: 53+32=85 Moving to Node #0,1,4 Current State: 95:[6, 5], Operations: ['53-47=6', '84-79=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[100, 5], Operations: ['47+53=100', '84-79=5'] Exploring Operation: 100*5=500, Resulting Numbers: [500] 500,95 unequal: No Solution Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[47, 79, 53, 84], Operations: [] Exploring Operation: 47+53=100, Resulting Numbers: [79, 84, 100] Generated Node #0,0: 95:[79, 84, 100] Operation: 47+53=100 Moving to Node #0,0 Current State: 95:[79, 84, 100], Operations: ['47+53=100'] Exploring Operation: 84-79=5, Resulting Numbers: [100, 5] Generated Node #0,0,2: 95:[100, 5] Operation: 84-79=5 Moving to Node #0,0,2 Current State: 95:[100, 5], Operations: ['47+53=100', '84-79=5'] Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.966146
hs_5
mult_heuristic
[ 46, 2, 36, 5 ]
59
[ "46-5=41", "36/2=18", "41+18=59" ]
Current State: 59:[46, 2, 36, 5], Operations: [] Exploring Operation: 46-5=41, Resulting Numbers: [2, 36, 41] Generated Node #2: [2, 36, 41] from Operation: 46-5=41 Current State: 59:[2, 36, 41], Operations: ['46-5=41'] Exploring Operation: 36/2=18, Resulting Numbers: [41, 18] Generated Node #3: [41, 18] from Operation: 36/2=18 Current State: 59:[41, 18], Operations: ['46-5=41', '36/2=18'] Exploring Operation: 41+18=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[46, 2, 36, 5], Operations: [] Exploring Operation: 2*36=72, Resulting Numbers: [46, 5, 72] Generated Node #0,0: 59:[46, 5, 72] Operation: 2*36=72 Exploring Operation: 2*5=10, Resulting Numbers: [46, 36, 10] Generated Node #0,1: 59:[46, 36, 10] Operation: 2*5=10 Exploring Operation: 46+5=51, Resulting Numbers: [2, 36, 51] Generated Node #0,2: 59:[2, 36, 51] Operation: 46+5=51 Exploring Operation: 2+36=38, Resulting Numbers: [46, 5, 38] Generated Node #0,3: 59:[46, 5, 38] Operation: 2+36=38 Exploring Operation: 46+2=48, Resulting Numbers: [36, 5, 48] Generated Node #0,4: 59:[36, 5, 48] Operation: 46+2=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[46, 5, 72], Operations: ['2*36=72'] Exploring Operation: 46-5=41, Resulting Numbers: [72, 41] Generated Node #0,0,0: 59:[72, 41] Operation: 46-5=41 Exploring Operation: 72-5=67, Resulting Numbers: [46, 67] Generated Node #0,0,1: 59:[46, 67] Operation: 72-5=67 Exploring Operation: 46+5=51, Resulting Numbers: [72, 51] Generated Node #0,0,2: 59:[72, 51] Operation: 46+5=51 Exploring Operation: 5+72=77, Resulting Numbers: [46, 77] Generated Node #0,0,3: 59:[46, 77] Operation: 5+72=77 Exploring Operation: 72-46=26, Resulting Numbers: [5, 26] Generated Node #0,0,4: 59:[5, 26] Operation: 72-46=26 Moving to Node #0,0,1 Current State: 59:[46, 67], Operations: ['2*36=72', '72-5=67'] Exploring Operation: 46+67=113, Resulting Numbers: [113] 113,59 unequal: No Solution Exploring Operation: 46*67=3082, Resulting Numbers: [3082] 3082,59 unequal: No Solution Exploring Operation: 67-46=21, Resulting Numbers: [21] 21,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[72, 51], Operations: ['2*36=72', '46+5=51'] Exploring Operation: 72*51=3672, Resulting Numbers: [3672] 3672,59 unequal: No Solution Exploring Operation: 72-51=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 72+51=123, Resulting Numbers: [123] 123,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[72, 41], Operations: ['2*36=72', '46-5=41'] Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,59 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 72*41=2952, Resulting Numbers: [2952] 2952,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[46, 77], Operations: ['2*36=72', '5+72=77'] Exploring Operation: 46+77=123, Resulting Numbers: [123] 123,59 unequal: No Solution Exploring Operation: 77-46=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 46*77=3542, Resulting Numbers: [3542] 3542,59 unequal: No Solution Moving to Node #0,0,4 Current State: 59:[5, 26], Operations: ['2*36=72', '72-46=26'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,59 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,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,1 Current State: 59:[46, 36, 10], Operations: ['2*5=10'] Exploring Operation: 46+10=56, Resulting Numbers: [36, 56] Generated Node #0,1,0: 59:[36, 56] Operation: 46+10=56 Exploring Operation: 36+10=46, Resulting Numbers: [46, 46] Generated Node #0,1,1: 59:[46, 46] Operation: 36+10=46 Exploring Operation: 46+36=82, Resulting Numbers: [10, 82] Generated Node #0,1,2: 59:[10, 82] Operation: 46+36=82 Exploring Operation: 36-10=26, Resulting Numbers: [46, 26] Generated Node #0,1,3: 59:[46, 26] Operation: 36-10=26 Exploring Operation: 46-10=36, Resulting Numbers: [36, 36] Generated Node #0,1,4: 59:[36, 36] Operation: 46-10=36 Moving to Node #0,1,0 Current State: 59:[36, 56], Operations: ['2*5=10', '46+10=56'] Exploring Operation: 36*56=2016, Resulting Numbers: [2016] 2016,59 unequal: No Solution Exploring Operation: 36+56=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 56-36=20, Resulting Numbers: [20] 20,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[46, 46], Operations: ['2*5=10', '36+10=46'] Exploring Operation: 46+46=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 46/46=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 46*46=2116, Resulting Numbers: [2116] 2116,59 unequal: No Solution Exploring Operation: 46-46=0, Resulting Numbers: [0] 0,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[46, 26], Operations: ['2*5=10', '36-10=26'] Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 46+26=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 46*26=1196, Resulting Numbers: [1196] 1196,59 unequal: No Solution Moving to Node #0,1,4 Current State: 59:[36, 36], Operations: ['2*5=10', '46-10=36'] Exploring Operation: 36*36=1296, Resulting Numbers: [1296] 1296,59 unequal: No Solution Exploring Operation: 36/36=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 36+36=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 36-36=0, Resulting Numbers: [0] 0,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[10, 82], Operations: ['2*5=10', '46+36=82'] Exploring Operation: 10+82=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 82-10=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 10*82=820, Resulting Numbers: [820] 820,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,2 Current State: 59:[2, 36, 51], Operations: ['46+5=51'] Exploring Operation: 2+51=53, Resulting Numbers: [36, 53] Generated Node #0,2,0: 59:[36, 53] Operation: 2+51=53 Exploring Operation: 36-2=34, Resulting Numbers: [51, 34] Generated Node #0,2,1: 59:[51, 34] Operation: 36-2=34 Exploring Operation: 2*36=72, Resulting Numbers: [51, 72] Generated Node #0,2,2: 59:[51, 72] Operation: 2*36=72 Exploring Operation: 2+36=38, Resulting Numbers: [51, 38] Generated Node #0,2,3: 59:[51, 38] Operation: 2+36=38 Exploring Operation: 51-2=49, Resulting Numbers: [36, 49] Generated Node #0,2,4: 59:[36, 49] Operation: 51-2=49 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 59:[51, 72], Operations: ['46+5=51', '2*36=72'] Exploring Operation: 51+72=123, Resulting Numbers: [123] 123,59 unequal: No Solution Exploring Operation: 72-51=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 51*72=3672, Resulting Numbers: [3672] 3672,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,2,0 Current State: 59:[36, 53], Operations: ['46+5=51', '2+51=53'] Exploring Operation: 53-36=17, Resulting Numbers: [17] 17,59 unequal: No Solution Exploring Operation: 36*53=1908, Resulting Numbers: [1908] 1908,59 unequal: No Solution Exploring Operation: 36+53=89, Resulting Numbers: [89] 89,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,2,3 Current State: 59:[51, 38], Operations: ['46+5=51', '2+36=38'] Exploring Operation: 51+38=89, Resulting Numbers: [89] 89,59 unequal: No Solution Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,59 unequal: No Solution Exploring Operation: 51*38=1938, Resulting Numbers: [1938] 1938,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,2,1 Current State: 59:[51, 34], Operations: ['46+5=51', '36-2=34'] Exploring Operation: 51-34=17, Resulting Numbers: [17] 17,59 unequal: No Solution Exploring Operation: 51+34=85, Resulting Numbers: [85] 85,59 unequal: No Solution Exploring Operation: 51*34=1734, Resulting Numbers: [1734] 1734,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,2,4 Current State: 59:[36, 49], Operations: ['46+5=51', '51-2=49'] Exploring Operation: 36*49=1764, Resulting Numbers: [1764] 1764,59 unequal: No Solution Exploring Operation: 36+49=85, Resulting Numbers: [85] 85,59 unequal: No Solution Exploring Operation: 49-36=13, Resulting Numbers: [13] 13,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,3 Current State: 59:[46, 5, 38], Operations: ['2+36=38'] Exploring Operation: 46+5=51, Resulting Numbers: [38, 51] Generated Node #0,3,0: 59:[38, 51] Operation: 46+5=51 Exploring Operation: 46-5=41, Resulting Numbers: [38, 41] Generated Node #0,3,1: 59:[38, 41] Operation: 46-5=41 Exploring Operation: 5+38=43, Resulting Numbers: [46, 43] Generated Node #0,3,2: 59:[46, 43] Operation: 5+38=43 Exploring Operation: 38-5=33, Resulting Numbers: [46, 33] Generated Node #0,3,3: 59:[46, 33] Operation: 38-5=33 Exploring Operation: 46+38=84, Resulting Numbers: [5, 84] Generated Node #0,3,4: 59:[5, 84] Operation: 46+38=84 Moving to Node #0,3,0 Current State: 59:[38, 51], Operations: ['2+36=38', '46+5=51'] Exploring Operation: 38+51=89, Resulting Numbers: [89] 89,59 unequal: No Solution Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,59 unequal: No Solution Exploring Operation: 38*51=1938, Resulting Numbers: [1938] 1938,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[46, 43], Operations: ['2+36=38', '5+38=43'] Exploring Operation: 46-43=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 46*43=1978, Resulting Numbers: [1978] 1978,59 unequal: No Solution Exploring Operation: 46+43=89, Resulting Numbers: [89] 89,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[38, 41], Operations: ['2+36=38', '46-5=41'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 38*41=1558, Resulting Numbers: [1558] 1558,59 unequal: No Solution Exploring Operation: 38+41=79, Resulting Numbers: [79] 79,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[46, 33], Operations: ['2+36=38', '38-5=33'] Exploring Operation: 46*33=1518, Resulting Numbers: [1518] 1518,59 unequal: No Solution Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,59 unequal: No Solution Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,59 unequal: No Solution Moving to Node #0,3,4 Current State: 59:[5, 84], Operations: ['2+36=38', '46+38=84'] Exploring Operation: 5+84=89, Resulting Numbers: [89] 89,59 unequal: No Solution Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 5*84=420, Resulting Numbers: [420] 420,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,4 Current State: 59:[36, 5, 48], Operations: ['46+2=48'] Exploring Operation: 48-5=43, Resulting Numbers: [36, 43] Generated Node #0,4,0: 59:[36, 43] Operation: 48-5=43 Exploring Operation: 36+5=41, Resulting Numbers: [48, 41] Generated Node #0,4,1: 59:[48, 41] Operation: 36+5=41 Exploring Operation: 36-5=31, Resulting Numbers: [48, 31] Generated Node #0,4,2: 59:[48, 31] Operation: 36-5=31 Exploring Operation: 5+48=53, Resulting Numbers: [36, 53] Generated Node #0,4,3: 59:[36, 53] Operation: 5+48=53 Exploring Operation: 36+48=84, Resulting Numbers: [5, 84] Generated Node #0,4,4: 59:[5, 84] Operation: 36+48=84 Moving to Node #0,4,1 Current State: 59:[48, 41], Operations: ['46+2=48', '36+5=41'] Exploring Operation: 48+41=89, Resulting Numbers: [89] 89,59 unequal: No Solution Exploring Operation: 48*41=1968, Resulting Numbers: [1968] 1968,59 unequal: No Solution Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,59 unequal: No Solution Moving to Node #0,4,3 Current State: 59:[36, 53], Operations: ['46+2=48', '5+48=53'] Exploring Operation: 36+53=89, Resulting Numbers: [89] 89,59 unequal: No Solution Exploring Operation: 53-36=17, Resulting Numbers: [17] 17,59 unequal: No Solution Exploring Operation: 36*53=1908, Resulting Numbers: [1908] 1908,59 unequal: No Solution Moving to Node #0,4,0 Current State: 59:[36, 43], Operations: ['46+2=48', '48-5=43'] Exploring Operation: 36+43=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 36*43=1548, Resulting Numbers: [1548] 1548,59 unequal: No Solution Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,59 unequal: No Solution Moving to Node #0,4,2 Current State: 59:[48, 31], Operations: ['46+2=48', '36-5=31'] Exploring Operation: 48+31=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,59 unequal: No Solution Exploring Operation: 48*31=1488, Resulting Numbers: [1488] 1488,59 unequal: No Solution Moving to Node #0,4,4 Current State: 59:[5, 84], Operations: ['46+2=48', '36+48=84'] Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 5*84=420, Resulting Numbers: [420] 420,59 unequal: No Solution Exploring Operation: 5+84=89, Resulting Numbers: [89] 89,59 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
[ 50, 77, 10, 43 ]
21
[ "50-43=7", "77/7=11", "10+11=21" ]
Current State: 21:[50, 77, 10, 43], Operations: [] Exploring Operation: 50-43=7, Resulting Numbers: [77, 10, 7] Generated Node #2: [77, 10, 7] from Operation: 50-43=7 Current State: 21:[77, 10, 7], Operations: ['50-43=7'] Exploring Operation: 77/7=11, Resulting Numbers: [10, 11] Generated Node #3: [10, 11] from Operation: 77/7=11 Current State: 21:[10, 11], Operations: ['50-43=7', '77/7=11'] Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[50, 77, 10, 43], Operations: [] Exploring Operation: 50/10=5, Resulting Numbers: [77, 43, 5] Generated Node #0,0: 21:[77, 43, 5] Operation: 50/10=5 Exploring Operation: 77-50=27, Resulting Numbers: [10, 43, 27] Generated Node #0,1: 21:[10, 43, 27] Operation: 77-50=27 Exploring Operation: 77-43=34, Resulting Numbers: [50, 10, 34] Generated Node #0,2: 21:[50, 10, 34] Operation: 77-43=34 Exploring Operation: 50-43=7, Resulting Numbers: [77, 10, 7] Generated Node #0,3: 21:[77, 10, 7] Operation: 50-43=7 Moving to Node #0,1 Current State: 21:[10, 43, 27], Operations: ['77-50=27'] Exploring Operation: 43-27=16, Resulting Numbers: [10, 16] Generated Node #0,1,0: 21:[10, 16] Operation: 43-27=16 Exploring Operation: 10+43=53, Resulting Numbers: [27, 53] Generated Node #0,1,1: 21:[27, 53] Operation: 10+43=53 Exploring Operation: 27-10=17, Resulting Numbers: [43, 17] Generated Node #0,1,2: 21:[43, 17] Operation: 27-10=17 Exploring Operation: 43-10=33, Resulting Numbers: [27, 33] Generated Node #0,1,3: 21:[27, 33] Operation: 43-10=33 Moving to Node #0,2 Current State: 21:[50, 10, 34], Operations: ['77-43=34'] Exploring Operation: 50/10=5, Resulting Numbers: [34, 5] Generated Node #0,2,0: 21:[34, 5] Operation: 50/10=5 Exploring Operation: 50-34=16, Resulting Numbers: [10, 16] Generated Node #0,2,1: 21:[10, 16] Operation: 50-34=16 Exploring Operation: 34-10=24, Resulting Numbers: [50, 24] Generated Node #0,2,2: 21:[50, 24] Operation: 34-10=24 Exploring Operation: 50-10=40, Resulting Numbers: [34, 40] Generated Node #0,2,3: 21:[34, 40] Operation: 50-10=40 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 21:[10, 16], Operations: ['77-43=34', '50-34=16'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,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:[34, 5], Operations: ['77-43=34', '50/10=5'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,21 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,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,2 Current State: 21:[50, 24], Operations: ['77-43=34', '34-10=24'] Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 50+24=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 50*24=1200, Resulting Numbers: [1200] 1200,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:[34, 40], Operations: ['77-43=34', '50-10=40'] Exploring Operation: 34*40=1360, Resulting Numbers: [1360] 1360,21 unequal: No Solution Exploring Operation: 34+40=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,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:[77, 10, 7], Operations: ['50-43=7'] Exploring Operation: 77/7=11, Resulting Numbers: [10, 11] Generated Node #0,3,0: 21:[10, 11] Operation: 77/7=11 Exploring Operation: 77-7=70, Resulting Numbers: [10, 70] Generated Node #0,3,1: 21:[10, 70] Operation: 77-7=70 Exploring Operation: 77-10=67, Resulting Numbers: [7, 67] Generated Node #0,3,2: 21:[7, 67] Operation: 77-10=67 Exploring Operation: 10-7=3, Resulting Numbers: [77, 3] Generated Node #0,3,3: 21:[77, 3] Operation: 10-7=3 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 21:[10, 11], Operations: ['50-43=7', '77/7=11'] Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,21 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[50, 77, 10, 43], Operations: [] Exploring Operation: 50-43=7, Resulting Numbers: [77, 10, 7] Generated Node #0,3: 21:[77, 10, 7] Operation: 50-43=7 Moving to Node #0,3 Current State: 21:[77, 10, 7], Operations: ['50-43=7'] Exploring Operation: 77/7=11, Resulting Numbers: [10, 11] Generated Node #0,3,0: 21:[10, 11] Operation: 77/7=11 Moving to Node #0,3,0 Current State: 21:[10, 11], Operations: ['50-43=7', '77/7=11'] Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 3, 23, 59, 16 ]
80
[ "23-16=7", "3*7=21", "59+21=80" ]
Current State: 80:[3, 23, 59, 16], Operations: [] Exploring Operation: 23-16=7, Resulting Numbers: [3, 59, 7] Generated Node #2: [3, 59, 7] from Operation: 23-16=7 Current State: 80:[3, 59, 7], Operations: ['23-16=7'] Exploring Operation: 3*7=21, Resulting Numbers: [59, 21] Generated Node #3: [59, 21] from Operation: 3*7=21 Current State: 80:[59, 21], Operations: ['23-16=7', '3*7=21'] Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[3, 23, 59, 16], Operations: [] Exploring Operation: 59-16=43, Resulting Numbers: [3, 23, 43] Generated Node #0,0: 80:[3, 23, 43] Operation: 59-16=43 Exploring Operation: 59+16=75, Resulting Numbers: [3, 23, 75] Generated Node #0,1: 80:[3, 23, 75] Operation: 59+16=75 Exploring Operation: 23+59=82, Resulting Numbers: [3, 16, 82] Generated Node #0,2: 80:[3, 16, 82] Operation: 23+59=82 Exploring Operation: 23-3=20, Resulting Numbers: [59, 16, 20] Generated Node #0,3: 80:[59, 16, 20] Operation: 23-3=20 Exploring Operation: 59-23=36, Resulting Numbers: [3, 16, 36] Generated Node #0,4: 80:[3, 16, 36] Operation: 59-23=36 Moving to Node #0,2 Current State: 80:[3, 16, 82], Operations: ['23+59=82'] Exploring Operation: 3+82=85, Resulting Numbers: [16, 85] Generated Node #0,2,0: 80:[16, 85] Operation: 3+82=85 Exploring Operation: 3+16=19, Resulting Numbers: [82, 19] Generated Node #0,2,1: 80:[82, 19] Operation: 3+16=19 Exploring Operation: 82-3=79, Resulting Numbers: [16, 79] Generated Node #0,2,2: 80:[16, 79] Operation: 82-3=79 Exploring Operation: 16-3=13, Resulting Numbers: [82, 13] Generated Node #0,2,3: 80:[82, 13] Operation: 16-3=13 Exploring Operation: 3*16=48, Resulting Numbers: [82, 48] Generated Node #0,2,4: 80:[82, 48] Operation: 3*16=48 Moving to Node #0,4 Current State: 80:[3, 16, 36], Operations: ['59-23=36'] Exploring Operation: 36/3=12, Resulting Numbers: [16, 12] Generated Node #0,4,0: 80:[16, 12] Operation: 36/3=12 Exploring Operation: 3+36=39, Resulting Numbers: [16, 39] Generated Node #0,4,1: 80:[16, 39] Operation: 3+36=39 Exploring Operation: 3+16=19, Resulting Numbers: [36, 19] Generated Node #0,4,2: 80:[36, 19] Operation: 3+16=19 Exploring Operation: 36-16=20, Resulting Numbers: [3, 20] Generated Node #0,4,3: 80:[3, 20] Operation: 36-16=20 Exploring Operation: 16-3=13, Resulting Numbers: [36, 13] Generated Node #0,4,4: 80:[36, 13] Operation: 16-3=13 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 80:[16, 39], Operations: ['59-23=36', '3+36=39'] Exploring Operation: 16+39=55, Resulting Numbers: [55] 55,80 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 16*39=624, Resulting Numbers: [624] 624,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:[3, 20], Operations: ['59-23=36', '36-16=20'] Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,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,0 Current State: 80:[16, 12], Operations: ['59-23=36', '36/3=12'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,80 unequal: No Solution Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,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:[36, 19], Operations: ['59-23=36', '3+16=19'] Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,80 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,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:[36, 13], Operations: ['59-23=36', '16-3=13'] Exploring Operation: 36+13=49, Resulting Numbers: [49] 49,80 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 36*13=468, Resulting Numbers: [468] 468,80 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: 80:[3, 23, 43], Operations: ['59-16=43'] Exploring Operation: 23-3=20, Resulting Numbers: [43, 20] Generated Node #0,0,0: 80:[43, 20] Operation: 23-3=20 Exploring Operation: 3+23=26, Resulting Numbers: [43, 26] Generated Node #0,0,1: 80:[43, 26] Operation: 3+23=26 Exploring Operation: 3+43=46, Resulting Numbers: [23, 46] Generated Node #0,0,2: 80:[23, 46] Operation: 3+43=46 Exploring Operation: 43-3=40, Resulting Numbers: [23, 40] Generated Node #0,0,3: 80:[23, 40] Operation: 43-3=40 Exploring Operation: 43-23=20, Resulting Numbers: [3, 20] Generated Node #0,0,4: 80:[3, 20] Operation: 43-23=20 Moving to Node #0,1 Current State: 80:[3, 23, 75], Operations: ['59+16=75'] Exploring Operation: 3+75=78, Resulting Numbers: [23, 78] Generated Node #0,1,0: 80:[23, 78] Operation: 3+75=78 Exploring Operation: 75/3=25, Resulting Numbers: [23, 25] Generated Node #0,1,1: 80:[23, 25] Operation: 75/3=25 Exploring Operation: 23-3=20, Resulting Numbers: [75, 20] Generated Node #0,1,2: 80:[75, 20] Operation: 23-3=20 Exploring Operation: 75-3=72, Resulting Numbers: [23, 72] Generated Node #0,1,3: 80:[23, 72] Operation: 75-3=72 Exploring Operation: 3+23=26, Resulting Numbers: [75, 26] Generated Node #0,1,4: 80:[75, 26] Operation: 3+23=26 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[23, 78], Operations: ['59+16=75', '3+75=78'] Exploring Operation: 78-23=55, Resulting Numbers: [55] 55,80 unequal: No Solution Exploring Operation: 23*78=1794, Resulting Numbers: [1794] 1794,80 unequal: No Solution Exploring Operation: 23+78=101, Resulting Numbers: [101] 101,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[75, 20], Operations: ['59+16=75', '23-3=20'] Exploring Operation: 75*20=1500, Resulting Numbers: [1500] 1500,80 unequal: No Solution Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,80 unequal: No Solution Exploring Operation: 75+20=95, Resulting Numbers: [95] 95,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[23, 25], Operations: ['59+16=75', '75/3=25'] Exploring Operation: 23*25=575, Resulting Numbers: [575] 575,80 unequal: No Solution Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,80 unequal: No Solution Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 80:[23, 72], Operations: ['59+16=75', '75-3=72'] Exploring Operation: 23*72=1656, Resulting Numbers: [1656] 1656,80 unequal: No Solution Exploring Operation: 23+72=95, Resulting Numbers: [95] 95,80 unequal: No Solution Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 80:[75, 26], Operations: ['59+16=75', '3+23=26'] Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,80 unequal: No Solution Exploring Operation: 75*26=1950, Resulting Numbers: [1950] 1950,80 unequal: No Solution Exploring Operation: 75+26=101, Resulting Numbers: [101] 101,80 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: 80:[59, 16, 20], Operations: ['23-3=20'] Exploring Operation: 59-16=43, Resulting Numbers: [20, 43] Generated Node #0,3,0: 80:[20, 43] Operation: 59-16=43 Exploring Operation: 59+16=75, Resulting Numbers: [20, 75] Generated Node #0,3,1: 80:[20, 75] Operation: 59+16=75 Exploring Operation: 59-20=39, Resulting Numbers: [16, 39] Generated Node #0,3,2: 80:[16, 39] Operation: 59-20=39 Exploring Operation: 20-16=4, Resulting Numbers: [59, 4] Generated Node #0,3,3: 80:[59, 4] Operation: 20-16=4 Exploring Operation: 59+20=79, Resulting Numbers: [16, 79] Generated Node #0,3,4: 80:[16, 79] Operation: 59+20=79 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 80:[16, 39], Operations: ['23-3=20', '59-20=39'] Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 16*39=624, Resulting Numbers: [624] 624,80 unequal: No Solution Exploring Operation: 16+39=55, Resulting Numbers: [55] 55,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,3,4 Current State: 80:[16, 79], Operations: ['23-3=20', '59+20=79'] Exploring Operation: 16*79=1264, Resulting Numbers: [1264] 1264,80 unequal: No Solution Exploring Operation: 16+79=95, Resulting Numbers: [95] 95,80 unequal: No Solution Exploring Operation: 79-16=63, Resulting Numbers: [63] 63,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,3,0 Current State: 80:[20, 43], Operations: ['23-3=20', '59-16=43'] Exploring Operation: 20+43=63, Resulting Numbers: [63] 63,80 unequal: No Solution Exploring Operation: 20*43=860, Resulting Numbers: [860] 860,80 unequal: No Solution Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,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,3,1 Current State: 80:[20, 75], Operations: ['23-3=20', '59+16=75'] Exploring Operation: 20+75=95, Resulting Numbers: [95] 95,80 unequal: No Solution Exploring Operation: 20*75=1500, Resulting Numbers: [1500] 1500,80 unequal: No Solution Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,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,3,3 Current State: 80:[59, 4], Operations: ['23-3=20', '20-16=4'] Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,80 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,80 unequal: No Solution Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,80 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: 80:[16, 79], Operations: ['23+59=82', '82-3=79'] Exploring Operation: 16*79=1264, Resulting Numbers: [1264] 1264,80 unequal: No Solution Exploring Operation: 79-16=63, Resulting Numbers: [63] 63,80 unequal: No Solution Exploring Operation: 16+79=95, Resulting Numbers: [95] 95,80 unequal: No Solution Moving to Node #0,0,4 Current State: 80:[3, 20], Operations: ['59-16=43', '43-23=20'] Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[43, 20], Operations: ['59-16=43', '23-3=20'] Exploring Operation: 43*20=860, Resulting Numbers: [860] 860,80 unequal: No Solution Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 43+20=63, Resulting Numbers: [63] 63,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[82, 19], Operations: ['23+59=82', '3+16=19'] Exploring Operation: 82+19=101, Resulting Numbers: [101] 101,80 unequal: No Solution Exploring Operation: 82*19=1558, Resulting Numbers: [1558] 1558,80 unequal: No Solution Exploring Operation: 82-19=63, Resulting Numbers: [63] 63,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[23, 40], Operations: ['59-16=43', '43-3=40'] Exploring Operation: 23+40=63, Resulting Numbers: [63] 63,80 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 23*40=920, Resulting Numbers: [920] 920,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[16, 85], Operations: ['23+59=82', '3+82=85'] Exploring Operation: 16+85=101, Resulting Numbers: [101] 101,80 unequal: No Solution Exploring Operation: 16*85=1360, Resulting Numbers: [1360] 1360,80 unequal: No Solution Exploring Operation: 85-16=69, Resulting Numbers: [69] 69,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[82, 13], Operations: ['23+59=82', '16-3=13'] Exploring Operation: 82-13=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 82+13=95, Resulting Numbers: [95] 95,80 unequal: No Solution Exploring Operation: 82*13=1066, Resulting Numbers: [1066] 1066,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[43, 26], Operations: ['59-16=43', '3+23=26'] Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 43+26=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 43*26=1118, Resulting Numbers: [1118] 1118,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[23, 46], Operations: ['59-16=43', '3+43=46'] Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 23*46=1058, Resulting Numbers: [1058] 1058,80 unequal: No Solution Exploring Operation: 23+46=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,80 unequal: No Solution Moving to Node #0,2,4 Current State: 80:[82, 48], Operations: ['23+59=82', '3*16=48'] Exploring Operation: 82+48=130, Resulting Numbers: [130] 130,80 unequal: No Solution Exploring Operation: 82-48=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 82*48=3936, Resulting Numbers: [3936] 3936,80 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 33, 2, 66, 51 ]
75
[ "33+66=99", "51+99=150", "150/2=75" ]
Current State: 75:[33, 2, 66, 51], Operations: [] Exploring Operation: 33+66=99, Resulting Numbers: [2, 51, 99] Generated Node #2: [2, 51, 99] from Operation: 33+66=99 Current State: 75:[2, 51, 99], Operations: ['33+66=99'] Exploring Operation: 51+99=150, Resulting Numbers: [2, 150] Generated Node #3: [2, 150] from Operation: 51+99=150 Current State: 75:[2, 150], Operations: ['33+66=99', '51+99=150'] Exploring Operation: 150/2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[33, 2, 66, 51], Operations: [] Exploring Operation: 66-51=15, Resulting Numbers: [33, 2, 15] Generated Node #0,0: 75:[33, 2, 15] Operation: 66-51=15 Exploring Operation: 33+51=84, Resulting Numbers: [2, 66, 84] Generated Node #0,1: 75:[2, 66, 84] Operation: 33+51=84 Exploring Operation: 51-33=18, Resulting Numbers: [2, 66, 18] Generated Node #0,2: 75:[2, 66, 18] Operation: 51-33=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[33, 2, 15], Operations: ['66-51=15'] Exploring Operation: 33-15=18, Resulting Numbers: [2, 18] Generated Node #0,0,0: 75:[2, 18] Operation: 33-15=18 Exploring Operation: 33-2=31, Resulting Numbers: [15, 31] Generated Node #0,0,1: 75:[15, 31] Operation: 33-2=31 Exploring Operation: 33*2=66, Resulting Numbers: [15, 66] Generated Node #0,0,2: 75:[15, 66] Operation: 33*2=66 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[2, 18], Operations: ['66-51=15', '33-15=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[15, 31], Operations: ['66-51=15', '33-2=31'] Exploring Operation: 15*31=465, Resulting Numbers: [465] 465,75 unequal: No Solution Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,75 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 75:[15, 66], Operations: ['66-51=15', '33*2=66'] Exploring Operation: 15*66=990, Resulting Numbers: [990] 990,75 unequal: No Solution Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,75 unequal: No Solution Exploring Operation: 15+66=81, Resulting Numbers: [81] 81,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[2, 66, 18], Operations: ['51-33=18'] Exploring Operation: 66+18=84, Resulting Numbers: [2, 84] Generated Node #0,2,0: 75:[2, 84] Operation: 66+18=84 Exploring Operation: 18-2=16, Resulting Numbers: [66, 16] Generated Node #0,2,1: 75:[66, 16] Operation: 18-2=16 Exploring Operation: 2+66=68, Resulting Numbers: [18, 68] Generated Node #0,2,2: 75:[18, 68] Operation: 2+66=68 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 75:[2, 84], Operations: ['51-33=18', '66+18=84'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,75 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,75 unequal: No Solution Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,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,2,1 Current State: 75:[66, 16], Operations: ['51-33=18', '18-2=16'] Exploring Operation: 66+16=82, Resulting Numbers: [82] 82,75 unequal: No Solution Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,75 unequal: No Solution Exploring Operation: 66*16=1056, Resulting Numbers: [1056] 1056,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,2,2 Current State: 75:[18, 68], Operations: ['51-33=18', '2+66=68'] Exploring Operation: 18*68=1224, Resulting Numbers: [1224] 1224,75 unequal: No Solution Exploring Operation: 18+68=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[2, 66, 84], Operations: ['33+51=84'] Exploring Operation: 84-66=18, Resulting Numbers: [2, 18] Generated Node #0,1,0: 75:[2, 18] Operation: 84-66=18 Exploring Operation: 2+66=68, Resulting Numbers: [84, 68] Generated Node #0,1,1: 75:[84, 68] Operation: 2+66=68 Exploring Operation: 84-2=82, Resulting Numbers: [66, 82] Generated Node #0,1,2: 75:[66, 82] Operation: 84-2=82 Moving to Node #0,1,0 Current State: 75:[2, 18], Operations: ['33+51=84', '84-66=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[84, 68], Operations: ['33+51=84', '2+66=68'] Exploring Operation: 84*68=5712, Resulting Numbers: [5712] 5712,75 unequal: No Solution Exploring Operation: 84-68=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 84+68=152, Resulting Numbers: [152] 152,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[66, 82], Operations: ['33+51=84', '84-2=82'] Exploring Operation: 66+82=148, Resulting Numbers: [148] 148,75 unequal: No Solution Exploring Operation: 82-66=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 66*82=5412, Resulting Numbers: [5412] 5412,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 82, 13, 3, 22 ]
65
[ "82+22=104", "13*3=39", "104-39=65" ]
Current State: 65:[82, 13, 3, 22], Operations: [] Exploring Operation: 82+22=104, Resulting Numbers: [13, 3, 104] Generated Node #2: [13, 3, 104] from Operation: 82+22=104 Current State: 65:[13, 3, 104], Operations: ['82+22=104'] Exploring Operation: 13*3=39, Resulting Numbers: [104, 39] Generated Node #3: [104, 39] from Operation: 13*3=39 Current State: 65:[104, 39], Operations: ['82+22=104', '13*3=39'] Exploring Operation: 104-39=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[82, 13, 3, 22], Operations: [] Exploring Operation: 3*22=66, Resulting Numbers: [82, 13, 66] Generated Node #0,0: 65:[82, 13, 66] Operation: 3*22=66 Exploring Operation: 82-13=69, Resulting Numbers: [3, 22, 69] Generated Node #0,1: 65:[3, 22, 69] Operation: 82-13=69 Exploring Operation: 82-22=60, Resulting Numbers: [13, 3, 60] Generated Node #0,2: 65:[13, 3, 60] Operation: 82-22=60 Exploring Operation: 82-3=79, Resulting Numbers: [13, 22, 79] Generated Node #0,3: 65:[13, 22, 79] Operation: 82-3=79 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[13, 3, 60], Operations: ['82-22=60'] Exploring Operation: 13-3=10, Resulting Numbers: [60, 10] Generated Node #0,2,0: 65:[60, 10] Operation: 13-3=10 Exploring Operation: 3+60=63, Resulting Numbers: [13, 63] Generated Node #0,2,1: 65:[13, 63] Operation: 3+60=63 Exploring Operation: 60/3=20, Resulting Numbers: [13, 20] Generated Node #0,2,2: 65:[13, 20] Operation: 60/3=20 Exploring Operation: 13+3=16, Resulting Numbers: [60, 16] Generated Node #0,2,3: 65:[60, 16] Operation: 13+3=16 Moving to Node #0,2,1 Current State: 65:[13, 63], Operations: ['82-22=60', '3+60=63'] Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,65 unequal: No Solution Exploring Operation: 13*63=819, Resulting Numbers: [819] 819,65 unequal: No Solution Exploring Operation: 13+63=76, Resulting Numbers: [76] 76,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[13, 20], Operations: ['82-22=60', '60/3=20'] Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 13+20=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 13*20=260, Resulting Numbers: [260] 260,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[60, 16], Operations: ['82-22=60', '13+3=16'] Exploring Operation: 60*16=960, Resulting Numbers: [960] 960,65 unequal: No Solution Exploring Operation: 60+16=76, Resulting Numbers: [76] 76,65 unequal: No Solution Exploring Operation: 60-16=44, Resulting Numbers: [44] 44,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[60, 10], Operations: ['82-22=60', '13-3=10'] Exploring Operation: 60*10=600, Resulting Numbers: [600] 600,65 unequal: No Solution Exploring Operation: 60/10=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 60+10=70, Resulting Numbers: [70] 70,65 unequal: No Solution Exploring Operation: 60-10=50, Resulting Numbers: [50] 50,65 unequal: No Solution No 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: 65:[3, 22, 69], Operations: ['82-13=69'] Exploring Operation: 69-3=66, Resulting Numbers: [22, 66] Generated Node #0,1,0: 65:[22, 66] Operation: 69-3=66 Exploring Operation: 3+22=25, Resulting Numbers: [69, 25] Generated Node #0,1,1: 65:[69, 25] Operation: 3+22=25 Exploring Operation: 22-3=19, Resulting Numbers: [69, 19] Generated Node #0,1,2: 65:[69, 19] Operation: 22-3=19 Exploring Operation: 3*22=66, Resulting Numbers: [69, 66] Generated Node #0,1,3: 65:[69, 66] Operation: 3*22=66 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 65:[69, 66], Operations: ['82-13=69', '3*22=66'] Exploring Operation: 69-66=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 69+66=135, Resulting Numbers: [135] 135,65 unequal: No Solution Exploring Operation: 69*66=4554, Resulting Numbers: [4554] 4554,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,1,0 Current State: 65:[22, 66], Operations: ['82-13=69', '69-3=66'] Exploring Operation: 66-22=44, Resulting Numbers: [44] 44,65 unequal: No Solution Exploring Operation: 66/22=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 22+66=88, Resulting Numbers: [88] 88,65 unequal: No Solution Exploring Operation: 22*66=1452, Resulting Numbers: [1452] 1452,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,1,2 Current State: 65:[69, 19], Operations: ['82-13=69', '22-3=19'] Exploring Operation: 69+19=88, Resulting Numbers: [88] 88,65 unequal: No Solution Exploring Operation: 69-19=50, Resulting Numbers: [50] 50,65 unequal: No Solution Exploring Operation: 69*19=1311, Resulting Numbers: [1311] 1311,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,1,1 Current State: 65:[69, 25], Operations: ['82-13=69', '3+22=25'] Exploring Operation: 69-25=44, Resulting Numbers: [44] 44,65 unequal: No Solution Exploring Operation: 69*25=1725, Resulting Numbers: [1725] 1725,65 unequal: No Solution Exploring Operation: 69+25=94, Resulting Numbers: [94] 94,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[82, 13, 66], Operations: ['3*22=66'] Exploring Operation: 66-13=53, Resulting Numbers: [82, 53] Generated Node #0,0,0: 65:[82, 53] Operation: 66-13=53 Exploring Operation: 82-66=16, Resulting Numbers: [13, 16] Generated Node #0,0,1: 65:[13, 16] Operation: 82-66=16 Exploring Operation: 82-13=69, Resulting Numbers: [66, 69] Generated Node #0,0,2: 65:[66, 69] Operation: 82-13=69 Exploring Operation: 82+13=95, Resulting Numbers: [66, 95] Generated Node #0,0,3: 65:[66, 95] Operation: 82+13=95 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 65:[13, 16], Operations: ['3*22=66', '82-66=16'] Exploring Operation: 13*16=208, Resulting Numbers: [208] 208,65 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,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,0,2 Current State: 65:[66, 69], Operations: ['3*22=66', '82-13=69'] Exploring Operation: 69-66=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 66*69=4554, Resulting Numbers: [4554] 4554,65 unequal: No Solution Exploring Operation: 66+69=135, Resulting Numbers: [135] 135,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,0,0 Current State: 65:[82, 53], Operations: ['3*22=66', '66-13=53'] Exploring Operation: 82-53=29, Resulting Numbers: [29] 29,65 unequal: No Solution Exploring Operation: 82+53=135, Resulting Numbers: [135] 135,65 unequal: No Solution Exploring Operation: 82*53=4346, Resulting Numbers: [4346] 4346,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,0,3 Current State: 65:[66, 95], Operations: ['3*22=66', '82+13=95'] Exploring Operation: 66*95=6270, Resulting Numbers: [6270] 6270,65 unequal: No Solution Exploring Operation: 66+95=161, Resulting Numbers: [161] 161,65 unequal: No Solution Exploring Operation: 95-66=29, Resulting Numbers: [29] 29,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[13, 22, 79], Operations: ['82-3=79'] Exploring Operation: 13+22=35, Resulting Numbers: [79, 35] Generated Node #0,3,0: 65:[79, 35] Operation: 13+22=35 Exploring Operation: 22-13=9, Resulting Numbers: [79, 9] Generated Node #0,3,1: 65:[79, 9] Operation: 22-13=9 Exploring Operation: 79-13=66, Resulting Numbers: [22, 66] Generated Node #0,3,2: 65:[22, 66] Operation: 79-13=66 Exploring Operation: 79-22=57, Resulting Numbers: [13, 57] Generated Node #0,3,3: 65:[13, 57] Operation: 79-22=57 Moving to Node #0,3,3 Current State: 65:[13, 57], Operations: ['82-3=79', '79-22=57'] Exploring Operation: 13+57=70, Resulting Numbers: [70] 70,65 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,65 unequal: No Solution Exploring Operation: 13*57=741, Resulting Numbers: [741] 741,65 unequal: No Solution Moving to Node #0,3,2 Current State: 65:[22, 66], Operations: ['82-3=79', '79-13=66'] Exploring Operation: 66/22=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 22*66=1452, Resulting Numbers: [1452] 1452,65 unequal: No Solution Exploring Operation: 22+66=88, Resulting Numbers: [88] 88,65 unequal: No Solution Exploring Operation: 66-22=44, Resulting Numbers: [44] 44,65 unequal: No Solution Moving to Node #0,3,1 Current State: 65:[79, 9], Operations: ['82-3=79', '22-13=9'] Exploring Operation: 79*9=711, Resulting Numbers: [711] 711,65 unequal: No Solution Exploring Operation: 79+9=88, Resulting Numbers: [88] 88,65 unequal: No Solution Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,65 unequal: No Solution Moving to Node #0,3,0 Current State: 65:[79, 35], Operations: ['82-3=79', '13+22=35'] Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,65 unequal: No Solution Exploring Operation: 79*35=2765, Resulting Numbers: [2765] 2765,65 unequal: No Solution Exploring Operation: 79+35=114, Resulting Numbers: [114] 114,65 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
[ 92, 29, 61, 39 ]
41
[ "92-29=63", "61-39=22", "63-22=41" ]
Current State: 41:[92, 29, 61, 39], Operations: [] Exploring Operation: 92-29=63, Resulting Numbers: [61, 39, 63] Generated Node #2: [61, 39, 63] from Operation: 92-29=63 Current State: 41:[61, 39, 63], Operations: ['92-29=63'] Exploring Operation: 61-39=22, Resulting Numbers: [63, 22] Generated Node #3: [63, 22] from Operation: 61-39=22 Current State: 41:[63, 22], Operations: ['92-29=63', '61-39=22'] Exploring Operation: 63-22=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[92, 29, 61, 39], Operations: [] Exploring Operation: 92-29=63, Resulting Numbers: [61, 39, 63] Generated Node #0,0: 41:[61, 39, 63] Operation: 92-29=63 Exploring Operation: 92-61=31, Resulting Numbers: [29, 39, 31] Generated Node #0,1: 41:[29, 39, 31] Operation: 92-61=31 Exploring Operation: 92-39=53, Resulting Numbers: [29, 61, 53] Generated Node #0,2: 41:[29, 61, 53] Operation: 92-39=53 Moving to Node #0,1 Current State: 41:[29, 39, 31], Operations: ['92-61=31'] Exploring Operation: 39-29=10, Resulting Numbers: [31, 10] Generated Node #0,1,0: 41:[31, 10] Operation: 39-29=10 Exploring Operation: 29+39=68, Resulting Numbers: [31, 68] Generated Node #0,1,1: 41:[31, 68] Operation: 29+39=68 Exploring Operation: 29+31=60, Resulting Numbers: [39, 60] Generated Node #0,1,2: 41:[39, 60] Operation: 29+31=60 Moving to Node #0,0 Current State: 41:[61, 39, 63], Operations: ['92-29=63'] Exploring Operation: 63-61=2, Resulting Numbers: [39, 2] Generated Node #0,0,0: 41:[39, 2] Operation: 63-61=2 Exploring Operation: 63-39=24, Resulting Numbers: [61, 24] Generated Node #0,0,1: 41:[61, 24] Operation: 63-39=24 Exploring Operation: 61-39=22, Resulting Numbers: [63, 22] Generated Node #0,0,2: 41:[63, 22] Operation: 61-39=22 Moving to Node #0,2 Current State: 41:[29, 61, 53], Operations: ['92-39=53'] Exploring Operation: 61-29=32, Resulting Numbers: [53, 32] Generated Node #0,2,0: 41:[53, 32] Operation: 61-29=32 Exploring Operation: 61-53=8, Resulting Numbers: [29, 8] Generated Node #0,2,1: 41:[29, 8] Operation: 61-53=8 Exploring Operation: 53-29=24, Resulting Numbers: [61, 24] Generated Node #0,2,2: 41:[61, 24] Operation: 53-29=24 Moving to Node #0,1,2 Current State: 41:[39, 60], Operations: ['92-61=31', '29+31=60'] Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 39*60=2340, Resulting Numbers: [2340] 2340,41 unequal: No Solution Exploring Operation: 39+60=99, Resulting Numbers: [99] 99,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[53, 32], Operations: ['92-39=53', '61-29=32'] Exploring Operation: 53*32=1696, Resulting Numbers: [1696] 1696,41 unequal: No Solution Exploring Operation: 53+32=85, Resulting Numbers: [85] 85,41 unequal: No Solution Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[31, 68], Operations: ['92-61=31', '29+39=68'] Exploring Operation: 31+68=99, Resulting Numbers: [99] 99,41 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 31*68=2108, Resulting Numbers: [2108] 2108,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[61, 24], Operations: ['92-29=63', '63-39=24'] Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 61+24=85, Resulting Numbers: [85] 85,41 unequal: No Solution Exploring Operation: 61*24=1464, Resulting Numbers: [1464] 1464,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[61, 24], Operations: ['92-39=53', '53-29=24'] Exploring Operation: 61*24=1464, Resulting Numbers: [1464] 1464,41 unequal: No Solution Exploring Operation: 61+24=85, Resulting Numbers: [85] 85,41 unequal: No Solution Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[31, 10], Operations: ['92-61=31', '39-29=10'] Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 31+10=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[92, 29, 61, 39], Operations: [] Exploring Operation: 92-61=31, Resulting Numbers: [29, 39, 31] Generated Node #0,1: 41:[29, 39, 31] Operation: 92-61=31 Moving to Node #0,1 Current State: 41:[29, 39, 31], Operations: ['92-61=31'] Exploring Operation: 39-29=10, Resulting Numbers: [31, 10] Generated Node #0,1,0: 41:[31, 10] Operation: 39-29=10 Moving to Node #0,1,0 Current State: 41:[31, 10], Operations: ['92-61=31', '39-29=10'] Exploring Operation: 31+10=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
0.971354
hs_3
sum_heuristic
[ 71, 77, 8, 89 ]
25
[ "89-77=12", "8*12=96", "96-71=25" ]
Current State: 25:[71, 77, 8, 89], Operations: [] Exploring Operation: 89-77=12, Resulting Numbers: [71, 8, 12] Generated Node #2: [71, 8, 12] from Operation: 89-77=12 Current State: 25:[71, 8, 12], Operations: ['89-77=12'] Exploring Operation: 8*12=96, Resulting Numbers: [71, 96] Generated Node #3: [71, 96] from Operation: 8*12=96 Current State: 25:[71, 96], Operations: ['89-77=12', '8*12=96'] Exploring Operation: 96-71=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[71, 77, 8, 89], Operations: [] Exploring Operation: 77-71=6, Resulting Numbers: [8, 89, 6] Generated Node #0,0: 25:[8, 89, 6] Operation: 77-71=6 Exploring Operation: 71-8=63, Resulting Numbers: [77, 89, 63] Generated Node #0,1: 25:[77, 89, 63] Operation: 71-8=63 Exploring Operation: 89-77=12, Resulting Numbers: [71, 8, 12] Generated Node #0,2: 25:[71, 8, 12] Operation: 89-77=12 Exploring Operation: 77-8=69, Resulting Numbers: [71, 89, 69] Generated Node #0,3: 25:[71, 89, 69] Operation: 77-8=69 Exploring Operation: 89-71=18, Resulting Numbers: [77, 8, 18] Generated Node #0,4: 25:[77, 8, 18] Operation: 89-71=18 Moving to Node #0,2 Current State: 25:[71, 8, 12], Operations: ['89-77=12'] Exploring Operation: 12-8=4, Resulting Numbers: [71, 4] Generated Node #0,2,0: 25:[71, 4] Operation: 12-8=4 Exploring Operation: 71+8=79, Resulting Numbers: [12, 79] Generated Node #0,2,1: 25:[12, 79] Operation: 71+8=79 Exploring Operation: 71-8=63, Resulting Numbers: [12, 63] Generated Node #0,2,2: 25:[12, 63] Operation: 71-8=63 Exploring Operation: 71-12=59, Resulting Numbers: [8, 59] Generated Node #0,2,3: 25:[8, 59] Operation: 71-12=59 Exploring Operation: 8+12=20, Resulting Numbers: [71, 20] Generated Node #0,2,4: 25:[71, 20] Operation: 8+12=20 Moving to Node #0,4 Current State: 25:[77, 8, 18], Operations: ['89-71=18'] Exploring Operation: 77+8=85, Resulting Numbers: [18, 85] Generated Node #0,4,0: 25:[18, 85] Operation: 77+8=85 Exploring Operation: 8+18=26, Resulting Numbers: [77, 26] Generated Node #0,4,1: 25:[77, 26] Operation: 8+18=26 Exploring Operation: 18-8=10, Resulting Numbers: [77, 10] Generated Node #0,4,2: 25:[77, 10] Operation: 18-8=10 Exploring Operation: 77-18=59, Resulting Numbers: [8, 59] Generated Node #0,4,3: 25:[8, 59] Operation: 77-18=59 Exploring Operation: 77-8=69, Resulting Numbers: [18, 69] Generated Node #0,4,4: 25:[18, 69] Operation: 77-8=69 Moving to Node #0,0 Current State: 25:[8, 89, 6], Operations: ['77-71=6'] Exploring Operation: 89-6=83, Resulting Numbers: [8, 83] Generated Node #0,0,0: 25:[8, 83] Operation: 89-6=83 Exploring Operation: 8+89=97, Resulting Numbers: [6, 97] Generated Node #0,0,1: 25:[6, 97] Operation: 8+89=97 Exploring Operation: 8-6=2, Resulting Numbers: [89, 2] Generated Node #0,0,2: 25:[89, 2] Operation: 8-6=2 Exploring Operation: 89-8=81, Resulting Numbers: [6, 81] Generated Node #0,0,3: 25:[6, 81] Operation: 89-8=81 Exploring Operation: 8+6=14, Resulting Numbers: [89, 14] Generated Node #0,0,4: 25:[89, 14] Operation: 8+6=14 Moving to Node #0,1 Current State: 25:[77, 89, 63], Operations: ['71-8=63'] Exploring Operation: 89-77=12, Resulting Numbers: [63, 12] Generated Node #0,1,0: 25:[63, 12] Operation: 89-77=12 Exploring Operation: 77-63=14, Resulting Numbers: [89, 14] Generated Node #0,1,1: 25:[89, 14] Operation: 77-63=14 Exploring Operation: 89-63=26, Resulting Numbers: [77, 26] Generated Node #0,1,2: 25:[77, 26] Operation: 89-63=26 Exploring Operation: 77+89=166, Resulting Numbers: [63, 166] Generated Node #0,1,3: 25:[63, 166] Operation: 77+89=166 Exploring Operation: 77+63=140, Resulting Numbers: [89, 140] Generated Node #0,1,4: 25:[89, 140] Operation: 77+63=140 Moving to Node #0,3 Current State: 25:[71, 89, 69], Operations: ['77-8=69'] Exploring Operation: 71-69=2, Resulting Numbers: [89, 2] Generated Node #0,3,0: 25:[89, 2] Operation: 71-69=2 Exploring Operation: 89-71=18, Resulting Numbers: [69, 18] Generated Node #0,3,1: 25:[69, 18] Operation: 89-71=18 Exploring Operation: 89-69=20, Resulting Numbers: [71, 20] Generated Node #0,3,2: 25:[71, 20] Operation: 89-69=20 Exploring Operation: 71+69=140, Resulting Numbers: [89, 140] Generated Node #0,3,3: 25:[89, 140] Operation: 71+69=140 Exploring Operation: 71+89=160, Resulting Numbers: [69, 160] Generated Node #0,3,4: 25:[69, 160] Operation: 71+89=160 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[69, 18], Operations: ['77-8=69', '89-71=18'] Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 69*18=1242, Resulting Numbers: [1242] 1242,25 unequal: No Solution Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,25 unequal: No Solution No 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: 25:[71, 20], Operations: ['77-8=69', '89-69=20'] Exploring Operation: 71+20=91, Resulting Numbers: [91] 91,25 unequal: No Solution Exploring Operation: 71-20=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 71*20=1420, Resulting Numbers: [1420] 1420,25 unequal: No Solution No 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: 25:[89, 2], Operations: ['77-8=69', '71-69=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,25 unequal: No Solution Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,25 unequal: No Solution Exploring Operation: 89*2=178, Resulting Numbers: [178] 178,25 unequal: No Solution No 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: 25:[89, 140], Operations: ['77-8=69', '71+69=140'] Exploring Operation: 89+140=229, Resulting Numbers: [229] 229,25 unequal: No Solution Exploring Operation: 89*140=12460, Resulting Numbers: [12460] 12460,25 unequal: No Solution Exploring Operation: 140-89=51, Resulting Numbers: [51] 51,25 unequal: No Solution No 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: 25:[69, 160], Operations: ['77-8=69', '71+89=160'] Exploring Operation: 69*160=11040, Resulting Numbers: [11040] 11040,25 unequal: No Solution Exploring Operation: 69+160=229, Resulting Numbers: [229] 229,25 unequal: No Solution Exploring Operation: 160-69=91, Resulting Numbers: [91] 91,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 25:[8, 59], Operations: ['89-77=12', '71-12=59'] Exploring Operation: 8+59=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 8*59=472, Resulting Numbers: [472] 472,25 unequal: No Solution Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,25 unequal: No Solution Moving to Node #0,4,3 Current State: 25:[8, 59], Operations: ['89-71=18', '77-18=59'] Exploring Operation: 8+59=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 8*59=472, Resulting Numbers: [472] 472,25 unequal: No Solution Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[12, 63], Operations: ['89-77=12', '71-8=63'] Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 12+63=75, Resulting Numbers: [75] 75,25 unequal: No Solution Exploring Operation: 12*63=756, Resulting Numbers: [756] 756,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[63, 12], Operations: ['71-8=63', '89-77=12'] Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,25 unequal: No Solution Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[71, 4], Operations: ['89-77=12', '12-8=4'] Exploring Operation: 71+4=75, Resulting Numbers: [75] 75,25 unequal: No Solution Exploring Operation: 71*4=284, Resulting Numbers: [284] 284,25 unequal: No Solution Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,25 unequal: No Solution Moving to Node #0,4,4 Current State: 25:[18, 69], Operations: ['89-71=18', '77-8=69'] Exploring Operation: 18+69=87, Resulting Numbers: [87] 87,25 unequal: No Solution Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 18*69=1242, Resulting Numbers: [1242] 1242,25 unequal: No Solution Moving to Node #0,2,4 Current State: 25:[71, 20], Operations: ['89-77=12', '8+12=20'] Exploring Operation: 71*20=1420, Resulting Numbers: [1420] 1420,25 unequal: No Solution Exploring Operation: 71-20=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 71+20=91, Resulting Numbers: [91] 91,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[77, 26], Operations: ['71-8=63', '89-63=26'] Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 77+26=103, Resulting Numbers: [103] 103,25 unequal: No Solution Exploring Operation: 77*26=2002, Resulting Numbers: [2002] 2002,25 unequal: No Solution Moving to Node #0,4,1 Current State: 25:[77, 26], Operations: ['89-71=18', '8+18=26'] Exploring Operation: 77*26=2002, Resulting Numbers: [2002] 2002,25 unequal: No Solution Exploring Operation: 77+26=103, Resulting Numbers: [103] 103,25 unequal: No Solution Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[6, 81], Operations: ['77-71=6', '89-8=81'] Exploring Operation: 6*81=486, Resulting Numbers: [486] 486,25 unequal: No Solution Exploring Operation: 6+81=87, Resulting Numbers: [87] 87,25 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,25 unequal: No Solution Moving to Node #0,4,2 Current State: 25:[77, 10], Operations: ['89-71=18', '18-8=10'] Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 77+10=87, Resulting Numbers: [87] 87,25 unequal: No Solution Exploring Operation: 77*10=770, Resulting Numbers: [770] 770,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[8, 83], Operations: ['77-71=6', '89-6=83'] Exploring Operation: 8*83=664, Resulting Numbers: [664] 664,25 unequal: No Solution Exploring Operation: 8+83=91, Resulting Numbers: [91] 91,25 unequal: No Solution Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[12, 79], Operations: ['89-77=12', '71+8=79'] Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 12+79=91, Resulting Numbers: [91] 91,25 unequal: No Solution Exploring Operation: 12*79=948, Resulting Numbers: [948] 948,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[89, 2], Operations: ['77-71=6', '8-6=2'] Exploring Operation: 89*2=178, Resulting Numbers: [178] 178,25 unequal: No Solution Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,25 unequal: No Solution Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,25 unequal: No Solution Moving to Node #0,4,0 Current State: 25:[18, 85], Operations: ['89-71=18', '77+8=85'] Exploring Operation: 18+85=103, Resulting Numbers: [103] 103,25 unequal: No Solution Exploring Operation: 18*85=1530, Resulting Numbers: [1530] 1530,25 unequal: No Solution Exploring Operation: 85-18=67, Resulting Numbers: [67] 67,25 unequal: No Solution Moving to Node #0,0,4 Current State: 25:[89, 14], Operations: ['77-71=6', '8+6=14'] Exploring Operation: 89*14=1246, Resulting Numbers: [1246] 1246,25 unequal: No Solution Exploring Operation: 89-14=75, Resulting Numbers: [75] 75,25 unequal: No Solution Exploring Operation: 89+14=103, Resulting Numbers: [103] 103,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[89, 14], Operations: ['71-8=63', '77-63=14'] Exploring Operation: 89-14=75, Resulting Numbers: [75] 75,25 unequal: No Solution Exploring Operation: 89*14=1246, Resulting Numbers: [1246] 1246,25 unequal: No Solution Exploring Operation: 89+14=103, Resulting Numbers: [103] 103,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[6, 97], Operations: ['77-71=6', '8+89=97'] Exploring Operation: 6+97=103, Resulting Numbers: [103] 103,25 unequal: No Solution Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,25 unequal: No Solution Exploring Operation: 6*97=582, Resulting Numbers: [582] 582,25 unequal: No Solution Moving to Node #0,1,3 Current State: 25:[63, 166], Operations: ['71-8=63', '77+89=166'] Exploring Operation: 63*166=10458, Resulting Numbers: [10458] 10458,25 unequal: No Solution Exploring Operation: 166-63=103, Resulting Numbers: [103] 103,25 unequal: No Solution Exploring Operation: 63+166=229, Resulting Numbers: [229] 229,25 unequal: No Solution Moving to Node #0,1,4 Current State: 25:[89, 140], Operations: ['71-8=63', '77+63=140'] Exploring Operation: 89*140=12460, Resulting Numbers: [12460] 12460,25 unequal: No Solution Exploring Operation: 89+140=229, Resulting Numbers: [229] 229,25 unequal: No Solution Exploring Operation: 140-89=51, Resulting Numbers: [51] 51,25 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 21, 46, 25, 76 ]
34
[ "21+46=67", "25+76=101", "101-67=34" ]
Current State: 34:[21, 46, 25, 76], Operations: [] Exploring Operation: 21+46=67, Resulting Numbers: [25, 76, 67] Generated Node #2: [25, 76, 67] from Operation: 21+46=67 Current State: 34:[25, 76, 67], Operations: ['21+46=67'] Exploring Operation: 25+76=101, Resulting Numbers: [67, 101] Generated Node #3: [67, 101] from Operation: 25+76=101 Current State: 34:[67, 101], Operations: ['21+46=67', '25+76=101'] Exploring Operation: 101-67=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[21, 46, 25, 76], Operations: [] Exploring Operation: 76-46=30, Resulting Numbers: [21, 25, 30] Generated Node #0,0: 34:[21, 25, 30] Operation: 76-46=30 Moving to Node #0,0 Current State: 34:[21, 25, 30], Operations: ['76-46=30'] Exploring Operation: 25-21=4, Resulting Numbers: [30, 4] Generated Node #0,0,0: 34:[30, 4] Operation: 25-21=4 Moving to Node #0,0,0 Current State: 34:[30, 4], Operations: ['76-46=30', '25-21=4'] Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[21, 46, 25, 76], Operations: [] Exploring Operation: 76-46=30, Resulting Numbers: [21, 25, 30] Generated Node #0,0: 34:[21, 25, 30] Operation: 76-46=30 Moving to Node #0,0 Current State: 34:[21, 25, 30], Operations: ['76-46=30'] Exploring Operation: 25-21=4, Resulting Numbers: [30, 4] Generated Node #0,0,0: 34:[30, 4] Operation: 25-21=4 Moving to Node #0,0,0 Current State: 34:[30, 4], Operations: ['76-46=30', '25-21=4'] Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 21, 20, 1, 7 ]
23
[ "21*1=21", "21/7=3", "20+3=23" ]
Current State: 23:[21, 20, 1, 7], Operations: [] Exploring Operation: 21*1=21, Resulting Numbers: [20, 7, 21] Generated Node #2: [20, 7, 21] from Operation: 21*1=21 Current State: 23:[20, 7, 21], Operations: ['21*1=21'] Exploring Operation: 21/7=3, Resulting Numbers: [20, 3] Generated Node #3: [20, 3] from Operation: 21/7=3 Current State: 23:[20, 3], Operations: ['21*1=21', '21/7=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[21, 20, 1, 7], Operations: [] Exploring Operation: 21+1=22, Resulting Numbers: [20, 7, 22] Generated Node #0,0: 23:[20, 7, 22] Operation: 21+1=22 Moving to Node #0,0 Current State: 23:[20, 7, 22], Operations: ['21+1=22'] Exploring Operation: 20+7=27, Resulting Numbers: [22, 27] Generated Node #0,0,0: 23:[22, 27] Operation: 20+7=27 Moving to Node #0,0,0 Current State: 23:[22, 27], Operations: ['21+1=22', '20+7=27'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,23 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 1, 5, 4, 23 ]
68
[ "1+5=6", "23-6=17", "4*17=68" ]
Current State: 68:[1, 5, 4, 23], Operations: [] Exploring Operation: 1+5=6, Resulting Numbers: [4, 23, 6] Generated Node #2: [4, 23, 6] from Operation: 1+5=6 Current State: 68:[4, 23, 6], Operations: ['1+5=6'] Exploring Operation: 23-6=17, Resulting Numbers: [4, 17] Generated Node #3: [4, 17] from Operation: 23-6=17 Current State: 68:[4, 17], Operations: ['1+5=6', '23-6=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[1, 5, 4, 23], Operations: [] Exploring Operation: 23-5=18, Resulting Numbers: [1, 4, 18] Generated Node #0,0: 68:[1, 4, 18] Operation: 23-5=18 Exploring Operation: 5-1=4, Resulting Numbers: [4, 23, 4] Generated Node #0,1: 68:[4, 23, 4] Operation: 5-1=4 Exploring Operation: 23-4=19, Resulting Numbers: [1, 5, 19] Generated Node #0,2: 68:[1, 5, 19] Operation: 23-4=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[1, 4, 18], Operations: ['23-5=18'] Exploring Operation: 18-1=17, Resulting Numbers: [4, 17] Generated Node #0,0,0: 68:[4, 17] Operation: 18-1=17 Exploring Operation: 4/1=4, Resulting Numbers: [18, 4] Generated Node #0,0,1: 68:[18, 4] Operation: 4/1=4 Exploring Operation: 1*4=4, Resulting Numbers: [18, 4] Generated Node #0,0,2: 68:[18, 4] Operation: 1*4=4 Moving to Node #0,0,0 Current State: 68:[4, 17], Operations: ['23-5=18', '18-1=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[1, 5, 4, 23], Operations: [] Exploring Operation: 23-5=18, Resulting Numbers: [1, 4, 18] Generated Node #0,0: 68:[1, 4, 18] Operation: 23-5=18 Moving to Node #0,0 Current State: 68:[1, 4, 18], Operations: ['23-5=18'] Exploring Operation: 18-1=17, Resulting Numbers: [4, 17] Generated Node #0,0,0: 68:[4, 17] Operation: 18-1=17 Moving to Node #0,0,0 Current State: 68:[4, 17], Operations: ['23-5=18', '18-1=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 79, 52, 92, 91 ]
27
[ "79-52=27", "92-91=1", "27*1=27" ]
Current State: 27:[79, 52, 92, 91], Operations: [] Exploring Operation: 79-52=27, Resulting Numbers: [92, 91, 27] Generated Node #2: [92, 91, 27] from Operation: 79-52=27 Current State: 27:[92, 91, 27], Operations: ['79-52=27'] Exploring Operation: 92-91=1, Resulting Numbers: [27, 1] Generated Node #3: [27, 1] from Operation: 92-91=1 Current State: 27:[27, 1], Operations: ['79-52=27', '92-91=1'] Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[79, 52, 92, 91], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [52, 91, 13] Generated Node #0,0: 27:[52, 91, 13] Operation: 92-79=13 Exploring Operation: 92-91=1, Resulting Numbers: [79, 52, 1] Generated Node #0,1: 27:[79, 52, 1] Operation: 92-91=1 Exploring Operation: 91-79=12, Resulting Numbers: [52, 92, 12] Generated Node #0,2: 27:[52, 92, 12] Operation: 91-79=12 Exploring Operation: 79-52=27, Resulting Numbers: [92, 91, 27] Generated Node #0,3: 27:[92, 91, 27] Operation: 79-52=27 Moving to Node #0,1 Current State: 27:[79, 52, 1], Operations: ['92-91=1'] Exploring Operation: 79*1=79, Resulting Numbers: [52, 79] Generated Node #0,1,0: 27:[52, 79] Operation: 79*1=79 Exploring Operation: 52-1=51, Resulting Numbers: [79, 51] Generated Node #0,1,1: 27:[79, 51] Operation: 52-1=51 Exploring Operation: 79-1=78, Resulting Numbers: [52, 78] Generated Node #0,1,2: 27:[52, 78] Operation: 79-1=78 Exploring Operation: 79-52=27, Resulting Numbers: [1, 27] Generated Node #0,1,3: 27:[1, 27] Operation: 79-52=27 Moving to Node #0,2 Current State: 27:[52, 92, 12], Operations: ['91-79=12'] Exploring Operation: 92-52=40, Resulting Numbers: [12, 40] Generated Node #0,2,0: 27:[12, 40] Operation: 92-52=40 Exploring Operation: 52-12=40, Resulting Numbers: [92, 40] Generated Node #0,2,1: 27:[92, 40] Operation: 52-12=40 Exploring Operation: 92-12=80, Resulting Numbers: [52, 80] Generated Node #0,2,2: 27:[52, 80] Operation: 92-12=80 Exploring Operation: 52+12=64, Resulting Numbers: [92, 64] Generated Node #0,2,3: 27:[92, 64] Operation: 52+12=64 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[12, 40], Operations: ['91-79=12', '92-52=40'] Exploring Operation: 12+40=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 12*40=480, Resulting Numbers: [480] 480,27 unequal: No Solution Exploring Operation: 40-12=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,2,1 Current State: 27:[92, 40], Operations: ['91-79=12', '52-12=40'] Exploring Operation: 92+40=132, Resulting Numbers: [132] 132,27 unequal: No Solution Exploring Operation: 92-40=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 92*40=3680, Resulting Numbers: [3680] 3680,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,2,2 Current State: 27:[52, 80], Operations: ['91-79=12', '92-12=80'] Exploring Operation: 52+80=132, Resulting Numbers: [132] 132,27 unequal: No Solution Exploring Operation: 80-52=28, Resulting Numbers: [28] 28,27 unequal: No Solution Exploring Operation: 52*80=4160, Resulting Numbers: [4160] 4160,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,2,3 Current State: 27:[92, 64], Operations: ['91-79=12', '52+12=64'] Exploring Operation: 92*64=5888, Resulting Numbers: [5888] 5888,27 unequal: No Solution Exploring Operation: 92+64=156, Resulting Numbers: [156] 156,27 unequal: No Solution Exploring Operation: 92-64=28, Resulting Numbers: [28] 28,27 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: 27:[52, 91, 13], Operations: ['92-79=13'] Exploring Operation: 52/13=4, Resulting Numbers: [91, 4] Generated Node #0,0,0: 27:[91, 4] Operation: 52/13=4 Exploring Operation: 52-13=39, Resulting Numbers: [91, 39] Generated Node #0,0,1: 27:[91, 39] Operation: 52-13=39 Exploring Operation: 91/13=7, Resulting Numbers: [52, 7] Generated Node #0,0,2: 27:[52, 7] Operation: 91/13=7 Exploring Operation: 91-52=39, Resulting Numbers: [13, 39] Generated Node #0,0,3: 27:[13, 39] Operation: 91-52=39 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 27:[13, 39], Operations: ['92-79=13', '91-52=39'] Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 13*39=507, Resulting Numbers: [507] 507,27 unequal: No Solution Exploring Operation: 13+39=52, Resulting Numbers: [52] 52,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,0,2 Current State: 27:[52, 7], Operations: ['92-79=13', '91/13=7'] Exploring Operation: 52*7=364, Resulting Numbers: [364] 364,27 unequal: No Solution Exploring Operation: 52+7=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,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,0,0 Current State: 27:[91, 4], Operations: ['92-79=13', '52/13=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,27 unequal: No Solution Exploring Operation: 91*4=364, Resulting Numbers: [364] 364,27 unequal: No Solution Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,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,0,1 Current State: 27:[91, 39], Operations: ['92-79=13', '52-13=39'] Exploring Operation: 91-39=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 91+39=130, Resulting Numbers: [130] 130,27 unequal: No Solution Exploring Operation: 91*39=3549, Resulting Numbers: [3549] 3549,27 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: 27:[92, 91, 27], Operations: ['79-52=27'] Exploring Operation: 92+91=183, Resulting Numbers: [27, 183] Generated Node #0,3,0: 27:[27, 183] Operation: 92+91=183 Exploring Operation: 91-27=64, Resulting Numbers: [92, 64] Generated Node #0,3,1: 27:[92, 64] Operation: 91-27=64 Exploring Operation: 92-27=65, Resulting Numbers: [91, 65] Generated Node #0,3,2: 27:[91, 65] Operation: 92-27=65 Exploring Operation: 92-91=1, Resulting Numbers: [27, 1] Generated Node #0,3,3: 27:[27, 1] Operation: 92-91=1 Moving to Node #0,1,3 Current State: 27:[1, 27], Operations: ['92-91=1', '79-52=27'] Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,27 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[79, 52, 92, 91], Operations: [] Exploring Operation: 92-91=1, Resulting Numbers: [79, 52, 1] Generated Node #0,1: 27:[79, 52, 1] Operation: 92-91=1 Moving to Node #0,1 Current State: 27:[79, 52, 1], Operations: ['92-91=1'] Exploring Operation: 79-52=27, Resulting Numbers: [1, 27] Generated Node #0,1,3: 27:[1, 27] Operation: 79-52=27 Moving to Node #0,1,3 Current State: 27:[1, 27], Operations: ['92-91=1', '79-52=27'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.955729
hs_4
mult_heuristic
[ 34, 84, 4, 82 ]
42
[ "84-82=2", "4*2=8", "34+8=42" ]
Current State: 42:[34, 84, 4, 82], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [34, 4, 2] Generated Node #2: [34, 4, 2] from Operation: 84-82=2 Current State: 42:[34, 4, 2], Operations: ['84-82=2'] Exploring Operation: 4*2=8, Resulting Numbers: [34, 8] Generated Node #3: [34, 8] from Operation: 4*2=8 Current State: 42:[34, 8], Operations: ['84-82=2', '4*2=8'] Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[34, 84, 4, 82], Operations: [] Exploring Operation: 84/4=21, Resulting Numbers: [34, 82, 21] Generated Node #0,0: 42:[34, 82, 21] Operation: 84/4=21 Exploring Operation: 34+4=38, Resulting Numbers: [84, 82, 38] Generated Node #0,1: 42:[84, 82, 38] Operation: 34+4=38 Exploring Operation: 84-34=50, Resulting Numbers: [4, 82, 50] Generated Node #0,2: 42:[4, 82, 50] Operation: 84-34=50 Exploring Operation: 84-82=2, Resulting Numbers: [34, 4, 2] Generated Node #0,3: 42:[34, 4, 2] Operation: 84-82=2 Exploring Operation: 82-34=48, Resulting Numbers: [84, 4, 48] Generated Node #0,4: 42:[84, 4, 48] Operation: 82-34=48 Start Sub Search at level 1: Moving to Node #0,3 Current State: 42:[34, 4, 2], Operations: ['84-82=2'] Exploring Operation: 4-2=2, Resulting Numbers: [34, 2] Generated Node #0,3,0: 42:[34, 2] Operation: 4-2=2 Exploring Operation: 34/2=17, Resulting Numbers: [4, 17] Generated Node #0,3,1: 42:[4, 17] Operation: 34/2=17 Exploring Operation: 34+4=38, Resulting Numbers: [2, 38] Generated Node #0,3,2: 42:[2, 38] Operation: 34+4=38 Exploring Operation: 4+2=6, Resulting Numbers: [34, 6] Generated Node #0,3,3: 42:[34, 6] Operation: 4+2=6 Exploring Operation: 34+2=36, Resulting Numbers: [4, 36] Generated Node #0,3,4: 42:[4, 36] Operation: 34+2=36 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 42:[4, 17], Operations: ['84-82=2', '34/2=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,42 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 42:[2, 38], Operations: ['84-82=2', '34+4=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 42:[4, 36], Operations: ['84-82=2', '34+2=36'] Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,42 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 42:[34, 2], Operations: ['84-82=2', '4-2=2'] Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,42 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,42 unequal: No Solution Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 42:[34, 6], Operations: ['84-82=2', '4+2=6'] Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 34*6=204, Resulting Numbers: [204] 204,42 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,42 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: 42:[34, 82, 21], Operations: ['84/4=21'] Exploring Operation: 82-21=61, Resulting Numbers: [34, 61] Generated Node #0,0,0: 42:[34, 61] Operation: 82-21=61 Exploring Operation: 34-21=13, Resulting Numbers: [82, 13] Generated Node #0,0,1: 42:[82, 13] Operation: 34-21=13 Exploring Operation: 82-34=48, Resulting Numbers: [21, 48] Generated Node #0,0,2: 42:[21, 48] Operation: 82-34=48 Exploring Operation: 82+21=103, Resulting Numbers: [34, 103] Generated Node #0,0,3: 42:[34, 103] Operation: 82+21=103 Exploring Operation: 34+21=55, Resulting Numbers: [82, 55] Generated Node #0,0,4: 42:[82, 55] Operation: 34+21=55 Moving to Node #0,0,2 Current State: 42:[21, 48], Operations: ['84/4=21', '82-34=48'] Exploring Operation: 21*48=1008, Resulting Numbers: [1008] 1008,42 unequal: No Solution Exploring Operation: 21+48=69, Resulting Numbers: [69] 69,42 unequal: No Solution Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[34, 61], Operations: ['84/4=21', '82-21=61'] Exploring Operation: 34*61=2074, Resulting Numbers: [2074] 2074,42 unequal: No Solution Exploring Operation: 34+61=95, Resulting Numbers: [95] 95,42 unequal: No Solution Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[82, 13], Operations: ['84/4=21', '34-21=13'] Exploring Operation: 82-13=69, Resulting Numbers: [69] 69,42 unequal: No Solution Exploring Operation: 82*13=1066, Resulting Numbers: [1066] 1066,42 unequal: No Solution Exploring Operation: 82+13=95, Resulting Numbers: [95] 95,42 unequal: No Solution Moving to Node #0,0,4 Current State: 42:[82, 55], Operations: ['84/4=21', '34+21=55'] Exploring Operation: 82*55=4510, Resulting Numbers: [4510] 4510,42 unequal: No Solution Exploring Operation: 82+55=137, Resulting Numbers: [137] 137,42 unequal: No Solution Exploring Operation: 82-55=27, Resulting Numbers: [27] 27,42 unequal: No Solution Moving to Node #0,0,3 Current State: 42:[34, 103], Operations: ['84/4=21', '82+21=103'] Exploring Operation: 34*103=3502, Resulting Numbers: [3502] 3502,42 unequal: No Solution Exploring Operation: 103-34=69, Resulting Numbers: [69] 69,42 unequal: No Solution Exploring Operation: 34+103=137, Resulting Numbers: [137] 137,42 unequal: No Solution No 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: 42:[4, 82, 50], Operations: ['84-34=50'] Exploring Operation: 82-4=78, Resulting Numbers: [50, 78] Generated Node #0,2,0: 42:[50, 78] Operation: 82-4=78 Exploring Operation: 4+50=54, Resulting Numbers: [82, 54] Generated Node #0,2,1: 42:[82, 54] Operation: 4+50=54 Exploring Operation: 50-4=46, Resulting Numbers: [82, 46] Generated Node #0,2,2: 42:[82, 46] Operation: 50-4=46 Exploring Operation: 4+82=86, Resulting Numbers: [50, 86] Generated Node #0,2,3: 42:[50, 86] Operation: 4+82=86 Exploring Operation: 82-50=32, Resulting Numbers: [4, 32] Generated Node #0,2,4: 42:[4, 32] Operation: 82-50=32 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 42:[4, 32], Operations: ['84-34=50', '82-50=32'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 4*32=128, Resulting Numbers: [128] 128,42 unequal: No Solution Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 42:[50, 78], Operations: ['84-34=50', '82-4=78'] Exploring Operation: 78-50=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 50*78=3900, Resulting Numbers: [3900] 3900,42 unequal: No Solution Exploring Operation: 50+78=128, Resulting Numbers: [128] 128,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 42:[82, 46], Operations: ['84-34=50', '50-4=46'] Exploring Operation: 82+46=128, Resulting Numbers: [128] 128,42 unequal: No Solution Exploring Operation: 82*46=3772, Resulting Numbers: [3772] 3772,42 unequal: No Solution Exploring Operation: 82-46=36, Resulting Numbers: [36] 36,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 42:[82, 54], Operations: ['84-34=50', '4+50=54'] Exploring Operation: 82-54=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 82+54=136, Resulting Numbers: [136] 136,42 unequal: No Solution Exploring Operation: 82*54=4428, Resulting Numbers: [4428] 4428,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 42:[50, 86], Operations: ['84-34=50', '4+82=86'] Exploring Operation: 86-50=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 50+86=136, Resulting Numbers: [136] 136,42 unequal: No Solution Exploring Operation: 50*86=4300, Resulting Numbers: [4300] 4300,42 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: 42:[84, 4, 48], Operations: ['82-34=48'] Exploring Operation: 48/4=12, Resulting Numbers: [84, 12] Generated Node #0,4,0: 42:[84, 12] Operation: 48/4=12 Exploring Operation: 84-48=36, Resulting Numbers: [4, 36] Generated Node #0,4,1: 42:[4, 36] Operation: 84-48=36 Exploring Operation: 84-4=80, Resulting Numbers: [48, 80] Generated Node #0,4,2: 42:[48, 80] Operation: 84-4=80 Exploring Operation: 48-4=44, Resulting Numbers: [84, 44] Generated Node #0,4,3: 42:[84, 44] Operation: 48-4=44 Exploring Operation: 84/4=21, Resulting Numbers: [48, 21] Generated Node #0,4,4: 42:[48, 21] Operation: 84/4=21 Moving to Node #0,4,4 Current State: 42:[48, 21], Operations: ['82-34=48', '84/4=21'] Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,42 unequal: No Solution Exploring Operation: 48+21=69, Resulting Numbers: [69] 69,42 unequal: No Solution Exploring Operation: 48*21=1008, Resulting Numbers: [1008] 1008,42 unequal: No Solution Moving to Node #0,4,1 Current State: 42:[4, 36], Operations: ['82-34=48', '84-48=36'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,42 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,42 unequal: No Solution Moving to Node #0,4,0 Current State: 42:[84, 12], Operations: ['82-34=48', '48/4=12'] Exploring Operation: 84/12=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 84+12=96, Resulting Numbers: [96] 96,42 unequal: No Solution Exploring Operation: 84*12=1008, Resulting Numbers: [1008] 1008,42 unequal: No Solution Exploring Operation: 84-12=72, Resulting Numbers: [72] 72,42 unequal: No Solution Moving to Node #0,4,2 Current State: 42:[48, 80], Operations: ['82-34=48', '84-4=80'] Exploring Operation: 48+80=128, Resulting Numbers: [128] 128,42 unequal: No Solution Exploring Operation: 80-48=32, Resulting Numbers: [32] 32,42 unequal: No Solution Exploring Operation: 48*80=3840, Resulting Numbers: [3840] 3840,42 unequal: No Solution Moving to Node #0,4,3 Current State: 42:[84, 44], Operations: ['82-34=48', '48-4=44'] Exploring Operation: 84-44=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 84*44=3696, Resulting Numbers: [3696] 3696,42 unequal: No Solution Exploring Operation: 84+44=128, Resulting Numbers: [128] 128,42 unequal: No Solution No 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: 42:[84, 82, 38], Operations: ['34+4=38'] Exploring Operation: 84+38=122, Resulting Numbers: [82, 122] Generated Node #0,1,0: 42:[82, 122] Operation: 84+38=122 Exploring Operation: 82-38=44, Resulting Numbers: [84, 44] Generated Node #0,1,1: 42:[84, 44] Operation: 82-38=44 Exploring Operation: 82+38=120, Resulting Numbers: [84, 120] Generated Node #0,1,2: 42:[84, 120] Operation: 82+38=120 Exploring Operation: 84-82=2, Resulting Numbers: [38, 2] Generated Node #0,1,3: 42:[38, 2] Operation: 84-82=2 Exploring Operation: 84-38=46, Resulting Numbers: [82, 46] Generated Node #0,1,4: 42:[82, 46] Operation: 84-38=46 Moving to Node #0,1,3 Current State: 42:[38, 2], Operations: ['34+4=38', '84-82=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,42 unequal: No Solution Moving to Node #0,1,4 Current State: 42:[82, 46], Operations: ['34+4=38', '84-38=46'] Exploring Operation: 82*46=3772, Resulting Numbers: [3772] 3772,42 unequal: No Solution Exploring Operation: 82-46=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 82+46=128, Resulting Numbers: [128] 128,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[84, 44], Operations: ['34+4=38', '82-38=44'] Exploring Operation: 84+44=128, Resulting Numbers: [128] 128,42 unequal: No Solution Exploring Operation: 84-44=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 84*44=3696, Resulting Numbers: [3696] 3696,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[82, 122], Operations: ['34+4=38', '84+38=122'] Exploring Operation: 82*122=10004, Resulting Numbers: [10004] 10004,42 unequal: No Solution Exploring Operation: 82+122=204, Resulting Numbers: [204] 204,42 unequal: No Solution Exploring Operation: 122-82=40, Resulting Numbers: [40] 40,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[84, 120], Operations: ['34+4=38', '82+38=120'] Exploring Operation: 120-84=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 84*120=10080, Resulting Numbers: [10080] 10080,42 unequal: No Solution Exploring Operation: 84+120=204, Resulting Numbers: [204] 204,42 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
[ 9, 35, 4, 33 ]
83
[ "9*33=297", "35+297=332", "332/4=83" ]
Current State: 83:[9, 35, 4, 33], Operations: [] Exploring Operation: 9*33=297, Resulting Numbers: [35, 4, 297] Generated Node #2: [35, 4, 297] from Operation: 9*33=297 Current State: 83:[35, 4, 297], Operations: ['9*33=297'] Exploring Operation: 35+297=332, Resulting Numbers: [4, 332] Generated Node #3: [4, 332] from Operation: 35+297=332 Current State: 83:[4, 332], Operations: ['9*33=297', '35+297=332'] Exploring Operation: 332/4=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[9, 35, 4, 33], Operations: [] Exploring Operation: 9+35=44, Resulting Numbers: [4, 33, 44] Generated Node #0,0: 83:[4, 33, 44] Operation: 9+35=44 Exploring Operation: 9+33=42, Resulting Numbers: [35, 4, 42] Generated Node #0,1: 83:[35, 4, 42] Operation: 9+33=42 Exploring Operation: 9*4=36, Resulting Numbers: [35, 33, 36] Generated Node #0,2: 83:[35, 33, 36] Operation: 9*4=36 Exploring Operation: 9+4=13, Resulting Numbers: [35, 33, 13] Generated Node #0,3: 83:[35, 33, 13] Operation: 9+4=13 Moving to Node #0,2 Current State: 83:[35, 33, 36], Operations: ['9*4=36'] Exploring Operation: 35+36=71, Resulting Numbers: [33, 71] Generated Node #0,2,0: 83:[33, 71] Operation: 35+36=71 Exploring Operation: 35+33=68, Resulting Numbers: [36, 68] Generated Node #0,2,1: 83:[36, 68] Operation: 35+33=68 Exploring Operation: 35-33=2, Resulting Numbers: [36, 2] Generated Node #0,2,2: 83:[36, 2] Operation: 35-33=2 Exploring Operation: 33+36=69, Resulting Numbers: [35, 69] Generated Node #0,2,3: 83:[35, 69] Operation: 33+36=69 Moving to Node #0,1 Current State: 83:[35, 4, 42], Operations: ['9+33=42'] Exploring Operation: 35-4=31, Resulting Numbers: [42, 31] Generated Node #0,1,0: 83:[42, 31] Operation: 35-4=31 Exploring Operation: 35+4=39, Resulting Numbers: [42, 39] Generated Node #0,1,1: 83:[42, 39] Operation: 35+4=39 Exploring Operation: 35+42=77, Resulting Numbers: [4, 77] Generated Node #0,1,2: 83:[4, 77] Operation: 35+42=77 Exploring Operation: 4+42=46, Resulting Numbers: [35, 46] Generated Node #0,1,3: 83:[35, 46] Operation: 4+42=46 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[42, 39], Operations: ['9+33=42', '35+4=39'] Exploring Operation: 42*39=1638, Resulting Numbers: [1638] 1638,83 unequal: No Solution Exploring Operation: 42+39=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,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,1,2 Current State: 83:[4, 77], Operations: ['9+33=42', '35+42=77'] Exploring Operation: 4*77=308, Resulting Numbers: [308] 308,83 unequal: No Solution Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,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,1,3 Current State: 83:[35, 46], Operations: ['9+33=42', '4+42=46'] Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 35*46=1610, Resulting Numbers: [1610] 1610,83 unequal: No Solution Exploring Operation: 35+46=81, Resulting Numbers: [81] 81,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,1,0 Current State: 83:[42, 31], Operations: ['9+33=42', '35-4=31'] Exploring Operation: 42*31=1302, Resulting Numbers: [1302] 1302,83 unequal: No Solution Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,83 unequal: No Solution Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,83 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: 83:[4, 33, 44], Operations: ['9+35=44'] Exploring Operation: 4+33=37, Resulting Numbers: [44, 37] Generated Node #0,0,0: 83:[44, 37] Operation: 4+33=37 Exploring Operation: 4+44=48, Resulting Numbers: [33, 48] Generated Node #0,0,1: 83:[33, 48] Operation: 4+44=48 Exploring Operation: 4*33=132, Resulting Numbers: [44, 132] Generated Node #0,0,2: 83:[44, 132] Operation: 4*33=132 Exploring Operation: 33+44=77, Resulting Numbers: [4, 77] Generated Node #0,0,3: 83:[4, 77] Operation: 33+44=77 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[44, 37], Operations: ['9+35=44', '4+33=37'] Exploring Operation: 44*37=1628, Resulting Numbers: [1628] 1628,83 unequal: No Solution Exploring Operation: 44+37=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[33, 48], Operations: ['9+35=44', '4+44=48'] Exploring Operation: 33+48=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 33*48=1584, Resulting Numbers: [1584] 1584,83 unequal: No Solution Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 83:[4, 77], Operations: ['9+35=44', '33+44=77'] Exploring Operation: 4*77=308, Resulting Numbers: [308] 308,83 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,83 unequal: No Solution Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[44, 132], Operations: ['9+35=44', '4*33=132'] Exploring Operation: 44+132=176, Resulting Numbers: [176] 176,83 unequal: No Solution Exploring Operation: 44*132=5808, Resulting Numbers: [5808] 5808,83 unequal: No Solution Exploring Operation: 132/44=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 132-44=88, Resulting Numbers: [88] 88,83 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: 83:[35, 33, 13], Operations: ['9+4=13'] Exploring Operation: 35-13=22, Resulting Numbers: [33, 22] Generated Node #0,3,0: 83:[33, 22] Operation: 35-13=22 Exploring Operation: 35+33=68, Resulting Numbers: [13, 68] Generated Node #0,3,1: 83:[13, 68] Operation: 35+33=68 Exploring Operation: 33+13=46, Resulting Numbers: [35, 46] Generated Node #0,3,2: 83:[35, 46] Operation: 33+13=46 Exploring Operation: 35+13=48, Resulting Numbers: [33, 48] Generated Node #0,3,3: 83:[33, 48] Operation: 35+13=48 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 83:[13, 68], Operations: ['9+4=13', '35+33=68'] Exploring Operation: 13*68=884, Resulting Numbers: [884] 884,83 unequal: No Solution Exploring Operation: 13+68=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,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,2 Current State: 83:[35, 46], Operations: ['9+4=13', '33+13=46'] Exploring Operation: 35+46=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 35*46=1610, Resulting Numbers: [1610] 1610,83 unequal: No Solution Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,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,3 Current State: 83:[33, 48], Operations: ['9+4=13', '35+13=48'] Exploring Operation: 33+48=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 33*48=1584, Resulting Numbers: [1584] 1584,83 unequal: No Solution Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,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,0 Current State: 83:[33, 22], Operations: ['9+4=13', '35-13=22'] Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 33*22=726, Resulting Numbers: [726] 726,83 unequal: No Solution Exploring Operation: 33+22=55, Resulting Numbers: [55] 55,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 83:[33, 71], Operations: ['9*4=36', '35+36=71'] Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 33+71=104, Resulting Numbers: [104] 104,83 unequal: No Solution Exploring Operation: 33*71=2343, Resulting Numbers: [2343] 2343,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[35, 69], Operations: ['9*4=36', '33+36=69'] Exploring Operation: 35*69=2415, Resulting Numbers: [2415] 2415,83 unequal: No Solution Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,83 unequal: No Solution Exploring Operation: 35+69=104, Resulting Numbers: [104] 104,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[36, 68], Operations: ['9*4=36', '35+33=68'] Exploring Operation: 36+68=104, Resulting Numbers: [104] 104,83 unequal: No Solution Exploring Operation: 36*68=2448, Resulting Numbers: [2448] 2448,83 unequal: No Solution Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[36, 2], Operations: ['9*4=36', '35-33=2'] Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,83 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 12, 60, 84, 21 ]
19
[ "84-60=24", "24/12=2", "21-2=19" ]
Current State: 19:[12, 60, 84, 21], Operations: [] Exploring Operation: 84-60=24, Resulting Numbers: [12, 21, 24] Generated Node #2: [12, 21, 24] from Operation: 84-60=24 Current State: 19:[12, 21, 24], Operations: ['84-60=24'] Exploring Operation: 24/12=2, Resulting Numbers: [21, 2] Generated Node #3: [21, 2] from Operation: 24/12=2 Current State: 19:[21, 2], Operations: ['84-60=24', '24/12=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[12, 60, 84, 21], Operations: [] Exploring Operation: 84-60=24, Resulting Numbers: [12, 21, 24] Generated Node #0,0: 19:[12, 21, 24] Operation: 84-60=24 Exploring Operation: 60/12=5, Resulting Numbers: [84, 21, 5] Generated Node #0,1: 19:[84, 21, 5] Operation: 60/12=5 Exploring Operation: 84/21=4, Resulting Numbers: [12, 60, 4] Generated Node #0,2: 19:[12, 60, 4] Operation: 84/21=4 Exploring Operation: 84/12=7, Resulting Numbers: [60, 21, 7] Generated Node #0,3: 19:[60, 21, 7] Operation: 84/12=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[12, 21, 24], Operations: ['84-60=24'] Exploring Operation: 24-12=12, Resulting Numbers: [21, 12] Generated Node #0,0,0: 19:[21, 12] Operation: 24-12=12 Exploring Operation: 21-12=9, Resulting Numbers: [24, 9] Generated Node #0,0,1: 19:[24, 9] Operation: 21-12=9 Exploring Operation: 12+21=33, Resulting Numbers: [24, 33] Generated Node #0,0,2: 19:[24, 33] Operation: 12+21=33 Exploring Operation: 12+24=36, Resulting Numbers: [21, 36] Generated Node #0,0,3: 19:[21, 36] Operation: 12+24=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[21, 12], Operations: ['84-60=24', '24-12=12'] Exploring Operation: 21*12=252, Resulting Numbers: [252] 252,19 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,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:[24, 9], Operations: ['84-60=24', '21-12=9'] Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,19 unequal: No Solution Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,19 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 19:[24, 33], Operations: ['84-60=24', '12+21=33'] Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,19 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,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:[21, 36], Operations: ['84-60=24', '12+24=36'] Exploring Operation: 21+36=57, Resulting Numbers: [57] 57,19 unequal: No Solution Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 21*36=756, Resulting Numbers: [756] 756,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:[60, 21, 7], Operations: ['84/12=7'] Exploring Operation: 60+7=67, Resulting Numbers: [21, 67] Generated Node #0,3,0: 19:[21, 67] Operation: 60+7=67 Exploring Operation: 60-21=39, Resulting Numbers: [7, 39] Generated Node #0,3,1: 19:[7, 39] Operation: 60-21=39 Exploring Operation: 21-7=14, Resulting Numbers: [60, 14] Generated Node #0,3,2: 19:[60, 14] Operation: 21-7=14 Exploring Operation: 60-7=53, Resulting Numbers: [21, 53] Generated Node #0,3,3: 19:[21, 53] Operation: 60-7=53 Moving to Node #0,3,1 Current State: 19:[7, 39], Operations: ['84/12=7', '60-21=39'] Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,19 unequal: No Solution Exploring Operation: 7*39=273, Resulting Numbers: [273] 273,19 unequal: No Solution Exploring Operation: 7+39=46, Resulting Numbers: [46] 46,19 unequal: No Solution Moving to Node #0,3,3 Current State: 19:[21, 53], Operations: ['84/12=7', '60-7=53'] Exploring Operation: 53-21=32, Resulting Numbers: [32] 32,19 unequal: No Solution Exploring Operation: 21*53=1113, Resulting Numbers: [1113] 1113,19 unequal: No Solution Exploring Operation: 21+53=74, Resulting Numbers: [74] 74,19 unequal: No Solution Moving to Node #0,3,2 Current State: 19:[60, 14], Operations: ['84/12=7', '21-7=14'] Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,19 unequal: No Solution Exploring Operation: 60*14=840, Resulting Numbers: [840] 840,19 unequal: No Solution Exploring Operation: 60+14=74, Resulting Numbers: [74] 74,19 unequal: No Solution Moving to Node #0,3,0 Current State: 19:[21, 67], Operations: ['84/12=7', '60+7=67'] Exploring Operation: 21+67=88, Resulting Numbers: [88] 88,19 unequal: No Solution Exploring Operation: 21*67=1407, Resulting Numbers: [1407] 1407,19 unequal: No Solution Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[12, 60, 4], Operations: ['84/21=4'] Exploring Operation: 12+4=16, Resulting Numbers: [60, 16] Generated Node #0,2,0: 19:[60, 16] Operation: 12+4=16 Exploring Operation: 60-12=48, Resulting Numbers: [4, 48] Generated Node #0,2,1: 19:[4, 48] Operation: 60-12=48 Exploring Operation: 60/4=15, Resulting Numbers: [12, 15] Generated Node #0,2,2: 19:[12, 15] Operation: 60/4=15 Exploring Operation: 60/12=5, Resulting Numbers: [4, 5] Generated Node #0,2,3: 19:[4, 5] Operation: 60/12=5 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 19:[12, 15], Operations: ['84/21=4', '60/4=15'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,19 unequal: No Solution Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,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,3 Current State: 19:[4, 5], Operations: ['84/21=4', '60/12=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,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:[60, 16], Operations: ['84/21=4', '12+4=16'] Exploring Operation: 60+16=76, Resulting Numbers: [76] 76,19 unequal: No Solution Exploring Operation: 60*16=960, Resulting Numbers: [960] 960,19 unequal: No Solution Exploring Operation: 60-16=44, Resulting Numbers: [44] 44,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:[4, 48], Operations: ['84/21=4', '60-12=48'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,19 unequal: No Solution Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,19 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 4*48=192, Resulting Numbers: [192] 192,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:[84, 21, 5], Operations: ['60/12=5'] Exploring Operation: 21-5=16, Resulting Numbers: [84, 16] Generated Node #0,1,0: 19:[84, 16] Operation: 21-5=16 Exploring Operation: 84-5=79, Resulting Numbers: [21, 79] Generated Node #0,1,1: 19:[21, 79] Operation: 84-5=79 Exploring Operation: 84-21=63, Resulting Numbers: [5, 63] Generated Node #0,1,2: 19:[5, 63] Operation: 84-21=63 Exploring Operation: 84/21=4, Resulting Numbers: [5, 4] Generated Node #0,1,3: 19:[5, 4] Operation: 84/21=4 Moving to Node #0,1,3 Current State: 19:[5, 4], Operations: ['60/12=5', '84/21=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[5, 63], Operations: ['60/12=5', '84-21=63'] Exploring Operation: 5+63=68, Resulting Numbers: [68] 68,19 unequal: No Solution Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 5*63=315, Resulting Numbers: [315] 315,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[21, 79], Operations: ['60/12=5', '84-5=79'] Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 21*79=1659, Resulting Numbers: [1659] 1659,19 unequal: No Solution Exploring Operation: 21+79=100, Resulting Numbers: [100] 100,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[84, 16], Operations: ['60/12=5', '21-5=16'] Exploring Operation: 84*16=1344, Resulting Numbers: [1344] 1344,19 unequal: No Solution Exploring Operation: 84+16=100, Resulting Numbers: [100] 100,19 unequal: No Solution Exploring Operation: 84-16=68, Resulting Numbers: [68] 68,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 84, 53, 16, 42 ]
39
[ "84/42=2", "53-16=37", "2+37=39" ]
Current State: 39:[84, 53, 16, 42], Operations: [] Exploring Operation: 84/42=2, Resulting Numbers: [53, 16, 2] Generated Node #2: [53, 16, 2] from Operation: 84/42=2 Current State: 39:[53, 16, 2], Operations: ['84/42=2'] Exploring Operation: 53-16=37, Resulting Numbers: [2, 37] Generated Node #3: [2, 37] from Operation: 53-16=37 Current State: 39:[2, 37], Operations: ['84/42=2', '53-16=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[84, 53, 16, 42], Operations: [] Exploring Operation: 84/42=2, Resulting Numbers: [53, 16, 2] Generated Node #0,0: 39:[53, 16, 2] Operation: 84/42=2 Exploring Operation: 84-53=31, Resulting Numbers: [16, 42, 31] Generated Node #0,1: 39:[16, 42, 31] Operation: 84-53=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[16, 42, 31], Operations: ['84-53=31'] Exploring Operation: 31-16=15, Resulting Numbers: [42, 15] Generated Node #0,1,0: 39:[42, 15] Operation: 31-16=15 Exploring Operation: 42-31=11, Resulting Numbers: [16, 11] Generated Node #0,1,1: 39:[16, 11] Operation: 42-31=11 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[42, 15], Operations: ['84-53=31', '31-16=15'] Exploring Operation: 42-15=27, Resulting Numbers: [27] 27,39 unequal: No Solution Exploring Operation: 42+15=57, Resulting Numbers: [57] 57,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 39:[16, 11], Operations: ['84-53=31', '42-31=11'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,39 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: 39:[53, 16, 2], Operations: ['84/42=2'] Exploring Operation: 53-16=37, Resulting Numbers: [2, 37] Generated Node #0,0,0: 39:[2, 37] Operation: 53-16=37 Exploring Operation: 53-2=51, Resulting Numbers: [16, 51] Generated Node #0,0,1: 39:[16, 51] Operation: 53-2=51 Moving to Node #0,0,0 Current State: 39:[2, 37], Operations: ['84/42=2', '53-16=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[84, 53, 16, 42], Operations: [] Exploring Operation: 84/42=2, Resulting Numbers: [53, 16, 2] Generated Node #0,0: 39:[53, 16, 2] Operation: 84/42=2 Moving to Node #0,0 Current State: 39:[53, 16, 2], Operations: ['84/42=2'] Exploring Operation: 53-16=37, Resulting Numbers: [2, 37] Generated Node #0,0,0: 39:[2, 37] Operation: 53-16=37 Moving to Node #0,0,0 Current State: 39:[2, 37], Operations: ['84/42=2', '53-16=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 4, 16, 12, 56 ]
20
[ "4*16=64", "56-12=44", "64-44=20" ]
Current State: 20:[4, 16, 12, 56], Operations: [] Exploring Operation: 4*16=64, Resulting Numbers: [12, 56, 64] Generated Node #2: [12, 56, 64] from Operation: 4*16=64 Current State: 20:[12, 56, 64], Operations: ['4*16=64'] Exploring Operation: 56-12=44, Resulting Numbers: [64, 44] Generated Node #3: [64, 44] from Operation: 56-12=44 Current State: 20:[64, 44], Operations: ['4*16=64', '56-12=44'] Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[4, 16, 12, 56], Operations: [] Exploring Operation: 56/4=14, Resulting Numbers: [16, 12, 14] Generated Node #0,0: 20:[16, 12, 14] Operation: 56/4=14 Exploring Operation: 4+16=20, Resulting Numbers: [12, 56, 20] Generated Node #0,1: 20:[12, 56, 20] Operation: 4+16=20 Exploring Operation: 16-12=4, Resulting Numbers: [4, 56, 4] Generated Node #0,2: 20:[4, 56, 4] Operation: 16-12=4 Exploring Operation: 56-12=44, Resulting Numbers: [4, 16, 44] Generated Node #0,3: 20:[4, 16, 44] Operation: 56-12=44 Exploring Operation: 56-16=40, Resulting Numbers: [4, 12, 40] Generated Node #0,4: 20:[4, 12, 40] Operation: 56-16=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[16, 12, 14], Operations: ['56/4=14'] Exploring Operation: 16+12=28, Resulting Numbers: [14, 28] Generated Node #0,0,0: 20:[14, 28] Operation: 16+12=28 Exploring Operation: 12+14=26, Resulting Numbers: [16, 26] Generated Node #0,0,1: 20:[16, 26] Operation: 12+14=26 Exploring Operation: 16-12=4, Resulting Numbers: [14, 4] Generated Node #0,0,2: 20:[14, 4] Operation: 16-12=4 Exploring Operation: 14-12=2, Resulting Numbers: [16, 2] Generated Node #0,0,3: 20:[16, 2] Operation: 14-12=2 Exploring Operation: 16-14=2, Resulting Numbers: [12, 2] Generated Node #0,0,4: 20:[12, 2] Operation: 16-14=2 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 20:[12, 2], Operations: ['56/4=14', '16-14=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,20 unequal: No Solution No 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: 20:[14, 4], Operations: ['56/4=14', '16-12=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,20 unequal: No Solution No 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: 20:[16, 2], Operations: ['56/4=14', '14-12=2'] Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,20 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,20 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,20 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,20 unequal: No Solution No 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: 20:[16, 26], Operations: ['56/4=14', '12+14=26'] Exploring Operation: 16+26=42, Resulting Numbers: [42] 42,20 unequal: No Solution Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 16*26=416, Resulting Numbers: [416] 416,20 unequal: No Solution No 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: 20:[14, 28], Operations: ['56/4=14', '16+12=28'] Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,20 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,20 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 14*28=392, Resulting Numbers: [392] 392,20 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: 20:[4, 12, 40], Operations: ['56-16=40'] Exploring Operation: 12/4=3, Resulting Numbers: [40, 3] Generated Node #0,4,0: 20:[40, 3] Operation: 12/4=3 Exploring Operation: 40-4=36, Resulting Numbers: [12, 36] Generated Node #0,4,1: 20:[12, 36] Operation: 40-4=36 Exploring Operation: 40/4=10, Resulting Numbers: [12, 10] Generated Node #0,4,2: 20:[12, 10] Operation: 40/4=10 Exploring Operation: 40-12=28, Resulting Numbers: [4, 28] Generated Node #0,4,3: 20:[4, 28] Operation: 40-12=28 Exploring Operation: 12-4=8, Resulting Numbers: [40, 8] Generated Node #0,4,4: 20:[40, 8] Operation: 12-4=8 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 20:[12, 10], Operations: ['56-16=40', '40/4=10'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,20 unequal: No Solution Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,20 unequal: No Solution No 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: 20:[4, 28], Operations: ['56-16=40', '40-12=28'] Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,20 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,20 unequal: No Solution No 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: 20:[12, 36], Operations: ['56-16=40', '40-4=36'] Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 12*36=432, Resulting Numbers: [432] 432,20 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,20 unequal: No Solution No 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: 20:[40, 3], Operations: ['56-16=40', '12/4=3'] Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,20 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,20 unequal: No Solution Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,20 unequal: No Solution No 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: 20:[40, 8], Operations: ['56-16=40', '12-4=8'] Exploring Operation: 40+8=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,20 unequal: No Solution Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 40*8=320, Resulting Numbers: [320] 320,20 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: 20:[4, 16, 44], Operations: ['56-12=44'] Exploring Operation: 44-4=40, Resulting Numbers: [16, 40] Generated Node #0,3,0: 20:[16, 40] Operation: 44-4=40 Exploring Operation: 44/4=11, Resulting Numbers: [16, 11] Generated Node #0,3,1: 20:[16, 11] Operation: 44/4=11 Exploring Operation: 4+16=20, Resulting Numbers: [44, 20] Generated Node #0,3,2: 20:[44, 20] Operation: 4+16=20 Exploring Operation: 44-16=28, Resulting Numbers: [4, 28] Generated Node #0,3,3: 20:[4, 28] Operation: 44-16=28 Exploring Operation: 16/4=4, Resulting Numbers: [44, 4] Generated Node #0,3,4: 20:[44, 4] Operation: 16/4=4 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 20:[16, 11], Operations: ['56-12=44', '44/4=11'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,20 unequal: No Solution Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,20 unequal: No Solution No 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: 20:[4, 28], Operations: ['56-12=44', '44-16=28'] Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,20 unequal: No Solution Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,20 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,20 unequal: No Solution No 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: 20:[16, 40], Operations: ['56-12=44', '44-4=40'] Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 16+40=56, Resulting Numbers: [56] 56,20 unequal: No Solution Exploring Operation: 16*40=640, Resulting Numbers: [640] 640,20 unequal: No Solution No 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: 20:[44, 20], Operations: ['56-12=44', '4+16=20'] Exploring Operation: 44+20=64, Resulting Numbers: [64] 64,20 unequal: No Solution Exploring Operation: 44*20=880, Resulting Numbers: [880] 880,20 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,20 unequal: No Solution No 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: 20:[44, 4], Operations: ['56-12=44', '16/4=4'] Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,20 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,20 unequal: No Solution Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,20 unequal: No Solution Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,20 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: 20:[4, 56, 4], Operations: ['16-12=4'] Exploring Operation: 56-4=52, Resulting Numbers: [4, 52] Generated Node #0,2,0: 20:[4, 52] Operation: 56-4=52 Exploring Operation: 56/4=14, Resulting Numbers: [4, 14] Generated Node #0,2,1: 20:[4, 14] Operation: 56/4=14 Exploring Operation: 56-4=52, Resulting Numbers: [4, 52] Generated Node #0,2,2: 20:[4, 52] Operation: 56-4=52 Exploring Operation: 4/4=1, Resulting Numbers: [56, 1] Generated Node #0,2,3: 20:[56, 1] Operation: 4/4=1 Exploring Operation: 56/4=14, Resulting Numbers: [4, 14] Generated Node #0,2,4: 20:[4, 14] Operation: 56/4=14 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 20:[4, 14], Operations: ['16-12=4', '56/4=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,20 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,20 unequal: No Solution No 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: 20:[4, 14], Operations: ['16-12=4', '56/4=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,20 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,20 unequal: No Solution No 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: 20:[4, 52], Operations: ['16-12=4', '56-4=52'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,20 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 4*52=208, Resulting Numbers: [208] 208,20 unequal: No Solution Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,20 unequal: No Solution No 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: 20:[4, 52], Operations: ['16-12=4', '56-4=52'] Exploring Operation: 4*52=208, Resulting Numbers: [208] 208,20 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,20 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,20 unequal: No Solution No 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: 20:[56, 1], Operations: ['16-12=4', '4/4=1'] Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,20 unequal: No Solution Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,20 unequal: No Solution Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,20 unequal: No Solution Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,20 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: 20:[12, 56, 20], Operations: ['4+16=20'] Exploring Operation: 56-20=36, Resulting Numbers: [12, 36] Generated Node #0,1,0: 20:[12, 36] Operation: 56-20=36 Exploring Operation: 12+20=32, Resulting Numbers: [56, 32] Generated Node #0,1,1: 20:[56, 32] Operation: 12+20=32 Exploring Operation: 12+56=68, Resulting Numbers: [20, 68] Generated Node #0,1,2: 20:[20, 68] Operation: 12+56=68 Exploring Operation: 56-12=44, Resulting Numbers: [20, 44] Generated Node #0,1,3: 20:[20, 44] Operation: 56-12=44 Exploring Operation: 20-12=8, Resulting Numbers: [56, 8] Generated Node #0,1,4: 20:[56, 8] Operation: 20-12=8 Moving to Node #0,1,0 Current State: 20:[12, 36], Operations: ['4+16=20', '56-20=36'] Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 12*36=432, Resulting Numbers: [432] 432,20 unequal: No Solution Moving to Node #0,1,3 Current State: 20:[20, 44], Operations: ['4+16=20', '56-12=44'] Exploring Operation: 20*44=880, Resulting Numbers: [880] 880,20 unequal: No Solution Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,20 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,20 unequal: No Solution Moving to Node #0,1,4 Current State: 20:[56, 8], Operations: ['4+16=20', '20-12=8'] Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 56*8=448, Resulting Numbers: [448] 448,20 unequal: No Solution Exploring Operation: 56+8=64, Resulting Numbers: [64] 64,20 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[56, 32], Operations: ['4+16=20', '12+20=32'] Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 56+32=88, Resulting Numbers: [88] 88,20 unequal: No Solution Exploring Operation: 56*32=1792, Resulting Numbers: [1792] 1792,20 unequal: No Solution Moving to Node #0,1,2 Current State: 20:[20, 68], Operations: ['4+16=20', '12+56=68'] Exploring Operation: 20*68=1360, Resulting Numbers: [1360] 1360,20 unequal: No Solution Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 20+68=88, Resulting Numbers: [88] 88,20 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
[ 78, 24, 26, 53 ]
23
[ "78+24=102", "26+53=79", "102-79=23" ]
Current State: 23:[78, 24, 26, 53], Operations: [] Exploring Operation: 78+24=102, Resulting Numbers: [26, 53, 102] Generated Node #2: [26, 53, 102] from Operation: 78+24=102 Current State: 23:[26, 53, 102], Operations: ['78+24=102'] Exploring Operation: 26+53=79, Resulting Numbers: [102, 79] Generated Node #3: [102, 79] from Operation: 26+53=79 Current State: 23:[102, 79], Operations: ['78+24=102', '26+53=79'] Exploring Operation: 102-79=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[78, 24, 26, 53], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [24, 53, 3] Generated Node #0,0: 23:[24, 53, 3] Operation: 78/26=3 Exploring Operation: 78-53=25, Resulting Numbers: [24, 26, 25] Generated Node #0,1: 23:[24, 26, 25] Operation: 78-53=25 Moving to Node #0,1 Current State: 23:[24, 26, 25], Operations: ['78-53=25'] Exploring Operation: 26-24=2, Resulting Numbers: [25, 2] Generated Node #0,1,0: 23:[25, 2] Operation: 26-24=2 Exploring Operation: 26-25=1, Resulting Numbers: [24, 1] Generated Node #0,1,1: 23:[24, 1] Operation: 26-25=1 Moving to Node #0,0 Current State: 23:[24, 53, 3], Operations: ['78/26=3'] Exploring Operation: 53-24=29, Resulting Numbers: [3, 29] Generated Node #0,0,0: 23:[3, 29] Operation: 53-24=29 Exploring Operation: 53-3=50, Resulting Numbers: [24, 50] Generated Node #0,0,1: 23:[24, 50] Operation: 53-3=50 Moving to Node #0,1,0 Current State: 23:[25, 2], Operations: ['78-53=25', '26-24=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[78, 24, 26, 53], Operations: [] Exploring Operation: 78-53=25, Resulting Numbers: [24, 26, 25] Generated Node #0,1: 23:[24, 26, 25] Operation: 78-53=25 Moving to Node #0,1 Current State: 23:[24, 26, 25], Operations: ['78-53=25'] Exploring Operation: 26-24=2, Resulting Numbers: [25, 2] Generated Node #0,1,0: 23:[25, 2] Operation: 26-24=2 Moving to Node #0,1,0 Current State: 23:[25, 2], Operations: ['78-53=25', '26-24=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 75, 69, 4, 46 ]
40
[ "75+69=144", "4*46=184", "184-144=40" ]
Current State: 40:[75, 69, 4, 46], Operations: [] Exploring Operation: 75+69=144, Resulting Numbers: [4, 46, 144] Generated Node #2: [4, 46, 144] from Operation: 75+69=144 Current State: 40:[4, 46, 144], Operations: ['75+69=144'] Exploring Operation: 4*46=184, Resulting Numbers: [144, 184] Generated Node #3: [144, 184] from Operation: 4*46=184 Current State: 40:[144, 184], Operations: ['75+69=144', '4*46=184'] Exploring Operation: 184-144=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[75, 69, 4, 46], Operations: [] Exploring Operation: 75-69=6, Resulting Numbers: [4, 46, 6] Generated Node #0,0: 40:[4, 46, 6] Operation: 75-69=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[4, 46, 6], Operations: ['75-69=6'] Exploring Operation: 46-6=40, Resulting Numbers: [4, 40] Generated Node #0,0,0: 40:[4, 40] Operation: 46-6=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[4, 40], Operations: ['75-69=6', '46-6=40'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 46, 35, 11, 44 ]
57
[ "46-44=2", "11*2=22", "35+22=57" ]
Current State: 57:[46, 35, 11, 44], Operations: [] Exploring Operation: 46-44=2, Resulting Numbers: [35, 11, 2] Generated Node #2: [35, 11, 2] from Operation: 46-44=2 Current State: 57:[35, 11, 2], Operations: ['46-44=2'] Exploring Operation: 11*2=22, Resulting Numbers: [35, 22] Generated Node #3: [35, 22] from Operation: 11*2=22 Current State: 57:[35, 22], Operations: ['46-44=2', '11*2=22'] Exploring Operation: 35+22=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[46, 35, 11, 44], Operations: [] Exploring Operation: 46-44=2, Resulting Numbers: [35, 11, 2] Generated Node #0,0: 57:[35, 11, 2] Operation: 46-44=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[35, 11, 2], Operations: ['46-44=2'] Exploring Operation: 35-11=24, Resulting Numbers: [2, 24] Generated Node #0,0,0: 57:[2, 24] Operation: 35-11=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[2, 24], Operations: ['46-44=2', '35-11=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 18, 31, 30, 16 ]
93
[ "18+30=48", "31*48=1488", "1488/16=93" ]
Current State: 93:[18, 31, 30, 16], Operations: [] Exploring Operation: 18+30=48, Resulting Numbers: [31, 16, 48] Generated Node #2: [31, 16, 48] from Operation: 18+30=48 Current State: 93:[31, 16, 48], Operations: ['18+30=48'] Exploring Operation: 31*48=1488, Resulting Numbers: [16, 1488] Generated Node #3: [16, 1488] from Operation: 31*48=1488 Current State: 93:[16, 1488], Operations: ['18+30=48', '31*48=1488'] Exploring Operation: 1488/16=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[18, 31, 30, 16], Operations: [] Exploring Operation: 18-16=2, Resulting Numbers: [31, 30, 2] Generated Node #0,0: 93:[31, 30, 2] Operation: 18-16=2 Exploring Operation: 30-18=12, Resulting Numbers: [31, 16, 12] Generated Node #0,1: 93:[31, 16, 12] Operation: 30-18=12 Exploring Operation: 18+16=34, Resulting Numbers: [31, 30, 34] Generated Node #0,2: 93:[31, 30, 34] Operation: 18+16=34 Moving to Node #0,0 Current State: 93:[31, 30, 2], Operations: ['18-16=2'] Exploring Operation: 30+2=32, Resulting Numbers: [31, 32] Generated Node #0,0,0: 93:[31, 32] Operation: 30+2=32 Exploring Operation: 31-30=1, Resulting Numbers: [2, 1] Generated Node #0,0,1: 93:[2, 1] Operation: 31-30=1 Exploring Operation: 31+2=33, Resulting Numbers: [30, 33] Generated Node #0,0,2: 93:[30, 33] Operation: 31+2=33 Moving to Node #0,2 Current State: 93:[31, 30, 34], Operations: ['18+16=34'] Exploring Operation: 31-30=1, Resulting Numbers: [34, 1] Generated Node #0,2,0: 93:[34, 1] Operation: 31-30=1 Exploring Operation: 34-31=3, Resulting Numbers: [30, 3] Generated Node #0,2,1: 93:[30, 3] Operation: 34-31=3 Exploring Operation: 34-30=4, Resulting Numbers: [31, 4] Generated Node #0,2,2: 93:[31, 4] Operation: 34-30=4 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 93:[30, 3], Operations: ['18+16=34', '34-31=3'] Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,93 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 93:[31, 4], Operations: ['18+16=34', '34-30=4'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 93:[34, 1], Operations: ['18+16=34', '31-30=1'] Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,93 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,93 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: 93:[31, 16, 12], Operations: ['30-18=12'] Exploring Operation: 31-16=15, Resulting Numbers: [12, 15] Generated Node #0,1,0: 93:[12, 15] Operation: 31-16=15 Exploring Operation: 16-12=4, Resulting Numbers: [31, 4] Generated Node #0,1,1: 93:[31, 4] Operation: 16-12=4 Exploring Operation: 16+12=28, Resulting Numbers: [31, 28] Generated Node #0,1,2: 93:[31, 28] Operation: 16+12=28 Moving to Node #0,0,0 Current State: 93:[31, 32], Operations: ['18-16=2', '30+2=32'] Exploring Operation: 31+32=63, Resulting Numbers: [63] 63,93 unequal: No Solution Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,93 unequal: No Solution Exploring Operation: 31*32=992, Resulting Numbers: [992] 992,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[31, 4], Operations: ['30-18=12', '16-12=4'] Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,93 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[30, 33], Operations: ['18-16=2', '31+2=33'] Exploring Operation: 30+33=63, Resulting Numbers: [63] 63,93 unequal: No Solution Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 30*33=990, Resulting Numbers: [990] 990,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[31, 28], Operations: ['30-18=12', '16+12=28'] Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,93 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 31*28=868, Resulting Numbers: [868] 868,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[2, 1], Operations: ['18-16=2', '31-30=1'] Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[12, 15], Operations: ['30-18=12', '31-16=15'] Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,93 unequal: No Solution Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,93 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 52, 43, 80, 89 ]
74
[ "52+43=95", "80+89=169", "169-95=74" ]
Current State: 74:[52, 43, 80, 89], Operations: [] Exploring Operation: 52+43=95, Resulting Numbers: [80, 89, 95] Generated Node #2: [80, 89, 95] from Operation: 52+43=95 Current State: 74:[80, 89, 95], Operations: ['52+43=95'] Exploring Operation: 80+89=169, Resulting Numbers: [95, 169] Generated Node #3: [95, 169] from Operation: 80+89=169 Current State: 74:[95, 169], Operations: ['52+43=95', '80+89=169'] Exploring Operation: 169-95=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[52, 43, 80, 89], Operations: [] Exploring Operation: 89-52=37, Resulting Numbers: [43, 80, 37] Generated Node #0,0: 74:[43, 80, 37] Operation: 89-52=37 Exploring Operation: 52-43=9, Resulting Numbers: [80, 89, 9] Generated Node #0,1: 74:[80, 89, 9] Operation: 52-43=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[43, 80, 37], Operations: ['89-52=37'] Exploring Operation: 43-37=6, Resulting Numbers: [80, 6] Generated Node #0,0,0: 74:[80, 6] Operation: 43-37=6 Exploring Operation: 80-43=37, Resulting Numbers: [37, 37] Generated Node #0,0,1: 74:[37, 37] Operation: 80-43=37 Moving to Node #0,0,1 Current State: 74:[37, 37], Operations: ['89-52=37', '80-43=37'] Exploring Operation: 37+37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[52, 43, 80, 89], Operations: [] Exploring Operation: 89-52=37, Resulting Numbers: [43, 80, 37] Generated Node #0,0: 74:[43, 80, 37] Operation: 89-52=37 Moving to Node #0,0 Current State: 74:[43, 80, 37], Operations: ['89-52=37'] Exploring Operation: 80-43=37, Resulting Numbers: [37, 37] Generated Node #0,0,1: 74:[37, 37] Operation: 80-43=37 Moving to Node #0,0,1 Current State: 74:[37, 37], Operations: ['89-52=37', '80-43=37'] Exploring Operation: 37+37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 89, 55, 60, 41 ]
53
[ "89-55=34", "60-41=19", "34+19=53" ]
Current State: 53:[89, 55, 60, 41], Operations: [] Exploring Operation: 89-55=34, Resulting Numbers: [60, 41, 34] Generated Node #2: [60, 41, 34] from Operation: 89-55=34 Current State: 53:[60, 41, 34], Operations: ['89-55=34'] Exploring Operation: 60-41=19, Resulting Numbers: [34, 19] Generated Node #3: [34, 19] from Operation: 60-41=19 Current State: 53:[34, 19], Operations: ['89-55=34', '60-41=19'] Exploring Operation: 34+19=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[89, 55, 60, 41], Operations: [] Exploring Operation: 89-60=29, Resulting Numbers: [55, 41, 29] Generated Node #0,0: 53:[55, 41, 29] Operation: 89-60=29 Exploring Operation: 89-55=34, Resulting Numbers: [60, 41, 34] Generated Node #0,1: 53:[60, 41, 34] Operation: 89-55=34 Exploring Operation: 89-41=48, Resulting Numbers: [55, 60, 48] Generated Node #0,2: 53:[55, 60, 48] Operation: 89-41=48 Exploring Operation: 60-41=19, Resulting Numbers: [89, 55, 19] Generated Node #0,3: 53:[89, 55, 19] Operation: 60-41=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[55, 60, 48], Operations: ['89-41=48'] Exploring Operation: 60-55=5, Resulting Numbers: [48, 5] Generated Node #0,2,0: 53:[48, 5] Operation: 60-55=5 Exploring Operation: 60-48=12, Resulting Numbers: [55, 12] Generated Node #0,2,1: 53:[55, 12] Operation: 60-48=12 Exploring Operation: 55-48=7, Resulting Numbers: [60, 7] Generated Node #0,2,2: 53:[60, 7] Operation: 55-48=7 Exploring Operation: 55+48=103, Resulting Numbers: [60, 103] Generated Node #0,2,3: 53:[60, 103] Operation: 55+48=103 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 53:[55, 12], Operations: ['89-41=48', '60-48=12'] Exploring Operation: 55*12=660, Resulting Numbers: [660] 660,53 unequal: No Solution Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 53:[48, 5], Operations: ['89-41=48', '60-55=5'] Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[89, 55, 60, 41], Operations: [] Exploring Operation: 89-41=48, Resulting Numbers: [55, 60, 48] Generated Node #0,2: 53:[55, 60, 48] Operation: 89-41=48 Moving to Node #0,2 Current State: 53:[55, 60, 48], Operations: ['89-41=48'] Exploring Operation: 60-55=5, Resulting Numbers: [48, 5] Generated Node #0,2,0: 53:[48, 5] Operation: 60-55=5 Moving to Node #0,2,0 Current State: 53:[48, 5], Operations: ['89-41=48', '60-55=5'] Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 73, 25, 35, 28 ]
60
[ "73-25=48", "35*48=1680", "1680/28=60" ]
Current State: 60:[73, 25, 35, 28], Operations: [] Exploring Operation: 73-25=48, Resulting Numbers: [35, 28, 48] Generated Node #2: [35, 28, 48] from Operation: 73-25=48 Current State: 60:[35, 28, 48], Operations: ['73-25=48'] Exploring Operation: 35*48=1680, Resulting Numbers: [28, 1680] Generated Node #3: [28, 1680] from Operation: 35*48=1680 Current State: 60:[28, 1680], Operations: ['73-25=48', '35*48=1680'] Exploring Operation: 1680/28=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[73, 25, 35, 28], Operations: [] Exploring Operation: 28-25=3, Resulting Numbers: [73, 35, 3] Generated Node #0,0: 60:[73, 35, 3] Operation: 28-25=3 Exploring Operation: 73-35=38, Resulting Numbers: [25, 28, 38] Generated Node #0,1: 60:[25, 28, 38] Operation: 73-35=38 Exploring Operation: 25+35=60, Resulting Numbers: [73, 28, 60] Generated Node #0,2: 60:[73, 28, 60] Operation: 25+35=60 Exploring Operation: 35-25=10, Resulting Numbers: [73, 28, 10] Generated Node #0,3: 60:[73, 28, 10] Operation: 35-25=10 Moving to Node #0,1 Current State: 60:[25, 28, 38], Operations: ['73-35=38'] Exploring Operation: 38-28=10, Resulting Numbers: [25, 10] Generated Node #0,1,0: 60:[25, 10] Operation: 38-28=10 Exploring Operation: 38-25=13, Resulting Numbers: [28, 13] Generated Node #0,1,1: 60:[28, 13] Operation: 38-25=13 Exploring Operation: 28-25=3, Resulting Numbers: [38, 3] Generated Node #0,1,2: 60:[38, 3] Operation: 28-25=3 Exploring Operation: 25+38=63, Resulting Numbers: [28, 63] Generated Node #0,1,3: 60:[28, 63] Operation: 25+38=63 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[28, 13], Operations: ['73-35=38', '38-25=13'] Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,60 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,60 unequal: No Solution Exploring Operation: 28*13=364, Resulting Numbers: [364] 364,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[25, 10], Operations: ['73-35=38', '38-28=10'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,60 unequal: No Solution Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,60 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 60:[28, 63], Operations: ['73-35=38', '25+38=63'] Exploring Operation: 28*63=1764, Resulting Numbers: [1764] 1764,60 unequal: No Solution Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 28+63=91, Resulting Numbers: [91] 91,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 60:[38, 3], Operations: ['73-35=38', '28-25=3'] Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,60 unequal: No Solution Exploring Operation: 38*3=114, Resulting Numbers: [114] 114,60 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,60 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: 60:[73, 28, 10], Operations: ['35-25=10'] Exploring Operation: 73-28=45, Resulting Numbers: [10, 45] Generated Node #0,3,0: 60:[10, 45] Operation: 73-28=45 Exploring Operation: 28+10=38, Resulting Numbers: [73, 38] Generated Node #0,3,1: 60:[73, 38] Operation: 28+10=38 Exploring Operation: 73-10=63, Resulting Numbers: [28, 63] Generated Node #0,3,2: 60:[28, 63] Operation: 73-10=63 Exploring Operation: 28-10=18, Resulting Numbers: [73, 18] Generated Node #0,3,3: 60:[73, 18] Operation: 28-10=18 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 60:[28, 63], Operations: ['35-25=10', '73-10=63'] Exploring Operation: 28+63=91, Resulting Numbers: [91] 91,60 unequal: No Solution Exploring Operation: 28*63=1764, Resulting Numbers: [1764] 1764,60 unequal: No Solution Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 60:[10, 45], Operations: ['35-25=10', '73-28=45'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 10*45=450, Resulting Numbers: [450] 450,60 unequal: No Solution Exploring Operation: 10+45=55, Resulting Numbers: [55] 55,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 60:[73, 18], Operations: ['35-25=10', '28-10=18'] Exploring Operation: 73+18=91, Resulting Numbers: [91] 91,60 unequal: No Solution Exploring Operation: 73*18=1314, Resulting Numbers: [1314] 1314,60 unequal: No Solution Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 60:[73, 38], Operations: ['35-25=10', '28+10=38'] Exploring Operation: 73*38=2774, Resulting Numbers: [2774] 2774,60 unequal: No Solution Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 73+38=111, Resulting Numbers: [111] 111,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 60:[73, 28, 60], Operations: ['25+35=60'] Exploring Operation: 73-28=45, Resulting Numbers: [60, 45] Generated Node #0,2,0: 60:[60, 45] Operation: 73-28=45 Exploring Operation: 73-60=13, Resulting Numbers: [28, 13] Generated Node #0,2,1: 60:[28, 13] Operation: 73-60=13 Exploring Operation: 60-28=32, Resulting Numbers: [73, 32] Generated Node #0,2,2: 60:[73, 32] Operation: 60-28=32 Exploring Operation: 73+28=101, Resulting Numbers: [60, 101] Generated Node #0,2,3: 60:[60, 101] Operation: 73+28=101 Moving to Node #0,0 Current State: 60:[73, 35, 3], Operations: ['28-25=3'] Exploring Operation: 73-3=70, Resulting Numbers: [35, 70] Generated Node #0,0,0: 60:[35, 70] Operation: 73-3=70 Exploring Operation: 35-3=32, Resulting Numbers: [73, 32] Generated Node #0,0,1: 60:[73, 32] Operation: 35-3=32 Exploring Operation: 73+3=76, Resulting Numbers: [35, 76] Generated Node #0,0,2: 60:[35, 76] Operation: 73+3=76 Exploring Operation: 73-35=38, Resulting Numbers: [3, 38] Generated Node #0,0,3: 60:[3, 38] Operation: 73-35=38 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 60:[3, 38], Operations: ['28-25=3', '73-35=38'] Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,60 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,60 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[35, 70], Operations: ['28-25=3', '73-3=70'] Exploring Operation: 35*70=2450, Resulting Numbers: [2450] 2450,60 unequal: No Solution Exploring Operation: 35+70=105, Resulting Numbers: [105] 105,60 unequal: No Solution Exploring Operation: 70-35=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 70/35=2, Resulting Numbers: [2] 2,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[73, 32], Operations: ['28-25=3', '35-3=32'] Exploring Operation: 73+32=105, Resulting Numbers: [105] 105,60 unequal: No Solution Exploring Operation: 73-32=41, Resulting Numbers: [41] 41,60 unequal: No Solution Exploring Operation: 73*32=2336, Resulting Numbers: [2336] 2336,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 60:[35, 76], Operations: ['28-25=3', '73+3=76'] Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,60 unequal: No Solution Exploring Operation: 35*76=2660, Resulting Numbers: [2660] 2660,60 unequal: No Solution Exploring Operation: 35+76=111, Resulting Numbers: [111] 111,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 60:[28, 13], Operations: ['25+35=60', '73-60=13'] Exploring Operation: 28*13=364, Resulting Numbers: [364] 364,60 unequal: No Solution Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,60 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[73, 32], Operations: ['25+35=60', '60-28=32'] Exploring Operation: 73-32=41, Resulting Numbers: [41] 41,60 unequal: No Solution Exploring Operation: 73*32=2336, Resulting Numbers: [2336] 2336,60 unequal: No Solution Exploring Operation: 73+32=105, Resulting Numbers: [105] 105,60 unequal: No Solution Moving to Node #0,2,0 Current State: 60:[60, 45], Operations: ['25+35=60', '73-28=45'] Exploring Operation: 60+45=105, Resulting Numbers: [105] 105,60 unequal: No Solution Exploring Operation: 60*45=2700, Resulting Numbers: [2700] 2700,60 unequal: No Solution Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,60 unequal: No Solution Moving to Node #0,2,3 Current State: 60:[60, 101], Operations: ['25+35=60', '73+28=101'] Exploring Operation: 60*101=6060, Resulting Numbers: [6060] 6060,60 unequal: No Solution Exploring Operation: 60+101=161, Resulting Numbers: [161] 161,60 unequal: No Solution Exploring Operation: 101-60=41, Resulting Numbers: [41] 41,60 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 16, 65, 4, 90 ]
90
[ "16*4=64", "65-64=1", "90*1=90" ]
Current State: 90:[16, 65, 4, 90], Operations: [] Exploring Operation: 16*4=64, Resulting Numbers: [65, 90, 64] Generated Node #2: [65, 90, 64] from Operation: 16*4=64 Current State: 90:[65, 90, 64], Operations: ['16*4=64'] Exploring Operation: 65-64=1, Resulting Numbers: [90, 1] Generated Node #3: [90, 1] from Operation: 65-64=1 Current State: 90:[90, 1], Operations: ['16*4=64', '65-64=1'] Exploring Operation: 90*1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[16, 65, 4, 90], Operations: [] Exploring Operation: 16+65=81, Resulting Numbers: [4, 90, 81] Generated Node #0,0: 90:[4, 90, 81] Operation: 16+65=81 Exploring Operation: 90-65=25, Resulting Numbers: [16, 4, 25] Generated Node #0,1: 90:[16, 4, 25] Operation: 90-65=25 Exploring Operation: 16/4=4, Resulting Numbers: [65, 90, 4] Generated Node #0,2: 90:[65, 90, 4] Operation: 16/4=4 Exploring Operation: 65-16=49, Resulting Numbers: [4, 90, 49] Generated Node #0,3: 90:[4, 90, 49] Operation: 65-16=49 Exploring Operation: 65-4=61, Resulting Numbers: [16, 90, 61] Generated Node #0,4: 90:[16, 90, 61] Operation: 65-4=61 Start Sub Search at level 1: Moving to Node #0,3 Current State: 90:[4, 90, 49], Operations: ['65-16=49'] Exploring Operation: 90-49=41, Resulting Numbers: [4, 41] Generated Node #0,3,0: 90:[4, 41] Operation: 90-49=41 Exploring Operation: 4+90=94, Resulting Numbers: [49, 94] Generated Node #0,3,1: 90:[49, 94] Operation: 4+90=94 Exploring Operation: 90-4=86, Resulting Numbers: [49, 86] Generated Node #0,3,2: 90:[49, 86] Operation: 90-4=86 Exploring Operation: 49-4=45, Resulting Numbers: [90, 45] Generated Node #0,3,3: 90:[90, 45] Operation: 49-4=45 Exploring Operation: 4+49=53, Resulting Numbers: [90, 53] Generated Node #0,3,4: 90:[90, 53] Operation: 4+49=53 Moving to Node #0,3,3 Current State: 90:[90, 45], Operations: ['65-16=49', '49-4=45'] Exploring Operation: 90-45=45, Resulting Numbers: [45] 45,90 unequal: No Solution Exploring Operation: 90/45=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 90+45=135, Resulting Numbers: [135] 135,90 unequal: No Solution Exploring Operation: 90*45=4050, Resulting Numbers: [4050] 4050,90 unequal: No Solution Moving to Node #0,3,0 Current State: 90:[4, 41], Operations: ['65-16=49', '90-49=41'] Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,90 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,90 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,90 unequal: No Solution Moving to Node #0,3,1 Current State: 90:[49, 94], Operations: ['65-16=49', '4+90=94'] Exploring Operation: 49+94=143, Resulting Numbers: [143] 143,90 unequal: No Solution Exploring Operation: 49*94=4606, Resulting Numbers: [4606] 4606,90 unequal: No Solution Exploring Operation: 94-49=45, Resulting Numbers: [45] 45,90 unequal: No Solution Moving to Node #0,3,2 Current State: 90:[49, 86], Operations: ['65-16=49', '90-4=86'] Exploring Operation: 49+86=135, Resulting Numbers: [135] 135,90 unequal: No Solution Exploring Operation: 49*86=4214, Resulting Numbers: [4214] 4214,90 unequal: No Solution Exploring Operation: 86-49=37, Resulting Numbers: [37] 37,90 unequal: No Solution Moving to Node #0,3,4 Current State: 90:[90, 53], Operations: ['65-16=49', '4+49=53'] Exploring Operation: 90+53=143, Resulting Numbers: [143] 143,90 unequal: No Solution Exploring Operation: 90*53=4770, Resulting Numbers: [4770] 4770,90 unequal: No Solution Exploring Operation: 90-53=37, Resulting Numbers: [37] 37,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:[16, 4, 25], Operations: ['90-65=25'] Exploring Operation: 25-4=21, Resulting Numbers: [16, 21] Generated Node #0,1,0: 90:[16, 21] Operation: 25-4=21 Exploring Operation: 4+25=29, Resulting Numbers: [16, 29] Generated Node #0,1,1: 90:[16, 29] Operation: 4+25=29 Exploring Operation: 16+25=41, Resulting Numbers: [4, 41] Generated Node #0,1,2: 90:[4, 41] Operation: 16+25=41 Exploring Operation: 25-16=9, Resulting Numbers: [4, 9] Generated Node #0,1,3: 90:[4, 9] Operation: 25-16=9 Exploring Operation: 16/4=4, Resulting Numbers: [25, 4] Generated Node #0,1,4: 90:[25, 4] Operation: 16/4=4 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 90:[4, 9], Operations: ['90-65=25', '25-16=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,90 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,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,1 Current State: 90:[16, 29], Operations: ['90-65=25', '4+25=29'] Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 16*29=464, Resulting Numbers: [464] 464,90 unequal: No Solution Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,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:[16, 21], Operations: ['90-65=25', '25-4=21'] Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,90 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 16*21=336, Resulting Numbers: [336] 336,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,2 Current State: 90:[4, 41], Operations: ['90-65=25', '16+25=41'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,90 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,90 unequal: No Solution Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,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,4 Current State: 90:[25, 4], Operations: ['90-65=25', '16/4=4'] Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,90 unequal: No Solution Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,90 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[4, 90, 81], Operations: ['16+65=81'] Exploring Operation: 4+81=85, Resulting Numbers: [90, 85] Generated Node #0,0,0: 90:[90, 85] Operation: 4+81=85 Exploring Operation: 90-4=86, Resulting Numbers: [81, 86] Generated Node #0,0,1: 90:[81, 86] Operation: 90-4=86 Exploring Operation: 81-4=77, Resulting Numbers: [90, 77] Generated Node #0,0,2: 90:[90, 77] Operation: 81-4=77 Exploring Operation: 4+90=94, Resulting Numbers: [81, 94] Generated Node #0,0,3: 90:[81, 94] Operation: 4+90=94 Exploring Operation: 90-81=9, Resulting Numbers: [4, 9] Generated Node #0,0,4: 90:[4, 9] Operation: 90-81=9 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 90:[4, 9], Operations: ['16+65=81', '90-81=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,90 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,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,0,0 Current State: 90:[90, 85], Operations: ['16+65=81', '4+81=85'] Exploring Operation: 90*85=7650, Resulting Numbers: [7650] 7650,90 unequal: No Solution Exploring Operation: 90-85=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 90+85=175, Resulting Numbers: [175] 175,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,0,1 Current State: 90:[81, 86], Operations: ['16+65=81', '90-4=86'] Exploring Operation: 81*86=6966, Resulting Numbers: [6966] 6966,90 unequal: No Solution Exploring Operation: 81+86=167, Resulting Numbers: [167] 167,90 unequal: No Solution Exploring Operation: 86-81=5, Resulting Numbers: [5] 5,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,0,2 Current State: 90:[90, 77], Operations: ['16+65=81', '81-4=77'] Exploring Operation: 90-77=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 90*77=6930, Resulting Numbers: [6930] 6930,90 unequal: No Solution Exploring Operation: 90+77=167, Resulting Numbers: [167] 167,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,0,3 Current State: 90:[81, 94], Operations: ['16+65=81', '4+90=94'] Exploring Operation: 94-81=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 81+94=175, Resulting Numbers: [175] 175,90 unequal: No Solution Exploring Operation: 81*94=7614, Resulting Numbers: [7614] 7614,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 Start Sub Search at level 1: Moving to Node #0,4 Current State: 90:[16, 90, 61], Operations: ['65-4=61'] Exploring Operation: 90-61=29, Resulting Numbers: [16, 29] Generated Node #0,4,0: 90:[16, 29] Operation: 90-61=29 Exploring Operation: 90-16=74, Resulting Numbers: [61, 74] Generated Node #0,4,1: 90:[61, 74] Operation: 90-16=74 Exploring Operation: 16+61=77, Resulting Numbers: [90, 77] Generated Node #0,4,2: 90:[90, 77] Operation: 16+61=77 Exploring Operation: 16+90=106, Resulting Numbers: [61, 106] Generated Node #0,4,3: 90:[61, 106] Operation: 16+90=106 Exploring Operation: 61-16=45, Resulting Numbers: [90, 45] Generated Node #0,4,4: 90:[90, 45] Operation: 61-16=45 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 90:[90, 45], Operations: ['65-4=61', '61-16=45'] Exploring Operation: 90+45=135, Resulting Numbers: [135] 135,90 unequal: No Solution Exploring Operation: 90-45=45, Resulting Numbers: [45] 45,90 unequal: No Solution Exploring Operation: 90/45=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 90*45=4050, Resulting Numbers: [4050] 4050,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,4,0 Current State: 90:[16, 29], Operations: ['65-4=61', '90-61=29'] Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,90 unequal: No Solution Exploring Operation: 16*29=464, Resulting Numbers: [464] 464,90 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,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,4,2 Current State: 90:[90, 77], Operations: ['65-4=61', '16+61=77'] Exploring Operation: 90-77=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 90+77=167, Resulting Numbers: [167] 167,90 unequal: No Solution Exploring Operation: 90*77=6930, Resulting Numbers: [6930] 6930,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,4,1 Current State: 90:[61, 74], Operations: ['65-4=61', '90-16=74'] Exploring Operation: 61+74=135, Resulting Numbers: [135] 135,90 unequal: No Solution Exploring Operation: 61*74=4514, Resulting Numbers: [4514] 4514,90 unequal: No Solution Exploring Operation: 74-61=13, Resulting Numbers: [13] 13,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,4,3 Current State: 90:[61, 106], Operations: ['65-4=61', '16+90=106'] Exploring Operation: 61*106=6466, Resulting Numbers: [6466] 6466,90 unequal: No Solution Exploring Operation: 106-61=45, Resulting Numbers: [45] 45,90 unequal: No Solution Exploring Operation: 61+106=167, Resulting Numbers: [167] 167,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[65, 90, 4], Operations: ['16/4=4'] Exploring Operation: 90-65=25, Resulting Numbers: [4, 25] Generated Node #0,2,0: 90:[4, 25] Operation: 90-65=25 Exploring Operation: 90+4=94, Resulting Numbers: [65, 94] Generated Node #0,2,1: 90:[65, 94] Operation: 90+4=94 Exploring Operation: 65+4=69, Resulting Numbers: [90, 69] Generated Node #0,2,2: 90:[90, 69] Operation: 65+4=69 Exploring Operation: 90-4=86, Resulting Numbers: [65, 86] Generated Node #0,2,3: 90:[65, 86] Operation: 90-4=86 Exploring Operation: 65-4=61, Resulting Numbers: [90, 61] Generated Node #0,2,4: 90:[90, 61] Operation: 65-4=61 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 90:[4, 25], Operations: ['16/4=4', '90-65=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,90 unequal: No Solution Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,90 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,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,2,4 Current State: 90:[90, 61], Operations: ['16/4=4', '65-4=61'] Exploring Operation: 90-61=29, Resulting Numbers: [29] 29,90 unequal: No Solution Exploring Operation: 90*61=5490, Resulting Numbers: [5490] 5490,90 unequal: No Solution Exploring Operation: 90+61=151, Resulting Numbers: [151] 151,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,2,2 Current State: 90:[90, 69], Operations: ['16/4=4', '65+4=69'] Exploring Operation: 90*69=6210, Resulting Numbers: [6210] 6210,90 unequal: No Solution Exploring Operation: 90+69=159, Resulting Numbers: [159] 159,90 unequal: No Solution Exploring Operation: 90-69=21, Resulting Numbers: [21] 21,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,2,1 Current State: 90:[65, 94], Operations: ['16/4=4', '90+4=94'] Exploring Operation: 65*94=6110, Resulting Numbers: [6110] 6110,90 unequal: No Solution Exploring Operation: 65+94=159, Resulting Numbers: [159] 159,90 unequal: No Solution Exploring Operation: 94-65=29, Resulting Numbers: [29] 29,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,2,3 Current State: 90:[65, 86], Operations: ['16/4=4', '90-4=86'] Exploring Operation: 65*86=5590, Resulting Numbers: [5590] 5590,90 unequal: No Solution Exploring Operation: 86-65=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 65+86=151, Resulting Numbers: [151] 151,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_5
mult_heuristic
[ 68, 15, 3, 17 ]
74
[ "17-15=2", "3*2=6", "68+6=74" ]
Current State: 74:[68, 15, 3, 17], Operations: [] Exploring Operation: 17-15=2, Resulting Numbers: [68, 3, 2] Generated Node #2: [68, 3, 2] from Operation: 17-15=2 Current State: 74:[68, 3, 2], Operations: ['17-15=2'] Exploring Operation: 3*2=6, Resulting Numbers: [68, 6] Generated Node #3: [68, 6] from Operation: 3*2=6 Current State: 74:[68, 6], Operations: ['17-15=2', '3*2=6'] Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[68, 15, 3, 17], Operations: [] Exploring Operation: 68/17=4, Resulting Numbers: [15, 3, 4] Generated Node #0,0: 74:[15, 3, 4] Operation: 68/17=4 Exploring Operation: 15/3=5, Resulting Numbers: [68, 17, 5] Generated Node #0,1: 74:[68, 17, 5] Operation: 15/3=5 Exploring Operation: 17-15=2, Resulting Numbers: [68, 3, 2] Generated Node #0,2: 74:[68, 3, 2] Operation: 17-15=2 Exploring Operation: 15+17=32, Resulting Numbers: [68, 3, 32] Generated Node #0,3: 74:[68, 3, 32] Operation: 15+17=32 Moving to Node #0,2 Current State: 74:[68, 3, 2], Operations: ['17-15=2'] Exploring Operation: 3-2=1, Resulting Numbers: [68, 1] Generated Node #0,2,0: 74:[68, 1] Operation: 3-2=1 Exploring Operation: 68/2=34, Resulting Numbers: [3, 34] Generated Node #0,2,1: 74:[3, 34] Operation: 68/2=34 Exploring Operation: 68+3=71, Resulting Numbers: [2, 71] Generated Node #0,2,2: 74:[2, 71] Operation: 68+3=71 Exploring Operation: 68+2=70, Resulting Numbers: [3, 70] Generated Node #0,2,3: 74:[3, 70] Operation: 68+2=70 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 74:[2, 71], Operations: ['17-15=2', '68+3=71'] Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,74 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,74 unequal: No Solution Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 74:[3, 34], Operations: ['17-15=2', '68/2=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,74 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 74:[3, 70], Operations: ['17-15=2', '68+2=70'] Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,74 unequal: No Solution Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 74:[68, 1], Operations: ['17-15=2', '3-2=1'] Exploring Operation: 68-1=67, Resulting Numbers: [67] 67,74 unequal: No Solution Exploring Operation: 68*1=68, Resulting Numbers: [68] 68,74 unequal: No Solution Exploring Operation: 68/1=68, Resulting Numbers: [68] 68,74 unequal: No Solution Exploring Operation: 68+1=69, Resulting Numbers: [69] 69,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 74:[68, 3, 32], Operations: ['15+17=32'] Exploring Operation: 68-32=36, Resulting Numbers: [3, 36] Generated Node #0,3,0: 74:[3, 36] Operation: 68-32=36 Exploring Operation: 68+3=71, Resulting Numbers: [32, 71] Generated Node #0,3,1: 74:[32, 71] Operation: 68+3=71 Exploring Operation: 3+32=35, Resulting Numbers: [68, 35] Generated Node #0,3,2: 74:[68, 35] Operation: 3+32=35 Exploring Operation: 68-3=65, Resulting Numbers: [32, 65] Generated Node #0,3,3: 74:[32, 65] Operation: 68-3=65 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 74:[3, 36], Operations: ['15+17=32', '68-32=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,74 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,74 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 74:[32, 71], Operations: ['15+17=32', '68+3=71'] Exploring Operation: 32+71=103, Resulting Numbers: [103] 103,74 unequal: No Solution Exploring Operation: 32*71=2272, Resulting Numbers: [2272] 2272,74 unequal: No Solution Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 74:[68, 35], Operations: ['15+17=32', '3+32=35'] Exploring Operation: 68+35=103, Resulting Numbers: [103] 103,74 unequal: No Solution Exploring Operation: 68*35=2380, Resulting Numbers: [2380] 2380,74 unequal: No Solution Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 74:[32, 65], Operations: ['15+17=32', '68-3=65'] Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,74 unequal: No Solution Exploring Operation: 32*65=2080, Resulting Numbers: [2080] 2080,74 unequal: No Solution Exploring Operation: 32+65=97, Resulting Numbers: [97] 97,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 74:[15, 3, 4], Operations: ['68/17=4'] Exploring Operation: 15-3=12, Resulting Numbers: [4, 12] Generated Node #0,0,0: 74:[4, 12] Operation: 15-3=12 Exploring Operation: 15-4=11, Resulting Numbers: [3, 11] Generated Node #0,0,1: 74:[3, 11] Operation: 15-4=11 Exploring Operation: 15/3=5, Resulting Numbers: [4, 5] Generated Node #0,0,2: 74:[4, 5] Operation: 15/3=5 Exploring Operation: 15*3=45, Resulting Numbers: [4, 45] Generated Node #0,0,3: 74:[4, 45] Operation: 15*3=45 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[4, 5], Operations: ['68/17=4', '15/3=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,74 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,74 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[3, 11], Operations: ['68/17=4', '15-4=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,74 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 74:[4, 45], Operations: ['68/17=4', '15*3=45'] Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,74 unequal: No Solution Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 4*45=180, Resulting Numbers: [180] 180,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[4, 12], Operations: ['68/17=4', '15-3=12'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,74 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 74:[68, 17, 5], Operations: ['15/3=5'] Exploring Operation: 68/17=4, Resulting Numbers: [5, 4] Generated Node #0,1,0: 74:[5, 4] Operation: 68/17=4 Exploring Operation: 68+5=73, Resulting Numbers: [17, 73] Generated Node #0,1,1: 74:[17, 73] Operation: 68+5=73 Exploring Operation: 17-5=12, Resulting Numbers: [68, 12] Generated Node #0,1,2: 74:[68, 12] Operation: 17-5=12 Exploring Operation: 68+17=85, Resulting Numbers: [5, 85] Generated Node #0,1,3: 74:[5, 85] Operation: 68+17=85 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[5, 4], Operations: ['15/3=5', '68/17=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,74 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 74:[5, 85], Operations: ['15/3=5', '68+17=85'] Exploring Operation: 5+85=90, Resulting Numbers: [90] 90,74 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,74 unequal: No Solution Exploring Operation: 5*85=425, Resulting Numbers: [425] 425,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[17, 73], Operations: ['15/3=5', '68+5=73'] Exploring Operation: 17+73=90, Resulting Numbers: [90] 90,74 unequal: No Solution Exploring Operation: 73-17=56, Resulting Numbers: [56] 56,74 unequal: No Solution Exploring Operation: 17*73=1241, Resulting Numbers: [1241] 1241,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[68, 12], Operations: ['15/3=5', '17-5=12'] Exploring Operation: 68*12=816, Resulting Numbers: [816] 816,74 unequal: No Solution Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,74 unequal: No Solution Exploring Operation: 68+12=80, Resulting Numbers: [80] 80,74 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
[ 33, 40, 12, 12 ]
72
[ "33+40=73", "12/12=1", "73-1=72" ]
Current State: 72:[33, 40, 12, 12], Operations: [] Exploring Operation: 33+40=73, Resulting Numbers: [12, 12, 73] Generated Node #2: [12, 12, 73] from Operation: 33+40=73 Current State: 72:[12, 12, 73], Operations: ['33+40=73'] Exploring Operation: 12/12=1, Resulting Numbers: [73, 1] Generated Node #3: [73, 1] from Operation: 12/12=1 Current State: 72:[73, 1], Operations: ['33+40=73', '12/12=1'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[33, 40, 12, 12], Operations: [] Exploring Operation: 40-33=7, Resulting Numbers: [12, 12, 7] Generated Node #0,0: 72:[12, 12, 7] Operation: 40-33=7 Exploring Operation: 33+40=73, Resulting Numbers: [12, 12, 73] Generated Node #0,1: 72:[12, 12, 73] Operation: 33+40=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[12, 12, 7], Operations: ['40-33=7'] Exploring Operation: 12+7=19, Resulting Numbers: [12, 19] Generated Node #0,0,0: 72:[12, 19] Operation: 12+7=19 Exploring Operation: 12+12=24, Resulting Numbers: [7, 24] Generated Node #0,0,1: 72:[7, 24] Operation: 12+12=24 Moving to Node #0,0,0 Current State: 72:[12, 19], Operations: ['40-33=7', '12+7=19'] Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,72 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[7, 24], Operations: ['40-33=7', '12+12=24'] Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,72 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[12, 12, 73], Operations: ['33+40=73'] Exploring Operation: 12+12=24, Resulting Numbers: [73, 24] Generated Node #0,1,0: 72:[73, 24] Operation: 12+12=24 Exploring Operation: 12/12=1, Resulting Numbers: [73, 1] Generated Node #0,1,1: 72:[73, 1] Operation: 12/12=1 Moving to Node #0,1,0 Current State: 72:[73, 24], Operations: ['33+40=73', '12+12=24'] Exploring Operation: 73+24=97, Resulting Numbers: [97] 97,72 unequal: No Solution Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[73, 1], Operations: ['33+40=73', '12/12=1'] Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[33, 40, 12, 12], Operations: [] Exploring Operation: 33+40=73, Resulting Numbers: [12, 12, 73] Generated Node #0,1: 72:[12, 12, 73] Operation: 33+40=73 Moving to Node #0,1 Current State: 72:[12, 12, 73], Operations: ['33+40=73'] Exploring Operation: 12/12=1, Resulting Numbers: [73, 1] Generated Node #0,1,1: 72:[73, 1] Operation: 12/12=1 Moving to Node #0,1,1 Current State: 72:[73, 1], Operations: ['33+40=73', '12/12=1'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
sum_heuristic
[ 12, 24, 29, 16 ]
49
[ "12+24=36", "29-16=13", "36+13=49" ]
Current State: 49:[12, 24, 29, 16], Operations: [] Exploring Operation: 12+24=36, Resulting Numbers: [29, 16, 36] Generated Node #2: [29, 16, 36] from Operation: 12+24=36 Current State: 49:[29, 16, 36], Operations: ['12+24=36'] Exploring Operation: 29-16=13, Resulting Numbers: [36, 13] Generated Node #3: [36, 13] from Operation: 29-16=13 Current State: 49:[36, 13], Operations: ['12+24=36', '29-16=13'] Exploring Operation: 36+13=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[12, 24, 29, 16], Operations: [] Exploring Operation: 29+16=45, Resulting Numbers: [12, 24, 45] Generated Node #0,0: 49:[12, 24, 45] Operation: 29+16=45 Exploring Operation: 24-16=8, Resulting Numbers: [12, 29, 8] Generated Node #0,1: 49:[12, 29, 8] Operation: 24-16=8 Exploring Operation: 24+29=53, Resulting Numbers: [12, 16, 53] Generated Node #0,2: 49:[12, 16, 53] Operation: 24+29=53 Exploring Operation: 29-16=13, Resulting Numbers: [12, 24, 13] Generated Node #0,3: 49:[12, 24, 13] Operation: 29-16=13 Exploring Operation: 29-24=5, Resulting Numbers: [12, 16, 5] Generated Node #0,4: 49:[12, 16, 5] Operation: 29-24=5 Start Sub Search at level 1: Moving to Node #0,4 Current State: 49:[12, 16, 5], Operations: ['29-24=5'] Exploring Operation: 12+5=17, Resulting Numbers: [16, 17] Generated Node #0,4,0: 49:[16, 17] Operation: 12+5=17 Exploring Operation: 16-5=11, Resulting Numbers: [12, 11] Generated Node #0,4,1: 49:[12, 11] Operation: 16-5=11 Exploring Operation: 12-5=7, Resulting Numbers: [16, 7] Generated Node #0,4,2: 49:[16, 7] Operation: 12-5=7 Exploring Operation: 16+5=21, Resulting Numbers: [12, 21] Generated Node #0,4,3: 49:[12, 21] Operation: 16+5=21 Exploring Operation: 16-12=4, Resulting Numbers: [5, 4] Generated Node #0,4,4: 49:[5, 4] Operation: 16-12=4 Moving to Node #0,4,4 Current State: 49:[5, 4], Operations: ['29-24=5', '16-12=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,49 unequal: No Solution Moving to Node #0,4,2 Current State: 49:[16, 7], Operations: ['29-24=5', '12-5=7'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,49 unequal: No Solution Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,49 unequal: No Solution Moving to Node #0,4,1 Current State: 49:[12, 11], Operations: ['29-24=5', '16-5=11'] Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,49 unequal: No Solution Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,49 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,49 unequal: No Solution Moving to Node #0,4,0 Current State: 49:[16, 17], Operations: ['29-24=5', '12+5=17'] Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 16+17=33, Resulting Numbers: [33] 33,49 unequal: No Solution Exploring Operation: 16*17=272, Resulting Numbers: [272] 272,49 unequal: No Solution Moving to Node #0,4,3 Current State: 49:[12, 21], Operations: ['29-24=5', '16+5=21'] Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,49 unequal: No Solution Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,49 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[12, 16, 53], Operations: ['24+29=53'] Exploring Operation: 53-12=41, Resulting Numbers: [16, 41] Generated Node #0,2,0: 49:[16, 41] Operation: 53-12=41 Exploring Operation: 53-16=37, Resulting Numbers: [12, 37] Generated Node #0,2,1: 49:[12, 37] Operation: 53-16=37 Exploring Operation: 16-12=4, Resulting Numbers: [53, 4] Generated Node #0,2,2: 49:[53, 4] Operation: 16-12=4 Exploring Operation: 12+53=65, Resulting Numbers: [16, 65] Generated Node #0,2,3: 49:[16, 65] Operation: 12+53=65 Exploring Operation: 12+16=28, Resulting Numbers: [53, 28] Generated Node #0,2,4: 49:[53, 28] Operation: 12+16=28 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 49:[53, 4], Operations: ['24+29=53', '16-12=4'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[12, 24, 29, 16], Operations: [] Exploring Operation: 24+29=53, Resulting Numbers: [12, 16, 53] Generated Node #0,2: 49:[12, 16, 53] Operation: 24+29=53 Moving to Node #0,2 Current State: 49:[12, 16, 53], Operations: ['24+29=53'] Exploring Operation: 16-12=4, Resulting Numbers: [53, 4] Generated Node #0,2,2: 49:[53, 4] Operation: 16-12=4 Moving to Node #0,2,2 Current State: 49:[53, 4], Operations: ['24+29=53', '16-12=4'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_5
mult_heuristic
[ 47, 89, 13, 93 ]
30
[ "47+89=136", "13+93=106", "136-106=30" ]
Current State: 30:[47, 89, 13, 93], Operations: [] Exploring Operation: 47+89=136, Resulting Numbers: [13, 93, 136] Generated Node #2: [13, 93, 136] from Operation: 47+89=136 Current State: 30:[13, 93, 136], Operations: ['47+89=136'] Exploring Operation: 13+93=106, Resulting Numbers: [136, 106] Generated Node #3: [136, 106] from Operation: 13+93=106 Current State: 30:[136, 106], Operations: ['47+89=136', '13+93=106'] Exploring Operation: 136-106=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[47, 89, 13, 93], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [47, 13, 4] Generated Node #0,0: 30:[47, 13, 4] Operation: 93-89=4 Exploring Operation: 47-13=34, Resulting Numbers: [89, 93, 34] Generated Node #0,1: 30:[89, 93, 34] Operation: 47-13=34 Exploring Operation: 93-47=46, Resulting Numbers: [89, 13, 46] Generated Node #0,2: 30:[89, 13, 46] Operation: 93-47=46 Exploring Operation: 89-47=42, Resulting Numbers: [13, 93, 42] Generated Node #0,3: 30:[13, 93, 42] Operation: 89-47=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[47, 13, 4], Operations: ['93-89=4'] Exploring Operation: 47-13=34, Resulting Numbers: [4, 34] Generated Node #0,0,0: 30:[4, 34] Operation: 47-13=34 Exploring Operation: 13-4=9, Resulting Numbers: [47, 9] Generated Node #0,0,1: 30:[47, 9] Operation: 13-4=9 Exploring Operation: 47-4=43, Resulting Numbers: [13, 43] Generated Node #0,0,2: 30:[13, 43] Operation: 47-4=43 Exploring Operation: 13+4=17, Resulting Numbers: [47, 17] Generated Node #0,0,3: 30:[47, 17] Operation: 13+4=17 Moving to Node #0,0,0 Current State: 30:[4, 34], Operations: ['93-89=4', '47-13=34'] Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,30 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,30 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[47, 89, 13, 93], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [47, 13, 4] Generated Node #0,0: 30:[47, 13, 4] Operation: 93-89=4 Moving to Node #0,0 Current State: 30:[47, 13, 4], Operations: ['93-89=4'] Exploring Operation: 47-13=34, Resulting Numbers: [4, 34] Generated Node #0,0,0: 30:[4, 34] Operation: 47-13=34 Moving to Node #0,0,0 Current State: 30:[4, 34], Operations: ['93-89=4', '47-13=34'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 48, 55, 8, 51 ]
66
[ "55-48=7", "8+51=59", "7+59=66" ]
Current State: 66:[48, 55, 8, 51], Operations: [] Exploring Operation: 55-48=7, Resulting Numbers: [8, 51, 7] Generated Node #2: [8, 51, 7] from Operation: 55-48=7 Current State: 66:[8, 51, 7], Operations: ['55-48=7'] Exploring Operation: 8+51=59, Resulting Numbers: [7, 59] Generated Node #3: [7, 59] from Operation: 8+51=59 Current State: 66:[7, 59], Operations: ['55-48=7', '8+51=59'] Exploring Operation: 7+59=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[48, 55, 8, 51], Operations: [] Exploring Operation: 55-51=4, Resulting Numbers: [48, 8, 4] Generated Node #0,0: 66:[48, 8, 4] Operation: 55-51=4 Exploring Operation: 55-48=7, Resulting Numbers: [8, 51, 7] Generated Node #0,1: 66:[8, 51, 7] Operation: 55-48=7 Exploring Operation: 51-48=3, Resulting Numbers: [55, 8, 3] Generated Node #0,2: 66:[55, 8, 3] Operation: 51-48=3 Exploring Operation: 48/8=6, Resulting Numbers: [55, 51, 6] Generated Node #0,3: 66:[55, 51, 6] Operation: 48/8=6 Moving to Node #0,2 Current State: 66:[55, 8, 3], Operations: ['51-48=3'] Exploring Operation: 8+3=11, Resulting Numbers: [55, 11] Generated Node #0,2,0: 66:[55, 11] Operation: 8+3=11 Exploring Operation: 8-3=5, Resulting Numbers: [55, 5] Generated Node #0,2,1: 66:[55, 5] Operation: 8-3=5 Exploring Operation: 55+8=63, Resulting Numbers: [3, 63] Generated Node #0,2,2: 66:[3, 63] Operation: 55+8=63 Exploring Operation: 55+3=58, Resulting Numbers: [8, 58] Generated Node #0,2,3: 66:[8, 58] Operation: 55+3=58 Moving to Node #0,1 Current State: 66:[8, 51, 7], Operations: ['55-48=7'] Exploring Operation: 51-8=43, Resulting Numbers: [7, 43] Generated Node #0,1,0: 66:[7, 43] Operation: 51-8=43 Exploring Operation: 51+7=58, Resulting Numbers: [8, 58] Generated Node #0,1,1: 66:[8, 58] Operation: 51+7=58 Exploring Operation: 8+51=59, Resulting Numbers: [7, 59] Generated Node #0,1,2: 66:[7, 59] Operation: 8+51=59 Exploring Operation: 51-7=44, Resulting Numbers: [8, 44] Generated Node #0,1,3: 66:[8, 44] Operation: 51-7=44 Moving to Node #0,0 Current State: 66:[48, 8, 4], Operations: ['55-51=4'] Exploring Operation: 48-8=40, Resulting Numbers: [4, 40] Generated Node #0,0,0: 66:[4, 40] Operation: 48-8=40 Exploring Operation: 48+8=56, Resulting Numbers: [4, 56] Generated Node #0,0,1: 66:[4, 56] Operation: 48+8=56 Exploring Operation: 48/8=6, Resulting Numbers: [4, 6] Generated Node #0,0,2: 66:[4, 6] Operation: 48/8=6 Exploring Operation: 48/4=12, Resulting Numbers: [8, 12] Generated Node #0,0,3: 66:[8, 12] Operation: 48/4=12 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 66:[4, 6], Operations: ['55-51=4', '48/8=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,66 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 66:[8, 12], Operations: ['55-51=4', '48/4=12'] Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,66 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[4, 40], Operations: ['55-51=4', '48-8=40'] Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,66 unequal: No Solution Exploring Operation: 4*40=160, Resulting Numbers: [160] 160,66 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[4, 56], Operations: ['55-51=4', '48+8=56'] Exploring Operation: 4*56=224, Resulting Numbers: [224] 224,66 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,66 unequal: No Solution Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,66 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 66:[55, 51, 6], Operations: ['48/8=6'] Exploring Operation: 55+6=61, Resulting Numbers: [51, 61] Generated Node #0,3,0: 66:[51, 61] Operation: 55+6=61 Exploring Operation: 51+6=57, Resulting Numbers: [55, 57] Generated Node #0,3,1: 66:[55, 57] Operation: 51+6=57 Exploring Operation: 55-51=4, Resulting Numbers: [6, 4] Generated Node #0,3,2: 66:[6, 4] Operation: 55-51=4 Exploring Operation: 51-6=45, Resulting Numbers: [55, 45] Generated Node #0,3,3: 66:[55, 45] Operation: 51-6=45 Moving to Node #0,3,2 Current State: 66:[6, 4], Operations: ['48/8=6', '55-51=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,66 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,66 unequal: No Solution Moving to Node #0,2,2 Current State: 66:[3, 63], Operations: ['51-48=3', '55+8=63'] Exploring Operation: 3*63=189, Resulting Numbers: [189] 189,66 unequal: No Solution Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[48, 55, 8, 51], Operations: [] Exploring Operation: 51-48=3, Resulting Numbers: [55, 8, 3] Generated Node #0,2: 66:[55, 8, 3] Operation: 51-48=3 Moving to Node #0,2 Current State: 66:[55, 8, 3], Operations: ['51-48=3'] Exploring Operation: 55+8=63, Resulting Numbers: [3, 63] Generated Node #0,2,2: 66:[3, 63] Operation: 55+8=63 Moving to Node #0,2,2 Current State: 66:[3, 63], Operations: ['51-48=3', '55+8=63'] Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.962674
hs_4
sum_heuristic
[ 25, 84, 11, 9 ]
39
[ "84-25=59", "11+9=20", "59-20=39" ]
Current State: 39:[25, 84, 11, 9], Operations: [] Exploring Operation: 84-25=59, Resulting Numbers: [11, 9, 59] Generated Node #2: [11, 9, 59] from Operation: 84-25=59 Current State: 39:[11, 9, 59], Operations: ['84-25=59'] Exploring Operation: 11+9=20, Resulting Numbers: [59, 20] Generated Node #3: [59, 20] from Operation: 11+9=20 Current State: 39:[59, 20], Operations: ['84-25=59', '11+9=20'] Exploring Operation: 59-20=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[25, 84, 11, 9], Operations: [] Exploring Operation: 25-11=14, Resulting Numbers: [84, 9, 14] Generated Node #0,0: 39:[84, 9, 14] Operation: 25-11=14 Exploring Operation: 84-11=73, Resulting Numbers: [25, 9, 73] Generated Node #0,1: 39:[25, 9, 73] Operation: 84-11=73 Exploring Operation: 25-9=16, Resulting Numbers: [84, 11, 16] Generated Node #0,2: 39:[84, 11, 16] Operation: 25-9=16 Exploring Operation: 84-25=59, Resulting Numbers: [11, 9, 59] Generated Node #0,3: 39:[11, 9, 59] Operation: 84-25=59 Start Sub Search at level 1: Moving to Node #0,3 Current State: 39:[11, 9, 59], Operations: ['84-25=59'] Exploring Operation: 11-9=2, Resulting Numbers: [59, 2] Generated Node #0,3,0: 39:[59, 2] Operation: 11-9=2 Exploring Operation: 59-11=48, Resulting Numbers: [9, 48] Generated Node #0,3,1: 39:[9, 48] Operation: 59-11=48 Exploring Operation: 59-9=50, Resulting Numbers: [11, 50] Generated Node #0,3,2: 39:[11, 50] Operation: 59-9=50 Exploring Operation: 11+9=20, Resulting Numbers: [59, 20] Generated Node #0,3,3: 39:[59, 20] Operation: 11+9=20 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 39:[9, 48], Operations: ['84-25=59', '59-11=48'] Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,39 unequal: No Solution Exploring Operation: 9*48=432, Resulting Numbers: [432] 432,39 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[25, 84, 11, 9], Operations: [] Exploring Operation: 84-25=59, Resulting Numbers: [11, 9, 59] Generated Node #0,3: 39:[11, 9, 59] Operation: 84-25=59 Moving to Node #0,3 Current State: 39:[11, 9, 59], Operations: ['84-25=59'] Exploring Operation: 59-11=48, Resulting Numbers: [9, 48] Generated Node #0,3,1: 39:[9, 48] Operation: 59-11=48 Moving to Node #0,3,1 Current State: 39:[9, 48], Operations: ['84-25=59', '59-11=48'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 57, 24, 21, 34 ]
20
[ "57-24=33", "34-21=13", "33-13=20" ]
Current State: 20:[57, 24, 21, 34], Operations: [] Exploring Operation: 57-24=33, Resulting Numbers: [21, 34, 33] Generated Node #2: [21, 34, 33] from Operation: 57-24=33 Current State: 20:[21, 34, 33], Operations: ['57-24=33'] Exploring Operation: 34-21=13, Resulting Numbers: [33, 13] Generated Node #3: [33, 13] from Operation: 34-21=13 Current State: 20:[33, 13], Operations: ['57-24=33', '34-21=13'] Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[57, 24, 21, 34], Operations: [] Exploring Operation: 57-24=33, Resulting Numbers: [21, 34, 33] Generated Node #0,0: 20:[21, 34, 33] Operation: 57-24=33 Exploring Operation: 34-24=10, Resulting Numbers: [57, 21, 10] Generated Node #0,1: 20:[57, 21, 10] Operation: 34-24=10 Exploring Operation: 57-21=36, Resulting Numbers: [24, 34, 36] Generated Node #0,2: 20:[24, 34, 36] Operation: 57-21=36 Exploring Operation: 57-34=23, Resulting Numbers: [24, 21, 23] Generated Node #0,3: 20:[24, 21, 23] Operation: 57-34=23 Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[24, 21, 23], Operations: ['57-34=23'] Exploring Operation: 24-21=3, Resulting Numbers: [23, 3] Generated Node #0,3,0: 20:[23, 3] Operation: 24-21=3 Exploring Operation: 23-21=2, Resulting Numbers: [24, 2] Generated Node #0,3,1: 20:[24, 2] Operation: 23-21=2 Exploring Operation: 24+21=45, Resulting Numbers: [23, 45] Generated Node #0,3,2: 20:[23, 45] Operation: 24+21=45 Exploring Operation: 24-23=1, Resulting Numbers: [21, 1] Generated Node #0,3,3: 20:[21, 1] Operation: 24-23=1 Moving to Node #0,3,3 Current State: 20:[21, 1], Operations: ['57-34=23', '24-23=1'] Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,20 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[57, 24, 21, 34], Operations: [] Exploring Operation: 57-34=23, Resulting Numbers: [24, 21, 23] Generated Node #0,3: 20:[24, 21, 23] Operation: 57-34=23 Moving to Node #0,3 Current State: 20:[24, 21, 23], Operations: ['57-34=23'] Exploring Operation: 24-23=1, Resulting Numbers: [21, 1] Generated Node #0,3,3: 20:[21, 1] Operation: 24-23=1 Moving to Node #0,3,3 Current State: 20:[21, 1], Operations: ['57-34=23', '24-23=1'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 2, 38, 69, 87 ]
94
[ "2*38=76", "87-69=18", "76+18=94" ]
Current State: 94:[2, 38, 69, 87], Operations: [] Exploring Operation: 2*38=76, Resulting Numbers: [69, 87, 76] Generated Node #2: [69, 87, 76] from Operation: 2*38=76 Current State: 94:[69, 87, 76], Operations: ['2*38=76'] Exploring Operation: 87-69=18, Resulting Numbers: [76, 18] Generated Node #3: [76, 18] from Operation: 87-69=18 Current State: 94:[76, 18], Operations: ['2*38=76', '87-69=18'] Exploring Operation: 76+18=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[2, 38, 69, 87], Operations: [] Exploring Operation: 38+69=107, Resulting Numbers: [2, 87, 107] Generated Node #0,0: 94:[2, 87, 107] Operation: 38+69=107 Exploring Operation: 69-38=31, Resulting Numbers: [2, 87, 31] Generated Node #0,1: 94:[2, 87, 31] Operation: 69-38=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[2, 87, 107], Operations: ['38+69=107'] Exploring Operation: 107-2=105, Resulting Numbers: [87, 105] Generated Node #0,0,0: 94:[87, 105] Operation: 107-2=105 Exploring Operation: 2+87=89, Resulting Numbers: [107, 89] Generated Node #0,0,1: 94:[107, 89] Operation: 2+87=89 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[87, 105], Operations: ['38+69=107', '107-2=105'] Exploring Operation: 105-87=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 87+105=192, Resulting Numbers: [192] 192,94 unequal: No Solution No 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: 94:[107, 89], Operations: ['38+69=107', '2+87=89'] Exploring Operation: 107-89=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 107+89=196, Resulting Numbers: [196] 196,94 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: 94:[2, 87, 31], Operations: ['69-38=31'] Exploring Operation: 87-31=56, Resulting Numbers: [2, 56] Generated Node #0,1,0: 94:[2, 56] Operation: 87-31=56 Exploring Operation: 2+87=89, Resulting Numbers: [31, 89] Generated Node #0,1,1: 94:[31, 89] Operation: 2+87=89 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[2, 56], Operations: ['69-38=31', '87-31=56'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,94 unequal: No Solution No 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: 94:[31, 89], Operations: ['69-38=31', '2+87=89'] Exploring Operation: 89-31=58, Resulting Numbers: [58] 58,94 unequal: No Solution Exploring Operation: 31+89=120, Resulting Numbers: [120] 120,94 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
[ 16, 56, 56, 68 ]
60
[ "16+56=72", "68-56=12", "72-12=60" ]
Current State: 60:[16, 56, 56, 68], Operations: [] Exploring Operation: 16+56=72, Resulting Numbers: [68, 72] Generated Node #2: [68, 72] from Operation: 16+56=72 Current State: 60:[68, 72], Operations: ['16+56=72'] Exploring Operation: 68-56=12, Resulting Numbers: [72, 12] Generated Node #3: [72, 12] from Operation: 68-56=12 Current State: 60:[72, 12], Operations: ['16+56=72', '68-56=12'] Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[16, 56, 56, 68], Operations: [] Exploring Operation: 68-56=12, Resulting Numbers: [16, 56, 12] Generated Node #0,0: 60:[16, 56, 12] Operation: 68-56=12 Exploring Operation: 68-56=12, Resulting Numbers: [16, 56, 12] Generated Node #0,1: 60:[16, 56, 12] Operation: 68-56=12 Moving to Node #0,0 Current State: 60:[16, 56, 12], Operations: ['68-56=12'] Exploring Operation: 16+12=28, Resulting Numbers: [56, 28] Generated Node #0,0,0: 60:[56, 28] Operation: 16+12=28 Exploring Operation: 16-12=4, Resulting Numbers: [56, 4] Generated Node #0,0,1: 60:[56, 4] Operation: 16-12=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[56, 4], Operations: ['68-56=12', '16-12=4'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[16, 56, 56, 68], Operations: [] Exploring Operation: 68-56=12, Resulting Numbers: [16, 56, 12] Generated Node #0,0: 60:[16, 56, 12] Operation: 68-56=12 Moving to Node #0,0 Current State: 60:[16, 56, 12], Operations: ['68-56=12'] Exploring Operation: 16-12=4, Resulting Numbers: [56, 4] Generated Node #0,0,1: 60:[56, 4] Operation: 16-12=4 Moving to Node #0,0,1 Current State: 60:[56, 4], Operations: ['68-56=12', '16-12=4'] Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 42, 34, 83, 66 ]
40
[ "83-66=17", "34/17=2", "42-2=40" ]
Current State: 40:[42, 34, 83, 66], Operations: [] Exploring Operation: 83-66=17, Resulting Numbers: [42, 34, 17] Generated Node #2: [42, 34, 17] from Operation: 83-66=17 Current State: 40:[42, 34, 17], Operations: ['83-66=17'] Exploring Operation: 34/17=2, Resulting Numbers: [42, 2] Generated Node #3: [42, 2] from Operation: 34/17=2 Current State: 40:[42, 2], Operations: ['83-66=17', '34/17=2'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[42, 34, 83, 66], Operations: [] Exploring Operation: 83-66=17, Resulting Numbers: [42, 34, 17] Generated Node #0,0: 40:[42, 34, 17] Operation: 83-66=17 Exploring Operation: 66-42=24, Resulting Numbers: [34, 83, 24] Generated Node #0,1: 40:[34, 83, 24] Operation: 66-42=24 Exploring Operation: 83-42=41, Resulting Numbers: [34, 66, 41] Generated Node #0,2: 40:[34, 66, 41] Operation: 83-42=41 Exploring Operation: 83-34=49, Resulting Numbers: [42, 66, 49] Generated Node #0,3: 40:[42, 66, 49] Operation: 83-34=49 Moving to Node #0,0 Current State: 40:[42, 34, 17], Operations: ['83-66=17'] Exploring Operation: 34/17=2, Resulting Numbers: [42, 2] Generated Node #0,0,0: 40:[42, 2] Operation: 34/17=2 Exploring Operation: 34-17=17, Resulting Numbers: [42, 17] Generated Node #0,0,1: 40:[42, 17] Operation: 34-17=17 Exploring Operation: 42-17=25, Resulting Numbers: [34, 25] Generated Node #0,0,2: 40:[34, 25] Operation: 42-17=25 Exploring Operation: 42-34=8, Resulting Numbers: [17, 8] Generated Node #0,0,3: 40:[17, 8] Operation: 42-34=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[42, 2], Operations: ['83-66=17', '34/17=2'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[42, 34, 83, 66], Operations: [] Exploring Operation: 83-66=17, Resulting Numbers: [42, 34, 17] Generated Node #0,0: 40:[42, 34, 17] Operation: 83-66=17 Moving to Node #0,0 Current State: 40:[42, 34, 17], Operations: ['83-66=17'] Exploring Operation: 34/17=2, Resulting Numbers: [42, 2] Generated Node #0,0,0: 40:[42, 2] Operation: 34/17=2 Moving to Node #0,0,0 Current State: 40:[42, 2], Operations: ['83-66=17', '34/17=2'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 34, 74, 85, 34 ]
100
[ "74-34=40", "85*40=3400", "3400/34=100" ]
Current State: 100:[34, 74, 85, 34], Operations: [] Exploring Operation: 74-34=40, Resulting Numbers: [85, 40] Generated Node #2: [85, 40] from Operation: 74-34=40 Current State: 100:[85, 40], Operations: ['74-34=40'] Exploring Operation: 85*40=3400, Resulting Numbers: [3400] 3400,100 equal: Goal Reached Exploring Operation: 3400/34=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[34, 74, 85, 34], Operations: [] Exploring Operation: 34+74=108, Resulting Numbers: [85, 34, 108] Generated Node #0,0: 100:[85, 34, 108] Operation: 34+74=108 Exploring Operation: 74-34=40, Resulting Numbers: [85, 34, 40] Generated Node #0,1: 100:[85, 34, 40] Operation: 74-34=40 Exploring Operation: 74+34=108, Resulting Numbers: [34, 85, 108] Generated Node #0,2: 100:[34, 85, 108] Operation: 74+34=108 Exploring Operation: 85-34=51, Resulting Numbers: [74, 34, 51] Generated Node #0,3: 100:[74, 34, 51] Operation: 85-34=51 Exploring Operation: 85-74=11, Resulting Numbers: [34, 34, 11] Generated Node #0,4: 100:[34, 34, 11] Operation: 85-74=11 Start Sub Search at level 1: Moving to Node #0,4 Current State: 100:[34, 34, 11], Operations: ['85-74=11'] Exploring Operation: 34-11=23, Resulting Numbers: [34, 23] Generated Node #0,4,0: 100:[34, 23] Operation: 34-11=23 Exploring Operation: 34-34=0, Resulting Numbers: [11, 0] Generated Node #0,4,1: 100:[11, 0] Operation: 34-34=0 Exploring Operation: 34/34=1, Resulting Numbers: [11, 1] Generated Node #0,4,2: 100:[11, 1] Operation: 34/34=1 Exploring Operation: 34-11=23, Resulting Numbers: [34, 23] Generated Node #0,4,3: 100:[34, 23] Operation: 34-11=23 Exploring Operation: 34+11=45, Resulting Numbers: [34, 45] Generated Node #0,4,4: 100:[34, 45] Operation: 34+11=45 Moving to Node #0,4,2 Current State: 100:[11, 1], Operations: ['85-74=11', '34/34=1'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,100 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,100 unequal: No Solution Moving to Node #0,4,1 Current State: 100:[11, 0], Operations: ['85-74=11', '34-34=0'] Exploring Operation: 11+0=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 11*0=0, Resulting Numbers: [0] 0,100 unequal: No Solution Exploring Operation: 11-0=11, Resulting Numbers: [11] 11,100 unequal: No Solution Moving to Node #0,4,0 Current State: 100:[34, 23], Operations: ['85-74=11', '34-11=23'] Exploring Operation: 34+23=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 34*23=782, Resulting Numbers: [782] 782,100 unequal: No Solution Moving to Node #0,4,3 Current State: 100:[34, 23], Operations: ['85-74=11', '34-11=23'] Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 34+23=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 34*23=782, Resulting Numbers: [782] 782,100 unequal: No Solution Moving to Node #0,4,4 Current State: 100:[34, 45], Operations: ['85-74=11', '34+11=45'] Exploring Operation: 34+45=79, Resulting Numbers: [79] 79,100 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 34*45=1530, Resulting Numbers: [1530] 1530,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,0 Current State: 100:[85, 34, 108], Operations: ['34+74=108'] Exploring Operation: 85-34=51, Resulting Numbers: [108, 51] Generated Node #0,0,0: 100:[108, 51] Operation: 85-34=51 Exploring Operation: 34+108=142, Resulting Numbers: [85, 142] Generated Node #0,0,1: 100:[85, 142] Operation: 34+108=142 Exploring Operation: 108-85=23, Resulting Numbers: [34, 23] Generated Node #0,0,2: 100:[34, 23] Operation: 108-85=23 Exploring Operation: 85+34=119, Resulting Numbers: [108, 119] Generated Node #0,0,3: 100:[108, 119] Operation: 85+34=119 Exploring Operation: 108-34=74, Resulting Numbers: [85, 74] Generated Node #0,0,4: 100:[85, 74] Operation: 108-34=74 Moving to Node #0,0,0 Current State: 100:[108, 51], Operations: ['34+74=108', '85-34=51'] Exploring Operation: 108+51=159, Resulting Numbers: [159] 159,100 unequal: No Solution Exploring Operation: 108-51=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 108*51=5508, Resulting Numbers: [5508] 5508,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[34, 23], Operations: ['34+74=108', '108-85=23'] Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 34+23=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 34*23=782, Resulting Numbers: [782] 782,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[108, 119], Operations: ['34+74=108', '85+34=119'] Exploring Operation: 108*119=12852, Resulting Numbers: [12852] 12852,100 unequal: No Solution Exploring Operation: 119-108=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 108+119=227, Resulting Numbers: [227] 227,100 unequal: No Solution Moving to Node #0,0,4 Current State: 100:[85, 74], Operations: ['34+74=108', '108-34=74'] Exploring Operation: 85*74=6290, Resulting Numbers: [6290] 6290,100 unequal: No Solution Exploring Operation: 85+74=159, Resulting Numbers: [159] 159,100 unequal: No Solution Exploring Operation: 85-74=11, Resulting Numbers: [11] 11,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[85, 142], Operations: ['34+74=108', '34+108=142'] Exploring Operation: 142-85=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 85*142=12070, Resulting Numbers: [12070] 12070,100 unequal: No Solution Exploring Operation: 85+142=227, Resulting Numbers: [227] 227,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[34, 85, 108], Operations: ['74+34=108'] Exploring Operation: 108-85=23, Resulting Numbers: [34, 23] Generated Node #0,2,0: 100:[34, 23] Operation: 108-85=23 Exploring Operation: 85-34=51, Resulting Numbers: [108, 51] Generated Node #0,2,1: 100:[108, 51] Operation: 85-34=51 Exploring Operation: 34+108=142, Resulting Numbers: [85, 142] Generated Node #0,2,2: 100:[85, 142] Operation: 34+108=142 Exploring Operation: 108-34=74, Resulting Numbers: [85, 74] Generated Node #0,2,3: 100:[85, 74] Operation: 108-34=74 Exploring Operation: 34+85=119, Resulting Numbers: [108, 119] Generated Node #0,2,4: 100:[108, 119] Operation: 34+85=119 Moving to Node #0,2,1 Current State: 100:[108, 51], Operations: ['74+34=108', '85-34=51'] Exploring Operation: 108-51=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 108+51=159, Resulting Numbers: [159] 159,100 unequal: No Solution Exploring Operation: 108*51=5508, Resulting Numbers: [5508] 5508,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[34, 23], Operations: ['74+34=108', '108-85=23'] Exploring Operation: 34+23=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 34*23=782, Resulting Numbers: [782] 782,100 unequal: No Solution Moving to Node #0,2,4 Current State: 100:[108, 119], Operations: ['74+34=108', '34+85=119'] Exploring Operation: 108*119=12852, Resulting Numbers: [12852] 12852,100 unequal: No Solution Exploring Operation: 119-108=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 108+119=227, Resulting Numbers: [227] 227,100 unequal: No Solution Moving to Node #0,2,3 Current State: 100:[85, 74], Operations: ['74+34=108', '108-34=74'] Exploring Operation: 85-74=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 85*74=6290, Resulting Numbers: [6290] 6290,100 unequal: No Solution Exploring Operation: 85+74=159, Resulting Numbers: [159] 159,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[85, 142], Operations: ['74+34=108', '34+108=142'] Exploring Operation: 85+142=227, Resulting Numbers: [227] 227,100 unequal: No Solution Exploring Operation: 142-85=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 85*142=12070, Resulting Numbers: [12070] 12070,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:[85, 34, 40], Operations: ['74-34=40'] Exploring Operation: 40-34=6, Resulting Numbers: [85, 6] Generated Node #0,1,0: 100:[85, 6] Operation: 40-34=6 Exploring Operation: 85-40=45, Resulting Numbers: [34, 45] Generated Node #0,1,1: 100:[34, 45] Operation: 85-40=45 Exploring Operation: 85+40=125, Resulting Numbers: [34, 125] Generated Node #0,1,2: 100:[34, 125] Operation: 85+40=125 Exploring Operation: 85+34=119, Resulting Numbers: [40, 119] Generated Node #0,1,3: 100:[40, 119] Operation: 85+34=119 Exploring Operation: 85-34=51, Resulting Numbers: [40, 51] Generated Node #0,1,4: 100:[40, 51] Operation: 85-34=51 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 100:[40, 51], Operations: ['74-34=40', '85-34=51'] Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 40+51=91, Resulting Numbers: [91] 91,100 unequal: No Solution Exploring Operation: 40*51=2040, Resulting Numbers: [2040] 2040,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[34, 45], Operations: ['74-34=40', '85-40=45'] Exploring Operation: 34+45=79, Resulting Numbers: [79] 79,100 unequal: No Solution Exploring Operation: 34*45=1530, Resulting Numbers: [1530] 1530,100 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[85, 6], Operations: ['74-34=40', '40-34=6'] Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,100 unequal: No Solution Exploring Operation: 85*6=510, Resulting Numbers: [510] 510,100 unequal: No Solution Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 100:[40, 119], Operations: ['74-34=40', '85+34=119'] Exploring Operation: 40*119=4760, Resulting Numbers: [4760] 4760,100 unequal: No Solution Exploring Operation: 119-40=79, Resulting Numbers: [79] 79,100 unequal: No Solution Exploring Operation: 40+119=159, Resulting Numbers: [159] 159,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 100:[34, 125], Operations: ['74-34=40', '85+40=125'] Exploring Operation: 34*125=4250, Resulting Numbers: [4250] 4250,100 unequal: No Solution Exploring Operation: 34+125=159, Resulting Numbers: [159] 159,100 unequal: No Solution Exploring Operation: 125-34=91, Resulting Numbers: [91] 91,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 100:[74, 34, 51], Operations: ['85-34=51'] Exploring Operation: 74+34=108, Resulting Numbers: [51, 108] Generated Node #0,3,0: 100:[51, 108] Operation: 74+34=108 Exploring Operation: 74-51=23, Resulting Numbers: [34, 23] Generated Node #0,3,1: 100:[34, 23] Operation: 74-51=23 Exploring Operation: 51-34=17, Resulting Numbers: [74, 17] Generated Node #0,3,2: 100:[74, 17] Operation: 51-34=17 Exploring Operation: 74+51=125, Resulting Numbers: [34, 125] Generated Node #0,3,3: 100:[34, 125] Operation: 74+51=125 Exploring Operation: 74-34=40, Resulting Numbers: [51, 40] Generated Node #0,3,4: 100:[51, 40] Operation: 74-34=40 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 100:[51, 108], Operations: ['85-34=51', '74+34=108'] Exploring Operation: 51*108=5508, Resulting Numbers: [5508] 5508,100 unequal: No Solution Exploring Operation: 51+108=159, Resulting Numbers: [159] 159,100 unequal: No Solution Exploring Operation: 108-51=57, Resulting Numbers: [57] 57,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 100:[34, 23], Operations: ['85-34=51', '74-51=23'] Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 34*23=782, Resulting Numbers: [782] 782,100 unequal: No Solution Exploring Operation: 34+23=57, Resulting Numbers: [57] 57,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 100:[51, 40], Operations: ['85-34=51', '74-34=40'] Exploring Operation: 51*40=2040, Resulting Numbers: [2040] 2040,100 unequal: No Solution Exploring Operation: 51+40=91, Resulting Numbers: [91] 91,100 unequal: No Solution Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 100:[74, 17], Operations: ['85-34=51', '51-34=17'] Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 74*17=1258, Resulting Numbers: [1258] 1258,100 unequal: No Solution Exploring Operation: 74+17=91, Resulting Numbers: [91] 91,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 100:[34, 125], Operations: ['85-34=51', '74+51=125'] Exploring Operation: 34+125=159, Resulting Numbers: [159] 159,100 unequal: No Solution Exploring Operation: 125-34=91, Resulting Numbers: [91] 91,100 unequal: No Solution Exploring Operation: 34*125=4250, Resulting Numbers: [4250] 4250,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 77, 38, 29, 36 ]
81
[ "38-29=9", "36/9=4", "77+4=81" ]
Current State: 81:[77, 38, 29, 36], Operations: [] Exploring Operation: 38-29=9, Resulting Numbers: [77, 36, 9] Generated Node #2: [77, 36, 9] from Operation: 38-29=9 Current State: 81:[77, 36, 9], Operations: ['38-29=9'] Exploring Operation: 36/9=4, Resulting Numbers: [77, 4] Generated Node #3: [77, 4] from Operation: 36/9=4 Current State: 81:[77, 4], Operations: ['38-29=9', '36/9=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[77, 38, 29, 36], Operations: [] Exploring Operation: 38-36=2, Resulting Numbers: [77, 29, 2] Generated Node #0,0: 81:[77, 29, 2] Operation: 38-36=2 Exploring Operation: 38-29=9, Resulting Numbers: [77, 36, 9] Generated Node #0,1: 81:[77, 36, 9] Operation: 38-29=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[77, 29, 2], Operations: ['38-36=2'] Exploring Operation: 29-2=27, Resulting Numbers: [77, 27] Generated Node #0,0,0: 81:[77, 27] Operation: 29-2=27 Exploring Operation: 77+2=79, Resulting Numbers: [29, 79] Generated Node #0,0,1: 81:[29, 79] Operation: 77+2=79 Moving to Node #0,0,0 Current State: 81:[77, 27], Operations: ['38-36=2', '29-2=27'] Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,81 unequal: No Solution Exploring Operation: 77+27=104, Resulting Numbers: [104] 104,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[29, 79], Operations: ['38-36=2', '77+2=79'] Exploring Operation: 79-29=50, Resulting Numbers: [50] 50,81 unequal: No Solution Exploring Operation: 29+79=108, Resulting Numbers: [108] 108,81 unequal: No Solution No 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: 81:[77, 36, 9], Operations: ['38-29=9'] Exploring Operation: 36/9=4, Resulting Numbers: [77, 4] Generated Node #0,1,0: 81:[77, 4] Operation: 36/9=4 Exploring Operation: 36-9=27, Resulting Numbers: [77, 27] Generated Node #0,1,1: 81:[77, 27] Operation: 36-9=27 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 81:[77, 27], Operations: ['38-29=9', '36-9=27'] Exploring Operation: 77+27=104, Resulting Numbers: [104] 104,81 unequal: No Solution Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,81 unequal: No Solution No 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: 81:[77, 4], Operations: ['38-29=9', '36/9=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[77, 38, 29, 36], Operations: [] Exploring Operation: 38-29=9, Resulting Numbers: [77, 36, 9] Generated Node #0,1: 81:[77, 36, 9] Operation: 38-29=9 Moving to Node #0,1 Current State: 81:[77, 36, 9], Operations: ['38-29=9'] Exploring Operation: 36/9=4, Resulting Numbers: [77, 4] Generated Node #0,1,0: 81:[77, 4] Operation: 36/9=4 Moving to Node #0,1,0 Current State: 81:[77, 4], Operations: ['38-29=9', '36/9=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_2
mult_heuristic
[ 12, 27, 80, 12 ]
53
[ "12+27=39", "80+12=92", "92-39=53" ]
Current State: 53:[12, 27, 80, 12], Operations: [] Exploring Operation: 12+27=39, Resulting Numbers: [80, 39] Generated Node #2: [80, 39] from Operation: 12+27=39 Current State: 53:[80, 39], Operations: ['12+27=39'] Exploring Operation: 80+12=92, Resulting Numbers: [39, 92] Generated Node #3: [39, 92] from Operation: 80+12=92 Current State: 53:[39, 92], Operations: ['12+27=39', '80+12=92'] Exploring Operation: 92-39=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[12, 27, 80, 12], Operations: [] Exploring Operation: 80-12=68, Resulting Numbers: [27, 12, 68] Generated Node #0,0: 53:[27, 12, 68] Operation: 80-12=68 Exploring Operation: 12+12=24, Resulting Numbers: [27, 80, 24] Generated Node #0,1: 53:[27, 80, 24] Operation: 12+12=24 Exploring Operation: 12+27=39, Resulting Numbers: [80, 12, 39] Generated Node #0,2: 53:[80, 12, 39] Operation: 12+27=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[27, 12, 68], Operations: ['80-12=68'] Exploring Operation: 27+12=39, Resulting Numbers: [68, 39] Generated Node #0,0,0: 53:[68, 39] Operation: 27+12=39 Exploring Operation: 68-12=56, Resulting Numbers: [27, 56] Generated Node #0,0,1: 53:[27, 56] Operation: 68-12=56 Exploring Operation: 27-12=15, Resulting Numbers: [68, 15] Generated Node #0,0,2: 53:[68, 15] Operation: 27-12=15 Moving to Node #0,0,0 Current State: 53:[68, 39], Operations: ['80-12=68', '27+12=39'] Exploring Operation: 68+39=107, Resulting Numbers: [107] 107,53 unequal: No Solution Exploring Operation: 68-39=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 68*39=2652, Resulting Numbers: [2652] 2652,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[27, 56], Operations: ['80-12=68', '68-12=56'] Exploring Operation: 27+56=83, Resulting Numbers: [83] 83,53 unequal: No Solution Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 27*56=1512, Resulting Numbers: [1512] 1512,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[68, 15], Operations: ['80-12=68', '27-12=15'] Exploring Operation: 68+15=83, Resulting Numbers: [83] 83,53 unequal: No Solution Exploring Operation: 68*15=1020, Resulting Numbers: [1020] 1020,53 unequal: No Solution Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[12, 27, 80, 12], Operations: [] Exploring Operation: 80-12=68, Resulting Numbers: [27, 12, 68] Generated Node #0,0: 53:[27, 12, 68] Operation: 80-12=68 Moving to Node #0,0 Current State: 53:[27, 12, 68], Operations: ['80-12=68'] Exploring Operation: 27-12=15, Resulting Numbers: [68, 15] Generated Node #0,0,2: 53:[68, 15] Operation: 27-12=15 Moving to Node #0,0,2 Current State: 53:[68, 15], Operations: ['80-12=68', '27-12=15'] Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 90, 78, 3, 91 ]
25
[ "91-90=1", "78/3=26", "26-1=25" ]
Current State: 25:[90, 78, 3, 91], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [78, 3, 1] Generated Node #2: [78, 3, 1] from Operation: 91-90=1 Current State: 25:[78, 3, 1], Operations: ['91-90=1'] Exploring Operation: 78/3=26, Resulting Numbers: [1, 26] Generated Node #3: [1, 26] from Operation: 78/3=26 Current State: 25:[1, 26], Operations: ['91-90=1', '78/3=26'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[90, 78, 3, 91], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [78, 3, 1] Generated Node #0,0: 25:[78, 3, 1] Operation: 91-90=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[78, 3, 1], Operations: ['91-90=1'] Exploring Operation: 78/3=26, Resulting Numbers: [1, 26] Generated Node #0,0,0: 25:[1, 26] Operation: 78/3=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[1, 26], Operations: ['91-90=1', '78/3=26'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[90, 78, 3, 91], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [78, 3, 1] Generated Node #0,0: 25:[78, 3, 1] Operation: 91-90=1 Moving to Node #0,0 Current State: 25:[78, 3, 1], Operations: ['91-90=1'] Exploring Operation: 78/3=26, Resulting Numbers: [1, 26] Generated Node #0,0,0: 25:[1, 26] Operation: 78/3=26 Moving to Node #0,0,0 Current State: 25:[1, 26], Operations: ['91-90=1', '78/3=26'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 87, 27, 33, 29 ]
58
[ "87-33=54", "54/27=2", "29*2=58" ]
Current State: 58:[87, 27, 33, 29], Operations: [] Exploring Operation: 87-33=54, Resulting Numbers: [27, 29, 54] Generated Node #2: [27, 29, 54] from Operation: 87-33=54 Current State: 58:[27, 29, 54], Operations: ['87-33=54'] Exploring Operation: 54/27=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 54/27=2 Current State: 58:[29, 2], Operations: ['87-33=54', '54/27=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[87, 27, 33, 29], Operations: [] Exploring Operation: 87-29=58, Resulting Numbers: [27, 33, 58] Generated Node #0,0: 58:[27, 33, 58] Operation: 87-29=58 Exploring Operation: 87-27=60, Resulting Numbers: [33, 29, 60] Generated Node #0,1: 58:[33, 29, 60] Operation: 87-27=60 Exploring Operation: 87-33=54, Resulting Numbers: [27, 29, 54] Generated Node #0,2: 58:[27, 29, 54] Operation: 87-33=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[27, 33, 58], Operations: ['87-29=58'] Exploring Operation: 33-27=6, Resulting Numbers: [58, 6] Generated Node #0,0,0: 58:[58, 6] Operation: 33-27=6 Exploring Operation: 27+33=60, Resulting Numbers: [58, 60] Generated Node #0,0,1: 58:[58, 60] Operation: 27+33=60 Exploring Operation: 58-27=31, Resulting Numbers: [33, 31] Generated Node #0,0,2: 58:[33, 31] Operation: 58-27=31 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[58, 60], Operations: ['87-29=58', '27+33=60'] Exploring Operation: 60-58=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 58*60=3480, Resulting Numbers: [3480] 3480,58 unequal: No Solution Exploring Operation: 58+60=118, Resulting Numbers: [118] 118,58 unequal: No Solution No 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: 58:[58, 6], Operations: ['87-29=58', '33-27=6'] Exploring Operation: 58*6=348, Resulting Numbers: [348] 348,58 unequal: No Solution Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,58 unequal: No Solution Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,58 unequal: No Solution No 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: 58:[33, 31], Operations: ['87-29=58', '58-27=31'] Exploring Operation: 33*31=1023, Resulting Numbers: [1023] 1023,58 unequal: No Solution Exploring Operation: 33+31=64, Resulting Numbers: [64] 64,58 unequal: No Solution Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,58 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: 58:[33, 29, 60], Operations: ['87-27=60'] Exploring Operation: 60-33=27, Resulting Numbers: [29, 27] Generated Node #0,1,0: 58:[29, 27] Operation: 60-33=27 Exploring Operation: 33-29=4, Resulting Numbers: [60, 4] Generated Node #0,1,1: 58:[60, 4] Operation: 33-29=4 Exploring Operation: 33+29=62, Resulting Numbers: [60, 62] Generated Node #0,1,2: 58:[60, 62] Operation: 33+29=62 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 58:[29, 27], Operations: ['87-27=60', '60-33=27'] Exploring Operation: 29+27=56, Resulting Numbers: [56] 56,58 unequal: No Solution Exploring Operation: 29*27=783, Resulting Numbers: [783] 783,58 unequal: No Solution Exploring Operation: 29-27=2, Resulting Numbers: [2] 2,58 unequal: No Solution No 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: 58:[60, 4], Operations: ['87-27=60', '33-29=4'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,58 unequal: No Solution Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,58 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,58 unequal: No Solution No 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: 58:[60, 62], Operations: ['87-27=60', '33+29=62'] Exploring Operation: 60*62=3720, Resulting Numbers: [3720] 3720,58 unequal: No Solution Exploring Operation: 60+62=122, Resulting Numbers: [122] 122,58 unequal: No Solution Exploring Operation: 62-60=2, Resulting Numbers: [2] 2,58 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: 58:[27, 29, 54], Operations: ['87-33=54'] Exploring Operation: 29-27=2, Resulting Numbers: [54, 2] Generated Node #0,2,0: 58:[54, 2] Operation: 29-27=2 Exploring Operation: 54/27=2, Resulting Numbers: [29, 2] Generated Node #0,2,1: 58:[29, 2] Operation: 54/27=2 Exploring Operation: 54-27=27, Resulting Numbers: [29, 27] Generated Node #0,2,2: 58:[29, 27] Operation: 54-27=27 Moving to Node #0,2,1 Current State: 58:[29, 2], Operations: ['87-33=54', '54/27=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[87, 27, 33, 29], Operations: [] Exploring Operation: 87-33=54, Resulting Numbers: [27, 29, 54] Generated Node #0,2: 58:[27, 29, 54] Operation: 87-33=54 Moving to Node #0,2 Current State: 58:[27, 29, 54], Operations: ['87-33=54'] Exploring Operation: 54/27=2, Resulting Numbers: [29, 2] Generated Node #0,2,1: 58:[29, 2] Operation: 54/27=2 Moving to Node #0,2,1 Current State: 58:[29, 2], Operations: ['87-33=54', '54/27=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_3
sum_heuristic
[ 31, 34, 83, 78 ]
51
[ "83-31=52", "34*78=2652", "2652/52=51" ]
Current State: 51:[31, 34, 83, 78], Operations: [] Exploring Operation: 83-31=52, Resulting Numbers: [34, 78, 52] Generated Node #2: [34, 78, 52] from Operation: 83-31=52 Current State: 51:[34, 78, 52], Operations: ['83-31=52'] Exploring Operation: 34*78=2652, Resulting Numbers: [52, 2652] Generated Node #3: [52, 2652] from Operation: 34*78=2652 Current State: 51:[52, 2652], Operations: ['83-31=52', '34*78=2652'] Exploring Operation: 2652/52=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[31, 34, 83, 78], Operations: [] Exploring Operation: 83-78=5, Resulting Numbers: [31, 34, 5] Generated Node #0,0: 51:[31, 34, 5] Operation: 83-78=5 Exploring Operation: 83-31=52, Resulting Numbers: [34, 78, 52] Generated Node #0,1: 51:[34, 78, 52] Operation: 83-31=52 Exploring Operation: 78-31=47, Resulting Numbers: [34, 83, 47] Generated Node #0,2: 51:[34, 83, 47] Operation: 78-31=47 Exploring Operation: 83-34=49, Resulting Numbers: [31, 78, 49] Generated Node #0,3: 51:[31, 78, 49] Operation: 83-34=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[31, 34, 5], Operations: ['83-78=5'] Exploring Operation: 31+34=65, Resulting Numbers: [5, 65] Generated Node #0,0,0: 51:[5, 65] Operation: 31+34=65 Exploring Operation: 34+5=39, Resulting Numbers: [31, 39] Generated Node #0,0,1: 51:[31, 39] Operation: 34+5=39 Exploring Operation: 34-31=3, Resulting Numbers: [5, 3] Generated Node #0,0,2: 51:[5, 3] Operation: 34-31=3 Exploring Operation: 31-5=26, Resulting Numbers: [34, 26] Generated Node #0,0,3: 51:[34, 26] Operation: 31-5=26 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 51:[5, 3], Operations: ['83-78=5', '34-31=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[5, 65], Operations: ['83-78=5', '31+34=65'] Exploring Operation: 5*65=325, Resulting Numbers: [325] 325,51 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 5+65=70, Resulting Numbers: [70] 70,51 unequal: No Solution Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[31, 39], Operations: ['83-78=5', '34+5=39'] Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 31*39=1209, Resulting Numbers: [1209] 1209,51 unequal: No Solution Exploring Operation: 31+39=70, Resulting Numbers: [70] 70,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 51:[34, 26], Operations: ['83-78=5', '31-5=26'] Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,51 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 34*26=884, Resulting Numbers: [884] 884,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[31, 78, 49], Operations: ['83-34=49'] Exploring Operation: 49-31=18, Resulting Numbers: [78, 18] Generated Node #0,3,0: 51:[78, 18] Operation: 49-31=18 Exploring Operation: 78-31=47, Resulting Numbers: [49, 47] Generated Node #0,3,1: 51:[49, 47] Operation: 78-31=47 Exploring Operation: 78-49=29, Resulting Numbers: [31, 29] Generated Node #0,3,2: 51:[31, 29] Operation: 78-49=29 Exploring Operation: 31+49=80, Resulting Numbers: [78, 80] Generated Node #0,3,3: 51:[78, 80] Operation: 31+49=80 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 51:[49, 47], Operations: ['83-34=49', '78-31=47'] Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 49*47=2303, Resulting Numbers: [2303] 2303,51 unequal: No Solution Exploring Operation: 49+47=96, Resulting Numbers: [96] 96,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 51:[31, 29], Operations: ['83-34=49', '78-49=29'] Exploring Operation: 31+29=60, Resulting Numbers: [60] 60,51 unequal: No Solution Exploring Operation: 31*29=899, Resulting Numbers: [899] 899,51 unequal: No Solution Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 51:[78, 18], Operations: ['83-34=49', '49-31=18'] Exploring Operation: 78*18=1404, Resulting Numbers: [1404] 1404,51 unequal: No Solution Exploring Operation: 78+18=96, Resulting Numbers: [96] 96,51 unequal: No Solution Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 51:[78, 80], Operations: ['83-34=49', '31+49=80'] Exploring Operation: 80-78=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 78*80=6240, Resulting Numbers: [6240] 6240,51 unequal: No Solution Exploring Operation: 78+80=158, Resulting Numbers: [158] 158,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[34, 78, 52], Operations: ['83-31=52'] Exploring Operation: 52-34=18, Resulting Numbers: [78, 18] Generated Node #0,1,0: 51:[78, 18] Operation: 52-34=18 Exploring Operation: 78-34=44, Resulting Numbers: [52, 44] Generated Node #0,1,1: 51:[52, 44] Operation: 78-34=44 Exploring Operation: 34+78=112, Resulting Numbers: [52, 112] Generated Node #0,1,2: 51:[52, 112] Operation: 34+78=112 Exploring Operation: 78-52=26, Resulting Numbers: [34, 26] Generated Node #0,1,3: 51:[34, 26] Operation: 78-52=26 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 51:[52, 44], Operations: ['83-31=52', '78-34=44'] Exploring Operation: 52*44=2288, Resulting Numbers: [2288] 2288,51 unequal: No Solution Exploring Operation: 52+44=96, Resulting Numbers: [96] 96,51 unequal: No Solution Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 51:[34, 26], Operations: ['83-31=52', '78-52=26'] Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,51 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 34*26=884, Resulting Numbers: [884] 884,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[78, 18], Operations: ['83-31=52', '52-34=18'] Exploring Operation: 78*18=1404, Resulting Numbers: [1404] 1404,51 unequal: No Solution Exploring Operation: 78+18=96, Resulting Numbers: [96] 96,51 unequal: No Solution Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 51:[52, 112], Operations: ['83-31=52', '34+78=112'] Exploring Operation: 52+112=164, Resulting Numbers: [164] 164,51 unequal: No Solution Exploring Operation: 112-52=60, Resulting Numbers: [60] 60,51 unequal: No Solution Exploring Operation: 52*112=5824, Resulting Numbers: [5824] 5824,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[34, 83, 47], Operations: ['78-31=47'] Exploring Operation: 83-34=49, Resulting Numbers: [47, 49] Generated Node #0,2,0: 51:[47, 49] Operation: 83-34=49 Exploring Operation: 34+47=81, Resulting Numbers: [83, 81] Generated Node #0,2,1: 51:[83, 81] Operation: 34+47=81 Exploring Operation: 47-34=13, Resulting Numbers: [83, 13] Generated Node #0,2,2: 51:[83, 13] Operation: 47-34=13 Exploring Operation: 83-47=36, Resulting Numbers: [34, 36] Generated Node #0,2,3: 51:[34, 36] Operation: 83-47=36 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[47, 49], Operations: ['78-31=47', '83-34=49'] Exploring Operation: 47*49=2303, Resulting Numbers: [2303] 2303,51 unequal: No Solution Exploring Operation: 47+49=96, Resulting Numbers: [96] 96,51 unequal: No Solution Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 51:[34, 36], Operations: ['78-31=47', '83-47=36'] Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,51 unequal: No Solution Exploring Operation: 34*36=1224, Resulting Numbers: [1224] 1224,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 51:[83, 13], Operations: ['78-31=47', '47-34=13'] Exploring Operation: 83-13=70, Resulting Numbers: [70] 70,51 unequal: No Solution Exploring Operation: 83+13=96, Resulting Numbers: [96] 96,51 unequal: No Solution Exploring Operation: 83*13=1079, Resulting Numbers: [1079] 1079,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 51:[83, 81], Operations: ['78-31=47', '34+47=81'] Exploring Operation: 83*81=6723, Resulting Numbers: [6723] 6723,51 unequal: No Solution Exploring Operation: 83-81=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 83+81=164, Resulting Numbers: [164] 164,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 5, 30, 78, 2 ]
38
[ "5*2=10", "78-30=48", "48-10=38" ]
Current State: 38:[5, 30, 78, 2], Operations: [] Exploring Operation: 5*2=10, Resulting Numbers: [30, 78, 10] Generated Node #2: [30, 78, 10] from Operation: 5*2=10 Current State: 38:[30, 78, 10], Operations: ['5*2=10'] Exploring Operation: 78-30=48, Resulting Numbers: [10, 48] Generated Node #3: [10, 48] from Operation: 78-30=48 Current State: 38:[10, 48], Operations: ['5*2=10', '78-30=48'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[5, 30, 78, 2], Operations: [] Exploring Operation: 78/2=39, Resulting Numbers: [5, 30, 39] Generated Node #0,0: 38:[5, 30, 39] Operation: 78/2=39 Exploring Operation: 78-5=73, Resulting Numbers: [30, 2, 73] Generated Node #0,1: 38:[30, 2, 73] Operation: 78-5=73 Exploring Operation: 5+30=35, Resulting Numbers: [78, 2, 35] Generated Node #0,2: 38:[78, 2, 35] Operation: 5+30=35 Exploring Operation: 78-30=48, Resulting Numbers: [5, 2, 48] Generated Node #0,3: 38:[5, 2, 48] Operation: 78-30=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[5, 30, 39], Operations: ['78/2=39'] Exploring Operation: 39-30=9, Resulting Numbers: [5, 9] Generated Node #0,0,0: 38:[5, 9] Operation: 39-30=9 Exploring Operation: 30-5=25, Resulting Numbers: [39, 25] Generated Node #0,0,1: 38:[39, 25] Operation: 30-5=25 Exploring Operation: 5+30=35, Resulting Numbers: [39, 35] Generated Node #0,0,2: 38:[39, 35] Operation: 5+30=35 Exploring Operation: 30/5=6, Resulting Numbers: [39, 6] Generated Node #0,0,3: 38:[39, 6] Operation: 30/5=6 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 38:[39, 35], Operations: ['78/2=39', '5+30=35'] Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 39*35=1365, Resulting Numbers: [1365] 1365,38 unequal: No Solution Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 38:[39, 6], Operations: ['78/2=39', '30/5=6'] Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 39*6=234, Resulting Numbers: [234] 234,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[39, 25], Operations: ['78/2=39', '30-5=25'] Exploring Operation: 39+25=64, Resulting Numbers: [64] 64,38 unequal: No Solution Exploring Operation: 39*25=975, Resulting Numbers: [975] 975,38 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[5, 9], Operations: ['78/2=39', '39-30=9'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,38 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: 38:[5, 2, 48], Operations: ['78-30=48'] Exploring Operation: 48/2=24, Resulting Numbers: [5, 24] Generated Node #0,3,0: 38:[5, 24] Operation: 48/2=24 Exploring Operation: 48-5=43, Resulting Numbers: [2, 43] Generated Node #0,3,1: 38:[2, 43] Operation: 48-5=43 Exploring Operation: 48-2=46, Resulting Numbers: [5, 46] Generated Node #0,3,2: 38:[5, 46] Operation: 48-2=46 Exploring Operation: 5-2=3, Resulting Numbers: [48, 3] Generated Node #0,3,3: 38:[48, 3] Operation: 5-2=3 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 38:[2, 43], Operations: ['78-30=48', '48-5=43'] Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,38 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 38:[5, 24], Operations: ['78-30=48', '48/2=24'] Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,38 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,38 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 38:[5, 46], Operations: ['78-30=48', '48-2=46'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,38 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 38:[48, 3], Operations: ['78-30=48', '5-2=3'] Exploring Operation: 48*3=144, Resulting Numbers: [144] 144,38 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,38 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: 38:[30, 2, 73], Operations: ['78-5=73'] Exploring Operation: 73-2=71, Resulting Numbers: [30, 71] Generated Node #0,1,0: 38:[30, 71] Operation: 73-2=71 Exploring Operation: 30/2=15, Resulting Numbers: [73, 15] Generated Node #0,1,1: 38:[73, 15] Operation: 30/2=15 Exploring Operation: 73-30=43, Resulting Numbers: [2, 43] Generated Node #0,1,2: 38:[2, 43] Operation: 73-30=43 Exploring Operation: 30+2=32, Resulting Numbers: [73, 32] Generated Node #0,1,3: 38:[73, 32] Operation: 30+2=32 Moving to Node #0,1,2 Current State: 38:[2, 43], Operations: ['78-5=73', '73-30=43'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,38 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[73, 15], Operations: ['78-5=73', '30/2=15'] Exploring Operation: 73*15=1095, Resulting Numbers: [1095] 1095,38 unequal: No Solution Exploring Operation: 73-15=58, Resulting Numbers: [58] 58,38 unequal: No Solution Exploring Operation: 73+15=88, Resulting Numbers: [88] 88,38 unequal: No Solution Moving to Node #0,1,3 Current State: 38:[73, 32], Operations: ['78-5=73', '30+2=32'] Exploring Operation: 73-32=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 73+32=105, Resulting Numbers: [105] 105,38 unequal: No Solution Exploring Operation: 73*32=2336, Resulting Numbers: [2336] 2336,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[30, 71], Operations: ['78-5=73', '73-2=71'] Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 30+71=101, Resulting Numbers: [101] 101,38 unequal: No Solution Exploring Operation: 30*71=2130, Resulting Numbers: [2130] 2130,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[78, 2, 35], Operations: ['5+30=35'] Exploring Operation: 2+35=37, Resulting Numbers: [78, 37] Generated Node #0,2,0: 38:[78, 37] Operation: 2+35=37 Exploring Operation: 78-35=43, Resulting Numbers: [2, 43] Generated Node #0,2,1: 38:[2, 43] Operation: 78-35=43 Exploring Operation: 78-2=76, Resulting Numbers: [35, 76] Generated Node #0,2,2: 38:[35, 76] Operation: 78-2=76 Exploring Operation: 78/2=39, Resulting Numbers: [35, 39] Generated Node #0,2,3: 38:[35, 39] Operation: 78/2=39 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 38:[35, 39], Operations: ['5+30=35', '78/2=39'] Exploring Operation: 35+39=74, Resulting Numbers: [74] 74,38 unequal: No Solution Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 35*39=1365, Resulting Numbers: [1365] 1365,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 38:[2, 43], Operations: ['5+30=35', '78-35=43'] Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,38 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 38:[78, 37], Operations: ['5+30=35', '2+35=37'] Exploring Operation: 78+37=115, Resulting Numbers: [115] 115,38 unequal: No Solution Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 78*37=2886, Resulting Numbers: [2886] 2886,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 38:[35, 76], Operations: ['5+30=35', '78-2=76'] Exploring Operation: 35*76=2660, Resulting Numbers: [2660] 2660,38 unequal: No Solution Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 35+76=111, Resulting Numbers: [111] 111,38 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
[ 31, 9, 41, 50 ]
49
[ "31+9=40", "50-41=9", "40+9=49" ]
Current State: 49:[31, 9, 41, 50], Operations: [] Exploring Operation: 31+9=40, Resulting Numbers: [41, 50, 40] Generated Node #2: [41, 50, 40] from Operation: 31+9=40 Current State: 49:[41, 50, 40], Operations: ['31+9=40'] Exploring Operation: 50-41=9, Resulting Numbers: [40, 9] Generated Node #3: [40, 9] from Operation: 50-41=9 Current State: 49:[40, 9], Operations: ['31+9=40', '50-41=9'] Exploring Operation: 40+9=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[31, 9, 41, 50], Operations: [] Exploring Operation: 9+41=50, Resulting Numbers: [31, 50, 50] Generated Node #0,0: 49:[31, 50, 50] Operation: 9+41=50 Exploring Operation: 41-31=10, Resulting Numbers: [9, 50, 10] Generated Node #0,1: 49:[9, 50, 10] Operation: 41-31=10 Exploring Operation: 31+9=40, Resulting Numbers: [41, 50, 40] Generated Node #0,2: 49:[41, 50, 40] Operation: 31+9=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[9, 50, 10], Operations: ['41-31=10'] Exploring Operation: 50/10=5, Resulting Numbers: [9, 5] Generated Node #0,1,0: 49:[9, 5] Operation: 50/10=5 Exploring Operation: 50-9=41, Resulting Numbers: [10, 41] Generated Node #0,1,1: 49:[10, 41] Operation: 50-9=41 Exploring Operation: 10-9=1, Resulting Numbers: [50, 1] Generated Node #0,1,2: 49:[50, 1] Operation: 10-9=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[9, 5], Operations: ['41-31=10', '50/10=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 49:[50, 1], Operations: ['41-31=10', '10-9=1'] Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[31, 9, 41, 50], Operations: [] Exploring Operation: 41-31=10, Resulting Numbers: [9, 50, 10] Generated Node #0,1: 49:[9, 50, 10] Operation: 41-31=10 Moving to Node #0,1 Current State: 49:[9, 50, 10], Operations: ['41-31=10'] Exploring Operation: 10-9=1, Resulting Numbers: [50, 1] Generated Node #0,1,2: 49:[50, 1] Operation: 10-9=1 Moving to Node #0,1,2 Current State: 49:[50, 1], Operations: ['41-31=10', '10-9=1'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 36, 24, 16, 20 ]
38
[ "24+16=40", "40/20=2", "36+2=38" ]
Current State: 38:[36, 24, 16, 20], Operations: [] Exploring Operation: 24+16=40, Resulting Numbers: [36, 20, 40] Generated Node #2: [36, 20, 40] from Operation: 24+16=40 Current State: 38:[36, 20, 40], Operations: ['24+16=40'] Exploring Operation: 40/20=2, Resulting Numbers: [36, 2] Generated Node #3: [36, 2] from Operation: 40/20=2 Current State: 38:[36, 2], Operations: ['24+16=40', '40/20=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[36, 24, 16, 20], Operations: [] Exploring Operation: 16+20=36, Resulting Numbers: [36, 24, 36] Generated Node #0,0: 38:[36, 24, 36] Operation: 16+20=36 Exploring Operation: 36-16=20, Resulting Numbers: [24, 20, 20] Generated Node #0,1: 38:[24, 20, 20] Operation: 36-16=20 Exploring Operation: 24+16=40, Resulting Numbers: [36, 20, 40] Generated Node #0,2: 38:[36, 20, 40] Operation: 24+16=40 Exploring Operation: 24-20=4, Resulting Numbers: [36, 16, 4] Generated Node #0,3: 38:[36, 16, 4] Operation: 24-20=4 Exploring Operation: 24-16=8, Resulting Numbers: [36, 20, 8] Generated Node #0,4: 38:[36, 20, 8] Operation: 24-16=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[36, 20, 40], Operations: ['24+16=40'] Exploring Operation: 40-36=4, Resulting Numbers: [20, 4] Generated Node #0,2,0: 38:[20, 4] Operation: 40-36=4 Exploring Operation: 36-20=16, Resulting Numbers: [40, 16] Generated Node #0,2,1: 38:[40, 16] Operation: 36-20=16 Exploring Operation: 36+20=56, Resulting Numbers: [40, 56] Generated Node #0,2,2: 38:[40, 56] Operation: 36+20=56 Exploring Operation: 40/20=2, Resulting Numbers: [36, 2] Generated Node #0,2,3: 38:[36, 2] Operation: 40/20=2 Exploring Operation: 40-20=20, Resulting Numbers: [36, 20] Generated Node #0,2,4: 38:[36, 20] Operation: 40-20=20 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 38:[36, 2], Operations: ['24+16=40', '40/20=2'] Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,38 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,38 unequal: No Solution Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[36, 24, 16, 20], Operations: [] Exploring Operation: 24+16=40, Resulting Numbers: [36, 20, 40] Generated Node #0,2: 38:[36, 20, 40] Operation: 24+16=40 Moving to Node #0,2 Current State: 38:[36, 20, 40], Operations: ['24+16=40'] Exploring Operation: 40/20=2, Resulting Numbers: [36, 2] Generated Node #0,2,3: 38:[36, 2] Operation: 40/20=2 Moving to Node #0,2,3 Current State: 38:[36, 2], Operations: ['24+16=40', '40/20=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 7, 92, 58, 18 ]
39
[ "7*92=644", "58+644=702", "702/18=39" ]
Current State: 39:[7, 92, 58, 18], Operations: [] Exploring Operation: 7*92=644, Resulting Numbers: [58, 18, 644] Generated Node #2: [58, 18, 644] from Operation: 7*92=644 Current State: 39:[58, 18, 644], Operations: ['7*92=644'] Exploring Operation: 58+644=702, Resulting Numbers: [18, 702] Generated Node #3: [18, 702] from Operation: 58+644=702 Current State: 39:[18, 702], Operations: ['7*92=644', '58+644=702'] Exploring Operation: 702/18=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[7, 92, 58, 18], Operations: [] Exploring Operation: 92-58=34, Resulting Numbers: [7, 18, 34] Generated Node #0,0: 39:[7, 18, 34] Operation: 92-58=34 Moving to Node #0,0 Current State: 39:[7, 18, 34], Operations: ['92-58=34'] Exploring Operation: 18-7=11, Resulting Numbers: [34, 11] Generated Node #0,0,0: 39:[34, 11] Operation: 18-7=11 Moving to Node #0,0,0 Current State: 39:[34, 11], Operations: ['92-58=34', '18-7=11'] Exploring Operation: 34+11=45, Resulting Numbers: [45] 45,39 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 54, 68, 55, 17 ]
86
[ "68-54=14", "55+17=72", "14+72=86" ]
Current State: 86:[54, 68, 55, 17], Operations: [] Exploring Operation: 68-54=14, Resulting Numbers: [55, 17, 14] Generated Node #2: [55, 17, 14] from Operation: 68-54=14 Current State: 86:[55, 17, 14], Operations: ['68-54=14'] Exploring Operation: 55+17=72, Resulting Numbers: [14, 72] Generated Node #3: [14, 72] from Operation: 55+17=72 Current State: 86:[14, 72], Operations: ['68-54=14', '55+17=72'] Exploring Operation: 14+72=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[54, 68, 55, 17], Operations: [] Exploring Operation: 68/17=4, Resulting Numbers: [54, 55, 4] Generated Node #0,0: 86:[54, 55, 4] Operation: 68/17=4 Exploring Operation: 68+17=85, Resulting Numbers: [54, 55, 85] Generated Node #0,1: 86:[54, 55, 85] Operation: 68+17=85 Moving to Node #0,1 Current State: 86:[54, 55, 85], Operations: ['68+17=85'] Exploring Operation: 54+55=109, Resulting Numbers: [85, 109] Generated Node #0,1,0: 86:[85, 109] Operation: 54+55=109 Exploring Operation: 55-54=1, Resulting Numbers: [85, 1] Generated Node #0,1,1: 86:[85, 1] Operation: 55-54=1 Moving to Node #0,0 Current State: 86:[54, 55, 4], Operations: ['68/17=4'] Exploring Operation: 55-54=1, Resulting Numbers: [4, 1] Generated Node #0,0,0: 86:[4, 1] Operation: 55-54=1 Exploring Operation: 54-4=50, Resulting Numbers: [55, 50] Generated Node #0,0,1: 86:[55, 50] Operation: 54-4=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[4, 1], Operations: ['68/17=4', '55-54=1'] Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,86 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[55, 50], Operations: ['68/17=4', '54-4=50'] Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 55+50=105, Resulting Numbers: [105] 105,86 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: 86:[85, 1], Operations: ['68+17=85', '55-54=1'] Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[54, 68, 55, 17], Operations: [] Exploring Operation: 68+17=85, Resulting Numbers: [54, 55, 85] Generated Node #0,1: 86:[54, 55, 85] Operation: 68+17=85 Moving to Node #0,1 Current State: 86:[54, 55, 85], Operations: ['68+17=85'] Exploring Operation: 55-54=1, Resulting Numbers: [85, 1] Generated Node #0,1,1: 86:[85, 1] Operation: 55-54=1 Moving to Node #0,1,1 Current State: 86:[85, 1], Operations: ['68+17=85', '55-54=1'] Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 33, 17, 32, 57 ]
25
[ "33+17=50", "57-32=25", "50-25=25" ]
Current State: 25:[33, 17, 32, 57], Operations: [] Exploring Operation: 33+17=50, Resulting Numbers: [32, 57, 50] Generated Node #2: [32, 57, 50] from Operation: 33+17=50 Current State: 25:[32, 57, 50], Operations: ['33+17=50'] Exploring Operation: 57-32=25, Resulting Numbers: [50, 25] Generated Node #3: [50, 25] from Operation: 57-32=25 Current State: 25:[50, 25], Operations: ['33+17=50', '57-32=25'] Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[33, 17, 32, 57], Operations: [] Exploring Operation: 57-17=40, Resulting Numbers: [33, 32, 40] Generated Node #0,0: 25:[33, 32, 40] Operation: 57-17=40 Exploring Operation: 57-32=25, Resulting Numbers: [33, 17, 25] Generated Node #0,1: 25:[33, 17, 25] Operation: 57-32=25 Exploring Operation: 33-32=1, Resulting Numbers: [17, 57, 1] Generated Node #0,2: 25:[17, 57, 1] Operation: 33-32=1 Exploring Operation: 33-17=16, Resulting Numbers: [32, 57, 16] Generated Node #0,3: 25:[32, 57, 16] Operation: 33-17=16 Exploring Operation: 57-33=24, Resulting Numbers: [17, 32, 24] Generated Node #0,4: 25:[17, 32, 24] Operation: 57-33=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[33, 17, 25], Operations: ['57-32=25'] Exploring Operation: 25-17=8, Resulting Numbers: [33, 8] Generated Node #0,1,0: 25:[33, 8] Operation: 25-17=8 Exploring Operation: 33-25=8, Resulting Numbers: [17, 8] Generated Node #0,1,1: 25:[17, 8] Operation: 33-25=8 Exploring Operation: 17+25=42, Resulting Numbers: [33, 42] Generated Node #0,1,2: 25:[33, 42] Operation: 17+25=42 Exploring Operation: 33+17=50, Resulting Numbers: [25, 50] Generated Node #0,1,3: 25:[25, 50] Operation: 33+17=50 Exploring Operation: 33-17=16, Resulting Numbers: [25, 16] Generated Node #0,1,4: 25:[25, 16] Operation: 33-17=16 Moving to Node #0,1,4 Current State: 25:[25, 16], Operations: ['57-32=25', '33-17=16'] Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,25 unequal: No Solution Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[17, 8], Operations: ['57-32=25', '33-25=8'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,25 unequal: No Solution Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[33, 17, 32, 57], Operations: [] Exploring Operation: 57-32=25, Resulting Numbers: [33, 17, 25] Generated Node #0,1: 25:[33, 17, 25] Operation: 57-32=25 Moving to Node #0,1 Current State: 25:[33, 17, 25], Operations: ['57-32=25'] Exploring Operation: 33-25=8, Resulting Numbers: [17, 8] Generated Node #0,1,1: 25:[17, 8] Operation: 33-25=8 Moving to Node #0,1,1 Current State: 25:[17, 8], Operations: ['57-32=25', '33-25=8'] Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 76, 3, 20, 74 ]
14
[ "76-74=2", "3*2=6", "20-6=14" ]
Current State: 14:[76, 3, 20, 74], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [3, 20, 2] Generated Node #2: [3, 20, 2] from Operation: 76-74=2 Current State: 14:[3, 20, 2], Operations: ['76-74=2'] Exploring Operation: 3*2=6, Resulting Numbers: [20, 6] Generated Node #3: [20, 6] from Operation: 3*2=6 Current State: 14:[20, 6], Operations: ['76-74=2', '3*2=6'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[76, 3, 20, 74], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [3, 20, 2] Generated Node #0,0: 14:[3, 20, 2] Operation: 76-74=2 Exploring Operation: 76-20=56, Resulting Numbers: [3, 74, 56] Generated Node #0,1: 14:[3, 74, 56] Operation: 76-20=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[3, 20, 2], Operations: ['76-74=2'] Exploring Operation: 20/2=10, Resulting Numbers: [3, 10] Generated Node #0,0,0: 14:[3, 10] Operation: 20/2=10 Exploring Operation: 20-3=17, Resulting Numbers: [2, 17] Generated Node #0,0,1: 14:[2, 17] Operation: 20-3=17 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 14:[2, 17], Operations: ['76-74=2', '20-3=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[3, 10], Operations: ['76-74=2', '20/2=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[3, 74, 56], Operations: ['76-20=56'] Exploring Operation: 74-56=18, Resulting Numbers: [3, 18] Generated Node #0,1,0: 14:[3, 18] Operation: 74-56=18 Exploring Operation: 74-3=71, Resulting Numbers: [56, 71] Generated Node #0,1,1: 14:[56, 71] Operation: 74-3=71 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 14:[3, 18], Operations: ['76-20=56', '74-56=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 14:[56, 71], Operations: ['76-20=56', '74-3=71'] Exploring Operation: 56+71=127, Resulting Numbers: [127] 127,14 unequal: No Solution Exploring Operation: 71-56=15, Resulting Numbers: [15] 15,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 13, 93, 18, 17 ]
14
[ "13+18=31", "93/31=3", "17-3=14" ]
Current State: 14:[13, 93, 18, 17], Operations: [] Exploring Operation: 13+18=31, Resulting Numbers: [93, 17, 31] Generated Node #2: [93, 17, 31] from Operation: 13+18=31 Current State: 14:[93, 17, 31], Operations: ['13+18=31'] Exploring Operation: 93/31=3, Resulting Numbers: [17, 3] Generated Node #3: [17, 3] from Operation: 93/31=3 Current State: 14:[17, 3], Operations: ['13+18=31', '93/31=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[13, 93, 18, 17], Operations: [] Exploring Operation: 93-18=75, Resulting Numbers: [13, 17, 75] Generated Node #0,0: 14:[13, 17, 75] Operation: 93-18=75 Moving to Node #0,0 Current State: 14:[13, 17, 75], Operations: ['93-18=75'] Exploring Operation: 75-17=58, Resulting Numbers: [13, 58] Generated Node #0,0,0: 14:[13, 58] Operation: 75-17=58 Moving to Node #0,0,0 Current State: 14:[13, 58], Operations: ['93-18=75', '75-17=58'] Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,14 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 46, 19, 49, 4 ]
26
[ "46-19=27", "49+4=53", "53-27=26" ]
Current State: 26:[46, 19, 49, 4], Operations: [] Exploring Operation: 46-19=27, Resulting Numbers: [49, 4, 27] Generated Node #2: [49, 4, 27] from Operation: 46-19=27 Current State: 26:[49, 4, 27], Operations: ['46-19=27'] Exploring Operation: 49+4=53, Resulting Numbers: [27, 53] Generated Node #3: [27, 53] from Operation: 49+4=53 Current State: 26:[27, 53], Operations: ['46-19=27', '49+4=53'] Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[46, 19, 49, 4], Operations: [] Exploring Operation: 49-46=3, Resulting Numbers: [19, 4, 3] Generated Node #0,0: 26:[19, 4, 3] Operation: 49-46=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[19, 4, 3], Operations: ['49-46=3'] Exploring Operation: 19-4=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 26:[3, 15] Operation: 19-4=15 Moving to Node #0,0,0 Current State: 26:[3, 15], Operations: ['49-46=3', '19-4=15'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 28, 30, 46, 59 ]
45
[ "28+30=58", "59-46=13", "58-13=45" ]
Current State: 45:[28, 30, 46, 59], Operations: [] Exploring Operation: 28+30=58, Resulting Numbers: [46, 59, 58] Generated Node #2: [46, 59, 58] from Operation: 28+30=58 Current State: 45:[46, 59, 58], Operations: ['28+30=58'] Exploring Operation: 59-46=13, Resulting Numbers: [58, 13] Generated Node #3: [58, 13] from Operation: 59-46=13 Current State: 45:[58, 13], Operations: ['28+30=58', '59-46=13'] Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[28, 30, 46, 59], Operations: [] Exploring Operation: 30-28=2, Resulting Numbers: [46, 59, 2] Generated Node #0,0: 45:[46, 59, 2] Operation: 30-28=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[46, 59, 2], Operations: ['30-28=2'] Exploring Operation: 59-46=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 45:[2, 13] Operation: 59-46=13 Moving to Node #0,0,0 Current State: 45:[2, 13], Operations: ['30-28=2', '59-46=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,45 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
[ 96, 88, 76, 80 ]
82
[ "96*76=7296", "7296-80=7216", "7216/88=82" ]
Current State: 82:[96, 88, 76, 80], Operations: [] Exploring Operation: 96*76=7296, Resulting Numbers: [88, 80, 7296] Generated Node #2: [88, 80, 7296] from Operation: 96*76=7296 Current State: 82:[88, 80, 7296], Operations: ['96*76=7296'] Exploring Operation: 7296-80=7216, Resulting Numbers: [88, 7216] Generated Node #3: [88, 7216] from Operation: 7296-80=7216 Current State: 82:[88, 7216], Operations: ['96*76=7296', '7296-80=7216'] Exploring Operation: 7216/88=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[96, 88, 76, 80], Operations: [] Exploring Operation: 96-88=8, Resulting Numbers: [76, 80, 8] Generated Node #0,0: 82:[76, 80, 8] Operation: 96-88=8 Moving to Node #0,0 Current State: 82:[76, 80, 8], Operations: ['96-88=8'] Exploring Operation: 76+8=84, Resulting Numbers: [80, 84] Generated Node #0,0,0: 82:[80, 84] Operation: 76+8=84 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[80, 84], Operations: ['96-88=8', '76+8=84'] Exploring Operation: 84-80=4, Resulting Numbers: [4] 4,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
[ 30, 6, 19, 12 ]
10
[ "6+19=25", "12*25=300", "300/30=10" ]
Current State: 10:[30, 6, 19, 12], Operations: [] Exploring Operation: 6+19=25, Resulting Numbers: [30, 12, 25] Generated Node #2: [30, 12, 25] from Operation: 6+19=25 Current State: 10:[30, 12, 25], Operations: ['6+19=25'] Exploring Operation: 12*25=300, Resulting Numbers: [30, 300] Generated Node #3: [30, 300] from Operation: 12*25=300 Current State: 10:[30, 300], Operations: ['6+19=25', '12*25=300'] Exploring Operation: 300/30=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[30, 6, 19, 12], Operations: [] Exploring Operation: 30/6=5, Resulting Numbers: [19, 12, 5] Generated Node #0,0: 10:[19, 12, 5] Operation: 30/6=5 Exploring Operation: 30-19=11, Resulting Numbers: [6, 12, 11] Generated Node #0,1: 10:[6, 12, 11] Operation: 30-19=11 Moving to Node #0,1 Current State: 10:[6, 12, 11], Operations: ['30-19=11'] Exploring Operation: 12/6=2, Resulting Numbers: [11, 2] Generated Node #0,1,0: 10:[11, 2] Operation: 12/6=2 Exploring Operation: 12-6=6, Resulting Numbers: [11, 6] Generated Node #0,1,1: 10:[11, 6] Operation: 12-6=6 Moving to Node #0,0 Current State: 10:[19, 12, 5], Operations: ['30/6=5'] Exploring Operation: 19-5=14, Resulting Numbers: [12, 14] Generated Node #0,0,0: 10:[12, 14] Operation: 19-5=14 Exploring Operation: 19-12=7, Resulting Numbers: [5, 7] Generated Node #0,0,1: 10:[5, 7] Operation: 19-12=7 Moving to Node #0,1,0 Current State: 10:[11, 2], Operations: ['30-19=11', '12/6=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[5, 7], Operations: ['30/6=5', '19-12=7'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[11, 6], Operations: ['30-19=11', '12-6=6'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[12, 14], Operations: ['30/6=5', '19-5=14'] Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,10 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 17, 99, 21, 38 ]
98
[ "17+21=38", "38/38=1", "99-1=98" ]
Current State: 98:[17, 99, 21, 38], Operations: [] Exploring Operation: 17+21=38, Resulting Numbers: [99, 38, 38] Generated Node #2: [99, 38, 38] from Operation: 17+21=38 Current State: 98:[99, 38, 38], Operations: ['17+21=38'] Exploring Operation: 38/38=1, Resulting Numbers: [99, 1] Generated Node #3: [99, 1] from Operation: 38/38=1 Current State: 98:[99, 1], Operations: ['17+21=38', '38/38=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[17, 99, 21, 38], Operations: [] Exploring Operation: 21-17=4, Resulting Numbers: [99, 38, 4] Generated Node #0,0: 98:[99, 38, 4] Operation: 21-17=4 Exploring Operation: 17+38=55, Resulting Numbers: [99, 21, 55] Generated Node #0,1: 98:[99, 21, 55] Operation: 17+38=55 Exploring Operation: 38-21=17, Resulting Numbers: [17, 99, 17] Generated Node #0,2: 98:[17, 99, 17] Operation: 38-21=17 Moving to Node #0,2 Current State: 98:[17, 99, 17], Operations: ['38-21=17'] Exploring Operation: 17/17=1, Resulting Numbers: [99, 1] Generated Node #0,2,0: 98:[99, 1] Operation: 17/17=1 Exploring Operation: 17-17=0, Resulting Numbers: [99, 0] Generated Node #0,2,1: 98:[99, 0] Operation: 17-17=0 Exploring Operation: 17+17=34, Resulting Numbers: [99, 34] Generated Node #0,2,2: 98:[99, 34] Operation: 17+17=34 Moving to Node #0,0 Current State: 98:[99, 38, 4], Operations: ['21-17=4'] Exploring Operation: 99-38=61, Resulting Numbers: [4, 61] Generated Node #0,0,0: 98:[4, 61] Operation: 99-38=61 Exploring Operation: 99-4=95, Resulting Numbers: [38, 95] Generated Node #0,0,1: 98:[38, 95] Operation: 99-4=95 Exploring Operation: 38+4=42, Resulting Numbers: [99, 42] Generated Node #0,0,2: 98:[99, 42] Operation: 38+4=42 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 98:[99, 42], Operations: ['21-17=4', '38+4=42'] Exploring Operation: 99+42=141, Resulting Numbers: [141] 141,98 unequal: No Solution Exploring Operation: 99*42=4158, Resulting Numbers: [4158] 4158,98 unequal: No Solution Exploring Operation: 99-42=57, Resulting Numbers: [57] 57,98 unequal: No Solution No 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: 98:[4, 61], Operations: ['21-17=4', '99-38=61'] Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,98 unequal: No Solution Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,98 unequal: No Solution Exploring Operation: 4*61=244, Resulting Numbers: [244] 244,98 unequal: No Solution No 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: 98:[38, 95], Operations: ['21-17=4', '99-4=95'] Exploring Operation: 95-38=57, Resulting Numbers: [57] 57,98 unequal: No Solution Exploring Operation: 38*95=3610, Resulting Numbers: [3610] 3610,98 unequal: No Solution Exploring Operation: 38+95=133, Resulting Numbers: [133] 133,98 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: 98:[99, 21, 55], Operations: ['17+38=55'] Exploring Operation: 55-21=34, Resulting Numbers: [99, 34] Generated Node #0,1,0: 98:[99, 34] Operation: 55-21=34 Exploring Operation: 99-55=44, Resulting Numbers: [21, 44] Generated Node #0,1,1: 98:[21, 44] Operation: 99-55=44 Exploring Operation: 21+55=76, Resulting Numbers: [99, 76] Generated Node #0,1,2: 98:[99, 76] Operation: 21+55=76 Moving to Node #0,2,0 Current State: 98:[99, 1], Operations: ['38-21=17', '17/17=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[17, 99, 21, 38], Operations: [] Exploring Operation: 38-21=17, Resulting Numbers: [17, 99, 17] Generated Node #0,2: 98:[17, 99, 17] Operation: 38-21=17 Moving to Node #0,2 Current State: 98:[17, 99, 17], Operations: ['38-21=17'] Exploring Operation: 17/17=1, Resulting Numbers: [99, 1] Generated Node #0,2,0: 98:[99, 1] Operation: 17/17=1 Moving to Node #0,2,0 Current State: 98:[99, 1], Operations: ['38-21=17', '17/17=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 14, 11, 23, 9 ]
17
[ "14-11=3", "23-9=14", "3+14=17" ]
Current State: 17:[14, 11, 23, 9], Operations: [] Exploring Operation: 14-11=3, Resulting Numbers: [23, 9, 3] Generated Node #2: [23, 9, 3] from Operation: 14-11=3 Current State: 17:[23, 9, 3], Operations: ['14-11=3'] Exploring Operation: 23-9=14, Resulting Numbers: [3, 14] Generated Node #3: [3, 14] from Operation: 23-9=14 Current State: 17:[3, 14], Operations: ['14-11=3', '23-9=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[14, 11, 23, 9], Operations: [] Exploring Operation: 23-11=12, Resulting Numbers: [14, 9, 12] Generated Node #0,0: 17:[14, 9, 12] Operation: 23-11=12 Exploring Operation: 23-9=14, Resulting Numbers: [14, 11, 14] Generated Node #0,1: 17:[14, 11, 14] Operation: 23-9=14 Exploring Operation: 11+9=20, Resulting Numbers: [14, 23, 20] Generated Node #0,2: 17:[14, 23, 20] Operation: 11+9=20 Moving to Node #0,1 Current State: 17:[14, 11, 14], Operations: ['23-9=14'] Exploring Operation: 11+14=25, Resulting Numbers: [14, 25] Generated Node #0,1,0: 17:[14, 25] Operation: 11+14=25 Exploring Operation: 14-11=3, Resulting Numbers: [14, 3] Generated Node #0,1,1: 17:[14, 3] Operation: 14-11=3 Exploring Operation: 14+11=25, Resulting Numbers: [14, 25] Generated Node #0,1,2: 17:[14, 25] Operation: 14+11=25 Moving to Node #0,2 Current State: 17:[14, 23, 20], Operations: ['11+9=20'] Exploring Operation: 20-14=6, Resulting Numbers: [23, 6] Generated Node #0,2,0: 17:[23, 6] Operation: 20-14=6 Exploring Operation: 23-20=3, Resulting Numbers: [14, 3] Generated Node #0,2,1: 17:[14, 3] Operation: 23-20=3 Exploring Operation: 23-14=9, Resulting Numbers: [20, 9] Generated Node #0,2,2: 17:[20, 9] Operation: 23-14=9 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 17:[20, 9], Operations: ['11+9=20', '23-14=9'] Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 17:[23, 6], Operations: ['11+9=20', '20-14=6'] Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,17 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[14, 11, 23, 9], Operations: [] Exploring Operation: 11+9=20, Resulting Numbers: [14, 23, 20] Generated Node #0,2: 17:[14, 23, 20] Operation: 11+9=20 Moving to Node #0,2 Current State: 17:[14, 23, 20], Operations: ['11+9=20'] Exploring Operation: 20-14=6, Resulting Numbers: [23, 6] Generated Node #0,2,0: 17:[23, 6] Operation: 20-14=6 Moving to Node #0,2,0 Current State: 17:[23, 6], Operations: ['11+9=20', '20-14=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 82, 79, 84, 14 ]
72
[ "84-82=2", "14/2=7", "79-7=72" ]
Current State: 72:[82, 79, 84, 14], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [79, 14, 2] Generated Node #2: [79, 14, 2] from Operation: 84-82=2 Current State: 72:[79, 14, 2], Operations: ['84-82=2'] Exploring Operation: 14/2=7, Resulting Numbers: [79, 7] Generated Node #3: [79, 7] from Operation: 14/2=7 Current State: 72:[79, 7], Operations: ['84-82=2', '14/2=7'] Exploring Operation: 79-7=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[82, 79, 84, 14], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [79, 14, 2] Generated Node #0,0: 72:[79, 14, 2] Operation: 84-82=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[79, 14, 2], Operations: ['84-82=2'] Exploring Operation: 79-14=65, Resulting Numbers: [2, 65] Generated Node #0,0,0: 72:[2, 65] Operation: 79-14=65 Moving to Node #0,0,0 Current State: 72:[2, 65], Operations: ['84-82=2', '79-14=65'] Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 23, 50, 20, 47 ]
94
[ "50-23=27", "20+47=67", "27+67=94" ]
Current State: 94:[23, 50, 20, 47], Operations: [] Exploring Operation: 50-23=27, Resulting Numbers: [20, 47, 27] Generated Node #2: [20, 47, 27] from Operation: 50-23=27 Current State: 94:[20, 47, 27], Operations: ['50-23=27'] Exploring Operation: 20+47=67, Resulting Numbers: [27, 67] Generated Node #3: [27, 67] from Operation: 20+47=67 Current State: 94:[27, 67], Operations: ['50-23=27', '20+47=67'] Exploring Operation: 27+67=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[23, 50, 20, 47], Operations: [] Exploring Operation: 50-23=27, Resulting Numbers: [20, 47, 27] Generated Node #0,0: 94:[20, 47, 27] Operation: 50-23=27 Exploring Operation: 23+20=43, Resulting Numbers: [50, 47, 43] Generated Node #0,1: 94:[50, 47, 43] Operation: 23+20=43 Exploring Operation: 50-20=30, Resulting Numbers: [23, 47, 30] Generated Node #0,2: 94:[23, 47, 30] Operation: 50-20=30 Exploring Operation: 23-20=3, Resulting Numbers: [50, 47, 3] Generated Node #0,3: 94:[50, 47, 3] Operation: 23-20=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 94:[50, 47, 3], Operations: ['23-20=3'] Exploring Operation: 50+3=53, Resulting Numbers: [47, 53] Generated Node #0,3,0: 94:[47, 53] Operation: 50+3=53 Exploring Operation: 50+47=97, Resulting Numbers: [3, 97] Generated Node #0,3,1: 94:[3, 97] Operation: 50+47=97 Exploring Operation: 50-47=3, Resulting Numbers: [3, 3] Generated Node #0,3,2: 94:[3, 3] Operation: 50-47=3 Exploring Operation: 50-3=47, Resulting Numbers: [47, 47] Generated Node #0,3,3: 94:[47, 47] Operation: 50-3=47 Moving to Node #0,3,3 Current State: 94:[47, 47], Operations: ['23-20=3', '50-3=47'] Exploring Operation: 47/47=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 47-47=0, Resulting Numbers: [0] 0,94 unequal: No Solution Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[23, 50, 20, 47], Operations: [] Exploring Operation: 23-20=3, Resulting Numbers: [50, 47, 3] Generated Node #0,3: 94:[50, 47, 3] Operation: 23-20=3 Moving to Node #0,3 Current State: 94:[50, 47, 3], Operations: ['23-20=3'] Exploring Operation: 50-3=47, Resulting Numbers: [47, 47] Generated Node #0,3,3: 94:[47, 47] Operation: 50-3=47 Moving to Node #0,3,3 Current State: 94:[47, 47], Operations: ['23-20=3', '50-3=47'] Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 70, 29, 13, 73 ]
14
[ "73-70=3", "29+13=42", "42/3=14" ]
Current State: 14:[70, 29, 13, 73], Operations: [] Exploring Operation: 73-70=3, Resulting Numbers: [29, 13, 3] Generated Node #2: [29, 13, 3] from Operation: 73-70=3 Current State: 14:[29, 13, 3], Operations: ['73-70=3'] Exploring Operation: 29+13=42, Resulting Numbers: [3, 42] Generated Node #3: [3, 42] from Operation: 29+13=42 Current State: 14:[3, 42], Operations: ['73-70=3', '29+13=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[70, 29, 13, 73], Operations: [] Exploring Operation: 73-70=3, Resulting Numbers: [29, 13, 3] Generated Node #0,0: 14:[29, 13, 3] Operation: 73-70=3 Moving to Node #0,0 Current State: 14:[29, 13, 3], Operations: ['73-70=3'] Exploring Operation: 29-13=16, Resulting Numbers: [3, 16] Generated Node #0,0,0: 14:[3, 16] Operation: 29-13=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[3, 16], Operations: ['73-70=3', '29-13=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,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
[ 61, 78, 24, 87 ]
39
[ "61+24=85", "87-85=2", "78/2=39" ]
Current State: 39:[61, 78, 24, 87], Operations: [] Exploring Operation: 61+24=85, Resulting Numbers: [78, 87, 85] Generated Node #2: [78, 87, 85] from Operation: 61+24=85 Current State: 39:[78, 87, 85], Operations: ['61+24=85'] Exploring Operation: 87-85=2, Resulting Numbers: [78, 2] Generated Node #3: [78, 2] from Operation: 87-85=2 Current State: 39:[78, 2], Operations: ['61+24=85', '87-85=2'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[61, 78, 24, 87], Operations: [] Exploring Operation: 78-61=17, Resulting Numbers: [24, 87, 17] Generated Node #0,0: 39:[24, 87, 17] Operation: 78-61=17 Exploring Operation: 87-78=9, Resulting Numbers: [61, 24, 9] Generated Node #0,1: 39:[61, 24, 9] Operation: 87-78=9 Exploring Operation: 87-61=26, Resulting Numbers: [78, 24, 26] Generated Node #0,2: 39:[78, 24, 26] Operation: 87-61=26 Moving to Node #0,1 Current State: 39:[61, 24, 9], Operations: ['87-78=9'] Exploring Operation: 61-9=52, Resulting Numbers: [24, 52] Generated Node #0,1,0: 39:[24, 52] Operation: 61-9=52 Exploring Operation: 24-9=15, Resulting Numbers: [61, 15] Generated Node #0,1,1: 39:[61, 15] Operation: 24-9=15 Exploring Operation: 61-24=37, Resulting Numbers: [9, 37] Generated Node #0,1,2: 39:[9, 37] Operation: 61-24=37 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 39:[9, 37], Operations: ['87-78=9', '61-24=37'] Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,39 unequal: No Solution Exploring Operation: 9*37=333, Resulting Numbers: [333] 333,39 unequal: No Solution Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[24, 52], Operations: ['87-78=9', '61-9=52'] Exploring Operation: 24+52=76, Resulting Numbers: [76] 76,39 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,39 unequal: No Solution Exploring Operation: 24*52=1248, Resulting Numbers: [1248] 1248,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[61, 15], Operations: ['87-78=9', '24-9=15'] Exploring Operation: 61*15=915, Resulting Numbers: [915] 915,39 unequal: No Solution Exploring Operation: 61+15=76, Resulting Numbers: [76] 76,39 unequal: No Solution Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,39 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: 39:[24, 87, 17], Operations: ['78-61=17'] Exploring Operation: 87-17=70, Resulting Numbers: [24, 70] Generated Node #0,0,0: 39:[24, 70] Operation: 87-17=70 Exploring Operation: 24+17=41, Resulting Numbers: [87, 41] Generated Node #0,0,1: 39:[87, 41] Operation: 24+17=41 Exploring Operation: 87-24=63, Resulting Numbers: [17, 63] Generated Node #0,0,2: 39:[17, 63] Operation: 87-24=63 Moving to Node #0,2 Current State: 39:[78, 24, 26], Operations: ['87-61=26'] Exploring Operation: 78/26=3, Resulting Numbers: [24, 3] Generated Node #0,2,0: 39:[24, 3] Operation: 78/26=3 Exploring Operation: 78-26=52, Resulting Numbers: [24, 52] Generated Node #0,2,1: 39:[24, 52] Operation: 78-26=52 Exploring Operation: 78-24=54, Resulting Numbers: [26, 54] Generated Node #0,2,2: 39:[26, 54] Operation: 78-24=54 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 39:[24, 3], Operations: ['87-61=26', '78/26=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,39 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 39:[24, 52], Operations: ['87-61=26', '78-26=52'] Exploring Operation: 24*52=1248, Resulting Numbers: [1248] 1248,39 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,39 unequal: No Solution Exploring Operation: 24+52=76, Resulting Numbers: [76] 76,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 39:[26, 54], Operations: ['87-61=26', '78-24=54'] Exploring Operation: 26*54=1404, Resulting Numbers: [1404] 1404,39 unequal: No Solution Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,39 unequal: No Solution Exploring Operation: 26+54=80, Resulting Numbers: [80] 80,39 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: 39:[17, 63], Operations: ['78-61=17', '87-24=63'] Exploring Operation: 17+63=80, Resulting Numbers: [80] 80,39 unequal: No Solution Exploring Operation: 63-17=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 17*63=1071, Resulting Numbers: [1071] 1071,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[24, 70], Operations: ['78-61=17', '87-17=70'] Exploring Operation: 24+70=94, Resulting Numbers: [94] 94,39 unequal: No Solution Exploring Operation: 24*70=1680, Resulting Numbers: [1680] 1680,39 unequal: No Solution Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[87, 41], Operations: ['78-61=17', '24+17=41'] Exploring Operation: 87-41=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 87+41=128, Resulting Numbers: [128] 128,39 unequal: No Solution Exploring Operation: 87*41=3567, Resulting Numbers: [3567] 3567,39 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 37, 24, 37, 59 ]
47
[ "37*37=1369", "24*59=1416", "1416-1369=47" ]
Current State: 47:[37, 24, 37, 59], Operations: [] Exploring Operation: 37*37=1369, Resulting Numbers: [24, 59, 1369] Generated Node #2: [24, 59, 1369] from Operation: 37*37=1369 Current State: 47:[24, 59, 1369], Operations: ['37*37=1369'] Exploring Operation: 24*59=1416, Resulting Numbers: [1369, 1416] Generated Node #3: [1369, 1416] from Operation: 24*59=1416 Current State: 47:[1369, 1416], Operations: ['37*37=1369', '24*59=1416'] Exploring Operation: 1416-1369=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[37, 24, 37, 59], Operations: [] Exploring Operation: 59-24=35, Resulting Numbers: [37, 37, 35] Generated Node #0,0: 47:[37, 37, 35] Operation: 59-24=35 Moving to Node #0,0 Current State: 47:[37, 37, 35], Operations: ['59-24=35'] Exploring Operation: 37+35=72, Resulting Numbers: [37, 72] Generated Node #0,0,0: 47:[37, 72] Operation: 37+35=72 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[37, 72], Operations: ['59-24=35', '37+35=72'] Exploring Operation: 72-37=35, Resulting Numbers: [35] 35,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 84, 4, 46, 2 ]
71
[ "84/4=21", "46*2=92", "92-21=71" ]
Current State: 71:[84, 4, 46, 2], Operations: [] Exploring Operation: 84/4=21, Resulting Numbers: [46, 2, 21] Generated Node #2: [46, 2, 21] from Operation: 84/4=21 Current State: 71:[46, 2, 21], Operations: ['84/4=21'] Exploring Operation: 46*2=92, Resulting Numbers: [21, 92] Generated Node #3: [21, 92] from Operation: 46*2=92 Current State: 71:[21, 92], Operations: ['84/4=21', '46*2=92'] Exploring Operation: 92-21=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[84, 4, 46, 2], Operations: [] Exploring Operation: 4*2=8, Resulting Numbers: [84, 46, 8] Generated Node #0,0: 71:[84, 46, 8] Operation: 4*2=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[84, 46, 8], Operations: ['4*2=8'] Exploring Operation: 84-8=76, Resulting Numbers: [46, 76] Generated Node #0,0,0: 71:[46, 76] Operation: 84-8=76 Moving to Node #0,0,0 Current State: 71:[46, 76], Operations: ['4*2=8', '84-8=76'] Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,71 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
[ 79, 82, 29, 27 ]
85
[ "29-27=2", "82*2=164", "164-79=85" ]
Current State: 85:[79, 82, 29, 27], Operations: [] Exploring Operation: 29-27=2, Resulting Numbers: [79, 82, 2] Generated Node #2: [79, 82, 2] from Operation: 29-27=2 Current State: 85:[79, 82, 2], Operations: ['29-27=2'] Exploring Operation: 82*2=164, Resulting Numbers: [79, 164] Generated Node #3: [79, 164] from Operation: 82*2=164 Current State: 85:[79, 164], Operations: ['29-27=2', '82*2=164'] Exploring Operation: 164-79=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[79, 82, 29, 27], Operations: [] Exploring Operation: 29-27=2, Resulting Numbers: [79, 82, 2] Generated Node #0,0: 85:[79, 82, 2] Operation: 29-27=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[79, 82, 2], Operations: ['29-27=2'] Exploring Operation: 82-79=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 85:[2, 3] Operation: 82-79=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[2, 3], Operations: ['29-27=2', '82-79=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 66, 4, 2, 64 ]
36
[ "64-4=60", "60/2=30", "66-30=36" ]
Current State: 36:[66, 4, 2, 64], Operations: [] Exploring Operation: 64-4=60, Resulting Numbers: [66, 2, 60] Generated Node #2: [66, 2, 60] from Operation: 64-4=60 Current State: 36:[66, 2, 60], Operations: ['64-4=60'] Exploring Operation: 60/2=30, Resulting Numbers: [66, 30] Generated Node #3: [66, 30] from Operation: 60/2=30 Current State: 36:[66, 30], Operations: ['64-4=60', '60/2=30'] Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[66, 4, 2, 64], Operations: [] Exploring Operation: 66-4=62, Resulting Numbers: [2, 64, 62] Generated Node #0,0: 36:[2, 64, 62] Operation: 66-4=62 Exploring Operation: 64/4=16, Resulting Numbers: [66, 2, 16] Generated Node #0,1: 36:[66, 2, 16] Operation: 64/4=16 Exploring Operation: 66-64=2, Resulting Numbers: [4, 2, 2] Generated Node #0,2: 36:[4, 2, 2] Operation: 66-64=2 Exploring Operation: 66/2=33, Resulting Numbers: [4, 64, 33] Generated Node #0,3: 36:[4, 64, 33] Operation: 66/2=33 Exploring Operation: 64/2=32, Resulting Numbers: [66, 4, 32] Generated Node #0,4: 36:[66, 4, 32] Operation: 64/2=32 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[4, 2, 2], Operations: ['66-64=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2, 2] Generated Node #0,2,0: 36:[2, 2] Operation: 4/2=2 Exploring Operation: 4+2=6, Resulting Numbers: [2, 6] Generated Node #0,2,1: 36:[2, 6] Operation: 4+2=6 Exploring Operation: 4+2=6, Resulting Numbers: [2, 6] Generated Node #0,2,2: 36:[2, 6] Operation: 4+2=6 Exploring Operation: 4-2=2, Resulting Numbers: [2, 2] Generated Node #0,2,3: 36:[2, 2] Operation: 4-2=2 Exploring Operation: 4-2=2, Resulting Numbers: [2, 2] Generated Node #0,2,4: 36:[2, 2] Operation: 4-2=2 Moving to Node #0,2,0 Current State: 36:[2, 2], Operations: ['66-64=2', '4/2=2'] Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[2, 6], Operations: ['66-64=2', '4+2=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,36 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,36 unequal: No Solution Moving to Node #0,2,4 Current State: 36:[2, 2], Operations: ['66-64=2', '4-2=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[2, 6], Operations: ['66-64=2', '4+2=6'] Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,36 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Moving to Node #0,2,3 Current State: 36:[2, 2], Operations: ['66-64=2', '4-2=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,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,3 Current State: 36:[4, 64, 33], Operations: ['66/2=33'] Exploring Operation: 4+33=37, Resulting Numbers: [64, 37] Generated Node #0,3,0: 36:[64, 37] Operation: 4+33=37 Exploring Operation: 64-33=31, Resulting Numbers: [4, 31] Generated Node #0,3,1: 36:[4, 31] Operation: 64-33=31 Exploring Operation: 64-4=60, Resulting Numbers: [33, 60] Generated Node #0,3,2: 36:[33, 60] Operation: 64-4=60 Exploring Operation: 4+64=68, Resulting Numbers: [33, 68] Generated Node #0,3,3: 36:[33, 68] Operation: 4+64=68 Exploring Operation: 64/4=16, Resulting Numbers: [33, 16] Generated Node #0,3,4: 36:[33, 16] Operation: 64/4=16 Moving to Node #0,3,1 Current State: 36:[4, 31], Operations: ['66/2=33', '64-33=31'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 4*31=124, Resulting Numbers: [124] 124,36 unequal: No Solution Moving to Node #0,3,4 Current State: 36:[33, 16], Operations: ['66/2=33', '64/4=16'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 33+16=49, Resulting Numbers: [49] 49,36 unequal: No Solution Exploring Operation: 33*16=528, Resulting Numbers: [528] 528,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[33, 60], Operations: ['66/2=33', '64-4=60'] Exploring Operation: 33+60=93, Resulting Numbers: [93] 93,36 unequal: No Solution Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 33*60=1980, Resulting Numbers: [1980] 1980,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[64, 37], Operations: ['66/2=33', '4+33=37'] Exploring Operation: 64+37=101, Resulting Numbers: [101] 101,36 unequal: No Solution Exploring Operation: 64*37=2368, Resulting Numbers: [2368] 2368,36 unequal: No Solution Exploring Operation: 64-37=27, Resulting Numbers: [27] 27,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[33, 68], Operations: ['66/2=33', '4+64=68'] Exploring Operation: 33+68=101, Resulting Numbers: [101] 101,36 unequal: No Solution Exploring Operation: 33*68=2244, Resulting Numbers: [2244] 2244,36 unequal: No Solution Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,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 Current State: 36:[66, 2, 16], Operations: ['64/4=16'] Exploring Operation: 66-16=50, Resulting Numbers: [2, 50] Generated Node #0,1,0: 36:[2, 50] Operation: 66-16=50 Exploring Operation: 2+16=18, Resulting Numbers: [66, 18] Generated Node #0,1,1: 36:[66, 18] Operation: 2+16=18 Exploring Operation: 16/2=8, Resulting Numbers: [66, 8] Generated Node #0,1,2: 36:[66, 8] Operation: 16/2=8 Exploring Operation: 66-2=64, Resulting Numbers: [16, 64] Generated Node #0,1,3: 36:[16, 64] Operation: 66-2=64 Exploring Operation: 66/2=33, Resulting Numbers: [16, 33] Generated Node #0,1,4: 36:[16, 33] Operation: 66/2=33 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 36:[16, 33], Operations: ['64/4=16', '66/2=33'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,36 unequal: No Solution Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 36:[2, 50], Operations: ['64/4=16', '66-16=50'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,36 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,36 unequal: No Solution Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 36:[66, 18], Operations: ['64/4=16', '2+16=18'] Exploring Operation: 66+18=84, Resulting Numbers: [84] 84,36 unequal: No Solution Exploring Operation: 66*18=1188, Resulting Numbers: [1188] 1188,36 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 36:[16, 64], Operations: ['64/4=16', '66-2=64'] Exploring Operation: 64-16=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 16+64=80, Resulting Numbers: [80] 80,36 unequal: No Solution Exploring Operation: 16*64=1024, Resulting Numbers: [1024] 1024,36 unequal: No Solution Exploring Operation: 64/16=4, Resulting Numbers: [4] 4,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 36:[66, 8], Operations: ['64/4=16', '16/2=8'] Exploring Operation: 66+8=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 66*8=528, Resulting Numbers: [528] 528,36 unequal: No Solution Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 36:[66, 4, 32], Operations: ['64/2=32'] Exploring Operation: 4+32=36, Resulting Numbers: [66, 36] Generated Node #0,4,0: 36:[66, 36] Operation: 4+32=36 Exploring Operation: 66-4=62, Resulting Numbers: [32, 62] Generated Node #0,4,1: 36:[32, 62] Operation: 66-4=62 Exploring Operation: 32/4=8, Resulting Numbers: [66, 8] Generated Node #0,4,2: 36:[66, 8] Operation: 32/4=8 Exploring Operation: 66-32=34, Resulting Numbers: [4, 34] Generated Node #0,4,3: 36:[4, 34] Operation: 66-32=34 Exploring Operation: 66+4=70, Resulting Numbers: [32, 70] Generated Node #0,4,4: 36:[32, 70] Operation: 66+4=70 Moving to Node #0,4,3 Current State: 36:[4, 34], Operations: ['64/2=32', '66-32=34'] Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,36 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,36 unequal: No Solution Moving to Node #0,4,1 Current State: 36:[32, 62], Operations: ['64/2=32', '66-4=62'] Exploring Operation: 62-32=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 32*62=1984, Resulting Numbers: [1984] 1984,36 unequal: No Solution Exploring Operation: 32+62=94, Resulting Numbers: [94] 94,36 unequal: No Solution Moving to Node #0,4,0 Current State: 36:[66, 36], Operations: ['64/2=32', '4+32=36'] Exploring Operation: 66-36=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 66+36=102, Resulting Numbers: [102] 102,36 unequal: No Solution Exploring Operation: 66*36=2376, Resulting Numbers: [2376] 2376,36 unequal: No Solution Moving to Node #0,4,2 Current State: 36:[66, 8], Operations: ['64/2=32', '32/4=8'] Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,36 unequal: No Solution Exploring Operation: 66+8=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 66*8=528, Resulting Numbers: [528] 528,36 unequal: No Solution Moving to Node #0,4,4 Current State: 36:[32, 70], Operations: ['64/2=32', '66+4=70'] Exploring Operation: 32+70=102, Resulting Numbers: [102] 102,36 unequal: No Solution Exploring Operation: 32*70=2240, Resulting Numbers: [2240] 2240,36 unequal: No Solution Exploring Operation: 70-32=38, Resulting Numbers: [38] 38,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 Current State: 36:[2, 64, 62], Operations: ['66-4=62'] Exploring Operation: 64/2=32, Resulting Numbers: [62, 32] Generated Node #0,0,0: 36:[62, 32] Operation: 64/2=32 Exploring Operation: 62-2=60, Resulting Numbers: [64, 60] Generated Node #0,0,1: 36:[64, 60] Operation: 62-2=60 Exploring Operation: 62/2=31, Resulting Numbers: [64, 31] Generated Node #0,0,2: 36:[64, 31] Operation: 62/2=31 Exploring Operation: 64-2=62, Resulting Numbers: [62, 62] Generated Node #0,0,3: 36:[62, 62] Operation: 64-2=62 Exploring Operation: 64-62=2, Resulting Numbers: [2, 2] Generated Node #0,0,4: 36:[2, 2] Operation: 64-62=2 Moving to Node #0,0,4 Current State: 36:[2, 2], Operations: ['66-4=62', '64-62=2'] Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[62, 32], Operations: ['66-4=62', '64/2=32'] Exploring Operation: 62*32=1984, Resulting Numbers: [1984] 1984,36 unequal: No Solution Exploring Operation: 62+32=94, Resulting Numbers: [94] 94,36 unequal: No Solution Exploring Operation: 62-32=30, Resulting Numbers: [30] 30,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[64, 31], Operations: ['66-4=62', '62/2=31'] Exploring Operation: 64-31=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 64*31=1984, Resulting Numbers: [1984] 1984,36 unequal: No Solution Exploring Operation: 64+31=95, Resulting Numbers: [95] 95,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[64, 60], Operations: ['66-4=62', '62-2=60'] Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 64*60=3840, Resulting Numbers: [3840] 3840,36 unequal: No Solution Exploring Operation: 64+60=124, Resulting Numbers: [124] 124,36 unequal: No Solution Moving to Node #0,0,3 Current State: 36:[62, 62], Operations: ['66-4=62', '64-2=62'] Exploring Operation: 62*62=3844, Resulting Numbers: [3844] 3844,36 unequal: No Solution Exploring Operation: 62/62=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 62-62=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 62+62=124, Resulting Numbers: [124] 124,36 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
[ 11, 63, 51, 65 ]
29
[ "65-63=2", "11*2=22", "51-22=29" ]
Current State: 29:[11, 63, 51, 65], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [11, 51, 2] Generated Node #2: [11, 51, 2] from Operation: 65-63=2 Current State: 29:[11, 51, 2], Operations: ['65-63=2'] Exploring Operation: 11*2=22, Resulting Numbers: [51, 22] Generated Node #3: [51, 22] from Operation: 11*2=22 Current State: 29:[51, 22], Operations: ['65-63=2', '11*2=22'] Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[11, 63, 51, 65], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [11, 51, 2] Generated Node #0,0: 29:[11, 51, 2] Operation: 65-63=2 Exploring Operation: 63-51=12, Resulting Numbers: [11, 65, 12] Generated Node #0,1: 29:[11, 65, 12] Operation: 63-51=12 Exploring Operation: 65-51=14, Resulting Numbers: [11, 63, 14] Generated Node #0,2: 29:[11, 63, 14] Operation: 65-51=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[11, 51, 2], Operations: ['65-63=2'] Exploring Operation: 11+2=13, Resulting Numbers: [51, 13] Generated Node #0,0,0: 29:[51, 13] Operation: 11+2=13 Exploring Operation: 51-11=40, Resulting Numbers: [2, 40] Generated Node #0,0,1: 29:[2, 40] Operation: 51-11=40 Exploring Operation: 11*2=22, Resulting Numbers: [51, 22] Generated Node #0,0,2: 29:[51, 22] Operation: 11*2=22 Moving to Node #0,0,2 Current State: 29:[51, 22], Operations: ['65-63=2', '11*2=22'] Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[11, 63, 51, 65], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [11, 51, 2] Generated Node #0,0: 29:[11, 51, 2] Operation: 65-63=2 Moving to Node #0,0 Current State: 29:[11, 51, 2], Operations: ['65-63=2'] Exploring Operation: 11*2=22, Resulting Numbers: [51, 22] Generated Node #0,0,2: 29:[51, 22] Operation: 11*2=22 Moving to Node #0,0,2 Current State: 29:[51, 22], Operations: ['65-63=2', '11*2=22'] Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 1, 32, 16, 77 ]
92
[ "32-1=31", "77-16=61", "31+61=92" ]
Current State: 92:[1, 32, 16, 77], Operations: [] Exploring Operation: 32-1=31, Resulting Numbers: [16, 77, 31] Generated Node #2: [16, 77, 31] from Operation: 32-1=31 Current State: 92:[16, 77, 31], Operations: ['32-1=31'] Exploring Operation: 77-16=61, Resulting Numbers: [31, 61] Generated Node #3: [31, 61] from Operation: 77-16=61 Current State: 92:[31, 61], Operations: ['32-1=31', '77-16=61'] Exploring Operation: 31+61=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[1, 32, 16, 77], Operations: [] Exploring Operation: 77-32=45, Resulting Numbers: [1, 16, 45] Generated Node #0,0: 92:[1, 16, 45] Operation: 77-32=45 Moving to Node #0,0 Current State: 92:[1, 16, 45], Operations: ['77-32=45'] Exploring Operation: 1+16=17, Resulting Numbers: [45, 17] Generated Node #0,0,0: 92:[45, 17] Operation: 1+16=17 Moving to Node #0,0,0 Current State: 92:[45, 17], Operations: ['77-32=45', '1+16=17'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,92 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 16, 94, 82, 31 ]
20
[ "94+82=176", "176/16=11", "31-11=20" ]
Current State: 20:[16, 94, 82, 31], Operations: [] Exploring Operation: 94+82=176, Resulting Numbers: [16, 31, 176] Generated Node #2: [16, 31, 176] from Operation: 94+82=176 Current State: 20:[16, 31, 176], Operations: ['94+82=176'] Exploring Operation: 176/16=11, Resulting Numbers: [31, 11] Generated Node #3: [31, 11] from Operation: 176/16=11 Current State: 20:[31, 11], Operations: ['94+82=176', '176/16=11'] Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[16, 94, 82, 31], Operations: [] Exploring Operation: 82-31=51, Resulting Numbers: [16, 94, 51] Generated Node #0,0: 20:[16, 94, 51] Operation: 82-31=51 Exploring Operation: 94-82=12, Resulting Numbers: [16, 31, 12] Generated Node #0,1: 20:[16, 31, 12] Operation: 94-82=12 Exploring Operation: 82-16=66, Resulting Numbers: [94, 31, 66] Generated Node #0,2: 20:[94, 31, 66] Operation: 82-16=66 Exploring Operation: 94-31=63, Resulting Numbers: [16, 82, 63] Generated Node #0,3: 20:[16, 82, 63] Operation: 94-31=63 Exploring Operation: 94-16=78, Resulting Numbers: [82, 31, 78] Generated Node #0,4: 20:[82, 31, 78] Operation: 94-16=78 Moving to Node #0,1 Current State: 20:[16, 31, 12], Operations: ['94-82=12'] Exploring Operation: 31-16=15, Resulting Numbers: [12, 15] Generated Node #0,1,0: 20:[12, 15] Operation: 31-16=15 Exploring Operation: 16-12=4, Resulting Numbers: [31, 4] Generated Node #0,1,1: 20:[31, 4] Operation: 16-12=4 Exploring Operation: 31-12=19, Resulting Numbers: [16, 19] Generated Node #0,1,2: 20:[16, 19] Operation: 31-12=19 Exploring Operation: 31+12=43, Resulting Numbers: [16, 43] Generated Node #0,1,3: 20:[16, 43] Operation: 31+12=43 Exploring Operation: 16+12=28, Resulting Numbers: [31, 28] Generated Node #0,1,4: 20:[31, 28] Operation: 16+12=28 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 20:[16, 19], Operations: ['94-82=12', '31-12=19'] Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,20 unequal: No Solution Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,20 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,20 unequal: No Solution No 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: 20:[12, 15], Operations: ['94-82=12', '31-16=15'] Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,20 unequal: No Solution Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,20 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,20 unequal: No Solution No 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: 20:[31, 4], Operations: ['94-82=12', '16-12=4'] Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,20 unequal: No Solution Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,20 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,20 unequal: No Solution No 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: 20:[31, 28], Operations: ['94-82=12', '16+12=28'] Exploring Operation: 31*28=868, Resulting Numbers: [868] 868,20 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,20 unequal: No Solution No 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: 20:[16, 43], Operations: ['94-82=12', '31+12=43'] Exploring Operation: 16+43=59, Resulting Numbers: [59] 59,20 unequal: No Solution Exploring Operation: 16*43=688, Resulting Numbers: [688] 688,20 unequal: No Solution Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,20 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: 20:[16, 82, 63], Operations: ['94-31=63'] Exploring Operation: 63-16=47, Resulting Numbers: [82, 47] Generated Node #0,3,0: 20:[82, 47] Operation: 63-16=47 Exploring Operation: 82-16=66, Resulting Numbers: [63, 66] Generated Node #0,3,1: 20:[63, 66] Operation: 82-16=66 Exploring Operation: 16+82=98, Resulting Numbers: [63, 98] Generated Node #0,3,2: 20:[63, 98] Operation: 16+82=98 Exploring Operation: 16+63=79, Resulting Numbers: [82, 79] Generated Node #0,3,3: 20:[82, 79] Operation: 16+63=79 Exploring Operation: 82-63=19, Resulting Numbers: [16, 19] Generated Node #0,3,4: 20:[16, 19] Operation: 82-63=19 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 20:[16, 19], Operations: ['94-31=63', '82-63=19'] Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,20 unequal: No Solution Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,20 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,20 unequal: No Solution No 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: 20:[82, 47], Operations: ['94-31=63', '63-16=47'] Exploring Operation: 82*47=3854, Resulting Numbers: [3854] 3854,20 unequal: No Solution Exploring Operation: 82-47=35, Resulting Numbers: [35] 35,20 unequal: No Solution Exploring Operation: 82+47=129, Resulting Numbers: [129] 129,20 unequal: No Solution No 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: 20:[63, 66], Operations: ['94-31=63', '82-16=66'] Exploring Operation: 63*66=4158, Resulting Numbers: [4158] 4158,20 unequal: No Solution Exploring Operation: 66-63=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 63+66=129, Resulting Numbers: [129] 129,20 unequal: No Solution No 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: 20:[63, 98], Operations: ['94-31=63', '16+82=98'] Exploring Operation: 63*98=6174, Resulting Numbers: [6174] 6174,20 unequal: No Solution Exploring Operation: 98-63=35, Resulting Numbers: [35] 35,20 unequal: No Solution Exploring Operation: 63+98=161, Resulting Numbers: [161] 161,20 unequal: No Solution No 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: 20:[82, 79], Operations: ['94-31=63', '16+63=79'] Exploring Operation: 82*79=6478, Resulting Numbers: [6478] 6478,20 unequal: No Solution Exploring Operation: 82-79=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 82+79=161, Resulting Numbers: [161] 161,20 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: 20:[16, 94, 51], Operations: ['82-31=51'] Exploring Operation: 16+51=67, Resulting Numbers: [94, 67] Generated Node #0,0,0: 20:[94, 67] Operation: 16+51=67 Exploring Operation: 51-16=35, Resulting Numbers: [94, 35] Generated Node #0,0,1: 20:[94, 35] Operation: 51-16=35 Exploring Operation: 94-16=78, Resulting Numbers: [51, 78] Generated Node #0,0,2: 20:[51, 78] Operation: 94-16=78 Exploring Operation: 16+94=110, Resulting Numbers: [51, 110] Generated Node #0,0,3: 20:[51, 110] Operation: 16+94=110 Exploring Operation: 94-51=43, Resulting Numbers: [16, 43] Generated Node #0,0,4: 20:[16, 43] Operation: 94-51=43 Moving to Node #0,2 Current State: 20:[94, 31, 66], Operations: ['82-16=66'] Exploring Operation: 94-31=63, Resulting Numbers: [66, 63] Generated Node #0,2,0: 20:[66, 63] Operation: 94-31=63 Exploring Operation: 94-66=28, Resulting Numbers: [31, 28] Generated Node #0,2,1: 20:[31, 28] Operation: 94-66=28 Exploring Operation: 66-31=35, Resulting Numbers: [94, 35] Generated Node #0,2,2: 20:[94, 35] Operation: 66-31=35 Exploring Operation: 94+66=160, Resulting Numbers: [31, 160] Generated Node #0,2,3: 20:[31, 160] Operation: 94+66=160 Exploring Operation: 94+31=125, Resulting Numbers: [66, 125] Generated Node #0,2,4: 20:[66, 125] Operation: 94+31=125 Moving to Node #0,4 Current State: 20:[82, 31, 78], Operations: ['94-16=78'] Exploring Operation: 78-31=47, Resulting Numbers: [82, 47] Generated Node #0,4,0: 20:[82, 47] Operation: 78-31=47 Exploring Operation: 82+31=113, Resulting Numbers: [78, 113] Generated Node #0,4,1: 20:[78, 113] Operation: 82+31=113 Exploring Operation: 82-31=51, Resulting Numbers: [78, 51] Generated Node #0,4,2: 20:[78, 51] Operation: 82-31=51 Exploring Operation: 82+78=160, Resulting Numbers: [31, 160] Generated Node #0,4,3: 20:[31, 160] Operation: 82+78=160 Exploring Operation: 82-78=4, Resulting Numbers: [31, 4] Generated Node #0,4,4: 20:[31, 4] Operation: 82-78=4 Moving to Node #0,4,4 Current State: 20:[31, 4], Operations: ['94-16=78', '82-78=4'] Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,20 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,20 unequal: No Solution Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,20 unequal: No Solution Moving to Node #0,2,1 Current State: 20:[31, 28], Operations: ['82-16=66', '94-66=28'] Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,20 unequal: No Solution Exploring Operation: 31*28=868, Resulting Numbers: [868] 868,20 unequal: No Solution Moving to Node #0,0,4 Current State: 20:[16, 43], Operations: ['82-31=51', '94-51=43'] Exploring Operation: 16*43=688, Resulting Numbers: [688] 688,20 unequal: No Solution Exploring Operation: 16+43=59, Resulting Numbers: [59] 59,20 unequal: No Solution Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,20 unequal: No Solution Moving to Node #0,2,0 Current State: 20:[66, 63], Operations: ['82-16=66', '94-31=63'] Exploring Operation: 66*63=4158, Resulting Numbers: [4158] 4158,20 unequal: No Solution Exploring Operation: 66-63=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 66+63=129, Resulting Numbers: [129] 129,20 unequal: No Solution Moving to Node #0,0,2 Current State: 20:[51, 78], Operations: ['82-31=51', '94-16=78'] Exploring Operation: 78-51=27, Resulting Numbers: [27] 27,20 unequal: No Solution Exploring Operation: 51*78=3978, Resulting Numbers: [3978] 3978,20 unequal: No Solution Exploring Operation: 51+78=129, Resulting Numbers: [129] 129,20 unequal: No Solution Moving to Node #0,4,0 Current State: 20:[82, 47], Operations: ['94-16=78', '78-31=47'] Exploring Operation: 82-47=35, Resulting Numbers: [35] 35,20 unequal: No Solution Exploring Operation: 82*47=3854, Resulting Numbers: [3854] 3854,20 unequal: No Solution Exploring Operation: 82+47=129, Resulting Numbers: [129] 129,20 unequal: No Solution Moving to Node #0,4,2 Current State: 20:[78, 51], Operations: ['94-16=78', '82-31=51'] Exploring Operation: 78-51=27, Resulting Numbers: [27] 27,20 unequal: No Solution Exploring Operation: 78+51=129, Resulting Numbers: [129] 129,20 unequal: No Solution Exploring Operation: 78*51=3978, Resulting Numbers: [3978] 3978,20 unequal: No Solution Moving to Node #0,0,1 Current State: 20:[94, 35], Operations: ['82-31=51', '51-16=35'] Exploring Operation: 94+35=129, Resulting Numbers: [129] 129,20 unequal: No Solution Exploring Operation: 94*35=3290, Resulting Numbers: [3290] 3290,20 unequal: No Solution Exploring Operation: 94-35=59, Resulting Numbers: [59] 59,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[94, 35], Operations: ['82-16=66', '66-31=35'] Exploring Operation: 94*35=3290, Resulting Numbers: [3290] 3290,20 unequal: No Solution Exploring Operation: 94+35=129, Resulting Numbers: [129] 129,20 unequal: No Solution Exploring Operation: 94-35=59, Resulting Numbers: [59] 59,20 unequal: No Solution Moving to Node #0,0,3 Current State: 20:[51, 110], Operations: ['82-31=51', '16+94=110'] Exploring Operation: 51*110=5610, Resulting Numbers: [5610] 5610,20 unequal: No Solution Exploring Operation: 110-51=59, Resulting Numbers: [59] 59,20 unequal: No Solution Exploring Operation: 51+110=161, Resulting Numbers: [161] 161,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[94, 67], Operations: ['82-31=51', '16+51=67'] Exploring Operation: 94*67=6298, Resulting Numbers: [6298] 6298,20 unequal: No Solution Exploring Operation: 94+67=161, Resulting Numbers: [161] 161,20 unequal: No Solution Exploring Operation: 94-67=27, Resulting Numbers: [27] 27,20 unequal: No Solution Moving to Node #0,4,1 Current State: 20:[78, 113], Operations: ['94-16=78', '82+31=113'] Exploring Operation: 78+113=191, Resulting Numbers: [191] 191,20 unequal: No Solution Exploring Operation: 113-78=35, Resulting Numbers: [35] 35,20 unequal: No Solution Exploring Operation: 78*113=8814, Resulting Numbers: [8814] 8814,20 unequal: No Solution Moving to Node #0,4,3 Current State: 20:[31, 160], Operations: ['94-16=78', '82+78=160'] Exploring Operation: 31+160=191, Resulting Numbers: [191] 191,20 unequal: No Solution Exploring Operation: 160-31=129, Resulting Numbers: [129] 129,20 unequal: No Solution Exploring Operation: 31*160=4960, Resulting Numbers: [4960] 4960,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[31, 160], Operations: ['82-16=66', '94+66=160'] Exploring Operation: 31+160=191, Resulting Numbers: [191] 191,20 unequal: No Solution Exploring Operation: 31*160=4960, Resulting Numbers: [4960] 4960,20 unequal: No Solution Exploring Operation: 160-31=129, Resulting Numbers: [129] 129,20 unequal: No Solution Moving to Node #0,2,4 Current State: 20:[66, 125], Operations: ['82-16=66', '94+31=125'] Exploring Operation: 66+125=191, Resulting Numbers: [191] 191,20 unequal: No Solution Exploring Operation: 125-66=59, Resulting Numbers: [59] 59,20 unequal: No Solution Exploring Operation: 66*125=8250, Resulting Numbers: [8250] 8250,20 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 77, 43, 56, 11 ]
20
[ "77/11=7", "56-43=13", "7+13=20" ]
Current State: 20:[77, 43, 56, 11], Operations: [] Exploring Operation: 77/11=7, Resulting Numbers: [43, 56, 7] Generated Node #2: [43, 56, 7] from Operation: 77/11=7 Current State: 20:[43, 56, 7], Operations: ['77/11=7'] Exploring Operation: 56-43=13, Resulting Numbers: [7, 13] Generated Node #3: [7, 13] from Operation: 56-43=13 Current State: 20:[7, 13], Operations: ['77/11=7', '56-43=13'] Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[77, 43, 56, 11], Operations: [] Exploring Operation: 56-43=13, Resulting Numbers: [77, 11, 13] Generated Node #0,0: 20:[77, 11, 13] Operation: 56-43=13 Exploring Operation: 77-43=34, Resulting Numbers: [56, 11, 34] Generated Node #0,1: 20:[56, 11, 34] Operation: 77-43=34 Exploring Operation: 77-56=21, Resulting Numbers: [43, 11, 21] Generated Node #0,2: 20:[43, 11, 21] Operation: 77-56=21 Exploring Operation: 77/11=7, Resulting Numbers: [43, 56, 7] Generated Node #0,3: 20:[43, 56, 7] Operation: 77/11=7 Moving to Node #0,2 Current State: 20:[43, 11, 21], Operations: ['77-56=21'] Exploring Operation: 21-11=10, Resulting Numbers: [43, 10] Generated Node #0,2,0: 20:[43, 10] Operation: 21-11=10 Exploring Operation: 43-11=32, Resulting Numbers: [21, 32] Generated Node #0,2,1: 20:[21, 32] Operation: 43-11=32 Exploring Operation: 43-21=22, Resulting Numbers: [11, 22] Generated Node #0,2,2: 20:[11, 22] Operation: 43-21=22 Exploring Operation: 43+11=54, Resulting Numbers: [21, 54] Generated Node #0,2,3: 20:[21, 54] Operation: 43+11=54 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 20:[11, 22], Operations: ['77-56=21', '43-21=22'] Exploring Operation: 11*22=242, Resulting Numbers: [242] 242,20 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,20 unequal: No Solution Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,20 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,20 unequal: No Solution No 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: 20:[21, 32], Operations: ['77-56=21', '43-11=32'] Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 21*32=672, Resulting Numbers: [672] 672,20 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,20 unequal: No Solution No 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: 20:[43, 10], Operations: ['77-56=21', '21-11=10'] Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,20 unequal: No Solution Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 43*10=430, Resulting Numbers: [430] 430,20 unequal: No Solution No 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: 20:[21, 54], Operations: ['77-56=21', '43+11=54'] Exploring Operation: 21+54=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 21*54=1134, Resulting Numbers: [1134] 1134,20 unequal: No Solution Exploring Operation: 54-21=33, Resulting Numbers: [33] 33,20 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: 20:[56, 11, 34], Operations: ['77-43=34'] Exploring Operation: 34-11=23, Resulting Numbers: [56, 23] Generated Node #0,1,0: 20:[56, 23] Operation: 34-11=23 Exploring Operation: 56-11=45, Resulting Numbers: [34, 45] Generated Node #0,1,1: 20:[34, 45] Operation: 56-11=45 Exploring Operation: 56+11=67, Resulting Numbers: [34, 67] Generated Node #0,1,2: 20:[34, 67] Operation: 56+11=67 Exploring Operation: 56-34=22, Resulting Numbers: [11, 22] Generated Node #0,1,3: 20:[11, 22] Operation: 56-34=22 Moving to Node #0,3 Current State: 20:[43, 56, 7], Operations: ['77/11=7'] Exploring Operation: 43-7=36, Resulting Numbers: [56, 36] Generated Node #0,3,0: 20:[56, 36] Operation: 43-7=36 Exploring Operation: 56/7=8, Resulting Numbers: [43, 8] Generated Node #0,3,1: 20:[43, 8] Operation: 56/7=8 Exploring Operation: 56-7=49, Resulting Numbers: [43, 49] Generated Node #0,3,2: 20:[43, 49] Operation: 56-7=49 Exploring Operation: 56-43=13, Resulting Numbers: [7, 13] Generated Node #0,3,3: 20:[7, 13] Operation: 56-43=13 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 20:[7, 13], Operations: ['77/11=7', '56-43=13'] Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[77, 43, 56, 11], Operations: [] Exploring Operation: 77/11=7, Resulting Numbers: [43, 56, 7] Generated Node #0,3: 20:[43, 56, 7] Operation: 77/11=7 Moving to Node #0,3 Current State: 20:[43, 56, 7], Operations: ['77/11=7'] Exploring Operation: 56-43=13, Resulting Numbers: [7, 13] Generated Node #0,3,3: 20:[7, 13] Operation: 56-43=13 Moving to Node #0,3,3 Current State: 20:[7, 13], Operations: ['77/11=7', '56-43=13'] Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 81, 89, 44, 54 ]
80
[ "89-81=8", "54-44=10", "8*10=80" ]
Current State: 80:[81, 89, 44, 54], Operations: [] Exploring Operation: 89-81=8, Resulting Numbers: [44, 54, 8] Generated Node #2: [44, 54, 8] from Operation: 89-81=8 Current State: 80:[44, 54, 8], Operations: ['89-81=8'] Exploring Operation: 54-44=10, Resulting Numbers: [8, 10] Generated Node #3: [8, 10] from Operation: 54-44=10 Current State: 80:[8, 10], Operations: ['89-81=8', '54-44=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[81, 89, 44, 54], Operations: [] Exploring Operation: 89-54=35, Resulting Numbers: [81, 44, 35] Generated Node #0,0: 80:[81, 44, 35] Operation: 89-54=35 Moving to Node #0,0 Current State: 80:[81, 44, 35], Operations: ['89-54=35'] Exploring Operation: 44+35=79, Resulting Numbers: [81, 79] Generated Node #0,0,0: 80:[81, 79] Operation: 44+35=79 Moving to Node #0,0,0 Current State: 80:[81, 79], Operations: ['89-54=35', '44+35=79'] Exploring Operation: 81-79=2, Resulting Numbers: [2] 2,80 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 89, 73, 29, 2 ]
52
[ "89+73=162", "162/2=81", "81-29=52" ]
Current State: 52:[89, 73, 29, 2], Operations: [] Exploring Operation: 89+73=162, Resulting Numbers: [29, 2, 162] Generated Node #2: [29, 2, 162] from Operation: 89+73=162 Current State: 52:[29, 2, 162], Operations: ['89+73=162'] Exploring Operation: 162/2=81, Resulting Numbers: [29, 81] Generated Node #3: [29, 81] from Operation: 162/2=81 Current State: 52:[29, 81], Operations: ['89+73=162', '162/2=81'] Exploring Operation: 81-29=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[89, 73, 29, 2], Operations: [] Exploring Operation: 89-73=16, Resulting Numbers: [29, 2, 16] Generated Node #0,0: 52:[29, 2, 16] Operation: 89-73=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[29, 2, 16], Operations: ['89-73=16'] Exploring Operation: 29-16=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 52:[2, 13] Operation: 29-16=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[2, 13], Operations: ['89-73=16', '29-16=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 15, 43, 8, 40 ]
39
[ "43-40=3", "8*3=24", "15+24=39" ]
Current State: 39:[15, 43, 8, 40], Operations: [] Exploring Operation: 43-40=3, Resulting Numbers: [15, 8, 3] Generated Node #2: [15, 8, 3] from Operation: 43-40=3 Current State: 39:[15, 8, 3], Operations: ['43-40=3'] Exploring Operation: 8*3=24, Resulting Numbers: [15, 24] Generated Node #3: [15, 24] from Operation: 8*3=24 Current State: 39:[15, 24], Operations: ['43-40=3', '8*3=24'] Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[15, 43, 8, 40], Operations: [] Exploring Operation: 40/8=5, Resulting Numbers: [15, 43, 5] Generated Node #0,0: 39:[15, 43, 5] Operation: 40/8=5 Exploring Operation: 43-40=3, Resulting Numbers: [15, 8, 3] Generated Node #0,1: 39:[15, 8, 3] Operation: 43-40=3 Exploring Operation: 43-8=35, Resulting Numbers: [15, 40, 35] Generated Node #0,2: 39:[15, 40, 35] Operation: 43-8=35 Moving to Node #0,1 Current State: 39:[15, 8, 3], Operations: ['43-40=3'] Exploring Operation: 8-3=5, Resulting Numbers: [15, 5] Generated Node #0,1,0: 39:[15, 5] Operation: 8-3=5 Exploring Operation: 15-8=7, Resulting Numbers: [3, 7] Generated Node #0,1,1: 39:[3, 7] Operation: 15-8=7 Exploring Operation: 8+3=11, Resulting Numbers: [15, 11] Generated Node #0,1,2: 39:[15, 11] Operation: 8+3=11 Moving to Node #0,2 Current State: 39:[15, 40, 35], Operations: ['43-8=35'] Exploring Operation: 40-35=5, Resulting Numbers: [15, 5] Generated Node #0,2,0: 39:[15, 5] Operation: 40-35=5 Exploring Operation: 35-15=20, Resulting Numbers: [40, 20] Generated Node #0,2,1: 39:[40, 20] Operation: 35-15=20 Exploring Operation: 15+35=50, Resulting Numbers: [40, 50] Generated Node #0,2,2: 39:[40, 50] Operation: 15+35=50 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 39:[15, 5], Operations: ['43-8=35', '40-35=5'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 39:[40, 20], Operations: ['43-8=35', '35-15=20'] Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 40+20=60, Resulting Numbers: [60] 60,39 unequal: No Solution Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 39:[40, 50], Operations: ['43-8=35', '15+35=50'] Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 40+50=90, Resulting Numbers: [90] 90,39 unequal: No Solution Exploring Operation: 40*50=2000, Resulting Numbers: [2000] 2000,39 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: 39:[15, 43, 5], Operations: ['40/8=5'] Exploring Operation: 15/5=3, Resulting Numbers: [43, 3] Generated Node #0,0,0: 39:[43, 3] Operation: 15/5=3 Exploring Operation: 15-5=10, Resulting Numbers: [43, 10] Generated Node #0,0,1: 39:[43, 10] Operation: 15-5=10 Exploring Operation: 43-5=38, Resulting Numbers: [15, 38] Generated Node #0,0,2: 39:[15, 38] Operation: 43-5=38 Moving to Node #0,0,2 Current State: 39:[15, 38], Operations: ['40/8=5', '43-5=38'] Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 15*38=570, Resulting Numbers: [570] 570,39 unequal: No Solution Exploring Operation: 15+38=53, Resulting Numbers: [53] 53,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[15, 11], Operations: ['43-40=3', '8+3=11'] Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,39 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[15, 5], Operations: ['43-40=3', '8-3=5'] Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[3, 7], Operations: ['43-40=3', '15-8=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[43, 3], Operations: ['40/8=5', '15/5=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,39 unequal: No Solution Exploring Operation: 43*3=129, Resulting Numbers: [129] 129,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[43, 10], Operations: ['40/8=5', '15-5=10'] Exploring Operation: 43*10=430, Resulting Numbers: [430] 430,39 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,39 unequal: No Solution Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,39 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 3, 48, 80, 44 ]
81
[ "48-3=45", "80-44=36", "45+36=81" ]
Current State: 81:[3, 48, 80, 44], Operations: [] Exploring Operation: 48-3=45, Resulting Numbers: [80, 44, 45] Generated Node #2: [80, 44, 45] from Operation: 48-3=45 Current State: 81:[80, 44, 45], Operations: ['48-3=45'] Exploring Operation: 80-44=36, Resulting Numbers: [45, 36] Generated Node #3: [45, 36] from Operation: 80-44=36 Current State: 81:[45, 36], Operations: ['48-3=45', '80-44=36'] Exploring Operation: 45+36=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[3, 48, 80, 44], Operations: [] Exploring Operation: 80-48=32, Resulting Numbers: [3, 44, 32] Generated Node #0,0: 81:[3, 44, 32] Operation: 80-48=32 Exploring Operation: 48-44=4, Resulting Numbers: [3, 80, 4] Generated Node #0,1: 81:[3, 80, 4] Operation: 48-44=4 Exploring Operation: 48+44=92, Resulting Numbers: [3, 80, 92] Generated Node #0,2: 81:[3, 80, 92] Operation: 48+44=92 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[3, 80, 4], Operations: ['48-44=4'] Exploring Operation: 4-3=1, Resulting Numbers: [80, 1] Generated Node #0,1,0: 81:[80, 1] Operation: 4-3=1 Exploring Operation: 3+80=83, Resulting Numbers: [4, 83] Generated Node #0,1,1: 81:[4, 83] Operation: 3+80=83 Exploring Operation: 3+4=7, Resulting Numbers: [80, 7] Generated Node #0,1,2: 81:[80, 7] Operation: 3+4=7 Moving to Node #0,1,0 Current State: 81:[80, 1], Operations: ['48-44=4', '4-3=1'] Exploring Operation: 80/1=80, Resulting Numbers: [80] 80,81 unequal: No Solution Exploring Operation: 80*1=80, Resulting Numbers: [80] 80,81 unequal: No Solution Exploring Operation: 80+1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[3, 48, 80, 44], Operations: [] Exploring Operation: 48-44=4, Resulting Numbers: [3, 80, 4] Generated Node #0,1: 81:[3, 80, 4] Operation: 48-44=4 Moving to Node #0,1 Current State: 81:[3, 80, 4], Operations: ['48-44=4'] Exploring Operation: 4-3=1, Resulting Numbers: [80, 1] Generated Node #0,1,0: 81:[80, 1] Operation: 4-3=1 Moving to Node #0,1,0 Current State: 81:[80, 1], Operations: ['48-44=4', '4-3=1'] Exploring Operation: 80+1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 80, 18, 83, 96 ]
50
[ "83-80=3", "96/3=32", "18+32=50" ]
Current State: 50:[80, 18, 83, 96], Operations: [] Exploring Operation: 83-80=3, Resulting Numbers: [18, 96, 3] Generated Node #2: [18, 96, 3] from Operation: 83-80=3 Current State: 50:[18, 96, 3], Operations: ['83-80=3'] Exploring Operation: 96/3=32, Resulting Numbers: [18, 32] Generated Node #3: [18, 32] from Operation: 96/3=32 Current State: 50:[18, 32], Operations: ['83-80=3', '96/3=32'] Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[80, 18, 83, 96], Operations: [] Exploring Operation: 80-18=62, Resulting Numbers: [83, 96, 62] Generated Node #0,0: 50:[83, 96, 62] Operation: 80-18=62 Exploring Operation: 96-83=13, Resulting Numbers: [80, 18, 13] Generated Node #0,1: 50:[80, 18, 13] Operation: 96-83=13 Exploring Operation: 83-80=3, Resulting Numbers: [18, 96, 3] Generated Node #0,2: 50:[18, 96, 3] Operation: 83-80=3 Exploring Operation: 96-80=16, Resulting Numbers: [18, 83, 16] Generated Node #0,3: 50:[18, 83, 16] Operation: 96-80=16 Moving to Node #0,1 Current State: 50:[80, 18, 13], Operations: ['96-83=13'] Exploring Operation: 80-13=67, Resulting Numbers: [18, 67] Generated Node #0,1,0: 50:[18, 67] Operation: 80-13=67 Exploring Operation: 80-18=62, Resulting Numbers: [13, 62] Generated Node #0,1,1: 50:[13, 62] Operation: 80-18=62 Exploring Operation: 18+13=31, Resulting Numbers: [80, 31] Generated Node #0,1,2: 50:[80, 31] Operation: 18+13=31 Exploring Operation: 18-13=5, Resulting Numbers: [80, 5] Generated Node #0,1,3: 50:[80, 5] Operation: 18-13=5 Moving to Node #0,3 Current State: 50:[18, 83, 16], Operations: ['96-80=16'] Exploring Operation: 18+16=34, Resulting Numbers: [83, 34] Generated Node #0,3,0: 50:[83, 34] Operation: 18+16=34 Exploring Operation: 18-16=2, Resulting Numbers: [83, 2] Generated Node #0,3,1: 50:[83, 2] Operation: 18-16=2 Exploring Operation: 83-16=67, Resulting Numbers: [18, 67] Generated Node #0,3,2: 50:[18, 67] Operation: 83-16=67 Exploring Operation: 83-18=65, Resulting Numbers: [16, 65] Generated Node #0,3,3: 50:[16, 65] Operation: 83-18=65 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 50:[16, 65], Operations: ['96-80=16', '83-18=65'] Exploring Operation: 65-16=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 16+65=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 16*65=1040, Resulting Numbers: [1040] 1040,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 50:[18, 67], Operations: ['96-80=16', '83-16=67'] Exploring Operation: 18*67=1206, Resulting Numbers: [1206] 1206,50 unequal: No Solution Exploring Operation: 18+67=85, Resulting Numbers: [85] 85,50 unequal: No Solution Exploring Operation: 67-18=49, Resulting Numbers: [49] 49,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 50:[83, 2], Operations: ['96-80=16', '18-16=2'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,50 unequal: No Solution Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 50:[83, 34], Operations: ['96-80=16', '18+16=34'] Exploring Operation: 83-34=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 83+34=117, Resulting Numbers: [117] 117,50 unequal: No Solution Exploring Operation: 83*34=2822, Resulting Numbers: [2822] 2822,50 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: 50:[18, 96, 3], Operations: ['83-80=3'] Exploring Operation: 96-18=78, Resulting Numbers: [3, 78] Generated Node #0,2,0: 50:[3, 78] Operation: 96-18=78 Exploring Operation: 18/3=6, Resulting Numbers: [96, 6] Generated Node #0,2,1: 50:[96, 6] Operation: 18/3=6 Exploring Operation: 96/3=32, Resulting Numbers: [18, 32] Generated Node #0,2,2: 50:[18, 32] Operation: 96/3=32 Exploring Operation: 18+3=21, Resulting Numbers: [96, 21] Generated Node #0,2,3: 50:[96, 21] Operation: 18+3=21 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[18, 32], Operations: ['83-80=3', '96/3=32'] Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[80, 18, 83, 96], Operations: [] Exploring Operation: 83-80=3, Resulting Numbers: [18, 96, 3] Generated Node #0,2: 50:[18, 96, 3] Operation: 83-80=3 Moving to Node #0,2 Current State: 50:[18, 96, 3], Operations: ['83-80=3'] Exploring Operation: 96/3=32, Resulting Numbers: [18, 32] Generated Node #0,2,2: 50:[18, 32] Operation: 96/3=32 Moving to Node #0,2,2 Current State: 50:[18, 32], Operations: ['83-80=3', '96/3=32'] Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
mult_heuristic
[ 61, 32, 73, 58 ]
14
[ "61-32=29", "73-58=15", "29-15=14" ]
Current State: 14:[61, 32, 73, 58], Operations: [] Exploring Operation: 61-32=29, Resulting Numbers: [73, 58, 29] Generated Node #2: [73, 58, 29] from Operation: 61-32=29 Current State: 14:[73, 58, 29], Operations: ['61-32=29'] Exploring Operation: 73-58=15, Resulting Numbers: [29, 15] Generated Node #3: [29, 15] from Operation: 73-58=15 Current State: 14:[29, 15], Operations: ['61-32=29', '73-58=15'] Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[61, 32, 73, 58], Operations: [] Exploring Operation: 73-58=15, Resulting Numbers: [61, 32, 15] Generated Node #0,0: 14:[61, 32, 15] Operation: 73-58=15 Exploring Operation: 61-58=3, Resulting Numbers: [32, 73, 3] Generated Node #0,1: 14:[32, 73, 3] Operation: 61-58=3 Exploring Operation: 73-32=41, Resulting Numbers: [61, 58, 41] Generated Node #0,2: 14:[61, 58, 41] Operation: 73-32=41 Exploring Operation: 73-61=12, Resulting Numbers: [32, 58, 12] Generated Node #0,3: 14:[32, 58, 12] Operation: 73-61=12 Exploring Operation: 61-32=29, Resulting Numbers: [73, 58, 29] Generated Node #0,4: 14:[73, 58, 29] Operation: 61-32=29 Moving to Node #0,3 Current State: 14:[32, 58, 12], Operations: ['73-61=12'] Exploring Operation: 58-12=46, Resulting Numbers: [32, 46] Generated Node #0,3,0: 14:[32, 46] Operation: 58-12=46 Exploring Operation: 32-12=20, Resulting Numbers: [58, 20] Generated Node #0,3,1: 14:[58, 20] Operation: 32-12=20 Exploring Operation: 58+12=70, Resulting Numbers: [32, 70] Generated Node #0,3,2: 14:[32, 70] Operation: 58+12=70 Exploring Operation: 32+12=44, Resulting Numbers: [58, 44] Generated Node #0,3,3: 14:[58, 44] Operation: 32+12=44 Exploring Operation: 58-32=26, Resulting Numbers: [12, 26] Generated Node #0,3,4: 14:[12, 26] Operation: 58-32=26 Moving to Node #0,0 Current State: 14:[61, 32, 15], Operations: ['73-58=15'] Exploring Operation: 61-32=29, Resulting Numbers: [15, 29] Generated Node #0,0,0: 14:[15, 29] Operation: 61-32=29 Exploring Operation: 61+32=93, Resulting Numbers: [15, 93] Generated Node #0,0,1: 14:[15, 93] Operation: 61+32=93 Exploring Operation: 61+15=76, Resulting Numbers: [32, 76] Generated Node #0,0,2: 14:[32, 76] Operation: 61+15=76 Exploring Operation: 32-15=17, Resulting Numbers: [61, 17] Generated Node #0,0,3: 14:[61, 17] Operation: 32-15=17 Exploring Operation: 61-15=46, Resulting Numbers: [32, 46] Generated Node #0,0,4: 14:[32, 46] Operation: 61-15=46 Moving to Node #0,1 Current State: 14:[32, 73, 3], Operations: ['61-58=3'] Exploring Operation: 73-3=70, Resulting Numbers: [32, 70] Generated Node #0,1,0: 14:[32, 70] Operation: 73-3=70 Exploring Operation: 32-3=29, Resulting Numbers: [73, 29] Generated Node #0,1,1: 14:[73, 29] Operation: 32-3=29 Exploring Operation: 73+3=76, Resulting Numbers: [32, 76] Generated Node #0,1,2: 14:[32, 76] Operation: 73+3=76 Exploring Operation: 73-32=41, Resulting Numbers: [3, 41] Generated Node #0,1,3: 14:[3, 41] Operation: 73-32=41 Exploring Operation: 32+3=35, Resulting Numbers: [73, 35] Generated Node #0,1,4: 14:[73, 35] Operation: 32+3=35 Moving to Node #0,2 Current State: 14:[61, 58, 41], Operations: ['73-32=41'] Exploring Operation: 61+41=102, Resulting Numbers: [58, 102] Generated Node #0,2,0: 14:[58, 102] Operation: 61+41=102 Exploring Operation: 61-58=3, Resulting Numbers: [41, 3] Generated Node #0,2,1: 14:[41, 3] Operation: 61-58=3 Exploring Operation: 61+58=119, Resulting Numbers: [41, 119] Generated Node #0,2,2: 14:[41, 119] Operation: 61+58=119 Exploring Operation: 61-41=20, Resulting Numbers: [58, 20] Generated Node #0,2,3: 14:[58, 20] Operation: 61-41=20 Exploring Operation: 58-41=17, Resulting Numbers: [61, 17] Generated Node #0,2,4: 14:[61, 17] Operation: 58-41=17 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 14:[41, 3], Operations: ['73-32=41', '61-58=3'] Exploring Operation: 41*3=123, Resulting Numbers: [123] 123,14 unequal: No Solution Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,14 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,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,2,3 Current State: 14:[58, 20], Operations: ['73-32=41', '61-41=20'] Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,14 unequal: No Solution Exploring Operation: 58+20=78, Resulting Numbers: [78] 78,14 unequal: No Solution Exploring Operation: 58*20=1160, Resulting Numbers: [1160] 1160,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,2,4 Current State: 14:[61, 17], Operations: ['73-32=41', '58-41=17'] Exploring Operation: 61+17=78, Resulting Numbers: [78] 78,14 unequal: No Solution Exploring Operation: 61-17=44, Resulting Numbers: [44] 44,14 unequal: No Solution Exploring Operation: 61*17=1037, Resulting Numbers: [1037] 1037,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,2,0 Current State: 14:[58, 102], Operations: ['73-32=41', '61+41=102'] Exploring Operation: 102-58=44, Resulting Numbers: [44] 44,14 unequal: No Solution Exploring Operation: 58+102=160, Resulting Numbers: [160] 160,14 unequal: No Solution Exploring Operation: 58*102=5916, Resulting Numbers: [5916] 5916,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,2,2 Current State: 14:[41, 119], Operations: ['73-32=41', '61+58=119'] Exploring Operation: 119-41=78, Resulting Numbers: [78] 78,14 unequal: No Solution Exploring Operation: 41*119=4879, Resulting Numbers: [4879] 4879,14 unequal: No Solution Exploring Operation: 41+119=160, Resulting Numbers: [160] 160,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:[73, 58, 29], Operations: ['61-32=29'] Exploring Operation: 73+58=131, Resulting Numbers: [29, 131] Generated Node #0,4,0: 14:[29, 131] Operation: 73+58=131 Exploring Operation: 73-29=44, Resulting Numbers: [58, 44] Generated Node #0,4,1: 14:[58, 44] Operation: 73-29=44 Exploring Operation: 73-58=15, Resulting Numbers: [29, 15] Generated Node #0,4,2: 14:[29, 15] Operation: 73-58=15 Exploring Operation: 58/29=2, Resulting Numbers: [73, 2] Generated Node #0,4,3: 14:[73, 2] Operation: 58/29=2 Exploring Operation: 58-29=29, Resulting Numbers: [73, 29] Generated Node #0,4,4: 14:[73, 29] Operation: 58-29=29 Moving to Node #0,3,4 Current State: 14:[12, 26], Operations: ['73-61=12', '58-32=26'] Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[61, 32, 73, 58], Operations: [] Exploring Operation: 73-61=12, Resulting Numbers: [32, 58, 12] Generated Node #0,3: 14:[32, 58, 12] Operation: 73-61=12 Moving to Node #0,3 Current State: 14:[32, 58, 12], Operations: ['73-61=12'] Exploring Operation: 58-32=26, Resulting Numbers: [12, 26] Generated Node #0,3,4: 14:[12, 26] Operation: 58-32=26 Moving to Node #0,3,4 Current State: 14:[12, 26], Operations: ['73-61=12', '58-32=26'] Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.956597
hs_5
sum_heuristic
[ 18, 94, 99, 17 ]
67
[ "99-94=5", "17*5=85", "85-18=67" ]
Current State: 67:[18, 94, 99, 17], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [18, 17, 5] Generated Node #2: [18, 17, 5] from Operation: 99-94=5 Current State: 67:[18, 17, 5], Operations: ['99-94=5'] Exploring Operation: 17*5=85, Resulting Numbers: [18, 85] Generated Node #3: [18, 85] from Operation: 17*5=85 Current State: 67:[18, 85], Operations: ['99-94=5', '17*5=85'] Exploring Operation: 85-18=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[18, 94, 99, 17], Operations: [] Exploring Operation: 99-18=81, Resulting Numbers: [94, 17, 81] Generated Node #0,0: 67:[94, 17, 81] Operation: 99-18=81 Exploring Operation: 94-18=76, Resulting Numbers: [99, 17, 76] Generated Node #0,1: 67:[99, 17, 76] Operation: 94-18=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[94, 17, 81], Operations: ['99-18=81'] Exploring Operation: 81-17=64, Resulting Numbers: [94, 64] Generated Node #0,0,0: 67:[94, 64] Operation: 81-17=64 Exploring Operation: 94-17=77, Resulting Numbers: [81, 77] Generated Node #0,0,1: 67:[81, 77] Operation: 94-17=77 Moving to Node #0,0,1 Current State: 67:[81, 77], Operations: ['99-18=81', '94-17=77'] Exploring Operation: 81-77=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 81+77=158, Resulting Numbers: [158] 158,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[94, 64], Operations: ['99-18=81', '81-17=64'] Exploring Operation: 94-64=30, Resulting Numbers: [30] 30,67 unequal: No Solution Exploring Operation: 94+64=158, Resulting Numbers: [158] 158,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[99, 17, 76], Operations: ['94-18=76'] Exploring Operation: 99-17=82, Resulting Numbers: [76, 82] Generated Node #0,1,0: 67:[76, 82] Operation: 99-17=82 Exploring Operation: 76-17=59, Resulting Numbers: [99, 59] Generated Node #0,1,1: 67:[99, 59] Operation: 76-17=59 Moving to Node #0,1,0 Current State: 67:[76, 82], Operations: ['94-18=76', '99-17=82'] Exploring Operation: 76+82=158, Resulting Numbers: [158] 158,67 unequal: No Solution Exploring Operation: 82-76=6, Resulting Numbers: [6] 6,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[99, 59], Operations: ['94-18=76', '76-17=59'] Exploring Operation: 99-59=40, Resulting Numbers: [40] 40,67 unequal: No Solution Exploring Operation: 99+59=158, Resulting Numbers: [158] 158,67 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
[ 54, 18, 66, 63 ]
12
[ "54-18=36", "66-63=3", "36/3=12" ]
Current State: 12:[54, 18, 66, 63], Operations: [] Exploring Operation: 54-18=36, Resulting Numbers: [66, 63, 36] Generated Node #2: [66, 63, 36] from Operation: 54-18=36 Current State: 12:[66, 63, 36], Operations: ['54-18=36'] Exploring Operation: 66-63=3, Resulting Numbers: [36, 3] Generated Node #3: [36, 3] from Operation: 66-63=3 Current State: 12:[36, 3], Operations: ['54-18=36', '66-63=3'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[54, 18, 66, 63], Operations: [] Exploring Operation: 66-54=12, Resulting Numbers: [18, 63, 12] Generated Node #0,0: 12:[18, 63, 12] Operation: 66-54=12 Exploring Operation: 66-63=3, Resulting Numbers: [54, 18, 3] Generated Node #0,1: 12:[54, 18, 3] Operation: 66-63=3 Exploring Operation: 63-54=9, Resulting Numbers: [18, 66, 9] Generated Node #0,2: 12:[18, 66, 9] Operation: 63-54=9 Exploring Operation: 54/18=3, Resulting Numbers: [66, 63, 3] Generated Node #0,3: 12:[66, 63, 3] Operation: 54/18=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[54, 18, 3], Operations: ['66-63=3'] Exploring Operation: 54-18=36, Resulting Numbers: [3, 36] Generated Node #0,1,0: 12:[3, 36] Operation: 54-18=36 Exploring Operation: 54/3=18, Resulting Numbers: [18, 18] Generated Node #0,1,1: 12:[18, 18] Operation: 54/3=18 Exploring Operation: 18/3=6, Resulting Numbers: [54, 6] Generated Node #0,1,2: 12:[54, 6] Operation: 18/3=6 Exploring Operation: 54/18=3, Resulting Numbers: [3, 3] Generated Node #0,1,3: 12:[3, 3] Operation: 54/18=3 Moving to Node #0,1,3 Current State: 12:[3, 3], Operations: ['66-63=3', '54/18=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,12 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[18, 18], Operations: ['66-63=3', '54/3=18'] Exploring Operation: 18*18=324, Resulting Numbers: [324] 324,12 unequal: No Solution Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,12 unequal: No Solution Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[3, 36], Operations: ['66-63=3', '54-18=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,12 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[54, 18, 66, 63], Operations: [] Exploring Operation: 66-63=3, Resulting Numbers: [54, 18, 3] Generated Node #0,1: 12:[54, 18, 3] Operation: 66-63=3 Moving to Node #0,1 Current State: 12:[54, 18, 3], Operations: ['66-63=3'] Exploring Operation: 54-18=36, Resulting Numbers: [3, 36] Generated Node #0,1,0: 12:[3, 36] Operation: 54-18=36 Moving to Node #0,1,0 Current State: 12:[3, 36], Operations: ['66-63=3', '54-18=36'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 68, 28, 32, 12 ]
63
[ "28+32=60", "60/12=5", "68-5=63" ]
Current State: 63:[68, 28, 32, 12], Operations: [] Exploring Operation: 28+32=60, Resulting Numbers: [68, 12, 60] Generated Node #2: [68, 12, 60] from Operation: 28+32=60 Current State: 63:[68, 12, 60], Operations: ['28+32=60'] Exploring Operation: 60/12=5, Resulting Numbers: [68, 5] Generated Node #3: [68, 5] from Operation: 60/12=5 Current State: 63:[68, 5], Operations: ['28+32=60', '60/12=5'] Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[68, 28, 32, 12], Operations: [] Exploring Operation: 32-28=4, Resulting Numbers: [68, 12, 4] Generated Node #0,0: 63:[68, 12, 4] Operation: 32-28=4 Moving to Node #0,0 Current State: 63:[68, 12, 4], Operations: ['32-28=4'] Exploring Operation: 68-4=64, Resulting Numbers: [12, 64] Generated Node #0,0,0: 63:[12, 64] Operation: 68-4=64 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[12, 64], Operations: ['32-28=4', '68-4=64'] Exploring Operation: 64-12=52, Resulting Numbers: [52] 52,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 51, 31, 36, 45 ]
39
[ "51*31=1581", "36*45=1620", "1620-1581=39" ]
Current State: 39:[51, 31, 36, 45], Operations: [] Exploring Operation: 51*31=1581, Resulting Numbers: [36, 45, 1581] Generated Node #2: [36, 45, 1581] from Operation: 51*31=1581 Current State: 39:[36, 45, 1581], Operations: ['51*31=1581'] Exploring Operation: 36*45=1620, Resulting Numbers: [1581, 1620] Generated Node #3: [1581, 1620] from Operation: 36*45=1620 Current State: 39:[1581, 1620], Operations: ['51*31=1581', '36*45=1620'] Exploring Operation: 1620-1581=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[51, 31, 36, 45], Operations: [] Exploring Operation: 51-45=6, Resulting Numbers: [31, 36, 6] Generated Node #0,0: 39:[31, 36, 6] Operation: 51-45=6 Moving to Node #0,0 Current State: 39:[31, 36, 6], Operations: ['51-45=6'] Exploring Operation: 36-31=5, Resulting Numbers: [6, 5] Generated Node #0,0,0: 39:[6, 5] Operation: 36-31=5 Moving to Node #0,0,0 Current State: 39:[6, 5], Operations: ['51-45=6', '36-31=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,39 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 96, 95, 28, 4 ]
98
[ "28+4=32", "96/32=3", "95+3=98" ]
Current State: 98:[96, 95, 28, 4], Operations: [] Exploring Operation: 28+4=32, Resulting Numbers: [96, 95, 32] Generated Node #2: [96, 95, 32] from Operation: 28+4=32 Current State: 98:[96, 95, 32], Operations: ['28+4=32'] Exploring Operation: 96/32=3, Resulting Numbers: [95, 3] Generated Node #3: [95, 3] from Operation: 96/32=3 Current State: 98:[95, 3], Operations: ['28+4=32', '96/32=3'] Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[96, 95, 28, 4], Operations: [] Exploring Operation: 28-4=24, Resulting Numbers: [96, 95, 24] Generated Node #0,0: 98:[96, 95, 24] Operation: 28-4=24 Exploring Operation: 28/4=7, Resulting Numbers: [96, 95, 7] Generated Node #0,1: 98:[96, 95, 7] Operation: 28/4=7 Exploring Operation: 96-95=1, Resulting Numbers: [28, 4, 1] Generated Node #0,2: 98:[28, 4, 1] Operation: 96-95=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[96, 95, 7], Operations: ['28/4=7'] Exploring Operation: 96+7=103, Resulting Numbers: [95, 103] Generated Node #0,1,0: 98:[95, 103] Operation: 96+7=103 Exploring Operation: 95+7=102, Resulting Numbers: [96, 102] Generated Node #0,1,1: 98:[96, 102] Operation: 95+7=102 Exploring Operation: 96-95=1, Resulting Numbers: [7, 1] Generated Node #0,1,2: 98:[7, 1] Operation: 96-95=1 Moving to Node #0,1,2 Current State: 98:[7, 1], Operations: ['28/4=7', '96-95=1'] Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[96, 102], Operations: ['28/4=7', '95+7=102'] Exploring Operation: 96*102=9792, Resulting Numbers: [9792] 9792,98 unequal: No Solution Exploring Operation: 96+102=198, Resulting Numbers: [198] 198,98 unequal: No Solution Exploring Operation: 102-96=6, Resulting Numbers: [6] 6,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[95, 103], Operations: ['28/4=7', '96+7=103'] Exploring Operation: 95+103=198, Resulting Numbers: [198] 198,98 unequal: No Solution Exploring Operation: 95*103=9785, Resulting Numbers: [9785] 9785,98 unequal: No Solution Exploring Operation: 103-95=8, Resulting Numbers: [8] 8,98 unequal: No Solution No 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: 98:[96, 95, 24], Operations: ['28-4=24'] Exploring Operation: 96/24=4, Resulting Numbers: [95, 4] Generated Node #0,0,0: 98:[95, 4] Operation: 96/24=4 Exploring Operation: 95+24=119, Resulting Numbers: [96, 119] Generated Node #0,0,1: 98:[96, 119] Operation: 95+24=119 Exploring Operation: 96-95=1, Resulting Numbers: [24, 1] Generated Node #0,0,2: 98:[24, 1] Operation: 96-95=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[95, 4], Operations: ['28-4=24', '96/24=4'] Exploring Operation: 95*4=380, Resulting Numbers: [380] 380,98 unequal: No Solution Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,98 unequal: No Solution Exploring Operation: 95+4=99, Resulting Numbers: [99] 99,98 unequal: No Solution No 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: 98:[24, 1], Operations: ['28-4=24', '96-95=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,98 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,98 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,98 unequal: No Solution No 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: 98:[96, 119], Operations: ['28-4=24', '95+24=119'] Exploring Operation: 96*119=11424, Resulting Numbers: [11424] 11424,98 unequal: No Solution Exploring Operation: 119-96=23, Resulting Numbers: [23] 23,98 unequal: No Solution Exploring Operation: 96+119=215, Resulting Numbers: [215] 215,98 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: 98:[28, 4, 1], Operations: ['96-95=1'] Exploring Operation: 28*4=112, Resulting Numbers: [1, 112] Generated Node #0,2,0: 98:[1, 112] Operation: 28*4=112 Exploring Operation: 28/4=7, Resulting Numbers: [1, 7] Generated Node #0,2,1: 98:[1, 7] Operation: 28/4=7 Exploring Operation: 28-4=24, Resulting Numbers: [1, 24] Generated Node #0,2,2: 98:[1, 24] Operation: 28-4=24 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 98:[1, 7], Operations: ['96-95=1', '28/4=7'] Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,98 unequal: No Solution No 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: 98:[1, 24], Operations: ['96-95=1', '28-4=24'] Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,98 unequal: No Solution Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,98 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,98 unequal: No Solution No 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: 98:[1, 112], Operations: ['96-95=1', '28*4=112'] Exploring Operation: 1*112=112, Resulting Numbers: [112] 112,98 unequal: No Solution Exploring Operation: 112/1=112, Resulting Numbers: [112] 112,98 unequal: No Solution Exploring Operation: 112-1=111, Resulting Numbers: [111] 111,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 67, 80, 8, 94 ]
73
[ "80-67=13", "94-8=86", "86-13=73" ]
Current State: 73:[67, 80, 8, 94], Operations: [] Exploring Operation: 80-67=13, Resulting Numbers: [8, 94, 13] Generated Node #2: [8, 94, 13] from Operation: 80-67=13 Current State: 73:[8, 94, 13], Operations: ['80-67=13'] Exploring Operation: 94-8=86, Resulting Numbers: [13, 86] Generated Node #3: [13, 86] from Operation: 94-8=86 Current State: 73:[13, 86], Operations: ['80-67=13', '94-8=86'] Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[67, 80, 8, 94], Operations: [] Exploring Operation: 67-8=59, Resulting Numbers: [80, 94, 59] Generated Node #0,0: 73:[80, 94, 59] Operation: 67-8=59 Exploring Operation: 94-8=86, Resulting Numbers: [67, 80, 86] Generated Node #0,1: 73:[67, 80, 86] Operation: 94-8=86 Exploring Operation: 80-8=72, Resulting Numbers: [67, 94, 72] Generated Node #0,2: 73:[67, 94, 72] Operation: 80-8=72 Exploring Operation: 67+8=75, Resulting Numbers: [80, 94, 75] Generated Node #0,3: 73:[80, 94, 75] Operation: 67+8=75 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[67, 80, 86], Operations: ['94-8=86'] Exploring Operation: 86-80=6, Resulting Numbers: [67, 6] Generated Node #0,1,0: 73:[67, 6] Operation: 86-80=6 Exploring Operation: 86-67=19, Resulting Numbers: [80, 19] Generated Node #0,1,1: 73:[80, 19] Operation: 86-67=19 Exploring Operation: 80-67=13, Resulting Numbers: [86, 13] Generated Node #0,1,2: 73:[86, 13] Operation: 80-67=13 Exploring Operation: 67+80=147, Resulting Numbers: [86, 147] Generated Node #0,1,3: 73:[86, 147] Operation: 67+80=147 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[80, 19], Operations: ['94-8=86', '86-67=19'] Exploring Operation: 80+19=99, Resulting Numbers: [99] 99,73 unequal: No Solution Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,73 unequal: No Solution Exploring Operation: 80*19=1520, Resulting Numbers: [1520] 1520,73 unequal: No Solution No 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: 73:[67, 6], Operations: ['94-8=86', '86-80=6'] Exploring Operation: 67+6=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[67, 80, 8, 94], Operations: [] Exploring Operation: 94-8=86, Resulting Numbers: [67, 80, 86] Generated Node #0,1: 73:[67, 80, 86] Operation: 94-8=86 Moving to Node #0,1 Current State: 73:[67, 80, 86], Operations: ['94-8=86'] Exploring Operation: 86-80=6, Resulting Numbers: [67, 6] Generated Node #0,1,0: 73:[67, 6] Operation: 86-80=6 Moving to Node #0,1,0 Current State: 73:[67, 6], Operations: ['94-8=86', '86-80=6'] Exploring Operation: 67+6=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 89, 93, 95, 1 ]
19
[ "93-89=4", "1+4=5", "95/5=19" ]
Current State: 19:[89, 93, 95, 1], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [95, 1, 4] Generated Node #2: [95, 1, 4] from Operation: 93-89=4 Current State: 19:[95, 1, 4], Operations: ['93-89=4'] Exploring Operation: 1+4=5, Resulting Numbers: [95, 5] Generated Node #3: [95, 5] from Operation: 1+4=5 Current State: 19:[95, 5], Operations: ['93-89=4', '1+4=5'] Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[89, 93, 95, 1], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [89, 1, 2] Generated Node #0,0: 19:[89, 1, 2] Operation: 95-93=2 Exploring Operation: 93-89=4, Resulting Numbers: [95, 1, 4] Generated Node #0,1: 19:[95, 1, 4] Operation: 93-89=4 Exploring Operation: 89-1=88, Resulting Numbers: [93, 95, 88] Generated Node #0,2: 19:[93, 95, 88] Operation: 89-1=88 Exploring Operation: 95-89=6, Resulting Numbers: [93, 1, 6] Generated Node #0,3: 19:[93, 1, 6] Operation: 95-89=6 Moving to Node #0,0 Current State: 19:[89, 1, 2], Operations: ['95-93=2'] Exploring Operation: 89-1=88, Resulting Numbers: [2, 88] Generated Node #0,0,0: 19:[2, 88] Operation: 89-1=88 Exploring Operation: 89-2=87, Resulting Numbers: [1, 87] Generated Node #0,0,1: 19:[1, 87] Operation: 89-2=87 Exploring Operation: 1+2=3, Resulting Numbers: [89, 3] Generated Node #0,0,2: 19:[89, 3] Operation: 1+2=3 Exploring Operation: 89*1=89, Resulting Numbers: [2, 89] Generated Node #0,0,3: 19:[2, 89] Operation: 89*1=89 Moving to Node #0,3 Current State: 19:[93, 1, 6], Operations: ['95-89=6'] Exploring Operation: 93*1=93, Resulting Numbers: [6, 93] Generated Node #0,3,0: 19:[6, 93] Operation: 93*1=93 Exploring Operation: 93-6=87, Resulting Numbers: [1, 87] Generated Node #0,3,1: 19:[1, 87] Operation: 93-6=87 Exploring Operation: 1+6=7, Resulting Numbers: [93, 7] Generated Node #0,3,2: 19:[93, 7] Operation: 1+6=7 Exploring Operation: 93-1=92, Resulting Numbers: [6, 92] Generated Node #0,3,3: 19:[6, 92] Operation: 93-1=92 Moving to Node #0,1 Current State: 19:[95, 1, 4], Operations: ['93-89=4'] Exploring Operation: 95*1=95, Resulting Numbers: [4, 95] Generated Node #0,1,0: 19:[4, 95] Operation: 95*1=95 Exploring Operation: 95-1=94, Resulting Numbers: [4, 94] Generated Node #0,1,1: 19:[4, 94] Operation: 95-1=94 Exploring Operation: 95-4=91, Resulting Numbers: [1, 91] Generated Node #0,1,2: 19:[1, 91] Operation: 95-4=91 Exploring Operation: 1+4=5, Resulting Numbers: [95, 5] Generated Node #0,1,3: 19:[95, 5] Operation: 1+4=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[4, 94], Operations: ['93-89=4', '95-1=94'] Exploring Operation: 4*94=376, Resulting Numbers: [376] 376,19 unequal: No Solution Exploring Operation: 4+94=98, Resulting Numbers: [98] 98,19 unequal: No Solution Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 19:[1, 91], Operations: ['93-89=4', '95-4=91'] Exploring Operation: 1*91=91, Resulting Numbers: [91] 91,19 unequal: No Solution Exploring Operation: 91/1=91, Resulting Numbers: [91] 91,19 unequal: No Solution Exploring Operation: 1+91=92, Resulting Numbers: [92] 92,19 unequal: No Solution Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 19:[95, 5], Operations: ['93-89=4', '1+4=5'] Exploring Operation: 95+5=100, Resulting Numbers: [100] 100,19 unequal: No Solution Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[89, 93, 95, 1], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [95, 1, 4] Generated Node #0,1: 19:[95, 1, 4] Operation: 93-89=4 Moving to Node #0,1 Current State: 19:[95, 1, 4], Operations: ['93-89=4'] Exploring Operation: 1+4=5, Resulting Numbers: [95, 5] Generated Node #0,1,3: 19:[95, 5] Operation: 1+4=5 Moving to Node #0,1,3 Current State: 19:[95, 5], Operations: ['93-89=4', '1+4=5'] Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
mult_heuristic
[ 62, 1, 65, 56 ]
59
[ "62*1=62", "65+56=121", "121-62=59" ]
Current State: 59:[62, 1, 65, 56], Operations: [] Exploring Operation: 62*1=62, Resulting Numbers: [65, 56, 62] Generated Node #2: [65, 56, 62] from Operation: 62*1=62 Current State: 59:[65, 56, 62], Operations: ['62*1=62'] Exploring Operation: 65+56=121, Resulting Numbers: [62, 121] Generated Node #3: [62, 121] from Operation: 65+56=121 Current State: 59:[62, 121], Operations: ['62*1=62', '65+56=121'] Exploring Operation: 121-62=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[62, 1, 65, 56], Operations: [] Exploring Operation: 62-1=61, Resulting Numbers: [65, 56, 61] Generated Node #0,0: 59:[65, 56, 61] Operation: 62-1=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[65, 56, 61], Operations: ['62-1=61'] Exploring Operation: 65-56=9, Resulting Numbers: [61, 9] Generated Node #0,0,0: 59:[61, 9] Operation: 65-56=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[61, 9], Operations: ['62-1=61', '65-56=9'] Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,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_1
mult_heuristic
[ 69, 58, 85, 80 ]
13
[ "80-69=11", "58+85=143", "143/11=13" ]
Current State: 13:[69, 58, 85, 80], Operations: [] Exploring Operation: 80-69=11, Resulting Numbers: [58, 85, 11] Generated Node #2: [58, 85, 11] from Operation: 80-69=11 Current State: 13:[58, 85, 11], Operations: ['80-69=11'] Exploring Operation: 58+85=143, Resulting Numbers: [11, 143] Generated Node #3: [11, 143] from Operation: 58+85=143 Current State: 13:[11, 143], Operations: ['80-69=11', '58+85=143'] Exploring Operation: 143/11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[69, 58, 85, 80], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [69, 58, 5] Generated Node #0,0: 13:[69, 58, 5] Operation: 85-80=5 Exploring Operation: 85-69=16, Resulting Numbers: [58, 80, 16] Generated Node #0,1: 13:[58, 80, 16] Operation: 85-69=16 Moving to Node #0,0 Current State: 13:[69, 58, 5], Operations: ['85-80=5'] Exploring Operation: 69-5=64, Resulting Numbers: [58, 64] Generated Node #0,0,0: 13:[58, 64] Operation: 69-5=64 Exploring Operation: 69-58=11, Resulting Numbers: [5, 11] Generated Node #0,0,1: 13:[5, 11] Operation: 69-58=11 Moving to Node #0,1 Current State: 13:[58, 80, 16], Operations: ['85-69=16'] Exploring Operation: 80-58=22, Resulting Numbers: [16, 22] Generated Node #0,1,0: 13:[16, 22] Operation: 80-58=22 Exploring Operation: 80/16=5, Resulting Numbers: [58, 5] Generated Node #0,1,1: 13:[58, 5] Operation: 80/16=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[16, 22], Operations: ['85-69=16', '80-58=22'] Exploring Operation: 16+22=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,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:[58, 5], Operations: ['85-69=16', '80/16=5'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,13 unequal: No Solution Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,13 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: 13:[5, 11], Operations: ['85-80=5', '69-58=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[58, 64], Operations: ['85-80=5', '69-5=64'] Exploring Operation: 58+64=122, Resulting Numbers: [122] 122,13 unequal: No Solution Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,13 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 63, 24, 96, 23 ]
29
[ "96/24=4", "23*4=92", "92-63=29" ]
Current State: 29:[63, 24, 96, 23], Operations: [] Exploring Operation: 96/24=4, Resulting Numbers: [63, 23, 4] Generated Node #2: [63, 23, 4] from Operation: 96/24=4 Current State: 29:[63, 23, 4], Operations: ['96/24=4'] Exploring Operation: 23*4=92, Resulting Numbers: [63, 92] Generated Node #3: [63, 92] from Operation: 23*4=92 Current State: 29:[63, 92], Operations: ['96/24=4', '23*4=92'] Exploring Operation: 92-63=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[63, 24, 96, 23], Operations: [] Exploring Operation: 96-63=33, Resulting Numbers: [24, 23, 33] Generated Node #0,0: 29:[24, 23, 33] Operation: 96-63=33 Exploring Operation: 96/24=4, Resulting Numbers: [63, 23, 4] Generated Node #0,1: 29:[63, 23, 4] Operation: 96/24=4 Exploring Operation: 63-24=39, Resulting Numbers: [96, 23, 39] Generated Node #0,2: 29:[96, 23, 39] Operation: 63-24=39 Moving to Node #0,0 Current State: 29:[24, 23, 33], Operations: ['96-63=33'] Exploring Operation: 33-23=10, Resulting Numbers: [24, 10] Generated Node #0,0,0: 29:[24, 10] Operation: 33-23=10 Exploring Operation: 24+23=47, Resulting Numbers: [33, 47] Generated Node #0,0,1: 29:[33, 47] Operation: 24+23=47 Exploring Operation: 33-24=9, Resulting Numbers: [23, 9] Generated Node #0,0,2: 29:[23, 9] Operation: 33-24=9 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[33, 47], Operations: ['96-63=33', '24+23=47'] Exploring Operation: 47-33=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 33+47=80, Resulting Numbers: [80] 80,29 unequal: No Solution Exploring Operation: 33*47=1551, Resulting Numbers: [1551] 1551,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[24, 10], Operations: ['96-63=33', '33-23=10'] Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,29 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 29:[23, 9], Operations: ['96-63=33', '33-24=9'] Exploring Operation: 23*9=207, Resulting Numbers: [207] 207,29 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 29:[63, 23, 4], Operations: ['96/24=4'] Exploring Operation: 63-23=40, Resulting Numbers: [4, 40] Generated Node #0,1,0: 29:[4, 40] Operation: 63-23=40 Exploring Operation: 23+4=27, Resulting Numbers: [63, 27] Generated Node #0,1,1: 29:[63, 27] Operation: 23+4=27 Exploring Operation: 63-4=59, Resulting Numbers: [23, 59] Generated Node #0,1,2: 29:[23, 59] Operation: 63-4=59 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[4, 40], Operations: ['96/24=4', '63-23=40'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,29 unequal: No Solution Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 29:[63, 27], Operations: ['96/24=4', '23+4=27'] Exploring Operation: 63-27=36, Resulting Numbers: [36] 36,29 unequal: No Solution Exploring Operation: 63+27=90, Resulting Numbers: [90] 90,29 unequal: No Solution Exploring Operation: 63*27=1701, Resulting Numbers: [1701] 1701,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 29:[23, 59], Operations: ['96/24=4', '63-4=59'] Exploring Operation: 59-23=36, Resulting Numbers: [36] 36,29 unequal: No Solution Exploring Operation: 23*59=1357, Resulting Numbers: [1357] 1357,29 unequal: No Solution Exploring Operation: 23+59=82, Resulting Numbers: [82] 82,29 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: 29:[96, 23, 39], Operations: ['63-24=39'] Exploring Operation: 39-23=16, Resulting Numbers: [96, 16] Generated Node #0,2,0: 29:[96, 16] Operation: 39-23=16 Exploring Operation: 96-39=57, Resulting Numbers: [23, 57] Generated Node #0,2,1: 29:[23, 57] Operation: 96-39=57 Exploring Operation: 96-23=73, Resulting Numbers: [39, 73] Generated Node #0,2,2: 29:[39, 73] Operation: 96-23=73 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 29:[23, 57], Operations: ['63-24=39', '96-39=57'] Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,29 unequal: No Solution Exploring Operation: 23+57=80, Resulting Numbers: [80] 80,29 unequal: No Solution Exploring Operation: 23*57=1311, Resulting Numbers: [1311] 1311,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 29:[39, 73], Operations: ['63-24=39', '96-23=73'] Exploring Operation: 39*73=2847, Resulting Numbers: [2847] 2847,29 unequal: No Solution Exploring Operation: 39+73=112, Resulting Numbers: [112] 112,29 unequal: No Solution Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 29:[96, 16], Operations: ['63-24=39', '39-23=16'] Exploring Operation: 96/16=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 96-16=80, Resulting Numbers: [80] 80,29 unequal: No Solution Exploring Operation: 96+16=112, Resulting Numbers: [112] 112,29 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
[ 71, 1, 97, 9 ]
21
[ "71+97=168", "9-1=8", "168/8=21" ]
Current State: 21:[71, 1, 97, 9], Operations: [] Exploring Operation: 71+97=168, Resulting Numbers: [1, 9, 168] Generated Node #2: [1, 9, 168] from Operation: 71+97=168 Current State: 21:[1, 9, 168], Operations: ['71+97=168'] Exploring Operation: 9-1=8, Resulting Numbers: [168, 8] Generated Node #3: [168, 8] from Operation: 9-1=8 Current State: 21:[168, 8], Operations: ['71+97=168', '9-1=8'] Exploring Operation: 168/8=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[71, 1, 97, 9], Operations: [] Exploring Operation: 97-9=88, Resulting Numbers: [71, 1, 88] Generated Node #0,0: 21:[71, 1, 88] Operation: 97-9=88 Exploring Operation: 97-71=26, Resulting Numbers: [1, 9, 26] Generated Node #0,1: 21:[1, 9, 26] Operation: 97-71=26 Exploring Operation: 71-9=62, Resulting Numbers: [1, 97, 62] Generated Node #0,2: 21:[1, 97, 62] Operation: 71-9=62 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[1, 9, 26], Operations: ['97-71=26'] Exploring Operation: 26-9=17, Resulting Numbers: [1, 17] Generated Node #0,1,0: 21:[1, 17] Operation: 26-9=17 Exploring Operation: 9-1=8, Resulting Numbers: [26, 8] Generated Node #0,1,1: 21:[26, 8] Operation: 9-1=8 Exploring Operation: 26-1=25, Resulting Numbers: [9, 25] Generated Node #0,1,2: 21:[9, 25] Operation: 26-1=25 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 21:[1, 17], Operations: ['97-71=26', '26-9=17'] Exploring Operation: 1*17=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 1+17=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,21 unequal: No Solution No 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: 21:[26, 8], Operations: ['97-71=26', '9-1=8'] Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,21 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,21 unequal: No Solution No 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: 21:[9, 25], Operations: ['97-71=26', '26-1=25'] Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,21 unequal: No Solution Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,21 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: 21:[71, 1, 88], Operations: ['97-9=88'] Exploring Operation: 88-71=17, Resulting Numbers: [1, 17] Generated Node #0,0,0: 21:[1, 17] Operation: 88-71=17 Exploring Operation: 88-1=87, Resulting Numbers: [71, 87] Generated Node #0,0,1: 21:[71, 87] Operation: 88-1=87 Exploring Operation: 71-1=70, Resulting Numbers: [88, 70] Generated Node #0,0,2: 21:[88, 70] Operation: 71-1=70 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[1, 17], Operations: ['97-9=88', '88-71=17'] Exploring Operation: 1+17=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 1*17=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,21 unequal: No Solution No 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: 21:[71, 87], Operations: ['97-9=88', '88-1=87'] Exploring Operation: 71+87=158, Resulting Numbers: [158] 158,21 unequal: No Solution Exploring Operation: 87-71=16, Resulting Numbers: [16] 16,21 unequal: No Solution Exploring Operation: 71*87=6177, Resulting Numbers: [6177] 6177,21 unequal: No Solution No 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: 21:[88, 70], Operations: ['97-9=88', '71-1=70'] Exploring Operation: 88*70=6160, Resulting Numbers: [6160] 6160,21 unequal: No Solution Exploring Operation: 88+70=158, Resulting Numbers: [158] 158,21 unequal: No Solution Exploring Operation: 88-70=18, Resulting Numbers: [18] 18,21 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: 21:[1, 97, 62], Operations: ['71-9=62'] Exploring Operation: 97-62=35, Resulting Numbers: [1, 35] Generated Node #0,2,0: 21:[1, 35] Operation: 97-62=35 Exploring Operation: 62-1=61, Resulting Numbers: [97, 61] Generated Node #0,2,1: 21:[97, 61] Operation: 62-1=61 Exploring Operation: 97-1=96, Resulting Numbers: [62, 96] Generated Node #0,2,2: 21:[62, 96] Operation: 97-1=96 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 21:[1, 35], Operations: ['71-9=62', '97-62=35'] Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,21 unequal: No Solution Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,21 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,21 unequal: No Solution No 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: 21:[97, 61], Operations: ['71-9=62', '62-1=61'] Exploring Operation: 97+61=158, Resulting Numbers: [158] 158,21 unequal: No Solution Exploring Operation: 97-61=36, Resulting Numbers: [36] 36,21 unequal: No Solution Exploring Operation: 97*61=5917, Resulting Numbers: [5917] 5917,21 unequal: No Solution No 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: 21:[62, 96], Operations: ['71-9=62', '97-1=96'] Exploring Operation: 62+96=158, Resulting Numbers: [158] 158,21 unequal: No Solution Exploring Operation: 96-62=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 62*96=5952, Resulting Numbers: [5952] 5952,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic