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
[ 52, 11, 82, 74 ]
37
[ "52-11=41", "82/41=2", "74/2=37" ]
Current State: 37:[52, 11, 82, 74], Operations: [] Exploring Operation: 52-11=41, Resulting Numbers: [82, 74, 41] Generated Node #2: [82, 74, 41] from Operation: 52-11=41 Current State: 37:[82, 74, 41], Operations: ['52-11=41'] Exploring Operation: 82/41=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 82/41=2 Current State: 37:[74, 2], Operations: ['52-11=41', '82/41=2'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[52, 11, 82, 74], Operations: [] Exploring Operation: 82-52=30, Resulting Numbers: [11, 74, 30] Generated Node #0,0: 37:[11, 74, 30] Operation: 82-52=30 Exploring Operation: 82-74=8, Resulting Numbers: [52, 11, 8] Generated Node #0,1: 37:[52, 11, 8] Operation: 82-74=8 Exploring Operation: 52-11=41, Resulting Numbers: [82, 74, 41] Generated Node #0,2: 37:[82, 74, 41] Operation: 52-11=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[11, 74, 30], Operations: ['82-52=30'] Exploring Operation: 11+30=41, Resulting Numbers: [74, 41] Generated Node #0,0,0: 37:[74, 41] Operation: 11+30=41 Exploring Operation: 74-30=44, Resulting Numbers: [11, 44] Generated Node #0,0,1: 37:[11, 44] Operation: 74-30=44 Exploring Operation: 74-11=63, Resulting Numbers: [30, 63] Generated Node #0,0,2: 37:[30, 63] Operation: 74-11=63 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[11, 44], Operations: ['82-52=30', '74-30=44'] Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,37 unequal: No Solution Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 11+44=55, Resulting Numbers: [55] 55,37 unequal: No Solution No 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: 37:[30, 63], Operations: ['82-52=30', '74-11=63'] Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,37 unequal: No Solution Exploring Operation: 30+63=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 30*63=1890, Resulting Numbers: [1890] 1890,37 unequal: No Solution No 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: 37:[74, 41], Operations: ['82-52=30', '11+30=41'] Exploring Operation: 74-41=33, Resulting Numbers: [33] 33,37 unequal: No Solution Exploring Operation: 74*41=3034, Resulting Numbers: [3034] 3034,37 unequal: No Solution Exploring Operation: 74+41=115, Resulting Numbers: [115] 115,37 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: 37:[52, 11, 8], Operations: ['82-74=8'] Exploring Operation: 52-11=41, Resulting Numbers: [8, 41] Generated Node #0,1,0: 37:[8, 41] Operation: 52-11=41 Exploring Operation: 11+8=19, Resulting Numbers: [52, 19] Generated Node #0,1,1: 37:[52, 19] Operation: 11+8=19 Exploring Operation: 52-8=44, Resulting Numbers: [11, 44] Generated Node #0,1,2: 37:[11, 44] Operation: 52-8=44 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[8, 41], Operations: ['82-74=8', '52-11=41'] Exploring Operation: 8*41=328, Resulting Numbers: [328] 328,37 unequal: No Solution Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,37 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,37 unequal: No Solution No 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: 37:[52, 19], Operations: ['82-74=8', '11+8=19'] Exploring Operation: 52+19=71, Resulting Numbers: [71] 71,37 unequal: No Solution Exploring Operation: 52-19=33, Resulting Numbers: [33] 33,37 unequal: No Solution Exploring Operation: 52*19=988, Resulting Numbers: [988] 988,37 unequal: No Solution No 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: 37:[11, 44], Operations: ['82-74=8', '52-8=44'] Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,37 unequal: No Solution Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 11+44=55, Resulting Numbers: [55] 55,37 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: 37:[82, 74, 41], Operations: ['52-11=41'] Exploring Operation: 82-41=41, Resulting Numbers: [74, 41] Generated Node #0,2,0: 37:[74, 41] Operation: 82-41=41 Exploring Operation: 74-41=33, Resulting Numbers: [82, 33] Generated Node #0,2,1: 37:[82, 33] Operation: 74-41=33 Exploring Operation: 82-74=8, Resulting Numbers: [41, 8] Generated Node #0,2,2: 37:[41, 8] Operation: 82-74=8 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 37:[41, 8], Operations: ['52-11=41', '82-74=8'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,37 unequal: No Solution Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,37 unequal: No Solution Exploring Operation: 41*8=328, Resulting Numbers: [328] 328,37 unequal: No Solution No 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: 37:[74, 41], Operations: ['52-11=41', '82-41=41'] Exploring Operation: 74*41=3034, Resulting Numbers: [3034] 3034,37 unequal: No Solution Exploring Operation: 74+41=115, Resulting Numbers: [115] 115,37 unequal: No Solution Exploring Operation: 74-41=33, Resulting Numbers: [33] 33,37 unequal: No Solution No 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: 37:[82, 33], Operations: ['52-11=41', '74-41=33'] Exploring Operation: 82+33=115, Resulting Numbers: [115] 115,37 unequal: No Solution Exploring Operation: 82*33=2706, Resulting Numbers: [2706] 2706,37 unequal: No Solution Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,37 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
[ 51, 64, 30, 55 ]
12
[ "64-51=13", "55-30=25", "25-13=12" ]
Current State: 12:[51, 64, 30, 55], Operations: [] Exploring Operation: 64-51=13, Resulting Numbers: [30, 55, 13] Generated Node #2: [30, 55, 13] from Operation: 64-51=13 Current State: 12:[30, 55, 13], Operations: ['64-51=13'] Exploring Operation: 55-30=25, Resulting Numbers: [13, 25] Generated Node #3: [13, 25] from Operation: 55-30=25 Current State: 12:[13, 25], Operations: ['64-51=13', '55-30=25'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[51, 64, 30, 55], Operations: [] Exploring Operation: 64-55=9, Resulting Numbers: [51, 30, 9] Generated Node #0,0: 12:[51, 30, 9] Operation: 64-55=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[51, 30, 9], Operations: ['64-55=9'] Exploring Operation: 51-30=21, Resulting Numbers: [9, 21] Generated Node #0,0,0: 12:[9, 21] Operation: 51-30=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[9, 21], Operations: ['64-55=9', '51-30=21'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[51, 64, 30, 55], Operations: [] Exploring Operation: 64-55=9, Resulting Numbers: [51, 30, 9] Generated Node #0,0: 12:[51, 30, 9] Operation: 64-55=9 Moving to Node #0,0 Current State: 12:[51, 30, 9], Operations: ['64-55=9'] Exploring Operation: 51-30=21, Resulting Numbers: [9, 21] Generated Node #0,0,0: 12:[9, 21] Operation: 51-30=21 Moving to Node #0,0,0 Current State: 12:[9, 21], Operations: ['64-55=9', '51-30=21'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 89, 90, 18, 5 ]
72
[ "90-89=1", "5-1=4", "18*4=72" ]
Current State: 72:[89, 90, 18, 5], Operations: [] Exploring Operation: 90-89=1, Resulting Numbers: [18, 5, 1] Generated Node #2: [18, 5, 1] from Operation: 90-89=1 Current State: 72:[18, 5, 1], Operations: ['90-89=1'] Exploring Operation: 5-1=4, Resulting Numbers: [18, 4] Generated Node #3: [18, 4] from Operation: 5-1=4 Current State: 72:[18, 4], Operations: ['90-89=1', '5-1=4'] Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[89, 90, 18, 5], Operations: [] Exploring Operation: 90-18=72, Resulting Numbers: [89, 5, 72] Generated Node #0,0: 72:[89, 5, 72] Operation: 90-18=72 Exploring Operation: 90/18=5, Resulting Numbers: [89, 5, 5] Generated Node #0,1: 72:[89, 5, 5] Operation: 90/18=5 Exploring Operation: 90-89=1, Resulting Numbers: [18, 5, 1] Generated Node #0,2: 72:[18, 5, 1] Operation: 90-89=1 Exploring Operation: 90/5=18, Resulting Numbers: [89, 18, 18] Generated Node #0,3: 72:[89, 18, 18] Operation: 90/5=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[18, 5, 1], Operations: ['90-89=1'] Exploring Operation: 18/1=18, Resulting Numbers: [5, 18] Generated Node #0,2,0: 72:[5, 18] Operation: 18/1=18 Exploring Operation: 5-1=4, Resulting Numbers: [18, 4] Generated Node #0,2,1: 72:[18, 4] Operation: 5-1=4 Exploring Operation: 5+1=6, Resulting Numbers: [18, 6] Generated Node #0,2,2: 72:[18, 6] Operation: 5+1=6 Exploring Operation: 18*1=18, Resulting Numbers: [5, 18] Generated Node #0,2,3: 72:[5, 18] Operation: 18*1=18 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 72:[18, 4], Operations: ['90-89=1', '5-1=4'] Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[89, 90, 18, 5], Operations: [] Exploring Operation: 90-89=1, Resulting Numbers: [18, 5, 1] Generated Node #0,2: 72:[18, 5, 1] Operation: 90-89=1 Moving to Node #0,2 Current State: 72:[18, 5, 1], Operations: ['90-89=1'] Exploring Operation: 5-1=4, Resulting Numbers: [18, 4] Generated Node #0,2,1: 72:[18, 4] Operation: 5-1=4 Moving to Node #0,2,1 Current State: 72:[18, 4], Operations: ['90-89=1', '5-1=4'] Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 72, 40, 82, 31 ]
90
[ "82-72=10", "40-31=9", "10*9=90" ]
Current State: 90:[72, 40, 82, 31], Operations: [] Exploring Operation: 82-72=10, Resulting Numbers: [40, 31, 10] Generated Node #2: [40, 31, 10] from Operation: 82-72=10 Current State: 90:[40, 31, 10], Operations: ['82-72=10'] Exploring Operation: 40-31=9, Resulting Numbers: [10, 9] Generated Node #3: [10, 9] from Operation: 40-31=9 Current State: 90:[10, 9], Operations: ['82-72=10', '40-31=9'] Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[72, 40, 82, 31], Operations: [] Exploring Operation: 82-40=42, Resulting Numbers: [72, 31, 42] Generated Node #0,0: 90:[72, 31, 42] Operation: 82-40=42 Exploring Operation: 82-72=10, Resulting Numbers: [40, 31, 10] Generated Node #0,1: 90:[40, 31, 10] Operation: 82-72=10 Exploring Operation: 72+31=103, Resulting Numbers: [40, 82, 103] Generated Node #0,2: 90:[40, 82, 103] Operation: 72+31=103 Exploring Operation: 72-31=41, Resulting Numbers: [40, 82, 41] Generated Node #0,3: 90:[40, 82, 41] Operation: 72-31=41 Exploring Operation: 72-40=32, Resulting Numbers: [82, 31, 32] Generated Node #0,4: 90:[82, 31, 32] Operation: 72-40=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[40, 31, 10], Operations: ['82-72=10'] Exploring Operation: 40-31=9, Resulting Numbers: [10, 9] Generated Node #0,1,0: 90:[10, 9] Operation: 40-31=9 Exploring Operation: 40+10=50, Resulting Numbers: [31, 50] Generated Node #0,1,1: 90:[31, 50] Operation: 40+10=50 Exploring Operation: 40/10=4, Resulting Numbers: [31, 4] Generated Node #0,1,2: 90:[31, 4] Operation: 40/10=4 Exploring Operation: 40-10=30, Resulting Numbers: [31, 30] Generated Node #0,1,3: 90:[31, 30] Operation: 40-10=30 Exploring Operation: 31-10=21, Resulting Numbers: [40, 21] Generated Node #0,1,4: 90:[40, 21] Operation: 31-10=21 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 90:[10, 9], Operations: ['82-72=10', '40-31=9'] Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[72, 40, 82, 31], Operations: [] Exploring Operation: 82-72=10, Resulting Numbers: [40, 31, 10] Generated Node #0,1: 90:[40, 31, 10] Operation: 82-72=10 Moving to Node #0,1 Current State: 90:[40, 31, 10], Operations: ['82-72=10'] Exploring Operation: 40-31=9, Resulting Numbers: [10, 9] Generated Node #0,1,0: 90:[10, 9] Operation: 40-31=9 Moving to Node #0,1,0 Current State: 90:[10, 9], Operations: ['82-72=10', '40-31=9'] Exploring Operation: 10*9=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
mult_heuristic
[ 5, 21, 79, 32 ]
73
[ "5+21=26", "79-32=47", "26+47=73" ]
Current State: 73:[5, 21, 79, 32], Operations: [] Exploring Operation: 5+21=26, Resulting Numbers: [79, 32, 26] Generated Node #2: [79, 32, 26] from Operation: 5+21=26 Current State: 73:[79, 32, 26], Operations: ['5+21=26'] Exploring Operation: 79-32=47, Resulting Numbers: [26, 47] Generated Node #3: [26, 47] from Operation: 79-32=47 Current State: 73:[26, 47], Operations: ['5+21=26', '79-32=47'] Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[5, 21, 79, 32], Operations: [] Exploring Operation: 79-5=74, Resulting Numbers: [21, 32, 74] Generated Node #0,0: 73:[21, 32, 74] Operation: 79-5=74 Exploring Operation: 5+21=26, Resulting Numbers: [79, 32, 26] Generated Node #0,1: 73:[79, 32, 26] Operation: 5+21=26 Exploring Operation: 5*21=105, Resulting Numbers: [79, 32, 105] Generated Node #0,2: 73:[79, 32, 105] Operation: 5*21=105 Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[79, 32, 105], Operations: ['5*21=105'] Exploring Operation: 105-32=73, Resulting Numbers: [79, 73] Generated Node #0,2,0: 73:[79, 73] Operation: 105-32=73 Exploring Operation: 79+32=111, Resulting Numbers: [105, 111] Generated Node #0,2,1: 73:[105, 111] Operation: 79+32=111 Exploring Operation: 79-32=47, Resulting Numbers: [105, 47] Generated Node #0,2,2: 73:[105, 47] Operation: 79-32=47 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 73:[79, 73], Operations: ['5*21=105', '105-32=73'] Exploring Operation: 79+73=152, Resulting Numbers: [152] 152,73 unequal: No Solution Exploring Operation: 79-73=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 79*73=5767, Resulting Numbers: [5767] 5767,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,2,2 Current State: 73:[105, 47], Operations: ['5*21=105', '79-32=47'] Exploring Operation: 105-47=58, Resulting Numbers: [58] 58,73 unequal: No Solution Exploring Operation: 105*47=4935, Resulting Numbers: [4935] 4935,73 unequal: No Solution Exploring Operation: 105+47=152, Resulting Numbers: [152] 152,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,2,1 Current State: 73:[105, 111], Operations: ['5*21=105', '79+32=111'] Exploring Operation: 105*111=11655, Resulting Numbers: [11655] 11655,73 unequal: No Solution Exploring Operation: 105+111=216, Resulting Numbers: [216] 216,73 unequal: No Solution Exploring Operation: 111-105=6, Resulting Numbers: [6] 6,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,0 Current State: 73:[21, 32, 74], Operations: ['79-5=74'] Exploring Operation: 32-21=11, Resulting Numbers: [74, 11] Generated Node #0,0,0: 73:[74, 11] Operation: 32-21=11 Exploring Operation: 74-21=53, Resulting Numbers: [32, 53] Generated Node #0,0,1: 73:[32, 53] Operation: 74-21=53 Exploring Operation: 21+32=53, Resulting Numbers: [74, 53] Generated Node #0,0,2: 73:[74, 53] Operation: 21+32=53 Moving to Node #0,0,2 Current State: 73:[74, 53], Operations: ['79-5=74', '21+32=53'] Exploring Operation: 74*53=3922, Resulting Numbers: [3922] 3922,73 unequal: No Solution Exploring Operation: 74+53=127, Resulting Numbers: [127] 127,73 unequal: No Solution Exploring Operation: 74-53=21, Resulting Numbers: [21] 21,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[32, 53], Operations: ['79-5=74', '74-21=53'] Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,73 unequal: No Solution Exploring Operation: 32+53=85, Resulting Numbers: [85] 85,73 unequal: No Solution Exploring Operation: 32*53=1696, Resulting Numbers: [1696] 1696,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[74, 11], Operations: ['79-5=74', '32-21=11'] Exploring Operation: 74*11=814, Resulting Numbers: [814] 814,73 unequal: No Solution Exploring Operation: 74+11=85, Resulting Numbers: [85] 85,73 unequal: No Solution Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,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:[79, 32, 26], Operations: ['5+21=26'] Exploring Operation: 79-32=47, Resulting Numbers: [26, 47] Generated Node #0,1,0: 73:[26, 47] Operation: 79-32=47 Exploring Operation: 79-26=53, Resulting Numbers: [32, 53] Generated Node #0,1,1: 73:[32, 53] Operation: 79-26=53 Exploring Operation: 32+26=58, Resulting Numbers: [79, 58] Generated Node #0,1,2: 73:[79, 58] Operation: 32+26=58 Moving to Node #0,1,2 Current State: 73:[79, 58], Operations: ['5+21=26', '32+26=58'] Exploring Operation: 79*58=4582, Resulting Numbers: [4582] 4582,73 unequal: No Solution Exploring Operation: 79+58=137, Resulting Numbers: [137] 137,73 unequal: No Solution Exploring Operation: 79-58=21, Resulting Numbers: [21] 21,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[32, 53], Operations: ['5+21=26', '79-26=53'] Exploring Operation: 32*53=1696, Resulting Numbers: [1696] 1696,73 unequal: No Solution Exploring Operation: 32+53=85, Resulting Numbers: [85] 85,73 unequal: No Solution Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[26, 47], Operations: ['5+21=26', '79-32=47'] Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,73 unequal: No Solution Exploring Operation: 26*47=1222, Resulting Numbers: [1222] 1222,73 unequal: No Solution Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[5, 21, 79, 32], Operations: [] Exploring Operation: 5+21=26, Resulting Numbers: [79, 32, 26] Generated Node #0,1: 73:[79, 32, 26] Operation: 5+21=26 Moving to Node #0,1 Current State: 73:[79, 32, 26], Operations: ['5+21=26'] Exploring Operation: 79-32=47, Resulting Numbers: [26, 47] Generated Node #0,1,0: 73:[26, 47] Operation: 79-32=47 Moving to Node #0,1,0 Current State: 73:[26, 47], Operations: ['5+21=26', '79-32=47'] Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_3
sum_heuristic
[ 76, 43, 21, 41 ]
72
[ "43+41=84", "84/21=4", "76-4=72" ]
Current State: 72:[76, 43, 21, 41], Operations: [] Exploring Operation: 43+41=84, Resulting Numbers: [76, 21, 84] Generated Node #2: [76, 21, 84] from Operation: 43+41=84 Current State: 72:[76, 21, 84], Operations: ['43+41=84'] Exploring Operation: 84/21=4, Resulting Numbers: [76, 4] Generated Node #3: [76, 4] from Operation: 84/21=4 Current State: 72:[76, 4], Operations: ['43+41=84', '84/21=4'] Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[76, 43, 21, 41], Operations: [] Exploring Operation: 76-43=33, Resulting Numbers: [21, 41, 33] Generated Node #0,0: 72:[21, 41, 33] Operation: 76-43=33 Exploring Operation: 76-41=35, Resulting Numbers: [43, 21, 35] Generated Node #0,1: 72:[43, 21, 35] Operation: 76-41=35 Exploring Operation: 43-41=2, Resulting Numbers: [76, 21, 2] Generated Node #0,2: 72:[76, 21, 2] Operation: 43-41=2 Moving to Node #0,2 Current State: 72:[76, 21, 2], Operations: ['43-41=2'] Exploring Operation: 21+2=23, Resulting Numbers: [76, 23] Generated Node #0,2,0: 72:[76, 23] Operation: 21+2=23 Exploring Operation: 76-2=74, Resulting Numbers: [21, 74] Generated Node #0,2,1: 72:[21, 74] Operation: 76-2=74 Exploring Operation: 76/2=38, Resulting Numbers: [21, 38] Generated Node #0,2,2: 72:[21, 38] Operation: 76/2=38 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[76, 23], Operations: ['43-41=2', '21+2=23'] Exploring Operation: 76+23=99, Resulting Numbers: [99] 99,72 unequal: No Solution Exploring Operation: 76*23=1748, Resulting Numbers: [1748] 1748,72 unequal: No Solution Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[21, 74], Operations: ['43-41=2', '76-2=74'] Exploring Operation: 21*74=1554, Resulting Numbers: [1554] 1554,72 unequal: No Solution Exploring Operation: 21+74=95, Resulting Numbers: [95] 95,72 unequal: No Solution Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[21, 38], Operations: ['43-41=2', '76/2=38'] Exploring Operation: 21+38=59, Resulting Numbers: [59] 59,72 unequal: No Solution Exploring Operation: 21*38=798, Resulting Numbers: [798] 798,72 unequal: No Solution Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,72 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: 72:[21, 41, 33], Operations: ['76-43=33'] Exploring Operation: 33-21=12, Resulting Numbers: [41, 12] Generated Node #0,0,0: 72:[41, 12] Operation: 33-21=12 Exploring Operation: 41-21=20, Resulting Numbers: [33, 20] Generated Node #0,0,1: 72:[33, 20] Operation: 41-21=20 Exploring Operation: 41-33=8, Resulting Numbers: [21, 8] Generated Node #0,0,2: 72:[21, 8] Operation: 41-33=8 Moving to Node #0,1 Current State: 72:[43, 21, 35], Operations: ['76-41=35'] Exploring Operation: 43-21=22, Resulting Numbers: [35, 22] Generated Node #0,1,0: 72:[35, 22] Operation: 43-21=22 Exploring Operation: 43+21=64, Resulting Numbers: [35, 64] Generated Node #0,1,1: 72:[35, 64] Operation: 43+21=64 Exploring Operation: 43-35=8, Resulting Numbers: [21, 8] Generated Node #0,1,2: 72:[21, 8] Operation: 43-35=8 Moving to Node #0,0,2 Current State: 72:[21, 8], Operations: ['76-43=33', '41-33=8'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[35, 22], Operations: ['76-41=35', '43-21=22'] Exploring Operation: 35*22=770, Resulting Numbers: [770] 770,72 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 35+22=57, Resulting Numbers: [57] 57,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[21, 8], Operations: ['76-41=35', '43-35=8'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[33, 20], Operations: ['76-43=33', '41-21=20'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,72 unequal: No Solution Exploring Operation: 33*20=660, Resulting Numbers: [660] 660,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[41, 12], Operations: ['76-43=33', '33-21=12'] Exploring Operation: 41+12=53, Resulting Numbers: [53] 53,72 unequal: No Solution Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 41*12=492, Resulting Numbers: [492] 492,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[35, 64], Operations: ['76-41=35', '43+21=64'] Exploring Operation: 35+64=99, Resulting Numbers: [99] 99,72 unequal: No Solution Exploring Operation: 64-35=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 35*64=2240, Resulting Numbers: [2240] 2240,72 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 57, 3, 45, 3 ]
36
[ "57*3=171", "45*3=135", "171-135=36" ]
Current State: 36:[57, 3, 45, 3], Operations: [] Exploring Operation: 57*3=171, Resulting Numbers: [45, 171] Generated Node #2: [45, 171] from Operation: 57*3=171 Current State: 36:[45, 171], Operations: ['57*3=171'] Exploring Operation: 45*3=135, Resulting Numbers: [171, 135] Generated Node #3: [171, 135] from Operation: 45*3=135 Current State: 36:[171, 135], Operations: ['57*3=171', '45*3=135'] Exploring Operation: 171-135=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[57, 3, 45, 3], Operations: [] Exploring Operation: 57/3=19, Resulting Numbers: [45, 3, 19] Generated Node #0,0: 36:[45, 3, 19] Operation: 57/3=19 Exploring Operation: 57-45=12, Resulting Numbers: [3, 3, 12] Generated Node #0,1: 36:[3, 3, 12] Operation: 57-45=12 Moving to Node #0,1 Current State: 36:[3, 3, 12], Operations: ['57-45=12'] Exploring Operation: 3*3=9, Resulting Numbers: [12, 9] Generated Node #0,1,0: 36:[12, 9] Operation: 3*3=9 Exploring Operation: 3+3=6, Resulting Numbers: [12, 6] Generated Node #0,1,1: 36:[12, 6] Operation: 3+3=6 Moving to Node #0,0 Current State: 36:[45, 3, 19], Operations: ['57/3=19'] Exploring Operation: 45/3=15, Resulting Numbers: [19, 15] Generated Node #0,0,0: 36:[19, 15] Operation: 45/3=15 Exploring Operation: 45-3=42, Resulting Numbers: [19, 42] Generated Node #0,0,1: 36:[19, 42] Operation: 45-3=42 Moving to Node #0,1,0 Current State: 36:[12, 9], Operations: ['57-45=12', '3*3=9'] Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[12, 6], Operations: ['57-45=12', '3+3=6'] Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,36 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[19, 15], Operations: ['57/3=19', '45/3=15'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[19, 42], Operations: ['57/3=19', '45-3=42'] Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 19+42=61, Resulting Numbers: [61] 61,36 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 89, 9, 55, 50 ]
25
[ "89-9=80", "55+50=105", "105-80=25" ]
Current State: 25:[89, 9, 55, 50], Operations: [] Exploring Operation: 89-9=80, Resulting Numbers: [55, 50, 80] Generated Node #2: [55, 50, 80] from Operation: 89-9=80 Current State: 25:[55, 50, 80], Operations: ['89-9=80'] Exploring Operation: 55+50=105, Resulting Numbers: [80, 105] Generated Node #3: [80, 105] from Operation: 55+50=105 Current State: 25:[80, 105], Operations: ['89-9=80', '55+50=105'] Exploring Operation: 105-80=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[89, 9, 55, 50], Operations: [] Exploring Operation: 89-55=34, Resulting Numbers: [9, 50, 34] Generated Node #0,0: 25:[9, 50, 34] Operation: 89-55=34 Exploring Operation: 55-50=5, Resulting Numbers: [89, 9, 5] Generated Node #0,1: 25:[89, 9, 5] Operation: 55-50=5 Exploring Operation: 89-50=39, Resulting Numbers: [9, 55, 39] Generated Node #0,2: 25:[9, 55, 39] Operation: 89-50=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[9, 50, 34], Operations: ['89-55=34'] Exploring Operation: 50-34=16, Resulting Numbers: [9, 16] Generated Node #0,0,0: 25:[9, 16] Operation: 50-34=16 Exploring Operation: 50-9=41, Resulting Numbers: [34, 41] Generated Node #0,0,1: 25:[34, 41] Operation: 50-9=41 Exploring Operation: 34-9=25, Resulting Numbers: [50, 25] Generated Node #0,0,2: 25:[50, 25] Operation: 34-9=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[9, 16], Operations: ['89-55=34', '50-34=16'] Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[89, 9, 55, 50], Operations: [] Exploring Operation: 89-55=34, Resulting Numbers: [9, 50, 34] Generated Node #0,0: 25:[9, 50, 34] Operation: 89-55=34 Moving to Node #0,0 Current State: 25:[9, 50, 34], Operations: ['89-55=34'] Exploring Operation: 50-34=16, Resulting Numbers: [9, 16] Generated Node #0,0,0: 25:[9, 16] Operation: 50-34=16 Moving to Node #0,0,0 Current State: 25:[9, 16], Operations: ['89-55=34', '50-34=16'] Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 65, 89, 75, 62 ]
84
[ "75-62=13", "65/13=5", "89-5=84" ]
Current State: 84:[65, 89, 75, 62], Operations: [] Exploring Operation: 75-62=13, Resulting Numbers: [65, 89, 13] Generated Node #2: [65, 89, 13] from Operation: 75-62=13 Current State: 84:[65, 89, 13], Operations: ['75-62=13'] Exploring Operation: 65/13=5, Resulting Numbers: [89, 5] Generated Node #3: [89, 5] from Operation: 65/13=5 Current State: 84:[89, 5], Operations: ['75-62=13', '65/13=5'] Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[65, 89, 75, 62], Operations: [] Exploring Operation: 65-62=3, Resulting Numbers: [89, 75, 3] Generated Node #0,0: 84:[89, 75, 3] Operation: 65-62=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[89, 75, 3], Operations: ['65-62=3'] Exploring Operation: 89-75=14, Resulting Numbers: [3, 14] Generated Node #0,0,0: 84:[3, 14] Operation: 89-75=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[3, 14], Operations: ['65-62=3', '89-75=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 64, 19, 26, 33 ]
31
[ "64-26=38", "38/19=2", "33-2=31" ]
Current State: 31:[64, 19, 26, 33], Operations: [] Exploring Operation: 64-26=38, Resulting Numbers: [19, 33, 38] Generated Node #2: [19, 33, 38] from Operation: 64-26=38 Current State: 31:[19, 33, 38], Operations: ['64-26=38'] Exploring Operation: 38/19=2, Resulting Numbers: [33, 2] Generated Node #3: [33, 2] from Operation: 38/19=2 Current State: 31:[33, 2], Operations: ['64-26=38', '38/19=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[64, 19, 26, 33], Operations: [] Exploring Operation: 33-19=14, Resulting Numbers: [64, 26, 14] Generated Node #0,0: 31:[64, 26, 14] Operation: 33-19=14 Exploring Operation: 19+26=45, Resulting Numbers: [64, 33, 45] Generated Node #0,1: 31:[64, 33, 45] Operation: 19+26=45 Exploring Operation: 64-19=45, Resulting Numbers: [26, 33, 45] Generated Node #0,2: 31:[26, 33, 45] Operation: 64-19=45 Exploring Operation: 64-33=31, Resulting Numbers: [19, 26, 31] Generated Node #0,3: 31:[19, 26, 31] Operation: 64-33=31 Exploring Operation: 64-26=38, Resulting Numbers: [19, 33, 38] Generated Node #0,4: 31:[19, 33, 38] Operation: 64-26=38 Moving to Node #0,3 Current State: 31:[19, 26, 31], Operations: ['64-33=31'] Exploring Operation: 26+31=57, Resulting Numbers: [19, 57] Generated Node #0,3,0: 31:[19, 57] Operation: 26+31=57 Exploring Operation: 31-19=12, Resulting Numbers: [26, 12] Generated Node #0,3,1: 31:[26, 12] Operation: 31-19=12 Exploring Operation: 19+31=50, Resulting Numbers: [26, 50] Generated Node #0,3,2: 31:[26, 50] Operation: 19+31=50 Exploring Operation: 19+26=45, Resulting Numbers: [31, 45] Generated Node #0,3,3: 31:[31, 45] Operation: 19+26=45 Exploring Operation: 26-19=7, Resulting Numbers: [31, 7] Generated Node #0,3,4: 31:[31, 7] Operation: 26-19=7 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 31:[31, 45], Operations: ['64-33=31', '19+26=45'] Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 31*45=1395, Resulting Numbers: [1395] 1395,31 unequal: No Solution Exploring Operation: 31+45=76, Resulting Numbers: [76] 76,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 31:[26, 12], Operations: ['64-33=31', '31-19=12'] Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 26*12=312, Resulting Numbers: [312] 312,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 31:[26, 50], Operations: ['64-33=31', '19+31=50'] Exploring Operation: 26+50=76, Resulting Numbers: [76] 76,31 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 26*50=1300, Resulting Numbers: [1300] 1300,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 31:[31, 7], Operations: ['64-33=31', '26-19=7'] Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 31*7=217, Resulting Numbers: [217] 217,31 unequal: No Solution Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 31:[19, 57], Operations: ['64-33=31', '26+31=57'] Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 19*57=1083, Resulting Numbers: [1083] 1083,31 unequal: No Solution Exploring Operation: 19+57=76, Resulting Numbers: [76] 76,31 unequal: No Solution Exploring Operation: 57/19=3, Resulting Numbers: [3] 3,31 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: 31:[19, 33, 38], Operations: ['64-26=38'] Exploring Operation: 33-19=14, Resulting Numbers: [38, 14] Generated Node #0,4,0: 31:[38, 14] Operation: 33-19=14 Exploring Operation: 19+38=57, Resulting Numbers: [33, 57] Generated Node #0,4,1: 31:[33, 57] Operation: 19+38=57 Exploring Operation: 38/19=2, Resulting Numbers: [33, 2] Generated Node #0,4,2: 31:[33, 2] Operation: 38/19=2 Exploring Operation: 38-19=19, Resulting Numbers: [33, 19] Generated Node #0,4,3: 31:[33, 19] Operation: 38-19=19 Exploring Operation: 19+33=52, Resulting Numbers: [38, 52] Generated Node #0,4,4: 31:[38, 52] Operation: 19+33=52 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 31:[33, 19], Operations: ['64-26=38', '38-19=19'] Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 33*19=627, Resulting Numbers: [627] 627,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 31:[38, 14], Operations: ['64-26=38', '33-19=14'] Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,31 unequal: No Solution Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 31:[33, 57], Operations: ['64-26=38', '19+38=57'] Exploring Operation: 33*57=1881, Resulting Numbers: [1881] 1881,31 unequal: No Solution Exploring Operation: 33+57=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 57-33=24, Resulting Numbers: [24] 24,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 31:[38, 52], Operations: ['64-26=38', '19+33=52'] Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 38+52=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 38*52=1976, Resulting Numbers: [1976] 1976,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 31:[33, 2], Operations: ['64-26=38', '38/19=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,31 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[64, 19, 26, 33], Operations: [] Exploring Operation: 64-26=38, Resulting Numbers: [19, 33, 38] Generated Node #0,4: 31:[19, 33, 38] Operation: 64-26=38 Moving to Node #0,4 Current State: 31:[19, 33, 38], Operations: ['64-26=38'] Exploring Operation: 38/19=2, Resulting Numbers: [33, 2] Generated Node #0,4,2: 31:[33, 2] Operation: 38/19=2 Moving to Node #0,4,2 Current State: 31:[33, 2], Operations: ['64-26=38', '38/19=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.956597
hs_5
sum_heuristic
[ 1, 63, 10, 14 ]
39
[ "1*63=63", "10+14=24", "63-24=39" ]
Current State: 39:[1, 63, 10, 14], Operations: [] Exploring Operation: 1*63=63, Resulting Numbers: [10, 14, 63] Generated Node #2: [10, 14, 63] from Operation: 1*63=63 Current State: 39:[10, 14, 63], Operations: ['1*63=63'] Exploring Operation: 10+14=24, Resulting Numbers: [63, 24] Generated Node #3: [63, 24] from Operation: 10+14=24 Current State: 39:[63, 24], Operations: ['1*63=63', '10+14=24'] Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[1, 63, 10, 14], Operations: [] Exploring Operation: 63-1=62, Resulting Numbers: [10, 14, 62] Generated Node #0,0: 39:[10, 14, 62] Operation: 63-1=62 Exploring Operation: 63-10=53, Resulting Numbers: [1, 14, 53] Generated Node #0,1: 39:[1, 14, 53] Operation: 63-10=53 Exploring Operation: 1+10=11, Resulting Numbers: [63, 14, 11] Generated Node #0,2: 39:[63, 14, 11] Operation: 1+10=11 Exploring Operation: 63-14=49, Resulting Numbers: [1, 10, 49] Generated Node #0,3: 39:[1, 10, 49] Operation: 63-14=49 Start Sub Search at level 1: Moving to Node #0,3 Current State: 39:[1, 10, 49], Operations: ['63-14=49'] Exploring Operation: 1*10=10, Resulting Numbers: [49, 10] Generated Node #0,3,0: 39:[49, 10] Operation: 1*10=10 Exploring Operation: 49-1=48, Resulting Numbers: [10, 48] Generated Node #0,3,1: 39:[10, 48] Operation: 49-1=48 Exploring Operation: 1+10=11, Resulting Numbers: [49, 11] Generated Node #0,3,2: 39:[49, 11] Operation: 1+10=11 Exploring Operation: 49-10=39, Resulting Numbers: [1, 39] Generated Node #0,3,3: 39:[1, 39] Operation: 49-10=39 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 39:[1, 39], Operations: ['63-14=49', '49-10=39'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[1, 63, 10, 14], Operations: [] Exploring Operation: 63-14=49, Resulting Numbers: [1, 10, 49] Generated Node #0,3: 39:[1, 10, 49] Operation: 63-14=49 Moving to Node #0,3 Current State: 39:[1, 10, 49], Operations: ['63-14=49'] Exploring Operation: 49-10=39, Resulting Numbers: [1, 39] Generated Node #0,3,3: 39:[1, 39] Operation: 49-10=39 Moving to Node #0,3,3 Current State: 39:[1, 39], Operations: ['63-14=49', '49-10=39'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 33, 31, 34, 79 ]
43
[ "33-31=2", "79-34=45", "45-2=43" ]
Current State: 43:[33, 31, 34, 79], Operations: [] Exploring Operation: 33-31=2, Resulting Numbers: [34, 79, 2] Generated Node #2: [34, 79, 2] from Operation: 33-31=2 Current State: 43:[34, 79, 2], Operations: ['33-31=2'] Exploring Operation: 79-34=45, Resulting Numbers: [2, 45] Generated Node #3: [2, 45] from Operation: 79-34=45 Current State: 43:[2, 45], Operations: ['33-31=2', '79-34=45'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[33, 31, 34, 79], Operations: [] Exploring Operation: 79-31=48, Resulting Numbers: [33, 34, 48] Generated Node #0,0: 43:[33, 34, 48] Operation: 79-31=48 Exploring Operation: 33+31=64, Resulting Numbers: [34, 79, 64] Generated Node #0,1: 43:[34, 79, 64] Operation: 33+31=64 Exploring Operation: 79-33=46, Resulting Numbers: [31, 34, 46] Generated Node #0,2: 43:[31, 34, 46] Operation: 79-33=46 Exploring Operation: 31+34=65, Resulting Numbers: [33, 79, 65] Generated Node #0,3: 43:[33, 79, 65] Operation: 31+34=65 Exploring Operation: 79-34=45, Resulting Numbers: [33, 31, 45] Generated Node #0,4: 43:[33, 31, 45] Operation: 79-34=45 Moving to Node #0,0 Current State: 43:[33, 34, 48], Operations: ['79-31=48'] Exploring Operation: 48-34=14, Resulting Numbers: [33, 14] Generated Node #0,0,0: 43:[33, 14] Operation: 48-34=14 Exploring Operation: 33+34=67, Resulting Numbers: [48, 67] Generated Node #0,0,1: 43:[48, 67] Operation: 33+34=67 Exploring Operation: 34-33=1, Resulting Numbers: [48, 1] Generated Node #0,0,2: 43:[48, 1] Operation: 34-33=1 Exploring Operation: 48-33=15, Resulting Numbers: [34, 15] Generated Node #0,0,3: 43:[34, 15] Operation: 48-33=15 Exploring Operation: 33+48=81, Resulting Numbers: [34, 81] Generated Node #0,0,4: 43:[34, 81] Operation: 33+48=81 Moving to Node #0,4 Current State: 43:[33, 31, 45], Operations: ['79-34=45'] Exploring Operation: 31+45=76, Resulting Numbers: [33, 76] Generated Node #0,4,0: 43:[33, 76] Operation: 31+45=76 Exploring Operation: 33-31=2, Resulting Numbers: [45, 2] Generated Node #0,4,1: 43:[45, 2] Operation: 33-31=2 Exploring Operation: 45-31=14, Resulting Numbers: [33, 14] Generated Node #0,4,2: 43:[33, 14] Operation: 45-31=14 Exploring Operation: 45-33=12, Resulting Numbers: [31, 12] Generated Node #0,4,3: 43:[31, 12] Operation: 45-33=12 Exploring Operation: 33+31=64, Resulting Numbers: [45, 64] Generated Node #0,4,4: 43:[45, 64] Operation: 33+31=64 Moving to Node #0,2 Current State: 43:[31, 34, 46], Operations: ['79-33=46'] Exploring Operation: 34-31=3, Resulting Numbers: [46, 3] Generated Node #0,2,0: 43:[46, 3] Operation: 34-31=3 Exploring Operation: 46-31=15, Resulting Numbers: [34, 15] Generated Node #0,2,1: 43:[34, 15] Operation: 46-31=15 Exploring Operation: 31+46=77, Resulting Numbers: [34, 77] Generated Node #0,2,2: 43:[34, 77] Operation: 31+46=77 Exploring Operation: 31+34=65, Resulting Numbers: [46, 65] Generated Node #0,2,3: 43:[46, 65] Operation: 31+34=65 Exploring Operation: 46-34=12, Resulting Numbers: [31, 12] Generated Node #0,2,4: 43:[31, 12] Operation: 46-34=12 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 43:[46, 65], Operations: ['79-33=46', '31+34=65'] Exploring Operation: 46+65=111, Resulting Numbers: [111] 111,43 unequal: No Solution Exploring Operation: 65-46=19, Resulting Numbers: [19] 19,43 unequal: No Solution Exploring Operation: 46*65=2990, Resulting Numbers: [2990] 2990,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,2,1 Current State: 43:[34, 15], Operations: ['79-33=46', '46-31=15'] Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,43 unequal: No Solution Exploring Operation: 34+15=49, Resulting Numbers: [49] 49,43 unequal: No Solution Exploring Operation: 34*15=510, Resulting Numbers: [510] 510,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,2,0 Current State: 43:[46, 3], Operations: ['79-33=46', '34-31=3'] Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,43 unequal: No Solution Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,43 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[33, 31, 34, 79], Operations: [] Exploring Operation: 79-33=46, Resulting Numbers: [31, 34, 46] Generated Node #0,2: 43:[31, 34, 46] Operation: 79-33=46 Moving to Node #0,2 Current State: 43:[31, 34, 46], Operations: ['79-33=46'] Exploring Operation: 34-31=3, Resulting Numbers: [46, 3] Generated Node #0,2,0: 43:[46, 3] Operation: 34-31=3 Moving to Node #0,2,0 Current State: 43:[46, 3], Operations: ['79-33=46', '34-31=3'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_5
sum_heuristic
[ 4, 15, 70, 56 ]
71
[ "56/4=14", "15+70=85", "85-14=71" ]
Current State: 71:[4, 15, 70, 56], Operations: [] Exploring Operation: 56/4=14, Resulting Numbers: [15, 70, 14] Generated Node #2: [15, 70, 14] from Operation: 56/4=14 Current State: 71:[15, 70, 14], Operations: ['56/4=14'] Exploring Operation: 15+70=85, Resulting Numbers: [14, 85] Generated Node #3: [14, 85] from Operation: 15+70=85 Current State: 71:[14, 85], Operations: ['56/4=14', '15+70=85'] Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[4, 15, 70, 56], Operations: [] Exploring Operation: 4*15=60, Resulting Numbers: [70, 56, 60] Generated Node #0,0: 71:[70, 56, 60] Operation: 4*15=60 Moving to Node #0,0 Current State: 71:[70, 56, 60], Operations: ['4*15=60'] Exploring Operation: 56+60=116, Resulting Numbers: [70, 116] Generated Node #0,0,0: 71:[70, 116] Operation: 56+60=116 Moving to Node #0,0,0 Current State: 71:[70, 116], Operations: ['4*15=60', '56+60=116'] Exploring Operation: 116-70=46, Resulting Numbers: [46] 46,71 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 20, 69, 95, 97 ]
87
[ "20+69=89", "97-95=2", "89-2=87" ]
Current State: 87:[20, 69, 95, 97], Operations: [] Exploring Operation: 20+69=89, Resulting Numbers: [95, 97, 89] Generated Node #2: [95, 97, 89] from Operation: 20+69=89 Current State: 87:[95, 97, 89], Operations: ['20+69=89'] Exploring Operation: 97-95=2, Resulting Numbers: [89, 2] Generated Node #3: [89, 2] from Operation: 97-95=2 Current State: 87:[89, 2], Operations: ['20+69=89', '97-95=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[20, 69, 95, 97], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [20, 69, 2] Generated Node #0,0: 87:[20, 69, 2] Operation: 97-95=2 Exploring Operation: 97-69=28, Resulting Numbers: [20, 95, 28] Generated Node #0,1: 87:[20, 95, 28] Operation: 97-69=28 Exploring Operation: 20+69=89, Resulting Numbers: [95, 97, 89] Generated Node #0,2: 87:[95, 97, 89] Operation: 20+69=89 Exploring Operation: 95-69=26, Resulting Numbers: [20, 97, 26] Generated Node #0,3: 87:[20, 97, 26] Operation: 95-69=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[20, 95, 28], Operations: ['97-69=28'] Exploring Operation: 95-20=75, Resulting Numbers: [28, 75] Generated Node #0,1,0: 87:[28, 75] Operation: 95-20=75 Exploring Operation: 20+28=48, Resulting Numbers: [95, 48] Generated Node #0,1,1: 87:[95, 48] Operation: 20+28=48 Exploring Operation: 20+95=115, Resulting Numbers: [28, 115] Generated Node #0,1,2: 87:[28, 115] Operation: 20+95=115 Exploring Operation: 28-20=8, Resulting Numbers: [95, 8] Generated Node #0,1,3: 87:[95, 8] Operation: 28-20=8 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[28, 75], Operations: ['97-69=28', '95-20=75'] Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,87 unequal: No Solution Exploring Operation: 28*75=2100, Resulting Numbers: [2100] 2100,87 unequal: No Solution Exploring Operation: 28+75=103, Resulting Numbers: [103] 103,87 unequal: No Solution No 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: 87:[95, 8], Operations: ['97-69=28', '28-20=8'] Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[20, 69, 95, 97], Operations: [] Exploring Operation: 97-69=28, Resulting Numbers: [20, 95, 28] Generated Node #0,1: 87:[20, 95, 28] Operation: 97-69=28 Moving to Node #0,1 Current State: 87:[20, 95, 28], Operations: ['97-69=28'] Exploring Operation: 28-20=8, Resulting Numbers: [95, 8] Generated Node #0,1,3: 87:[95, 8] Operation: 28-20=8 Moving to Node #0,1,3 Current State: 87:[95, 8], Operations: ['97-69=28', '28-20=8'] Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 87, 37, 63, 25 ]
83
[ "37+63=100", "100/25=4", "87-4=83" ]
Current State: 83:[87, 37, 63, 25], Operations: [] Exploring Operation: 37+63=100, Resulting Numbers: [87, 25, 100] Generated Node #2: [87, 25, 100] from Operation: 37+63=100 Current State: 83:[87, 25, 100], Operations: ['37+63=100'] Exploring Operation: 100/25=4, Resulting Numbers: [87, 4] Generated Node #3: [87, 4] from Operation: 100/25=4 Current State: 83:[87, 4], Operations: ['37+63=100', '100/25=4'] Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[87, 37, 63, 25], Operations: [] Exploring Operation: 37+25=62, Resulting Numbers: [87, 63, 62] Generated Node #0,0: 83:[87, 63, 62] Operation: 37+25=62 Moving to Node #0,0 Current State: 83:[87, 63, 62], Operations: ['37+25=62'] Exploring Operation: 63+62=125, Resulting Numbers: [87, 125] Generated Node #0,0,0: 83:[87, 125] Operation: 63+62=125 Moving to Node #0,0,0 Current State: 83:[87, 125], Operations: ['37+25=62', '63+62=125'] Exploring Operation: 125-87=38, Resulting Numbers: [38] 38,83 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 50, 8, 26, 52 ]
92
[ "50*52=2600", "2600/26=100", "100-8=92" ]
Current State: 92:[50, 8, 26, 52], Operations: [] Exploring Operation: 50*52=2600, Resulting Numbers: [8, 26, 2600] Generated Node #2: [8, 26, 2600] from Operation: 50*52=2600 Current State: 92:[8, 26, 2600], Operations: ['50*52=2600'] Exploring Operation: 2600/26=100, Resulting Numbers: [8, 100] Generated Node #3: [8, 100] from Operation: 2600/26=100 Current State: 92:[8, 100], Operations: ['50*52=2600', '2600/26=100'] Exploring Operation: 100-8=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[50, 8, 26, 52], Operations: [] Exploring Operation: 52-50=2, Resulting Numbers: [8, 26, 2] Generated Node #0,0: 92:[8, 26, 2] Operation: 52-50=2 Moving to Node #0,0 Current State: 92:[8, 26, 2], Operations: ['52-50=2'] Exploring Operation: 8/2=4, Resulting Numbers: [26, 4] Generated Node #0,0,0: 92:[26, 4] Operation: 8/2=4 Moving to Node #0,0,0 Current State: 92:[26, 4], Operations: ['52-50=2', '8/2=4'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,92 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 57, 20, 11, 3 ]
16
[ "57-20=37", "11+37=48", "48/3=16" ]
Current State: 16:[57, 20, 11, 3], Operations: [] Exploring Operation: 57-20=37, Resulting Numbers: [11, 3, 37] Generated Node #2: [11, 3, 37] from Operation: 57-20=37 Current State: 16:[11, 3, 37], Operations: ['57-20=37'] Exploring Operation: 11+37=48, Resulting Numbers: [3, 48] Generated Node #3: [3, 48] from Operation: 11+37=48 Current State: 16:[3, 48], Operations: ['57-20=37', '11+37=48'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[57, 20, 11, 3], Operations: [] Exploring Operation: 57/3=19, Resulting Numbers: [20, 11, 19] Generated Node #0,0: 16:[20, 11, 19] Operation: 57/3=19 Exploring Operation: 57-11=46, Resulting Numbers: [20, 3, 46] Generated Node #0,1: 16:[20, 3, 46] Operation: 57-11=46 Exploring Operation: 57-20=37, Resulting Numbers: [11, 3, 37] Generated Node #0,2: 16:[11, 3, 37] Operation: 57-20=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[20, 11, 19], Operations: ['57/3=19'] Exploring Operation: 20-11=9, Resulting Numbers: [19, 9] Generated Node #0,0,0: 16:[19, 9] Operation: 20-11=9 Exploring Operation: 20-19=1, Resulting Numbers: [11, 1] Generated Node #0,0,1: 16:[11, 1] Operation: 20-19=1 Exploring Operation: 19-11=8, Resulting Numbers: [20, 8] Generated Node #0,0,2: 16:[20, 8] Operation: 19-11=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[19, 9], Operations: ['57/3=19', '20-11=9'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 16:[11, 1], Operations: ['57/3=19', '20-19=1'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 16:[20, 8], Operations: ['57/3=19', '19-11=8'] Exploring Operation: 20*8=160, Resulting Numbers: [160] 160,16 unequal: No Solution Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[11, 3, 37], Operations: ['57-20=37'] Exploring Operation: 37-3=34, Resulting Numbers: [11, 34] Generated Node #0,2,0: 16:[11, 34] Operation: 37-3=34 Exploring Operation: 11-3=8, Resulting Numbers: [37, 8] Generated Node #0,2,1: 16:[37, 8] Operation: 11-3=8 Exploring Operation: 37-11=26, Resulting Numbers: [3, 26] Generated Node #0,2,2: 16:[3, 26] Operation: 37-11=26 Moving to Node #0,2,2 Current State: 16:[3, 26], Operations: ['57-20=37', '37-11=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,16 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,16 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[11, 34], Operations: ['57-20=37', '37-3=34'] Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,16 unequal: No Solution Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,16 unequal: No Solution Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[37, 8], Operations: ['57-20=37', '11-3=8'] Exploring Operation: 37*8=296, Resulting Numbers: [296] 296,16 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,16 unequal: No Solution Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,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:[20, 3, 46], Operations: ['57-11=46'] Exploring Operation: 46-3=43, Resulting Numbers: [20, 43] Generated Node #0,1,0: 16:[20, 43] Operation: 46-3=43 Exploring Operation: 20-3=17, Resulting Numbers: [46, 17] Generated Node #0,1,1: 16:[46, 17] Operation: 20-3=17 Exploring Operation: 46-20=26, Resulting Numbers: [3, 26] Generated Node #0,1,2: 16:[3, 26] Operation: 46-20=26 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 16:[3, 26], Operations: ['57-11=46', '46-20=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,16 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,16 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 16:[20, 43], Operations: ['57-11=46', '46-3=43'] Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,16 unequal: No Solution Exploring Operation: 20+43=63, Resulting Numbers: [63] 63,16 unequal: No Solution Exploring Operation: 20*43=860, Resulting Numbers: [860] 860,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 16:[46, 17], Operations: ['57-11=46', '20-3=17'] Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,16 unequal: No Solution Exploring Operation: 46*17=782, Resulting Numbers: [782] 782,16 unequal: No Solution Exploring Operation: 46+17=63, Resulting Numbers: [63] 63,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 51, 17, 93, 64 ]
95
[ "51/17=3", "93/3=31", "64+31=95" ]
Current State: 95:[51, 17, 93, 64], Operations: [] Exploring Operation: 51/17=3, Resulting Numbers: [93, 64, 3] Generated Node #2: [93, 64, 3] from Operation: 51/17=3 Current State: 95:[93, 64, 3], Operations: ['51/17=3'] Exploring Operation: 93/3=31, Resulting Numbers: [64, 31] Generated Node #3: [64, 31] from Operation: 93/3=31 Current State: 95:[64, 31], Operations: ['51/17=3', '93/3=31'] Exploring Operation: 64+31=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[51, 17, 93, 64], Operations: [] Exploring Operation: 51+64=115, Resulting Numbers: [17, 93, 115] Generated Node #0,0: 95:[17, 93, 115] Operation: 51+64=115 Exploring Operation: 64-51=13, Resulting Numbers: [17, 93, 13] Generated Node #0,1: 95:[17, 93, 13] Operation: 64-51=13 Moving to Node #0,1 Current State: 95:[17, 93, 13], Operations: ['64-51=13'] Exploring Operation: 17-13=4, Resulting Numbers: [93, 4] Generated Node #0,1,0: 95:[93, 4] Operation: 17-13=4 Exploring Operation: 17+13=30, Resulting Numbers: [93, 30] Generated Node #0,1,1: 95:[93, 30] Operation: 17+13=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[93, 4], Operations: ['64-51=13', '17-13=4'] Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,95 unequal: No Solution Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[93, 30], Operations: ['64-51=13', '17+13=30'] Exploring Operation: 93+30=123, Resulting Numbers: [123] 123,95 unequal: No Solution Exploring Operation: 93-30=63, Resulting Numbers: [63] 63,95 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: 95:[17, 93, 115], Operations: ['51+64=115'] Exploring Operation: 115-17=98, Resulting Numbers: [93, 98] Generated Node #0,0,0: 95:[93, 98] Operation: 115-17=98 Exploring Operation: 115-93=22, Resulting Numbers: [17, 22] Generated Node #0,0,1: 95:[17, 22] Operation: 115-93=22 Moving to Node #0,0,0 Current State: 95:[93, 98], Operations: ['51+64=115', '115-17=98'] Exploring Operation: 98-93=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 93+98=191, Resulting Numbers: [191] 191,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[17, 22], Operations: ['51+64=115', '115-93=22'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,95 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 81, 34, 48, 83 ]
81
[ "34+48=82", "83-82=1", "81*1=81" ]
Current State: 81:[81, 34, 48, 83], Operations: [] Exploring Operation: 34+48=82, Resulting Numbers: [81, 83, 82] Generated Node #2: [81, 83, 82] from Operation: 34+48=82 Current State: 81:[81, 83, 82], Operations: ['34+48=82'] Exploring Operation: 83-82=1, Resulting Numbers: [81, 1] Generated Node #3: [81, 1] from Operation: 83-82=1 Current State: 81:[81, 1], Operations: ['34+48=82', '83-82=1'] Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[81, 34, 48, 83], Operations: [] Exploring Operation: 34+48=82, Resulting Numbers: [81, 83, 82] Generated Node #0,0: 81:[81, 83, 82] Operation: 34+48=82 Exploring Operation: 81-48=33, Resulting Numbers: [34, 83, 33] Generated Node #0,1: 81:[34, 83, 33] Operation: 81-48=33 Exploring Operation: 48-34=14, Resulting Numbers: [81, 83, 14] Generated Node #0,2: 81:[81, 83, 14] Operation: 48-34=14 Moving to Node #0,0 Current State: 81:[81, 83, 82], Operations: ['34+48=82'] Exploring Operation: 82-81=1, Resulting Numbers: [83, 1] Generated Node #0,0,0: 81:[83, 1] Operation: 82-81=1 Exploring Operation: 83-82=1, Resulting Numbers: [81, 1] Generated Node #0,0,1: 81:[81, 1] Operation: 83-82=1 Exploring Operation: 83-81=2, Resulting Numbers: [82, 2] Generated Node #0,0,2: 81:[82, 2] Operation: 83-81=2 Moving to Node #0,2 Current State: 81:[81, 83, 14], Operations: ['48-34=14'] Exploring Operation: 83-81=2, Resulting Numbers: [14, 2] Generated Node #0,2,0: 81:[14, 2] Operation: 83-81=2 Exploring Operation: 81+14=95, Resulting Numbers: [83, 95] Generated Node #0,2,1: 81:[83, 95] Operation: 81+14=95 Exploring Operation: 83-14=69, Resulting Numbers: [81, 69] Generated Node #0,2,2: 81:[81, 69] Operation: 83-14=69 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 81:[14, 2], Operations: ['48-34=14', '83-81=2'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,81 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,81 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 81:[81, 69], Operations: ['48-34=14', '83-14=69'] Exploring Operation: 81+69=150, Resulting Numbers: [150] 150,81 unequal: No Solution Exploring Operation: 81*69=5589, Resulting Numbers: [5589] 5589,81 unequal: No Solution Exploring Operation: 81-69=12, Resulting Numbers: [12] 12,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 81:[83, 95], Operations: ['48-34=14', '81+14=95'] Exploring Operation: 83*95=7885, Resulting Numbers: [7885] 7885,81 unequal: No Solution Exploring Operation: 95-83=12, Resulting Numbers: [12] 12,81 unequal: No Solution Exploring Operation: 83+95=178, Resulting Numbers: [178] 178,81 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: 81:[34, 83, 33], Operations: ['81-48=33'] Exploring Operation: 83-34=49, Resulting Numbers: [33, 49] Generated Node #0,1,0: 81:[33, 49] Operation: 83-34=49 Exploring Operation: 34+33=67, Resulting Numbers: [83, 67] Generated Node #0,1,1: 81:[83, 67] Operation: 34+33=67 Exploring Operation: 34-33=1, Resulting Numbers: [83, 1] Generated Node #0,1,2: 81:[83, 1] Operation: 34-33=1 Moving to Node #0,0,1 Current State: 81:[81, 1], Operations: ['34+48=82', '83-82=1'] Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,81 unequal: No Solution Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[81, 34, 48, 83], Operations: [] Exploring Operation: 34+48=82, Resulting Numbers: [81, 83, 82] Generated Node #0,0: 81:[81, 83, 82] Operation: 34+48=82 Moving to Node #0,0 Current State: 81:[81, 83, 82], Operations: ['34+48=82'] Exploring Operation: 83-82=1, Resulting Numbers: [81, 1] Generated Node #0,0,1: 81:[81, 1] Operation: 83-82=1 Moving to Node #0,0,1 Current State: 81:[81, 1], Operations: ['34+48=82', '83-82=1'] Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.976563
hs_3
sum_heuristic
[ 3, 97, 3, 69 ]
87
[ "97-69=28", "3*28=84", "3+84=87" ]
Current State: 87:[3, 97, 3, 69], Operations: [] Exploring Operation: 97-69=28, Resulting Numbers: [3, 3, 28] Generated Node #2: [3, 3, 28] from Operation: 97-69=28 Current State: 87:[3, 3, 28], Operations: ['97-69=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,87 equal: Goal Reached Exploring Operation: 3+84=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[3, 97, 3, 69], Operations: [] Exploring Operation: 69/3=23, Resulting Numbers: [97, 3, 23] Generated Node #0,0: 87:[97, 3, 23] Operation: 69/3=23 Exploring Operation: 97-69=28, Resulting Numbers: [3, 3, 28] Generated Node #0,1: 87:[3, 3, 28] Operation: 97-69=28 Moving to Node #0,1 Current State: 87:[3, 3, 28], Operations: ['97-69=28'] Exploring Operation: 3+28=31, Resulting Numbers: [3, 31] Generated Node #0,1,0: 87:[3, 31] Operation: 3+28=31 Exploring Operation: 3+28=31, Resulting Numbers: [3, 31] Generated Node #0,1,1: 87:[3, 31] Operation: 3+28=31 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[3, 31], Operations: ['97-69=28', '3+28=31'] Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,87 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[3, 31], Operations: ['97-69=28', '3+28=31'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 87:[97, 3, 23], Operations: ['69/3=23'] Exploring Operation: 97-23=74, Resulting Numbers: [3, 74] Generated Node #0,0,0: 87:[3, 74] Operation: 97-23=74 Exploring Operation: 97-3=94, Resulting Numbers: [23, 94] Generated Node #0,0,1: 87:[23, 94] Operation: 97-3=94 Moving to Node #0,0,0 Current State: 87:[3, 74], Operations: ['69/3=23', '97-23=74'] Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,87 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[23, 94], Operations: ['69/3=23', '97-3=94'] Exploring Operation: 23+94=117, Resulting Numbers: [117] 117,87 unequal: No Solution Exploring Operation: 94-23=71, Resulting Numbers: [71] 71,87 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 47, 78, 33, 2 ]
97
[ "78-47=31", "33*2=66", "31+66=97" ]
Current State: 97:[47, 78, 33, 2], Operations: [] Exploring Operation: 78-47=31, Resulting Numbers: [33, 2, 31] Generated Node #2: [33, 2, 31] from Operation: 78-47=31 Current State: 97:[33, 2, 31], Operations: ['78-47=31'] Exploring Operation: 33*2=66, Resulting Numbers: [31, 66] Generated Node #3: [31, 66] from Operation: 33*2=66 Current State: 97:[31, 66], Operations: ['78-47=31', '33*2=66'] Exploring Operation: 31+66=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[47, 78, 33, 2], Operations: [] Exploring Operation: 47+33=80, Resulting Numbers: [78, 2, 80] Generated Node #0,0: 97:[78, 2, 80] Operation: 47+33=80 Exploring Operation: 47+2=49, Resulting Numbers: [78, 33, 49] Generated Node #0,1: 97:[78, 33, 49] Operation: 47+2=49 Exploring Operation: 78+2=80, Resulting Numbers: [47, 33, 80] Generated Node #0,2: 97:[47, 33, 80] Operation: 78+2=80 Exploring Operation: 47*2=94, Resulting Numbers: [78, 33, 94] Generated Node #0,3: 97:[78, 33, 94] Operation: 47*2=94 Exploring Operation: 33*2=66, Resulting Numbers: [47, 78, 66] Generated Node #0,4: 97:[47, 78, 66] Operation: 33*2=66 Moving to Node #0,3 Current State: 97:[78, 33, 94], Operations: ['47*2=94'] Exploring Operation: 78-33=45, Resulting Numbers: [94, 45] Generated Node #0,3,0: 97:[94, 45] Operation: 78-33=45 Exploring Operation: 78+94=172, Resulting Numbers: [33, 172] Generated Node #0,3,1: 97:[33, 172] Operation: 78+94=172 Exploring Operation: 33+94=127, Resulting Numbers: [78, 127] Generated Node #0,3,2: 97:[78, 127] Operation: 33+94=127 Exploring Operation: 78+33=111, Resulting Numbers: [94, 111] Generated Node #0,3,3: 97:[94, 111] Operation: 78+33=111 Exploring Operation: 94-33=61, Resulting Numbers: [78, 61] Generated Node #0,3,4: 97:[78, 61] Operation: 94-33=61 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[94, 111], Operations: ['47*2=94', '78+33=111'] Exploring Operation: 94*111=10434, Resulting Numbers: [10434] 10434,97 unequal: No Solution Exploring Operation: 94+111=205, Resulting Numbers: [205] 205,97 unequal: No Solution Exploring Operation: 111-94=17, Resulting Numbers: [17] 17,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:[78, 127], Operations: ['47*2=94', '33+94=127'] Exploring Operation: 78*127=9906, Resulting Numbers: [9906] 9906,97 unequal: No Solution Exploring Operation: 78+127=205, Resulting Numbers: [205] 205,97 unequal: No Solution Exploring Operation: 127-78=49, Resulting Numbers: [49] 49,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:[94, 45], Operations: ['47*2=94', '78-33=45'] Exploring Operation: 94*45=4230, Resulting Numbers: [4230] 4230,97 unequal: No Solution Exploring Operation: 94+45=139, Resulting Numbers: [139] 139,97 unequal: No Solution Exploring Operation: 94-45=49, Resulting Numbers: [49] 49,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,4 Current State: 97:[78, 61], Operations: ['47*2=94', '94-33=61'] Exploring Operation: 78+61=139, Resulting Numbers: [139] 139,97 unequal: No Solution Exploring Operation: 78*61=4758, Resulting Numbers: [4758] 4758,97 unequal: No Solution Exploring Operation: 78-61=17, Resulting Numbers: [17] 17,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,1 Current State: 97:[33, 172], Operations: ['47*2=94', '78+94=172'] Exploring Operation: 33+172=205, Resulting Numbers: [205] 205,97 unequal: No Solution Exploring Operation: 33*172=5676, Resulting Numbers: [5676] 5676,97 unequal: No Solution Exploring Operation: 172-33=139, Resulting Numbers: [139] 139,97 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: 97:[47, 78, 66], Operations: ['33*2=66'] Exploring Operation: 78-47=31, Resulting Numbers: [66, 31] Generated Node #0,4,0: 97:[66, 31] Operation: 78-47=31 Exploring Operation: 47+78=125, Resulting Numbers: [66, 125] Generated Node #0,4,1: 97:[66, 125] Operation: 47+78=125 Exploring Operation: 78+66=144, Resulting Numbers: [47, 144] Generated Node #0,4,2: 97:[47, 144] Operation: 78+66=144 Exploring Operation: 47+66=113, Resulting Numbers: [78, 113] Generated Node #0,4,3: 97:[78, 113] Operation: 47+66=113 Exploring Operation: 66-47=19, Resulting Numbers: [78, 19] Generated Node #0,4,4: 97:[78, 19] Operation: 66-47=19 Moving to Node #0,0 Current State: 97:[78, 2, 80], Operations: ['47+33=80'] Exploring Operation: 2+80=82, Resulting Numbers: [78, 82] Generated Node #0,0,0: 97:[78, 82] Operation: 2+80=82 Exploring Operation: 78+2=80, Resulting Numbers: [80, 80] Generated Node #0,0,1: 97:[80, 80] Operation: 78+2=80 Exploring Operation: 80-2=78, Resulting Numbers: [78, 78] Generated Node #0,0,2: 97:[78, 78] Operation: 80-2=78 Exploring Operation: 78-2=76, Resulting Numbers: [80, 76] Generated Node #0,0,3: 97:[80, 76] Operation: 78-2=76 Exploring Operation: 78/2=39, Resulting Numbers: [80, 39] Generated Node #0,0,4: 97:[80, 39] Operation: 78/2=39 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[78, 82], Operations: ['47+33=80', '2+80=82'] Exploring Operation: 78*82=6396, Resulting Numbers: [6396] 6396,97 unequal: No Solution Exploring Operation: 78+82=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 82-78=4, Resulting Numbers: [4] 4,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[80, 80], Operations: ['47+33=80', '78+2=80'] Exploring Operation: 80*80=6400, Resulting Numbers: [6400] 6400,97 unequal: No Solution Exploring Operation: 80-80=0, Resulting Numbers: [0] 0,97 unequal: No Solution Exploring Operation: 80+80=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 80/80=1, Resulting Numbers: [1] 1,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[78, 78], Operations: ['47+33=80', '80-2=78'] Exploring Operation: 78*78=6084, Resulting Numbers: [6084] 6084,97 unequal: No Solution Exploring Operation: 78-78=0, Resulting Numbers: [0] 0,97 unequal: No Solution Exploring Operation: 78/78=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 78+78=156, Resulting Numbers: [156] 156,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 97:[80, 76], Operations: ['47+33=80', '78-2=76'] Exploring Operation: 80*76=6080, Resulting Numbers: [6080] 6080,97 unequal: No Solution Exploring Operation: 80-76=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 80+76=156, Resulting Numbers: [156] 156,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 97:[80, 39], Operations: ['47+33=80', '78/2=39'] Exploring Operation: 80+39=119, Resulting Numbers: [119] 119,97 unequal: No Solution Exploring Operation: 80*39=3120, Resulting Numbers: [3120] 3120,97 unequal: No Solution Exploring Operation: 80-39=41, Resulting Numbers: [41] 41,97 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: 97:[78, 33, 49], Operations: ['47+2=49'] Exploring Operation: 78+33=111, Resulting Numbers: [49, 111] Generated Node #0,1,0: 97:[49, 111] Operation: 78+33=111 Exploring Operation: 49-33=16, Resulting Numbers: [78, 16] Generated Node #0,1,1: 97:[78, 16] Operation: 49-33=16 Exploring Operation: 78-33=45, Resulting Numbers: [49, 45] Generated Node #0,1,2: 97:[49, 45] Operation: 78-33=45 Exploring Operation: 78+49=127, Resulting Numbers: [33, 127] Generated Node #0,1,3: 97:[33, 127] Operation: 78+49=127 Exploring Operation: 33+49=82, Resulting Numbers: [78, 82] Generated Node #0,1,4: 97:[78, 82] Operation: 33+49=82 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 97:[78, 82], Operations: ['47+2=49', '33+49=82'] Exploring Operation: 78*82=6396, Resulting Numbers: [6396] 6396,97 unequal: No Solution Exploring Operation: 82-78=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 78+82=160, Resulting Numbers: [160] 160,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,1,0 Current State: 97:[49, 111], Operations: ['47+2=49', '78+33=111'] Exploring Operation: 49*111=5439, Resulting Numbers: [5439] 5439,97 unequal: No Solution Exploring Operation: 49+111=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 111-49=62, Resulting Numbers: [62] 62,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,1,3 Current State: 97:[33, 127], Operations: ['47+2=49', '78+49=127'] Exploring Operation: 33+127=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 33*127=4191, Resulting Numbers: [4191] 4191,97 unequal: No Solution Exploring Operation: 127-33=94, Resulting Numbers: [94] 94,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,1,1 Current State: 97:[78, 16], Operations: ['47+2=49', '49-33=16'] Exploring Operation: 78+16=94, Resulting Numbers: [94] 94,97 unequal: No Solution Exploring Operation: 78-16=62, Resulting Numbers: [62] 62,97 unequal: No Solution Exploring Operation: 78*16=1248, Resulting Numbers: [1248] 1248,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,1,2 Current State: 97:[49, 45], Operations: ['47+2=49', '78-33=45'] Exploring Operation: 49-45=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 49+45=94, Resulting Numbers: [94] 94,97 unequal: No Solution Exploring Operation: 49*45=2205, Resulting Numbers: [2205] 2205,97 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: 97:[47, 33, 80], Operations: ['78+2=80'] Exploring Operation: 47+33=80, Resulting Numbers: [80, 80] Generated Node #0,2,0: 97:[80, 80] Operation: 47+33=80 Exploring Operation: 80-33=47, Resulting Numbers: [47, 47] Generated Node #0,2,1: 97:[47, 47] Operation: 80-33=47 Exploring Operation: 47+80=127, Resulting Numbers: [33, 127] Generated Node #0,2,2: 97:[33, 127] Operation: 47+80=127 Exploring Operation: 33+80=113, Resulting Numbers: [47, 113] Generated Node #0,2,3: 97:[47, 113] Operation: 33+80=113 Exploring Operation: 47-33=14, Resulting Numbers: [80, 14] Generated Node #0,2,4: 97:[80, 14] Operation: 47-33=14 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[80, 80], Operations: ['78+2=80', '47+33=80'] Exploring Operation: 80/80=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 80+80=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 80-80=0, Resulting Numbers: [0] 0,97 unequal: No Solution Exploring Operation: 80*80=6400, Resulting Numbers: [6400] 6400,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 97:[47, 113], Operations: ['78+2=80', '33+80=113'] Exploring Operation: 47*113=5311, Resulting Numbers: [5311] 5311,97 unequal: No Solution Exploring Operation: 47+113=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 113-47=66, Resulting Numbers: [66] 66,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[33, 127], Operations: ['78+2=80', '47+80=127'] Exploring Operation: 33+127=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 33*127=4191, Resulting Numbers: [4191] 4191,97 unequal: No Solution Exploring Operation: 127-33=94, Resulting Numbers: [94] 94,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[47, 47], Operations: ['78+2=80', '80-33=47'] Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,97 unequal: No Solution Exploring Operation: 47/47=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 47*47=2209, Resulting Numbers: [2209] 2209,97 unequal: No Solution Exploring Operation: 47-47=0, Resulting Numbers: [0] 0,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 97:[80, 14], Operations: ['78+2=80', '47-33=14'] Exploring Operation: 80*14=1120, Resulting Numbers: [1120] 1120,97 unequal: No Solution Exploring Operation: 80-14=66, Resulting Numbers: [66] 66,97 unequal: No Solution Exploring Operation: 80+14=94, Resulting Numbers: [94] 94,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,3 Current State: 97:[78, 113], Operations: ['33*2=66', '47+66=113'] Exploring Operation: 78+113=191, Resulting Numbers: [191] 191,97 unequal: No Solution Exploring Operation: 78*113=8814, Resulting Numbers: [8814] 8814,97 unequal: No Solution Exploring Operation: 113-78=35, Resulting Numbers: [35] 35,97 unequal: No Solution Moving to Node #0,4,1 Current State: 97:[66, 125], Operations: ['33*2=66', '47+78=125'] Exploring Operation: 66*125=8250, Resulting Numbers: [8250] 8250,97 unequal: No Solution Exploring Operation: 125-66=59, Resulting Numbers: [59] 59,97 unequal: No Solution Exploring Operation: 66+125=191, Resulting Numbers: [191] 191,97 unequal: No Solution Moving to Node #0,4,0 Current State: 97:[66, 31], Operations: ['33*2=66', '78-47=31'] Exploring Operation: 66+31=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[47, 78, 33, 2], Operations: [] Exploring Operation: 33*2=66, Resulting Numbers: [47, 78, 66] Generated Node #0,4: 97:[47, 78, 66] Operation: 33*2=66 Moving to Node #0,4 Current State: 97:[47, 78, 66], Operations: ['33*2=66'] Exploring Operation: 78-47=31, Resulting Numbers: [66, 31] Generated Node #0,4,0: 97:[66, 31] Operation: 78-47=31 Moving to Node #0,4,0 Current State: 97:[66, 31], Operations: ['33*2=66', '78-47=31'] Exploring Operation: 66+31=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
0.908854
hs_5
sum_heuristic
[ 92, 20, 25, 34 ]
13
[ "92-20=72", "25+34=59", "72-59=13" ]
Current State: 13:[92, 20, 25, 34], Operations: [] Exploring Operation: 92-20=72, Resulting Numbers: [25, 34, 72] Generated Node #2: [25, 34, 72] from Operation: 92-20=72 Current State: 13:[25, 34, 72], Operations: ['92-20=72'] Exploring Operation: 25+34=59, Resulting Numbers: [72, 59] Generated Node #3: [72, 59] from Operation: 25+34=59 Current State: 13:[72, 59], Operations: ['92-20=72', '25+34=59'] Exploring Operation: 72-59=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[92, 20, 25, 34], Operations: [] Exploring Operation: 92-34=58, Resulting Numbers: [20, 25, 58] Generated Node #0,0: 13:[20, 25, 58] Operation: 92-34=58 Exploring Operation: 92-25=67, Resulting Numbers: [20, 34, 67] Generated Node #0,1: 13:[20, 34, 67] Operation: 92-25=67 Exploring Operation: 34-25=9, Resulting Numbers: [92, 20, 9] Generated Node #0,2: 13:[92, 20, 9] Operation: 34-25=9 Moving to Node #0,0 Current State: 13:[20, 25, 58], Operations: ['92-34=58'] Exploring Operation: 58-25=33, Resulting Numbers: [20, 33] Generated Node #0,0,0: 13:[20, 33] Operation: 58-25=33 Exploring Operation: 58-20=38, Resulting Numbers: [25, 38] Generated Node #0,0,1: 13:[25, 38] Operation: 58-20=38 Exploring Operation: 25-20=5, Resulting Numbers: [58, 5] Generated Node #0,0,2: 13:[58, 5] Operation: 25-20=5 Moving to Node #0,1 Current State: 13:[20, 34, 67], Operations: ['92-25=67'] Exploring Operation: 67-34=33, Resulting Numbers: [20, 33] Generated Node #0,1,0: 13:[20, 33] Operation: 67-34=33 Exploring Operation: 34-20=14, Resulting Numbers: [67, 14] Generated Node #0,1,1: 13:[67, 14] Operation: 34-20=14 Exploring Operation: 67-20=47, Resulting Numbers: [34, 47] Generated Node #0,1,2: 13:[34, 47] Operation: 67-20=47 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[20, 33], Operations: ['92-25=67', '67-34=33'] Exploring Operation: 20*33=660, Resulting Numbers: [660] 660,13 unequal: No Solution Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[92, 20, 25, 34], Operations: [] Exploring Operation: 92-25=67, Resulting Numbers: [20, 34, 67] Generated Node #0,1: 13:[20, 34, 67] Operation: 92-25=67 Moving to Node #0,1 Current State: 13:[20, 34, 67], Operations: ['92-25=67'] Exploring Operation: 67-34=33, Resulting Numbers: [20, 33] Generated Node #0,1,0: 13:[20, 33] Operation: 67-34=33 Moving to Node #0,1,0 Current State: 13:[20, 33], Operations: ['92-25=67', '67-34=33'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 79, 29, 21, 64 ]
62
[ "79-21=58", "58/29=2", "64-2=62" ]
Current State: 62:[79, 29, 21, 64], Operations: [] Exploring Operation: 79-21=58, Resulting Numbers: [29, 64, 58] Generated Node #2: [29, 64, 58] from Operation: 79-21=58 Current State: 62:[29, 64, 58], Operations: ['79-21=58'] Exploring Operation: 58/29=2, Resulting Numbers: [64, 2] Generated Node #3: [64, 2] from Operation: 58/29=2 Current State: 62:[64, 2], Operations: ['79-21=58', '58/29=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[79, 29, 21, 64], Operations: [] Exploring Operation: 29+21=50, Resulting Numbers: [79, 64, 50] Generated Node #0,0: 62:[79, 64, 50] Operation: 29+21=50 Exploring Operation: 79-29=50, Resulting Numbers: [21, 64, 50] Generated Node #0,1: 62:[21, 64, 50] Operation: 79-29=50 Exploring Operation: 79-21=58, Resulting Numbers: [29, 64, 58] Generated Node #0,2: 62:[29, 64, 58] Operation: 79-21=58 Exploring Operation: 29-21=8, Resulting Numbers: [79, 64, 8] Generated Node #0,3: 62:[79, 64, 8] Operation: 29-21=8 Exploring Operation: 79-64=15, Resulting Numbers: [29, 21, 15] Generated Node #0,4: 62:[29, 21, 15] Operation: 79-64=15 Moving to Node #0,2 Current State: 62:[29, 64, 58], Operations: ['79-21=58'] Exploring Operation: 29+58=87, Resulting Numbers: [64, 87] Generated Node #0,2,0: 62:[64, 87] Operation: 29+58=87 Exploring Operation: 64-58=6, Resulting Numbers: [29, 6] Generated Node #0,2,1: 62:[29, 6] Operation: 64-58=6 Exploring Operation: 58/29=2, Resulting Numbers: [64, 2] Generated Node #0,2,2: 62:[64, 2] Operation: 58/29=2 Exploring Operation: 58-29=29, Resulting Numbers: [64, 29] Generated Node #0,2,3: 62:[64, 29] Operation: 58-29=29 Exploring Operation: 64-29=35, Resulting Numbers: [58, 35] Generated Node #0,2,4: 62:[58, 35] Operation: 64-29=35 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 62:[64, 2], Operations: ['79-21=58', '58/29=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,62 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,62 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[79, 29, 21, 64], Operations: [] Exploring Operation: 79-21=58, Resulting Numbers: [29, 64, 58] Generated Node #0,2: 62:[29, 64, 58] Operation: 79-21=58 Moving to Node #0,2 Current State: 62:[29, 64, 58], Operations: ['79-21=58'] Exploring Operation: 58/29=2, Resulting Numbers: [64, 2] Generated Node #0,2,2: 62:[64, 2] Operation: 58/29=2 Moving to Node #0,2,2 Current State: 62:[64, 2], Operations: ['79-21=58', '58/29=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 98, 56, 24, 96 ]
78
[ "98-56=42", "24+96=120", "120-42=78" ]
Current State: 78:[98, 56, 24, 96], Operations: [] Exploring Operation: 98-56=42, Resulting Numbers: [24, 96, 42] Generated Node #2: [24, 96, 42] from Operation: 98-56=42 Current State: 78:[24, 96, 42], Operations: ['98-56=42'] Exploring Operation: 24+96=120, Resulting Numbers: [42, 120] Generated Node #3: [42, 120] from Operation: 24+96=120 Current State: 78:[42, 120], Operations: ['98-56=42', '24+96=120'] Exploring Operation: 120-42=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[98, 56, 24, 96], Operations: [] Exploring Operation: 96-56=40, Resulting Numbers: [98, 24, 40] Generated Node #0,0: 78:[98, 24, 40] Operation: 96-56=40 Exploring Operation: 98-24=74, Resulting Numbers: [56, 96, 74] Generated Node #0,1: 78:[56, 96, 74] Operation: 98-24=74 Exploring Operation: 96/24=4, Resulting Numbers: [98, 56, 4] Generated Node #0,2: 78:[98, 56, 4] Operation: 96/24=4 Exploring Operation: 98-96=2, Resulting Numbers: [56, 24, 2] Generated Node #0,3: 78:[56, 24, 2] Operation: 98-96=2 Exploring Operation: 98-56=42, Resulting Numbers: [24, 96, 42] Generated Node #0,4: 78:[24, 96, 42] Operation: 98-56=42 Start Sub Search at level 1: Moving to Node #0,3 Current State: 78:[56, 24, 2], Operations: ['98-96=2'] Exploring Operation: 56/2=28, Resulting Numbers: [24, 28] Generated Node #0,3,0: 78:[24, 28] Operation: 56/2=28 Exploring Operation: 56+24=80, Resulting Numbers: [2, 80] Generated Node #0,3,1: 78:[2, 80] Operation: 56+24=80 Exploring Operation: 56-24=32, Resulting Numbers: [2, 32] Generated Node #0,3,2: 78:[2, 32] Operation: 56-24=32 Exploring Operation: 56-2=54, Resulting Numbers: [24, 54] Generated Node #0,3,3: 78:[24, 54] Operation: 56-2=54 Exploring Operation: 24+2=26, Resulting Numbers: [56, 26] Generated Node #0,3,4: 78:[56, 26] Operation: 24+2=26 Moving to Node #0,3,1 Current State: 78:[2, 80], Operations: ['98-96=2', '56+24=80'] Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,78 unequal: No Solution Exploring Operation: 2*80=160, Resulting Numbers: [160] 160,78 unequal: No Solution Exploring Operation: 2+80=82, Resulting Numbers: [82] 82,78 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[98, 56, 24, 96], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [56, 24, 2] Generated Node #0,3: 78:[56, 24, 2] Operation: 98-96=2 Moving to Node #0,3 Current State: 78:[56, 24, 2], Operations: ['98-96=2'] Exploring Operation: 56+24=80, Resulting Numbers: [2, 80] Generated Node #0,3,1: 78:[2, 80] Operation: 56+24=80 Moving to Node #0,3,1 Current State: 78:[2, 80], Operations: ['98-96=2', '56+24=80'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 4, 11, 23, 58 ]
88
[ "11-4=7", "23+58=81", "7+81=88" ]
Current State: 88:[4, 11, 23, 58], Operations: [] Exploring Operation: 11-4=7, Resulting Numbers: [23, 58, 7] Generated Node #2: [23, 58, 7] from Operation: 11-4=7 Current State: 88:[23, 58, 7], Operations: ['11-4=7'] Exploring Operation: 23+58=81, Resulting Numbers: [7, 81] Generated Node #3: [7, 81] from Operation: 23+58=81 Current State: 88:[7, 81], Operations: ['11-4=7', '23+58=81'] Exploring Operation: 7+81=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[4, 11, 23, 58], Operations: [] Exploring Operation: 58-11=47, Resulting Numbers: [4, 23, 47] Generated Node #0,0: 88:[4, 23, 47] Operation: 58-11=47 Moving to Node #0,0 Current State: 88:[4, 23, 47], Operations: ['58-11=47'] Exploring Operation: 47-4=43, Resulting Numbers: [23, 43] Generated Node #0,0,0: 88:[23, 43] Operation: 47-4=43 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[23, 43], Operations: ['58-11=47', '47-4=43'] Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 47, 76, 78, 43 ]
45
[ "47+43=90", "78-76=2", "90/2=45" ]
Current State: 45:[47, 76, 78, 43], Operations: [] Exploring Operation: 47+43=90, Resulting Numbers: [76, 78, 90] Generated Node #2: [76, 78, 90] from Operation: 47+43=90 Current State: 45:[76, 78, 90], Operations: ['47+43=90'] Exploring Operation: 78-76=2, Resulting Numbers: [90, 2] Generated Node #3: [90, 2] from Operation: 78-76=2 Current State: 45:[90, 2], Operations: ['47+43=90', '78-76=2'] Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[47, 76, 78, 43], Operations: [] Exploring Operation: 78-47=31, Resulting Numbers: [76, 43, 31] Generated Node #0,0: 45:[76, 43, 31] Operation: 78-47=31 Exploring Operation: 78-43=35, Resulting Numbers: [47, 76, 35] Generated Node #0,1: 45:[47, 76, 35] Operation: 78-43=35 Exploring Operation: 76-43=33, Resulting Numbers: [47, 78, 33] Generated Node #0,2: 45:[47, 78, 33] Operation: 76-43=33 Exploring Operation: 78-76=2, Resulting Numbers: [47, 43, 2] Generated Node #0,3: 45:[47, 43, 2] Operation: 78-76=2 Exploring Operation: 76-47=29, Resulting Numbers: [78, 43, 29] Generated Node #0,4: 45:[78, 43, 29] Operation: 76-47=29 Moving to Node #0,3 Current State: 45:[47, 43, 2], Operations: ['78-76=2'] Exploring Operation: 47-2=45, Resulting Numbers: [43, 45] Generated Node #0,3,0: 45:[43, 45] Operation: 47-2=45 Exploring Operation: 47-43=4, Resulting Numbers: [2, 4] Generated Node #0,3,1: 45:[2, 4] Operation: 47-43=4 Exploring Operation: 43+2=45, Resulting Numbers: [47, 45] Generated Node #0,3,2: 45:[47, 45] Operation: 43+2=45 Exploring Operation: 47+2=49, Resulting Numbers: [43, 49] Generated Node #0,3,3: 45:[43, 49] Operation: 47+2=49 Exploring Operation: 43-2=41, Resulting Numbers: [47, 41] Generated Node #0,3,4: 45:[47, 41] Operation: 43-2=41 Moving to Node #0,1 Current State: 45:[47, 76, 35], Operations: ['78-43=35'] Exploring Operation: 47-35=12, Resulting Numbers: [76, 12] Generated Node #0,1,0: 45:[76, 12] Operation: 47-35=12 Exploring Operation: 47+35=82, Resulting Numbers: [76, 82] Generated Node #0,1,1: 45:[76, 82] Operation: 47+35=82 Exploring Operation: 76-35=41, Resulting Numbers: [47, 41] Generated Node #0,1,2: 45:[47, 41] Operation: 76-35=41 Exploring Operation: 76-47=29, Resulting Numbers: [35, 29] Generated Node #0,1,3: 45:[35, 29] Operation: 76-47=29 Exploring Operation: 76+35=111, Resulting Numbers: [47, 111] Generated Node #0,1,4: 45:[47, 111] Operation: 76+35=111 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[47, 41], Operations: ['78-43=35', '76-35=41'] Exploring Operation: 47*41=1927, Resulting Numbers: [1927] 1927,45 unequal: No Solution Exploring Operation: 47-41=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 47+41=88, Resulting Numbers: [88] 88,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 45:[35, 29], Operations: ['78-43=35', '76-47=29'] Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 35*29=1015, Resulting Numbers: [1015] 1015,45 unequal: No Solution Exploring Operation: 35+29=64, Resulting Numbers: [64] 64,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[76, 12], Operations: ['78-43=35', '47-35=12'] Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 76*12=912, Resulting Numbers: [912] 912,45 unequal: No Solution Exploring Operation: 76+12=88, Resulting Numbers: [88] 88,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[76, 82], Operations: ['78-43=35', '47+35=82'] Exploring Operation: 82-76=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 76*82=6232, Resulting Numbers: [6232] 6232,45 unequal: No Solution Exploring Operation: 76+82=158, Resulting Numbers: [158] 158,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 45:[47, 111], Operations: ['78-43=35', '76+35=111'] Exploring Operation: 47+111=158, Resulting Numbers: [158] 158,45 unequal: No Solution Exploring Operation: 47*111=5217, Resulting Numbers: [5217] 5217,45 unequal: No Solution Exploring Operation: 111-47=64, Resulting Numbers: [64] 64,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 45:[76, 43, 31], Operations: ['78-47=31'] Exploring Operation: 43+31=74, Resulting Numbers: [76, 74] Generated Node #0,0,0: 45:[76, 74] Operation: 43+31=74 Exploring Operation: 76-31=45, Resulting Numbers: [43, 45] Generated Node #0,0,1: 45:[43, 45] Operation: 76-31=45 Exploring Operation: 43-31=12, Resulting Numbers: [76, 12] Generated Node #0,0,2: 45:[76, 12] Operation: 43-31=12 Exploring Operation: 76-43=33, Resulting Numbers: [31, 33] Generated Node #0,0,3: 45:[31, 33] Operation: 76-43=33 Exploring Operation: 76+31=107, Resulting Numbers: [43, 107] Generated Node #0,0,4: 45:[43, 107] Operation: 76+31=107 Moving to Node #0,2 Current State: 45:[47, 78, 33], Operations: ['76-43=33'] Exploring Operation: 78+33=111, Resulting Numbers: [47, 111] Generated Node #0,2,0: 45:[47, 111] Operation: 78+33=111 Exploring Operation: 78-47=31, Resulting Numbers: [33, 31] Generated Node #0,2,1: 45:[33, 31] Operation: 78-47=31 Exploring Operation: 78-33=45, Resulting Numbers: [47, 45] Generated Node #0,2,2: 45:[47, 45] Operation: 78-33=45 Exploring Operation: 47-33=14, Resulting Numbers: [78, 14] Generated Node #0,2,3: 45:[78, 14] Operation: 47-33=14 Exploring Operation: 47+33=80, Resulting Numbers: [78, 80] Generated Node #0,2,4: 45:[78, 80] Operation: 47+33=80 Moving to Node #0,4 Current State: 45:[78, 43, 29], Operations: ['76-47=29'] Exploring Operation: 78-43=35, Resulting Numbers: [29, 35] Generated Node #0,4,0: 45:[29, 35] Operation: 78-43=35 Exploring Operation: 43-29=14, Resulting Numbers: [78, 14] Generated Node #0,4,1: 45:[78, 14] Operation: 43-29=14 Exploring Operation: 78+29=107, Resulting Numbers: [43, 107] Generated Node #0,4,2: 45:[43, 107] Operation: 78+29=107 Exploring Operation: 78-29=49, Resulting Numbers: [43, 49] Generated Node #0,4,3: 45:[43, 49] Operation: 78-29=49 Exploring Operation: 43+29=72, Resulting Numbers: [78, 72] Generated Node #0,4,4: 45:[78, 72] Operation: 43+29=72 Moving to Node #0,3,0 Current State: 45:[43, 45], Operations: ['78-76=2', '47-2=45'] Exploring Operation: 43*45=1935, Resulting Numbers: [1935] 1935,45 unequal: No Solution Exploring Operation: 45-43=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 43+45=88, Resulting Numbers: [88] 88,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[47, 45], Operations: ['78-76=2', '43+2=45'] Exploring Operation: 47*45=2115, Resulting Numbers: [2115] 2115,45 unequal: No Solution Exploring Operation: 47+45=92, Resulting Numbers: [92] 92,45 unequal: No Solution Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[43, 45], Operations: ['78-47=31', '76-31=45'] Exploring Operation: 45-43=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 43+45=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 43*45=1935, Resulting Numbers: [1935] 1935,45 unequal: No Solution Moving to Node #0,3,1 Current State: 45:[2, 4], Operations: ['78-76=2', '47-43=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,45 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[47, 45], Operations: ['76-43=33', '78-33=45'] Exploring Operation: 47*45=2115, Resulting Numbers: [2115] 2115,45 unequal: No Solution Exploring Operation: 47+45=92, Resulting Numbers: [92] 92,45 unequal: No Solution Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,45 unequal: No Solution Moving to Node #0,3,4 Current State: 45:[47, 41], Operations: ['78-76=2', '43-2=41'] Exploring Operation: 47+41=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 47*41=1927, Resulting Numbers: [1927] 1927,45 unequal: No Solution Exploring Operation: 47-41=6, Resulting Numbers: [6] 6,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[43, 49], Operations: ['78-76=2', '47+2=49'] Exploring Operation: 43+49=92, Resulting Numbers: [92] 92,45 unequal: No Solution Exploring Operation: 49-43=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 43*49=2107, Resulting Numbers: [2107] 2107,45 unequal: No Solution Moving to Node #0,4,3 Current State: 45:[43, 49], Operations: ['76-47=29', '78-29=49'] Exploring Operation: 49-43=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 43+49=92, Resulting Numbers: [92] 92,45 unequal: No Solution Exploring Operation: 43*49=2107, Resulting Numbers: [2107] 2107,45 unequal: No Solution Moving to Node #0,4,0 Current State: 45:[29, 35], Operations: ['76-47=29', '78-43=35'] Exploring Operation: 29*35=1015, Resulting Numbers: [1015] 1015,45 unequal: No Solution Exploring Operation: 29+35=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,45 unequal: No Solution Moving to Node #0,0,3 Current State: 45:[31, 33], Operations: ['78-47=31', '76-43=33'] Exploring Operation: 31+33=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 31*33=1023, Resulting Numbers: [1023] 1023,45 unequal: No Solution Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[33, 31], Operations: ['76-43=33', '78-47=31'] Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 33+31=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 33*31=1023, Resulting Numbers: [1023] 1023,45 unequal: No Solution Moving to Node #0,4,1 Current State: 45:[78, 14], Operations: ['76-47=29', '43-29=14'] Exploring Operation: 78*14=1092, Resulting Numbers: [1092] 1092,45 unequal: No Solution Exploring Operation: 78+14=92, Resulting Numbers: [92] 92,45 unequal: No Solution Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[76, 12], Operations: ['78-47=31', '43-31=12'] Exploring Operation: 76*12=912, Resulting Numbers: [912] 912,45 unequal: No Solution Exploring Operation: 76+12=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,45 unequal: No Solution Moving to Node #0,2,3 Current State: 45:[78, 14], Operations: ['76-43=33', '47-33=14'] Exploring Operation: 78+14=92, Resulting Numbers: [92] 92,45 unequal: No Solution Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 78*14=1092, Resulting Numbers: [1092] 1092,45 unequal: No Solution Moving to Node #0,4,4 Current State: 45:[78, 72], Operations: ['76-47=29', '43+29=72'] Exploring Operation: 78+72=150, Resulting Numbers: [150] 150,45 unequal: No Solution Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 78*72=5616, Resulting Numbers: [5616] 5616,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[76, 74], Operations: ['78-47=31', '43+31=74'] Exploring Operation: 76+74=150, Resulting Numbers: [150] 150,45 unequal: No Solution Exploring Operation: 76*74=5624, Resulting Numbers: [5624] 5624,45 unequal: No Solution Exploring Operation: 76-74=2, Resulting Numbers: [2] 2,45 unequal: No Solution Moving to Node #0,4,2 Current State: 45:[43, 107], Operations: ['76-47=29', '78+29=107'] Exploring Operation: 43+107=150, Resulting Numbers: [150] 150,45 unequal: No Solution Exploring Operation: 107-43=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 43*107=4601, Resulting Numbers: [4601] 4601,45 unequal: No Solution Moving to Node #0,0,4 Current State: 45:[43, 107], Operations: ['78-47=31', '76+31=107'] Exploring Operation: 43*107=4601, Resulting Numbers: [4601] 4601,45 unequal: No Solution Exploring Operation: 107-43=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 43+107=150, Resulting Numbers: [150] 150,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[47, 111], Operations: ['76-43=33', '78+33=111'] Exploring Operation: 111-47=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 47*111=5217, Resulting Numbers: [5217] 5217,45 unequal: No Solution Exploring Operation: 47+111=158, Resulting Numbers: [158] 158,45 unequal: No Solution Moving to Node #0,2,4 Current State: 45:[78, 80], Operations: ['76-43=33', '47+33=80'] Exploring Operation: 78+80=158, Resulting Numbers: [158] 158,45 unequal: No Solution Exploring Operation: 80-78=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 78*80=6240, Resulting Numbers: [6240] 6240,45 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 2, 9, 16, 12 ]
82
[ "16-9=7", "12*7=84", "84-2=82" ]
Current State: 82:[2, 9, 16, 12], Operations: [] Exploring Operation: 16-9=7, Resulting Numbers: [2, 12, 7] Generated Node #2: [2, 12, 7] from Operation: 16-9=7 Current State: 82:[2, 12, 7], Operations: ['16-9=7'] Exploring Operation: 12*7=84, Resulting Numbers: [2, 84] Generated Node #3: [2, 84] from Operation: 12*7=84 Current State: 82:[2, 84], Operations: ['16-9=7', '12*7=84'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[2, 9, 16, 12], Operations: [] Exploring Operation: 16-12=4, Resulting Numbers: [2, 9, 4] Generated Node #0,0: 82:[2, 9, 4] Operation: 16-12=4 Exploring Operation: 12-9=3, Resulting Numbers: [2, 16, 3] Generated Node #0,1: 82:[2, 16, 3] Operation: 12-9=3 Exploring Operation: 16-9=7, Resulting Numbers: [2, 12, 7] Generated Node #0,2: 82:[2, 12, 7] Operation: 16-9=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[2, 9, 4], Operations: ['16-12=4'] Exploring Operation: 9-4=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 82:[2, 5] Operation: 9-4=5 Exploring Operation: 9-2=7, Resulting Numbers: [4, 7] Generated Node #0,0,1: 82:[4, 7] Operation: 9-2=7 Exploring Operation: 9*4=36, Resulting Numbers: [2, 36] Generated Node #0,0,2: 82:[2, 36] Operation: 9*4=36 Moving to Node #0,0,0 Current State: 82:[2, 5], Operations: ['16-12=4', '9-4=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,82 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[2, 36], Operations: ['16-12=4', '9*4=36'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,82 unequal: No Solution Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[4, 7], Operations: ['16-12=4', '9-2=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[2, 16, 3], Operations: ['12-9=3'] Exploring Operation: 16/2=8, Resulting Numbers: [3, 8] Generated Node #0,1,0: 82:[3, 8] Operation: 16/2=8 Exploring Operation: 16*3=48, Resulting Numbers: [2, 48] Generated Node #0,1,1: 82:[2, 48] Operation: 16*3=48 Exploring Operation: 2*16=32, Resulting Numbers: [3, 32] Generated Node #0,1,2: 82:[3, 32] Operation: 2*16=32 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[3, 8], Operations: ['12-9=3', '16/2=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,82 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,82 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,82 unequal: No Solution No 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: 82:[2, 48], Operations: ['12-9=3', '16*3=48'] Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,82 unequal: No Solution No 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: 82:[3, 32], Operations: ['12-9=3', '2*16=32'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,82 unequal: No Solution Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,82 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: 82:[2, 12, 7], Operations: ['16-9=7'] Exploring Operation: 12-7=5, Resulting Numbers: [2, 5] Generated Node #0,2,0: 82:[2, 5] Operation: 12-7=5 Exploring Operation: 12*7=84, Resulting Numbers: [2, 84] Generated Node #0,2,1: 82:[2, 84] Operation: 12*7=84 Exploring Operation: 12/2=6, Resulting Numbers: [7, 6] Generated Node #0,2,2: 82:[7, 6] Operation: 12/2=6 Moving to Node #0,2,1 Current State: 82:[2, 84], Operations: ['16-9=7', '12*7=84'] Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,82 unequal: No Solution Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[2, 9, 16, 12], Operations: [] Exploring Operation: 16-9=7, Resulting Numbers: [2, 12, 7] Generated Node #0,2: 82:[2, 12, 7] Operation: 16-9=7 Moving to Node #0,2 Current State: 82:[2, 12, 7], Operations: ['16-9=7'] Exploring Operation: 12*7=84, Resulting Numbers: [2, 84] Generated Node #0,2,1: 82:[2, 84] Operation: 12*7=84 Moving to Node #0,2,1 Current State: 82:[2, 84], Operations: ['16-9=7', '12*7=84'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_3
sum_heuristic
[ 75, 10, 61, 29 ]
12
[ "61+29=90", "10*90=900", "900/75=12" ]
Current State: 12:[75, 10, 61, 29], Operations: [] Exploring Operation: 61+29=90, Resulting Numbers: [75, 10, 90] Generated Node #2: [75, 10, 90] from Operation: 61+29=90 Current State: 12:[75, 10, 90], Operations: ['61+29=90'] Exploring Operation: 10*90=900, Resulting Numbers: [75, 900] Generated Node #3: [75, 900] from Operation: 10*90=900 Current State: 12:[75, 900], Operations: ['61+29=90', '10*90=900'] Exploring Operation: 900/75=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[75, 10, 61, 29], Operations: [] Exploring Operation: 61-10=51, Resulting Numbers: [75, 29, 51] Generated Node #0,0: 12:[75, 29, 51] Operation: 61-10=51 Exploring Operation: 75-61=14, Resulting Numbers: [10, 29, 14] Generated Node #0,1: 12:[10, 29, 14] Operation: 75-61=14 Exploring Operation: 61-29=32, Resulting Numbers: [75, 10, 32] Generated Node #0,2: 12:[75, 10, 32] Operation: 61-29=32 Exploring Operation: 75-29=46, Resulting Numbers: [10, 61, 46] Generated Node #0,3: 12:[10, 61, 46] Operation: 75-29=46 Exploring Operation: 75-10=65, Resulting Numbers: [61, 29, 65] Generated Node #0,4: 12:[61, 29, 65] Operation: 75-10=65 Moving to Node #0,1 Current State: 12:[10, 29, 14], Operations: ['75-61=14'] Exploring Operation: 29-14=15, Resulting Numbers: [10, 15] Generated Node #0,1,0: 12:[10, 15] Operation: 29-14=15 Exploring Operation: 14-10=4, Resulting Numbers: [29, 4] Generated Node #0,1,1: 12:[29, 4] Operation: 14-10=4 Exploring Operation: 29-10=19, Resulting Numbers: [14, 19] Generated Node #0,1,2: 12:[14, 19] Operation: 29-10=19 Exploring Operation: 10+14=24, Resulting Numbers: [29, 24] Generated Node #0,1,3: 12:[29, 24] Operation: 10+14=24 Exploring Operation: 10+29=39, Resulting Numbers: [14, 39] Generated Node #0,1,4: 12:[14, 39] Operation: 10+29=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 12:[10, 15], Operations: ['75-61=14', '29-14=15'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 10*15=150, Resulting Numbers: [150] 150,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 12:[14, 19], Operations: ['75-61=14', '29-10=19'] Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 14*19=266, Resulting Numbers: [266] 266,12 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 12:[29, 4], Operations: ['75-61=14', '14-10=4'] Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 12:[29, 24], Operations: ['75-61=14', '10+14=24'] Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 29*24=696, Resulting Numbers: [696] 696,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 12:[14, 39], Operations: ['75-61=14', '10+29=39'] Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 14*39=546, Resulting Numbers: [546] 546,12 unequal: No Solution Exploring Operation: 14+39=53, Resulting Numbers: [53] 53,12 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: 12:[10, 61, 46], Operations: ['75-29=46'] Exploring Operation: 10+46=56, Resulting Numbers: [61, 56] Generated Node #0,3,0: 12:[61, 56] Operation: 10+46=56 Exploring Operation: 10+61=71, Resulting Numbers: [46, 71] Generated Node #0,3,1: 12:[46, 71] Operation: 10+61=71 Exploring Operation: 61-10=51, Resulting Numbers: [46, 51] Generated Node #0,3,2: 12:[46, 51] Operation: 61-10=51 Exploring Operation: 61-46=15, Resulting Numbers: [10, 15] Generated Node #0,3,3: 12:[10, 15] Operation: 61-46=15 Exploring Operation: 46-10=36, Resulting Numbers: [61, 36] Generated Node #0,3,4: 12:[61, 36] Operation: 46-10=36 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 12:[10, 15], Operations: ['75-29=46', '61-46=15'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 10*15=150, Resulting Numbers: [150] 150,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 12:[46, 51], Operations: ['75-29=46', '61-10=51'] Exploring Operation: 46+51=97, Resulting Numbers: [97] 97,12 unequal: No Solution Exploring Operation: 46*51=2346, Resulting Numbers: [2346] 2346,12 unequal: No Solution Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 12:[61, 36], Operations: ['75-29=46', '46-10=36'] Exploring Operation: 61*36=2196, Resulting Numbers: [2196] 2196,12 unequal: No Solution Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 61+36=97, Resulting Numbers: [97] 97,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 12:[61, 56], Operations: ['75-29=46', '10+46=56'] Exploring Operation: 61*56=3416, Resulting Numbers: [3416] 3416,12 unequal: No Solution Exploring Operation: 61+56=117, Resulting Numbers: [117] 117,12 unequal: No Solution Exploring Operation: 61-56=5, Resulting Numbers: [5] 5,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 12:[46, 71], Operations: ['75-29=46', '10+61=71'] Exploring Operation: 46+71=117, Resulting Numbers: [117] 117,12 unequal: No Solution Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 46*71=3266, Resulting Numbers: [3266] 3266,12 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: 12:[75, 10, 32], Operations: ['61-29=32'] Exploring Operation: 75+10=85, Resulting Numbers: [32, 85] Generated Node #0,2,0: 12:[32, 85] Operation: 75+10=85 Exploring Operation: 32-10=22, Resulting Numbers: [75, 22] Generated Node #0,2,1: 12:[75, 22] Operation: 32-10=22 Exploring Operation: 10+32=42, Resulting Numbers: [75, 42] Generated Node #0,2,2: 12:[75, 42] Operation: 10+32=42 Exploring Operation: 75-10=65, Resulting Numbers: [32, 65] Generated Node #0,2,3: 12:[32, 65] Operation: 75-10=65 Exploring Operation: 75-32=43, Resulting Numbers: [10, 43] Generated Node #0,2,4: 12:[10, 43] Operation: 75-32=43 Moving to Node #0,0 Current State: 12:[75, 29, 51], Operations: ['61-10=51'] Exploring Operation: 51-29=22, Resulting Numbers: [75, 22] Generated Node #0,0,0: 12:[75, 22] Operation: 51-29=22 Exploring Operation: 75+51=126, Resulting Numbers: [29, 126] Generated Node #0,0,1: 12:[29, 126] Operation: 75+51=126 Exploring Operation: 75-51=24, Resulting Numbers: [29, 24] Generated Node #0,0,2: 12:[29, 24] Operation: 75-51=24 Exploring Operation: 75+29=104, Resulting Numbers: [51, 104] Generated Node #0,0,3: 12:[51, 104] Operation: 75+29=104 Exploring Operation: 75-29=46, Resulting Numbers: [51, 46] Generated Node #0,0,4: 12:[51, 46] Operation: 75-29=46 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 12:[29, 24], Operations: ['61-10=51', '75-51=24'] Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 29*24=696, Resulting Numbers: [696] 696,12 unequal: No Solution Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[75, 22], Operations: ['61-10=51', '51-29=22'] Exploring Operation: 75*22=1650, Resulting Numbers: [1650] 1650,12 unequal: No Solution Exploring Operation: 75-22=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 75+22=97, Resulting Numbers: [97] 97,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 12:[51, 46], Operations: ['61-10=51', '75-29=46'] Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 51+46=97, Resulting Numbers: [97] 97,12 unequal: No Solution Exploring Operation: 51*46=2346, Resulting Numbers: [2346] 2346,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 12:[29, 126], Operations: ['61-10=51', '75+51=126'] Exploring Operation: 126-29=97, Resulting Numbers: [97] 97,12 unequal: No Solution Exploring Operation: 29+126=155, Resulting Numbers: [155] 155,12 unequal: No Solution Exploring Operation: 29*126=3654, Resulting Numbers: [3654] 3654,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 12:[51, 104], Operations: ['61-10=51', '75+29=104'] Exploring Operation: 104-51=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 51+104=155, Resulting Numbers: [155] 155,12 unequal: No Solution Exploring Operation: 51*104=5304, Resulting Numbers: [5304] 5304,12 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: 12:[61, 29, 65], Operations: ['75-10=65'] Exploring Operation: 61-29=32, Resulting Numbers: [65, 32] Generated Node #0,4,0: 12:[65, 32] Operation: 61-29=32 Exploring Operation: 61+29=90, Resulting Numbers: [65, 90] Generated Node #0,4,1: 12:[65, 90] Operation: 61+29=90 Exploring Operation: 65-61=4, Resulting Numbers: [29, 4] Generated Node #0,4,2: 12:[29, 4] Operation: 65-61=4 Exploring Operation: 65-29=36, Resulting Numbers: [61, 36] Generated Node #0,4,3: 12:[61, 36] Operation: 65-29=36 Exploring Operation: 61+65=126, Resulting Numbers: [29, 126] Generated Node #0,4,4: 12:[29, 126] Operation: 61+65=126 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 12:[29, 4], Operations: ['75-10=65', '65-61=4'] Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,12 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 12:[65, 32], Operations: ['75-10=65', '61-29=32'] Exploring Operation: 65*32=2080, Resulting Numbers: [2080] 2080,12 unequal: No Solution Exploring Operation: 65+32=97, Resulting Numbers: [97] 97,12 unequal: No Solution Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 12:[61, 36], Operations: ['75-10=65', '65-29=36'] Exploring Operation: 61*36=2196, Resulting Numbers: [2196] 2196,12 unequal: No Solution Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 61+36=97, Resulting Numbers: [97] 97,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 12:[65, 90], Operations: ['75-10=65', '61+29=90'] Exploring Operation: 65+90=155, Resulting Numbers: [155] 155,12 unequal: No Solution Exploring Operation: 90-65=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 65*90=5850, Resulting Numbers: [5850] 5850,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 12:[29, 126], Operations: ['75-10=65', '61+65=126'] Exploring Operation: 29+126=155, Resulting Numbers: [155] 155,12 unequal: No Solution Exploring Operation: 126-29=97, Resulting Numbers: [97] 97,12 unequal: No Solution Exploring Operation: 29*126=3654, Resulting Numbers: [3654] 3654,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 12:[10, 43], Operations: ['61-29=32', '75-32=43'] Exploring Operation: 10*43=430, Resulting Numbers: [430] 430,12 unequal: No Solution Exploring Operation: 10+43=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,12 unequal: No Solution Moving to Node #0,2,3 Current State: 12:[32, 65], Operations: ['61-29=32', '75-10=65'] Exploring Operation: 32*65=2080, Resulting Numbers: [2080] 2080,12 unequal: No Solution Exploring Operation: 32+65=97, Resulting Numbers: [97] 97,12 unequal: No Solution Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[75, 22], Operations: ['61-29=32', '32-10=22'] Exploring Operation: 75+22=97, Resulting Numbers: [97] 97,12 unequal: No Solution Exploring Operation: 75-22=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 75*22=1650, Resulting Numbers: [1650] 1650,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[32, 85], Operations: ['61-29=32', '75+10=85'] Exploring Operation: 32*85=2720, Resulting Numbers: [2720] 2720,12 unequal: No Solution Exploring Operation: 32+85=117, Resulting Numbers: [117] 117,12 unequal: No Solution Exploring Operation: 85-32=53, Resulting Numbers: [53] 53,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[75, 42], Operations: ['61-29=32', '10+32=42'] Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 75+42=117, Resulting Numbers: [117] 117,12 unequal: No Solution Exploring Operation: 75*42=3150, Resulting Numbers: [3150] 3150,12 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 74, 42, 52, 20 ]
72
[ "52-42=10", "20/10=2", "74-2=72" ]
Current State: 72:[74, 42, 52, 20], Operations: [] Exploring Operation: 52-42=10, Resulting Numbers: [74, 20, 10] Generated Node #2: [74, 20, 10] from Operation: 52-42=10 Current State: 72:[74, 20, 10], Operations: ['52-42=10'] Exploring Operation: 20/10=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 20/10=2 Current State: 72:[74, 2], Operations: ['52-42=10', '20/10=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[74, 42, 52, 20], Operations: [] Exploring Operation: 52-42=10, Resulting Numbers: [74, 20, 10] Generated Node #0,0: 72:[74, 20, 10] Operation: 52-42=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[74, 20, 10], Operations: ['52-42=10'] Exploring Operation: 20/10=2, Resulting Numbers: [74, 2] Generated Node #0,0,0: 72:[74, 2] Operation: 20/10=2 Moving to Node #0,0,0 Current State: 72:[74, 2], Operations: ['52-42=10', '20/10=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[74, 42, 52, 20], Operations: [] Exploring Operation: 52-42=10, Resulting Numbers: [74, 20, 10] Generated Node #0,0: 72:[74, 20, 10] Operation: 52-42=10 Moving to Node #0,0 Current State: 72:[74, 20, 10], Operations: ['52-42=10'] Exploring Operation: 20/10=2, Resulting Numbers: [74, 2] Generated Node #0,0,0: 72:[74, 2] Operation: 20/10=2 Moving to Node #0,0,0 Current State: 72:[74, 2], Operations: ['52-42=10', '20/10=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 94, 28, 18, 57 ]
47
[ "94+28=122", "18+57=75", "122-75=47" ]
Current State: 47:[94, 28, 18, 57], Operations: [] Exploring Operation: 94+28=122, Resulting Numbers: [18, 57, 122] Generated Node #2: [18, 57, 122] from Operation: 94+28=122 Current State: 47:[18, 57, 122], Operations: ['94+28=122'] Exploring Operation: 18+57=75, Resulting Numbers: [122, 75] Generated Node #3: [122, 75] from Operation: 18+57=75 Current State: 47:[122, 75], Operations: ['94+28=122', '18+57=75'] Exploring Operation: 122-75=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[94, 28, 18, 57], Operations: [] Exploring Operation: 94-28=66, Resulting Numbers: [18, 57, 66] Generated Node #0,0: 47:[18, 57, 66] Operation: 94-28=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[18, 57, 66], Operations: ['94-28=66'] Exploring Operation: 66-18=48, Resulting Numbers: [57, 48] Generated Node #0,0,0: 47:[57, 48] Operation: 66-18=48 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[57, 48], Operations: ['94-28=66', '66-18=48'] Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 19, 57, 88, 47 ]
97
[ "57-19=38", "88+47=135", "135-38=97" ]
Current State: 97:[19, 57, 88, 47], Operations: [] Exploring Operation: 57-19=38, Resulting Numbers: [88, 47, 38] Generated Node #2: [88, 47, 38] from Operation: 57-19=38 Current State: 97:[88, 47, 38], Operations: ['57-19=38'] Exploring Operation: 88+47=135, Resulting Numbers: [38, 135] Generated Node #3: [38, 135] from Operation: 88+47=135 Current State: 97:[38, 135], Operations: ['57-19=38', '88+47=135'] Exploring Operation: 135-38=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[19, 57, 88, 47], Operations: [] Exploring Operation: 19+57=76, Resulting Numbers: [88, 47, 76] Generated Node #0,0: 97:[88, 47, 76] Operation: 19+57=76 Moving to Node #0,0 Current State: 97:[88, 47, 76], Operations: ['19+57=76'] Exploring Operation: 47+76=123, Resulting Numbers: [88, 123] Generated Node #0,0,0: 97:[88, 123] Operation: 47+76=123 Moving to Node #0,0,0 Current State: 97:[88, 123], Operations: ['19+57=76', '47+76=123'] Exploring Operation: 123-88=35, Resulting Numbers: [35] 35,97 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 71, 45, 7, 31 ]
69
[ "45-31=14", "14/7=2", "71-2=69" ]
Current State: 69:[71, 45, 7, 31], Operations: [] Exploring Operation: 45-31=14, Resulting Numbers: [71, 7, 14] Generated Node #2: [71, 7, 14] from Operation: 45-31=14 Current State: 69:[71, 7, 14], Operations: ['45-31=14'] Exploring Operation: 14/7=2, Resulting Numbers: [71, 2] Generated Node #3: [71, 2] from Operation: 14/7=2 Current State: 69:[71, 2], Operations: ['45-31=14', '14/7=2'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[71, 45, 7, 31], Operations: [] Exploring Operation: 45+31=76, Resulting Numbers: [71, 7, 76] Generated Node #0,0: 69:[71, 7, 76] Operation: 45+31=76 Exploring Operation: 45-31=14, Resulting Numbers: [71, 7, 14] Generated Node #0,1: 69:[71, 7, 14] Operation: 45-31=14 Exploring Operation: 71-45=26, Resulting Numbers: [7, 31, 26] Generated Node #0,2: 69:[7, 31, 26] Operation: 71-45=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[71, 7, 76], Operations: ['45+31=76'] Exploring Operation: 76-7=69, Resulting Numbers: [71, 69] Generated Node #0,0,0: 69:[71, 69] Operation: 76-7=69 Exploring Operation: 76-71=5, Resulting Numbers: [7, 5] Generated Node #0,0,1: 69:[7, 5] Operation: 76-71=5 Exploring Operation: 71-7=64, Resulting Numbers: [76, 64] Generated Node #0,0,2: 69:[76, 64] Operation: 71-7=64 Moving to Node #0,0,0 Current State: 69:[71, 69], Operations: ['45+31=76', '76-7=69'] Exploring Operation: 71*69=4899, Resulting Numbers: [4899] 4899,69 unequal: No Solution Exploring Operation: 71+69=140, Resulting Numbers: [140] 140,69 unequal: No Solution Exploring Operation: 71-69=2, Resulting Numbers: [2] 2,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[7, 5], Operations: ['45+31=76', '76-71=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,69 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[76, 64], Operations: ['45+31=76', '71-7=64'] Exploring Operation: 76-64=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 76*64=4864, Resulting Numbers: [4864] 4864,69 unequal: No Solution Exploring Operation: 76+64=140, Resulting Numbers: [140] 140,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[71, 7, 14], Operations: ['45-31=14'] Exploring Operation: 14-7=7, Resulting Numbers: [71, 7] Generated Node #0,1,0: 69:[71, 7] Operation: 14-7=7 Exploring Operation: 7+14=21, Resulting Numbers: [71, 21] Generated Node #0,1,1: 69:[71, 21] Operation: 7+14=21 Exploring Operation: 14/7=2, Resulting Numbers: [71, 2] Generated Node #0,1,2: 69:[71, 2] Operation: 14/7=2 Moving to Node #0,1,2 Current State: 69:[71, 2], Operations: ['45-31=14', '14/7=2'] Exploring Operation: 71*2=142, Resulting Numbers: [142] 142,69 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[71, 45, 7, 31], Operations: [] Exploring Operation: 45-31=14, Resulting Numbers: [71, 7, 14] Generated Node #0,1: 69:[71, 7, 14] Operation: 45-31=14 Moving to Node #0,1 Current State: 69:[71, 7, 14], Operations: ['45-31=14'] Exploring Operation: 14/7=2, Resulting Numbers: [71, 2] Generated Node #0,1,2: 69:[71, 2] Operation: 14/7=2 Moving to Node #0,1,2 Current State: 69:[71, 2], Operations: ['45-31=14', '14/7=2'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 23, 15, 3, 5 ]
11
[ "23+15=38", "38-5=33", "33/3=11" ]
Current State: 11:[23, 15, 3, 5], Operations: [] Exploring Operation: 23+15=38, Resulting Numbers: [3, 5, 38] Generated Node #2: [3, 5, 38] from Operation: 23+15=38 Current State: 11:[3, 5, 38], Operations: ['23+15=38'] Exploring Operation: 38-5=33, Resulting Numbers: [3, 33] Generated Node #3: [3, 33] from Operation: 38-5=33 Current State: 11:[3, 33], Operations: ['23+15=38', '38-5=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[23, 15, 3, 5], Operations: [] Exploring Operation: 23-3=20, Resulting Numbers: [15, 5, 20] Generated Node #0,0: 11:[15, 5, 20] Operation: 23-3=20 Exploring Operation: 23-15=8, Resulting Numbers: [3, 5, 8] Generated Node #0,1: 11:[3, 5, 8] Operation: 23-15=8 Moving to Node #0,1 Current State: 11:[3, 5, 8], Operations: ['23-15=8'] Exploring Operation: 3+8=11, Resulting Numbers: [5, 11] Generated Node #0,1,0: 11:[5, 11] Operation: 3+8=11 Exploring Operation: 3+5=8, Resulting Numbers: [8, 8] Generated Node #0,1,1: 11:[8, 8] Operation: 3+5=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[5, 11], Operations: ['23-15=8', '3+8=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[8, 8], Operations: ['23-15=8', '3+5=8'] Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,11 unequal: No Solution Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 11:[15, 5, 20], Operations: ['23-3=20'] Exploring Operation: 15-5=10, Resulting Numbers: [20, 10] Generated Node #0,0,0: 11:[20, 10] Operation: 15-5=10 Exploring Operation: 20-5=15, Resulting Numbers: [15, 15] Generated Node #0,0,1: 11:[15, 15] Operation: 20-5=15 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[15, 15], Operations: ['23-3=20', '20-5=15'] Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[20, 10], Operations: ['23-3=20', '15-5=10'] Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,11 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
[ 72, 57, 19, 52 ]
13
[ "72-57=15", "19-15=4", "52/4=13" ]
Current State: 13:[72, 57, 19, 52], Operations: [] Exploring Operation: 72-57=15, Resulting Numbers: [19, 52, 15] Generated Node #2: [19, 52, 15] from Operation: 72-57=15 Current State: 13:[19, 52, 15], Operations: ['72-57=15'] Exploring Operation: 19-15=4, Resulting Numbers: [52, 4] Generated Node #3: [52, 4] from Operation: 19-15=4 Current State: 13:[52, 4], Operations: ['72-57=15', '19-15=4'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[72, 57, 19, 52], Operations: [] Exploring Operation: 72-52=20, Resulting Numbers: [57, 19, 20] Generated Node #0,0: 13:[57, 19, 20] Operation: 72-52=20 Exploring Operation: 72-57=15, Resulting Numbers: [19, 52, 15] Generated Node #0,1: 13:[19, 52, 15] Operation: 72-57=15 Exploring Operation: 57-52=5, Resulting Numbers: [72, 19, 5] Generated Node #0,2: 13:[72, 19, 5] Operation: 57-52=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[19, 52, 15], Operations: ['72-57=15'] Exploring Operation: 19-15=4, Resulting Numbers: [52, 4] Generated Node #0,1,0: 13:[52, 4] Operation: 19-15=4 Exploring Operation: 52-19=33, Resulting Numbers: [15, 33] Generated Node #0,1,1: 13:[15, 33] Operation: 52-19=33 Exploring Operation: 52-15=37, Resulting Numbers: [19, 37] Generated Node #0,1,2: 13:[19, 37] Operation: 52-15=37 Moving to Node #0,1,1 Current State: 13:[15, 33], Operations: ['72-57=15', '52-19=33'] Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,13 unequal: No Solution Exploring Operation: 15*33=495, Resulting Numbers: [495] 495,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[19, 37], Operations: ['72-57=15', '52-15=37'] Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,13 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,13 unequal: No Solution Exploring Operation: 19*37=703, Resulting Numbers: [703] 703,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[52, 4], Operations: ['72-57=15', '19-15=4'] Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,13 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[72, 57, 19, 52], Operations: [] Exploring Operation: 72-57=15, Resulting Numbers: [19, 52, 15] Generated Node #0,1: 13:[19, 52, 15] Operation: 72-57=15 Moving to Node #0,1 Current State: 13:[19, 52, 15], Operations: ['72-57=15'] Exploring Operation: 19-15=4, Resulting Numbers: [52, 4] Generated Node #0,1,0: 13:[52, 4] Operation: 19-15=4 Moving to Node #0,1,0 Current State: 13:[52, 4], Operations: ['72-57=15', '19-15=4'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 57, 45, 57, 39 ]
83
[ "57/57=1", "45+39=84", "84-1=83" ]
Current State: 83:[57, 45, 57, 39], Operations: [] Exploring Operation: 57/57=1, Resulting Numbers: [45, 39, 1] Generated Node #2: [45, 39, 1] from Operation: 57/57=1 Current State: 83:[45, 39, 1], Operations: ['57/57=1'] Exploring Operation: 45+39=84, Resulting Numbers: [1, 84] Generated Node #3: [1, 84] from Operation: 45+39=84 Current State: 83:[1, 84], Operations: ['57/57=1', '45+39=84'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[57, 45, 57, 39], Operations: [] Exploring Operation: 45+39=84, Resulting Numbers: [57, 57, 84] Generated Node #0,0: 83:[57, 57, 84] Operation: 45+39=84 Exploring Operation: 57+39=96, Resulting Numbers: [45, 57, 96] Generated Node #0,1: 83:[45, 57, 96] Operation: 57+39=96 Exploring Operation: 57+39=96, Resulting Numbers: [57, 45, 96] Generated Node #0,2: 83:[57, 45, 96] Operation: 57+39=96 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[57, 57, 84], Operations: ['45+39=84'] Exploring Operation: 57+57=114, Resulting Numbers: [84, 114] Generated Node #0,0,0: 83:[84, 114] Operation: 57+57=114 Exploring Operation: 84-57=27, Resulting Numbers: [57, 27] Generated Node #0,0,1: 83:[57, 27] Operation: 84-57=27 Exploring Operation: 84-57=27, Resulting Numbers: [57, 27] Generated Node #0,0,2: 83:[57, 27] Operation: 84-57=27 Moving to Node #0,0,0 Current State: 83:[84, 114], Operations: ['45+39=84', '57+57=114'] Exploring Operation: 84+114=198, Resulting Numbers: [198] 198,83 unequal: No Solution Exploring Operation: 84*114=9576, Resulting Numbers: [9576] 9576,83 unequal: No Solution Exploring Operation: 114-84=30, Resulting Numbers: [30] 30,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[57, 27], Operations: ['45+39=84', '84-57=27'] Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 57+27=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 57*27=1539, Resulting Numbers: [1539] 1539,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[57, 27], Operations: ['45+39=84', '84-57=27'] Exploring Operation: 57*27=1539, Resulting Numbers: [1539] 1539,83 unequal: No Solution Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 57+27=84, Resulting Numbers: [84] 84,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[45, 57, 96], Operations: ['57+39=96'] Exploring Operation: 45+57=102, Resulting Numbers: [96, 102] Generated Node #0,1,0: 83:[96, 102] Operation: 45+57=102 Exploring Operation: 96-57=39, Resulting Numbers: [45, 39] Generated Node #0,1,1: 83:[45, 39] Operation: 96-57=39 Exploring Operation: 96-45=51, Resulting Numbers: [57, 51] Generated Node #0,1,2: 83:[57, 51] Operation: 96-45=51 Moving to Node #0,1,0 Current State: 83:[96, 102], Operations: ['57+39=96', '45+57=102'] Exploring Operation: 96*102=9792, Resulting Numbers: [9792] 9792,83 unequal: No Solution Exploring Operation: 102-96=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 96+102=198, Resulting Numbers: [198] 198,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[57, 51], Operations: ['57+39=96', '96-45=51'] Exploring Operation: 57+51=108, Resulting Numbers: [108] 108,83 unequal: No Solution Exploring Operation: 57-51=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 57*51=2907, Resulting Numbers: [2907] 2907,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[45, 39], Operations: ['57+39=96', '96-57=39'] Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 45*39=1755, Resulting Numbers: [1755] 1755,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[57, 45, 96], Operations: ['57+39=96'] Exploring Operation: 57+45=102, Resulting Numbers: [96, 102] Generated Node #0,2,0: 83:[96, 102] Operation: 57+45=102 Exploring Operation: 96-45=51, Resulting Numbers: [57, 51] Generated Node #0,2,1: 83:[57, 51] Operation: 96-45=51 Exploring Operation: 96-57=39, Resulting Numbers: [45, 39] Generated Node #0,2,2: 83:[45, 39] Operation: 96-57=39 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 83:[96, 102], Operations: ['57+39=96', '57+45=102'] Exploring Operation: 96+102=198, Resulting Numbers: [198] 198,83 unequal: No Solution Exploring Operation: 96*102=9792, Resulting Numbers: [9792] 9792,83 unequal: No Solution Exploring Operation: 102-96=6, Resulting Numbers: [6] 6,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:[57, 51], Operations: ['57+39=96', '96-45=51'] Exploring Operation: 57-51=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 57+51=108, Resulting Numbers: [108] 108,83 unequal: No Solution Exploring Operation: 57*51=2907, Resulting Numbers: [2907] 2907,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:[45, 39], Operations: ['57+39=96', '96-57=39'] Exploring Operation: 45*39=1755, Resulting Numbers: [1755] 1755,83 unequal: No Solution Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 12, 48, 9, 45 ]
63
[ "12+9=21", "48-45=3", "21*3=63" ]
Current State: 63:[12, 48, 9, 45], Operations: [] Exploring Operation: 12+9=21, Resulting Numbers: [48, 45, 21] Generated Node #2: [48, 45, 21] from Operation: 12+9=21 Current State: 63:[48, 45, 21], Operations: ['12+9=21'] Exploring Operation: 48-45=3, Resulting Numbers: [21, 3] Generated Node #3: [21, 3] from Operation: 48-45=3 Current State: 63:[21, 3], Operations: ['12+9=21', '48-45=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[12, 48, 9, 45], Operations: [] Exploring Operation: 48-45=3, Resulting Numbers: [12, 9, 3] Generated Node #0,0: 63:[12, 9, 3] Operation: 48-45=3 Exploring Operation: 12+45=57, Resulting Numbers: [48, 9, 57] Generated Node #0,1: 63:[48, 9, 57] Operation: 12+45=57 Exploring Operation: 48/12=4, Resulting Numbers: [9, 45, 4] Generated Node #0,2: 63:[9, 45, 4] Operation: 48/12=4 Exploring Operation: 12+48=60, Resulting Numbers: [9, 45, 60] Generated Node #0,3: 63:[9, 45, 60] Operation: 12+48=60 Exploring Operation: 45/9=5, Resulting Numbers: [12, 48, 5] Generated Node #0,4: 63:[12, 48, 5] Operation: 45/9=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[12, 9, 3], Operations: ['48-45=3'] Exploring Operation: 9/3=3, Resulting Numbers: [12, 3] Generated Node #0,0,0: 63:[12, 3] Operation: 9/3=3 Exploring Operation: 12+9=21, Resulting Numbers: [3, 21] Generated Node #0,0,1: 63:[3, 21] Operation: 12+9=21 Exploring Operation: 12/3=4, Resulting Numbers: [9, 4] Generated Node #0,0,2: 63:[9, 4] Operation: 12/3=4 Exploring Operation: 12-9=3, Resulting Numbers: [3, 3] Generated Node #0,0,3: 63:[3, 3] Operation: 12-9=3 Exploring Operation: 12-3=9, Resulting Numbers: [9, 9] Generated Node #0,0,4: 63:[9, 9] Operation: 12-3=9 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[3, 21], Operations: ['48-45=3', '12+9=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,63 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[12, 48, 9, 45], Operations: [] Exploring Operation: 48-45=3, Resulting Numbers: [12, 9, 3] Generated Node #0,0: 63:[12, 9, 3] Operation: 48-45=3 Moving to Node #0,0 Current State: 63:[12, 9, 3], Operations: ['48-45=3'] Exploring Operation: 12+9=21, Resulting Numbers: [3, 21] Generated Node #0,0,1: 63:[3, 21] Operation: 12+9=21 Moving to Node #0,0,1 Current State: 63:[3, 21], Operations: ['48-45=3', '12+9=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 35, 60, 28, 52 ]
49
[ "60-35=25", "52-28=24", "25+24=49" ]
Current State: 49:[35, 60, 28, 52], Operations: [] Exploring Operation: 60-35=25, Resulting Numbers: [28, 52, 25] Generated Node #2: [28, 52, 25] from Operation: 60-35=25 Current State: 49:[28, 52, 25], Operations: ['60-35=25'] Exploring Operation: 52-28=24, Resulting Numbers: [25, 24] Generated Node #3: [25, 24] from Operation: 52-28=24 Current State: 49:[25, 24], Operations: ['60-35=25', '52-28=24'] Exploring Operation: 25+24=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[35, 60, 28, 52], Operations: [] Exploring Operation: 35-28=7, Resulting Numbers: [60, 52, 7] Generated Node #0,0: 49:[60, 52, 7] Operation: 35-28=7 Exploring Operation: 35+28=63, Resulting Numbers: [60, 52, 63] Generated Node #0,1: 49:[60, 52, 63] Operation: 35+28=63 Moving to Node #0,0 Current State: 49:[60, 52, 7], Operations: ['35-28=7'] Exploring Operation: 60-7=53, Resulting Numbers: [52, 53] Generated Node #0,0,0: 49:[52, 53] Operation: 60-7=53 Exploring Operation: 60-52=8, Resulting Numbers: [7, 8] Generated Node #0,0,1: 49:[7, 8] Operation: 60-52=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[7, 8], Operations: ['35-28=7', '60-52=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,49 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[52, 53], Operations: ['35-28=7', '60-7=53'] Exploring Operation: 52+53=105, Resulting Numbers: [105] 105,49 unequal: No Solution Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 49:[60, 52, 63], Operations: ['35+28=63'] Exploring Operation: 60-52=8, Resulting Numbers: [63, 8] Generated Node #0,1,0: 49:[63, 8] Operation: 60-52=8 Exploring Operation: 63-60=3, Resulting Numbers: [52, 3] Generated Node #0,1,1: 49:[52, 3] Operation: 63-60=3 Moving to Node #0,1,1 Current State: 49:[52, 3], Operations: ['35+28=63', '63-60=3'] Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[35, 60, 28, 52], Operations: [] Exploring Operation: 35+28=63, Resulting Numbers: [60, 52, 63] Generated Node #0,1: 49:[60, 52, 63] Operation: 35+28=63 Moving to Node #0,1 Current State: 49:[60, 52, 63], Operations: ['35+28=63'] Exploring Operation: 63-60=3, Resulting Numbers: [52, 3] Generated Node #0,1,1: 49:[52, 3] Operation: 63-60=3 Moving to Node #0,1,1 Current State: 49:[52, 3], Operations: ['35+28=63', '63-60=3'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 41, 99, 3, 36 ]
84
[ "41-36=5", "3*5=15", "99-15=84" ]
Current State: 84:[41, 99, 3, 36], Operations: [] Exploring Operation: 41-36=5, Resulting Numbers: [99, 3, 5] Generated Node #2: [99, 3, 5] from Operation: 41-36=5 Current State: 84:[99, 3, 5], Operations: ['41-36=5'] Exploring Operation: 3*5=15, Resulting Numbers: [99, 15] Generated Node #3: [99, 15] from Operation: 3*5=15 Current State: 84:[99, 15], Operations: ['41-36=5', '3*5=15'] Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[41, 99, 3, 36], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [41, 36, 33] Generated Node #0,0: 84:[41, 36, 33] Operation: 99/3=33 Moving to Node #0,0 Current State: 84:[41, 36, 33], Operations: ['99/3=33'] Exploring Operation: 36-33=3, Resulting Numbers: [41, 3] Generated Node #0,0,0: 84:[41, 3] Operation: 36-33=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[41, 3], Operations: ['99/3=33', '36-33=3'] Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,84 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
[ 74, 78, 22, 91 ]
39
[ "74+78=152", "22+91=113", "152-113=39" ]
Current State: 39:[74, 78, 22, 91], Operations: [] Exploring Operation: 74+78=152, Resulting Numbers: [22, 91, 152] Generated Node #2: [22, 91, 152] from Operation: 74+78=152 Current State: 39:[22, 91, 152], Operations: ['74+78=152'] Exploring Operation: 22+91=113, Resulting Numbers: [152, 113] Generated Node #3: [152, 113] from Operation: 22+91=113 Current State: 39:[152, 113], Operations: ['74+78=152', '22+91=113'] Exploring Operation: 152-113=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[74, 78, 22, 91], Operations: [] Exploring Operation: 78-74=4, Resulting Numbers: [22, 91, 4] Generated Node #0,0: 39:[22, 91, 4] Operation: 78-74=4 Exploring Operation: 91-74=17, Resulting Numbers: [78, 22, 17] Generated Node #0,1: 39:[78, 22, 17] Operation: 91-74=17 Exploring Operation: 74-22=52, Resulting Numbers: [78, 91, 52] Generated Node #0,2: 39:[78, 91, 52] Operation: 74-22=52 Exploring Operation: 91-78=13, Resulting Numbers: [74, 22, 13] Generated Node #0,3: 39:[74, 22, 13] Operation: 91-78=13 Moving to Node #0,3 Current State: 39:[74, 22, 13], Operations: ['91-78=13'] Exploring Operation: 74-22=52, Resulting Numbers: [13, 52] Generated Node #0,3,0: 39:[13, 52] Operation: 74-22=52 Exploring Operation: 74-13=61, Resulting Numbers: [22, 61] Generated Node #0,3,1: 39:[22, 61] Operation: 74-13=61 Exploring Operation: 22+13=35, Resulting Numbers: [74, 35] Generated Node #0,3,2: 39:[74, 35] Operation: 22+13=35 Exploring Operation: 22-13=9, Resulting Numbers: [74, 9] Generated Node #0,3,3: 39:[74, 9] Operation: 22-13=9 Moving to Node #0,1 Current State: 39:[78, 22, 17], Operations: ['91-74=17'] Exploring Operation: 78-22=56, Resulting Numbers: [17, 56] Generated Node #0,1,0: 39:[17, 56] Operation: 78-22=56 Exploring Operation: 22-17=5, Resulting Numbers: [78, 5] Generated Node #0,1,1: 39:[78, 5] Operation: 22-17=5 Exploring Operation: 78-17=61, Resulting Numbers: [22, 61] Generated Node #0,1,2: 39:[22, 61] Operation: 78-17=61 Exploring Operation: 22+17=39, Resulting Numbers: [78, 39] Generated Node #0,1,3: 39:[78, 39] Operation: 22+17=39 Moving to Node #0,0 Current State: 39:[22, 91, 4], Operations: ['78-74=4'] Exploring Operation: 22-4=18, Resulting Numbers: [91, 18] Generated Node #0,0,0: 39:[91, 18] Operation: 22-4=18 Exploring Operation: 22+4=26, Resulting Numbers: [91, 26] Generated Node #0,0,1: 39:[91, 26] Operation: 22+4=26 Exploring Operation: 91-4=87, Resulting Numbers: [22, 87] Generated Node #0,0,2: 39:[22, 87] Operation: 91-4=87 Exploring Operation: 91-22=69, Resulting Numbers: [4, 69] Generated Node #0,0,3: 39:[4, 69] Operation: 91-22=69 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 39:[4, 69], Operations: ['78-74=4', '91-22=69'] Exploring Operation: 4+69=73, Resulting Numbers: [73] 73,39 unequal: No Solution Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,39 unequal: No Solution Exploring Operation: 4*69=276, Resulting Numbers: [276] 276,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[91, 18], Operations: ['78-74=4', '22-4=18'] Exploring Operation: 91+18=109, Resulting Numbers: [109] 109,39 unequal: No Solution Exploring Operation: 91-18=73, Resulting Numbers: [73] 73,39 unequal: No Solution Exploring Operation: 91*18=1638, Resulting Numbers: [1638] 1638,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[22, 87], Operations: ['78-74=4', '91-4=87'] Exploring Operation: 87-22=65, Resulting Numbers: [65] 65,39 unequal: No Solution Exploring Operation: 22*87=1914, Resulting Numbers: [1914] 1914,39 unequal: No Solution Exploring Operation: 22+87=109, Resulting Numbers: [109] 109,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[91, 26], Operations: ['78-74=4', '22+4=26'] Exploring Operation: 91-26=65, Resulting Numbers: [65] 65,39 unequal: No Solution Exploring Operation: 91+26=117, Resulting Numbers: [117] 117,39 unequal: No Solution Exploring Operation: 91*26=2366, Resulting Numbers: [2366] 2366,39 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: 39:[78, 91, 52], Operations: ['74-22=52'] Exploring Operation: 91-78=13, Resulting Numbers: [52, 13] Generated Node #0,2,0: 39:[52, 13] Operation: 91-78=13 Exploring Operation: 78+91=169, Resulting Numbers: [52, 169] Generated Node #0,2,1: 39:[52, 169] Operation: 78+91=169 Exploring Operation: 91-52=39, Resulting Numbers: [78, 39] Generated Node #0,2,2: 39:[78, 39] Operation: 91-52=39 Exploring Operation: 78-52=26, Resulting Numbers: [91, 26] Generated Node #0,2,3: 39:[91, 26] Operation: 78-52=26 Moving to Node #0,3,0 Current State: 39:[13, 52], Operations: ['91-78=13', '74-22=52'] Exploring Operation: 13+52=65, Resulting Numbers: [65] 65,39 unequal: No Solution Exploring Operation: 13*52=676, Resulting Numbers: [676] 676,39 unequal: No Solution Exploring Operation: 52/13=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 52-13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[74, 78, 22, 91], Operations: [] Exploring Operation: 91-78=13, Resulting Numbers: [74, 22, 13] Generated Node #0,3: 39:[74, 22, 13] Operation: 91-78=13 Moving to Node #0,3 Current State: 39:[74, 22, 13], Operations: ['91-78=13'] Exploring Operation: 74-22=52, Resulting Numbers: [13, 52] Generated Node #0,3,0: 39:[13, 52] Operation: 74-22=52 Moving to Node #0,3,0 Current State: 39:[13, 52], Operations: ['91-78=13', '74-22=52'] Exploring Operation: 52-13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.965278
hs_4
mult_heuristic
[ 55, 16, 4, 35 ]
40
[ "55+16=71", "35-4=31", "71-31=40" ]
Current State: 40:[55, 16, 4, 35], Operations: [] Exploring Operation: 55+16=71, Resulting Numbers: [4, 35, 71] Generated Node #2: [4, 35, 71] from Operation: 55+16=71 Current State: 40:[4, 35, 71], Operations: ['55+16=71'] Exploring Operation: 35-4=31, Resulting Numbers: [71, 31] Generated Node #3: [71, 31] from Operation: 35-4=31 Current State: 40:[71, 31], Operations: ['55+16=71', '35-4=31'] Exploring Operation: 71-31=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[55, 16, 4, 35], Operations: [] Exploring Operation: 55-35=20, Resulting Numbers: [16, 4, 20] Generated Node #0,0: 40:[16, 4, 20] Operation: 55-35=20 Moving to Node #0,0 Current State: 40:[16, 4, 20], Operations: ['55-35=20'] Exploring Operation: 16+4=20, Resulting Numbers: [20, 20] Generated Node #0,0,0: 40:[20, 20] Operation: 16+4=20 Moving to Node #0,0,0 Current State: 40:[20, 20], Operations: ['55-35=20', '16+4=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[55, 16, 4, 35], Operations: [] Exploring Operation: 55-35=20, Resulting Numbers: [16, 4, 20] Generated Node #0,0: 40:[16, 4, 20] Operation: 55-35=20 Moving to Node #0,0 Current State: 40:[16, 4, 20], Operations: ['55-35=20'] Exploring Operation: 16+4=20, Resulting Numbers: [20, 20] Generated Node #0,0,0: 40:[20, 20] Operation: 16+4=20 Moving to Node #0,0,0 Current State: 40:[20, 20], Operations: ['55-35=20', '16+4=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 2, 78, 8, 54 ]
87
[ "8-2=6", "54/6=9", "78+9=87" ]
Current State: 87:[2, 78, 8, 54], Operations: [] Exploring Operation: 8-2=6, Resulting Numbers: [78, 54, 6] Generated Node #2: [78, 54, 6] from Operation: 8-2=6 Current State: 87:[78, 54, 6], Operations: ['8-2=6'] Exploring Operation: 54/6=9, Resulting Numbers: [78, 9] Generated Node #3: [78, 9] from Operation: 54/6=9 Current State: 87:[78, 9], Operations: ['8-2=6', '54/6=9'] Exploring Operation: 78+9=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[2, 78, 8, 54], Operations: [] Exploring Operation: 78+8=86, Resulting Numbers: [2, 54, 86] Generated Node #0,0: 87:[2, 54, 86] Operation: 78+8=86 Exploring Operation: 54/2=27, Resulting Numbers: [78, 8, 27] Generated Node #0,1: 87:[78, 8, 27] Operation: 54/2=27 Exploring Operation: 78-54=24, Resulting Numbers: [2, 8, 24] Generated Node #0,2: 87:[2, 8, 24] Operation: 78-54=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[2, 8, 24], Operations: ['78-54=24'] Exploring Operation: 8/2=4, Resulting Numbers: [24, 4] Generated Node #0,2,0: 87:[24, 4] Operation: 8/2=4 Exploring Operation: 8+24=32, Resulting Numbers: [2, 32] Generated Node #0,2,1: 87:[2, 32] Operation: 8+24=32 Exploring Operation: 24/8=3, Resulting Numbers: [2, 3] Generated Node #0,2,2: 87:[2, 3] Operation: 24/8=3 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 87:[2, 3], Operations: ['78-54=24', '24/8=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,87 unequal: No Solution No 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: 87:[2, 32], Operations: ['78-54=24', '8+24=32'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,87 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,87 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,87 unequal: No Solution No 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: 87:[24, 4], Operations: ['78-54=24', '8/2=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,87 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,87 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: 87:[78, 8, 27], Operations: ['54/2=27'] Exploring Operation: 78-8=70, Resulting Numbers: [27, 70] Generated Node #0,1,0: 87:[27, 70] Operation: 78-8=70 Exploring Operation: 78+8=86, Resulting Numbers: [27, 86] Generated Node #0,1,1: 87:[27, 86] Operation: 78+8=86 Exploring Operation: 8+27=35, Resulting Numbers: [78, 35] Generated Node #0,1,2: 87:[78, 35] Operation: 8+27=35 Moving to Node #0,1,1 Current State: 87:[27, 86], Operations: ['54/2=27', '78+8=86'] Exploring Operation: 27+86=113, Resulting Numbers: [113] 113,87 unequal: No Solution Exploring Operation: 86-27=59, Resulting Numbers: [59] 59,87 unequal: No Solution Exploring Operation: 27*86=2322, Resulting Numbers: [2322] 2322,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[78, 35], Operations: ['54/2=27', '8+27=35'] Exploring Operation: 78-35=43, Resulting Numbers: [43] 43,87 unequal: No Solution Exploring Operation: 78+35=113, Resulting Numbers: [113] 113,87 unequal: No Solution Exploring Operation: 78*35=2730, Resulting Numbers: [2730] 2730,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[27, 70], Operations: ['54/2=27', '78-8=70'] Exploring Operation: 27*70=1890, Resulting Numbers: [1890] 1890,87 unequal: No Solution Exploring Operation: 27+70=97, Resulting Numbers: [97] 97,87 unequal: No Solution Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[2, 54, 86], Operations: ['78+8=86'] Exploring Operation: 54/2=27, Resulting Numbers: [86, 27] Generated Node #0,0,0: 87:[86, 27] Operation: 54/2=27 Exploring Operation: 2*54=108, Resulting Numbers: [86, 108] Generated Node #0,0,1: 87:[86, 108] Operation: 2*54=108 Exploring Operation: 86-54=32, Resulting Numbers: [2, 32] Generated Node #0,0,2: 87:[2, 32] Operation: 86-54=32 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[86, 27], Operations: ['78+8=86', '54/2=27'] Exploring Operation: 86*27=2322, Resulting Numbers: [2322] 2322,87 unequal: No Solution Exploring Operation: 86+27=113, Resulting Numbers: [113] 113,87 unequal: No Solution Exploring Operation: 86-27=59, Resulting Numbers: [59] 59,87 unequal: No Solution No 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: 87:[2, 32], Operations: ['78+8=86', '86-54=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,87 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,87 unequal: No Solution No 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: 87:[86, 108], Operations: ['78+8=86', '2*54=108'] Exploring Operation: 86*108=9288, Resulting Numbers: [9288] 9288,87 unequal: No Solution Exploring Operation: 86+108=194, Resulting Numbers: [194] 194,87 unequal: No Solution Exploring Operation: 108-86=22, Resulting Numbers: [22] 22,87 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
[ 17, 12, 85, 89 ]
25
[ "17+12=29", "89-85=4", "29-4=25" ]
Current State: 25:[17, 12, 85, 89], Operations: [] Exploring Operation: 17+12=29, Resulting Numbers: [85, 89, 29] Generated Node #2: [85, 89, 29] from Operation: 17+12=29 Current State: 25:[85, 89, 29], Operations: ['17+12=29'] Exploring Operation: 89-85=4, Resulting Numbers: [29, 4] Generated Node #3: [29, 4] from Operation: 89-85=4 Current State: 25:[29, 4], Operations: ['17+12=29', '89-85=4'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[17, 12, 85, 89], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [17, 12, 4] Generated Node #0,0: 25:[17, 12, 4] Operation: 89-85=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[17, 12, 4], Operations: ['89-85=4'] Exploring Operation: 17-12=5, Resulting Numbers: [4, 5] Generated Node #0,0,0: 25:[4, 5] Operation: 17-12=5 Moving to Node #0,0,0 Current State: 25:[4, 5], Operations: ['89-85=4', '17-12=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,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
mult_heuristic
[ 59, 46, 33, 78 ]
80
[ "59+33=92", "92/46=2", "78+2=80" ]
Current State: 80:[59, 46, 33, 78], Operations: [] Exploring Operation: 59+33=92, Resulting Numbers: [46, 78, 92] Generated Node #2: [46, 78, 92] from Operation: 59+33=92 Current State: 80:[46, 78, 92], Operations: ['59+33=92'] Exploring Operation: 92/46=2, Resulting Numbers: [78, 2] Generated Node #3: [78, 2] from Operation: 92/46=2 Current State: 80:[78, 2], Operations: ['59+33=92', '92/46=2'] Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[59, 46, 33, 78], Operations: [] Exploring Operation: 59-46=13, Resulting Numbers: [33, 78, 13] Generated Node #0,0: 80:[33, 78, 13] Operation: 59-46=13 Moving to Node #0,0 Current State: 80:[33, 78, 13], Operations: ['59-46=13'] Exploring Operation: 33-13=20, Resulting Numbers: [78, 20] Generated Node #0,0,0: 80:[78, 20] Operation: 33-13=20 Moving to Node #0,0,0 Current State: 80:[78, 20], Operations: ['59-46=13', '33-13=20'] Exploring Operation: 78+20=98, Resulting Numbers: [98] 98,80 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 11, 85, 39, 9 ]
15
[ "11+85=96", "39+96=135", "135/9=15" ]
Current State: 15:[11, 85, 39, 9], Operations: [] Exploring Operation: 11+85=96, Resulting Numbers: [39, 9, 96] Generated Node #2: [39, 9, 96] from Operation: 11+85=96 Current State: 15:[39, 9, 96], Operations: ['11+85=96'] Exploring Operation: 39+96=135, Resulting Numbers: [9, 135] Generated Node #3: [9, 135] from Operation: 39+96=135 Current State: 15:[9, 135], Operations: ['11+85=96', '39+96=135'] Exploring Operation: 135/9=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[11, 85, 39, 9], Operations: [] Exploring Operation: 85-39=46, Resulting Numbers: [11, 9, 46] Generated Node #0,0: 15:[11, 9, 46] Operation: 85-39=46 Exploring Operation: 85-11=74, Resulting Numbers: [39, 9, 74] Generated Node #0,1: 15:[39, 9, 74] Operation: 85-11=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[11, 9, 46], Operations: ['85-39=46'] Exploring Operation: 46-11=35, Resulting Numbers: [9, 35] Generated Node #0,0,0: 15:[9, 35] Operation: 46-11=35 Exploring Operation: 46-9=37, Resulting Numbers: [11, 37] Generated Node #0,0,1: 15:[11, 37] Operation: 46-9=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[9, 35], Operations: ['85-39=46', '46-11=35'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,15 unequal: No Solution No 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: 15:[11, 37], Operations: ['85-39=46', '46-9=37'] Exploring Operation: 11+37=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,15 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: 15:[39, 9, 74], Operations: ['85-11=74'] Exploring Operation: 74-39=35, Resulting Numbers: [9, 35] Generated Node #0,1,0: 15:[9, 35] Operation: 74-39=35 Exploring Operation: 39-9=30, Resulting Numbers: [74, 30] Generated Node #0,1,1: 15:[74, 30] Operation: 39-9=30 Moving to Node #0,1,0 Current State: 15:[9, 35], Operations: ['85-11=74', '74-39=35'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[74, 30], Operations: ['85-11=74', '39-9=30'] Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 74+30=104, Resulting Numbers: [104] 104,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 9, 4, 38, 26 ]
68
[ "9*26=234", "38+234=272", "272/4=68" ]
Current State: 68:[9, 4, 38, 26], Operations: [] Exploring Operation: 9*26=234, Resulting Numbers: [4, 38, 234] Generated Node #2: [4, 38, 234] from Operation: 9*26=234 Current State: 68:[4, 38, 234], Operations: ['9*26=234'] Exploring Operation: 38+234=272, Resulting Numbers: [4, 272] Generated Node #3: [4, 272] from Operation: 38+234=272 Current State: 68:[4, 272], Operations: ['9*26=234', '38+234=272'] Exploring Operation: 272/4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[9, 4, 38, 26], Operations: [] Exploring Operation: 26-9=17, Resulting Numbers: [4, 38, 17] Generated Node #0,0: 68:[4, 38, 17] Operation: 26-9=17 Exploring Operation: 9+26=35, Resulting Numbers: [4, 38, 35] Generated Node #0,1: 68:[4, 38, 35] Operation: 9+26=35 Exploring Operation: 38+26=64, Resulting Numbers: [9, 4, 64] Generated Node #0,2: 68:[9, 4, 64] Operation: 38+26=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[4, 38, 17], Operations: ['26-9=17'] Exploring Operation: 38-17=21, Resulting Numbers: [4, 21] Generated Node #0,0,0: 68:[4, 21] Operation: 38-17=21 Exploring Operation: 4*17=68, Resulting Numbers: [38, 68] Generated Node #0,0,1: 68:[38, 68] Operation: 4*17=68 Exploring Operation: 38-4=34, Resulting Numbers: [17, 34] Generated Node #0,0,2: 68:[17, 34] Operation: 38-4=34 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 68:[17, 34], Operations: ['26-9=17', '38-4=34'] Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 17+34=51, Resulting Numbers: [51] 51,68 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,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,0 Current State: 68:[4, 21], Operations: ['26-9=17', '38-17=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,68 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,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:[38, 68], Operations: ['26-9=17', '4*17=68'] Exploring Operation: 38*68=2584, Resulting Numbers: [2584] 2584,68 unequal: No Solution Exploring Operation: 38+68=106, Resulting Numbers: [106] 106,68 unequal: No Solution Exploring Operation: 68-38=30, Resulting Numbers: [30] 30,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:[4, 38, 35], Operations: ['9+26=35'] Exploring Operation: 38-4=34, Resulting Numbers: [35, 34] Generated Node #0,1,0: 68:[35, 34] Operation: 38-4=34 Exploring Operation: 38+35=73, Resulting Numbers: [4, 73] Generated Node #0,1,1: 68:[4, 73] Operation: 38+35=73 Exploring Operation: 38-35=3, Resulting Numbers: [4, 3] Generated Node #0,1,2: 68:[4, 3] Operation: 38-35=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[35, 34], Operations: ['9+26=35', '38-4=34'] Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 35+34=69, Resulting Numbers: [69] 69,68 unequal: No Solution Exploring Operation: 35*34=1190, Resulting Numbers: [1190] 1190,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,1,2 Current State: 68:[4, 3], Operations: ['9+26=35', '38-35=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,68 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,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,1,1 Current State: 68:[4, 73], Operations: ['9+26=35', '38+35=73'] Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,68 unequal: No Solution Exploring Operation: 4*73=292, Resulting Numbers: [292] 292,68 unequal: No Solution Exploring Operation: 4+73=77, Resulting Numbers: [77] 77,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,2 Current State: 68:[9, 4, 64], Operations: ['38+26=64'] Exploring Operation: 9+64=73, Resulting Numbers: [4, 73] Generated Node #0,2,0: 68:[4, 73] Operation: 9+64=73 Exploring Operation: 9-4=5, Resulting Numbers: [64, 5] Generated Node #0,2,1: 68:[64, 5] Operation: 9-4=5 Exploring Operation: 4+64=68, Resulting Numbers: [9, 68] Generated Node #0,2,2: 68:[9, 68] Operation: 4+64=68 Moving to Node #0,2,0 Current State: 68:[4, 73], Operations: ['38+26=64', '9+64=73'] Exploring Operation: 4+73=77, Resulting Numbers: [77] 77,68 unequal: No Solution Exploring Operation: 4*73=292, Resulting Numbers: [292] 292,68 unequal: No Solution Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[64, 5], Operations: ['38+26=64', '9-4=5'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,68 unequal: No Solution Exploring Operation: 64*5=320, Resulting Numbers: [320] 320,68 unequal: No Solution Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[9, 68], Operations: ['38+26=64', '4+64=68'] Exploring Operation: 9*68=612, Resulting Numbers: [612] 612,68 unequal: No Solution Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,68 unequal: No Solution Exploring Operation: 9+68=77, Resulting Numbers: [77] 77,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 57, 59, 95, 24 ]
99
[ "95*24=2280", "2280/57=40", "59+40=99" ]
Current State: 99:[57, 59, 95, 24], Operations: [] Exploring Operation: 95*24=2280, Resulting Numbers: [57, 59, 2280] Generated Node #2: [57, 59, 2280] from Operation: 95*24=2280 Current State: 99:[57, 59, 2280], Operations: ['95*24=2280'] Exploring Operation: 2280/57=40, Resulting Numbers: [59, 40] Generated Node #3: [59, 40] from Operation: 2280/57=40 Current State: 99:[59, 40], Operations: ['95*24=2280', '2280/57=40'] Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[57, 59, 95, 24], Operations: [] Exploring Operation: 57-24=33, Resulting Numbers: [59, 95, 33] Generated Node #0,0: 99:[59, 95, 33] Operation: 57-24=33 Exploring Operation: 59-57=2, Resulting Numbers: [95, 24, 2] Generated Node #0,1: 99:[95, 24, 2] Operation: 59-57=2 Exploring Operation: 57+59=116, Resulting Numbers: [95, 24, 116] Generated Node #0,2: 99:[95, 24, 116] Operation: 57+59=116 Moving to Node #0,1 Current State: 99:[95, 24, 2], Operations: ['59-57=2'] Exploring Operation: 24/2=12, Resulting Numbers: [95, 12] Generated Node #0,1,0: 99:[95, 12] Operation: 24/2=12 Exploring Operation: 95+2=97, Resulting Numbers: [24, 97] Generated Node #0,1,1: 99:[24, 97] Operation: 95+2=97 Exploring Operation: 24+2=26, Resulting Numbers: [95, 26] Generated Node #0,1,2: 99:[95, 26] Operation: 24+2=26 Moving to Node #0,0 Current State: 99:[59, 95, 33], Operations: ['57-24=33'] Exploring Operation: 59+33=92, Resulting Numbers: [95, 92] Generated Node #0,0,0: 99:[95, 92] Operation: 59+33=92 Exploring Operation: 59-33=26, Resulting Numbers: [95, 26] Generated Node #0,0,1: 99:[95, 26] Operation: 59-33=26 Exploring Operation: 95-59=36, Resulting Numbers: [33, 36] Generated Node #0,0,2: 99:[33, 36] Operation: 95-59=36 Moving to Node #0,2 Current State: 99:[95, 24, 116], Operations: ['57+59=116'] Exploring Operation: 116-24=92, Resulting Numbers: [95, 92] Generated Node #0,2,0: 99:[95, 92] Operation: 116-24=92 Exploring Operation: 116-95=21, Resulting Numbers: [24, 21] Generated Node #0,2,1: 99:[24, 21] Operation: 116-95=21 Exploring Operation: 95+24=119, Resulting Numbers: [116, 119] Generated Node #0,2,2: 99:[116, 119] Operation: 95+24=119 Moving to Node #0,0,2 Current State: 99:[33, 36], Operations: ['57-24=33', '95-59=36'] Exploring Operation: 33+36=69, Resulting Numbers: [69] 69,99 unequal: No Solution Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 33*36=1188, Resulting Numbers: [1188] 1188,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[95, 12], Operations: ['59-57=2', '24/2=12'] Exploring Operation: 95+12=107, Resulting Numbers: [107] 107,99 unequal: No Solution Exploring Operation: 95*12=1140, Resulting Numbers: [1140] 1140,99 unequal: No Solution Exploring Operation: 95-12=83, Resulting Numbers: [83] 83,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[95, 26], Operations: ['59-57=2', '24+2=26'] Exploring Operation: 95-26=69, Resulting Numbers: [69] 69,99 unequal: No Solution Exploring Operation: 95+26=121, Resulting Numbers: [121] 121,99 unequal: No Solution Exploring Operation: 95*26=2470, Resulting Numbers: [2470] 2470,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[95, 92], Operations: ['57+59=116', '116-24=92'] Exploring Operation: 95*92=8740, Resulting Numbers: [8740] 8740,99 unequal: No Solution Exploring Operation: 95-92=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 95+92=187, Resulting Numbers: [187] 187,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[95, 26], Operations: ['57-24=33', '59-33=26'] Exploring Operation: 95-26=69, Resulting Numbers: [69] 69,99 unequal: No Solution Exploring Operation: 95*26=2470, Resulting Numbers: [2470] 2470,99 unequal: No Solution Exploring Operation: 95+26=121, Resulting Numbers: [121] 121,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[95, 92], Operations: ['57-24=33', '59+33=92'] Exploring Operation: 95-92=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 95*92=8740, Resulting Numbers: [8740] 8740,99 unequal: No Solution Exploring Operation: 95+92=187, Resulting Numbers: [187] 187,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[24, 97], Operations: ['59-57=2', '95+2=97'] Exploring Operation: 97-24=73, Resulting Numbers: [73] 73,99 unequal: No Solution Exploring Operation: 24*97=2328, Resulting Numbers: [2328] 2328,99 unequal: No Solution Exploring Operation: 24+97=121, Resulting Numbers: [121] 121,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[24, 21], Operations: ['57+59=116', '116-95=21'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,99 unequal: No Solution Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[116, 119], Operations: ['57+59=116', '95+24=119'] Exploring Operation: 116*119=13804, Resulting Numbers: [13804] 13804,99 unequal: No Solution Exploring Operation: 116+119=235, Resulting Numbers: [235] 235,99 unequal: No Solution Exploring Operation: 119-116=3, Resulting Numbers: [3] 3,99 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 50, 8, 51, 18 ]
10
[ "51-50=1", "18-8=10", "1*10=10" ]
Current State: 10:[50, 8, 51, 18], Operations: [] Exploring Operation: 51-50=1, Resulting Numbers: [8, 18, 1] Generated Node #2: [8, 18, 1] from Operation: 51-50=1 Current State: 10:[8, 18, 1], Operations: ['51-50=1'] Exploring Operation: 18-8=10, Resulting Numbers: [1, 10] Generated Node #3: [1, 10] from Operation: 18-8=10 Current State: 10:[1, 10], Operations: ['51-50=1', '18-8=10'] Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[50, 8, 51, 18], Operations: [] Exploring Operation: 51-50=1, Resulting Numbers: [8, 18, 1] Generated Node #0,0: 10:[8, 18, 1] Operation: 51-50=1 Exploring Operation: 50-8=42, Resulting Numbers: [51, 18, 42] Generated Node #0,1: 10:[51, 18, 42] Operation: 50-8=42 Exploring Operation: 50-18=32, Resulting Numbers: [8, 51, 32] Generated Node #0,2: 10:[8, 51, 32] Operation: 50-18=32 Exploring Operation: 51-8=43, Resulting Numbers: [50, 18, 43] Generated Node #0,3: 10:[50, 18, 43] Operation: 51-8=43 Exploring Operation: 51-18=33, Resulting Numbers: [50, 8, 33] Generated Node #0,4: 10:[50, 8, 33] Operation: 51-18=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[8, 18, 1], Operations: ['51-50=1'] Exploring Operation: 18-1=17, Resulting Numbers: [8, 17] Generated Node #0,0,0: 10:[8, 17] Operation: 18-1=17 Exploring Operation: 8*1=8, Resulting Numbers: [18, 8] Generated Node #0,0,1: 10:[18, 8] Operation: 8*1=8 Exploring Operation: 8-1=7, Resulting Numbers: [18, 7] Generated Node #0,0,2: 10:[18, 7] Operation: 8-1=7 Exploring Operation: 18-8=10, Resulting Numbers: [1, 10] Generated Node #0,0,3: 10:[1, 10] Operation: 18-8=10 Exploring Operation: 8+1=9, Resulting Numbers: [18, 9] Generated Node #0,0,4: 10:[18, 9] Operation: 8+1=9 Moving to Node #0,0,3 Current State: 10:[1, 10], Operations: ['51-50=1', '18-8=10'] Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[50, 8, 51, 18], Operations: [] Exploring Operation: 51-50=1, Resulting Numbers: [8, 18, 1] Generated Node #0,0: 10:[8, 18, 1] Operation: 51-50=1 Moving to Node #0,0 Current State: 10:[8, 18, 1], Operations: ['51-50=1'] Exploring Operation: 18-8=10, Resulting Numbers: [1, 10] Generated Node #0,0,3: 10:[1, 10] Operation: 18-8=10 Moving to Node #0,0,3 Current State: 10:[1, 10], Operations: ['51-50=1', '18-8=10'] Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 65, 1, 68, 62 ]
65
[ "65*1=65", "68+62=130", "130-65=65" ]
Current State: 65:[65, 1, 68, 62], Operations: [] Exploring Operation: 65*1=65, Resulting Numbers: [68, 62, 65] Generated Node #2: [68, 62, 65] from Operation: 65*1=65 Current State: 65:[68, 62, 65], Operations: ['65*1=65'] Exploring Operation: 68+62=130, Resulting Numbers: [65, 130] Generated Node #3: [65, 130] from Operation: 68+62=130 Current State: 65:[65, 130], Operations: ['65*1=65', '68+62=130'] Exploring Operation: 130-65=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[65, 1, 68, 62], Operations: [] Exploring Operation: 1+62=63, Resulting Numbers: [65, 68, 63] Generated Node #0,0: 65:[65, 68, 63] Operation: 1+62=63 Exploring Operation: 68-1=67, Resulting Numbers: [65, 62, 67] Generated Node #0,1: 65:[65, 62, 67] Operation: 68-1=67 Exploring Operation: 68-62=6, Resulting Numbers: [65, 1, 6] Generated Node #0,2: 65:[65, 1, 6] Operation: 68-62=6 Moving to Node #0,0 Current State: 65:[65, 68, 63], Operations: ['1+62=63'] Exploring Operation: 68-65=3, Resulting Numbers: [63, 3] Generated Node #0,0,0: 65:[63, 3] Operation: 68-65=3 Exploring Operation: 68-63=5, Resulting Numbers: [65, 5] Generated Node #0,0,1: 65:[65, 5] Operation: 68-63=5 Exploring Operation: 65-63=2, Resulting Numbers: [68, 2] Generated Node #0,0,2: 65:[68, 2] Operation: 65-63=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[65, 5], Operations: ['1+62=63', '68-63=5'] Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,65 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,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,0 Current State: 65:[63, 3], Operations: ['1+62=63', '68-65=3'] Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,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,2 Current State: 65:[68, 2], Operations: ['1+62=63', '65-63=2'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,65 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,65 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: 65:[65, 62, 67], Operations: ['68-1=67'] Exploring Operation: 67-62=5, Resulting Numbers: [65, 5] Generated Node #0,1,0: 65:[65, 5] Operation: 67-62=5 Exploring Operation: 65-62=3, Resulting Numbers: [67, 3] Generated Node #0,1,1: 65:[67, 3] Operation: 65-62=3 Exploring Operation: 67-65=2, Resulting Numbers: [62, 2] Generated Node #0,1,2: 65:[62, 2] Operation: 67-65=2 Moving to Node #0,2 Current State: 65:[65, 1, 6], Operations: ['68-62=6'] Exploring Operation: 6-1=5, Resulting Numbers: [65, 5] Generated Node #0,2,0: 65:[65, 5] Operation: 6-1=5 Exploring Operation: 65*1=65, Resulting Numbers: [6, 65] Generated Node #0,2,1: 65:[6, 65] Operation: 65*1=65 Exploring Operation: 65/1=65, Resulting Numbers: [6, 65] Generated Node #0,2,2: 65:[6, 65] Operation: 65/1=65 Moving to Node #0,1,0 Current State: 65:[65, 5], Operations: ['68-1=67', '67-62=5'] Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,65 unequal: No Solution Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[65, 5], Operations: ['68-62=6', '6-1=5'] Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,65 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[6, 65], Operations: ['68-62=6', '65/1=65'] Exploring Operation: 6*65=390, Resulting Numbers: [390] 390,65 unequal: No Solution Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 6+65=71, Resulting Numbers: [71] 71,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[6, 65], Operations: ['68-62=6', '65*1=65'] Exploring Operation: 6*65=390, Resulting Numbers: [390] 390,65 unequal: No Solution Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 6+65=71, Resulting Numbers: [71] 71,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[67, 3], Operations: ['68-1=67', '65-62=3'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 67*3=201, Resulting Numbers: [201] 201,65 unequal: No Solution Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[62, 2], Operations: ['68-1=67', '67-65=2'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,65 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,65 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 78, 81, 60, 62 ]
42
[ "81-78=3", "60/3=20", "62-20=42" ]
Current State: 42:[78, 81, 60, 62], Operations: [] Exploring Operation: 81-78=3, Resulting Numbers: [60, 62, 3] Generated Node #2: [60, 62, 3] from Operation: 81-78=3 Current State: 42:[60, 62, 3], Operations: ['81-78=3'] Exploring Operation: 60/3=20, Resulting Numbers: [62, 20] Generated Node #3: [62, 20] from Operation: 60/3=20 Current State: 42:[62, 20], Operations: ['81-78=3', '60/3=20'] Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[78, 81, 60, 62], Operations: [] Exploring Operation: 81-78=3, Resulting Numbers: [60, 62, 3] Generated Node #0,0: 42:[60, 62, 3] Operation: 81-78=3 Exploring Operation: 81-60=21, Resulting Numbers: [78, 62, 21] Generated Node #0,1: 42:[78, 62, 21] Operation: 81-60=21 Exploring Operation: 81-62=19, Resulting Numbers: [78, 60, 19] Generated Node #0,2: 42:[78, 60, 19] Operation: 81-62=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[60, 62, 3], Operations: ['81-78=3'] Exploring Operation: 60-3=57, Resulting Numbers: [62, 57] Generated Node #0,0,0: 42:[62, 57] Operation: 60-3=57 Exploring Operation: 62-60=2, Resulting Numbers: [3, 2] Generated Node #0,0,1: 42:[3, 2] Operation: 62-60=2 Exploring Operation: 60/3=20, Resulting Numbers: [62, 20] Generated Node #0,0,2: 42:[62, 20] Operation: 60/3=20 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 42:[3, 2], Operations: ['81-78=3', '62-60=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 42:[62, 20], Operations: ['81-78=3', '60/3=20'] Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[78, 81, 60, 62], Operations: [] Exploring Operation: 81-78=3, Resulting Numbers: [60, 62, 3] Generated Node #0,0: 42:[60, 62, 3] Operation: 81-78=3 Moving to Node #0,0 Current State: 42:[60, 62, 3], Operations: ['81-78=3'] Exploring Operation: 60/3=20, Resulting Numbers: [62, 20] Generated Node #0,0,2: 42:[62, 20] Operation: 60/3=20 Moving to Node #0,0,2 Current State: 42:[62, 20], Operations: ['81-78=3', '60/3=20'] Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 28, 2, 38, 78 ]
27
[ "28+38=66", "78/2=39", "66-39=27" ]
Current State: 27:[28, 2, 38, 78], Operations: [] Exploring Operation: 28+38=66, Resulting Numbers: [2, 78, 66] Generated Node #2: [2, 78, 66] from Operation: 28+38=66 Current State: 27:[2, 78, 66], Operations: ['28+38=66'] Exploring Operation: 78/2=39, Resulting Numbers: [66, 39] Generated Node #3: [66, 39] from Operation: 78/2=39 Current State: 27:[66, 39], Operations: ['28+38=66', '78/2=39'] Exploring Operation: 66-39=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[28, 2, 38, 78], Operations: [] Exploring Operation: 78-38=40, Resulting Numbers: [28, 2, 40] Generated Node #0,0: 27:[28, 2, 40] Operation: 78-38=40 Exploring Operation: 78/2=39, Resulting Numbers: [28, 38, 39] Generated Node #0,1: 27:[28, 38, 39] Operation: 78/2=39 Moving to Node #0,0 Current State: 27:[28, 2, 40], Operations: ['78-38=40'] Exploring Operation: 40-28=12, Resulting Numbers: [2, 12] Generated Node #0,0,0: 27:[2, 12] Operation: 40-28=12 Exploring Operation: 40/2=20, Resulting Numbers: [28, 20] Generated Node #0,0,1: 27:[28, 20] Operation: 40/2=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[2, 12], Operations: ['78-38=40', '40-28=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[28, 20], Operations: ['78-38=40', '40/2=20'] Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,27 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: 27:[28, 38, 39], Operations: ['78/2=39'] Exploring Operation: 38-28=10, Resulting Numbers: [39, 10] Generated Node #0,1,0: 27:[39, 10] Operation: 38-28=10 Exploring Operation: 39-38=1, Resulting Numbers: [28, 1] Generated Node #0,1,1: 27:[28, 1] Operation: 39-38=1 Moving to Node #0,1,1 Current State: 27:[28, 1], Operations: ['78/2=39', '39-38=1'] Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,27 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[28, 2, 38, 78], Operations: [] Exploring Operation: 78/2=39, Resulting Numbers: [28, 38, 39] Generated Node #0,1: 27:[28, 38, 39] Operation: 78/2=39 Moving to Node #0,1 Current State: 27:[28, 38, 39], Operations: ['78/2=39'] Exploring Operation: 39-38=1, Resulting Numbers: [28, 1] Generated Node #0,1,1: 27:[28, 1] Operation: 39-38=1 Moving to Node #0,1,1 Current State: 27:[28, 1], Operations: ['78/2=39', '39-38=1'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 49, 28, 10, 40 ]
71
[ "49-28=21", "10+40=50", "21+50=71" ]
Current State: 71:[49, 28, 10, 40], Operations: [] Exploring Operation: 49-28=21, Resulting Numbers: [10, 40, 21] Generated Node #2: [10, 40, 21] from Operation: 49-28=21 Current State: 71:[10, 40, 21], Operations: ['49-28=21'] Exploring Operation: 10+40=50, Resulting Numbers: [21, 50] Generated Node #3: [21, 50] from Operation: 10+40=50 Current State: 71:[21, 50], Operations: ['49-28=21', '10+40=50'] Exploring Operation: 21+50=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[49, 28, 10, 40], Operations: [] Exploring Operation: 28+10=38, Resulting Numbers: [49, 40, 38] Generated Node #0,0: 71:[49, 40, 38] Operation: 28+10=38 Exploring Operation: 49+10=59, Resulting Numbers: [28, 40, 59] Generated Node #0,1: 71:[28, 40, 59] Operation: 49+10=59 Moving to Node #0,0 Current State: 71:[49, 40, 38], Operations: ['28+10=38'] Exploring Operation: 49+38=87, Resulting Numbers: [40, 87] Generated Node #0,0,0: 71:[40, 87] Operation: 49+38=87 Exploring Operation: 40+38=78, Resulting Numbers: [49, 78] Generated Node #0,0,1: 71:[49, 78] Operation: 40+38=78 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[49, 78], Operations: ['28+10=38', '40+38=78'] Exploring Operation: 78-49=29, Resulting Numbers: [29] 29,71 unequal: No Solution Exploring Operation: 49+78=127, Resulting Numbers: [127] 127,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[40, 87], Operations: ['28+10=38', '49+38=87'] Exploring Operation: 87-40=47, Resulting Numbers: [47] 47,71 unequal: No Solution Exploring Operation: 40+87=127, Resulting Numbers: [127] 127,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 71:[28, 40, 59], Operations: ['49+10=59'] Exploring Operation: 28+40=68, Resulting Numbers: [59, 68] Generated Node #0,1,0: 71:[59, 68] Operation: 28+40=68 Exploring Operation: 28+59=87, Resulting Numbers: [40, 87] Generated Node #0,1,1: 71:[40, 87] Operation: 28+59=87 Moving to Node #0,1,0 Current State: 71:[59, 68], Operations: ['49+10=59', '28+40=68'] Exploring Operation: 68-59=9, Resulting Numbers: [9] 9,71 unequal: No Solution Exploring Operation: 59+68=127, Resulting Numbers: [127] 127,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[40, 87], Operations: ['49+10=59', '28+59=87'] Exploring Operation: 40+87=127, Resulting Numbers: [127] 127,71 unequal: No Solution Exploring Operation: 87-40=47, Resulting Numbers: [47] 47,71 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 1, 93, 97, 14 ]
55
[ "97-93=4", "14*4=56", "56-1=55" ]
Current State: 55:[1, 93, 97, 14], Operations: [] Exploring Operation: 97-93=4, Resulting Numbers: [1, 14, 4] Generated Node #2: [1, 14, 4] from Operation: 97-93=4 Current State: 55:[1, 14, 4], Operations: ['97-93=4'] Exploring Operation: 14*4=56, Resulting Numbers: [1, 56] Generated Node #3: [1, 56] from Operation: 14*4=56 Current State: 55:[1, 56], Operations: ['97-93=4', '14*4=56'] Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[1, 93, 97, 14], Operations: [] Exploring Operation: 93-1=92, Resulting Numbers: [97, 14, 92] Generated Node #0,0: 55:[97, 14, 92] Operation: 93-1=92 Exploring Operation: 97-1=96, Resulting Numbers: [93, 14, 96] Generated Node #0,1: 55:[93, 14, 96] Operation: 97-1=96 Exploring Operation: 97-14=83, Resulting Numbers: [1, 93, 83] Generated Node #0,2: 55:[1, 93, 83] Operation: 97-14=83 Exploring Operation: 93-14=79, Resulting Numbers: [1, 97, 79] Generated Node #0,3: 55:[1, 97, 79] Operation: 93-14=79 Exploring Operation: 97-93=4, Resulting Numbers: [1, 14, 4] Generated Node #0,4: 55:[1, 14, 4] Operation: 97-93=4 Start Sub Search at level 1: Moving to Node #0,4 Current State: 55:[1, 14, 4], Operations: ['97-93=4'] Exploring Operation: 1*14=14, Resulting Numbers: [4, 14] Generated Node #0,4,0: 55:[4, 14] Operation: 1*14=14 Exploring Operation: 14-1=13, Resulting Numbers: [4, 13] Generated Node #0,4,1: 55:[4, 13] Operation: 14-1=13 Exploring Operation: 1*4=4, Resulting Numbers: [14, 4] Generated Node #0,4,2: 55:[14, 4] Operation: 1*4=4 Exploring Operation: 1+4=5, Resulting Numbers: [14, 5] Generated Node #0,4,3: 55:[14, 5] Operation: 1+4=5 Exploring Operation: 14/1=14, Resulting Numbers: [4, 14] Generated Node #0,4,4: 55:[4, 14] Operation: 14/1=14 Moving to Node #0,4,1 Current State: 55:[4, 13], Operations: ['97-93=4', '14-1=13'] Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,55 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,55 unequal: No Solution Moving to Node #0,4,3 Current State: 55:[14, 5], Operations: ['97-93=4', '1+4=5'] Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,55 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,55 unequal: No Solution Moving to Node #0,4,0 Current State: 55:[4, 14], Operations: ['97-93=4', '1*14=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,55 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,55 unequal: No Solution Moving to Node #0,4,2 Current State: 55:[14, 4], Operations: ['97-93=4', '1*4=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,55 unequal: No Solution Moving to Node #0,4,4 Current State: 55:[4, 14], Operations: ['97-93=4', '14/1=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,55 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[1, 93, 83], Operations: ['97-14=83'] Exploring Operation: 1*93=93, Resulting Numbers: [83, 93] Generated Node #0,2,0: 55:[83, 93] Operation: 1*93=93 Exploring Operation: 83-1=82, Resulting Numbers: [93, 82] Generated Node #0,2,1: 55:[93, 82] Operation: 83-1=82 Exploring Operation: 93-83=10, Resulting Numbers: [1, 10] Generated Node #0,2,2: 55:[1, 10] Operation: 93-83=10 Exploring Operation: 93/1=93, Resulting Numbers: [83, 93] Generated Node #0,2,3: 55:[83, 93] Operation: 93/1=93 Exploring Operation: 93-1=92, Resulting Numbers: [83, 92] Generated Node #0,2,4: 55:[83, 92] Operation: 93-1=92 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 55:[1, 10], Operations: ['97-14=83', '93-83=10'] Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 55:[93, 82], Operations: ['97-14=83', '83-1=82'] Exploring Operation: 93-82=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 93*82=7626, Resulting Numbers: [7626] 7626,55 unequal: No Solution Exploring Operation: 93+82=175, Resulting Numbers: [175] 175,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 55:[83, 92], Operations: ['97-14=83', '93-1=92'] Exploring Operation: 83*92=7636, Resulting Numbers: [7636] 7636,55 unequal: No Solution Exploring Operation: 83+92=175, Resulting Numbers: [175] 175,55 unequal: No Solution Exploring Operation: 92-83=9, Resulting Numbers: [9] 9,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 55:[83, 93], Operations: ['97-14=83', '1*93=93'] Exploring Operation: 83+93=176, Resulting Numbers: [176] 176,55 unequal: No Solution Exploring Operation: 83*93=7719, Resulting Numbers: [7719] 7719,55 unequal: No Solution Exploring Operation: 93-83=10, Resulting Numbers: [10] 10,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 55:[83, 93], Operations: ['97-14=83', '93/1=93'] Exploring Operation: 93-83=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 83*93=7719, Resulting Numbers: [7719] 7719,55 unequal: No Solution Exploring Operation: 83+93=176, Resulting Numbers: [176] 176,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[1, 97, 79], Operations: ['93-14=79'] Exploring Operation: 97/1=97, Resulting Numbers: [79, 97] Generated Node #0,3,0: 55:[79, 97] Operation: 97/1=97 Exploring Operation: 1*97=97, Resulting Numbers: [79, 97] Generated Node #0,3,1: 55:[79, 97] Operation: 1*97=97 Exploring Operation: 79-1=78, Resulting Numbers: [97, 78] Generated Node #0,3,2: 55:[97, 78] Operation: 79-1=78 Exploring Operation: 97-1=96, Resulting Numbers: [79, 96] Generated Node #0,3,3: 55:[79, 96] Operation: 97-1=96 Exploring Operation: 97-79=18, Resulting Numbers: [1, 18] Generated Node #0,3,4: 55:[1, 18] Operation: 97-79=18 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 55:[1, 18], Operations: ['93-14=79', '97-79=18'] Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,55 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,55 unequal: No Solution Exploring Operation: 1+18=19, Resulting Numbers: [19] 19,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 55:[97, 78], Operations: ['93-14=79', '79-1=78'] Exploring Operation: 97+78=175, Resulting Numbers: [175] 175,55 unequal: No Solution Exploring Operation: 97-78=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 97*78=7566, Resulting Numbers: [7566] 7566,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 55:[79, 96], Operations: ['93-14=79', '97-1=96'] Exploring Operation: 79*96=7584, Resulting Numbers: [7584] 7584,55 unequal: No Solution Exploring Operation: 79+96=175, Resulting Numbers: [175] 175,55 unequal: No Solution Exploring Operation: 96-79=17, Resulting Numbers: [17] 17,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 55:[79, 97], Operations: ['93-14=79', '97/1=97'] Exploring Operation: 79*97=7663, Resulting Numbers: [7663] 7663,55 unequal: No Solution Exploring Operation: 79+97=176, Resulting Numbers: [176] 176,55 unequal: No Solution Exploring Operation: 97-79=18, Resulting Numbers: [18] 18,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 55:[79, 97], Operations: ['93-14=79', '1*97=97'] Exploring Operation: 79+97=176, Resulting Numbers: [176] 176,55 unequal: No Solution Exploring Operation: 97-79=18, Resulting Numbers: [18] 18,55 unequal: No Solution Exploring Operation: 79*97=7663, Resulting Numbers: [7663] 7663,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[97, 14, 92], Operations: ['93-1=92'] Exploring Operation: 97-92=5, Resulting Numbers: [14, 5] Generated Node #0,0,0: 55:[14, 5] Operation: 97-92=5 Exploring Operation: 97+14=111, Resulting Numbers: [92, 111] Generated Node #0,0,1: 55:[92, 111] Operation: 97+14=111 Exploring Operation: 92-14=78, Resulting Numbers: [97, 78] Generated Node #0,0,2: 55:[97, 78] Operation: 92-14=78 Exploring Operation: 97-14=83, Resulting Numbers: [92, 83] Generated Node #0,0,3: 55:[92, 83] Operation: 97-14=83 Exploring Operation: 14+92=106, Resulting Numbers: [97, 106] Generated Node #0,0,4: 55:[97, 106] Operation: 14+92=106 Moving to Node #0,0,0 Current State: 55:[14, 5], Operations: ['93-1=92', '97-92=5'] Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,55 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[92, 83], Operations: ['93-1=92', '97-14=83'] Exploring Operation: 92*83=7636, Resulting Numbers: [7636] 7636,55 unequal: No Solution Exploring Operation: 92-83=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 92+83=175, Resulting Numbers: [175] 175,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[97, 78], Operations: ['93-1=92', '92-14=78'] Exploring Operation: 97+78=175, Resulting Numbers: [175] 175,55 unequal: No Solution Exploring Operation: 97-78=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 97*78=7566, Resulting Numbers: [7566] 7566,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[92, 111], Operations: ['93-1=92', '97+14=111'] Exploring Operation: 92*111=10212, Resulting Numbers: [10212] 10212,55 unequal: No Solution Exploring Operation: 92+111=203, Resulting Numbers: [203] 203,55 unequal: No Solution Exploring Operation: 111-92=19, Resulting Numbers: [19] 19,55 unequal: No Solution Moving to Node #0,0,4 Current State: 55:[97, 106], Operations: ['93-1=92', '14+92=106'] Exploring Operation: 97+106=203, Resulting Numbers: [203] 203,55 unequal: No Solution Exploring Operation: 97*106=10282, Resulting Numbers: [10282] 10282,55 unequal: No Solution Exploring Operation: 106-97=9, Resulting Numbers: [9] 9,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[93, 14, 96], Operations: ['97-1=96'] Exploring Operation: 14+96=110, Resulting Numbers: [93, 110] Generated Node #0,1,0: 55:[93, 110] Operation: 14+96=110 Exploring Operation: 93-14=79, Resulting Numbers: [96, 79] Generated Node #0,1,1: 55:[96, 79] Operation: 93-14=79 Exploring Operation: 96-14=82, Resulting Numbers: [93, 82] Generated Node #0,1,2: 55:[93, 82] Operation: 96-14=82 Exploring Operation: 96-93=3, Resulting Numbers: [14, 3] Generated Node #0,1,3: 55:[14, 3] Operation: 96-93=3 Exploring Operation: 93+14=107, Resulting Numbers: [96, 107] Generated Node #0,1,4: 55:[96, 107] Operation: 93+14=107 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 55:[14, 3], Operations: ['97-1=96', '96-93=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 55:[96, 79], Operations: ['97-1=96', '93-14=79'] Exploring Operation: 96-79=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 96+79=175, Resulting Numbers: [175] 175,55 unequal: No Solution Exploring Operation: 96*79=7584, Resulting Numbers: [7584] 7584,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 55:[93, 82], Operations: ['97-1=96', '96-14=82'] Exploring Operation: 93*82=7626, Resulting Numbers: [7626] 7626,55 unequal: No Solution Exploring Operation: 93-82=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 93+82=175, Resulting Numbers: [175] 175,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 55:[93, 110], Operations: ['97-1=96', '14+96=110'] Exploring Operation: 93+110=203, Resulting Numbers: [203] 203,55 unequal: No Solution Exploring Operation: 110-93=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 93*110=10230, Resulting Numbers: [10230] 10230,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 55:[96, 107], Operations: ['97-1=96', '93+14=107'] Exploring Operation: 96*107=10272, Resulting Numbers: [10272] 10272,55 unequal: No Solution Exploring Operation: 96+107=203, Resulting Numbers: [203] 203,55 unequal: No Solution Exploring Operation: 107-96=11, Resulting Numbers: [11] 11,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 72, 5, 83, 63 ]
76
[ "83-63=20", "20/5=4", "72+4=76" ]
Current State: 76:[72, 5, 83, 63], Operations: [] Exploring Operation: 83-63=20, Resulting Numbers: [72, 5, 20] Generated Node #2: [72, 5, 20] from Operation: 83-63=20 Current State: 76:[72, 5, 20], Operations: ['83-63=20'] Exploring Operation: 20/5=4, Resulting Numbers: [72, 4] Generated Node #3: [72, 4] from Operation: 20/5=4 Current State: 76:[72, 4], Operations: ['83-63=20', '20/5=4'] Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[72, 5, 83, 63], Operations: [] Exploring Operation: 83-63=20, Resulting Numbers: [72, 5, 20] Generated Node #0,0: 76:[72, 5, 20] Operation: 83-63=20 Exploring Operation: 72-63=9, Resulting Numbers: [5, 83, 9] Generated Node #0,1: 76:[5, 83, 9] Operation: 72-63=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[72, 5, 20], Operations: ['83-63=20'] Exploring Operation: 20/5=4, Resulting Numbers: [72, 4] Generated Node #0,0,0: 76:[72, 4] Operation: 20/5=4 Exploring Operation: 72+5=77, Resulting Numbers: [20, 77] Generated Node #0,0,1: 76:[20, 77] Operation: 72+5=77 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[20, 77], Operations: ['83-63=20', '72+5=77'] Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,76 unequal: No Solution Exploring Operation: 20+77=97, Resulting Numbers: [97] 97,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:[72, 4], Operations: ['83-63=20', '20/5=4'] Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[72, 5, 83, 63], Operations: [] Exploring Operation: 83-63=20, Resulting Numbers: [72, 5, 20] Generated Node #0,0: 76:[72, 5, 20] Operation: 83-63=20 Moving to Node #0,0 Current State: 76:[72, 5, 20], Operations: ['83-63=20'] Exploring Operation: 20/5=4, Resulting Numbers: [72, 4] Generated Node #0,0,0: 76:[72, 4] Operation: 20/5=4 Moving to Node #0,0,0 Current State: 76:[72, 4], Operations: ['83-63=20', '20/5=4'] Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 98, 34, 57, 51 ]
24
[ "98+34=132", "57+51=108", "132-108=24" ]
Current State: 24:[98, 34, 57, 51], Operations: [] Exploring Operation: 98+34=132, Resulting Numbers: [57, 51, 132] Generated Node #2: [57, 51, 132] from Operation: 98+34=132 Current State: 24:[57, 51, 132], Operations: ['98+34=132'] Exploring Operation: 57+51=108, Resulting Numbers: [132, 108] Generated Node #3: [132, 108] from Operation: 57+51=108 Current State: 24:[132, 108], Operations: ['98+34=132', '57+51=108'] Exploring Operation: 132-108=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[98, 34, 57, 51], Operations: [] Exploring Operation: 98-57=41, Resulting Numbers: [34, 51, 41] Generated Node #0,0: 24:[34, 51, 41] Operation: 98-57=41 Exploring Operation: 98-34=64, Resulting Numbers: [57, 51, 64] Generated Node #0,1: 24:[57, 51, 64] Operation: 98-34=64 Exploring Operation: 57-51=6, Resulting Numbers: [98, 34, 6] Generated Node #0,2: 24:[98, 34, 6] Operation: 57-51=6 Exploring Operation: 98-51=47, Resulting Numbers: [34, 57, 47] Generated Node #0,3: 24:[34, 57, 47] Operation: 98-51=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[34, 51, 41], Operations: ['98-57=41'] Exploring Operation: 51-34=17, Resulting Numbers: [41, 17] Generated Node #0,0,0: 24:[41, 17] Operation: 51-34=17 Exploring Operation: 41-34=7, Resulting Numbers: [51, 7] Generated Node #0,0,1: 24:[51, 7] Operation: 41-34=7 Exploring Operation: 51-41=10, Resulting Numbers: [34, 10] Generated Node #0,0,2: 24:[34, 10] Operation: 51-41=10 Exploring Operation: 34+51=85, Resulting Numbers: [41, 85] Generated Node #0,0,3: 24:[41, 85] Operation: 34+51=85 Moving to Node #0,0,2 Current State: 24:[34, 10], Operations: ['98-57=41', '51-41=10'] Exploring Operation: 34*10=340, Resulting Numbers: [340] 340,24 unequal: No Solution Exploring Operation: 34+10=44, Resulting Numbers: [44] 44,24 unequal: No Solution Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[98, 34, 57, 51], Operations: [] Exploring Operation: 98-57=41, Resulting Numbers: [34, 51, 41] Generated Node #0,0: 24:[34, 51, 41] Operation: 98-57=41 Moving to Node #0,0 Current State: 24:[34, 51, 41], Operations: ['98-57=41'] Exploring Operation: 51-41=10, Resulting Numbers: [34, 10] Generated Node #0,0,2: 24:[34, 10] Operation: 51-41=10 Moving to Node #0,0,2 Current State: 24:[34, 10], Operations: ['98-57=41', '51-41=10'] Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 96, 2, 39, 6 ]
47
[ "96/2=48", "48/6=8", "39+8=47" ]
Current State: 47:[96, 2, 39, 6], Operations: [] Exploring Operation: 96/2=48, Resulting Numbers: [39, 6, 48] Generated Node #2: [39, 6, 48] from Operation: 96/2=48 Current State: 47:[39, 6, 48], Operations: ['96/2=48'] Exploring Operation: 48/6=8, Resulting Numbers: [39, 8] Generated Node #3: [39, 8] from Operation: 48/6=8 Current State: 47:[39, 8], Operations: ['96/2=48', '48/6=8'] Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[96, 2, 39, 6], Operations: [] Exploring Operation: 96/2=48, Resulting Numbers: [39, 6, 48] Generated Node #0,0: 47:[39, 6, 48] Operation: 96/2=48 Moving to Node #0,0 Current State: 47:[39, 6, 48], Operations: ['96/2=48'] Exploring Operation: 39+6=45, Resulting Numbers: [48, 45] Generated Node #0,0,0: 47:[48, 45] Operation: 39+6=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[48, 45], Operations: ['96/2=48', '39+6=45'] Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 69, 7, 24, 63 ]
11
[ "69+7=76", "24+63=87", "87-76=11" ]
Current State: 11:[69, 7, 24, 63], Operations: [] Exploring Operation: 69+7=76, Resulting Numbers: [24, 63, 76] Generated Node #2: [24, 63, 76] from Operation: 69+7=76 Current State: 11:[24, 63, 76], Operations: ['69+7=76'] Exploring Operation: 24+63=87, Resulting Numbers: [76, 87] Generated Node #3: [76, 87] from Operation: 24+63=87 Current State: 11:[76, 87], Operations: ['69+7=76', '24+63=87'] Exploring Operation: 87-76=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[69, 7, 24, 63], Operations: [] Exploring Operation: 63/7=9, Resulting Numbers: [69, 24, 9] Generated Node #0,0: 11:[69, 24, 9] Operation: 63/7=9 Exploring Operation: 69-63=6, Resulting Numbers: [7, 24, 6] Generated Node #0,1: 11:[7, 24, 6] Operation: 69-63=6 Exploring Operation: 69-24=45, Resulting Numbers: [7, 63, 45] Generated Node #0,2: 11:[7, 63, 45] Operation: 69-24=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[7, 24, 6], Operations: ['69-63=6'] Exploring Operation: 24-7=17, Resulting Numbers: [6, 17] Generated Node #0,1,0: 11:[6, 17] Operation: 24-7=17 Exploring Operation: 24-6=18, Resulting Numbers: [7, 18] Generated Node #0,1,1: 11:[7, 18] Operation: 24-6=18 Exploring Operation: 24/6=4, Resulting Numbers: [7, 4] Generated Node #0,1,2: 11:[7, 4] Operation: 24/6=4 Moving to Node #0,1,0 Current State: 11:[6, 17], Operations: ['69-63=6', '24-7=17'] Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,11 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[69, 7, 24, 63], Operations: [] Exploring Operation: 69-63=6, Resulting Numbers: [7, 24, 6] Generated Node #0,1: 11:[7, 24, 6] Operation: 69-63=6 Moving to Node #0,1 Current State: 11:[7, 24, 6], Operations: ['69-63=6'] Exploring Operation: 24-7=17, Resulting Numbers: [6, 17] Generated Node #0,1,0: 11:[6, 17] Operation: 24-7=17 Moving to Node #0,1,0 Current State: 11:[6, 17], Operations: ['69-63=6', '24-7=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 18, 75, 90, 12 ]
40
[ "75*12=900", "900/18=50", "90-50=40" ]
Current State: 40:[18, 75, 90, 12], Operations: [] Exploring Operation: 75*12=900, Resulting Numbers: [18, 90, 900] Generated Node #2: [18, 90, 900] from Operation: 75*12=900 Current State: 40:[18, 90, 900], Operations: ['75*12=900'] Exploring Operation: 900/18=50, Resulting Numbers: [90, 50] Generated Node #3: [90, 50] from Operation: 900/18=50 Current State: 40:[90, 50], Operations: ['75*12=900', '900/18=50'] Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[18, 75, 90, 12], Operations: [] Exploring Operation: 90-18=72, Resulting Numbers: [75, 12, 72] Generated Node #0,0: 40:[75, 12, 72] Operation: 90-18=72 Exploring Operation: 90-75=15, Resulting Numbers: [18, 12, 15] Generated Node #0,1: 40:[18, 12, 15] Operation: 90-75=15 Exploring Operation: 75-12=63, Resulting Numbers: [18, 90, 63] Generated Node #0,2: 40:[18, 90, 63] Operation: 75-12=63 Exploring Operation: 75-18=57, Resulting Numbers: [90, 12, 57] Generated Node #0,3: 40:[90, 12, 57] Operation: 75-18=57 Exploring Operation: 90/18=5, Resulting Numbers: [75, 12, 5] Generated Node #0,4: 40:[75, 12, 5] Operation: 90/18=5 Moving to Node #0,1 Current State: 40:[18, 12, 15], Operations: ['90-75=15'] Exploring Operation: 12+15=27, Resulting Numbers: [18, 27] Generated Node #0,1,0: 40:[18, 27] Operation: 12+15=27 Exploring Operation: 18+15=33, Resulting Numbers: [12, 33] Generated Node #0,1,1: 40:[12, 33] Operation: 18+15=33 Exploring Operation: 15-12=3, Resulting Numbers: [18, 3] Generated Node #0,1,2: 40:[18, 3] Operation: 15-12=3 Exploring Operation: 18-12=6, Resulting Numbers: [15, 6] Generated Node #0,1,3: 40:[15, 6] Operation: 18-12=6 Exploring Operation: 18-15=3, Resulting Numbers: [12, 3] Generated Node #0,1,4: 40:[12, 3] Operation: 18-15=3 Moving to Node #0,4 Current State: 40:[75, 12, 5], Operations: ['90/18=5'] Exploring Operation: 75/5=15, Resulting Numbers: [12, 15] Generated Node #0,4,0: 40:[12, 15] Operation: 75/5=15 Exploring Operation: 75-12=63, Resulting Numbers: [5, 63] Generated Node #0,4,1: 40:[5, 63] Operation: 75-12=63 Exploring Operation: 12+5=17, Resulting Numbers: [75, 17] Generated Node #0,4,2: 40:[75, 17] Operation: 12+5=17 Exploring Operation: 12-5=7, Resulting Numbers: [75, 7] Generated Node #0,4,3: 40:[75, 7] Operation: 12-5=7 Exploring Operation: 75-5=70, Resulting Numbers: [12, 70] Generated Node #0,4,4: 40:[12, 70] Operation: 75-5=70 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 40:[12, 15], Operations: ['90/18=5', '75/5=15'] Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,40 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 40:[5, 63], Operations: ['90/18=5', '75-12=63'] Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,40 unequal: No Solution Exploring Operation: 5+63=68, Resulting Numbers: [68] 68,40 unequal: No Solution Exploring Operation: 5*63=315, Resulting Numbers: [315] 315,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 40:[12, 70], Operations: ['90/18=5', '75-5=70'] Exploring Operation: 12+70=82, Resulting Numbers: [82] 82,40 unequal: No Solution Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,40 unequal: No Solution Exploring Operation: 12*70=840, Resulting Numbers: [840] 840,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 40:[75, 7], Operations: ['90/18=5', '12-5=7'] Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,40 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,40 unequal: No Solution Exploring Operation: 75*7=525, Resulting Numbers: [525] 525,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 40:[75, 17], Operations: ['90/18=5', '12+5=17'] Exploring Operation: 75+17=92, Resulting Numbers: [92] 92,40 unequal: No Solution Exploring Operation: 75-17=58, Resulting Numbers: [58] 58,40 unequal: No Solution Exploring Operation: 75*17=1275, Resulting Numbers: [1275] 1275,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 40:[75, 12, 72], Operations: ['90-18=72'] Exploring Operation: 75-12=63, Resulting Numbers: [72, 63] Generated Node #0,0,0: 40:[72, 63] Operation: 75-12=63 Exploring Operation: 75-72=3, Resulting Numbers: [12, 3] Generated Node #0,0,1: 40:[12, 3] Operation: 75-72=3 Exploring Operation: 72-12=60, Resulting Numbers: [75, 60] Generated Node #0,0,2: 40:[75, 60] Operation: 72-12=60 Exploring Operation: 72/12=6, Resulting Numbers: [75, 6] Generated Node #0,0,3: 40:[75, 6] Operation: 72/12=6 Exploring Operation: 75+12=87, Resulting Numbers: [72, 87] Generated Node #0,0,4: 40:[72, 87] Operation: 75+12=87 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[12, 3], Operations: ['90-18=72', '75-72=3'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,40 unequal: No Solution Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 40:[75, 6], Operations: ['90-18=72', '72/12=6'] Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,40 unequal: No Solution Exploring Operation: 75*6=450, Resulting Numbers: [450] 450,40 unequal: No Solution Exploring Operation: 75+6=81, Resulting Numbers: [81] 81,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[72, 63], Operations: ['90-18=72', '75-12=63'] Exploring Operation: 72+63=135, Resulting Numbers: [135] 135,40 unequal: No Solution Exploring Operation: 72*63=4536, Resulting Numbers: [4536] 4536,40 unequal: No Solution Exploring Operation: 72-63=9, Resulting Numbers: [9] 9,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 40:[75, 60], Operations: ['90-18=72', '72-12=60'] Exploring Operation: 75-60=15, Resulting Numbers: [15] 15,40 unequal: No Solution Exploring Operation: 75+60=135, Resulting Numbers: [135] 135,40 unequal: No Solution Exploring Operation: 75*60=4500, Resulting Numbers: [4500] 4500,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 40:[72, 87], Operations: ['90-18=72', '75+12=87'] Exploring Operation: 72*87=6264, Resulting Numbers: [6264] 6264,40 unequal: No Solution Exploring Operation: 87-72=15, Resulting Numbers: [15] 15,40 unequal: No Solution Exploring Operation: 72+87=159, Resulting Numbers: [159] 159,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 40:[90, 12, 57], Operations: ['75-18=57'] Exploring Operation: 90-57=33, Resulting Numbers: [12, 33] Generated Node #0,3,0: 40:[12, 33] Operation: 90-57=33 Exploring Operation: 12+57=69, Resulting Numbers: [90, 69] Generated Node #0,3,1: 40:[90, 69] Operation: 12+57=69 Exploring Operation: 90-12=78, Resulting Numbers: [57, 78] Generated Node #0,3,2: 40:[57, 78] Operation: 90-12=78 Exploring Operation: 57-12=45, Resulting Numbers: [90, 45] Generated Node #0,3,3: 40:[90, 45] Operation: 57-12=45 Exploring Operation: 90+12=102, Resulting Numbers: [57, 102] Generated Node #0,3,4: 40:[57, 102] Operation: 90+12=102 Moving to Node #0,2 Current State: 40:[18, 90, 63], Operations: ['75-12=63'] Exploring Operation: 63-18=45, Resulting Numbers: [90, 45] Generated Node #0,2,0: 40:[90, 45] Operation: 63-18=45 Exploring Operation: 90-18=72, Resulting Numbers: [63, 72] Generated Node #0,2,1: 40:[63, 72] Operation: 90-18=72 Exploring Operation: 90/18=5, Resulting Numbers: [63, 5] Generated Node #0,2,2: 40:[63, 5] Operation: 90/18=5 Exploring Operation: 18+90=108, Resulting Numbers: [63, 108] Generated Node #0,2,3: 40:[63, 108] Operation: 18+90=108 Exploring Operation: 90-63=27, Resulting Numbers: [18, 27] Generated Node #0,2,4: 40:[18, 27] Operation: 90-63=27 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 40:[18, 27], Operations: ['75-12=63', '90-63=27'] Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 18+27=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 18*27=486, Resulting Numbers: [486] 486,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 40:[63, 5], Operations: ['75-12=63', '90/18=5'] Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,40 unequal: No Solution Exploring Operation: 63*5=315, Resulting Numbers: [315] 315,40 unequal: No Solution Exploring Operation: 63+5=68, Resulting Numbers: [68] 68,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 40:[90, 45], Operations: ['75-12=63', '63-18=45'] Exploring Operation: 90-45=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 90/45=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 90+45=135, Resulting Numbers: [135] 135,40 unequal: No Solution Exploring Operation: 90*45=4050, Resulting Numbers: [4050] 4050,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 40:[63, 72], Operations: ['75-12=63', '90-18=72'] Exploring Operation: 72-63=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 63+72=135, Resulting Numbers: [135] 135,40 unequal: No Solution Exploring Operation: 63*72=4536, Resulting Numbers: [4536] 4536,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 40:[63, 108], Operations: ['75-12=63', '18+90=108'] Exploring Operation: 63+108=171, Resulting Numbers: [171] 171,40 unequal: No Solution Exploring Operation: 63*108=6804, Resulting Numbers: [6804] 6804,40 unequal: No Solution Exploring Operation: 108-63=45, Resulting Numbers: [45] 45,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 40:[18, 3], Operations: ['90-75=15', '15-12=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,40 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,40 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,40 unequal: No Solution Moving to Node #0,1,4 Current State: 40:[12, 3], Operations: ['90-75=15', '18-15=3'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,40 unequal: No Solution Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,40 unequal: No Solution Moving to Node #0,1,3 Current State: 40:[15, 6], Operations: ['90-75=15', '18-12=6'] Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,40 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,40 unequal: No Solution Moving to Node #0,3,0 Current State: 40:[12, 33], Operations: ['75-18=57', '90-57=33'] Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[12, 33], Operations: ['90-75=15', '18+15=33'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[18, 27], Operations: ['90-75=15', '12+15=27'] Exploring Operation: 18*27=486, Resulting Numbers: [486] 486,40 unequal: No Solution Exploring Operation: 18+27=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,40 unequal: No Solution Moving to Node #0,3,2 Current State: 40:[57, 78], Operations: ['75-18=57', '90-12=78'] Exploring Operation: 78-57=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 57+78=135, Resulting Numbers: [135] 135,40 unequal: No Solution Exploring Operation: 57*78=4446, Resulting Numbers: [4446] 4446,40 unequal: No Solution Moving to Node #0,3,3 Current State: 40:[90, 45], Operations: ['75-18=57', '57-12=45'] Exploring Operation: 90/45=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 90-45=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 90*45=4050, Resulting Numbers: [4050] 4050,40 unequal: No Solution Exploring Operation: 90+45=135, Resulting Numbers: [135] 135,40 unequal: No Solution Moving to Node #0,3,1 Current State: 40:[90, 69], Operations: ['75-18=57', '12+57=69'] Exploring Operation: 90+69=159, Resulting Numbers: [159] 159,40 unequal: No Solution Exploring Operation: 90*69=6210, Resulting Numbers: [6210] 6210,40 unequal: No Solution Exploring Operation: 90-69=21, Resulting Numbers: [21] 21,40 unequal: No Solution Moving to Node #0,3,4 Current State: 40:[57, 102], Operations: ['75-18=57', '90+12=102'] Exploring Operation: 57*102=5814, Resulting Numbers: [5814] 5814,40 unequal: No Solution Exploring Operation: 57+102=159, Resulting Numbers: [159] 159,40 unequal: No Solution Exploring Operation: 102-57=45, Resulting Numbers: [45] 45,40 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 44, 6, 49, 83 ]
72
[ "44-6=38", "83-49=34", "38+34=72" ]
Current State: 72:[44, 6, 49, 83], Operations: [] Exploring Operation: 44-6=38, Resulting Numbers: [49, 83, 38] Generated Node #2: [49, 83, 38] from Operation: 44-6=38 Current State: 72:[49, 83, 38], Operations: ['44-6=38'] Exploring Operation: 83-49=34, Resulting Numbers: [38, 34] Generated Node #3: [38, 34] from Operation: 83-49=34 Current State: 72:[38, 34], Operations: ['44-6=38', '83-49=34'] Exploring Operation: 38+34=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[44, 6, 49, 83], Operations: [] Exploring Operation: 83-49=34, Resulting Numbers: [44, 6, 34] Generated Node #0,0: 72:[44, 6, 34] Operation: 83-49=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[44, 6, 34], Operations: ['83-49=34'] Exploring Operation: 44-34=10, Resulting Numbers: [6, 10] Generated Node #0,0,0: 72:[6, 10] Operation: 44-34=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[6, 10], Operations: ['83-49=34', '44-34=10'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 60, 53, 16, 2 ]
35
[ "60-16=44", "2*44=88", "88-53=35" ]
Current State: 35:[60, 53, 16, 2], Operations: [] Exploring Operation: 60-16=44, Resulting Numbers: [53, 2, 44] Generated Node #2: [53, 2, 44] from Operation: 60-16=44 Current State: 35:[53, 2, 44], Operations: ['60-16=44'] Exploring Operation: 2*44=88, Resulting Numbers: [53, 88] Generated Node #3: [53, 88] from Operation: 2*44=88 Current State: 35:[53, 88], Operations: ['60-16=44', '2*44=88'] Exploring Operation: 88-53=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[60, 53, 16, 2], Operations: [] Exploring Operation: 60-53=7, Resulting Numbers: [16, 2, 7] Generated Node #0,0: 35:[16, 2, 7] Operation: 60-53=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[16, 2, 7], Operations: ['60-53=7'] Exploring Operation: 16/2=8, Resulting Numbers: [7, 8] Generated Node #0,0,0: 35:[7, 8] Operation: 16/2=8 Moving to Node #0,0,0 Current State: 35:[7, 8], Operations: ['60-53=7', '16/2=8'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 9, 27, 30, 3 ]
81
[ "27/9=3", "30-3=27", "3*27=81" ]
Current State: 81:[9, 27, 30, 3], Operations: [] Exploring Operation: 27/9=3, Resulting Numbers: [30, 3, 3] Generated Node #2: [30, 3, 3] from Operation: 27/9=3 Current State: 81:[30, 3, 3], Operations: ['27/9=3'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,81 equal: Goal Reached Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[9, 27, 30, 3], Operations: [] Exploring Operation: 30-3=27, Resulting Numbers: [9, 27, 27] Generated Node #0,0: 81:[9, 27, 27] Operation: 30-3=27 Exploring Operation: 30-27=3, Resulting Numbers: [9, 3, 3] Generated Node #0,1: 81:[9, 3, 3] Operation: 30-27=3 Moving to Node #0,0 Current State: 81:[9, 27, 27], Operations: ['30-3=27'] Exploring Operation: 27/9=3, Resulting Numbers: [27, 3] Generated Node #0,0,0: 81:[27, 3] Operation: 27/9=3 Exploring Operation: 27/9=3, Resulting Numbers: [27, 3] Generated Node #0,0,1: 81:[27, 3] Operation: 27/9=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[27, 3], Operations: ['30-3=27', '27/9=3'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[9, 27, 30, 3], Operations: [] Exploring Operation: 30-3=27, Resulting Numbers: [9, 27, 27] Generated Node #0,0: 81:[9, 27, 27] Operation: 30-3=27 Moving to Node #0,0 Current State: 81:[9, 27, 27], Operations: ['30-3=27'] Exploring Operation: 27/9=3, Resulting Numbers: [27, 3] Generated Node #0,0,0: 81:[27, 3] Operation: 27/9=3 Moving to Node #0,0,0 Current State: 81:[27, 3], Operations: ['30-3=27', '27/9=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 45, 47, 14, 11 ]
18
[ "47-45=2", "14/2=7", "11+7=18" ]
Current State: 18:[45, 47, 14, 11], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [14, 11, 2] Generated Node #2: [14, 11, 2] from Operation: 47-45=2 Current State: 18:[14, 11, 2], Operations: ['47-45=2'] Exploring Operation: 14/2=7, Resulting Numbers: [11, 7] Generated Node #3: [11, 7] from Operation: 14/2=7 Current State: 18:[11, 7], Operations: ['47-45=2', '14/2=7'] Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[45, 47, 14, 11], Operations: [] Exploring Operation: 45-14=31, Resulting Numbers: [47, 11, 31] Generated Node #0,0: 18:[47, 11, 31] Operation: 45-14=31 Exploring Operation: 45-11=34, Resulting Numbers: [47, 14, 34] Generated Node #0,1: 18:[47, 14, 34] Operation: 45-11=34 Exploring Operation: 47-11=36, Resulting Numbers: [45, 14, 36] Generated Node #0,2: 18:[45, 14, 36] Operation: 47-11=36 Exploring Operation: 47-45=2, Resulting Numbers: [14, 11, 2] Generated Node #0,3: 18:[14, 11, 2] Operation: 47-45=2 Exploring Operation: 47-14=33, Resulting Numbers: [45, 11, 33] Generated Node #0,4: 18:[45, 11, 33] Operation: 47-14=33 Start Sub Search at level 1: Moving to Node #0,3 Current State: 18:[14, 11, 2], Operations: ['47-45=2'] Exploring Operation: 14-11=3, Resulting Numbers: [2, 3] Generated Node #0,3,0: 18:[2, 3] Operation: 14-11=3 Exploring Operation: 11-2=9, Resulting Numbers: [14, 9] Generated Node #0,3,1: 18:[14, 9] Operation: 11-2=9 Exploring Operation: 14/2=7, Resulting Numbers: [11, 7] Generated Node #0,3,2: 18:[11, 7] Operation: 14/2=7 Exploring Operation: 14+2=16, Resulting Numbers: [11, 16] Generated Node #0,3,3: 18:[11, 16] Operation: 14+2=16 Exploring Operation: 14-2=12, Resulting Numbers: [11, 12] Generated Node #0,3,4: 18:[11, 12] Operation: 14-2=12 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 18:[2, 3], Operations: ['47-45=2', '14-11=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,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,3,2 Current State: 18:[11, 7], Operations: ['47-45=2', '14/2=7'] Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,18 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[45, 47, 14, 11], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [14, 11, 2] Generated Node #0,3: 18:[14, 11, 2] Operation: 47-45=2 Moving to Node #0,3 Current State: 18:[14, 11, 2], Operations: ['47-45=2'] Exploring Operation: 14/2=7, Resulting Numbers: [11, 7] Generated Node #0,3,2: 18:[11, 7] Operation: 14/2=7 Moving to Node #0,3,2 Current State: 18:[11, 7], Operations: ['47-45=2', '14/2=7'] Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 41, 89, 14, 28 ]
96
[ "89-41=48", "28/14=2", "48*2=96" ]
Current State: 96:[41, 89, 14, 28], Operations: [] Exploring Operation: 89-41=48, Resulting Numbers: [14, 28, 48] Generated Node #2: [14, 28, 48] from Operation: 89-41=48 Current State: 96:[14, 28, 48], Operations: ['89-41=48'] Exploring Operation: 28/14=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 28/14=2 Current State: 96:[48, 2], Operations: ['89-41=48', '28/14=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[41, 89, 14, 28], Operations: [] Exploring Operation: 41-28=13, Resulting Numbers: [89, 14, 13] Generated Node #0,0: 96:[89, 14, 13] Operation: 41-28=13 Exploring Operation: 89-41=48, Resulting Numbers: [14, 28, 48] Generated Node #0,1: 96:[14, 28, 48] Operation: 89-41=48 Exploring Operation: 28/14=2, Resulting Numbers: [41, 89, 2] Generated Node #0,2: 96:[41, 89, 2] Operation: 28/14=2 Exploring Operation: 28-14=14, Resulting Numbers: [41, 89, 14] Generated Node #0,3: 96:[41, 89, 14] Operation: 28-14=14 Exploring Operation: 41-14=27, Resulting Numbers: [89, 28, 27] Generated Node #0,4: 96:[89, 28, 27] Operation: 41-14=27 Moving to Node #0,1 Current State: 96:[14, 28, 48], Operations: ['89-41=48'] Exploring Operation: 28-14=14, Resulting Numbers: [48, 14] Generated Node #0,1,0: 96:[48, 14] Operation: 28-14=14 Exploring Operation: 48-28=20, Resulting Numbers: [14, 20] Generated Node #0,1,1: 96:[14, 20] Operation: 48-28=20 Exploring Operation: 48-14=34, Resulting Numbers: [28, 34] Generated Node #0,1,2: 96:[28, 34] Operation: 48-14=34 Exploring Operation: 14+28=42, Resulting Numbers: [48, 42] Generated Node #0,1,3: 96:[48, 42] Operation: 14+28=42 Exploring Operation: 28/14=2, Resulting Numbers: [48, 2] Generated Node #0,1,4: 96:[48, 2] Operation: 28/14=2 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 96:[48, 2], Operations: ['89-41=48', '28/14=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,96 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[41, 89, 14, 28], Operations: [] Exploring Operation: 89-41=48, Resulting Numbers: [14, 28, 48] Generated Node #0,1: 96:[14, 28, 48] Operation: 89-41=48 Moving to Node #0,1 Current State: 96:[14, 28, 48], Operations: ['89-41=48'] Exploring Operation: 28/14=2, Resulting Numbers: [48, 2] Generated Node #0,1,4: 96:[48, 2] Operation: 28/14=2 Moving to Node #0,1,4 Current State: 96:[48, 2], Operations: ['89-41=48', '28/14=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 69, 62, 91, 34 ]
21
[ "69-62=7", "91/7=13", "34-13=21" ]
Current State: 21:[69, 62, 91, 34], Operations: [] Exploring Operation: 69-62=7, Resulting Numbers: [91, 34, 7] Generated Node #2: [91, 34, 7] from Operation: 69-62=7 Current State: 21:[91, 34, 7], Operations: ['69-62=7'] Exploring Operation: 91/7=13, Resulting Numbers: [34, 13] Generated Node #3: [34, 13] from Operation: 91/7=13 Current State: 21:[34, 13], Operations: ['69-62=7', '91/7=13'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[69, 62, 91, 34], Operations: [] Exploring Operation: 91-69=22, Resulting Numbers: [62, 34, 22] Generated Node #0,0: 21:[62, 34, 22] Operation: 91-69=22 Exploring Operation: 91-62=29, Resulting Numbers: [69, 34, 29] Generated Node #0,1: 21:[69, 34, 29] Operation: 91-62=29 Exploring Operation: 69-62=7, Resulting Numbers: [91, 34, 7] Generated Node #0,2: 21:[91, 34, 7] Operation: 69-62=7 Moving to Node #0,0 Current State: 21:[62, 34, 22], Operations: ['91-69=22'] Exploring Operation: 62-22=40, Resulting Numbers: [34, 40] Generated Node #0,0,0: 21:[34, 40] Operation: 62-22=40 Exploring Operation: 34-22=12, Resulting Numbers: [62, 12] Generated Node #0,0,1: 21:[62, 12] Operation: 34-22=12 Exploring Operation: 62-34=28, Resulting Numbers: [22, 28] Generated Node #0,0,2: 21:[22, 28] Operation: 62-34=28 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 21:[22, 28], Operations: ['91-69=22', '62-34=28'] Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,21 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[34, 40], Operations: ['91-69=22', '62-22=40'] Exploring Operation: 34+40=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 34*40=1360, Resulting Numbers: [1360] 1360,21 unequal: No Solution Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 21:[62, 12], Operations: ['91-69=22', '34-22=12'] Exploring Operation: 62+12=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,21 unequal: No Solution Exploring Operation: 62*12=744, Resulting Numbers: [744] 744,21 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: 21:[69, 34, 29], Operations: ['91-62=29'] Exploring Operation: 69-29=40, Resulting Numbers: [34, 40] Generated Node #0,1,0: 21:[34, 40] Operation: 69-29=40 Exploring Operation: 34-29=5, Resulting Numbers: [69, 5] Generated Node #0,1,1: 21:[69, 5] Operation: 34-29=5 Exploring Operation: 69-34=35, Resulting Numbers: [29, 35] Generated Node #0,1,2: 21:[29, 35] Operation: 69-34=35 Moving to Node #0,2 Current State: 21:[91, 34, 7], Operations: ['69-62=7'] Exploring Operation: 91-7=84, Resulting Numbers: [34, 84] Generated Node #0,2,0: 21:[34, 84] Operation: 91-7=84 Exploring Operation: 91/7=13, Resulting Numbers: [34, 13] Generated Node #0,2,1: 21:[34, 13] Operation: 91/7=13 Exploring Operation: 91-34=57, Resulting Numbers: [7, 57] Generated Node #0,2,2: 21:[7, 57] Operation: 91-34=57 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 21:[34, 13], Operations: ['69-62=7', '91/7=13'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[69, 62, 91, 34], Operations: [] Exploring Operation: 69-62=7, Resulting Numbers: [91, 34, 7] Generated Node #0,2: 21:[91, 34, 7] Operation: 69-62=7 Moving to Node #0,2 Current State: 21:[91, 34, 7], Operations: ['69-62=7'] Exploring Operation: 91/7=13, Resulting Numbers: [34, 13] Generated Node #0,2,1: 21:[34, 13] Operation: 91/7=13 Moving to Node #0,2,1 Current State: 21:[34, 13], Operations: ['69-62=7', '91/7=13'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
sum_heuristic
[ 76, 36, 99, 42 ]
97
[ "76-36=40", "99-42=57", "40+57=97" ]
Current State: 97:[76, 36, 99, 42], Operations: [] Exploring Operation: 76-36=40, Resulting Numbers: [99, 42, 40] Generated Node #2: [99, 42, 40] from Operation: 76-36=40 Current State: 97:[99, 42, 40], Operations: ['76-36=40'] Exploring Operation: 99-42=57, Resulting Numbers: [40, 57] Generated Node #3: [40, 57] from Operation: 99-42=57 Current State: 97:[40, 57], Operations: ['76-36=40', '99-42=57'] Exploring Operation: 40+57=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[76, 36, 99, 42], Operations: [] Exploring Operation: 36+42=78, Resulting Numbers: [76, 99, 78] Generated Node #0,0: 97:[76, 99, 78] Operation: 36+42=78 Exploring Operation: 76+36=112, Resulting Numbers: [99, 42, 112] Generated Node #0,1: 97:[99, 42, 112] Operation: 76+36=112 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[76, 99, 78], Operations: ['36+42=78'] Exploring Operation: 76+78=154, Resulting Numbers: [99, 154] Generated Node #0,0,0: 97:[99, 154] Operation: 76+78=154 Exploring Operation: 99-76=23, Resulting Numbers: [78, 23] Generated Node #0,0,1: 97:[78, 23] Operation: 99-76=23 Moving to Node #0,0,0 Current State: 97:[99, 154], Operations: ['36+42=78', '76+78=154'] Exploring Operation: 154-99=55, Resulting Numbers: [55] 55,97 unequal: No Solution Exploring Operation: 99+154=253, Resulting Numbers: [253] 253,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[78, 23], Operations: ['36+42=78', '99-76=23'] Exploring Operation: 78-23=55, Resulting Numbers: [55] 55,97 unequal: No Solution Exploring Operation: 78+23=101, Resulting Numbers: [101] 101,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,1 Current State: 97:[99, 42, 112], Operations: ['76+36=112'] Exploring Operation: 99-42=57, Resulting Numbers: [112, 57] Generated Node #0,1,0: 97:[112, 57] Operation: 99-42=57 Exploring Operation: 112-42=70, Resulting Numbers: [99, 70] Generated Node #0,1,1: 97:[99, 70] Operation: 112-42=70 Moving to Node #0,1,1 Current State: 97:[99, 70], Operations: ['76+36=112', '112-42=70'] Exploring Operation: 99+70=169, Resulting Numbers: [169] 169,97 unequal: No Solution Exploring Operation: 99-70=29, Resulting Numbers: [29] 29,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[112, 57], Operations: ['76+36=112', '99-42=57'] Exploring Operation: 112-57=55, Resulting Numbers: [55] 55,97 unequal: No Solution Exploring Operation: 112+57=169, Resulting Numbers: [169] 169,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 57, 91, 18, 48 ]
93
[ "57-48=9", "18/9=2", "91+2=93" ]
Current State: 93:[57, 91, 18, 48], Operations: [] Exploring Operation: 57-48=9, Resulting Numbers: [91, 18, 9] Generated Node #2: [91, 18, 9] from Operation: 57-48=9 Current State: 93:[91, 18, 9], Operations: ['57-48=9'] Exploring Operation: 18/9=2, Resulting Numbers: [91, 2] Generated Node #3: [91, 2] from Operation: 18/9=2 Current State: 93:[91, 2], Operations: ['57-48=9', '18/9=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[57, 91, 18, 48], Operations: [] Exploring Operation: 57-48=9, Resulting Numbers: [91, 18, 9] Generated Node #0,0: 93:[91, 18, 9] Operation: 57-48=9 Exploring Operation: 91-57=34, Resulting Numbers: [18, 48, 34] Generated Node #0,1: 93:[18, 48, 34] Operation: 91-57=34 Exploring Operation: 48-18=30, Resulting Numbers: [57, 91, 30] Generated Node #0,2: 93:[57, 91, 30] Operation: 48-18=30 Exploring Operation: 57-18=39, Resulting Numbers: [91, 48, 39] Generated Node #0,3: 93:[91, 48, 39] Operation: 57-18=39 Exploring Operation: 57+48=105, Resulting Numbers: [91, 18, 105] Generated Node #0,4: 93:[91, 18, 105] Operation: 57+48=105 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[91, 18, 9], Operations: ['57-48=9'] Exploring Operation: 91+9=100, Resulting Numbers: [18, 100] Generated Node #0,0,0: 93:[18, 100] Operation: 91+9=100 Exploring Operation: 18/9=2, Resulting Numbers: [91, 2] Generated Node #0,0,1: 93:[91, 2] Operation: 18/9=2 Exploring Operation: 18+9=27, Resulting Numbers: [91, 27] Generated Node #0,0,2: 93:[91, 27] Operation: 18+9=27 Exploring Operation: 18-9=9, Resulting Numbers: [91, 9] Generated Node #0,0,3: 93:[91, 9] Operation: 18-9=9 Exploring Operation: 91+18=109, Resulting Numbers: [9, 109] Generated Node #0,0,4: 93:[9, 109] Operation: 91+18=109 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[91, 2], Operations: ['57-48=9', '18/9=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[57, 91, 18, 48], Operations: [] Exploring Operation: 57-48=9, Resulting Numbers: [91, 18, 9] Generated Node #0,0: 93:[91, 18, 9] Operation: 57-48=9 Moving to Node #0,0 Current State: 93:[91, 18, 9], Operations: ['57-48=9'] Exploring Operation: 18/9=2, Resulting Numbers: [91, 2] Generated Node #0,0,1: 93:[91, 2] Operation: 18/9=2 Moving to Node #0,0,1 Current State: 93:[91, 2], Operations: ['57-48=9', '18/9=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 42, 35, 14, 7 ]
35
[ "42-35=7", "7*7=49", "49-14=35" ]
Current State: 35:[42, 35, 14, 7], Operations: [] Exploring Operation: 42-35=7, Resulting Numbers: [14, 7, 7] Generated Node #2: [14, 7, 7] from Operation: 42-35=7 Current State: 35:[14, 7, 7], Operations: ['42-35=7'] Exploring Operation: 7*7=49, Resulting Numbers: [14, 49] Generated Node #3: [14, 49] from Operation: 7*7=49 Current State: 35:[14, 49], Operations: ['42-35=7', '7*7=49'] Exploring Operation: 49-14=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[42, 35, 14, 7], Operations: [] Exploring Operation: 42/14=3, Resulting Numbers: [35, 7, 3] Generated Node #0,0: 35:[35, 7, 3] Operation: 42/14=3 Moving to Node #0,0 Current State: 35:[35, 7, 3], Operations: ['42/14=3'] Exploring Operation: 7-3=4, Resulting Numbers: [35, 4] Generated Node #0,0,0: 35:[35, 4] Operation: 7-3=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[35, 4], Operations: ['42/14=3', '7-3=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,35 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
[ 57, 3, 23, 52 ]
59
[ "3+23=26", "52/26=2", "57+2=59" ]
Current State: 59:[57, 3, 23, 52], Operations: [] Exploring Operation: 3+23=26, Resulting Numbers: [57, 52, 26] Generated Node #2: [57, 52, 26] from Operation: 3+23=26 Current State: 59:[57, 52, 26], Operations: ['3+23=26'] Exploring Operation: 52/26=2, Resulting Numbers: [57, 2] Generated Node #3: [57, 2] from Operation: 52/26=2 Current State: 59:[57, 2], Operations: ['3+23=26', '52/26=2'] Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[57, 3, 23, 52], Operations: [] Exploring Operation: 3*23=69, Resulting Numbers: [57, 52, 69] Generated Node #0,0: 59:[57, 52, 69] Operation: 3*23=69 Exploring Operation: 3+23=26, Resulting Numbers: [57, 52, 26] Generated Node #0,1: 59:[57, 52, 26] Operation: 3+23=26 Moving to Node #0,0 Current State: 59:[57, 52, 69], Operations: ['3*23=69'] Exploring Operation: 69-52=17, Resulting Numbers: [57, 17] Generated Node #0,0,0: 59:[57, 17] Operation: 69-52=17 Exploring Operation: 69-57=12, Resulting Numbers: [52, 12] Generated Node #0,0,1: 59:[52, 12] Operation: 69-57=12 Moving to Node #0,1 Current State: 59:[57, 52, 26], Operations: ['3+23=26'] Exploring Operation: 52+26=78, Resulting Numbers: [57, 78] Generated Node #0,1,0: 59:[57, 78] Operation: 52+26=78 Exploring Operation: 57+26=83, Resulting Numbers: [52, 83] Generated Node #0,1,1: 59:[52, 83] Operation: 57+26=83 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[57, 78], Operations: ['3+23=26', '52+26=78'] Exploring Operation: 57+78=135, Resulting Numbers: [135] 135,59 unequal: No Solution Exploring Operation: 78-57=21, Resulting Numbers: [21] 21,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[52, 83], Operations: ['3+23=26', '57+26=83'] Exploring Operation: 83-52=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 52+83=135, Resulting Numbers: [135] 135,59 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: 59:[57, 17], Operations: ['3*23=69', '69-52=17'] Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 57+17=74, Resulting Numbers: [74] 74,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[52, 12], Operations: ['3*23=69', '69-57=12'] Exploring Operation: 52+12=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,59 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 8, 16, 67, 6 ]
85
[ "8+16=24", "67-6=61", "24+61=85" ]
Current State: 85:[8, 16, 67, 6], Operations: [] Exploring Operation: 8+16=24, Resulting Numbers: [67, 6, 24] Generated Node #2: [67, 6, 24] from Operation: 8+16=24 Current State: 85:[67, 6, 24], Operations: ['8+16=24'] Exploring Operation: 67-6=61, Resulting Numbers: [24, 61] Generated Node #3: [24, 61] from Operation: 67-6=61 Current State: 85:[24, 61], Operations: ['8+16=24', '67-6=61'] Exploring Operation: 24+61=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[8, 16, 67, 6], Operations: [] Exploring Operation: 16/8=2, Resulting Numbers: [67, 6, 2] Generated Node #0,0: 85:[67, 6, 2] Operation: 16/8=2 Exploring Operation: 16-8=8, Resulting Numbers: [67, 6, 8] Generated Node #0,1: 85:[67, 6, 8] Operation: 16-8=8 Exploring Operation: 16+67=83, Resulting Numbers: [8, 6, 83] Generated Node #0,2: 85:[8, 6, 83] Operation: 16+67=83 Exploring Operation: 8+67=75, Resulting Numbers: [16, 6, 75] Generated Node #0,3: 85:[16, 6, 75] Operation: 8+67=75 Exploring Operation: 67+6=73, Resulting Numbers: [8, 16, 73] Generated Node #0,4: 85:[8, 16, 73] Operation: 67+6=73 Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[8, 6, 83], Operations: ['16+67=83'] Exploring Operation: 8-6=2, Resulting Numbers: [83, 2] Generated Node #0,2,0: 85:[83, 2] Operation: 8-6=2 Exploring Operation: 8+6=14, Resulting Numbers: [83, 14] Generated Node #0,2,1: 85:[83, 14] Operation: 8+6=14 Exploring Operation: 6+83=89, Resulting Numbers: [8, 89] Generated Node #0,2,2: 85:[8, 89] Operation: 6+83=89 Exploring Operation: 83-8=75, Resulting Numbers: [6, 75] Generated Node #0,2,3: 85:[6, 75] Operation: 83-8=75 Exploring Operation: 8+83=91, Resulting Numbers: [6, 91] Generated Node #0,2,4: 85:[6, 91] Operation: 8+83=91 Moving to Node #0,2,0 Current State: 85:[83, 2], Operations: ['16+67=83', '8-6=2'] Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[8, 16, 67, 6], Operations: [] Exploring Operation: 16+67=83, Resulting Numbers: [8, 6, 83] Generated Node #0,2: 85:[8, 6, 83] Operation: 16+67=83 Moving to Node #0,2 Current State: 85:[8, 6, 83], Operations: ['16+67=83'] Exploring Operation: 8-6=2, Resulting Numbers: [83, 2] Generated Node #0,2,0: 85:[83, 2] Operation: 8-6=2 Moving to Node #0,2,0 Current State: 85:[83, 2], Operations: ['16+67=83', '8-6=2'] Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 5, 43, 80, 77 ]
45
[ "5+43=48", "80-77=3", "48-3=45" ]
Current State: 45:[5, 43, 80, 77], Operations: [] Exploring Operation: 5+43=48, Resulting Numbers: [80, 77, 48] Generated Node #2: [80, 77, 48] from Operation: 5+43=48 Current State: 45:[80, 77, 48], Operations: ['5+43=48'] Exploring Operation: 80-77=3, Resulting Numbers: [48, 3] Generated Node #3: [48, 3] from Operation: 80-77=3 Current State: 45:[48, 3], Operations: ['5+43=48', '80-77=3'] Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[5, 43, 80, 77], Operations: [] Exploring Operation: 80/5=16, Resulting Numbers: [43, 77, 16] Generated Node #0,0: 45:[43, 77, 16] Operation: 80/5=16 Exploring Operation: 80-77=3, Resulting Numbers: [5, 43, 3] Generated Node #0,1: 45:[5, 43, 3] Operation: 80-77=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[5, 43, 3], Operations: ['80-77=3'] Exploring Operation: 43+3=46, Resulting Numbers: [5, 46] Generated Node #0,1,0: 45:[5, 46] Operation: 43+3=46 Exploring Operation: 5*3=15, Resulting Numbers: [43, 15] Generated Node #0,1,1: 45:[43, 15] Operation: 5*3=15 Moving to Node #0,1,0 Current State: 45:[5, 46], Operations: ['80-77=3', '43+3=46'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,45 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[43, 15], Operations: ['80-77=3', '5*3=15'] Exploring Operation: 43+15=58, Resulting Numbers: [58] 58,45 unequal: No Solution Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[43, 77, 16], Operations: ['80/5=16'] Exploring Operation: 77-43=34, Resulting Numbers: [16, 34] Generated Node #0,0,0: 45:[16, 34] Operation: 77-43=34 Exploring Operation: 77-16=61, Resulting Numbers: [43, 61] Generated Node #0,0,1: 45:[43, 61] Operation: 77-16=61 Moving to Node #0,0,0 Current State: 45:[16, 34], Operations: ['80/5=16', '77-43=34'] Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[43, 61], Operations: ['80/5=16', '77-16=61'] Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 43+61=104, Resulting Numbers: [104] 104,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 45, 96, 36, 60 ]
85
[ "96-45=51", "60*51=3060", "3060/36=85" ]
Current State: 85:[45, 96, 36, 60], Operations: [] Exploring Operation: 96-45=51, Resulting Numbers: [36, 60, 51] Generated Node #2: [36, 60, 51] from Operation: 96-45=51 Current State: 85:[36, 60, 51], Operations: ['96-45=51'] Exploring Operation: 60*51=3060, Resulting Numbers: [36, 3060] Generated Node #3: [36, 3060] from Operation: 60*51=3060 Current State: 85:[36, 3060], Operations: ['96-45=51', '60*51=3060'] Exploring Operation: 3060/36=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[45, 96, 36, 60], Operations: [] Exploring Operation: 60-45=15, Resulting Numbers: [96, 36, 15] Generated Node #0,0: 85:[96, 36, 15] Operation: 60-45=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[96, 36, 15], Operations: ['60-45=15'] Exploring Operation: 36-15=21, Resulting Numbers: [96, 21] Generated Node #0,0,0: 85:[96, 21] Operation: 36-15=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[96, 21], Operations: ['60-45=15', '36-15=21'] Exploring Operation: 96-21=75, Resulting Numbers: [75] 75,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 7, 70, 29, 87 ]
53
[ "70-7=63", "29+87=116", "116-63=53" ]
Current State: 53:[7, 70, 29, 87], Operations: [] Exploring Operation: 70-7=63, Resulting Numbers: [29, 87, 63] Generated Node #2: [29, 87, 63] from Operation: 70-7=63 Current State: 53:[29, 87, 63], Operations: ['70-7=63'] Exploring Operation: 29+87=116, Resulting Numbers: [63, 116] Generated Node #3: [63, 116] from Operation: 29+87=116 Current State: 53:[63, 116], Operations: ['70-7=63', '29+87=116'] Exploring Operation: 116-63=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[7, 70, 29, 87], Operations: [] Exploring Operation: 70-7=63, Resulting Numbers: [29, 87, 63] Generated Node #0,0: 53:[29, 87, 63] Operation: 70-7=63 Exploring Operation: 7+29=36, Resulting Numbers: [70, 87, 36] Generated Node #0,1: 53:[70, 87, 36] Operation: 7+29=36 Exploring Operation: 7+70=77, Resulting Numbers: [29, 87, 77] Generated Node #0,2: 53:[29, 87, 77] Operation: 7+70=77 Exploring Operation: 87-7=80, Resulting Numbers: [70, 29, 80] Generated Node #0,3: 53:[70, 29, 80] Operation: 87-7=80 Exploring Operation: 87-29=58, Resulting Numbers: [7, 70, 58] Generated Node #0,4: 53:[7, 70, 58] Operation: 87-29=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[29, 87, 63], Operations: ['70-7=63'] Exploring Operation: 29+87=116, Resulting Numbers: [63, 116] Generated Node #0,0,0: 53:[63, 116] Operation: 29+87=116 Exploring Operation: 87-63=24, Resulting Numbers: [29, 24] Generated Node #0,0,1: 53:[29, 24] Operation: 87-63=24 Exploring Operation: 87/29=3, Resulting Numbers: [63, 3] Generated Node #0,0,2: 53:[63, 3] Operation: 87/29=3 Exploring Operation: 63-29=34, Resulting Numbers: [87, 34] Generated Node #0,0,3: 53:[87, 34] Operation: 63-29=34 Exploring Operation: 87-29=58, Resulting Numbers: [63, 58] Generated Node #0,0,4: 53:[63, 58] Operation: 87-29=58 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 53:[63, 58], Operations: ['70-7=63', '87-29=58'] Exploring Operation: 63-58=5, Resulting Numbers: [5] 5,53 unequal: No Solution Exploring Operation: 63+58=121, Resulting Numbers: [121] 121,53 unequal: No Solution Exploring Operation: 63*58=3654, Resulting Numbers: [3654] 3654,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[29, 24], Operations: ['70-7=63', '87-63=24'] Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,53 unequal: No Solution Exploring Operation: 29*24=696, Resulting Numbers: [696] 696,53 unequal: No Solution Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[7, 70, 29, 87], Operations: [] Exploring Operation: 70-7=63, Resulting Numbers: [29, 87, 63] Generated Node #0,0: 53:[29, 87, 63] Operation: 70-7=63 Moving to Node #0,0 Current State: 53:[29, 87, 63], Operations: ['70-7=63'] Exploring Operation: 87-63=24, Resulting Numbers: [29, 24] Generated Node #0,0,1: 53:[29, 24] Operation: 87-63=24 Moving to Node #0,0,1 Current State: 53:[29, 24], Operations: ['70-7=63', '87-63=24'] Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 68, 9, 75, 16 ]
81
[ "75-68=7", "16-7=9", "9*9=81" ]
Current State: 81:[68, 9, 75, 16], Operations: [] Exploring Operation: 75-68=7, Resulting Numbers: [9, 16, 7] Generated Node #2: [9, 16, 7] from Operation: 75-68=7 Current State: 81:[9, 16, 7], Operations: ['75-68=7'] Exploring Operation: 16-7=9, Resulting Numbers: [9, 9] Generated Node #3: [9, 9] from Operation: 16-7=9 Current State: 81:[9, 9], Operations: ['75-68=7', '16-7=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[68, 9, 75, 16], Operations: [] Exploring Operation: 68+16=84, Resulting Numbers: [9, 75, 84] Generated Node #0,0: 81:[9, 75, 84] Operation: 68+16=84 Exploring Operation: 75-68=7, Resulting Numbers: [9, 16, 7] Generated Node #0,1: 81:[9, 16, 7] Operation: 75-68=7 Moving to Node #0,0 Current State: 81:[9, 75, 84], Operations: ['68+16=84'] Exploring Operation: 9+75=84, Resulting Numbers: [84, 84] Generated Node #0,0,0: 81:[84, 84] Operation: 9+75=84 Exploring Operation: 84-75=9, Resulting Numbers: [9, 9] Generated Node #0,0,1: 81:[9, 9] Operation: 84-75=9 Moving to Node #0,1 Current State: 81:[9, 16, 7], Operations: ['75-68=7'] Exploring Operation: 16-7=9, Resulting Numbers: [9, 9] Generated Node #0,1,0: 81:[9, 9] Operation: 16-7=9 Exploring Operation: 9+16=25, Resulting Numbers: [7, 25] Generated Node #0,1,1: 81:[7, 25] Operation: 9+16=25 Moving to Node #0,0,1 Current State: 81:[9, 9], Operations: ['68+16=84', '84-75=9'] Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[68, 9, 75, 16], Operations: [] Exploring Operation: 68+16=84, Resulting Numbers: [9, 75, 84] Generated Node #0,0: 81:[9, 75, 84] Operation: 68+16=84 Moving to Node #0,0 Current State: 81:[9, 75, 84], Operations: ['68+16=84'] Exploring Operation: 84-75=9, Resulting Numbers: [9, 9] Generated Node #0,0,1: 81:[9, 9] Operation: 84-75=9 Moving to Node #0,0,1 Current State: 81:[9, 9], Operations: ['68+16=84', '84-75=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 98, 91, 14, 52 ]
39
[ "98/14=7", "91/7=13", "52-13=39" ]
Current State: 39:[98, 91, 14, 52], Operations: [] Exploring Operation: 98/14=7, Resulting Numbers: [91, 52, 7] Generated Node #2: [91, 52, 7] from Operation: 98/14=7 Current State: 39:[91, 52, 7], Operations: ['98/14=7'] Exploring Operation: 91/7=13, Resulting Numbers: [52, 13] Generated Node #3: [52, 13] from Operation: 91/7=13 Current State: 39:[52, 13], Operations: ['98/14=7', '91/7=13'] Exploring Operation: 52-13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[98, 91, 14, 52], Operations: [] Exploring Operation: 98-91=7, Resulting Numbers: [14, 52, 7] Generated Node #0,0: 39:[14, 52, 7] Operation: 98-91=7 Moving to Node #0,0 Current State: 39:[14, 52, 7], Operations: ['98-91=7'] Exploring Operation: 52-14=38, Resulting Numbers: [7, 38] Generated Node #0,0,0: 39:[7, 38] Operation: 52-14=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[7, 38], Operations: ['98-91=7', '52-14=38'] Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,39 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
[ 85, 49, 5, 9 ]
77
[ "49-9=40", "40/5=8", "85-8=77" ]
Current State: 77:[85, 49, 5, 9], Operations: [] Exploring Operation: 49-9=40, Resulting Numbers: [85, 5, 40] Generated Node #2: [85, 5, 40] from Operation: 49-9=40 Current State: 77:[85, 5, 40], Operations: ['49-9=40'] Exploring Operation: 40/5=8, Resulting Numbers: [85, 8] Generated Node #3: [85, 8] from Operation: 40/5=8 Current State: 77:[85, 8], Operations: ['49-9=40', '40/5=8'] Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[85, 49, 5, 9], Operations: [] Exploring Operation: 49+9=58, Resulting Numbers: [85, 5, 58] Generated Node #0,0: 77:[85, 5, 58] Operation: 49+9=58 Exploring Operation: 85-49=36, Resulting Numbers: [5, 9, 36] Generated Node #0,1: 77:[5, 9, 36] Operation: 85-49=36 Exploring Operation: 85-9=76, Resulting Numbers: [49, 5, 76] Generated Node #0,2: 77:[49, 5, 76] Operation: 85-9=76 Exploring Operation: 49+5=54, Resulting Numbers: [85, 9, 54] Generated Node #0,3: 77:[85, 9, 54] Operation: 49+5=54 Exploring Operation: 85-5=80, Resulting Numbers: [49, 9, 80] Generated Node #0,4: 77:[49, 9, 80] Operation: 85-5=80 Moving to Node #0,0 Current State: 77:[85, 5, 58], Operations: ['49+9=58'] Exploring Operation: 85+5=90, Resulting Numbers: [58, 90] Generated Node #0,0,0: 77:[58, 90] Operation: 85+5=90 Exploring Operation: 5+58=63, Resulting Numbers: [85, 63] Generated Node #0,0,1: 77:[85, 63] Operation: 5+58=63 Exploring Operation: 85-5=80, Resulting Numbers: [58, 80] Generated Node #0,0,2: 77:[58, 80] Operation: 85-5=80 Exploring Operation: 85/5=17, Resulting Numbers: [58, 17] Generated Node #0,0,3: 77:[58, 17] Operation: 85/5=17 Exploring Operation: 85-58=27, Resulting Numbers: [5, 27] Generated Node #0,0,4: 77:[5, 27] Operation: 85-58=27 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 77:[5, 27], Operations: ['49+9=58', '85-58=27'] Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,77 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,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,0,1 Current State: 77:[85, 63], Operations: ['49+9=58', '5+58=63'] Exploring Operation: 85*63=5355, Resulting Numbers: [5355] 5355,77 unequal: No Solution Exploring Operation: 85-63=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 85+63=148, Resulting Numbers: [148] 148,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,0,2 Current State: 77:[58, 80], Operations: ['49+9=58', '85-5=80'] Exploring Operation: 58*80=4640, Resulting Numbers: [4640] 4640,77 unequal: No Solution Exploring Operation: 80-58=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 58+80=138, Resulting Numbers: [138] 138,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,0,3 Current State: 77:[58, 17], Operations: ['49+9=58', '85/5=17'] Exploring Operation: 58-17=41, Resulting Numbers: [41] 41,77 unequal: No Solution Exploring Operation: 58+17=75, Resulting Numbers: [75] 75,77 unequal: No Solution Exploring Operation: 58*17=986, Resulting Numbers: [986] 986,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,0,0 Current State: 77:[58, 90], Operations: ['49+9=58', '85+5=90'] Exploring Operation: 58*90=5220, Resulting Numbers: [5220] 5220,77 unequal: No Solution Exploring Operation: 90-58=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 58+90=148, Resulting Numbers: [148] 148,77 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: 77:[5, 9, 36], Operations: ['85-49=36'] Exploring Operation: 36/9=4, Resulting Numbers: [5, 4] Generated Node #0,1,0: 77:[5, 4] Operation: 36/9=4 Exploring Operation: 5+9=14, Resulting Numbers: [36, 14] Generated Node #0,1,1: 77:[36, 14] Operation: 5+9=14 Exploring Operation: 36-9=27, Resulting Numbers: [5, 27] Generated Node #0,1,2: 77:[5, 27] Operation: 36-9=27 Exploring Operation: 9-5=4, Resulting Numbers: [36, 4] Generated Node #0,1,3: 77:[36, 4] Operation: 9-5=4 Exploring Operation: 36-5=31, Resulting Numbers: [9, 31] Generated Node #0,1,4: 77:[9, 31] Operation: 36-5=31 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[5, 4], Operations: ['85-49=36', '36/9=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,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,2 Current State: 77:[5, 27], Operations: ['85-49=36', '36-9=27'] Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,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,4 Current State: 77:[9, 31], Operations: ['85-49=36', '36-5=31'] Exploring Operation: 9*31=279, Resulting Numbers: [279] 279,77 unequal: No Solution Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 9+31=40, Resulting Numbers: [40] 40,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,1 Current State: 77:[36, 14], Operations: ['85-49=36', '5+9=14'] Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,77 unequal: No Solution Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 36*14=504, Resulting Numbers: [504] 504,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,3 Current State: 77:[36, 4], Operations: ['85-49=36', '9-5=4'] Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,77 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,77 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,77 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: 77:[49, 5, 76], Operations: ['85-9=76'] Exploring Operation: 49-5=44, Resulting Numbers: [76, 44] Generated Node #0,2,0: 77:[76, 44] Operation: 49-5=44 Exploring Operation: 76-5=71, Resulting Numbers: [49, 71] Generated Node #0,2,1: 77:[49, 71] Operation: 76-5=71 Exploring Operation: 5+76=81, Resulting Numbers: [49, 81] Generated Node #0,2,2: 77:[49, 81] Operation: 5+76=81 Exploring Operation: 49+5=54, Resulting Numbers: [76, 54] Generated Node #0,2,3: 77:[76, 54] Operation: 49+5=54 Exploring Operation: 76-49=27, Resulting Numbers: [5, 27] Generated Node #0,2,4: 77:[5, 27] Operation: 76-49=27 Moving to Node #0,3 Current State: 77:[85, 9, 54], Operations: ['49+5=54'] Exploring Operation: 9+54=63, Resulting Numbers: [85, 63] Generated Node #0,3,0: 77:[85, 63] Operation: 9+54=63 Exploring Operation: 85+9=94, Resulting Numbers: [54, 94] Generated Node #0,3,1: 77:[54, 94] Operation: 85+9=94 Exploring Operation: 54/9=6, Resulting Numbers: [85, 6] Generated Node #0,3,2: 77:[85, 6] Operation: 54/9=6 Exploring Operation: 85-54=31, Resulting Numbers: [9, 31] Generated Node #0,3,3: 77:[9, 31] Operation: 85-54=31 Exploring Operation: 85-9=76, Resulting Numbers: [54, 76] Generated Node #0,3,4: 77:[54, 76] Operation: 85-9=76 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 77:[85, 6], Operations: ['49+5=54', '54/9=6'] Exploring Operation: 85*6=510, Resulting Numbers: [510] 510,77 unequal: No Solution Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,77 unequal: No Solution Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,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,3,0 Current State: 77:[85, 63], Operations: ['49+5=54', '9+54=63'] Exploring Operation: 85*63=5355, Resulting Numbers: [5355] 5355,77 unequal: No Solution Exploring Operation: 85-63=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 85+63=148, Resulting Numbers: [148] 148,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,3,3 Current State: 77:[9, 31], Operations: ['49+5=54', '85-54=31'] Exploring Operation: 9*31=279, Resulting Numbers: [279] 279,77 unequal: No Solution Exploring Operation: 9+31=40, Resulting Numbers: [40] 40,77 unequal: No Solution Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,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,3,4 Current State: 77:[54, 76], Operations: ['49+5=54', '85-9=76'] Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 54*76=4104, Resulting Numbers: [4104] 4104,77 unequal: No Solution Exploring Operation: 54+76=130, Resulting Numbers: [130] 130,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,3,1 Current State: 77:[54, 94], Operations: ['49+5=54', '85+9=94'] Exploring Operation: 54*94=5076, Resulting Numbers: [5076] 5076,77 unequal: No Solution Exploring Operation: 54+94=148, Resulting Numbers: [148] 148,77 unequal: No Solution Exploring Operation: 94-54=40, Resulting Numbers: [40] 40,77 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: 77:[49, 9, 80], Operations: ['85-5=80'] Exploring Operation: 80-9=71, Resulting Numbers: [49, 71] Generated Node #0,4,0: 77:[49, 71] Operation: 80-9=71 Exploring Operation: 49+9=58, Resulting Numbers: [80, 58] Generated Node #0,4,1: 77:[80, 58] Operation: 49+9=58 Exploring Operation: 80-49=31, Resulting Numbers: [9, 31] Generated Node #0,4,2: 77:[9, 31] Operation: 80-49=31 Exploring Operation: 49-9=40, Resulting Numbers: [80, 40] Generated Node #0,4,3: 77:[80, 40] Operation: 49-9=40 Exploring Operation: 9+80=89, Resulting Numbers: [49, 89] Generated Node #0,4,4: 77:[49, 89] Operation: 9+80=89 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 77:[80, 58], Operations: ['85-5=80', '49+9=58'] Exploring Operation: 80-58=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 80+58=138, Resulting Numbers: [138] 138,77 unequal: No Solution Exploring Operation: 80*58=4640, Resulting Numbers: [4640] 4640,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,4,2 Current State: 77:[9, 31], Operations: ['85-5=80', '80-49=31'] Exploring Operation: 9*31=279, Resulting Numbers: [279] 279,77 unequal: No Solution Exploring Operation: 9+31=40, Resulting Numbers: [40] 40,77 unequal: No Solution Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,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,4,3 Current State: 77:[80, 40], Operations: ['85-5=80', '49-9=40'] Exploring Operation: 80*40=3200, Resulting Numbers: [3200] 3200,77 unequal: No Solution Exploring Operation: 80-40=40, Resulting Numbers: [40] 40,77 unequal: No Solution Exploring Operation: 80+40=120, Resulting Numbers: [120] 120,77 unequal: No Solution Exploring Operation: 80/40=2, Resulting Numbers: [2] 2,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,4,0 Current State: 77:[49, 71], Operations: ['85-5=80', '80-9=71'] Exploring Operation: 49+71=120, Resulting Numbers: [120] 120,77 unequal: No Solution Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 49*71=3479, Resulting Numbers: [3479] 3479,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,4,4 Current State: 77:[49, 89], Operations: ['85-5=80', '9+80=89'] Exploring Operation: 89-49=40, Resulting Numbers: [40] 40,77 unequal: No Solution Exploring Operation: 49*89=4361, Resulting Numbers: [4361] 4361,77 unequal: No Solution Exploring Operation: 49+89=138, Resulting Numbers: [138] 138,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 77:[5, 27], Operations: ['85-9=76', '76-49=27'] Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,77 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,77 unequal: No Solution Moving to Node #0,2,3 Current State: 77:[76, 54], Operations: ['85-9=76', '49+5=54'] Exploring Operation: 76+54=130, Resulting Numbers: [130] 130,77 unequal: No Solution Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 76*54=4104, Resulting Numbers: [4104] 4104,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[49, 81], Operations: ['85-9=76', '5+76=81'] Exploring Operation: 81-49=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 49*81=3969, Resulting Numbers: [3969] 3969,77 unequal: No Solution Exploring Operation: 49+81=130, Resulting Numbers: [130] 130,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[76, 44], Operations: ['85-9=76', '49-5=44'] Exploring Operation: 76*44=3344, Resulting Numbers: [3344] 3344,77 unequal: No Solution Exploring Operation: 76-44=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 76+44=120, Resulting Numbers: [120] 120,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[49, 71], Operations: ['85-9=76', '76-5=71'] Exploring Operation: 49+71=120, Resulting Numbers: [120] 120,77 unequal: No Solution Exploring Operation: 49*71=3479, Resulting Numbers: [3479] 3479,77 unequal: No Solution Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,77 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 6, 18, 2, 6 ]
18
[ "6+18=24", "24/2=12", "6+12=18" ]
Current State: 18:[6, 18, 2, 6], Operations: [] Exploring Operation: 6+18=24, Resulting Numbers: [2, 24] Generated Node #2: [2, 24] from Operation: 6+18=24 Current State: 18:[2, 24], Operations: ['6+18=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,18 equal: Goal Reached Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[6, 18, 2, 6], Operations: [] Exploring Operation: 6/2=3, Resulting Numbers: [18, 6, 3] Generated Node #0,0: 18:[18, 6, 3] Operation: 6/2=3 Exploring Operation: 18/6=3, Resulting Numbers: [2, 6, 3] Generated Node #0,1: 18:[2, 6, 3] Operation: 18/6=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[18, 6, 3], Operations: ['6/2=3'] Exploring Operation: 18/6=3, Resulting Numbers: [3, 3] Generated Node #0,0,0: 18:[3, 3] Operation: 18/6=3 Exploring Operation: 18/3=6, Resulting Numbers: [6, 6] Generated Node #0,0,1: 18:[6, 6] Operation: 18/3=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[3, 3], Operations: ['6/2=3', '18/6=3'] Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,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:[6, 6], Operations: ['6/2=3', '18/3=6'] Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,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:[2, 6, 3], Operations: ['18/6=3'] Exploring Operation: 6/2=3, Resulting Numbers: [3, 3] Generated Node #0,1,0: 18:[3, 3] Operation: 6/2=3 Exploring Operation: 2*3=6, Resulting Numbers: [6, 6] Generated Node #0,1,1: 18:[6, 6] Operation: 2*3=6 Moving to Node #0,1,0 Current State: 18:[3, 3], Operations: ['18/6=3', '6/2=3'] Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[6, 6], Operations: ['18/6=3', '2*3=6'] Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,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
mult_heuristic
[ 57, 3, 3, 14 ]
62
[ "57+14=71", "3*3=9", "71-9=62" ]
Current State: 62:[57, 3, 3, 14], Operations: [] Exploring Operation: 57+14=71, Resulting Numbers: [3, 3, 71] Generated Node #2: [3, 3, 71] from Operation: 57+14=71 Current State: 62:[3, 3, 71], Operations: ['57+14=71'] Exploring Operation: 3*3=9, Resulting Numbers: [71, 9] Generated Node #3: [71, 9] from Operation: 3*3=9 Current State: 62:[71, 9], Operations: ['57+14=71', '3*3=9'] Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[57, 3, 3, 14], Operations: [] Exploring Operation: 14-3=11, Resulting Numbers: [57, 3, 11] Generated Node #0,0: 62:[57, 3, 11] Operation: 14-3=11 Exploring Operation: 57+14=71, Resulting Numbers: [3, 3, 71] Generated Node #0,1: 62:[3, 3, 71] Operation: 57+14=71 Exploring Operation: 57+3=60, Resulting Numbers: [3, 14, 60] Generated Node #0,2: 62:[3, 14, 60] Operation: 57+3=60 Exploring Operation: 57+3=60, Resulting Numbers: [3, 14, 60] Generated Node #0,3: 62:[3, 14, 60] Operation: 57+3=60 Exploring Operation: 57-14=43, Resulting Numbers: [3, 3, 43] Generated Node #0,4: 62:[3, 3, 43] Operation: 57-14=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[3, 3, 71], Operations: ['57+14=71'] Exploring Operation: 3+3=6, Resulting Numbers: [71, 6] Generated Node #0,1,0: 62:[71, 6] Operation: 3+3=6 Exploring Operation: 3-3=0, Resulting Numbers: [71, 0] Generated Node #0,1,1: 62:[71, 0] Operation: 3-3=0 Exploring Operation: 3/3=1, Resulting Numbers: [71, 1] Generated Node #0,1,2: 62:[71, 1] Operation: 3/3=1 Exploring Operation: 71-3=68, Resulting Numbers: [3, 68] Generated Node #0,1,3: 62:[3, 68] Operation: 71-3=68 Exploring Operation: 71-3=68, Resulting Numbers: [3, 68] Generated Node #0,1,4: 62:[3, 68] Operation: 71-3=68 Moving to Node #0,1,3 Current State: 62:[3, 68], Operations: ['57+14=71', '71-3=68'] Exploring Operation: 3+68=71, Resulting Numbers: [71] 71,62 unequal: No Solution Exploring Operation: 3*68=204, Resulting Numbers: [204] 204,62 unequal: No Solution Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,62 unequal: No Solution Moving to Node #0,1,4 Current State: 62:[3, 68], Operations: ['57+14=71', '71-3=68'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,62 unequal: No Solution Exploring Operation: 3*68=204, Resulting Numbers: [204] 204,62 unequal: No Solution Exploring Operation: 3+68=71, Resulting Numbers: [71] 71,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[71, 1], Operations: ['57+14=71', '3/3=1'] Exploring Operation: 71*1=71, Resulting Numbers: [71] 71,62 unequal: No Solution Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,62 unequal: No Solution Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,62 unequal: No Solution Exploring Operation: 71+1=72, Resulting Numbers: [72] 72,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[71, 0], Operations: ['57+14=71', '3-3=0'] Exploring Operation: 71-0=71, Resulting Numbers: [71] 71,62 unequal: No Solution Exploring Operation: 71+0=71, Resulting Numbers: [71] 71,62 unequal: No Solution Exploring Operation: 71*0=0, Resulting Numbers: [0] 0,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[71, 6], Operations: ['57+14=71', '3+3=6'] Exploring Operation: 71*6=426, Resulting Numbers: [426] 426,62 unequal: No Solution Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,62 unequal: No Solution Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,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,4 Current State: 62:[3, 3, 43], Operations: ['57-14=43'] Exploring Operation: 3/3=1, Resulting Numbers: [43, 1] Generated Node #0,4,0: 62:[43, 1] Operation: 3/3=1 Exploring Operation: 43-3=40, Resulting Numbers: [3, 40] Generated Node #0,4,1: 62:[3, 40] Operation: 43-3=40 Exploring Operation: 43-3=40, Resulting Numbers: [3, 40] Generated Node #0,4,2: 62:[3, 40] Operation: 43-3=40 Exploring Operation: 3+3=6, Resulting Numbers: [43, 6] Generated Node #0,4,3: 62:[43, 6] Operation: 3+3=6 Exploring Operation: 3-3=0, Resulting Numbers: [43, 0] Generated Node #0,4,4: 62:[43, 0] Operation: 3-3=0 Moving to Node #0,4,1 Current State: 62:[3, 40], Operations: ['57-14=43', '43-3=40'] Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,62 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,62 unequal: No Solution Moving to Node #0,4,2 Current State: 62:[3, 40], Operations: ['57-14=43', '43-3=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,62 unequal: No Solution Moving to Node #0,4,0 Current State: 62:[43, 1], Operations: ['57-14=43', '3/3=1'] Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,62 unequal: No Solution Exploring Operation: 43+1=44, Resulting Numbers: [44] 44,62 unequal: No Solution Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,62 unequal: No Solution Moving to Node #0,4,4 Current State: 62:[43, 0], Operations: ['57-14=43', '3-3=0'] Exploring Operation: 43*0=0, Resulting Numbers: [0] 0,62 unequal: No Solution Exploring Operation: 43+0=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 43-0=43, Resulting Numbers: [43] 43,62 unequal: No Solution Moving to Node #0,4,3 Current State: 62:[43, 6], Operations: ['57-14=43', '3+3=6'] Exploring Operation: 43*6=258, Resulting Numbers: [258] 258,62 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,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,0 Current State: 62:[57, 3, 11], Operations: ['14-3=11'] Exploring Operation: 57+11=68, Resulting Numbers: [3, 68] Generated Node #0,0,0: 62:[3, 68] Operation: 57+11=68 Exploring Operation: 3*11=33, Resulting Numbers: [57, 33] Generated Node #0,0,1: 62:[57, 33] Operation: 3*11=33 Exploring Operation: 11-3=8, Resulting Numbers: [57, 8] Generated Node #0,0,2: 62:[57, 8] Operation: 11-3=8 Exploring Operation: 57+3=60, Resulting Numbers: [11, 60] Generated Node #0,0,3: 62:[11, 60] Operation: 57+3=60 Exploring Operation: 57-11=46, Resulting Numbers: [3, 46] Generated Node #0,0,4: 62:[3, 46] Operation: 57-11=46 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[3, 68], Operations: ['14-3=11', '57+11=68'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,62 unequal: No Solution Exploring Operation: 3*68=204, Resulting Numbers: [204] 204,62 unequal: No Solution Exploring Operation: 3+68=71, Resulting Numbers: [71] 71,62 unequal: No Solution No 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: 62:[57, 33], Operations: ['14-3=11', '3*11=33'] Exploring Operation: 57*33=1881, Resulting Numbers: [1881] 1881,62 unequal: No Solution Exploring Operation: 57+33=90, Resulting Numbers: [90] 90,62 unequal: No Solution Exploring Operation: 57-33=24, Resulting Numbers: [24] 24,62 unequal: No Solution No 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: 62:[57, 8], Operations: ['14-3=11', '11-3=8'] Exploring Operation: 57*8=456, Resulting Numbers: [456] 456,62 unequal: No Solution Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,62 unequal: No Solution Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,62 unequal: No Solution No 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: 62:[11, 60], Operations: ['14-3=11', '57+3=60'] Exploring Operation: 11*60=660, Resulting Numbers: [660] 660,62 unequal: No Solution Exploring Operation: 11+60=71, Resulting Numbers: [71] 71,62 unequal: No Solution Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 62:[3, 46], Operations: ['14-3=11', '57-11=46'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,62 unequal: No Solution Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,62 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: 62:[3, 14, 60], Operations: ['57+3=60'] Exploring Operation: 3+60=63, Resulting Numbers: [14, 63] Generated Node #0,2,0: 62:[14, 63] Operation: 3+60=63 Exploring Operation: 3+14=17, Resulting Numbers: [60, 17] Generated Node #0,2,1: 62:[60, 17] Operation: 3+14=17 Exploring Operation: 3*14=42, Resulting Numbers: [60, 42] Generated Node #0,2,2: 62:[60, 42] Operation: 3*14=42 Exploring Operation: 14+60=74, Resulting Numbers: [3, 74] Generated Node #0,2,3: 62:[3, 74] Operation: 14+60=74 Exploring Operation: 14-3=11, Resulting Numbers: [60, 11] Generated Node #0,2,4: 62:[60, 11] Operation: 14-3=11 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 62:[60, 11], Operations: ['57+3=60', '14-3=11'] Exploring Operation: 60+11=71, Resulting Numbers: [71] 71,62 unequal: No Solution Exploring Operation: 60*11=660, Resulting Numbers: [660] 660,62 unequal: No Solution Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,62 unequal: No Solution No 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: 62:[14, 63], Operations: ['57+3=60', '3+60=63'] Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,62 unequal: No Solution Exploring Operation: 14*63=882, Resulting Numbers: [882] 882,62 unequal: No Solution Exploring Operation: 14+63=77, Resulting Numbers: [77] 77,62 unequal: No Solution No 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: 62:[60, 42], Operations: ['57+3=60', '3*14=42'] Exploring Operation: 60*42=2520, Resulting Numbers: [2520] 2520,62 unequal: No Solution Exploring Operation: 60+42=102, Resulting Numbers: [102] 102,62 unequal: No Solution Exploring Operation: 60-42=18, Resulting Numbers: [18] 18,62 unequal: No Solution No 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: 62:[3, 74], Operations: ['57+3=60', '14+60=74'] Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,62 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,62 unequal: No Solution Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,62 unequal: No Solution No 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: 62:[60, 17], Operations: ['57+3=60', '3+14=17'] Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 60*17=1020, Resulting Numbers: [1020] 1020,62 unequal: No Solution Exploring Operation: 60+17=77, Resulting Numbers: [77] 77,62 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: 62:[3, 14, 60], Operations: ['57+3=60'] Exploring Operation: 3*14=42, Resulting Numbers: [60, 42] Generated Node #0,3,0: 62:[60, 42] Operation: 3*14=42 Exploring Operation: 3+60=63, Resulting Numbers: [14, 63] Generated Node #0,3,1: 62:[14, 63] Operation: 3+60=63 Exploring Operation: 14-3=11, Resulting Numbers: [60, 11] Generated Node #0,3,2: 62:[60, 11] Operation: 14-3=11 Exploring Operation: 3+14=17, Resulting Numbers: [60, 17] Generated Node #0,3,3: 62:[60, 17] Operation: 3+14=17 Exploring Operation: 14+60=74, Resulting Numbers: [3, 74] Generated Node #0,3,4: 62:[3, 74] Operation: 14+60=74 Moving to Node #0,3,2 Current State: 62:[60, 11], Operations: ['57+3=60', '14-3=11'] Exploring Operation: 60+11=71, Resulting Numbers: [71] 71,62 unequal: No Solution Exploring Operation: 60*11=660, Resulting Numbers: [660] 660,62 unequal: No Solution Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,62 unequal: No Solution Moving to Node #0,3,1 Current State: 62:[14, 63], Operations: ['57+3=60', '3+60=63'] Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,62 unequal: No Solution Exploring Operation: 14*63=882, Resulting Numbers: [882] 882,62 unequal: No Solution Exploring Operation: 14+63=77, Resulting Numbers: [77] 77,62 unequal: No Solution Moving to Node #0,3,0 Current State: 62:[60, 42], Operations: ['57+3=60', '3*14=42'] Exploring Operation: 60-42=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 60*42=2520, Resulting Numbers: [2520] 2520,62 unequal: No Solution Exploring Operation: 60+42=102, Resulting Numbers: [102] 102,62 unequal: No Solution Moving to Node #0,3,4 Current State: 62:[3, 74], Operations: ['57+3=60', '14+60=74'] Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,62 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,62 unequal: No Solution Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,62 unequal: No Solution Moving to Node #0,3,3 Current State: 62:[60, 17], Operations: ['57+3=60', '3+14=17'] Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 60*17=1020, Resulting Numbers: [1020] 1020,62 unequal: No Solution Exploring Operation: 60+17=77, Resulting Numbers: [77] 77,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 9, 84, 46, 3 ]
71
[ "84-9=75", "75/3=25", "46+25=71" ]
Current State: 71:[9, 84, 46, 3], Operations: [] Exploring Operation: 84-9=75, Resulting Numbers: [46, 3, 75] Generated Node #2: [46, 3, 75] from Operation: 84-9=75 Current State: 71:[46, 3, 75], Operations: ['84-9=75'] Exploring Operation: 75/3=25, Resulting Numbers: [46, 25] Generated Node #3: [46, 25] from Operation: 75/3=25 Current State: 71:[46, 25], Operations: ['84-9=75', '75/3=25'] Exploring Operation: 46+25=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[9, 84, 46, 3], Operations: [] Exploring Operation: 9*3=27, Resulting Numbers: [84, 46, 27] Generated Node #0,0: 71:[84, 46, 27] Operation: 9*3=27 Exploring Operation: 9+46=55, Resulting Numbers: [84, 3, 55] Generated Node #0,1: 71:[84, 3, 55] Operation: 9+46=55 Exploring Operation: 9+3=12, Resulting Numbers: [84, 46, 12] Generated Node #0,2: 71:[84, 46, 12] Operation: 9+3=12 Exploring Operation: 84-9=75, Resulting Numbers: [46, 3, 75] Generated Node #0,3: 71:[46, 3, 75] Operation: 84-9=75 Moving to Node #0,0 Current State: 71:[84, 46, 27], Operations: ['9*3=27'] Exploring Operation: 46+27=73, Resulting Numbers: [84, 73] Generated Node #0,0,0: 71:[84, 73] Operation: 46+27=73 Exploring Operation: 84-27=57, Resulting Numbers: [46, 57] Generated Node #0,0,1: 71:[46, 57] Operation: 84-27=57 Exploring Operation: 84+27=111, Resulting Numbers: [46, 111] Generated Node #0,0,2: 71:[46, 111] Operation: 84+27=111 Exploring Operation: 46-27=19, Resulting Numbers: [84, 19] Generated Node #0,0,3: 71:[84, 19] Operation: 46-27=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[84, 73], Operations: ['9*3=27', '46+27=73'] Exploring Operation: 84+73=157, Resulting Numbers: [157] 157,71 unequal: No Solution Exploring Operation: 84*73=6132, Resulting Numbers: [6132] 6132,71 unequal: No Solution Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[46, 57], Operations: ['9*3=27', '84-27=57'] Exploring Operation: 57-46=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 46+57=103, Resulting Numbers: [103] 103,71 unequal: No Solution Exploring Operation: 46*57=2622, Resulting Numbers: [2622] 2622,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[46, 111], Operations: ['9*3=27', '84+27=111'] Exploring Operation: 46*111=5106, Resulting Numbers: [5106] 5106,71 unequal: No Solution Exploring Operation: 46+111=157, Resulting Numbers: [157] 157,71 unequal: No Solution Exploring Operation: 111-46=65, Resulting Numbers: [65] 65,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 71:[84, 19], Operations: ['9*3=27', '46-27=19'] Exploring Operation: 84-19=65, Resulting Numbers: [65] 65,71 unequal: No Solution Exploring Operation: 84*19=1596, Resulting Numbers: [1596] 1596,71 unequal: No Solution Exploring Operation: 84+19=103, Resulting Numbers: [103] 103,71 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: 71:[84, 46, 12], Operations: ['9+3=12'] Exploring Operation: 84-12=72, Resulting Numbers: [46, 72] Generated Node #0,2,0: 71:[46, 72] Operation: 84-12=72 Exploring Operation: 84+12=96, Resulting Numbers: [46, 96] Generated Node #0,2,1: 71:[46, 96] Operation: 84+12=96 Exploring Operation: 46-12=34, Resulting Numbers: [84, 34] Generated Node #0,2,2: 71:[84, 34] Operation: 46-12=34 Exploring Operation: 46+12=58, Resulting Numbers: [84, 58] Generated Node #0,2,3: 71:[84, 58] Operation: 46+12=58 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 71:[46, 72], Operations: ['9+3=12', '84-12=72'] Exploring Operation: 72-46=26, Resulting Numbers: [26] 26,71 unequal: No Solution Exploring Operation: 46*72=3312, Resulting Numbers: [3312] 3312,71 unequal: No Solution Exploring Operation: 46+72=118, Resulting Numbers: [118] 118,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,2,3 Current State: 71:[84, 58], Operations: ['9+3=12', '46+12=58'] Exploring Operation: 84+58=142, Resulting Numbers: [142] 142,71 unequal: No Solution Exploring Operation: 84*58=4872, Resulting Numbers: [4872] 4872,71 unequal: No Solution Exploring Operation: 84-58=26, Resulting Numbers: [26] 26,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,2,1 Current State: 71:[46, 96], Operations: ['9+3=12', '84+12=96'] Exploring Operation: 46+96=142, Resulting Numbers: [142] 142,71 unequal: No Solution Exploring Operation: 96-46=50, Resulting Numbers: [50] 50,71 unequal: No Solution Exploring Operation: 46*96=4416, Resulting Numbers: [4416] 4416,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,2,2 Current State: 71:[84, 34], Operations: ['9+3=12', '46-12=34'] Exploring Operation: 84+34=118, Resulting Numbers: [118] 118,71 unequal: No Solution Exploring Operation: 84*34=2856, Resulting Numbers: [2856] 2856,71 unequal: No Solution Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 71:[84, 3, 55], Operations: ['9+46=55'] Exploring Operation: 3+55=58, Resulting Numbers: [84, 58] Generated Node #0,1,0: 71:[84, 58] Operation: 3+55=58 Exploring Operation: 55-3=52, Resulting Numbers: [84, 52] Generated Node #0,1,1: 71:[84, 52] Operation: 55-3=52 Exploring Operation: 84+3=87, Resulting Numbers: [55, 87] Generated Node #0,1,2: 71:[55, 87] Operation: 84+3=87 Exploring Operation: 84-3=81, Resulting Numbers: [55, 81] Generated Node #0,1,3: 71:[55, 81] Operation: 84-3=81 Moving to Node #0,3 Current State: 71:[46, 3, 75], Operations: ['84-9=75'] Exploring Operation: 3+75=78, Resulting Numbers: [46, 78] Generated Node #0,3,0: 71:[46, 78] Operation: 3+75=78 Exploring Operation: 75-3=72, Resulting Numbers: [46, 72] Generated Node #0,3,1: 71:[46, 72] Operation: 75-3=72 Exploring Operation: 46-3=43, Resulting Numbers: [75, 43] Generated Node #0,3,2: 71:[75, 43] Operation: 46-3=43 Exploring Operation: 46+3=49, Resulting Numbers: [75, 49] Generated Node #0,3,3: 71:[75, 49] Operation: 46+3=49 Moving to Node #0,1,0 Current State: 71:[84, 58], Operations: ['9+46=55', '3+55=58'] Exploring Operation: 84-58=26, Resulting Numbers: [26] 26,71 unequal: No Solution Exploring Operation: 84*58=4872, Resulting Numbers: [4872] 4872,71 unequal: No Solution Exploring Operation: 84+58=142, Resulting Numbers: [142] 142,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[75, 49], Operations: ['84-9=75', '46+3=49'] Exploring Operation: 75+49=124, Resulting Numbers: [124] 124,71 unequal: No Solution Exploring Operation: 75*49=3675, Resulting Numbers: [3675] 3675,71 unequal: No Solution Exploring Operation: 75-49=26, Resulting Numbers: [26] 26,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[55, 81], Operations: ['9+46=55', '84-3=81'] Exploring Operation: 55*81=4455, Resulting Numbers: [4455] 4455,71 unequal: No Solution Exploring Operation: 81-55=26, Resulting Numbers: [26] 26,71 unequal: No Solution Exploring Operation: 55+81=136, Resulting Numbers: [136] 136,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[46, 72], Operations: ['84-9=75', '75-3=72'] Exploring Operation: 46+72=118, Resulting Numbers: [118] 118,71 unequal: No Solution Exploring Operation: 46*72=3312, Resulting Numbers: [3312] 3312,71 unequal: No Solution Exploring Operation: 72-46=26, Resulting Numbers: [26] 26,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[46, 78], Operations: ['84-9=75', '3+75=78'] Exploring Operation: 46+78=124, Resulting Numbers: [124] 124,71 unequal: No Solution Exploring Operation: 46*78=3588, Resulting Numbers: [3588] 3588,71 unequal: No Solution Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[84, 52], Operations: ['9+46=55', '55-3=52'] Exploring Operation: 84*52=4368, Resulting Numbers: [4368] 4368,71 unequal: No Solution Exploring Operation: 84-52=32, Resulting Numbers: [32] 32,71 unequal: No Solution Exploring Operation: 84+52=136, Resulting Numbers: [136] 136,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[75, 43], Operations: ['84-9=75', '46-3=43'] Exploring Operation: 75-43=32, Resulting Numbers: [32] 32,71 unequal: No Solution Exploring Operation: 75*43=3225, Resulting Numbers: [3225] 3225,71 unequal: No Solution Exploring Operation: 75+43=118, Resulting Numbers: [118] 118,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[55, 87], Operations: ['9+46=55', '84+3=87'] Exploring Operation: 55*87=4785, Resulting Numbers: [4785] 4785,71 unequal: No Solution Exploring Operation: 55+87=142, Resulting Numbers: [142] 142,71 unequal: No Solution Exploring Operation: 87-55=32, Resulting Numbers: [32] 32,71 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 32, 91, 56, 40 ]
33
[ "91*40=3640", "3640/56=65", "65-32=33" ]
Current State: 33:[32, 91, 56, 40], Operations: [] Exploring Operation: 91*40=3640, Resulting Numbers: [32, 56, 3640] Generated Node #2: [32, 56, 3640] from Operation: 91*40=3640 Current State: 33:[32, 56, 3640], Operations: ['91*40=3640'] Exploring Operation: 3640/56=65, Resulting Numbers: [32, 65] Generated Node #3: [32, 65] from Operation: 3640/56=65 Current State: 33:[32, 65], Operations: ['91*40=3640', '3640/56=65'] Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[32, 91, 56, 40], Operations: [] Exploring Operation: 91-32=59, Resulting Numbers: [56, 40, 59] Generated Node #0,0: 33:[56, 40, 59] Operation: 91-32=59 Exploring Operation: 91-40=51, Resulting Numbers: [32, 56, 51] Generated Node #0,1: 33:[32, 56, 51] Operation: 91-40=51 Exploring Operation: 56-32=24, Resulting Numbers: [91, 40, 24] Generated Node #0,2: 33:[91, 40, 24] Operation: 56-32=24 Exploring Operation: 91-56=35, Resulting Numbers: [32, 40, 35] Generated Node #0,3: 33:[32, 40, 35] Operation: 91-56=35 Exploring Operation: 56-40=16, Resulting Numbers: [32, 91, 16] Generated Node #0,4: 33:[32, 91, 16] Operation: 56-40=16 Moving to Node #0,3 Current State: 33:[32, 40, 35], Operations: ['91-56=35'] Exploring Operation: 40-32=8, Resulting Numbers: [35, 8] Generated Node #0,3,0: 33:[35, 8] Operation: 40-32=8 Exploring Operation: 40-35=5, Resulting Numbers: [32, 5] Generated Node #0,3,1: 33:[32, 5] Operation: 40-35=5 Exploring Operation: 35-32=3, Resulting Numbers: [40, 3] Generated Node #0,3,2: 33:[40, 3] Operation: 35-32=3 Exploring Operation: 32+40=72, Resulting Numbers: [35, 72] Generated Node #0,3,3: 33:[35, 72] Operation: 32+40=72 Exploring Operation: 32+35=67, Resulting Numbers: [40, 67] Generated Node #0,3,4: 33:[40, 67] Operation: 32+35=67 Moving to Node #0,1 Current State: 33:[32, 56, 51], Operations: ['91-40=51'] Exploring Operation: 32+51=83, Resulting Numbers: [56, 83] Generated Node #0,1,0: 33:[56, 83] Operation: 32+51=83 Exploring Operation: 56-51=5, Resulting Numbers: [32, 5] Generated Node #0,1,1: 33:[32, 5] Operation: 56-51=5 Exploring Operation: 56-32=24, Resulting Numbers: [51, 24] Generated Node #0,1,2: 33:[51, 24] Operation: 56-32=24 Exploring Operation: 51-32=19, Resulting Numbers: [56, 19] Generated Node #0,1,3: 33:[56, 19] Operation: 51-32=19 Exploring Operation: 32+56=88, Resulting Numbers: [51, 88] Generated Node #0,1,4: 33:[51, 88] Operation: 32+56=88 Moving to Node #0,0 Current State: 33:[56, 40, 59], Operations: ['91-32=59'] Exploring Operation: 56+40=96, Resulting Numbers: [59, 96] Generated Node #0,0,0: 33:[59, 96] Operation: 56+40=96 Exploring Operation: 59-56=3, Resulting Numbers: [40, 3] Generated Node #0,0,1: 33:[40, 3] Operation: 59-56=3 Exploring Operation: 59-40=19, Resulting Numbers: [56, 19] Generated Node #0,0,2: 33:[56, 19] Operation: 59-40=19 Exploring Operation: 56-40=16, Resulting Numbers: [59, 16] Generated Node #0,0,3: 33:[59, 16] Operation: 56-40=16 Exploring Operation: 56+59=115, Resulting Numbers: [40, 115] Generated Node #0,0,4: 33:[40, 115] Operation: 56+59=115 Moving to Node #0,4 Current State: 33:[32, 91, 16], Operations: ['56-40=16'] Exploring Operation: 32+16=48, Resulting Numbers: [91, 48] Generated Node #0,4,0: 33:[91, 48] Operation: 32+16=48 Exploring Operation: 32/16=2, Resulting Numbers: [91, 2] Generated Node #0,4,1: 33:[91, 2] Operation: 32/16=2 Exploring Operation: 91-32=59, Resulting Numbers: [16, 59] Generated Node #0,4,2: 33:[16, 59] Operation: 91-32=59 Exploring Operation: 91-16=75, Resulting Numbers: [32, 75] Generated Node #0,4,3: 33:[32, 75] Operation: 91-16=75 Exploring Operation: 32-16=16, Resulting Numbers: [91, 16] Generated Node #0,4,4: 33:[91, 16] Operation: 32-16=16 Moving to Node #0,2 Current State: 33:[91, 40, 24], Operations: ['56-32=24'] Exploring Operation: 40+24=64, Resulting Numbers: [91, 64] Generated Node #0,2,0: 33:[91, 64] Operation: 40+24=64 Exploring Operation: 91-40=51, Resulting Numbers: [24, 51] Generated Node #0,2,1: 33:[24, 51] Operation: 91-40=51 Exploring Operation: 91-24=67, Resulting Numbers: [40, 67] Generated Node #0,2,2: 33:[40, 67] Operation: 91-24=67 Exploring Operation: 91+24=115, Resulting Numbers: [40, 115] Generated Node #0,2,3: 33:[40, 115] Operation: 91+24=115 Exploring Operation: 40-24=16, Resulting Numbers: [91, 16] Generated Node #0,2,4: 33:[91, 16] Operation: 40-24=16 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 33:[24, 51], Operations: ['56-32=24', '91-40=51'] Exploring Operation: 24*51=1224, Resulting Numbers: [1224] 1224,33 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 24+51=75, Resulting Numbers: [75] 75,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 33:[40, 67], Operations: ['56-32=24', '91-24=67'] Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 40*67=2680, Resulting Numbers: [2680] 2680,33 unequal: No Solution Exploring Operation: 40+67=107, Resulting Numbers: [107] 107,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 33:[91, 16], Operations: ['56-32=24', '40-24=16'] Exploring Operation: 91*16=1456, Resulting Numbers: [1456] 1456,33 unequal: No Solution Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,33 unequal: No Solution Exploring Operation: 91+16=107, Resulting Numbers: [107] 107,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 33:[91, 64], Operations: ['56-32=24', '40+24=64'] Exploring Operation: 91-64=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 91+64=155, Resulting Numbers: [155] 155,33 unequal: No Solution Exploring Operation: 91*64=5824, Resulting Numbers: [5824] 5824,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 33:[40, 115], Operations: ['56-32=24', '91+24=115'] Exploring Operation: 40+115=155, Resulting Numbers: [155] 155,33 unequal: No Solution Exploring Operation: 40*115=4600, Resulting Numbers: [4600] 4600,33 unequal: No Solution Exploring Operation: 115-40=75, Resulting Numbers: [75] 75,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 33:[32, 5], Operations: ['91-56=35', '40-35=5'] Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,33 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[32, 5], Operations: ['91-40=51', '56-51=5'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,33 unequal: No Solution Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,33 unequal: No Solution Moving to Node #0,3,0 Current State: 33:[35, 8], Operations: ['91-56=35', '40-32=8'] Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,33 unequal: No Solution Moving to Node #0,3,2 Current State: 33:[40, 3], Operations: ['91-56=35', '35-32=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,33 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[40, 3], Operations: ['91-32=59', '59-56=3'] Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,33 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,33 unequal: No Solution Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[51, 24], Operations: ['91-40=51', '56-32=24'] Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 51*24=1224, Resulting Numbers: [1224] 1224,33 unequal: No Solution Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[59, 16], Operations: ['91-32=59', '56-40=16'] Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,33 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 59*16=944, Resulting Numbers: [944] 944,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[56, 19], Operations: ['91-32=59', '59-40=19'] Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,33 unequal: No Solution Exploring Operation: 56+19=75, Resulting Numbers: [75] 75,33 unequal: No Solution Exploring Operation: 56*19=1064, Resulting Numbers: [1064] 1064,33 unequal: No Solution Moving to Node #0,1,3 Current State: 33:[56, 19], Operations: ['91-40=51', '51-32=19'] Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,33 unequal: No Solution Exploring Operation: 56*19=1064, Resulting Numbers: [1064] 1064,33 unequal: No Solution Exploring Operation: 56+19=75, Resulting Numbers: [75] 75,33 unequal: No Solution Moving to Node #0,4,2 Current State: 33:[16, 59], Operations: ['56-40=16', '91-32=59'] Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 16*59=944, Resulting Numbers: [944] 944,33 unequal: No Solution Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,33 unequal: No Solution Moving to Node #0,3,4 Current State: 33:[40, 67], Operations: ['91-56=35', '32+35=67'] Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 40+67=107, Resulting Numbers: [107] 107,33 unequal: No Solution Exploring Operation: 40*67=2680, Resulting Numbers: [2680] 2680,33 unequal: No Solution Moving to Node #0,3,3 Current State: 33:[35, 72], Operations: ['91-56=35', '32+40=72'] Exploring Operation: 35+72=107, Resulting Numbers: [107] 107,33 unequal: No Solution Exploring Operation: 35*72=2520, Resulting Numbers: [2520] 2520,33 unequal: No Solution Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,33 unequal: No Solution Moving to Node #0,4,3 Current State: 33:[32, 75], Operations: ['56-40=16', '91-16=75'] Exploring Operation: 32*75=2400, Resulting Numbers: [2400] 2400,33 unequal: No Solution Exploring Operation: 32+75=107, Resulting Numbers: [107] 107,33 unequal: No Solution Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,33 unequal: No Solution Moving to Node #0,4,1 Current State: 33:[91, 2], Operations: ['56-40=16', '32/16=2'] Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,33 unequal: No Solution Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,33 unequal: No Solution Exploring Operation: 91*2=182, Resulting Numbers: [182] 182,33 unequal: No Solution Moving to Node #0,4,4 Current State: 33:[91, 16], Operations: ['56-40=16', '32-16=16'] Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,33 unequal: No Solution Exploring Operation: 91+16=107, Resulting Numbers: [107] 107,33 unequal: No Solution Exploring Operation: 91*16=1456, Resulting Numbers: [1456] 1456,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[56, 83], Operations: ['91-40=51', '32+51=83'] Exploring Operation: 56+83=139, Resulting Numbers: [139] 139,33 unequal: No Solution Exploring Operation: 83-56=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 56*83=4648, Resulting Numbers: [4648] 4648,33 unequal: No Solution Moving to Node #0,4,0 Current State: 33:[91, 48], Operations: ['56-40=16', '32+16=48'] Exploring Operation: 91+48=139, Resulting Numbers: [139] 139,33 unequal: No Solution Exploring Operation: 91-48=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 91*48=4368, Resulting Numbers: [4368] 4368,33 unequal: No Solution Moving to Node #0,1,4 Current State: 33:[51, 88], Operations: ['91-40=51', '32+56=88'] Exploring Operation: 88-51=37, Resulting Numbers: [37] 37,33 unequal: No Solution Exploring Operation: 51+88=139, Resulting Numbers: [139] 139,33 unequal: No Solution Exploring Operation: 51*88=4488, Resulting Numbers: [4488] 4488,33 unequal: No Solution Moving to Node #0,0,4 Current State: 33:[40, 115], Operations: ['91-32=59', '56+59=115'] Exploring Operation: 40*115=4600, Resulting Numbers: [4600] 4600,33 unequal: No Solution Exploring Operation: 115-40=75, Resulting Numbers: [75] 75,33 unequal: No Solution Exploring Operation: 40+115=155, Resulting Numbers: [155] 155,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[59, 96], Operations: ['91-32=59', '56+40=96'] Exploring Operation: 59+96=155, Resulting Numbers: [155] 155,33 unequal: No Solution Exploring Operation: 59*96=5664, Resulting Numbers: [5664] 5664,33 unequal: No Solution Exploring Operation: 96-59=37, Resulting Numbers: [37] 37,33 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 93, 24, 26, 81 ]
28
[ "93-81=12", "24/12=2", "26+2=28" ]
Current State: 28:[93, 24, 26, 81], Operations: [] Exploring Operation: 93-81=12, Resulting Numbers: [24, 26, 12] Generated Node #2: [24, 26, 12] from Operation: 93-81=12 Current State: 28:[24, 26, 12], Operations: ['93-81=12'] Exploring Operation: 24/12=2, Resulting Numbers: [26, 2] Generated Node #3: [26, 2] from Operation: 24/12=2 Current State: 28:[26, 2], Operations: ['93-81=12', '24/12=2'] Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[93, 24, 26, 81], Operations: [] Exploring Operation: 93-24=69, Resulting Numbers: [26, 81, 69] Generated Node #0,0: 28:[26, 81, 69] Operation: 93-24=69 Exploring Operation: 93-26=67, Resulting Numbers: [24, 81, 67] Generated Node #0,1: 28:[24, 81, 67] Operation: 93-26=67 Exploring Operation: 93-81=12, Resulting Numbers: [24, 26, 12] Generated Node #0,2: 28:[24, 26, 12] Operation: 93-81=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[24, 26, 12], Operations: ['93-81=12'] Exploring Operation: 24/12=2, Resulting Numbers: [26, 2] Generated Node #0,2,0: 28:[26, 2] Operation: 24/12=2 Exploring Operation: 24-12=12, Resulting Numbers: [26, 12] Generated Node #0,2,1: 28:[26, 12] Operation: 24-12=12 Exploring Operation: 26-24=2, Resulting Numbers: [12, 2] Generated Node #0,2,2: 28:[12, 2] Operation: 26-24=2 Moving to Node #0,2,0 Current State: 28:[26, 2], Operations: ['93-81=12', '24/12=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[93, 24, 26, 81], Operations: [] Exploring Operation: 93-81=12, Resulting Numbers: [24, 26, 12] Generated Node #0,2: 28:[24, 26, 12] Operation: 93-81=12 Moving to Node #0,2 Current State: 28:[24, 26, 12], Operations: ['93-81=12'] Exploring Operation: 24/12=2, Resulting Numbers: [26, 2] Generated Node #0,2,0: 28:[26, 2] Operation: 24/12=2 Moving to Node #0,2,0 Current State: 28:[26, 2], Operations: ['93-81=12', '24/12=2'] Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 30, 56, 87, 28 ]
85
[ "56-30=26", "87-28=59", "26+59=85" ]
Current State: 85:[30, 56, 87, 28], Operations: [] Exploring Operation: 56-30=26, Resulting Numbers: [87, 28, 26] Generated Node #2: [87, 28, 26] from Operation: 56-30=26 Current State: 85:[87, 28, 26], Operations: ['56-30=26'] Exploring Operation: 87-28=59, Resulting Numbers: [26, 59] Generated Node #3: [26, 59] from Operation: 87-28=59 Current State: 85:[26, 59], Operations: ['56-30=26', '87-28=59'] Exploring Operation: 26+59=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[30, 56, 87, 28], Operations: [] Exploring Operation: 56-28=28, Resulting Numbers: [30, 87, 28] Generated Node #0,0: 85:[30, 87, 28] Operation: 56-28=28 Exploring Operation: 56/28=2, Resulting Numbers: [30, 87, 2] Generated Node #0,1: 85:[30, 87, 2] Operation: 56/28=2 Exploring Operation: 56+28=84, Resulting Numbers: [30, 87, 84] Generated Node #0,2: 85:[30, 87, 84] Operation: 56+28=84 Exploring Operation: 30+56=86, Resulting Numbers: [87, 28, 86] Generated Node #0,3: 85:[87, 28, 86] Operation: 30+56=86 Exploring Operation: 56-30=26, Resulting Numbers: [87, 28, 26] Generated Node #0,4: 85:[87, 28, 26] Operation: 56-30=26 Moving to Node #0,3 Current State: 85:[87, 28, 86], Operations: ['30+56=86'] Exploring Operation: 87-86=1, Resulting Numbers: [28, 1] Generated Node #0,3,0: 85:[28, 1] Operation: 87-86=1 Exploring Operation: 28+86=114, Resulting Numbers: [87, 114] Generated Node #0,3,1: 85:[87, 114] Operation: 28+86=114 Exploring Operation: 87+28=115, Resulting Numbers: [86, 115] Generated Node #0,3,2: 85:[86, 115] Operation: 87+28=115 Exploring Operation: 87-28=59, Resulting Numbers: [86, 59] Generated Node #0,3,3: 85:[86, 59] Operation: 87-28=59 Exploring Operation: 86-28=58, Resulting Numbers: [87, 58] Generated Node #0,3,4: 85:[87, 58] Operation: 86-28=58 Moving to Node #0,2 Current State: 85:[30, 87, 84], Operations: ['56+28=84'] Exploring Operation: 30+87=117, Resulting Numbers: [84, 117] Generated Node #0,2,0: 85:[84, 117] Operation: 30+87=117 Exploring Operation: 87-30=57, Resulting Numbers: [84, 57] Generated Node #0,2,1: 85:[84, 57] Operation: 87-30=57 Exploring Operation: 87-84=3, Resulting Numbers: [30, 3] Generated Node #0,2,2: 85:[30, 3] Operation: 87-84=3 Exploring Operation: 84-30=54, Resulting Numbers: [87, 54] Generated Node #0,2,3: 85:[87, 54] Operation: 84-30=54 Exploring Operation: 30+84=114, Resulting Numbers: [87, 114] Generated Node #0,2,4: 85:[87, 114] Operation: 30+84=114 Moving to Node #0,1 Current State: 85:[30, 87, 2], Operations: ['56/28=2'] Exploring Operation: 87+2=89, Resulting Numbers: [30, 89] Generated Node #0,1,0: 85:[30, 89] Operation: 87+2=89 Exploring Operation: 30/2=15, Resulting Numbers: [87, 15] Generated Node #0,1,1: 85:[87, 15] Operation: 30/2=15 Exploring Operation: 30-2=28, Resulting Numbers: [87, 28] Generated Node #0,1,2: 85:[87, 28] Operation: 30-2=28 Exploring Operation: 87-2=85, Resulting Numbers: [30, 85] Generated Node #0,1,3: 85:[30, 85] Operation: 87-2=85 Exploring Operation: 30+2=32, Resulting Numbers: [87, 32] Generated Node #0,1,4: 85:[87, 32] Operation: 30+2=32 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 85:[87, 15], Operations: ['56/28=2', '30/2=15'] Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,85 unequal: No Solution Exploring Operation: 87+15=102, Resulting Numbers: [102] 102,85 unequal: No Solution Exploring Operation: 87*15=1305, Resulting Numbers: [1305] 1305,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 85:[87, 28], Operations: ['56/28=2', '30-2=28'] Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,85 unequal: No Solution Exploring Operation: 87*28=2436, Resulting Numbers: [2436] 2436,85 unequal: No Solution Exploring Operation: 87+28=115, Resulting Numbers: [115] 115,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 85:[30, 85], Operations: ['56/28=2', '87-2=85'] Exploring Operation: 30*85=2550, Resulting Numbers: [2550] 2550,85 unequal: No Solution Exploring Operation: 85-30=55, Resulting Numbers: [55] 55,85 unequal: No Solution Exploring Operation: 30+85=115, Resulting Numbers: [115] 115,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 85:[30, 89], Operations: ['56/28=2', '87+2=89'] Exploring Operation: 89-30=59, Resulting Numbers: [59] 59,85 unequal: No Solution Exploring Operation: 30+89=119, Resulting Numbers: [119] 119,85 unequal: No Solution Exploring Operation: 30*89=2670, Resulting Numbers: [2670] 2670,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 85:[87, 32], Operations: ['56/28=2', '30+2=32'] Exploring Operation: 87+32=119, Resulting Numbers: [119] 119,85 unequal: No Solution Exploring Operation: 87*32=2784, Resulting Numbers: [2784] 2784,85 unequal: No Solution Exploring Operation: 87-32=55, Resulting Numbers: [55] 55,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:[87, 28, 26], Operations: ['56-30=26'] Exploring Operation: 87-26=61, Resulting Numbers: [28, 61] Generated Node #0,4,0: 85:[28, 61] Operation: 87-26=61 Exploring Operation: 28+26=54, Resulting Numbers: [87, 54] Generated Node #0,4,1: 85:[87, 54] Operation: 28+26=54 Exploring Operation: 28-26=2, Resulting Numbers: [87, 2] Generated Node #0,4,2: 85:[87, 2] Operation: 28-26=2 Exploring Operation: 87-28=59, Resulting Numbers: [26, 59] Generated Node #0,4,3: 85:[26, 59] Operation: 87-28=59 Exploring Operation: 87+28=115, Resulting Numbers: [26, 115] Generated Node #0,4,4: 85:[26, 115] Operation: 87+28=115 Moving to Node #0,0 Current State: 85:[30, 87, 28], Operations: ['56-28=28'] Exploring Operation: 87-28=59, Resulting Numbers: [30, 59] Generated Node #0,0,0: 85:[30, 59] Operation: 87-28=59 Exploring Operation: 30+28=58, Resulting Numbers: [87, 58] Generated Node #0,0,1: 85:[87, 58] Operation: 30+28=58 Exploring Operation: 30-28=2, Resulting Numbers: [87, 2] Generated Node #0,0,2: 85:[87, 2] Operation: 30-28=2 Exploring Operation: 30+87=117, Resulting Numbers: [28, 117] Generated Node #0,0,3: 85:[28, 117] Operation: 30+87=117 Exploring Operation: 87-30=57, Resulting Numbers: [28, 57] Generated Node #0,0,4: 85:[28, 57] Operation: 87-30=57 Moving to Node #0,4,2 Current State: 85:[87, 2], Operations: ['56-30=26', '28-26=2'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[30, 56, 87, 28], Operations: [] Exploring Operation: 56-30=26, Resulting Numbers: [87, 28, 26] Generated Node #0,4: 85:[87, 28, 26] Operation: 56-30=26 Moving to Node #0,4 Current State: 85:[87, 28, 26], Operations: ['56-30=26'] Exploring Operation: 28-26=2, Resulting Numbers: [87, 2] Generated Node #0,4,2: 85:[87, 2] Operation: 28-26=2 Moving to Node #0,4,2 Current State: 85:[87, 2], Operations: ['56-30=26', '28-26=2'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
0.956597
hs_5
sum_heuristic
[ 45, 85, 86, 54 ]
100
[ "85-45=40", "86+54=140", "140-40=100" ]
Current State: 100:[45, 85, 86, 54], Operations: [] Exploring Operation: 85-45=40, Resulting Numbers: [86, 54, 40] Generated Node #2: [86, 54, 40] from Operation: 85-45=40 Current State: 100:[86, 54, 40], Operations: ['85-45=40'] Exploring Operation: 86+54=140, Resulting Numbers: [40, 140] Generated Node #3: [40, 140] from Operation: 86+54=140 Current State: 100:[40, 140], Operations: ['85-45=40', '86+54=140'] Exploring Operation: 140-40=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[45, 85, 86, 54], Operations: [] Exploring Operation: 85-54=31, Resulting Numbers: [45, 86, 31] Generated Node #0,0: 100:[45, 86, 31] Operation: 85-54=31 Exploring Operation: 86-85=1, Resulting Numbers: [45, 54, 1] Generated Node #0,1: 100:[45, 54, 1] Operation: 86-85=1 Moving to Node #0,1 Current State: 100:[45, 54, 1], Operations: ['86-85=1'] Exploring Operation: 45+54=99, Resulting Numbers: [1, 99] Generated Node #0,1,0: 100:[1, 99] Operation: 45+54=99 Exploring Operation: 54-45=9, Resulting Numbers: [1, 9] Generated Node #0,1,1: 100:[1, 9] Operation: 54-45=9 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[1, 99], Operations: ['86-85=1', '45+54=99'] Exploring Operation: 1+99=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[45, 85, 86, 54], Operations: [] Exploring Operation: 86-85=1, Resulting Numbers: [45, 54, 1] Generated Node #0,1: 100:[45, 54, 1] Operation: 86-85=1 Moving to Node #0,1 Current State: 100:[45, 54, 1], Operations: ['86-85=1'] Exploring Operation: 45+54=99, Resulting Numbers: [1, 99] Generated Node #0,1,0: 100:[1, 99] Operation: 45+54=99 Moving to Node #0,1,0 Current State: 100:[1, 99], Operations: ['86-85=1', '45+54=99'] Exploring Operation: 1+99=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 32, 30, 99, 19 ]
41
[ "30-19=11", "99/11=9", "32+9=41" ]
Current State: 41:[32, 30, 99, 19], Operations: [] Exploring Operation: 30-19=11, Resulting Numbers: [32, 99, 11] Generated Node #2: [32, 99, 11] from Operation: 30-19=11 Current State: 41:[32, 99, 11], Operations: ['30-19=11'] Exploring Operation: 99/11=9, Resulting Numbers: [32, 9] Generated Node #3: [32, 9] from Operation: 99/11=9 Current State: 41:[32, 9], Operations: ['30-19=11', '99/11=9'] Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[32, 30, 99, 19], Operations: [] Exploring Operation: 99-30=69, Resulting Numbers: [32, 19, 69] Generated Node #0,0: 41:[32, 19, 69] Operation: 99-30=69 Exploring Operation: 30+19=49, Resulting Numbers: [32, 99, 49] Generated Node #0,1: 41:[32, 99, 49] Operation: 30+19=49 Exploring Operation: 99-32=67, Resulting Numbers: [30, 19, 67] Generated Node #0,2: 41:[30, 19, 67] Operation: 99-32=67 Exploring Operation: 32+19=51, Resulting Numbers: [30, 99, 51] Generated Node #0,3: 41:[30, 99, 51] Operation: 32+19=51 Exploring Operation: 99-19=80, Resulting Numbers: [32, 30, 80] Generated Node #0,4: 41:[32, 30, 80] Operation: 99-19=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[32, 19, 69], Operations: ['99-30=69'] Exploring Operation: 69-32=37, Resulting Numbers: [19, 37] Generated Node #0,0,0: 41:[19, 37] Operation: 69-32=37 Exploring Operation: 32-19=13, Resulting Numbers: [69, 13] Generated Node #0,0,1: 41:[69, 13] Operation: 32-19=13 Exploring Operation: 19+69=88, Resulting Numbers: [32, 88] Generated Node #0,0,2: 41:[32, 88] Operation: 19+69=88 Exploring Operation: 69-19=50, Resulting Numbers: [32, 50] Generated Node #0,0,3: 41:[32, 50] Operation: 69-19=50 Exploring Operation: 32+19=51, Resulting Numbers: [69, 51] Generated Node #0,0,4: 41:[69, 51] Operation: 32+19=51 Moving to Node #0,0,3 Current State: 41:[32, 50], Operations: ['99-30=69', '69-19=50'] Exploring Operation: 32*50=1600, Resulting Numbers: [1600] 1600,41 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[19, 37], Operations: ['99-30=69', '69-32=37'] Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,41 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 19*37=703, Resulting Numbers: [703] 703,41 unequal: No Solution Moving to Node #0,0,4 Current State: 41:[69, 51], Operations: ['99-30=69', '32+19=51'] Exploring Operation: 69*51=3519, Resulting Numbers: [3519] 3519,41 unequal: No Solution Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 69+51=120, Resulting Numbers: [120] 120,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[69, 13], Operations: ['99-30=69', '32-19=13'] Exploring Operation: 69*13=897, Resulting Numbers: [897] 897,41 unequal: No Solution Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,41 unequal: No Solution Exploring Operation: 69+13=82, Resulting Numbers: [82] 82,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[32, 88], Operations: ['99-30=69', '19+69=88'] Exploring Operation: 32+88=120, Resulting Numbers: [120] 120,41 unequal: No Solution Exploring Operation: 88-32=56, Resulting Numbers: [56] 56,41 unequal: No Solution Exploring Operation: 32*88=2816, Resulting Numbers: [2816] 2816,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[30, 19, 67], Operations: ['99-32=67'] Exploring Operation: 67-19=48, Resulting Numbers: [30, 48] Generated Node #0,2,0: 41:[30, 48] Operation: 67-19=48 Exploring Operation: 30-19=11, Resulting Numbers: [67, 11] Generated Node #0,2,1: 41:[67, 11] Operation: 30-19=11 Exploring Operation: 19+67=86, Resulting Numbers: [30, 86] Generated Node #0,2,2: 41:[30, 86] Operation: 19+67=86 Exploring Operation: 30+19=49, Resulting Numbers: [67, 49] Generated Node #0,2,3: 41:[67, 49] Operation: 30+19=49 Exploring Operation: 67-30=37, Resulting Numbers: [19, 37] Generated Node #0,2,4: 41:[19, 37] Operation: 67-30=37 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 41:[30, 48], Operations: ['99-32=67', '67-19=48'] Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 30*48=1440, Resulting Numbers: [1440] 1440,41 unequal: No Solution Exploring Operation: 30+48=78, Resulting Numbers: [78] 78,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 41:[19, 37], Operations: ['99-32=67', '67-30=37'] Exploring Operation: 19*37=703, Resulting Numbers: [703] 703,41 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 41:[67, 49], Operations: ['99-32=67', '30+19=49'] Exploring Operation: 67+49=116, Resulting Numbers: [116] 116,41 unequal: No Solution Exploring Operation: 67*49=3283, Resulting Numbers: [3283] 3283,41 unequal: No Solution Exploring Operation: 67-49=18, Resulting Numbers: [18] 18,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 41:[67, 11], Operations: ['99-32=67', '30-19=11'] Exploring Operation: 67*11=737, Resulting Numbers: [737] 737,41 unequal: No Solution Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,41 unequal: No Solution Exploring Operation: 67+11=78, Resulting Numbers: [78] 78,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 41:[30, 86], Operations: ['99-32=67', '19+67=86'] Exploring Operation: 86-30=56, Resulting Numbers: [56] 56,41 unequal: No Solution Exploring Operation: 30+86=116, Resulting Numbers: [116] 116,41 unequal: No Solution Exploring Operation: 30*86=2580, Resulting Numbers: [2580] 2580,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 41:[32, 30, 80], Operations: ['99-19=80'] Exploring Operation: 80-32=48, Resulting Numbers: [30, 48] Generated Node #0,4,0: 41:[30, 48] Operation: 80-32=48 Exploring Operation: 32-30=2, Resulting Numbers: [80, 2] Generated Node #0,4,1: 41:[80, 2] Operation: 32-30=2 Exploring Operation: 80-30=50, Resulting Numbers: [32, 50] Generated Node #0,4,2: 41:[32, 50] Operation: 80-30=50 Exploring Operation: 32+30=62, Resulting Numbers: [80, 62] Generated Node #0,4,3: 41:[80, 62] Operation: 32+30=62 Exploring Operation: 30+80=110, Resulting Numbers: [32, 110] Generated Node #0,4,4: 41:[32, 110] Operation: 30+80=110 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 41:[30, 48], Operations: ['99-19=80', '80-32=48'] Exploring Operation: 30+48=78, Resulting Numbers: [78] 78,41 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 30*48=1440, Resulting Numbers: [1440] 1440,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 41:[32, 50], Operations: ['99-19=80', '80-30=50'] Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 32*50=1600, Resulting Numbers: [1600] 1600,41 unequal: No Solution Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 41:[80, 62], Operations: ['99-19=80', '32+30=62'] Exploring Operation: 80+62=142, Resulting Numbers: [142] 142,41 unequal: No Solution Exploring Operation: 80*62=4960, Resulting Numbers: [4960] 4960,41 unequal: No Solution Exploring Operation: 80-62=18, Resulting Numbers: [18] 18,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 41:[80, 2], Operations: ['99-19=80', '32-30=2'] Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,41 unequal: No Solution Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,41 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 41:[32, 110], Operations: ['99-19=80', '30+80=110'] Exploring Operation: 32*110=3520, Resulting Numbers: [3520] 3520,41 unequal: No Solution Exploring Operation: 110-32=78, Resulting Numbers: [78] 78,41 unequal: No Solution Exploring Operation: 32+110=142, Resulting Numbers: [142] 142,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[32, 99, 49], Operations: ['30+19=49'] Exploring Operation: 32+99=131, Resulting Numbers: [49, 131] Generated Node #0,1,0: 41:[49, 131] Operation: 32+99=131 Exploring Operation: 99-32=67, Resulting Numbers: [49, 67] Generated Node #0,1,1: 41:[49, 67] Operation: 99-32=67 Exploring Operation: 32+49=81, Resulting Numbers: [99, 81] Generated Node #0,1,2: 41:[99, 81] Operation: 32+49=81 Exploring Operation: 99-49=50, Resulting Numbers: [32, 50] Generated Node #0,1,3: 41:[32, 50] Operation: 99-49=50 Exploring Operation: 49-32=17, Resulting Numbers: [99, 17] Generated Node #0,1,4: 41:[99, 17] Operation: 49-32=17 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 41:[32, 50], Operations: ['30+19=49', '99-49=50'] Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,41 unequal: No Solution Exploring Operation: 32*50=1600, Resulting Numbers: [1600] 1600,41 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[49, 67], Operations: ['30+19=49', '99-32=67'] Exploring Operation: 49*67=3283, Resulting Numbers: [3283] 3283,41 unequal: No Solution Exploring Operation: 67-49=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 49+67=116, Resulting Numbers: [116] 116,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 41:[99, 17], Operations: ['30+19=49', '49-32=17'] Exploring Operation: 99+17=116, Resulting Numbers: [116] 116,41 unequal: No Solution Exploring Operation: 99-17=82, Resulting Numbers: [82] 82,41 unequal: No Solution Exploring Operation: 99*17=1683, Resulting Numbers: [1683] 1683,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[49, 131], Operations: ['30+19=49', '32+99=131'] Exploring Operation: 49*131=6419, Resulting Numbers: [6419] 6419,41 unequal: No Solution Exploring Operation: 131-49=82, Resulting Numbers: [82] 82,41 unequal: No Solution Exploring Operation: 49+131=180, Resulting Numbers: [180] 180,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 41:[99, 81], Operations: ['30+19=49', '32+49=81'] Exploring Operation: 99*81=8019, Resulting Numbers: [8019] 8019,41 unequal: No Solution Exploring Operation: 99+81=180, Resulting Numbers: [180] 180,41 unequal: No Solution Exploring Operation: 99-81=18, Resulting Numbers: [18] 18,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[30, 99, 51], Operations: ['32+19=51'] Exploring Operation: 30+51=81, Resulting Numbers: [99, 81] Generated Node #0,3,0: 41:[99, 81] Operation: 30+51=81 Exploring Operation: 99-30=69, Resulting Numbers: [51, 69] Generated Node #0,3,1: 41:[51, 69] Operation: 99-30=69 Exploring Operation: 99-51=48, Resulting Numbers: [30, 48] Generated Node #0,3,2: 41:[30, 48] Operation: 99-51=48 Exploring Operation: 30+99=129, Resulting Numbers: [51, 129] Generated Node #0,3,3: 41:[51, 129] Operation: 30+99=129 Exploring Operation: 51-30=21, Resulting Numbers: [99, 21] Generated Node #0,3,4: 41:[99, 21] Operation: 51-30=21 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 41:[30, 48], Operations: ['32+19=51', '99-51=48'] Exploring Operation: 30*48=1440, Resulting Numbers: [1440] 1440,41 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 30+48=78, Resulting Numbers: [78] 78,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 41:[51, 69], Operations: ['32+19=51', '99-30=69'] Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 51*69=3519, Resulting Numbers: [3519] 3519,41 unequal: No Solution Exploring Operation: 51+69=120, Resulting Numbers: [120] 120,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 41:[99, 21], Operations: ['32+19=51', '51-30=21'] Exploring Operation: 99-21=78, Resulting Numbers: [78] 78,41 unequal: No Solution Exploring Operation: 99*21=2079, Resulting Numbers: [2079] 2079,41 unequal: No Solution Exploring Operation: 99+21=120, Resulting Numbers: [120] 120,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 41:[99, 81], Operations: ['32+19=51', '30+51=81'] Exploring Operation: 99-81=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 99+81=180, Resulting Numbers: [180] 180,41 unequal: No Solution Exploring Operation: 99*81=8019, Resulting Numbers: [8019] 8019,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 41:[51, 129], Operations: ['32+19=51', '30+99=129'] Exploring Operation: 51*129=6579, Resulting Numbers: [6579] 6579,41 unequal: No Solution Exploring Operation: 51+129=180, Resulting Numbers: [180] 180,41 unequal: No Solution Exploring Operation: 129-51=78, Resulting Numbers: [78] 78,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 74, 32, 4, 36 ]
30
[ "74-36=38", "32/4=8", "38-8=30" ]
Current State: 30:[74, 32, 4, 36], Operations: [] Exploring Operation: 74-36=38, Resulting Numbers: [32, 4, 38] Generated Node #2: [32, 4, 38] from Operation: 74-36=38 Current State: 30:[32, 4, 38], Operations: ['74-36=38'] Exploring Operation: 32/4=8, Resulting Numbers: [38, 8] Generated Node #3: [38, 8] from Operation: 32/4=8 Current State: 30:[38, 8], Operations: ['74-36=38', '32/4=8'] Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[74, 32, 4, 36], Operations: [] Exploring Operation: 74-36=38, Resulting Numbers: [32, 4, 38] Generated Node #0,0: 30:[32, 4, 38] Operation: 74-36=38 Moving to Node #0,0 Current State: 30:[32, 4, 38], Operations: ['74-36=38'] Exploring Operation: 38-32=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 30:[4, 6] Operation: 38-32=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[4, 6], Operations: ['74-36=38', '38-32=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,30 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
[ 58, 55, 2, 83 ]
60
[ "58+55=113", "113-83=30", "2*30=60" ]
Current State: 60:[58, 55, 2, 83], Operations: [] Exploring Operation: 58+55=113, Resulting Numbers: [2, 83, 113] Generated Node #2: [2, 83, 113] from Operation: 58+55=113 Current State: 60:[2, 83, 113], Operations: ['58+55=113'] Exploring Operation: 113-83=30, Resulting Numbers: [2, 30] Generated Node #3: [2, 30] from Operation: 113-83=30 Current State: 60:[2, 30], Operations: ['58+55=113', '113-83=30'] Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[58, 55, 2, 83], Operations: [] Exploring Operation: 83-55=28, Resulting Numbers: [58, 2, 28] Generated Node #0,0: 60:[58, 2, 28] Operation: 83-55=28 Exploring Operation: 58-55=3, Resulting Numbers: [2, 83, 3] Generated Node #0,1: 60:[2, 83, 3] Operation: 58-55=3 Exploring Operation: 83-58=25, Resulting Numbers: [55, 2, 25] Generated Node #0,2: 60:[55, 2, 25] Operation: 83-58=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[58, 2, 28], Operations: ['83-55=28'] Exploring Operation: 58+2=60, Resulting Numbers: [28, 60] Generated Node #0,0,0: 60:[28, 60] Operation: 58+2=60 Exploring Operation: 2+28=30, Resulting Numbers: [58, 30] Generated Node #0,0,1: 60:[58, 30] Operation: 2+28=30 Exploring Operation: 58-28=30, Resulting Numbers: [2, 30] Generated Node #0,0,2: 60:[2, 30] Operation: 58-28=30 Moving to Node #0,0,2 Current State: 60:[2, 30], Operations: ['83-55=28', '58-28=30'] Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[58, 55, 2, 83], Operations: [] Exploring Operation: 83-55=28, Resulting Numbers: [58, 2, 28] Generated Node #0,0: 60:[58, 2, 28] Operation: 83-55=28 Moving to Node #0,0 Current State: 60:[58, 2, 28], Operations: ['83-55=28'] Exploring Operation: 58-28=30, Resulting Numbers: [2, 30] Generated Node #0,0,2: 60:[2, 30] Operation: 58-28=30 Moving to Node #0,0,2 Current State: 60:[2, 30], Operations: ['83-55=28', '58-28=30'] Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 75, 96, 21, 12 ]
79
[ "96-12=84", "84/21=4", "75+4=79" ]
Current State: 79:[75, 96, 21, 12], Operations: [] Exploring Operation: 96-12=84, Resulting Numbers: [75, 21, 84] Generated Node #2: [75, 21, 84] from Operation: 96-12=84 Current State: 79:[75, 21, 84], Operations: ['96-12=84'] Exploring Operation: 84/21=4, Resulting Numbers: [75, 4] Generated Node #3: [75, 4] from Operation: 84/21=4 Current State: 79:[75, 4], Operations: ['96-12=84', '84/21=4'] Exploring Operation: 75+4=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[75, 96, 21, 12], Operations: [] Exploring Operation: 21+12=33, Resulting Numbers: [75, 96, 33] Generated Node #0,0: 79:[75, 96, 33] Operation: 21+12=33 Exploring Operation: 96-12=84, Resulting Numbers: [75, 21, 84] Generated Node #0,1: 79:[75, 21, 84] Operation: 96-12=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[75, 96, 33], Operations: ['21+12=33'] Exploring Operation: 75+33=108, Resulting Numbers: [96, 108] Generated Node #0,0,0: 79:[96, 108] Operation: 75+33=108 Exploring Operation: 96-33=63, Resulting Numbers: [75, 63] Generated Node #0,0,1: 79:[75, 63] Operation: 96-33=63 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[75, 63], Operations: ['21+12=33', '96-33=63'] Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,79 unequal: No Solution Exploring Operation: 75+63=138, Resulting Numbers: [138] 138,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,0,0 Current State: 79:[96, 108], Operations: ['21+12=33', '75+33=108'] Exploring Operation: 108-96=12, Resulting Numbers: [12] 12,79 unequal: No Solution Exploring Operation: 96+108=204, Resulting Numbers: [204] 204,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[75, 21, 84], Operations: ['96-12=84'] Exploring Operation: 75+21=96, Resulting Numbers: [84, 96] Generated Node #0,1,0: 79:[84, 96] Operation: 75+21=96 Exploring Operation: 84-21=63, Resulting Numbers: [75, 63] Generated Node #0,1,1: 79:[75, 63] Operation: 84-21=63 Moving to Node #0,1,1 Current State: 79:[75, 63], Operations: ['96-12=84', '84-21=63'] Exploring Operation: 75+63=138, Resulting Numbers: [138] 138,79 unequal: No Solution Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[84, 96], Operations: ['96-12=84', '75+21=96'] Exploring Operation: 84+96=180, Resulting Numbers: [180] 180,79 unequal: No Solution Exploring Operation: 96-84=12, Resulting Numbers: [12] 12,79 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
[ 4, 79, 21, 62 ]
42
[ "4+79=83", "62-21=41", "83-41=42" ]
Current State: 42:[4, 79, 21, 62], Operations: [] Exploring Operation: 4+79=83, Resulting Numbers: [21, 62, 83] Generated Node #2: [21, 62, 83] from Operation: 4+79=83 Current State: 42:[21, 62, 83], Operations: ['4+79=83'] Exploring Operation: 62-21=41, Resulting Numbers: [83, 41] Generated Node #3: [83, 41] from Operation: 62-21=41 Current State: 42:[83, 41], Operations: ['4+79=83', '62-21=41'] Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[4, 79, 21, 62], Operations: [] Exploring Operation: 79-62=17, Resulting Numbers: [4, 21, 17] Generated Node #0,0: 42:[4, 21, 17] Operation: 79-62=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[4, 21, 17], Operations: ['79-62=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21, 21] Generated Node #0,0,0: 42:[21, 21] Operation: 4+17=21 Moving to Node #0,0,0 Current State: 42:[21, 21], Operations: ['79-62=17', '4+17=21'] Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[4, 79, 21, 62], Operations: [] Exploring Operation: 79-62=17, Resulting Numbers: [4, 21, 17] Generated Node #0,0: 42:[4, 21, 17] Operation: 79-62=17 Moving to Node #0,0 Current State: 42:[4, 21, 17], Operations: ['79-62=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21, 21] Generated Node #0,0,0: 42:[21, 21] Operation: 4+17=21 Moving to Node #0,0,0 Current State: 42:[21, 21], Operations: ['79-62=17', '4+17=21'] Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 18, 28, 39, 10 ]
73
[ "18*39=702", "28+702=730", "730/10=73" ]
Current State: 73:[18, 28, 39, 10], Operations: [] Exploring Operation: 18*39=702, Resulting Numbers: [28, 10, 702] Generated Node #2: [28, 10, 702] from Operation: 18*39=702 Current State: 73:[28, 10, 702], Operations: ['18*39=702'] Exploring Operation: 28+702=730, Resulting Numbers: [10, 730] Generated Node #3: [10, 730] from Operation: 28+702=730 Current State: 73:[10, 730], Operations: ['18*39=702', '28+702=730'] Exploring Operation: 730/10=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[18, 28, 39, 10], Operations: [] Exploring Operation: 18+28=46, Resulting Numbers: [39, 10, 46] Generated Node #0,0: 73:[39, 10, 46] Operation: 18+28=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[39, 10, 46], Operations: ['18+28=46'] Exploring Operation: 39+10=49, Resulting Numbers: [46, 49] Generated Node #0,0,0: 73:[46, 49] Operation: 39+10=49 Moving to Node #0,0,0 Current State: 73:[46, 49], Operations: ['18+28=46', '39+10=49'] Exploring Operation: 46+49=95, Resulting Numbers: [95] 95,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 13, 1, 2, 21 ]
49
[ "13+1=14", "2*14=28", "21+28=49" ]
Current State: 49:[13, 1, 2, 21], Operations: [] Exploring Operation: 13+1=14, Resulting Numbers: [2, 21, 14] Generated Node #2: [2, 21, 14] from Operation: 13+1=14 Current State: 49:[2, 21, 14], Operations: ['13+1=14'] Exploring Operation: 2*14=28, Resulting Numbers: [21, 28] Generated Node #3: [21, 28] from Operation: 2*14=28 Current State: 49:[21, 28], Operations: ['13+1=14', '2*14=28'] Exploring Operation: 21+28=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[13, 1, 2, 21], Operations: [] Exploring Operation: 21-13=8, Resulting Numbers: [1, 2, 8] Generated Node #0,0: 49:[1, 2, 8] Operation: 21-13=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[1, 2, 8], Operations: ['21-13=8'] Exploring Operation: 1+2=3, Resulting Numbers: [8, 3] Generated Node #0,0,0: 49:[8, 3] Operation: 1+2=3 Moving to Node #0,0,0 Current State: 49:[8, 3], Operations: ['21-13=8', '1+2=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,49 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
[ 10, 65, 64, 2 ]
21
[ "10*2=20", "65-64=1", "20+1=21" ]
Current State: 21:[10, 65, 64, 2], Operations: [] Exploring Operation: 10*2=20, Resulting Numbers: [65, 64, 20] Generated Node #2: [65, 64, 20] from Operation: 10*2=20 Current State: 21:[65, 64, 20], Operations: ['10*2=20'] Exploring Operation: 65-64=1, Resulting Numbers: [20, 1] Generated Node #3: [20, 1] from Operation: 65-64=1 Current State: 21:[20, 1], Operations: ['10*2=20', '65-64=1'] Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[10, 65, 64, 2], Operations: [] Exploring Operation: 65-64=1, Resulting Numbers: [10, 2, 1] Generated Node #0,0: 21:[10, 2, 1] Operation: 65-64=1 Moving to Node #0,0 Current State: 21:[10, 2, 1], Operations: ['65-64=1'] Exploring Operation: 10*2=20, Resulting Numbers: [1, 20] Generated Node #0,0,0: 21:[1, 20] Operation: 10*2=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[1, 20], Operations: ['65-64=1', '10*2=20'] Exploring Operation: 1+20=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[10, 65, 64, 2], Operations: [] Exploring Operation: 65-64=1, Resulting Numbers: [10, 2, 1] Generated Node #0,0: 21:[10, 2, 1] Operation: 65-64=1 Moving to Node #0,0 Current State: 21:[10, 2, 1], Operations: ['65-64=1'] Exploring Operation: 10*2=20, Resulting Numbers: [1, 20] Generated Node #0,0,0: 21:[1, 20] Operation: 10*2=20 Moving to Node #0,0,0 Current State: 21:[1, 20], Operations: ['65-64=1', '10*2=20'] Exploring Operation: 1+20=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 75, 3, 81, 24 ]
94
[ "81-24=57", "57/3=19", "75+19=94" ]
Current State: 94:[75, 3, 81, 24], Operations: [] Exploring Operation: 81-24=57, Resulting Numbers: [75, 3, 57] Generated Node #2: [75, 3, 57] from Operation: 81-24=57 Current State: 94:[75, 3, 57], Operations: ['81-24=57'] Exploring Operation: 57/3=19, Resulting Numbers: [75, 19] Generated Node #3: [75, 19] from Operation: 57/3=19 Current State: 94:[75, 19], Operations: ['81-24=57', '57/3=19'] Exploring Operation: 75+19=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[75, 3, 81, 24], Operations: [] Exploring Operation: 75-24=51, Resulting Numbers: [3, 81, 51] Generated Node #0,0: 94:[3, 81, 51] Operation: 75-24=51 Exploring Operation: 81-75=6, Resulting Numbers: [3, 24, 6] Generated Node #0,1: 94:[3, 24, 6] Operation: 81-75=6 Exploring Operation: 75+24=99, Resulting Numbers: [3, 81, 99] Generated Node #0,2: 94:[3, 81, 99] Operation: 75+24=99 Moving to Node #0,0 Current State: 94:[3, 81, 51], Operations: ['75-24=51'] Exploring Operation: 51-3=48, Resulting Numbers: [81, 48] Generated Node #0,0,0: 94:[81, 48] Operation: 51-3=48 Exploring Operation: 81-51=30, Resulting Numbers: [3, 30] Generated Node #0,0,1: 94:[3, 30] Operation: 81-51=30 Exploring Operation: 3+81=84, Resulting Numbers: [51, 84] Generated Node #0,0,2: 94:[51, 84] Operation: 3+81=84 Moving to Node #0,2 Current State: 94:[3, 81, 99], Operations: ['75+24=99'] Exploring Operation: 99-3=96, Resulting Numbers: [81, 96] Generated Node #0,2,0: 94:[81, 96] Operation: 99-3=96 Exploring Operation: 99-81=18, Resulting Numbers: [3, 18] Generated Node #0,2,1: 94:[3, 18] Operation: 99-81=18 Exploring Operation: 3+81=84, Resulting Numbers: [99, 84] Generated Node #0,2,2: 94:[99, 84] Operation: 3+81=84 Moving to Node #0,1 Current State: 94:[3, 24, 6], Operations: ['81-75=6'] Exploring Operation: 24/6=4, Resulting Numbers: [3, 4] Generated Node #0,1,0: 94:[3, 4] Operation: 24/6=4 Exploring Operation: 24/3=8, Resulting Numbers: [6, 8] Generated Node #0,1,1: 94:[6, 8] Operation: 24/3=8 Exploring Operation: 24-6=18, Resulting Numbers: [3, 18] Generated Node #0,1,2: 94:[3, 18] Operation: 24-6=18 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[3, 4], Operations: ['81-75=6', '24/6=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,94 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[6, 8], Operations: ['81-75=6', '24/3=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,94 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[3, 18], Operations: ['81-75=6', '24-6=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,94 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: 94:[81, 48], Operations: ['75-24=51', '51-3=48'] Exploring Operation: 81-48=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 81+48=129, Resulting Numbers: [129] 129,94 unequal: No Solution Exploring Operation: 81*48=3888, Resulting Numbers: [3888] 3888,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[51, 84], Operations: ['75-24=51', '3+81=84'] Exploring Operation: 84-51=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 51+84=135, Resulting Numbers: [135] 135,94 unequal: No Solution Exploring Operation: 51*84=4284, Resulting Numbers: [4284] 4284,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[99, 84], Operations: ['75+24=99', '3+81=84'] Exploring Operation: 99-84=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 99+84=183, Resulting Numbers: [183] 183,94 unequal: No Solution Exploring Operation: 99*84=8316, Resulting Numbers: [8316] 8316,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[81, 96], Operations: ['75+24=99', '99-3=96'] Exploring Operation: 81*96=7776, Resulting Numbers: [7776] 7776,94 unequal: No Solution Exploring Operation: 96-81=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 81+96=177, Resulting Numbers: [177] 177,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[3, 18], Operations: ['75+24=99', '99-81=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,94 unequal: No Solution Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[3, 30], Operations: ['75-24=51', '81-51=30'] Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,94 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,94 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 62, 31, 78, 62 ]
47
[ "62+31=93", "78+62=140", "140-93=47" ]
Current State: 47:[62, 31, 78, 62], Operations: [] Exploring Operation: 62+31=93, Resulting Numbers: [78, 93] Generated Node #2: [78, 93] from Operation: 62+31=93 Current State: 47:[78, 93], Operations: ['62+31=93'] Exploring Operation: 78+62=140, Resulting Numbers: [93, 140] Generated Node #3: [93, 140] from Operation: 78+62=140 Current State: 47:[93, 140], Operations: ['62+31=93', '78+62=140'] Exploring Operation: 140-93=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[62, 31, 78, 62], Operations: [] Exploring Operation: 78-31=47, Resulting Numbers: [62, 62, 47] Generated Node #0,0: 47:[62, 62, 47] Operation: 78-31=47 Moving to Node #0,0 Current State: 47:[62, 62, 47], Operations: ['78-31=47'] Exploring Operation: 62/62=1, Resulting Numbers: [47, 1] Generated Node #0,0,0: 47:[47, 1] Operation: 62/62=1 Moving to Node #0,0,0 Current State: 47:[47, 1], Operations: ['78-31=47', '62/62=1'] Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[62, 31, 78, 62], Operations: [] Exploring Operation: 78-31=47, Resulting Numbers: [62, 62, 47] Generated Node #0,0: 47:[62, 62, 47] Operation: 78-31=47 Moving to Node #0,0 Current State: 47:[62, 62, 47], Operations: ['78-31=47'] Exploring Operation: 62/62=1, Resulting Numbers: [47, 1] Generated Node #0,0,0: 47:[47, 1] Operation: 62/62=1 Moving to Node #0,0,0 Current State: 47:[47, 1], Operations: ['78-31=47', '62/62=1'] Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 87, 79, 81, 24 ]
61
[ "87+79=166", "81+24=105", "166-105=61" ]
Current State: 61:[87, 79, 81, 24], Operations: [] Exploring Operation: 87+79=166, Resulting Numbers: [81, 24, 166] Generated Node #2: [81, 24, 166] from Operation: 87+79=166 Current State: 61:[81, 24, 166], Operations: ['87+79=166'] Exploring Operation: 81+24=105, Resulting Numbers: [166, 105] Generated Node #3: [166, 105] from Operation: 81+24=105 Current State: 61:[166, 105], Operations: ['87+79=166', '81+24=105'] Exploring Operation: 166-105=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[87, 79, 81, 24], Operations: [] Exploring Operation: 87-24=63, Resulting Numbers: [79, 81, 63] Generated Node #0,0: 61:[79, 81, 63] Operation: 87-24=63 Exploring Operation: 79-24=55, Resulting Numbers: [87, 81, 55] Generated Node #0,1: 61:[87, 81, 55] Operation: 79-24=55 Exploring Operation: 87+24=111, Resulting Numbers: [79, 81, 111] Generated Node #0,2: 61:[79, 81, 111] Operation: 87+24=111 Exploring Operation: 81-24=57, Resulting Numbers: [87, 79, 57] Generated Node #0,3: 61:[87, 79, 57] Operation: 81-24=57 Moving to Node #0,0 Current State: 61:[79, 81, 63], Operations: ['87-24=63'] Exploring Operation: 79+81=160, Resulting Numbers: [63, 160] Generated Node #0,0,0: 61:[63, 160] Operation: 79+81=160 Exploring Operation: 81-79=2, Resulting Numbers: [63, 2] Generated Node #0,0,1: 61:[63, 2] Operation: 81-79=2 Exploring Operation: 81-63=18, Resulting Numbers: [79, 18] Generated Node #0,0,2: 61:[79, 18] Operation: 81-63=18 Exploring Operation: 79-63=16, Resulting Numbers: [81, 16] Generated Node #0,0,3: 61:[81, 16] Operation: 79-63=16 Moving to Node #0,3 Current State: 61:[87, 79, 57], Operations: ['81-24=57'] Exploring Operation: 87+57=144, Resulting Numbers: [79, 144] Generated Node #0,3,0: 61:[79, 144] Operation: 87+57=144 Exploring Operation: 87-79=8, Resulting Numbers: [57, 8] Generated Node #0,3,1: 61:[57, 8] Operation: 87-79=8 Exploring Operation: 87-57=30, Resulting Numbers: [79, 30] Generated Node #0,3,2: 61:[79, 30] Operation: 87-57=30 Exploring Operation: 79-57=22, Resulting Numbers: [87, 22] Generated Node #0,3,3: 61:[87, 22] Operation: 79-57=22 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 61:[79, 30], Operations: ['81-24=57', '87-57=30'] Exploring Operation: 79+30=109, Resulting Numbers: [109] 109,61 unequal: No Solution Exploring Operation: 79*30=2370, Resulting Numbers: [2370] 2370,61 unequal: No Solution Exploring Operation: 79-30=49, Resulting Numbers: [49] 49,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 61:[57, 8], Operations: ['81-24=57', '87-79=8'] Exploring Operation: 57*8=456, Resulting Numbers: [456] 456,61 unequal: No Solution Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,61 unequal: No Solution Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 61:[87, 22], Operations: ['81-24=57', '79-57=22'] Exploring Operation: 87-22=65, Resulting Numbers: [65] 65,61 unequal: No Solution Exploring Operation: 87*22=1914, Resulting Numbers: [1914] 1914,61 unequal: No Solution Exploring Operation: 87+22=109, Resulting Numbers: [109] 109,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 61:[79, 144], Operations: ['81-24=57', '87+57=144'] Exploring Operation: 144-79=65, Resulting Numbers: [65] 65,61 unequal: No Solution Exploring Operation: 79+144=223, Resulting Numbers: [223] 223,61 unequal: No Solution Exploring Operation: 79*144=11376, Resulting Numbers: [11376] 11376,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 61:[87, 81, 55], Operations: ['79-24=55'] Exploring Operation: 81-55=26, Resulting Numbers: [87, 26] Generated Node #0,1,0: 61:[87, 26] Operation: 81-55=26 Exploring Operation: 87-55=32, Resulting Numbers: [81, 32] Generated Node #0,1,1: 61:[81, 32] Operation: 87-55=32 Exploring Operation: 87-81=6, Resulting Numbers: [55, 6] Generated Node #0,1,2: 61:[55, 6] Operation: 87-81=6 Exploring Operation: 87+55=142, Resulting Numbers: [81, 142] Generated Node #0,1,3: 61:[81, 142] Operation: 87+55=142 Moving to Node #0,2 Current State: 61:[79, 81, 111], Operations: ['87+24=111'] Exploring Operation: 111-79=32, Resulting Numbers: [81, 32] Generated Node #0,2,0: 61:[81, 32] Operation: 111-79=32 Exploring Operation: 79+81=160, Resulting Numbers: [111, 160] Generated Node #0,2,1: 61:[111, 160] Operation: 79+81=160 Exploring Operation: 111-81=30, Resulting Numbers: [79, 30] Generated Node #0,2,2: 61:[79, 30] Operation: 111-81=30 Exploring Operation: 81-79=2, Resulting Numbers: [111, 2] Generated Node #0,2,3: 61:[111, 2] Operation: 81-79=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[81, 32], Operations: ['87+24=111', '111-79=32'] Exploring Operation: 81*32=2592, Resulting Numbers: [2592] 2592,61 unequal: No Solution Exploring Operation: 81-32=49, Resulting Numbers: [49] 49,61 unequal: No Solution Exploring Operation: 81+32=113, Resulting Numbers: [113] 113,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[79, 30], Operations: ['87+24=111', '111-81=30'] Exploring Operation: 79-30=49, Resulting Numbers: [49] 49,61 unequal: No Solution Exploring Operation: 79*30=2370, Resulting Numbers: [2370] 2370,61 unequal: No Solution Exploring Operation: 79+30=109, Resulting Numbers: [109] 109,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[111, 2], Operations: ['87+24=111', '81-79=2'] Exploring Operation: 111-2=109, Resulting Numbers: [109] 109,61 unequal: No Solution Exploring Operation: 111*2=222, Resulting Numbers: [222] 222,61 unequal: No Solution Exploring Operation: 111+2=113, Resulting Numbers: [113] 113,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[111, 160], Operations: ['87+24=111', '79+81=160'] Exploring Operation: 111*160=17760, Resulting Numbers: [17760] 17760,61 unequal: No Solution Exploring Operation: 111+160=271, Resulting Numbers: [271] 271,61 unequal: No Solution Exploring Operation: 160-111=49, Resulting Numbers: [49] 49,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 61:[81, 32], Operations: ['79-24=55', '87-55=32'] Exploring Operation: 81+32=113, Resulting Numbers: [113] 113,61 unequal: No Solution Exploring Operation: 81-32=49, Resulting Numbers: [49] 49,61 unequal: No Solution Exploring Operation: 81*32=2592, Resulting Numbers: [2592] 2592,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[87, 26], Operations: ['79-24=55', '81-55=26'] Exploring Operation: 87+26=113, Resulting Numbers: [113] 113,61 unequal: No Solution Exploring Operation: 87-26=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[87, 79, 81, 24], Operations: [] Exploring Operation: 79-24=55, Resulting Numbers: [87, 81, 55] Generated Node #0,1: 61:[87, 81, 55] Operation: 79-24=55 Moving to Node #0,1 Current State: 61:[87, 81, 55], Operations: ['79-24=55'] Exploring Operation: 81-55=26, Resulting Numbers: [87, 26] Generated Node #0,1,0: 61:[87, 26] Operation: 81-55=26 Moving to Node #0,1,0 Current State: 61:[87, 26], Operations: ['79-24=55', '81-55=26'] Exploring Operation: 87-26=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
0.953993
hs_4
sum_heuristic
[ 50, 29, 86, 83 ]
18
[ "50-29=21", "86-83=3", "21-3=18" ]
Current State: 18:[50, 29, 86, 83], Operations: [] Exploring Operation: 50-29=21, Resulting Numbers: [86, 83, 21] Generated Node #2: [86, 83, 21] from Operation: 50-29=21 Current State: 18:[86, 83, 21], Operations: ['50-29=21'] Exploring Operation: 86-83=3, Resulting Numbers: [21, 3] Generated Node #3: [21, 3] from Operation: 86-83=3 Current State: 18:[21, 3], Operations: ['50-29=21', '86-83=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[50, 29, 86, 83], Operations: [] Exploring Operation: 83-50=33, Resulting Numbers: [29, 86, 33] Generated Node #0,0: 18:[29, 86, 33] Operation: 83-50=33 Exploring Operation: 86-83=3, Resulting Numbers: [50, 29, 3] Generated Node #0,1: 18:[50, 29, 3] Operation: 86-83=3 Exploring Operation: 86-50=36, Resulting Numbers: [29, 83, 36] Generated Node #0,2: 18:[29, 83, 36] Operation: 86-50=36 Moving to Node #0,1 Current State: 18:[50, 29, 3], Operations: ['86-83=3'] Exploring Operation: 50-3=47, Resulting Numbers: [29, 47] Generated Node #0,1,0: 18:[29, 47] Operation: 50-3=47 Exploring Operation: 50-29=21, Resulting Numbers: [3, 21] Generated Node #0,1,1: 18:[3, 21] Operation: 50-29=21 Exploring Operation: 29-3=26, Resulting Numbers: [50, 26] Generated Node #0,1,2: 18:[50, 26] Operation: 29-3=26 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[3, 21], Operations: ['86-83=3', '50-29=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[50, 29, 86, 83], Operations: [] Exploring Operation: 86-83=3, Resulting Numbers: [50, 29, 3] Generated Node #0,1: 18:[50, 29, 3] Operation: 86-83=3 Moving to Node #0,1 Current State: 18:[50, 29, 3], Operations: ['86-83=3'] Exploring Operation: 50-29=21, Resulting Numbers: [3, 21] Generated Node #0,1,1: 18:[3, 21] Operation: 50-29=21 Moving to Node #0,1,1 Current State: 18:[3, 21], Operations: ['86-83=3', '50-29=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 72, 33, 96, 12 ]
28
[ "33-12=21", "96*21=2016", "2016/72=28" ]
Current State: 28:[72, 33, 96, 12], Operations: [] Exploring Operation: 33-12=21, Resulting Numbers: [72, 96, 21] Generated Node #2: [72, 96, 21] from Operation: 33-12=21 Current State: 28:[72, 96, 21], Operations: ['33-12=21'] Exploring Operation: 96*21=2016, Resulting Numbers: [72, 2016] Generated Node #3: [72, 2016] from Operation: 96*21=2016 Current State: 28:[72, 2016], Operations: ['33-12=21', '96*21=2016'] Exploring Operation: 2016/72=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[72, 33, 96, 12], Operations: [] Exploring Operation: 96-72=24, Resulting Numbers: [33, 12, 24] Generated Node #0,0: 28:[33, 12, 24] Operation: 96-72=24 Moving to Node #0,0 Current State: 28:[33, 12, 24], Operations: ['96-72=24'] Exploring Operation: 33-24=9, Resulting Numbers: [12, 9] Generated Node #0,0,0: 28:[12, 9] Operation: 33-24=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[12, 9], Operations: ['96-72=24', '33-24=9'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 31, 37, 74, 14 ]
59
[ "74/37=2", "14*2=28", "31+28=59" ]
Current State: 59:[31, 37, 74, 14], Operations: [] Exploring Operation: 74/37=2, Resulting Numbers: [31, 14, 2] Generated Node #2: [31, 14, 2] from Operation: 74/37=2 Current State: 59:[31, 14, 2], Operations: ['74/37=2'] Exploring Operation: 14*2=28, Resulting Numbers: [31, 28] Generated Node #3: [31, 28] from Operation: 14*2=28 Current State: 59:[31, 28], Operations: ['74/37=2', '14*2=28'] Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[31, 37, 74, 14], Operations: [] Exploring Operation: 37+14=51, Resulting Numbers: [31, 74, 51] Generated Node #0,0: 59:[31, 74, 51] Operation: 37+14=51 Exploring Operation: 31+14=45, Resulting Numbers: [37, 74, 45] Generated Node #0,1: 59:[37, 74, 45] Operation: 31+14=45 Exploring Operation: 31+37=68, Resulting Numbers: [74, 14, 68] Generated Node #0,2: 59:[74, 14, 68] Operation: 31+37=68 Exploring Operation: 74-14=60, Resulting Numbers: [31, 37, 60] Generated Node #0,3: 59:[31, 37, 60] Operation: 74-14=60 Moving to Node #0,0 Current State: 59:[31, 74, 51], Operations: ['37+14=51'] Exploring Operation: 31+74=105, Resulting Numbers: [51, 105] Generated Node #0,0,0: 59:[51, 105] Operation: 31+74=105 Exploring Operation: 74-31=43, Resulting Numbers: [51, 43] Generated Node #0,0,1: 59:[51, 43] Operation: 74-31=43 Exploring Operation: 31+51=82, Resulting Numbers: [74, 82] Generated Node #0,0,2: 59:[74, 82] Operation: 31+51=82 Exploring Operation: 51-31=20, Resulting Numbers: [74, 20] Generated Node #0,0,3: 59:[74, 20] Operation: 51-31=20 Moving to Node #0,3 Current State: 59:[31, 37, 60], Operations: ['74-14=60'] Exploring Operation: 31+37=68, Resulting Numbers: [60, 68] Generated Node #0,3,0: 59:[60, 68] Operation: 31+37=68 Exploring Operation: 37-31=6, Resulting Numbers: [60, 6] Generated Node #0,3,1: 59:[60, 6] Operation: 37-31=6 Exploring Operation: 31+60=91, Resulting Numbers: [37, 91] Generated Node #0,3,2: 59:[37, 91] Operation: 31+60=91 Exploring Operation: 60-31=29, Resulting Numbers: [37, 29] Generated Node #0,3,3: 59:[37, 29] Operation: 60-31=29 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 59:[60, 68], Operations: ['74-14=60', '31+37=68'] Exploring Operation: 60+68=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 60*68=4080, Resulting Numbers: [4080] 4080,59 unequal: No Solution Exploring Operation: 68-60=8, Resulting Numbers: [8] 8,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 59:[37, 29], Operations: ['74-14=60', '60-31=29'] Exploring Operation: 37*29=1073, Resulting Numbers: [1073] 1073,59 unequal: No Solution Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 59:[60, 6], Operations: ['74-14=60', '37-31=6'] Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,59 unequal: No Solution Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,59 unequal: No Solution Exploring Operation: 60*6=360, Resulting Numbers: [360] 360,59 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[37, 91], Operations: ['74-14=60', '31+60=91'] Exploring Operation: 37+91=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 91-37=54, Resulting Numbers: [54] 54,59 unequal: No Solution Exploring Operation: 37*91=3367, Resulting Numbers: [3367] 3367,59 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: 59:[37, 74, 45], Operations: ['31+14=45'] Exploring Operation: 74-45=29, Resulting Numbers: [37, 29] Generated Node #0,1,0: 59:[37, 29] Operation: 74-45=29 Exploring Operation: 37+45=82, Resulting Numbers: [74, 82] Generated Node #0,1,1: 59:[74, 82] Operation: 37+45=82 Exploring Operation: 74-37=37, Resulting Numbers: [45, 37] Generated Node #0,1,2: 59:[45, 37] Operation: 74-37=37 Exploring Operation: 37+74=111, Resulting Numbers: [45, 111] Generated Node #0,1,3: 59:[45, 111] Operation: 37+74=111 Moving to Node #0,2 Current State: 59:[74, 14, 68], Operations: ['31+37=68'] Exploring Operation: 14+68=82, Resulting Numbers: [74, 82] Generated Node #0,2,0: 59:[74, 82] Operation: 14+68=82 Exploring Operation: 68-14=54, Resulting Numbers: [74, 54] Generated Node #0,2,1: 59:[74, 54] Operation: 68-14=54 Exploring Operation: 74-14=60, Resulting Numbers: [68, 60] Generated Node #0,2,2: 59:[68, 60] Operation: 74-14=60 Exploring Operation: 74+14=88, Resulting Numbers: [68, 88] Generated Node #0,2,3: 59:[68, 88] Operation: 74+14=88 Moving to Node #0,2,2 Current State: 59:[68, 60], Operations: ['31+37=68', '74-14=60'] Exploring Operation: 68*60=4080, Resulting Numbers: [4080] 4080,59 unequal: No Solution Exploring Operation: 68+60=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 68-60=8, Resulting Numbers: [8] 8,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[74, 54], Operations: ['31+37=68', '68-14=54'] Exploring Operation: 74*54=3996, Resulting Numbers: [3996] 3996,59 unequal: No Solution Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 74+54=128, Resulting Numbers: [128] 128,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[51, 43], Operations: ['37+14=51', '74-31=43'] Exploring Operation: 51*43=2193, Resulting Numbers: [2193] 2193,59 unequal: No Solution Exploring Operation: 51+43=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 51-43=8, Resulting Numbers: [8] 8,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[45, 37], Operations: ['31+14=45', '74-37=37'] Exploring Operation: 45+37=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 45*37=1665, Resulting Numbers: [1665] 1665,59 unequal: No Solution Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[74, 82], Operations: ['31+14=45', '37+45=82'] Exploring Operation: 82-74=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 74*82=6068, Resulting Numbers: [6068] 6068,59 unequal: No Solution Exploring Operation: 74+82=156, Resulting Numbers: [156] 156,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[68, 88], Operations: ['31+37=68', '74+14=88'] Exploring Operation: 88-68=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 68*88=5984, Resulting Numbers: [5984] 5984,59 unequal: No Solution Exploring Operation: 68+88=156, Resulting Numbers: [156] 156,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[74, 82], Operations: ['31+37=68', '14+68=82'] Exploring Operation: 74+82=156, Resulting Numbers: [156] 156,59 unequal: No Solution Exploring Operation: 74*82=6068, Resulting Numbers: [6068] 6068,59 unequal: No Solution Exploring Operation: 82-74=8, Resulting Numbers: [8] 8,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[74, 82], Operations: ['37+14=51', '31+51=82'] Exploring Operation: 74*82=6068, Resulting Numbers: [6068] 6068,59 unequal: No Solution Exploring Operation: 82-74=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 74+82=156, Resulting Numbers: [156] 156,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[37, 29], Operations: ['31+14=45', '74-45=29'] Exploring Operation: 37*29=1073, Resulting Numbers: [1073] 1073,59 unequal: No Solution Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[74, 20], Operations: ['37+14=51', '51-31=20'] Exploring Operation: 74*20=1480, Resulting Numbers: [1480] 1480,59 unequal: No Solution Exploring Operation: 74+20=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 74-20=54, Resulting Numbers: [54] 54,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[51, 105], Operations: ['37+14=51', '31+74=105'] Exploring Operation: 51+105=156, Resulting Numbers: [156] 156,59 unequal: No Solution Exploring Operation: 51*105=5355, Resulting Numbers: [5355] 5355,59 unequal: No Solution Exploring Operation: 105-51=54, Resulting Numbers: [54] 54,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[45, 111], Operations: ['31+14=45', '37+74=111'] Exploring Operation: 45+111=156, Resulting Numbers: [156] 156,59 unequal: No Solution Exploring Operation: 111-45=66, Resulting Numbers: [66] 66,59 unequal: No Solution Exploring Operation: 45*111=4995, Resulting Numbers: [4995] 4995,59 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 27, 2, 67, 28 ]
79
[ "27+28=55", "2*67=134", "134-55=79" ]
Current State: 79:[27, 2, 67, 28], Operations: [] Exploring Operation: 27+28=55, Resulting Numbers: [2, 67, 55] Generated Node #2: [2, 67, 55] from Operation: 27+28=55 Current State: 79:[2, 67, 55], Operations: ['27+28=55'] Exploring Operation: 2*67=134, Resulting Numbers: [55, 134] Generated Node #3: [55, 134] from Operation: 2*67=134 Current State: 79:[55, 134], Operations: ['27+28=55', '2*67=134'] Exploring Operation: 134-55=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[27, 2, 67, 28], Operations: [] Exploring Operation: 27*2=54, Resulting Numbers: [67, 28, 54] Generated Node #0,0: 79:[67, 28, 54] Operation: 27*2=54 Exploring Operation: 27+28=55, Resulting Numbers: [2, 67, 55] Generated Node #0,1: 79:[2, 67, 55] Operation: 27+28=55 Exploring Operation: 27+2=29, Resulting Numbers: [67, 28, 29] Generated Node #0,2: 79:[67, 28, 29] Operation: 27+2=29 Exploring Operation: 2*28=56, Resulting Numbers: [27, 67, 56] Generated Node #0,3: 79:[27, 67, 56] Operation: 2*28=56 Exploring Operation: 2+67=69, Resulting Numbers: [27, 28, 69] Generated Node #0,4: 79:[27, 28, 69] Operation: 2+67=69 Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[27, 67, 56], Operations: ['2*28=56'] Exploring Operation: 27+56=83, Resulting Numbers: [67, 83] Generated Node #0,3,0: 79:[67, 83] Operation: 27+56=83 Exploring Operation: 27+67=94, Resulting Numbers: [56, 94] Generated Node #0,3,1: 79:[56, 94] Operation: 27+67=94 Exploring Operation: 67+56=123, Resulting Numbers: [27, 123] Generated Node #0,3,2: 79:[27, 123] Operation: 67+56=123 Exploring Operation: 67-27=40, Resulting Numbers: [56, 40] Generated Node #0,3,3: 79:[56, 40] Operation: 67-27=40 Exploring Operation: 56-27=29, Resulting Numbers: [67, 29] Generated Node #0,3,4: 79:[67, 29] Operation: 56-27=29 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 79:[67, 83], Operations: ['2*28=56', '27+56=83'] Exploring Operation: 67*83=5561, Resulting Numbers: [5561] 5561,79 unequal: No Solution Exploring Operation: 67+83=150, Resulting Numbers: [150] 150,79 unequal: No Solution Exploring Operation: 83-67=16, Resulting Numbers: [16] 16,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,1 Current State: 79:[56, 94], Operations: ['2*28=56', '27+67=94'] Exploring Operation: 94-56=38, Resulting Numbers: [38] 38,79 unequal: No Solution Exploring Operation: 56*94=5264, Resulting Numbers: [5264] 5264,79 unequal: No Solution Exploring Operation: 56+94=150, Resulting Numbers: [150] 150,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:[56, 40], Operations: ['2*28=56', '67-27=40'] Exploring Operation: 56+40=96, Resulting Numbers: [96] 96,79 unequal: No Solution Exploring Operation: 56*40=2240, Resulting Numbers: [2240] 2240,79 unequal: No Solution Exploring Operation: 56-40=16, Resulting Numbers: [16] 16,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,4 Current State: 79:[67, 29], Operations: ['2*28=56', '56-27=29'] Exploring Operation: 67-29=38, Resulting Numbers: [38] 38,79 unequal: No Solution Exploring Operation: 67*29=1943, Resulting Numbers: [1943] 1943,79 unequal: No Solution Exploring Operation: 67+29=96, Resulting Numbers: [96] 96,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:[27, 123], Operations: ['2*28=56', '67+56=123'] Exploring Operation: 27*123=3321, Resulting Numbers: [3321] 3321,79 unequal: No Solution Exploring Operation: 123-27=96, Resulting Numbers: [96] 96,79 unequal: No Solution Exploring Operation: 27+123=150, Resulting Numbers: [150] 150,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[67, 28, 54], Operations: ['27*2=54'] Exploring Operation: 67+54=121, Resulting Numbers: [28, 121] Generated Node #0,0,0: 79:[28, 121] Operation: 67+54=121 Exploring Operation: 28+54=82, Resulting Numbers: [67, 82] Generated Node #0,0,1: 79:[67, 82] Operation: 28+54=82 Exploring Operation: 54-28=26, Resulting Numbers: [67, 26] Generated Node #0,0,2: 79:[67, 26] Operation: 54-28=26 Exploring Operation: 67+28=95, Resulting Numbers: [54, 95] Generated Node #0,0,3: 79:[54, 95] Operation: 67+28=95 Exploring Operation: 67-28=39, Resulting Numbers: [54, 39] Generated Node #0,0,4: 79:[54, 39] Operation: 67-28=39 Moving to Node #0,0,1 Current State: 79:[67, 82], Operations: ['27*2=54', '28+54=82'] Exploring Operation: 67+82=149, Resulting Numbers: [149] 149,79 unequal: No Solution Exploring Operation: 82-67=15, Resulting Numbers: [15] 15,79 unequal: No Solution Exploring Operation: 67*82=5494, Resulting Numbers: [5494] 5494,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[54, 95], Operations: ['27*2=54', '67+28=95'] Exploring Operation: 95-54=41, Resulting Numbers: [41] 41,79 unequal: No Solution Exploring Operation: 54*95=5130, Resulting Numbers: [5130] 5130,79 unequal: No Solution Exploring Operation: 54+95=149, Resulting Numbers: [149] 149,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[67, 26], Operations: ['27*2=54', '54-28=26'] Exploring Operation: 67-26=41, Resulting Numbers: [41] 41,79 unequal: No Solution Exploring Operation: 67+26=93, Resulting Numbers: [93] 93,79 unequal: No Solution Exploring Operation: 67*26=1742, Resulting Numbers: [1742] 1742,79 unequal: No Solution Moving to Node #0,0,4 Current State: 79:[54, 39], Operations: ['27*2=54', '67-28=39'] Exploring Operation: 54*39=2106, Resulting Numbers: [2106] 2106,79 unequal: No Solution Exploring Operation: 54+39=93, Resulting Numbers: [93] 93,79 unequal: No Solution Exploring Operation: 54-39=15, Resulting Numbers: [15] 15,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[28, 121], Operations: ['27*2=54', '67+54=121'] Exploring Operation: 28*121=3388, Resulting Numbers: [3388] 3388,79 unequal: No Solution Exploring Operation: 121-28=93, Resulting Numbers: [93] 93,79 unequal: No Solution Exploring Operation: 28+121=149, Resulting Numbers: [149] 149,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:[2, 67, 55], Operations: ['27+28=55'] Exploring Operation: 2+55=57, Resulting Numbers: [67, 57] Generated Node #0,1,0: 79:[67, 57] Operation: 2+55=57 Exploring Operation: 2*55=110, Resulting Numbers: [67, 110] Generated Node #0,1,1: 79:[67, 110] Operation: 2*55=110 Exploring Operation: 67-2=65, Resulting Numbers: [55, 65] Generated Node #0,1,2: 79:[55, 65] Operation: 67-2=65 Exploring Operation: 2+67=69, Resulting Numbers: [55, 69] Generated Node #0,1,3: 79:[55, 69] Operation: 2+67=69 Exploring Operation: 55-2=53, Resulting Numbers: [67, 53] Generated Node #0,1,4: 79:[67, 53] Operation: 55-2=53 Moving to Node #0,1,0 Current State: 79:[67, 57], Operations: ['27+28=55', '2+55=57'] Exploring Operation: 67-57=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 67*57=3819, Resulting Numbers: [3819] 3819,79 unequal: No Solution Exploring Operation: 67+57=124, Resulting Numbers: [124] 124,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[55, 69], Operations: ['27+28=55', '2+67=69'] Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,79 unequal: No Solution Exploring Operation: 55*69=3795, Resulting Numbers: [3795] 3795,79 unequal: No Solution Exploring Operation: 55+69=124, Resulting Numbers: [124] 124,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[55, 65], Operations: ['27+28=55', '67-2=65'] Exploring Operation: 55+65=120, Resulting Numbers: [120] 120,79 unequal: No Solution Exploring Operation: 55*65=3575, Resulting Numbers: [3575] 3575,79 unequal: No Solution Exploring Operation: 65-55=10, Resulting Numbers: [10] 10,79 unequal: No Solution Moving to Node #0,1,4 Current State: 79:[67, 53], Operations: ['27+28=55', '55-2=53'] Exploring Operation: 67*53=3551, Resulting Numbers: [3551] 3551,79 unequal: No Solution Exploring Operation: 67-53=14, Resulting Numbers: [14] 14,79 unequal: No Solution Exploring Operation: 67+53=120, Resulting Numbers: [120] 120,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[67, 110], Operations: ['27+28=55', '2*55=110'] Exploring Operation: 110-67=43, Resulting Numbers: [43] 43,79 unequal: No Solution Exploring Operation: 67+110=177, Resulting Numbers: [177] 177,79 unequal: No Solution Exploring Operation: 67*110=7370, Resulting Numbers: [7370] 7370,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[67, 28, 29], Operations: ['27+2=29'] Exploring Operation: 28+29=57, Resulting Numbers: [67, 57] Generated Node #0,2,0: 79:[67, 57] Operation: 28+29=57 Exploring Operation: 29-28=1, Resulting Numbers: [67, 1] Generated Node #0,2,1: 79:[67, 1] Operation: 29-28=1 Exploring Operation: 67-28=39, Resulting Numbers: [29, 39] Generated Node #0,2,2: 79:[29, 39] Operation: 67-28=39 Exploring Operation: 67+28=95, Resulting Numbers: [29, 95] Generated Node #0,2,3: 79:[29, 95] Operation: 67+28=95 Exploring Operation: 67+29=96, Resulting Numbers: [28, 96] Generated Node #0,2,4: 79:[28, 96] Operation: 67+29=96 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 79:[67, 57], Operations: ['27+2=29', '28+29=57'] Exploring Operation: 67*57=3819, Resulting Numbers: [3819] 3819,79 unequal: No Solution Exploring Operation: 67-57=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 67+57=124, Resulting Numbers: [124] 124,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,2,3 Current State: 79:[29, 95], Operations: ['27+2=29', '67+28=95'] Exploring Operation: 95-29=66, Resulting Numbers: [66] 66,79 unequal: No Solution Exploring Operation: 29*95=2755, Resulting Numbers: [2755] 2755,79 unequal: No Solution Exploring Operation: 29+95=124, Resulting Numbers: [124] 124,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,2,4 Current State: 79:[28, 96], Operations: ['27+2=29', '67+29=96'] Exploring Operation: 28*96=2688, Resulting Numbers: [2688] 2688,79 unequal: No Solution Exploring Operation: 96-28=68, Resulting Numbers: [68] 68,79 unequal: No Solution Exploring Operation: 28+96=124, Resulting Numbers: [124] 124,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,2,1 Current State: 79:[67, 1], Operations: ['27+2=29', '29-28=1'] Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,79 unequal: No Solution Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,79 unequal: No Solution Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,79 unequal: No Solution Exploring Operation: 67+1=68, Resulting Numbers: [68] 68,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,2,2 Current State: 79:[29, 39], Operations: ['27+2=29', '67-28=39'] Exploring Operation: 29*39=1131, Resulting Numbers: [1131] 1131,79 unequal: No Solution Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 29+39=68, Resulting Numbers: [68] 68,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,4 Current State: 79:[27, 28, 69], Operations: ['2+67=69'] Exploring Operation: 27+28=55, Resulting Numbers: [69, 55] Generated Node #0,4,0: 79:[69, 55] Operation: 27+28=55 Exploring Operation: 28-27=1, Resulting Numbers: [69, 1] Generated Node #0,4,1: 79:[69, 1] Operation: 28-27=1 Exploring Operation: 28+69=97, Resulting Numbers: [27, 97] Generated Node #0,4,2: 79:[27, 97] Operation: 28+69=97 Exploring Operation: 27+69=96, Resulting Numbers: [28, 96] Generated Node #0,4,3: 79:[28, 96] Operation: 27+69=96 Exploring Operation: 69-27=42, Resulting Numbers: [28, 42] Generated Node #0,4,4: 79:[28, 42] Operation: 69-27=42 Moving to Node #0,4,0 Current State: 79:[69, 55], Operations: ['2+67=69', '27+28=55'] Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,79 unequal: No Solution Exploring Operation: 69*55=3795, Resulting Numbers: [3795] 3795,79 unequal: No Solution Exploring Operation: 69+55=124, Resulting Numbers: [124] 124,79 unequal: No Solution Moving to Node #0,4,3 Current State: 79:[28, 96], Operations: ['2+67=69', '27+69=96'] Exploring Operation: 28*96=2688, Resulting Numbers: [2688] 2688,79 unequal: No Solution Exploring Operation: 96-28=68, Resulting Numbers: [68] 68,79 unequal: No Solution Exploring Operation: 28+96=124, Resulting Numbers: [124] 124,79 unequal: No Solution Moving to Node #0,4,2 Current State: 79:[27, 97], Operations: ['2+67=69', '28+69=97'] Exploring Operation: 97-27=70, Resulting Numbers: [70] 70,79 unequal: No Solution Exploring Operation: 27*97=2619, Resulting Numbers: [2619] 2619,79 unequal: No Solution Exploring Operation: 27+97=124, Resulting Numbers: [124] 124,79 unequal: No Solution Moving to Node #0,4,1 Current State: 79:[69, 1], Operations: ['2+67=69', '28-27=1'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,79 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,79 unequal: No Solution Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,79 unequal: No Solution Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,79 unequal: No Solution Moving to Node #0,4,4 Current State: 79:[28, 42], Operations: ['2+67=69', '69-27=42'] Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,79 unequal: No Solution Exploring Operation: 28*42=1176, Resulting Numbers: [1176] 1176,79 unequal: No Solution Exploring Operation: 28+42=70, Resulting Numbers: [70] 70,79 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
[ 43, 10, 48, 34 ]
17
[ "48-43=5", "10/5=2", "34/2=17" ]
Current State: 17:[43, 10, 48, 34], Operations: [] Exploring Operation: 48-43=5, Resulting Numbers: [10, 34, 5] Generated Node #2: [10, 34, 5] from Operation: 48-43=5 Current State: 17:[10, 34, 5], Operations: ['48-43=5'] Exploring Operation: 10/5=2, Resulting Numbers: [34, 2] Generated Node #3: [34, 2] from Operation: 10/5=2 Current State: 17:[34, 2], Operations: ['48-43=5', '10/5=2'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[43, 10, 48, 34], Operations: [] Exploring Operation: 48-43=5, Resulting Numbers: [10, 34, 5] Generated Node #0,0: 17:[10, 34, 5] Operation: 48-43=5 Moving to Node #0,0 Current State: 17:[10, 34, 5], Operations: ['48-43=5'] Exploring Operation: 34-10=24, Resulting Numbers: [5, 24] Generated Node #0,0,0: 17:[5, 24] Operation: 34-10=24 Moving to Node #0,0,0 Current State: 17:[5, 24], Operations: ['48-43=5', '34-10=24'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,17 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 1, 63, 36, 31 ]
59
[ "1+63=64", "36-31=5", "64-5=59" ]
Current State: 59:[1, 63, 36, 31], Operations: [] Exploring Operation: 1+63=64, Resulting Numbers: [36, 31, 64] Generated Node #2: [36, 31, 64] from Operation: 1+63=64 Current State: 59:[36, 31, 64], Operations: ['1+63=64'] Exploring Operation: 36-31=5, Resulting Numbers: [64, 5] Generated Node #3: [64, 5] from Operation: 36-31=5 Current State: 59:[64, 5], Operations: ['1+63=64', '36-31=5'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[1, 63, 36, 31], Operations: [] Exploring Operation: 1+31=32, Resulting Numbers: [63, 36, 32] Generated Node #0,0: 59:[63, 36, 32] Operation: 1+31=32 Exploring Operation: 63/1=63, Resulting Numbers: [36, 31, 63] Generated Node #0,1: 59:[36, 31, 63] Operation: 63/1=63 Exploring Operation: 63-1=62, Resulting Numbers: [36, 31, 62] Generated Node #0,2: 59:[36, 31, 62] Operation: 63-1=62 Exploring Operation: 1+36=37, Resulting Numbers: [63, 31, 37] Generated Node #0,3: 59:[63, 31, 37] Operation: 1+36=37 Exploring Operation: 1*63=63, Resulting Numbers: [36, 31, 63] Generated Node #0,4: 59:[36, 31, 63] Operation: 1*63=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[63, 36, 32], Operations: ['1+31=32'] Exploring Operation: 63-32=31, Resulting Numbers: [36, 31] Generated Node #0,0,0: 59:[36, 31] Operation: 63-32=31 Exploring Operation: 63-36=27, Resulting Numbers: [32, 27] Generated Node #0,0,1: 59:[32, 27] Operation: 63-36=27 Exploring Operation: 36-32=4, Resulting Numbers: [63, 4] Generated Node #0,0,2: 59:[63, 4] Operation: 36-32=4 Exploring Operation: 36+32=68, Resulting Numbers: [63, 68] Generated Node #0,0,3: 59:[63, 68] Operation: 36+32=68 Exploring Operation: 63+32=95, Resulting Numbers: [36, 95] Generated Node #0,0,4: 59:[36, 95] Operation: 63+32=95 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 59:[63, 68], Operations: ['1+31=32', '36+32=68'] Exploring Operation: 68-63=5, Resulting Numbers: [5] 5,59 unequal: No Solution Exploring Operation: 63+68=131, Resulting Numbers: [131] 131,59 unequal: No Solution Exploring Operation: 63*68=4284, Resulting Numbers: [4284] 4284,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[36, 31], Operations: ['1+31=32', '63-32=31'] Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,59 unequal: No Solution Exploring Operation: 36*31=1116, Resulting Numbers: [1116] 1116,59 unequal: No Solution Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[32, 27], Operations: ['1+31=32', '63-36=27'] Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[1, 63, 36, 31], Operations: [] Exploring Operation: 1+31=32, Resulting Numbers: [63, 36, 32] Generated Node #0,0: 59:[63, 36, 32] Operation: 1+31=32 Moving to Node #0,0 Current State: 59:[63, 36, 32], Operations: ['1+31=32'] Exploring Operation: 63-36=27, Resulting Numbers: [32, 27] Generated Node #0,0,1: 59:[32, 27] Operation: 63-36=27 Moving to Node #0,0,1 Current State: 59:[32, 27], Operations: ['1+31=32', '63-36=27'] Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 23, 91, 26, 15 ]
79
[ "91-23=68", "26-15=11", "68+11=79" ]
Current State: 79:[23, 91, 26, 15], Operations: [] Exploring Operation: 91-23=68, Resulting Numbers: [26, 15, 68] Generated Node #2: [26, 15, 68] from Operation: 91-23=68 Current State: 79:[26, 15, 68], Operations: ['91-23=68'] Exploring Operation: 26-15=11, Resulting Numbers: [68, 11] Generated Node #3: [68, 11] from Operation: 26-15=11 Current State: 79:[68, 11], Operations: ['91-23=68', '26-15=11'] Exploring Operation: 68+11=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[23, 91, 26, 15], Operations: [] Exploring Operation: 26+15=41, Resulting Numbers: [23, 91, 41] Generated Node #0,0: 79:[23, 91, 41] Operation: 26+15=41 Exploring Operation: 23+15=38, Resulting Numbers: [91, 26, 38] Generated Node #0,1: 79:[91, 26, 38] Operation: 23+15=38 Exploring Operation: 23+26=49, Resulting Numbers: [91, 15, 49] Generated Node #0,2: 79:[91, 15, 49] Operation: 23+26=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[23, 91, 41], Operations: ['26+15=41'] Exploring Operation: 23+91=114, Resulting Numbers: [41, 114] Generated Node #0,0,0: 79:[41, 114] Operation: 23+91=114 Exploring Operation: 23+41=64, Resulting Numbers: [91, 64] Generated Node #0,0,1: 79:[91, 64] Operation: 23+41=64 Exploring Operation: 91-23=68, Resulting Numbers: [41, 68] Generated Node #0,0,2: 79:[41, 68] Operation: 91-23=68 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[91, 64], Operations: ['26+15=41', '23+41=64'] Exploring Operation: 91+64=155, Resulting Numbers: [155] 155,79 unequal: No Solution Exploring Operation: 91*64=5824, Resulting Numbers: [5824] 5824,79 unequal: No Solution Exploring Operation: 91-64=27, Resulting Numbers: [27] 27,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,0,2 Current State: 79:[41, 68], Operations: ['26+15=41', '91-23=68'] Exploring Operation: 41+68=109, Resulting Numbers: [109] 109,79 unequal: No Solution Exploring Operation: 41*68=2788, Resulting Numbers: [2788] 2788,79 unequal: No Solution Exploring Operation: 68-41=27, Resulting Numbers: [27] 27,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,0,0 Current State: 79:[41, 114], Operations: ['26+15=41', '23+91=114'] Exploring Operation: 41+114=155, Resulting Numbers: [155] 155,79 unequal: No Solution Exploring Operation: 114-41=73, Resulting Numbers: [73] 73,79 unequal: No Solution Exploring Operation: 41*114=4674, Resulting Numbers: [4674] 4674,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[91, 26, 38], Operations: ['23+15=38'] Exploring Operation: 91+26=117, Resulting Numbers: [38, 117] Generated Node #0,1,0: 79:[38, 117] Operation: 91+26=117 Exploring Operation: 91-26=65, Resulting Numbers: [38, 65] Generated Node #0,1,1: 79:[38, 65] Operation: 91-26=65 Exploring Operation: 26+38=64, Resulting Numbers: [91, 64] Generated Node #0,1,2: 79:[91, 64] Operation: 26+38=64 Moving to Node #0,1,2 Current State: 79:[91, 64], Operations: ['23+15=38', '26+38=64'] Exploring Operation: 91-64=27, Resulting Numbers: [27] 27,79 unequal: No Solution Exploring Operation: 91+64=155, Resulting Numbers: [155] 155,79 unequal: No Solution Exploring Operation: 91*64=5824, Resulting Numbers: [5824] 5824,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[38, 65], Operations: ['23+15=38', '91-26=65'] Exploring Operation: 38*65=2470, Resulting Numbers: [2470] 2470,79 unequal: No Solution Exploring Operation: 65-38=27, Resulting Numbers: [27] 27,79 unequal: No Solution Exploring Operation: 38+65=103, Resulting Numbers: [103] 103,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[38, 117], Operations: ['23+15=38', '91+26=117'] Exploring Operation: 38*117=4446, Resulting Numbers: [4446] 4446,79 unequal: No Solution Exploring Operation: 38+117=155, Resulting Numbers: [155] 155,79 unequal: No Solution Exploring Operation: 117-38=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[23, 91, 26, 15], Operations: [] Exploring Operation: 23+15=38, Resulting Numbers: [91, 26, 38] Generated Node #0,1: 79:[91, 26, 38] Operation: 23+15=38 Moving to Node #0,1 Current State: 79:[91, 26, 38], Operations: ['23+15=38'] Exploring Operation: 91+26=117, Resulting Numbers: [38, 117] Generated Node #0,1,0: 79:[38, 117] Operation: 91+26=117 Moving to Node #0,1,0 Current State: 79:[38, 117], Operations: ['23+15=38', '91+26=117'] Exploring Operation: 117-38=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
mult_heuristic
[ 37, 72, 2, 26 ]
86
[ "72+26=98", "98/2=49", "37+49=86" ]
Current State: 86:[37, 72, 2, 26], Operations: [] Exploring Operation: 72+26=98, Resulting Numbers: [37, 2, 98] Generated Node #2: [37, 2, 98] from Operation: 72+26=98 Current State: 86:[37, 2, 98], Operations: ['72+26=98'] Exploring Operation: 98/2=49, Resulting Numbers: [37, 49] Generated Node #3: [37, 49] from Operation: 98/2=49 Current State: 86:[37, 49], Operations: ['72+26=98', '98/2=49'] Exploring Operation: 37+49=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[37, 72, 2, 26], Operations: [] Exploring Operation: 72-26=46, Resulting Numbers: [37, 2, 46] Generated Node #0,0: 86:[37, 2, 46] Operation: 72-26=46 Exploring Operation: 72+26=98, Resulting Numbers: [37, 2, 98] Generated Node #0,1: 86:[37, 2, 98] Operation: 72+26=98 Exploring Operation: 37-26=11, Resulting Numbers: [72, 2, 11] Generated Node #0,2: 86:[72, 2, 11] Operation: 37-26=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[37, 2, 46], Operations: ['72-26=46'] Exploring Operation: 46-37=9, Resulting Numbers: [2, 9] Generated Node #0,0,0: 86:[2, 9] Operation: 46-37=9 Exploring Operation: 37+2=39, Resulting Numbers: [46, 39] Generated Node #0,0,1: 86:[46, 39] Operation: 37+2=39 Exploring Operation: 37+46=83, Resulting Numbers: [2, 83] Generated Node #0,0,2: 86:[2, 83] Operation: 37+46=83 Moving to Node #0,0,2 Current State: 86:[2, 83], Operations: ['72-26=46', '37+46=83'] Exploring Operation: 2*83=166, Resulting Numbers: [166] 166,86 unequal: No Solution Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,86 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[2, 9], Operations: ['72-26=46', '46-37=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,86 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,86 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[46, 39], Operations: ['72-26=46', '37+2=39'] Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,86 unequal: No Solution Exploring Operation: 46+39=85, Resulting Numbers: [85] 85,86 unequal: No Solution Exploring Operation: 46*39=1794, Resulting Numbers: [1794] 1794,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[37, 2, 98], Operations: ['72+26=98'] Exploring Operation: 98-2=96, Resulting Numbers: [37, 96] Generated Node #0,1,0: 86:[37, 96] Operation: 98-2=96 Exploring Operation: 37+2=39, Resulting Numbers: [98, 39] Generated Node #0,1,1: 86:[98, 39] Operation: 37+2=39 Exploring Operation: 98/2=49, Resulting Numbers: [37, 49] Generated Node #0,1,2: 86:[37, 49] Operation: 98/2=49 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 86:[37, 49], Operations: ['72+26=98', '98/2=49'] Exploring Operation: 49-37=12, Resulting Numbers: [12] 12,86 unequal: No Solution Exploring Operation: 37+49=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[37, 72, 2, 26], Operations: [] Exploring Operation: 72+26=98, Resulting Numbers: [37, 2, 98] Generated Node #0,1: 86:[37, 2, 98] Operation: 72+26=98 Moving to Node #0,1 Current State: 86:[37, 2, 98], Operations: ['72+26=98'] Exploring Operation: 98/2=49, Resulting Numbers: [37, 49] Generated Node #0,1,2: 86:[37, 49] Operation: 98/2=49 Moving to Node #0,1,2 Current State: 86:[37, 49], Operations: ['72+26=98', '98/2=49'] Exploring Operation: 37+49=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic