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
[ 12, 80, 15, 43 ]
34
[ "12+80=92", "15+43=58", "92-58=34" ]
Current State: 34:[12, 80, 15, 43], Operations: [] Exploring Operation: 12+80=92, Resulting Numbers: [15, 43, 92] Generated Node #2: [15, 43, 92] from Operation: 12+80=92 Current State: 34:[15, 43, 92], Operations: ['12+80=92'] Exploring Operation: 15+43=58, Resulting Numbers: [92, 58] Generated Node #3: [92, 58] from Operation: 15+43=58 Current State: 34:[92, 58], Operations: ['12+80=92', '15+43=58'] Exploring Operation: 92-58=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[12, 80, 15, 43], Operations: [] Exploring Operation: 43-12=31, Resulting Numbers: [80, 15, 31] Generated Node #0,0: 34:[80, 15, 31] Operation: 43-12=31 Exploring Operation: 80-12=68, Resulting Numbers: [15, 43, 68] Generated Node #0,1: 34:[15, 43, 68] Operation: 80-12=68 Exploring Operation: 80-43=37, Resulting Numbers: [12, 15, 37] Generated Node #0,2: 34:[12, 15, 37] Operation: 80-43=37 Exploring Operation: 80-15=65, Resulting Numbers: [12, 43, 65] Generated Node #0,3: 34:[12, 43, 65] Operation: 80-15=65 Moving to Node #0,2 Current State: 34:[12, 15, 37], Operations: ['80-43=37'] Exploring Operation: 12+15=27, Resulting Numbers: [37, 27] Generated Node #0,2,0: 34:[37, 27] Operation: 12+15=27 Exploring Operation: 37-12=25, Resulting Numbers: [15, 25] Generated Node #0,2,1: 34:[15, 25] Operation: 37-12=25 Exploring Operation: 15-12=3, Resulting Numbers: [37, 3] Generated Node #0,2,2: 34:[37, 3] Operation: 15-12=3 Exploring Operation: 37-15=22, Resulting Numbers: [12, 22] Generated Node #0,2,3: 34:[12, 22] Operation: 37-15=22 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 34:[37, 3], Operations: ['80-43=37', '15-12=3'] Exploring Operation: 37*3=111, Resulting Numbers: [111] 111,34 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[12, 80, 15, 43], Operations: [] Exploring Operation: 80-43=37, Resulting Numbers: [12, 15, 37] Generated Node #0,2: 34:[12, 15, 37] Operation: 80-43=37 Moving to Node #0,2 Current State: 34:[12, 15, 37], Operations: ['80-43=37'] Exploring Operation: 15-12=3, Resulting Numbers: [37, 3] Generated Node #0,2,2: 34:[37, 3] Operation: 15-12=3 Moving to Node #0,2,2 Current State: 34:[37, 3], Operations: ['80-43=37', '15-12=3'] Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 5, 85, 76, 97 ]
93
[ "85-5=80", "76+97=173", "173-80=93" ]
Current State: 93:[5, 85, 76, 97], Operations: [] Exploring Operation: 85-5=80, Resulting Numbers: [76, 97, 80] Generated Node #2: [76, 97, 80] from Operation: 85-5=80 Current State: 93:[76, 97, 80], Operations: ['85-5=80'] Exploring Operation: 76+97=173, Resulting Numbers: [80, 173] Generated Node #3: [80, 173] from Operation: 76+97=173 Current State: 93:[80, 173], Operations: ['85-5=80', '76+97=173'] Exploring Operation: 173-80=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[5, 85, 76, 97], Operations: [] Exploring Operation: 97-76=21, Resulting Numbers: [5, 85, 21] Generated Node #0,0: 93:[5, 85, 21] Operation: 97-76=21 Exploring Operation: 97-5=92, Resulting Numbers: [85, 76, 92] Generated Node #0,1: 93:[85, 76, 92] Operation: 97-5=92 Exploring Operation: 85-76=9, Resulting Numbers: [5, 97, 9] Generated Node #0,2: 93:[5, 97, 9] Operation: 85-76=9 Exploring Operation: 5+76=81, Resulting Numbers: [85, 97, 81] Generated Node #0,3: 93:[85, 97, 81] Operation: 5+76=81 Exploring Operation: 5+85=90, Resulting Numbers: [76, 97, 90] Generated Node #0,4: 93:[76, 97, 90] Operation: 5+85=90 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[5, 97, 9], Operations: ['85-76=9'] Exploring Operation: 97-5=92, Resulting Numbers: [9, 92] Generated Node #0,2,0: 93:[9, 92] Operation: 97-5=92 Exploring Operation: 5+9=14, Resulting Numbers: [97, 14] Generated Node #0,2,1: 93:[97, 14] Operation: 5+9=14 Exploring Operation: 5+97=102, Resulting Numbers: [9, 102] Generated Node #0,2,2: 93:[9, 102] Operation: 5+97=102 Exploring Operation: 97-9=88, Resulting Numbers: [5, 88] Generated Node #0,2,3: 93:[5, 88] Operation: 97-9=88 Exploring Operation: 9-5=4, Resulting Numbers: [97, 4] Generated Node #0,2,4: 93:[97, 4] Operation: 9-5=4 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 93:[97, 4], Operations: ['85-76=9', '9-5=4'] Exploring Operation: 97+4=101, Resulting Numbers: [101] 101,93 unequal: No Solution Exploring Operation: 97*4=388, Resulting Numbers: [388] 388,93 unequal: No Solution Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[5, 85, 76, 97], Operations: [] Exploring Operation: 85-76=9, Resulting Numbers: [5, 97, 9] Generated Node #0,2: 93:[5, 97, 9] Operation: 85-76=9 Moving to Node #0,2 Current State: 93:[5, 97, 9], Operations: ['85-76=9'] Exploring Operation: 9-5=4, Resulting Numbers: [97, 4] Generated Node #0,2,4: 93:[97, 4] Operation: 9-5=4 Moving to Node #0,2,4 Current State: 93:[97, 4], Operations: ['85-76=9', '9-5=4'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 8, 85, 33, 21 ]
23
[ "85-8=77", "33+21=54", "77-54=23" ]
Current State: 23:[8, 85, 33, 21], Operations: [] Exploring Operation: 85-8=77, Resulting Numbers: [33, 21, 77] Generated Node #2: [33, 21, 77] from Operation: 85-8=77 Current State: 23:[33, 21, 77], Operations: ['85-8=77'] Exploring Operation: 33+21=54, Resulting Numbers: [77, 54] Generated Node #3: [77, 54] from Operation: 33+21=54 Current State: 23:[77, 54], Operations: ['85-8=77', '33+21=54'] Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[8, 85, 33, 21], Operations: [] Exploring Operation: 8+21=29, Resulting Numbers: [85, 33, 29] Generated Node #0,0: 23:[85, 33, 29] Operation: 8+21=29 Exploring Operation: 85-8=77, Resulting Numbers: [33, 21, 77] Generated Node #0,1: 23:[33, 21, 77] Operation: 85-8=77 Exploring Operation: 85-33=52, Resulting Numbers: [8, 21, 52] Generated Node #0,2: 23:[8, 21, 52] Operation: 85-33=52 Exploring Operation: 85-21=64, Resulting Numbers: [8, 33, 64] Generated Node #0,3: 23:[8, 33, 64] Operation: 85-21=64 Exploring Operation: 33-8=25, Resulting Numbers: [85, 21, 25] Generated Node #0,4: 23:[85, 21, 25] Operation: 33-8=25 Moving to Node #0,2 Current State: 23:[8, 21, 52], Operations: ['85-33=52'] Exploring Operation: 21-8=13, Resulting Numbers: [52, 13] Generated Node #0,2,0: 23:[52, 13] Operation: 21-8=13 Exploring Operation: 52-21=31, Resulting Numbers: [8, 31] Generated Node #0,2,1: 23:[8, 31] Operation: 52-21=31 Exploring Operation: 8+52=60, Resulting Numbers: [21, 60] Generated Node #0,2,2: 23:[21, 60] Operation: 8+52=60 Exploring Operation: 8+21=29, Resulting Numbers: [52, 29] Generated Node #0,2,3: 23:[52, 29] Operation: 8+21=29 Exploring Operation: 52-8=44, Resulting Numbers: [21, 44] Generated Node #0,2,4: 23:[21, 44] Operation: 52-8=44 Moving to Node #0,3 Current State: 23:[8, 33, 64], Operations: ['85-21=64'] Exploring Operation: 64-33=31, Resulting Numbers: [8, 31] Generated Node #0,3,0: 23:[8, 31] Operation: 64-33=31 Exploring Operation: 64-8=56, Resulting Numbers: [33, 56] Generated Node #0,3,1: 23:[33, 56] Operation: 64-8=56 Exploring Operation: 8+33=41, Resulting Numbers: [64, 41] Generated Node #0,3,2: 23:[64, 41] Operation: 8+33=41 Exploring Operation: 64/8=8, Resulting Numbers: [33, 8] Generated Node #0,3,3: 23:[33, 8] Operation: 64/8=8 Exploring Operation: 33-8=25, Resulting Numbers: [64, 25] Generated Node #0,3,4: 23:[64, 25] Operation: 33-8=25 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 23:[8, 31], Operations: ['85-21=64', '64-33=31'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[8, 85, 33, 21], Operations: [] Exploring Operation: 85-21=64, Resulting Numbers: [8, 33, 64] Generated Node #0,3: 23:[8, 33, 64] Operation: 85-21=64 Moving to Node #0,3 Current State: 23:[8, 33, 64], Operations: ['85-21=64'] Exploring Operation: 64-33=31, Resulting Numbers: [8, 31] Generated Node #0,3,0: 23:[8, 31] Operation: 64-33=31 Moving to Node #0,3,0 Current State: 23:[8, 31], Operations: ['85-21=64', '64-33=31'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 24, 5, 8, 3 ]
59
[ "24*8=192", "192/3=64", "64-5=59" ]
Current State: 59:[24, 5, 8, 3], Operations: [] Exploring Operation: 24*8=192, Resulting Numbers: [5, 3, 192] Generated Node #2: [5, 3, 192] from Operation: 24*8=192 Current State: 59:[5, 3, 192], Operations: ['24*8=192'] Exploring Operation: 192/3=64, Resulting Numbers: [5, 64] Generated Node #3: [5, 64] from Operation: 192/3=64 Current State: 59:[5, 64], Operations: ['24*8=192', '192/3=64'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[24, 5, 8, 3], Operations: [] Exploring Operation: 5*8=40, Resulting Numbers: [24, 3, 40] Generated Node #0,0: 59:[24, 3, 40] Operation: 5*8=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[24, 3, 40], Operations: ['5*8=40'] Exploring Operation: 24*3=72, Resulting Numbers: [40, 72] Generated Node #0,0,0: 59:[40, 72] Operation: 24*3=72 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[40, 72], Operations: ['5*8=40', '24*3=72'] Exploring Operation: 72-40=32, Resulting Numbers: [32] 32,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
[ 52, 39, 5, 9 ]
98
[ "39-9=30", "5*30=150", "150-52=98" ]
Current State: 98:[52, 39, 5, 9], Operations: [] Exploring Operation: 39-9=30, Resulting Numbers: [52, 5, 30] Generated Node #2: [52, 5, 30] from Operation: 39-9=30 Current State: 98:[52, 5, 30], Operations: ['39-9=30'] Exploring Operation: 5*30=150, Resulting Numbers: [52, 150] Generated Node #3: [52, 150] from Operation: 5*30=150 Current State: 98:[52, 150], Operations: ['39-9=30', '5*30=150'] Exploring Operation: 150-52=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[52, 39, 5, 9], Operations: [] Exploring Operation: 52-39=13, Resulting Numbers: [5, 9, 13] Generated Node #0,0: 98:[5, 9, 13] Operation: 52-39=13 Exploring Operation: 39+9=48, Resulting Numbers: [52, 5, 48] Generated Node #0,1: 98:[52, 5, 48] Operation: 39+9=48 Moving to Node #0,0 Current State: 98:[5, 9, 13], Operations: ['52-39=13'] Exploring Operation: 9-5=4, Resulting Numbers: [13, 4] Generated Node #0,0,0: 98:[13, 4] Operation: 9-5=4 Exploring Operation: 5+9=14, Resulting Numbers: [13, 14] Generated Node #0,0,1: 98:[13, 14] Operation: 5+9=14 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 98:[13, 14], Operations: ['52-39=13', '5+9=14'] Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,98 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,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:[13, 4], Operations: ['52-39=13', '9-5=4'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,98 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,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:[52, 5, 48], Operations: ['39+9=48'] Exploring Operation: 52+48=100, Resulting Numbers: [5, 100] Generated Node #0,1,0: 98:[5, 100] Operation: 52+48=100 Exploring Operation: 52-5=47, Resulting Numbers: [48, 47] Generated Node #0,1,1: 98:[48, 47] Operation: 52-5=47 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 98:[48, 47], Operations: ['39+9=48', '52-5=47'] Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,98 unequal: No Solution Exploring Operation: 48+47=95, Resulting Numbers: [95] 95,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,1,0 Current State: 98:[5, 100], Operations: ['39+9=48', '52+48=100'] Exploring Operation: 100/5=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,98 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
[ 51, 90, 6, 10 ]
99
[ "90-51=39", "6*10=60", "39+60=99" ]
Current State: 99:[51, 90, 6, 10], Operations: [] Exploring Operation: 90-51=39, Resulting Numbers: [6, 10, 39] Generated Node #2: [6, 10, 39] from Operation: 90-51=39 Current State: 99:[6, 10, 39], Operations: ['90-51=39'] Exploring Operation: 6*10=60, Resulting Numbers: [39, 60] Generated Node #3: [39, 60] from Operation: 6*10=60 Current State: 99:[39, 60], Operations: ['90-51=39', '6*10=60'] Exploring Operation: 39+60=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[51, 90, 6, 10], Operations: [] Exploring Operation: 51-10=41, Resulting Numbers: [90, 6, 41] Generated Node #0,0: 99:[90, 6, 41] Operation: 51-10=41 Exploring Operation: 51-6=45, Resulting Numbers: [90, 10, 45] Generated Node #0,1: 99:[90, 10, 45] Operation: 51-6=45 Exploring Operation: 90+6=96, Resulting Numbers: [51, 10, 96] Generated Node #0,2: 99:[51, 10, 96] Operation: 90+6=96 Exploring Operation: 90/10=9, Resulting Numbers: [51, 6, 9] Generated Node #0,3: 99:[51, 6, 9] Operation: 90/10=9 Exploring Operation: 90-51=39, Resulting Numbers: [6, 10, 39] Generated Node #0,4: 99:[6, 10, 39] Operation: 90-51=39 Moving to Node #0,4 Current State: 99:[6, 10, 39], Operations: ['90-51=39'] Exploring Operation: 39-6=33, Resulting Numbers: [10, 33] Generated Node #0,4,0: 99:[10, 33] Operation: 39-6=33 Exploring Operation: 6+10=16, Resulting Numbers: [39, 16] Generated Node #0,4,1: 99:[39, 16] Operation: 6+10=16 Exploring Operation: 39-10=29, Resulting Numbers: [6, 29] Generated Node #0,4,2: 99:[6, 29] Operation: 39-10=29 Exploring Operation: 10-6=4, Resulting Numbers: [39, 4] Generated Node #0,4,3: 99:[39, 4] Operation: 10-6=4 Exploring Operation: 6+39=45, Resulting Numbers: [10, 45] Generated Node #0,4,4: 99:[10, 45] Operation: 6+39=45 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 99:[10, 33], Operations: ['90-51=39', '39-6=33'] Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,99 unequal: No Solution Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,99 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 99:[6, 29], Operations: ['90-51=39', '39-10=29'] Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,99 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 99:[39, 4], Operations: ['90-51=39', '10-6=4'] Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,99 unequal: No Solution Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,99 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 99:[39, 16], Operations: ['90-51=39', '6+10=16'] Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,99 unequal: No Solution Exploring Operation: 39*16=624, Resulting Numbers: [624] 624,99 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 99:[10, 45], Operations: ['90-51=39', '6+39=45'] Exploring Operation: 10+45=55, Resulting Numbers: [55] 55,99 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 10*45=450, Resulting Numbers: [450] 450,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 99:[90, 6, 41], Operations: ['51-10=41'] Exploring Operation: 90-41=49, Resulting Numbers: [6, 49] Generated Node #0,0,0: 99:[6, 49] Operation: 90-41=49 Exploring Operation: 90/6=15, Resulting Numbers: [41, 15] Generated Node #0,0,1: 99:[41, 15] Operation: 90/6=15 Exploring Operation: 90+6=96, Resulting Numbers: [41, 96] Generated Node #0,0,2: 99:[41, 96] Operation: 90+6=96 Exploring Operation: 90-6=84, Resulting Numbers: [41, 84] Generated Node #0,0,3: 99:[41, 84] Operation: 90-6=84 Exploring Operation: 41-6=35, Resulting Numbers: [90, 35] Generated Node #0,0,4: 99:[90, 35] Operation: 41-6=35 Moving to Node #0,3 Current State: 99:[51, 6, 9], Operations: ['90/10=9'] Exploring Operation: 9-6=3, Resulting Numbers: [51, 3] Generated Node #0,3,0: 99:[51, 3] Operation: 9-6=3 Exploring Operation: 51-9=42, Resulting Numbers: [6, 42] Generated Node #0,3,1: 99:[6, 42] Operation: 51-9=42 Exploring Operation: 6+9=15, Resulting Numbers: [51, 15] Generated Node #0,3,2: 99:[51, 15] Operation: 6+9=15 Exploring Operation: 51-6=45, Resulting Numbers: [9, 45] Generated Node #0,3,3: 99:[9, 45] Operation: 51-6=45 Exploring Operation: 51+6=57, Resulting Numbers: [9, 57] Generated Node #0,3,4: 99:[9, 57] Operation: 51+6=57 Moving to Node #0,1 Current State: 99:[90, 10, 45], Operations: ['51-6=45'] Exploring Operation: 90/45=2, Resulting Numbers: [10, 2] Generated Node #0,1,0: 99:[10, 2] Operation: 90/45=2 Exploring Operation: 90-45=45, Resulting Numbers: [10, 45] Generated Node #0,1,1: 99:[10, 45] Operation: 90-45=45 Exploring Operation: 90/10=9, Resulting Numbers: [45, 9] Generated Node #0,1,2: 99:[45, 9] Operation: 90/10=9 Exploring Operation: 90+10=100, Resulting Numbers: [45, 100] Generated Node #0,1,3: 99:[45, 100] Operation: 90+10=100 Exploring Operation: 45-10=35, Resulting Numbers: [90, 35] Generated Node #0,1,4: 99:[90, 35] Operation: 45-10=35 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 99:[10, 2], Operations: ['51-6=45', '90/45=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 99:[90, 35], Operations: ['51-6=45', '45-10=35'] Exploring Operation: 90-35=55, Resulting Numbers: [55] 55,99 unequal: No Solution Exploring Operation: 90+35=125, Resulting Numbers: [125] 125,99 unequal: No Solution Exploring Operation: 90*35=3150, Resulting Numbers: [3150] 3150,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 99:[45, 9], Operations: ['51-6=45', '90/10=9'] Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,99 unequal: No Solution Exploring Operation: 45*9=405, Resulting Numbers: [405] 405,99 unequal: No Solution Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,99 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 99:[10, 45], Operations: ['51-6=45', '90-45=45'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 10+45=55, Resulting Numbers: [55] 55,99 unequal: No Solution Exploring Operation: 10*45=450, Resulting Numbers: [450] 450,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 99:[45, 100], Operations: ['51-6=45', '90+10=100'] Exploring Operation: 45+100=145, Resulting Numbers: [145] 145,99 unequal: No Solution Exploring Operation: 100-45=55, Resulting Numbers: [55] 55,99 unequal: No Solution Exploring Operation: 45*100=4500, Resulting Numbers: [4500] 4500,99 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: 99:[51, 10, 96], Operations: ['90+6=96'] Exploring Operation: 96-10=86, Resulting Numbers: [51, 86] Generated Node #0,2,0: 99:[51, 86] Operation: 96-10=86 Exploring Operation: 51-10=41, Resulting Numbers: [96, 41] Generated Node #0,2,1: 99:[96, 41] Operation: 51-10=41 Exploring Operation: 51+10=61, Resulting Numbers: [96, 61] Generated Node #0,2,2: 99:[96, 61] Operation: 51+10=61 Exploring Operation: 10+96=106, Resulting Numbers: [51, 106] Generated Node #0,2,3: 99:[51, 106] Operation: 10+96=106 Exploring Operation: 96-51=45, Resulting Numbers: [10, 45] Generated Node #0,2,4: 99:[10, 45] Operation: 96-51=45 Moving to Node #0,0,2 Current State: 99:[41, 96], Operations: ['51-10=41', '90+6=96'] Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,99 unequal: No Solution Exploring Operation: 41*96=3936, Resulting Numbers: [3936] 3936,99 unequal: No Solution Exploring Operation: 41+96=137, Resulting Numbers: [137] 137,99 unequal: No Solution Moving to Node #0,0,4 Current State: 99:[90, 35], Operations: ['51-10=41', '41-6=35'] Exploring Operation: 90+35=125, Resulting Numbers: [125] 125,99 unequal: No Solution Exploring Operation: 90*35=3150, Resulting Numbers: [3150] 3150,99 unequal: No Solution Exploring Operation: 90-35=55, Resulting Numbers: [55] 55,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[96, 41], Operations: ['90+6=96', '51-10=41'] Exploring Operation: 96+41=137, Resulting Numbers: [137] 137,99 unequal: No Solution Exploring Operation: 96*41=3936, Resulting Numbers: [3936] 3936,99 unequal: No Solution Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[41, 15], Operations: ['51-10=41', '90/6=15'] Exploring Operation: 41+15=56, Resulting Numbers: [56] 56,99 unequal: No Solution Exploring Operation: 41*15=615, Resulting Numbers: [615] 615,99 unequal: No Solution Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,99 unequal: No Solution Moving to Node #0,3,3 Current State: 99:[9, 45], Operations: ['90/10=9', '51-6=45'] Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,99 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 9+45=54, Resulting Numbers: [54] 54,99 unequal: No Solution Exploring Operation: 9*45=405, Resulting Numbers: [405] 405,99 unequal: No Solution Moving to Node #0,3,1 Current State: 99:[6, 42], Operations: ['90/10=9', '51-9=42'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,99 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,99 unequal: No Solution Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,99 unequal: No Solution Exploring Operation: 6*42=252, Resulting Numbers: [252] 252,99 unequal: No Solution Moving to Node #0,2,4 Current State: 99:[10, 45], Operations: ['90+6=96', '96-51=45'] Exploring Operation: 10+45=55, Resulting Numbers: [55] 55,99 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 10*45=450, Resulting Numbers: [450] 450,99 unequal: No Solution Moving to Node #0,3,0 Current State: 99:[51, 3], Operations: ['90/10=9', '9-6=3'] Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,99 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,99 unequal: No Solution Exploring Operation: 51*3=153, Resulting Numbers: [153] 153,99 unequal: No Solution Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[6, 49], Operations: ['51-10=41', '90-41=49'] Exploring Operation: 6+49=55, Resulting Numbers: [55] 55,99 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,99 unequal: No Solution Exploring Operation: 6*49=294, Resulting Numbers: [294] 294,99 unequal: No Solution Moving to Node #0,3,2 Current State: 99:[51, 15], Operations: ['90/10=9', '6+9=15'] Exploring Operation: 51*15=765, Resulting Numbers: [765] 765,99 unequal: No Solution Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,99 unequal: No Solution Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,99 unequal: No Solution Moving to Node #0,0,3 Current State: 99:[41, 84], Operations: ['51-10=41', '90-6=84'] Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,99 unequal: No Solution Exploring Operation: 41+84=125, Resulting Numbers: [125] 125,99 unequal: No Solution Exploring Operation: 41*84=3444, Resulting Numbers: [3444] 3444,99 unequal: No Solution Moving to Node #0,3,4 Current State: 99:[9, 57], Operations: ['90/10=9', '51+6=57'] Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,99 unequal: No Solution Exploring Operation: 9+57=66, Resulting Numbers: [66] 66,99 unequal: No Solution Exploring Operation: 9*57=513, Resulting Numbers: [513] 513,99 unequal: No Solution Moving to Node #0,2,3 Current State: 99:[51, 106], Operations: ['90+6=96', '10+96=106'] Exploring Operation: 106-51=55, Resulting Numbers: [55] 55,99 unequal: No Solution Exploring Operation: 51*106=5406, Resulting Numbers: [5406] 5406,99 unequal: No Solution Exploring Operation: 51+106=157, Resulting Numbers: [157] 157,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[51, 86], Operations: ['90+6=96', '96-10=86'] Exploring Operation: 51*86=4386, Resulting Numbers: [4386] 4386,99 unequal: No Solution Exploring Operation: 51+86=137, Resulting Numbers: [137] 137,99 unequal: No Solution Exploring Operation: 86-51=35, Resulting Numbers: [35] 35,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[96, 61], Operations: ['90+6=96', '51+10=61'] Exploring Operation: 96-61=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 96*61=5856, Resulting Numbers: [5856] 5856,99 unequal: No Solution Exploring Operation: 96+61=157, Resulting Numbers: [157] 157,99 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 89, 11, 72, 82 ]
90
[ "89+11=100", "82-72=10", "100-10=90" ]
Current State: 90:[89, 11, 72, 82], Operations: [] Exploring Operation: 89+11=100, Resulting Numbers: [72, 82, 100] Generated Node #2: [72, 82, 100] from Operation: 89+11=100 Current State: 90:[72, 82, 100], Operations: ['89+11=100'] Exploring Operation: 82-72=10, Resulting Numbers: [100, 10] Generated Node #3: [100, 10] from Operation: 82-72=10 Current State: 90:[100, 10], Operations: ['89+11=100', '82-72=10'] Exploring Operation: 100-10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[89, 11, 72, 82], Operations: [] Exploring Operation: 89-72=17, Resulting Numbers: [11, 82, 17] Generated Node #0,0: 90:[11, 82, 17] Operation: 89-72=17 Exploring Operation: 89-82=7, Resulting Numbers: [11, 72, 7] Generated Node #0,1: 90:[11, 72, 7] Operation: 89-82=7 Exploring Operation: 82-72=10, Resulting Numbers: [89, 11, 10] Generated Node #0,2: 90:[89, 11, 10] Operation: 82-72=10 Exploring Operation: 11+82=93, Resulting Numbers: [89, 72, 93] Generated Node #0,3: 90:[89, 72, 93] Operation: 11+82=93 Exploring Operation: 11+72=83, Resulting Numbers: [89, 82, 83] Generated Node #0,4: 90:[89, 82, 83] Operation: 11+72=83 Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[89, 11, 10], Operations: ['82-72=10'] Exploring Operation: 11+10=21, Resulting Numbers: [89, 21] Generated Node #0,2,0: 90:[89, 21] Operation: 11+10=21 Exploring Operation: 89-11=78, Resulting Numbers: [10, 78] Generated Node #0,2,1: 90:[10, 78] Operation: 89-11=78 Exploring Operation: 11-10=1, Resulting Numbers: [89, 1] Generated Node #0,2,2: 90:[89, 1] Operation: 11-10=1 Exploring Operation: 89+11=100, Resulting Numbers: [10, 100] Generated Node #0,2,3: 90:[10, 100] Operation: 89+11=100 Exploring Operation: 89+10=99, Resulting Numbers: [11, 99] Generated Node #0,2,4: 90:[11, 99] Operation: 89+10=99 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 90:[89, 1], Operations: ['82-72=10', '11-10=1'] Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[89, 11, 72, 82], Operations: [] Exploring Operation: 82-72=10, Resulting Numbers: [89, 11, 10] Generated Node #0,2: 90:[89, 11, 10] Operation: 82-72=10 Moving to Node #0,2 Current State: 90:[89, 11, 10], Operations: ['82-72=10'] Exploring Operation: 11-10=1, Resulting Numbers: [89, 1] Generated Node #0,2,2: 90:[89, 1] Operation: 11-10=1 Moving to Node #0,2,2 Current State: 90:[89, 1], Operations: ['82-72=10', '11-10=1'] Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 98, 55, 33, 8 ]
15
[ "98+55=153", "153-33=120", "120/8=15" ]
Current State: 15:[98, 55, 33, 8], Operations: [] Exploring Operation: 98+55=153, Resulting Numbers: [33, 8, 153] Generated Node #2: [33, 8, 153] from Operation: 98+55=153 Current State: 15:[33, 8, 153], Operations: ['98+55=153'] Exploring Operation: 153-33=120, Resulting Numbers: [8, 120] Generated Node #3: [8, 120] from Operation: 153-33=120 Current State: 15:[8, 120], Operations: ['98+55=153', '153-33=120'] Exploring Operation: 120/8=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[98, 55, 33, 8], Operations: [] Exploring Operation: 98-55=43, Resulting Numbers: [33, 8, 43] Generated Node #0,0: 15:[33, 8, 43] Operation: 98-55=43 Exploring Operation: 98-33=65, Resulting Numbers: [55, 8, 65] Generated Node #0,1: 15:[55, 8, 65] Operation: 98-33=65 Moving to Node #0,0 Current State: 15:[33, 8, 43], Operations: ['98-55=43'] Exploring Operation: 33-8=25, Resulting Numbers: [43, 25] Generated Node #0,0,0: 15:[43, 25] Operation: 33-8=25 Exploring Operation: 43-33=10, Resulting Numbers: [8, 10] Generated Node #0,0,1: 15:[8, 10] Operation: 43-33=10 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[8, 10], Operations: ['98-55=43', '43-33=10'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[43, 25], Operations: ['98-55=43', '33-8=25'] Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,15 unequal: No Solution Exploring Operation: 43+25=68, Resulting Numbers: [68] 68,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 15:[55, 8, 65], Operations: ['98-33=65'] Exploring Operation: 65-55=10, Resulting Numbers: [8, 10] Generated Node #0,1,0: 15:[8, 10] Operation: 65-55=10 Exploring Operation: 55-8=47, Resulting Numbers: [65, 47] Generated Node #0,1,1: 15:[65, 47] Operation: 55-8=47 Moving to Node #0,1,0 Current State: 15:[8, 10], Operations: ['98-33=65', '65-55=10'] Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,15 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[65, 47], Operations: ['98-33=65', '55-8=47'] Exploring Operation: 65-47=18, Resulting Numbers: [18] 18,15 unequal: No Solution Exploring Operation: 65+47=112, Resulting Numbers: [112] 112,15 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 92, 59, 14, 51 ]
98
[ "92-59=33", "14+51=65", "33+65=98" ]
Current State: 98:[92, 59, 14, 51], Operations: [] Exploring Operation: 92-59=33, Resulting Numbers: [14, 51, 33] Generated Node #2: [14, 51, 33] from Operation: 92-59=33 Current State: 98:[14, 51, 33], Operations: ['92-59=33'] Exploring Operation: 14+51=65, Resulting Numbers: [33, 65] Generated Node #3: [33, 65] from Operation: 14+51=65 Current State: 98:[33, 65], Operations: ['92-59=33', '14+51=65'] Exploring Operation: 33+65=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[92, 59, 14, 51], Operations: [] Exploring Operation: 92-59=33, Resulting Numbers: [14, 51, 33] Generated Node #0,0: 98:[14, 51, 33] Operation: 92-59=33 Exploring Operation: 92-51=41, Resulting Numbers: [59, 14, 41] Generated Node #0,1: 98:[59, 14, 41] Operation: 92-51=41 Exploring Operation: 59-14=45, Resulting Numbers: [92, 51, 45] Generated Node #0,2: 98:[92, 51, 45] Operation: 59-14=45 Exploring Operation: 59-51=8, Resulting Numbers: [92, 14, 8] Generated Node #0,3: 98:[92, 14, 8] Operation: 59-51=8 Start Sub Search at level 1: Moving to Node #0,3 Current State: 98:[92, 14, 8], Operations: ['59-51=8'] Exploring Operation: 92-8=84, Resulting Numbers: [14, 84] Generated Node #0,3,0: 98:[14, 84] Operation: 92-8=84 Exploring Operation: 14-8=6, Resulting Numbers: [92, 6] Generated Node #0,3,1: 98:[92, 6] Operation: 14-8=6 Exploring Operation: 92+8=100, Resulting Numbers: [14, 100] Generated Node #0,3,2: 98:[14, 100] Operation: 92+8=100 Exploring Operation: 92+14=106, Resulting Numbers: [8, 106] Generated Node #0,3,3: 98:[8, 106] Operation: 92+14=106 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 98:[14, 100], Operations: ['59-51=8', '92+8=100'] Exploring Operation: 100-14=86, Resulting Numbers: [86] 86,98 unequal: No Solution Exploring Operation: 14*100=1400, Resulting Numbers: [1400] 1400,98 unequal: No Solution Exploring Operation: 14+100=114, Resulting Numbers: [114] 114,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,3,1 Current State: 98:[92, 6], Operations: ['59-51=8', '14-8=6'] Exploring Operation: 92*6=552, Resulting Numbers: [552] 552,98 unequal: No Solution Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,98 unequal: No Solution Exploring Operation: 92+6=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[92, 59, 14, 51], Operations: [] Exploring Operation: 59-51=8, Resulting Numbers: [92, 14, 8] Generated Node #0,3: 98:[92, 14, 8] Operation: 59-51=8 Moving to Node #0,3 Current State: 98:[92, 14, 8], Operations: ['59-51=8'] Exploring Operation: 14-8=6, Resulting Numbers: [92, 6] Generated Node #0,3,1: 98:[92, 6] Operation: 14-8=6 Moving to Node #0,3,1 Current State: 98:[92, 6], Operations: ['59-51=8', '14-8=6'] Exploring Operation: 92+6=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 35, 54, 19, 74 ]
74
[ "54-35=19", "19+74=93", "93-19=74" ]
Current State: 74:[35, 54, 19, 74], Operations: [] Exploring Operation: 54-35=19, Resulting Numbers: [19, 74, 19] Generated Node #2: [19, 74, 19] from Operation: 54-35=19 Current State: 74:[19, 74, 19], Operations: ['54-35=19'] Exploring Operation: 19+74=93, Resulting Numbers: [93] 93,74 equal: Goal Reached Exploring Operation: 93-19=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[35, 54, 19, 74], Operations: [] Exploring Operation: 54+19=73, Resulting Numbers: [35, 74, 73] Generated Node #0,0: 74:[35, 74, 73] Operation: 54+19=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[35, 74, 73], Operations: ['54+19=73'] Exploring Operation: 73-35=38, Resulting Numbers: [74, 38] Generated Node #0,0,0: 74:[74, 38] Operation: 73-35=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[74, 38], Operations: ['54+19=73', '73-35=38'] Exploring Operation: 74-38=36, Resulting Numbers: [36] 36,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 86, 51, 89, 97 ]
43
[ "86-51=35", "97-89=8", "35+8=43" ]
Current State: 43:[86, 51, 89, 97], Operations: [] Exploring Operation: 86-51=35, Resulting Numbers: [89, 97, 35] Generated Node #2: [89, 97, 35] from Operation: 86-51=35 Current State: 43:[89, 97, 35], Operations: ['86-51=35'] Exploring Operation: 97-89=8, Resulting Numbers: [35, 8] Generated Node #3: [35, 8] from Operation: 97-89=8 Current State: 43:[35, 8], Operations: ['86-51=35', '97-89=8'] Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[86, 51, 89, 97], Operations: [] Exploring Operation: 97-51=46, Resulting Numbers: [86, 89, 46] Generated Node #0,0: 43:[86, 89, 46] Operation: 97-51=46 Exploring Operation: 97-89=8, Resulting Numbers: [86, 51, 8] Generated Node #0,1: 43:[86, 51, 8] Operation: 97-89=8 Exploring Operation: 97-86=11, Resulting Numbers: [51, 89, 11] Generated Node #0,2: 43:[51, 89, 11] Operation: 97-86=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[86, 51, 8], Operations: ['97-89=8'] Exploring Operation: 86-51=35, Resulting Numbers: [8, 35] Generated Node #0,1,0: 43:[8, 35] Operation: 86-51=35 Exploring Operation: 51-8=43, Resulting Numbers: [86, 43] Generated Node #0,1,1: 43:[86, 43] Operation: 51-8=43 Exploring Operation: 86-8=78, Resulting Numbers: [51, 78] Generated Node #0,1,2: 43:[51, 78] Operation: 86-8=78 Moving to Node #0,1,0 Current State: 43:[8, 35], Operations: ['97-89=8', '86-51=35'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,43 unequal: No Solution Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[86, 51, 89, 97], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [86, 51, 8] Generated Node #0,1: 43:[86, 51, 8] Operation: 97-89=8 Moving to Node #0,1 Current State: 43:[86, 51, 8], Operations: ['97-89=8'] Exploring Operation: 86-51=35, Resulting Numbers: [8, 35] Generated Node #0,1,0: 43:[8, 35] Operation: 86-51=35 Moving to Node #0,1,0 Current State: 43:[8, 35], Operations: ['97-89=8', '86-51=35'] Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 43, 4, 33, 11 ]
29
[ "43-33=10", "4*10=40", "40-11=29" ]
Current State: 29:[43, 4, 33, 11], Operations: [] Exploring Operation: 43-33=10, Resulting Numbers: [4, 11, 10] Generated Node #2: [4, 11, 10] from Operation: 43-33=10 Current State: 29:[4, 11, 10], Operations: ['43-33=10'] Exploring Operation: 4*10=40, Resulting Numbers: [11, 40] Generated Node #3: [11, 40] from Operation: 4*10=40 Current State: 29:[11, 40], Operations: ['43-33=10', '4*10=40'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[43, 4, 33, 11], Operations: [] Exploring Operation: 43-4=39, Resulting Numbers: [33, 11, 39] Generated Node #0,0: 29:[33, 11, 39] Operation: 43-4=39 Exploring Operation: 43-11=32, Resulting Numbers: [4, 33, 32] Generated Node #0,1: 29:[4, 33, 32] Operation: 43-11=32 Exploring Operation: 33-4=29, Resulting Numbers: [43, 11, 29] Generated Node #0,2: 29:[43, 11, 29] Operation: 33-4=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[33, 11, 39], Operations: ['43-4=39'] Exploring Operation: 33-11=22, Resulting Numbers: [39, 22] Generated Node #0,0,0: 29:[39, 22] Operation: 33-11=22 Exploring Operation: 39-11=28, Resulting Numbers: [33, 28] Generated Node #0,0,1: 29:[33, 28] Operation: 39-11=28 Exploring Operation: 33+11=44, Resulting Numbers: [39, 44] Generated Node #0,0,2: 29:[39, 44] Operation: 33+11=44 Moving to Node #0,0,1 Current State: 29:[33, 28], Operations: ['43-4=39', '39-11=28'] Exploring Operation: 33+28=61, Resulting Numbers: [61] 61,29 unequal: No Solution Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 33*28=924, Resulting Numbers: [924] 924,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[39, 22], Operations: ['43-4=39', '33-11=22'] Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,29 unequal: No Solution Exploring Operation: 39*22=858, Resulting Numbers: [858] 858,29 unequal: No Solution Exploring Operation: 39+22=61, Resulting Numbers: [61] 61,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[39, 44], Operations: ['43-4=39', '33+11=44'] Exploring Operation: 44-39=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 39+44=83, Resulting Numbers: [83] 83,29 unequal: No Solution Exploring Operation: 39*44=1716, Resulting Numbers: [1716] 1716,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 Current State: 29:[4, 33, 32], Operations: ['43-11=32'] Exploring Operation: 33-4=29, Resulting Numbers: [32, 29] Generated Node #0,1,0: 29:[32, 29] Operation: 33-4=29 Exploring Operation: 4+33=37, Resulting Numbers: [32, 37] Generated Node #0,1,1: 29:[32, 37] Operation: 4+33=37 Exploring Operation: 32-4=28, Resulting Numbers: [33, 28] Generated Node #0,1,2: 29:[33, 28] Operation: 32-4=28 Moving to Node #0,1,0 Current State: 29:[32, 29], Operations: ['43-11=32', '33-4=29'] Exploring Operation: 32*29=928, Resulting Numbers: [928] 928,29 unequal: No Solution Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 32+29=61, Resulting Numbers: [61] 61,29 unequal: No Solution Moving to Node #0,1,2 Current State: 29:[33, 28], Operations: ['43-11=32', '32-4=28'] Exploring Operation: 33*28=924, Resulting Numbers: [924] 924,29 unequal: No Solution Exploring Operation: 33+28=61, Resulting Numbers: [61] 61,29 unequal: No Solution Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[32, 37], Operations: ['43-11=32', '4+33=37'] Exploring Operation: 32*37=1184, Resulting Numbers: [1184] 1184,29 unequal: No Solution Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 32+37=69, Resulting Numbers: [69] 69,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 Current State: 29:[43, 11, 29], Operations: ['33-4=29'] Exploring Operation: 11+29=40, Resulting Numbers: [43, 40] Generated Node #0,2,0: 29:[43, 40] Operation: 11+29=40 Exploring Operation: 43-11=32, Resulting Numbers: [29, 32] Generated Node #0,2,1: 29:[29, 32] Operation: 43-11=32 Exploring Operation: 43+11=54, Resulting Numbers: [29, 54] Generated Node #0,2,2: 29:[29, 54] Operation: 43+11=54 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 29:[29, 32], Operations: ['33-4=29', '43-11=32'] Exploring Operation: 29*32=928, Resulting Numbers: [928] 928,29 unequal: No Solution Exploring Operation: 29+32=61, Resulting Numbers: [61] 61,29 unequal: No Solution Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,29 unequal: No Solution No 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: 29:[43, 40], Operations: ['33-4=29', '11+29=40'] Exploring Operation: 43-40=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 43*40=1720, Resulting Numbers: [1720] 1720,29 unequal: No Solution Exploring Operation: 43+40=83, Resulting Numbers: [83] 83,29 unequal: No Solution No 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: 29:[29, 54], Operations: ['33-4=29', '43+11=54'] Exploring Operation: 54-29=25, Resulting Numbers: [25] 25,29 unequal: No Solution Exploring Operation: 29*54=1566, Resulting Numbers: [1566] 1566,29 unequal: No Solution Exploring Operation: 29+54=83, Resulting Numbers: [83] 83,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 33, 58, 73, 90 ]
73
[ "33+58=91", "91-90=1", "73*1=73" ]
Current State: 73:[33, 58, 73, 90], Operations: [] Exploring Operation: 33+58=91, Resulting Numbers: [73, 90, 91] Generated Node #2: [73, 90, 91] from Operation: 33+58=91 Current State: 73:[73, 90, 91], Operations: ['33+58=91'] Exploring Operation: 91-90=1, Resulting Numbers: [73, 1] Generated Node #3: [73, 1] from Operation: 91-90=1 Current State: 73:[73, 1], Operations: ['33+58=91', '91-90=1'] Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[33, 58, 73, 90], Operations: [] Exploring Operation: 90-33=57, Resulting Numbers: [58, 73, 57] Generated Node #0,0: 73:[58, 73, 57] Operation: 90-33=57 Moving to Node #0,0 Current State: 73:[58, 73, 57], Operations: ['90-33=57'] Exploring Operation: 58+57=115, Resulting Numbers: [73, 115] Generated Node #0,0,0: 73:[73, 115] Operation: 58+57=115 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[73, 115], Operations: ['90-33=57', '58+57=115'] Exploring Operation: 115-73=42, Resulting Numbers: [42] 42,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 92, 25, 8, 69 ]
73
[ "92+8=100", "100/25=4", "69+4=73" ]
Current State: 73:[92, 25, 8, 69], Operations: [] Exploring Operation: 92+8=100, Resulting Numbers: [25, 69, 100] Generated Node #2: [25, 69, 100] from Operation: 92+8=100 Current State: 73:[25, 69, 100], Operations: ['92+8=100'] Exploring Operation: 100/25=4, Resulting Numbers: [69, 4] Generated Node #3: [69, 4] from Operation: 100/25=4 Current State: 73:[69, 4], Operations: ['92+8=100', '100/25=4'] Exploring Operation: 69+4=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[92, 25, 8, 69], Operations: [] Exploring Operation: 92-8=84, Resulting Numbers: [25, 69, 84] Generated Node #0,0: 73:[25, 69, 84] Operation: 92-8=84 Exploring Operation: 8+69=77, Resulting Numbers: [92, 25, 77] Generated Node #0,1: 73:[92, 25, 77] Operation: 8+69=77 Exploring Operation: 25+8=33, Resulting Numbers: [92, 69, 33] Generated Node #0,2: 73:[92, 69, 33] Operation: 25+8=33 Exploring Operation: 92-25=67, Resulting Numbers: [8, 69, 67] Generated Node #0,3: 73:[8, 69, 67] Operation: 92-25=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[25, 69, 84], Operations: ['92-8=84'] Exploring Operation: 25+69=94, Resulting Numbers: [84, 94] Generated Node #0,0,0: 73:[84, 94] Operation: 25+69=94 Exploring Operation: 69-25=44, Resulting Numbers: [84, 44] Generated Node #0,0,1: 73:[84, 44] Operation: 69-25=44 Exploring Operation: 84-25=59, Resulting Numbers: [69, 59] Generated Node #0,0,2: 73:[69, 59] Operation: 84-25=59 Exploring Operation: 25+84=109, Resulting Numbers: [69, 109] Generated Node #0,0,3: 73:[69, 109] Operation: 25+84=109 Moving to Node #0,0,2 Current State: 73:[69, 59], Operations: ['92-8=84', '84-25=59'] Exploring Operation: 69-59=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 69+59=128, Resulting Numbers: [128] 128,73 unequal: No Solution Exploring Operation: 69*59=4071, Resulting Numbers: [4071] 4071,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[84, 94], Operations: ['92-8=84', '25+69=94'] Exploring Operation: 84*94=7896, Resulting Numbers: [7896] 7896,73 unequal: No Solution Exploring Operation: 94-84=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 84+94=178, Resulting Numbers: [178] 178,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[69, 109], Operations: ['92-8=84', '25+84=109'] Exploring Operation: 109-69=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 69*109=7521, Resulting Numbers: [7521] 7521,73 unequal: No Solution Exploring Operation: 69+109=178, Resulting Numbers: [178] 178,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[84, 44], Operations: ['92-8=84', '69-25=44'] Exploring Operation: 84-44=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 84+44=128, Resulting Numbers: [128] 128,73 unequal: No Solution Exploring Operation: 84*44=3696, Resulting Numbers: [3696] 3696,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[92, 69, 33], Operations: ['25+8=33'] Exploring Operation: 92-33=59, Resulting Numbers: [69, 59] Generated Node #0,2,0: 73:[69, 59] Operation: 92-33=59 Exploring Operation: 69-33=36, Resulting Numbers: [92, 36] Generated Node #0,2,1: 73:[92, 36] Operation: 69-33=36 Exploring Operation: 92+33=125, Resulting Numbers: [69, 125] Generated Node #0,2,2: 73:[69, 125] Operation: 92+33=125 Exploring Operation: 69+33=102, Resulting Numbers: [92, 102] Generated Node #0,2,3: 73:[92, 102] Operation: 69+33=102 Moving to Node #0,2,0 Current State: 73:[69, 59], Operations: ['25+8=33', '92-33=59'] Exploring Operation: 69+59=128, Resulting Numbers: [128] 128,73 unequal: No Solution Exploring Operation: 69-59=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 69*59=4071, Resulting Numbers: [4071] 4071,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[92, 102], Operations: ['25+8=33', '69+33=102'] Exploring Operation: 92+102=194, Resulting Numbers: [194] 194,73 unequal: No Solution Exploring Operation: 102-92=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 92*102=9384, Resulting Numbers: [9384] 9384,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[69, 125], Operations: ['25+8=33', '92+33=125'] Exploring Operation: 69*125=8625, Resulting Numbers: [8625] 8625,73 unequal: No Solution Exploring Operation: 69+125=194, Resulting Numbers: [194] 194,73 unequal: No Solution Exploring Operation: 125-69=56, Resulting Numbers: [56] 56,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[92, 36], Operations: ['25+8=33', '69-33=36'] Exploring Operation: 92+36=128, Resulting Numbers: [128] 128,73 unequal: No Solution Exploring Operation: 92*36=3312, Resulting Numbers: [3312] 3312,73 unequal: No Solution Exploring Operation: 92-36=56, Resulting Numbers: [56] 56,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[92, 25, 77], Operations: ['8+69=77'] Exploring Operation: 92-25=67, Resulting Numbers: [77, 67] Generated Node #0,1,0: 73:[77, 67] Operation: 92-25=67 Exploring Operation: 25+77=102, Resulting Numbers: [92, 102] Generated Node #0,1,1: 73:[92, 102] Operation: 25+77=102 Exploring Operation: 77-25=52, Resulting Numbers: [92, 52] Generated Node #0,1,2: 73:[92, 52] Operation: 77-25=52 Exploring Operation: 92+25=117, Resulting Numbers: [77, 117] Generated Node #0,1,3: 73:[77, 117] Operation: 92+25=117 Moving to Node #0,1,0 Current State: 73:[77, 67], Operations: ['8+69=77', '92-25=67'] Exploring Operation: 77*67=5159, Resulting Numbers: [5159] 5159,73 unequal: No Solution Exploring Operation: 77+67=144, Resulting Numbers: [144] 144,73 unequal: No Solution Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[92, 52], Operations: ['8+69=77', '77-25=52'] Exploring Operation: 92*52=4784, Resulting Numbers: [4784] 4784,73 unequal: No Solution Exploring Operation: 92-52=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 92+52=144, Resulting Numbers: [144] 144,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[77, 117], Operations: ['8+69=77', '92+25=117'] Exploring Operation: 77*117=9009, Resulting Numbers: [9009] 9009,73 unequal: No Solution Exploring Operation: 77+117=194, Resulting Numbers: [194] 194,73 unequal: No Solution Exploring Operation: 117-77=40, Resulting Numbers: [40] 40,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[92, 102], Operations: ['8+69=77', '25+77=102'] Exploring Operation: 102-92=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 92+102=194, Resulting Numbers: [194] 194,73 unequal: No Solution Exploring Operation: 92*102=9384, Resulting Numbers: [9384] 9384,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 73:[8, 69, 67], Operations: ['92-25=67'] Exploring Operation: 69-8=61, Resulting Numbers: [67, 61] Generated Node #0,3,0: 73:[67, 61] Operation: 69-8=61 Exploring Operation: 67-8=59, Resulting Numbers: [69, 59] Generated Node #0,3,1: 73:[69, 59] Operation: 67-8=59 Exploring Operation: 8+67=75, Resulting Numbers: [69, 75] Generated Node #0,3,2: 73:[69, 75] Operation: 8+67=75 Exploring Operation: 8+69=77, Resulting Numbers: [67, 77] Generated Node #0,3,3: 73:[67, 77] Operation: 8+69=77 Moving to Node #0,3,2 Current State: 73:[69, 75], Operations: ['92-25=67', '8+67=75'] Exploring Operation: 69+75=144, Resulting Numbers: [144] 144,73 unequal: No Solution Exploring Operation: 69*75=5175, Resulting Numbers: [5175] 5175,73 unequal: No Solution Exploring Operation: 75-69=6, Resulting Numbers: [6] 6,73 unequal: No Solution Moving to Node #0,3,3 Current State: 73:[67, 77], Operations: ['92-25=67', '8+69=77'] Exploring Operation: 67+77=144, Resulting Numbers: [144] 144,73 unequal: No Solution Exploring Operation: 67*77=5159, Resulting Numbers: [5159] 5159,73 unequal: No Solution Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[69, 59], Operations: ['92-25=67', '67-8=59'] Exploring Operation: 69-59=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 69+59=128, Resulting Numbers: [128] 128,73 unequal: No Solution Exploring Operation: 69*59=4071, Resulting Numbers: [4071] 4071,73 unequal: No Solution Moving to Node #0,3,0 Current State: 73:[67, 61], Operations: ['92-25=67', '69-8=61'] Exploring Operation: 67-61=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 67*61=4087, Resulting Numbers: [4087] 4087,73 unequal: No Solution Exploring Operation: 67+61=128, Resulting Numbers: [128] 128,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 20, 57, 63, 51 ]
65
[ "20+57=77", "63-51=12", "77-12=65" ]
Current State: 65:[20, 57, 63, 51], Operations: [] Exploring Operation: 20+57=77, Resulting Numbers: [63, 51, 77] Generated Node #2: [63, 51, 77] from Operation: 20+57=77 Current State: 65:[63, 51, 77], Operations: ['20+57=77'] Exploring Operation: 63-51=12, Resulting Numbers: [77, 12] Generated Node #3: [77, 12] from Operation: 63-51=12 Current State: 65:[77, 12], Operations: ['20+57=77', '63-51=12'] Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[20, 57, 63, 51], Operations: [] Exploring Operation: 20+51=71, Resulting Numbers: [57, 63, 71] Generated Node #0,0: 65:[57, 63, 71] Operation: 20+51=71 Exploring Operation: 20+57=77, Resulting Numbers: [63, 51, 77] Generated Node #0,1: 65:[63, 51, 77] Operation: 20+57=77 Exploring Operation: 63-57=6, Resulting Numbers: [20, 51, 6] Generated Node #0,2: 65:[20, 51, 6] Operation: 63-57=6 Exploring Operation: 57-51=6, Resulting Numbers: [20, 63, 6] Generated Node #0,3: 65:[20, 63, 6] Operation: 57-51=6 Exploring Operation: 63-51=12, Resulting Numbers: [20, 57, 12] Generated Node #0,4: 65:[20, 57, 12] Operation: 63-51=12 Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[20, 63, 6], Operations: ['57-51=6'] Exploring Operation: 63+6=69, Resulting Numbers: [20, 69] Generated Node #0,3,0: 65:[20, 69] Operation: 63+6=69 Exploring Operation: 20+63=83, Resulting Numbers: [6, 83] Generated Node #0,3,1: 65:[6, 83] Operation: 20+63=83 Exploring Operation: 20+6=26, Resulting Numbers: [63, 26] Generated Node #0,3,2: 65:[63, 26] Operation: 20+6=26 Exploring Operation: 63-6=57, Resulting Numbers: [20, 57] Generated Node #0,3,3: 65:[20, 57] Operation: 63-6=57 Exploring Operation: 20-6=14, Resulting Numbers: [63, 14] Generated Node #0,3,4: 65:[63, 14] Operation: 20-6=14 Moving to Node #0,3,4 Current State: 65:[63, 14], Operations: ['57-51=6', '20-6=14'] Exploring Operation: 63+14=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,65 unequal: No Solution Exploring Operation: 63*14=882, Resulting Numbers: [882] 882,65 unequal: No Solution Moving to Node #0,3,0 Current State: 65:[20, 69], Operations: ['57-51=6', '63+6=69'] Exploring Operation: 20+69=89, Resulting Numbers: [89] 89,65 unequal: No Solution Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,65 unequal: No Solution Exploring Operation: 20*69=1380, Resulting Numbers: [1380] 1380,65 unequal: No Solution Moving to Node #0,3,2 Current State: 65:[63, 26], Operations: ['57-51=6', '20+6=26'] Exploring Operation: 63*26=1638, Resulting Numbers: [1638] 1638,65 unequal: No Solution Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,65 unequal: No Solution Exploring Operation: 63+26=89, Resulting Numbers: [89] 89,65 unequal: No Solution Moving to Node #0,3,3 Current State: 65:[20, 57], Operations: ['57-51=6', '63-6=57'] Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,65 unequal: No Solution Exploring Operation: 20+57=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 20*57=1140, Resulting Numbers: [1140] 1140,65 unequal: No Solution Moving to Node #0,3,1 Current State: 65:[6, 83], Operations: ['57-51=6', '20+63=83'] Exploring Operation: 6*83=498, Resulting Numbers: [498] 498,65 unequal: No Solution Exploring Operation: 83-6=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 6+83=89, Resulting Numbers: [89] 89,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,0 Current State: 65:[57, 63, 71], Operations: ['20+51=71'] Exploring Operation: 71-63=8, Resulting Numbers: [57, 8] Generated Node #0,0,0: 65:[57, 8] Operation: 71-63=8 Exploring Operation: 63-57=6, Resulting Numbers: [71, 6] Generated Node #0,0,1: 65:[71, 6] Operation: 63-57=6 Exploring Operation: 71-57=14, Resulting Numbers: [63, 14] Generated Node #0,0,2: 65:[63, 14] Operation: 71-57=14 Exploring Operation: 57+63=120, Resulting Numbers: [71, 120] Generated Node #0,0,3: 65:[71, 120] Operation: 57+63=120 Exploring Operation: 57+71=128, Resulting Numbers: [63, 128] Generated Node #0,0,4: 65:[63, 128] Operation: 57+71=128 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 65:[63, 14], Operations: ['20+51=71', '71-57=14'] Exploring Operation: 63+14=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,65 unequal: No Solution Exploring Operation: 63*14=882, Resulting Numbers: [882] 882,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,1 Current State: 65:[71, 6], Operations: ['20+51=71', '63-57=6'] Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[20, 57, 63, 51], Operations: [] Exploring Operation: 20+51=71, Resulting Numbers: [57, 63, 71] Generated Node #0,0: 65:[57, 63, 71] Operation: 20+51=71 Moving to Node #0,0 Current State: 65:[57, 63, 71], Operations: ['20+51=71'] Exploring Operation: 63-57=6, Resulting Numbers: [71, 6] Generated Node #0,0,1: 65:[71, 6] Operation: 63-57=6 Moving to Node #0,0,1 Current State: 65:[71, 6], Operations: ['20+51=71', '63-57=6'] Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 18, 87, 18, 71 ]
20
[ "87-18=69", "18+71=89", "89-69=20" ]
Current State: 20:[18, 87, 18, 71], Operations: [] Exploring Operation: 87-18=69, Resulting Numbers: [71, 69] Generated Node #2: [71, 69] from Operation: 87-18=69 Current State: 20:[71, 69], Operations: ['87-18=69'] Exploring Operation: 18+71=89, Resulting Numbers: [69, 89] Generated Node #3: [69, 89] from Operation: 18+71=89 Current State: 20:[69, 89], Operations: ['87-18=69', '18+71=89'] Exploring Operation: 89-69=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[18, 87, 18, 71], Operations: [] Exploring Operation: 87-18=69, Resulting Numbers: [18, 71, 69] Generated Node #0,0: 20:[18, 71, 69] Operation: 87-18=69 Exploring Operation: 87-71=16, Resulting Numbers: [18, 18, 16] Generated Node #0,1: 20:[18, 18, 16] Operation: 87-71=16 Exploring Operation: 71-18=53, Resulting Numbers: [87, 18, 53] Generated Node #0,2: 20:[87, 18, 53] Operation: 71-18=53 Exploring Operation: 87-18=69, Resulting Numbers: [18, 71, 69] Generated Node #0,3: 20:[18, 71, 69] Operation: 87-18=69 Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[18, 18, 16], Operations: ['87-71=16'] Exploring Operation: 18-18=0, Resulting Numbers: [16, 0] Generated Node #0,1,0: 20:[16, 0] Operation: 18-18=0 Exploring Operation: 18-16=2, Resulting Numbers: [18, 2] Generated Node #0,1,1: 20:[18, 2] Operation: 18-16=2 Exploring Operation: 18-16=2, Resulting Numbers: [18, 2] Generated Node #0,1,2: 20:[18, 2] Operation: 18-16=2 Exploring Operation: 18/18=1, Resulting Numbers: [16, 1] Generated Node #0,1,3: 20:[16, 1] Operation: 18/18=1 Moving to Node #0,1,1 Current State: 20:[18, 2], Operations: ['87-71=16', '18-16=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[18, 87, 18, 71], Operations: [] Exploring Operation: 87-71=16, Resulting Numbers: [18, 18, 16] Generated Node #0,1: 20:[18, 18, 16] Operation: 87-71=16 Moving to Node #0,1 Current State: 20:[18, 18, 16], Operations: ['87-71=16'] Exploring Operation: 18-16=2, Resulting Numbers: [18, 2] Generated Node #0,1,1: 20:[18, 2] Operation: 18-16=2 Moving to Node #0,1,1 Current State: 20:[18, 2], Operations: ['87-71=16', '18-16=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 43, 34, 68, 93 ]
16
[ "43-34=9", "93-68=25", "25-9=16" ]
Current State: 16:[43, 34, 68, 93], Operations: [] Exploring Operation: 43-34=9, Resulting Numbers: [68, 93, 9] Generated Node #2: [68, 93, 9] from Operation: 43-34=9 Current State: 16:[68, 93, 9], Operations: ['43-34=9'] Exploring Operation: 93-68=25, Resulting Numbers: [9, 25] Generated Node #3: [9, 25] from Operation: 93-68=25 Current State: 16:[9, 25], Operations: ['43-34=9', '93-68=25'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[43, 34, 68, 93], Operations: [] Exploring Operation: 93-43=50, Resulting Numbers: [34, 68, 50] Generated Node #0,0: 16:[34, 68, 50] Operation: 93-43=50 Exploring Operation: 68/34=2, Resulting Numbers: [43, 93, 2] Generated Node #0,1: 16:[43, 93, 2] Operation: 68/34=2 Exploring Operation: 68-34=34, Resulting Numbers: [43, 93, 34] Generated Node #0,2: 16:[43, 93, 34] Operation: 68-34=34 Exploring Operation: 93-68=25, Resulting Numbers: [43, 34, 25] Generated Node #0,3: 16:[43, 34, 25] Operation: 93-68=25 Exploring Operation: 68-43=25, Resulting Numbers: [34, 93, 25] Generated Node #0,4: 16:[34, 93, 25] Operation: 68-43=25 Moving to Node #0,3 Current State: 16:[43, 34, 25], Operations: ['93-68=25'] Exploring Operation: 34-25=9, Resulting Numbers: [43, 9] Generated Node #0,3,0: 16:[43, 9] Operation: 34-25=9 Exploring Operation: 43+25=68, Resulting Numbers: [34, 68] Generated Node #0,3,1: 16:[34, 68] Operation: 43+25=68 Exploring Operation: 43-34=9, Resulting Numbers: [25, 9] Generated Node #0,3,2: 16:[25, 9] Operation: 43-34=9 Exploring Operation: 43-25=18, Resulting Numbers: [34, 18] Generated Node #0,3,3: 16:[34, 18] Operation: 43-25=18 Exploring Operation: 43+34=77, Resulting Numbers: [25, 77] Generated Node #0,3,4: 16:[25, 77] Operation: 43+34=77 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 16:[25, 9], Operations: ['93-68=25', '43-34=9'] Exploring Operation: 25+9=34, Resulting Numbers: [34] 34,16 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[43, 34, 68, 93], Operations: [] Exploring Operation: 93-68=25, Resulting Numbers: [43, 34, 25] Generated Node #0,3: 16:[43, 34, 25] Operation: 93-68=25 Moving to Node #0,3 Current State: 16:[43, 34, 25], Operations: ['93-68=25'] Exploring Operation: 43-34=9, Resulting Numbers: [25, 9] Generated Node #0,3,2: 16:[25, 9] Operation: 43-34=9 Moving to Node #0,3,2 Current State: 16:[25, 9], Operations: ['93-68=25', '43-34=9'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 6, 33, 81, 35 ]
89
[ "33-6=27", "81+35=116", "116-27=89" ]
Current State: 89:[6, 33, 81, 35], Operations: [] Exploring Operation: 33-6=27, Resulting Numbers: [81, 35, 27] Generated Node #2: [81, 35, 27] from Operation: 33-6=27 Current State: 89:[81, 35, 27], Operations: ['33-6=27'] Exploring Operation: 81+35=116, Resulting Numbers: [27, 116] Generated Node #3: [27, 116] from Operation: 81+35=116 Current State: 89:[27, 116], Operations: ['33-6=27', '81+35=116'] Exploring Operation: 116-27=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[6, 33, 81, 35], Operations: [] Exploring Operation: 6+33=39, Resulting Numbers: [81, 35, 39] Generated Node #0,0: 89:[81, 35, 39] Operation: 6+33=39 Exploring Operation: 6+81=87, Resulting Numbers: [33, 35, 87] Generated Node #0,1: 89:[33, 35, 87] Operation: 6+81=87 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[81, 35, 39], Operations: ['6+33=39'] Exploring Operation: 81+35=116, Resulting Numbers: [39, 116] Generated Node #0,0,0: 89:[39, 116] Operation: 81+35=116 Exploring Operation: 35+39=74, Resulting Numbers: [81, 74] Generated Node #0,0,1: 89:[81, 74] Operation: 35+39=74 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[81, 74], Operations: ['6+33=39', '35+39=74'] Exploring Operation: 81-74=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 81+74=155, Resulting Numbers: [155] 155,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[39, 116], Operations: ['6+33=39', '81+35=116'] Exploring Operation: 39+116=155, Resulting Numbers: [155] 155,89 unequal: No Solution Exploring Operation: 116-39=77, Resulting Numbers: [77] 77,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[33, 35, 87], Operations: ['6+81=87'] Exploring Operation: 33+87=120, Resulting Numbers: [35, 120] Generated Node #0,1,0: 89:[35, 120] Operation: 33+87=120 Exploring Operation: 33+35=68, Resulting Numbers: [87, 68] Generated Node #0,1,1: 89:[87, 68] Operation: 33+35=68 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[87, 68], Operations: ['6+81=87', '33+35=68'] Exploring Operation: 87+68=155, Resulting Numbers: [155] 155,89 unequal: No Solution Exploring Operation: 87-68=19, Resulting Numbers: [19] 19,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[35, 120], Operations: ['6+81=87', '33+87=120'] Exploring Operation: 35+120=155, Resulting Numbers: [155] 155,89 unequal: No Solution Exploring Operation: 120-35=85, Resulting Numbers: [85] 85,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 60, 84, 77, 32 ]
85
[ "84-60=24", "77+32=109", "109-24=85" ]
Current State: 85:[60, 84, 77, 32], Operations: [] Exploring Operation: 84-60=24, Resulting Numbers: [77, 32, 24] Generated Node #2: [77, 32, 24] from Operation: 84-60=24 Current State: 85:[77, 32, 24], Operations: ['84-60=24'] Exploring Operation: 77+32=109, Resulting Numbers: [24, 109] Generated Node #3: [24, 109] from Operation: 77+32=109 Current State: 85:[24, 109], Operations: ['84-60=24', '77+32=109'] Exploring Operation: 109-24=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[60, 84, 77, 32], Operations: [] Exploring Operation: 84-77=7, Resulting Numbers: [60, 32, 7] Generated Node #0,0: 85:[60, 32, 7] Operation: 84-77=7 Exploring Operation: 77-60=17, Resulting Numbers: [84, 32, 17] Generated Node #0,1: 85:[84, 32, 17] Operation: 77-60=17 Exploring Operation: 60+32=92, Resulting Numbers: [84, 77, 92] Generated Node #0,2: 85:[84, 77, 92] Operation: 60+32=92 Exploring Operation: 60-32=28, Resulting Numbers: [84, 77, 28] Generated Node #0,3: 85:[84, 77, 28] Operation: 60-32=28 Exploring Operation: 84-60=24, Resulting Numbers: [77, 32, 24] Generated Node #0,4: 85:[77, 32, 24] Operation: 84-60=24 Moving to Node #0,1 Current State: 85:[84, 32, 17], Operations: ['77-60=17'] Exploring Operation: 32-17=15, Resulting Numbers: [84, 15] Generated Node #0,1,0: 85:[84, 15] Operation: 32-17=15 Exploring Operation: 84-32=52, Resulting Numbers: [17, 52] Generated Node #0,1,1: 85:[17, 52] Operation: 84-32=52 Exploring Operation: 84-17=67, Resulting Numbers: [32, 67] Generated Node #0,1,2: 85:[32, 67] Operation: 84-17=67 Exploring Operation: 84+17=101, Resulting Numbers: [32, 101] Generated Node #0,1,3: 85:[32, 101] Operation: 84+17=101 Exploring Operation: 84+32=116, Resulting Numbers: [17, 116] Generated Node #0,1,4: 85:[17, 116] Operation: 84+32=116 Moving to Node #0,2 Current State: 85:[84, 77, 92], Operations: ['60+32=92'] Exploring Operation: 92-77=15, Resulting Numbers: [84, 15] Generated Node #0,2,0: 85:[84, 15] Operation: 92-77=15 Exploring Operation: 92-84=8, Resulting Numbers: [77, 8] Generated Node #0,2,1: 85:[77, 8] Operation: 92-84=8 Exploring Operation: 84+77=161, Resulting Numbers: [92, 161] Generated Node #0,2,2: 85:[92, 161] Operation: 84+77=161 Exploring Operation: 77+92=169, Resulting Numbers: [84, 169] Generated Node #0,2,3: 85:[84, 169] Operation: 77+92=169 Exploring Operation: 84-77=7, Resulting Numbers: [92, 7] Generated Node #0,2,4: 85:[92, 7] Operation: 84-77=7 Moving to Node #0,3 Current State: 85:[84, 77, 28], Operations: ['60-32=28'] Exploring Operation: 77-28=49, Resulting Numbers: [84, 49] Generated Node #0,3,0: 85:[84, 49] Operation: 77-28=49 Exploring Operation: 84-77=7, Resulting Numbers: [28, 7] Generated Node #0,3,1: 85:[28, 7] Operation: 84-77=7 Exploring Operation: 84/28=3, Resulting Numbers: [77, 3] Generated Node #0,3,2: 85:[77, 3] Operation: 84/28=3 Exploring Operation: 84+28=112, Resulting Numbers: [77, 112] Generated Node #0,3,3: 85:[77, 112] Operation: 84+28=112 Exploring Operation: 77+28=105, Resulting Numbers: [84, 105] Generated Node #0,3,4: 85:[84, 105] Operation: 77+28=105 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 85:[77, 3], Operations: ['60-32=28', '84/28=3'] Exploring Operation: 77*3=231, Resulting Numbers: [231] 231,85 unequal: No Solution Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,85 unequal: No Solution Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 85:[28, 7], Operations: ['60-32=28', '84-77=7'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,85 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 85:[84, 105], Operations: ['60-32=28', '77+28=105'] Exploring Operation: 84*105=8820, Resulting Numbers: [8820] 8820,85 unequal: No Solution Exploring Operation: 105-84=21, Resulting Numbers: [21] 21,85 unequal: No Solution Exploring Operation: 84+105=189, Resulting Numbers: [189] 189,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 85:[84, 49], Operations: ['60-32=28', '77-28=49'] Exploring Operation: 84+49=133, Resulting Numbers: [133] 133,85 unequal: No Solution Exploring Operation: 84-49=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 84*49=4116, Resulting Numbers: [4116] 4116,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 85:[77, 112], Operations: ['60-32=28', '84+28=112'] Exploring Operation: 77+112=189, Resulting Numbers: [189] 189,85 unequal: No Solution Exploring Operation: 112-77=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 77*112=8624, Resulting Numbers: [8624] 8624,85 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: 85:[77, 32, 24], Operations: ['84-60=24'] Exploring Operation: 77+24=101, Resulting Numbers: [32, 101] Generated Node #0,4,0: 85:[32, 101] Operation: 77+24=101 Exploring Operation: 32-24=8, Resulting Numbers: [77, 8] Generated Node #0,4,1: 85:[77, 8] Operation: 32-24=8 Exploring Operation: 77-32=45, Resulting Numbers: [24, 45] Generated Node #0,4,2: 85:[24, 45] Operation: 77-32=45 Exploring Operation: 32+24=56, Resulting Numbers: [77, 56] Generated Node #0,4,3: 85:[77, 56] Operation: 32+24=56 Exploring Operation: 77+32=109, Resulting Numbers: [24, 109] Generated Node #0,4,4: 85:[24, 109] Operation: 77+32=109 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 85:[77, 8], Operations: ['84-60=24', '32-24=8'] Exploring Operation: 77+8=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[60, 84, 77, 32], Operations: [] Exploring Operation: 84-60=24, Resulting Numbers: [77, 32, 24] Generated Node #0,4: 85:[77, 32, 24] Operation: 84-60=24 Moving to Node #0,4 Current State: 85:[77, 32, 24], Operations: ['84-60=24'] Exploring Operation: 32-24=8, Resulting Numbers: [77, 8] Generated Node #0,4,1: 85:[77, 8] Operation: 32-24=8 Moving to Node #0,4,1 Current State: 85:[77, 8], Operations: ['84-60=24', '32-24=8'] Exploring Operation: 77+8=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
mult_heuristic
[ 88, 44, 1, 77 ]
38
[ "88/44=2", "77-1=76", "76/2=38" ]
Current State: 38:[88, 44, 1, 77], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [1, 77, 2] Generated Node #2: [1, 77, 2] from Operation: 88/44=2 Current State: 38:[1, 77, 2], Operations: ['88/44=2'] Exploring Operation: 77-1=76, Resulting Numbers: [2, 76] Generated Node #3: [2, 76] from Operation: 77-1=76 Current State: 38:[2, 76], Operations: ['88/44=2', '77-1=76'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[88, 44, 1, 77], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [1, 77, 2] Generated Node #0,0: 38:[1, 77, 2] Operation: 88/44=2 Exploring Operation: 88-77=11, Resulting Numbers: [44, 1, 11] Generated Node #0,1: 38:[44, 1, 11] Operation: 88-77=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[44, 1, 11], Operations: ['88-77=11'] Exploring Operation: 44/11=4, Resulting Numbers: [1, 4] Generated Node #0,1,0: 38:[1, 4] Operation: 44/11=4 Exploring Operation: 44-11=33, Resulting Numbers: [1, 33] Generated Node #0,1,1: 38:[1, 33] Operation: 44-11=33 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[1, 4], Operations: ['88-77=11', '44/11=4'] Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[1, 33], Operations: ['88-77=11', '44-11=33'] Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,38 unequal: No Solution Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,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,0 Current State: 38:[1, 77, 2], Operations: ['88/44=2'] Exploring Operation: 77-2=75, Resulting Numbers: [1, 75] Generated Node #0,0,0: 38:[1, 75] Operation: 77-2=75 Exploring Operation: 77-1=76, Resulting Numbers: [2, 76] Generated Node #0,0,1: 38:[2, 76] Operation: 77-1=76 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[1, 75], Operations: ['88/44=2', '77-2=75'] Exploring Operation: 1*75=75, Resulting Numbers: [75] 75,38 unequal: No Solution Exploring Operation: 75-1=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,1 Current State: 38:[2, 76], Operations: ['88/44=2', '77-1=76'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,38 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[88, 44, 1, 77], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [1, 77, 2] Generated Node #0,0: 38:[1, 77, 2] Operation: 88/44=2 Moving to Node #0,0 Current State: 38:[1, 77, 2], Operations: ['88/44=2'] Exploring Operation: 77-1=76, Resulting Numbers: [2, 76] Generated Node #0,0,1: 38:[2, 76] Operation: 77-1=76 Moving to Node #0,0,1 Current State: 38:[2, 76], Operations: ['88/44=2', '77-1=76'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_2
sum_heuristic
[ 55, 10, 49, 9 ]
25
[ "55+10=65", "49-9=40", "65-40=25" ]
Current State: 25:[55, 10, 49, 9], Operations: [] Exploring Operation: 55+10=65, Resulting Numbers: [49, 9, 65] Generated Node #2: [49, 9, 65] from Operation: 55+10=65 Current State: 25:[49, 9, 65], Operations: ['55+10=65'] Exploring Operation: 49-9=40, Resulting Numbers: [65, 40] Generated Node #3: [65, 40] from Operation: 49-9=40 Current State: 25:[65, 40], Operations: ['55+10=65', '49-9=40'] Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[55, 10, 49, 9], Operations: [] Exploring Operation: 55-49=6, Resulting Numbers: [10, 9, 6] Generated Node #0,0: 25:[10, 9, 6] Operation: 55-49=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[10, 9, 6], Operations: ['55-49=6'] Exploring Operation: 10-9=1, Resulting Numbers: [6, 1] Generated Node #0,0,0: 25:[6, 1] Operation: 10-9=1 Moving to Node #0,0,0 Current State: 25:[6, 1], Operations: ['55-49=6', '10-9=1'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,25 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
[ 57, 39, 11, 15 ]
24
[ "57+39=96", "15-11=4", "96/4=24" ]
Current State: 24:[57, 39, 11, 15], Operations: [] Exploring Operation: 57+39=96, Resulting Numbers: [11, 15, 96] Generated Node #2: [11, 15, 96] from Operation: 57+39=96 Current State: 24:[11, 15, 96], Operations: ['57+39=96'] Exploring Operation: 15-11=4, Resulting Numbers: [96, 4] Generated Node #3: [96, 4] from Operation: 15-11=4 Current State: 24:[96, 4], Operations: ['57+39=96', '15-11=4'] Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[57, 39, 11, 15], Operations: [] Exploring Operation: 57-11=46, Resulting Numbers: [39, 15, 46] Generated Node #0,0: 24:[39, 15, 46] Operation: 57-11=46 Exploring Operation: 57-15=42, Resulting Numbers: [39, 11, 42] Generated Node #0,1: 24:[39, 11, 42] Operation: 57-15=42 Exploring Operation: 39-15=24, Resulting Numbers: [57, 11, 24] Generated Node #0,2: 24:[57, 11, 24] Operation: 39-15=24 Exploring Operation: 57-39=18, Resulting Numbers: [11, 15, 18] Generated Node #0,3: 24:[11, 15, 18] Operation: 57-39=18 Exploring Operation: 39-11=28, Resulting Numbers: [57, 15, 28] Generated Node #0,4: 24:[57, 15, 28] Operation: 39-11=28 Moving to Node #0,3 Current State: 24:[11, 15, 18], Operations: ['57-39=18'] Exploring Operation: 18-15=3, Resulting Numbers: [11, 3] Generated Node #0,3,0: 24:[11, 3] Operation: 18-15=3 Exploring Operation: 15-11=4, Resulting Numbers: [18, 4] Generated Node #0,3,1: 24:[18, 4] Operation: 15-11=4 Exploring Operation: 11+18=29, Resulting Numbers: [15, 29] Generated Node #0,3,2: 24:[15, 29] Operation: 11+18=29 Exploring Operation: 18-11=7, Resulting Numbers: [15, 7] Generated Node #0,3,3: 24:[15, 7] Operation: 18-11=7 Exploring Operation: 11+15=26, Resulting Numbers: [18, 26] Generated Node #0,3,4: 24:[18, 26] Operation: 11+15=26 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 24:[11, 3], Operations: ['57-39=18', '18-15=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 24:[15, 7], Operations: ['57-39=18', '18-11=7'] Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,24 unequal: No Solution Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 24:[18, 4], Operations: ['57-39=18', '15-11=4'] Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,24 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 24:[15, 29], Operations: ['57-39=18', '11+18=29'] Exploring Operation: 15*29=435, Resulting Numbers: [435] 435,24 unequal: No Solution Exploring Operation: 15+29=44, Resulting Numbers: [44] 44,24 unequal: No Solution Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 24:[18, 26], Operations: ['57-39=18', '11+15=26'] Exploring Operation: 18*26=468, Resulting Numbers: [468] 468,24 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 18+26=44, Resulting Numbers: [44] 44,24 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: 24:[57, 11, 24], Operations: ['39-15=24'] Exploring Operation: 11+24=35, Resulting Numbers: [57, 35] Generated Node #0,2,0: 24:[57, 35] Operation: 11+24=35 Exploring Operation: 57-11=46, Resulting Numbers: [24, 46] Generated Node #0,2,1: 24:[24, 46] Operation: 57-11=46 Exploring Operation: 57+11=68, Resulting Numbers: [24, 68] Generated Node #0,2,2: 24:[24, 68] Operation: 57+11=68 Exploring Operation: 24-11=13, Resulting Numbers: [57, 13] Generated Node #0,2,3: 24:[57, 13] Operation: 24-11=13 Exploring Operation: 57-24=33, Resulting Numbers: [11, 33] Generated Node #0,2,4: 24:[11, 33] Operation: 57-24=33 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 24:[11, 33], Operations: ['39-15=24', '57-24=33'] Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,24 unequal: No Solution Exploring Operation: 11*33=363, Resulting Numbers: [363] 363,24 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 24:[24, 46], Operations: ['39-15=24', '57-11=46'] Exploring Operation: 24*46=1104, Resulting Numbers: [1104] 1104,24 unequal: No Solution Exploring Operation: 24+46=70, Resulting Numbers: [70] 70,24 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 24:[57, 13], Operations: ['39-15=24', '24-11=13'] Exploring Operation: 57*13=741, Resulting Numbers: [741] 741,24 unequal: No Solution Exploring Operation: 57+13=70, Resulting Numbers: [70] 70,24 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 24:[57, 35], Operations: ['39-15=24', '11+24=35'] Exploring Operation: 57+35=92, Resulting Numbers: [92] 92,24 unequal: No Solution Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 57*35=1995, Resulting Numbers: [1995] 1995,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 24:[24, 68], Operations: ['39-15=24', '57+11=68'] Exploring Operation: 68-24=44, Resulting Numbers: [44] 44,24 unequal: No Solution Exploring Operation: 24*68=1632, Resulting Numbers: [1632] 1632,24 unequal: No Solution Exploring Operation: 24+68=92, Resulting Numbers: [92] 92,24 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: 24:[39, 11, 42], Operations: ['57-15=42'] Exploring Operation: 39-11=28, Resulting Numbers: [42, 28] Generated Node #0,1,0: 24:[42, 28] Operation: 39-11=28 Exploring Operation: 42-11=31, Resulting Numbers: [39, 31] Generated Node #0,1,1: 24:[39, 31] Operation: 42-11=31 Exploring Operation: 11+42=53, Resulting Numbers: [39, 53] Generated Node #0,1,2: 24:[39, 53] Operation: 11+42=53 Exploring Operation: 42-39=3, Resulting Numbers: [11, 3] Generated Node #0,1,3: 24:[11, 3] Operation: 42-39=3 Exploring Operation: 39+11=50, Resulting Numbers: [42, 50] Generated Node #0,1,4: 24:[42, 50] Operation: 39+11=50 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 24:[11, 3], Operations: ['57-15=42', '42-39=3'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[42, 28], Operations: ['57-15=42', '39-11=28'] Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 42*28=1176, Resulting Numbers: [1176] 1176,24 unequal: No Solution Exploring Operation: 42+28=70, Resulting Numbers: [70] 70,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[39, 31], Operations: ['57-15=42', '42-11=31'] Exploring Operation: 39+31=70, Resulting Numbers: [70] 70,24 unequal: No Solution Exploring Operation: 39*31=1209, Resulting Numbers: [1209] 1209,24 unequal: No Solution Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 24:[39, 53], Operations: ['57-15=42', '11+42=53'] Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 39*53=2067, Resulting Numbers: [2067] 2067,24 unequal: No Solution Exploring Operation: 39+53=92, Resulting Numbers: [92] 92,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 24:[42, 50], Operations: ['57-15=42', '39+11=50'] Exploring Operation: 50-42=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 42+50=92, Resulting Numbers: [92] 92,24 unequal: No Solution Exploring Operation: 42*50=2100, Resulting Numbers: [2100] 2100,24 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: 24:[39, 15, 46], Operations: ['57-11=46'] Exploring Operation: 46-15=31, Resulting Numbers: [39, 31] Generated Node #0,0,0: 24:[39, 31] Operation: 46-15=31 Exploring Operation: 39+15=54, Resulting Numbers: [46, 54] Generated Node #0,0,1: 24:[46, 54] Operation: 39+15=54 Exploring Operation: 39-15=24, Resulting Numbers: [46, 24] Generated Node #0,0,2: 24:[46, 24] Operation: 39-15=24 Exploring Operation: 46-39=7, Resulting Numbers: [15, 7] Generated Node #0,0,3: 24:[15, 7] Operation: 46-39=7 Exploring Operation: 15+46=61, Resulting Numbers: [39, 61] Generated Node #0,0,4: 24:[39, 61] Operation: 15+46=61 Moving to Node #0,4 Current State: 24:[57, 15, 28], Operations: ['39-11=28'] Exploring Operation: 57-28=29, Resulting Numbers: [15, 29] Generated Node #0,4,0: 24:[15, 29] Operation: 57-28=29 Exploring Operation: 57-15=42, Resulting Numbers: [28, 42] Generated Node #0,4,1: 24:[28, 42] Operation: 57-15=42 Exploring Operation: 57+15=72, Resulting Numbers: [28, 72] Generated Node #0,4,2: 24:[28, 72] Operation: 57+15=72 Exploring Operation: 15+28=43, Resulting Numbers: [57, 43] Generated Node #0,4,3: 24:[57, 43] Operation: 15+28=43 Exploring Operation: 28-15=13, Resulting Numbers: [57, 13] Generated Node #0,4,4: 24:[57, 13] Operation: 28-15=13 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 24:[15, 29], Operations: ['39-11=28', '57-28=29'] Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 15*29=435, Resulting Numbers: [435] 435,24 unequal: No Solution Exploring Operation: 15+29=44, Resulting Numbers: [44] 44,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 24:[28, 42], Operations: ['39-11=28', '57-15=42'] Exploring Operation: 28*42=1176, Resulting Numbers: [1176] 1176,24 unequal: No Solution Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 28+42=70, Resulting Numbers: [70] 70,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 24:[57, 13], Operations: ['39-11=28', '28-15=13'] Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,24 unequal: No Solution Exploring Operation: 57+13=70, Resulting Numbers: [70] 70,24 unequal: No Solution Exploring Operation: 57*13=741, Resulting Numbers: [741] 741,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 24:[28, 72], Operations: ['39-11=28', '57+15=72'] Exploring Operation: 72-28=44, Resulting Numbers: [44] 44,24 unequal: No Solution Exploring Operation: 28+72=100, Resulting Numbers: [100] 100,24 unequal: No Solution Exploring Operation: 28*72=2016, Resulting Numbers: [2016] 2016,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 24:[57, 43], Operations: ['39-11=28', '15+28=43'] Exploring Operation: 57*43=2451, Resulting Numbers: [2451] 2451,24 unequal: No Solution Exploring Operation: 57+43=100, Resulting Numbers: [100] 100,24 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 24:[15, 7], Operations: ['57-11=46', '46-39=7'] Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,24 unequal: No Solution Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[46, 24], Operations: ['57-11=46', '39-15=24'] Exploring Operation: 46+24=70, Resulting Numbers: [70] 70,24 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 46*24=1104, Resulting Numbers: [1104] 1104,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[39, 31], Operations: ['57-11=46', '46-15=31'] Exploring Operation: 39*31=1209, Resulting Numbers: [1209] 1209,24 unequal: No Solution Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 39+31=70, Resulting Numbers: [70] 70,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[46, 54], Operations: ['57-11=46', '39+15=54'] Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 46*54=2484, Resulting Numbers: [2484] 2484,24 unequal: No Solution Exploring Operation: 46+54=100, Resulting Numbers: [100] 100,24 unequal: No Solution Moving to Node #0,0,4 Current State: 24:[39, 61], Operations: ['57-11=46', '15+46=61'] Exploring Operation: 39+61=100, Resulting Numbers: [100] 100,24 unequal: No Solution Exploring Operation: 39*61=2379, Resulting Numbers: [2379] 2379,24 unequal: No Solution Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,24 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 24, 57, 37, 54 ]
27
[ "57+54=111", "111/37=3", "24+3=27" ]
Current State: 27:[24, 57, 37, 54], Operations: [] Exploring Operation: 57+54=111, Resulting Numbers: [24, 37, 111] Generated Node #2: [24, 37, 111] from Operation: 57+54=111 Current State: 27:[24, 37, 111], Operations: ['57+54=111'] Exploring Operation: 111/37=3, Resulting Numbers: [24, 3] Generated Node #3: [24, 3] from Operation: 111/37=3 Current State: 27:[24, 3], Operations: ['57+54=111', '111/37=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[24, 57, 37, 54], Operations: [] Exploring Operation: 57-37=20, Resulting Numbers: [24, 54, 20] Generated Node #0,0: 27:[24, 54, 20] Operation: 57-37=20 Exploring Operation: 57-54=3, Resulting Numbers: [24, 37, 3] Generated Node #0,1: 27:[24, 37, 3] Operation: 57-54=3 Exploring Operation: 54-37=17, Resulting Numbers: [24, 57, 17] Generated Node #0,2: 27:[24, 57, 17] Operation: 54-37=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[24, 37, 3], Operations: ['57-54=3'] Exploring Operation: 37-3=34, Resulting Numbers: [24, 34] Generated Node #0,1,0: 27:[24, 34] Operation: 37-3=34 Exploring Operation: 24+3=27, Resulting Numbers: [37, 27] Generated Node #0,1,1: 27:[37, 27] Operation: 24+3=27 Exploring Operation: 37-24=13, Resulting Numbers: [3, 13] Generated Node #0,1,2: 27:[3, 13] Operation: 37-24=13 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 27:[3, 13], Operations: ['57-54=3', '37-24=13'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,27 unequal: No Solution Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,27 unequal: No Solution No 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: 27:[24, 34], Operations: ['57-54=3', '37-3=34'] Exploring Operation: 24*34=816, Resulting Numbers: [816] 816,27 unequal: No Solution Exploring Operation: 24+34=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,27 unequal: No Solution No 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: 27:[37, 27], Operations: ['57-54=3', '24+3=27'] Exploring Operation: 37+27=64, Resulting Numbers: [64] 64,27 unequal: No Solution Exploring Operation: 37*27=999, Resulting Numbers: [999] 999,27 unequal: No Solution Exploring Operation: 37-27=10, Resulting Numbers: [10] 10,27 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: 27:[24, 54, 20], Operations: ['57-37=20'] Exploring Operation: 54-20=34, Resulting Numbers: [24, 34] Generated Node #0,0,0: 27:[24, 34] Operation: 54-20=34 Exploring Operation: 54-24=30, Resulting Numbers: [20, 30] Generated Node #0,0,1: 27:[20, 30] Operation: 54-24=30 Exploring Operation: 24-20=4, Resulting Numbers: [54, 4] Generated Node #0,0,2: 27:[54, 4] Operation: 24-20=4 Moving to Node #0,0,0 Current State: 27:[24, 34], Operations: ['57-37=20', '54-20=34'] Exploring Operation: 24*34=816, Resulting Numbers: [816] 816,27 unequal: No Solution Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 24+34=58, Resulting Numbers: [58] 58,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[20, 30], Operations: ['57-37=20', '54-24=30'] Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,27 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[54, 4], Operations: ['57-37=20', '24-20=4'] Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,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 Current State: 27:[24, 57, 17], Operations: ['54-37=17'] Exploring Operation: 57-17=40, Resulting Numbers: [24, 40] Generated Node #0,2,0: 27:[24, 40] Operation: 57-17=40 Exploring Operation: 57-24=33, Resulting Numbers: [17, 33] Generated Node #0,2,1: 27:[17, 33] Operation: 57-24=33 Exploring Operation: 24-17=7, Resulting Numbers: [57, 7] Generated Node #0,2,2: 27:[57, 7] Operation: 24-17=7 Moving to Node #0,2,1 Current State: 27:[17, 33], Operations: ['54-37=17', '57-24=33'] Exploring Operation: 17*33=561, Resulting Numbers: [561] 561,27 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,27 unequal: No Solution Exploring Operation: 17+33=50, Resulting Numbers: [50] 50,27 unequal: No Solution Moving to Node #0,2,0 Current State: 27:[24, 40], Operations: ['54-37=17', '57-17=40'] Exploring Operation: 24+40=64, Resulting Numbers: [64] 64,27 unequal: No Solution Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,27 unequal: No Solution Exploring Operation: 24*40=960, Resulting Numbers: [960] 960,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[57, 7], Operations: ['54-37=17', '24-17=7'] Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 57*7=399, Resulting Numbers: [399] 399,27 unequal: No Solution Exploring Operation: 57+7=64, Resulting Numbers: [64] 64,27 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
[ 60, 30, 25, 96 ]
91
[ "60-30=30", "25+96=121", "121-30=91" ]
Current State: 91:[60, 30, 25, 96], Operations: [] Exploring Operation: 60-30=30, Resulting Numbers: [25, 96, 30] Generated Node #2: [25, 96, 30] from Operation: 60-30=30 Current State: 91:[25, 96, 30], Operations: ['60-30=30'] Exploring Operation: 25+96=121, Resulting Numbers: [30, 121] Generated Node #3: [30, 121] from Operation: 25+96=121 Current State: 91:[30, 121], Operations: ['60-30=30', '25+96=121'] Exploring Operation: 121-30=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[60, 30, 25, 96], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [25, 96, 2] Generated Node #0,0: 91:[25, 96, 2] Operation: 60/30=2 Exploring Operation: 60+30=90, Resulting Numbers: [25, 96, 90] Generated Node #0,1: 91:[25, 96, 90] Operation: 60+30=90 Moving to Node #0,1 Current State: 91:[25, 96, 90], Operations: ['60+30=90'] Exploring Operation: 96-90=6, Resulting Numbers: [25, 6] Generated Node #0,1,0: 91:[25, 6] Operation: 96-90=6 Exploring Operation: 96-25=71, Resulting Numbers: [90, 71] Generated Node #0,1,1: 91:[90, 71] Operation: 96-25=71 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[25, 6], Operations: ['60+30=90', '96-90=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,91 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[90, 71], Operations: ['60+30=90', '96-25=71'] Exploring Operation: 90+71=161, Resulting Numbers: [161] 161,91 unequal: No Solution Exploring Operation: 90-71=19, Resulting Numbers: [19] 19,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 91:[25, 96, 2], Operations: ['60/30=2'] Exploring Operation: 96-2=94, Resulting Numbers: [25, 94] Generated Node #0,0,0: 91:[25, 94] Operation: 96-2=94 Exploring Operation: 25-2=23, Resulting Numbers: [96, 23] Generated Node #0,0,1: 91:[96, 23] Operation: 25-2=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[25, 94], Operations: ['60/30=2', '96-2=94'] Exploring Operation: 25+94=119, Resulting Numbers: [119] 119,91 unequal: No Solution Exploring Operation: 94-25=69, Resulting Numbers: [69] 69,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[96, 23], Operations: ['60/30=2', '25-2=23'] Exploring Operation: 96-23=73, Resulting Numbers: [73] 73,91 unequal: No Solution Exploring Operation: 96+23=119, Resulting Numbers: [119] 119,91 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
[ 1, 65, 64, 31 ]
97
[ "65-1=64", "64-31=33", "64+33=97" ]
Current State: 97:[1, 65, 64, 31], Operations: [] Exploring Operation: 65-1=64, Resulting Numbers: [64, 31, 64] Generated Node #2: [64, 31, 64] from Operation: 65-1=64 Current State: 97:[64, 31, 64], Operations: ['65-1=64'] Exploring Operation: 64-31=33, Resulting Numbers: [33] 33,97 equal: Goal Reached Exploring Operation: 64+33=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[1, 65, 64, 31], Operations: [] Exploring Operation: 1+65=66, Resulting Numbers: [64, 31, 66] Generated Node #0,0: 97:[64, 31, 66] Operation: 1+65=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[64, 31, 66], Operations: ['1+65=66'] Exploring Operation: 64+31=95, Resulting Numbers: [66, 95] Generated Node #0,0,0: 97:[66, 95] Operation: 64+31=95 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[66, 95], Operations: ['1+65=66', '64+31=95'] Exploring Operation: 66+95=161, Resulting Numbers: [161] 161,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 96, 19, 78, 1 ]
83
[ "96-1=95", "95/19=5", "78+5=83" ]
Current State: 83:[96, 19, 78, 1], Operations: [] Exploring Operation: 96-1=95, Resulting Numbers: [19, 78, 95] Generated Node #2: [19, 78, 95] from Operation: 96-1=95 Current State: 83:[19, 78, 95], Operations: ['96-1=95'] Exploring Operation: 95/19=5, Resulting Numbers: [78, 5] Generated Node #3: [78, 5] from Operation: 95/19=5 Current State: 83:[78, 5], Operations: ['96-1=95', '95/19=5'] Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[96, 19, 78, 1], Operations: [] Exploring Operation: 96-1=95, Resulting Numbers: [19, 78, 95] Generated Node #0,0: 83:[19, 78, 95] Operation: 96-1=95 Exploring Operation: 19+1=20, Resulting Numbers: [96, 78, 20] Generated Node #0,1: 83:[96, 78, 20] Operation: 19+1=20 Exploring Operation: 78+1=79, Resulting Numbers: [96, 19, 79] Generated Node #0,2: 83:[96, 19, 79] Operation: 78+1=79 Exploring Operation: 96*1=96, Resulting Numbers: [19, 78, 96] Generated Node #0,3: 83:[19, 78, 96] Operation: 96*1=96 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[19, 78, 95], Operations: ['96-1=95'] Exploring Operation: 19+95=114, Resulting Numbers: [78, 114] Generated Node #0,0,0: 83:[78, 114] Operation: 19+95=114 Exploring Operation: 95-19=76, Resulting Numbers: [78, 76] Generated Node #0,0,1: 83:[78, 76] Operation: 95-19=76 Exploring Operation: 78-19=59, Resulting Numbers: [95, 59] Generated Node #0,0,2: 83:[95, 59] Operation: 78-19=59 Exploring Operation: 19+78=97, Resulting Numbers: [95, 97] Generated Node #0,0,3: 83:[95, 97] Operation: 19+78=97 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[78, 76], Operations: ['96-1=95', '95-19=76'] Exploring Operation: 78+76=154, Resulting Numbers: [154] 154,83 unequal: No Solution Exploring Operation: 78*76=5928, Resulting Numbers: [5928] 5928,83 unequal: No Solution Exploring Operation: 78-76=2, Resulting Numbers: [2] 2,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 83:[95, 97], Operations: ['96-1=95', '19+78=97'] Exploring Operation: 95+97=192, Resulting Numbers: [192] 192,83 unequal: No Solution Exploring Operation: 97-95=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 95*97=9215, Resulting Numbers: [9215] 9215,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[78, 114], Operations: ['96-1=95', '19+95=114'] Exploring Operation: 78+114=192, Resulting Numbers: [192] 192,83 unequal: No Solution Exploring Operation: 114-78=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 78*114=8892, Resulting Numbers: [8892] 8892,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 83:[95, 59], Operations: ['96-1=95', '78-19=59'] Exploring Operation: 95-59=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 95*59=5605, Resulting Numbers: [5605] 5605,83 unequal: No Solution Exploring Operation: 95+59=154, Resulting Numbers: [154] 154,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[96, 78, 20], Operations: ['19+1=20'] Exploring Operation: 78-20=58, Resulting Numbers: [96, 58] Generated Node #0,1,0: 83:[96, 58] Operation: 78-20=58 Exploring Operation: 78+20=98, Resulting Numbers: [96, 98] Generated Node #0,1,1: 83:[96, 98] Operation: 78+20=98 Exploring Operation: 96+20=116, Resulting Numbers: [78, 116] Generated Node #0,1,2: 83:[78, 116] Operation: 96+20=116 Exploring Operation: 96-20=76, Resulting Numbers: [78, 76] Generated Node #0,1,3: 83:[78, 76] Operation: 96-20=76 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 83:[78, 76], Operations: ['19+1=20', '96-20=76'] Exploring Operation: 78*76=5928, Resulting Numbers: [5928] 5928,83 unequal: No Solution Exploring Operation: 78+76=154, Resulting Numbers: [154] 154,83 unequal: No Solution Exploring Operation: 78-76=2, Resulting Numbers: [2] 2,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 83:[96, 98], Operations: ['19+1=20', '78+20=98'] Exploring Operation: 96*98=9408, Resulting Numbers: [9408] 9408,83 unequal: No Solution Exploring Operation: 98-96=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 96+98=194, Resulting Numbers: [194] 194,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[96, 58], Operations: ['19+1=20', '78-20=58'] Exploring Operation: 96-58=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 96+58=154, Resulting Numbers: [154] 154,83 unequal: No Solution Exploring Operation: 96*58=5568, Resulting Numbers: [5568] 5568,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 83:[78, 116], Operations: ['19+1=20', '96+20=116'] Exploring Operation: 116-78=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 78*116=9048, Resulting Numbers: [9048] 9048,83 unequal: No Solution Exploring Operation: 78+116=194, Resulting Numbers: [194] 194,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[96, 19, 79], Operations: ['78+1=79'] Exploring Operation: 96-19=77, Resulting Numbers: [79, 77] Generated Node #0,2,0: 83:[79, 77] Operation: 96-19=77 Exploring Operation: 79-19=60, Resulting Numbers: [96, 60] Generated Node #0,2,1: 83:[96, 60] Operation: 79-19=60 Exploring Operation: 96+19=115, Resulting Numbers: [79, 115] Generated Node #0,2,2: 83:[79, 115] Operation: 96+19=115 Exploring Operation: 19+79=98, Resulting Numbers: [96, 98] Generated Node #0,2,3: 83:[96, 98] Operation: 19+79=98 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 83:[79, 77], Operations: ['78+1=79', '96-19=77'] Exploring Operation: 79*77=6083, Resulting Numbers: [6083] 6083,83 unequal: No Solution Exploring Operation: 79+77=156, Resulting Numbers: [156] 156,83 unequal: No Solution Exploring Operation: 79-77=2, Resulting Numbers: [2] 2,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 83:[96, 98], Operations: ['78+1=79', '19+79=98'] Exploring Operation: 96*98=9408, Resulting Numbers: [9408] 9408,83 unequal: No Solution Exploring Operation: 98-96=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 96+98=194, Resulting Numbers: [194] 194,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 83:[96, 60], Operations: ['78+1=79', '79-19=60'] Exploring Operation: 96+60=156, Resulting Numbers: [156] 156,83 unequal: No Solution Exploring Operation: 96*60=5760, Resulting Numbers: [5760] 5760,83 unequal: No Solution Exploring Operation: 96-60=36, Resulting Numbers: [36] 36,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 83:[79, 115], Operations: ['78+1=79', '96+19=115'] Exploring Operation: 79+115=194, Resulting Numbers: [194] 194,83 unequal: No Solution Exploring Operation: 115-79=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 79*115=9085, Resulting Numbers: [9085] 9085,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[19, 78, 96], Operations: ['96*1=96'] Exploring Operation: 96-19=77, Resulting Numbers: [78, 77] Generated Node #0,3,0: 83:[78, 77] Operation: 96-19=77 Exploring Operation: 78-19=59, Resulting Numbers: [96, 59] Generated Node #0,3,1: 83:[96, 59] Operation: 78-19=59 Exploring Operation: 19+78=97, Resulting Numbers: [96, 97] Generated Node #0,3,2: 83:[96, 97] Operation: 19+78=97 Exploring Operation: 19+96=115, Resulting Numbers: [78, 115] Generated Node #0,3,3: 83:[78, 115] Operation: 19+96=115 Moving to Node #0,3,0 Current State: 83:[78, 77], Operations: ['96*1=96', '96-19=77'] Exploring Operation: 78*77=6006, Resulting Numbers: [6006] 6006,83 unequal: No Solution Exploring Operation: 78-77=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 78+77=155, Resulting Numbers: [155] 155,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[96, 97], Operations: ['96*1=96', '19+78=97'] Exploring Operation: 96+97=193, Resulting Numbers: [193] 193,83 unequal: No Solution Exploring Operation: 96*97=9312, Resulting Numbers: [9312] 9312,83 unequal: No Solution Exploring Operation: 97-96=1, Resulting Numbers: [1] 1,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[78, 115], Operations: ['96*1=96', '19+96=115'] Exploring Operation: 115-78=37, Resulting Numbers: [37] 37,83 unequal: No Solution Exploring Operation: 78+115=193, Resulting Numbers: [193] 193,83 unequal: No Solution Exploring Operation: 78*115=8970, Resulting Numbers: [8970] 8970,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[96, 59], Operations: ['96*1=96', '78-19=59'] Exploring Operation: 96*59=5664, Resulting Numbers: [5664] 5664,83 unequal: No Solution Exploring Operation: 96-59=37, Resulting Numbers: [37] 37,83 unequal: No Solution Exploring Operation: 96+59=155, Resulting Numbers: [155] 155,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 57, 54, 12, 26 ]
73
[ "57+54=111", "12+26=38", "111-38=73" ]
Current State: 73:[57, 54, 12, 26], Operations: [] Exploring Operation: 57+54=111, Resulting Numbers: [12, 26, 111] Generated Node #2: [12, 26, 111] from Operation: 57+54=111 Current State: 73:[12, 26, 111], Operations: ['57+54=111'] Exploring Operation: 12+26=38, Resulting Numbers: [111, 38] Generated Node #3: [111, 38] from Operation: 12+26=38 Current State: 73:[111, 38], Operations: ['57+54=111', '12+26=38'] Exploring Operation: 111-38=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[57, 54, 12, 26], Operations: [] Exploring Operation: 12+26=38, Resulting Numbers: [57, 54, 38] Generated Node #0,0: 73:[57, 54, 38] Operation: 12+26=38 Exploring Operation: 57+12=69, Resulting Numbers: [54, 26, 69] Generated Node #0,1: 73:[54, 26, 69] Operation: 57+12=69 Exploring Operation: 54+12=66, Resulting Numbers: [57, 26, 66] Generated Node #0,2: 73:[57, 26, 66] Operation: 54+12=66 Moving to Node #0,0 Current State: 73:[57, 54, 38], Operations: ['12+26=38'] Exploring Operation: 57+38=95, Resulting Numbers: [54, 95] Generated Node #0,0,0: 73:[54, 95] Operation: 57+38=95 Exploring Operation: 54+38=92, Resulting Numbers: [57, 92] Generated Node #0,0,1: 73:[57, 92] Operation: 54+38=92 Exploring Operation: 57+54=111, Resulting Numbers: [38, 111] Generated Node #0,0,2: 73:[38, 111] Operation: 57+54=111 Moving to Node #0,1 Current State: 73:[54, 26, 69], Operations: ['57+12=69'] Exploring Operation: 54+26=80, Resulting Numbers: [69, 80] Generated Node #0,1,0: 73:[69, 80] Operation: 54+26=80 Exploring Operation: 26+69=95, Resulting Numbers: [54, 95] Generated Node #0,1,1: 73:[54, 95] Operation: 26+69=95 Exploring Operation: 54-26=28, Resulting Numbers: [69, 28] Generated Node #0,1,2: 73:[69, 28] Operation: 54-26=28 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[69, 80], Operations: ['57+12=69', '54+26=80'] Exploring Operation: 69*80=5520, Resulting Numbers: [5520] 5520,73 unequal: No Solution Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,73 unequal: No Solution Exploring Operation: 69+80=149, Resulting Numbers: [149] 149,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[54, 95], Operations: ['57+12=69', '26+69=95'] Exploring Operation: 54*95=5130, Resulting Numbers: [5130] 5130,73 unequal: No Solution Exploring Operation: 54+95=149, Resulting Numbers: [149] 149,73 unequal: No Solution Exploring Operation: 95-54=41, Resulting Numbers: [41] 41,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[69, 28], Operations: ['57+12=69', '54-26=28'] Exploring Operation: 69*28=1932, Resulting Numbers: [1932] 1932,73 unequal: No Solution Exploring Operation: 69+28=97, Resulting Numbers: [97] 97,73 unequal: No Solution Exploring Operation: 69-28=41, Resulting Numbers: [41] 41,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 73:[57, 26, 66], Operations: ['54+12=66'] Exploring Operation: 57-26=31, Resulting Numbers: [66, 31] Generated Node #0,2,0: 73:[66, 31] Operation: 57-26=31 Exploring Operation: 26+66=92, Resulting Numbers: [57, 92] Generated Node #0,2,1: 73:[57, 92] Operation: 26+66=92 Exploring Operation: 57+26=83, Resulting Numbers: [66, 83] Generated Node #0,2,2: 73:[66, 83] Operation: 57+26=83 Moving to Node #0,2,2 Current State: 73:[66, 83], Operations: ['54+12=66', '57+26=83'] Exploring Operation: 66+83=149, Resulting Numbers: [149] 149,73 unequal: No Solution Exploring Operation: 83-66=17, Resulting Numbers: [17] 17,73 unequal: No Solution Exploring Operation: 66*83=5478, Resulting Numbers: [5478] 5478,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[57, 92], Operations: ['12+26=38', '54+38=92'] Exploring Operation: 92-57=35, Resulting Numbers: [35] 35,73 unequal: No Solution Exploring Operation: 57*92=5244, Resulting Numbers: [5244] 5244,73 unequal: No Solution Exploring Operation: 57+92=149, Resulting Numbers: [149] 149,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[57, 92], Operations: ['54+12=66', '26+66=92'] Exploring Operation: 57*92=5244, Resulting Numbers: [5244] 5244,73 unequal: No Solution Exploring Operation: 92-57=35, Resulting Numbers: [35] 35,73 unequal: No Solution Exploring Operation: 57+92=149, Resulting Numbers: [149] 149,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[54, 95], Operations: ['12+26=38', '57+38=95'] Exploring Operation: 54+95=149, Resulting Numbers: [149] 149,73 unequal: No Solution Exploring Operation: 95-54=41, Resulting Numbers: [41] 41,73 unequal: No Solution Exploring Operation: 54*95=5130, Resulting Numbers: [5130] 5130,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[66, 31], Operations: ['54+12=66', '57-26=31'] Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,73 unequal: No Solution Exploring Operation: 66+31=97, Resulting Numbers: [97] 97,73 unequal: No Solution Exploring Operation: 66*31=2046, Resulting Numbers: [2046] 2046,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[38, 111], Operations: ['12+26=38', '57+54=111'] Exploring Operation: 38+111=149, Resulting Numbers: [149] 149,73 unequal: No Solution Exploring Operation: 111-38=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[57, 54, 12, 26], Operations: [] Exploring Operation: 12+26=38, Resulting Numbers: [57, 54, 38] Generated Node #0,0: 73:[57, 54, 38] Operation: 12+26=38 Moving to Node #0,0 Current State: 73:[57, 54, 38], Operations: ['12+26=38'] Exploring Operation: 57+54=111, Resulting Numbers: [38, 111] Generated Node #0,0,2: 73:[38, 111] Operation: 57+54=111 Moving to Node #0,0,2 Current State: 73:[38, 111], Operations: ['12+26=38', '57+54=111'] Exploring Operation: 111-38=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
0.963542
hs_3
sum_heuristic
[ 74, 44, 16, 2 ]
86
[ "74+44=118", "16*2=32", "118-32=86" ]
Current State: 86:[74, 44, 16, 2], Operations: [] Exploring Operation: 74+44=118, Resulting Numbers: [16, 2, 118] Generated Node #2: [16, 2, 118] from Operation: 74+44=118 Current State: 86:[16, 2, 118], Operations: ['74+44=118'] Exploring Operation: 16*2=32, Resulting Numbers: [118, 32] Generated Node #3: [118, 32] from Operation: 16*2=32 Current State: 86:[118, 32], Operations: ['74+44=118', '16*2=32'] Exploring Operation: 118-32=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[74, 44, 16, 2], Operations: [] Exploring Operation: 74+16=90, Resulting Numbers: [44, 2, 90] Generated Node #0,0: 86:[44, 2, 90] Operation: 74+16=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[44, 2, 90], Operations: ['74+16=90'] Exploring Operation: 90-44=46, Resulting Numbers: [2, 46] Generated Node #0,0,0: 86:[2, 46] Operation: 90-44=46 Moving to Node #0,0,0 Current State: 86:[2, 46], Operations: ['74+16=90', '90-44=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,86 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
[ 22, 49, 87, 86 ]
70
[ "22+49=71", "87-86=1", "71-1=70" ]
Current State: 70:[22, 49, 87, 86], Operations: [] Exploring Operation: 22+49=71, Resulting Numbers: [87, 86, 71] Generated Node #2: [87, 86, 71] from Operation: 22+49=71 Current State: 70:[87, 86, 71], Operations: ['22+49=71'] Exploring Operation: 87-86=1, Resulting Numbers: [71, 1] Generated Node #3: [71, 1] from Operation: 87-86=1 Current State: 70:[71, 1], Operations: ['22+49=71', '87-86=1'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[22, 49, 87, 86], Operations: [] Exploring Operation: 87-49=38, Resulting Numbers: [22, 86, 38] Generated Node #0,0: 70:[22, 86, 38] Operation: 87-49=38 Exploring Operation: 87-86=1, Resulting Numbers: [22, 49, 1] Generated Node #0,1: 70:[22, 49, 1] Operation: 87-86=1 Moving to Node #0,1 Current State: 70:[22, 49, 1], Operations: ['87-86=1'] Exploring Operation: 22+49=71, Resulting Numbers: [1, 71] Generated Node #0,1,0: 70:[1, 71] Operation: 22+49=71 Exploring Operation: 49-22=27, Resulting Numbers: [1, 27] Generated Node #0,1,1: 70:[1, 27] Operation: 49-22=27 Moving to Node #0,0 Current State: 70:[22, 86, 38], Operations: ['87-49=38'] Exploring Operation: 86-22=64, Resulting Numbers: [38, 64] Generated Node #0,0,0: 70:[38, 64] Operation: 86-22=64 Exploring Operation: 38-22=16, Resulting Numbers: [86, 16] Generated Node #0,0,1: 70:[86, 16] Operation: 38-22=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[38, 64], Operations: ['87-49=38', '86-22=64'] Exploring Operation: 38+64=102, Resulting Numbers: [102] 102,70 unequal: No Solution Exploring Operation: 64-38=26, Resulting Numbers: [26] 26,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[86, 16], Operations: ['87-49=38', '38-22=16'] Exploring Operation: 86-16=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[22, 49, 87, 86], Operations: [] Exploring Operation: 87-49=38, Resulting Numbers: [22, 86, 38] Generated Node #0,0: 70:[22, 86, 38] Operation: 87-49=38 Moving to Node #0,0 Current State: 70:[22, 86, 38], Operations: ['87-49=38'] Exploring Operation: 38-22=16, Resulting Numbers: [86, 16] Generated Node #0,0,1: 70:[86, 16] Operation: 38-22=16 Moving to Node #0,0,1 Current State: 70:[86, 16], Operations: ['87-49=38', '38-22=16'] Exploring Operation: 86-16=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_2
mult_heuristic
[ 24, 53, 2, 50 ]
77
[ "53-24=29", "50-2=48", "29+48=77" ]
Current State: 77:[24, 53, 2, 50], Operations: [] Exploring Operation: 53-24=29, Resulting Numbers: [2, 50, 29] Generated Node #2: [2, 50, 29] from Operation: 53-24=29 Current State: 77:[2, 50, 29], Operations: ['53-24=29'] Exploring Operation: 50-2=48, Resulting Numbers: [29, 48] Generated Node #3: [29, 48] from Operation: 50-2=48 Current State: 77:[29, 48], Operations: ['53-24=29', '50-2=48'] Exploring Operation: 29+48=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[24, 53, 2, 50], Operations: [] Exploring Operation: 50-24=26, Resulting Numbers: [53, 2, 26] Generated Node #0,0: 77:[53, 2, 26] Operation: 50-24=26 Exploring Operation: 24+53=77, Resulting Numbers: [2, 50, 77] Generated Node #0,1: 77:[2, 50, 77] Operation: 24+53=77 Exploring Operation: 24+50=74, Resulting Numbers: [53, 2, 74] Generated Node #0,2: 77:[53, 2, 74] Operation: 24+50=74 Exploring Operation: 53+50=103, Resulting Numbers: [24, 2, 103] Generated Node #0,3: 77:[24, 2, 103] Operation: 53+50=103 Exploring Operation: 53-50=3, Resulting Numbers: [24, 2, 3] Generated Node #0,4: 77:[24, 2, 3] Operation: 53-50=3 Start Sub Search at level 1: Moving to Node #0,4 Current State: 77:[24, 2, 3], Operations: ['53-50=3'] Exploring Operation: 24/2=12, Resulting Numbers: [3, 12] Generated Node #0,4,0: 77:[3, 12] Operation: 24/2=12 Exploring Operation: 24/3=8, Resulting Numbers: [2, 8] Generated Node #0,4,1: 77:[2, 8] Operation: 24/3=8 Exploring Operation: 24-2=22, Resulting Numbers: [3, 22] Generated Node #0,4,2: 77:[3, 22] Operation: 24-2=22 Exploring Operation: 24*3=72, Resulting Numbers: [2, 72] Generated Node #0,4,3: 77:[2, 72] Operation: 24*3=72 Exploring Operation: 2*3=6, Resulting Numbers: [24, 6] Generated Node #0,4,4: 77:[24, 6] Operation: 2*3=6 Moving to Node #0,4,0 Current State: 77:[3, 12], Operations: ['53-50=3', '24/2=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,77 unequal: No Solution Moving to Node #0,4,1 Current State: 77:[2, 8], Operations: ['53-50=3', '24/3=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,77 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,77 unequal: No Solution Moving to Node #0,4,3 Current State: 77:[2, 72], Operations: ['53-50=3', '24*3=72'] Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,77 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 2*72=144, Resulting Numbers: [144] 144,77 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,77 unequal: No Solution Moving to Node #0,4,4 Current State: 77:[24, 6], Operations: ['53-50=3', '2*3=6'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,77 unequal: No Solution Moving to Node #0,4,2 Current State: 77:[3, 22], Operations: ['53-50=3', '24-2=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,77 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[2, 50, 77], Operations: ['24+53=77'] Exploring Operation: 2+50=52, Resulting Numbers: [77, 52] Generated Node #0,1,0: 77:[77, 52] Operation: 2+50=52 Exploring Operation: 77-50=27, Resulting Numbers: [2, 27] Generated Node #0,1,1: 77:[2, 27] Operation: 77-50=27 Exploring Operation: 50-2=48, Resulting Numbers: [77, 48] Generated Node #0,1,2: 77:[77, 48] Operation: 50-2=48 Exploring Operation: 2*50=100, Resulting Numbers: [77, 100] Generated Node #0,1,3: 77:[77, 100] Operation: 2*50=100 Exploring Operation: 50/2=25, Resulting Numbers: [77, 25] Generated Node #0,1,4: 77:[77, 25] Operation: 50/2=25 Moving to Node #0,1,4 Current State: 77:[77, 25], Operations: ['24+53=77', '50/2=25'] Exploring Operation: 77+25=102, Resulting Numbers: [102] 102,77 unequal: No Solution Exploring Operation: 77*25=1925, Resulting Numbers: [1925] 1925,77 unequal: No Solution Exploring Operation: 77-25=52, Resulting Numbers: [52] 52,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[2, 27], Operations: ['24+53=77', '77-50=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,77 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[77, 100], Operations: ['24+53=77', '2*50=100'] Exploring Operation: 77*100=7700, Resulting Numbers: [7700] 7700,77 unequal: No Solution Exploring Operation: 100-77=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 77+100=177, Resulting Numbers: [177] 177,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[77, 52], Operations: ['24+53=77', '2+50=52'] Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 77+52=129, Resulting Numbers: [129] 129,77 unequal: No Solution Exploring Operation: 77*52=4004, Resulting Numbers: [4004] 4004,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[77, 48], Operations: ['24+53=77', '50-2=48'] Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,77 unequal: No Solution Exploring Operation: 77*48=3696, Resulting Numbers: [3696] 3696,77 unequal: No Solution Exploring Operation: 77+48=125, Resulting Numbers: [125] 125,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[53, 2, 74], Operations: ['24+50=74'] Exploring Operation: 2+74=76, Resulting Numbers: [53, 76] Generated Node #0,2,0: 77:[53, 76] Operation: 2+74=76 Exploring Operation: 74-53=21, Resulting Numbers: [2, 21] Generated Node #0,2,1: 77:[2, 21] Operation: 74-53=21 Exploring Operation: 74-2=72, Resulting Numbers: [53, 72] Generated Node #0,2,2: 77:[53, 72] Operation: 74-2=72 Exploring Operation: 53+2=55, Resulting Numbers: [74, 55] Generated Node #0,2,3: 77:[74, 55] Operation: 53+2=55 Exploring Operation: 53-2=51, Resulting Numbers: [74, 51] Generated Node #0,2,4: 77:[74, 51] Operation: 53-2=51 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 77:[2, 21], Operations: ['24+50=74', '74-53=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,77 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,77 unequal: No Solution No 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: 77:[53, 76], Operations: ['24+50=74', '2+74=76'] Exploring Operation: 53+76=129, Resulting Numbers: [129] 129,77 unequal: No Solution Exploring Operation: 53*76=4028, Resulting Numbers: [4028] 4028,77 unequal: No Solution Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,77 unequal: No Solution No 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: 77:[74, 55], Operations: ['24+50=74', '53+2=55'] Exploring Operation: 74*55=4070, Resulting Numbers: [4070] 4070,77 unequal: No Solution Exploring Operation: 74+55=129, Resulting Numbers: [129] 129,77 unequal: No Solution Exploring Operation: 74-55=19, Resulting Numbers: [19] 19,77 unequal: No Solution No 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: 77:[53, 72], Operations: ['24+50=74', '74-2=72'] Exploring Operation: 53*72=3816, Resulting Numbers: [3816] 3816,77 unequal: No Solution Exploring Operation: 72-53=19, Resulting Numbers: [19] 19,77 unequal: No Solution Exploring Operation: 53+72=125, Resulting Numbers: [125] 125,77 unequal: No Solution No 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: 77:[74, 51], Operations: ['24+50=74', '53-2=51'] Exploring Operation: 74+51=125, Resulting Numbers: [125] 125,77 unequal: No Solution Exploring Operation: 74-51=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 74*51=3774, Resulting Numbers: [3774] 3774,77 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: 77:[53, 2, 26], Operations: ['50-24=26'] Exploring Operation: 53-26=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 77:[2, 27] Operation: 53-26=27 Exploring Operation: 53+26=79, Resulting Numbers: [2, 79] Generated Node #0,0,1: 77:[2, 79] Operation: 53+26=79 Exploring Operation: 26/2=13, Resulting Numbers: [53, 13] Generated Node #0,0,2: 77:[53, 13] Operation: 26/2=13 Exploring Operation: 26-2=24, Resulting Numbers: [53, 24] Generated Node #0,0,3: 77:[53, 24] Operation: 26-2=24 Exploring Operation: 53+2=55, Resulting Numbers: [26, 55] Generated Node #0,0,4: 77:[26, 55] Operation: 53+2=55 Moving to Node #0,0,1 Current State: 77:[2, 79], Operations: ['50-24=26', '53+26=79'] Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,77 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[24, 53, 2, 50], Operations: [] Exploring Operation: 50-24=26, Resulting Numbers: [53, 2, 26] Generated Node #0,0: 77:[53, 2, 26] Operation: 50-24=26 Moving to Node #0,0 Current State: 77:[53, 2, 26], Operations: ['50-24=26'] Exploring Operation: 53+26=79, Resulting Numbers: [2, 79] Generated Node #0,0,1: 77:[2, 79] Operation: 53+26=79 Moving to Node #0,0,1 Current State: 77:[2, 79], Operations: ['50-24=26', '53+26=79'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.930556
hs_5
sum_heuristic
[ 34, 63, 57, 19 ]
32
[ "63-34=29", "57/19=3", "29+3=32" ]
Current State: 32:[34, 63, 57, 19], Operations: [] Exploring Operation: 63-34=29, Resulting Numbers: [57, 19, 29] Generated Node #2: [57, 19, 29] from Operation: 63-34=29 Current State: 32:[57, 19, 29], Operations: ['63-34=29'] Exploring Operation: 57/19=3, Resulting Numbers: [29, 3] Generated Node #3: [29, 3] from Operation: 57/19=3 Current State: 32:[29, 3], Operations: ['63-34=29', '57/19=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[34, 63, 57, 19], Operations: [] Exploring Operation: 63-34=29, Resulting Numbers: [57, 19, 29] Generated Node #0,0: 32:[57, 19, 29] Operation: 63-34=29 Exploring Operation: 63-57=6, Resulting Numbers: [34, 19, 6] Generated Node #0,1: 32:[34, 19, 6] Operation: 63-57=6 Exploring Operation: 57/19=3, Resulting Numbers: [34, 63, 3] Generated Node #0,2: 32:[34, 63, 3] Operation: 57/19=3 Exploring Operation: 63-19=44, Resulting Numbers: [34, 57, 44] Generated Node #0,3: 32:[34, 57, 44] Operation: 63-19=44 Exploring Operation: 57-19=38, Resulting Numbers: [34, 63, 38] Generated Node #0,4: 32:[34, 63, 38] Operation: 57-19=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[34, 19, 6], Operations: ['63-57=6'] Exploring Operation: 19+6=25, Resulting Numbers: [34, 25] Generated Node #0,1,0: 32:[34, 25] Operation: 19+6=25 Exploring Operation: 34-19=15, Resulting Numbers: [6, 15] Generated Node #0,1,1: 32:[6, 15] Operation: 34-19=15 Exploring Operation: 34+6=40, Resulting Numbers: [19, 40] Generated Node #0,1,2: 32:[19, 40] Operation: 34+6=40 Exploring Operation: 19-6=13, Resulting Numbers: [34, 13] Generated Node #0,1,3: 32:[34, 13] Operation: 19-6=13 Exploring Operation: 34-6=28, Resulting Numbers: [19, 28] Generated Node #0,1,4: 32:[19, 28] Operation: 34-6=28 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 32:[6, 15], Operations: ['63-57=6', '34-19=15'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,32 unequal: No Solution Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 32:[34, 13], Operations: ['63-57=6', '19-6=13'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 34*13=442, Resulting Numbers: [442] 442,32 unequal: No Solution Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 32:[19, 28], Operations: ['63-57=6', '34-6=28'] Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,32 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 32:[34, 25], Operations: ['63-57=6', '19+6=25'] Exploring Operation: 34*25=850, Resulting Numbers: [850] 850,32 unequal: No Solution Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,32 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 32:[19, 40], Operations: ['63-57=6', '34+6=40'] Exploring Operation: 19*40=760, Resulting Numbers: [760] 760,32 unequal: No Solution Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,32 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[57, 19, 29], Operations: ['63-34=29'] Exploring Operation: 57/19=3, Resulting Numbers: [29, 3] Generated Node #0,0,0: 32:[29, 3] Operation: 57/19=3 Exploring Operation: 19+29=48, Resulting Numbers: [57, 48] Generated Node #0,0,1: 32:[57, 48] Operation: 19+29=48 Exploring Operation: 57-29=28, Resulting Numbers: [19, 28] Generated Node #0,0,2: 32:[19, 28] Operation: 57-29=28 Exploring Operation: 29-19=10, Resulting Numbers: [57, 10] Generated Node #0,0,3: 32:[57, 10] Operation: 29-19=10 Exploring Operation: 57-19=38, Resulting Numbers: [29, 38] Generated Node #0,0,4: 32:[29, 38] Operation: 57-19=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[29, 3], Operations: ['63-34=29', '57/19=3'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,32 unequal: No Solution Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[34, 63, 57, 19], Operations: [] Exploring Operation: 63-34=29, Resulting Numbers: [57, 19, 29] Generated Node #0,0: 32:[57, 19, 29] Operation: 63-34=29 Moving to Node #0,0 Current State: 32:[57, 19, 29], Operations: ['63-34=29'] Exploring Operation: 57/19=3, Resulting Numbers: [29, 3] Generated Node #0,0,0: 32:[29, 3] Operation: 57/19=3 Moving to Node #0,0,0 Current State: 32:[29, 3], Operations: ['63-34=29', '57/19=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_5
mult_heuristic
[ 73, 59, 27, 31 ]
72
[ "73-59=14", "27+31=58", "14+58=72" ]
Current State: 72:[73, 59, 27, 31], Operations: [] Exploring Operation: 73-59=14, Resulting Numbers: [27, 31, 14] Generated Node #2: [27, 31, 14] from Operation: 73-59=14 Current State: 72:[27, 31, 14], Operations: ['73-59=14'] Exploring Operation: 27+31=58, Resulting Numbers: [14, 58] Generated Node #3: [14, 58] from Operation: 27+31=58 Current State: 72:[14, 58], Operations: ['73-59=14', '27+31=58'] Exploring Operation: 14+58=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[73, 59, 27, 31], Operations: [] Exploring Operation: 73-59=14, Resulting Numbers: [27, 31, 14] Generated Node #0,0: 72:[27, 31, 14] Operation: 73-59=14 Exploring Operation: 59+27=86, Resulting Numbers: [73, 31, 86] Generated Node #0,1: 72:[73, 31, 86] Operation: 59+27=86 Exploring Operation: 59-27=32, Resulting Numbers: [73, 31, 32] Generated Node #0,2: 72:[73, 31, 32] Operation: 59-27=32 Exploring Operation: 59-31=28, Resulting Numbers: [73, 27, 28] Generated Node #0,3: 72:[73, 27, 28] Operation: 59-31=28 Exploring Operation: 31-27=4, Resulting Numbers: [73, 59, 4] Generated Node #0,4: 72:[73, 59, 4] Operation: 31-27=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 72:[73, 27, 28], Operations: ['59-31=28'] Exploring Operation: 28-27=1, Resulting Numbers: [73, 1] Generated Node #0,3,0: 72:[73, 1] Operation: 28-27=1 Exploring Operation: 73-28=45, Resulting Numbers: [27, 45] Generated Node #0,3,1: 72:[27, 45] Operation: 73-28=45 Exploring Operation: 73+27=100, Resulting Numbers: [28, 100] Generated Node #0,3,2: 72:[28, 100] Operation: 73+27=100 Exploring Operation: 73-27=46, Resulting Numbers: [28, 46] Generated Node #0,3,3: 72:[28, 46] Operation: 73-27=46 Exploring Operation: 27+28=55, Resulting Numbers: [73, 55] Generated Node #0,3,4: 72:[73, 55] Operation: 27+28=55 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 72:[73, 1], Operations: ['59-31=28', '28-27=1'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[73, 59, 27, 31], Operations: [] Exploring Operation: 59-31=28, Resulting Numbers: [73, 27, 28] Generated Node #0,3: 72:[73, 27, 28] Operation: 59-31=28 Moving to Node #0,3 Current State: 72:[73, 27, 28], Operations: ['59-31=28'] Exploring Operation: 28-27=1, Resulting Numbers: [73, 1] Generated Node #0,3,0: 72:[73, 1] Operation: 28-27=1 Moving to Node #0,3,0 Current State: 72:[73, 1], Operations: ['59-31=28', '28-27=1'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 97, 49, 73, 72 ]
52
[ "97-73=24", "72/24=3", "49+3=52" ]
Current State: 52:[97, 49, 73, 72], Operations: [] Exploring Operation: 97-73=24, Resulting Numbers: [49, 72, 24] Generated Node #2: [49, 72, 24] from Operation: 97-73=24 Current State: 52:[49, 72, 24], Operations: ['97-73=24'] Exploring Operation: 72/24=3, Resulting Numbers: [49, 3] Generated Node #3: [49, 3] from Operation: 72/24=3 Current State: 52:[49, 3], Operations: ['97-73=24', '72/24=3'] Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[97, 49, 73, 72], Operations: [] Exploring Operation: 97-49=48, Resulting Numbers: [73, 72, 48] Generated Node #0,0: 52:[73, 72, 48] Operation: 97-49=48 Exploring Operation: 97-72=25, Resulting Numbers: [49, 73, 25] Generated Node #0,1: 52:[49, 73, 25] Operation: 97-72=25 Exploring Operation: 97-73=24, Resulting Numbers: [49, 72, 24] Generated Node #0,2: 52:[49, 72, 24] Operation: 97-73=24 Exploring Operation: 73-72=1, Resulting Numbers: [97, 49, 1] Generated Node #0,3: 52:[97, 49, 1] Operation: 73-72=1 Moving to Node #0,1 Current State: 52:[49, 73, 25], Operations: ['97-72=25'] Exploring Operation: 49-25=24, Resulting Numbers: [73, 24] Generated Node #0,1,0: 52:[73, 24] Operation: 49-25=24 Exploring Operation: 49+25=74, Resulting Numbers: [73, 74] Generated Node #0,1,1: 52:[73, 74] Operation: 49+25=74 Exploring Operation: 73-49=24, Resulting Numbers: [25, 24] Generated Node #0,1,2: 52:[25, 24] Operation: 73-49=24 Exploring Operation: 73-25=48, Resulting Numbers: [49, 48] Generated Node #0,1,3: 52:[49, 48] Operation: 73-25=48 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 52:[25, 24], Operations: ['97-72=25', '73-49=24'] Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 25*24=600, Resulting Numbers: [600] 600,52 unequal: No Solution Exploring Operation: 25+24=49, Resulting Numbers: [49] 49,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 52:[49, 48], Operations: ['97-72=25', '73-25=48'] Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 49+48=97, Resulting Numbers: [97] 97,52 unequal: No Solution Exploring Operation: 49*48=2352, Resulting Numbers: [2352] 2352,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[73, 24], Operations: ['97-72=25', '49-25=24'] Exploring Operation: 73*24=1752, Resulting Numbers: [1752] 1752,52 unequal: No Solution Exploring Operation: 73+24=97, Resulting Numbers: [97] 97,52 unequal: No Solution Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[73, 74], Operations: ['97-72=25', '49+25=74'] Exploring Operation: 73+74=147, Resulting Numbers: [147] 147,52 unequal: No Solution Exploring Operation: 74-73=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 73*74=5402, Resulting Numbers: [5402] 5402,52 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: 52:[49, 72, 24], Operations: ['97-73=24'] Exploring Operation: 72-24=48, Resulting Numbers: [49, 48] Generated Node #0,2,0: 52:[49, 48] Operation: 72-24=48 Exploring Operation: 72/24=3, Resulting Numbers: [49, 3] Generated Node #0,2,1: 52:[49, 3] Operation: 72/24=3 Exploring Operation: 72-49=23, Resulting Numbers: [24, 23] Generated Node #0,2,2: 52:[24, 23] Operation: 72-49=23 Exploring Operation: 49-24=25, Resulting Numbers: [72, 25] Generated Node #0,2,3: 52:[72, 25] Operation: 49-24=25 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 52:[49, 3], Operations: ['97-73=24', '72/24=3'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,52 unequal: No Solution Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[97, 49, 73, 72], Operations: [] Exploring Operation: 97-73=24, Resulting Numbers: [49, 72, 24] Generated Node #0,2: 52:[49, 72, 24] Operation: 97-73=24 Moving to Node #0,2 Current State: 52:[49, 72, 24], Operations: ['97-73=24'] Exploring Operation: 72/24=3, Resulting Numbers: [49, 3] Generated Node #0,2,1: 52:[49, 3] Operation: 72/24=3 Moving to Node #0,2,1 Current State: 52:[49, 3], Operations: ['97-73=24', '72/24=3'] Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 50, 26, 47, 78 ]
94
[ "50+26=76", "78-76=2", "47*2=94" ]
Current State: 94:[50, 26, 47, 78], Operations: [] Exploring Operation: 50+26=76, Resulting Numbers: [47, 78, 76] Generated Node #2: [47, 78, 76] from Operation: 50+26=76 Current State: 94:[47, 78, 76], Operations: ['50+26=76'] Exploring Operation: 78-76=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 78-76=2 Current State: 94:[47, 2], Operations: ['50+26=76', '78-76=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[50, 26, 47, 78], Operations: [] Exploring Operation: 78-26=52, Resulting Numbers: [50, 47, 52] Generated Node #0,0: 94:[50, 47, 52] Operation: 78-26=52 Exploring Operation: 26+78=104, Resulting Numbers: [50, 47, 104] Generated Node #0,1: 94:[50, 47, 104] Operation: 26+78=104 Exploring Operation: 78/26=3, Resulting Numbers: [50, 47, 3] Generated Node #0,2: 94:[50, 47, 3] Operation: 78/26=3 Exploring Operation: 50+26=76, Resulting Numbers: [47, 78, 76] Generated Node #0,3: 94:[47, 78, 76] Operation: 50+26=76 Moving to Node #0,2 Current State: 94:[50, 47, 3], Operations: ['78/26=3'] Exploring Operation: 50+47=97, Resulting Numbers: [3, 97] Generated Node #0,2,0: 94:[3, 97] Operation: 50+47=97 Exploring Operation: 50-3=47, Resulting Numbers: [47, 47] Generated Node #0,2,1: 94:[47, 47] Operation: 50-3=47 Exploring Operation: 50+3=53, Resulting Numbers: [47, 53] Generated Node #0,2,2: 94:[47, 53] Operation: 50+3=53 Exploring Operation: 50-47=3, Resulting Numbers: [3, 3] Generated Node #0,2,3: 94:[3, 3] Operation: 50-47=3 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[47, 47], Operations: ['78/26=3', '50-3=47'] Exploring Operation: 47*47=2209, Resulting Numbers: [2209] 2209,94 unequal: No Solution Exploring Operation: 47/47=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[50, 26, 47, 78], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [50, 47, 3] Generated Node #0,2: 94:[50, 47, 3] Operation: 78/26=3 Moving to Node #0,2 Current State: 94:[50, 47, 3], Operations: ['78/26=3'] Exploring Operation: 50-3=47, Resulting Numbers: [47, 47] Generated Node #0,2,1: 94:[47, 47] Operation: 50-3=47 Moving to Node #0,2,1 Current State: 94:[47, 47], Operations: ['78/26=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
[ 49, 61, 28, 66 ]
82
[ "61-49=12", "28+66=94", "94-12=82" ]
Current State: 82:[49, 61, 28, 66], Operations: [] Exploring Operation: 61-49=12, Resulting Numbers: [28, 66, 12] Generated Node #2: [28, 66, 12] from Operation: 61-49=12 Current State: 82:[28, 66, 12], Operations: ['61-49=12'] Exploring Operation: 28+66=94, Resulting Numbers: [12, 94] Generated Node #3: [12, 94] from Operation: 28+66=94 Current State: 82:[12, 94], Operations: ['61-49=12', '28+66=94'] Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[49, 61, 28, 66], Operations: [] Exploring Operation: 66-61=5, Resulting Numbers: [49, 28, 5] Generated Node #0,0: 82:[49, 28, 5] Operation: 66-61=5 Exploring Operation: 61+28=89, Resulting Numbers: [49, 66, 89] Generated Node #0,1: 82:[49, 66, 89] Operation: 61+28=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[49, 28, 5], Operations: ['66-61=5'] Exploring Operation: 49+28=77, Resulting Numbers: [5, 77] Generated Node #0,0,0: 82:[5, 77] Operation: 49+28=77 Exploring Operation: 49-5=44, Resulting Numbers: [28, 44] Generated Node #0,0,1: 82:[28, 44] Operation: 49-5=44 Moving to Node #0,0,0 Current State: 82:[5, 77], Operations: ['66-61=5', '49+28=77'] Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,82 unequal: No Solution Exploring Operation: 5+77=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[49, 61, 28, 66], Operations: [] Exploring Operation: 66-61=5, Resulting Numbers: [49, 28, 5] Generated Node #0,0: 82:[49, 28, 5] Operation: 66-61=5 Moving to Node #0,0 Current State: 82:[49, 28, 5], Operations: ['66-61=5'] Exploring Operation: 49+28=77, Resulting Numbers: [5, 77] Generated Node #0,0,0: 82:[5, 77] Operation: 49+28=77 Moving to Node #0,0,0 Current State: 82:[5, 77], Operations: ['66-61=5', '49+28=77'] Exploring Operation: 5+77=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 58, 42, 30, 4 ]
76
[ "42+30=72", "72/4=18", "58+18=76" ]
Current State: 76:[58, 42, 30, 4], Operations: [] Exploring Operation: 42+30=72, Resulting Numbers: [58, 4, 72] Generated Node #2: [58, 4, 72] from Operation: 42+30=72 Current State: 76:[58, 4, 72], Operations: ['42+30=72'] Exploring Operation: 72/4=18, Resulting Numbers: [58, 18] Generated Node #3: [58, 18] from Operation: 72/4=18 Current State: 76:[58, 18], Operations: ['42+30=72', '72/4=18'] Exploring Operation: 58+18=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[58, 42, 30, 4], Operations: [] Exploring Operation: 42+30=72, Resulting Numbers: [58, 4, 72] Generated Node #0,0: 76:[58, 4, 72] Operation: 42+30=72 Exploring Operation: 58-42=16, Resulting Numbers: [30, 4, 16] Generated Node #0,1: 76:[30, 4, 16] Operation: 58-42=16 Exploring Operation: 58-30=28, Resulting Numbers: [42, 4, 28] Generated Node #0,2: 76:[42, 4, 28] Operation: 58-30=28 Exploring Operation: 58+30=88, Resulting Numbers: [42, 4, 88] Generated Node #0,3: 76:[42, 4, 88] Operation: 58+30=88 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[30, 4, 16], Operations: ['58-42=16'] Exploring Operation: 30-16=14, Resulting Numbers: [4, 14] Generated Node #0,1,0: 76:[4, 14] Operation: 30-16=14 Exploring Operation: 30+4=34, Resulting Numbers: [16, 34] Generated Node #0,1,1: 76:[16, 34] Operation: 30+4=34 Exploring Operation: 16/4=4, Resulting Numbers: [30, 4] Generated Node #0,1,2: 76:[30, 4] Operation: 16/4=4 Exploring Operation: 30+16=46, Resulting Numbers: [4, 46] Generated Node #0,1,3: 76:[4, 46] Operation: 30+16=46 Moving to Node #0,1,0 Current State: 76:[4, 14], Operations: ['58-42=16', '30-16=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[16, 34], Operations: ['58-42=16', '30+4=34'] Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,76 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[4, 46], Operations: ['58-42=16', '30+16=46'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[30, 4], Operations: ['58-42=16', '16/4=4'] Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,76 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,76 unequal: No Solution Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[42, 4, 28], Operations: ['58-30=28'] Exploring Operation: 42-28=14, Resulting Numbers: [4, 14] Generated Node #0,2,0: 76:[4, 14] Operation: 42-28=14 Exploring Operation: 28/4=7, Resulting Numbers: [42, 7] Generated Node #0,2,1: 76:[42, 7] Operation: 28/4=7 Exploring Operation: 42-4=38, Resulting Numbers: [28, 38] Generated Node #0,2,2: 76:[28, 38] Operation: 42-4=38 Exploring Operation: 42+28=70, Resulting Numbers: [4, 70] Generated Node #0,2,3: 76:[4, 70] Operation: 42+28=70 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 76:[4, 14], Operations: ['58-30=28', '42-28=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 76:[4, 70], Operations: ['58-30=28', '42+28=70'] Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,76 unequal: No Solution Exploring Operation: 4*70=280, Resulting Numbers: [280] 280,76 unequal: No Solution Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 76:[42, 7], Operations: ['58-30=28', '28/4=7'] Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 42*7=294, Resulting Numbers: [294] 294,76 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 76:[28, 38], Operations: ['58-30=28', '42-4=38'] Exploring Operation: 38-28=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 28+38=66, Resulting Numbers: [66] 66,76 unequal: No Solution Exploring Operation: 28*38=1064, Resulting Numbers: [1064] 1064,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[42, 4, 88], Operations: ['58+30=88'] Exploring Operation: 88-42=46, Resulting Numbers: [4, 46] Generated Node #0,3,0: 76:[4, 46] Operation: 88-42=46 Exploring Operation: 42-4=38, Resulting Numbers: [88, 38] Generated Node #0,3,1: 76:[88, 38] Operation: 42-4=38 Exploring Operation: 88/4=22, Resulting Numbers: [42, 22] Generated Node #0,3,2: 76:[42, 22] Operation: 88/4=22 Exploring Operation: 88-4=84, Resulting Numbers: [42, 84] Generated Node #0,3,3: 76:[42, 84] Operation: 88-4=84 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 76:[42, 22], Operations: ['58+30=88', '88/4=22'] Exploring Operation: 42*22=924, Resulting Numbers: [924] 924,76 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 76:[4, 46], Operations: ['58+30=88', '88-42=46'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,76 unequal: No Solution Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 76:[88, 38], Operations: ['58+30=88', '42-4=38'] Exploring Operation: 88+38=126, Resulting Numbers: [126] 126,76 unequal: No Solution Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 88*38=3344, Resulting Numbers: [3344] 3344,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 76:[42, 84], Operations: ['58+30=88', '88-4=84'] Exploring Operation: 42*84=3528, Resulting Numbers: [3528] 3528,76 unequal: No Solution Exploring Operation: 42+84=126, Resulting Numbers: [126] 126,76 unequal: No Solution Exploring Operation: 84-42=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 84/42=2, Resulting Numbers: [2] 2,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[58, 4, 72], Operations: ['42+30=72'] Exploring Operation: 72/4=18, Resulting Numbers: [58, 18] Generated Node #0,0,0: 76:[58, 18] Operation: 72/4=18 Exploring Operation: 4+72=76, Resulting Numbers: [58, 76] Generated Node #0,0,1: 76:[58, 76] Operation: 4+72=76 Exploring Operation: 58+4=62, Resulting Numbers: [72, 62] Generated Node #0,0,2: 76:[72, 62] Operation: 58+4=62 Exploring Operation: 72-58=14, Resulting Numbers: [4, 14] Generated Node #0,0,3: 76:[4, 14] Operation: 72-58=14 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 76:[4, 14], Operations: ['42+30=72', '72-58=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[58, 76], Operations: ['42+30=72', '4+72=76'] Exploring Operation: 58+76=134, Resulting Numbers: [134] 134,76 unequal: No Solution Exploring Operation: 58*76=4408, Resulting Numbers: [4408] 4408,76 unequal: No Solution Exploring Operation: 76-58=18, Resulting Numbers: [18] 18,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 76:[72, 62], Operations: ['42+30=72', '58+4=62'] Exploring Operation: 72+62=134, Resulting Numbers: [134] 134,76 unequal: No Solution Exploring Operation: 72-62=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 72*62=4464, Resulting Numbers: [4464] 4464,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[58, 18], Operations: ['42+30=72', '72/4=18'] Exploring Operation: 58+18=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[58, 42, 30, 4], Operations: [] Exploring Operation: 42+30=72, Resulting Numbers: [58, 4, 72] Generated Node #0,0: 76:[58, 4, 72] Operation: 42+30=72 Moving to Node #0,0 Current State: 76:[58, 4, 72], Operations: ['42+30=72'] Exploring Operation: 72/4=18, Resulting Numbers: [58, 18] Generated Node #0,0,0: 76:[58, 18] Operation: 72/4=18 Moving to Node #0,0,0 Current State: 76:[58, 18], Operations: ['42+30=72', '72/4=18'] Exploring Operation: 58+18=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.9375
hs_4
mult_heuristic
[ 7, 92, 38, 28 ]
75
[ "92-7=85", "38-28=10", "85-10=75" ]
Current State: 75:[7, 92, 38, 28], Operations: [] Exploring Operation: 92-7=85, Resulting Numbers: [38, 28, 85] Generated Node #2: [38, 28, 85] from Operation: 92-7=85 Current State: 75:[38, 28, 85], Operations: ['92-7=85'] Exploring Operation: 38-28=10, Resulting Numbers: [85, 10] Generated Node #3: [85, 10] from Operation: 38-28=10 Current State: 75:[85, 10], Operations: ['92-7=85', '38-28=10'] Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[7, 92, 38, 28], Operations: [] Exploring Operation: 92-7=85, Resulting Numbers: [38, 28, 85] Generated Node #0,0: 75:[38, 28, 85] Operation: 92-7=85 Exploring Operation: 38-28=10, Resulting Numbers: [7, 92, 10] Generated Node #0,1: 75:[7, 92, 10] Operation: 38-28=10 Moving to Node #0,1 Current State: 75:[7, 92, 10], Operations: ['38-28=10'] Exploring Operation: 92-10=82, Resulting Numbers: [7, 82] Generated Node #0,1,0: 75:[7, 82] Operation: 92-10=82 Exploring Operation: 92-7=85, Resulting Numbers: [10, 85] Generated Node #0,1,1: 75:[10, 85] Operation: 92-7=85 Moving to Node #0,0 Current State: 75:[38, 28, 85], Operations: ['92-7=85'] Exploring Operation: 38+28=66, Resulting Numbers: [85, 66] Generated Node #0,0,0: 75:[85, 66] Operation: 38+28=66 Exploring Operation: 38-28=10, Resulting Numbers: [85, 10] Generated Node #0,0,1: 75:[85, 10] Operation: 38-28=10 Moving to Node #0,1,0 Current State: 75:[7, 82], Operations: ['38-28=10', '92-10=82'] Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[7, 92, 38, 28], Operations: [] Exploring Operation: 38-28=10, Resulting Numbers: [7, 92, 10] Generated Node #0,1: 75:[7, 92, 10] Operation: 38-28=10 Moving to Node #0,1 Current State: 75:[7, 92, 10], Operations: ['38-28=10'] Exploring Operation: 92-10=82, Resulting Numbers: [7, 82] Generated Node #0,1,0: 75:[7, 82] Operation: 92-10=82 Moving to Node #0,1,0 Current State: 75:[7, 82], Operations: ['38-28=10', '92-10=82'] Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 18, 86, 16, 70 ]
51
[ "18-16=2", "70/2=35", "86-35=51" ]
Current State: 51:[18, 86, 16, 70], Operations: [] Exploring Operation: 18-16=2, Resulting Numbers: [86, 70, 2] Generated Node #2: [86, 70, 2] from Operation: 18-16=2 Current State: 51:[86, 70, 2], Operations: ['18-16=2'] Exploring Operation: 70/2=35, Resulting Numbers: [86, 35] Generated Node #3: [86, 35] from Operation: 70/2=35 Current State: 51:[86, 35], Operations: ['18-16=2', '70/2=35'] Exploring Operation: 86-35=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[18, 86, 16, 70], Operations: [] Exploring Operation: 86-70=16, Resulting Numbers: [18, 16, 16] Generated Node #0,0: 51:[18, 16, 16] Operation: 86-70=16 Exploring Operation: 70-18=52, Resulting Numbers: [86, 16, 52] Generated Node #0,1: 51:[86, 16, 52] Operation: 70-18=52 Exploring Operation: 86-18=68, Resulting Numbers: [16, 70, 68] Generated Node #0,2: 51:[16, 70, 68] Operation: 86-18=68 Exploring Operation: 86-16=70, Resulting Numbers: [18, 70, 70] Generated Node #0,3: 51:[18, 70, 70] Operation: 86-16=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[18, 16, 16], Operations: ['86-70=16'] Exploring Operation: 16/16=1, Resulting Numbers: [18, 1] Generated Node #0,0,0: 51:[18, 1] Operation: 16/16=1 Exploring Operation: 18-16=2, Resulting Numbers: [16, 2] Generated Node #0,0,1: 51:[16, 2] Operation: 18-16=2 Exploring Operation: 16-16=0, Resulting Numbers: [18, 0] Generated Node #0,0,2: 51:[18, 0] Operation: 16-16=0 Exploring Operation: 18-16=2, Resulting Numbers: [16, 2] Generated Node #0,0,3: 51:[16, 2] Operation: 18-16=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[16, 2], Operations: ['86-70=16', '18-16=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,51 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,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:[16, 2], Operations: ['86-70=16', '18-16=2'] Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,51 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,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:[18, 1], Operations: ['86-70=16', '16/16=1'] Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,51 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 51:[18, 0], Operations: ['86-70=16', '16-16=0'] Exploring Operation: 18+0=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 18*0=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 18-0=18, Resulting Numbers: [18] 18,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:[86, 16, 52], Operations: ['70-18=52'] Exploring Operation: 86-16=70, Resulting Numbers: [52, 70] Generated Node #0,1,0: 51:[52, 70] Operation: 86-16=70 Exploring Operation: 86+16=102, Resulting Numbers: [52, 102] Generated Node #0,1,1: 51:[52, 102] Operation: 86+16=102 Exploring Operation: 86-52=34, Resulting Numbers: [16, 34] Generated Node #0,1,2: 51:[16, 34] Operation: 86-52=34 Exploring Operation: 52-16=36, Resulting Numbers: [86, 36] Generated Node #0,1,3: 51:[86, 36] Operation: 52-16=36 Moving to Node #0,1,2 Current State: 51:[16, 34], Operations: ['70-18=52', '86-52=34'] Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[52, 70], Operations: ['70-18=52', '86-16=70'] Exploring Operation: 52*70=3640, Resulting Numbers: [3640] 3640,51 unequal: No Solution Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 52+70=122, Resulting Numbers: [122] 122,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[86, 36], Operations: ['70-18=52', '52-16=36'] Exploring Operation: 86+36=122, Resulting Numbers: [122] 122,51 unequal: No Solution Exploring Operation: 86*36=3096, Resulting Numbers: [3096] 3096,51 unequal: No Solution Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[52, 102], Operations: ['70-18=52', '86+16=102'] Exploring Operation: 102-52=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 52*102=5304, Resulting Numbers: [5304] 5304,51 unequal: No Solution Exploring Operation: 52+102=154, Resulting Numbers: [154] 154,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[16, 70, 68], Operations: ['86-18=68'] Exploring Operation: 70-68=2, Resulting Numbers: [16, 2] Generated Node #0,2,0: 51:[16, 2] Operation: 70-68=2 Exploring Operation: 68-16=52, Resulting Numbers: [70, 52] Generated Node #0,2,1: 51:[70, 52] Operation: 68-16=52 Exploring Operation: 16+70=86, Resulting Numbers: [68, 86] Generated Node #0,2,2: 51:[68, 86] Operation: 16+70=86 Exploring Operation: 70-16=54, Resulting Numbers: [68, 54] Generated Node #0,2,3: 51:[68, 54] Operation: 70-16=54 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[16, 2], Operations: ['86-18=68', '70-68=2'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,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:[70, 52], Operations: ['86-18=68', '68-16=52'] Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 70*52=3640, Resulting Numbers: [3640] 3640,51 unequal: No Solution Exploring Operation: 70+52=122, Resulting Numbers: [122] 122,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:[68, 54], Operations: ['86-18=68', '70-16=54'] Exploring Operation: 68*54=3672, Resulting Numbers: [3672] 3672,51 unequal: No Solution Exploring Operation: 68-54=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 68+54=122, Resulting Numbers: [122] 122,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:[68, 86], Operations: ['86-18=68', '16+70=86'] Exploring Operation: 68*86=5848, Resulting Numbers: [5848] 5848,51 unequal: No Solution Exploring Operation: 86-68=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 68+86=154, Resulting Numbers: [154] 154,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:[18, 70, 70], Operations: ['86-16=70'] Exploring Operation: 70-18=52, Resulting Numbers: [70, 52] Generated Node #0,3,0: 51:[70, 52] Operation: 70-18=52 Exploring Operation: 70-70=0, Resulting Numbers: [18, 0] Generated Node #0,3,1: 51:[18, 0] Operation: 70-70=0 Exploring Operation: 70-18=52, Resulting Numbers: [70, 52] Generated Node #0,3,2: 51:[70, 52] Operation: 70-18=52 Exploring Operation: 70/70=1, Resulting Numbers: [18, 1] Generated Node #0,3,3: 51:[18, 1] Operation: 70/70=1 Moving to Node #0,3,3 Current State: 51:[18, 1], Operations: ['86-16=70', '70/70=1'] Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,51 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,51 unequal: No Solution Moving to Node #0,3,1 Current State: 51:[18, 0], Operations: ['86-16=70', '70-70=0'] Exploring Operation: 18-0=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 18+0=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 18*0=0, Resulting Numbers: [0] 0,51 unequal: No Solution Moving to Node #0,3,2 Current State: 51:[70, 52], Operations: ['86-16=70', '70-18=52'] Exploring Operation: 70*52=3640, Resulting Numbers: [3640] 3640,51 unequal: No Solution Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 70+52=122, Resulting Numbers: [122] 122,51 unequal: No Solution Moving to Node #0,3,0 Current State: 51:[70, 52], Operations: ['86-16=70', '70-18=52'] Exploring Operation: 70+52=122, Resulting Numbers: [122] 122,51 unequal: No Solution Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 70*52=3640, Resulting Numbers: [3640] 3640,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 54, 64, 71, 89 ]
61
[ "89-71=18", "54/18=3", "64-3=61" ]
Current State: 61:[54, 64, 71, 89], Operations: [] Exploring Operation: 89-71=18, Resulting Numbers: [54, 64, 18] Generated Node #2: [54, 64, 18] from Operation: 89-71=18 Current State: 61:[54, 64, 18], Operations: ['89-71=18'] Exploring Operation: 54/18=3, Resulting Numbers: [64, 3] Generated Node #3: [64, 3] from Operation: 54/18=3 Current State: 61:[64, 3], Operations: ['89-71=18', '54/18=3'] Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[54, 64, 71, 89], Operations: [] Exploring Operation: 89-54=35, Resulting Numbers: [64, 71, 35] Generated Node #0,0: 61:[64, 71, 35] Operation: 89-54=35 Moving to Node #0,0 Current State: 61:[64, 71, 35], Operations: ['89-54=35'] Exploring Operation: 71-35=36, Resulting Numbers: [64, 36] Generated Node #0,0,0: 61:[64, 36] Operation: 71-35=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[64, 36], Operations: ['89-54=35', '71-35=36'] Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 23, 87, 63, 29 ]
29
[ "87-23=64", "64-63=1", "29*1=29" ]
Current State: 29:[23, 87, 63, 29], Operations: [] Exploring Operation: 87-23=64, Resulting Numbers: [63, 29, 64] Generated Node #2: [63, 29, 64] from Operation: 87-23=64 Current State: 29:[63, 29, 64], Operations: ['87-23=64'] Exploring Operation: 64-63=1, Resulting Numbers: [29, 1] Generated Node #3: [29, 1] from Operation: 64-63=1 Current State: 29:[29, 1], Operations: ['87-23=64', '64-63=1'] Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[23, 87, 63, 29], Operations: [] Exploring Operation: 87-63=24, Resulting Numbers: [23, 29, 24] Generated Node #0,0: 29:[23, 29, 24] Operation: 87-63=24 Exploring Operation: 87/29=3, Resulting Numbers: [23, 63, 3] Generated Node #0,1: 29:[23, 63, 3] Operation: 87/29=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[23, 29, 24], Operations: ['87-63=24'] Exploring Operation: 23+24=47, Resulting Numbers: [29, 47] Generated Node #0,0,0: 29:[29, 47] Operation: 23+24=47 Exploring Operation: 23+29=52, Resulting Numbers: [24, 52] Generated Node #0,0,1: 29:[24, 52] Operation: 23+29=52 Moving to Node #0,0,0 Current State: 29:[29, 47], Operations: ['87-63=24', '23+24=47'] Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 29+47=76, Resulting Numbers: [76] 76,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[24, 52], Operations: ['87-63=24', '23+29=52'] Exploring Operation: 24+52=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,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 Current State: 29:[23, 63, 3], Operations: ['87/29=3'] Exploring Operation: 63/3=21, Resulting Numbers: [23, 21] Generated Node #0,1,0: 29:[23, 21] Operation: 63/3=21 Exploring Operation: 63-23=40, Resulting Numbers: [3, 40] Generated Node #0,1,1: 29:[3, 40] Operation: 63-23=40 Moving to Node #0,1,0 Current State: 29:[23, 21], Operations: ['87/29=3', '63/3=21'] Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 23+21=44, Resulting Numbers: [44] 44,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[3, 40], Operations: ['87/29=3', '63-23=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,29 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,29 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
[ 14, 16, 2, 41 ]
19
[ "14+16=30", "2*30=60", "60-41=19" ]
Current State: 19:[14, 16, 2, 41], Operations: [] Exploring Operation: 14+16=30, Resulting Numbers: [2, 41, 30] Generated Node #2: [2, 41, 30] from Operation: 14+16=30 Current State: 19:[2, 41, 30], Operations: ['14+16=30'] Exploring Operation: 2*30=60, Resulting Numbers: [41, 60] Generated Node #3: [41, 60] from Operation: 2*30=60 Current State: 19:[41, 60], Operations: ['14+16=30', '2*30=60'] Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[14, 16, 2, 41], Operations: [] Exploring Operation: 41-14=27, Resulting Numbers: [16, 2, 27] Generated Node #0,0: 19:[16, 2, 27] Operation: 41-14=27 Exploring Operation: 14+2=16, Resulting Numbers: [16, 41, 16] Generated Node #0,1: 19:[16, 41, 16] Operation: 14+2=16 Exploring Operation: 16+2=18, Resulting Numbers: [14, 41, 18] Generated Node #0,2: 19:[14, 41, 18] Operation: 16+2=18 Moving to Node #0,0 Current State: 19:[16, 2, 27], Operations: ['41-14=27'] Exploring Operation: 27-2=25, Resulting Numbers: [16, 25] Generated Node #0,0,0: 19:[16, 25] Operation: 27-2=25 Exploring Operation: 16+2=18, Resulting Numbers: [27, 18] Generated Node #0,0,1: 19:[27, 18] Operation: 16+2=18 Exploring Operation: 16-2=14, Resulting Numbers: [27, 14] Generated Node #0,0,2: 19:[27, 14] Operation: 16-2=14 Moving to Node #0,1 Current State: 19:[16, 41, 16], Operations: ['14+2=16'] Exploring Operation: 41-16=25, Resulting Numbers: [16, 25] Generated Node #0,1,0: 19:[16, 25] Operation: 41-16=25 Exploring Operation: 41-16=25, Resulting Numbers: [16, 25] Generated Node #0,1,1: 19:[16, 25] Operation: 41-16=25 Exploring Operation: 16+16=32, Resulting Numbers: [41, 32] Generated Node #0,1,2: 19:[41, 32] Operation: 16+16=32 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[16, 25], Operations: ['14+2=16', '41-16=25'] Exploring Operation: 16+25=41, Resulting Numbers: [41] 41,19 unequal: No Solution Exploring Operation: 16*25=400, Resulting Numbers: [400] 400,19 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,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,1 Current State: 19:[16, 25], Operations: ['14+2=16', '41-16=25'] Exploring Operation: 16*25=400, Resulting Numbers: [400] 400,19 unequal: No Solution Exploring Operation: 16+25=41, Resulting Numbers: [41] 41,19 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,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:[41, 32], Operations: ['14+2=16', '16+16=32'] Exploring Operation: 41*32=1312, Resulting Numbers: [1312] 1312,19 unequal: No Solution Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,19 unequal: No Solution Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 19:[14, 41, 18], Operations: ['16+2=18'] Exploring Operation: 14+18=32, Resulting Numbers: [41, 32] Generated Node #0,2,0: 19:[41, 32] Operation: 14+18=32 Exploring Operation: 41-18=23, Resulting Numbers: [14, 23] Generated Node #0,2,1: 19:[14, 23] Operation: 41-18=23 Exploring Operation: 41-14=27, Resulting Numbers: [18, 27] Generated Node #0,2,2: 19:[18, 27] Operation: 41-14=27 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 19:[14, 23], Operations: ['16+2=18', '41-18=23'] Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,19 unequal: No Solution Exploring Operation: 14*23=322, Resulting Numbers: [322] 322,19 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,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,2 Current State: 19:[18, 27], Operations: ['16+2=18', '41-14=27'] Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 18+27=45, Resulting Numbers: [45] 45,19 unequal: No Solution Exploring Operation: 18*27=486, Resulting Numbers: [486] 486,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 19:[41, 32], Operations: ['16+2=18', '14+18=32'] Exploring Operation: 41*32=1312, Resulting Numbers: [1312] 1312,19 unequal: No Solution Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 19:[16, 25], Operations: ['41-14=27', '27-2=25'] Exploring Operation: 16*25=400, Resulting Numbers: [400] 400,19 unequal: No Solution Exploring Operation: 16+25=41, Resulting Numbers: [41] 41,19 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[27, 18], Operations: ['41-14=27', '16+2=18'] Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,19 unequal: No Solution Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,19 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[27, 14], Operations: ['41-14=27', '16-2=14'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,19 unequal: No Solution Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,19 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 83, 8, 64, 52 ]
13
[ "64-52=12", "8*12=96", "96-83=13" ]
Current State: 13:[83, 8, 64, 52], Operations: [] Exploring Operation: 64-52=12, Resulting Numbers: [83, 8, 12] Generated Node #2: [83, 8, 12] from Operation: 64-52=12 Current State: 13:[83, 8, 12], Operations: ['64-52=12'] Exploring Operation: 8*12=96, Resulting Numbers: [83, 96] Generated Node #3: [83, 96] from Operation: 8*12=96 Current State: 13:[83, 96], Operations: ['64-52=12', '8*12=96'] Exploring Operation: 96-83=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[83, 8, 64, 52], Operations: [] Exploring Operation: 83-64=19, Resulting Numbers: [8, 52, 19] Generated Node #0,0: 13:[8, 52, 19] Operation: 83-64=19 Exploring Operation: 64-52=12, Resulting Numbers: [83, 8, 12] Generated Node #0,1: 13:[83, 8, 12] Operation: 64-52=12 Exploring Operation: 83-52=31, Resulting Numbers: [8, 64, 31] Generated Node #0,2: 13:[8, 64, 31] Operation: 83-52=31 Exploring Operation: 64/8=8, Resulting Numbers: [83, 52, 8] Generated Node #0,3: 13:[83, 52, 8] Operation: 64/8=8 Moving to Node #0,0 Current State: 13:[8, 52, 19], Operations: ['83-64=19'] Exploring Operation: 52-8=44, Resulting Numbers: [19, 44] Generated Node #0,0,0: 13:[19, 44] Operation: 52-8=44 Exploring Operation: 52-19=33, Resulting Numbers: [8, 33] Generated Node #0,0,1: 13:[8, 33] Operation: 52-19=33 Exploring Operation: 19-8=11, Resulting Numbers: [52, 11] Generated Node #0,0,2: 13:[52, 11] Operation: 19-8=11 Exploring Operation: 8+52=60, Resulting Numbers: [19, 60] Generated Node #0,0,3: 13:[19, 60] Operation: 8+52=60 Moving to Node #0,2 Current State: 13:[8, 64, 31], Operations: ['83-52=31'] Exploring Operation: 64-8=56, Resulting Numbers: [31, 56] Generated Node #0,2,0: 13:[31, 56] Operation: 64-8=56 Exploring Operation: 64/8=8, Resulting Numbers: [31, 8] Generated Node #0,2,1: 13:[31, 8] Operation: 64/8=8 Exploring Operation: 64-31=33, Resulting Numbers: [8, 33] Generated Node #0,2,2: 13:[8, 33] Operation: 64-31=33 Exploring Operation: 31-8=23, Resulting Numbers: [64, 23] Generated Node #0,2,3: 13:[64, 23] Operation: 31-8=23 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 13:[31, 8], Operations: ['83-52=31', '64/8=8'] Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,13 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,13 unequal: No Solution Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 13:[8, 33], Operations: ['83-52=31', '64-31=33'] Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,13 unequal: No Solution Exploring Operation: 8*33=264, Resulting Numbers: [264] 264,13 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 13:[31, 56], Operations: ['83-52=31', '64-8=56'] Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,13 unequal: No Solution Exploring Operation: 31*56=1736, Resulting Numbers: [1736] 1736,13 unequal: No Solution Exploring Operation: 31+56=87, Resulting Numbers: [87] 87,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 13:[64, 23], Operations: ['83-52=31', '31-8=23'] Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,13 unequal: No Solution Exploring Operation: 64*23=1472, Resulting Numbers: [1472] 1472,13 unequal: No Solution Exploring Operation: 64+23=87, Resulting Numbers: [87] 87,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 13:[83, 8, 12], Operations: ['64-52=12'] Exploring Operation: 83-8=75, Resulting Numbers: [12, 75] Generated Node #0,1,0: 13:[12, 75] Operation: 83-8=75 Exploring Operation: 83-12=71, Resulting Numbers: [8, 71] Generated Node #0,1,1: 13:[8, 71] Operation: 83-12=71 Exploring Operation: 8+12=20, Resulting Numbers: [83, 20] Generated Node #0,1,2: 13:[83, 20] Operation: 8+12=20 Exploring Operation: 83+8=91, Resulting Numbers: [12, 91] Generated Node #0,1,3: 13:[12, 91] Operation: 83+8=91 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[12, 75], Operations: ['64-52=12', '83-8=75'] Exploring Operation: 12+75=87, Resulting Numbers: [87] 87,13 unequal: No Solution Exploring Operation: 12*75=900, Resulting Numbers: [900] 900,13 unequal: No Solution Exploring Operation: 75-12=63, Resulting Numbers: [63] 63,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:[8, 71], Operations: ['64-52=12', '83-12=71'] Exploring Operation: 8+71=79, Resulting Numbers: [79] 79,13 unequal: No Solution Exploring Operation: 8*71=568, Resulting Numbers: [568] 568,13 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 13:[83, 20], Operations: ['64-52=12', '8+12=20'] Exploring Operation: 83+20=103, Resulting Numbers: [103] 103,13 unequal: No Solution Exploring Operation: 83*20=1660, Resulting Numbers: [1660] 1660,13 unequal: No Solution Exploring Operation: 83-20=63, Resulting Numbers: [63] 63,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,3 Current State: 13:[12, 91], Operations: ['64-52=12', '83+8=91'] Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,13 unequal: No Solution Exploring Operation: 12*91=1092, Resulting Numbers: [1092] 1092,13 unequal: No Solution Exploring Operation: 12+91=103, Resulting Numbers: [103] 103,13 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: 13:[83, 52, 8], Operations: ['64/8=8'] Exploring Operation: 83-52=31, Resulting Numbers: [8, 31] Generated Node #0,3,0: 13:[8, 31] Operation: 83-52=31 Exploring Operation: 83-8=75, Resulting Numbers: [52, 75] Generated Node #0,3,1: 13:[52, 75] Operation: 83-8=75 Exploring Operation: 83+8=91, Resulting Numbers: [52, 91] Generated Node #0,3,2: 13:[52, 91] Operation: 83+8=91 Exploring Operation: 52-8=44, Resulting Numbers: [83, 44] Generated Node #0,3,3: 13:[83, 44] Operation: 52-8=44 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 13:[8, 31], Operations: ['64/8=8', '83-52=31'] Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,13 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,13 unequal: No Solution Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 13:[52, 75], Operations: ['64/8=8', '83-8=75'] Exploring Operation: 75-52=23, Resulting Numbers: [23] 23,13 unequal: No Solution Exploring Operation: 52+75=127, Resulting Numbers: [127] 127,13 unequal: No Solution Exploring Operation: 52*75=3900, Resulting Numbers: [3900] 3900,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 13:[83, 44], Operations: ['64/8=8', '52-8=44'] Exploring Operation: 83*44=3652, Resulting Numbers: [3652] 3652,13 unequal: No Solution Exploring Operation: 83+44=127, Resulting Numbers: [127] 127,13 unequal: No Solution Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 13:[52, 91], Operations: ['64/8=8', '83+8=91'] Exploring Operation: 52+91=143, Resulting Numbers: [143] 143,13 unequal: No Solution Exploring Operation: 52*91=4732, Resulting Numbers: [4732] 4732,13 unequal: No Solution Exploring Operation: 91-52=39, Resulting Numbers: [39] 39,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:[8, 33], Operations: ['83-64=19', '52-19=33'] Exploring Operation: 8*33=264, Resulting Numbers: [264] 264,13 unequal: No Solution Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,13 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[19, 44], Operations: ['83-64=19', '52-8=44'] Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,13 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,13 unequal: No Solution Exploring Operation: 19*44=836, Resulting Numbers: [836] 836,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[52, 11], Operations: ['83-64=19', '19-8=11'] Exploring Operation: 52+11=63, Resulting Numbers: [63] 63,13 unequal: No Solution Exploring Operation: 52*11=572, Resulting Numbers: [572] 572,13 unequal: No Solution Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,13 unequal: No Solution Moving to Node #0,0,3 Current State: 13:[19, 60], Operations: ['83-64=19', '8+52=60'] Exploring Operation: 19*60=1140, Resulting Numbers: [1140] 1140,13 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,13 unequal: No Solution Exploring Operation: 19+60=79, Resulting Numbers: [79] 79,13 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 1, 89, 87, 45 ]
42
[ "1+89=90", "87+45=132", "132-90=42" ]
Current State: 42:[1, 89, 87, 45], Operations: [] Exploring Operation: 1+89=90, Resulting Numbers: [87, 45, 90] Generated Node #2: [87, 45, 90] from Operation: 1+89=90 Current State: 42:[87, 45, 90], Operations: ['1+89=90'] Exploring Operation: 87+45=132, Resulting Numbers: [90, 132] Generated Node #3: [90, 132] from Operation: 87+45=132 Current State: 42:[90, 132], Operations: ['1+89=90', '87+45=132'] Exploring Operation: 132-90=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[1, 89, 87, 45], Operations: [] Exploring Operation: 89-45=44, Resulting Numbers: [1, 87, 44] Generated Node #0,0: 42:[1, 87, 44] Operation: 89-45=44 Exploring Operation: 87-45=42, Resulting Numbers: [1, 89, 42] Generated Node #0,1: 42:[1, 89, 42] Operation: 87-45=42 Exploring Operation: 89-87=2, Resulting Numbers: [1, 45, 2] Generated Node #0,2: 42:[1, 45, 2] Operation: 89-87=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[1, 45, 2], Operations: ['89-87=2'] Exploring Operation: 45-1=44, Resulting Numbers: [2, 44] Generated Node #0,2,0: 42:[2, 44] Operation: 45-1=44 Exploring Operation: 1*45=45, Resulting Numbers: [2, 45] Generated Node #0,2,1: 42:[2, 45] Operation: 1*45=45 Exploring Operation: 45-2=43, Resulting Numbers: [1, 43] Generated Node #0,2,2: 42:[1, 43] Operation: 45-2=43 Moving to Node #0,2,0 Current State: 42:[2, 44], Operations: ['89-87=2', '45-1=44'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[1, 89, 87, 45], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [1, 45, 2] Generated Node #0,2: 42:[1, 45, 2] Operation: 89-87=2 Moving to Node #0,2 Current State: 42:[1, 45, 2], Operations: ['89-87=2'] Exploring Operation: 45-1=44, Resulting Numbers: [2, 44] Generated Node #0,2,0: 42:[2, 44] Operation: 45-1=44 Moving to Node #0,2,0 Current State: 42:[2, 44], Operations: ['89-87=2', '45-1=44'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 5, 68, 79, 32 ]
16
[ "68-5=63", "79-32=47", "63-47=16" ]
Current State: 16:[5, 68, 79, 32], Operations: [] Exploring Operation: 68-5=63, Resulting Numbers: [79, 32, 63] Generated Node #2: [79, 32, 63] from Operation: 68-5=63 Current State: 16:[79, 32, 63], Operations: ['68-5=63'] Exploring Operation: 79-32=47, Resulting Numbers: [63, 47] Generated Node #3: [63, 47] from Operation: 79-32=47 Current State: 16:[63, 47], Operations: ['68-5=63', '79-32=47'] Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[5, 68, 79, 32], Operations: [] Exploring Operation: 68-32=36, Resulting Numbers: [5, 79, 36] Generated Node #0,0: 16:[5, 79, 36] Operation: 68-32=36 Exploring Operation: 79-68=11, Resulting Numbers: [5, 32, 11] Generated Node #0,1: 16:[5, 32, 11] Operation: 79-68=11 Moving to Node #0,1 Current State: 16:[5, 32, 11], Operations: ['79-68=11'] Exploring Operation: 32-11=21, Resulting Numbers: [5, 21] Generated Node #0,1,0: 16:[5, 21] Operation: 32-11=21 Exploring Operation: 32-5=27, Resulting Numbers: [11, 27] Generated Node #0,1,1: 16:[11, 27] Operation: 32-5=27 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[5, 21], Operations: ['79-68=11', '32-11=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[5, 68, 79, 32], Operations: [] Exploring Operation: 79-68=11, Resulting Numbers: [5, 32, 11] Generated Node #0,1: 16:[5, 32, 11] Operation: 79-68=11 Moving to Node #0,1 Current State: 16:[5, 32, 11], Operations: ['79-68=11'] Exploring Operation: 32-11=21, Resulting Numbers: [5, 21] Generated Node #0,1,0: 16:[5, 21] Operation: 32-11=21 Moving to Node #0,1,0 Current State: 16:[5, 21], Operations: ['79-68=11', '32-11=21'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 41, 38, 82, 56 ]
74
[ "82/41=2", "56*2=112", "112-38=74" ]
Current State: 74:[41, 38, 82, 56], Operations: [] Exploring Operation: 82/41=2, Resulting Numbers: [38, 56, 2] Generated Node #2: [38, 56, 2] from Operation: 82/41=2 Current State: 74:[38, 56, 2], Operations: ['82/41=2'] Exploring Operation: 56*2=112, Resulting Numbers: [38, 112] Generated Node #3: [38, 112] from Operation: 56*2=112 Current State: 74:[38, 112], Operations: ['82/41=2', '56*2=112'] Exploring Operation: 112-38=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[41, 38, 82, 56], Operations: [] Exploring Operation: 82/41=2, Resulting Numbers: [38, 56, 2] Generated Node #0,0: 74:[38, 56, 2] Operation: 82/41=2 Exploring Operation: 56-41=15, Resulting Numbers: [38, 82, 15] Generated Node #0,1: 74:[38, 82, 15] Operation: 56-41=15 Exploring Operation: 82-56=26, Resulting Numbers: [41, 38, 26] Generated Node #0,2: 74:[41, 38, 26] Operation: 82-56=26 Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[41, 38, 26], Operations: ['82-56=26'] Exploring Operation: 41-38=3, Resulting Numbers: [26, 3] Generated Node #0,2,0: 74:[26, 3] Operation: 41-38=3 Exploring Operation: 41+26=67, Resulting Numbers: [38, 67] Generated Node #0,2,1: 74:[38, 67] Operation: 41+26=67 Exploring Operation: 41-26=15, Resulting Numbers: [38, 15] Generated Node #0,2,2: 74:[38, 15] Operation: 41-26=15 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 74:[38, 67], Operations: ['82-56=26', '41+26=67'] Exploring Operation: 38+67=105, Resulting Numbers: [105] 105,74 unequal: No Solution Exploring Operation: 38*67=2546, Resulting Numbers: [2546] 2546,74 unequal: No Solution Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 74:[26, 3], Operations: ['82-56=26', '41-38=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,74 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,74 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 74:[38, 15], Operations: ['82-56=26', '41-26=15'] Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,74 unequal: No Solution Exploring Operation: 38*15=570, Resulting Numbers: [570] 570,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[38, 56, 2], Operations: ['82/41=2'] Exploring Operation: 56+2=58, Resulting Numbers: [38, 58] Generated Node #0,0,0: 74:[38, 58] Operation: 56+2=58 Exploring Operation: 56/2=28, Resulting Numbers: [38, 28] Generated Node #0,0,1: 74:[38, 28] Operation: 56/2=28 Exploring Operation: 56-38=18, Resulting Numbers: [2, 18] Generated Node #0,0,2: 74:[2, 18] Operation: 56-38=18 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[38, 28], Operations: ['82/41=2', '56/2=28'] Exploring Operation: 38-28=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 38*28=1064, Resulting Numbers: [1064] 1064,74 unequal: No Solution Exploring Operation: 38+28=66, Resulting Numbers: [66] 66,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[2, 18], Operations: ['82/41=2', '56-38=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,74 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[38, 58], Operations: ['82/41=2', '56+2=58'] Exploring Operation: 38*58=2204, Resulting Numbers: [2204] 2204,74 unequal: No Solution Exploring Operation: 38+58=96, Resulting Numbers: [96] 96,74 unequal: No Solution Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[38, 82, 15], Operations: ['56-41=15'] Exploring Operation: 82-15=67, Resulting Numbers: [38, 67] Generated Node #0,1,0: 74:[38, 67] Operation: 82-15=67 Exploring Operation: 82-38=44, Resulting Numbers: [15, 44] Generated Node #0,1,1: 74:[15, 44] Operation: 82-38=44 Exploring Operation: 38-15=23, Resulting Numbers: [82, 23] Generated Node #0,1,2: 74:[82, 23] Operation: 38-15=23 Moving to Node #0,1,0 Current State: 74:[38, 67], Operations: ['56-41=15', '82-15=67'] Exploring Operation: 38*67=2546, Resulting Numbers: [2546] 2546,74 unequal: No Solution Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,74 unequal: No Solution Exploring Operation: 38+67=105, Resulting Numbers: [105] 105,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[15, 44], Operations: ['56-41=15', '82-38=44'] Exploring Operation: 15+44=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,74 unequal: No Solution Exploring Operation: 15*44=660, Resulting Numbers: [660] 660,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[82, 23], Operations: ['56-41=15', '38-15=23'] Exploring Operation: 82+23=105, Resulting Numbers: [105] 105,74 unequal: No Solution Exploring Operation: 82-23=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 82*23=1886, Resulting Numbers: [1886] 1886,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 11, 94, 77, 55 ]
22
[ "55/11=5", "94-77=17", "5+17=22" ]
Current State: 22:[11, 94, 77, 55], Operations: [] Exploring Operation: 55/11=5, Resulting Numbers: [94, 77, 5] Generated Node #2: [94, 77, 5] from Operation: 55/11=5 Current State: 22:[94, 77, 5], Operations: ['55/11=5'] Exploring Operation: 94-77=17, Resulting Numbers: [5, 17] Generated Node #3: [5, 17] from Operation: 94-77=17 Current State: 22:[5, 17], Operations: ['55/11=5', '94-77=17'] Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[11, 94, 77, 55], Operations: [] Exploring Operation: 94-77=17, Resulting Numbers: [11, 55, 17] Generated Node #0,0: 22:[11, 55, 17] Operation: 94-77=17 Moving to Node #0,0 Current State: 22:[11, 55, 17], Operations: ['94-77=17'] Exploring Operation: 55/11=5, Resulting Numbers: [17, 5] Generated Node #0,0,0: 22:[17, 5] Operation: 55/11=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[17, 5], Operations: ['94-77=17', '55/11=5'] Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[11, 94, 77, 55], Operations: [] Exploring Operation: 94-77=17, Resulting Numbers: [11, 55, 17] Generated Node #0,0: 22:[11, 55, 17] Operation: 94-77=17 Moving to Node #0,0 Current State: 22:[11, 55, 17], Operations: ['94-77=17'] Exploring Operation: 55/11=5, Resulting Numbers: [17, 5] Generated Node #0,0,0: 22:[17, 5] Operation: 55/11=5 Moving to Node #0,0,0 Current State: 22:[17, 5], Operations: ['94-77=17', '55/11=5'] Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 1, 19, 20, 69 ]
70
[ "1+19=20", "20/20=1", "69+1=70" ]
Current State: 70:[1, 19, 20, 69], Operations: [] Exploring Operation: 1+19=20, Resulting Numbers: [20, 69, 20] Generated Node #2: [20, 69, 20] from Operation: 1+19=20 Current State: 70:[20, 69, 20], Operations: ['1+19=20'] Exploring Operation: 20/20=1, Resulting Numbers: [69, 1] Generated Node #3: [69, 1] from Operation: 20/20=1 Current State: 70:[69, 1], Operations: ['1+19=20', '20/20=1'] Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[1, 19, 20, 69], Operations: [] Exploring Operation: 20-19=1, Resulting Numbers: [1, 69, 1] Generated Node #0,0: 70:[1, 69, 1] Operation: 20-19=1 Moving to Node #0,0 Current State: 70:[1, 69, 1], Operations: ['20-19=1'] Exploring Operation: 1+69=70, Resulting Numbers: [1, 70] Generated Node #0,0,0: 70:[1, 70] Operation: 1+69=70 Moving to Node #0,0,0 Current State: 70:[1, 70], Operations: ['20-19=1', '1+69=70'] Exploring Operation: 1*70=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[1, 19, 20, 69], Operations: [] Exploring Operation: 20-19=1, Resulting Numbers: [1, 69, 1] Generated Node #0,0: 70:[1, 69, 1] Operation: 20-19=1 Moving to Node #0,0 Current State: 70:[1, 69, 1], Operations: ['20-19=1'] Exploring Operation: 1+69=70, Resulting Numbers: [1, 70] Generated Node #0,0,0: 70:[1, 70] Operation: 1+69=70 Moving to Node #0,0,0 Current State: 70:[1, 70], Operations: ['20-19=1', '1+69=70'] Exploring Operation: 1*70=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 11, 17, 61, 49 ]
82
[ "11+17=28", "61+49=110", "110-28=82" ]
Current State: 82:[11, 17, 61, 49], Operations: [] Exploring Operation: 11+17=28, Resulting Numbers: [61, 49, 28] Generated Node #2: [61, 49, 28] from Operation: 11+17=28 Current State: 82:[61, 49, 28], Operations: ['11+17=28'] Exploring Operation: 61+49=110, Resulting Numbers: [28, 110] Generated Node #3: [28, 110] from Operation: 61+49=110 Current State: 82:[28, 110], Operations: ['11+17=28', '61+49=110'] Exploring Operation: 110-28=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[11, 17, 61, 49], Operations: [] Exploring Operation: 61-17=44, Resulting Numbers: [11, 49, 44] Generated Node #0,0: 82:[11, 49, 44] Operation: 61-17=44 Exploring Operation: 17-11=6, Resulting Numbers: [61, 49, 6] Generated Node #0,1: 82:[61, 49, 6] Operation: 17-11=6 Exploring Operation: 17+61=78, Resulting Numbers: [11, 49, 78] Generated Node #0,2: 82:[11, 49, 78] Operation: 17+61=78 Moving to Node #0,0 Current State: 82:[11, 49, 44], Operations: ['61-17=44'] Exploring Operation: 49-44=5, Resulting Numbers: [11, 5] Generated Node #0,0,0: 82:[11, 5] Operation: 49-44=5 Exploring Operation: 44/11=4, Resulting Numbers: [49, 4] Generated Node #0,0,1: 82:[49, 4] Operation: 44/11=4 Exploring Operation: 49-11=38, Resulting Numbers: [44, 38] Generated Node #0,0,2: 82:[44, 38] Operation: 49-11=38 Moving to Node #0,2 Current State: 82:[11, 49, 78], Operations: ['17+61=78'] Exploring Operation: 49-11=38, Resulting Numbers: [78, 38] Generated Node #0,2,0: 82:[78, 38] Operation: 49-11=38 Exploring Operation: 78-49=29, Resulting Numbers: [11, 29] Generated Node #0,2,1: 82:[11, 29] Operation: 78-49=29 Exploring Operation: 11+78=89, Resulting Numbers: [49, 89] Generated Node #0,2,2: 82:[49, 89] Operation: 11+78=89 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 82:[78, 38], Operations: ['17+61=78', '49-11=38'] Exploring Operation: 78*38=2964, Resulting Numbers: [2964] 2964,82 unequal: No Solution Exploring Operation: 78-38=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 78+38=116, Resulting Numbers: [116] 116,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 82:[49, 89], Operations: ['17+61=78', '11+78=89'] Exploring Operation: 49*89=4361, Resulting Numbers: [4361] 4361,82 unequal: No Solution Exploring Operation: 89-49=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 49+89=138, Resulting Numbers: [138] 138,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[11, 29], Operations: ['17+61=78', '78-49=29'] Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 11*29=319, Resulting Numbers: [319] 319,82 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 82:[61, 49, 6], Operations: ['17-11=6'] Exploring Operation: 49-6=43, Resulting Numbers: [61, 43] Generated Node #0,1,0: 82:[61, 43] Operation: 49-6=43 Exploring Operation: 61-49=12, Resulting Numbers: [6, 12] Generated Node #0,1,1: 82:[6, 12] Operation: 61-49=12 Exploring Operation: 61-6=55, Resulting Numbers: [49, 55] Generated Node #0,1,2: 82:[49, 55] Operation: 61-6=55 Moving to Node #0,0,2 Current State: 82:[44, 38], Operations: ['61-17=44', '49-11=38'] Exploring Operation: 44*38=1672, Resulting Numbers: [1672] 1672,82 unequal: No Solution Exploring Operation: 44+38=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[11, 17, 61, 49], Operations: [] Exploring Operation: 61-17=44, Resulting Numbers: [11, 49, 44] Generated Node #0,0: 82:[11, 49, 44] Operation: 61-17=44 Moving to Node #0,0 Current State: 82:[11, 49, 44], Operations: ['61-17=44'] Exploring Operation: 49-11=38, Resulting Numbers: [44, 38] Generated Node #0,0,2: 82:[44, 38] Operation: 49-11=38 Moving to Node #0,0,2 Current State: 82:[44, 38], Operations: ['61-17=44', '49-11=38'] Exploring Operation: 44+38=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 5, 58, 17, 65 ]
78
[ "5*17=85", "65-58=7", "85-7=78" ]
Current State: 78:[5, 58, 17, 65], Operations: [] Exploring Operation: 5*17=85, Resulting Numbers: [58, 65, 85] Generated Node #2: [58, 65, 85] from Operation: 5*17=85 Current State: 78:[58, 65, 85], Operations: ['5*17=85'] Exploring Operation: 65-58=7, Resulting Numbers: [85, 7] Generated Node #3: [85, 7] from Operation: 65-58=7 Current State: 78:[85, 7], Operations: ['5*17=85', '65-58=7'] Exploring Operation: 85-7=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[5, 58, 17, 65], Operations: [] Exploring Operation: 58+17=75, Resulting Numbers: [5, 65, 75] Generated Node #0,0: 78:[5, 65, 75] Operation: 58+17=75 Exploring Operation: 58-17=41, Resulting Numbers: [5, 65, 41] Generated Node #0,1: 78:[5, 65, 41] Operation: 58-17=41 Exploring Operation: 65-58=7, Resulting Numbers: [5, 17, 7] Generated Node #0,2: 78:[5, 17, 7] Operation: 65-58=7 Moving to Node #0,2 Current State: 78:[5, 17, 7], Operations: ['65-58=7'] Exploring Operation: 17+7=24, Resulting Numbers: [5, 24] Generated Node #0,2,0: 78:[5, 24] Operation: 17+7=24 Exploring Operation: 17-5=12, Resulting Numbers: [7, 12] Generated Node #0,2,1: 78:[7, 12] Operation: 17-5=12 Exploring Operation: 7-5=2, Resulting Numbers: [17, 2] Generated Node #0,2,2: 78:[17, 2] Operation: 7-5=2 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[7, 12], Operations: ['65-58=7', '17-5=12'] Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,78 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,78 unequal: No Solution No 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: 78:[5, 24], Operations: ['65-58=7', '17+7=24'] Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,78 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,78 unequal: No Solution No 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: 78:[17, 2], Operations: ['65-58=7', '7-5=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,78 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,78 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: 78:[5, 65, 41], Operations: ['58-17=41'] Exploring Operation: 65-41=24, Resulting Numbers: [5, 24] Generated Node #0,1,0: 78:[5, 24] Operation: 65-41=24 Exploring Operation: 5+65=70, Resulting Numbers: [41, 70] Generated Node #0,1,1: 78:[41, 70] Operation: 5+65=70 Exploring Operation: 65/5=13, Resulting Numbers: [41, 13] Generated Node #0,1,2: 78:[41, 13] Operation: 65/5=13 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 78:[41, 13], Operations: ['58-17=41', '65/5=13'] Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,78 unequal: No Solution Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,78 unequal: No Solution Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,78 unequal: No Solution No 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: 78:[5, 24], Operations: ['58-17=41', '65-41=24'] Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,78 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,78 unequal: No Solution No 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: 78:[41, 70], Operations: ['58-17=41', '5+65=70'] Exploring Operation: 41*70=2870, Resulting Numbers: [2870] 2870,78 unequal: No Solution Exploring Operation: 70-41=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 41+70=111, Resulting Numbers: [111] 111,78 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: 78:[5, 65, 75], Operations: ['58+17=75'] Exploring Operation: 65/5=13, Resulting Numbers: [75, 13] Generated Node #0,0,0: 78:[75, 13] Operation: 65/5=13 Exploring Operation: 5+65=70, Resulting Numbers: [75, 70] Generated Node #0,0,1: 78:[75, 70] Operation: 5+65=70 Exploring Operation: 75-65=10, Resulting Numbers: [5, 10] Generated Node #0,0,2: 78:[5, 10] Operation: 75-65=10 Moving to Node #0,0,0 Current State: 78:[75, 13], Operations: ['58+17=75', '65/5=13'] Exploring Operation: 75+13=88, Resulting Numbers: [88] 88,78 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,78 unequal: No Solution Exploring Operation: 75*13=975, Resulting Numbers: [975] 975,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[5, 10], Operations: ['58+17=75', '75-65=10'] Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[75, 70], Operations: ['58+17=75', '5+65=70'] Exploring Operation: 75*70=5250, Resulting Numbers: [5250] 5250,78 unequal: No Solution Exploring Operation: 75-70=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 75+70=145, Resulting Numbers: [145] 145,78 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 61, 78, 52, 44 ]
43
[ "61+78=139", "52+44=96", "139-96=43" ]
Current State: 43:[61, 78, 52, 44], Operations: [] Exploring Operation: 61+78=139, Resulting Numbers: [52, 44, 139] Generated Node #2: [52, 44, 139] from Operation: 61+78=139 Current State: 43:[52, 44, 139], Operations: ['61+78=139'] Exploring Operation: 52+44=96, Resulting Numbers: [139, 96] Generated Node #3: [139, 96] from Operation: 52+44=96 Current State: 43:[139, 96], Operations: ['61+78=139', '52+44=96'] Exploring Operation: 139-96=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[61, 78, 52, 44], Operations: [] Exploring Operation: 78-52=26, Resulting Numbers: [61, 44, 26] Generated Node #0,0: 43:[61, 44, 26] Operation: 78-52=26 Exploring Operation: 61-52=9, Resulting Numbers: [78, 44, 9] Generated Node #0,1: 43:[78, 44, 9] Operation: 61-52=9 Exploring Operation: 78-61=17, Resulting Numbers: [52, 44, 17] Generated Node #0,2: 43:[52, 44, 17] Operation: 78-61=17 Exploring Operation: 78-44=34, Resulting Numbers: [61, 52, 34] Generated Node #0,3: 43:[61, 52, 34] Operation: 78-44=34 Exploring Operation: 61-44=17, Resulting Numbers: [78, 52, 17] Generated Node #0,4: 43:[78, 52, 17] Operation: 61-44=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[61, 44, 26], Operations: ['78-52=26'] Exploring Operation: 44-26=18, Resulting Numbers: [61, 18] Generated Node #0,0,0: 43:[61, 18] Operation: 44-26=18 Exploring Operation: 61+26=87, Resulting Numbers: [44, 87] Generated Node #0,0,1: 43:[44, 87] Operation: 61+26=87 Exploring Operation: 61-26=35, Resulting Numbers: [44, 35] Generated Node #0,0,2: 43:[44, 35] Operation: 61-26=35 Exploring Operation: 44+26=70, Resulting Numbers: [61, 70] Generated Node #0,0,3: 43:[61, 70] Operation: 44+26=70 Exploring Operation: 61-44=17, Resulting Numbers: [26, 17] Generated Node #0,0,4: 43:[26, 17] Operation: 61-44=17 Moving to Node #0,0,2 Current State: 43:[44, 35], Operations: ['78-52=26', '61-26=35'] Exploring Operation: 44*35=1540, Resulting Numbers: [1540] 1540,43 unequal: No Solution Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 44+35=79, Resulting Numbers: [79] 79,43 unequal: No Solution Moving to Node #0,0,4 Current State: 43:[26, 17], Operations: ['78-52=26', '61-44=17'] Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,43 unequal: No Solution Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[61, 78, 52, 44], Operations: [] Exploring Operation: 78-52=26, Resulting Numbers: [61, 44, 26] Generated Node #0,0: 43:[61, 44, 26] Operation: 78-52=26 Moving to Node #0,0 Current State: 43:[61, 44, 26], Operations: ['78-52=26'] Exploring Operation: 61-44=17, Resulting Numbers: [26, 17] Generated Node #0,0,4: 43:[26, 17] Operation: 61-44=17 Moving to Node #0,0,4 Current State: 43:[26, 17], Operations: ['78-52=26', '61-44=17'] Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 11, 70, 28, 55 ]
11
[ "28*55=1540", "1540/70=22", "22-11=11" ]
Current State: 11:[11, 70, 28, 55], Operations: [] Exploring Operation: 28*55=1540, Resulting Numbers: [11, 70, 1540] Generated Node #2: [11, 70, 1540] from Operation: 28*55=1540 Current State: 11:[11, 70, 1540], Operations: ['28*55=1540'] Exploring Operation: 1540/70=22, Resulting Numbers: [11, 22] Generated Node #3: [11, 22] from Operation: 1540/70=22 Current State: 11:[11, 22], Operations: ['28*55=1540', '1540/70=22'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[11, 70, 28, 55], Operations: [] Exploring Operation: 55-28=27, Resulting Numbers: [11, 70, 27] Generated Node #0,0: 11:[11, 70, 27] Operation: 55-28=27 Exploring Operation: 70-55=15, Resulting Numbers: [11, 28, 15] Generated Node #0,1: 11:[11, 28, 15] Operation: 70-55=15 Exploring Operation: 70-28=42, Resulting Numbers: [11, 55, 42] Generated Node #0,2: 11:[11, 55, 42] Operation: 70-28=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[11, 28, 15], Operations: ['70-55=15'] Exploring Operation: 15-11=4, Resulting Numbers: [28, 4] Generated Node #0,1,0: 11:[28, 4] Operation: 15-11=4 Exploring Operation: 28-11=17, Resulting Numbers: [15, 17] Generated Node #0,1,1: 11:[15, 17] Operation: 28-11=17 Exploring Operation: 28-15=13, Resulting Numbers: [11, 13] Generated Node #0,1,2: 11:[11, 13] Operation: 28-15=13 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 11:[11, 13], Operations: ['70-55=15', '28-15=13'] Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 11*13=143, Resulting Numbers: [143] 143,11 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 11:[15, 17], Operations: ['70-55=15', '28-11=17'] Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 15+17=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 15*17=255, Resulting Numbers: [255] 255,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[28, 4], Operations: ['70-55=15', '15-11=4'] Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[11, 70, 27], Operations: ['55-28=27'] Exploring Operation: 70-11=59, Resulting Numbers: [27, 59] Generated Node #0,0,0: 11:[27, 59] Operation: 70-11=59 Exploring Operation: 27-11=16, Resulting Numbers: [70, 16] Generated Node #0,0,1: 11:[70, 16] Operation: 27-11=16 Exploring Operation: 70-27=43, Resulting Numbers: [11, 43] Generated Node #0,0,2: 11:[11, 43] Operation: 70-27=43 Moving to Node #0,0,2 Current State: 11:[11, 43], Operations: ['55-28=27', '70-27=43'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 11*43=473, Resulting Numbers: [473] 473,11 unequal: No Solution Exploring Operation: 11+43=54, Resulting Numbers: [54] 54,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[27, 59], Operations: ['55-28=27', '70-11=59'] Exploring Operation: 27*59=1593, Resulting Numbers: [1593] 1593,11 unequal: No Solution Exploring Operation: 27+59=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 59-27=32, Resulting Numbers: [32] 32,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[70, 16], Operations: ['55-28=27', '27-11=16'] Exploring Operation: 70+16=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 70*16=1120, Resulting Numbers: [1120] 1120,11 unequal: No Solution Exploring Operation: 70-16=54, Resulting Numbers: [54] 54,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,2 Current State: 11:[11, 55, 42], Operations: ['70-28=42'] Exploring Operation: 55/11=5, Resulting Numbers: [42, 5] Generated Node #0,2,0: 11:[42, 5] Operation: 55/11=5 Exploring Operation: 55-42=13, Resulting Numbers: [11, 13] Generated Node #0,2,1: 11:[11, 13] Operation: 55-42=13 Exploring Operation: 55-11=44, Resulting Numbers: [42, 44] Generated Node #0,2,2: 11:[42, 44] Operation: 55-11=44 Moving to Node #0,2,1 Current State: 11:[11, 13], Operations: ['70-28=42', '55-42=13'] Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 11*13=143, Resulting Numbers: [143] 143,11 unequal: No Solution Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[42, 5], Operations: ['70-28=42', '55/11=5'] Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,11 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,11 unequal: No Solution Exploring Operation: 42*5=210, Resulting Numbers: [210] 210,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[42, 44], Operations: ['70-28=42', '55-11=44'] Exploring Operation: 42*44=1848, Resulting Numbers: [1848] 1848,11 unequal: No Solution Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,11 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
[ 24, 72, 46, 4 ]
54
[ "24+72=96", "46-4=42", "96-42=54" ]
Current State: 54:[24, 72, 46, 4], Operations: [] Exploring Operation: 24+72=96, Resulting Numbers: [46, 4, 96] Generated Node #2: [46, 4, 96] from Operation: 24+72=96 Current State: 54:[46, 4, 96], Operations: ['24+72=96'] Exploring Operation: 46-4=42, Resulting Numbers: [96, 42] Generated Node #3: [96, 42] from Operation: 46-4=42 Current State: 54:[96, 42], Operations: ['24+72=96', '46-4=42'] Exploring Operation: 96-42=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[24, 72, 46, 4], Operations: [] Exploring Operation: 72/24=3, Resulting Numbers: [46, 4, 3] Generated Node #0,0: 54:[46, 4, 3] Operation: 72/24=3 Exploring Operation: 72-46=26, Resulting Numbers: [24, 4, 26] Generated Node #0,1: 54:[24, 4, 26] Operation: 72-46=26 Exploring Operation: 72-24=48, Resulting Numbers: [46, 4, 48] Generated Node #0,2: 54:[46, 4, 48] Operation: 72-24=48 Exploring Operation: 72/4=18, Resulting Numbers: [24, 46, 18] Generated Node #0,3: 54:[24, 46, 18] Operation: 72/4=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[24, 4, 26], Operations: ['72-46=26'] Exploring Operation: 24/4=6, Resulting Numbers: [26, 6] Generated Node #0,1,0: 54:[26, 6] Operation: 24/4=6 Exploring Operation: 24+4=28, Resulting Numbers: [26, 28] Generated Node #0,1,1: 54:[26, 28] Operation: 24+4=28 Exploring Operation: 24-4=20, Resulting Numbers: [26, 20] Generated Node #0,1,2: 54:[26, 20] Operation: 24-4=20 Exploring Operation: 26-24=2, Resulting Numbers: [4, 2] Generated Node #0,1,3: 54:[4, 2] Operation: 26-24=2 Moving to Node #0,1,0 Current State: 54:[26, 6], Operations: ['72-46=26', '24/4=6'] Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,54 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,54 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,54 unequal: No Solution Moving to Node #0,1,3 Current State: 54:[4, 2], Operations: ['72-46=26', '26-24=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[26, 28], Operations: ['72-46=26', '24+4=28'] Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[24, 72, 46, 4], Operations: [] Exploring Operation: 72-46=26, Resulting Numbers: [24, 4, 26] Generated Node #0,1: 54:[24, 4, 26] Operation: 72-46=26 Moving to Node #0,1 Current State: 54:[24, 4, 26], Operations: ['72-46=26'] Exploring Operation: 24+4=28, Resulting Numbers: [26, 28] Generated Node #0,1,1: 54:[26, 28] Operation: 24+4=28 Moving to Node #0,1,1 Current State: 54:[26, 28], Operations: ['72-46=26', '24+4=28'] Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 60, 96, 58, 3 ]
66
[ "96-60=36", "58-36=22", "3*22=66" ]
Current State: 66:[60, 96, 58, 3], Operations: [] Exploring Operation: 96-60=36, Resulting Numbers: [58, 3, 36] Generated Node #2: [58, 3, 36] from Operation: 96-60=36 Current State: 66:[58, 3, 36], Operations: ['96-60=36'] Exploring Operation: 58-36=22, Resulting Numbers: [3, 22] Generated Node #3: [3, 22] from Operation: 58-36=22 Current State: 66:[3, 22], Operations: ['96-60=36', '58-36=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[60, 96, 58, 3], Operations: [] Exploring Operation: 96-58=38, Resulting Numbers: [60, 3, 38] Generated Node #0,0: 66:[60, 3, 38] Operation: 96-58=38 Exploring Operation: 96/3=32, Resulting Numbers: [60, 58, 32] Generated Node #0,1: 66:[60, 58, 32] Operation: 96/3=32 Exploring Operation: 96-60=36, Resulting Numbers: [58, 3, 36] Generated Node #0,2: 66:[58, 3, 36] Operation: 96-60=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[60, 3, 38], Operations: ['96-58=38'] Exploring Operation: 60-38=22, Resulting Numbers: [3, 22] Generated Node #0,0,0: 66:[3, 22] Operation: 60-38=22 Exploring Operation: 60/3=20, Resulting Numbers: [38, 20] Generated Node #0,0,1: 66:[38, 20] Operation: 60/3=20 Exploring Operation: 60+3=63, Resulting Numbers: [38, 63] Generated Node #0,0,2: 66:[38, 63] Operation: 60+3=63 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[3, 22], Operations: ['96-58=38', '60-38=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[60, 96, 58, 3], Operations: [] Exploring Operation: 96-58=38, Resulting Numbers: [60, 3, 38] Generated Node #0,0: 66:[60, 3, 38] Operation: 96-58=38 Moving to Node #0,0 Current State: 66:[60, 3, 38], Operations: ['96-58=38'] Exploring Operation: 60-38=22, Resulting Numbers: [3, 22] Generated Node #0,0,0: 66:[3, 22] Operation: 60-38=22 Moving to Node #0,0,0 Current State: 66:[3, 22], Operations: ['96-58=38', '60-38=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 84, 74, 42, 91 ]
25
[ "84+74=158", "42+91=133", "158-133=25" ]
Current State: 25:[84, 74, 42, 91], Operations: [] Exploring Operation: 84+74=158, Resulting Numbers: [42, 91, 158] Generated Node #2: [42, 91, 158] from Operation: 84+74=158 Current State: 25:[42, 91, 158], Operations: ['84+74=158'] Exploring Operation: 42+91=133, Resulting Numbers: [158, 133] Generated Node #3: [158, 133] from Operation: 42+91=133 Current State: 25:[158, 133], Operations: ['84+74=158', '42+91=133'] Exploring Operation: 158-133=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[84, 74, 42, 91], Operations: [] Exploring Operation: 91-74=17, Resulting Numbers: [84, 42, 17] Generated Node #0,0: 25:[84, 42, 17] Operation: 91-74=17 Exploring Operation: 91-84=7, Resulting Numbers: [74, 42, 7] Generated Node #0,1: 25:[74, 42, 7] Operation: 91-84=7 Exploring Operation: 84-74=10, Resulting Numbers: [42, 91, 10] Generated Node #0,2: 25:[42, 91, 10] Operation: 84-74=10 Moving to Node #0,1 Current State: 25:[74, 42, 7], Operations: ['91-84=7'] Exploring Operation: 74-42=32, Resulting Numbers: [7, 32] Generated Node #0,1,0: 25:[7, 32] Operation: 74-42=32 Exploring Operation: 42/7=6, Resulting Numbers: [74, 6] Generated Node #0,1,1: 25:[74, 6] Operation: 42/7=6 Exploring Operation: 74-7=67, Resulting Numbers: [42, 67] Generated Node #0,1,2: 25:[42, 67] Operation: 74-7=67 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[7, 32], Operations: ['91-84=7', '74-42=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,25 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[84, 74, 42, 91], Operations: [] Exploring Operation: 91-84=7, Resulting Numbers: [74, 42, 7] Generated Node #0,1: 25:[74, 42, 7] Operation: 91-84=7 Moving to Node #0,1 Current State: 25:[74, 42, 7], Operations: ['91-84=7'] Exploring Operation: 74-42=32, Resulting Numbers: [7, 32] Generated Node #0,1,0: 25:[7, 32] Operation: 74-42=32 Moving to Node #0,1,0 Current State: 25:[7, 32], Operations: ['91-84=7', '74-42=32'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 74, 45, 58, 21 ]
47
[ "58-21=37", "74/37=2", "45+2=47" ]
Current State: 47:[74, 45, 58, 21], Operations: [] Exploring Operation: 58-21=37, Resulting Numbers: [74, 45, 37] Generated Node #2: [74, 45, 37] from Operation: 58-21=37 Current State: 47:[74, 45, 37], Operations: ['58-21=37'] Exploring Operation: 74/37=2, Resulting Numbers: [45, 2] Generated Node #3: [45, 2] from Operation: 74/37=2 Current State: 47:[45, 2], Operations: ['58-21=37', '74/37=2'] Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[74, 45, 58, 21], Operations: [] Exploring Operation: 58-21=37, Resulting Numbers: [74, 45, 37] Generated Node #0,0: 47:[74, 45, 37] Operation: 58-21=37 Exploring Operation: 74-45=29, Resulting Numbers: [58, 21, 29] Generated Node #0,1: 47:[58, 21, 29] Operation: 74-45=29 Exploring Operation: 74-21=53, Resulting Numbers: [45, 58, 53] Generated Node #0,2: 47:[45, 58, 53] Operation: 74-21=53 Exploring Operation: 45+21=66, Resulting Numbers: [74, 58, 66] Generated Node #0,3: 47:[74, 58, 66] Operation: 45+21=66 Moving to Node #0,2 Current State: 47:[45, 58, 53], Operations: ['74-21=53'] Exploring Operation: 58-53=5, Resulting Numbers: [45, 5] Generated Node #0,2,0: 47:[45, 5] Operation: 58-53=5 Exploring Operation: 45+58=103, Resulting Numbers: [53, 103] Generated Node #0,2,1: 47:[53, 103] Operation: 45+58=103 Exploring Operation: 58-45=13, Resulting Numbers: [53, 13] Generated Node #0,2,2: 47:[53, 13] Operation: 58-45=13 Exploring Operation: 53-45=8, Resulting Numbers: [58, 8] Generated Node #0,2,3: 47:[58, 8] Operation: 53-45=8 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 47:[53, 13], Operations: ['74-21=53', '58-45=13'] Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,47 unequal: No Solution Exploring Operation: 53*13=689, Resulting Numbers: [689] 689,47 unequal: No Solution Exploring Operation: 53+13=66, Resulting Numbers: [66] 66,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[45, 5], Operations: ['74-21=53', '58-53=5'] Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 45*5=225, Resulting Numbers: [225] 225,47 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 47:[58, 8], Operations: ['74-21=53', '53-45=8'] Exploring Operation: 58*8=464, Resulting Numbers: [464] 464,47 unequal: No Solution Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 58+8=66, Resulting Numbers: [66] 66,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[53, 103], Operations: ['74-21=53', '45+58=103'] Exploring Operation: 53*103=5459, Resulting Numbers: [5459] 5459,47 unequal: No Solution Exploring Operation: 53+103=156, Resulting Numbers: [156] 156,47 unequal: No Solution Exploring Operation: 103-53=50, Resulting Numbers: [50] 50,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 47:[74, 45, 37], Operations: ['58-21=37'] Exploring Operation: 74/37=2, Resulting Numbers: [45, 2] Generated Node #0,0,0: 47:[45, 2] Operation: 74/37=2 Exploring Operation: 45+37=82, Resulting Numbers: [74, 82] Generated Node #0,0,1: 47:[74, 82] Operation: 45+37=82 Exploring Operation: 74-45=29, Resulting Numbers: [37, 29] Generated Node #0,0,2: 47:[37, 29] Operation: 74-45=29 Exploring Operation: 74-37=37, Resulting Numbers: [45, 37] Generated Node #0,0,3: 47:[45, 37] Operation: 74-37=37 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 47:[45, 37], Operations: ['58-21=37', '74-37=37'] Exploring Operation: 45*37=1665, Resulting Numbers: [1665] 1665,47 unequal: No Solution Exploring Operation: 45+37=82, Resulting Numbers: [82] 82,47 unequal: No Solution Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[37, 29], Operations: ['58-21=37', '74-45=29'] Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,47 unequal: No Solution Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,47 unequal: No Solution Exploring Operation: 37*29=1073, Resulting Numbers: [1073] 1073,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[45, 2], Operations: ['58-21=37', '74/37=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[74, 45, 58, 21], Operations: [] Exploring Operation: 58-21=37, Resulting Numbers: [74, 45, 37] Generated Node #0,0: 47:[74, 45, 37] Operation: 58-21=37 Moving to Node #0,0 Current State: 47:[74, 45, 37], Operations: ['58-21=37'] Exploring Operation: 74/37=2, Resulting Numbers: [45, 2] Generated Node #0,0,0: 47:[45, 2] Operation: 74/37=2 Moving to Node #0,0,0 Current State: 47:[45, 2], Operations: ['58-21=37', '74/37=2'] Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_4
mult_heuristic
[ 9, 90, 3, 64 ]
78
[ "9/3=3", "90-64=26", "3*26=78" ]
Current State: 78:[9, 90, 3, 64], Operations: [] Exploring Operation: 9/3=3, Resulting Numbers: [90, 64, 3] Generated Node #2: [90, 64, 3] from Operation: 9/3=3 Current State: 78:[90, 64, 3], Operations: ['9/3=3'] Exploring Operation: 90-64=26, Resulting Numbers: [3, 26] Generated Node #3: [3, 26] from Operation: 90-64=26 Current State: 78:[3, 26], Operations: ['9/3=3', '90-64=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[9, 90, 3, 64], Operations: [] Exploring Operation: 90-64=26, Resulting Numbers: [9, 3, 26] Generated Node #0,0: 78:[9, 3, 26] Operation: 90-64=26 Exploring Operation: 90-9=81, Resulting Numbers: [3, 64, 81] Generated Node #0,1: 78:[3, 64, 81] Operation: 90-9=81 Moving to Node #0,0 Current State: 78:[9, 3, 26], Operations: ['90-64=26'] Exploring Operation: 9/3=3, Resulting Numbers: [26, 3] Generated Node #0,0,0: 78:[26, 3] Operation: 9/3=3 Exploring Operation: 9-3=6, Resulting Numbers: [26, 6] Generated Node #0,0,1: 78:[26, 6] Operation: 9-3=6 Moving to Node #0,1 Current State: 78:[3, 64, 81], Operations: ['90-9=81'] Exploring Operation: 3+64=67, Resulting Numbers: [81, 67] Generated Node #0,1,0: 78:[81, 67] Operation: 3+64=67 Exploring Operation: 81-64=17, Resulting Numbers: [3, 17] Generated Node #0,1,1: 78:[3, 17] Operation: 81-64=17 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[3, 17], Operations: ['90-9=81', '81-64=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,78 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,78 unequal: No Solution No 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: 78:[81, 67], Operations: ['90-9=81', '3+64=67'] Exploring Operation: 81-67=14, Resulting Numbers: [14] 14,78 unequal: No Solution Exploring Operation: 81+67=148, Resulting Numbers: [148] 148,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 78:[26, 3], Operations: ['90-64=26', '9/3=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[9, 90, 3, 64], Operations: [] Exploring Operation: 90-64=26, Resulting Numbers: [9, 3, 26] Generated Node #0,0: 78:[9, 3, 26] Operation: 90-64=26 Moving to Node #0,0 Current State: 78:[9, 3, 26], Operations: ['90-64=26'] Exploring Operation: 9/3=3, Resulting Numbers: [26, 3] Generated Node #0,0,0: 78:[26, 3] Operation: 9/3=3 Moving to Node #0,0,0 Current State: 78:[26, 3], Operations: ['90-64=26', '9/3=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 56, 39, 58, 32 ]
43
[ "56-39=17", "58-32=26", "17+26=43" ]
Current State: 43:[56, 39, 58, 32], Operations: [] Exploring Operation: 56-39=17, Resulting Numbers: [58, 32, 17] Generated Node #2: [58, 32, 17] from Operation: 56-39=17 Current State: 43:[58, 32, 17], Operations: ['56-39=17'] Exploring Operation: 58-32=26, Resulting Numbers: [17, 26] Generated Node #3: [17, 26] from Operation: 58-32=26 Current State: 43:[17, 26], Operations: ['56-39=17', '58-32=26'] Exploring Operation: 17+26=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[56, 39, 58, 32], Operations: [] Exploring Operation: 56-39=17, Resulting Numbers: [58, 32, 17] Generated Node #0,0: 43:[58, 32, 17] Operation: 56-39=17 Exploring Operation: 58-32=26, Resulting Numbers: [56, 39, 26] Generated Node #0,1: 43:[56, 39, 26] Operation: 58-32=26 Exploring Operation: 58-39=19, Resulting Numbers: [56, 32, 19] Generated Node #0,2: 43:[56, 32, 19] Operation: 58-39=19 Exploring Operation: 56-32=24, Resulting Numbers: [39, 58, 24] Generated Node #0,3: 43:[39, 58, 24] Operation: 56-32=24 Moving to Node #0,1 Current State: 43:[56, 39, 26], Operations: ['58-32=26'] Exploring Operation: 39+26=65, Resulting Numbers: [56, 65] Generated Node #0,1,0: 43:[56, 65] Operation: 39+26=65 Exploring Operation: 56-26=30, Resulting Numbers: [39, 30] Generated Node #0,1,1: 43:[39, 30] Operation: 56-26=30 Exploring Operation: 56-39=17, Resulting Numbers: [26, 17] Generated Node #0,1,2: 43:[26, 17] Operation: 56-39=17 Exploring Operation: 56+26=82, Resulting Numbers: [39, 82] Generated Node #0,1,3: 43:[39, 82] Operation: 56+26=82 Moving to Node #0,3 Current State: 43:[39, 58, 24], Operations: ['56-32=24'] Exploring Operation: 39-24=15, Resulting Numbers: [58, 15] Generated Node #0,3,0: 43:[58, 15] Operation: 39-24=15 Exploring Operation: 39+24=63, Resulting Numbers: [58, 63] Generated Node #0,3,1: 43:[58, 63] Operation: 39+24=63 Exploring Operation: 58-39=19, Resulting Numbers: [24, 19] Generated Node #0,3,2: 43:[24, 19] Operation: 58-39=19 Exploring Operation: 58-24=34, Resulting Numbers: [39, 34] Generated Node #0,3,3: 43:[39, 34] Operation: 58-24=34 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 43:[39, 34], Operations: ['56-32=24', '58-24=34'] Exploring Operation: 39*34=1326, Resulting Numbers: [1326] 1326,43 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,43 unequal: No Solution Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 43:[58, 63], Operations: ['56-32=24', '39+24=63'] Exploring Operation: 58+63=121, Resulting Numbers: [121] 121,43 unequal: No Solution Exploring Operation: 58*63=3654, Resulting Numbers: [3654] 3654,43 unequal: No Solution Exploring Operation: 63-58=5, Resulting Numbers: [5] 5,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 43:[58, 15], Operations: ['56-32=24', '39-24=15'] Exploring Operation: 58*15=870, Resulting Numbers: [870] 870,43 unequal: No Solution Exploring Operation: 58+15=73, Resulting Numbers: [73] 73,43 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[56, 39, 58, 32], Operations: [] Exploring Operation: 56-32=24, Resulting Numbers: [39, 58, 24] Generated Node #0,3: 43:[39, 58, 24] Operation: 56-32=24 Moving to Node #0,3 Current State: 43:[39, 58, 24], Operations: ['56-32=24'] Exploring Operation: 39-24=15, Resulting Numbers: [58, 15] Generated Node #0,3,0: 43:[58, 15] Operation: 39-24=15 Moving to Node #0,3,0 Current State: 43:[58, 15], Operations: ['56-32=24', '39-24=15'] Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
mult_heuristic
[ 40, 85, 25, 5 ]
15
[ "85-40=45", "25+5=30", "45-30=15" ]
Current State: 15:[40, 85, 25, 5], Operations: [] Exploring Operation: 85-40=45, Resulting Numbers: [25, 5, 45] Generated Node #2: [25, 5, 45] from Operation: 85-40=45 Current State: 15:[25, 5, 45], Operations: ['85-40=45'] Exploring Operation: 25+5=30, Resulting Numbers: [45, 30] Generated Node #3: [45, 30] from Operation: 25+5=30 Current State: 15:[45, 30], Operations: ['85-40=45', '25+5=30'] Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[40, 85, 25, 5], Operations: [] Exploring Operation: 85-40=45, Resulting Numbers: [25, 5, 45] Generated Node #0,0: 15:[25, 5, 45] Operation: 85-40=45 Exploring Operation: 85/5=17, Resulting Numbers: [40, 25, 17] Generated Node #0,1: 15:[40, 25, 17] Operation: 85/5=17 Exploring Operation: 40-25=15, Resulting Numbers: [85, 5, 15] Generated Node #0,2: 15:[85, 5, 15] Operation: 40-25=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[40, 25, 17], Operations: ['85/5=17'] Exploring Operation: 40-25=15, Resulting Numbers: [17, 15] Generated Node #0,1,0: 15:[17, 15] Operation: 40-25=15 Exploring Operation: 25-17=8, Resulting Numbers: [40, 8] Generated Node #0,1,1: 15:[40, 8] Operation: 25-17=8 Exploring Operation: 40-17=23, Resulting Numbers: [25, 23] Generated Node #0,1,2: 15:[25, 23] Operation: 40-17=23 Moving to Node #0,1,0 Current State: 15:[17, 15], Operations: ['85/5=17', '40-25=15'] Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 17*15=255, Resulting Numbers: [255] 255,15 unequal: No Solution Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[25, 23], Operations: ['85/5=17', '40-17=23'] Exploring Operation: 25+23=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 25*23=575, Resulting Numbers: [575] 575,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[40, 8], Operations: ['85/5=17', '25-17=8'] Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 40+8=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[25, 5, 45], Operations: ['85-40=45'] Exploring Operation: 45/5=9, Resulting Numbers: [25, 9] Generated Node #0,0,0: 15:[25, 9] Operation: 45/5=9 Exploring Operation: 25/5=5, Resulting Numbers: [45, 5] Generated Node #0,0,1: 15:[45, 5] Operation: 25/5=5 Exploring Operation: 45-25=20, Resulting Numbers: [5, 20] Generated Node #0,0,2: 15:[5, 20] Operation: 45-25=20 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 15:[5, 20], Operations: ['85-40=45', '45-25=20'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[40, 85, 25, 5], Operations: [] Exploring Operation: 85-40=45, Resulting Numbers: [25, 5, 45] Generated Node #0,0: 15:[25, 5, 45] Operation: 85-40=45 Moving to Node #0,0 Current State: 15:[25, 5, 45], Operations: ['85-40=45'] Exploring Operation: 45-25=20, Resulting Numbers: [5, 20] Generated Node #0,0,2: 15:[5, 20] Operation: 45-25=20 Moving to Node #0,0,2 Current State: 15:[5, 20], Operations: ['85-40=45', '45-25=20'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 78, 8, 44, 12 ]
18
[ "78*12=936", "8+44=52", "936/52=18" ]
Current State: 18:[78, 8, 44, 12], Operations: [] Exploring Operation: 78*12=936, Resulting Numbers: [8, 44, 936] Generated Node #2: [8, 44, 936] from Operation: 78*12=936 Current State: 18:[8, 44, 936], Operations: ['78*12=936'] Exploring Operation: 8+44=52, Resulting Numbers: [936, 52] Generated Node #3: [936, 52] from Operation: 8+44=52 Current State: 18:[936, 52], Operations: ['78*12=936', '8+44=52'] Exploring Operation: 936/52=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[78, 8, 44, 12], Operations: [] Exploring Operation: 78-44=34, Resulting Numbers: [8, 12, 34] Generated Node #0,0: 18:[8, 12, 34] Operation: 78-44=34 Exploring Operation: 78-12=66, Resulting Numbers: [8, 44, 66] Generated Node #0,1: 18:[8, 44, 66] Operation: 78-12=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[8, 12, 34], Operations: ['78-44=34'] Exploring Operation: 34-12=22, Resulting Numbers: [8, 22] Generated Node #0,0,0: 18:[8, 22] Operation: 34-12=22 Exploring Operation: 34-8=26, Resulting Numbers: [12, 26] Generated Node #0,0,1: 18:[12, 26] Operation: 34-8=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[8, 22], Operations: ['78-44=34', '34-12=22'] Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,18 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,18 unequal: No Solution No 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: 18:[12, 26], Operations: ['78-44=34', '34-8=26'] Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,18 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: 18:[8, 44, 66], Operations: ['78-12=66'] Exploring Operation: 44-8=36, Resulting Numbers: [66, 36] Generated Node #0,1,0: 18:[66, 36] Operation: 44-8=36 Exploring Operation: 66-44=22, Resulting Numbers: [8, 22] Generated Node #0,1,1: 18:[8, 22] Operation: 66-44=22 Moving to Node #0,1,1 Current State: 18:[8, 22], Operations: ['78-12=66', '66-44=22'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[66, 36], Operations: ['78-12=66', '44-8=36'] Exploring Operation: 66+36=102, Resulting Numbers: [102] 102,18 unequal: No Solution Exploring Operation: 66-36=30, Resulting Numbers: [30] 30,18 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
[ 83, 68, 91, 93 ]
17
[ "83-68=15", "93-91=2", "15+2=17" ]
Current State: 17:[83, 68, 91, 93], Operations: [] Exploring Operation: 83-68=15, Resulting Numbers: [91, 93, 15] Generated Node #2: [91, 93, 15] from Operation: 83-68=15 Current State: 17:[91, 93, 15], Operations: ['83-68=15'] Exploring Operation: 93-91=2, Resulting Numbers: [15, 2] Generated Node #3: [15, 2] from Operation: 93-91=2 Current State: 17:[15, 2], Operations: ['83-68=15', '93-91=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[83, 68, 91, 93], Operations: [] Exploring Operation: 93-68=25, Resulting Numbers: [83, 91, 25] Generated Node #0,0: 17:[83, 91, 25] Operation: 93-68=25 Exploring Operation: 93-91=2, Resulting Numbers: [83, 68, 2] Generated Node #0,1: 17:[83, 68, 2] Operation: 93-91=2 Exploring Operation: 93-83=10, Resulting Numbers: [68, 91, 10] Generated Node #0,2: 17:[68, 91, 10] Operation: 93-83=10 Exploring Operation: 91-83=8, Resulting Numbers: [68, 93, 8] Generated Node #0,3: 17:[68, 93, 8] Operation: 91-83=8 Exploring Operation: 91-68=23, Resulting Numbers: [83, 93, 23] Generated Node #0,4: 17:[83, 93, 23] Operation: 91-68=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[83, 68, 2], Operations: ['93-91=2'] Exploring Operation: 83-2=81, Resulting Numbers: [68, 81] Generated Node #0,1,0: 17:[68, 81] Operation: 83-2=81 Exploring Operation: 83+2=85, Resulting Numbers: [68, 85] Generated Node #0,1,1: 17:[68, 85] Operation: 83+2=85 Exploring Operation: 68-2=66, Resulting Numbers: [83, 66] Generated Node #0,1,2: 17:[83, 66] Operation: 68-2=66 Exploring Operation: 68/2=34, Resulting Numbers: [83, 34] Generated Node #0,1,3: 17:[83, 34] Operation: 68/2=34 Exploring Operation: 83-68=15, Resulting Numbers: [2, 15] Generated Node #0,1,4: 17:[2, 15] Operation: 83-68=15 Moving to Node #0,1,4 Current State: 17:[2, 15], Operations: ['93-91=2', '83-68=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[83, 68, 91, 93], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [83, 68, 2] Generated Node #0,1: 17:[83, 68, 2] Operation: 93-91=2 Moving to Node #0,1 Current State: 17:[83, 68, 2], Operations: ['93-91=2'] Exploring Operation: 83-68=15, Resulting Numbers: [2, 15] Generated Node #0,1,4: 17:[2, 15] Operation: 83-68=15 Moving to Node #0,1,4 Current State: 17:[2, 15], Operations: ['93-91=2', '83-68=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 45, 61, 15, 66 ]
65
[ "61-45=16", "15+66=81", "81-16=65" ]
Current State: 65:[45, 61, 15, 66], Operations: [] Exploring Operation: 61-45=16, Resulting Numbers: [15, 66, 16] Generated Node #2: [15, 66, 16] from Operation: 61-45=16 Current State: 65:[15, 66, 16], Operations: ['61-45=16'] Exploring Operation: 15+66=81, Resulting Numbers: [16, 81] Generated Node #3: [16, 81] from Operation: 15+66=81 Current State: 65:[16, 81], Operations: ['61-45=16', '15+66=81'] Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[45, 61, 15, 66], Operations: [] Exploring Operation: 45+15=60, Resulting Numbers: [61, 66, 60] Generated Node #0,0: 65:[61, 66, 60] Operation: 45+15=60 Exploring Operation: 66-45=21, Resulting Numbers: [61, 15, 21] Generated Node #0,1: 65:[61, 15, 21] Operation: 66-45=21 Exploring Operation: 61-45=16, Resulting Numbers: [15, 66, 16] Generated Node #0,2: 65:[15, 66, 16] Operation: 61-45=16 Exploring Operation: 45/15=3, Resulting Numbers: [61, 66, 3] Generated Node #0,3: 65:[61, 66, 3] Operation: 45/15=3 Moving to Node #0,2 Current State: 65:[15, 66, 16], Operations: ['61-45=16'] Exploring Operation: 66-15=51, Resulting Numbers: [16, 51] Generated Node #0,2,0: 65:[16, 51] Operation: 66-15=51 Exploring Operation: 66-16=50, Resulting Numbers: [15, 50] Generated Node #0,2,1: 65:[15, 50] Operation: 66-16=50 Exploring Operation: 15+66=81, Resulting Numbers: [16, 81] Generated Node #0,2,2: 65:[16, 81] Operation: 15+66=81 Exploring Operation: 16-15=1, Resulting Numbers: [66, 1] Generated Node #0,2,3: 65:[66, 1] Operation: 16-15=1 Moving to Node #0,3 Current State: 65:[61, 66, 3], Operations: ['45/15=3'] Exploring Operation: 61+3=64, Resulting Numbers: [66, 64] Generated Node #0,3,0: 65:[66, 64] Operation: 61+3=64 Exploring Operation: 66-3=63, Resulting Numbers: [61, 63] Generated Node #0,3,1: 65:[61, 63] Operation: 66-3=63 Exploring Operation: 66-61=5, Resulting Numbers: [3, 5] Generated Node #0,3,2: 65:[3, 5] Operation: 66-61=5 Exploring Operation: 61-3=58, Resulting Numbers: [66, 58] Generated Node #0,3,3: 65:[66, 58] Operation: 61-3=58 Moving to Node #0,0 Current State: 65:[61, 66, 60], Operations: ['45+15=60'] Exploring Operation: 61+60=121, Resulting Numbers: [66, 121] Generated Node #0,0,0: 65:[66, 121] Operation: 61+60=121 Exploring Operation: 61-60=1, Resulting Numbers: [66, 1] Generated Node #0,0,1: 65:[66, 1] Operation: 61-60=1 Exploring Operation: 66-60=6, Resulting Numbers: [61, 6] Generated Node #0,0,2: 65:[61, 6] Operation: 66-60=6 Exploring Operation: 66-61=5, Resulting Numbers: [60, 5] Generated Node #0,0,3: 65:[60, 5] Operation: 66-61=5 Moving to Node #0,1 Current State: 65:[61, 15, 21], Operations: ['66-45=21'] Exploring Operation: 61-15=46, Resulting Numbers: [21, 46] Generated Node #0,1,0: 65:[21, 46] Operation: 61-15=46 Exploring Operation: 61+15=76, Resulting Numbers: [21, 76] Generated Node #0,1,1: 65:[21, 76] Operation: 61+15=76 Exploring Operation: 21-15=6, Resulting Numbers: [61, 6] Generated Node #0,1,2: 65:[61, 6] Operation: 21-15=6 Exploring Operation: 61+21=82, Resulting Numbers: [15, 82] Generated Node #0,1,3: 65:[15, 82] Operation: 61+21=82 Moving to Node #0,3,0 Current State: 65:[66, 64], Operations: ['45/15=3', '61+3=64'] Exploring Operation: 66*64=4224, Resulting Numbers: [4224] 4224,65 unequal: No Solution Exploring Operation: 66-64=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 66+64=130, Resulting Numbers: [130] 130,65 unequal: No Solution Moving to Node #0,3,2 Current State: 65:[3, 5], Operations: ['45/15=3', '66-61=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[61, 6], Operations: ['66-45=21', '21-15=6'] Exploring Operation: 61+6=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,65 unequal: No Solution Exploring Operation: 61*6=366, Resulting Numbers: [366] 366,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[66, 1], Operations: ['61-45=16', '16-15=1'] Exploring Operation: 66*1=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 66+1=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[45, 61, 15, 66], Operations: [] Exploring Operation: 61-45=16, Resulting Numbers: [15, 66, 16] Generated Node #0,2: 65:[15, 66, 16] Operation: 61-45=16 Moving to Node #0,2 Current State: 65:[15, 66, 16], Operations: ['61-45=16'] Exploring Operation: 16-15=1, Resulting Numbers: [66, 1] Generated Node #0,2,3: 65:[66, 1] Operation: 16-15=1 Moving to Node #0,2,3 Current State: 65:[66, 1], Operations: ['61-45=16', '16-15=1'] Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.96875
hs_4
mult_heuristic
[ 49, 1, 5, 55 ]
30
[ "49*1=49", "55-49=6", "5*6=30" ]
Current State: 30:[49, 1, 5, 55], Operations: [] Exploring Operation: 49*1=49, Resulting Numbers: [5, 55, 49] Generated Node #2: [5, 55, 49] from Operation: 49*1=49 Current State: 30:[5, 55, 49], Operations: ['49*1=49'] Exploring Operation: 55-49=6, Resulting Numbers: [5, 6] Generated Node #3: [5, 6] from Operation: 55-49=6 Current State: 30:[5, 6], Operations: ['49*1=49', '55-49=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[49, 1, 5, 55], Operations: [] Exploring Operation: 55-5=50, Resulting Numbers: [49, 1, 50] Generated Node #0,0: 30:[49, 1, 50] Operation: 55-5=50 Exploring Operation: 49-5=44, Resulting Numbers: [1, 55, 44] Generated Node #0,1: 30:[1, 55, 44] Operation: 49-5=44 Exploring Operation: 49-1=48, Resulting Numbers: [5, 55, 48] Generated Node #0,2: 30:[5, 55, 48] Operation: 49-1=48 Exploring Operation: 55-49=6, Resulting Numbers: [1, 5, 6] Generated Node #0,3: 30:[1, 5, 6] Operation: 55-49=6 Exploring Operation: 55/5=11, Resulting Numbers: [49, 1, 11] Generated Node #0,4: 30:[49, 1, 11] Operation: 55/5=11 Moving to Node #0,3 Current State: 30:[1, 5, 6], Operations: ['55-49=6'] Exploring Operation: 6-1=5, Resulting Numbers: [5, 5] Generated Node #0,3,0: 30:[5, 5] Operation: 6-1=5 Exploring Operation: 5/1=5, Resulting Numbers: [6, 5] Generated Node #0,3,1: 30:[6, 5] Operation: 5/1=5 Exploring Operation: 1+5=6, Resulting Numbers: [6, 6] Generated Node #0,3,2: 30:[6, 6] Operation: 1+5=6 Exploring Operation: 1*6=6, Resulting Numbers: [5, 6] Generated Node #0,3,3: 30:[5, 6] Operation: 1*6=6 Exploring Operation: 1*5=5, Resulting Numbers: [6, 5] Generated Node #0,3,4: 30:[6, 5] Operation: 1*5=5 Moving to Node #0,4 Current State: 30:[49, 1, 11], Operations: ['55/5=11'] Exploring Operation: 11-1=10, Resulting Numbers: [49, 10] Generated Node #0,4,0: 30:[49, 10] Operation: 11-1=10 Exploring Operation: 49*1=49, Resulting Numbers: [11, 49] Generated Node #0,4,1: 30:[11, 49] Operation: 49*1=49 Exploring Operation: 49-11=38, Resulting Numbers: [1, 38] Generated Node #0,4,2: 30:[1, 38] Operation: 49-11=38 Exploring Operation: 49-1=48, Resulting Numbers: [11, 48] Generated Node #0,4,3: 30:[11, 48] Operation: 49-1=48 Exploring Operation: 49/1=49, Resulting Numbers: [11, 49] Generated Node #0,4,4: 30:[11, 49] Operation: 49/1=49 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 30:[1, 38], Operations: ['55/5=11', '49-11=38'] Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 1*38=38, Resulting Numbers: [38] 38,30 unequal: No Solution Exploring Operation: 1+38=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 30:[49, 10], Operations: ['55/5=11', '11-1=10'] Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,30 unequal: No Solution Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 30:[11, 48], Operations: ['55/5=11', '49-1=48'] Exploring Operation: 11*48=528, Resulting Numbers: [528] 528,30 unequal: No Solution Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 11+48=59, Resulting Numbers: [59] 59,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 30:[11, 49], Operations: ['55/5=11', '49*1=49'] Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 11*49=539, Resulting Numbers: [539] 539,30 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 30:[11, 49], Operations: ['55/5=11', '49/1=49'] Exploring Operation: 11*49=539, Resulting Numbers: [539] 539,30 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,30 unequal: No Solution Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,30 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: 30:[49, 1, 50], Operations: ['55-5=50'] Exploring Operation: 49/1=49, Resulting Numbers: [50, 49] Generated Node #0,0,0: 30:[50, 49] Operation: 49/1=49 Exploring Operation: 49*1=49, Resulting Numbers: [50, 49] Generated Node #0,0,1: 30:[50, 49] Operation: 49*1=49 Exploring Operation: 49-1=48, Resulting Numbers: [50, 48] Generated Node #0,0,2: 30:[50, 48] Operation: 49-1=48 Exploring Operation: 50-49=1, Resulting Numbers: [1, 1] Generated Node #0,0,3: 30:[1, 1] Operation: 50-49=1 Exploring Operation: 50-1=49, Resulting Numbers: [49, 49] Generated Node #0,0,4: 30:[49, 49] Operation: 50-1=49 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 30:[1, 1], Operations: ['55-5=50', '50-49=1'] Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 1*1=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 1/1=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 1-1=0, Resulting Numbers: [0] 0,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 30:[50, 48], Operations: ['55-5=50', '49-1=48'] Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 50*48=2400, Resulting Numbers: [2400] 2400,30 unequal: No Solution Exploring Operation: 50+48=98, Resulting Numbers: [98] 98,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 30:[49, 49], Operations: ['55-5=50', '50-1=49'] Exploring Operation: 49/49=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,30 unequal: No Solution Exploring Operation: 49-49=0, Resulting Numbers: [0] 0,30 unequal: No Solution Exploring Operation: 49*49=2401, Resulting Numbers: [2401] 2401,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[50, 49], Operations: ['55-5=50', '49/1=49'] Exploring Operation: 50+49=99, Resulting Numbers: [99] 99,30 unequal: No Solution Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 50*49=2450, Resulting Numbers: [2450] 2450,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[50, 49], Operations: ['55-5=50', '49*1=49'] Exploring Operation: 50*49=2450, Resulting Numbers: [2450] 2450,30 unequal: No Solution Exploring Operation: 50+49=99, Resulting Numbers: [99] 99,30 unequal: No Solution Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 30:[1, 55, 44], Operations: ['49-5=44'] Exploring Operation: 1*55=55, Resulting Numbers: [44, 55] Generated Node #0,1,0: 30:[44, 55] Operation: 1*55=55 Exploring Operation: 44-1=43, Resulting Numbers: [55, 43] Generated Node #0,1,1: 30:[55, 43] Operation: 44-1=43 Exploring Operation: 55-1=54, Resulting Numbers: [44, 54] Generated Node #0,1,2: 30:[44, 54] Operation: 55-1=54 Exploring Operation: 55-44=11, Resulting Numbers: [1, 11] Generated Node #0,1,3: 30:[1, 11] Operation: 55-44=11 Exploring Operation: 55/1=55, Resulting Numbers: [44, 55] Generated Node #0,1,4: 30:[44, 55] Operation: 55/1=55 Moving to Node #0,2 Current State: 30:[5, 55, 48], Operations: ['49-1=48'] Exploring Operation: 55-48=7, Resulting Numbers: [5, 7] Generated Node #0,2,0: 30:[5, 7] Operation: 55-48=7 Exploring Operation: 48-5=43, Resulting Numbers: [55, 43] Generated Node #0,2,1: 30:[55, 43] Operation: 48-5=43 Exploring Operation: 5+55=60, Resulting Numbers: [48, 60] Generated Node #0,2,2: 30:[48, 60] Operation: 5+55=60 Exploring Operation: 55-5=50, Resulting Numbers: [48, 50] Generated Node #0,2,3: 30:[48, 50] Operation: 55-5=50 Exploring Operation: 55/5=11, Resulting Numbers: [48, 11] Generated Node #0,2,4: 30:[48, 11] Operation: 55/5=11 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 30:[5, 7], Operations: ['49-1=48', '55-48=7'] Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 30:[48, 11], Operations: ['49-1=48', '55/5=11'] Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 48*11=528, Resulting Numbers: [528] 528,30 unequal: No Solution Exploring Operation: 48+11=59, Resulting Numbers: [59] 59,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 30:[55, 43], Operations: ['49-1=48', '48-5=43'] Exploring Operation: 55+43=98, Resulting Numbers: [98] 98,30 unequal: No Solution Exploring Operation: 55-43=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 55*43=2365, Resulting Numbers: [2365] 2365,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 30:[48, 50], Operations: ['49-1=48', '55-5=50'] Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 48*50=2400, Resulting Numbers: [2400] 2400,30 unequal: No Solution Exploring Operation: 48+50=98, Resulting Numbers: [98] 98,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[48, 60], Operations: ['49-1=48', '5+55=60'] Exploring Operation: 48*60=2880, Resulting Numbers: [2880] 2880,30 unequal: No Solution Exploring Operation: 48+60=108, Resulting Numbers: [108] 108,30 unequal: No Solution Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 30:[5, 5], Operations: ['55-49=6', '6-1=5'] Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,30 unequal: No Solution Moving to Node #0,3,2 Current State: 30:[6, 6], Operations: ['55-49=6', '1+5=6'] Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,30 unequal: No Solution Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,30 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,30 unequal: No Solution Moving to Node #0,3,1 Current State: 30:[6, 5], Operations: ['55-49=6', '5/1=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[49, 1, 5, 55], Operations: [] Exploring Operation: 55-49=6, Resulting Numbers: [1, 5, 6] Generated Node #0,3: 30:[1, 5, 6] Operation: 55-49=6 Moving to Node #0,3 Current State: 30:[1, 5, 6], Operations: ['55-49=6'] Exploring Operation: 5/1=5, Resulting Numbers: [6, 5] Generated Node #0,3,1: 30:[6, 5] Operation: 5/1=5 Moving to Node #0,3,1 Current State: 30:[6, 5], Operations: ['55-49=6', '5/1=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.919271
hs_5
sum_heuristic
[ 46, 63, 20, 65 ]
86
[ "65-63=2", "20*2=40", "46+40=86" ]
Current State: 86:[46, 63, 20, 65], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [46, 20, 2] Generated Node #2: [46, 20, 2] from Operation: 65-63=2 Current State: 86:[46, 20, 2], Operations: ['65-63=2'] Exploring Operation: 20*2=40, Resulting Numbers: [46, 40] Generated Node #3: [46, 40] from Operation: 20*2=40 Current State: 86:[46, 40], Operations: ['65-63=2', '20*2=40'] Exploring Operation: 46+40=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[46, 63, 20, 65], Operations: [] Exploring Operation: 65-20=45, Resulting Numbers: [46, 63, 45] Generated Node #0,0: 86:[46, 63, 45] Operation: 65-20=45 Exploring Operation: 65-63=2, Resulting Numbers: [46, 20, 2] Generated Node #0,1: 86:[46, 20, 2] Operation: 65-63=2 Exploring Operation: 63-20=43, Resulting Numbers: [46, 65, 43] Generated Node #0,2: 86:[46, 65, 43] Operation: 63-20=43 Exploring Operation: 20+65=85, Resulting Numbers: [46, 63, 85] Generated Node #0,3: 86:[46, 63, 85] Operation: 20+65=85 Exploring Operation: 63+20=83, Resulting Numbers: [46, 65, 83] Generated Node #0,4: 86:[46, 65, 83] Operation: 63+20=83 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[46, 20, 2], Operations: ['65-63=2'] Exploring Operation: 46-2=44, Resulting Numbers: [20, 44] Generated Node #0,1,0: 86:[20, 44] Operation: 46-2=44 Exploring Operation: 20-2=18, Resulting Numbers: [46, 18] Generated Node #0,1,1: 86:[46, 18] Operation: 20-2=18 Exploring Operation: 20/2=10, Resulting Numbers: [46, 10] Generated Node #0,1,2: 86:[46, 10] Operation: 20/2=10 Exploring Operation: 46-20=26, Resulting Numbers: [2, 26] Generated Node #0,1,3: 86:[2, 26] Operation: 46-20=26 Exploring Operation: 20*2=40, Resulting Numbers: [46, 40] Generated Node #0,1,4: 86:[46, 40] Operation: 20*2=40 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 86:[46, 40], Operations: ['65-63=2', '20*2=40'] Exploring Operation: 46*40=1840, Resulting Numbers: [1840] 1840,86 unequal: No Solution Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 46+40=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[46, 63, 20, 65], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [46, 20, 2] Generated Node #0,1: 86:[46, 20, 2] Operation: 65-63=2 Moving to Node #0,1 Current State: 86:[46, 20, 2], Operations: ['65-63=2'] Exploring Operation: 20*2=40, Resulting Numbers: [46, 40] Generated Node #0,1,4: 86:[46, 40] Operation: 20*2=40 Moving to Node #0,1,4 Current State: 86:[46, 40], Operations: ['65-63=2', '20*2=40'] Exploring Operation: 46+40=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 40, 69, 64, 55 ]
19
[ "40+55=95", "69-64=5", "95/5=19" ]
Current State: 19:[40, 69, 64, 55], Operations: [] Exploring Operation: 40+55=95, Resulting Numbers: [69, 64, 95] Generated Node #2: [69, 64, 95] from Operation: 40+55=95 Current State: 19:[69, 64, 95], Operations: ['40+55=95'] Exploring Operation: 69-64=5, Resulting Numbers: [95, 5] Generated Node #3: [95, 5] from Operation: 69-64=5 Current State: 19:[95, 5], Operations: ['40+55=95', '69-64=5'] Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[40, 69, 64, 55], Operations: [] Exploring Operation: 69-64=5, Resulting Numbers: [40, 55, 5] Generated Node #0,0: 19:[40, 55, 5] Operation: 69-64=5 Exploring Operation: 64-55=9, Resulting Numbers: [40, 69, 9] Generated Node #0,1: 19:[40, 69, 9] Operation: 64-55=9 Exploring Operation: 64-40=24, Resulting Numbers: [69, 55, 24] Generated Node #0,2: 19:[69, 55, 24] Operation: 64-40=24 Exploring Operation: 69-40=29, Resulting Numbers: [64, 55, 29] Generated Node #0,3: 19:[64, 55, 29] Operation: 69-40=29 Exploring Operation: 69-55=14, Resulting Numbers: [40, 64, 14] Generated Node #0,4: 19:[40, 64, 14] Operation: 69-55=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[40, 55, 5], Operations: ['69-64=5'] Exploring Operation: 55/5=11, Resulting Numbers: [40, 11] Generated Node #0,0,0: 19:[40, 11] Operation: 55/5=11 Exploring Operation: 55-5=50, Resulting Numbers: [40, 50] Generated Node #0,0,1: 19:[40, 50] Operation: 55-5=50 Exploring Operation: 40/5=8, Resulting Numbers: [55, 8] Generated Node #0,0,2: 19:[55, 8] Operation: 40/5=8 Exploring Operation: 55-40=15, Resulting Numbers: [5, 15] Generated Node #0,0,3: 19:[5, 15] Operation: 55-40=15 Exploring Operation: 40-5=35, Resulting Numbers: [55, 35] Generated Node #0,0,4: 19:[55, 35] Operation: 40-5=35 Moving to Node #0,0,3 Current State: 19:[5, 15], Operations: ['69-64=5', '55-40=15'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,19 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[40, 11], Operations: ['69-64=5', '55/5=11'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,19 unequal: No Solution Exploring Operation: 40+11=51, Resulting Numbers: [51] 51,19 unequal: No Solution Exploring Operation: 40*11=440, Resulting Numbers: [440] 440,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[55, 8], Operations: ['69-64=5', '40/5=8'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,19 unequal: No Solution Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,19 unequal: No Solution Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[40, 50], Operations: ['69-64=5', '55-5=50'] Exploring Operation: 40+50=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 40*50=2000, Resulting Numbers: [2000] 2000,19 unequal: No Solution Moving to Node #0,0,4 Current State: 19:[55, 35], Operations: ['69-64=5', '40-5=35'] Exploring Operation: 55+35=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 55*35=1925, Resulting Numbers: [1925] 1925,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 19:[40, 64, 14], Operations: ['69-55=14'] Exploring Operation: 64-14=50, Resulting Numbers: [40, 50] Generated Node #0,4,0: 19:[40, 50] Operation: 64-14=50 Exploring Operation: 64+14=78, Resulting Numbers: [40, 78] Generated Node #0,4,1: 19:[40, 78] Operation: 64+14=78 Exploring Operation: 64-40=24, Resulting Numbers: [14, 24] Generated Node #0,4,2: 19:[14, 24] Operation: 64-40=24 Exploring Operation: 40-14=26, Resulting Numbers: [64, 26] Generated Node #0,4,3: 19:[64, 26] Operation: 40-14=26 Exploring Operation: 40+14=54, Resulting Numbers: [64, 54] Generated Node #0,4,4: 19:[64, 54] Operation: 40+14=54 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 19:[14, 24], Operations: ['69-55=14', '64-40=24'] Exploring Operation: 14*24=336, Resulting Numbers: [336] 336,19 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 14+24=38, Resulting Numbers: [38] 38,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 19:[40, 50], Operations: ['69-55=14', '64-14=50'] Exploring Operation: 40+50=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 40*50=2000, Resulting Numbers: [2000] 2000,19 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 19:[64, 26], Operations: ['69-55=14', '40-14=26'] Exploring Operation: 64*26=1664, Resulting Numbers: [1664] 1664,19 unequal: No Solution Exploring Operation: 64+26=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 19:[40, 78], Operations: ['69-55=14', '64+14=78'] Exploring Operation: 40+78=118, Resulting Numbers: [118] 118,19 unequal: No Solution Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 40*78=3120, Resulting Numbers: [3120] 3120,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 19:[64, 54], Operations: ['69-55=14', '40+14=54'] Exploring Operation: 64*54=3456, Resulting Numbers: [3456] 3456,19 unequal: No Solution Exploring Operation: 64+54=118, Resulting Numbers: [118] 118,19 unequal: No Solution Exploring Operation: 64-54=10, Resulting Numbers: [10] 10,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:[40, 69, 9], Operations: ['64-55=9'] Exploring Operation: 69-40=29, Resulting Numbers: [9, 29] Generated Node #0,1,0: 19:[9, 29] Operation: 69-40=29 Exploring Operation: 40+9=49, Resulting Numbers: [69, 49] Generated Node #0,1,1: 19:[69, 49] Operation: 40+9=49 Exploring Operation: 69-9=60, Resulting Numbers: [40, 60] Generated Node #0,1,2: 19:[40, 60] Operation: 69-9=60 Exploring Operation: 40-9=31, Resulting Numbers: [69, 31] Generated Node #0,1,3: 19:[69, 31] Operation: 40-9=31 Exploring Operation: 69+9=78, Resulting Numbers: [40, 78] Generated Node #0,1,4: 19:[40, 78] Operation: 69+9=78 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[9, 29], Operations: ['64-55=9', '69-40=29'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 9+29=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 9*29=261, Resulting Numbers: [261] 261,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 19:[40, 60], Operations: ['64-55=9', '69-9=60'] Exploring Operation: 40*60=2400, Resulting Numbers: [2400] 2400,19 unequal: No Solution Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 40+60=100, Resulting Numbers: [100] 100,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 19:[69, 31], Operations: ['64-55=9', '40-9=31'] Exploring Operation: 69-31=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 69*31=2139, Resulting Numbers: [2139] 2139,19 unequal: No Solution Exploring Operation: 69+31=100, Resulting Numbers: [100] 100,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 19:[69, 49], Operations: ['64-55=9', '40+9=49'] Exploring Operation: 69-49=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 69*49=3381, Resulting Numbers: [3381] 3381,19 unequal: No Solution Exploring Operation: 69+49=118, Resulting Numbers: [118] 118,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 19:[40, 78], Operations: ['64-55=9', '69+9=78'] Exploring Operation: 40+78=118, Resulting Numbers: [118] 118,19 unequal: No Solution Exploring Operation: 40*78=3120, Resulting Numbers: [3120] 3120,19 unequal: No Solution Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[69, 55, 24], Operations: ['64-40=24'] Exploring Operation: 69+24=93, Resulting Numbers: [55, 93] Generated Node #0,2,0: 19:[55, 93] Operation: 69+24=93 Exploring Operation: 69-24=45, Resulting Numbers: [55, 45] Generated Node #0,2,1: 19:[55, 45] Operation: 69-24=45 Exploring Operation: 69-55=14, Resulting Numbers: [24, 14] Generated Node #0,2,2: 19:[24, 14] Operation: 69-55=14 Exploring Operation: 69+55=124, Resulting Numbers: [24, 124] Generated Node #0,2,3: 19:[24, 124] Operation: 69+55=124 Exploring Operation: 55-24=31, Resulting Numbers: [69, 31] Generated Node #0,2,4: 19:[69, 31] Operation: 55-24=31 Moving to Node #0,2,2 Current State: 19:[24, 14], Operations: ['64-40=24', '69-55=14'] Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,19 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,19 unequal: No Solution Moving to Node #0,2,4 Current State: 19:[69, 31], Operations: ['64-40=24', '55-24=31'] Exploring Operation: 69-31=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 69*31=2139, Resulting Numbers: [2139] 2139,19 unequal: No Solution Exploring Operation: 69+31=100, Resulting Numbers: [100] 100,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[55, 45], Operations: ['64-40=24', '69-24=45'] Exploring Operation: 55+45=100, Resulting Numbers: [100] 100,19 unequal: No Solution Exploring Operation: 55*45=2475, Resulting Numbers: [2475] 2475,19 unequal: No Solution Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,19 unequal: No Solution Moving to Node #0,2,0 Current State: 19:[55, 93], Operations: ['64-40=24', '69+24=93'] Exploring Operation: 93-55=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 55+93=148, Resulting Numbers: [148] 148,19 unequal: No Solution Exploring Operation: 55*93=5115, Resulting Numbers: [5115] 5115,19 unequal: No Solution Moving to Node #0,2,3 Current State: 19:[24, 124], Operations: ['64-40=24', '69+55=124'] Exploring Operation: 24+124=148, Resulting Numbers: [148] 148,19 unequal: No Solution Exploring Operation: 124-24=100, Resulting Numbers: [100] 100,19 unequal: No Solution Exploring Operation: 24*124=2976, Resulting Numbers: [2976] 2976,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,3 Current State: 19:[64, 55, 29], Operations: ['69-40=29'] Exploring Operation: 55-29=26, Resulting Numbers: [64, 26] Generated Node #0,3,0: 19:[64, 26] Operation: 55-29=26 Exploring Operation: 64-29=35, Resulting Numbers: [55, 35] Generated Node #0,3,1: 19:[55, 35] Operation: 64-29=35 Exploring Operation: 64+55=119, Resulting Numbers: [29, 119] Generated Node #0,3,2: 19:[29, 119] Operation: 64+55=119 Exploring Operation: 64+29=93, Resulting Numbers: [55, 93] Generated Node #0,3,3: 19:[55, 93] Operation: 64+29=93 Exploring Operation: 64-55=9, Resulting Numbers: [29, 9] Generated Node #0,3,4: 19:[29, 9] Operation: 64-55=9 Moving to Node #0,3,4 Current State: 19:[29, 9], Operations: ['69-40=29', '64-55=9'] Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,19 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,19 unequal: No Solution Moving to Node #0,3,1 Current State: 19:[55, 35], Operations: ['69-40=29', '64-29=35'] Exploring Operation: 55+35=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 55*35=1925, Resulting Numbers: [1925] 1925,19 unequal: No Solution Moving to Node #0,3,0 Current State: 19:[64, 26], Operations: ['69-40=29', '55-29=26'] Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 64*26=1664, Resulting Numbers: [1664] 1664,19 unequal: No Solution Exploring Operation: 64+26=90, Resulting Numbers: [90] 90,19 unequal: No Solution Moving to Node #0,3,2 Current State: 19:[29, 119], Operations: ['69-40=29', '64+55=119'] Exploring Operation: 29*119=3451, Resulting Numbers: [3451] 3451,19 unequal: No Solution Exploring Operation: 119-29=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 29+119=148, Resulting Numbers: [148] 148,19 unequal: No Solution Moving to Node #0,3,3 Current State: 19:[55, 93], Operations: ['69-40=29', '64+29=93'] Exploring Operation: 55*93=5115, Resulting Numbers: [5115] 5115,19 unequal: No Solution Exploring Operation: 55+93=148, Resulting Numbers: [148] 148,19 unequal: No Solution Exploring Operation: 93-55=38, Resulting Numbers: [38] 38,19 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
[ 4, 36, 28, 45 ]
23
[ "4+36=40", "45-28=17", "40-17=23" ]
Current State: 23:[4, 36, 28, 45], Operations: [] Exploring Operation: 4+36=40, Resulting Numbers: [28, 45, 40] Generated Node #2: [28, 45, 40] from Operation: 4+36=40 Current State: 23:[28, 45, 40], Operations: ['4+36=40'] Exploring Operation: 45-28=17, Resulting Numbers: [40, 17] Generated Node #3: [40, 17] from Operation: 45-28=17 Current State: 23:[40, 17], Operations: ['4+36=40', '45-28=17'] Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[4, 36, 28, 45], Operations: [] Exploring Operation: 36-4=32, Resulting Numbers: [28, 45, 32] Generated Node #0,0: 23:[28, 45, 32] Operation: 36-4=32 Exploring Operation: 45-36=9, Resulting Numbers: [4, 28, 9] Generated Node #0,1: 23:[4, 28, 9] Operation: 45-36=9 Exploring Operation: 28-4=24, Resulting Numbers: [36, 45, 24] Generated Node #0,2: 23:[36, 45, 24] Operation: 28-4=24 Exploring Operation: 45-4=41, Resulting Numbers: [36, 28, 41] Generated Node #0,3: 23:[36, 28, 41] Operation: 45-4=41 Moving to Node #0,0 Current State: 23:[28, 45, 32], Operations: ['36-4=32'] Exploring Operation: 45-32=13, Resulting Numbers: [28, 13] Generated Node #0,0,0: 23:[28, 13] Operation: 45-32=13 Exploring Operation: 45-28=17, Resulting Numbers: [32, 17] Generated Node #0,0,1: 23:[32, 17] Operation: 45-28=17 Exploring Operation: 32-28=4, Resulting Numbers: [45, 4] Generated Node #0,0,2: 23:[45, 4] Operation: 32-28=4 Exploring Operation: 28+45=73, Resulting Numbers: [32, 73] Generated Node #0,0,3: 23:[32, 73] Operation: 28+45=73 Moving to Node #0,3 Current State: 23:[36, 28, 41], Operations: ['45-4=41'] Exploring Operation: 36-28=8, Resulting Numbers: [41, 8] Generated Node #0,3,0: 23:[41, 8] Operation: 36-28=8 Exploring Operation: 41-36=5, Resulting Numbers: [28, 5] Generated Node #0,3,1: 23:[28, 5] Operation: 41-36=5 Exploring Operation: 36+28=64, Resulting Numbers: [41, 64] Generated Node #0,3,2: 23:[41, 64] Operation: 36+28=64 Exploring Operation: 41-28=13, Resulting Numbers: [36, 13] Generated Node #0,3,3: 23:[36, 13] Operation: 41-28=13 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 23:[28, 5], Operations: ['45-4=41', '41-36=5'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[4, 36, 28, 45], Operations: [] Exploring Operation: 45-4=41, Resulting Numbers: [36, 28, 41] Generated Node #0,3: 23:[36, 28, 41] Operation: 45-4=41 Moving to Node #0,3 Current State: 23:[36, 28, 41], Operations: ['45-4=41'] Exploring Operation: 41-36=5, Resulting Numbers: [28, 5] Generated Node #0,3,1: 23:[28, 5] Operation: 41-36=5 Moving to Node #0,3,1 Current State: 23:[28, 5], Operations: ['45-4=41', '41-36=5'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 97, 17, 91, 90 ]
79
[ "97-17=80", "91-90=1", "80-1=79" ]
Current State: 79:[97, 17, 91, 90], Operations: [] Exploring Operation: 97-17=80, Resulting Numbers: [91, 90, 80] Generated Node #2: [91, 90, 80] from Operation: 97-17=80 Current State: 79:[91, 90, 80], Operations: ['97-17=80'] Exploring Operation: 91-90=1, Resulting Numbers: [80, 1] Generated Node #3: [80, 1] from Operation: 91-90=1 Current State: 79:[80, 1], Operations: ['97-17=80', '91-90=1'] Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[97, 17, 91, 90], Operations: [] Exploring Operation: 91-17=74, Resulting Numbers: [97, 90, 74] Generated Node #0,0: 79:[97, 90, 74] Operation: 91-17=74 Exploring Operation: 97-17=80, Resulting Numbers: [91, 90, 80] Generated Node #0,1: 79:[91, 90, 80] Operation: 97-17=80 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[91, 90, 80], Operations: ['97-17=80'] Exploring Operation: 91-90=1, Resulting Numbers: [80, 1] Generated Node #0,1,0: 79:[80, 1] Operation: 91-90=1 Exploring Operation: 91-80=11, Resulting Numbers: [90, 11] Generated Node #0,1,1: 79:[90, 11] Operation: 91-80=11 Moving to Node #0,1,0 Current State: 79:[80, 1], Operations: ['97-17=80', '91-90=1'] Exploring Operation: 80*1=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[97, 17, 91, 90], Operations: [] Exploring Operation: 97-17=80, Resulting Numbers: [91, 90, 80] Generated Node #0,1: 79:[91, 90, 80] Operation: 97-17=80 Moving to Node #0,1 Current State: 79:[91, 90, 80], Operations: ['97-17=80'] Exploring Operation: 91-90=1, Resulting Numbers: [80, 1] Generated Node #0,1,0: 79:[80, 1] Operation: 91-90=1 Moving to Node #0,1,0 Current State: 79:[80, 1], Operations: ['97-17=80', '91-90=1'] Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 17, 17, 29, 5 ]
73
[ "29-17=12", "17*5=85", "85-12=73" ]
Current State: 73:[17, 17, 29, 5], Operations: [] Exploring Operation: 29-17=12, Resulting Numbers: [5, 12] Generated Node #2: [5, 12] from Operation: 29-17=12 Current State: 73:[5, 12], Operations: ['29-17=12'] Exploring Operation: 17*5=85, Resulting Numbers: [12, 85] Generated Node #3: [12, 85] from Operation: 17*5=85 Current State: 73:[12, 85], Operations: ['29-17=12', '17*5=85'] Exploring Operation: 85-12=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[17, 17, 29, 5], Operations: [] Exploring Operation: 17*5=85, Resulting Numbers: [17, 29, 85] Generated Node #0,0: 73:[17, 29, 85] Operation: 17*5=85 Exploring Operation: 17*5=85, Resulting Numbers: [17, 29, 85] Generated Node #0,1: 73:[17, 29, 85] Operation: 17*5=85 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[17, 29, 85], Operations: ['17*5=85'] Exploring Operation: 85-17=68, Resulting Numbers: [29, 68] Generated Node #0,0,0: 73:[29, 68] Operation: 85-17=68 Exploring Operation: 17+29=46, Resulting Numbers: [85, 46] Generated Node #0,0,1: 73:[85, 46] Operation: 17+29=46 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[85, 46], Operations: ['17*5=85', '17+29=46'] Exploring Operation: 85+46=131, Resulting Numbers: [131] 131,73 unequal: No Solution Exploring Operation: 85-46=39, Resulting Numbers: [39] 39,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,0,0 Current State: 73:[29, 68], Operations: ['17*5=85', '85-17=68'] Exploring Operation: 29+68=97, Resulting Numbers: [97] 97,73 unequal: No Solution Exploring Operation: 68-29=39, Resulting Numbers: [39] 39,73 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: 73:[17, 29, 85], Operations: ['17*5=85'] Exploring Operation: 17+29=46, Resulting Numbers: [85, 46] Generated Node #0,1,0: 73:[85, 46] Operation: 17+29=46 Exploring Operation: 85-17=68, Resulting Numbers: [29, 68] Generated Node #0,1,1: 73:[29, 68] Operation: 85-17=68 Moving to Node #0,1,0 Current State: 73:[85, 46], Operations: ['17*5=85', '17+29=46'] Exploring Operation: 85+46=131, Resulting Numbers: [131] 131,73 unequal: No Solution Exploring Operation: 85-46=39, Resulting Numbers: [39] 39,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[29, 68], Operations: ['17*5=85', '85-17=68'] Exploring Operation: 29+68=97, Resulting Numbers: [97] 97,73 unequal: No Solution Exploring Operation: 68-29=39, Resulting Numbers: [39] 39,73 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
[ 86, 5, 91, 56 ]
79
[ "91-56=35", "35/5=7", "86-7=79" ]
Current State: 79:[86, 5, 91, 56], Operations: [] Exploring Operation: 91-56=35, Resulting Numbers: [86, 5, 35] Generated Node #2: [86, 5, 35] from Operation: 91-56=35 Current State: 79:[86, 5, 35], Operations: ['91-56=35'] Exploring Operation: 35/5=7, Resulting Numbers: [86, 7] Generated Node #3: [86, 7] from Operation: 35/5=7 Current State: 79:[86, 7], Operations: ['91-56=35', '35/5=7'] Exploring Operation: 86-7=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[86, 5, 91, 56], Operations: [] Exploring Operation: 86-5=81, Resulting Numbers: [91, 56, 81] Generated Node #0,0: 79:[91, 56, 81] Operation: 86-5=81 Exploring Operation: 91-5=86, Resulting Numbers: [86, 56, 86] Generated Node #0,1: 79:[86, 56, 86] Operation: 91-5=86 Exploring Operation: 86+5=91, Resulting Numbers: [91, 56, 91] Generated Node #0,2: 79:[91, 56, 91] Operation: 86+5=91 Exploring Operation: 5+56=61, Resulting Numbers: [86, 91, 61] Generated Node #0,3: 79:[86, 91, 61] Operation: 5+56=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[91, 56, 81], Operations: ['86-5=81'] Exploring Operation: 91-56=35, Resulting Numbers: [81, 35] Generated Node #0,0,0: 79:[81, 35] Operation: 91-56=35 Exploring Operation: 81-56=25, Resulting Numbers: [91, 25] Generated Node #0,0,1: 79:[91, 25] Operation: 81-56=25 Exploring Operation: 56+81=137, Resulting Numbers: [91, 137] Generated Node #0,0,2: 79:[91, 137] Operation: 56+81=137 Exploring Operation: 91+56=147, Resulting Numbers: [81, 147] Generated Node #0,0,3: 79:[81, 147] Operation: 91+56=147 Moving to Node #0,0,0 Current State: 79:[81, 35], Operations: ['86-5=81', '91-56=35'] Exploring Operation: 81+35=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 81-35=46, Resulting Numbers: [46] 46,79 unequal: No Solution Exploring Operation: 81*35=2835, Resulting Numbers: [2835] 2835,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[91, 25], Operations: ['86-5=81', '81-56=25'] Exploring Operation: 91-25=66, Resulting Numbers: [66] 66,79 unequal: No Solution Exploring Operation: 91*25=2275, Resulting Numbers: [2275] 2275,79 unequal: No Solution Exploring Operation: 91+25=116, Resulting Numbers: [116] 116,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[81, 147], Operations: ['86-5=81', '91+56=147'] Exploring Operation: 81+147=228, Resulting Numbers: [228] 228,79 unequal: No Solution Exploring Operation: 81*147=11907, Resulting Numbers: [11907] 11907,79 unequal: No Solution Exploring Operation: 147-81=66, Resulting Numbers: [66] 66,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[91, 137], Operations: ['86-5=81', '56+81=137'] Exploring Operation: 137-91=46, Resulting Numbers: [46] 46,79 unequal: No Solution Exploring Operation: 91+137=228, Resulting Numbers: [228] 228,79 unequal: No Solution Exploring Operation: 91*137=12467, Resulting Numbers: [12467] 12467,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[86, 56, 86], Operations: ['91-5=86'] Exploring Operation: 56+86=142, Resulting Numbers: [86, 142] Generated Node #0,1,0: 79:[86, 142] Operation: 56+86=142 Exploring Operation: 86-56=30, Resulting Numbers: [86, 30] Generated Node #0,1,1: 79:[86, 30] Operation: 86-56=30 Exploring Operation: 86-56=30, Resulting Numbers: [86, 30] Generated Node #0,1,2: 79:[86, 30] Operation: 86-56=30 Exploring Operation: 86+56=142, Resulting Numbers: [86, 142] Generated Node #0,1,3: 79:[86, 142] Operation: 86+56=142 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[86, 30], Operations: ['91-5=86', '86-56=30'] Exploring Operation: 86-30=56, Resulting Numbers: [56] 56,79 unequal: No Solution Exploring Operation: 86*30=2580, Resulting Numbers: [2580] 2580,79 unequal: No Solution Exploring Operation: 86+30=116, Resulting Numbers: [116] 116,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 79:[86, 30], Operations: ['91-5=86', '86-56=30'] Exploring Operation: 86*30=2580, Resulting Numbers: [2580] 2580,79 unequal: No Solution Exploring Operation: 86-30=56, Resulting Numbers: [56] 56,79 unequal: No Solution Exploring Operation: 86+30=116, Resulting Numbers: [116] 116,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[86, 142], Operations: ['91-5=86', '56+86=142'] Exploring Operation: 142-86=56, Resulting Numbers: [56] 56,79 unequal: No Solution Exploring Operation: 86+142=228, Resulting Numbers: [228] 228,79 unequal: No Solution Exploring Operation: 86*142=12212, Resulting Numbers: [12212] 12212,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 79:[86, 142], Operations: ['91-5=86', '86+56=142'] Exploring Operation: 86*142=12212, Resulting Numbers: [12212] 12212,79 unequal: No Solution Exploring Operation: 142-86=56, Resulting Numbers: [56] 56,79 unequal: No Solution Exploring Operation: 86+142=228, Resulting Numbers: [228] 228,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[86, 91, 61], Operations: ['5+56=61'] Exploring Operation: 91+61=152, Resulting Numbers: [86, 152] Generated Node #0,3,0: 79:[86, 152] Operation: 91+61=152 Exploring Operation: 91-61=30, Resulting Numbers: [86, 30] Generated Node #0,3,1: 79:[86, 30] Operation: 91-61=30 Exploring Operation: 86-61=25, Resulting Numbers: [91, 25] Generated Node #0,3,2: 79:[91, 25] Operation: 86-61=25 Exploring Operation: 86+61=147, Resulting Numbers: [91, 147] Generated Node #0,3,3: 79:[91, 147] Operation: 86+61=147 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 79:[86, 30], Operations: ['5+56=61', '91-61=30'] Exploring Operation: 86+30=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 86*30=2580, Resulting Numbers: [2580] 2580,79 unequal: No Solution Exploring Operation: 86-30=56, Resulting Numbers: [56] 56,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 79:[91, 25], Operations: ['5+56=61', '86-61=25'] Exploring Operation: 91-25=66, Resulting Numbers: [66] 66,79 unequal: No Solution Exploring Operation: 91+25=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 91*25=2275, Resulting Numbers: [2275] 2275,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 79:[86, 152], Operations: ['5+56=61', '91+61=152'] Exploring Operation: 86+152=238, Resulting Numbers: [238] 238,79 unequal: No Solution Exploring Operation: 152-86=66, Resulting Numbers: [66] 66,79 unequal: No Solution Exploring Operation: 86*152=13072, Resulting Numbers: [13072] 13072,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 79:[91, 147], Operations: ['5+56=61', '86+61=147'] Exploring Operation: 91+147=238, Resulting Numbers: [238] 238,79 unequal: No Solution Exploring Operation: 91*147=13377, Resulting Numbers: [13377] 13377,79 unequal: No Solution Exploring Operation: 147-91=56, Resulting Numbers: [56] 56,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[91, 56, 91], Operations: ['86+5=91'] Exploring Operation: 91-56=35, Resulting Numbers: [91, 35] Generated Node #0,2,0: 79:[91, 35] Operation: 91-56=35 Exploring Operation: 91+56=147, Resulting Numbers: [91, 147] Generated Node #0,2,1: 79:[91, 147] Operation: 91+56=147 Exploring Operation: 91-56=35, Resulting Numbers: [91, 35] Generated Node #0,2,2: 79:[91, 35] Operation: 91-56=35 Exploring Operation: 56+91=147, Resulting Numbers: [91, 147] Generated Node #0,2,3: 79:[91, 147] Operation: 56+91=147 Moving to Node #0,2,0 Current State: 79:[91, 35], Operations: ['86+5=91', '91-56=35'] Exploring Operation: 91*35=3185, Resulting Numbers: [3185] 3185,79 unequal: No Solution Exploring Operation: 91+35=126, Resulting Numbers: [126] 126,79 unequal: No Solution Exploring Operation: 91-35=56, Resulting Numbers: [56] 56,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[91, 35], Operations: ['86+5=91', '91-56=35'] Exploring Operation: 91+35=126, Resulting Numbers: [126] 126,79 unequal: No Solution Exploring Operation: 91*35=3185, Resulting Numbers: [3185] 3185,79 unequal: No Solution Exploring Operation: 91-35=56, Resulting Numbers: [56] 56,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[91, 147], Operations: ['86+5=91', '56+91=147'] Exploring Operation: 147-91=56, Resulting Numbers: [56] 56,79 unequal: No Solution Exploring Operation: 91+147=238, Resulting Numbers: [238] 238,79 unequal: No Solution Exploring Operation: 91*147=13377, Resulting Numbers: [13377] 13377,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[91, 147], Operations: ['86+5=91', '91+56=147'] Exploring Operation: 147-91=56, Resulting Numbers: [56] 56,79 unequal: No Solution Exploring Operation: 91*147=13377, Resulting Numbers: [13377] 13377,79 unequal: No Solution Exploring Operation: 91+147=238, Resulting Numbers: [238] 238,79 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
[ 75, 3, 3, 2 ]
82
[ "75-2=73", "3*3=9", "73+9=82" ]
Current State: 82:[75, 3, 3, 2], Operations: [] Exploring Operation: 75-2=73, Resulting Numbers: [3, 3, 73] Generated Node #2: [3, 3, 73] from Operation: 75-2=73 Current State: 82:[3, 3, 73], Operations: ['75-2=73'] Exploring Operation: 3*3=9, Resulting Numbers: [73, 9] Generated Node #3: [73, 9] from Operation: 3*3=9 Current State: 82:[73, 9], Operations: ['75-2=73', '3*3=9'] Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[75, 3, 3, 2], Operations: [] Exploring Operation: 75+3=78, Resulting Numbers: [3, 2, 78] Generated Node #0,0: 82:[3, 2, 78] Operation: 75+3=78 Exploring Operation: 75+2=77, Resulting Numbers: [3, 3, 77] Generated Node #0,1: 82:[3, 3, 77] Operation: 75+2=77 Exploring Operation: 75+3=78, Resulting Numbers: [3, 2, 78] Generated Node #0,2: 82:[3, 2, 78] Operation: 75+3=78 Moving to Node #0,0 Current State: 82:[3, 2, 78], Operations: ['75+3=78'] Exploring Operation: 2+78=80, Resulting Numbers: [3, 80] Generated Node #0,0,0: 82:[3, 80] Operation: 2+78=80 Exploring Operation: 78/2=39, Resulting Numbers: [3, 39] Generated Node #0,0,1: 82:[3, 39] Operation: 78/2=39 Exploring Operation: 3+78=81, Resulting Numbers: [2, 81] Generated Node #0,0,2: 82:[2, 81] Operation: 3+78=81 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 82:[2, 81], Operations: ['75+3=78', '3+78=81'] Exploring Operation: 2*81=162, Resulting Numbers: [162] 162,82 unequal: No Solution Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[3, 80], Operations: ['75+3=78', '2+78=80'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 3*80=240, Resulting Numbers: [240] 240,82 unequal: No Solution Exploring Operation: 3+80=83, Resulting Numbers: [83] 83,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[3, 39], Operations: ['75+3=78', '78/2=39'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,82 unequal: No Solution Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 82:[3, 2, 78], Operations: ['75+3=78'] Exploring Operation: 3+78=81, Resulting Numbers: [2, 81] Generated Node #0,2,0: 82:[2, 81] Operation: 3+78=81 Exploring Operation: 78/2=39, Resulting Numbers: [3, 39] Generated Node #0,2,1: 82:[3, 39] Operation: 78/2=39 Exploring Operation: 2+78=80, Resulting Numbers: [3, 80] Generated Node #0,2,2: 82:[3, 80] Operation: 2+78=80 Moving to Node #0,1 Current State: 82:[3, 3, 77], Operations: ['75+2=77'] Exploring Operation: 3+77=80, Resulting Numbers: [3, 80] Generated Node #0,1,0: 82:[3, 80] Operation: 3+77=80 Exploring Operation: 3+77=80, Resulting Numbers: [3, 80] Generated Node #0,1,1: 82:[3, 80] Operation: 3+77=80 Exploring Operation: 3/3=1, Resulting Numbers: [77, 1] Generated Node #0,1,2: 82:[77, 1] Operation: 3/3=1 Moving to Node #0,2,0 Current State: 82:[2, 81], Operations: ['75+3=78', '3+78=81'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,82 unequal: No Solution Exploring Operation: 2*81=162, Resulting Numbers: [162] 162,82 unequal: No Solution Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[3, 80], Operations: ['75+3=78', '2+78=80'] Exploring Operation: 3+80=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 3*80=240, Resulting Numbers: [240] 240,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[3, 39], Operations: ['75+3=78', '78/2=39'] Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[3, 80], Operations: ['75+2=77', '3+77=80'] Exploring Operation: 3*80=240, Resulting Numbers: [240] 240,82 unequal: No Solution Exploring Operation: 3+80=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[3, 80], Operations: ['75+2=77', '3+77=80'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 3*80=240, Resulting Numbers: [240] 240,82 unequal: No Solution Exploring Operation: 3+80=83, Resulting Numbers: [83] 83,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[77, 1], Operations: ['75+2=77', '3/3=1'] Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 77*1=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 77+1=78, Resulting Numbers: [78] 78,82 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 19, 36, 13, 59 ]
17
[ "19+36=55", "13+59=72", "72-55=17" ]
Current State: 17:[19, 36, 13, 59], Operations: [] Exploring Operation: 19+36=55, Resulting Numbers: [13, 59, 55] Generated Node #2: [13, 59, 55] from Operation: 19+36=55 Current State: 17:[13, 59, 55], Operations: ['19+36=55'] Exploring Operation: 13+59=72, Resulting Numbers: [55, 72] Generated Node #3: [55, 72] from Operation: 13+59=72 Current State: 17:[55, 72], Operations: ['19+36=55', '13+59=72'] Exploring Operation: 72-55=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[19, 36, 13, 59], Operations: [] Exploring Operation: 36-19=17, Resulting Numbers: [13, 59, 17] Generated Node #0,0: 17:[13, 59, 17] Operation: 36-19=17 Exploring Operation: 59-19=40, Resulting Numbers: [36, 13, 40] Generated Node #0,1: 17:[36, 13, 40] Operation: 59-19=40 Exploring Operation: 59-36=23, Resulting Numbers: [19, 13, 23] Generated Node #0,2: 17:[19, 13, 23] Operation: 59-36=23 Exploring Operation: 36-13=23, Resulting Numbers: [19, 59, 23] Generated Node #0,3: 17:[19, 59, 23] Operation: 36-13=23 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[19, 13, 23], Operations: ['59-36=23'] Exploring Operation: 19+13=32, Resulting Numbers: [23, 32] Generated Node #0,2,0: 17:[23, 32] Operation: 19+13=32 Exploring Operation: 23-19=4, Resulting Numbers: [13, 4] Generated Node #0,2,1: 17:[13, 4] Operation: 23-19=4 Exploring Operation: 23-13=10, Resulting Numbers: [19, 10] Generated Node #0,2,2: 17:[19, 10] Operation: 23-13=10 Exploring Operation: 19-13=6, Resulting Numbers: [23, 6] Generated Node #0,2,3: 17:[23, 6] Operation: 19-13=6 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 17:[19, 10], Operations: ['59-36=23', '23-13=10'] Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,17 unequal: No Solution Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,17 unequal: No Solution No 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: 17:[13, 4], Operations: ['59-36=23', '23-19=4'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,17 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[19, 36, 13, 59], Operations: [] Exploring Operation: 59-36=23, Resulting Numbers: [19, 13, 23] Generated Node #0,2: 17:[19, 13, 23] Operation: 59-36=23 Moving to Node #0,2 Current State: 17:[19, 13, 23], Operations: ['59-36=23'] Exploring Operation: 23-19=4, Resulting Numbers: [13, 4] Generated Node #0,2,1: 17:[13, 4] Operation: 23-19=4 Moving to Node #0,2,1 Current State: 17:[13, 4], Operations: ['59-36=23', '23-19=4'] Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 85, 94, 60, 2 ]
71
[ "94-85=9", "60+2=62", "9+62=71" ]
Current State: 71:[85, 94, 60, 2], Operations: [] Exploring Operation: 94-85=9, Resulting Numbers: [60, 2, 9] Generated Node #2: [60, 2, 9] from Operation: 94-85=9 Current State: 71:[60, 2, 9], Operations: ['94-85=9'] Exploring Operation: 60+2=62, Resulting Numbers: [9, 62] Generated Node #3: [9, 62] from Operation: 60+2=62 Current State: 71:[9, 62], Operations: ['94-85=9', '60+2=62'] Exploring Operation: 9+62=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[85, 94, 60, 2], Operations: [] Exploring Operation: 60+2=62, Resulting Numbers: [85, 94, 62] Generated Node #0,0: 71:[85, 94, 62] Operation: 60+2=62 Exploring Operation: 85-2=83, Resulting Numbers: [94, 60, 83] Generated Node #0,1: 71:[94, 60, 83] Operation: 85-2=83 Exploring Operation: 94-2=92, Resulting Numbers: [85, 60, 92] Generated Node #0,2: 71:[85, 60, 92] Operation: 94-2=92 Moving to Node #0,0 Current State: 71:[85, 94, 62], Operations: ['60+2=62'] Exploring Operation: 85-62=23, Resulting Numbers: [94, 23] Generated Node #0,0,0: 71:[94, 23] Operation: 85-62=23 Exploring Operation: 94-62=32, Resulting Numbers: [85, 32] Generated Node #0,0,1: 71:[85, 32] Operation: 94-62=32 Exploring Operation: 94-85=9, Resulting Numbers: [62, 9] Generated Node #0,0,2: 71:[62, 9] Operation: 94-85=9 Moving to Node #0,1 Current State: 71:[94, 60, 83], Operations: ['85-2=83'] Exploring Operation: 94-60=34, Resulting Numbers: [83, 34] Generated Node #0,1,0: 71:[83, 34] Operation: 94-60=34 Exploring Operation: 83-60=23, Resulting Numbers: [94, 23] Generated Node #0,1,1: 71:[94, 23] Operation: 83-60=23 Exploring Operation: 94-83=11, Resulting Numbers: [60, 11] Generated Node #0,1,2: 71:[60, 11] Operation: 94-83=11 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[83, 34], Operations: ['85-2=83', '94-60=34'] Exploring Operation: 83*34=2822, Resulting Numbers: [2822] 2822,71 unequal: No Solution Exploring Operation: 83+34=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 83-34=49, Resulting Numbers: [49] 49,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[94, 23], Operations: ['85-2=83', '83-60=23'] Exploring Operation: 94*23=2162, Resulting Numbers: [2162] 2162,71 unequal: No Solution Exploring Operation: 94+23=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 94-23=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[85, 94, 60, 2], Operations: [] Exploring Operation: 85-2=83, Resulting Numbers: [94, 60, 83] Generated Node #0,1: 71:[94, 60, 83] Operation: 85-2=83 Moving to Node #0,1 Current State: 71:[94, 60, 83], Operations: ['85-2=83'] Exploring Operation: 83-60=23, Resulting Numbers: [94, 23] Generated Node #0,1,1: 71:[94, 23] Operation: 83-60=23 Moving to Node #0,1,1 Current State: 71:[94, 23], Operations: ['85-2=83', '83-60=23'] Exploring Operation: 94-23=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 92, 23, 86, 92 ]
23
[ "92-92=0", "86*0=0", "23+0=23" ]
Current State: 23:[92, 23, 86, 92], Operations: [] Exploring Operation: 92-92=0, Resulting Numbers: [23, 86, 0] Generated Node #2: [23, 86, 0] from Operation: 92-92=0 Current State: 23:[23, 86, 0], Operations: ['92-92=0'] Exploring Operation: 86*0=0, Resulting Numbers: [23, 0] Generated Node #3: [23, 0] from Operation: 86*0=0 Current State: 23:[23, 0], Operations: ['92-92=0', '86*0=0'] Exploring Operation: 23+0=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[92, 23, 86, 92], Operations: [] Exploring Operation: 92-86=6, Resulting Numbers: [92, 23, 6] Generated Node #0,0: 23:[92, 23, 6] Operation: 92-86=6 Exploring Operation: 92-92=0, Resulting Numbers: [23, 86, 0] Generated Node #0,1: 23:[23, 86, 0] Operation: 92-92=0 Exploring Operation: 92-86=6, Resulting Numbers: [23, 92, 6] Generated Node #0,2: 23:[23, 92, 6] Operation: 92-86=6 Exploring Operation: 92/23=4, Resulting Numbers: [86, 92, 4] Generated Node #0,3: 23:[86, 92, 4] Operation: 92/23=4 Exploring Operation: 92/92=1, Resulting Numbers: [23, 86, 1] Generated Node #0,4: 23:[23, 86, 1] Operation: 92/92=1 Moving to Node #0,4 Current State: 23:[23, 86, 1], Operations: ['92/92=1'] Exploring Operation: 86-23=63, Resulting Numbers: [1, 63] Generated Node #0,4,0: 23:[1, 63] Operation: 86-23=63 Exploring Operation: 23/1=23, Resulting Numbers: [86, 23] Generated Node #0,4,1: 23:[86, 23] Operation: 23/1=23 Exploring Operation: 23*1=23, Resulting Numbers: [86, 23] Generated Node #0,4,2: 23:[86, 23] Operation: 23*1=23 Exploring Operation: 86-1=85, Resulting Numbers: [23, 85] Generated Node #0,4,3: 23:[23, 85] Operation: 86-1=85 Exploring Operation: 86*1=86, Resulting Numbers: [23, 86] Generated Node #0,4,4: 23:[23, 86] Operation: 86*1=86 Moving to Node #0,1 Current State: 23:[23, 86, 0], Operations: ['92-92=0'] Exploring Operation: 23+0=23, Resulting Numbers: [86, 23] Generated Node #0,1,0: 23:[86, 23] Operation: 23+0=23 Exploring Operation: 86-23=63, Resulting Numbers: [0, 63] Generated Node #0,1,1: 23:[0, 63] Operation: 86-23=63 Exploring Operation: 23-0=23, Resulting Numbers: [86, 23] Generated Node #0,1,2: 23:[86, 23] Operation: 23-0=23 Exploring Operation: 86+0=86, Resulting Numbers: [23, 86] Generated Node #0,1,3: 23:[23, 86] Operation: 86+0=86 Exploring Operation: 86*0=0, Resulting Numbers: [23, 0] Generated Node #0,1,4: 23:[23, 0] Operation: 86*0=0 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 23:[23, 0], Operations: ['92-92=0', '86*0=0'] Exploring Operation: 23+0=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[92, 23, 86, 92], Operations: [] Exploring Operation: 92-92=0, Resulting Numbers: [23, 86, 0] Generated Node #0,1: 23:[23, 86, 0] Operation: 92-92=0 Moving to Node #0,1 Current State: 23:[23, 86, 0], Operations: ['92-92=0'] Exploring Operation: 86*0=0, Resulting Numbers: [23, 0] Generated Node #0,1,4: 23:[23, 0] Operation: 86*0=0 Moving to Node #0,1,4 Current State: 23:[23, 0], Operations: ['92-92=0', '86*0=0'] Exploring Operation: 23+0=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 26, 7, 22, 56 ]
97
[ "26-7=19", "22+56=78", "19+78=97" ]
Current State: 97:[26, 7, 22, 56], Operations: [] Exploring Operation: 26-7=19, Resulting Numbers: [22, 56, 19] Generated Node #2: [22, 56, 19] from Operation: 26-7=19 Current State: 97:[22, 56, 19], Operations: ['26-7=19'] Exploring Operation: 22+56=78, Resulting Numbers: [19, 78] Generated Node #3: [19, 78] from Operation: 22+56=78 Current State: 97:[19, 78], Operations: ['26-7=19', '22+56=78'] Exploring Operation: 19+78=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[26, 7, 22, 56], Operations: [] Exploring Operation: 7*22=154, Resulting Numbers: [26, 56, 154] Generated Node #0,0: 97:[26, 56, 154] Operation: 7*22=154 Moving to Node #0,0 Current State: 97:[26, 56, 154], Operations: ['7*22=154'] Exploring Operation: 26+56=82, Resulting Numbers: [154, 82] Generated Node #0,0,0: 97:[154, 82] Operation: 26+56=82 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[154, 82], Operations: ['7*22=154', '26+56=82'] Exploring Operation: 154-82=72, Resulting Numbers: [72] 72,97 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
[ 39, 3, 8, 47 ]
94
[ "39+8=47", "3*47=141", "141-47=94" ]
Current State: 94:[39, 3, 8, 47], Operations: [] Exploring Operation: 39+8=47, Resulting Numbers: [3, 47, 47] Generated Node #2: [3, 47, 47] from Operation: 39+8=47 Current State: 94:[3, 47, 47], Operations: ['39+8=47'] Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,94 equal: Goal Reached Exploring Operation: 141-47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[39, 3, 8, 47], Operations: [] Exploring Operation: 39+8=47, Resulting Numbers: [3, 47, 47] Generated Node #0,0: 94:[3, 47, 47] Operation: 39+8=47 Moving to Node #0,0 Current State: 94:[3, 47, 47], Operations: ['39+8=47'] Exploring Operation: 47+47=94, Resulting Numbers: [3, 94] Generated Node #0,0,0: 94:[3, 94] Operation: 47+47=94 Moving to Node #0,0,0 Current State: 94:[3, 94], Operations: ['39+8=47', '47+47=94'] Exploring Operation: 3+94=97, Resulting Numbers: [97] 97,94 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 33, 30, 38, 35 ]
76
[ "33-30=3", "38+35=73", "3+73=76" ]
Current State: 76:[33, 30, 38, 35], Operations: [] Exploring Operation: 33-30=3, Resulting Numbers: [38, 35, 3] Generated Node #2: [38, 35, 3] from Operation: 33-30=3 Current State: 76:[38, 35, 3], Operations: ['33-30=3'] Exploring Operation: 38+35=73, Resulting Numbers: [3, 73] Generated Node #3: [3, 73] from Operation: 38+35=73 Current State: 76:[3, 73], Operations: ['33-30=3', '38+35=73'] Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[33, 30, 38, 35], Operations: [] Exploring Operation: 33-30=3, Resulting Numbers: [38, 35, 3] Generated Node #0,0: 76:[38, 35, 3] Operation: 33-30=3 Exploring Operation: 38-33=5, Resulting Numbers: [30, 35, 5] Generated Node #0,1: 76:[30, 35, 5] Operation: 38-33=5 Exploring Operation: 35-30=5, Resulting Numbers: [33, 38, 5] Generated Node #0,2: 76:[33, 38, 5] Operation: 35-30=5 Exploring Operation: 35-33=2, Resulting Numbers: [30, 38, 2] Generated Node #0,3: 76:[30, 38, 2] Operation: 35-33=2 Moving to Node #0,0 Current State: 76:[38, 35, 3], Operations: ['33-30=3'] Exploring Operation: 38+35=73, Resulting Numbers: [3, 73] Generated Node #0,0,0: 76:[3, 73] Operation: 38+35=73 Exploring Operation: 38-35=3, Resulting Numbers: [3, 3] Generated Node #0,0,1: 76:[3, 3] Operation: 38-35=3 Exploring Operation: 35+3=38, Resulting Numbers: [38, 38] Generated Node #0,0,2: 76:[38, 38] Operation: 35+3=38 Exploring Operation: 38+3=41, Resulting Numbers: [35, 41] Generated Node #0,0,3: 76:[35, 41] Operation: 38+3=41 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[38, 38], Operations: ['33-30=3', '35+3=38'] Exploring Operation: 38/38=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 38-38=0, Resulting Numbers: [0] 0,76 unequal: No Solution Exploring Operation: 38+38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[33, 30, 38, 35], Operations: [] Exploring Operation: 33-30=3, Resulting Numbers: [38, 35, 3] Generated Node #0,0: 76:[38, 35, 3] Operation: 33-30=3 Moving to Node #0,0 Current State: 76:[38, 35, 3], Operations: ['33-30=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38, 38] Generated Node #0,0,2: 76:[38, 38] Operation: 35+3=38 Moving to Node #0,0,2 Current State: 76:[38, 38], Operations: ['33-30=3', '35+3=38'] Exploring Operation: 38+38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 48, 16, 57, 77 ]
52
[ "48-16=32", "77-57=20", "32+20=52" ]
Current State: 52:[48, 16, 57, 77], Operations: [] Exploring Operation: 48-16=32, Resulting Numbers: [57, 77, 32] Generated Node #2: [57, 77, 32] from Operation: 48-16=32 Current State: 52:[57, 77, 32], Operations: ['48-16=32'] Exploring Operation: 77-57=20, Resulting Numbers: [32, 20] Generated Node #3: [32, 20] from Operation: 77-57=20 Current State: 52:[32, 20], Operations: ['48-16=32', '77-57=20'] Exploring Operation: 32+20=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[48, 16, 57, 77], Operations: [] Exploring Operation: 57-48=9, Resulting Numbers: [16, 77, 9] Generated Node #0,0: 52:[16, 77, 9] Operation: 57-48=9 Exploring Operation: 77-57=20, Resulting Numbers: [48, 16, 20] Generated Node #0,1: 52:[48, 16, 20] Operation: 77-57=20 Exploring Operation: 77-48=29, Resulting Numbers: [16, 57, 29] Generated Node #0,2: 52:[16, 57, 29] Operation: 77-48=29 Exploring Operation: 77-16=61, Resulting Numbers: [48, 57, 61] Generated Node #0,3: 52:[48, 57, 61] Operation: 77-16=61 Exploring Operation: 48/16=3, Resulting Numbers: [57, 77, 3] Generated Node #0,4: 52:[57, 77, 3] Operation: 48/16=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[16, 57, 29], Operations: ['77-48=29'] Exploring Operation: 29-16=13, Resulting Numbers: [57, 13] Generated Node #0,2,0: 52:[57, 13] Operation: 29-16=13 Exploring Operation: 16+29=45, Resulting Numbers: [57, 45] Generated Node #0,2,1: 52:[57, 45] Operation: 16+29=45 Exploring Operation: 16+57=73, Resulting Numbers: [29, 73] Generated Node #0,2,2: 52:[29, 73] Operation: 16+57=73 Exploring Operation: 57-29=28, Resulting Numbers: [16, 28] Generated Node #0,2,3: 52:[16, 28] Operation: 57-29=28 Exploring Operation: 57-16=41, Resulting Numbers: [29, 41] Generated Node #0,2,4: 52:[29, 41] Operation: 57-16=41 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 52:[57, 13], Operations: ['77-48=29', '29-16=13'] Exploring Operation: 57+13=70, Resulting Numbers: [70] 70,52 unequal: No Solution Exploring Operation: 57*13=741, Resulting Numbers: [741] 741,52 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 52:[16, 28], Operations: ['77-48=29', '57-29=28'] Exploring Operation: 16*28=448, Resulting Numbers: [448] 448,52 unequal: No Solution Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 52:[57, 45], Operations: ['77-48=29', '16+29=45'] Exploring Operation: 57-45=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 57*45=2565, Resulting Numbers: [2565] 2565,52 unequal: No Solution Exploring Operation: 57+45=102, Resulting Numbers: [102] 102,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 52:[29, 41], Operations: ['77-48=29', '57-16=41'] Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 29*41=1189, Resulting Numbers: [1189] 1189,52 unequal: No Solution Exploring Operation: 29+41=70, Resulting Numbers: [70] 70,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 52:[29, 73], Operations: ['77-48=29', '16+57=73'] Exploring Operation: 29+73=102, Resulting Numbers: [102] 102,52 unequal: No Solution Exploring Operation: 29*73=2117, Resulting Numbers: [2117] 2117,52 unequal: No Solution Exploring Operation: 73-29=44, Resulting Numbers: [44] 44,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[48, 16, 20], Operations: ['77-57=20'] Exploring Operation: 48/16=3, Resulting Numbers: [20, 3] Generated Node #0,1,0: 52:[20, 3] Operation: 48/16=3 Exploring Operation: 20-16=4, Resulting Numbers: [48, 4] Generated Node #0,1,1: 52:[48, 4] Operation: 20-16=4 Exploring Operation: 48-20=28, Resulting Numbers: [16, 28] Generated Node #0,1,2: 52:[16, 28] Operation: 48-20=28 Exploring Operation: 48-16=32, Resulting Numbers: [20, 32] Generated Node #0,1,3: 52:[20, 32] Operation: 48-16=32 Exploring Operation: 16+20=36, Resulting Numbers: [48, 36] Generated Node #0,1,4: 52:[48, 36] Operation: 16+20=36 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 52:[48, 4], Operations: ['77-57=20', '20-16=4'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 48*4=192, Resulting Numbers: [192] 192,52 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[48, 16, 57, 77], Operations: [] Exploring Operation: 77-57=20, Resulting Numbers: [48, 16, 20] Generated Node #0,1: 52:[48, 16, 20] Operation: 77-57=20 Moving to Node #0,1 Current State: 52:[48, 16, 20], Operations: ['77-57=20'] Exploring Operation: 20-16=4, Resulting Numbers: [48, 4] Generated Node #0,1,1: 52:[48, 4] Operation: 20-16=4 Moving to Node #0,1,1 Current State: 52:[48, 4], Operations: ['77-57=20', '20-16=4'] Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 6, 49, 87, 33 ]
62
[ "6*33=198", "49+87=136", "198-136=62" ]
Current State: 62:[6, 49, 87, 33], Operations: [] Exploring Operation: 6*33=198, Resulting Numbers: [49, 87, 198] Generated Node #2: [49, 87, 198] from Operation: 6*33=198 Current State: 62:[49, 87, 198], Operations: ['6*33=198'] Exploring Operation: 49+87=136, Resulting Numbers: [198, 136] Generated Node #3: [198, 136] from Operation: 49+87=136 Current State: 62:[198, 136], Operations: ['6*33=198', '49+87=136'] Exploring Operation: 198-136=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[6, 49, 87, 33], Operations: [] Exploring Operation: 87-33=54, Resulting Numbers: [6, 49, 54] Generated Node #0,0: 62:[6, 49, 54] Operation: 87-33=54 Exploring Operation: 87-49=38, Resulting Numbers: [6, 33, 38] Generated Node #0,1: 62:[6, 33, 38] Operation: 87-49=38 Moving to Node #0,1 Current State: 62:[6, 33, 38], Operations: ['87-49=38'] Exploring Operation: 38-33=5, Resulting Numbers: [6, 5] Generated Node #0,1,0: 62:[6, 5] Operation: 38-33=5 Exploring Operation: 38-6=32, Resulting Numbers: [33, 32] Generated Node #0,1,1: 62:[33, 32] Operation: 38-6=32 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[33, 32], Operations: ['87-49=38', '38-6=32'] Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 33+32=65, Resulting Numbers: [65] 65,62 unequal: No Solution No 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: 62:[6, 5], Operations: ['87-49=38', '38-33=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,62 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: 62:[6, 49, 54], Operations: ['87-33=54'] Exploring Operation: 6+49=55, Resulting Numbers: [54, 55] Generated Node #0,0,0: 62:[54, 55] Operation: 6+49=55 Exploring Operation: 54-49=5, Resulting Numbers: [6, 5] Generated Node #0,0,1: 62:[6, 5] Operation: 54-49=5 Moving to Node #0,0,1 Current State: 62:[6, 5], Operations: ['87-33=54', '54-49=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[54, 55], Operations: ['87-33=54', '6+49=55'] Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 54+55=109, Resulting Numbers: [109] 109,62 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 12, 28, 76, 17 ]
64
[ "17-12=5", "28*5=140", "140-76=64" ]
Current State: 64:[12, 28, 76, 17], Operations: [] Exploring Operation: 17-12=5, Resulting Numbers: [28, 76, 5] Generated Node #2: [28, 76, 5] from Operation: 17-12=5 Current State: 64:[28, 76, 5], Operations: ['17-12=5'] Exploring Operation: 28*5=140, Resulting Numbers: [76, 140] Generated Node #3: [76, 140] from Operation: 28*5=140 Current State: 64:[76, 140], Operations: ['17-12=5', '28*5=140'] Exploring Operation: 140-76=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[12, 28, 76, 17], Operations: [] Exploring Operation: 28-12=16, Resulting Numbers: [76, 17, 16] Generated Node #0,0: 64:[76, 17, 16] Operation: 28-12=16 Exploring Operation: 76-12=64, Resulting Numbers: [28, 17, 64] Generated Node #0,1: 64:[28, 17, 64] Operation: 76-12=64 Moving to Node #0,1 Current State: 64:[28, 17, 64], Operations: ['76-12=64'] Exploring Operation: 64-28=36, Resulting Numbers: [17, 36] Generated Node #0,1,0: 64:[17, 36] Operation: 64-28=36 Exploring Operation: 28-17=11, Resulting Numbers: [64, 11] Generated Node #0,1,1: 64:[64, 11] Operation: 28-17=11 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[64, 11], Operations: ['76-12=64', '28-17=11'] Exploring Operation: 64+11=75, Resulting Numbers: [75] 75,64 unequal: No Solution Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[17, 36], Operations: ['76-12=64', '64-28=36'] Exploring Operation: 17+36=53, Resulting Numbers: [53] 53,64 unequal: No Solution Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,64 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: 64:[76, 17, 16], Operations: ['28-12=16'] Exploring Operation: 76-16=60, Resulting Numbers: [17, 60] Generated Node #0,0,0: 64:[17, 60] Operation: 76-16=60 Exploring Operation: 76-17=59, Resulting Numbers: [16, 59] Generated Node #0,0,1: 64:[16, 59] Operation: 76-17=59 Moving to Node #0,0,0 Current State: 64:[17, 60], Operations: ['28-12=16', '76-16=60'] Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 17+60=77, Resulting Numbers: [77] 77,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[16, 59], Operations: ['28-12=16', '76-17=59'] Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,64 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,64 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 10, 36, 7, 33 ]
20
[ "10+36=46", "33-7=26", "46-26=20" ]
Current State: 20:[10, 36, 7, 33], Operations: [] Exploring Operation: 10+36=46, Resulting Numbers: [7, 33, 46] Generated Node #2: [7, 33, 46] from Operation: 10+36=46 Current State: 20:[7, 33, 46], Operations: ['10+36=46'] Exploring Operation: 33-7=26, Resulting Numbers: [46, 26] Generated Node #3: [46, 26] from Operation: 33-7=26 Current State: 20:[46, 26], Operations: ['10+36=46', '33-7=26'] Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[10, 36, 7, 33], Operations: [] Exploring Operation: 36-7=29, Resulting Numbers: [10, 33, 29] Generated Node #0,0: 20:[10, 33, 29] Operation: 36-7=29 Exploring Operation: 36-10=26, Resulting Numbers: [7, 33, 26] Generated Node #0,1: 20:[7, 33, 26] Operation: 36-10=26 Exploring Operation: 33-10=23, Resulting Numbers: [36, 7, 23] Generated Node #0,2: 20:[36, 7, 23] Operation: 33-10=23 Exploring Operation: 36-33=3, Resulting Numbers: [10, 7, 3] Generated Node #0,3: 20:[10, 7, 3] Operation: 36-33=3 Moving to Node #0,3 Current State: 20:[10, 7, 3], Operations: ['36-33=3'] Exploring Operation: 7*3=21, Resulting Numbers: [10, 21] Generated Node #0,3,0: 20:[10, 21] Operation: 7*3=21 Exploring Operation: 10-7=3, Resulting Numbers: [3, 3] Generated Node #0,3,1: 20:[3, 3] Operation: 10-7=3 Exploring Operation: 7-3=4, Resulting Numbers: [10, 4] Generated Node #0,3,2: 20:[10, 4] Operation: 7-3=4 Exploring Operation: 7+3=10, Resulting Numbers: [10, 10] Generated Node #0,3,3: 20:[10, 10] Operation: 7+3=10 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 20:[10, 4], Operations: ['36-33=3', '7-3=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,20 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,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:[10, 10], Operations: ['36-33=3', '7+3=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[10, 36, 7, 33], Operations: [] Exploring Operation: 36-33=3, Resulting Numbers: [10, 7, 3] Generated Node #0,3: 20:[10, 7, 3] Operation: 36-33=3 Moving to Node #0,3 Current State: 20:[10, 7, 3], Operations: ['36-33=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10, 10] Generated Node #0,3,3: 20:[10, 10] Operation: 7+3=10 Moving to Node #0,3,3 Current State: 20:[10, 10], Operations: ['36-33=3', '7+3=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 40, 59, 76, 20 ]
34
[ "40/20=2", "76-59=17", "2*17=34" ]
Current State: 34:[40, 59, 76, 20], Operations: [] Exploring Operation: 40/20=2, Resulting Numbers: [59, 76, 2] Generated Node #2: [59, 76, 2] from Operation: 40/20=2 Current State: 34:[59, 76, 2], Operations: ['40/20=2'] Exploring Operation: 76-59=17, Resulting Numbers: [2, 17] Generated Node #3: [2, 17] from Operation: 76-59=17 Current State: 34:[2, 17], Operations: ['40/20=2', '76-59=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[40, 59, 76, 20], Operations: [] Exploring Operation: 59-20=39, Resulting Numbers: [40, 76, 39] Generated Node #0,0: 34:[40, 76, 39] Operation: 59-20=39 Exploring Operation: 76-20=56, Resulting Numbers: [40, 59, 56] Generated Node #0,1: 34:[40, 59, 56] Operation: 76-20=56 Exploring Operation: 76-59=17, Resulting Numbers: [40, 20, 17] Generated Node #0,2: 34:[40, 20, 17] Operation: 76-59=17 Exploring Operation: 59-40=19, Resulting Numbers: [76, 20, 19] Generated Node #0,3: 34:[76, 20, 19] Operation: 59-40=19 Exploring Operation: 76-40=36, Resulting Numbers: [59, 20, 36] Generated Node #0,4: 34:[59, 20, 36] Operation: 76-40=36 Moving to Node #0,2 Current State: 34:[40, 20, 17], Operations: ['76-59=17'] Exploring Operation: 20-17=3, Resulting Numbers: [40, 3] Generated Node #0,2,0: 34:[40, 3] Operation: 20-17=3 Exploring Operation: 20+17=37, Resulting Numbers: [40, 37] Generated Node #0,2,1: 34:[40, 37] Operation: 20+17=37 Exploring Operation: 40-20=20, Resulting Numbers: [17, 20] Generated Node #0,2,2: 34:[17, 20] Operation: 40-20=20 Exploring Operation: 40/20=2, Resulting Numbers: [17, 2] Generated Node #0,2,3: 34:[17, 2] Operation: 40/20=2 Exploring Operation: 40-17=23, Resulting Numbers: [20, 23] Generated Node #0,2,4: 34:[20, 23] Operation: 40-17=23 Moving to Node #0,4 Current State: 34:[59, 20, 36], Operations: ['76-40=36'] Exploring Operation: 59-20=39, Resulting Numbers: [36, 39] Generated Node #0,4,0: 34:[36, 39] Operation: 59-20=39 Exploring Operation: 20+36=56, Resulting Numbers: [59, 56] Generated Node #0,4,1: 34:[59, 56] Operation: 20+36=56 Exploring Operation: 59+20=79, Resulting Numbers: [36, 79] Generated Node #0,4,2: 34:[36, 79] Operation: 59+20=79 Exploring Operation: 59-36=23, Resulting Numbers: [20, 23] Generated Node #0,4,3: 34:[20, 23] Operation: 59-36=23 Exploring Operation: 36-20=16, Resulting Numbers: [59, 16] Generated Node #0,4,4: 34:[59, 16] Operation: 36-20=16 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 34:[36, 39], Operations: ['76-40=36', '59-20=39'] Exploring Operation: 36*39=1404, Resulting Numbers: [1404] 1404,34 unequal: No Solution Exploring Operation: 36+39=75, Resulting Numbers: [75] 75,34 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 34:[20, 23], Operations: ['76-40=36', '59-36=23'] Exploring Operation: 20*23=460, Resulting Numbers: [460] 460,34 unequal: No Solution Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 34:[59, 16], Operations: ['76-40=36', '36-20=16'] Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,34 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 59*16=944, Resulting Numbers: [944] 944,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 34:[59, 56], Operations: ['76-40=36', '20+36=56'] Exploring Operation: 59+56=115, Resulting Numbers: [115] 115,34 unequal: No Solution Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 59*56=3304, Resulting Numbers: [3304] 3304,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 34:[36, 79], Operations: ['76-40=36', '59+20=79'] Exploring Operation: 36+79=115, Resulting Numbers: [115] 115,34 unequal: No Solution Exploring Operation: 36*79=2844, Resulting Numbers: [2844] 2844,34 unequal: No Solution Exploring Operation: 79-36=43, Resulting Numbers: [43] 43,34 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: 34:[76, 20, 19], Operations: ['59-40=19'] Exploring Operation: 76/19=4, Resulting Numbers: [20, 4] Generated Node #0,3,0: 34:[20, 4] Operation: 76/19=4 Exploring Operation: 76-19=57, Resulting Numbers: [20, 57] Generated Node #0,3,1: 34:[20, 57] Operation: 76-19=57 Exploring Operation: 20+19=39, Resulting Numbers: [76, 39] Generated Node #0,3,2: 34:[76, 39] Operation: 20+19=39 Exploring Operation: 20-19=1, Resulting Numbers: [76, 1] Generated Node #0,3,3: 34:[76, 1] Operation: 20-19=1 Exploring Operation: 76-20=56, Resulting Numbers: [19, 56] Generated Node #0,3,4: 34:[19, 56] Operation: 76-20=56 Moving to Node #0,0 Current State: 34:[40, 76, 39], Operations: ['59-20=39'] Exploring Operation: 76-39=37, Resulting Numbers: [40, 37] Generated Node #0,0,0: 34:[40, 37] Operation: 76-39=37 Exploring Operation: 40+39=79, Resulting Numbers: [76, 79] Generated Node #0,0,1: 34:[76, 79] Operation: 40+39=79 Exploring Operation: 40-39=1, Resulting Numbers: [76, 1] Generated Node #0,0,2: 34:[76, 1] Operation: 40-39=1 Exploring Operation: 76-40=36, Resulting Numbers: [39, 36] Generated Node #0,0,3: 34:[39, 36] Operation: 76-40=36 Exploring Operation: 40+76=116, Resulting Numbers: [39, 116] Generated Node #0,0,4: 34:[39, 116] Operation: 40+76=116 Moving to Node #0,1 Current State: 34:[40, 59, 56], Operations: ['76-20=56'] Exploring Operation: 59-56=3, Resulting Numbers: [40, 3] Generated Node #0,1,0: 34:[40, 3] Operation: 59-56=3 Exploring Operation: 40+56=96, Resulting Numbers: [59, 96] Generated Node #0,1,1: 34:[59, 96] Operation: 40+56=96 Exploring Operation: 40+59=99, Resulting Numbers: [56, 99] Generated Node #0,1,2: 34:[56, 99] Operation: 40+59=99 Exploring Operation: 59-40=19, Resulting Numbers: [56, 19] Generated Node #0,1,3: 34:[56, 19] Operation: 59-40=19 Exploring Operation: 56-40=16, Resulting Numbers: [59, 16] Generated Node #0,1,4: 34:[59, 16] Operation: 56-40=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[40, 3], Operations: ['76-20=56', '59-56=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,34 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 34:[56, 19], Operations: ['76-20=56', '59-40=19'] Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,34 unequal: No Solution Exploring Operation: 56*19=1064, Resulting Numbers: [1064] 1064,34 unequal: No Solution Exploring Operation: 56+19=75, Resulting Numbers: [75] 75,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 34:[59, 16], Operations: ['76-20=56', '56-40=16'] Exploring Operation: 59*16=944, Resulting Numbers: [944] 944,34 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[59, 96], Operations: ['76-20=56', '40+56=96'] Exploring Operation: 59*96=5664, Resulting Numbers: [5664] 5664,34 unequal: No Solution Exploring Operation: 59+96=155, Resulting Numbers: [155] 155,34 unequal: No Solution Exploring Operation: 96-59=37, Resulting Numbers: [37] 37,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 34:[56, 99], Operations: ['76-20=56', '40+59=99'] Exploring Operation: 99-56=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 56*99=5544, Resulting Numbers: [5544] 5544,34 unequal: No Solution Exploring Operation: 56+99=155, Resulting Numbers: [155] 155,34 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: 34:[17, 2], Operations: ['76-59=17', '40/20=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[40, 59, 76, 20], Operations: [] Exploring Operation: 76-59=17, Resulting Numbers: [40, 20, 17] Generated Node #0,2: 34:[40, 20, 17] Operation: 76-59=17 Moving to Node #0,2 Current State: 34:[40, 20, 17], Operations: ['76-59=17'] Exploring Operation: 40/20=2, Resulting Numbers: [17, 2] Generated Node #0,2,3: 34:[17, 2] Operation: 40/20=2 Moving to Node #0,2,3 Current State: 34:[17, 2], Operations: ['76-59=17', '40/20=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.94184
hs_5
mult_heuristic
[ 58, 52, 18, 75 ]
51
[ "58-52=6", "75-18=57", "57-6=51" ]
Current State: 51:[58, 52, 18, 75], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [18, 75, 6] Generated Node #2: [18, 75, 6] from Operation: 58-52=6 Current State: 51:[18, 75, 6], Operations: ['58-52=6'] Exploring Operation: 75-18=57, Resulting Numbers: [6, 57] Generated Node #3: [6, 57] from Operation: 75-18=57 Current State: 51:[6, 57], Operations: ['58-52=6', '75-18=57'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[58, 52, 18, 75], Operations: [] Exploring Operation: 75-18=57, Resulting Numbers: [58, 52, 57] Generated Node #0,0: 51:[58, 52, 57] Operation: 75-18=57 Exploring Operation: 75-52=23, Resulting Numbers: [58, 18, 23] Generated Node #0,1: 51:[58, 18, 23] Operation: 75-52=23 Exploring Operation: 58-18=40, Resulting Numbers: [52, 75, 40] Generated Node #0,2: 51:[52, 75, 40] Operation: 58-18=40 Exploring Operation: 75-58=17, Resulting Numbers: [52, 18, 17] Generated Node #0,3: 51:[52, 18, 17] Operation: 75-58=17 Exploring Operation: 58-52=6, Resulting Numbers: [18, 75, 6] Generated Node #0,4: 51:[18, 75, 6] Operation: 58-52=6 Moving to Node #0,3 Current State: 51:[52, 18, 17], Operations: ['75-58=17'] Exploring Operation: 18+17=35, Resulting Numbers: [52, 35] Generated Node #0,3,0: 51:[52, 35] Operation: 18+17=35 Exploring Operation: 52+18=70, Resulting Numbers: [17, 70] Generated Node #0,3,1: 51:[17, 70] Operation: 52+18=70 Exploring Operation: 52-18=34, Resulting Numbers: [17, 34] Generated Node #0,3,2: 51:[17, 34] Operation: 52-18=34 Exploring Operation: 18-17=1, Resulting Numbers: [52, 1] Generated Node #0,3,3: 51:[52, 1] Operation: 18-17=1 Exploring Operation: 52-17=35, Resulting Numbers: [18, 35] Generated Node #0,3,4: 51:[18, 35] Operation: 52-17=35 Moving to Node #0,1 Current State: 51:[58, 18, 23], Operations: ['75-52=23'] Exploring Operation: 58-23=35, Resulting Numbers: [18, 35] Generated Node #0,1,0: 51:[18, 35] Operation: 58-23=35 Exploring Operation: 18+23=41, Resulting Numbers: [58, 41] Generated Node #0,1,1: 51:[58, 41] Operation: 18+23=41 Exploring Operation: 58+18=76, Resulting Numbers: [23, 76] Generated Node #0,1,2: 51:[23, 76] Operation: 58+18=76 Exploring Operation: 58-18=40, Resulting Numbers: [23, 40] Generated Node #0,1,3: 51:[23, 40] Operation: 58-18=40 Exploring Operation: 23-18=5, Resulting Numbers: [58, 5] Generated Node #0,1,4: 51:[58, 5] Operation: 23-18=5 Moving to Node #0,0 Current State: 51:[58, 52, 57], Operations: ['75-18=57'] Exploring Operation: 58+52=110, Resulting Numbers: [57, 110] Generated Node #0,0,0: 51:[57, 110] Operation: 58+52=110 Exploring Operation: 57-52=5, Resulting Numbers: [58, 5] Generated Node #0,0,1: 51:[58, 5] Operation: 57-52=5 Exploring Operation: 58-52=6, Resulting Numbers: [57, 6] Generated Node #0,0,2: 51:[57, 6] Operation: 58-52=6 Exploring Operation: 58-57=1, Resulting Numbers: [52, 1] Generated Node #0,0,3: 51:[52, 1] Operation: 58-57=1 Exploring Operation: 58+57=115, Resulting Numbers: [52, 115] Generated Node #0,0,4: 51:[52, 115] Operation: 58+57=115 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 51:[52, 1], Operations: ['75-18=57', '58-57=1'] Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,51 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[58, 52, 18, 75], Operations: [] Exploring Operation: 75-18=57, Resulting Numbers: [58, 52, 57] Generated Node #0,0: 51:[58, 52, 57] Operation: 75-18=57 Moving to Node #0,0 Current State: 51:[58, 52, 57], Operations: ['75-18=57'] Exploring Operation: 58-57=1, Resulting Numbers: [52, 1] Generated Node #0,0,3: 51:[52, 1] Operation: 58-57=1 Moving to Node #0,0,3 Current State: 51:[52, 1], Operations: ['75-18=57', '58-57=1'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_5
mult_heuristic
[ 36, 58, 2, 76 ]
76
[ "76-36=40", "58*2=116", "116-40=76" ]
Current State: 76:[36, 58, 2, 76], Operations: [] Exploring Operation: 76-36=40, Resulting Numbers: [58, 2, 40] Generated Node #2: [58, 2, 40] from Operation: 76-36=40 Current State: 76:[58, 2, 40], Operations: ['76-36=40'] Exploring Operation: 58*2=116, Resulting Numbers: [40, 116] Generated Node #3: [40, 116] from Operation: 58*2=116 Current State: 76:[40, 116], Operations: ['76-36=40', '58*2=116'] Exploring Operation: 116-40=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[36, 58, 2, 76], Operations: [] Exploring Operation: 76-58=18, Resulting Numbers: [36, 2, 18] Generated Node #0,0: 76:[36, 2, 18] Operation: 76-58=18 Exploring Operation: 58/2=29, Resulting Numbers: [36, 76, 29] Generated Node #0,1: 76:[36, 76, 29] Operation: 58/2=29 Exploring Operation: 58-36=22, Resulting Numbers: [2, 76, 22] Generated Node #0,2: 76:[2, 76, 22] Operation: 58-36=22 Exploring Operation: 36+2=38, Resulting Numbers: [58, 76, 38] Generated Node #0,3: 76:[58, 76, 38] Operation: 36+2=38 Exploring Operation: 36+58=94, Resulting Numbers: [2, 76, 94] Generated Node #0,4: 76:[2, 76, 94] Operation: 36+58=94 Moving to Node #0,0 Current State: 76:[36, 2, 18], Operations: ['76-58=18'] Exploring Operation: 36/2=18, Resulting Numbers: [18, 18] Generated Node #0,0,0: 76:[18, 18] Operation: 36/2=18 Exploring Operation: 36+2=38, Resulting Numbers: [18, 38] Generated Node #0,0,1: 76:[18, 38] Operation: 36+2=38 Exploring Operation: 36/18=2, Resulting Numbers: [2, 2] Generated Node #0,0,2: 76:[2, 2] Operation: 36/18=2 Exploring Operation: 36-18=18, Resulting Numbers: [2, 18] Generated Node #0,0,3: 76:[2, 18] Operation: 36-18=18 Exploring Operation: 2+18=20, Resulting Numbers: [36, 20] Generated Node #0,0,4: 76:[36, 20] Operation: 2+18=20 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[2, 2], Operations: ['76-58=18', '36/18=2'] Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,76 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[18, 38], Operations: ['76-58=18', '36+2=38'] Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,76 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 76:[2, 18], Operations: ['76-58=18', '36-18=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,76 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[18, 18], Operations: ['76-58=18', '36/2=18'] Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 18*18=324, Resulting Numbers: [324] 324,76 unequal: No Solution Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,76 unequal: No Solution Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 76:[36, 20], Operations: ['76-58=18', '2+18=20'] Exploring Operation: 36+20=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 36*20=720, Resulting Numbers: [720] 720,76 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 76:[2, 76, 22], Operations: ['58-36=22'] Exploring Operation: 76-2=74, Resulting Numbers: [22, 74] Generated Node #0,2,0: 76:[22, 74] Operation: 76-2=74 Exploring Operation: 22-2=20, Resulting Numbers: [76, 20] Generated Node #0,2,1: 76:[76, 20] Operation: 22-2=20 Exploring Operation: 76/2=38, Resulting Numbers: [22, 38] Generated Node #0,2,2: 76:[22, 38] Operation: 76/2=38 Exploring Operation: 2+22=24, Resulting Numbers: [76, 24] Generated Node #0,2,3: 76:[76, 24] Operation: 2+22=24 Exploring Operation: 2+76=78, Resulting Numbers: [22, 78] Generated Node #0,2,4: 76:[22, 78] Operation: 2+76=78 Moving to Node #0,1 Current State: 76:[36, 76, 29], Operations: ['58/2=29'] Exploring Operation: 36-29=7, Resulting Numbers: [76, 7] Generated Node #0,1,0: 76:[76, 7] Operation: 36-29=7 Exploring Operation: 76-29=47, Resulting Numbers: [36, 47] Generated Node #0,1,1: 76:[36, 47] Operation: 76-29=47 Exploring Operation: 76+29=105, Resulting Numbers: [36, 105] Generated Node #0,1,2: 76:[36, 105] Operation: 76+29=105 Exploring Operation: 76-36=40, Resulting Numbers: [29, 40] Generated Node #0,1,3: 76:[29, 40] Operation: 76-36=40 Exploring Operation: 36+29=65, Resulting Numbers: [76, 65] Generated Node #0,1,4: 76:[76, 65] Operation: 36+29=65 Moving to Node #0,3 Current State: 76:[58, 76, 38], Operations: ['36+2=38'] Exploring Operation: 76/38=2, Resulting Numbers: [58, 2] Generated Node #0,3,0: 76:[58, 2] Operation: 76/38=2 Exploring Operation: 58+38=96, Resulting Numbers: [76, 96] Generated Node #0,3,1: 76:[76, 96] Operation: 58+38=96 Exploring Operation: 58-38=20, Resulting Numbers: [76, 20] Generated Node #0,3,2: 76:[76, 20] Operation: 58-38=20 Exploring Operation: 76-58=18, Resulting Numbers: [38, 18] Generated Node #0,3,3: 76:[38, 18] Operation: 76-58=18 Exploring Operation: 76-38=38, Resulting Numbers: [58, 38] Generated Node #0,3,4: 76:[58, 38] Operation: 76-38=38 Moving to Node #0,4 Current State: 76:[2, 76, 94], Operations: ['36+58=94'] Exploring Operation: 94-2=92, Resulting Numbers: [76, 92] Generated Node #0,4,0: 76:[76, 92] Operation: 94-2=92 Exploring Operation: 76/2=38, Resulting Numbers: [94, 38] Generated Node #0,4,1: 76:[94, 38] Operation: 76/2=38 Exploring Operation: 94-76=18, Resulting Numbers: [2, 18] Generated Node #0,4,2: 76:[2, 18] Operation: 94-76=18 Exploring Operation: 94/2=47, Resulting Numbers: [76, 47] Generated Node #0,4,3: 76:[76, 47] Operation: 94/2=47 Exploring Operation: 2+76=78, Resulting Numbers: [94, 78] Generated Node #0,4,4: 76:[94, 78] Operation: 2+76=78 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 76:[2, 18], Operations: ['36+58=94', '94-76=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 76:[76, 47], Operations: ['36+58=94', '94/2=47'] Exploring Operation: 76*47=3572, Resulting Numbers: [3572] 3572,76 unequal: No Solution Exploring Operation: 76+47=123, Resulting Numbers: [123] 123,76 unequal: No Solution Exploring Operation: 76-47=29, Resulting Numbers: [29] 29,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 76:[76, 92], Operations: ['36+58=94', '94-2=92'] Exploring Operation: 76*92=6992, Resulting Numbers: [6992] 6992,76 unequal: No Solution Exploring Operation: 92-76=16, Resulting Numbers: [16] 16,76 unequal: No Solution Exploring Operation: 76+92=168, Resulting Numbers: [168] 168,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 76:[94, 38], Operations: ['36+58=94', '76/2=38'] Exploring Operation: 94-38=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 94*38=3572, Resulting Numbers: [3572] 3572,76 unequal: No Solution Exploring Operation: 94+38=132, Resulting Numbers: [132] 132,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 76:[94, 78], Operations: ['36+58=94', '2+76=78'] Exploring Operation: 94-78=16, Resulting Numbers: [16] 16,76 unequal: No Solution Exploring Operation: 94+78=172, Resulting Numbers: [172] 172,76 unequal: No Solution Exploring Operation: 94*78=7332, Resulting Numbers: [7332] 7332,76 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: 76:[76, 20], Operations: ['58-36=22', '22-2=20'] Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 76+20=96, Resulting Numbers: [96] 96,76 unequal: No Solution Exploring Operation: 76*20=1520, Resulting Numbers: [1520] 1520,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[38, 18], Operations: ['36+2=38', '76-58=18'] Exploring Operation: 38+18=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 38*18=684, Resulting Numbers: [684] 684,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[76, 20], Operations: ['36+2=38', '58-38=20'] Exploring Operation: 76+20=96, Resulting Numbers: [96] 96,76 unequal: No Solution Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 76*20=1520, Resulting Numbers: [1520] 1520,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[76, 7], Operations: ['58/2=29', '36-29=7'] Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,76 unequal: No Solution Exploring Operation: 76+7=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 76*7=532, Resulting Numbers: [532] 532,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[22, 38], Operations: ['58-36=22', '76/2=38'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,76 unequal: No Solution Exploring Operation: 22+38=60, Resulting Numbers: [60] 60,76 unequal: No Solution Exploring Operation: 22*38=836, Resulting Numbers: [836] 836,76 unequal: No Solution Moving to Node #0,2,0 Current State: 76:[22, 74], Operations: ['58-36=22', '76-2=74'] Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,76 unequal: No Solution Exploring Operation: 22*74=1628, Resulting Numbers: [1628] 1628,76 unequal: No Solution Exploring Operation: 22+74=96, Resulting Numbers: [96] 96,76 unequal: No Solution Moving to Node #0,2,4 Current State: 76:[22, 78], Operations: ['58-36=22', '2+76=78'] Exploring Operation: 22*78=1716, Resulting Numbers: [1716] 1716,76 unequal: No Solution Exploring Operation: 22+78=100, Resulting Numbers: [100] 100,76 unequal: No Solution Exploring Operation: 78-22=56, Resulting Numbers: [56] 56,76 unequal: No Solution Moving to Node #0,2,3 Current State: 76:[76, 24], Operations: ['58-36=22', '2+22=24'] Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,76 unequal: No Solution Exploring Operation: 76*24=1824, Resulting Numbers: [1824] 1824,76 unequal: No Solution Exploring Operation: 76+24=100, Resulting Numbers: [100] 100,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[36, 47], Operations: ['58/2=29', '76-29=47'] Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 36*47=1692, Resulting Numbers: [1692] 1692,76 unequal: No Solution Exploring Operation: 36+47=83, Resulting Numbers: [83] 83,76 unequal: No Solution Moving to Node #0,1,4 Current State: 76:[76, 65], Operations: ['58/2=29', '36+29=65'] Exploring Operation: 76+65=141, Resulting Numbers: [141] 141,76 unequal: No Solution Exploring Operation: 76-65=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 76*65=4940, Resulting Numbers: [4940] 4940,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[29, 40], Operations: ['58/2=29', '76-36=40'] Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 29*40=1160, Resulting Numbers: [1160] 1160,76 unequal: No Solution Exploring Operation: 29+40=69, Resulting Numbers: [69] 69,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[58, 2], Operations: ['36+2=38', '76/38=2'] Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,76 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,76 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,76 unequal: No Solution Moving to Node #0,3,4 Current State: 76:[58, 38], Operations: ['36+2=38', '76-38=38'] Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 58*38=2204, Resulting Numbers: [2204] 2204,76 unequal: No Solution Exploring Operation: 58+38=96, Resulting Numbers: [96] 96,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[76, 96], Operations: ['36+2=38', '58+38=96'] Exploring Operation: 76*96=7296, Resulting Numbers: [7296] 7296,76 unequal: No Solution Exploring Operation: 76+96=172, Resulting Numbers: [172] 172,76 unequal: No Solution Exploring Operation: 96-76=20, Resulting Numbers: [20] 20,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[36, 105], Operations: ['58/2=29', '76+29=105'] Exploring Operation: 36*105=3780, Resulting Numbers: [3780] 3780,76 unequal: No Solution Exploring Operation: 36+105=141, Resulting Numbers: [141] 141,76 unequal: No Solution Exploring Operation: 105-36=69, Resulting Numbers: [69] 69,76 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 29, 99, 43, 32 ]
44
[ "29+43=72", "99*32=3168", "3168/72=44" ]
Current State: 44:[29, 99, 43, 32], Operations: [] Exploring Operation: 29+43=72, Resulting Numbers: [99, 32, 72] Generated Node #2: [99, 32, 72] from Operation: 29+43=72 Current State: 44:[99, 32, 72], Operations: ['29+43=72'] Exploring Operation: 99*32=3168, Resulting Numbers: [72, 3168] Generated Node #3: [72, 3168] from Operation: 99*32=3168 Current State: 44:[72, 3168], Operations: ['29+43=72', '99*32=3168'] Exploring Operation: 3168/72=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[29, 99, 43, 32], Operations: [] Exploring Operation: 99-29=70, Resulting Numbers: [43, 32, 70] Generated Node #0,0: 44:[43, 32, 70] Operation: 99-29=70 Exploring Operation: 99-32=67, Resulting Numbers: [29, 43, 67] Generated Node #0,1: 44:[29, 43, 67] Operation: 99-32=67 Exploring Operation: 99-43=56, Resulting Numbers: [29, 32, 56] Generated Node #0,2: 44:[29, 32, 56] Operation: 99-43=56 Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[29, 32, 56], Operations: ['99-43=56'] Exploring Operation: 56-32=24, Resulting Numbers: [29, 24] Generated Node #0,2,0: 44:[29, 24] Operation: 56-32=24 Exploring Operation: 32-29=3, Resulting Numbers: [56, 3] Generated Node #0,2,1: 44:[56, 3] Operation: 32-29=3 Exploring Operation: 56-29=27, Resulting Numbers: [32, 27] Generated Node #0,2,2: 44:[32, 27] Operation: 56-29=27 Moving to Node #0,2,0 Current State: 44:[29, 24], Operations: ['99-43=56', '56-32=24'] Exploring Operation: 29*24=696, Resulting Numbers: [696] 696,44 unequal: No Solution Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,44 unequal: No Solution Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[56, 3], Operations: ['99-43=56', '32-29=3'] Exploring Operation: 56+3=59, Resulting Numbers: [59] 59,44 unequal: No Solution Exploring Operation: 56*3=168, Resulting Numbers: [168] 168,44 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[32, 27], Operations: ['99-43=56', '56-29=27'] Exploring Operation: 32*27=864, Resulting Numbers: [864] 864,44 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[29, 43, 67], Operations: ['99-32=67'] Exploring Operation: 43-29=14, Resulting Numbers: [67, 14] Generated Node #0,1,0: 44:[67, 14] Operation: 43-29=14 Exploring Operation: 67-29=38, Resulting Numbers: [43, 38] Generated Node #0,1,1: 44:[43, 38] Operation: 67-29=38 Exploring Operation: 67-43=24, Resulting Numbers: [29, 24] Generated Node #0,1,2: 44:[29, 24] Operation: 67-43=24 Moving to Node #0,1,1 Current State: 44:[43, 38], Operations: ['99-32=67', '67-29=38'] Exploring Operation: 43+38=81, Resulting Numbers: [81] 81,44 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 43*38=1634, Resulting Numbers: [1634] 1634,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[29, 24], Operations: ['99-32=67', '67-43=24'] Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,44 unequal: No Solution Exploring Operation: 29*24=696, Resulting Numbers: [696] 696,44 unequal: No Solution Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[67, 14], Operations: ['99-32=67', '43-29=14'] Exploring Operation: 67+14=81, Resulting Numbers: [81] 81,44 unequal: No Solution Exploring Operation: 67*14=938, Resulting Numbers: [938] 938,44 unequal: No Solution Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[43, 32, 70], Operations: ['99-29=70'] Exploring Operation: 43-32=11, Resulting Numbers: [70, 11] Generated Node #0,0,0: 44:[70, 11] Operation: 43-32=11 Exploring Operation: 70-32=38, Resulting Numbers: [43, 38] Generated Node #0,0,1: 44:[43, 38] Operation: 70-32=38 Exploring Operation: 70-43=27, Resulting Numbers: [32, 27] Generated Node #0,0,2: 44:[32, 27] Operation: 70-43=27 Moving to Node #0,0,1 Current State: 44:[43, 38], Operations: ['99-29=70', '70-32=38'] Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 43+38=81, Resulting Numbers: [81] 81,44 unequal: No Solution Exploring Operation: 43*38=1634, Resulting Numbers: [1634] 1634,44 unequal: No Solution Moving to Node #0,0,2 Current State: 44:[32, 27], Operations: ['99-29=70', '70-43=27'] Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,44 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 32*27=864, Resulting Numbers: [864] 864,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[70, 11], Operations: ['99-29=70', '43-32=11'] Exploring Operation: 70*11=770, Resulting Numbers: [770] 770,44 unequal: No Solution Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,44 unequal: No Solution Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,44 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
[ 95, 41, 2, 25 ]
31
[ "95-41=54", "25-2=23", "54-23=31" ]
Current State: 31:[95, 41, 2, 25], Operations: [] Exploring Operation: 95-41=54, Resulting Numbers: [2, 25, 54] Generated Node #2: [2, 25, 54] from Operation: 95-41=54 Current State: 31:[2, 25, 54], Operations: ['95-41=54'] Exploring Operation: 25-2=23, Resulting Numbers: [54, 23] Generated Node #3: [54, 23] from Operation: 25-2=23 Current State: 31:[54, 23], Operations: ['95-41=54', '25-2=23'] Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[95, 41, 2, 25], Operations: [] Exploring Operation: 41-2=39, Resulting Numbers: [95, 25, 39] Generated Node #0,0: 31:[95, 25, 39] Operation: 41-2=39 Exploring Operation: 2+25=27, Resulting Numbers: [95, 41, 27] Generated Node #0,1: 31:[95, 41, 27] Operation: 2+25=27 Exploring Operation: 95-25=70, Resulting Numbers: [41, 2, 70] Generated Node #0,2: 31:[41, 2, 70] Operation: 95-25=70 Exploring Operation: 95-41=54, Resulting Numbers: [2, 25, 54] Generated Node #0,3: 31:[2, 25, 54] Operation: 95-41=54 Exploring Operation: 95-2=93, Resulting Numbers: [41, 25, 93] Generated Node #0,4: 31:[41, 25, 93] Operation: 95-2=93 Start Sub Search at level 1: Moving to Node #0,3 Current State: 31:[2, 25, 54], Operations: ['95-41=54'] Exploring Operation: 2+25=27, Resulting Numbers: [54, 27] Generated Node #0,3,0: 31:[54, 27] Operation: 2+25=27 Exploring Operation: 25-2=23, Resulting Numbers: [54, 23] Generated Node #0,3,1: 31:[54, 23] Operation: 25-2=23 Exploring Operation: 2+54=56, Resulting Numbers: [25, 56] Generated Node #0,3,2: 31:[25, 56] Operation: 2+54=56 Exploring Operation: 54/2=27, Resulting Numbers: [25, 27] Generated Node #0,3,3: 31:[25, 27] Operation: 54/2=27 Exploring Operation: 54-2=52, Resulting Numbers: [25, 52] Generated Node #0,3,4: 31:[25, 52] Operation: 54-2=52 Moving to Node #0,3,3 Current State: 31:[25, 27], Operations: ['95-41=54', '54/2=27'] Exploring Operation: 25+27=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 27-25=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 25*27=675, Resulting Numbers: [675] 675,31 unequal: No Solution Moving to Node #0,3,4 Current State: 31:[25, 52], Operations: ['95-41=54', '54-2=52'] Exploring Operation: 25*52=1300, Resulting Numbers: [1300] 1300,31 unequal: No Solution Exploring Operation: 52-25=27, Resulting Numbers: [27] 27,31 unequal: No Solution Exploring Operation: 25+52=77, Resulting Numbers: [77] 77,31 unequal: No Solution Moving to Node #0,3,0 Current State: 31:[54, 27], Operations: ['95-41=54', '2+25=27'] Exploring Operation: 54+27=81, Resulting Numbers: [81] 81,31 unequal: No Solution Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,31 unequal: No Solution Exploring Operation: 54/27=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 54*27=1458, Resulting Numbers: [1458] 1458,31 unequal: No Solution Moving to Node #0,3,1 Current State: 31:[54, 23], Operations: ['95-41=54', '25-2=23'] Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[95, 41, 2, 25], Operations: [] Exploring Operation: 95-41=54, Resulting Numbers: [2, 25, 54] Generated Node #0,3: 31:[2, 25, 54] Operation: 95-41=54 Moving to Node #0,3 Current State: 31:[2, 25, 54], Operations: ['95-41=54'] Exploring Operation: 25-2=23, Resulting Numbers: [54, 23] Generated Node #0,3,1: 31:[54, 23] Operation: 25-2=23 Moving to Node #0,3,1 Current State: 31:[54, 23], Operations: ['95-41=54', '25-2=23'] Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 56, 4, 91, 44 ]
89
[ "56*4=224", "91+44=135", "224-135=89" ]
Current State: 89:[56, 4, 91, 44], Operations: [] Exploring Operation: 56*4=224, Resulting Numbers: [91, 44, 224] Generated Node #2: [91, 44, 224] from Operation: 56*4=224 Current State: 89:[91, 44, 224], Operations: ['56*4=224'] Exploring Operation: 91+44=135, Resulting Numbers: [224, 135] Generated Node #3: [224, 135] from Operation: 91+44=135 Current State: 89:[224, 135], Operations: ['56*4=224', '91+44=135'] Exploring Operation: 224-135=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[56, 4, 91, 44], Operations: [] Exploring Operation: 56+4=60, Resulting Numbers: [91, 44, 60] Generated Node #0,0: 89:[91, 44, 60] Operation: 56+4=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[91, 44, 60], Operations: ['56+4=60'] Exploring Operation: 44+60=104, Resulting Numbers: [91, 104] Generated Node #0,0,0: 89:[91, 104] Operation: 44+60=104 Moving to Node #0,0,0 Current State: 89:[91, 104], Operations: ['56+4=60', '44+60=104'] Exploring Operation: 104-91=13, Resulting Numbers: [13] 13,89 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
[ 21, 39, 97, 68 ]
42
[ "39+97=136", "21*136=2856", "2856/68=42" ]
Current State: 42:[21, 39, 97, 68], Operations: [] Exploring Operation: 39+97=136, Resulting Numbers: [21, 68, 136] Generated Node #2: [21, 68, 136] from Operation: 39+97=136 Current State: 42:[21, 68, 136], Operations: ['39+97=136'] Exploring Operation: 21*136=2856, Resulting Numbers: [68, 2856] Generated Node #3: [68, 2856] from Operation: 21*136=2856 Current State: 42:[68, 2856], Operations: ['39+97=136', '21*136=2856'] Exploring Operation: 2856/68=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[21, 39, 97, 68], Operations: [] Exploring Operation: 97-39=58, Resulting Numbers: [21, 68, 58] Generated Node #0,0: 42:[21, 68, 58] Operation: 97-39=58 Exploring Operation: 97-68=29, Resulting Numbers: [21, 39, 29] Generated Node #0,1: 42:[21, 39, 29] Operation: 97-68=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[21, 39, 29], Operations: ['97-68=29'] Exploring Operation: 39-29=10, Resulting Numbers: [21, 10] Generated Node #0,1,0: 42:[21, 10] Operation: 39-29=10 Exploring Operation: 29-21=8, Resulting Numbers: [39, 8] Generated Node #0,1,1: 42:[39, 8] Operation: 29-21=8 Moving to Node #0,1,0 Current State: 42:[21, 10], Operations: ['97-68=29', '39-29=10'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,42 unequal: No Solution Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[39, 8], Operations: ['97-68=29', '29-21=8'] Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,42 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,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,0 Current State: 42:[21, 68, 58], Operations: ['97-39=58'] Exploring Operation: 68-58=10, Resulting Numbers: [21, 10] Generated Node #0,0,0: 42:[21, 10] Operation: 68-58=10 Exploring Operation: 68-21=47, Resulting Numbers: [58, 47] Generated Node #0,0,1: 42:[58, 47] Operation: 68-21=47 Moving to Node #0,0,0 Current State: 42:[21, 10], Operations: ['97-39=58', '68-58=10'] Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,42 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[58, 47], Operations: ['97-39=58', '68-21=47'] Exploring Operation: 58-47=11, Resulting Numbers: [11] 11,42 unequal: No Solution Exploring Operation: 58+47=105, Resulting Numbers: [105] 105,42 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
[ 69, 69, 27, 53 ]
27
[ "69-69=0", "53*0=0", "27+0=27" ]
Current State: 27:[69, 69, 27, 53], Operations: [] Exploring Operation: 69-69=0, Resulting Numbers: [27, 53, 0] Generated Node #2: [27, 53, 0] from Operation: 69-69=0 Current State: 27:[27, 53, 0], Operations: ['69-69=0'] Exploring Operation: 53*0=0, Resulting Numbers: [27, 0] Generated Node #3: [27, 0] from Operation: 53*0=0 Current State: 27:[27, 0], Operations: ['69-69=0', '53*0=0'] Exploring Operation: 27+0=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[69, 69, 27, 53], Operations: [] Exploring Operation: 69-69=0, Resulting Numbers: [27, 53, 0] Generated Node #0,0: 27:[27, 53, 0] Operation: 69-69=0 Exploring Operation: 69-53=16, Resulting Numbers: [69, 27, 16] Generated Node #0,1: 27:[69, 27, 16] Operation: 69-53=16 Exploring Operation: 69/69=1, Resulting Numbers: [27, 53, 1] Generated Node #0,2: 27:[27, 53, 1] Operation: 69/69=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[27, 53, 1], Operations: ['69/69=1'] Exploring Operation: 53-1=52, Resulting Numbers: [27, 52] Generated Node #0,2,0: 27:[27, 52] Operation: 53-1=52 Exploring Operation: 53-27=26, Resulting Numbers: [1, 26] Generated Node #0,2,1: 27:[1, 26] Operation: 53-27=26 Exploring Operation: 27*1=27, Resulting Numbers: [53, 27] Generated Node #0,2,2: 27:[53, 27] Operation: 27*1=27 Moving to Node #0,2,1 Current State: 27:[1, 26], Operations: ['69/69=1', '53-27=26'] Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[69, 69, 27, 53], Operations: [] Exploring Operation: 69/69=1, Resulting Numbers: [27, 53, 1] Generated Node #0,2: 27:[27, 53, 1] Operation: 69/69=1 Moving to Node #0,2 Current State: 27:[27, 53, 1], Operations: ['69/69=1'] Exploring Operation: 53-27=26, Resulting Numbers: [1, 26] Generated Node #0,2,1: 27:[1, 26] Operation: 53-27=26 Moving to Node #0,2,1 Current State: 27:[1, 26], Operations: ['69/69=1', '53-27=26'] Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 88, 84, 87, 96 ]
63
[ "88-84=4", "96/4=24", "87-24=63" ]
Current State: 63:[88, 84, 87, 96], Operations: [] Exploring Operation: 88-84=4, Resulting Numbers: [87, 96, 4] Generated Node #2: [87, 96, 4] from Operation: 88-84=4 Current State: 63:[87, 96, 4], Operations: ['88-84=4'] Exploring Operation: 96/4=24, Resulting Numbers: [87, 24] Generated Node #3: [87, 24] from Operation: 96/4=24 Current State: 63:[87, 24], Operations: ['88-84=4', '96/4=24'] Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[88, 84, 87, 96], Operations: [] Exploring Operation: 96-88=8, Resulting Numbers: [84, 87, 8] Generated Node #0,0: 63:[84, 87, 8] Operation: 96-88=8 Exploring Operation: 96-87=9, Resulting Numbers: [88, 84, 9] Generated Node #0,1: 63:[88, 84, 9] Operation: 96-87=9 Exploring Operation: 96-84=12, Resulting Numbers: [88, 87, 12] Generated Node #0,2: 63:[88, 87, 12] Operation: 96-84=12 Moving to Node #0,0 Current State: 63:[84, 87, 8], Operations: ['96-88=8'] Exploring Operation: 87-84=3, Resulting Numbers: [8, 3] Generated Node #0,0,0: 63:[8, 3] Operation: 87-84=3 Exploring Operation: 87-8=79, Resulting Numbers: [84, 79] Generated Node #0,0,1: 63:[84, 79] Operation: 87-8=79 Exploring Operation: 84-8=76, Resulting Numbers: [87, 76] Generated Node #0,0,2: 63:[87, 76] Operation: 84-8=76 Moving to Node #0,1 Current State: 63:[88, 84, 9], Operations: ['96-87=9'] Exploring Operation: 84-9=75, Resulting Numbers: [88, 75] Generated Node #0,1,0: 63:[88, 75] Operation: 84-9=75 Exploring Operation: 88-9=79, Resulting Numbers: [84, 79] Generated Node #0,1,1: 63:[84, 79] Operation: 88-9=79 Exploring Operation: 88-84=4, Resulting Numbers: [9, 4] Generated Node #0,1,2: 63:[9, 4] Operation: 88-84=4 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 63:[9, 4], Operations: ['96-87=9', '88-84=4'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[88, 75], Operations: ['96-87=9', '84-9=75'] Exploring Operation: 88+75=163, Resulting Numbers: [163] 163,63 unequal: No Solution Exploring Operation: 88-75=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 88*75=6600, Resulting Numbers: [6600] 6600,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[84, 79], Operations: ['96-87=9', '88-9=79'] Exploring Operation: 84*79=6636, Resulting Numbers: [6636] 6636,63 unequal: No Solution Exploring Operation: 84+79=163, Resulting Numbers: [163] 163,63 unequal: No Solution Exploring Operation: 84-79=5, Resulting Numbers: [5] 5,63 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: 63:[88, 87, 12], Operations: ['96-84=12'] Exploring Operation: 88-12=76, Resulting Numbers: [87, 76] Generated Node #0,2,0: 63:[87, 76] Operation: 88-12=76 Exploring Operation: 87-12=75, Resulting Numbers: [88, 75] Generated Node #0,2,1: 63:[88, 75] Operation: 87-12=75 Exploring Operation: 88-87=1, Resulting Numbers: [12, 1] Generated Node #0,2,2: 63:[12, 1] Operation: 88-87=1 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 63:[12, 1], Operations: ['96-84=12', '88-87=1'] Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 63:[87, 76], Operations: ['96-84=12', '88-12=76'] Exploring Operation: 87*76=6612, Resulting Numbers: [6612] 6612,63 unequal: No Solution Exploring Operation: 87+76=163, Resulting Numbers: [163] 163,63 unequal: No Solution Exploring Operation: 87-76=11, Resulting Numbers: [11] 11,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 63:[88, 75], Operations: ['96-84=12', '87-12=75'] Exploring Operation: 88-75=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 88+75=163, Resulting Numbers: [163] 163,63 unequal: No Solution Exploring Operation: 88*75=6600, Resulting Numbers: [6600] 6600,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 63:[8, 3], Operations: ['96-88=8', '87-84=3'] Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,63 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[84, 79], Operations: ['96-88=8', '87-8=79'] Exploring Operation: 84-79=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 84*79=6636, Resulting Numbers: [6636] 6636,63 unequal: No Solution Exploring Operation: 84+79=163, Resulting Numbers: [163] 163,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[87, 76], Operations: ['96-88=8', '84-8=76'] Exploring Operation: 87+76=163, Resulting Numbers: [163] 163,63 unequal: No Solution Exploring Operation: 87-76=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 87*76=6612, Resulting Numbers: [6612] 6612,63 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 3, 53, 12, 9 ]
96
[ "53-12=41", "41-9=32", "3*32=96" ]
Current State: 96:[3, 53, 12, 9], Operations: [] Exploring Operation: 53-12=41, Resulting Numbers: [3, 9, 41] Generated Node #2: [3, 9, 41] from Operation: 53-12=41 Current State: 96:[3, 9, 41], Operations: ['53-12=41'] Exploring Operation: 41-9=32, Resulting Numbers: [3, 32] Generated Node #3: [3, 32] from Operation: 41-9=32 Current State: 96:[3, 32], Operations: ['53-12=41', '41-9=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[3, 53, 12, 9], Operations: [] Exploring Operation: 9/3=3, Resulting Numbers: [53, 12, 3] Generated Node #0,0: 96:[53, 12, 3] Operation: 9/3=3 Exploring Operation: 53-9=44, Resulting Numbers: [3, 12, 44] Generated Node #0,1: 96:[3, 12, 44] Operation: 53-9=44 Exploring Operation: 9-3=6, Resulting Numbers: [53, 12, 6] Generated Node #0,2: 96:[53, 12, 6] Operation: 9-3=6 Exploring Operation: 3+9=12, Resulting Numbers: [53, 12, 12] Generated Node #0,3: 96:[53, 12, 12] Operation: 3+9=12 Exploring Operation: 53-3=50, Resulting Numbers: [12, 9, 50] Generated Node #0,4: 96:[12, 9, 50] Operation: 53-3=50 Moving to Node #0,4 Current State: 96:[12, 9, 50], Operations: ['53-3=50'] Exploring Operation: 50-9=41, Resulting Numbers: [12, 41] Generated Node #0,4,0: 96:[12, 41] Operation: 50-9=41 Exploring Operation: 12+9=21, Resulting Numbers: [50, 21] Generated Node #0,4,1: 96:[50, 21] Operation: 12+9=21 Exploring Operation: 9+50=59, Resulting Numbers: [12, 59] Generated Node #0,4,2: 96:[12, 59] Operation: 9+50=59 Exploring Operation: 12-9=3, Resulting Numbers: [50, 3] Generated Node #0,4,3: 96:[50, 3] Operation: 12-9=3 Exploring Operation: 50-12=38, Resulting Numbers: [9, 38] Generated Node #0,4,4: 96:[9, 38] Operation: 50-12=38 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 96:[50, 3], Operations: ['53-3=50', '12-9=3'] Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,96 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 96:[50, 21], Operations: ['53-3=50', '12+9=21'] Exploring Operation: 50*21=1050, Resulting Numbers: [1050] 1050,96 unequal: No Solution Exploring Operation: 50+21=71, Resulting Numbers: [71] 71,96 unequal: No Solution Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 96:[12, 41], Operations: ['53-3=50', '50-9=41'] Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 12+41=53, Resulting Numbers: [53] 53,96 unequal: No Solution Exploring Operation: 12*41=492, Resulting Numbers: [492] 492,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 96:[9, 38], Operations: ['53-3=50', '50-12=38'] Exploring Operation: 9+38=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 9*38=342, Resulting Numbers: [342] 342,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 96:[12, 59], Operations: ['53-3=50', '9+50=59'] Exploring Operation: 12+59=71, Resulting Numbers: [71] 71,96 unequal: No Solution Exploring Operation: 12*59=708, Resulting Numbers: [708] 708,96 unequal: No Solution Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,96 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: 96:[3, 12, 44], Operations: ['53-9=44'] Exploring Operation: 12/3=4, Resulting Numbers: [44, 4] Generated Node #0,1,0: 96:[44, 4] Operation: 12/3=4 Exploring Operation: 44-12=32, Resulting Numbers: [3, 32] Generated Node #0,1,1: 96:[3, 32] Operation: 44-12=32 Exploring Operation: 12-3=9, Resulting Numbers: [44, 9] Generated Node #0,1,2: 96:[44, 9] Operation: 12-3=9 Exploring Operation: 3+12=15, Resulting Numbers: [44, 15] Generated Node #0,1,3: 96:[44, 15] Operation: 3+12=15 Exploring Operation: 3+44=47, Resulting Numbers: [12, 47] Generated Node #0,1,4: 96:[12, 47] Operation: 3+44=47 Moving to Node #0,0 Current State: 96:[53, 12, 3], Operations: ['9/3=3'] Exploring Operation: 53-3=50, Resulting Numbers: [12, 50] Generated Node #0,0,0: 96:[12, 50] Operation: 53-3=50 Exploring Operation: 12+3=15, Resulting Numbers: [53, 15] Generated Node #0,0,1: 96:[53, 15] Operation: 12+3=15 Exploring Operation: 12/3=4, Resulting Numbers: [53, 4] Generated Node #0,0,2: 96:[53, 4] Operation: 12/3=4 Exploring Operation: 53-12=41, Resulting Numbers: [3, 41] Generated Node #0,0,3: 96:[3, 41] Operation: 53-12=41 Exploring Operation: 12-3=9, Resulting Numbers: [53, 9] Generated Node #0,0,4: 96:[53, 9] Operation: 12-3=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[12, 50], Operations: ['9/3=3', '53-3=50'] Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,96 unequal: No Solution Exploring Operation: 12+50=62, Resulting Numbers: [62] 62,96 unequal: No Solution Exploring Operation: 12*50=600, Resulting Numbers: [600] 600,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 96:[53, 4], Operations: ['9/3=3', '12/3=4'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,96 unequal: No Solution Exploring Operation: 53*4=212, Resulting Numbers: [212] 212,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[53, 15], Operations: ['9/3=3', '12+3=15'] Exploring Operation: 53+15=68, Resulting Numbers: [68] 68,96 unequal: No Solution Exploring Operation: 53*15=795, Resulting Numbers: [795] 795,96 unequal: No Solution Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 96:[53, 9], Operations: ['9/3=3', '12-3=9'] Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,96 unequal: No Solution Exploring Operation: 53*9=477, Resulting Numbers: [477] 477,96 unequal: No Solution Exploring Operation: 53+9=62, Resulting Numbers: [62] 62,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 96:[3, 41], Operations: ['9/3=3', '53-12=41'] Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,96 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,96 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 96:[53, 12, 6], Operations: ['9-3=6'] Exploring Operation: 12/6=2, Resulting Numbers: [53, 2] Generated Node #0,2,0: 96:[53, 2] Operation: 12/6=2 Exploring Operation: 12+6=18, Resulting Numbers: [53, 18] Generated Node #0,2,1: 96:[53, 18] Operation: 12+6=18 Exploring Operation: 53-12=41, Resulting Numbers: [6, 41] Generated Node #0,2,2: 96:[6, 41] Operation: 53-12=41 Exploring Operation: 53-6=47, Resulting Numbers: [12, 47] Generated Node #0,2,3: 96:[12, 47] Operation: 53-6=47 Exploring Operation: 12-6=6, Resulting Numbers: [53, 6] Generated Node #0,2,4: 96:[53, 6] Operation: 12-6=6 Moving to Node #0,3 Current State: 96:[53, 12, 12], Operations: ['3+9=12'] Exploring Operation: 53-12=41, Resulting Numbers: [12, 41] Generated Node #0,3,0: 96:[12, 41] Operation: 53-12=41 Exploring Operation: 12-12=0, Resulting Numbers: [53, 0] Generated Node #0,3,1: 96:[53, 0] Operation: 12-12=0 Exploring Operation: 12/12=1, Resulting Numbers: [53, 1] Generated Node #0,3,2: 96:[53, 1] Operation: 12/12=1 Exploring Operation: 53-12=41, Resulting Numbers: [12, 41] Generated Node #0,3,3: 96:[12, 41] Operation: 53-12=41 Exploring Operation: 12+12=24, Resulting Numbers: [53, 24] Generated Node #0,3,4: 96:[53, 24] Operation: 12+12=24 Moving to Node #0,1,1 Current State: 96:[3, 32], Operations: ['53-9=44', '44-12=32'] Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,96 unequal: No Solution Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[3, 53, 12, 9], Operations: [] Exploring Operation: 53-9=44, Resulting Numbers: [3, 12, 44] Generated Node #0,1: 96:[3, 12, 44] Operation: 53-9=44 Moving to Node #0,1 Current State: 96:[3, 12, 44], Operations: ['53-9=44'] Exploring Operation: 44-12=32, Resulting Numbers: [3, 32] Generated Node #0,1,1: 96:[3, 32] Operation: 44-12=32 Moving to Node #0,1,1 Current State: 96:[3, 32], Operations: ['53-9=44', '44-12=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.942708
hs_5
mult_heuristic
[ 11, 64, 28, 72 ]
16
[ "11*64=704", "72-28=44", "704/44=16" ]
Current State: 16:[11, 64, 28, 72], Operations: [] Exploring Operation: 11*64=704, Resulting Numbers: [28, 72, 704] Generated Node #2: [28, 72, 704] from Operation: 11*64=704 Current State: 16:[28, 72, 704], Operations: ['11*64=704'] Exploring Operation: 72-28=44, Resulting Numbers: [704, 44] Generated Node #3: [704, 44] from Operation: 72-28=44 Current State: 16:[704, 44], Operations: ['11*64=704', '72-28=44'] Exploring Operation: 704/44=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[11, 64, 28, 72], Operations: [] Exploring Operation: 64-28=36, Resulting Numbers: [11, 72, 36] Generated Node #0,0: 16:[11, 72, 36] Operation: 64-28=36 Exploring Operation: 72-28=44, Resulting Numbers: [11, 64, 44] Generated Node #0,1: 16:[11, 64, 44] Operation: 72-28=44 Exploring Operation: 72-64=8, Resulting Numbers: [11, 28, 8] Generated Node #0,2: 16:[11, 28, 8] Operation: 72-64=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[11, 28, 8], Operations: ['72-64=8'] Exploring Operation: 28-11=17, Resulting Numbers: [8, 17] Generated Node #0,2,0: 16:[8, 17] Operation: 28-11=17 Exploring Operation: 28-8=20, Resulting Numbers: [11, 20] Generated Node #0,2,1: 16:[11, 20] Operation: 28-8=20 Exploring Operation: 11-8=3, Resulting Numbers: [28, 3] Generated Node #0,2,2: 16:[28, 3] Operation: 11-8=3 Moving to Node #0,2,0 Current State: 16:[8, 17], Operations: ['72-64=8', '28-11=17'] Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,16 unequal: No Solution Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[11, 20], Operations: ['72-64=8', '28-8=20'] Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,16 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 11*20=220, Resulting Numbers: [220] 220,16 unequal: No Solution Moving to Node #0,2,2 Current State: 16:[28, 3], Operations: ['72-64=8', '11-8=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,16 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[11, 72, 36], Operations: ['64-28=36'] Exploring Operation: 72/36=2, Resulting Numbers: [11, 2] Generated Node #0,0,0: 16:[11, 2] Operation: 72/36=2 Exploring Operation: 72-11=61, Resulting Numbers: [36, 61] Generated Node #0,0,1: 16:[36, 61] Operation: 72-11=61 Exploring Operation: 72-36=36, Resulting Numbers: [11, 36] Generated Node #0,0,2: 16:[11, 36] Operation: 72-36=36 Moving to Node #0,0,0 Current State: 16:[11, 2], Operations: ['64-28=36', '72/36=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,16 unequal: No Solution Moving to Node #0,0,2 Current State: 16:[11, 36], Operations: ['64-28=36', '72-36=36'] Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[36, 61], Operations: ['64-28=36', '72-11=61'] Exploring Operation: 36*61=2196, Resulting Numbers: [2196] 2196,16 unequal: No Solution Exploring Operation: 36+61=97, Resulting Numbers: [97] 97,16 unequal: No Solution Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[11, 64, 44], Operations: ['72-28=44'] Exploring Operation: 44/11=4, Resulting Numbers: [64, 4] Generated Node #0,1,0: 16:[64, 4] Operation: 44/11=4 Exploring Operation: 64-11=53, Resulting Numbers: [44, 53] Generated Node #0,1,1: 16:[44, 53] Operation: 64-11=53 Exploring Operation: 64-44=20, Resulting Numbers: [11, 20] Generated Node #0,1,2: 16:[11, 20] Operation: 64-44=20 Moving to Node #0,1,2 Current State: 16:[11, 20], Operations: ['72-28=44', '64-44=20'] Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,16 unequal: No Solution Exploring Operation: 11*20=220, Resulting Numbers: [220] 220,16 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[64, 4], Operations: ['72-28=44', '44/11=4'] Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,16 unequal: No Solution Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[11, 64, 28, 72], Operations: [] Exploring Operation: 72-28=44, Resulting Numbers: [11, 64, 44] Generated Node #0,1: 16:[11, 64, 44] Operation: 72-28=44 Moving to Node #0,1 Current State: 16:[11, 64, 44], Operations: ['72-28=44'] Exploring Operation: 44/11=4, Resulting Numbers: [64, 4] Generated Node #0,1,0: 16:[64, 4] Operation: 44/11=4 Moving to Node #0,1,0 Current State: 16:[64, 4], Operations: ['72-28=44', '44/11=4'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_3
sum_heuristic
[ 64, 56, 84, 37 ]
14
[ "64+84=148", "56*37=2072", "2072/148=14" ]
Current State: 14:[64, 56, 84, 37], Operations: [] Exploring Operation: 64+84=148, Resulting Numbers: [56, 37, 148] Generated Node #2: [56, 37, 148] from Operation: 64+84=148 Current State: 14:[56, 37, 148], Operations: ['64+84=148'] Exploring Operation: 56*37=2072, Resulting Numbers: [148, 2072] Generated Node #3: [148, 2072] from Operation: 56*37=2072 Current State: 14:[148, 2072], Operations: ['64+84=148', '56*37=2072'] Exploring Operation: 2072/148=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[64, 56, 84, 37], Operations: [] Exploring Operation: 84-64=20, Resulting Numbers: [56, 37, 20] Generated Node #0,0: 14:[56, 37, 20] Operation: 84-64=20 Exploring Operation: 64-56=8, Resulting Numbers: [84, 37, 8] Generated Node #0,1: 14:[84, 37, 8] Operation: 64-56=8 Exploring Operation: 84-56=28, Resulting Numbers: [64, 37, 28] Generated Node #0,2: 14:[64, 37, 28] Operation: 84-56=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[56, 37, 20], Operations: ['84-64=20'] Exploring Operation: 56-20=36, Resulting Numbers: [37, 36] Generated Node #0,0,0: 14:[37, 36] Operation: 56-20=36 Exploring Operation: 56-37=19, Resulting Numbers: [20, 19] Generated Node #0,0,1: 14:[20, 19] Operation: 56-37=19 Exploring Operation: 37-20=17, Resulting Numbers: [56, 17] Generated Node #0,0,2: 14:[56, 17] Operation: 37-20=17 Moving to Node #0,0,1 Current State: 14:[20, 19], Operations: ['84-64=20', '56-37=19'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,14 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[37, 36], Operations: ['84-64=20', '56-20=36'] Exploring Operation: 37+36=73, Resulting Numbers: [73] 73,14 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,14 unequal: No Solution Exploring Operation: 37*36=1332, Resulting Numbers: [1332] 1332,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[56, 17], Operations: ['84-64=20', '37-20=17'] Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,14 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,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 Current State: 14:[64, 37, 28], Operations: ['84-56=28'] Exploring Operation: 64-28=36, Resulting Numbers: [37, 36] Generated Node #0,2,0: 14:[37, 36] Operation: 64-28=36 Exploring Operation: 64-37=27, Resulting Numbers: [28, 27] Generated Node #0,2,1: 14:[28, 27] Operation: 64-37=27 Exploring Operation: 37-28=9, Resulting Numbers: [64, 9] Generated Node #0,2,2: 14:[64, 9] Operation: 37-28=9 Moving to Node #0,2,1 Current State: 14:[28, 27], Operations: ['84-56=28', '64-37=27'] Exploring Operation: 28+27=55, Resulting Numbers: [55] 55,14 unequal: No Solution Exploring Operation: 28*27=756, Resulting Numbers: [756] 756,14 unequal: No Solution Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[37, 36], Operations: ['84-56=28', '64-28=36'] Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,14 unequal: No Solution Exploring Operation: 37*36=1332, Resulting Numbers: [1332] 1332,14 unequal: No Solution Exploring Operation: 37+36=73, Resulting Numbers: [73] 73,14 unequal: No Solution Moving to Node #0,2,2 Current State: 14:[64, 9], Operations: ['84-56=28', '37-28=9'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,14 unequal: No Solution Exploring Operation: 64*9=576, Resulting Numbers: [576] 576,14 unequal: No Solution Exploring Operation: 64+9=73, Resulting Numbers: [73] 73,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[84, 37, 8], Operations: ['64-56=8'] Exploring Operation: 84-8=76, Resulting Numbers: [37, 76] Generated Node #0,1,0: 14:[37, 76] Operation: 84-8=76 Exploring Operation: 84-37=47, Resulting Numbers: [8, 47] Generated Node #0,1,1: 14:[8, 47] Operation: 84-37=47 Exploring Operation: 37-8=29, Resulting Numbers: [84, 29] Generated Node #0,1,2: 14:[84, 29] Operation: 37-8=29 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 14:[8, 47], Operations: ['64-56=8', '84-37=47'] Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 8+47=55, Resulting Numbers: [55] 55,14 unequal: No Solution Exploring Operation: 8*47=376, Resulting Numbers: [376] 376,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,0 Current State: 14:[37, 76], Operations: ['64-56=8', '84-8=76'] Exploring Operation: 37+76=113, Resulting Numbers: [113] 113,14 unequal: No Solution Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 37*76=2812, Resulting Numbers: [2812] 2812,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,2 Current State: 14:[84, 29], Operations: ['64-56=8', '37-8=29'] Exploring Operation: 84+29=113, Resulting Numbers: [113] 113,14 unequal: No Solution Exploring Operation: 84*29=2436, Resulting Numbers: [2436] 2436,14 unequal: No Solution Exploring Operation: 84-29=55, Resulting Numbers: [55] 55,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_3
mult_heuristic
[ 11, 15, 71, 60 ]
16
[ "71-11=60", "60/60=1", "15+1=16" ]
Current State: 16:[11, 15, 71, 60], Operations: [] Exploring Operation: 71-11=60, Resulting Numbers: [15, 60, 60] Generated Node #2: [15, 60, 60] from Operation: 71-11=60 Current State: 16:[15, 60, 60], Operations: ['71-11=60'] Exploring Operation: 60/60=1, Resulting Numbers: [15, 1] Generated Node #3: [15, 1] from Operation: 60/60=1 Current State: 16:[15, 1], Operations: ['71-11=60', '60/60=1'] Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[11, 15, 71, 60], Operations: [] Exploring Operation: 71-60=11, Resulting Numbers: [11, 15, 11] Generated Node #0,0: 16:[11, 15, 11] Operation: 71-60=11 Exploring Operation: 60/15=4, Resulting Numbers: [11, 71, 4] Generated Node #0,1: 16:[11, 71, 4] Operation: 60/15=4 Exploring Operation: 71-15=56, Resulting Numbers: [11, 60, 56] Generated Node #0,2: 16:[11, 60, 56] Operation: 71-15=56 Exploring Operation: 60-15=45, Resulting Numbers: [11, 71, 45] Generated Node #0,3: 16:[11, 71, 45] Operation: 60-15=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[11, 15, 11], Operations: ['71-60=11'] Exploring Operation: 15-11=4, Resulting Numbers: [11, 4] Generated Node #0,0,0: 16:[11, 4] Operation: 15-11=4 Exploring Operation: 11-11=0, Resulting Numbers: [15, 0] Generated Node #0,0,1: 16:[15, 0] Operation: 11-11=0 Exploring Operation: 15-11=4, Resulting Numbers: [11, 4] Generated Node #0,0,2: 16:[11, 4] Operation: 15-11=4 Exploring Operation: 11/11=1, Resulting Numbers: [15, 1] Generated Node #0,0,3: 16:[15, 1] Operation: 11/11=1 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 16:[15, 1], Operations: ['71-60=11', '11/11=1'] Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[11, 15, 71, 60], Operations: [] Exploring Operation: 71-60=11, Resulting Numbers: [11, 15, 11] Generated Node #0,0: 16:[11, 15, 11] Operation: 71-60=11 Moving to Node #0,0 Current State: 16:[11, 15, 11], Operations: ['71-60=11'] Exploring Operation: 11/11=1, Resulting Numbers: [15, 1] Generated Node #0,0,3: 16:[15, 1] Operation: 11/11=1 Moving to Node #0,0,3 Current State: 16:[15, 1], Operations: ['71-60=11', '11/11=1'] Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 29, 53, 84, 3 ]
52
[ "53-29=24", "84/3=28", "24+28=52" ]
Current State: 52:[29, 53, 84, 3], Operations: [] Exploring Operation: 53-29=24, Resulting Numbers: [84, 3, 24] Generated Node #2: [84, 3, 24] from Operation: 53-29=24 Current State: 52:[84, 3, 24], Operations: ['53-29=24'] Exploring Operation: 84/3=28, Resulting Numbers: [24, 28] Generated Node #3: [24, 28] from Operation: 84/3=28 Current State: 52:[24, 28], Operations: ['53-29=24', '84/3=28'] Exploring Operation: 24+28=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[29, 53, 84, 3], Operations: [] Exploring Operation: 84-29=55, Resulting Numbers: [53, 3, 55] Generated Node #0,0: 52:[53, 3, 55] Operation: 84-29=55 Moving to Node #0,0 Current State: 52:[53, 3, 55], Operations: ['84-29=55'] Exploring Operation: 55-53=2, Resulting Numbers: [3, 2] Generated Node #0,0,0: 52:[3, 2] Operation: 55-53=2 Moving to Node #0,0,0 Current State: 52:[3, 2], Operations: ['84-29=55', '55-53=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,52 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 86, 95, 77, 52 ]
75
[ "95-52=43", "86/43=2", "77-2=75" ]
Current State: 75:[86, 95, 77, 52], Operations: [] Exploring Operation: 95-52=43, Resulting Numbers: [86, 77, 43] Generated Node #2: [86, 77, 43] from Operation: 95-52=43 Current State: 75:[86, 77, 43], Operations: ['95-52=43'] Exploring Operation: 86/43=2, Resulting Numbers: [77, 2] Generated Node #3: [77, 2] from Operation: 86/43=2 Current State: 75:[77, 2], Operations: ['95-52=43', '86/43=2'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[86, 95, 77, 52], Operations: [] Exploring Operation: 95-86=9, Resulting Numbers: [77, 52, 9] Generated Node #0,0: 75:[77, 52, 9] Operation: 95-86=9 Exploring Operation: 86-52=34, Resulting Numbers: [95, 77, 34] Generated Node #0,1: 75:[95, 77, 34] Operation: 86-52=34 Moving to Node #0,0 Current State: 75:[77, 52, 9], Operations: ['95-86=9'] Exploring Operation: 52+9=61, Resulting Numbers: [77, 61] Generated Node #0,0,0: 75:[77, 61] Operation: 52+9=61 Exploring Operation: 77-52=25, Resulting Numbers: [9, 25] Generated Node #0,0,1: 75:[9, 25] Operation: 77-52=25 Moving to Node #0,1 Current State: 75:[95, 77, 34], Operations: ['86-52=34'] Exploring Operation: 95-77=18, Resulting Numbers: [34, 18] Generated Node #0,1,0: 75:[34, 18] Operation: 95-77=18 Exploring Operation: 95-34=61, Resulting Numbers: [77, 61] Generated Node #0,1,1: 75:[77, 61] Operation: 95-34=61 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[34, 18], Operations: ['86-52=34', '95-77=18'] Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[77, 61], Operations: ['86-52=34', '95-34=61'] Exploring Operation: 77-61=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 77+61=138, Resulting Numbers: [138] 138,75 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: 75:[9, 25], Operations: ['95-86=9', '77-52=25'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[77, 61], Operations: ['95-86=9', '52+9=61'] Exploring Operation: 77-61=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 77+61=138, Resulting Numbers: [138] 138,75 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 62, 61, 1, 99 ]
98
[ "62-61=1", "1*99=99", "99-1=98" ]
Current State: 98:[62, 61, 1, 99], Operations: [] Exploring Operation: 62-61=1, Resulting Numbers: [1, 99, 1] Generated Node #2: [1, 99, 1] from Operation: 62-61=1 Current State: 98:[1, 99, 1], Operations: ['62-61=1'] Exploring Operation: 1*99=99, Resulting Numbers: [99] 99,98 equal: Goal Reached Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[62, 61, 1, 99], Operations: [] Exploring Operation: 61-1=60, Resulting Numbers: [62, 99, 60] Generated Node #0,0: 98:[62, 99, 60] Operation: 61-1=60 Exploring Operation: 62-1=61, Resulting Numbers: [61, 99, 61] Generated Node #0,1: 98:[61, 99, 61] Operation: 62-1=61 Exploring Operation: 99-62=37, Resulting Numbers: [61, 1, 37] Generated Node #0,2: 98:[61, 1, 37] Operation: 99-62=37 Exploring Operation: 99-61=38, Resulting Numbers: [62, 1, 38] Generated Node #0,3: 98:[62, 1, 38] Operation: 99-61=38 Exploring Operation: 62-61=1, Resulting Numbers: [1, 99, 1] Generated Node #0,4: 98:[1, 99, 1] Operation: 62-61=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 98:[1, 99, 1], Operations: ['62-61=1'] Exploring Operation: 99/1=99, Resulting Numbers: [1, 99] Generated Node #0,4,0: 98:[1, 99] Operation: 99/1=99 Exploring Operation: 1*99=99, Resulting Numbers: [1, 99] Generated Node #0,4,1: 98:[1, 99] Operation: 1*99=99 Exploring Operation: 99-1=98, Resulting Numbers: [1, 98] Generated Node #0,4,2: 98:[1, 98] Operation: 99-1=98 Exploring Operation: 99-1=98, Resulting Numbers: [1, 98] Generated Node #0,4,3: 98:[1, 98] Operation: 99-1=98 Exploring Operation: 1+1=2, Resulting Numbers: [99, 2] Generated Node #0,4,4: 98:[99, 2] Operation: 1+1=2 Moving to Node #0,4,2 Current State: 98:[1, 98], Operations: ['62-61=1', '99-1=98'] Exploring Operation: 98-1=97, Resulting Numbers: [97] 97,98 unequal: No Solution Exploring Operation: 1*98=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[62, 61, 1, 99], Operations: [] Exploring Operation: 62-61=1, Resulting Numbers: [1, 99, 1] Generated Node #0,4: 98:[1, 99, 1] Operation: 62-61=1 Moving to Node #0,4 Current State: 98:[1, 99, 1], Operations: ['62-61=1'] Exploring Operation: 99-1=98, Resulting Numbers: [1, 98] Generated Node #0,4,2: 98:[1, 98] Operation: 99-1=98 Moving to Node #0,4,2 Current State: 98:[1, 98], Operations: ['62-61=1', '99-1=98'] Exploring Operation: 1*98=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 93, 66, 56, 14 ]
97
[ "93-66=27", "56+14=70", "27+70=97" ]
Current State: 97:[93, 66, 56, 14], Operations: [] Exploring Operation: 93-66=27, Resulting Numbers: [56, 14, 27] Generated Node #2: [56, 14, 27] from Operation: 93-66=27 Current State: 97:[56, 14, 27], Operations: ['93-66=27'] Exploring Operation: 56+14=70, Resulting Numbers: [27, 70] Generated Node #3: [27, 70] from Operation: 56+14=70 Current State: 97:[27, 70], Operations: ['93-66=27', '56+14=70'] Exploring Operation: 27+70=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[93, 66, 56, 14], Operations: [] Exploring Operation: 56+14=70, Resulting Numbers: [93, 66, 70] Generated Node #0,0: 97:[93, 66, 70] Operation: 56+14=70 Exploring Operation: 66+14=80, Resulting Numbers: [93, 56, 80] Generated Node #0,1: 97:[93, 56, 80] Operation: 66+14=80 Exploring Operation: 93-14=79, Resulting Numbers: [66, 56, 79] Generated Node #0,2: 97:[66, 56, 79] Operation: 93-14=79 Exploring Operation: 93+14=107, Resulting Numbers: [66, 56, 107] Generated Node #0,3: 97:[66, 56, 107] Operation: 93+14=107 Moving to Node #0,0 Current State: 97:[93, 66, 70], Operations: ['56+14=70'] Exploring Operation: 93+66=159, Resulting Numbers: [70, 159] Generated Node #0,0,0: 97:[70, 159] Operation: 93+66=159 Exploring Operation: 93+70=163, Resulting Numbers: [66, 163] Generated Node #0,0,1: 97:[66, 163] Operation: 93+70=163 Exploring Operation: 66+70=136, Resulting Numbers: [93, 136] Generated Node #0,0,2: 97:[93, 136] Operation: 66+70=136 Exploring Operation: 93-66=27, Resulting Numbers: [70, 27] Generated Node #0,0,3: 97:[70, 27] Operation: 93-66=27 Moving to Node #0,1 Current State: 97:[93, 56, 80], Operations: ['66+14=80'] Exploring Operation: 80-56=24, Resulting Numbers: [93, 24] Generated Node #0,1,0: 97:[93, 24] Operation: 80-56=24 Exploring Operation: 93+56=149, Resulting Numbers: [80, 149] Generated Node #0,1,1: 97:[80, 149] Operation: 93+56=149 Exploring Operation: 56+80=136, Resulting Numbers: [93, 136] Generated Node #0,1,2: 97:[93, 136] Operation: 56+80=136 Exploring Operation: 93-56=37, Resulting Numbers: [80, 37] Generated Node #0,1,3: 97:[80, 37] Operation: 93-56=37 Moving to Node #0,3 Current State: 97:[66, 56, 107], Operations: ['93+14=107'] Exploring Operation: 107-56=51, Resulting Numbers: [66, 51] Generated Node #0,3,0: 97:[66, 51] Operation: 107-56=51 Exploring Operation: 66+56=122, Resulting Numbers: [107, 122] Generated Node #0,3,1: 97:[107, 122] Operation: 66+56=122 Exploring Operation: 66-56=10, Resulting Numbers: [107, 10] Generated Node #0,3,2: 97:[107, 10] Operation: 66-56=10 Exploring Operation: 107-66=41, Resulting Numbers: [56, 41] Generated Node #0,3,3: 97:[56, 41] Operation: 107-66=41 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[107, 122], Operations: ['93+14=107', '66+56=122'] Exploring Operation: 107+122=229, Resulting Numbers: [229] 229,97 unequal: No Solution Exploring Operation: 122-107=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 107*122=13054, Resulting Numbers: [13054] 13054,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[66, 51], Operations: ['93+14=107', '107-56=51'] Exploring Operation: 66+51=117, Resulting Numbers: [117] 117,97 unequal: No Solution Exploring Operation: 66*51=3366, Resulting Numbers: [3366] 3366,97 unequal: No Solution Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[107, 10], Operations: ['93+14=107', '66-56=10'] Exploring Operation: 107-10=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[93, 66, 56, 14], Operations: [] Exploring Operation: 93+14=107, Resulting Numbers: [66, 56, 107] Generated Node #0,3: 97:[66, 56, 107] Operation: 93+14=107 Moving to Node #0,3 Current State: 97:[66, 56, 107], Operations: ['93+14=107'] Exploring Operation: 66-56=10, Resulting Numbers: [107, 10] Generated Node #0,3,2: 97:[107, 10] Operation: 66-56=10 Moving to Node #0,3,2 Current State: 97:[107, 10], Operations: ['93+14=107', '66-56=10'] Exploring Operation: 107-10=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_4
mult_heuristic
[ 37, 15, 2, 23 ]
82
[ "37*2=74", "23-15=8", "74+8=82" ]
Current State: 82:[37, 15, 2, 23], Operations: [] Exploring Operation: 37*2=74, Resulting Numbers: [15, 23, 74] Generated Node #2: [15, 23, 74] from Operation: 37*2=74 Current State: 82:[15, 23, 74], Operations: ['37*2=74'] Exploring Operation: 23-15=8, Resulting Numbers: [74, 8] Generated Node #3: [74, 8] from Operation: 23-15=8 Current State: 82:[74, 8], Operations: ['37*2=74', '23-15=8'] Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[37, 15, 2, 23], Operations: [] Exploring Operation: 15+23=38, Resulting Numbers: [37, 2, 38] Generated Node #0,0: 82:[37, 2, 38] Operation: 15+23=38 Exploring Operation: 23-15=8, Resulting Numbers: [37, 2, 8] Generated Node #0,1: 82:[37, 2, 8] Operation: 23-15=8 Moving to Node #0,0 Current State: 82:[37, 2, 38], Operations: ['15+23=38'] Exploring Operation: 37+2=39, Resulting Numbers: [38, 39] Generated Node #0,0,0: 82:[38, 39] Operation: 37+2=39 Exploring Operation: 38-37=1, Resulting Numbers: [2, 1] Generated Node #0,0,1: 82:[2, 1] Operation: 38-37=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[2, 1], Operations: ['15+23=38', '38-37=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[38, 39], Operations: ['15+23=38', '37+2=39'] Exploring Operation: 38+39=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 39-38=1, Resulting Numbers: [1] 1,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 82:[37, 2, 8], Operations: ['23-15=8'] Exploring Operation: 8/2=4, Resulting Numbers: [37, 4] Generated Node #0,1,0: 82:[37, 4] Operation: 8/2=4 Exploring Operation: 37+8=45, Resulting Numbers: [2, 45] Generated Node #0,1,1: 82:[2, 45] Operation: 37+8=45 Moving to Node #0,1,1 Current State: 82:[2, 45], Operations: ['23-15=8', '37+8=45'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[37, 4], Operations: ['23-15=8', '8/2=4'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,82 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 84, 12, 44, 31 ]
68
[ "84/12=7", "44+31=75", "75-7=68" ]
Current State: 68:[84, 12, 44, 31], Operations: [] Exploring Operation: 84/12=7, Resulting Numbers: [44, 31, 7] Generated Node #2: [44, 31, 7] from Operation: 84/12=7 Current State: 68:[44, 31, 7], Operations: ['84/12=7'] Exploring Operation: 44+31=75, Resulting Numbers: [7, 75] Generated Node #3: [7, 75] from Operation: 44+31=75 Current State: 68:[7, 75], Operations: ['84/12=7', '44+31=75'] Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[84, 12, 44, 31], Operations: [] Exploring Operation: 84-44=40, Resulting Numbers: [12, 31, 40] Generated Node #0,0: 68:[12, 31, 40] Operation: 84-44=40 Exploring Operation: 84/12=7, Resulting Numbers: [44, 31, 7] Generated Node #0,1: 68:[44, 31, 7] Operation: 84/12=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[12, 31, 40], Operations: ['84-44=40'] Exploring Operation: 31+40=71, Resulting Numbers: [12, 71] Generated Node #0,0,0: 68:[12, 71] Operation: 31+40=71 Exploring Operation: 31-12=19, Resulting Numbers: [40, 19] Generated Node #0,0,1: 68:[40, 19] Operation: 31-12=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[12, 71], Operations: ['84-44=40', '31+40=71'] Exploring Operation: 12+71=83, Resulting Numbers: [83] 83,68 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,68 unequal: No Solution No 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: 68:[40, 19], Operations: ['84-44=40', '31-12=19'] Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 40+19=59, Resulting Numbers: [59] 59,68 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: 68:[44, 31, 7], Operations: ['84/12=7'] Exploring Operation: 44-7=37, Resulting Numbers: [31, 37] Generated Node #0,1,0: 68:[31, 37] Operation: 44-7=37 Exploring Operation: 44-31=13, Resulting Numbers: [7, 13] Generated Node #0,1,1: 68:[7, 13] Operation: 44-31=13 Moving to Node #0,1,0 Current State: 68:[31, 37], Operations: ['84/12=7', '44-7=37'] Exploring Operation: 31+37=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[84, 12, 44, 31], Operations: [] Exploring Operation: 84/12=7, Resulting Numbers: [44, 31, 7] Generated Node #0,1: 68:[44, 31, 7] Operation: 84/12=7 Moving to Node #0,1 Current State: 68:[44, 31, 7], Operations: ['84/12=7'] Exploring Operation: 44-7=37, Resulting Numbers: [31, 37] Generated Node #0,1,0: 68:[31, 37] Operation: 44-7=37 Moving to Node #0,1,0 Current State: 68:[31, 37], Operations: ['84/12=7', '44-7=37'] Exploring Operation: 31+37=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 30, 92, 28, 74 ]
16
[ "92-30=62", "74-28=46", "62-46=16" ]
Current State: 16:[30, 92, 28, 74], Operations: [] Exploring Operation: 92-30=62, Resulting Numbers: [28, 74, 62] Generated Node #2: [28, 74, 62] from Operation: 92-30=62 Current State: 16:[28, 74, 62], Operations: ['92-30=62'] Exploring Operation: 74-28=46, Resulting Numbers: [62, 46] Generated Node #3: [62, 46] from Operation: 74-28=46 Current State: 16:[62, 46], Operations: ['92-30=62', '74-28=46'] Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[30, 92, 28, 74], Operations: [] Exploring Operation: 92-74=18, Resulting Numbers: [30, 28, 18] Generated Node #0,0: 16:[30, 28, 18] Operation: 92-74=18 Exploring Operation: 92-30=62, Resulting Numbers: [28, 74, 62] Generated Node #0,1: 16:[28, 74, 62] Operation: 92-30=62 Moving to Node #0,0 Current State: 16:[30, 28, 18], Operations: ['92-74=18'] Exploring Operation: 30-18=12, Resulting Numbers: [28, 12] Generated Node #0,0,0: 16:[28, 12] Operation: 30-18=12 Exploring Operation: 30-28=2, Resulting Numbers: [18, 2] Generated Node #0,0,1: 16:[18, 2] Operation: 30-28=2 Moving to Node #0,1 Current State: 16:[28, 74, 62], Operations: ['92-30=62'] Exploring Operation: 74-62=12, Resulting Numbers: [28, 12] Generated Node #0,1,0: 16:[28, 12] Operation: 74-62=12 Exploring Operation: 74-28=46, Resulting Numbers: [62, 46] Generated Node #0,1,1: 16:[62, 46] Operation: 74-28=46 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[28, 12], Operations: ['92-30=62', '74-62=12'] Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[30, 92, 28, 74], Operations: [] Exploring Operation: 92-30=62, Resulting Numbers: [28, 74, 62] Generated Node #0,1: 16:[28, 74, 62] Operation: 92-30=62 Moving to Node #0,1 Current State: 16:[28, 74, 62], Operations: ['92-30=62'] Exploring Operation: 74-62=12, Resulting Numbers: [28, 12] Generated Node #0,1,0: 16:[28, 12] Operation: 74-62=12 Moving to Node #0,1,0 Current State: 16:[28, 12], Operations: ['92-30=62', '74-62=12'] Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 39, 78, 13, 39 ]
15
[ "39*13=507", "78+507=585", "585/39=15" ]
Current State: 15:[39, 78, 13, 39], Operations: [] Exploring Operation: 39*13=507, Resulting Numbers: [78, 507] Generated Node #2: [78, 507] from Operation: 39*13=507 Current State: 15:[78, 507], Operations: ['39*13=507'] Exploring Operation: 78+507=585, Resulting Numbers: [585] 585,15 equal: Goal Reached Exploring Operation: 585/39=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[39, 78, 13, 39], Operations: [] Exploring Operation: 78-39=39, Resulting Numbers: [13, 39, 39] Generated Node #0,0: 15:[13, 39, 39] Operation: 78-39=39 Exploring Operation: 78/39=2, Resulting Numbers: [13, 39, 2] Generated Node #0,1: 15:[13, 39, 2] Operation: 78/39=2 Exploring Operation: 78/39=2, Resulting Numbers: [39, 13, 2] Generated Node #0,2: 15:[39, 13, 2] Operation: 78/39=2 Exploring Operation: 78-39=39, Resulting Numbers: [39, 13, 39] Generated Node #0,3: 15:[39, 13, 39] Operation: 78-39=39 Exploring Operation: 78/13=6, Resulting Numbers: [39, 39, 6] Generated Node #0,4: 15:[39, 39, 6] Operation: 78/13=6 Moving to Node #0,1 Current State: 15:[13, 39, 2], Operations: ['78/39=2'] Exploring Operation: 39-13=26, Resulting Numbers: [2, 26] Generated Node #0,1,0: 15:[2, 26] Operation: 39-13=26 Exploring Operation: 13-2=11, Resulting Numbers: [39, 11] Generated Node #0,1,1: 15:[39, 11] Operation: 13-2=11 Exploring Operation: 39-2=37, Resulting Numbers: [13, 37] Generated Node #0,1,2: 15:[13, 37] Operation: 39-2=37 Exploring Operation: 39/13=3, Resulting Numbers: [2, 3] Generated Node #0,1,3: 15:[2, 3] Operation: 39/13=3 Exploring Operation: 13+2=15, Resulting Numbers: [39, 15] Generated Node #0,1,4: 15:[39, 15] Operation: 13+2=15 Moving to Node #0,2 Current State: 15:[39, 13, 2], Operations: ['78/39=2'] Exploring Operation: 39-2=37, Resulting Numbers: [13, 37] Generated Node #0,2,0: 15:[13, 37] Operation: 39-2=37 Exploring Operation: 39-13=26, Resulting Numbers: [2, 26] Generated Node #0,2,1: 15:[2, 26] Operation: 39-13=26 Exploring Operation: 39/13=3, Resulting Numbers: [2, 3] Generated Node #0,2,2: 15:[2, 3] Operation: 39/13=3 Exploring Operation: 39+2=41, Resulting Numbers: [13, 41] Generated Node #0,2,3: 15:[13, 41] Operation: 39+2=41 Exploring Operation: 13+2=15, Resulting Numbers: [39, 15] Generated Node #0,2,4: 15:[39, 15] Operation: 13+2=15 Moving to Node #0,4 Current State: 15:[39, 39, 6], Operations: ['78/13=6'] Exploring Operation: 39-6=33, Resulting Numbers: [39, 33] Generated Node #0,4,0: 15:[39, 33] Operation: 39-6=33 Exploring Operation: 39-6=33, Resulting Numbers: [39, 33] Generated Node #0,4,1: 15:[39, 33] Operation: 39-6=33 Exploring Operation: 39-39=0, Resulting Numbers: [6, 0] Generated Node #0,4,2: 15:[6, 0] Operation: 39-39=0 Exploring Operation: 39/39=1, Resulting Numbers: [6, 1] Generated Node #0,4,3: 15:[6, 1] Operation: 39/39=1 Exploring Operation: 39+6=45, Resulting Numbers: [39, 45] Generated Node #0,4,4: 15:[39, 45] Operation: 39+6=45 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 15:[6, 1], Operations: ['78/13=6', '39/39=1'] Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 15:[6, 0], Operations: ['78/13=6', '39-39=0'] Exploring Operation: 6+0=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 6-0=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 6*0=0, Resulting Numbers: [0] 0,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 15:[39, 33], Operations: ['78/13=6', '39-6=33'] Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,15 unequal: No Solution Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 15:[39, 33], Operations: ['78/13=6', '39-6=33'] Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,15 unequal: No Solution Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,15 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 15:[39, 45], Operations: ['78/13=6', '39+6=45'] Exploring Operation: 39+45=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 39*45=1755, Resulting Numbers: [1755] 1755,15 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 15:[13, 39, 39], Operations: ['78-39=39'] Exploring Operation: 39-39=0, Resulting Numbers: [13, 0] Generated Node #0,0,0: 15:[13, 0] Operation: 39-39=0 Exploring Operation: 39/13=3, Resulting Numbers: [39, 3] Generated Node #0,0,1: 15:[39, 3] Operation: 39/13=3 Exploring Operation: 39-13=26, Resulting Numbers: [39, 26] Generated Node #0,0,2: 15:[39, 26] Operation: 39-13=26 Exploring Operation: 39/39=1, Resulting Numbers: [13, 1] Generated Node #0,0,3: 15:[13, 1] Operation: 39/39=1 Exploring Operation: 39/13=3, Resulting Numbers: [39, 3] Generated Node #0,0,4: 15:[39, 3] Operation: 39/13=3 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 15:[13, 1], Operations: ['78-39=39', '39/39=1'] Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[13, 0], Operations: ['78-39=39', '39-39=0'] Exploring Operation: 13*0=0, Resulting Numbers: [0] 0,15 unequal: No Solution Exploring Operation: 13+0=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 13-0=13, Resulting Numbers: [13] 13,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[39, 3], Operations: ['78-39=39', '39/13=3'] Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 15:[39, 3], Operations: ['78-39=39', '39/13=3'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,15 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 15:[39, 26], Operations: ['78-39=39', '39-13=26'] Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,15 unequal: No Solution Exploring Operation: 39*26=1014, Resulting Numbers: [1014] 1014,15 unequal: No Solution Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,15 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: 15:[39, 13, 39], Operations: ['78-39=39'] Exploring Operation: 39-39=0, Resulting Numbers: [13, 0] Generated Node #0,3,0: 15:[13, 0] Operation: 39-39=0 Exploring Operation: 39/13=3, Resulting Numbers: [39, 3] Generated Node #0,3,1: 15:[39, 3] Operation: 39/13=3 Exploring Operation: 39/39=1, Resulting Numbers: [13, 1] Generated Node #0,3,2: 15:[13, 1] Operation: 39/39=1 Exploring Operation: 39/13=3, Resulting Numbers: [39, 3] Generated Node #0,3,3: 15:[39, 3] Operation: 39/13=3 Exploring Operation: 39-13=26, Resulting Numbers: [39, 26] Generated Node #0,3,4: 15:[39, 26] Operation: 39-13=26 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 15:[13, 1], Operations: ['78-39=39', '39/39=1'] Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 15:[13, 0], Operations: ['78-39=39', '39-39=0'] Exploring Operation: 13-0=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 13+0=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 13*0=0, Resulting Numbers: [0] 0,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 15:[39, 3], Operations: ['78-39=39', '39/13=3'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,15 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 15:[39, 3], Operations: ['78-39=39', '39/13=3'] Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 15:[39, 26], Operations: ['78-39=39', '39-13=26'] Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,15 unequal: No Solution Exploring Operation: 39*26=1014, Resulting Numbers: [1014] 1014,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 15:[2, 3], Operations: ['78/39=2', '39/13=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[2, 3], Operations: ['78/39=2', '39/13=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[2, 26], Operations: ['78/39=2', '39-13=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[2, 26], Operations: ['78/39=2', '39-13=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[13, 37], Operations: ['78/39=2', '39-2=37'] Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 13+37=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 13*37=481, Resulting Numbers: [481] 481,15 unequal: No Solution Moving to Node #0,2,4 Current State: 15:[39, 15], Operations: ['78/39=2', '13+2=15'] Exploring Operation: 39+15=54, Resulting Numbers: [54] 54,15 unequal: No Solution Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 39*15=585, Resulting Numbers: [585] 585,15 unequal: No Solution Moving to Node #0,1,4 Current State: 15:[39, 15], Operations: ['78/39=2', '13+2=15'] Exploring Operation: 39+15=54, Resulting Numbers: [54] 54,15 unequal: No Solution Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 39*15=585, Resulting Numbers: [585] 585,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[13, 37], Operations: ['78/39=2', '39-2=37'] Exploring Operation: 13*37=481, Resulting Numbers: [481] 481,15 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 13+37=50, Resulting Numbers: [50] 50,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[39, 11], Operations: ['78/39=2', '13-2=11'] Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 39*11=429, Resulting Numbers: [429] 429,15 unequal: No Solution Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,15 unequal: No Solution Moving to Node #0,2,3 Current State: 15:[13, 41], Operations: ['78/39=2', '39+2=41'] Exploring Operation: 13+41=54, Resulting Numbers: [54] 54,15 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 13*41=533, Resulting Numbers: [533] 533,15 unequal: No Solution No solution found.
0
hs_5
sum_heuristic