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
[ 45, 26, 50, 72 ]
51
[ "45+26=71", "50+72=122", "122-71=51" ]
Current State: 51:[45, 26, 50, 72], Operations: [] Exploring Operation: 45+26=71, Resulting Numbers: [50, 72, 71] Generated Node #2: [50, 72, 71] from Operation: 45+26=71 Current State: 51:[50, 72, 71], Operations: ['45+26=71'] Exploring Operation: 50+72=122, Resulting Numbers: [71, 122] Generated Node #3: [71, 122] from Operation: 50+72=122 Current State: 51:[71, 122], Operations: ['45+26=71', '50+72=122'] Exploring Operation: 122-71=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[45, 26, 50, 72], Operations: [] Exploring Operation: 72-45=27, Resulting Numbers: [26, 50, 27] Generated Node #0,0: 51:[26, 50, 27] Operation: 72-45=27 Exploring Operation: 72-50=22, Resulting Numbers: [45, 26, 22] Generated Node #0,1: 51:[45, 26, 22] Operation: 72-50=22 Exploring Operation: 45-26=19, Resulting Numbers: [50, 72, 19] Generated Node #0,2: 51:[50, 72, 19] Operation: 45-26=19 Exploring Operation: 50-45=5, Resulting Numbers: [26, 72, 5] Generated Node #0,3: 51:[26, 72, 5] Operation: 50-45=5 Exploring Operation: 72-26=46, Resulting Numbers: [45, 50, 46] Generated Node #0,4: 51:[45, 50, 46] Operation: 72-26=46 Start Sub Search at level 1: Moving to Node #0,4 Current State: 51:[45, 50, 46], Operations: ['72-26=46'] Exploring Operation: 45+46=91, Resulting Numbers: [50, 91] Generated Node #0,4,0: 51:[50, 91] Operation: 45+46=91 Exploring Operation: 50-46=4, Resulting Numbers: [45, 4] Generated Node #0,4,1: 51:[45, 4] Operation: 50-46=4 Exploring Operation: 46-45=1, Resulting Numbers: [50, 1] Generated Node #0,4,2: 51:[50, 1] Operation: 46-45=1 Exploring Operation: 45+50=95, Resulting Numbers: [46, 95] Generated Node #0,4,3: 51:[46, 95] Operation: 45+50=95 Exploring Operation: 50-45=5, Resulting Numbers: [46, 5] Generated Node #0,4,4: 51:[46, 5] Operation: 50-45=5 Moving to Node #0,4,2 Current State: 51:[50, 1], Operations: ['72-26=46', '46-45=1'] Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[45, 26, 50, 72], Operations: [] Exploring Operation: 72-26=46, Resulting Numbers: [45, 50, 46] Generated Node #0,4: 51:[45, 50, 46] Operation: 72-26=46 Moving to Node #0,4 Current State: 51:[45, 50, 46], Operations: ['72-26=46'] Exploring Operation: 46-45=1, Resulting Numbers: [50, 1] Generated Node #0,4,2: 51:[50, 1] Operation: 46-45=1 Moving to Node #0,4,2 Current State: 51:[50, 1], Operations: ['72-26=46', '46-45=1'] Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 21, 66, 92, 66 ]
70
[ "92-21=71", "66/66=1", "71-1=70" ]
Current State: 70:[21, 66, 92, 66], Operations: [] Exploring Operation: 92-21=71, Resulting Numbers: [66, 66, 71] Generated Node #2: [66, 66, 71] from Operation: 92-21=71 Current State: 70:[66, 66, 71], Operations: ['92-21=71'] Exploring Operation: 66/66=1, Resulting Numbers: [71, 1] Generated Node #3: [71, 1] from Operation: 66/66=1 Current State: 70:[71, 1], Operations: ['92-21=71', '66/66=1'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[21, 66, 92, 66], Operations: [] Exploring Operation: 92-21=71, Resulting Numbers: [66, 66, 71] Generated Node #0,0: 70:[66, 66, 71] Operation: 92-21=71 Exploring Operation: 92-66=26, Resulting Numbers: [21, 66, 26] Generated Node #0,1: 70:[21, 66, 26] Operation: 92-66=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[66, 66, 71], Operations: ['92-21=71'] Exploring Operation: 66-66=0, Resulting Numbers: [71, 0] Generated Node #0,0,0: 70:[71, 0] Operation: 66-66=0 Exploring Operation: 66/66=1, Resulting Numbers: [71, 1] Generated Node #0,0,1: 70:[71, 1] Operation: 66/66=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[71, 1], Operations: ['92-21=71', '66/66=1'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[21, 66, 92, 66], Operations: [] Exploring Operation: 92-21=71, Resulting Numbers: [66, 66, 71] Generated Node #0,0: 70:[66, 66, 71] Operation: 92-21=71 Moving to Node #0,0 Current State: 70:[66, 66, 71], Operations: ['92-21=71'] Exploring Operation: 66/66=1, Resulting Numbers: [71, 1] Generated Node #0,0,1: 70:[71, 1] Operation: 66/66=1 Moving to Node #0,0,1 Current State: 70:[71, 1], Operations: ['92-21=71', '66/66=1'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 29, 32, 88, 24 ]
67
[ "32-29=3", "88-24=64", "3+64=67" ]
Current State: 67:[29, 32, 88, 24], Operations: [] Exploring Operation: 32-29=3, Resulting Numbers: [88, 24, 3] Generated Node #2: [88, 24, 3] from Operation: 32-29=3 Current State: 67:[88, 24, 3], Operations: ['32-29=3'] Exploring Operation: 88-24=64, Resulting Numbers: [3, 64] Generated Node #3: [3, 64] from Operation: 88-24=64 Current State: 67:[3, 64], Operations: ['32-29=3', '88-24=64'] Exploring Operation: 3+64=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[29, 32, 88, 24], Operations: [] Exploring Operation: 88-24=64, Resulting Numbers: [29, 32, 64] Generated Node #0,0: 67:[29, 32, 64] Operation: 88-24=64 Exploring Operation: 29+24=53, Resulting Numbers: [32, 88, 53] Generated Node #0,1: 67:[32, 88, 53] Operation: 29+24=53 Exploring Operation: 32+24=56, Resulting Numbers: [29, 88, 56] Generated Node #0,2: 67:[29, 88, 56] Operation: 32+24=56 Exploring Operation: 29+32=61, Resulting Numbers: [88, 24, 61] Generated Node #0,3: 67:[88, 24, 61] Operation: 29+32=61 Exploring Operation: 88-29=59, Resulting Numbers: [32, 24, 59] Generated Node #0,4: 67:[32, 24, 59] Operation: 88-29=59 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[32, 88, 53], Operations: ['29+24=53'] Exploring Operation: 32+53=85, Resulting Numbers: [88, 85] Generated Node #0,1,0: 67:[88, 85] Operation: 32+53=85 Exploring Operation: 32+88=120, Resulting Numbers: [53, 120] Generated Node #0,1,1: 67:[53, 120] Operation: 32+88=120 Exploring Operation: 88-32=56, Resulting Numbers: [53, 56] Generated Node #0,1,2: 67:[53, 56] Operation: 88-32=56 Exploring Operation: 53-32=21, Resulting Numbers: [88, 21] Generated Node #0,1,3: 67:[88, 21] Operation: 53-32=21 Exploring Operation: 88-53=35, Resulting Numbers: [32, 35] Generated Node #0,1,4: 67:[32, 35] Operation: 88-53=35 Moving to Node #0,1,2 Current State: 67:[53, 56], Operations: ['29+24=53', '88-32=56'] Exploring Operation: 53*56=2968, Resulting Numbers: [2968] 2968,67 unequal: No Solution Exploring Operation: 56-53=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 53+56=109, Resulting Numbers: [109] 109,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[88, 85], Operations: ['29+24=53', '32+53=85'] Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 88*85=7480, Resulting Numbers: [7480] 7480,67 unequal: No Solution Exploring Operation: 88+85=173, Resulting Numbers: [173] 173,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[53, 120], Operations: ['29+24=53', '32+88=120'] Exploring Operation: 53+120=173, Resulting Numbers: [173] 173,67 unequal: No Solution Exploring Operation: 120-53=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[29, 32, 88, 24], Operations: [] Exploring Operation: 29+24=53, Resulting Numbers: [32, 88, 53] Generated Node #0,1: 67:[32, 88, 53] Operation: 29+24=53 Moving to Node #0,1 Current State: 67:[32, 88, 53], Operations: ['29+24=53'] Exploring Operation: 32+88=120, Resulting Numbers: [53, 120] Generated Node #0,1,1: 67:[53, 120] Operation: 32+88=120 Moving to Node #0,1,1 Current State: 67:[53, 120], Operations: ['29+24=53', '32+88=120'] Exploring Operation: 120-53=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 18, 27, 3, 60 ]
100
[ "27+3=30", "60*30=1800", "1800/18=100" ]
Current State: 100:[18, 27, 3, 60], Operations: [] Exploring Operation: 27+3=30, Resulting Numbers: [18, 60, 30] Generated Node #2: [18, 60, 30] from Operation: 27+3=30 Current State: 100:[18, 60, 30], Operations: ['27+3=30'] Exploring Operation: 60*30=1800, Resulting Numbers: [18, 1800] Generated Node #3: [18, 1800] from Operation: 60*30=1800 Current State: 100:[18, 1800], Operations: ['27+3=30', '60*30=1800'] Exploring Operation: 1800/18=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[18, 27, 3, 60], Operations: [] Exploring Operation: 60-3=57, Resulting Numbers: [18, 27, 57] Generated Node #0,0: 100:[18, 27, 57] Operation: 60-3=57 Exploring Operation: 60-27=33, Resulting Numbers: [18, 3, 33] Generated Node #0,1: 100:[18, 3, 33] Operation: 60-27=33 Exploring Operation: 60/3=20, Resulting Numbers: [18, 27, 20] Generated Node #0,2: 100:[18, 27, 20] Operation: 60/3=20 Exploring Operation: 60-18=42, Resulting Numbers: [27, 3, 42] Generated Node #0,3: 100:[27, 3, 42] Operation: 60-18=42 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[18, 27, 20], Operations: ['60/3=20'] Exploring Operation: 20-18=2, Resulting Numbers: [27, 2] Generated Node #0,2,0: 100:[27, 2] Operation: 20-18=2 Exploring Operation: 27-20=7, Resulting Numbers: [18, 7] Generated Node #0,2,1: 100:[18, 7] Operation: 27-20=7 Exploring Operation: 27-18=9, Resulting Numbers: [20, 9] Generated Node #0,2,2: 100:[20, 9] Operation: 27-18=9 Exploring Operation: 18+27=45, Resulting Numbers: [20, 45] Generated Node #0,2,3: 100:[20, 45] Operation: 18+27=45 Moving to Node #0,2,2 Current State: 100:[20, 9], Operations: ['60/3=20', '27-18=9'] Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,100 unequal: No Solution Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,100 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[27, 2], Operations: ['60/3=20', '20-18=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,100 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[18, 7], Operations: ['60/3=20', '27-20=7'] Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,100 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,100 unequal: No Solution Moving to Node #0,2,3 Current State: 100:[20, 45], Operations: ['60/3=20', '18+27=45'] Exploring Operation: 20*45=900, Resulting Numbers: [900] 900,100 unequal: No Solution Exploring Operation: 45-20=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 20+45=65, Resulting Numbers: [65] 65,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[18, 27, 57], Operations: ['60-3=57'] Exploring Operation: 57-27=30, Resulting Numbers: [18, 30] Generated Node #0,0,0: 100:[18, 30] Operation: 57-27=30 Exploring Operation: 18+27=45, Resulting Numbers: [57, 45] Generated Node #0,0,1: 100:[57, 45] Operation: 18+27=45 Exploring Operation: 57-18=39, Resulting Numbers: [27, 39] Generated Node #0,0,2: 100:[27, 39] Operation: 57-18=39 Exploring Operation: 27-18=9, Resulting Numbers: [57, 9] Generated Node #0,0,3: 100:[57, 9] Operation: 27-18=9 Moving to Node #0,0,0 Current State: 100:[18, 30], Operations: ['60-3=57', '57-27=30'] Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,100 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[57, 9], Operations: ['60-3=57', '27-18=9'] Exploring Operation: 57*9=513, Resulting Numbers: [513] 513,100 unequal: No Solution Exploring Operation: 57+9=66, Resulting Numbers: [66] 66,100 unequal: No Solution Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[57, 45], Operations: ['60-3=57', '18+27=45'] Exploring Operation: 57*45=2565, Resulting Numbers: [2565] 2565,100 unequal: No Solution Exploring Operation: 57-45=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 57+45=102, Resulting Numbers: [102] 102,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[27, 39], Operations: ['60-3=57', '57-18=39'] Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 27+39=66, Resulting Numbers: [66] 66,100 unequal: No Solution Exploring Operation: 27*39=1053, Resulting Numbers: [1053] 1053,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[18, 3, 33], Operations: ['60-27=33'] Exploring Operation: 33-18=15, Resulting Numbers: [3, 15] Generated Node #0,1,0: 100:[3, 15] Operation: 33-18=15 Exploring Operation: 3*33=99, Resulting Numbers: [18, 99] Generated Node #0,1,1: 100:[18, 99] Operation: 3*33=99 Exploring Operation: 33/3=11, Resulting Numbers: [18, 11] Generated Node #0,1,2: 100:[18, 11] Operation: 33/3=11 Exploring Operation: 18+33=51, Resulting Numbers: [3, 51] Generated Node #0,1,3: 100:[3, 51] Operation: 18+33=51 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 100:[3, 51], Operations: ['60-27=33', '18+33=51'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,100 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,100 unequal: No Solution Exploring Operation: 3+51=54, Resulting Numbers: [54] 54,100 unequal: No Solution Exploring Operation: 3*51=153, Resulting Numbers: [153] 153,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[18, 99], Operations: ['60-27=33', '3*33=99'] Exploring Operation: 99-18=81, Resulting Numbers: [81] 81,100 unequal: No Solution Exploring Operation: 18+99=117, Resulting Numbers: [117] 117,100 unequal: No Solution Exploring Operation: 18*99=1782, Resulting Numbers: [1782] 1782,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 100:[18, 11], Operations: ['60-27=33', '33/3=11'] Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,100 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,100 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[3, 15], Operations: ['60-27=33', '33-18=15'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 100:[27, 3, 42], Operations: ['60-18=42'] Exploring Operation: 3+42=45, Resulting Numbers: [27, 45] Generated Node #0,3,0: 100:[27, 45] Operation: 3+42=45 Exploring Operation: 42-27=15, Resulting Numbers: [3, 15] Generated Node #0,3,1: 100:[3, 15] Operation: 42-27=15 Exploring Operation: 27-3=24, Resulting Numbers: [42, 24] Generated Node #0,3,2: 100:[42, 24] Operation: 27-3=24 Exploring Operation: 42/3=14, Resulting Numbers: [27, 14] Generated Node #0,3,3: 100:[27, 14] Operation: 42/3=14 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 100:[3, 15], Operations: ['60-18=42', '42-27=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,100 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 100:[27, 14], Operations: ['60-18=42', '42/3=14'] Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,100 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 100:[27, 45], Operations: ['60-18=42', '3+42=45'] Exploring Operation: 27*45=1215, Resulting Numbers: [1215] 1215,100 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 27+45=72, Resulting Numbers: [72] 72,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 100:[42, 24], Operations: ['60-18=42', '27-3=24'] Exploring Operation: 42*24=1008, Resulting Numbers: [1008] 1008,100 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 42+24=66, Resulting Numbers: [66] 66,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 89, 54, 78, 3 ]
46
[ "89-54=35", "78+3=81", "81-35=46" ]
Current State: 46:[89, 54, 78, 3], Operations: [] Exploring Operation: 89-54=35, Resulting Numbers: [78, 3, 35] Generated Node #2: [78, 3, 35] from Operation: 89-54=35 Current State: 46:[78, 3, 35], Operations: ['89-54=35'] Exploring Operation: 78+3=81, Resulting Numbers: [35, 81] Generated Node #3: [35, 81] from Operation: 78+3=81 Current State: 46:[35, 81], Operations: ['89-54=35', '78+3=81'] Exploring Operation: 81-35=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[89, 54, 78, 3], Operations: [] Exploring Operation: 89-54=35, Resulting Numbers: [78, 3, 35] Generated Node #0,0: 46:[78, 3, 35] Operation: 89-54=35 Exploring Operation: 89-78=11, Resulting Numbers: [54, 3, 11] Generated Node #0,1: 46:[54, 3, 11] Operation: 89-78=11 Moving to Node #0,1 Current State: 46:[54, 3, 11], Operations: ['89-78=11'] Exploring Operation: 54-3=51, Resulting Numbers: [11, 51] Generated Node #0,1,0: 46:[11, 51] Operation: 54-3=51 Exploring Operation: 54-11=43, Resulting Numbers: [3, 43] Generated Node #0,1,1: 46:[3, 43] Operation: 54-11=43 Moving to Node #0,0 Current State: 46:[78, 3, 35], Operations: ['89-54=35'] Exploring Operation: 78/3=26, Resulting Numbers: [35, 26] Generated Node #0,0,0: 46:[35, 26] Operation: 78/3=26 Exploring Operation: 78-35=43, Resulting Numbers: [3, 43] Generated Node #0,0,1: 46:[3, 43] Operation: 78-35=43 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[3, 43], Operations: ['89-54=35', '78-35=43'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,46 unequal: No Solution Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[89, 54, 78, 3], Operations: [] Exploring Operation: 89-54=35, Resulting Numbers: [78, 3, 35] Generated Node #0,0: 46:[78, 3, 35] Operation: 89-54=35 Moving to Node #0,0 Current State: 46:[78, 3, 35], Operations: ['89-54=35'] Exploring Operation: 78-35=43, Resulting Numbers: [3, 43] Generated Node #0,0,1: 46:[3, 43] Operation: 78-35=43 Moving to Node #0,0,1 Current State: 46:[3, 43], Operations: ['89-54=35', '78-35=43'] Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 14, 46, 77, 55 ]
82
[ "14+46=60", "77-55=22", "60+22=82" ]
Current State: 82:[14, 46, 77, 55], Operations: [] Exploring Operation: 14+46=60, Resulting Numbers: [77, 55, 60] Generated Node #2: [77, 55, 60] from Operation: 14+46=60 Current State: 82:[77, 55, 60], Operations: ['14+46=60'] Exploring Operation: 77-55=22, Resulting Numbers: [60, 22] Generated Node #3: [60, 22] from Operation: 77-55=22 Current State: 82:[60, 22], Operations: ['14+46=60', '77-55=22'] Exploring Operation: 60+22=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[14, 46, 77, 55], Operations: [] Exploring Operation: 14+55=69, Resulting Numbers: [46, 77, 69] Generated Node #0,0: 82:[46, 77, 69] Operation: 14+55=69 Exploring Operation: 55-14=41, Resulting Numbers: [46, 77, 41] Generated Node #0,1: 82:[46, 77, 41] Operation: 55-14=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[46, 77, 41], Operations: ['55-14=41'] Exploring Operation: 46-41=5, Resulting Numbers: [77, 5] Generated Node #0,1,0: 82:[77, 5] Operation: 46-41=5 Exploring Operation: 77-46=31, Resulting Numbers: [41, 31] Generated Node #0,1,1: 82:[41, 31] Operation: 77-46=31 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[77, 5], Operations: ['55-14=41', '46-41=5'] Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,82 unequal: No Solution Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[14, 46, 77, 55], Operations: [] Exploring Operation: 55-14=41, Resulting Numbers: [46, 77, 41] Generated Node #0,1: 82:[46, 77, 41] Operation: 55-14=41 Moving to Node #0,1 Current State: 82:[46, 77, 41], Operations: ['55-14=41'] Exploring Operation: 46-41=5, Resulting Numbers: [77, 5] Generated Node #0,1,0: 82:[77, 5] Operation: 46-41=5 Moving to Node #0,1,0 Current State: 82:[77, 5], Operations: ['55-14=41', '46-41=5'] Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 99, 10, 24, 27 ]
15
[ "99+24=123", "27+123=150", "150/10=15" ]
Current State: 15:[99, 10, 24, 27], Operations: [] Exploring Operation: 99+24=123, Resulting Numbers: [10, 27, 123] Generated Node #2: [10, 27, 123] from Operation: 99+24=123 Current State: 15:[10, 27, 123], Operations: ['99+24=123'] Exploring Operation: 27+123=150, Resulting Numbers: [10, 150] Generated Node #3: [10, 150] from Operation: 27+123=150 Current State: 15:[10, 150], Operations: ['99+24=123', '27+123=150'] Exploring Operation: 150/10=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[99, 10, 24, 27], Operations: [] Exploring Operation: 99-10=89, Resulting Numbers: [24, 27, 89] Generated Node #0,0: 15:[24, 27, 89] Operation: 99-10=89 Exploring Operation: 99-24=75, Resulting Numbers: [10, 27, 75] Generated Node #0,1: 15:[10, 27, 75] Operation: 99-24=75 Exploring Operation: 99-27=72, Resulting Numbers: [10, 24, 72] Generated Node #0,2: 15:[10, 24, 72] Operation: 99-27=72 Exploring Operation: 27-24=3, Resulting Numbers: [99, 10, 3] Generated Node #0,3: 15:[99, 10, 3] Operation: 27-24=3 Moving to Node #0,2 Current State: 15:[10, 24, 72], Operations: ['99-27=72'] Exploring Operation: 72/24=3, Resulting Numbers: [10, 3] Generated Node #0,2,0: 15:[10, 3] Operation: 72/24=3 Exploring Operation: 24-10=14, Resulting Numbers: [72, 14] Generated Node #0,2,1: 15:[72, 14] Operation: 24-10=14 Exploring Operation: 72-24=48, Resulting Numbers: [10, 48] Generated Node #0,2,2: 15:[10, 48] Operation: 72-24=48 Exploring Operation: 72-10=62, Resulting Numbers: [24, 62] Generated Node #0,2,3: 15:[24, 62] Operation: 72-10=62 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[10, 3], Operations: ['99-27=72', '72/24=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 15:[10, 48], Operations: ['99-27=72', '72-24=48'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,15 unequal: No Solution Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 15:[24, 62], Operations: ['99-27=72', '72-10=62'] Exploring Operation: 24*62=1488, Resulting Numbers: [1488] 1488,15 unequal: No Solution Exploring Operation: 24+62=86, Resulting Numbers: [86] 86,15 unequal: No Solution Exploring Operation: 62-24=38, Resulting Numbers: [38] 38,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[72, 14], Operations: ['99-27=72', '24-10=14'] Exploring Operation: 72-14=58, Resulting Numbers: [58] 58,15 unequal: No Solution Exploring Operation: 72*14=1008, Resulting Numbers: [1008] 1008,15 unequal: No Solution Exploring Operation: 72+14=86, Resulting Numbers: [86] 86,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 15:[10, 27, 75], Operations: ['99-24=75'] Exploring Operation: 27-10=17, Resulting Numbers: [75, 17] Generated Node #0,1,0: 15:[75, 17] Operation: 27-10=17 Exploring Operation: 75-10=65, Resulting Numbers: [27, 65] Generated Node #0,1,1: 15:[27, 65] Operation: 75-10=65 Exploring Operation: 75-27=48, Resulting Numbers: [10, 48] Generated Node #0,1,2: 15:[10, 48] Operation: 75-27=48 Exploring Operation: 10+27=37, Resulting Numbers: [75, 37] Generated Node #0,1,3: 15:[75, 37] Operation: 10+27=37 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 15:[10, 48], Operations: ['99-24=75', '75-27=48'] Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,15 unequal: No Solution Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,15 unequal: No Solution Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[75, 17], Operations: ['99-24=75', '27-10=17'] Exploring Operation: 75*17=1275, Resulting Numbers: [1275] 1275,15 unequal: No Solution Exploring Operation: 75+17=92, Resulting Numbers: [92] 92,15 unequal: No Solution Exploring Operation: 75-17=58, Resulting Numbers: [58] 58,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[27, 65], Operations: ['99-24=75', '75-10=65'] Exploring Operation: 27+65=92, Resulting Numbers: [92] 92,15 unequal: No Solution Exploring Operation: 65-27=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 27*65=1755, Resulting Numbers: [1755] 1755,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 15:[75, 37], Operations: ['99-24=75', '10+27=37'] Exploring Operation: 75*37=2775, Resulting Numbers: [2775] 2775,15 unequal: No Solution Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 75+37=112, Resulting Numbers: [112] 112,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 15:[99, 10, 3], Operations: ['27-24=3'] Exploring Operation: 99/3=33, Resulting Numbers: [10, 33] Generated Node #0,3,0: 15:[10, 33] Operation: 99/3=33 Exploring Operation: 99-10=89, Resulting Numbers: [3, 89] Generated Node #0,3,1: 15:[3, 89] Operation: 99-10=89 Exploring Operation: 99-3=96, Resulting Numbers: [10, 96] Generated Node #0,3,2: 15:[10, 96] Operation: 99-3=96 Exploring Operation: 10+3=13, Resulting Numbers: [99, 13] Generated Node #0,3,3: 15:[99, 13] Operation: 10+3=13 Moving to Node #0,0 Current State: 15:[24, 27, 89], Operations: ['99-10=89'] Exploring Operation: 89-27=62, Resulting Numbers: [24, 62] Generated Node #0,0,0: 15:[24, 62] Operation: 89-27=62 Exploring Operation: 27-24=3, Resulting Numbers: [89, 3] Generated Node #0,0,1: 15:[89, 3] Operation: 27-24=3 Exploring Operation: 89-24=65, Resulting Numbers: [27, 65] Generated Node #0,0,2: 15:[27, 65] Operation: 89-24=65 Exploring Operation: 24+27=51, Resulting Numbers: [89, 51] Generated Node #0,0,3: 15:[89, 51] Operation: 24+27=51 Moving to Node #0,3,0 Current State: 15:[10, 33], Operations: ['27-24=3', '99/3=33'] Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,15 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[24, 62], Operations: ['99-10=89', '89-27=62'] Exploring Operation: 62-24=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 24*62=1488, Resulting Numbers: [1488] 1488,15 unequal: No Solution Exploring Operation: 24+62=86, Resulting Numbers: [86] 86,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[27, 65], Operations: ['99-10=89', '89-24=65'] Exploring Operation: 27*65=1755, Resulting Numbers: [1755] 1755,15 unequal: No Solution Exploring Operation: 65-27=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 27+65=92, Resulting Numbers: [92] 92,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[89, 3], Operations: ['99-10=89', '27-24=3'] Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,15 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,15 unequal: No Solution Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,15 unequal: No Solution Moving to Node #0,3,1 Current State: 15:[3, 89], Operations: ['27-24=3', '99-10=89'] Exploring Operation: 3*89=267, Resulting Numbers: [267] 267,15 unequal: No Solution Exploring Operation: 3+89=92, Resulting Numbers: [92] 92,15 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,15 unequal: No Solution Moving to Node #0,3,2 Current State: 15:[10, 96], Operations: ['27-24=3', '99-3=96'] Exploring Operation: 10+96=106, Resulting Numbers: [106] 106,15 unequal: No Solution Exploring Operation: 96-10=86, Resulting Numbers: [86] 86,15 unequal: No Solution Exploring Operation: 10*96=960, Resulting Numbers: [960] 960,15 unequal: No Solution Moving to Node #0,3,3 Current State: 15:[99, 13], Operations: ['27-24=3', '10+3=13'] Exploring Operation: 99+13=112, Resulting Numbers: [112] 112,15 unequal: No Solution Exploring Operation: 99-13=86, Resulting Numbers: [86] 86,15 unequal: No Solution Exploring Operation: 99*13=1287, Resulting Numbers: [1287] 1287,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[89, 51], Operations: ['99-10=89', '24+27=51'] Exploring Operation: 89-51=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 89+51=140, Resulting Numbers: [140] 140,15 unequal: No Solution Exploring Operation: 89*51=4539, Resulting Numbers: [4539] 4539,15 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 9, 78, 90, 87 ]
91
[ "9+78=87", "87/87=1", "90+1=91" ]
Current State: 91:[9, 78, 90, 87], Operations: [] Exploring Operation: 9+78=87, Resulting Numbers: [90, 87, 87] Generated Node #2: [90, 87, 87] from Operation: 9+78=87 Current State: 91:[90, 87, 87], Operations: ['9+78=87'] Exploring Operation: 87/87=1, Resulting Numbers: [90, 1] Generated Node #3: [90, 1] from Operation: 87/87=1 Current State: 91:[90, 1], Operations: ['9+78=87', '87/87=1'] Exploring Operation: 90+1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[9, 78, 90, 87], Operations: [] Exploring Operation: 90-78=12, Resulting Numbers: [9, 87, 12] Generated Node #0,0: 91:[9, 87, 12] Operation: 90-78=12 Exploring Operation: 87-78=9, Resulting Numbers: [9, 90, 9] Generated Node #0,1: 91:[9, 90, 9] Operation: 87-78=9 Moving to Node #0,1 Current State: 91:[9, 90, 9], Operations: ['87-78=9'] Exploring Operation: 90/9=10, Resulting Numbers: [9, 10] Generated Node #0,1,0: 91:[9, 10] Operation: 90/9=10 Exploring Operation: 90/9=10, Resulting Numbers: [9, 10] Generated Node #0,1,1: 91:[9, 10] Operation: 90/9=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[9, 10], Operations: ['87-78=9', '90/9=10'] Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,91 unequal: No Solution Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[9, 10], Operations: ['87-78=9', '90/9=10'] Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,91 unequal: No Solution Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 91:[9, 87, 12], Operations: ['90-78=12'] Exploring Operation: 9+87=96, Resulting Numbers: [12, 96] Generated Node #0,0,0: 91:[12, 96] Operation: 9+87=96 Exploring Operation: 12-9=3, Resulting Numbers: [87, 3] Generated Node #0,0,1: 91:[87, 3] Operation: 12-9=3 Moving to Node #0,0,0 Current State: 91:[12, 96], Operations: ['90-78=12', '9+87=96'] Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,91 unequal: No Solution Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[87, 3], Operations: ['90-78=12', '12-9=3'] Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,91 unequal: No Solution Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,91 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 87, 72, 68, 76 ]
18
[ "87-68=19", "72*19=1368", "1368/76=18" ]
Current State: 18:[87, 72, 68, 76], Operations: [] Exploring Operation: 87-68=19, Resulting Numbers: [72, 76, 19] Generated Node #2: [72, 76, 19] from Operation: 87-68=19 Current State: 18:[72, 76, 19], Operations: ['87-68=19'] Exploring Operation: 72*19=1368, Resulting Numbers: [76, 1368] Generated Node #3: [76, 1368] from Operation: 72*19=1368 Current State: 18:[76, 1368], Operations: ['87-68=19', '72*19=1368'] Exploring Operation: 1368/76=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[87, 72, 68, 76], Operations: [] Exploring Operation: 76-72=4, Resulting Numbers: [87, 68, 4] Generated Node #0,0: 18:[87, 68, 4] Operation: 76-72=4 Exploring Operation: 87-68=19, Resulting Numbers: [72, 76, 19] Generated Node #0,1: 18:[72, 76, 19] Operation: 87-68=19 Exploring Operation: 87-76=11, Resulting Numbers: [72, 68, 11] Generated Node #0,2: 18:[72, 68, 11] Operation: 87-76=11 Exploring Operation: 87-72=15, Resulting Numbers: [68, 76, 15] Generated Node #0,3: 18:[68, 76, 15] Operation: 87-72=15 Moving to Node #0,2 Current State: 18:[72, 68, 11], Operations: ['87-76=11'] Exploring Operation: 72-11=61, Resulting Numbers: [68, 61] Generated Node #0,2,0: 18:[68, 61] Operation: 72-11=61 Exploring Operation: 72+11=83, Resulting Numbers: [68, 83] Generated Node #0,2,1: 18:[68, 83] Operation: 72+11=83 Exploring Operation: 72-68=4, Resulting Numbers: [11, 4] Generated Node #0,2,2: 18:[11, 4] Operation: 72-68=4 Exploring Operation: 68-11=57, Resulting Numbers: [72, 57] Generated Node #0,2,3: 18:[72, 57] Operation: 68-11=57 Moving to Node #0,3 Current State: 18:[68, 76, 15], Operations: ['87-72=15'] Exploring Operation: 76-15=61, Resulting Numbers: [68, 61] Generated Node #0,3,0: 18:[68, 61] Operation: 76-15=61 Exploring Operation: 68-15=53, Resulting Numbers: [76, 53] Generated Node #0,3,1: 18:[76, 53] Operation: 68-15=53 Exploring Operation: 68+15=83, Resulting Numbers: [76, 83] Generated Node #0,3,2: 18:[76, 83] Operation: 68+15=83 Exploring Operation: 76-68=8, Resulting Numbers: [15, 8] Generated Node #0,3,3: 18:[15, 8] Operation: 76-68=8 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 18:[15, 8], Operations: ['87-72=15', '76-68=8'] Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,18 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,18 unequal: No Solution No 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: 18:[68, 61], Operations: ['87-72=15', '76-15=61'] Exploring Operation: 68+61=129, Resulting Numbers: [129] 129,18 unequal: No Solution Exploring Operation: 68-61=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 68*61=4148, Resulting Numbers: [4148] 4148,18 unequal: No Solution No 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: 18:[76, 53], Operations: ['87-72=15', '68-15=53'] Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 76+53=129, Resulting Numbers: [129] 129,18 unequal: No Solution Exploring Operation: 76*53=4028, Resulting Numbers: [4028] 4028,18 unequal: No Solution No 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: 18:[76, 83], Operations: ['87-72=15', '68+15=83'] Exploring Operation: 83-76=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 76*83=6308, Resulting Numbers: [6308] 6308,18 unequal: No Solution Exploring Operation: 76+83=159, Resulting Numbers: [159] 159,18 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: 18:[72, 76, 19], Operations: ['87-68=19'] Exploring Operation: 76-19=57, Resulting Numbers: [72, 57] Generated Node #0,1,0: 18:[72, 57] Operation: 76-19=57 Exploring Operation: 76/19=4, Resulting Numbers: [72, 4] Generated Node #0,1,1: 18:[72, 4] Operation: 76/19=4 Exploring Operation: 72-19=53, Resulting Numbers: [76, 53] Generated Node #0,1,2: 18:[76, 53] Operation: 72-19=53 Exploring Operation: 76-72=4, Resulting Numbers: [19, 4] Generated Node #0,1,3: 18:[19, 4] Operation: 76-72=4 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 18:[19, 4], Operations: ['87-68=19', '76-72=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,18 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,18 unequal: No Solution No 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: 18:[72, 4], Operations: ['87-68=19', '76/19=4'] Exploring Operation: 72*4=288, Resulting Numbers: [288] 288,18 unequal: No Solution Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[87, 72, 68, 76], Operations: [] Exploring Operation: 87-68=19, Resulting Numbers: [72, 76, 19] Generated Node #0,1: 18:[72, 76, 19] Operation: 87-68=19 Moving to Node #0,1 Current State: 18:[72, 76, 19], Operations: ['87-68=19'] Exploring Operation: 76/19=4, Resulting Numbers: [72, 4] Generated Node #0,1,1: 18:[72, 4] Operation: 76/19=4 Moving to Node #0,1,1 Current State: 18:[72, 4], Operations: ['87-68=19', '76/19=4'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_4
sum_heuristic
[ 35, 56, 22, 50 ]
50
[ "56-35=21", "22-21=1", "50*1=50" ]
Current State: 50:[35, 56, 22, 50], Operations: [] Exploring Operation: 56-35=21, Resulting Numbers: [22, 50, 21] Generated Node #2: [22, 50, 21] from Operation: 56-35=21 Current State: 50:[22, 50, 21], Operations: ['56-35=21'] Exploring Operation: 22-21=1, Resulting Numbers: [50, 1] Generated Node #3: [50, 1] from Operation: 22-21=1 Current State: 50:[50, 1], Operations: ['56-35=21', '22-21=1'] Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[35, 56, 22, 50], Operations: [] Exploring Operation: 35-22=13, Resulting Numbers: [56, 50, 13] Generated Node #0,0: 50:[56, 50, 13] Operation: 35-22=13 Exploring Operation: 56-35=21, Resulting Numbers: [22, 50, 21] Generated Node #0,1: 50:[22, 50, 21] Operation: 56-35=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[22, 50, 21], Operations: ['56-35=21'] Exploring Operation: 50-22=28, Resulting Numbers: [21, 28] Generated Node #0,1,0: 50:[21, 28] Operation: 50-22=28 Exploring Operation: 22-21=1, Resulting Numbers: [50, 1] Generated Node #0,1,1: 50:[50, 1] Operation: 22-21=1 Moving to Node #0,1,1 Current State: 50:[50, 1], Operations: ['56-35=21', '22-21=1'] Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[35, 56, 22, 50], Operations: [] Exploring Operation: 56-35=21, Resulting Numbers: [22, 50, 21] Generated Node #0,1: 50:[22, 50, 21] Operation: 56-35=21 Moving to Node #0,1 Current State: 50:[22, 50, 21], Operations: ['56-35=21'] Exploring Operation: 22-21=1, Resulting Numbers: [50, 1] Generated Node #0,1,1: 50:[50, 1] Operation: 22-21=1 Moving to Node #0,1,1 Current State: 50:[50, 1], Operations: ['56-35=21', '22-21=1'] Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 85, 27, 20, 16 ]
13
[ "85+27=112", "112/16=7", "20-7=13" ]
Current State: 13:[85, 27, 20, 16], Operations: [] Exploring Operation: 85+27=112, Resulting Numbers: [20, 16, 112] Generated Node #2: [20, 16, 112] from Operation: 85+27=112 Current State: 13:[20, 16, 112], Operations: ['85+27=112'] Exploring Operation: 112/16=7, Resulting Numbers: [20, 7] Generated Node #3: [20, 7] from Operation: 112/16=7 Current State: 13:[20, 7], Operations: ['85+27=112', '112/16=7'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[85, 27, 20, 16], Operations: [] Exploring Operation: 85-27=58, Resulting Numbers: [20, 16, 58] Generated Node #0,0: 13:[20, 16, 58] Operation: 85-27=58 Moving to Node #0,0 Current State: 13:[20, 16, 58], Operations: ['85-27=58'] Exploring Operation: 58-20=38, Resulting Numbers: [16, 38] Generated Node #0,0,0: 13:[16, 38] Operation: 58-20=38 Moving to Node #0,0,0 Current State: 13:[16, 38], Operations: ['85-27=58', '58-20=38'] Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,13 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 54, 95, 97, 9 ]
90
[ "54-9=45", "97-95=2", "45*2=90" ]
Current State: 90:[54, 95, 97, 9], Operations: [] Exploring Operation: 54-9=45, Resulting Numbers: [95, 97, 45] Generated Node #2: [95, 97, 45] from Operation: 54-9=45 Current State: 90:[95, 97, 45], Operations: ['54-9=45'] Exploring Operation: 97-95=2, Resulting Numbers: [45, 2] Generated Node #3: [45, 2] from Operation: 97-95=2 Current State: 90:[45, 2], Operations: ['54-9=45', '97-95=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[54, 95, 97, 9], Operations: [] Exploring Operation: 95-54=41, Resulting Numbers: [97, 9, 41] Generated Node #0,0: 90:[97, 9, 41] Operation: 95-54=41 Exploring Operation: 97-54=43, Resulting Numbers: [95, 9, 43] Generated Node #0,1: 90:[95, 9, 43] Operation: 97-54=43 Exploring Operation: 97-95=2, Resulting Numbers: [54, 9, 2] Generated Node #0,2: 90:[54, 9, 2] Operation: 97-95=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[95, 9, 43], Operations: ['97-54=43'] Exploring Operation: 95-9=86, Resulting Numbers: [43, 86] Generated Node #0,1,0: 90:[43, 86] Operation: 95-9=86 Exploring Operation: 43-9=34, Resulting Numbers: [95, 34] Generated Node #0,1,1: 90:[95, 34] Operation: 43-9=34 Exploring Operation: 95-43=52, Resulting Numbers: [9, 52] Generated Node #0,1,2: 90:[9, 52] Operation: 95-43=52 Moving to Node #0,1,0 Current State: 90:[43, 86], Operations: ['97-54=43', '95-9=86'] Exploring Operation: 86/43=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,90 unequal: No Solution Exploring Operation: 43+86=129, Resulting Numbers: [129] 129,90 unequal: No Solution Moving to Node #0,1,2 Current State: 90:[9, 52], Operations: ['97-54=43', '95-43=52'] Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,90 unequal: No Solution Exploring Operation: 9*52=468, Resulting Numbers: [468] 468,90 unequal: No Solution Exploring Operation: 9+52=61, Resulting Numbers: [61] 61,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[95, 34], Operations: ['97-54=43', '43-9=34'] Exploring Operation: 95+34=129, Resulting Numbers: [129] 129,90 unequal: No Solution Exploring Operation: 95*34=3230, Resulting Numbers: [3230] 3230,90 unequal: No Solution Exploring Operation: 95-34=61, Resulting Numbers: [61] 61,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[54, 9, 2], Operations: ['97-95=2'] Exploring Operation: 54/9=6, Resulting Numbers: [2, 6] Generated Node #0,2,0: 90:[2, 6] Operation: 54/9=6 Exploring Operation: 54-9=45, Resulting Numbers: [2, 45] Generated Node #0,2,1: 90:[2, 45] Operation: 54-9=45 Exploring Operation: 54/2=27, Resulting Numbers: [9, 27] Generated Node #0,2,2: 90:[9, 27] Operation: 54/2=27 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 90:[2, 6], Operations: ['97-95=2', '54/9=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,90 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 90:[2, 45], Operations: ['97-95=2', '54-9=45'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,90 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[54, 95, 97, 9], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [54, 9, 2] Generated Node #0,2: 90:[54, 9, 2] Operation: 97-95=2 Moving to Node #0,2 Current State: 90:[54, 9, 2], Operations: ['97-95=2'] Exploring Operation: 54-9=45, Resulting Numbers: [2, 45] Generated Node #0,2,1: 90:[2, 45] Operation: 54-9=45 Moving to Node #0,2,1 Current State: 90:[2, 45], Operations: ['97-95=2', '54-9=45'] Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.976563
hs_3
sum_heuristic
[ 26, 67, 14, 73 ]
34
[ "26+67=93", "73-14=59", "93-59=34" ]
Current State: 34:[26, 67, 14, 73], Operations: [] Exploring Operation: 26+67=93, Resulting Numbers: [14, 73, 93] Generated Node #2: [14, 73, 93] from Operation: 26+67=93 Current State: 34:[14, 73, 93], Operations: ['26+67=93'] Exploring Operation: 73-14=59, Resulting Numbers: [93, 59] Generated Node #3: [93, 59] from Operation: 73-14=59 Current State: 34:[93, 59], Operations: ['26+67=93', '73-14=59'] Exploring Operation: 93-59=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[26, 67, 14, 73], Operations: [] Exploring Operation: 73-14=59, Resulting Numbers: [26, 67, 59] Generated Node #0,0: 34:[26, 67, 59] Operation: 73-14=59 Exploring Operation: 67-26=41, Resulting Numbers: [14, 73, 41] Generated Node #0,1: 34:[14, 73, 41] Operation: 67-26=41 Exploring Operation: 73-67=6, Resulting Numbers: [26, 14, 6] Generated Node #0,2: 34:[26, 14, 6] Operation: 73-67=6 Exploring Operation: 73-26=47, Resulting Numbers: [67, 14, 47] Generated Node #0,3: 34:[67, 14, 47] Operation: 73-26=47 Exploring Operation: 67-14=53, Resulting Numbers: [26, 73, 53] Generated Node #0,4: 34:[26, 73, 53] Operation: 67-14=53 Moving to Node #0,2 Current State: 34:[26, 14, 6], Operations: ['73-67=6'] Exploring Operation: 26+6=32, Resulting Numbers: [14, 32] Generated Node #0,2,0: 34:[14, 32] Operation: 26+6=32 Exploring Operation: 26+14=40, Resulting Numbers: [6, 40] Generated Node #0,2,1: 34:[6, 40] Operation: 26+14=40 Exploring Operation: 26-14=12, Resulting Numbers: [6, 12] Generated Node #0,2,2: 34:[6, 12] Operation: 26-14=12 Exploring Operation: 14+6=20, Resulting Numbers: [26, 20] Generated Node #0,2,3: 34:[26, 20] Operation: 14+6=20 Exploring Operation: 26-6=20, Resulting Numbers: [14, 20] Generated Node #0,2,4: 34:[14, 20] Operation: 26-6=20 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 34:[14, 32], Operations: ['73-67=6', '26+6=32'] Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,34 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 14*32=448, Resulting Numbers: [448] 448,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 34:[14, 20], Operations: ['73-67=6', '26-6=20'] Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[26, 67, 14, 73], Operations: [] Exploring Operation: 73-67=6, Resulting Numbers: [26, 14, 6] Generated Node #0,2: 34:[26, 14, 6] Operation: 73-67=6 Moving to Node #0,2 Current State: 34:[26, 14, 6], Operations: ['73-67=6'] Exploring Operation: 26-6=20, Resulting Numbers: [14, 20] Generated Node #0,2,4: 34:[14, 20] Operation: 26-6=20 Moving to Node #0,2,4 Current State: 34:[14, 20], Operations: ['73-67=6', '26-6=20'] Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 34, 43, 52, 32 ]
75
[ "43-34=9", "52+32=84", "84-9=75" ]
Current State: 75:[34, 43, 52, 32], Operations: [] Exploring Operation: 43-34=9, Resulting Numbers: [52, 32, 9] Generated Node #2: [52, 32, 9] from Operation: 43-34=9 Current State: 75:[52, 32, 9], Operations: ['43-34=9'] Exploring Operation: 52+32=84, Resulting Numbers: [9, 84] Generated Node #3: [9, 84] from Operation: 52+32=84 Current State: 75:[9, 84], Operations: ['43-34=9', '52+32=84'] Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[34, 43, 52, 32], Operations: [] Exploring Operation: 34+43=77, Resulting Numbers: [52, 32, 77] Generated Node #0,0: 75:[52, 32, 77] Operation: 34+43=77 Exploring Operation: 52-43=9, Resulting Numbers: [34, 32, 9] Generated Node #0,1: 75:[34, 32, 9] Operation: 52-43=9 Exploring Operation: 43+32=75, Resulting Numbers: [34, 52, 75] Generated Node #0,2: 75:[34, 52, 75] Operation: 43+32=75 Exploring Operation: 52-34=18, Resulting Numbers: [43, 32, 18] Generated Node #0,3: 75:[43, 32, 18] Operation: 52-34=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[34, 32, 9], Operations: ['52-43=9'] Exploring Operation: 34+32=66, Resulting Numbers: [9, 66] Generated Node #0,1,0: 75:[9, 66] Operation: 34+32=66 Exploring Operation: 34-32=2, Resulting Numbers: [9, 2] Generated Node #0,1,1: 75:[9, 2] Operation: 34-32=2 Exploring Operation: 34-9=25, Resulting Numbers: [32, 25] Generated Node #0,1,2: 75:[32, 25] Operation: 34-9=25 Exploring Operation: 32-9=23, Resulting Numbers: [34, 23] Generated Node #0,1,3: 75:[34, 23] Operation: 32-9=23 Moving to Node #0,1,1 Current State: 75:[9, 2], Operations: ['52-43=9', '34-32=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,75 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[32, 25], Operations: ['52-43=9', '34-9=25'] Exploring Operation: 32*25=800, Resulting Numbers: [800] 800,75 unequal: No Solution Exploring Operation: 32+25=57, Resulting Numbers: [57] 57,75 unequal: No Solution Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,75 unequal: No Solution Moving to Node #0,1,3 Current State: 75:[34, 23], Operations: ['52-43=9', '32-9=23'] Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 34+23=57, Resulting Numbers: [57] 57,75 unequal: No Solution Exploring Operation: 34*23=782, Resulting Numbers: [782] 782,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[9, 66], Operations: ['52-43=9', '34+32=66'] Exploring Operation: 9*66=594, Resulting Numbers: [594] 594,75 unequal: No Solution Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[34, 43, 52, 32], Operations: [] Exploring Operation: 52-43=9, Resulting Numbers: [34, 32, 9] Generated Node #0,1: 75:[34, 32, 9] Operation: 52-43=9 Moving to Node #0,1 Current State: 75:[34, 32, 9], Operations: ['52-43=9'] Exploring Operation: 34+32=66, Resulting Numbers: [9, 66] Generated Node #0,1,0: 75:[9, 66] Operation: 34+32=66 Moving to Node #0,1,0 Current State: 75:[9, 66], Operations: ['52-43=9', '34+32=66'] Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
mult_heuristic
[ 23, 57, 7, 99 ]
17
[ "99-57=42", "42/7=6", "23-6=17" ]
Current State: 17:[23, 57, 7, 99], Operations: [] Exploring Operation: 99-57=42, Resulting Numbers: [23, 7, 42] Generated Node #2: [23, 7, 42] from Operation: 99-57=42 Current State: 17:[23, 7, 42], Operations: ['99-57=42'] Exploring Operation: 42/7=6, Resulting Numbers: [23, 6] Generated Node #3: [23, 6] from Operation: 42/7=6 Current State: 17:[23, 6], Operations: ['99-57=42', '42/7=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[23, 57, 7, 99], Operations: [] Exploring Operation: 57-23=34, Resulting Numbers: [7, 99, 34] Generated Node #0,0: 17:[7, 99, 34] Operation: 57-23=34 Exploring Operation: 99-57=42, Resulting Numbers: [23, 7, 42] Generated Node #0,1: 17:[23, 7, 42] Operation: 99-57=42 Moving to Node #0,1 Current State: 17:[23, 7, 42], Operations: ['99-57=42'] Exploring Operation: 42/7=6, Resulting Numbers: [23, 6] Generated Node #0,1,0: 17:[23, 6] Operation: 42/7=6 Exploring Operation: 42-23=19, Resulting Numbers: [7, 19] Generated Node #0,1,1: 17:[7, 19] Operation: 42-23=19 Moving to Node #0,0 Current State: 17:[7, 99, 34], Operations: ['57-23=34'] Exploring Operation: 99-34=65, Resulting Numbers: [7, 65] Generated Node #0,0,0: 17:[7, 65] Operation: 99-34=65 Exploring Operation: 99-7=92, Resulting Numbers: [34, 92] Generated Node #0,0,1: 17:[34, 92] Operation: 99-7=92 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[7, 65], Operations: ['57-23=34', '99-34=65'] Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,17 unequal: No Solution Exploring Operation: 7+65=72, Resulting Numbers: [72] 72,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[34, 92], Operations: ['57-23=34', '99-7=92'] Exploring Operation: 92-34=58, Resulting Numbers: [58] 58,17 unequal: No Solution Exploring Operation: 34+92=126, Resulting Numbers: [126] 126,17 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: 17:[7, 19], Operations: ['99-57=42', '42-23=19'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[23, 6], Operations: ['99-57=42', '42/7=6'] Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[23, 57, 7, 99], Operations: [] Exploring Operation: 99-57=42, Resulting Numbers: [23, 7, 42] Generated Node #0,1: 17:[23, 7, 42] Operation: 99-57=42 Moving to Node #0,1 Current State: 17:[23, 7, 42], Operations: ['99-57=42'] Exploring Operation: 42/7=6, Resulting Numbers: [23, 6] Generated Node #0,1,0: 17:[23, 6] Operation: 42/7=6 Moving to Node #0,1,0 Current State: 17:[23, 6], Operations: ['99-57=42', '42/7=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.984375
hs_2
sum_heuristic
[ 37, 61, 56, 28 ]
16
[ "37+61=98", "56*28=1568", "1568/98=16" ]
Current State: 16:[37, 61, 56, 28], Operations: [] Exploring Operation: 37+61=98, Resulting Numbers: [56, 28, 98] Generated Node #2: [56, 28, 98] from Operation: 37+61=98 Current State: 16:[56, 28, 98], Operations: ['37+61=98'] Exploring Operation: 56*28=1568, Resulting Numbers: [98, 1568] Generated Node #3: [98, 1568] from Operation: 56*28=1568 Current State: 16:[98, 1568], Operations: ['37+61=98', '56*28=1568'] Exploring Operation: 1568/98=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[37, 61, 56, 28], Operations: [] Exploring Operation: 61-56=5, Resulting Numbers: [37, 28, 5] Generated Node #0,0: 16:[37, 28, 5] Operation: 61-56=5 Exploring Operation: 61-37=24, Resulting Numbers: [56, 28, 24] Generated Node #0,1: 16:[56, 28, 24] Operation: 61-37=24 Exploring Operation: 56/28=2, Resulting Numbers: [37, 61, 2] Generated Node #0,2: 16:[37, 61, 2] Operation: 56/28=2 Exploring Operation: 56-37=19, Resulting Numbers: [61, 28, 19] Generated Node #0,3: 16:[61, 28, 19] Operation: 56-37=19 Moving to Node #0,0 Current State: 16:[37, 28, 5], Operations: ['61-56=5'] Exploring Operation: 37-5=32, Resulting Numbers: [28, 32] Generated Node #0,0,0: 16:[28, 32] Operation: 37-5=32 Exploring Operation: 37-28=9, Resulting Numbers: [5, 9] Generated Node #0,0,1: 16:[5, 9] Operation: 37-28=9 Exploring Operation: 28-5=23, Resulting Numbers: [37, 23] Generated Node #0,0,2: 16:[37, 23] Operation: 28-5=23 Exploring Operation: 37+5=42, Resulting Numbers: [28, 42] Generated Node #0,0,3: 16:[28, 42] Operation: 37+5=42 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[5, 9], Operations: ['61-56=5', '37-28=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 5*9=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,0,0 Current State: 16:[28, 32], Operations: ['61-56=5', '37-5=32'] Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 28*32=896, Resulting Numbers: [896] 896,16 unequal: No Solution Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 16:[37, 23], Operations: ['61-56=5', '28-5=23'] Exploring Operation: 37*23=851, Resulting Numbers: [851] 851,16 unequal: No Solution Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 16:[28, 42], Operations: ['61-56=5', '37+5=42'] Exploring Operation: 28+42=70, Resulting Numbers: [70] 70,16 unequal: No Solution Exploring Operation: 28*42=1176, Resulting Numbers: [1176] 1176,16 unequal: No Solution Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,16 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: 16:[61, 28, 19], Operations: ['56-37=19'] Exploring Operation: 61-28=33, Resulting Numbers: [19, 33] Generated Node #0,3,0: 16:[19, 33] Operation: 61-28=33 Exploring Operation: 61+28=89, Resulting Numbers: [19, 89] Generated Node #0,3,1: 16:[19, 89] Operation: 61+28=89 Exploring Operation: 28-19=9, Resulting Numbers: [61, 9] Generated Node #0,3,2: 16:[61, 9] Operation: 28-19=9 Exploring Operation: 61-19=42, Resulting Numbers: [28, 42] Generated Node #0,3,3: 16:[28, 42] Operation: 61-19=42 Moving to Node #0,1 Current State: 16:[56, 28, 24], Operations: ['61-37=24'] Exploring Operation: 28-24=4, Resulting Numbers: [56, 4] Generated Node #0,1,0: 16:[56, 4] Operation: 28-24=4 Exploring Operation: 56/28=2, Resulting Numbers: [24, 2] Generated Node #0,1,1: 16:[24, 2] Operation: 56/28=2 Exploring Operation: 56-28=28, Resulting Numbers: [24, 28] Generated Node #0,1,2: 16:[24, 28] Operation: 56-28=28 Exploring Operation: 56-24=32, Resulting Numbers: [28, 32] Generated Node #0,1,3: 16:[28, 32] Operation: 56-24=32 Moving to Node #0,2 Current State: 16:[37, 61, 2], Operations: ['56/28=2'] Exploring Operation: 37-2=35, Resulting Numbers: [61, 35] Generated Node #0,2,0: 16:[61, 35] Operation: 37-2=35 Exploring Operation: 61-37=24, Resulting Numbers: [2, 24] Generated Node #0,2,1: 16:[2, 24] Operation: 61-37=24 Exploring Operation: 37+2=39, Resulting Numbers: [61, 39] Generated Node #0,2,2: 16:[61, 39] Operation: 37+2=39 Exploring Operation: 61-2=59, Resulting Numbers: [37, 59] Generated Node #0,2,3: 16:[37, 59] Operation: 61-2=59 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 16:[2, 24], Operations: ['56/28=2', '61-37=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,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,2,0 Current State: 16:[61, 35], Operations: ['56/28=2', '37-2=35'] Exploring Operation: 61*35=2135, Resulting Numbers: [2135] 2135,16 unequal: No Solution Exploring Operation: 61+35=96, Resulting Numbers: [96] 96,16 unequal: No Solution Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,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,2,3 Current State: 16:[37, 59], Operations: ['56/28=2', '61-2=59'] Exploring Operation: 37*59=2183, Resulting Numbers: [2183] 2183,16 unequal: No Solution Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 37+59=96, Resulting Numbers: [96] 96,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,2,2 Current State: 16:[61, 39], Operations: ['56/28=2', '37+2=39'] Exploring Operation: 61+39=100, Resulting Numbers: [100] 100,16 unequal: No Solution Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 61*39=2379, Resulting Numbers: [2379] 2379,16 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: 16:[24, 2], Operations: ['61-37=24', '56/28=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[24, 28], Operations: ['61-37=24', '56-28=28'] Exploring Operation: 24*28=672, Resulting Numbers: [672] 672,16 unequal: No Solution Exploring Operation: 24+28=52, Resulting Numbers: [52] 52,16 unequal: No Solution Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,16 unequal: No Solution Moving to Node #0,3,0 Current State: 16:[19, 33], Operations: ['56-37=19', '61-28=33'] Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 19*33=627, Resulting Numbers: [627] 627,16 unequal: No Solution Exploring Operation: 19+33=52, Resulting Numbers: [52] 52,16 unequal: No Solution Moving to Node #0,1,3 Current State: 16:[28, 32], Operations: ['61-37=24', '56-24=32'] Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 28*32=896, Resulting Numbers: [896] 896,16 unequal: No Solution Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,16 unequal: No Solution Moving to Node #0,3,3 Current State: 16:[28, 42], Operations: ['56-37=19', '61-19=42'] Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 28+42=70, Resulting Numbers: [70] 70,16 unequal: No Solution Exploring Operation: 28*42=1176, Resulting Numbers: [1176] 1176,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[56, 4], Operations: ['61-37=24', '28-24=4'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,16 unequal: No Solution Exploring Operation: 56*4=224, Resulting Numbers: [224] 224,16 unequal: No Solution Moving to Node #0,3,2 Current State: 16:[61, 9], Operations: ['56-37=19', '28-19=9'] Exploring Operation: 61+9=70, Resulting Numbers: [70] 70,16 unequal: No Solution Exploring Operation: 61*9=549, Resulting Numbers: [549] 549,16 unequal: No Solution Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,16 unequal: No Solution Moving to Node #0,3,1 Current State: 16:[19, 89], Operations: ['56-37=19', '61+28=89'] Exploring Operation: 89-19=70, Resulting Numbers: [70] 70,16 unequal: No Solution Exploring Operation: 19+89=108, Resulting Numbers: [108] 108,16 unequal: No Solution Exploring Operation: 19*89=1691, Resulting Numbers: [1691] 1691,16 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 27, 2, 40, 91 ]
99
[ "27+91=118", "118/2=59", "40+59=99" ]
Current State: 99:[27, 2, 40, 91], Operations: [] Exploring Operation: 27+91=118, Resulting Numbers: [2, 40, 118] Generated Node #2: [2, 40, 118] from Operation: 27+91=118 Current State: 99:[2, 40, 118], Operations: ['27+91=118'] Exploring Operation: 118/2=59, Resulting Numbers: [40, 59] Generated Node #3: [40, 59] from Operation: 118/2=59 Current State: 99:[40, 59], Operations: ['27+91=118', '118/2=59'] Exploring Operation: 40+59=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[27, 2, 40, 91], Operations: [] Exploring Operation: 40-27=13, Resulting Numbers: [2, 91, 13] Generated Node #0,0: 99:[2, 91, 13] Operation: 40-27=13 Moving to Node #0,0 Current State: 99:[2, 91, 13], Operations: ['40-27=13'] Exploring Operation: 91/13=7, Resulting Numbers: [2, 7] Generated Node #0,0,0: 99:[2, 7] Operation: 91/13=7 Moving to Node #0,0,0 Current State: 99:[2, 7], Operations: ['40-27=13', '91/13=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,99 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 44, 10, 88, 20 ]
30
[ "88/44=2", "20*2=40", "40-10=30" ]
Current State: 30:[44, 10, 88, 20], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [10, 20, 2] Generated Node #2: [10, 20, 2] from Operation: 88/44=2 Current State: 30:[10, 20, 2], Operations: ['88/44=2'] Exploring Operation: 20*2=40, Resulting Numbers: [10, 40] Generated Node #3: [10, 40] from Operation: 20*2=40 Current State: 30:[10, 40], Operations: ['88/44=2', '20*2=40'] Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[44, 10, 88, 20], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [10, 20, 2] Generated Node #0,0: 30:[10, 20, 2] Operation: 88/44=2 Moving to Node #0,0 Current State: 30:[10, 20, 2], Operations: ['88/44=2'] Exploring Operation: 10+20=30, Resulting Numbers: [2, 30] Generated Node #0,0,0: 30:[2, 30] Operation: 10+20=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[2, 30], Operations: ['88/44=2', '10+20=30'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,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
mult_heuristic
[ 30, 42, 6, 4 ]
62
[ "30+42=72", "6+4=10", "72-10=62" ]
Current State: 62:[30, 42, 6, 4], Operations: [] Exploring Operation: 30+42=72, Resulting Numbers: [6, 4, 72] Generated Node #2: [6, 4, 72] from Operation: 30+42=72 Current State: 62:[6, 4, 72], Operations: ['30+42=72'] Exploring Operation: 6+4=10, Resulting Numbers: [72, 10] Generated Node #3: [72, 10] from Operation: 6+4=10 Current State: 62:[72, 10], Operations: ['30+42=72', '6+4=10'] Exploring Operation: 72-10=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[30, 42, 6, 4], Operations: [] Exploring Operation: 42-6=36, Resulting Numbers: [30, 4, 36] Generated Node #0,0: 62:[30, 4, 36] Operation: 42-6=36 Exploring Operation: 42-4=38, Resulting Numbers: [30, 6, 38] Generated Node #0,1: 62:[30, 6, 38] Operation: 42-4=38 Exploring Operation: 42/6=7, Resulting Numbers: [30, 4, 7] Generated Node #0,2: 62:[30, 4, 7] Operation: 42/6=7 Moving to Node #0,0 Current State: 62:[30, 4, 36], Operations: ['42-6=36'] Exploring Operation: 30+36=66, Resulting Numbers: [4, 66] Generated Node #0,0,0: 62:[4, 66] Operation: 30+36=66 Exploring Operation: 36-30=6, Resulting Numbers: [4, 6] Generated Node #0,0,1: 62:[4, 6] Operation: 36-30=6 Exploring Operation: 36-4=32, Resulting Numbers: [30, 32] Generated Node #0,0,2: 62:[30, 32] Operation: 36-4=32 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 62:[30, 32], Operations: ['42-6=36', '36-4=32'] Exploring Operation: 30*32=960, Resulting Numbers: [960] 960,62 unequal: No Solution Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 30+32=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[30, 42, 6, 4], Operations: [] Exploring Operation: 42-6=36, Resulting Numbers: [30, 4, 36] Generated Node #0,0: 62:[30, 4, 36] Operation: 42-6=36 Moving to Node #0,0 Current State: 62:[30, 4, 36], Operations: ['42-6=36'] Exploring Operation: 36-4=32, Resulting Numbers: [30, 32] Generated Node #0,0,2: 62:[30, 32] Operation: 36-4=32 Moving to Node #0,0,2 Current State: 62:[30, 32], Operations: ['42-6=36', '36-4=32'] Exploring Operation: 30+32=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 8, 81, 79, 89 ]
80
[ "8+81=89", "89/89=1", "79+1=80" ]
Current State: 80:[8, 81, 79, 89], Operations: [] Exploring Operation: 8+81=89, Resulting Numbers: [79, 89, 89] Generated Node #2: [79, 89, 89] from Operation: 8+81=89 Current State: 80:[79, 89, 89], Operations: ['8+81=89'] Exploring Operation: 89/89=1, Resulting Numbers: [79, 1] Generated Node #3: [79, 1] from Operation: 89/89=1 Current State: 80:[79, 1], Operations: ['8+81=89', '89/89=1'] Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[8, 81, 79, 89], Operations: [] Exploring Operation: 89-81=8, Resulting Numbers: [8, 79, 8] Generated Node #0,0: 80:[8, 79, 8] Operation: 89-81=8 Exploring Operation: 89-79=10, Resulting Numbers: [8, 81, 10] Generated Node #0,1: 80:[8, 81, 10] Operation: 89-79=10 Moving to Node #0,0 Current State: 80:[8, 79, 8], Operations: ['89-81=8'] Exploring Operation: 8+8=16, Resulting Numbers: [79, 16] Generated Node #0,0,0: 80:[79, 16] Operation: 8+8=16 Exploring Operation: 8/8=1, Resulting Numbers: [79, 1] Generated Node #0,0,1: 80:[79, 1] Operation: 8/8=1 Moving to Node #0,1 Current State: 80:[8, 81, 10], Operations: ['89-79=10'] Exploring Operation: 8*10=80, Resulting Numbers: [81, 80] Generated Node #0,1,0: 80:[81, 80] Operation: 8*10=80 Exploring Operation: 10-8=2, Resulting Numbers: [81, 2] Generated Node #0,1,1: 80:[81, 2] Operation: 10-8=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[81, 80], Operations: ['89-79=10', '8*10=80'] Exploring Operation: 81+80=161, Resulting Numbers: [161] 161,80 unequal: No Solution Exploring Operation: 81-80=1, Resulting Numbers: [1] 1,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[81, 2], Operations: ['89-79=10', '10-8=2'] Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,80 unequal: No Solution Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,80 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: 80:[79, 16], Operations: ['89-81=8', '8+8=16'] Exploring Operation: 79+16=95, Resulting Numbers: [95] 95,80 unequal: No Solution Exploring Operation: 79-16=63, Resulting Numbers: [63] 63,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[79, 1], Operations: ['89-81=8', '8/8=1'] Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[8, 81, 79, 89], Operations: [] Exploring Operation: 89-81=8, Resulting Numbers: [8, 79, 8] Generated Node #0,0: 80:[8, 79, 8] Operation: 89-81=8 Moving to Node #0,0 Current State: 80:[8, 79, 8], Operations: ['89-81=8'] Exploring Operation: 8/8=1, Resulting Numbers: [79, 1] Generated Node #0,0,1: 80:[79, 1] Operation: 8/8=1 Moving to Node #0,0,1 Current State: 80:[79, 1], Operations: ['89-81=8', '8/8=1'] Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.985243
hs_2
sum_heuristic
[ 7, 2, 66, 10 ]
24
[ "7+2=9", "10*9=90", "90-66=24" ]
Current State: 24:[7, 2, 66, 10], Operations: [] Exploring Operation: 7+2=9, Resulting Numbers: [66, 10, 9] Generated Node #2: [66, 10, 9] from Operation: 7+2=9 Current State: 24:[66, 10, 9], Operations: ['7+2=9'] Exploring Operation: 10*9=90, Resulting Numbers: [66, 90] Generated Node #3: [66, 90] from Operation: 10*9=90 Current State: 24:[66, 90], Operations: ['7+2=9', '10*9=90'] Exploring Operation: 90-66=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[7, 2, 66, 10], Operations: [] Exploring Operation: 66-7=59, Resulting Numbers: [2, 10, 59] Generated Node #0,0: 24:[2, 10, 59] Operation: 66-7=59 Exploring Operation: 66-10=56, Resulting Numbers: [7, 2, 56] Generated Node #0,1: 24:[7, 2, 56] Operation: 66-10=56 Exploring Operation: 66/2=33, Resulting Numbers: [7, 10, 33] Generated Node #0,2: 24:[7, 10, 33] Operation: 66/2=33 Moving to Node #0,2 Current State: 24:[7, 10, 33], Operations: ['66/2=33'] Exploring Operation: 10-7=3, Resulting Numbers: [33, 3] Generated Node #0,2,0: 24:[33, 3] Operation: 10-7=3 Exploring Operation: 33-10=23, Resulting Numbers: [7, 23] Generated Node #0,2,1: 24:[7, 23] Operation: 33-10=23 Exploring Operation: 33-7=26, Resulting Numbers: [10, 26] Generated Node #0,2,2: 24:[10, 26] Operation: 33-7=26 Moving to Node #0,1 Current State: 24:[7, 2, 56], Operations: ['66-10=56'] Exploring Operation: 56-7=49, Resulting Numbers: [2, 49] Generated Node #0,1,0: 24:[2, 49] Operation: 56-7=49 Exploring Operation: 56/2=28, Resulting Numbers: [7, 28] Generated Node #0,1,1: 24:[7, 28] Operation: 56/2=28 Exploring Operation: 56/7=8, Resulting Numbers: [2, 8] Generated Node #0,1,2: 24:[2, 8] Operation: 56/7=8 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 24:[2, 8], Operations: ['66-10=56', '56/7=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[7, 28], Operations: ['66-10=56', '56/2=28'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,24 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[2, 49], Operations: ['66-10=56', '56-7=49'] Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,24 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 24:[2, 10, 59], Operations: ['66-7=59'] Exploring Operation: 59-10=49, Resulting Numbers: [2, 49] Generated Node #0,0,0: 24:[2, 49] Operation: 59-10=49 Exploring Operation: 2+10=12, Resulting Numbers: [59, 12] Generated Node #0,0,1: 24:[59, 12] Operation: 2+10=12 Exploring Operation: 10-2=8, Resulting Numbers: [59, 8] Generated Node #0,0,2: 24:[59, 8] Operation: 10-2=8 Moving to Node #0,2,1 Current State: 24:[7, 23], Operations: ['66/2=33', '33-10=23'] Exploring Operation: 7*23=161, Resulting Numbers: [161] 161,24 unequal: No Solution Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[10, 26], Operations: ['66/2=33', '33-7=26'] Exploring Operation: 10+26=36, Resulting Numbers: [36] 36,24 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 10*26=260, Resulting Numbers: [260] 260,24 unequal: No Solution Moving to Node #0,2,0 Current State: 24:[33, 3], Operations: ['66/2=33', '10-7=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,24 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[2, 49], Operations: ['66-7=59', '59-10=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[59, 8], Operations: ['66-7=59', '10-2=8'] Exploring Operation: 59+8=67, Resulting Numbers: [67] 67,24 unequal: No Solution Exploring Operation: 59*8=472, Resulting Numbers: [472] 472,24 unequal: No Solution Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[59, 12], Operations: ['66-7=59', '2+10=12'] Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 59+12=71, Resulting Numbers: [71] 71,24 unequal: No Solution Exploring Operation: 59*12=708, Resulting Numbers: [708] 708,24 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 64, 57, 83, 44 ]
32
[ "64-57=7", "83-44=39", "39-7=32" ]
Current State: 32:[64, 57, 83, 44], Operations: [] Exploring Operation: 64-57=7, Resulting Numbers: [83, 44, 7] Generated Node #2: [83, 44, 7] from Operation: 64-57=7 Current State: 32:[83, 44, 7], Operations: ['64-57=7'] Exploring Operation: 83-44=39, Resulting Numbers: [7, 39] Generated Node #3: [7, 39] from Operation: 83-44=39 Current State: 32:[7, 39], Operations: ['64-57=7', '83-44=39'] Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[64, 57, 83, 44], Operations: [] Exploring Operation: 83-64=19, Resulting Numbers: [57, 44, 19] Generated Node #0,0: 32:[57, 44, 19] Operation: 83-64=19 Exploring Operation: 83-44=39, Resulting Numbers: [64, 57, 39] Generated Node #0,1: 32:[64, 57, 39] Operation: 83-44=39 Exploring Operation: 83-57=26, Resulting Numbers: [64, 44, 26] Generated Node #0,2: 32:[64, 44, 26] Operation: 83-57=26 Exploring Operation: 64-57=7, Resulting Numbers: [83, 44, 7] Generated Node #0,3: 32:[83, 44, 7] Operation: 64-57=7 Exploring Operation: 64-44=20, Resulting Numbers: [57, 83, 20] Generated Node #0,4: 32:[57, 83, 20] Operation: 64-44=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[57, 44, 19], Operations: ['83-64=19'] Exploring Operation: 57-19=38, Resulting Numbers: [44, 38] Generated Node #0,0,0: 32:[44, 38] Operation: 57-19=38 Exploring Operation: 57-44=13, Resulting Numbers: [19, 13] Generated Node #0,0,1: 32:[19, 13] Operation: 57-44=13 Exploring Operation: 44-19=25, Resulting Numbers: [57, 25] Generated Node #0,0,2: 32:[57, 25] Operation: 44-19=25 Exploring Operation: 57/19=3, Resulting Numbers: [44, 3] Generated Node #0,0,3: 32:[44, 3] Operation: 57/19=3 Exploring Operation: 57+19=76, Resulting Numbers: [44, 76] Generated Node #0,0,4: 32:[44, 76] Operation: 57+19=76 Moving to Node #0,0,1 Current State: 32:[19, 13], Operations: ['83-64=19', '57-44=13'] Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,32 unequal: No Solution Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,32 unequal: No Solution Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[64, 57, 83, 44], Operations: [] Exploring Operation: 83-64=19, Resulting Numbers: [57, 44, 19] Generated Node #0,0: 32:[57, 44, 19] Operation: 83-64=19 Moving to Node #0,0 Current State: 32:[57, 44, 19], Operations: ['83-64=19'] Exploring Operation: 57-44=13, Resulting Numbers: [19, 13] Generated Node #0,0,1: 32:[19, 13] Operation: 57-44=13 Moving to Node #0,0,1 Current State: 32:[19, 13], Operations: ['83-64=19', '57-44=13'] Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 12, 65, 98, 99 ]
53
[ "65-12=53", "99-98=1", "53*1=53" ]
Current State: 53:[12, 65, 98, 99], Operations: [] Exploring Operation: 65-12=53, Resulting Numbers: [98, 99, 53] Generated Node #2: [98, 99, 53] from Operation: 65-12=53 Current State: 53:[98, 99, 53], Operations: ['65-12=53'] Exploring Operation: 99-98=1, Resulting Numbers: [53, 1] Generated Node #3: [53, 1] from Operation: 99-98=1 Current State: 53:[53, 1], Operations: ['65-12=53', '99-98=1'] Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[12, 65, 98, 99], Operations: [] Exploring Operation: 65-12=53, Resulting Numbers: [98, 99, 53] Generated Node #0,0: 53:[98, 99, 53] Operation: 65-12=53 Exploring Operation: 99-12=87, Resulting Numbers: [65, 98, 87] Generated Node #0,1: 53:[65, 98, 87] Operation: 99-12=87 Exploring Operation: 98-12=86, Resulting Numbers: [65, 99, 86] Generated Node #0,2: 53:[65, 99, 86] Operation: 98-12=86 Moving to Node #0,0 Current State: 53:[98, 99, 53], Operations: ['65-12=53'] Exploring Operation: 99-53=46, Resulting Numbers: [98, 46] Generated Node #0,0,0: 53:[98, 46] Operation: 99-53=46 Exploring Operation: 98-53=45, Resulting Numbers: [99, 45] Generated Node #0,0,1: 53:[99, 45] Operation: 98-53=45 Exploring Operation: 99-98=1, Resulting Numbers: [53, 1] Generated Node #0,0,2: 53:[53, 1] Operation: 99-98=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[98, 46], Operations: ['65-12=53', '99-53=46'] Exploring Operation: 98+46=144, Resulting Numbers: [144] 144,53 unequal: No Solution Exploring Operation: 98-46=52, Resulting Numbers: [52] 52,53 unequal: No Solution Exploring Operation: 98*46=4508, Resulting Numbers: [4508] 4508,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[53, 1], Operations: ['65-12=53', '99-98=1'] Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[12, 65, 98, 99], Operations: [] Exploring Operation: 65-12=53, Resulting Numbers: [98, 99, 53] Generated Node #0,0: 53:[98, 99, 53] Operation: 65-12=53 Moving to Node #0,0 Current State: 53:[98, 99, 53], Operations: ['65-12=53'] Exploring Operation: 99-98=1, Resulting Numbers: [53, 1] Generated Node #0,0,2: 53:[53, 1] Operation: 99-98=1 Moving to Node #0,0,2 Current State: 53:[53, 1], Operations: ['65-12=53', '99-98=1'] Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 6, 12, 89, 86 ]
90
[ "12+89=101", "101-86=15", "6*15=90" ]
Current State: 90:[6, 12, 89, 86], Operations: [] Exploring Operation: 12+89=101, Resulting Numbers: [6, 86, 101] Generated Node #2: [6, 86, 101] from Operation: 12+89=101 Current State: 90:[6, 86, 101], Operations: ['12+89=101'] Exploring Operation: 101-86=15, Resulting Numbers: [6, 15] Generated Node #3: [6, 15] from Operation: 101-86=15 Current State: 90:[6, 15], Operations: ['12+89=101', '101-86=15'] Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[6, 12, 89, 86], Operations: [] Exploring Operation: 6+12=18, Resulting Numbers: [89, 86, 18] Generated Node #0,0: 90:[89, 86, 18] Operation: 6+12=18 Exploring Operation: 89-86=3, Resulting Numbers: [6, 12, 3] Generated Node #0,1: 90:[6, 12, 3] Operation: 89-86=3 Moving to Node #0,1 Current State: 90:[6, 12, 3], Operations: ['89-86=3'] Exploring Operation: 6+12=18, Resulting Numbers: [3, 18] Generated Node #0,1,0: 90:[3, 18] Operation: 6+12=18 Exploring Operation: 12-6=6, Resulting Numbers: [3, 6] Generated Node #0,1,1: 90:[3, 6] Operation: 12-6=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[3, 18], Operations: ['89-86=3', '6+12=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[3, 6], Operations: ['89-86=3', '12-6=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,90 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: 90:[89, 86, 18], Operations: ['6+12=18'] Exploring Operation: 86+18=104, Resulting Numbers: [89, 104] Generated Node #0,0,0: 90:[89, 104] Operation: 86+18=104 Exploring Operation: 89-86=3, Resulting Numbers: [18, 3] Generated Node #0,0,1: 90:[18, 3] Operation: 89-86=3 Moving to Node #0,0,1 Current State: 90:[18, 3], Operations: ['6+12=18', '89-86=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[89, 104], Operations: ['6+12=18', '86+18=104'] Exploring Operation: 89+104=193, Resulting Numbers: [193] 193,90 unequal: No Solution Exploring Operation: 104-89=15, Resulting Numbers: [15] 15,90 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 33, 5, 32, 19 ]
90
[ "33-32=1", "19-1=18", "5*18=90" ]
Current State: 90:[33, 5, 32, 19], Operations: [] Exploring Operation: 33-32=1, Resulting Numbers: [5, 19, 1] Generated Node #2: [5, 19, 1] from Operation: 33-32=1 Current State: 90:[5, 19, 1], Operations: ['33-32=1'] Exploring Operation: 19-1=18, Resulting Numbers: [5, 18] Generated Node #3: [5, 18] from Operation: 19-1=18 Current State: 90:[5, 18], Operations: ['33-32=1', '19-1=18'] Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[33, 5, 32, 19], Operations: [] Exploring Operation: 33-32=1, Resulting Numbers: [5, 19, 1] Generated Node #0,0: 90:[5, 19, 1] Operation: 33-32=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[5, 19, 1], Operations: ['33-32=1'] Exploring Operation: 19-1=18, Resulting Numbers: [5, 18] Generated Node #0,0,0: 90:[5, 18] Operation: 19-1=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[5, 18], Operations: ['33-32=1', '19-1=18'] Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[33, 5, 32, 19], Operations: [] Exploring Operation: 33-32=1, Resulting Numbers: [5, 19, 1] Generated Node #0,0: 90:[5, 19, 1] Operation: 33-32=1 Moving to Node #0,0 Current State: 90:[5, 19, 1], Operations: ['33-32=1'] Exploring Operation: 19-1=18, Resulting Numbers: [5, 18] Generated Node #0,0,0: 90:[5, 18] Operation: 19-1=18 Moving to Node #0,0,0 Current State: 90:[5, 18], Operations: ['33-32=1', '19-1=18'] Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 24, 97, 12, 40 ]
59
[ "24/12=2", "97-40=57", "2+57=59" ]
Current State: 59:[24, 97, 12, 40], Operations: [] Exploring Operation: 24/12=2, Resulting Numbers: [97, 40, 2] Generated Node #2: [97, 40, 2] from Operation: 24/12=2 Current State: 59:[97, 40, 2], Operations: ['24/12=2'] Exploring Operation: 97-40=57, Resulting Numbers: [2, 57] Generated Node #3: [2, 57] from Operation: 97-40=57 Current State: 59:[2, 57], Operations: ['24/12=2', '97-40=57'] Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[24, 97, 12, 40], Operations: [] Exploring Operation: 24+12=36, Resulting Numbers: [97, 40, 36] Generated Node #0,0: 59:[97, 40, 36] Operation: 24+12=36 Exploring Operation: 97-12=85, Resulting Numbers: [24, 40, 85] Generated Node #0,1: 59:[24, 40, 85] Operation: 97-12=85 Exploring Operation: 97-24=73, Resulting Numbers: [12, 40, 73] Generated Node #0,2: 59:[12, 40, 73] Operation: 97-24=73 Moving to Node #0,0 Current State: 59:[97, 40, 36], Operations: ['24+12=36'] Exploring Operation: 97-36=61, Resulting Numbers: [40, 61] Generated Node #0,0,0: 59:[40, 61] Operation: 97-36=61 Exploring Operation: 97-40=57, Resulting Numbers: [36, 57] Generated Node #0,0,1: 59:[36, 57] Operation: 97-40=57 Exploring Operation: 40+36=76, Resulting Numbers: [97, 76] Generated Node #0,0,2: 59:[97, 76] Operation: 40+36=76 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[40, 61], Operations: ['24+12=36', '97-36=61'] Exploring Operation: 40*61=2440, Resulting Numbers: [2440] 2440,59 unequal: No Solution Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 40+61=101, Resulting Numbers: [101] 101,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,0,1 Current State: 59:[36, 57], Operations: ['24+12=36', '97-40=57'] Exploring Operation: 36+57=93, Resulting Numbers: [93] 93,59 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 36*57=2052, Resulting Numbers: [2052] 2052,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,0,2 Current State: 59:[97, 76], Operations: ['24+12=36', '40+36=76'] Exploring Operation: 97-76=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 97*76=7372, Resulting Numbers: [7372] 7372,59 unequal: No Solution Exploring Operation: 97+76=173, Resulting Numbers: [173] 173,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:[24, 40, 85], Operations: ['97-12=85'] Exploring Operation: 85-40=45, Resulting Numbers: [24, 45] Generated Node #0,1,0: 59:[24, 45] Operation: 85-40=45 Exploring Operation: 85-24=61, Resulting Numbers: [40, 61] Generated Node #0,1,1: 59:[40, 61] Operation: 85-24=61 Exploring Operation: 24+40=64, Resulting Numbers: [85, 64] Generated Node #0,1,2: 59:[85, 64] Operation: 24+40=64 Moving to Node #0,2 Current State: 59:[12, 40, 73], Operations: ['97-24=73'] Exploring Operation: 40-12=28, Resulting Numbers: [73, 28] Generated Node #0,2,0: 59:[73, 28] Operation: 40-12=28 Exploring Operation: 73-12=61, Resulting Numbers: [40, 61] Generated Node #0,2,1: 59:[40, 61] Operation: 73-12=61 Exploring Operation: 12+40=52, Resulting Numbers: [73, 52] Generated Node #0,2,2: 59:[73, 52] Operation: 12+40=52 Moving to Node #0,1,1 Current State: 59:[40, 61], Operations: ['97-12=85', '85-24=61'] Exploring Operation: 40*61=2440, Resulting Numbers: [2440] 2440,59 unequal: No Solution Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 40+61=101, Resulting Numbers: [101] 101,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[40, 61], Operations: ['97-24=73', '73-12=61'] Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 40+61=101, Resulting Numbers: [101] 101,59 unequal: No Solution Exploring Operation: 40*61=2440, Resulting Numbers: [2440] 2440,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[73, 52], Operations: ['97-24=73', '12+40=52'] Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 73*52=3796, Resulting Numbers: [3796] 3796,59 unequal: No Solution Exploring Operation: 73+52=125, Resulting Numbers: [125] 125,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[85, 64], Operations: ['97-12=85', '24+40=64'] Exploring Operation: 85*64=5440, Resulting Numbers: [5440] 5440,59 unequal: No Solution Exploring Operation: 85+64=149, Resulting Numbers: [149] 149,59 unequal: No Solution Exploring Operation: 85-64=21, Resulting Numbers: [21] 21,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[73, 28], Operations: ['97-24=73', '40-12=28'] Exploring Operation: 73*28=2044, Resulting Numbers: [2044] 2044,59 unequal: No Solution Exploring Operation: 73+28=101, Resulting Numbers: [101] 101,59 unequal: No Solution Exploring Operation: 73-28=45, Resulting Numbers: [45] 45,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[24, 45], Operations: ['97-12=85', '85-40=45'] Exploring Operation: 24*45=1080, Resulting Numbers: [1080] 1080,59 unequal: No Solution Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 24+45=69, Resulting Numbers: [69] 69,59 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 47, 94, 13, 52 ]
29
[ "52-47=5", "13*5=65", "94-65=29" ]
Current State: 29:[47, 94, 13, 52], Operations: [] Exploring Operation: 52-47=5, Resulting Numbers: [94, 13, 5] Generated Node #2: [94, 13, 5] from Operation: 52-47=5 Current State: 29:[94, 13, 5], Operations: ['52-47=5'] Exploring Operation: 13*5=65, Resulting Numbers: [94, 65] Generated Node #3: [94, 65] from Operation: 13*5=65 Current State: 29:[94, 65], Operations: ['52-47=5', '13*5=65'] Exploring Operation: 94-65=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[47, 94, 13, 52], Operations: [] Exploring Operation: 94-13=81, Resulting Numbers: [47, 52, 81] Generated Node #0,0: 29:[47, 52, 81] Operation: 94-13=81 Exploring Operation: 47-13=34, Resulting Numbers: [94, 52, 34] Generated Node #0,1: 29:[94, 52, 34] Operation: 47-13=34 Exploring Operation: 94/47=2, Resulting Numbers: [13, 52, 2] Generated Node #0,2: 29:[13, 52, 2] Operation: 94/47=2 Exploring Operation: 94-52=42, Resulting Numbers: [47, 13, 42] Generated Node #0,3: 29:[47, 13, 42] Operation: 94-52=42 Exploring Operation: 94-47=47, Resulting Numbers: [13, 52, 47] Generated Node #0,4: 29:[13, 52, 47] Operation: 94-47=47 Start Sub Search at level 1: Moving to Node #0,3 Current State: 29:[47, 13, 42], Operations: ['94-52=42'] Exploring Operation: 47-42=5, Resulting Numbers: [13, 5] Generated Node #0,3,0: 29:[13, 5] Operation: 47-42=5 Exploring Operation: 13+42=55, Resulting Numbers: [47, 55] Generated Node #0,3,1: 29:[47, 55] Operation: 13+42=55 Exploring Operation: 42-13=29, Resulting Numbers: [47, 29] Generated Node #0,3,2: 29:[47, 29] Operation: 42-13=29 Exploring Operation: 47-13=34, Resulting Numbers: [42, 34] Generated Node #0,3,3: 29:[42, 34] Operation: 47-13=34 Exploring Operation: 47+13=60, Resulting Numbers: [42, 60] Generated Node #0,3,4: 29:[42, 60] Operation: 47+13=60 Moving to Node #0,3,2 Current State: 29:[47, 29], Operations: ['94-52=42', '42-13=29'] Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 47*29=1363, Resulting Numbers: [1363] 1363,29 unequal: No Solution Exploring Operation: 47+29=76, Resulting Numbers: [76] 76,29 unequal: No Solution Moving to Node #0,3,3 Current State: 29:[42, 34], Operations: ['94-52=42', '47-13=34'] Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 42+34=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 42*34=1428, Resulting Numbers: [1428] 1428,29 unequal: No Solution Moving to Node #0,3,0 Current State: 29:[13, 5], Operations: ['94-52=42', '47-42=5'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,29 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,29 unequal: No Solution Moving to Node #0,3,1 Current State: 29:[47, 55], Operations: ['94-52=42', '13+42=55'] Exploring Operation: 47+55=102, Resulting Numbers: [102] 102,29 unequal: No Solution Exploring Operation: 55-47=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 47*55=2585, Resulting Numbers: [2585] 2585,29 unequal: No Solution Moving to Node #0,3,4 Current State: 29:[42, 60], Operations: ['94-52=42', '47+13=60'] Exploring Operation: 60-42=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 42*60=2520, Resulting Numbers: [2520] 2520,29 unequal: No Solution Exploring Operation: 42+60=102, Resulting Numbers: [102] 102,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 29:[13, 52, 47], Operations: ['94-47=47'] Exploring Operation: 47-13=34, Resulting Numbers: [52, 34] Generated Node #0,4,0: 29:[52, 34] Operation: 47-13=34 Exploring Operation: 52-13=39, Resulting Numbers: [47, 39] Generated Node #0,4,1: 29:[47, 39] Operation: 52-13=39 Exploring Operation: 52/13=4, Resulting Numbers: [47, 4] Generated Node #0,4,2: 29:[47, 4] Operation: 52/13=4 Exploring Operation: 52-47=5, Resulting Numbers: [13, 5] Generated Node #0,4,3: 29:[13, 5] Operation: 52-47=5 Exploring Operation: 13+52=65, Resulting Numbers: [47, 65] Generated Node #0,4,4: 29:[47, 65] Operation: 13+52=65 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 29:[52, 34], Operations: ['94-47=47', '47-13=34'] Exploring Operation: 52+34=86, Resulting Numbers: [86] 86,29 unequal: No Solution Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 52*34=1768, Resulting Numbers: [1768] 1768,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 29:[47, 39], Operations: ['94-47=47', '52-13=39'] Exploring Operation: 47*39=1833, Resulting Numbers: [1833] 1833,29 unequal: No Solution Exploring Operation: 47-39=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 47+39=86, Resulting Numbers: [86] 86,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 29:[13, 5], Operations: ['94-47=47', '52-47=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,29 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 29:[47, 4], Operations: ['94-47=47', '52/13=4'] Exploring Operation: 47*4=188, Resulting Numbers: [188] 188,29 unequal: No Solution Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,29 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 29:[47, 65], Operations: ['94-47=47', '13+52=65'] Exploring Operation: 47+65=112, Resulting Numbers: [112] 112,29 unequal: No Solution Exploring Operation: 47*65=3055, Resulting Numbers: [3055] 3055,29 unequal: No Solution Exploring Operation: 65-47=18, Resulting Numbers: [18] 18,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[13, 52, 2], Operations: ['94/47=2'] Exploring Operation: 52-13=39, Resulting Numbers: [2, 39] Generated Node #0,2,0: 29:[2, 39] Operation: 52-13=39 Exploring Operation: 13+2=15, Resulting Numbers: [52, 15] Generated Node #0,2,1: 29:[52, 15] Operation: 13+2=15 Exploring Operation: 52/2=26, Resulting Numbers: [13, 26] Generated Node #0,2,2: 29:[13, 26] Operation: 52/2=26 Exploring Operation: 52-2=50, Resulting Numbers: [13, 50] Generated Node #0,2,3: 29:[13, 50] Operation: 52-2=50 Exploring Operation: 13*2=26, Resulting Numbers: [52, 26] Generated Node #0,2,4: 29:[52, 26] Operation: 13*2=26 Moving to Node #0,2,2 Current State: 29:[13, 26], Operations: ['94/47=2', '52/2=26'] Exploring Operation: 13*26=338, Resulting Numbers: [338] 338,29 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,29 unequal: No Solution Moving to Node #0,2,4 Current State: 29:[52, 26], Operations: ['94/47=2', '13*2=26'] Exploring Operation: 52+26=78, Resulting Numbers: [78] 78,29 unequal: No Solution Exploring Operation: 52*26=1352, Resulting Numbers: [1352] 1352,29 unequal: No Solution Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[2, 39], Operations: ['94/47=2', '52-13=39'] Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,29 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,29 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,29 unequal: No Solution Moving to Node #0,2,1 Current State: 29:[52, 15], Operations: ['94/47=2', '13+2=15'] Exploring Operation: 52*15=780, Resulting Numbers: [780] 780,29 unequal: No Solution Exploring Operation: 52+15=67, Resulting Numbers: [67] 67,29 unequal: No Solution Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[13, 50], Operations: ['94/47=2', '52-2=50'] Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,29 unequal: No Solution Exploring Operation: 13+50=63, Resulting Numbers: [63] 63,29 unequal: No Solution Exploring Operation: 13*50=650, Resulting Numbers: [650] 650,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[47, 52, 81], Operations: ['94-13=81'] Exploring Operation: 47+52=99, Resulting Numbers: [81, 99] Generated Node #0,0,0: 29:[81, 99] Operation: 47+52=99 Exploring Operation: 47+81=128, Resulting Numbers: [52, 128] Generated Node #0,0,1: 29:[52, 128] Operation: 47+81=128 Exploring Operation: 52-47=5, Resulting Numbers: [81, 5] Generated Node #0,0,2: 29:[81, 5] Operation: 52-47=5 Exploring Operation: 81-47=34, Resulting Numbers: [52, 34] Generated Node #0,0,3: 29:[52, 34] Operation: 81-47=34 Exploring Operation: 81-52=29, Resulting Numbers: [47, 29] Generated Node #0,0,4: 29:[47, 29] Operation: 81-52=29 Moving to Node #0,0,4 Current State: 29:[47, 29], Operations: ['94-13=81', '81-52=29'] Exploring Operation: 47*29=1363, Resulting Numbers: [1363] 1363,29 unequal: No Solution Exploring Operation: 47+29=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,29 unequal: No Solution Moving to Node #0,0,3 Current State: 29:[52, 34], Operations: ['94-13=81', '81-47=34'] Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 52+34=86, Resulting Numbers: [86] 86,29 unequal: No Solution Exploring Operation: 52*34=1768, Resulting Numbers: [1768] 1768,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[81, 5], Operations: ['94-13=81', '52-47=5'] Exploring Operation: 81+5=86, Resulting Numbers: [86] 86,29 unequal: No Solution Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 81*5=405, Resulting Numbers: [405] 405,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[81, 99], Operations: ['94-13=81', '47+52=99'] Exploring Operation: 99-81=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 81+99=180, Resulting Numbers: [180] 180,29 unequal: No Solution Exploring Operation: 81*99=8019, Resulting Numbers: [8019] 8019,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[52, 128], Operations: ['94-13=81', '47+81=128'] Exploring Operation: 128-52=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 52+128=180, Resulting Numbers: [180] 180,29 unequal: No Solution Exploring Operation: 52*128=6656, Resulting Numbers: [6656] 6656,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[94, 52, 34], Operations: ['47-13=34'] Exploring Operation: 52-34=18, Resulting Numbers: [94, 18] Generated Node #0,1,0: 29:[94, 18] Operation: 52-34=18 Exploring Operation: 94-52=42, Resulting Numbers: [34, 42] Generated Node #0,1,1: 29:[34, 42] Operation: 94-52=42 Exploring Operation: 94+34=128, Resulting Numbers: [52, 128] Generated Node #0,1,2: 29:[52, 128] Operation: 94+34=128 Exploring Operation: 94-34=60, Resulting Numbers: [52, 60] Generated Node #0,1,3: 29:[52, 60] Operation: 94-34=60 Exploring Operation: 94+52=146, Resulting Numbers: [34, 146] Generated Node #0,1,4: 29:[34, 146] Operation: 94+52=146 Moving to Node #0,1,1 Current State: 29:[34, 42], Operations: ['47-13=34', '94-52=42'] Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 34*42=1428, Resulting Numbers: [1428] 1428,29 unequal: No Solution Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,29 unequal: No Solution Moving to Node #0,1,3 Current State: 29:[52, 60], Operations: ['47-13=34', '94-34=60'] Exploring Operation: 52+60=112, Resulting Numbers: [112] 112,29 unequal: No Solution Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 52*60=3120, Resulting Numbers: [3120] 3120,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[94, 18], Operations: ['47-13=34', '52-34=18'] Exploring Operation: 94+18=112, Resulting Numbers: [112] 112,29 unequal: No Solution Exploring Operation: 94*18=1692, Resulting Numbers: [1692] 1692,29 unequal: No Solution Exploring Operation: 94-18=76, Resulting Numbers: [76] 76,29 unequal: No Solution Moving to Node #0,1,2 Current State: 29:[52, 128], Operations: ['47-13=34', '94+34=128'] Exploring Operation: 52+128=180, Resulting Numbers: [180] 180,29 unequal: No Solution Exploring Operation: 128-52=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 52*128=6656, Resulting Numbers: [6656] 6656,29 unequal: No Solution Moving to Node #0,1,4 Current State: 29:[34, 146], Operations: ['47-13=34', '94+52=146'] Exploring Operation: 146-34=112, Resulting Numbers: [112] 112,29 unequal: No Solution Exploring Operation: 34*146=4964, Resulting Numbers: [4964] 4964,29 unequal: No Solution Exploring Operation: 34+146=180, Resulting Numbers: [180] 180,29 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
[ 56, 60, 2, 2 ]
90
[ "56/2=28", "60+2=62", "28+62=90" ]
Current State: 90:[56, 60, 2, 2], Operations: [] Exploring Operation: 56/2=28, Resulting Numbers: [60, 28] Generated Node #2: [60, 28] from Operation: 56/2=28 Current State: 90:[60, 28], Operations: ['56/2=28'] Exploring Operation: 60+2=62, Resulting Numbers: [28, 62] Generated Node #3: [28, 62] from Operation: 60+2=62 Current State: 90:[28, 62], Operations: ['56/2=28', '60+2=62'] Exploring Operation: 28+62=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[56, 60, 2, 2], Operations: [] Exploring Operation: 60/2=30, Resulting Numbers: [56, 2, 30] Generated Node #0,0: 90:[56, 2, 30] Operation: 60/2=30 Exploring Operation: 60-56=4, Resulting Numbers: [2, 2, 4] Generated Node #0,1: 90:[2, 2, 4] Operation: 60-56=4 Exploring Operation: 60/2=30, Resulting Numbers: [56, 2, 30] Generated Node #0,2: 90:[56, 2, 30] Operation: 60/2=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[2, 2, 4], Operations: ['60-56=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2, 2] Generated Node #0,1,0: 90:[2, 2] Operation: 4/2=2 Exploring Operation: 4-2=2, Resulting Numbers: [2, 2] Generated Node #0,1,1: 90:[2, 2] Operation: 4-2=2 Exploring Operation: 2+4=6, Resulting Numbers: [2, 6] Generated Node #0,1,2: 90:[2, 6] Operation: 2+4=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 90:[2, 2], Operations: ['60-56=4', '4/2=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 90:[2, 2], Operations: ['60-56=4', '4-2=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 90:[2, 6], Operations: ['60-56=4', '2+4=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,90 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[56, 2, 30], Operations: ['60/2=30'] Exploring Operation: 56/2=28, Resulting Numbers: [30, 28] Generated Node #0,0,0: 90:[30, 28] Operation: 56/2=28 Exploring Operation: 56-30=26, Resulting Numbers: [2, 26] Generated Node #0,0,1: 90:[2, 26] Operation: 56-30=26 Exploring Operation: 56+30=86, Resulting Numbers: [2, 86] Generated Node #0,0,2: 90:[2, 86] Operation: 56+30=86 Moving to Node #0,0,0 Current State: 90:[30, 28], Operations: ['60/2=30', '56/2=28'] Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 30*28=840, Resulting Numbers: [840] 840,90 unequal: No Solution Exploring Operation: 30+28=58, Resulting Numbers: [58] 58,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[2, 26], Operations: ['60/2=30', '56-30=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,90 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[2, 86], Operations: ['60/2=30', '56+30=86'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,90 unequal: No Solution Exploring Operation: 2+86=88, Resulting Numbers: [88] 88,90 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[56, 2, 30], Operations: ['60/2=30'] Exploring Operation: 56/2=28, Resulting Numbers: [30, 28] Generated Node #0,2,0: 90:[30, 28] Operation: 56/2=28 Exploring Operation: 56+30=86, Resulting Numbers: [2, 86] Generated Node #0,2,1: 90:[2, 86] Operation: 56+30=86 Exploring Operation: 56-30=26, Resulting Numbers: [2, 26] Generated Node #0,2,2: 90:[2, 26] Operation: 56-30=26 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 90:[30, 28], Operations: ['60/2=30', '56/2=28'] Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 30*28=840, Resulting Numbers: [840] 840,90 unequal: No Solution Exploring Operation: 30+28=58, Resulting Numbers: [58] 58,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 90:[2, 86], Operations: ['60/2=30', '56+30=86'] Exploring Operation: 2+86=88, Resulting Numbers: [88] 88,90 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,90 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 90:[2, 26], Operations: ['60/2=30', '56-30=26'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,90 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,90 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 69, 92, 2, 95 ]
29
[ "69+92=161", "2*95=190", "190-161=29" ]
Current State: 29:[69, 92, 2, 95], Operations: [] Exploring Operation: 69+92=161, Resulting Numbers: [2, 95, 161] Generated Node #2: [2, 95, 161] from Operation: 69+92=161 Current State: 29:[2, 95, 161], Operations: ['69+92=161'] Exploring Operation: 2*95=190, Resulting Numbers: [161, 190] Generated Node #3: [161, 190] from Operation: 2*95=190 Current State: 29:[161, 190], Operations: ['69+92=161', '2*95=190'] Exploring Operation: 190-161=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[69, 92, 2, 95], Operations: [] Exploring Operation: 69-2=67, Resulting Numbers: [92, 95, 67] Generated Node #0,0: 29:[92, 95, 67] Operation: 69-2=67 Exploring Operation: 95-69=26, Resulting Numbers: [92, 2, 26] Generated Node #0,1: 29:[92, 2, 26] Operation: 95-69=26 Exploring Operation: 92/2=46, Resulting Numbers: [69, 95, 46] Generated Node #0,2: 29:[69, 95, 46] Operation: 92/2=46 Exploring Operation: 92-69=23, Resulting Numbers: [2, 95, 23] Generated Node #0,3: 29:[2, 95, 23] Operation: 92-69=23 Exploring Operation: 95-92=3, Resulting Numbers: [69, 2, 3] Generated Node #0,4: 29:[69, 2, 3] Operation: 95-92=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[92, 2, 26], Operations: ['95-69=26'] Exploring Operation: 92/2=46, Resulting Numbers: [26, 46] Generated Node #0,1,0: 29:[26, 46] Operation: 92/2=46 Exploring Operation: 92+2=94, Resulting Numbers: [26, 94] Generated Node #0,1,1: 29:[26, 94] Operation: 92+2=94 Exploring Operation: 92-2=90, Resulting Numbers: [26, 90] Generated Node #0,1,2: 29:[26, 90] Operation: 92-2=90 Exploring Operation: 2+26=28, Resulting Numbers: [92, 28] Generated Node #0,1,3: 29:[92, 28] Operation: 2+26=28 Exploring Operation: 92-26=66, Resulting Numbers: [2, 66] Generated Node #0,1,4: 29:[2, 66] Operation: 92-26=66 Moving to Node #0,1,0 Current State: 29:[26, 46], Operations: ['95-69=26', '92/2=46'] Exploring Operation: 26+46=72, Resulting Numbers: [72] 72,29 unequal: No Solution Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 26*46=1196, Resulting Numbers: [1196] 1196,29 unequal: No Solution Moving to Node #0,1,3 Current State: 29:[92, 28], Operations: ['95-69=26', '2+26=28'] Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,29 unequal: No Solution Exploring Operation: 92*28=2576, Resulting Numbers: [2576] 2576,29 unequal: No Solution Exploring Operation: 92+28=120, Resulting Numbers: [120] 120,29 unequal: No Solution Moving to Node #0,1,2 Current State: 29:[26, 90], Operations: ['95-69=26', '92-2=90'] Exploring Operation: 26*90=2340, Resulting Numbers: [2340] 2340,29 unequal: No Solution Exploring Operation: 26+90=116, Resulting Numbers: [116] 116,29 unequal: No Solution Exploring Operation: 90-26=64, Resulting Numbers: [64] 64,29 unequal: No Solution Moving to Node #0,1,4 Current State: 29:[2, 66], Operations: ['95-69=26', '92-26=66'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,29 unequal: No Solution Exploring Operation: 2+66=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 2*66=132, Resulting Numbers: [132] 132,29 unequal: No Solution Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[26, 94], Operations: ['95-69=26', '92+2=94'] Exploring Operation: 26*94=2444, Resulting Numbers: [2444] 2444,29 unequal: No Solution Exploring Operation: 26+94=120, Resulting Numbers: [120] 120,29 unequal: No Solution Exploring Operation: 94-26=68, Resulting Numbers: [68] 68,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 29:[69, 2, 3], Operations: ['95-92=3'] Exploring Operation: 69/3=23, Resulting Numbers: [2, 23] Generated Node #0,4,0: 29:[2, 23] Operation: 69/3=23 Exploring Operation: 2+3=5, Resulting Numbers: [69, 5] Generated Node #0,4,1: 29:[69, 5] Operation: 2+3=5 Exploring Operation: 69-2=67, Resulting Numbers: [3, 67] Generated Node #0,4,2: 29:[3, 67] Operation: 69-2=67 Exploring Operation: 2*3=6, Resulting Numbers: [69, 6] Generated Node #0,4,3: 29:[69, 6] Operation: 2*3=6 Exploring Operation: 69-3=66, Resulting Numbers: [2, 66] Generated Node #0,4,4: 29:[2, 66] Operation: 69-3=66 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 29:[2, 23], Operations: ['95-92=3', '69/3=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,29 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 29:[69, 6], Operations: ['95-92=3', '2*3=6'] Exploring Operation: 69*6=414, Resulting Numbers: [414] 414,29 unequal: No Solution Exploring Operation: 69+6=75, Resulting Numbers: [75] 75,29 unequal: No Solution Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 29:[69, 5], Operations: ['95-92=3', '2+3=5'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,29 unequal: No Solution Exploring Operation: 69*5=345, Resulting Numbers: [345] 345,29 unequal: No Solution Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 29:[3, 67], Operations: ['95-92=3', '69-2=67'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,29 unequal: No Solution Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 3*67=201, Resulting Numbers: [201] 201,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 29:[2, 66], Operations: ['95-92=3', '69-3=66'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,29 unequal: No Solution Exploring Operation: 2+66=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,29 unequal: No Solution Exploring Operation: 2*66=132, Resulting Numbers: [132] 132,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 29:[2, 95, 23], Operations: ['92-69=23'] Exploring Operation: 23-2=21, Resulting Numbers: [95, 21] Generated Node #0,3,0: 29:[95, 21] Operation: 23-2=21 Exploring Operation: 2+23=25, Resulting Numbers: [95, 25] Generated Node #0,3,1: 29:[95, 25] Operation: 2+23=25 Exploring Operation: 2+95=97, Resulting Numbers: [23, 97] Generated Node #0,3,2: 29:[23, 97] Operation: 2+95=97 Exploring Operation: 95-2=93, Resulting Numbers: [23, 93] Generated Node #0,3,3: 29:[23, 93] Operation: 95-2=93 Exploring Operation: 95-23=72, Resulting Numbers: [2, 72] Generated Node #0,3,4: 29:[2, 72] Operation: 95-23=72 Moving to Node #0,3,1 Current State: 29:[95, 25], Operations: ['92-69=23', '2+23=25'] Exploring Operation: 95+25=120, Resulting Numbers: [120] 120,29 unequal: No Solution Exploring Operation: 95-25=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 95*25=2375, Resulting Numbers: [2375] 2375,29 unequal: No Solution Moving to Node #0,3,4 Current State: 29:[2, 72], Operations: ['92-69=23', '95-23=72'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 2*72=144, Resulting Numbers: [144] 144,29 unequal: No Solution Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,29 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,29 unequal: No Solution Moving to Node #0,3,3 Current State: 29:[23, 93], Operations: ['92-69=23', '95-2=93'] Exploring Operation: 23+93=116, Resulting Numbers: [116] 116,29 unequal: No Solution Exploring Operation: 93-23=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 23*93=2139, Resulting Numbers: [2139] 2139,29 unequal: No Solution Moving to Node #0,3,0 Current State: 29:[95, 21], Operations: ['92-69=23', '23-2=21'] Exploring Operation: 95+21=116, Resulting Numbers: [116] 116,29 unequal: No Solution Exploring Operation: 95-21=74, Resulting Numbers: [74] 74,29 unequal: No Solution Exploring Operation: 95*21=1995, Resulting Numbers: [1995] 1995,29 unequal: No Solution Moving to Node #0,3,2 Current State: 29:[23, 97], Operations: ['92-69=23', '2+95=97'] Exploring Operation: 23+97=120, Resulting Numbers: [120] 120,29 unequal: No Solution Exploring Operation: 23*97=2231, Resulting Numbers: [2231] 2231,29 unequal: No Solution Exploring Operation: 97-23=74, Resulting Numbers: [74] 74,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[69, 95, 46], Operations: ['92/2=46'] Exploring Operation: 69-46=23, Resulting Numbers: [95, 23] Generated Node #0,2,0: 29:[95, 23] Operation: 69-46=23 Exploring Operation: 95-69=26, Resulting Numbers: [46, 26] Generated Node #0,2,1: 29:[46, 26] Operation: 95-69=26 Exploring Operation: 95-46=49, Resulting Numbers: [69, 49] Generated Node #0,2,2: 29:[69, 49] Operation: 95-46=49 Exploring Operation: 69+46=115, Resulting Numbers: [95, 115] Generated Node #0,2,3: 29:[95, 115] Operation: 69+46=115 Exploring Operation: 69+95=164, Resulting Numbers: [46, 164] Generated Node #0,2,4: 29:[46, 164] Operation: 69+95=164 Moving to Node #0,2,1 Current State: 29:[46, 26], Operations: ['92/2=46', '95-69=26'] Exploring Operation: 46+26=72, Resulting Numbers: [72] 72,29 unequal: No Solution Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 46*26=1196, Resulting Numbers: [1196] 1196,29 unequal: No Solution Moving to Node #0,2,2 Current State: 29:[69, 49], Operations: ['92/2=46', '95-46=49'] Exploring Operation: 69*49=3381, Resulting Numbers: [3381] 3381,29 unequal: No Solution Exploring Operation: 69+49=118, Resulting Numbers: [118] 118,29 unequal: No Solution Exploring Operation: 69-49=20, Resulting Numbers: [20] 20,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[95, 23], Operations: ['92/2=46', '69-46=23'] Exploring Operation: 95-23=72, Resulting Numbers: [72] 72,29 unequal: No Solution Exploring Operation: 95*23=2185, Resulting Numbers: [2185] 2185,29 unequal: No Solution Exploring Operation: 95+23=118, Resulting Numbers: [118] 118,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[95, 115], Operations: ['92/2=46', '69+46=115'] Exploring Operation: 95+115=210, Resulting Numbers: [210] 210,29 unequal: No Solution Exploring Operation: 115-95=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 95*115=10925, Resulting Numbers: [10925] 10925,29 unequal: No Solution Moving to Node #0,2,4 Current State: 29:[46, 164], Operations: ['92/2=46', '69+95=164'] Exploring Operation: 164-46=118, Resulting Numbers: [118] 118,29 unequal: No Solution Exploring Operation: 46*164=7544, Resulting Numbers: [7544] 7544,29 unequal: No Solution Exploring Operation: 46+164=210, Resulting Numbers: [210] 210,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[92, 95, 67], Operations: ['69-2=67'] Exploring Operation: 95-67=28, Resulting Numbers: [92, 28] Generated Node #0,0,0: 29:[92, 28] Operation: 95-67=28 Exploring Operation: 92-67=25, Resulting Numbers: [95, 25] Generated Node #0,0,1: 29:[95, 25] Operation: 92-67=25 Exploring Operation: 95-92=3, Resulting Numbers: [67, 3] Generated Node #0,0,2: 29:[67, 3] Operation: 95-92=3 Exploring Operation: 92+67=159, Resulting Numbers: [95, 159] Generated Node #0,0,3: 29:[95, 159] Operation: 92+67=159 Exploring Operation: 92+95=187, Resulting Numbers: [67, 187] Generated Node #0,0,4: 29:[67, 187] Operation: 92+95=187 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[92, 28], Operations: ['69-2=67', '95-67=28'] Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,29 unequal: No Solution Exploring Operation: 92+28=120, Resulting Numbers: [120] 120,29 unequal: No Solution Exploring Operation: 92*28=2576, Resulting Numbers: [2576] 2576,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 29:[67, 3], Operations: ['69-2=67', '95-92=3'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,29 unequal: No Solution Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 67*3=201, Resulting Numbers: [201] 201,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 29:[95, 25], Operations: ['69-2=67', '92-67=25'] Exploring Operation: 95-25=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 95+25=120, Resulting Numbers: [120] 120,29 unequal: No Solution Exploring Operation: 95*25=2375, Resulting Numbers: [2375] 2375,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 29:[95, 159], Operations: ['69-2=67', '92+67=159'] Exploring Operation: 95*159=15105, Resulting Numbers: [15105] 15105,29 unequal: No Solution Exploring Operation: 159-95=64, Resulting Numbers: [64] 64,29 unequal: No Solution Exploring Operation: 95+159=254, Resulting Numbers: [254] 254,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 29:[67, 187], Operations: ['69-2=67', '92+95=187'] Exploring Operation: 187-67=120, Resulting Numbers: [120] 120,29 unequal: No Solution Exploring Operation: 67*187=12529, Resulting Numbers: [12529] 12529,29 unequal: No Solution Exploring Operation: 67+187=254, Resulting Numbers: [254] 254,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 41, 46, 7, 82 ]
51
[ "82/41=2", "46+7=53", "53-2=51" ]
Current State: 51:[41, 46, 7, 82], Operations: [] Exploring Operation: 82/41=2, Resulting Numbers: [46, 7, 2] Generated Node #2: [46, 7, 2] from Operation: 82/41=2 Current State: 51:[46, 7, 2], Operations: ['82/41=2'] Exploring Operation: 46+7=53, Resulting Numbers: [2, 53] Generated Node #3: [2, 53] from Operation: 46+7=53 Current State: 51:[2, 53], Operations: ['82/41=2', '46+7=53'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[41, 46, 7, 82], Operations: [] Exploring Operation: 82-46=36, Resulting Numbers: [41, 7, 36] Generated Node #0,0: 51:[41, 7, 36] Operation: 82-46=36 Exploring Operation: 41+7=48, Resulting Numbers: [46, 82, 48] Generated Node #0,1: 51:[46, 82, 48] Operation: 41+7=48 Exploring Operation: 82/41=2, Resulting Numbers: [46, 7, 2] Generated Node #0,2: 51:[46, 7, 2] Operation: 82/41=2 Exploring Operation: 82-41=41, Resulting Numbers: [46, 7, 41] Generated Node #0,3: 51:[46, 7, 41] Operation: 82-41=41 Exploring Operation: 46-41=5, Resulting Numbers: [7, 82, 5] Generated Node #0,4: 51:[7, 82, 5] Operation: 46-41=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[46, 7, 2], Operations: ['82/41=2'] Exploring Operation: 46/2=23, Resulting Numbers: [7, 23] Generated Node #0,2,0: 51:[7, 23] Operation: 46/2=23 Exploring Operation: 7*2=14, Resulting Numbers: [46, 14] Generated Node #0,2,1: 51:[46, 14] Operation: 7*2=14 Exploring Operation: 7-2=5, Resulting Numbers: [46, 5] Generated Node #0,2,2: 51:[46, 5] Operation: 7-2=5 Exploring Operation: 46+7=53, Resulting Numbers: [2, 53] Generated Node #0,2,3: 51:[2, 53] Operation: 46+7=53 Exploring Operation: 46+2=48, Resulting Numbers: [7, 48] Generated Node #0,2,4: 51:[7, 48] Operation: 46+2=48 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 51:[2, 53], Operations: ['82/41=2', '46+7=53'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[41, 46, 7, 82], Operations: [] Exploring Operation: 82/41=2, Resulting Numbers: [46, 7, 2] Generated Node #0,2: 51:[46, 7, 2] Operation: 82/41=2 Moving to Node #0,2 Current State: 51:[46, 7, 2], Operations: ['82/41=2'] Exploring Operation: 46+7=53, Resulting Numbers: [2, 53] Generated Node #0,2,3: 51:[2, 53] Operation: 46+7=53 Moving to Node #0,2,3 Current State: 51:[2, 53], Operations: ['82/41=2', '46+7=53'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 75, 2, 77, 57 ]
97
[ "75+2=77", "77-57=20", "77+20=97" ]
Current State: 97:[75, 2, 77, 57], Operations: [] Exploring Operation: 75+2=77, Resulting Numbers: [77, 57, 77] Generated Node #2: [77, 57, 77] from Operation: 75+2=77 Current State: 97:[77, 57, 77], Operations: ['75+2=77'] Exploring Operation: 77-57=20, Resulting Numbers: [20] 20,97 equal: Goal Reached Exploring Operation: 77+20=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[75, 2, 77, 57], Operations: [] Exploring Operation: 2*57=114, Resulting Numbers: [75, 77, 114] Generated Node #0,0: 97:[75, 77, 114] Operation: 2*57=114 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[75, 77, 114], Operations: ['2*57=114'] Exploring Operation: 75+77=152, Resulting Numbers: [114, 152] Generated Node #0,0,0: 97:[114, 152] Operation: 75+77=152 Moving to Node #0,0,0 Current State: 97:[114, 152], Operations: ['2*57=114', '75+77=152'] Exploring Operation: 152-114=38, Resulting Numbers: [38] 38,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 6, 23, 63, 70 ]
96
[ "23+63=86", "86-70=16", "6*16=96" ]
Current State: 96:[6, 23, 63, 70], Operations: [] Exploring Operation: 23+63=86, Resulting Numbers: [6, 70, 86] Generated Node #2: [6, 70, 86] from Operation: 23+63=86 Current State: 96:[6, 70, 86], Operations: ['23+63=86'] Exploring Operation: 86-70=16, Resulting Numbers: [6, 16] Generated Node #3: [6, 16] from Operation: 86-70=16 Current State: 96:[6, 16], Operations: ['23+63=86', '86-70=16'] Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[6, 23, 63, 70], Operations: [] Exploring Operation: 70-63=7, Resulting Numbers: [6, 23, 7] Generated Node #0,0: 96:[6, 23, 7] Operation: 70-63=7 Moving to Node #0,0 Current State: 96:[6, 23, 7], Operations: ['70-63=7'] Exploring Operation: 23-7=16, Resulting Numbers: [6, 16] Generated Node #0,0,0: 96:[6, 16] Operation: 23-7=16 Moving to Node #0,0,0 Current State: 96:[6, 16], Operations: ['70-63=7', '23-7=16'] Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[6, 23, 63, 70], Operations: [] Exploring Operation: 70-63=7, Resulting Numbers: [6, 23, 7] Generated Node #0,0: 96:[6, 23, 7] Operation: 70-63=7 Moving to Node #0,0 Current State: 96:[6, 23, 7], Operations: ['70-63=7'] Exploring Operation: 23-7=16, Resulting Numbers: [6, 16] Generated Node #0,0,0: 96:[6, 16] Operation: 23-7=16 Moving to Node #0,0,0 Current State: 96:[6, 16], Operations: ['70-63=7', '23-7=16'] Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 34, 81, 51, 48 ]
49
[ "34*48=1632", "1632/51=32", "81-32=49" ]
Current State: 49:[34, 81, 51, 48], Operations: [] Exploring Operation: 34*48=1632, Resulting Numbers: [81, 51, 1632] Generated Node #2: [81, 51, 1632] from Operation: 34*48=1632 Current State: 49:[81, 51, 1632], Operations: ['34*48=1632'] Exploring Operation: 1632/51=32, Resulting Numbers: [81, 32] Generated Node #3: [81, 32] from Operation: 1632/51=32 Current State: 49:[81, 32], Operations: ['34*48=1632', '1632/51=32'] Exploring Operation: 81-32=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[34, 81, 51, 48], Operations: [] Exploring Operation: 81-34=47, Resulting Numbers: [51, 48, 47] Generated Node #0,0: 49:[51, 48, 47] Operation: 81-34=47 Exploring Operation: 81-48=33, Resulting Numbers: [34, 51, 33] Generated Node #0,1: 49:[34, 51, 33] Operation: 81-48=33 Exploring Operation: 81-51=30, Resulting Numbers: [34, 48, 30] Generated Node #0,2: 49:[34, 48, 30] Operation: 81-51=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[51, 48, 47], Operations: ['81-34=47'] Exploring Operation: 51-47=4, Resulting Numbers: [48, 4] Generated Node #0,0,0: 49:[48, 4] Operation: 51-47=4 Exploring Operation: 51-48=3, Resulting Numbers: [47, 3] Generated Node #0,0,1: 49:[47, 3] Operation: 51-48=3 Exploring Operation: 48-47=1, Resulting Numbers: [51, 1] Generated Node #0,0,2: 49:[51, 1] Operation: 48-47=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[48, 4], Operations: ['81-34=47', '51-47=4'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[47, 3], Operations: ['81-34=47', '51-48=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 47*3=141, Resulting Numbers: [141] 141,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 49:[51, 1], Operations: ['81-34=47', '48-47=1'] Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,49 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: 49:[34, 51, 33], Operations: ['81-48=33'] Exploring Operation: 51-34=17, Resulting Numbers: [33, 17] Generated Node #0,1,0: 49:[33, 17] Operation: 51-34=17 Exploring Operation: 34-33=1, Resulting Numbers: [51, 1] Generated Node #0,1,1: 49:[51, 1] Operation: 34-33=1 Exploring Operation: 34+33=67, Resulting Numbers: [51, 67] Generated Node #0,1,2: 49:[51, 67] Operation: 34+33=67 Moving to Node #0,1,1 Current State: 49:[51, 1], Operations: ['81-48=33', '34-33=1'] Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[51, 67], Operations: ['81-48=33', '34+33=67'] Exploring Operation: 51*67=3417, Resulting Numbers: [3417] 3417,49 unequal: No Solution Exploring Operation: 67-51=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 51+67=118, Resulting Numbers: [118] 118,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[33, 17], Operations: ['81-48=33', '51-34=17'] Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 33+17=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 33*17=561, Resulting Numbers: [561] 561,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[34, 48, 30], Operations: ['81-51=30'] Exploring Operation: 34-30=4, Resulting Numbers: [48, 4] Generated Node #0,2,0: 49:[48, 4] Operation: 34-30=4 Exploring Operation: 34+30=64, Resulting Numbers: [48, 64] Generated Node #0,2,1: 49:[48, 64] Operation: 34+30=64 Exploring Operation: 48-34=14, Resulting Numbers: [30, 14] Generated Node #0,2,2: 49:[30, 14] Operation: 48-34=14 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 49:[48, 4], Operations: ['81-51=30', '34-30=4'] Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,49 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 49:[48, 64], Operations: ['81-51=30', '34+30=64'] Exploring Operation: 48*64=3072, Resulting Numbers: [3072] 3072,49 unequal: No Solution Exploring Operation: 48+64=112, Resulting Numbers: [112] 112,49 unequal: No Solution Exploring Operation: 64-48=16, Resulting Numbers: [16] 16,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 49:[30, 14], Operations: ['81-51=30', '48-34=14'] Exploring Operation: 30+14=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 30*14=420, Resulting Numbers: [420] 420,49 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
[ 28, 77, 2, 25 ]
38
[ "28/2=14", "77-25=52", "52-14=38" ]
Current State: 38:[28, 77, 2, 25], Operations: [] Exploring Operation: 28/2=14, Resulting Numbers: [77, 25, 14] Generated Node #2: [77, 25, 14] from Operation: 28/2=14 Current State: 38:[77, 25, 14], Operations: ['28/2=14'] Exploring Operation: 77-25=52, Resulting Numbers: [14, 52] Generated Node #3: [14, 52] from Operation: 77-25=52 Current State: 38:[14, 52], Operations: ['28/2=14', '77-25=52'] Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[28, 77, 2, 25], Operations: [] Exploring Operation: 28/2=14, Resulting Numbers: [77, 25, 14] Generated Node #0,0: 38:[77, 25, 14] Operation: 28/2=14 Exploring Operation: 28-25=3, Resulting Numbers: [77, 2, 3] Generated Node #0,1: 38:[77, 2, 3] Operation: 28-25=3 Exploring Operation: 77-28=49, Resulting Numbers: [2, 25, 49] Generated Node #0,2: 38:[2, 25, 49] Operation: 77-28=49 Exploring Operation: 77-25=52, Resulting Numbers: [28, 2, 52] Generated Node #0,3: 38:[28, 2, 52] Operation: 77-25=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[2, 25, 49], Operations: ['77-28=49'] Exploring Operation: 49-25=24, Resulting Numbers: [2, 24] Generated Node #0,2,0: 38:[2, 24] Operation: 49-25=24 Exploring Operation: 49-2=47, Resulting Numbers: [25, 47] Generated Node #0,2,1: 38:[25, 47] Operation: 49-2=47 Exploring Operation: 25-2=23, Resulting Numbers: [49, 23] Generated Node #0,2,2: 38:[49, 23] Operation: 25-2=23 Exploring Operation: 2+25=27, Resulting Numbers: [49, 27] Generated Node #0,2,3: 38:[49, 27] Operation: 2+25=27 Moving to Node #0,2,0 Current State: 38:[2, 24], Operations: ['77-28=49', '49-25=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,38 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,38 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[49, 23], Operations: ['77-28=49', '25-2=23'] Exploring Operation: 49*23=1127, Resulting Numbers: [1127] 1127,38 unequal: No Solution Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,38 unequal: No Solution Exploring Operation: 49+23=72, Resulting Numbers: [72] 72,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[25, 47], Operations: ['77-28=49', '49-2=47'] Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,38 unequal: No Solution Exploring Operation: 25*47=1175, Resulting Numbers: [1175] 1175,38 unequal: No Solution Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,38 unequal: No Solution Moving to Node #0,2,3 Current State: 38:[49, 27], Operations: ['77-28=49', '2+25=27'] Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,38 unequal: No Solution Exploring Operation: 49*27=1323, Resulting Numbers: [1323] 1323,38 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 38:[28, 2, 52], Operations: ['77-25=52'] Exploring Operation: 52-28=24, Resulting Numbers: [2, 24] Generated Node #0,3,0: 38:[2, 24] Operation: 52-28=24 Exploring Operation: 28-2=26, Resulting Numbers: [52, 26] Generated Node #0,3,1: 38:[52, 26] Operation: 28-2=26 Exploring Operation: 28/2=14, Resulting Numbers: [52, 14] Generated Node #0,3,2: 38:[52, 14] Operation: 28/2=14 Exploring Operation: 52/2=26, Resulting Numbers: [28, 26] Generated Node #0,3,3: 38:[28, 26] Operation: 52/2=26 Moving to Node #0,3,0 Current State: 38:[2, 24], Operations: ['77-25=52', '52-28=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,38 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,38 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,38 unequal: No Solution Moving to Node #0,3,3 Current State: 38:[28, 26], Operations: ['77-25=52', '52/2=26'] Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,38 unequal: No Solution Exploring Operation: 28*26=728, Resulting Numbers: [728] 728,38 unequal: No Solution Moving to Node #0,3,2 Current State: 38:[52, 14], Operations: ['77-25=52', '28/2=14'] Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[28, 77, 2, 25], Operations: [] Exploring Operation: 77-25=52, Resulting Numbers: [28, 2, 52] Generated Node #0,3: 38:[28, 2, 52] Operation: 77-25=52 Moving to Node #0,3 Current State: 38:[28, 2, 52], Operations: ['77-25=52'] Exploring Operation: 28/2=14, Resulting Numbers: [52, 14] Generated Node #0,3,2: 38:[52, 14] Operation: 28/2=14 Moving to Node #0,3,2 Current State: 38:[52, 14], Operations: ['77-25=52', '28/2=14'] Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 35, 22, 44, 28 ]
15
[ "35+22=57", "44+28=72", "72-57=15" ]
Current State: 15:[35, 22, 44, 28], Operations: [] Exploring Operation: 35+22=57, Resulting Numbers: [44, 28, 57] Generated Node #2: [44, 28, 57] from Operation: 35+22=57 Current State: 15:[44, 28, 57], Operations: ['35+22=57'] Exploring Operation: 44+28=72, Resulting Numbers: [57, 72] Generated Node #3: [57, 72] from Operation: 44+28=72 Current State: 15:[57, 72], Operations: ['35+22=57', '44+28=72'] Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[35, 22, 44, 28], Operations: [] Exploring Operation: 44-28=16, Resulting Numbers: [35, 22, 16] Generated Node #0,0: 15:[35, 22, 16] Operation: 44-28=16 Exploring Operation: 44-35=9, Resulting Numbers: [22, 28, 9] Generated Node #0,1: 15:[22, 28, 9] Operation: 44-35=9 Exploring Operation: 35-28=7, Resulting Numbers: [22, 44, 7] Generated Node #0,2: 15:[22, 44, 7] Operation: 35-28=7 Exploring Operation: 44/22=2, Resulting Numbers: [35, 28, 2] Generated Node #0,3: 15:[35, 28, 2] Operation: 44/22=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[22, 28, 9], Operations: ['44-35=9'] Exploring Operation: 22+9=31, Resulting Numbers: [28, 31] Generated Node #0,1,0: 15:[28, 31] Operation: 22+9=31 Exploring Operation: 22-9=13, Resulting Numbers: [28, 13] Generated Node #0,1,1: 15:[28, 13] Operation: 22-9=13 Exploring Operation: 28-9=19, Resulting Numbers: [22, 19] Generated Node #0,1,2: 15:[22, 19] Operation: 28-9=19 Exploring Operation: 28-22=6, Resulting Numbers: [9, 6] Generated Node #0,1,3: 15:[9, 6] Operation: 28-22=6 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 15:[9, 6], Operations: ['44-35=9', '28-22=6'] Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[35, 22, 44, 28], Operations: [] Exploring Operation: 44-35=9, Resulting Numbers: [22, 28, 9] Generated Node #0,1: 15:[22, 28, 9] Operation: 44-35=9 Moving to Node #0,1 Current State: 15:[22, 28, 9], Operations: ['44-35=9'] Exploring Operation: 28-22=6, Resulting Numbers: [9, 6] Generated Node #0,1,3: 15:[9, 6] Operation: 28-22=6 Moving to Node #0,1,3 Current State: 15:[9, 6], Operations: ['44-35=9', '28-22=6'] Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 84, 30, 72, 21 ]
63
[ "84+30=114", "72-21=51", "114-51=63" ]
Current State: 63:[84, 30, 72, 21], Operations: [] Exploring Operation: 84+30=114, Resulting Numbers: [72, 21, 114] Generated Node #2: [72, 21, 114] from Operation: 84+30=114 Current State: 63:[72, 21, 114], Operations: ['84+30=114'] Exploring Operation: 72-21=51, Resulting Numbers: [114, 51] Generated Node #3: [114, 51] from Operation: 72-21=51 Current State: 63:[114, 51], Operations: ['84+30=114', '72-21=51'] Exploring Operation: 114-51=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[84, 30, 72, 21], Operations: [] Exploring Operation: 84-72=12, Resulting Numbers: [30, 21, 12] Generated Node #0,0: 63:[30, 21, 12] Operation: 84-72=12 Exploring Operation: 84-30=54, Resulting Numbers: [72, 21, 54] Generated Node #0,1: 63:[72, 21, 54] Operation: 84-30=54 Exploring Operation: 84-21=63, Resulting Numbers: [30, 72, 63] Generated Node #0,2: 63:[30, 72, 63] Operation: 84-21=63 Exploring Operation: 84/21=4, Resulting Numbers: [30, 72, 4] Generated Node #0,3: 63:[30, 72, 4] Operation: 84/21=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[30, 21, 12], Operations: ['84-72=12'] Exploring Operation: 21-12=9, Resulting Numbers: [30, 9] Generated Node #0,0,0: 63:[30, 9] Operation: 21-12=9 Exploring Operation: 30+21=51, Resulting Numbers: [12, 51] Generated Node #0,0,1: 63:[12, 51] Operation: 30+21=51 Exploring Operation: 30-12=18, Resulting Numbers: [21, 18] Generated Node #0,0,2: 63:[21, 18] Operation: 30-12=18 Exploring Operation: 30-21=9, Resulting Numbers: [12, 9] Generated Node #0,0,3: 63:[12, 9] Operation: 30-21=9 Moving to Node #0,0,2 Current State: 63:[21, 18], Operations: ['84-72=12', '30-12=18'] Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,63 unequal: No Solution Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,63 unequal: No Solution Moving to Node #0,0,3 Current State: 63:[12, 9], Operations: ['84-72=12', '30-21=9'] Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,63 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[30, 9], Operations: ['84-72=12', '21-12=9'] Exploring Operation: 30*9=270, Resulting Numbers: [270] 270,63 unequal: No Solution Exploring Operation: 30+9=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[12, 51], Operations: ['84-72=12', '30+21=51'] Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 12*51=612, Resulting Numbers: [612] 612,63 unequal: No Solution Exploring Operation: 12+51=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[84, 30, 72, 21], Operations: [] Exploring Operation: 84-72=12, Resulting Numbers: [30, 21, 12] Generated Node #0,0: 63:[30, 21, 12] Operation: 84-72=12 Moving to Node #0,0 Current State: 63:[30, 21, 12], Operations: ['84-72=12'] Exploring Operation: 30+21=51, Resulting Numbers: [12, 51] Generated Node #0,0,1: 63:[12, 51] Operation: 30+21=51 Moving to Node #0,0,1 Current State: 63:[12, 51], Operations: ['84-72=12', '30+21=51'] Exploring Operation: 12+51=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 37, 13, 22, 7 ]
32
[ "37+22=59", "13*7=91", "91-59=32" ]
Current State: 32:[37, 13, 22, 7], Operations: [] Exploring Operation: 37+22=59, Resulting Numbers: [13, 7, 59] Generated Node #2: [13, 7, 59] from Operation: 37+22=59 Current State: 32:[13, 7, 59], Operations: ['37+22=59'] Exploring Operation: 13*7=91, Resulting Numbers: [59, 91] Generated Node #3: [59, 91] from Operation: 13*7=91 Current State: 32:[59, 91], Operations: ['37+22=59', '13*7=91'] Exploring Operation: 91-59=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[37, 13, 22, 7], Operations: [] Exploring Operation: 37-22=15, Resulting Numbers: [13, 7, 15] Generated Node #0,0: 32:[13, 7, 15] Operation: 37-22=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[13, 7, 15], Operations: ['37-22=15'] Exploring Operation: 15-13=2, Resulting Numbers: [7, 2] Generated Node #0,0,0: 32:[7, 2] Operation: 15-13=2 Moving to Node #0,0,0 Current State: 32:[7, 2], Operations: ['37-22=15', '15-13=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,32 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
[ 78, 50, 70, 19 ]
79
[ "78-50=28", "70-19=51", "28+51=79" ]
Current State: 79:[78, 50, 70, 19], Operations: [] Exploring Operation: 78-50=28, Resulting Numbers: [70, 19, 28] Generated Node #2: [70, 19, 28] from Operation: 78-50=28 Current State: 79:[70, 19, 28], Operations: ['78-50=28'] Exploring Operation: 70-19=51, Resulting Numbers: [28, 51] Generated Node #3: [28, 51] from Operation: 70-19=51 Current State: 79:[28, 51], Operations: ['78-50=28', '70-19=51'] Exploring Operation: 28+51=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[78, 50, 70, 19], Operations: [] Exploring Operation: 70+19=89, Resulting Numbers: [78, 50, 89] Generated Node #0,0: 79:[78, 50, 89] Operation: 70+19=89 Exploring Operation: 50+19=69, Resulting Numbers: [78, 70, 69] Generated Node #0,1: 79:[78, 70, 69] Operation: 50+19=69 Moving to Node #0,1 Current State: 79:[78, 70, 69], Operations: ['50+19=69'] Exploring Operation: 70+69=139, Resulting Numbers: [78, 139] Generated Node #0,1,0: 79:[78, 139] Operation: 70+69=139 Exploring Operation: 78+69=147, Resulting Numbers: [70, 147] Generated Node #0,1,1: 79:[70, 147] Operation: 78+69=147 Moving to Node #0,0 Current State: 79:[78, 50, 89], Operations: ['70+19=89'] Exploring Operation: 78+50=128, Resulting Numbers: [89, 128] Generated Node #0,0,0: 79:[89, 128] Operation: 78+50=128 Exploring Operation: 89-50=39, Resulting Numbers: [78, 39] Generated Node #0,0,1: 79:[78, 39] Operation: 89-50=39 Moving to Node #0,0,1 Current State: 79:[78, 39], Operations: ['70+19=89', '89-50=39'] Exploring Operation: 78+39=117, Resulting Numbers: [117] 117,79 unequal: No Solution Exploring Operation: 78-39=39, Resulting Numbers: [39] 39,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[89, 128], Operations: ['70+19=89', '78+50=128'] Exploring Operation: 89+128=217, Resulting Numbers: [217] 217,79 unequal: No Solution Exploring Operation: 128-89=39, Resulting Numbers: [39] 39,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[78, 139], Operations: ['50+19=69', '70+69=139'] Exploring Operation: 78+139=217, Resulting Numbers: [217] 217,79 unequal: No Solution Exploring Operation: 139-78=61, Resulting Numbers: [61] 61,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[70, 147], Operations: ['50+19=69', '78+69=147'] Exploring Operation: 70+147=217, Resulting Numbers: [217] 217,79 unequal: No Solution Exploring Operation: 147-70=77, Resulting Numbers: [77] 77,79 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 37, 74, 63, 40 ]
95
[ "40-37=3", "63/3=21", "74+21=95" ]
Current State: 95:[37, 74, 63, 40], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [74, 63, 3] Generated Node #2: [74, 63, 3] from Operation: 40-37=3 Current State: 95:[74, 63, 3], Operations: ['40-37=3'] Exploring Operation: 63/3=21, Resulting Numbers: [74, 21] Generated Node #3: [74, 21] from Operation: 63/3=21 Current State: 95:[74, 21], Operations: ['40-37=3', '63/3=21'] Exploring Operation: 74+21=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[37, 74, 63, 40], Operations: [] Exploring Operation: 37+63=100, Resulting Numbers: [74, 40, 100] Generated Node #0,0: 95:[74, 40, 100] Operation: 37+63=100 Exploring Operation: 63+40=103, Resulting Numbers: [37, 74, 103] Generated Node #0,1: 95:[37, 74, 103] Operation: 63+40=103 Exploring Operation: 74-63=11, Resulting Numbers: [37, 40, 11] Generated Node #0,2: 95:[37, 40, 11] Operation: 74-63=11 Exploring Operation: 63-40=23, Resulting Numbers: [37, 74, 23] Generated Node #0,3: 95:[37, 74, 23] Operation: 63-40=23 Start Sub Search at level 1: Moving to Node #0,3 Current State: 95:[37, 74, 23], Operations: ['63-40=23'] Exploring Operation: 74/37=2, Resulting Numbers: [23, 2] Generated Node #0,3,0: 95:[23, 2] Operation: 74/37=2 Exploring Operation: 74+23=97, Resulting Numbers: [37, 97] Generated Node #0,3,1: 95:[37, 97] Operation: 74+23=97 Exploring Operation: 37+74=111, Resulting Numbers: [23, 111] Generated Node #0,3,2: 95:[23, 111] Operation: 37+74=111 Exploring Operation: 74-37=37, Resulting Numbers: [23, 37] Generated Node #0,3,3: 95:[23, 37] Operation: 74-37=37 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 95:[23, 2], Operations: ['63-40=23', '74/37=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,95 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,95 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,95 unequal: No Solution No 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: 95:[37, 97], Operations: ['63-40=23', '74+23=97'] Exploring Operation: 97-37=60, Resulting Numbers: [60] 60,95 unequal: No Solution Exploring Operation: 37*97=3589, Resulting Numbers: [3589] 3589,95 unequal: No Solution Exploring Operation: 37+97=134, Resulting Numbers: [134] 134,95 unequal: No Solution No 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: 95:[23, 111], Operations: ['63-40=23', '37+74=111'] Exploring Operation: 23*111=2553, Resulting Numbers: [2553] 2553,95 unequal: No Solution Exploring Operation: 111-23=88, Resulting Numbers: [88] 88,95 unequal: No Solution Exploring Operation: 23+111=134, Resulting Numbers: [134] 134,95 unequal: No Solution No 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: 95:[23, 37], Operations: ['63-40=23', '74-37=37'] Exploring Operation: 23*37=851, Resulting Numbers: [851] 851,95 unequal: No Solution Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 23+37=60, Resulting Numbers: [60] 60,95 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: 95:[37, 40, 11], Operations: ['74-63=11'] Exploring Operation: 37-11=26, Resulting Numbers: [40, 26] Generated Node #0,2,0: 95:[40, 26] Operation: 37-11=26 Exploring Operation: 40-11=29, Resulting Numbers: [37, 29] Generated Node #0,2,1: 95:[37, 29] Operation: 40-11=29 Exploring Operation: 37+40=77, Resulting Numbers: [11, 77] Generated Node #0,2,2: 95:[11, 77] Operation: 37+40=77 Exploring Operation: 40-37=3, Resulting Numbers: [11, 3] Generated Node #0,2,3: 95:[11, 3] Operation: 40-37=3 Moving to Node #0,2,3 Current State: 95:[11, 3], Operations: ['74-63=11', '40-37=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,95 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[11, 77], Operations: ['74-63=11', '37+40=77'] Exploring Operation: 11+77=88, Resulting Numbers: [88] 88,95 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,95 unequal: No Solution Exploring Operation: 11*77=847, Resulting Numbers: [847] 847,95 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,95 unequal: No Solution Moving to Node #0,2,1 Current State: 95:[37, 29], Operations: ['74-63=11', '40-11=29'] Exploring Operation: 37*29=1073, Resulting Numbers: [1073] 1073,95 unequal: No Solution Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,95 unequal: No Solution Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[40, 26], Operations: ['74-63=11', '37-11=26'] Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 40+26=66, Resulting Numbers: [66] 66,95 unequal: No Solution Exploring Operation: 40*26=1040, Resulting Numbers: [1040] 1040,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,0 Current State: 95:[74, 40, 100], Operations: ['37+63=100'] Exploring Operation: 74-40=34, Resulting Numbers: [100, 34] Generated Node #0,0,0: 95:[100, 34] Operation: 74-40=34 Exploring Operation: 100-74=26, Resulting Numbers: [40, 26] Generated Node #0,0,1: 95:[40, 26] Operation: 100-74=26 Exploring Operation: 100-40=60, Resulting Numbers: [74, 60] Generated Node #0,0,2: 95:[74, 60] Operation: 100-40=60 Exploring Operation: 74+40=114, Resulting Numbers: [100, 114] Generated Node #0,0,3: 95:[100, 114] Operation: 74+40=114 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[100, 34], Operations: ['37+63=100', '74-40=34'] Exploring Operation: 100*34=3400, Resulting Numbers: [3400] 3400,95 unequal: No Solution Exploring Operation: 100-34=66, Resulting Numbers: [66] 66,95 unequal: No Solution Exploring Operation: 100+34=134, Resulting Numbers: [134] 134,95 unequal: No Solution No 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: 95:[100, 114], Operations: ['37+63=100', '74+40=114'] Exploring Operation: 100+114=214, Resulting Numbers: [214] 214,95 unequal: No Solution Exploring Operation: 100*114=11400, Resulting Numbers: [11400] 11400,95 unequal: No Solution Exploring Operation: 114-100=14, Resulting Numbers: [14] 14,95 unequal: No Solution No 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: 95:[40, 26], Operations: ['37+63=100', '100-74=26'] Exploring Operation: 40+26=66, Resulting Numbers: [66] 66,95 unequal: No Solution Exploring Operation: 40*26=1040, Resulting Numbers: [1040] 1040,95 unequal: No Solution Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,95 unequal: No Solution No 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: 95:[74, 60], Operations: ['37+63=100', '100-40=60'] Exploring Operation: 74-60=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 74+60=134, Resulting Numbers: [134] 134,95 unequal: No Solution Exploring Operation: 74*60=4440, Resulting Numbers: [4440] 4440,95 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: 95:[37, 74, 103], Operations: ['63+40=103'] Exploring Operation: 74-37=37, Resulting Numbers: [103, 37] Generated Node #0,1,0: 95:[103, 37] Operation: 74-37=37 Exploring Operation: 103-74=29, Resulting Numbers: [37, 29] Generated Node #0,1,1: 95:[37, 29] Operation: 103-74=29 Exploring Operation: 37+74=111, Resulting Numbers: [103, 111] Generated Node #0,1,2: 95:[103, 111] Operation: 37+74=111 Exploring Operation: 74/37=2, Resulting Numbers: [103, 2] Generated Node #0,1,3: 95:[103, 2] Operation: 74/37=2 Moving to Node #0,1,3 Current State: 95:[103, 2], Operations: ['63+40=103', '74/37=2'] Exploring Operation: 103-2=101, Resulting Numbers: [101] 101,95 unequal: No Solution Exploring Operation: 103+2=105, Resulting Numbers: [105] 105,95 unequal: No Solution Exploring Operation: 103*2=206, Resulting Numbers: [206] 206,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[103, 111], Operations: ['63+40=103', '37+74=111'] Exploring Operation: 111-103=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 103+111=214, Resulting Numbers: [214] 214,95 unequal: No Solution Exploring Operation: 103*111=11433, Resulting Numbers: [11433] 11433,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[103, 37], Operations: ['63+40=103', '74-37=37'] Exploring Operation: 103*37=3811, Resulting Numbers: [3811] 3811,95 unequal: No Solution Exploring Operation: 103+37=140, Resulting Numbers: [140] 140,95 unequal: No Solution Exploring Operation: 103-37=66, Resulting Numbers: [66] 66,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[37, 29], Operations: ['63+40=103', '103-74=29'] Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,95 unequal: No Solution Exploring Operation: 37*29=1073, Resulting Numbers: [1073] 1073,95 unequal: No Solution Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 28, 56, 88, 71 ]
45
[ "56-28=28", "88-71=17", "28+17=45" ]
Current State: 45:[28, 56, 88, 71], Operations: [] Exploring Operation: 56-28=28, Resulting Numbers: [88, 71, 28] Generated Node #2: [88, 71, 28] from Operation: 56-28=28 Current State: 45:[88, 71, 28], Operations: ['56-28=28'] Exploring Operation: 88-71=17, Resulting Numbers: [28, 17] Generated Node #3: [28, 17] from Operation: 88-71=17 Current State: 45:[28, 17], Operations: ['56-28=28', '88-71=17'] Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[28, 56, 88, 71], Operations: [] Exploring Operation: 88-71=17, Resulting Numbers: [28, 56, 17] Generated Node #0,0: 45:[28, 56, 17] Operation: 88-71=17 Moving to Node #0,0 Current State: 45:[28, 56, 17], Operations: ['88-71=17'] Exploring Operation: 56/28=2, Resulting Numbers: [17, 2] Generated Node #0,0,0: 45:[17, 2] Operation: 56/28=2 Moving to Node #0,0,0 Current State: 45:[17, 2], Operations: ['88-71=17', '56/28=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,45 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 60, 93, 46, 41 ]
54
[ "93-60=33", "46+41=87", "87-33=54" ]
Current State: 54:[60, 93, 46, 41], Operations: [] Exploring Operation: 93-60=33, Resulting Numbers: [46, 41, 33] Generated Node #2: [46, 41, 33] from Operation: 93-60=33 Current State: 54:[46, 41, 33], Operations: ['93-60=33'] Exploring Operation: 46+41=87, Resulting Numbers: [33, 87] Generated Node #3: [33, 87] from Operation: 46+41=87 Current State: 54:[33, 87], Operations: ['93-60=33', '46+41=87'] Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[60, 93, 46, 41], Operations: [] Exploring Operation: 93-46=47, Resulting Numbers: [60, 41, 47] Generated Node #0,0: 54:[60, 41, 47] Operation: 93-46=47 Exploring Operation: 93-41=52, Resulting Numbers: [60, 46, 52] Generated Node #0,1: 54:[60, 46, 52] Operation: 93-41=52 Moving to Node #0,1 Current State: 54:[60, 46, 52], Operations: ['93-41=52'] Exploring Operation: 60-46=14, Resulting Numbers: [52, 14] Generated Node #0,1,0: 54:[52, 14] Operation: 60-46=14 Exploring Operation: 52-46=6, Resulting Numbers: [60, 6] Generated Node #0,1,1: 54:[60, 6] Operation: 52-46=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 54:[52, 14], Operations: ['93-41=52', '60-46=14'] Exploring Operation: 52+14=66, Resulting Numbers: [66] 66,54 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 54:[60, 6], Operations: ['93-41=52', '52-46=6'] Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[60, 93, 46, 41], Operations: [] Exploring Operation: 93-41=52, Resulting Numbers: [60, 46, 52] Generated Node #0,1: 54:[60, 46, 52] Operation: 93-41=52 Moving to Node #0,1 Current State: 54:[60, 46, 52], Operations: ['93-41=52'] Exploring Operation: 52-46=6, Resulting Numbers: [60, 6] Generated Node #0,1,1: 54:[60, 6] Operation: 52-46=6 Moving to Node #0,1,1 Current State: 54:[60, 6], Operations: ['93-41=52', '52-46=6'] Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 61, 96, 66, 64 ]
13
[ "66-64=2", "96/2=48", "61-48=13" ]
Current State: 13:[61, 96, 66, 64], Operations: [] Exploring Operation: 66-64=2, Resulting Numbers: [61, 96, 2] Generated Node #2: [61, 96, 2] from Operation: 66-64=2 Current State: 13:[61, 96, 2], Operations: ['66-64=2'] Exploring Operation: 96/2=48, Resulting Numbers: [61, 48] Generated Node #3: [61, 48] from Operation: 96/2=48 Current State: 13:[61, 48], Operations: ['66-64=2', '96/2=48'] Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[61, 96, 66, 64], Operations: [] Exploring Operation: 96-64=32, Resulting Numbers: [61, 66, 32] Generated Node #0,0: 13:[61, 66, 32] Operation: 96-64=32 Exploring Operation: 96-61=35, Resulting Numbers: [66, 64, 35] Generated Node #0,1: 13:[66, 64, 35] Operation: 96-61=35 Exploring Operation: 66-61=5, Resulting Numbers: [96, 64, 5] Generated Node #0,2: 13:[96, 64, 5] Operation: 66-61=5 Exploring Operation: 96-66=30, Resulting Numbers: [61, 64, 30] Generated Node #0,3: 13:[61, 64, 30] Operation: 96-66=30 Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[61, 64, 30], Operations: ['96-66=30'] Exploring Operation: 61-30=31, Resulting Numbers: [64, 31] Generated Node #0,3,0: 13:[64, 31] Operation: 61-30=31 Exploring Operation: 64-30=34, Resulting Numbers: [61, 34] Generated Node #0,3,1: 13:[61, 34] Operation: 64-30=34 Exploring Operation: 61+64=125, Resulting Numbers: [30, 125] Generated Node #0,3,2: 13:[30, 125] Operation: 61+64=125 Exploring Operation: 64-61=3, Resulting Numbers: [30, 3] Generated Node #0,3,3: 13:[30, 3] Operation: 64-61=3 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 13:[30, 3], Operations: ['96-66=30', '64-61=3'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,13 unequal: No Solution Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,13 unequal: No Solution Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,13 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 13:[64, 31], Operations: ['96-66=30', '61-30=31'] Exploring Operation: 64+31=95, Resulting Numbers: [95] 95,13 unequal: No Solution Exploring Operation: 64*31=1984, Resulting Numbers: [1984] 1984,13 unequal: No Solution Exploring Operation: 64-31=33, Resulting Numbers: [33] 33,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 13:[61, 34], Operations: ['96-66=30', '64-30=34'] Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 61+34=95, Resulting Numbers: [95] 95,13 unequal: No Solution Exploring Operation: 61*34=2074, Resulting Numbers: [2074] 2074,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 13:[30, 125], Operations: ['96-66=30', '61+64=125'] Exploring Operation: 30*125=3750, Resulting Numbers: [3750] 3750,13 unequal: No Solution Exploring Operation: 125-30=95, Resulting Numbers: [95] 95,13 unequal: No Solution Exploring Operation: 30+125=155, Resulting Numbers: [155] 155,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[61, 66, 32], Operations: ['96-64=32'] Exploring Operation: 66-32=34, Resulting Numbers: [61, 34] Generated Node #0,0,0: 13:[61, 34] Operation: 66-32=34 Exploring Operation: 66-61=5, Resulting Numbers: [32, 5] Generated Node #0,0,1: 13:[32, 5] Operation: 66-61=5 Exploring Operation: 61+66=127, Resulting Numbers: [32, 127] Generated Node #0,0,2: 13:[32, 127] Operation: 61+66=127 Exploring Operation: 61-32=29, Resulting Numbers: [66, 29] Generated Node #0,0,3: 13:[66, 29] Operation: 61-32=29 Moving to Node #0,0,1 Current State: 13:[32, 5], Operations: ['96-64=32', '66-61=5'] Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,13 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,13 unequal: No Solution Moving to Node #0,0,3 Current State: 13:[66, 29], Operations: ['96-64=32', '61-32=29'] Exploring Operation: 66+29=95, Resulting Numbers: [95] 95,13 unequal: No Solution Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 66*29=1914, Resulting Numbers: [1914] 1914,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[61, 34], Operations: ['96-64=32', '66-32=34'] Exploring Operation: 61+34=95, Resulting Numbers: [95] 95,13 unequal: No Solution Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 61*34=2074, Resulting Numbers: [2074] 2074,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[32, 127], Operations: ['96-64=32', '61+66=127'] Exploring Operation: 32*127=4064, Resulting Numbers: [4064] 4064,13 unequal: No Solution Exploring Operation: 127-32=95, Resulting Numbers: [95] 95,13 unequal: No Solution Exploring Operation: 32+127=159, Resulting Numbers: [159] 159,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[66, 64, 35], Operations: ['96-61=35'] Exploring Operation: 66-35=31, Resulting Numbers: [64, 31] Generated Node #0,1,0: 13:[64, 31] Operation: 66-35=31 Exploring Operation: 66+64=130, Resulting Numbers: [35, 130] Generated Node #0,1,1: 13:[35, 130] Operation: 66+64=130 Exploring Operation: 64-35=29, Resulting Numbers: [66, 29] Generated Node #0,1,2: 13:[66, 29] Operation: 64-35=29 Exploring Operation: 66-64=2, Resulting Numbers: [35, 2] Generated Node #0,1,3: 13:[35, 2] Operation: 66-64=2 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 13:[35, 2], Operations: ['96-61=35', '66-64=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,13 unequal: No Solution Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 13:[64, 31], Operations: ['96-61=35', '66-35=31'] Exploring Operation: 64*31=1984, Resulting Numbers: [1984] 1984,13 unequal: No Solution Exploring Operation: 64-31=33, Resulting Numbers: [33] 33,13 unequal: No Solution Exploring Operation: 64+31=95, Resulting Numbers: [95] 95,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 13:[66, 29], Operations: ['96-61=35', '64-35=29'] Exploring Operation: 66+29=95, Resulting Numbers: [95] 95,13 unequal: No Solution Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 66*29=1914, Resulting Numbers: [1914] 1914,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 13:[35, 130], Operations: ['96-61=35', '66+64=130'] Exploring Operation: 35*130=4550, Resulting Numbers: [4550] 4550,13 unequal: No Solution Exploring Operation: 130-35=95, Resulting Numbers: [95] 95,13 unequal: No Solution Exploring Operation: 35+130=165, Resulting Numbers: [165] 165,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[96, 64, 5], Operations: ['66-61=5'] Exploring Operation: 96+5=101, Resulting Numbers: [64, 101] Generated Node #0,2,0: 13:[64, 101] Operation: 96+5=101 Exploring Operation: 96-64=32, Resulting Numbers: [5, 32] Generated Node #0,2,1: 13:[5, 32] Operation: 96-64=32 Exploring Operation: 96-5=91, Resulting Numbers: [64, 91] Generated Node #0,2,2: 13:[64, 91] Operation: 96-5=91 Exploring Operation: 64-5=59, Resulting Numbers: [96, 59] Generated Node #0,2,3: 13:[96, 59] Operation: 64-5=59 Moving to Node #0,2,1 Current State: 13:[5, 32], Operations: ['66-61=5', '96-64=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,13 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[96, 59], Operations: ['66-61=5', '64-5=59'] Exploring Operation: 96+59=155, Resulting Numbers: [155] 155,13 unequal: No Solution Exploring Operation: 96*59=5664, Resulting Numbers: [5664] 5664,13 unequal: No Solution Exploring Operation: 96-59=37, Resulting Numbers: [37] 37,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[64, 91], Operations: ['66-61=5', '96-5=91'] Exploring Operation: 64+91=155, Resulting Numbers: [155] 155,13 unequal: No Solution Exploring Operation: 64*91=5824, Resulting Numbers: [5824] 5824,13 unequal: No Solution Exploring Operation: 91-64=27, Resulting Numbers: [27] 27,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[64, 101], Operations: ['66-61=5', '96+5=101'] Exploring Operation: 64+101=165, Resulting Numbers: [165] 165,13 unequal: No Solution Exploring Operation: 64*101=6464, Resulting Numbers: [6464] 6464,13 unequal: No Solution Exploring Operation: 101-64=37, Resulting Numbers: [37] 37,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 40, 78, 34, 6 ]
78
[ "40+78=118", "34+6=40", "118-40=78" ]
Current State: 78:[40, 78, 34, 6], Operations: [] Exploring Operation: 40+78=118, Resulting Numbers: [34, 6, 118] Generated Node #2: [34, 6, 118] from Operation: 40+78=118 Current State: 78:[34, 6, 118], Operations: ['40+78=118'] Exploring Operation: 34+6=40, Resulting Numbers: [118, 40] Generated Node #3: [118, 40] from Operation: 34+6=40 Current State: 78:[118, 40], Operations: ['40+78=118', '34+6=40'] Exploring Operation: 118-40=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[40, 78, 34, 6], Operations: [] Exploring Operation: 34+6=40, Resulting Numbers: [40, 78, 40] Generated Node #0,0: 78:[40, 78, 40] Operation: 34+6=40 Exploring Operation: 40-34=6, Resulting Numbers: [78, 6, 6] Generated Node #0,1: 78:[78, 6, 6] Operation: 40-34=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[78, 6, 6], Operations: ['40-34=6'] Exploring Operation: 78/6=13, Resulting Numbers: [6, 13] Generated Node #0,1,0: 78:[6, 13] Operation: 78/6=13 Exploring Operation: 78/6=13, Resulting Numbers: [6, 13] Generated Node #0,1,1: 78:[6, 13] Operation: 78/6=13 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[6, 13], Operations: ['40-34=6', '78/6=13'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[40, 78, 34, 6], Operations: [] Exploring Operation: 40-34=6, Resulting Numbers: [78, 6, 6] Generated Node #0,1: 78:[78, 6, 6] Operation: 40-34=6 Moving to Node #0,1 Current State: 78:[78, 6, 6], Operations: ['40-34=6'] Exploring Operation: 78/6=13, Resulting Numbers: [6, 13] Generated Node #0,1,0: 78:[6, 13] Operation: 78/6=13 Moving to Node #0,1,0 Current State: 78:[6, 13], Operations: ['40-34=6', '78/6=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 86, 29, 2, 93 ]
44
[ "86+29=115", "115-93=22", "2*22=44" ]
Current State: 44:[86, 29, 2, 93], Operations: [] Exploring Operation: 86+29=115, Resulting Numbers: [2, 93, 115] Generated Node #2: [2, 93, 115] from Operation: 86+29=115 Current State: 44:[2, 93, 115], Operations: ['86+29=115'] Exploring Operation: 115-93=22, Resulting Numbers: [2, 22] Generated Node #3: [2, 22] from Operation: 115-93=22 Current State: 44:[2, 22], Operations: ['86+29=115', '115-93=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[86, 29, 2, 93], Operations: [] Exploring Operation: 93-86=7, Resulting Numbers: [29, 2, 7] Generated Node #0,0: 44:[29, 2, 7] Operation: 93-86=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[29, 2, 7], Operations: ['93-86=7'] Exploring Operation: 29-7=22, Resulting Numbers: [2, 22] Generated Node #0,0,0: 44:[2, 22] Operation: 29-7=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[2, 22], Operations: ['93-86=7', '29-7=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[86, 29, 2, 93], Operations: [] Exploring Operation: 93-86=7, Resulting Numbers: [29, 2, 7] Generated Node #0,0: 44:[29, 2, 7] Operation: 93-86=7 Moving to Node #0,0 Current State: 44:[29, 2, 7], Operations: ['93-86=7'] Exploring Operation: 29-7=22, Resulting Numbers: [2, 22] Generated Node #0,0,0: 44:[2, 22] Operation: 29-7=22 Moving to Node #0,0,0 Current State: 44:[2, 22], Operations: ['93-86=7', '29-7=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 8, 46, 33, 62 ]
31
[ "62-46=16", "16/8=2", "33-2=31" ]
Current State: 31:[8, 46, 33, 62], Operations: [] Exploring Operation: 62-46=16, Resulting Numbers: [8, 33, 16] Generated Node #2: [8, 33, 16] from Operation: 62-46=16 Current State: 31:[8, 33, 16], Operations: ['62-46=16'] Exploring Operation: 16/8=2, Resulting Numbers: [33, 2] Generated Node #3: [33, 2] from Operation: 16/8=2 Current State: 31:[33, 2], Operations: ['62-46=16', '16/8=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[8, 46, 33, 62], Operations: [] Exploring Operation: 62-46=16, Resulting Numbers: [8, 33, 16] Generated Node #0,0: 31:[8, 33, 16] Operation: 62-46=16 Exploring Operation: 46-8=38, Resulting Numbers: [33, 62, 38] Generated Node #0,1: 31:[33, 62, 38] Operation: 46-8=38 Exploring Operation: 62-8=54, Resulting Numbers: [46, 33, 54] Generated Node #0,2: 31:[46, 33, 54] Operation: 62-8=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[8, 33, 16], Operations: ['62-46=16'] Exploring Operation: 8+33=41, Resulting Numbers: [16, 41] Generated Node #0,0,0: 31:[16, 41] Operation: 8+33=41 Exploring Operation: 8+16=24, Resulting Numbers: [33, 24] Generated Node #0,0,1: 31:[33, 24] Operation: 8+16=24 Exploring Operation: 33-8=25, Resulting Numbers: [16, 25] Generated Node #0,0,2: 31:[16, 25] Operation: 33-8=25 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[33, 24], Operations: ['62-46=16', '8+16=24'] Exploring Operation: 33*24=792, Resulting Numbers: [792] 792,31 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,31 unequal: No Solution Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 31:[16, 25], Operations: ['62-46=16', '33-8=25'] Exploring Operation: 16*25=400, Resulting Numbers: [400] 400,31 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,31 unequal: No Solution Exploring Operation: 16+25=41, Resulting Numbers: [41] 41,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[16, 41], Operations: ['62-46=16', '8+33=41'] Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,31 unequal: No Solution Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[33, 62, 38], Operations: ['46-8=38'] Exploring Operation: 62-33=29, Resulting Numbers: [38, 29] Generated Node #0,1,0: 31:[38, 29] Operation: 62-33=29 Exploring Operation: 62-38=24, Resulting Numbers: [33, 24] Generated Node #0,1,1: 31:[33, 24] Operation: 62-38=24 Exploring Operation: 38-33=5, Resulting Numbers: [62, 5] Generated Node #0,1,2: 31:[62, 5] Operation: 38-33=5 Moving to Node #0,1,0 Current State: 31:[38, 29], Operations: ['46-8=38', '62-33=29'] Exploring Operation: 38+29=67, Resulting Numbers: [67] 67,31 unequal: No Solution Exploring Operation: 38*29=1102, Resulting Numbers: [1102] 1102,31 unequal: No Solution Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[33, 24], Operations: ['46-8=38', '62-38=24'] Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,31 unequal: No Solution Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,31 unequal: No Solution Exploring Operation: 33*24=792, Resulting Numbers: [792] 792,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[62, 5], Operations: ['46-8=38', '38-33=5'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,31 unequal: No Solution Exploring Operation: 62*5=310, Resulting Numbers: [310] 310,31 unequal: No Solution Exploring Operation: 62+5=67, Resulting Numbers: [67] 67,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[46, 33, 54], Operations: ['62-8=54'] Exploring Operation: 54-33=21, Resulting Numbers: [46, 21] Generated Node #0,2,0: 31:[46, 21] Operation: 54-33=21 Exploring Operation: 54-46=8, Resulting Numbers: [33, 8] Generated Node #0,2,1: 31:[33, 8] Operation: 54-46=8 Exploring Operation: 46-33=13, Resulting Numbers: [54, 13] Generated Node #0,2,2: 31:[54, 13] Operation: 46-33=13 Moving to Node #0,2,0 Current State: 31:[46, 21], Operations: ['62-8=54', '54-33=21'] Exploring Operation: 46+21=67, Resulting Numbers: [67] 67,31 unequal: No Solution Exploring Operation: 46*21=966, Resulting Numbers: [966] 966,31 unequal: No Solution Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[33, 8], Operations: ['62-8=54', '54-46=8'] Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,31 unequal: No Solution Exploring Operation: 33*8=264, Resulting Numbers: [264] 264,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[54, 13], Operations: ['62-8=54', '46-33=13'] Exploring Operation: 54+13=67, Resulting Numbers: [67] 67,31 unequal: No Solution Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,31 unequal: No Solution Exploring Operation: 54*13=702, Resulting Numbers: [702] 702,31 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
[ 87, 3, 64, 90 ]
65
[ "87+3=90", "90/90=1", "64+1=65" ]
Current State: 65:[87, 3, 64, 90], Operations: [] Exploring Operation: 87+3=90, Resulting Numbers: [64, 90, 90] Generated Node #2: [64, 90, 90] from Operation: 87+3=90 Current State: 65:[64, 90, 90], Operations: ['87+3=90'] Exploring Operation: 90/90=1, Resulting Numbers: [64, 1] Generated Node #3: [64, 1] from Operation: 90/90=1 Current State: 65:[64, 1], Operations: ['87+3=90', '90/90=1'] Exploring Operation: 64+1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[87, 3, 64, 90], Operations: [] Exploring Operation: 87-64=23, Resulting Numbers: [3, 90, 23] Generated Node #0,0: 65:[3, 90, 23] Operation: 87-64=23 Exploring Operation: 90-87=3, Resulting Numbers: [3, 64, 3] Generated Node #0,1: 65:[3, 64, 3] Operation: 90-87=3 Moving to Node #0,1 Current State: 65:[3, 64, 3], Operations: ['90-87=3'] Exploring Operation: 3+3=6, Resulting Numbers: [64, 6] Generated Node #0,1,0: 65:[64, 6] Operation: 3+3=6 Exploring Operation: 3+64=67, Resulting Numbers: [3, 67] Generated Node #0,1,1: 65:[3, 67] Operation: 3+64=67 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[64, 6], Operations: ['90-87=3', '3+3=6'] Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,65 unequal: No Solution Exploring Operation: 64+6=70, Resulting Numbers: [70] 70,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[3, 67], Operations: ['90-87=3', '3+64=67'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,65 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: 65:[3, 90, 23], Operations: ['87-64=23'] Exploring Operation: 90/3=30, Resulting Numbers: [23, 30] Generated Node #0,0,0: 65:[23, 30] Operation: 90/3=30 Exploring Operation: 90-23=67, Resulting Numbers: [3, 67] Generated Node #0,0,1: 65:[3, 67] Operation: 90-23=67 Moving to Node #0,0,1 Current State: 65:[3, 67], Operations: ['87-64=23', '90-23=67'] Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,65 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[23, 30], Operations: ['87-64=23', '90/3=30'] Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 23+30=53, Resulting Numbers: [53] 53,65 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 44, 16, 33, 4 ]
79
[ "44-16=28", "4*28=112", "112-33=79" ]
Current State: 79:[44, 16, 33, 4], Operations: [] Exploring Operation: 44-16=28, Resulting Numbers: [33, 4, 28] Generated Node #2: [33, 4, 28] from Operation: 44-16=28 Current State: 79:[33, 4, 28], Operations: ['44-16=28'] Exploring Operation: 4*28=112, Resulting Numbers: [33, 112] Generated Node #3: [33, 112] from Operation: 4*28=112 Current State: 79:[33, 112], Operations: ['44-16=28', '4*28=112'] Exploring Operation: 112-33=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[44, 16, 33, 4], Operations: [] Exploring Operation: 16*4=64, Resulting Numbers: [44, 33, 64] Generated Node #0,0: 79:[44, 33, 64] Operation: 16*4=64 Moving to Node #0,0 Current State: 79:[44, 33, 64], Operations: ['16*4=64'] Exploring Operation: 44+33=77, Resulting Numbers: [64, 77] Generated Node #0,0,0: 79:[64, 77] Operation: 44+33=77 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[64, 77], Operations: ['16*4=64', '44+33=77'] Exploring Operation: 64+77=141, Resulting Numbers: [141] 141,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 77, 39, 52, 39 ]
87
[ "77+39=116", "39*116=4524", "4524/52=87" ]
Current State: 87:[77, 39, 52, 39], Operations: [] Exploring Operation: 77+39=116, Resulting Numbers: [52, 116] Generated Node #2: [52, 116] from Operation: 77+39=116 Current State: 87:[52, 116], Operations: ['77+39=116'] Exploring Operation: 39*116=4524, Resulting Numbers: [52, 4524] Generated Node #3: [52, 4524] from Operation: 39*116=4524 Current State: 87:[52, 4524], Operations: ['77+39=116', '39*116=4524'] Exploring Operation: 4524/52=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[77, 39, 52, 39], Operations: [] Exploring Operation: 52-39=13, Resulting Numbers: [77, 39, 13] Generated Node #0,0: 87:[77, 39, 13] Operation: 52-39=13 Exploring Operation: 52+39=91, Resulting Numbers: [77, 39, 91] Generated Node #0,1: 87:[77, 39, 91] Operation: 52+39=91 Exploring Operation: 77-52=25, Resulting Numbers: [39, 39, 25] Generated Node #0,2: 87:[39, 39, 25] Operation: 77-52=25 Exploring Operation: 39+52=91, Resulting Numbers: [77, 39, 91] Generated Node #0,3: 87:[77, 39, 91] Operation: 39+52=91 Moving to Node #0,1 Current State: 87:[77, 39, 91], Operations: ['52+39=91'] Exploring Operation: 77-39=38, Resulting Numbers: [91, 38] Generated Node #0,1,0: 87:[91, 38] Operation: 77-39=38 Exploring Operation: 91-39=52, Resulting Numbers: [77, 52] Generated Node #0,1,1: 87:[77, 52] Operation: 91-39=52 Exploring Operation: 91-77=14, Resulting Numbers: [39, 14] Generated Node #0,1,2: 87:[39, 14] Operation: 91-77=14 Exploring Operation: 77+39=116, Resulting Numbers: [91, 116] Generated Node #0,1,3: 87:[91, 116] Operation: 77+39=116 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[91, 38], Operations: ['52+39=91', '77-39=38'] Exploring Operation: 91-38=53, Resulting Numbers: [53] 53,87 unequal: No Solution Exploring Operation: 91+38=129, Resulting Numbers: [129] 129,87 unequal: No Solution Exploring Operation: 91*38=3458, Resulting Numbers: [3458] 3458,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,2 Current State: 87:[39, 14], Operations: ['52+39=91', '91-77=14'] Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,87 unequal: No Solution Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,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:[77, 52], Operations: ['52+39=91', '91-39=52'] Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 77*52=4004, Resulting Numbers: [4004] 4004,87 unequal: No Solution Exploring Operation: 77+52=129, Resulting Numbers: [129] 129,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,3 Current State: 87:[91, 116], Operations: ['52+39=91', '77+39=116'] Exploring Operation: 116-91=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 91*116=10556, Resulting Numbers: [10556] 10556,87 unequal: No Solution Exploring Operation: 91+116=207, Resulting Numbers: [207] 207,87 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: 87:[77, 39, 91], Operations: ['39+52=91'] Exploring Operation: 91-77=14, Resulting Numbers: [39, 14] Generated Node #0,3,0: 87:[39, 14] Operation: 91-77=14 Exploring Operation: 91-39=52, Resulting Numbers: [77, 52] Generated Node #0,3,1: 87:[77, 52] Operation: 91-39=52 Exploring Operation: 77+39=116, Resulting Numbers: [91, 116] Generated Node #0,3,2: 87:[91, 116] Operation: 77+39=116 Exploring Operation: 77-39=38, Resulting Numbers: [91, 38] Generated Node #0,3,3: 87:[91, 38] Operation: 77-39=38 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 87:[91, 38], Operations: ['39+52=91', '77-39=38'] Exploring Operation: 91*38=3458, Resulting Numbers: [3458] 3458,87 unequal: No Solution Exploring Operation: 91+38=129, Resulting Numbers: [129] 129,87 unequal: No Solution Exploring Operation: 91-38=53, Resulting Numbers: [53] 53,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,3,0 Current State: 87:[39, 14], Operations: ['39+52=91', '91-77=14'] Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,87 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,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,3,1 Current State: 87:[77, 52], Operations: ['39+52=91', '91-39=52'] Exploring Operation: 77*52=4004, Resulting Numbers: [4004] 4004,87 unequal: No Solution Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 77+52=129, Resulting Numbers: [129] 129,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,3,2 Current State: 87:[91, 116], Operations: ['39+52=91', '77+39=116'] Exploring Operation: 91*116=10556, Resulting Numbers: [10556] 10556,87 unequal: No Solution Exploring Operation: 91+116=207, Resulting Numbers: [207] 207,87 unequal: No Solution Exploring Operation: 116-91=25, Resulting Numbers: [25] 25,87 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: 87:[39, 39, 25], Operations: ['77-52=25'] Exploring Operation: 39-25=14, Resulting Numbers: [39, 14] Generated Node #0,2,0: 87:[39, 14] Operation: 39-25=14 Exploring Operation: 39+39=78, Resulting Numbers: [25, 78] Generated Node #0,2,1: 87:[25, 78] Operation: 39+39=78 Exploring Operation: 39/39=1, Resulting Numbers: [25, 1] Generated Node #0,2,2: 87:[25, 1] Operation: 39/39=1 Exploring Operation: 39-39=0, Resulting Numbers: [25, 0] Generated Node #0,2,3: 87:[25, 0] Operation: 39-39=0 Moving to Node #0,0 Current State: 87:[77, 39, 13], Operations: ['52-39=13'] Exploring Operation: 39-13=26, Resulting Numbers: [77, 26] Generated Node #0,0,0: 87:[77, 26] Operation: 39-13=26 Exploring Operation: 39/13=3, Resulting Numbers: [77, 3] Generated Node #0,0,1: 87:[77, 3] Operation: 39/13=3 Exploring Operation: 77-39=38, Resulting Numbers: [13, 38] Generated Node #0,0,2: 87:[13, 38] Operation: 77-39=38 Exploring Operation: 77+13=90, Resulting Numbers: [39, 90] Generated Node #0,0,3: 87:[39, 90] Operation: 77+13=90 Moving to Node #0,2,2 Current State: 87:[25, 1], Operations: ['77-52=25', '39/39=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,87 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,87 unequal: No Solution Moving to Node #0,2,3 Current State: 87:[25, 0], Operations: ['77-52=25', '39-39=0'] Exploring Operation: 25*0=0, Resulting Numbers: [0] 0,87 unequal: No Solution Exploring Operation: 25+0=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 25-0=25, Resulting Numbers: [25] 25,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[77, 3], Operations: ['52-39=13', '39/13=3'] Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 77*3=231, Resulting Numbers: [231] 231,87 unequal: No Solution Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,87 unequal: No Solution Moving to Node #0,2,1 Current State: 87:[25, 78], Operations: ['77-52=25', '39+39=78'] Exploring Operation: 25+78=103, Resulting Numbers: [103] 103,87 unequal: No Solution Exploring Operation: 25*78=1950, Resulting Numbers: [1950] 1950,87 unequal: No Solution Exploring Operation: 78-25=53, Resulting Numbers: [53] 53,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[77, 26], Operations: ['52-39=13', '39-13=26'] Exploring Operation: 77*26=2002, Resulting Numbers: [2002] 2002,87 unequal: No Solution Exploring Operation: 77+26=103, Resulting Numbers: [103] 103,87 unequal: No Solution Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,87 unequal: No Solution Moving to Node #0,0,3 Current State: 87:[39, 90], Operations: ['52-39=13', '77+13=90'] Exploring Operation: 39*90=3510, Resulting Numbers: [3510] 3510,87 unequal: No Solution Exploring Operation: 39+90=129, Resulting Numbers: [129] 129,87 unequal: No Solution Exploring Operation: 90-39=51, Resulting Numbers: [51] 51,87 unequal: No Solution Moving to Node #0,0,2 Current State: 87:[13, 38], Operations: ['52-39=13', '77-39=38'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,87 unequal: No Solution Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,87 unequal: No Solution Moving to Node #0,2,0 Current State: 87:[39, 14], Operations: ['77-52=25', '39-25=14'] Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,87 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,87 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 18, 15, 52, 8 ]
86
[ "52-18=34", "15*8=120", "120-34=86" ]
Current State: 86:[18, 15, 52, 8], Operations: [] Exploring Operation: 52-18=34, Resulting Numbers: [15, 8, 34] Generated Node #2: [15, 8, 34] from Operation: 52-18=34 Current State: 86:[15, 8, 34], Operations: ['52-18=34'] Exploring Operation: 15*8=120, Resulting Numbers: [34, 120] Generated Node #3: [34, 120] from Operation: 15*8=120 Current State: 86:[34, 120], Operations: ['52-18=34', '15*8=120'] Exploring Operation: 120-34=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[18, 15, 52, 8], Operations: [] Exploring Operation: 18-15=3, Resulting Numbers: [52, 8, 3] Generated Node #0,0: 86:[52, 8, 3] Operation: 18-15=3 Exploring Operation: 52-15=37, Resulting Numbers: [18, 8, 37] Generated Node #0,1: 86:[18, 8, 37] Operation: 52-15=37 Exploring Operation: 18+15=33, Resulting Numbers: [52, 8, 33] Generated Node #0,2: 86:[52, 8, 33] Operation: 18+15=33 Exploring Operation: 52-18=34, Resulting Numbers: [15, 8, 34] Generated Node #0,3: 86:[15, 8, 34] Operation: 52-18=34 Moving to Node #0,0 Current State: 86:[52, 8, 3], Operations: ['18-15=3'] Exploring Operation: 52-3=49, Resulting Numbers: [8, 49] Generated Node #0,0,0: 86:[8, 49] Operation: 52-3=49 Exploring Operation: 52+8=60, Resulting Numbers: [3, 60] Generated Node #0,0,1: 86:[3, 60] Operation: 52+8=60 Exploring Operation: 8-3=5, Resulting Numbers: [52, 5] Generated Node #0,0,2: 86:[52, 5] Operation: 8-3=5 Exploring Operation: 52-8=44, Resulting Numbers: [3, 44] Generated Node #0,0,3: 86:[3, 44] Operation: 52-8=44 Moving to Node #0,2 Current State: 86:[52, 8, 33], Operations: ['18+15=33'] Exploring Operation: 52+33=85, Resulting Numbers: [8, 85] Generated Node #0,2,0: 86:[8, 85] Operation: 52+33=85 Exploring Operation: 52-33=19, Resulting Numbers: [8, 19] Generated Node #0,2,1: 86:[8, 19] Operation: 52-33=19 Exploring Operation: 8+33=41, Resulting Numbers: [52, 41] Generated Node #0,2,2: 86:[52, 41] Operation: 8+33=41 Exploring Operation: 52-8=44, Resulting Numbers: [33, 44] Generated Node #0,2,3: 86:[33, 44] Operation: 52-8=44 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 86:[8, 85], Operations: ['18+15=33', '52+33=85'] Exploring Operation: 8*85=680, Resulting Numbers: [680] 680,86 unequal: No Solution Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,86 unequal: No Solution Exploring Operation: 8+85=93, Resulting Numbers: [93] 93,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 86:[52, 41], Operations: ['18+15=33', '8+33=41'] Exploring Operation: 52*41=2132, Resulting Numbers: [2132] 2132,86 unequal: No Solution Exploring Operation: 52+41=93, Resulting Numbers: [93] 93,86 unequal: No Solution Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 86:[33, 44], Operations: ['18+15=33', '52-8=44'] Exploring Operation: 33*44=1452, Resulting Numbers: [1452] 1452,86 unequal: No Solution Exploring Operation: 44-33=11, Resulting Numbers: [11] 11,86 unequal: No Solution Exploring Operation: 33+44=77, Resulting Numbers: [77] 77,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 86:[8, 19], Operations: ['18+15=33', '52-33=19'] Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,86 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,86 unequal: No Solution Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,86 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: 86:[15, 8, 34], Operations: ['52-18=34'] Exploring Operation: 34-15=19, Resulting Numbers: [8, 19] Generated Node #0,3,0: 86:[8, 19] Operation: 34-15=19 Exploring Operation: 15-8=7, Resulting Numbers: [34, 7] Generated Node #0,3,1: 86:[34, 7] Operation: 15-8=7 Exploring Operation: 15+34=49, Resulting Numbers: [8, 49] Generated Node #0,3,2: 86:[8, 49] Operation: 15+34=49 Exploring Operation: 8+34=42, Resulting Numbers: [15, 42] Generated Node #0,3,3: 86:[15, 42] Operation: 8+34=42 Moving to Node #0,1 Current State: 86:[18, 8, 37], Operations: ['52-15=37'] Exploring Operation: 18-8=10, Resulting Numbers: [37, 10] Generated Node #0,1,0: 86:[37, 10] Operation: 18-8=10 Exploring Operation: 18+37=55, Resulting Numbers: [8, 55] Generated Node #0,1,1: 86:[8, 55] Operation: 18+37=55 Exploring Operation: 18+8=26, Resulting Numbers: [37, 26] Generated Node #0,1,2: 86:[37, 26] Operation: 18+8=26 Exploring Operation: 8+37=45, Resulting Numbers: [18, 45] Generated Node #0,1,3: 86:[18, 45] Operation: 8+37=45 Moving to Node #0,0,3 Current State: 86:[3, 44], Operations: ['18-15=3', '52-8=44'] Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,86 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,86 unequal: No Solution Exploring Operation: 3*44=132, Resulting Numbers: [132] 132,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[52, 5], Operations: ['18-15=3', '8-3=5'] Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,86 unequal: No Solution Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,86 unequal: No Solution Exploring Operation: 52*5=260, Resulting Numbers: [260] 260,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[8, 49], Operations: ['18-15=3', '52-3=49'] Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,86 unequal: No Solution Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,86 unequal: No Solution Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[8, 49], Operations: ['52-18=34', '15+34=49'] Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,86 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,86 unequal: No Solution Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[15, 42], Operations: ['52-18=34', '8+34=42'] Exploring Operation: 15+42=57, Resulting Numbers: [57] 57,86 unequal: No Solution Exploring Operation: 15*42=630, Resulting Numbers: [630] 630,86 unequal: No Solution Exploring Operation: 42-15=27, Resulting Numbers: [27] 27,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[34, 7], Operations: ['52-18=34', '15-8=7'] Exploring Operation: 34+7=41, Resulting Numbers: [41] 41,86 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,86 unequal: No Solution Exploring Operation: 34*7=238, Resulting Numbers: [238] 238,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[37, 10], Operations: ['52-15=37', '18-8=10'] Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,86 unequal: No Solution Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,86 unequal: No Solution Exploring Operation: 37*10=370, Resulting Numbers: [370] 370,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[18, 45], Operations: ['52-15=37', '8+37=45'] Exploring Operation: 18+45=63, Resulting Numbers: [63] 63,86 unequal: No Solution Exploring Operation: 18*45=810, Resulting Numbers: [810] 810,86 unequal: No Solution Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[8, 55], Operations: ['52-15=37', '18+37=55'] Exploring Operation: 8*55=440, Resulting Numbers: [440] 440,86 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,86 unequal: No Solution Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[3, 60], Operations: ['18-15=3', '52+8=60'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,86 unequal: No Solution Exploring Operation: 3*60=180, Resulting Numbers: [180] 180,86 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,86 unequal: No Solution Exploring Operation: 3+60=63, Resulting Numbers: [63] 63,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[37, 26], Operations: ['52-15=37', '18+8=26'] Exploring Operation: 37*26=962, Resulting Numbers: [962] 962,86 unequal: No Solution Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,86 unequal: No Solution Exploring Operation: 37+26=63, Resulting Numbers: [63] 63,86 unequal: No Solution Moving to Node #0,3,0 Current State: 86:[8, 19], Operations: ['52-18=34', '34-15=19'] Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,86 unequal: No Solution Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,86 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,86 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 40, 88, 21, 46 ]
20
[ "40*21=840", "88-46=42", "840/42=20" ]
Current State: 20:[40, 88, 21, 46], Operations: [] Exploring Operation: 40*21=840, Resulting Numbers: [88, 46, 840] Generated Node #2: [88, 46, 840] from Operation: 40*21=840 Current State: 20:[88, 46, 840], Operations: ['40*21=840'] Exploring Operation: 88-46=42, Resulting Numbers: [840, 42] Generated Node #3: [840, 42] from Operation: 88-46=42 Current State: 20:[840, 42], Operations: ['40*21=840', '88-46=42'] Exploring Operation: 840/42=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[40, 88, 21, 46], Operations: [] Exploring Operation: 88-40=48, Resulting Numbers: [21, 46, 48] Generated Node #0,0: 20:[21, 46, 48] Operation: 88-40=48 Exploring Operation: 88-46=42, Resulting Numbers: [40, 21, 42] Generated Node #0,1: 20:[40, 21, 42] Operation: 88-46=42 Exploring Operation: 46-40=6, Resulting Numbers: [88, 21, 6] Generated Node #0,2: 20:[88, 21, 6] Operation: 46-40=6 Moving to Node #0,1 Current State: 20:[40, 21, 42], Operations: ['88-46=42'] Exploring Operation: 42-21=21, Resulting Numbers: [40, 21] Generated Node #0,1,0: 20:[40, 21] Operation: 42-21=21 Exploring Operation: 42/21=2, Resulting Numbers: [40, 2] Generated Node #0,1,1: 20:[40, 2] Operation: 42/21=2 Exploring Operation: 42-40=2, Resulting Numbers: [21, 2] Generated Node #0,1,2: 20:[21, 2] Operation: 42-40=2 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 20:[21, 2], Operations: ['88-46=42', '42-40=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,20 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 20:[40, 2], Operations: ['88-46=42', '42/21=2'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,20 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[40, 88, 21, 46], Operations: [] Exploring Operation: 88-46=42, Resulting Numbers: [40, 21, 42] Generated Node #0,1: 20:[40, 21, 42] Operation: 88-46=42 Moving to Node #0,1 Current State: 20:[40, 21, 42], Operations: ['88-46=42'] Exploring Operation: 42/21=2, Resulting Numbers: [40, 2] Generated Node #0,1,1: 20:[40, 2] Operation: 42/21=2 Moving to Node #0,1,1 Current State: 20:[40, 2], Operations: ['88-46=42', '42/21=2'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 60, 98, 49, 78 ]
46
[ "98-78=20", "60/20=3", "49-3=46" ]
Current State: 46:[60, 98, 49, 78], Operations: [] Exploring Operation: 98-78=20, Resulting Numbers: [60, 49, 20] Generated Node #2: [60, 49, 20] from Operation: 98-78=20 Current State: 46:[60, 49, 20], Operations: ['98-78=20'] Exploring Operation: 60/20=3, Resulting Numbers: [49, 3] Generated Node #3: [49, 3] from Operation: 60/20=3 Current State: 46:[49, 3], Operations: ['98-78=20', '60/20=3'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[60, 98, 49, 78], Operations: [] Exploring Operation: 98-60=38, Resulting Numbers: [49, 78, 38] Generated Node #0,0: 46:[49, 78, 38] Operation: 98-60=38 Exploring Operation: 98/49=2, Resulting Numbers: [60, 78, 2] Generated Node #0,1: 46:[60, 78, 2] Operation: 98/49=2 Exploring Operation: 98-78=20, Resulting Numbers: [60, 49, 20] Generated Node #0,2: 46:[60, 49, 20] Operation: 98-78=20 Moving to Node #0,2 Current State: 46:[60, 49, 20], Operations: ['98-78=20'] Exploring Operation: 60-20=40, Resulting Numbers: [49, 40] Generated Node #0,2,0: 46:[49, 40] Operation: 60-20=40 Exploring Operation: 60-49=11, Resulting Numbers: [20, 11] Generated Node #0,2,1: 46:[20, 11] Operation: 60-49=11 Exploring Operation: 60/20=3, Resulting Numbers: [49, 3] Generated Node #0,2,2: 46:[49, 3] Operation: 60/20=3 Moving to Node #0,0 Current State: 46:[49, 78, 38], Operations: ['98-60=38'] Exploring Operation: 78-49=29, Resulting Numbers: [38, 29] Generated Node #0,0,0: 46:[38, 29] Operation: 78-49=29 Exploring Operation: 78-38=40, Resulting Numbers: [49, 40] Generated Node #0,0,1: 46:[49, 40] Operation: 78-38=40 Exploring Operation: 49-38=11, Resulting Numbers: [78, 11] Generated Node #0,0,2: 46:[78, 11] Operation: 49-38=11 Moving to Node #0,1 Current State: 46:[60, 78, 2], Operations: ['98/49=2'] Exploring Operation: 60/2=30, Resulting Numbers: [78, 30] Generated Node #0,1,0: 46:[78, 30] Operation: 60/2=30 Exploring Operation: 78/2=39, Resulting Numbers: [60, 39] Generated Node #0,1,1: 46:[60, 39] Operation: 78/2=39 Exploring Operation: 78-60=18, Resulting Numbers: [2, 18] Generated Node #0,1,2: 46:[2, 18] Operation: 78-60=18 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 46:[2, 18], Operations: ['98/49=2', '78-60=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[60, 39], Operations: ['98/49=2', '78/2=39'] Exploring Operation: 60+39=99, Resulting Numbers: [99] 99,46 unequal: No Solution Exploring Operation: 60*39=2340, Resulting Numbers: [2340] 2340,46 unequal: No Solution Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[78, 30], Operations: ['98/49=2', '60/2=30'] Exploring Operation: 78+30=108, Resulting Numbers: [108] 108,46 unequal: No Solution Exploring Operation: 78*30=2340, Resulting Numbers: [2340] 2340,46 unequal: No Solution Exploring Operation: 78-30=48, Resulting Numbers: [48] 48,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 46:[49, 3], Operations: ['98-78=20', '60/20=3'] Exploring Operation: 49*3=147, Resulting Numbers: [147] 147,46 unequal: No Solution Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[60, 98, 49, 78], Operations: [] Exploring Operation: 98-78=20, Resulting Numbers: [60, 49, 20] Generated Node #0,2: 46:[60, 49, 20] Operation: 98-78=20 Moving to Node #0,2 Current State: 46:[60, 49, 20], Operations: ['98-78=20'] Exploring Operation: 60/20=3, Resulting Numbers: [49, 3] Generated Node #0,2,2: 46:[49, 3] Operation: 60/20=3 Moving to Node #0,2,2 Current State: 46:[49, 3], Operations: ['98-78=20', '60/20=3'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.975694
hs_3
sum_heuristic
[ 54, 81, 55, 28 ]
52
[ "54+81=135", "55+28=83", "135-83=52" ]
Current State: 52:[54, 81, 55, 28], Operations: [] Exploring Operation: 54+81=135, Resulting Numbers: [55, 28, 135] Generated Node #2: [55, 28, 135] from Operation: 54+81=135 Current State: 52:[55, 28, 135], Operations: ['54+81=135'] Exploring Operation: 55+28=83, Resulting Numbers: [135, 83] Generated Node #3: [135, 83] from Operation: 55+28=83 Current State: 52:[135, 83], Operations: ['54+81=135', '55+28=83'] Exploring Operation: 135-83=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[54, 81, 55, 28], Operations: [] Exploring Operation: 81-55=26, Resulting Numbers: [54, 28, 26] Generated Node #0,0: 52:[54, 28, 26] Operation: 81-55=26 Moving to Node #0,0 Current State: 52:[54, 28, 26], Operations: ['81-55=26'] Exploring Operation: 54-28=26, Resulting Numbers: [26, 26] Generated Node #0,0,0: 52:[26, 26] Operation: 54-28=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[26, 26], Operations: ['81-55=26', '54-28=26'] Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[54, 81, 55, 28], Operations: [] Exploring Operation: 81-55=26, Resulting Numbers: [54, 28, 26] Generated Node #0,0: 52:[54, 28, 26] Operation: 81-55=26 Moving to Node #0,0 Current State: 52:[54, 28, 26], Operations: ['81-55=26'] Exploring Operation: 54-28=26, Resulting Numbers: [26, 26] Generated Node #0,0,0: 52:[26, 26] Operation: 54-28=26 Moving to Node #0,0,0 Current State: 52:[26, 26], Operations: ['81-55=26', '54-28=26'] Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 3, 86, 47, 5 ]
74
[ "86-5=81", "81/3=27", "47+27=74" ]
Current State: 74:[3, 86, 47, 5], Operations: [] Exploring Operation: 86-5=81, Resulting Numbers: [3, 47, 81] Generated Node #2: [3, 47, 81] from Operation: 86-5=81 Current State: 74:[3, 47, 81], Operations: ['86-5=81'] Exploring Operation: 81/3=27, Resulting Numbers: [47, 27] Generated Node #3: [47, 27] from Operation: 81/3=27 Current State: 74:[47, 27], Operations: ['86-5=81', '81/3=27'] Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[3, 86, 47, 5], Operations: [] Exploring Operation: 86-47=39, Resulting Numbers: [3, 5, 39] Generated Node #0,0: 74:[3, 5, 39] Operation: 86-47=39 Exploring Operation: 86-5=81, Resulting Numbers: [3, 47, 81] Generated Node #0,1: 74:[3, 47, 81] Operation: 86-5=81 Exploring Operation: 47-5=42, Resulting Numbers: [3, 86, 42] Generated Node #0,2: 74:[3, 86, 42] Operation: 47-5=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[3, 5, 39], Operations: ['86-47=39'] Exploring Operation: 39-3=36, Resulting Numbers: [5, 36] Generated Node #0,0,0: 74:[5, 36] Operation: 39-3=36 Exploring Operation: 39-5=34, Resulting Numbers: [3, 34] Generated Node #0,0,1: 74:[3, 34] Operation: 39-5=34 Exploring Operation: 5-3=2, Resulting Numbers: [39, 2] Generated Node #0,0,2: 74:[39, 2] Operation: 5-3=2 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[39, 2], Operations: ['86-47=39', '5-3=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,74 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[5, 36], Operations: ['86-47=39', '39-3=36'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,74 unequal: No Solution Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,74 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[3, 34], Operations: ['86-47=39', '39-5=34'] Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,74 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,74 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[3, 47, 81], Operations: ['86-5=81'] Exploring Operation: 81-47=34, Resulting Numbers: [3, 34] Generated Node #0,1,0: 74:[3, 34] Operation: 81-47=34 Exploring Operation: 47-3=44, Resulting Numbers: [81, 44] Generated Node #0,1,1: 74:[81, 44] Operation: 47-3=44 Exploring Operation: 81-3=78, Resulting Numbers: [47, 78] Generated Node #0,1,2: 74:[47, 78] Operation: 81-3=78 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 74:[3, 34], Operations: ['86-5=81', '81-47=34'] Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,74 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,74 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,74 unequal: No Solution No 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: 74:[81, 44], Operations: ['86-5=81', '47-3=44'] Exploring Operation: 81+44=125, Resulting Numbers: [125] 125,74 unequal: No Solution Exploring Operation: 81-44=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 81*44=3564, Resulting Numbers: [3564] 3564,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 74:[47, 78], Operations: ['86-5=81', '81-3=78'] Exploring Operation: 78-47=31, Resulting Numbers: [31] 31,74 unequal: No Solution Exploring Operation: 47+78=125, Resulting Numbers: [125] 125,74 unequal: No Solution Exploring Operation: 47*78=3666, Resulting Numbers: [3666] 3666,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[3, 86, 42], Operations: ['47-5=42'] Exploring Operation: 86-3=83, Resulting Numbers: [42, 83] Generated Node #0,2,0: 74:[42, 83] Operation: 86-3=83 Exploring Operation: 86-42=44, Resulting Numbers: [3, 44] Generated Node #0,2,1: 74:[3, 44] Operation: 86-42=44 Exploring Operation: 42-3=39, Resulting Numbers: [86, 39] Generated Node #0,2,2: 74:[86, 39] Operation: 42-3=39 Moving to Node #0,2,1 Current State: 74:[3, 44], Operations: ['47-5=42', '86-42=44'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,74 unequal: No Solution Exploring Operation: 3*44=132, Resulting Numbers: [132] 132,74 unequal: No Solution Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[42, 83], Operations: ['47-5=42', '86-3=83'] Exploring Operation: 83-42=41, Resulting Numbers: [41] 41,74 unequal: No Solution Exploring Operation: 42+83=125, Resulting Numbers: [125] 125,74 unequal: No Solution Exploring Operation: 42*83=3486, Resulting Numbers: [3486] 3486,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[86, 39], Operations: ['47-5=42', '42-3=39'] Exploring Operation: 86*39=3354, Resulting Numbers: [3354] 3354,74 unequal: No Solution Exploring Operation: 86+39=125, Resulting Numbers: [125] 125,74 unequal: No Solution Exploring Operation: 86-39=47, Resulting Numbers: [47] 47,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 56, 41, 6, 5 ]
51
[ "56-6=50", "50/5=10", "41+10=51" ]
Current State: 51:[56, 41, 6, 5], Operations: [] Exploring Operation: 56-6=50, Resulting Numbers: [41, 5, 50] Generated Node #2: [41, 5, 50] from Operation: 56-6=50 Current State: 51:[41, 5, 50], Operations: ['56-6=50'] Exploring Operation: 50/5=10, Resulting Numbers: [41, 10] Generated Node #3: [41, 10] from Operation: 50/5=10 Current State: 51:[41, 10], Operations: ['56-6=50', '50/5=10'] Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[56, 41, 6, 5], Operations: [] Exploring Operation: 56-6=50, Resulting Numbers: [41, 5, 50] Generated Node #0,0: 51:[41, 5, 50] Operation: 56-6=50 Exploring Operation: 41+6=47, Resulting Numbers: [56, 5, 47] Generated Node #0,1: 51:[56, 5, 47] Operation: 41+6=47 Exploring Operation: 56-5=51, Resulting Numbers: [41, 6, 51] Generated Node #0,2: 51:[41, 6, 51] Operation: 56-5=51 Exploring Operation: 56-41=15, Resulting Numbers: [6, 5, 15] Generated Node #0,3: 51:[6, 5, 15] Operation: 56-41=15 Moving to Node #0,3 Current State: 51:[6, 5, 15], Operations: ['56-41=15'] Exploring Operation: 6-5=1, Resulting Numbers: [15, 1] Generated Node #0,3,0: 51:[15, 1] Operation: 6-5=1 Exploring Operation: 5+15=20, Resulting Numbers: [6, 20] Generated Node #0,3,1: 51:[6, 20] Operation: 5+15=20 Exploring Operation: 15/5=3, Resulting Numbers: [6, 3] Generated Node #0,3,2: 51:[6, 3] Operation: 15/5=3 Exploring Operation: 6+15=21, Resulting Numbers: [5, 21] Generated Node #0,3,3: 51:[5, 21] Operation: 6+15=21 Moving to Node #0,1 Current State: 51:[56, 5, 47], Operations: ['41+6=47'] Exploring Operation: 56-47=9, Resulting Numbers: [5, 9] Generated Node #0,1,0: 51:[5, 9] Operation: 56-47=9 Exploring Operation: 56+5=61, Resulting Numbers: [47, 61] Generated Node #0,1,1: 51:[47, 61] Operation: 56+5=61 Exploring Operation: 5+47=52, Resulting Numbers: [56, 52] Generated Node #0,1,2: 51:[56, 52] Operation: 5+47=52 Exploring Operation: 56-5=51, Resulting Numbers: [47, 51] Generated Node #0,1,3: 51:[47, 51] Operation: 56-5=51 Moving to Node #0,2 Current State: 51:[41, 6, 51], Operations: ['56-5=51'] Exploring Operation: 51-41=10, Resulting Numbers: [6, 10] Generated Node #0,2,0: 51:[6, 10] Operation: 51-41=10 Exploring Operation: 41+6=47, Resulting Numbers: [51, 47] Generated Node #0,2,1: 51:[51, 47] Operation: 41+6=47 Exploring Operation: 41-6=35, Resulting Numbers: [51, 35] Generated Node #0,2,2: 51:[51, 35] Operation: 41-6=35 Exploring Operation: 6+51=57, Resulting Numbers: [41, 57] Generated Node #0,2,3: 51:[41, 57] Operation: 6+51=57 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 51:[51, 47], Operations: ['56-5=51', '41+6=47'] Exploring Operation: 51*47=2397, Resulting Numbers: [2397] 2397,51 unequal: No Solution Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 51+47=98, Resulting Numbers: [98] 98,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 51:[6, 10], Operations: ['56-5=51', '51-41=10'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,51 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 51:[51, 35], Operations: ['56-5=51', '41-6=35'] Exploring Operation: 51*35=1785, Resulting Numbers: [1785] 1785,51 unequal: No Solution Exploring Operation: 51-35=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 51+35=86, Resulting Numbers: [86] 86,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 51:[41, 57], Operations: ['56-5=51', '6+51=57'] Exploring Operation: 41+57=98, Resulting Numbers: [98] 98,51 unequal: No Solution Exploring Operation: 57-41=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 41*57=2337, Resulting Numbers: [2337] 2337,51 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: 51:[41, 5, 50], Operations: ['56-6=50'] Exploring Operation: 50-41=9, Resulting Numbers: [5, 9] Generated Node #0,0,0: 51:[5, 9] Operation: 50-41=9 Exploring Operation: 41-5=36, Resulting Numbers: [50, 36] Generated Node #0,0,1: 51:[50, 36] Operation: 41-5=36 Exploring Operation: 41+5=46, Resulting Numbers: [50, 46] Generated Node #0,0,2: 51:[50, 46] Operation: 41+5=46 Exploring Operation: 5+50=55, Resulting Numbers: [41, 55] Generated Node #0,0,3: 51:[41, 55] Operation: 5+50=55 Moving to Node #0,3,2 Current State: 51:[6, 3], Operations: ['56-41=15', '15/5=3'] Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,51 unequal: No Solution Moving to Node #0,3,0 Current State: 51:[15, 1], Operations: ['56-41=15', '6-5=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[47, 51], Operations: ['41+6=47', '56-5=51'] Exploring Operation: 47*51=2397, Resulting Numbers: [2397] 2397,51 unequal: No Solution Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 47+51=98, Resulting Numbers: [98] 98,51 unequal: No Solution Moving to Node #0,3,1 Current State: 51:[6, 20], Operations: ['56-41=15', '5+15=20'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,51 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[56, 52], Operations: ['41+6=47', '5+47=52'] Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 56*52=2912, Resulting Numbers: [2912] 2912,51 unequal: No Solution Exploring Operation: 56+52=108, Resulting Numbers: [108] 108,51 unequal: No Solution Moving to Node #0,3,3 Current State: 51:[5, 21], Operations: ['56-41=15', '6+15=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[50, 46], Operations: ['56-6=50', '41+5=46'] Exploring Operation: 50*46=2300, Resulting Numbers: [2300] 2300,51 unequal: No Solution Exploring Operation: 50+46=96, Resulting Numbers: [96] 96,51 unequal: No Solution Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[5, 9], Operations: ['41+6=47', '56-47=9'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[5, 9], Operations: ['56-6=50', '50-41=9'] Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[47, 61], Operations: ['41+6=47', '56+5=61'] Exploring Operation: 47*61=2867, Resulting Numbers: [2867] 2867,51 unequal: No Solution Exploring Operation: 47+61=108, Resulting Numbers: [108] 108,51 unequal: No Solution Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,51 unequal: No Solution Moving to Node #0,0,3 Current State: 51:[41, 55], Operations: ['56-6=50', '5+50=55'] Exploring Operation: 41+55=96, Resulting Numbers: [96] 96,51 unequal: No Solution Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 41*55=2255, Resulting Numbers: [2255] 2255,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[50, 36], Operations: ['56-6=50', '41-5=36'] Exploring Operation: 50+36=86, Resulting Numbers: [86] 86,51 unequal: No Solution Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 50*36=1800, Resulting Numbers: [1800] 1800,51 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 77, 29, 66, 52 ]
70
[ "77-29=48", "66+52=118", "118-48=70" ]
Current State: 70:[77, 29, 66, 52], Operations: [] Exploring Operation: 77-29=48, Resulting Numbers: [66, 52, 48] Generated Node #2: [66, 52, 48] from Operation: 77-29=48 Current State: 70:[66, 52, 48], Operations: ['77-29=48'] Exploring Operation: 66+52=118, Resulting Numbers: [48, 118] Generated Node #3: [48, 118] from Operation: 66+52=118 Current State: 70:[48, 118], Operations: ['77-29=48', '66+52=118'] Exploring Operation: 118-48=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[77, 29, 66, 52], Operations: [] Exploring Operation: 52-29=23, Resulting Numbers: [77, 66, 23] Generated Node #0,0: 70:[77, 66, 23] Operation: 52-29=23 Exploring Operation: 66-52=14, Resulting Numbers: [77, 29, 14] Generated Node #0,1: 70:[77, 29, 14] Operation: 66-52=14 Exploring Operation: 77-52=25, Resulting Numbers: [29, 66, 25] Generated Node #0,2: 70:[29, 66, 25] Operation: 77-52=25 Moving to Node #0,1 Current State: 70:[77, 29, 14], Operations: ['66-52=14'] Exploring Operation: 77-29=48, Resulting Numbers: [14, 48] Generated Node #0,1,0: 70:[14, 48] Operation: 77-29=48 Exploring Operation: 29-14=15, Resulting Numbers: [77, 15] Generated Node #0,1,1: 70:[77, 15] Operation: 29-14=15 Exploring Operation: 77-14=63, Resulting Numbers: [29, 63] Generated Node #0,1,2: 70:[29, 63] Operation: 77-14=63 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[77, 15], Operations: ['66-52=14', '29-14=15'] Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 77+15=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 77*15=1155, Resulting Numbers: [1155] 1155,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 70:[14, 48], Operations: ['66-52=14', '77-29=48'] Exploring Operation: 14+48=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 14*48=672, Resulting Numbers: [672] 672,70 unequal: No Solution Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 70:[29, 63], Operations: ['66-52=14', '77-14=63'] Exploring Operation: 29*63=1827, Resulting Numbers: [1827] 1827,70 unequal: No Solution Exploring Operation: 29+63=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 63-29=34, Resulting Numbers: [34] 34,70 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: 70:[77, 66, 23], Operations: ['52-29=23'] Exploring Operation: 77-23=54, Resulting Numbers: [66, 54] Generated Node #0,0,0: 70:[66, 54] Operation: 77-23=54 Exploring Operation: 77-66=11, Resulting Numbers: [23, 11] Generated Node #0,0,1: 70:[23, 11] Operation: 77-66=11 Exploring Operation: 66-23=43, Resulting Numbers: [77, 43] Generated Node #0,0,2: 70:[77, 43] Operation: 66-23=43 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[23, 11], Operations: ['52-29=23', '77-66=11'] Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,70 unequal: No Solution Exploring Operation: 23+11=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 23*11=253, Resulting Numbers: [253] 253,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[77, 43], Operations: ['52-29=23', '66-23=43'] Exploring Operation: 77+43=120, Resulting Numbers: [120] 120,70 unequal: No Solution Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 77*43=3311, Resulting Numbers: [3311] 3311,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[66, 54], Operations: ['52-29=23', '77-23=54'] Exploring Operation: 66+54=120, Resulting Numbers: [120] 120,70 unequal: No Solution Exploring Operation: 66*54=3564, Resulting Numbers: [3564] 3564,70 unequal: No Solution Exploring Operation: 66-54=12, Resulting Numbers: [12] 12,70 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: 70:[29, 66, 25], Operations: ['77-52=25'] Exploring Operation: 29-25=4, Resulting Numbers: [66, 4] Generated Node #0,2,0: 70:[66, 4] Operation: 29-25=4 Exploring Operation: 66-29=37, Resulting Numbers: [25, 37] Generated Node #0,2,1: 70:[25, 37] Operation: 66-29=37 Exploring Operation: 66-25=41, Resulting Numbers: [29, 41] Generated Node #0,2,2: 70:[29, 41] Operation: 66-25=41 Moving to Node #0,2,0 Current State: 70:[66, 4], Operations: ['77-52=25', '29-25=4'] Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[77, 29, 66, 52], Operations: [] Exploring Operation: 77-52=25, Resulting Numbers: [29, 66, 25] Generated Node #0,2: 70:[29, 66, 25] Operation: 77-52=25 Moving to Node #0,2 Current State: 70:[29, 66, 25], Operations: ['77-52=25'] Exploring Operation: 29-25=4, Resulting Numbers: [66, 4] Generated Node #0,2,0: 70:[66, 4] Operation: 29-25=4 Moving to Node #0,2,0 Current State: 70:[66, 4], Operations: ['77-52=25', '29-25=4'] Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.969618
hs_3
mult_heuristic
[ 33, 8, 41, 39 ]
49
[ "41-39=2", "8*2=16", "33+16=49" ]
Current State: 49:[33, 8, 41, 39], Operations: [] Exploring Operation: 41-39=2, Resulting Numbers: [33, 8, 2] Generated Node #2: [33, 8, 2] from Operation: 41-39=2 Current State: 49:[33, 8, 2], Operations: ['41-39=2'] Exploring Operation: 8*2=16, Resulting Numbers: [33, 16] Generated Node #3: [33, 16] from Operation: 8*2=16 Current State: 49:[33, 16], Operations: ['41-39=2', '8*2=16'] Exploring Operation: 33+16=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[33, 8, 41, 39], Operations: [] Exploring Operation: 39-33=6, Resulting Numbers: [8, 41, 6] Generated Node #0,0: 49:[8, 41, 6] Operation: 39-33=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[8, 41, 6], Operations: ['39-33=6'] Exploring Operation: 8+41=49, Resulting Numbers: [6, 49] Generated Node #0,0,0: 49:[6, 49] Operation: 8+41=49 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[6, 49], Operations: ['39-33=6', '8+41=49'] Exploring Operation: 6+49=55, Resulting Numbers: [55] 55,49 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
[ 24, 87, 31, 2 ]
88
[ "87-31=56", "2*56=112", "112-24=88" ]
Current State: 88:[24, 87, 31, 2], Operations: [] Exploring Operation: 87-31=56, Resulting Numbers: [24, 2, 56] Generated Node #2: [24, 2, 56] from Operation: 87-31=56 Current State: 88:[24, 2, 56], Operations: ['87-31=56'] Exploring Operation: 2*56=112, Resulting Numbers: [24, 112] Generated Node #3: [24, 112] from Operation: 2*56=112 Current State: 88:[24, 112], Operations: ['87-31=56', '2*56=112'] Exploring Operation: 112-24=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[24, 87, 31, 2], Operations: [] Exploring Operation: 31-24=7, Resulting Numbers: [87, 2, 7] Generated Node #0,0: 88:[87, 2, 7] Operation: 31-24=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[87, 2, 7], Operations: ['31-24=7'] Exploring Operation: 87+2=89, Resulting Numbers: [7, 89] Generated Node #0,0,0: 88:[7, 89] Operation: 87+2=89 Moving to Node #0,0,0 Current State: 88:[7, 89], Operations: ['31-24=7', '87+2=89'] Exploring Operation: 89-7=82, Resulting Numbers: [82] 82,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
[ 40, 38, 29, 11 ]
37
[ "40-29=11", "11/11=1", "38-1=37" ]
Current State: 37:[40, 38, 29, 11], Operations: [] Exploring Operation: 40-29=11, Resulting Numbers: [38, 11, 11] Generated Node #2: [38, 11, 11] from Operation: 40-29=11 Current State: 37:[38, 11, 11], Operations: ['40-29=11'] Exploring Operation: 11/11=1, Resulting Numbers: [38, 1] Generated Node #3: [38, 1] from Operation: 11/11=1 Current State: 37:[38, 1], Operations: ['40-29=11', '11/11=1'] Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[40, 38, 29, 11], Operations: [] Exploring Operation: 40+11=51, Resulting Numbers: [38, 29, 51] Generated Node #0,0: 37:[38, 29, 51] Operation: 40+11=51 Exploring Operation: 38+11=49, Resulting Numbers: [40, 29, 49] Generated Node #0,1: 37:[40, 29, 49] Operation: 38+11=49 Exploring Operation: 29+11=40, Resulting Numbers: [40, 38, 40] Generated Node #0,2: 37:[40, 38, 40] Operation: 29+11=40 Exploring Operation: 38-11=27, Resulting Numbers: [40, 29, 27] Generated Node #0,3: 37:[40, 29, 27] Operation: 38-11=27 Exploring Operation: 40-11=29, Resulting Numbers: [38, 29, 29] Generated Node #0,4: 37:[38, 29, 29] Operation: 40-11=29 Moving to Node #0,2 Current State: 37:[40, 38, 40], Operations: ['29+11=40'] Exploring Operation: 40+38=78, Resulting Numbers: [40, 78] Generated Node #0,2,0: 37:[40, 78] Operation: 40+38=78 Exploring Operation: 40-38=2, Resulting Numbers: [40, 2] Generated Node #0,2,1: 37:[40, 2] Operation: 40-38=2 Exploring Operation: 40-38=2, Resulting Numbers: [40, 2] Generated Node #0,2,2: 37:[40, 2] Operation: 40-38=2 Exploring Operation: 40/40=1, Resulting Numbers: [38, 1] Generated Node #0,2,3: 37:[38, 1] Operation: 40/40=1 Exploring Operation: 40-40=0, Resulting Numbers: [38, 0] Generated Node #0,2,4: 37:[38, 0] Operation: 40-40=0 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 37:[38, 1], Operations: ['29+11=40', '40/40=1'] Exploring Operation: 38+1=39, Resulting Numbers: [39] 39,37 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[40, 38, 29, 11], Operations: [] Exploring Operation: 29+11=40, Resulting Numbers: [40, 38, 40] Generated Node #0,2: 37:[40, 38, 40] Operation: 29+11=40 Moving to Node #0,2 Current State: 37:[40, 38, 40], Operations: ['29+11=40'] Exploring Operation: 40/40=1, Resulting Numbers: [38, 1] Generated Node #0,2,3: 37:[38, 1] Operation: 40/40=1 Moving to Node #0,2,3 Current State: 37:[38, 1], Operations: ['29+11=40', '40/40=1'] Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 40, 2, 22, 37 ]
16
[ "40-37=3", "2*3=6", "22-6=16" ]
Current State: 16:[40, 2, 22, 37], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [2, 22, 3] Generated Node #2: [2, 22, 3] from Operation: 40-37=3 Current State: 16:[2, 22, 3], Operations: ['40-37=3'] Exploring Operation: 2*3=6, Resulting Numbers: [22, 6] Generated Node #3: [22, 6] from Operation: 2*3=6 Current State: 16:[22, 6], Operations: ['40-37=3', '2*3=6'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[40, 2, 22, 37], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [2, 22, 3] Generated Node #0,0: 16:[2, 22, 3] Operation: 40-37=3 Moving to Node #0,0 Current State: 16:[2, 22, 3], Operations: ['40-37=3'] Exploring Operation: 22-3=19, Resulting Numbers: [2, 19] Generated Node #0,0,0: 16:[2, 19] Operation: 22-3=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[2, 19], Operations: ['40-37=3', '22-3=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,16 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
[ 61, 58, 2, 34 ]
96
[ "61-58=3", "34-2=32", "3*32=96" ]
Current State: 96:[61, 58, 2, 34], Operations: [] Exploring Operation: 61-58=3, Resulting Numbers: [2, 34, 3] Generated Node #2: [2, 34, 3] from Operation: 61-58=3 Current State: 96:[2, 34, 3], Operations: ['61-58=3'] Exploring Operation: 34-2=32, Resulting Numbers: [3, 32] Generated Node #3: [3, 32] from Operation: 34-2=32 Current State: 96:[3, 32], Operations: ['61-58=3', '34-2=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[61, 58, 2, 34], Operations: [] Exploring Operation: 61-58=3, Resulting Numbers: [2, 34, 3] Generated Node #0,0: 96:[2, 34, 3] Operation: 61-58=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[2, 34, 3], Operations: ['61-58=3'] Exploring Operation: 34-2=32, Resulting Numbers: [3, 32] Generated Node #0,0,0: 96:[3, 32] Operation: 34-2=32 Moving to Node #0,0,0 Current State: 96:[3, 32], Operations: ['61-58=3', '34-2=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[61, 58, 2, 34], Operations: [] Exploring Operation: 61-58=3, Resulting Numbers: [2, 34, 3] Generated Node #0,0: 96:[2, 34, 3] Operation: 61-58=3 Moving to Node #0,0 Current State: 96:[2, 34, 3], Operations: ['61-58=3'] Exploring Operation: 34-2=32, Resulting Numbers: [3, 32] Generated Node #0,0,0: 96:[3, 32] Operation: 34-2=32 Moving to Node #0,0,0 Current State: 96:[3, 32], Operations: ['61-58=3', '34-2=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 11, 40, 28, 17 ]
44
[ "40+28=68", "11*68=748", "748/17=44" ]
Current State: 44:[11, 40, 28, 17], Operations: [] Exploring Operation: 40+28=68, Resulting Numbers: [11, 17, 68] Generated Node #2: [11, 17, 68] from Operation: 40+28=68 Current State: 44:[11, 17, 68], Operations: ['40+28=68'] Exploring Operation: 11*68=748, Resulting Numbers: [17, 748] Generated Node #3: [17, 748] from Operation: 11*68=748 Current State: 44:[17, 748], Operations: ['40+28=68', '11*68=748'] Exploring Operation: 748/17=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[11, 40, 28, 17], Operations: [] Exploring Operation: 40-28=12, Resulting Numbers: [11, 17, 12] Generated Node #0,0: 44:[11, 17, 12] Operation: 40-28=12 Exploring Operation: 40-17=23, Resulting Numbers: [11, 28, 23] Generated Node #0,1: 44:[11, 28, 23] Operation: 40-17=23 Exploring Operation: 28-17=11, Resulting Numbers: [11, 40, 11] Generated Node #0,2: 44:[11, 40, 11] Operation: 28-17=11 Exploring Operation: 28+17=45, Resulting Numbers: [11, 40, 45] Generated Node #0,3: 44:[11, 40, 45] Operation: 28+17=45 Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[11, 40, 11], Operations: ['28-17=11'] Exploring Operation: 11+40=51, Resulting Numbers: [11, 51] Generated Node #0,2,0: 44:[11, 51] Operation: 11+40=51 Exploring Operation: 11+11=22, Resulting Numbers: [40, 22] Generated Node #0,2,1: 44:[40, 22] Operation: 11+11=22 Exploring Operation: 11/11=1, Resulting Numbers: [40, 1] Generated Node #0,2,2: 44:[40, 1] Operation: 11/11=1 Exploring Operation: 11-11=0, Resulting Numbers: [40, 0] Generated Node #0,2,3: 44:[40, 0] Operation: 11-11=0 Moving to Node #0,2,1 Current State: 44:[40, 22], Operations: ['28-17=11', '11+11=22'] Exploring Operation: 40+22=62, Resulting Numbers: [62] 62,44 unequal: No Solution Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 40*22=880, Resulting Numbers: [880] 880,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[40, 1], Operations: ['28-17=11', '11/11=1'] Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,44 unequal: No Solution Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,44 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,44 unequal: No Solution Exploring Operation: 40+1=41, Resulting Numbers: [41] 41,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[40, 0], Operations: ['28-17=11', '11-11=0'] Exploring Operation: 40-0=40, Resulting Numbers: [40] 40,44 unequal: No Solution Exploring Operation: 40+0=40, Resulting Numbers: [40] 40,44 unequal: No Solution Exploring Operation: 40*0=0, Resulting Numbers: [0] 0,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[11, 51], Operations: ['28-17=11', '11+40=51'] Exploring Operation: 11*51=561, Resulting Numbers: [561] 561,44 unequal: No Solution Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,44 unequal: No Solution Exploring Operation: 11+51=62, Resulting Numbers: [62] 62,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 44:[11, 40, 45], Operations: ['28+17=45'] Exploring Operation: 45-40=5, Resulting Numbers: [11, 5] Generated Node #0,3,0: 44:[11, 5] Operation: 45-40=5 Exploring Operation: 45-11=34, Resulting Numbers: [40, 34] Generated Node #0,3,1: 44:[40, 34] Operation: 45-11=34 Exploring Operation: 40-11=29, Resulting Numbers: [45, 29] Generated Node #0,3,2: 44:[45, 29] Operation: 40-11=29 Exploring Operation: 11+40=51, Resulting Numbers: [45, 51] Generated Node #0,3,3: 44:[45, 51] Operation: 11+40=51 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 44:[11, 5], Operations: ['28+17=45', '45-40=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,44 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 44:[45, 29], Operations: ['28+17=45', '40-11=29'] Exploring Operation: 45+29=74, Resulting Numbers: [74] 74,44 unequal: No Solution Exploring Operation: 45*29=1305, Resulting Numbers: [1305] 1305,44 unequal: No Solution Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 44:[45, 51], Operations: ['28+17=45', '11+40=51'] Exploring Operation: 45*51=2295, Resulting Numbers: [2295] 2295,44 unequal: No Solution Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 45+51=96, Resulting Numbers: [96] 96,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 44:[40, 34], Operations: ['28+17=45', '45-11=34'] Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,44 unequal: No Solution Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 40*34=1360, Resulting Numbers: [1360] 1360,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[11, 17, 12], Operations: ['40-28=12'] Exploring Operation: 12-11=1, Resulting Numbers: [17, 1] Generated Node #0,0,0: 44:[17, 1] Operation: 12-11=1 Exploring Operation: 17-12=5, Resulting Numbers: [11, 5] Generated Node #0,0,1: 44:[11, 5] Operation: 17-12=5 Exploring Operation: 11+12=23, Resulting Numbers: [17, 23] Generated Node #0,0,2: 44:[17, 23] Operation: 11+12=23 Exploring Operation: 17-11=6, Resulting Numbers: [12, 6] Generated Node #0,0,3: 44:[12, 6] Operation: 17-11=6 Moving to Node #0,0,1 Current State: 44:[11, 5], Operations: ['40-28=12', '17-12=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,44 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,44 unequal: No Solution Moving to Node #0,0,3 Current State: 44:[12, 6], Operations: ['40-28=12', '17-11=6'] Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 12*6=72, Resulting Numbers: [72] 72,44 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,44 unequal: No Solution Moving to Node #0,0,2 Current State: 44:[17, 23], Operations: ['40-28=12', '11+12=23'] Exploring Operation: 17*23=391, Resulting Numbers: [391] 391,44 unequal: No Solution Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,44 unequal: No Solution Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[17, 1], Operations: ['40-28=12', '12-11=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,44 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,44 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[11, 28, 23], Operations: ['40-17=23'] Exploring Operation: 28-23=5, Resulting Numbers: [11, 5] Generated Node #0,1,0: 44:[11, 5] Operation: 28-23=5 Exploring Operation: 23-11=12, Resulting Numbers: [28, 12] Generated Node #0,1,1: 44:[28, 12] Operation: 23-11=12 Exploring Operation: 28-11=17, Resulting Numbers: [23, 17] Generated Node #0,1,2: 44:[23, 17] Operation: 28-11=17 Exploring Operation: 11+28=39, Resulting Numbers: [23, 39] Generated Node #0,1,3: 44:[23, 39] Operation: 11+28=39 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 44:[11, 5], Operations: ['40-17=23', '28-23=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 44:[23, 17], Operations: ['40-17=23', '28-11=17'] Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 23*17=391, Resulting Numbers: [391] 391,44 unequal: No Solution Exploring Operation: 23+17=40, Resulting Numbers: [40] 40,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 44:[23, 39], Operations: ['40-17=23', '11+28=39'] Exploring Operation: 23+39=62, Resulting Numbers: [62] 62,44 unequal: No Solution Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 23*39=897, Resulting Numbers: [897] 897,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 44:[28, 12], Operations: ['40-17=23', '23-11=12'] Exploring Operation: 28+12=40, Resulting Numbers: [40] 40,44 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 28*12=336, Resulting Numbers: [336] 336,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 67, 61, 85, 32 ]
81
[ "67+61=128", "128/32=4", "85-4=81" ]
Current State: 81:[67, 61, 85, 32], Operations: [] Exploring Operation: 67+61=128, Resulting Numbers: [85, 32, 128] Generated Node #2: [85, 32, 128] from Operation: 67+61=128 Current State: 81:[85, 32, 128], Operations: ['67+61=128'] Exploring Operation: 128/32=4, Resulting Numbers: [85, 4] Generated Node #3: [85, 4] from Operation: 128/32=4 Current State: 81:[85, 4], Operations: ['67+61=128', '128/32=4'] Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[67, 61, 85, 32], Operations: [] Exploring Operation: 67-61=6, Resulting Numbers: [85, 32, 6] Generated Node #0,0: 81:[85, 32, 6] Operation: 67-61=6 Moving to Node #0,0 Current State: 81:[85, 32, 6], Operations: ['67-61=6'] Exploring Operation: 32-6=26, Resulting Numbers: [85, 26] Generated Node #0,0,0: 81:[85, 26] Operation: 32-6=26 Moving to Node #0,0,0 Current State: 81:[85, 26], Operations: ['67-61=6', '32-6=26'] Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,81 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 93, 11, 11, 8 ]
42
[ "11-8=3", "93/3=31", "11+31=42" ]
Current State: 42:[93, 11, 11, 8], Operations: [] Exploring Operation: 11-8=3, Resulting Numbers: [93, 3] Generated Node #2: [93, 3] from Operation: 11-8=3 Current State: 42:[93, 3], Operations: ['11-8=3'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,42 equal: Goal Reached Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[93, 11, 11, 8], Operations: [] Exploring Operation: 93-11=82, Resulting Numbers: [11, 8, 82] Generated Node #0,0: 42:[11, 8, 82] Operation: 93-11=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[11, 8, 82], Operations: ['93-11=82'] Exploring Operation: 82-11=71, Resulting Numbers: [8, 71] Generated Node #0,0,0: 42:[8, 71] Operation: 82-11=71 Moving to Node #0,0,0 Current State: 42:[8, 71], Operations: ['93-11=82', '82-11=71'] Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,42 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
[ 2, 22, 70, 20 ]
34
[ "70-2=68", "22-20=2", "68/2=34" ]
Current State: 34:[2, 22, 70, 20], Operations: [] Exploring Operation: 70-2=68, Resulting Numbers: [22, 20, 68] Generated Node #2: [22, 20, 68] from Operation: 70-2=68 Current State: 34:[22, 20, 68], Operations: ['70-2=68'] Exploring Operation: 22-20=2, Resulting Numbers: [68, 2] Generated Node #3: [68, 2] from Operation: 22-20=2 Current State: 34:[68, 2], Operations: ['70-2=68', '22-20=2'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[2, 22, 70, 20], Operations: [] Exploring Operation: 70/2=35, Resulting Numbers: [22, 20, 35] Generated Node #0,0: 34:[22, 20, 35] Operation: 70/2=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[22, 20, 35], Operations: ['70/2=35'] Exploring Operation: 22-20=2, Resulting Numbers: [35, 2] Generated Node #0,0,0: 34:[35, 2] Operation: 22-20=2 Moving to Node #0,0,0 Current State: 34:[35, 2], Operations: ['70/2=35', '22-20=2'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 38, 2, 5, 52 ]
34
[ "38+5=43", "2*43=86", "86-52=34" ]
Current State: 34:[38, 2, 5, 52], Operations: [] Exploring Operation: 38+5=43, Resulting Numbers: [2, 52, 43] Generated Node #2: [2, 52, 43] from Operation: 38+5=43 Current State: 34:[2, 52, 43], Operations: ['38+5=43'] Exploring Operation: 2*43=86, Resulting Numbers: [52, 86] Generated Node #3: [52, 86] from Operation: 2*43=86 Current State: 34:[52, 86], Operations: ['38+5=43', '2*43=86'] Exploring Operation: 86-52=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[38, 2, 5, 52], Operations: [] Exploring Operation: 52-5=47, Resulting Numbers: [38, 2, 47] Generated Node #0,0: 34:[38, 2, 47] Operation: 52-5=47 Exploring Operation: 52/2=26, Resulting Numbers: [38, 5, 26] Generated Node #0,1: 34:[38, 5, 26] Operation: 52/2=26 Exploring Operation: 52-38=14, Resulting Numbers: [2, 5, 14] Generated Node #0,2: 34:[2, 5, 14] Operation: 52-38=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[2, 5, 14], Operations: ['52-38=14'] Exploring Operation: 5+14=19, Resulting Numbers: [2, 19] Generated Node #0,2,0: 34:[2, 19] Operation: 5+14=19 Exploring Operation: 5-2=3, Resulting Numbers: [14, 3] Generated Node #0,2,1: 34:[14, 3] Operation: 5-2=3 Exploring Operation: 2+14=16, Resulting Numbers: [5, 16] Generated Node #0,2,2: 34:[5, 16] Operation: 2+14=16 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 34:[2, 19], Operations: ['52-38=14', '5+14=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 34:[14, 3], Operations: ['52-38=14', '5-2=3'] Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 34:[5, 16], Operations: ['52-38=14', '2+14=16'] Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[38, 5, 26], Operations: ['52/2=26'] Exploring Operation: 5+26=31, Resulting Numbers: [38, 31] Generated Node #0,1,0: 34:[38, 31] Operation: 5+26=31 Exploring Operation: 38-26=12, Resulting Numbers: [5, 12] Generated Node #0,1,1: 34:[5, 12] Operation: 38-26=12 Exploring Operation: 26-5=21, Resulting Numbers: [38, 21] Generated Node #0,1,2: 34:[38, 21] Operation: 26-5=21 Moving to Node #0,1,0 Current State: 34:[38, 31], Operations: ['52/2=26', '5+26=31'] Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 38*31=1178, Resulting Numbers: [1178] 1178,34 unequal: No Solution Exploring Operation: 38+31=69, Resulting Numbers: [69] 69,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[5, 12], Operations: ['52/2=26', '38-26=12'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[38, 21], Operations: ['52/2=26', '26-5=21'] Exploring Operation: 38*21=798, Resulting Numbers: [798] 798,34 unequal: No Solution Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[38, 2, 47], Operations: ['52-5=47'] Exploring Operation: 38-2=36, Resulting Numbers: [47, 36] Generated Node #0,0,0: 34:[47, 36] Operation: 38-2=36 Exploring Operation: 47-38=9, Resulting Numbers: [2, 9] Generated Node #0,0,1: 34:[2, 9] Operation: 47-38=9 Exploring Operation: 38/2=19, Resulting Numbers: [47, 19] Generated Node #0,0,2: 34:[47, 19] Operation: 38/2=19 Moving to Node #0,0,1 Current State: 34:[2, 9], Operations: ['52-5=47', '47-38=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[47, 36], Operations: ['52-5=47', '38-2=36'] Exploring Operation: 47+36=83, Resulting Numbers: [83] 83,34 unequal: No Solution Exploring Operation: 47*36=1692, Resulting Numbers: [1692] 1692,34 unequal: No Solution Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[47, 19], Operations: ['52-5=47', '38/2=19'] Exploring Operation: 47+19=66, Resulting Numbers: [66] 66,34 unequal: No Solution Exploring Operation: 47*19=893, Resulting Numbers: [893] 893,34 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,34 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
[ 8, 63, 14, 17 ]
66
[ "8*14=112", "63-17=46", "112-46=66" ]
Current State: 66:[8, 63, 14, 17], Operations: [] Exploring Operation: 8*14=112, Resulting Numbers: [63, 17, 112] Generated Node #2: [63, 17, 112] from Operation: 8*14=112 Current State: 66:[63, 17, 112], Operations: ['8*14=112'] Exploring Operation: 63-17=46, Resulting Numbers: [112, 46] Generated Node #3: [112, 46] from Operation: 63-17=46 Current State: 66:[112, 46], Operations: ['8*14=112', '63-17=46'] Exploring Operation: 112-46=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[8, 63, 14, 17], Operations: [] Exploring Operation: 17-14=3, Resulting Numbers: [8, 63, 3] Generated Node #0,0: 66:[8, 63, 3] Operation: 17-14=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[8, 63, 3], Operations: ['17-14=3'] Exploring Operation: 63+3=66, Resulting Numbers: [8, 66] Generated Node #0,0,0: 66:[8, 66] Operation: 63+3=66 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[8, 66], Operations: ['17-14=3', '63+3=66'] Exploring Operation: 8+66=74, Resulting Numbers: [74] 74,66 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
[ 15, 35, 93, 9 ]
48
[ "15*35=525", "525-93=432", "432/9=48" ]
Current State: 48:[15, 35, 93, 9], Operations: [] Exploring Operation: 15*35=525, Resulting Numbers: [93, 9, 525] Generated Node #2: [93, 9, 525] from Operation: 15*35=525 Current State: 48:[93, 9, 525], Operations: ['15*35=525'] Exploring Operation: 525-93=432, Resulting Numbers: [9, 432] Generated Node #3: [9, 432] from Operation: 525-93=432 Current State: 48:[9, 432], Operations: ['15*35=525', '525-93=432'] Exploring Operation: 432/9=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[15, 35, 93, 9], Operations: [] Exploring Operation: 93-15=78, Resulting Numbers: [35, 9, 78] Generated Node #0,0: 48:[35, 9, 78] Operation: 93-15=78 Exploring Operation: 93-35=58, Resulting Numbers: [15, 9, 58] Generated Node #0,1: 48:[15, 9, 58] Operation: 93-35=58 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[15, 9, 58], Operations: ['93-35=58'] Exploring Operation: 58-9=49, Resulting Numbers: [15, 49] Generated Node #0,1,0: 48:[15, 49] Operation: 58-9=49 Exploring Operation: 58-15=43, Resulting Numbers: [9, 43] Generated Node #0,1,1: 48:[9, 43] Operation: 58-15=43 Moving to Node #0,1,0 Current State: 48:[15, 49], Operations: ['93-35=58', '58-9=49'] Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,48 unequal: No Solution Exploring Operation: 15+49=64, Resulting Numbers: [64] 64,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[9, 43], Operations: ['93-35=58', '58-15=43'] Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,48 unequal: No Solution Exploring Operation: 9+43=52, Resulting Numbers: [52] 52,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[35, 9, 78], Operations: ['93-15=78'] Exploring Operation: 78-35=43, Resulting Numbers: [9, 43] Generated Node #0,0,0: 48:[9, 43] Operation: 78-35=43 Exploring Operation: 35-9=26, Resulting Numbers: [78, 26] Generated Node #0,0,1: 48:[78, 26] Operation: 35-9=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[9, 43], Operations: ['93-15=78', '78-35=43'] Exploring Operation: 9+43=52, Resulting Numbers: [52] 52,48 unequal: No Solution Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[78, 26], Operations: ['93-15=78', '35-9=26'] Exploring Operation: 78-26=52, Resulting Numbers: [52] 52,48 unequal: No Solution Exploring Operation: 78/26=3, Resulting Numbers: [3] 3,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 18, 16, 70, 4 ]
68
[ "18-16=2", "70-4=66", "2+66=68" ]
Current State: 68:[18, 16, 70, 4], Operations: [] Exploring Operation: 18-16=2, Resulting Numbers: [70, 4, 2] Generated Node #2: [70, 4, 2] from Operation: 18-16=2 Current State: 68:[70, 4, 2], Operations: ['18-16=2'] Exploring Operation: 70-4=66, Resulting Numbers: [2, 66] Generated Node #3: [2, 66] from Operation: 70-4=66 Current State: 68:[2, 66], Operations: ['18-16=2', '70-4=66'] Exploring Operation: 2+66=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[18, 16, 70, 4], Operations: [] Exploring Operation: 18+16=34, Resulting Numbers: [70, 4, 34] Generated Node #0,0: 68:[70, 4, 34] Operation: 18+16=34 Exploring Operation: 18-16=2, Resulting Numbers: [70, 4, 2] Generated Node #0,1: 68:[70, 4, 2] Operation: 18-16=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[70, 4, 34], Operations: ['18+16=34'] Exploring Operation: 70-34=36, Resulting Numbers: [4, 36] Generated Node #0,0,0: 68:[4, 36] Operation: 70-34=36 Exploring Operation: 70-4=66, Resulting Numbers: [34, 66] Generated Node #0,0,1: 68:[34, 66] Operation: 70-4=66 Moving to Node #0,0,0 Current State: 68:[4, 36], Operations: ['18+16=34', '70-34=36'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,68 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[34, 66], Operations: ['18+16=34', '70-4=66'] Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,68 unequal: No Solution Exploring Operation: 34+66=100, Resulting Numbers: [100] 100,68 unequal: No Solution No 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:[70, 4, 2], Operations: ['18-16=2'] Exploring Operation: 70/2=35, Resulting Numbers: [4, 35] Generated Node #0,1,0: 68:[4, 35] Operation: 70/2=35 Exploring Operation: 70-2=68, Resulting Numbers: [4, 68] Generated Node #0,1,1: 68:[4, 68] Operation: 70-2=68 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 68:[4, 68], Operations: ['18-16=2', '70-2=68'] Exploring Operation: 4+68=72, Resulting Numbers: [72] 72,68 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,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,0 Current State: 68:[4, 35], Operations: ['18-16=2', '70/2=35'] Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,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 No solution found.
0
hs_2
mult_heuristic
[ 92, 43, 6, 29 ]
47
[ "29-6=23", "92/23=4", "43+4=47" ]
Current State: 47:[92, 43, 6, 29], Operations: [] Exploring Operation: 29-6=23, Resulting Numbers: [92, 43, 23] Generated Node #2: [92, 43, 23] from Operation: 29-6=23 Current State: 47:[92, 43, 23], Operations: ['29-6=23'] Exploring Operation: 92/23=4, Resulting Numbers: [43, 4] Generated Node #3: [43, 4] from Operation: 92/23=4 Current State: 47:[43, 4], Operations: ['29-6=23', '92/23=4'] Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[92, 43, 6, 29], Operations: [] Exploring Operation: 92-29=63, Resulting Numbers: [43, 6, 63] Generated Node #0,0: 47:[43, 6, 63] Operation: 92-29=63 Exploring Operation: 92-43=49, Resulting Numbers: [6, 29, 49] Generated Node #0,1: 47:[6, 29, 49] Operation: 92-43=49 Exploring Operation: 92-6=86, Resulting Numbers: [43, 29, 86] Generated Node #0,2: 47:[43, 29, 86] Operation: 92-6=86 Moving to Node #0,0 Current State: 47:[43, 6, 63], Operations: ['92-29=63'] Exploring Operation: 43+6=49, Resulting Numbers: [63, 49] Generated Node #0,0,0: 47:[63, 49] Operation: 43+6=49 Exploring Operation: 63-6=57, Resulting Numbers: [43, 57] Generated Node #0,0,1: 47:[43, 57] Operation: 63-6=57 Exploring Operation: 43-6=37, Resulting Numbers: [63, 37] Generated Node #0,0,2: 47:[63, 37] Operation: 43-6=37 Moving to Node #0,1 Current State: 47:[6, 29, 49], Operations: ['92-43=49'] Exploring Operation: 29-6=23, Resulting Numbers: [49, 23] Generated Node #0,1,0: 47:[49, 23] Operation: 29-6=23 Exploring Operation: 6+29=35, Resulting Numbers: [49, 35] Generated Node #0,1,1: 47:[49, 35] Operation: 6+29=35 Exploring Operation: 49-6=43, Resulting Numbers: [29, 43] Generated Node #0,1,2: 47:[29, 43] Operation: 49-6=43 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[49, 35], Operations: ['92-43=49', '6+29=35'] Exploring Operation: 49*35=1715, Resulting Numbers: [1715] 1715,47 unequal: No Solution Exploring Operation: 49+35=84, Resulting Numbers: [84] 84,47 unequal: No Solution Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 47:[29, 43], Operations: ['92-43=49', '49-6=43'] Exploring Operation: 29+43=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,47 unequal: No Solution Exploring Operation: 29*43=1247, Resulting Numbers: [1247] 1247,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[49, 23], Operations: ['92-43=49', '29-6=23'] Exploring Operation: 49*23=1127, Resulting Numbers: [1127] 1127,47 unequal: No Solution Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 49+23=72, Resulting Numbers: [72] 72,47 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: 47:[43, 29, 86], Operations: ['92-6=86'] Exploring Operation: 86-43=43, Resulting Numbers: [29, 43] Generated Node #0,2,0: 47:[29, 43] Operation: 86-43=43 Exploring Operation: 86/43=2, Resulting Numbers: [29, 2] Generated Node #0,2,1: 47:[29, 2] Operation: 86/43=2 Exploring Operation: 86-29=57, Resulting Numbers: [43, 57] Generated Node #0,2,2: 47:[43, 57] Operation: 86-29=57 Moving to Node #0,0,1 Current State: 47:[43, 57], Operations: ['92-29=63', '63-6=57'] Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,47 unequal: No Solution Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[43, 57], Operations: ['92-6=86', '86-29=57'] Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,47 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[63, 49], Operations: ['92-29=63', '43+6=49'] Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,47 unequal: No Solution Exploring Operation: 63*49=3087, Resulting Numbers: [3087] 3087,47 unequal: No Solution Exploring Operation: 63+49=112, Resulting Numbers: [112] 112,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[29, 43], Operations: ['92-6=86', '86-43=43'] Exploring Operation: 29*43=1247, Resulting Numbers: [1247] 1247,47 unequal: No Solution Exploring Operation: 29+43=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[63, 37], Operations: ['92-29=63', '43-6=37'] Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 63+37=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 63*37=2331, Resulting Numbers: [2331] 2331,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[29, 2], Operations: ['92-6=86', '86/43=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,47 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,47 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,47 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 8, 51, 64, 54 ]
49
[ "8+51=59", "64-54=10", "59-10=49" ]
Current State: 49:[8, 51, 64, 54], Operations: [] Exploring Operation: 8+51=59, Resulting Numbers: [64, 54, 59] Generated Node #2: [64, 54, 59] from Operation: 8+51=59 Current State: 49:[64, 54, 59], Operations: ['8+51=59'] Exploring Operation: 64-54=10, Resulting Numbers: [59, 10] Generated Node #3: [59, 10] from Operation: 64-54=10 Current State: 49:[59, 10], Operations: ['8+51=59', '64-54=10'] Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[8, 51, 64, 54], Operations: [] Exploring Operation: 64-54=10, Resulting Numbers: [8, 51, 10] Generated Node #0,0: 49:[8, 51, 10] Operation: 64-54=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[8, 51, 10], Operations: ['64-54=10'] Exploring Operation: 10-8=2, Resulting Numbers: [51, 2] Generated Node #0,0,0: 49:[51, 2] Operation: 10-8=2 Moving to Node #0,0,0 Current State: 49:[51, 2], Operations: ['64-54=10', '10-8=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[8, 51, 64, 54], Operations: [] Exploring Operation: 64-54=10, Resulting Numbers: [8, 51, 10] Generated Node #0,0: 49:[8, 51, 10] Operation: 64-54=10 Moving to Node #0,0 Current State: 49:[8, 51, 10], Operations: ['64-54=10'] Exploring Operation: 10-8=2, Resulting Numbers: [51, 2] Generated Node #0,0,0: 49:[51, 2] Operation: 10-8=2 Moving to Node #0,0,0 Current State: 49:[51, 2], Operations: ['64-54=10', '10-8=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 70, 2, 32, 64 ]
90
[ "70-32=38", "2*64=128", "128-38=90" ]
Current State: 90:[70, 2, 32, 64], Operations: [] Exploring Operation: 70-32=38, Resulting Numbers: [2, 64, 38] Generated Node #2: [2, 64, 38] from Operation: 70-32=38 Current State: 90:[2, 64, 38], Operations: ['70-32=38'] Exploring Operation: 2*64=128, Resulting Numbers: [38, 128] Generated Node #3: [38, 128] from Operation: 2*64=128 Current State: 90:[38, 128], Operations: ['70-32=38', '2*64=128'] Exploring Operation: 128-38=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[70, 2, 32, 64], Operations: [] Exploring Operation: 70-64=6, Resulting Numbers: [2, 32, 6] Generated Node #0,0: 90:[2, 32, 6] Operation: 70-64=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[2, 32, 6], Operations: ['70-64=6'] Exploring Operation: 32-2=30, Resulting Numbers: [6, 30] Generated Node #0,0,0: 90:[6, 30] Operation: 32-2=30 Moving to Node #0,0,0 Current State: 90:[6, 30], Operations: ['70-64=6', '32-2=30'] Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,90 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
[ 56, 8, 58, 64 ]
70
[ "56+8=64", "64-58=6", "64+6=70" ]
Current State: 70:[56, 8, 58, 64], Operations: [] Exploring Operation: 56+8=64, Resulting Numbers: [58, 64, 64] Generated Node #2: [58, 64, 64] from Operation: 56+8=64 Current State: 70:[58, 64, 64], Operations: ['56+8=64'] Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,70 equal: Goal Reached Exploring Operation: 64+6=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[56, 8, 58, 64], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [8, 64, 2] Generated Node #0,0: 70:[8, 64, 2] Operation: 58-56=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[8, 64, 2], Operations: ['58-56=2'] Exploring Operation: 64/8=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 70:[2, 8] Operation: 64/8=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[2, 8], Operations: ['58-56=2', '64/8=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,70 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
[ 14, 54, 93, 95 ]
13
[ "95-93=2", "54/2=27", "27-14=13" ]
Current State: 13:[14, 54, 93, 95], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [14, 54, 2] Generated Node #2: [14, 54, 2] from Operation: 95-93=2 Current State: 13:[14, 54, 2], Operations: ['95-93=2'] Exploring Operation: 54/2=27, Resulting Numbers: [14, 27] Generated Node #3: [14, 27] from Operation: 54/2=27 Current State: 13:[14, 27], Operations: ['95-93=2', '54/2=27'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[14, 54, 93, 95], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [14, 54, 2] Generated Node #0,0: 13:[14, 54, 2] Operation: 95-93=2 Exploring Operation: 93-54=39, Resulting Numbers: [14, 95, 39] Generated Node #0,1: 13:[14, 95, 39] Operation: 93-54=39 Moving to Node #0,0 Current State: 13:[14, 54, 2], Operations: ['95-93=2'] Exploring Operation: 54-14=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 13:[2, 40] Operation: 54-14=40 Exploring Operation: 54/2=27, Resulting Numbers: [14, 27] Generated Node #0,0,1: 13:[14, 27] Operation: 54/2=27 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[14, 27], Operations: ['95-93=2', '54/2=27'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[14, 54, 93, 95], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [14, 54, 2] Generated Node #0,0: 13:[14, 54, 2] Operation: 95-93=2 Moving to Node #0,0 Current State: 13:[14, 54, 2], Operations: ['95-93=2'] Exploring Operation: 54/2=27, Resulting Numbers: [14, 27] Generated Node #0,0,1: 13:[14, 27] Operation: 54/2=27 Moving to Node #0,0,1 Current State: 13:[14, 27], Operations: ['95-93=2', '54/2=27'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 15, 28, 8, 42 ]
63
[ "28-15=13", "8+42=50", "13+50=63" ]
Current State: 63:[15, 28, 8, 42], Operations: [] Exploring Operation: 28-15=13, Resulting Numbers: [8, 42, 13] Generated Node #2: [8, 42, 13] from Operation: 28-15=13 Current State: 63:[8, 42, 13], Operations: ['28-15=13'] Exploring Operation: 8+42=50, Resulting Numbers: [13, 50] Generated Node #3: [13, 50] from Operation: 8+42=50 Current State: 63:[13, 50], Operations: ['28-15=13', '8+42=50'] Exploring Operation: 13+50=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[15, 28, 8, 42], Operations: [] Exploring Operation: 42-15=27, Resulting Numbers: [28, 8, 27] Generated Node #0,0: 63:[28, 8, 27] Operation: 42-15=27 Exploring Operation: 28-15=13, Resulting Numbers: [8, 42, 13] Generated Node #0,1: 63:[8, 42, 13] Operation: 28-15=13 Exploring Operation: 15+42=57, Resulting Numbers: [28, 8, 57] Generated Node #0,2: 63:[28, 8, 57] Operation: 15+42=57 Exploring Operation: 42-28=14, Resulting Numbers: [15, 8, 14] Generated Node #0,3: 63:[15, 8, 14] Operation: 42-28=14 Exploring Operation: 28+42=70, Resulting Numbers: [15, 8, 70] Generated Node #0,4: 63:[15, 8, 70] Operation: 28+42=70 Moving to Node #0,3 Current State: 63:[15, 8, 14], Operations: ['42-28=14'] Exploring Operation: 15+8=23, Resulting Numbers: [14, 23] Generated Node #0,3,0: 63:[14, 23] Operation: 15+8=23 Exploring Operation: 14-8=6, Resulting Numbers: [15, 6] Generated Node #0,3,1: 63:[15, 6] Operation: 14-8=6 Exploring Operation: 15-8=7, Resulting Numbers: [14, 7] Generated Node #0,3,2: 63:[14, 7] Operation: 15-8=7 Exploring Operation: 8+14=22, Resulting Numbers: [15, 22] Generated Node #0,3,3: 63:[15, 22] Operation: 8+14=22 Exploring Operation: 15-14=1, Resulting Numbers: [8, 1] Generated Node #0,3,4: 63:[8, 1] Operation: 15-14=1 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 63:[8, 1], Operations: ['42-28=14', '15-14=1'] Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,63 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 63:[14, 7], Operations: ['42-28=14', '15-8=7'] Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,63 unequal: No Solution Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,63 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 63:[14, 23], Operations: ['42-28=14', '15+8=23'] Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 14*23=322, Resulting Numbers: [322] 322,63 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 63:[15, 6], Operations: ['42-28=14', '14-8=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,63 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,63 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 63:[15, 22], Operations: ['42-28=14', '8+14=22'] Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 15*22=330, Resulting Numbers: [330] 330,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 63:[28, 8, 57], Operations: ['15+42=57'] Exploring Operation: 8+57=65, Resulting Numbers: [28, 65] Generated Node #0,2,0: 63:[28, 65] Operation: 8+57=65 Exploring Operation: 57-8=49, Resulting Numbers: [28, 49] Generated Node #0,2,1: 63:[28, 49] Operation: 57-8=49 Exploring Operation: 28-8=20, Resulting Numbers: [57, 20] Generated Node #0,2,2: 63:[57, 20] Operation: 28-8=20 Exploring Operation: 57-28=29, Resulting Numbers: [8, 29] Generated Node #0,2,3: 63:[8, 29] Operation: 57-28=29 Exploring Operation: 28+8=36, Resulting Numbers: [57, 36] Generated Node #0,2,4: 63:[57, 36] Operation: 28+8=36 Moving to Node #0,0 Current State: 63:[28, 8, 27], Operations: ['42-15=27'] Exploring Operation: 28+27=55, Resulting Numbers: [8, 55] Generated Node #0,0,0: 63:[8, 55] Operation: 28+27=55 Exploring Operation: 28+8=36, Resulting Numbers: [27, 36] Generated Node #0,0,1: 63:[27, 36] Operation: 28+8=36 Exploring Operation: 28-27=1, Resulting Numbers: [8, 1] Generated Node #0,0,2: 63:[8, 1] Operation: 28-27=1 Exploring Operation: 28-8=20, Resulting Numbers: [27, 20] Generated Node #0,0,3: 63:[27, 20] Operation: 28-8=20 Exploring Operation: 27-8=19, Resulting Numbers: [28, 19] Generated Node #0,0,4: 63:[28, 19] Operation: 27-8=19 Moving to Node #0,4 Current State: 63:[15, 8, 70], Operations: ['28+42=70'] Exploring Operation: 70-8=62, Resulting Numbers: [15, 62] Generated Node #0,4,0: 63:[15, 62] Operation: 70-8=62 Exploring Operation: 15-8=7, Resulting Numbers: [70, 7] Generated Node #0,4,1: 63:[70, 7] Operation: 15-8=7 Exploring Operation: 15+8=23, Resulting Numbers: [70, 23] Generated Node #0,4,2: 63:[70, 23] Operation: 15+8=23 Exploring Operation: 8+70=78, Resulting Numbers: [15, 78] Generated Node #0,4,3: 63:[15, 78] Operation: 8+70=78 Exploring Operation: 70-15=55, Resulting Numbers: [8, 55] Generated Node #0,4,4: 63:[8, 55] Operation: 70-15=55 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 63:[15, 62], Operations: ['28+42=70', '70-8=62'] Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,63 unequal: No Solution Exploring Operation: 15*62=930, Resulting Numbers: [930] 930,63 unequal: No Solution Exploring Operation: 15+62=77, Resulting Numbers: [77] 77,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 63:[70, 7], Operations: ['28+42=70', '15-8=7'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[15, 28, 8, 42], Operations: [] Exploring Operation: 28+42=70, Resulting Numbers: [15, 8, 70] Generated Node #0,4: 63:[15, 8, 70] Operation: 28+42=70 Moving to Node #0,4 Current State: 63:[15, 8, 70], Operations: ['28+42=70'] Exploring Operation: 15-8=7, Resulting Numbers: [70, 7] Generated Node #0,4,1: 63:[70, 7] Operation: 15-8=7 Moving to Node #0,4,1 Current State: 63:[70, 7], Operations: ['28+42=70', '15-8=7'] Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_5
mult_heuristic
[ 25, 7, 4, 17 ]
76
[ "25*4=100", "7+17=24", "100-24=76" ]
Current State: 76:[25, 7, 4, 17], Operations: [] Exploring Operation: 25*4=100, Resulting Numbers: [7, 17, 100] Generated Node #2: [7, 17, 100] from Operation: 25*4=100 Current State: 76:[7, 17, 100], Operations: ['25*4=100'] Exploring Operation: 7+17=24, Resulting Numbers: [100, 24] Generated Node #3: [100, 24] from Operation: 7+17=24 Current State: 76:[100, 24], Operations: ['25*4=100', '7+17=24'] Exploring Operation: 100-24=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[25, 7, 4, 17], Operations: [] Exploring Operation: 25-7=18, Resulting Numbers: [4, 17, 18] Generated Node #0,0: 76:[4, 17, 18] Operation: 25-7=18 Exploring Operation: 25+17=42, Resulting Numbers: [7, 4, 42] Generated Node #0,1: 76:[7, 4, 42] Operation: 25+17=42 Exploring Operation: 25+7=32, Resulting Numbers: [4, 17, 32] Generated Node #0,2: 76:[4, 17, 32] Operation: 25+7=32 Exploring Operation: 25-17=8, Resulting Numbers: [7, 4, 8] Generated Node #0,3: 76:[7, 4, 8] Operation: 25-17=8 Exploring Operation: 25-4=21, Resulting Numbers: [7, 17, 21] Generated Node #0,4: 76:[7, 17, 21] Operation: 25-4=21 Moving to Node #0,0 Current State: 76:[4, 17, 18], Operations: ['25-7=18'] Exploring Operation: 4*18=72, Resulting Numbers: [17, 72] Generated Node #0,0,0: 76:[17, 72] Operation: 4*18=72 Exploring Operation: 18-17=1, Resulting Numbers: [4, 1] Generated Node #0,0,1: 76:[4, 1] Operation: 18-17=1 Exploring Operation: 4+17=21, Resulting Numbers: [18, 21] Generated Node #0,0,2: 76:[18, 21] Operation: 4+17=21 Exploring Operation: 4+18=22, Resulting Numbers: [17, 22] Generated Node #0,0,3: 76:[17, 22] Operation: 4+18=22 Exploring Operation: 17+18=35, Resulting Numbers: [4, 35] Generated Node #0,0,4: 76:[4, 35] Operation: 17+18=35 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[4, 1], Operations: ['25-7=18', '18-17=1'] Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[18, 21], Operations: ['25-7=18', '4+17=21'] Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,76 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 76:[4, 35], Operations: ['25-7=18', '17+18=35'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,76 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 76:[17, 22], Operations: ['25-7=18', '4+18=22'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[17, 72], Operations: ['25-7=18', '4*18=72'] Exploring Operation: 72-17=55, Resulting Numbers: [55] 55,76 unequal: No Solution Exploring Operation: 17*72=1224, Resulting Numbers: [1224] 1224,76 unequal: No Solution Exploring Operation: 17+72=89, Resulting Numbers: [89] 89,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 76:[7, 4, 8], Operations: ['25-17=8'] Exploring Operation: 7+8=15, Resulting Numbers: [4, 15] Generated Node #0,3,0: 76:[4, 15] Operation: 7+8=15 Exploring Operation: 8-4=4, Resulting Numbers: [7, 4] Generated Node #0,3,1: 76:[7, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [7, 2] Generated Node #0,3,2: 76:[7, 2] Operation: 8/4=2 Exploring Operation: 7-4=3, Resulting Numbers: [8, 3] Generated Node #0,3,3: 76:[8, 3] Operation: 7-4=3 Exploring Operation: 8-7=1, Resulting Numbers: [4, 1] Generated Node #0,3,4: 76:[4, 1] Operation: 8-7=1 Moving to Node #0,1 Current State: 76:[7, 4, 42], Operations: ['25+17=42'] Exploring Operation: 7+4=11, Resulting Numbers: [42, 11] Generated Node #0,1,0: 76:[42, 11] Operation: 7+4=11 Exploring Operation: 7-4=3, Resulting Numbers: [42, 3] Generated Node #0,1,1: 76:[42, 3] Operation: 7-4=3 Exploring Operation: 42/7=6, Resulting Numbers: [4, 6] Generated Node #0,1,2: 76:[4, 6] Operation: 42/7=6 Exploring Operation: 42-4=38, Resulting Numbers: [7, 38] Generated Node #0,1,3: 76:[7, 38] Operation: 42-4=38 Exploring Operation: 42-7=35, Resulting Numbers: [4, 35] Generated Node #0,1,4: 76:[4, 35] Operation: 42-7=35 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 76:[4, 6], Operations: ['25+17=42', '42/7=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 76:[7, 38], Operations: ['25+17=42', '42-4=38'] Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,76 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 76:[4, 35], Operations: ['25+17=42', '42-7=35'] Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,76 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[42, 3], Operations: ['25+17=42', '7-4=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,76 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,76 unequal: No Solution Exploring Operation: 42*3=126, Resulting Numbers: [126] 126,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[42, 11], Operations: ['25+17=42', '7+4=11'] Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,76 unequal: No Solution Exploring Operation: 42*11=462, Resulting Numbers: [462] 462,76 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,76 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: 76:[7, 17, 21], Operations: ['25-4=21'] Exploring Operation: 17+21=38, Resulting Numbers: [7, 38] Generated Node #0,4,0: 76:[7, 38] Operation: 17+21=38 Exploring Operation: 21/7=3, Resulting Numbers: [17, 3] Generated Node #0,4,1: 76:[17, 3] Operation: 21/7=3 Exploring Operation: 21-7=14, Resulting Numbers: [17, 14] Generated Node #0,4,2: 76:[17, 14] Operation: 21-7=14 Exploring Operation: 7+17=24, Resulting Numbers: [21, 24] Generated Node #0,4,3: 76:[21, 24] Operation: 7+17=24 Exploring Operation: 21-17=4, Resulting Numbers: [7, 4] Generated Node #0,4,4: 76:[7, 4] Operation: 21-17=4 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 76:[7, 38], Operations: ['25-4=21', '17+21=38'] Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,76 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 76:[17, 3], Operations: ['25-4=21', '21/7=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,76 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,76 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 76:[7, 4], Operations: ['25-4=21', '21-17=4'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 76:[17, 14], Operations: ['25-4=21', '21-7=14'] Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,76 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 76:[21, 24], Operations: ['25-4=21', '7+17=24'] Exploring Operation: 21+24=45, Resulting Numbers: [45] 45,76 unequal: No Solution Exploring Operation: 21*24=504, Resulting Numbers: [504] 504,76 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 76:[4, 17, 32], Operations: ['25+7=32'] Exploring Operation: 32-17=15, Resulting Numbers: [4, 15] Generated Node #0,2,0: 76:[4, 15] Operation: 32-17=15 Exploring Operation: 32-4=28, Resulting Numbers: [17, 28] Generated Node #0,2,1: 76:[17, 28] Operation: 32-4=28 Exploring Operation: 32/4=8, Resulting Numbers: [17, 8] Generated Node #0,2,2: 76:[17, 8] Operation: 32/4=8 Exploring Operation: 4+17=21, Resulting Numbers: [32, 21] Generated Node #0,2,3: 76:[32, 21] Operation: 4+17=21 Exploring Operation: 4+32=36, Resulting Numbers: [17, 36] Generated Node #0,2,4: 76:[17, 36] Operation: 4+32=36 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[4, 15], Operations: ['25+7=32', '32-17=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,76 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 76:[17, 36], Operations: ['25+7=32', '4+32=36'] Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 17+36=53, Resulting Numbers: [53] 53,76 unequal: No Solution Exploring Operation: 17*36=612, Resulting Numbers: [612] 612,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[17, 8], Operations: ['25+7=32', '32/4=8'] Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,76 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 76:[32, 21], Operations: ['25+7=32', '4+17=21'] Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,76 unequal: No Solution Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,76 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[17, 28], Operations: ['25+7=32', '32-4=28'] Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,76 unequal: No Solution Exploring Operation: 17*28=476, Resulting Numbers: [476] 476,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,4 Current State: 76:[4, 1], Operations: ['25-17=8', '8-7=1'] Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[7, 2], Operations: ['25-17=8', '8/4=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,76 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[7, 4], Operations: ['25-17=8', '8-4=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[4, 15], Operations: ['25-17=8', '7+8=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,76 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[8, 3], Operations: ['25-17=8', '7-4=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,76 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 93, 41, 14, 19 ]
85
[ "93-41=52", "14+19=33", "52+33=85" ]
Current State: 85:[93, 41, 14, 19], Operations: [] Exploring Operation: 93-41=52, Resulting Numbers: [14, 19, 52] Generated Node #2: [14, 19, 52] from Operation: 93-41=52 Current State: 85:[14, 19, 52], Operations: ['93-41=52'] Exploring Operation: 14+19=33, Resulting Numbers: [52, 33] Generated Node #3: [52, 33] from Operation: 14+19=33 Current State: 85:[52, 33], Operations: ['93-41=52', '14+19=33'] Exploring Operation: 52+33=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[93, 41, 14, 19], Operations: [] Exploring Operation: 41-19=22, Resulting Numbers: [93, 14, 22] Generated Node #0,0: 85:[93, 14, 22] Operation: 41-19=22 Moving to Node #0,0 Current State: 85:[93, 14, 22], Operations: ['41-19=22'] Exploring Operation: 93-14=79, Resulting Numbers: [22, 79] Generated Node #0,0,0: 85:[22, 79] Operation: 93-14=79 Moving to Node #0,0,0 Current State: 85:[22, 79], Operations: ['41-19=22', '93-14=79'] Exploring Operation: 22+79=101, Resulting Numbers: [101] 101,85 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 11, 60, 70, 5 ]
75
[ "11*5=55", "60+70=130", "130-55=75" ]
Current State: 75:[11, 60, 70, 5], Operations: [] Exploring Operation: 11*5=55, Resulting Numbers: [60, 70, 55] Generated Node #2: [60, 70, 55] from Operation: 11*5=55 Current State: 75:[60, 70, 55], Operations: ['11*5=55'] Exploring Operation: 60+70=130, Resulting Numbers: [55, 130] Generated Node #3: [55, 130] from Operation: 60+70=130 Current State: 75:[55, 130], Operations: ['11*5=55', '60+70=130'] Exploring Operation: 130-55=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[11, 60, 70, 5], Operations: [] Exploring Operation: 70-60=10, Resulting Numbers: [11, 5, 10] Generated Node #0,0: 75:[11, 5, 10] Operation: 70-60=10 Exploring Operation: 11+60=71, Resulting Numbers: [70, 5, 71] Generated Node #0,1: 75:[70, 5, 71] Operation: 11+60=71 Exploring Operation: 60/5=12, Resulting Numbers: [11, 70, 12] Generated Node #0,2: 75:[11, 70, 12] Operation: 60/5=12 Exploring Operation: 70+5=75, Resulting Numbers: [11, 60, 75] Generated Node #0,3: 75:[11, 60, 75] Operation: 70+5=75 Exploring Operation: 60+5=65, Resulting Numbers: [11, 70, 65] Generated Node #0,4: 75:[11, 70, 65] Operation: 60+5=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[11, 5, 10], Operations: ['70-60=10'] Exploring Operation: 5+10=15, Resulting Numbers: [11, 15] Generated Node #0,0,0: 75:[11, 15] Operation: 5+10=15 Exploring Operation: 10-5=5, Resulting Numbers: [11, 5] Generated Node #0,0,1: 75:[11, 5] Operation: 10-5=5 Exploring Operation: 11+10=21, Resulting Numbers: [5, 21] Generated Node #0,0,2: 75:[5, 21] Operation: 11+10=21 Exploring Operation: 11-10=1, Resulting Numbers: [5, 1] Generated Node #0,0,3: 75:[5, 1] Operation: 11-10=1 Exploring Operation: 10/5=2, Resulting Numbers: [11, 2] Generated Node #0,0,4: 75:[11, 2] Operation: 10/5=2 Moving to Node #0,0,3 Current State: 75:[5, 1], Operations: ['70-60=10', '11-10=1'] Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,75 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[11, 5], Operations: ['70-60=10', '10-5=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[11, 15], Operations: ['70-60=10', '5+10=15'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[5, 21], Operations: ['70-60=10', '11+10=21'] Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,75 unequal: No Solution Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,75 unequal: No Solution Moving to Node #0,0,4 Current State: 75:[11, 2], Operations: ['70-60=10', '10/5=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,75 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[70, 5, 71], Operations: ['11+60=71'] Exploring Operation: 70-5=65, Resulting Numbers: [71, 65] Generated Node #0,1,0: 75:[71, 65] Operation: 70-5=65 Exploring Operation: 70/5=14, Resulting Numbers: [71, 14] Generated Node #0,1,1: 75:[71, 14] Operation: 70/5=14 Exploring Operation: 71-70=1, Resulting Numbers: [5, 1] Generated Node #0,1,2: 75:[5, 1] Operation: 71-70=1 Exploring Operation: 5+71=76, Resulting Numbers: [70, 76] Generated Node #0,1,3: 75:[70, 76] Operation: 5+71=76 Exploring Operation: 70+5=75, Resulting Numbers: [71, 75] Generated Node #0,1,4: 75:[71, 75] Operation: 70+5=75 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 75:[5, 1], Operations: ['11+60=71', '71-70=1'] Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,75 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 75:[71, 75], Operations: ['11+60=71', '70+5=75'] Exploring Operation: 75-71=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 71*75=5325, Resulting Numbers: [5325] 5325,75 unequal: No Solution Exploring Operation: 71+75=146, Resulting Numbers: [146] 146,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[71, 14], Operations: ['11+60=71', '70/5=14'] Exploring Operation: 71*14=994, Resulting Numbers: [994] 994,75 unequal: No Solution Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,75 unequal: No Solution Exploring Operation: 71+14=85, Resulting Numbers: [85] 85,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 75:[70, 76], Operations: ['11+60=71', '5+71=76'] Exploring Operation: 76-70=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 70*76=5320, Resulting Numbers: [5320] 5320,75 unequal: No Solution Exploring Operation: 70+76=146, Resulting Numbers: [146] 146,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[71, 65], Operations: ['11+60=71', '70-5=65'] Exploring Operation: 71-65=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 71*65=4615, Resulting Numbers: [4615] 4615,75 unequal: No Solution Exploring Operation: 71+65=136, Resulting Numbers: [136] 136,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[11, 70, 12], Operations: ['60/5=12'] Exploring Operation: 70-11=59, Resulting Numbers: [12, 59] Generated Node #0,2,0: 75:[12, 59] Operation: 70-11=59 Exploring Operation: 11+12=23, Resulting Numbers: [70, 23] Generated Node #0,2,1: 75:[70, 23] Operation: 11+12=23 Exploring Operation: 11+70=81, Resulting Numbers: [12, 81] Generated Node #0,2,2: 75:[12, 81] Operation: 11+70=81 Exploring Operation: 12-11=1, Resulting Numbers: [70, 1] Generated Node #0,2,3: 75:[70, 1] Operation: 12-11=1 Exploring Operation: 70+12=82, Resulting Numbers: [11, 82] Generated Node #0,2,4: 75:[11, 82] Operation: 70+12=82 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 75:[70, 23], Operations: ['60/5=12', '11+12=23'] Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,75 unequal: No Solution Exploring Operation: 70+23=93, Resulting Numbers: [93] 93,75 unequal: No Solution Exploring Operation: 70*23=1610, Resulting Numbers: [1610] 1610,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 75:[70, 1], Operations: ['60/5=12', '12-11=1'] Exploring Operation: 70/1=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 70*1=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,75 unequal: No Solution Exploring Operation: 70+1=71, Resulting Numbers: [71] 71,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 75:[12, 81], Operations: ['60/5=12', '11+70=81'] Exploring Operation: 12+81=93, Resulting Numbers: [93] 93,75 unequal: No Solution Exploring Operation: 81-12=69, Resulting Numbers: [69] 69,75 unequal: No Solution Exploring Operation: 12*81=972, Resulting Numbers: [972] 972,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 75:[11, 82], Operations: ['60/5=12', '70+12=82'] Exploring Operation: 11+82=93, Resulting Numbers: [93] 93,75 unequal: No Solution Exploring Operation: 82-11=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 11*82=902, Resulting Numbers: [902] 902,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 75:[12, 59], Operations: ['60/5=12', '70-11=59'] Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,75 unequal: No Solution Exploring Operation: 12*59=708, Resulting Numbers: [708] 708,75 unequal: No Solution Exploring Operation: 12+59=71, Resulting Numbers: [71] 71,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[11, 60, 75], Operations: ['70+5=75'] Exploring Operation: 60-11=49, Resulting Numbers: [75, 49] Generated Node #0,3,0: 75:[75, 49] Operation: 60-11=49 Exploring Operation: 11+60=71, Resulting Numbers: [75, 71] Generated Node #0,3,1: 75:[75, 71] Operation: 11+60=71 Exploring Operation: 75-11=64, Resulting Numbers: [60, 64] Generated Node #0,3,2: 75:[60, 64] Operation: 75-11=64 Exploring Operation: 11+75=86, Resulting Numbers: [60, 86] Generated Node #0,3,3: 75:[60, 86] Operation: 11+75=86 Exploring Operation: 75-60=15, Resulting Numbers: [11, 15] Generated Node #0,3,4: 75:[11, 15] Operation: 75-60=15 Moving to Node #0,3,1 Current State: 75:[75, 71], Operations: ['70+5=75', '11+60=71'] Exploring Operation: 75*71=5325, Resulting Numbers: [5325] 5325,75 unequal: No Solution Exploring Operation: 75+71=146, Resulting Numbers: [146] 146,75 unequal: No Solution Exploring Operation: 75-71=4, Resulting Numbers: [4] 4,75 unequal: No Solution Moving to Node #0,3,4 Current State: 75:[11, 15], Operations: ['70+5=75', '75-60=15'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,75 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,75 unequal: No Solution Moving to Node #0,3,0 Current State: 75:[75, 49], Operations: ['70+5=75', '60-11=49'] Exploring Operation: 75*49=3675, Resulting Numbers: [3675] 3675,75 unequal: No Solution Exploring Operation: 75-49=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 75+49=124, Resulting Numbers: [124] 124,75 unequal: No Solution Moving to Node #0,3,2 Current State: 75:[60, 64], Operations: ['70+5=75', '75-11=64'] Exploring Operation: 60+64=124, Resulting Numbers: [124] 124,75 unequal: No Solution Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 60*64=3840, Resulting Numbers: [3840] 3840,75 unequal: No Solution Moving to Node #0,3,3 Current State: 75:[60, 86], Operations: ['70+5=75', '11+75=86'] Exploring Operation: 60+86=146, Resulting Numbers: [146] 146,75 unequal: No Solution Exploring Operation: 86-60=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 60*86=5160, Resulting Numbers: [5160] 5160,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 75:[11, 70, 65], Operations: ['60+5=65'] Exploring Operation: 65-11=54, Resulting Numbers: [70, 54] Generated Node #0,4,0: 75:[70, 54] Operation: 65-11=54 Exploring Operation: 70-11=59, Resulting Numbers: [65, 59] Generated Node #0,4,1: 75:[65, 59] Operation: 70-11=59 Exploring Operation: 70-65=5, Resulting Numbers: [11, 5] Generated Node #0,4,2: 75:[11, 5] Operation: 70-65=5 Exploring Operation: 11+70=81, Resulting Numbers: [65, 81] Generated Node #0,4,3: 75:[65, 81] Operation: 11+70=81 Exploring Operation: 11+65=76, Resulting Numbers: [70, 76] Generated Node #0,4,4: 75:[70, 76] Operation: 11+65=76 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 75:[11, 5], Operations: ['60+5=65', '70-65=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,75 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 75:[70, 76], Operations: ['60+5=65', '11+65=76'] Exploring Operation: 70*76=5320, Resulting Numbers: [5320] 5320,75 unequal: No Solution Exploring Operation: 76-70=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 70+76=146, Resulting Numbers: [146] 146,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 75:[65, 81], Operations: ['60+5=65', '11+70=81'] Exploring Operation: 81-65=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 65*81=5265, Resulting Numbers: [5265] 5265,75 unequal: No Solution Exploring Operation: 65+81=146, Resulting Numbers: [146] 146,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 75:[70, 54], Operations: ['60+5=65', '65-11=54'] Exploring Operation: 70-54=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 70*54=3780, Resulting Numbers: [3780] 3780,75 unequal: No Solution Exploring Operation: 70+54=124, Resulting Numbers: [124] 124,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 75:[65, 59], Operations: ['60+5=65', '70-11=59'] Exploring Operation: 65*59=3835, Resulting Numbers: [3835] 3835,75 unequal: No Solution Exploring Operation: 65+59=124, Resulting Numbers: [124] 124,75 unequal: No Solution Exploring Operation: 65-59=6, Resulting Numbers: [6] 6,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 64, 6, 63, 38 ]
65
[ "38-6=32", "64/32=2", "63+2=65" ]
Current State: 65:[64, 6, 63, 38], Operations: [] Exploring Operation: 38-6=32, Resulting Numbers: [64, 63, 32] Generated Node #2: [64, 63, 32] from Operation: 38-6=32 Current State: 65:[64, 63, 32], Operations: ['38-6=32'] Exploring Operation: 64/32=2, Resulting Numbers: [63, 2] Generated Node #3: [63, 2] from Operation: 64/32=2 Current State: 65:[63, 2], Operations: ['38-6=32', '64/32=2'] Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[64, 6, 63, 38], Operations: [] Exploring Operation: 38-6=32, Resulting Numbers: [64, 63, 32] Generated Node #0,0: 65:[64, 63, 32] Operation: 38-6=32 Exploring Operation: 64-38=26, Resulting Numbers: [6, 63, 26] Generated Node #0,1: 65:[6, 63, 26] Operation: 64-38=26 Exploring Operation: 63-38=25, Resulting Numbers: [64, 6, 25] Generated Node #0,2: 65:[64, 6, 25] Operation: 63-38=25 Exploring Operation: 6+38=44, Resulting Numbers: [64, 63, 44] Generated Node #0,3: 65:[64, 63, 44] Operation: 6+38=44 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[64, 6, 25], Operations: ['63-38=25'] Exploring Operation: 6+25=31, Resulting Numbers: [64, 31] Generated Node #0,2,0: 65:[64, 31] Operation: 6+25=31 Exploring Operation: 25-6=19, Resulting Numbers: [64, 19] Generated Node #0,2,1: 65:[64, 19] Operation: 25-6=19 Exploring Operation: 64+6=70, Resulting Numbers: [25, 70] Generated Node #0,2,2: 65:[25, 70] Operation: 64+6=70 Exploring Operation: 64-6=58, Resulting Numbers: [25, 58] Generated Node #0,2,3: 65:[25, 58] Operation: 64-6=58 Moving to Node #0,2,1 Current State: 65:[64, 19], Operations: ['63-38=25', '25-6=19'] Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,65 unequal: No Solution Exploring Operation: 64*19=1216, Resulting Numbers: [1216] 1216,65 unequal: No Solution Exploring Operation: 64+19=83, Resulting Numbers: [83] 83,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[25, 70], Operations: ['63-38=25', '64+6=70'] Exploring Operation: 25*70=1750, Resulting Numbers: [1750] 1750,65 unequal: No Solution Exploring Operation: 70-25=45, Resulting Numbers: [45] 45,65 unequal: No Solution Exploring Operation: 25+70=95, Resulting Numbers: [95] 95,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[25, 58], Operations: ['63-38=25', '64-6=58'] Exploring Operation: 25+58=83, Resulting Numbers: [83] 83,65 unequal: No Solution Exploring Operation: 58-25=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 25*58=1450, Resulting Numbers: [1450] 1450,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[64, 31], Operations: ['63-38=25', '6+25=31'] Exploring Operation: 64-31=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 64+31=95, Resulting Numbers: [95] 95,65 unequal: No Solution Exploring Operation: 64*31=1984, Resulting Numbers: [1984] 1984,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[6, 63, 26], Operations: ['64-38=26'] Exploring Operation: 6+26=32, Resulting Numbers: [63, 32] Generated Node #0,1,0: 65:[63, 32] Operation: 6+26=32 Exploring Operation: 6+63=69, Resulting Numbers: [26, 69] Generated Node #0,1,1: 65:[26, 69] Operation: 6+63=69 Exploring Operation: 63-6=57, Resulting Numbers: [26, 57] Generated Node #0,1,2: 65:[26, 57] Operation: 63-6=57 Exploring Operation: 26-6=20, Resulting Numbers: [63, 20] Generated Node #0,1,3: 65:[63, 20] Operation: 26-6=20 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 65:[63, 20], Operations: ['64-38=26', '26-6=20'] Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,65 unequal: No Solution Exploring Operation: 63*20=1260, Resulting Numbers: [1260] 1260,65 unequal: No Solution Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 65:[26, 69], Operations: ['64-38=26', '6+63=69'] Exploring Operation: 26*69=1794, Resulting Numbers: [1794] 1794,65 unequal: No Solution Exploring Operation: 26+69=95, Resulting Numbers: [95] 95,65 unequal: No Solution Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[63, 32], Operations: ['64-38=26', '6+26=32'] Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,65 unequal: No Solution Exploring Operation: 63*32=2016, Resulting Numbers: [2016] 2016,65 unequal: No Solution Exploring Operation: 63+32=95, Resulting Numbers: [95] 95,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 65:[26, 57], Operations: ['64-38=26', '63-6=57'] Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,65 unequal: No Solution Exploring Operation: 26+57=83, Resulting Numbers: [83] 83,65 unequal: No Solution Exploring Operation: 26*57=1482, Resulting Numbers: [1482] 1482,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[64, 63, 32], Operations: ['38-6=32'] Exploring Operation: 64-32=32, Resulting Numbers: [63, 32] Generated Node #0,0,0: 65:[63, 32] Operation: 64-32=32 Exploring Operation: 64/32=2, Resulting Numbers: [63, 2] Generated Node #0,0,1: 65:[63, 2] Operation: 64/32=2 Exploring Operation: 64-63=1, Resulting Numbers: [32, 1] Generated Node #0,0,2: 65:[32, 1] Operation: 64-63=1 Exploring Operation: 63-32=31, Resulting Numbers: [64, 31] Generated Node #0,0,3: 65:[64, 31] Operation: 63-32=31 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 65:[63, 2], Operations: ['38-6=32', '64/32=2'] Exploring Operation: 63*2=126, Resulting Numbers: [126] 126,65 unequal: No Solution Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[64, 6, 63, 38], Operations: [] Exploring Operation: 38-6=32, Resulting Numbers: [64, 63, 32] Generated Node #0,0: 65:[64, 63, 32] Operation: 38-6=32 Moving to Node #0,0 Current State: 65:[64, 63, 32], Operations: ['38-6=32'] Exploring Operation: 64/32=2, Resulting Numbers: [63, 2] Generated Node #0,0,1: 65:[63, 2] Operation: 64/32=2 Moving to Node #0,0,1 Current State: 65:[63, 2], Operations: ['38-6=32', '64/32=2'] Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.960069
hs_4
sum_heuristic
[ 22, 61, 88, 56 ]
75
[ "88/22=4", "56/4=14", "61+14=75" ]
Current State: 75:[22, 61, 88, 56], Operations: [] Exploring Operation: 88/22=4, Resulting Numbers: [61, 56, 4] Generated Node #2: [61, 56, 4] from Operation: 88/22=4 Current State: 75:[61, 56, 4], Operations: ['88/22=4'] Exploring Operation: 56/4=14, Resulting Numbers: [61, 14] Generated Node #3: [61, 14] from Operation: 56/4=14 Current State: 75:[61, 14], Operations: ['88/22=4', '56/4=14'] Exploring Operation: 61+14=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[22, 61, 88, 56], Operations: [] Exploring Operation: 88-61=27, Resulting Numbers: [22, 56, 27] Generated Node #0,0: 75:[22, 56, 27] Operation: 88-61=27 Exploring Operation: 88-56=32, Resulting Numbers: [22, 61, 32] Generated Node #0,1: 75:[22, 61, 32] Operation: 88-56=32 Exploring Operation: 61-56=5, Resulting Numbers: [22, 88, 5] Generated Node #0,2: 75:[22, 88, 5] Operation: 61-56=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[22, 88, 5], Operations: ['61-56=5'] Exploring Operation: 88-22=66, Resulting Numbers: [5, 66] Generated Node #0,2,0: 75:[5, 66] Operation: 88-22=66 Exploring Operation: 88/22=4, Resulting Numbers: [5, 4] Generated Node #0,2,1: 75:[5, 4] Operation: 88/22=4 Exploring Operation: 88-5=83, Resulting Numbers: [22, 83] Generated Node #0,2,2: 75:[22, 83] Operation: 88-5=83 Moving to Node #0,2,1 Current State: 75:[5, 4], Operations: ['61-56=5', '88/22=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[5, 66], Operations: ['61-56=5', '88-22=66'] Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,75 unequal: No Solution Exploring Operation: 5*66=330, Resulting Numbers: [330] 330,75 unequal: No Solution Exploring Operation: 5+66=71, Resulting Numbers: [71] 71,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[22, 83], Operations: ['61-56=5', '88-5=83'] Exploring Operation: 83-22=61, Resulting Numbers: [61] 61,75 unequal: No Solution Exploring Operation: 22*83=1826, Resulting Numbers: [1826] 1826,75 unequal: No Solution Exploring Operation: 22+83=105, Resulting Numbers: [105] 105,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[22, 56, 27], Operations: ['88-61=27'] Exploring Operation: 56-22=34, Resulting Numbers: [27, 34] Generated Node #0,0,0: 75:[27, 34] Operation: 56-22=34 Exploring Operation: 56-27=29, Resulting Numbers: [22, 29] Generated Node #0,0,1: 75:[22, 29] Operation: 56-27=29 Exploring Operation: 22+56=78, Resulting Numbers: [27, 78] Generated Node #0,0,2: 75:[27, 78] Operation: 22+56=78 Moving to Node #0,0,2 Current State: 75:[27, 78], Operations: ['88-61=27', '22+56=78'] Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,75 unequal: No Solution Exploring Operation: 27+78=105, Resulting Numbers: [105] 105,75 unequal: No Solution Exploring Operation: 27*78=2106, Resulting Numbers: [2106] 2106,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[22, 29], Operations: ['88-61=27', '56-27=29'] Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,75 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 22*29=638, Resulting Numbers: [638] 638,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[27, 34], Operations: ['88-61=27', '56-22=34'] Exploring Operation: 27*34=918, Resulting Numbers: [918] 918,75 unequal: No Solution Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 27+34=61, Resulting Numbers: [61] 61,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[22, 61, 32], Operations: ['88-56=32'] Exploring Operation: 32-22=10, Resulting Numbers: [61, 10] Generated Node #0,1,0: 75:[61, 10] Operation: 32-22=10 Exploring Operation: 22+61=83, Resulting Numbers: [32, 83] Generated Node #0,1,1: 75:[32, 83] Operation: 22+61=83 Exploring Operation: 61-32=29, Resulting Numbers: [22, 29] Generated Node #0,1,2: 75:[22, 29] Operation: 61-32=29 Moving to Node #0,1,2 Current State: 75:[22, 29], Operations: ['88-56=32', '61-32=29'] Exploring Operation: 22*29=638, Resulting Numbers: [638] 638,75 unequal: No Solution Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,75 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[32, 83], Operations: ['88-56=32', '22+61=83'] Exploring Operation: 32+83=115, Resulting Numbers: [115] 115,75 unequal: No Solution Exploring Operation: 32*83=2656, Resulting Numbers: [2656] 2656,75 unequal: No Solution Exploring Operation: 83-32=51, Resulting Numbers: [51] 51,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[61, 10], Operations: ['88-56=32', '32-22=10'] Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,75 unequal: No Solution Exploring Operation: 61+10=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 61*10=610, Resulting Numbers: [610] 610,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 75, 45, 11, 15 ]
51
[ "75/15=5", "45+11=56", "56-5=51" ]
Current State: 51:[75, 45, 11, 15], Operations: [] Exploring Operation: 75/15=5, Resulting Numbers: [45, 11, 5] Generated Node #2: [45, 11, 5] from Operation: 75/15=5 Current State: 51:[45, 11, 5], Operations: ['75/15=5'] Exploring Operation: 45+11=56, Resulting Numbers: [5, 56] Generated Node #3: [5, 56] from Operation: 45+11=56 Current State: 51:[5, 56], Operations: ['75/15=5', '45+11=56'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[75, 45, 11, 15], Operations: [] Exploring Operation: 75-11=64, Resulting Numbers: [45, 15, 64] Generated Node #0,0: 51:[45, 15, 64] Operation: 75-11=64 Exploring Operation: 75-15=60, Resulting Numbers: [45, 11, 60] Generated Node #0,1: 51:[45, 11, 60] Operation: 75-15=60 Exploring Operation: 75/15=5, Resulting Numbers: [45, 11, 5] Generated Node #0,2: 51:[45, 11, 5] Operation: 75/15=5 Exploring Operation: 75-45=30, Resulting Numbers: [11, 15, 30] Generated Node #0,3: 51:[11, 15, 30] Operation: 75-45=30 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[45, 11, 5], Operations: ['75/15=5'] Exploring Operation: 11+5=16, Resulting Numbers: [45, 16] Generated Node #0,2,0: 51:[45, 16] Operation: 11+5=16 Exploring Operation: 45+11=56, Resulting Numbers: [5, 56] Generated Node #0,2,1: 51:[5, 56] Operation: 45+11=56 Exploring Operation: 45+5=50, Resulting Numbers: [11, 50] Generated Node #0,2,2: 51:[11, 50] Operation: 45+5=50 Exploring Operation: 11-5=6, Resulting Numbers: [45, 6] Generated Node #0,2,3: 51:[45, 6] Operation: 11-5=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[45, 16], Operations: ['75/15=5', '11+5=16'] Exploring Operation: 45+16=61, Resulting Numbers: [61] 61,51 unequal: No Solution Exploring Operation: 45*16=720, Resulting Numbers: [720] 720,51 unequal: No Solution Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 51:[5, 56], Operations: ['75/15=5', '45+11=56'] Exploring Operation: 5*56=280, Resulting Numbers: [280] 280,51 unequal: No Solution Exploring Operation: 5+56=61, Resulting Numbers: [61] 61,51 unequal: No Solution Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[75, 45, 11, 15], Operations: [] Exploring Operation: 75/15=5, Resulting Numbers: [45, 11, 5] Generated Node #0,2: 51:[45, 11, 5] Operation: 75/15=5 Moving to Node #0,2 Current State: 51:[45, 11, 5], Operations: ['75/15=5'] Exploring Operation: 45+11=56, Resulting Numbers: [5, 56] Generated Node #0,2,1: 51:[5, 56] Operation: 45+11=56 Moving to Node #0,2,1 Current State: 51:[5, 56], Operations: ['75/15=5', '45+11=56'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 3, 12, 15, 35 ]
22
[ "3*15=45", "35-12=23", "45-23=22" ]
Current State: 22:[3, 12, 15, 35], Operations: [] Exploring Operation: 3*15=45, Resulting Numbers: [12, 35, 45] Generated Node #2: [12, 35, 45] from Operation: 3*15=45 Current State: 22:[12, 35, 45], Operations: ['3*15=45'] Exploring Operation: 35-12=23, Resulting Numbers: [45, 23] Generated Node #3: [45, 23] from Operation: 35-12=23 Current State: 22:[45, 23], Operations: ['3*15=45', '35-12=23'] Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[3, 12, 15, 35], Operations: [] Exploring Operation: 35-12=23, Resulting Numbers: [3, 15, 23] Generated Node #0,0: 22:[3, 15, 23] Operation: 35-12=23 Exploring Operation: 35-15=20, Resulting Numbers: [3, 12, 20] Generated Node #0,1: 22:[3, 12, 20] Operation: 35-15=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[3, 12, 20], Operations: ['35-15=20'] Exploring Operation: 3+20=23, Resulting Numbers: [12, 23] Generated Node #0,1,0: 22:[12, 23] Operation: 3+20=23 Exploring Operation: 12-3=9, Resulting Numbers: [20, 9] Generated Node #0,1,1: 22:[20, 9] Operation: 12-3=9 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 22:[12, 23], Operations: ['35-15=20', '3+20=23'] Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,22 unequal: No Solution No 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: 22:[20, 9], Operations: ['35-15=20', '12-3=9'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,22 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: 22:[3, 15, 23], Operations: ['35-12=23'] Exploring Operation: 15/3=5, Resulting Numbers: [23, 5] Generated Node #0,0,0: 22:[23, 5] Operation: 15/3=5 Exploring Operation: 15-3=12, Resulting Numbers: [23, 12] Generated Node #0,0,1: 22:[23, 12] Operation: 15-3=12 Moving to Node #0,0,1 Current State: 22:[23, 12], Operations: ['35-12=23', '15-3=12'] Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[23, 5], Operations: ['35-12=23', '15/3=5'] Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,22 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,22 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
[ 2, 66, 83, 99 ]
54
[ "83-2=81", "66*81=5346", "5346/99=54" ]
Current State: 54:[2, 66, 83, 99], Operations: [] Exploring Operation: 83-2=81, Resulting Numbers: [66, 99, 81] Generated Node #2: [66, 99, 81] from Operation: 83-2=81 Current State: 54:[66, 99, 81], Operations: ['83-2=81'] Exploring Operation: 66*81=5346, Resulting Numbers: [99, 5346] Generated Node #3: [99, 5346] from Operation: 66*81=5346 Current State: 54:[99, 5346], Operations: ['83-2=81', '66*81=5346'] Exploring Operation: 5346/99=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[2, 66, 83, 99], Operations: [] Exploring Operation: 99-83=16, Resulting Numbers: [2, 66, 16] Generated Node #0,0: 54:[2, 66, 16] Operation: 99-83=16 Exploring Operation: 83-66=17, Resulting Numbers: [2, 99, 17] Generated Node #0,1: 54:[2, 99, 17] Operation: 83-66=17 Exploring Operation: 99-66=33, Resulting Numbers: [2, 83, 33] Generated Node #0,2: 54:[2, 83, 33] Operation: 99-66=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[2, 66, 16], Operations: ['99-83=16'] Exploring Operation: 66-16=50, Resulting Numbers: [2, 50] Generated Node #0,0,0: 54:[2, 50] Operation: 66-16=50 Exploring Operation: 66-2=64, Resulting Numbers: [16, 64] Generated Node #0,0,1: 54:[16, 64] Operation: 66-2=64 Exploring Operation: 66/2=33, Resulting Numbers: [16, 33] Generated Node #0,0,2: 54:[16, 33] Operation: 66/2=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[2, 50], Operations: ['99-83=16', '66-16=50'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,54 unequal: No Solution Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 54:[16, 33], Operations: ['99-83=16', '66/2=33'] Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,54 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,54 unequal: No Solution Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 54:[16, 64], Operations: ['99-83=16', '66-2=64'] Exploring Operation: 16+64=80, Resulting Numbers: [80] 80,54 unequal: No Solution Exploring Operation: 64-16=48, Resulting Numbers: [48] 48,54 unequal: No Solution Exploring Operation: 64/16=4, Resulting Numbers: [4] 4,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[2, 83, 33], Operations: ['99-66=33'] Exploring Operation: 33-2=31, Resulting Numbers: [83, 31] Generated Node #0,2,0: 54:[83, 31] Operation: 33-2=31 Exploring Operation: 83-2=81, Resulting Numbers: [33, 81] Generated Node #0,2,1: 54:[33, 81] Operation: 83-2=81 Exploring Operation: 83-33=50, Resulting Numbers: [2, 50] Generated Node #0,2,2: 54:[2, 50] Operation: 83-33=50 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 54:[2, 50], Operations: ['99-66=33', '83-33=50'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,54 unequal: No Solution Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,54 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 54:[83, 31], Operations: ['99-66=33', '33-2=31'] Exploring Operation: 83*31=2573, Resulting Numbers: [2573] 2573,54 unequal: No Solution Exploring Operation: 83+31=114, Resulting Numbers: [114] 114,54 unequal: No Solution Exploring Operation: 83-31=52, Resulting Numbers: [52] 52,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 54:[33, 81], Operations: ['99-66=33', '83-2=81'] Exploring Operation: 33*81=2673, Resulting Numbers: [2673] 2673,54 unequal: No Solution Exploring Operation: 33+81=114, Resulting Numbers: [114] 114,54 unequal: No Solution Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[2, 99, 17], Operations: ['83-66=17'] Exploring Operation: 2+17=19, Resulting Numbers: [99, 19] Generated Node #0,1,0: 54:[99, 19] Operation: 2+17=19 Exploring Operation: 99-2=97, Resulting Numbers: [17, 97] Generated Node #0,1,1: 54:[17, 97] Operation: 99-2=97 Exploring Operation: 99-17=82, Resulting Numbers: [2, 82] Generated Node #0,1,2: 54:[2, 82] Operation: 99-17=82 Moving to Node #0,1,2 Current State: 54:[2, 82], Operations: ['83-66=17', '99-17=82'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,54 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,54 unequal: No Solution Exploring Operation: 2+82=84, Resulting Numbers: [84] 84,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[17, 97], Operations: ['83-66=17', '99-2=97'] Exploring Operation: 17*97=1649, Resulting Numbers: [1649] 1649,54 unequal: No Solution Exploring Operation: 17+97=114, Resulting Numbers: [114] 114,54 unequal: No Solution Exploring Operation: 97-17=80, Resulting Numbers: [80] 80,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[99, 19], Operations: ['83-66=17', '2+17=19'] Exploring Operation: 99*19=1881, Resulting Numbers: [1881] 1881,54 unequal: No Solution Exploring Operation: 99+19=118, Resulting Numbers: [118] 118,54 unequal: No Solution Exploring Operation: 99-19=80, Resulting Numbers: [80] 80,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 9, 69, 73, 17 ]
19
[ "73-69=4", "9*4=36", "36-17=19" ]
Current State: 19:[9, 69, 73, 17], Operations: [] Exploring Operation: 73-69=4, Resulting Numbers: [9, 17, 4] Generated Node #2: [9, 17, 4] from Operation: 73-69=4 Current State: 19:[9, 17, 4], Operations: ['73-69=4'] Exploring Operation: 9*4=36, Resulting Numbers: [17, 36] Generated Node #3: [17, 36] from Operation: 9*4=36 Current State: 19:[17, 36], Operations: ['73-69=4', '9*4=36'] Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[9, 69, 73, 17], Operations: [] Exploring Operation: 73-9=64, Resulting Numbers: [69, 17, 64] Generated Node #0,0: 19:[69, 17, 64] Operation: 73-9=64 Exploring Operation: 69-9=60, Resulting Numbers: [73, 17, 60] Generated Node #0,1: 19:[73, 17, 60] Operation: 69-9=60 Exploring Operation: 73-69=4, Resulting Numbers: [9, 17, 4] Generated Node #0,2: 19:[9, 17, 4] Operation: 73-69=4 Exploring Operation: 69-17=52, Resulting Numbers: [9, 73, 52] Generated Node #0,3: 19:[9, 73, 52] Operation: 69-17=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[9, 17, 4], Operations: ['73-69=4'] Exploring Operation: 9+4=13, Resulting Numbers: [17, 13] Generated Node #0,2,0: 19:[17, 13] Operation: 9+4=13 Exploring Operation: 17-4=13, Resulting Numbers: [9, 13] Generated Node #0,2,1: 19:[9, 13] Operation: 17-4=13 Exploring Operation: 17+4=21, Resulting Numbers: [9, 21] Generated Node #0,2,2: 19:[9, 21] Operation: 17+4=21 Exploring Operation: 9-4=5, Resulting Numbers: [17, 5] Generated Node #0,2,3: 19:[17, 5] Operation: 9-4=5 Moving to Node #0,2,0 Current State: 19:[17, 13], Operations: ['73-69=4', '9+4=13'] Exploring Operation: 17+13=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 17*13=221, Resulting Numbers: [221] 221,19 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[9, 21], Operations: ['73-69=4', '17+4=21'] Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,19 unequal: No Solution Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,19 unequal: No Solution Moving to Node #0,2,3 Current State: 19:[17, 5], Operations: ['73-69=4', '9-4=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,19 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[9, 13], Operations: ['73-69=4', '17-4=13'] Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 9*13=117, Resulting Numbers: [117] 117,19 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[69, 17, 64], Operations: ['73-9=64'] Exploring Operation: 69+17=86, Resulting Numbers: [64, 86] Generated Node #0,0,0: 19:[64, 86] Operation: 69+17=86 Exploring Operation: 64-17=47, Resulting Numbers: [69, 47] Generated Node #0,0,1: 19:[69, 47] Operation: 64-17=47 Exploring Operation: 69-64=5, Resulting Numbers: [17, 5] Generated Node #0,0,2: 19:[17, 5] Operation: 69-64=5 Exploring Operation: 69-17=52, Resulting Numbers: [64, 52] Generated Node #0,0,3: 19:[64, 52] Operation: 69-17=52 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 19:[17, 5], Operations: ['73-9=64', '69-64=5'] Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 19:[69, 47], Operations: ['73-9=64', '64-17=47'] Exploring Operation: 69-47=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 69+47=116, Resulting Numbers: [116] 116,19 unequal: No Solution Exploring Operation: 69*47=3243, Resulting Numbers: [3243] 3243,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 19:[64, 52], Operations: ['73-9=64', '69-17=52'] Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 64+52=116, Resulting Numbers: [116] 116,19 unequal: No Solution Exploring Operation: 64*52=3328, Resulting Numbers: [3328] 3328,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[64, 86], Operations: ['73-9=64', '69+17=86'] Exploring Operation: 64+86=150, Resulting Numbers: [150] 150,19 unequal: No Solution Exploring Operation: 86-64=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 64*86=5504, Resulting Numbers: [5504] 5504,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[73, 17, 60], Operations: ['69-9=60'] Exploring Operation: 60-17=43, Resulting Numbers: [73, 43] Generated Node #0,1,0: 19:[73, 43] Operation: 60-17=43 Exploring Operation: 73+17=90, Resulting Numbers: [60, 90] Generated Node #0,1,1: 19:[60, 90] Operation: 73+17=90 Exploring Operation: 73-60=13, Resulting Numbers: [17, 13] Generated Node #0,1,2: 19:[17, 13] Operation: 73-60=13 Exploring Operation: 73-17=56, Resulting Numbers: [60, 56] Generated Node #0,1,3: 19:[60, 56] Operation: 73-17=56 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 19:[17, 13], Operations: ['69-9=60', '73-60=13'] Exploring Operation: 17*13=221, Resulting Numbers: [221] 221,19 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 17+13=30, Resulting Numbers: [30] 30,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[73, 43], Operations: ['69-9=60', '60-17=43'] Exploring Operation: 73-43=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 73+43=116, Resulting Numbers: [116] 116,19 unequal: No Solution Exploring Operation: 73*43=3139, Resulting Numbers: [3139] 3139,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 19:[60, 56], Operations: ['69-9=60', '73-17=56'] Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 60*56=3360, Resulting Numbers: [3360] 3360,19 unequal: No Solution Exploring Operation: 60+56=116, Resulting Numbers: [116] 116,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 19:[60, 90], Operations: ['69-9=60', '73+17=90'] Exploring Operation: 90-60=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 60+90=150, Resulting Numbers: [150] 150,19 unequal: No Solution Exploring Operation: 60*90=5400, Resulting Numbers: [5400] 5400,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 19:[9, 73, 52], Operations: ['69-17=52'] Exploring Operation: 73-9=64, Resulting Numbers: [52, 64] Generated Node #0,3,0: 19:[52, 64] Operation: 73-9=64 Exploring Operation: 9+73=82, Resulting Numbers: [52, 82] Generated Node #0,3,1: 19:[52, 82] Operation: 9+73=82 Exploring Operation: 73-52=21, Resulting Numbers: [9, 21] Generated Node #0,3,2: 19:[9, 21] Operation: 73-52=21 Exploring Operation: 52-9=43, Resulting Numbers: [73, 43] Generated Node #0,3,3: 19:[73, 43] Operation: 52-9=43 Moving to Node #0,3,2 Current State: 19:[9, 21], Operations: ['69-17=52', '73-52=21'] Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,19 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,19 unequal: No Solution Moving to Node #0,3,3 Current State: 19:[73, 43], Operations: ['69-17=52', '52-9=43'] Exploring Operation: 73*43=3139, Resulting Numbers: [3139] 3139,19 unequal: No Solution Exploring Operation: 73-43=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 73+43=116, Resulting Numbers: [116] 116,19 unequal: No Solution Moving to Node #0,3,0 Current State: 19:[52, 64], Operations: ['69-17=52', '73-9=64'] Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 52+64=116, Resulting Numbers: [116] 116,19 unequal: No Solution Exploring Operation: 52*64=3328, Resulting Numbers: [3328] 3328,19 unequal: No Solution Moving to Node #0,3,1 Current State: 19:[52, 82], Operations: ['69-17=52', '9+73=82'] Exploring Operation: 82-52=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 52*82=4264, Resulting Numbers: [4264] 4264,19 unequal: No Solution Exploring Operation: 52+82=134, Resulting Numbers: [134] 134,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 89, 60, 57, 39 ]
51
[ "89*39=3471", "60*57=3420", "3471-3420=51" ]
Current State: 51:[89, 60, 57, 39], Operations: [] Exploring Operation: 89*39=3471, Resulting Numbers: [60, 57, 3471] Generated Node #2: [60, 57, 3471] from Operation: 89*39=3471 Current State: 51:[60, 57, 3471], Operations: ['89*39=3471'] Exploring Operation: 60*57=3420, Resulting Numbers: [3471, 3420] Generated Node #3: [3471, 3420] from Operation: 60*57=3420 Current State: 51:[3471, 3420], Operations: ['89*39=3471', '60*57=3420'] Exploring Operation: 3471-3420=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[89, 60, 57, 39], Operations: [] Exploring Operation: 60-39=21, Resulting Numbers: [89, 57, 21] Generated Node #0,0: 51:[89, 57, 21] Operation: 60-39=21 Exploring Operation: 89-39=50, Resulting Numbers: [60, 57, 50] Generated Node #0,1: 51:[60, 57, 50] Operation: 89-39=50 Exploring Operation: 89-57=32, Resulting Numbers: [60, 39, 32] Generated Node #0,2: 51:[60, 39, 32] Operation: 89-57=32 Exploring Operation: 57-39=18, Resulting Numbers: [89, 60, 18] Generated Node #0,3: 51:[89, 60, 18] Operation: 57-39=18 Exploring Operation: 89-60=29, Resulting Numbers: [57, 39, 29] Generated Node #0,4: 51:[57, 39, 29] Operation: 89-60=29 Moving to Node #0,1 Current State: 51:[60, 57, 50], Operations: ['89-39=50'] Exploring Operation: 57+50=107, Resulting Numbers: [60, 107] Generated Node #0,1,0: 51:[60, 107] Operation: 57+50=107 Exploring Operation: 60+50=110, Resulting Numbers: [57, 110] Generated Node #0,1,1: 51:[57, 110] Operation: 60+50=110 Exploring Operation: 60-57=3, Resulting Numbers: [50, 3] Generated Node #0,1,2: 51:[50, 3] Operation: 60-57=3 Exploring Operation: 60-50=10, Resulting Numbers: [57, 10] Generated Node #0,1,3: 51:[57, 10] Operation: 60-50=10 Exploring Operation: 57-50=7, Resulting Numbers: [60, 7] Generated Node #0,1,4: 51:[60, 7] Operation: 57-50=7 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 51:[50, 3], Operations: ['89-39=50', '60-57=3'] Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,51 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,51 unequal: No Solution Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 51:[57, 10], Operations: ['89-39=50', '60-50=10'] Exploring Operation: 57+10=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 57*10=570, Resulting Numbers: [570] 570,51 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 51:[60, 7], Operations: ['89-39=50', '57-50=7'] Exploring Operation: 60*7=420, Resulting Numbers: [420] 420,51 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,51 unequal: No Solution Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[60, 107], Operations: ['89-39=50', '57+50=107'] Exploring Operation: 107-60=47, Resulting Numbers: [47] 47,51 unequal: No Solution Exploring Operation: 60*107=6420, Resulting Numbers: [6420] 6420,51 unequal: No Solution Exploring Operation: 60+107=167, Resulting Numbers: [167] 167,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 51:[57, 110], Operations: ['89-39=50', '60+50=110'] Exploring Operation: 110-57=53, Resulting Numbers: [53] 53,51 unequal: No Solution Exploring Operation: 57*110=6270, Resulting Numbers: [6270] 6270,51 unequal: No Solution Exploring Operation: 57+110=167, Resulting Numbers: [167] 167,51 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: 51:[57, 39, 29], Operations: ['89-60=29'] Exploring Operation: 57+29=86, Resulting Numbers: [39, 86] Generated Node #0,4,0: 51:[39, 86] Operation: 57+29=86 Exploring Operation: 39+29=68, Resulting Numbers: [57, 68] Generated Node #0,4,1: 51:[57, 68] Operation: 39+29=68 Exploring Operation: 57-29=28, Resulting Numbers: [39, 28] Generated Node #0,4,2: 51:[39, 28] Operation: 57-29=28 Exploring Operation: 57-39=18, Resulting Numbers: [29, 18] Generated Node #0,4,3: 51:[29, 18] Operation: 57-39=18 Exploring Operation: 39-29=10, Resulting Numbers: [57, 10] Generated Node #0,4,4: 51:[57, 10] Operation: 39-29=10 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 51:[29, 18], Operations: ['89-60=29', '57-39=18'] Exploring Operation: 29+18=47, Resulting Numbers: [47] 47,51 unequal: No Solution Exploring Operation: 29*18=522, Resulting Numbers: [522] 522,51 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 51:[57, 10], Operations: ['89-60=29', '39-29=10'] Exploring Operation: 57*10=570, Resulting Numbers: [570] 570,51 unequal: No Solution Exploring Operation: 57+10=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 51:[57, 68], Operations: ['89-60=29', '39+29=68'] Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 57+68=125, Resulting Numbers: [125] 125,51 unequal: No Solution Exploring Operation: 57*68=3876, Resulting Numbers: [3876] 3876,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 51:[39, 28], Operations: ['89-60=29', '57-29=28'] Exploring Operation: 39*28=1092, Resulting Numbers: [1092] 1092,51 unequal: No Solution Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 39+28=67, Resulting Numbers: [67] 67,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 51:[39, 86], Operations: ['89-60=29', '57+29=86'] Exploring Operation: 39+86=125, Resulting Numbers: [125] 125,51 unequal: No Solution Exploring Operation: 86-39=47, Resulting Numbers: [47] 47,51 unequal: No Solution Exploring Operation: 39*86=3354, Resulting Numbers: [3354] 3354,51 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: 51:[60, 39, 32], Operations: ['89-57=32'] Exploring Operation: 60-39=21, Resulting Numbers: [32, 21] Generated Node #0,2,0: 51:[32, 21] Operation: 60-39=21 Exploring Operation: 60-32=28, Resulting Numbers: [39, 28] Generated Node #0,2,1: 51:[39, 28] Operation: 60-32=28 Exploring Operation: 60+32=92, Resulting Numbers: [39, 92] Generated Node #0,2,2: 51:[39, 92] Operation: 60+32=92 Exploring Operation: 39-32=7, Resulting Numbers: [60, 7] Generated Node #0,2,3: 51:[60, 7] Operation: 39-32=7 Exploring Operation: 39+32=71, Resulting Numbers: [60, 71] Generated Node #0,2,4: 51:[60, 71] Operation: 39+32=71 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 51:[60, 7], Operations: ['89-57=32', '39-32=7'] Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,51 unequal: No Solution Exploring Operation: 60*7=420, Resulting Numbers: [420] 420,51 unequal: No Solution Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 51:[32, 21], Operations: ['89-57=32', '60-39=21'] Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,51 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 51:[39, 28], Operations: ['89-57=32', '60-32=28'] Exploring Operation: 39*28=1092, Resulting Numbers: [1092] 1092,51 unequal: No Solution Exploring Operation: 39+28=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 51:[60, 71], Operations: ['89-57=32', '39+32=71'] Exploring Operation: 71-60=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 60*71=4260, Resulting Numbers: [4260] 4260,51 unequal: No Solution Exploring Operation: 60+71=131, Resulting Numbers: [131] 131,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 51:[39, 92], Operations: ['89-57=32', '60+32=92'] Exploring Operation: 92-39=53, Resulting Numbers: [53] 53,51 unequal: No Solution Exploring Operation: 39+92=131, Resulting Numbers: [131] 131,51 unequal: No Solution Exploring Operation: 39*92=3588, Resulting Numbers: [3588] 3588,51 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: 51:[89, 57, 21], Operations: ['60-39=21'] Exploring Operation: 89+21=110, Resulting Numbers: [57, 110] Generated Node #0,0,0: 51:[57, 110] Operation: 89+21=110 Exploring Operation: 57+21=78, Resulting Numbers: [89, 78] Generated Node #0,0,1: 51:[89, 78] Operation: 57+21=78 Exploring Operation: 57-21=36, Resulting Numbers: [89, 36] Generated Node #0,0,2: 51:[89, 36] Operation: 57-21=36 Exploring Operation: 89-57=32, Resulting Numbers: [21, 32] Generated Node #0,0,3: 51:[21, 32] Operation: 89-57=32 Exploring Operation: 89-21=68, Resulting Numbers: [57, 68] Generated Node #0,0,4: 51:[57, 68] Operation: 89-21=68 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 51:[21, 32], Operations: ['60-39=21', '89-57=32'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,51 unequal: No Solution Exploring Operation: 21*32=672, Resulting Numbers: [672] 672,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 51:[57, 68], Operations: ['60-39=21', '89-21=68'] Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 57*68=3876, Resulting Numbers: [3876] 3876,51 unequal: No Solution Exploring Operation: 57+68=125, Resulting Numbers: [125] 125,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 51:[89, 36], Operations: ['60-39=21', '57-21=36'] Exploring Operation: 89*36=3204, Resulting Numbers: [3204] 3204,51 unequal: No Solution Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,51 unequal: No Solution Exploring Operation: 89+36=125, Resulting Numbers: [125] 125,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[57, 110], Operations: ['60-39=21', '89+21=110'] Exploring Operation: 57*110=6270, Resulting Numbers: [6270] 6270,51 unequal: No Solution Exploring Operation: 57+110=167, Resulting Numbers: [167] 167,51 unequal: No Solution Exploring Operation: 110-57=53, Resulting Numbers: [53] 53,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[89, 78], Operations: ['60-39=21', '57+21=78'] Exploring Operation: 89-78=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 89*78=6942, Resulting Numbers: [6942] 6942,51 unequal: No Solution Exploring Operation: 89+78=167, Resulting Numbers: [167] 167,51 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: 51:[89, 60, 18], Operations: ['57-39=18'] Exploring Operation: 89+18=107, Resulting Numbers: [60, 107] Generated Node #0,3,0: 51:[60, 107] Operation: 89+18=107 Exploring Operation: 60-18=42, Resulting Numbers: [89, 42] Generated Node #0,3,1: 51:[89, 42] Operation: 60-18=42 Exploring Operation: 89-60=29, Resulting Numbers: [18, 29] Generated Node #0,3,2: 51:[18, 29] Operation: 89-60=29 Exploring Operation: 60+18=78, Resulting Numbers: [89, 78] Generated Node #0,3,3: 51:[89, 78] Operation: 60+18=78 Exploring Operation: 89-18=71, Resulting Numbers: [60, 71] Generated Node #0,3,4: 51:[60, 71] Operation: 89-18=71 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 51:[18, 29], Operations: ['57-39=18', '89-60=29'] Exploring Operation: 18+29=47, Resulting Numbers: [47] 47,51 unequal: No Solution Exploring Operation: 18*29=522, Resulting Numbers: [522] 522,51 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 51:[60, 71], Operations: ['57-39=18', '89-18=71'] Exploring Operation: 60*71=4260, Resulting Numbers: [4260] 4260,51 unequal: No Solution Exploring Operation: 60+71=131, Resulting Numbers: [131] 131,51 unequal: No Solution Exploring Operation: 71-60=11, Resulting Numbers: [11] 11,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 51:[89, 42], Operations: ['57-39=18', '60-18=42'] Exploring Operation: 89*42=3738, Resulting Numbers: [3738] 3738,51 unequal: No Solution Exploring Operation: 89-42=47, Resulting Numbers: [47] 47,51 unequal: No Solution Exploring Operation: 89+42=131, Resulting Numbers: [131] 131,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 51:[60, 107], Operations: ['57-39=18', '89+18=107'] Exploring Operation: 60*107=6420, Resulting Numbers: [6420] 6420,51 unequal: No Solution Exploring Operation: 60+107=167, Resulting Numbers: [167] 167,51 unequal: No Solution Exploring Operation: 107-60=47, Resulting Numbers: [47] 47,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 51:[89, 78], Operations: ['57-39=18', '60+18=78'] Exploring Operation: 89*78=6942, Resulting Numbers: [6942] 6942,51 unequal: No Solution Exploring Operation: 89+78=167, Resulting Numbers: [167] 167,51 unequal: No Solution Exploring Operation: 89-78=11, Resulting Numbers: [11] 11,51 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
[ 24, 46, 92, 27 ]
15
[ "24*46=1104", "1104/92=12", "27-12=15" ]
Current State: 15:[24, 46, 92, 27], Operations: [] Exploring Operation: 24*46=1104, Resulting Numbers: [92, 27, 1104] Generated Node #2: [92, 27, 1104] from Operation: 24*46=1104 Current State: 15:[92, 27, 1104], Operations: ['24*46=1104'] Exploring Operation: 1104/92=12, Resulting Numbers: [27, 12] Generated Node #3: [27, 12] from Operation: 1104/92=12 Current State: 15:[27, 12], Operations: ['24*46=1104', '1104/92=12'] Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[24, 46, 92, 27], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [24, 27, 2] Generated Node #0,0: 15:[24, 27, 2] Operation: 92/46=2 Exploring Operation: 92-46=46, Resulting Numbers: [24, 27, 46] Generated Node #0,1: 15:[24, 27, 46] Operation: 92-46=46 Moving to Node #0,0 Current State: 15:[24, 27, 2], Operations: ['92/46=2'] Exploring Operation: 27-24=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 15:[2, 3] Operation: 27-24=3 Exploring Operation: 24/2=12, Resulting Numbers: [27, 12] Generated Node #0,0,1: 15:[27, 12] Operation: 24/2=12 Moving to Node #0,1 Current State: 15:[24, 27, 46], Operations: ['92-46=46'] Exploring Operation: 46-27=19, Resulting Numbers: [24, 19] Generated Node #0,1,0: 15:[24, 19] Operation: 46-27=19 Exploring Operation: 46-24=22, Resulting Numbers: [27, 22] Generated Node #0,1,1: 15:[27, 22] Operation: 46-24=22 Moving to Node #0,0,0 Current State: 15:[2, 3], Operations: ['92/46=2', '27-24=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[24, 19], Operations: ['92-46=46', '46-27=19'] Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,15 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[27, 12], Operations: ['92/46=2', '24/2=12'] Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[24, 46, 92, 27], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [24, 27, 2] Generated Node #0,0: 15:[24, 27, 2] Operation: 92/46=2 Moving to Node #0,0 Current State: 15:[24, 27, 2], Operations: ['92/46=2'] Exploring Operation: 24/2=12, Resulting Numbers: [27, 12] Generated Node #0,0,1: 15:[27, 12] Operation: 24/2=12 Moving to Node #0,0,1 Current State: 15:[27, 12], Operations: ['92/46=2', '24/2=12'] Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 7, 24, 45, 67 ]
56
[ "7*24=168", "45+67=112", "168-112=56" ]
Current State: 56:[7, 24, 45, 67], Operations: [] Exploring Operation: 7*24=168, Resulting Numbers: [45, 67, 168] Generated Node #2: [45, 67, 168] from Operation: 7*24=168 Current State: 56:[45, 67, 168], Operations: ['7*24=168'] Exploring Operation: 45+67=112, Resulting Numbers: [168, 112] Generated Node #3: [168, 112] from Operation: 45+67=112 Current State: 56:[168, 112], Operations: ['7*24=168', '45+67=112'] Exploring Operation: 168-112=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[7, 24, 45, 67], Operations: [] Exploring Operation: 7+45=52, Resulting Numbers: [24, 67, 52] Generated Node #0,0: 56:[24, 67, 52] Operation: 7+45=52 Exploring Operation: 67-7=60, Resulting Numbers: [24, 45, 60] Generated Node #0,1: 56:[24, 45, 60] Operation: 67-7=60 Exploring Operation: 67-45=22, Resulting Numbers: [7, 24, 22] Generated Node #0,2: 56:[7, 24, 22] Operation: 67-45=22 Exploring Operation: 45-24=21, Resulting Numbers: [7, 67, 21] Generated Node #0,3: 56:[7, 67, 21] Operation: 45-24=21 Moving to Node #0,2 Current State: 56:[7, 24, 22], Operations: ['67-45=22'] Exploring Operation: 7+24=31, Resulting Numbers: [22, 31] Generated Node #0,2,0: 56:[22, 31] Operation: 7+24=31 Exploring Operation: 7+22=29, Resulting Numbers: [24, 29] Generated Node #0,2,1: 56:[24, 29] Operation: 7+22=29 Exploring Operation: 24-22=2, Resulting Numbers: [7, 2] Generated Node #0,2,2: 56:[7, 2] Operation: 24-22=2 Exploring Operation: 22-7=15, Resulting Numbers: [24, 15] Generated Node #0,2,3: 56:[24, 15] Operation: 22-7=15 Moving to Node #0,3 Current State: 56:[7, 67, 21], Operations: ['45-24=21'] Exploring Operation: 67-7=60, Resulting Numbers: [21, 60] Generated Node #0,3,0: 56:[21, 60] Operation: 67-7=60 Exploring Operation: 21-7=14, Resulting Numbers: [67, 14] Generated Node #0,3,1: 56:[67, 14] Operation: 21-7=14 Exploring Operation: 67-21=46, Resulting Numbers: [7, 46] Generated Node #0,3,2: 56:[7, 46] Operation: 67-21=46 Exploring Operation: 7+21=28, Resulting Numbers: [67, 28] Generated Node #0,3,3: 56:[67, 28] Operation: 7+21=28 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 56:[7, 46], Operations: ['45-24=21', '67-21=46'] Exploring Operation: 7+46=53, Resulting Numbers: [53] 53,56 unequal: No Solution Exploring Operation: 7*46=322, Resulting Numbers: [322] 322,56 unequal: No Solution Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,56 unequal: No Solution No 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: 56:[21, 60], Operations: ['45-24=21', '67-7=60'] Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 21+60=81, Resulting Numbers: [81] 81,56 unequal: No Solution Exploring Operation: 21*60=1260, Resulting Numbers: [1260] 1260,56 unequal: No Solution No 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: 56:[67, 14], Operations: ['45-24=21', '21-7=14'] Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,56 unequal: No Solution Exploring Operation: 67+14=81, Resulting Numbers: [81] 81,56 unequal: No Solution Exploring Operation: 67*14=938, Resulting Numbers: [938] 938,56 unequal: No Solution No 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: 56:[67, 28], Operations: ['45-24=21', '7+21=28'] Exploring Operation: 67+28=95, Resulting Numbers: [95] 95,56 unequal: No Solution Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 67*28=1876, Resulting Numbers: [1876] 1876,56 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: 56:[24, 45, 60], Operations: ['67-7=60'] Exploring Operation: 45-24=21, Resulting Numbers: [60, 21] Generated Node #0,1,0: 56:[60, 21] Operation: 45-24=21 Exploring Operation: 60-24=36, Resulting Numbers: [45, 36] Generated Node #0,1,1: 56:[45, 36] Operation: 60-24=36 Exploring Operation: 60-45=15, Resulting Numbers: [24, 15] Generated Node #0,1,2: 56:[24, 15] Operation: 60-45=15 Exploring Operation: 24+45=69, Resulting Numbers: [60, 69] Generated Node #0,1,3: 56:[60, 69] Operation: 24+45=69 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 56:[24, 15], Operations: ['67-7=60', '60-45=15'] Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 24*15=360, Resulting Numbers: [360] 360,56 unequal: No Solution No 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: 56:[60, 21], Operations: ['67-7=60', '45-24=21'] Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 60+21=81, Resulting Numbers: [81] 81,56 unequal: No Solution Exploring Operation: 60*21=1260, Resulting Numbers: [1260] 1260,56 unequal: No Solution No 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: 56:[60, 69], Operations: ['67-7=60', '24+45=69'] Exploring Operation: 60+69=129, Resulting Numbers: [129] 129,56 unequal: No Solution Exploring Operation: 60*69=4140, Resulting Numbers: [4140] 4140,56 unequal: No Solution Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,56 unequal: No Solution No 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: 56:[45, 36], Operations: ['67-7=60', '60-24=36'] Exploring Operation: 45*36=1620, Resulting Numbers: [1620] 1620,56 unequal: No Solution Exploring Operation: 45+36=81, Resulting Numbers: [81] 81,56 unequal: No Solution Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,56 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: 56:[24, 67, 52], Operations: ['7+45=52'] Exploring Operation: 67-24=43, Resulting Numbers: [52, 43] Generated Node #0,0,0: 56:[52, 43] Operation: 67-24=43 Exploring Operation: 67-52=15, Resulting Numbers: [24, 15] Generated Node #0,0,1: 56:[24, 15] Operation: 67-52=15 Exploring Operation: 24+52=76, Resulting Numbers: [67, 76] Generated Node #0,0,2: 56:[67, 76] Operation: 24+52=76 Exploring Operation: 52-24=28, Resulting Numbers: [67, 28] Generated Node #0,0,3: 56:[67, 28] Operation: 52-24=28 Moving to Node #0,2,2 Current State: 56:[7, 2], Operations: ['67-45=22', '24-22=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[24, 15], Operations: ['67-45=22', '22-7=15'] Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 24*15=360, Resulting Numbers: [360] 360,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[24, 29], Operations: ['67-45=22', '7+22=29'] Exploring Operation: 24+29=53, Resulting Numbers: [53] 53,56 unequal: No Solution Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 24*29=696, Resulting Numbers: [696] 696,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[24, 15], Operations: ['7+45=52', '67-52=15'] Exploring Operation: 24*15=360, Resulting Numbers: [360] 360,56 unequal: No Solution Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[22, 31], Operations: ['67-45=22', '7+24=31'] Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,56 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,56 unequal: No Solution Moving to Node #0,0,3 Current State: 56:[67, 28], Operations: ['7+45=52', '52-24=28'] Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 67*28=1876, Resulting Numbers: [1876] 1876,56 unequal: No Solution Exploring Operation: 67+28=95, Resulting Numbers: [95] 95,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[52, 43], Operations: ['7+45=52', '67-24=43'] Exploring Operation: 52*43=2236, Resulting Numbers: [2236] 2236,56 unequal: No Solution Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 52+43=95, Resulting Numbers: [95] 95,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[67, 76], Operations: ['7+45=52', '24+52=76'] Exploring Operation: 67*76=5092, Resulting Numbers: [5092] 5092,56 unequal: No Solution Exploring Operation: 67+76=143, Resulting Numbers: [143] 143,56 unequal: No Solution Exploring Operation: 76-67=9, Resulting Numbers: [9] 9,56 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 81, 27, 77, 66 ]
14
[ "81/27=3", "77-66=11", "3+11=14" ]
Current State: 14:[81, 27, 77, 66], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [77, 66, 3] Generated Node #2: [77, 66, 3] from Operation: 81/27=3 Current State: 14:[77, 66, 3], Operations: ['81/27=3'] Exploring Operation: 77-66=11, Resulting Numbers: [3, 11] Generated Node #3: [3, 11] from Operation: 77-66=11 Current State: 14:[3, 11], Operations: ['81/27=3', '77-66=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[81, 27, 77, 66], Operations: [] Exploring Operation: 81-77=4, Resulting Numbers: [27, 66, 4] Generated Node #0,0: 14:[27, 66, 4] Operation: 81-77=4 Moving to Node #0,0 Current State: 14:[27, 66, 4], Operations: ['81-77=4'] Exploring Operation: 66-27=39, Resulting Numbers: [4, 39] Generated Node #0,0,0: 14:[4, 39] Operation: 66-27=39 Moving to Node #0,0,0 Current State: 14:[4, 39], Operations: ['81-77=4', '66-27=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,14 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 42, 97, 63, 51 ]
25
[ "42+97=139", "63+51=114", "139-114=25" ]
Current State: 25:[42, 97, 63, 51], Operations: [] Exploring Operation: 42+97=139, Resulting Numbers: [63, 51, 139] Generated Node #2: [63, 51, 139] from Operation: 42+97=139 Current State: 25:[63, 51, 139], Operations: ['42+97=139'] Exploring Operation: 63+51=114, Resulting Numbers: [139, 114] Generated Node #3: [139, 114] from Operation: 63+51=114 Current State: 25:[139, 114], Operations: ['42+97=139', '63+51=114'] Exploring Operation: 139-114=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[42, 97, 63, 51], Operations: [] Exploring Operation: 97-51=46, Resulting Numbers: [42, 63, 46] Generated Node #0,0: 25:[42, 63, 46] Operation: 97-51=46 Exploring Operation: 97-42=55, Resulting Numbers: [63, 51, 55] Generated Node #0,1: 25:[63, 51, 55] Operation: 97-42=55 Exploring Operation: 97-63=34, Resulting Numbers: [42, 51, 34] Generated Node #0,2: 25:[42, 51, 34] Operation: 97-63=34 Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[42, 51, 34], Operations: ['97-63=34'] Exploring Operation: 51-34=17, Resulting Numbers: [42, 17] Generated Node #0,2,0: 25:[42, 17] Operation: 51-34=17 Exploring Operation: 42-34=8, Resulting Numbers: [51, 8] Generated Node #0,2,1: 25:[51, 8] Operation: 42-34=8 Exploring Operation: 51-42=9, Resulting Numbers: [34, 9] Generated Node #0,2,2: 25:[34, 9] Operation: 51-42=9 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 25:[34, 9], Operations: ['97-63=34', '51-42=9'] Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,25 unequal: No Solution Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,25 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[42, 97, 63, 51], Operations: [] Exploring Operation: 97-63=34, Resulting Numbers: [42, 51, 34] Generated Node #0,2: 25:[42, 51, 34] Operation: 97-63=34 Moving to Node #0,2 Current State: 25:[42, 51, 34], Operations: ['97-63=34'] Exploring Operation: 51-42=9, Resulting Numbers: [34, 9] Generated Node #0,2,2: 25:[34, 9] Operation: 51-42=9 Moving to Node #0,2,2 Current State: 25:[34, 9], Operations: ['97-63=34', '51-42=9'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 83, 15, 55, 37 ]
63
[ "83+37=120", "120/15=8", "55+8=63" ]
Current State: 63:[83, 15, 55, 37], Operations: [] Exploring Operation: 83+37=120, Resulting Numbers: [15, 55, 120] Generated Node #2: [15, 55, 120] from Operation: 83+37=120 Current State: 63:[15, 55, 120], Operations: ['83+37=120'] Exploring Operation: 120/15=8, Resulting Numbers: [55, 8] Generated Node #3: [55, 8] from Operation: 120/15=8 Current State: 63:[55, 8], Operations: ['83+37=120', '120/15=8'] Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[83, 15, 55, 37], Operations: [] Exploring Operation: 83-15=68, Resulting Numbers: [55, 37, 68] Generated Node #0,0: 63:[55, 37, 68] Operation: 83-15=68 Moving to Node #0,0 Current State: 63:[55, 37, 68], Operations: ['83-15=68'] Exploring Operation: 55-37=18, Resulting Numbers: [68, 18] Generated Node #0,0,0: 63:[68, 18] Operation: 55-37=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[68, 18], Operations: ['83-15=68', '55-37=18'] Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 96, 3, 23, 15 ]
28
[ "96-23=73", "3*15=45", "73-45=28" ]
Current State: 28:[96, 3, 23, 15], Operations: [] Exploring Operation: 96-23=73, Resulting Numbers: [3, 15, 73] Generated Node #2: [3, 15, 73] from Operation: 96-23=73 Current State: 28:[3, 15, 73], Operations: ['96-23=73'] Exploring Operation: 3*15=45, Resulting Numbers: [73, 45] Generated Node #3: [73, 45] from Operation: 3*15=45 Current State: 28:[73, 45], Operations: ['96-23=73', '3*15=45'] Exploring Operation: 73-45=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[96, 3, 23, 15], Operations: [] Exploring Operation: 96-23=73, Resulting Numbers: [3, 15, 73] Generated Node #0,0: 28:[3, 15, 73] Operation: 96-23=73 Exploring Operation: 96/3=32, Resulting Numbers: [23, 15, 32] Generated Node #0,1: 28:[23, 15, 32] Operation: 96/3=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[23, 15, 32], Operations: ['96/3=32'] Exploring Operation: 32-23=9, Resulting Numbers: [15, 9] Generated Node #0,1,0: 28:[15, 9] Operation: 32-23=9 Exploring Operation: 23-15=8, Resulting Numbers: [32, 8] Generated Node #0,1,1: 28:[32, 8] Operation: 23-15=8 Moving to Node #0,1,0 Current State: 28:[15, 9], Operations: ['96/3=32', '32-23=9'] Exploring Operation: 15+9=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[32, 8], Operations: ['96/3=32', '23-15=8'] Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[3, 15, 73], Operations: ['96-23=73'] Exploring Operation: 73-3=70, Resulting Numbers: [15, 70] Generated Node #0,0,0: 28:[15, 70] Operation: 73-3=70 Exploring Operation: 73-15=58, Resulting Numbers: [3, 58] Generated Node #0,0,1: 28:[3, 58] Operation: 73-15=58 Moving to Node #0,0,1 Current State: 28:[3, 58], Operations: ['96-23=73', '73-15=58'] Exploring Operation: 3+58=61, Resulting Numbers: [61] 61,28 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[15, 70], Operations: ['96-23=73', '73-3=70'] Exploring Operation: 70-15=55, Resulting Numbers: [55] 55,28 unequal: No Solution Exploring Operation: 15+70=85, Resulting Numbers: [85] 85,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 40, 95, 37, 5 ]
88
[ "95*37=3515", "5+3515=3520", "3520/40=88" ]
Current State: 88:[40, 95, 37, 5], Operations: [] Exploring Operation: 95*37=3515, Resulting Numbers: [40, 5, 3515] Generated Node #2: [40, 5, 3515] from Operation: 95*37=3515 Current State: 88:[40, 5, 3515], Operations: ['95*37=3515'] Exploring Operation: 5+3515=3520, Resulting Numbers: [40, 3520] Generated Node #3: [40, 3520] from Operation: 5+3515=3520 Current State: 88:[40, 3520], Operations: ['95*37=3515', '5+3515=3520'] Exploring Operation: 3520/40=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[40, 95, 37, 5], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [95, 5, 3] Generated Node #0,0: 88:[95, 5, 3] Operation: 40-37=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[95, 5, 3], Operations: ['40-37=3'] Exploring Operation: 95-5=90, Resulting Numbers: [3, 90] Generated Node #0,0,0: 88:[3, 90] Operation: 95-5=90 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[3, 90], Operations: ['40-37=3', '95-5=90'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,88 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
[ 92, 73, 22, 15 ]
11
[ "92+73=165", "165/15=11", "22-11=11" ]
Current State: 11:[92, 73, 22, 15], Operations: [] Exploring Operation: 92+73=165, Resulting Numbers: [22, 15, 165] Generated Node #2: [22, 15, 165] from Operation: 92+73=165 Current State: 11:[22, 15, 165], Operations: ['92+73=165'] Exploring Operation: 165/15=11, Resulting Numbers: [22, 11] Generated Node #3: [22, 11] from Operation: 165/15=11 Current State: 11:[22, 11], Operations: ['92+73=165', '165/15=11'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[92, 73, 22, 15], Operations: [] Exploring Operation: 92-73=19, Resulting Numbers: [22, 15, 19] Generated Node #0,0: 11:[22, 15, 19] Operation: 92-73=19 Exploring Operation: 92-15=77, Resulting Numbers: [73, 22, 77] Generated Node #0,1: 11:[73, 22, 77] Operation: 92-15=77 Exploring Operation: 73-22=51, Resulting Numbers: [92, 15, 51] Generated Node #0,2: 11:[92, 15, 51] Operation: 73-22=51 Exploring Operation: 92-22=70, Resulting Numbers: [73, 15, 70] Generated Node #0,3: 11:[73, 15, 70] Operation: 92-22=70 Moving to Node #0,0 Current State: 11:[22, 15, 19], Operations: ['92-73=19'] Exploring Operation: 22-15=7, Resulting Numbers: [19, 7] Generated Node #0,0,0: 11:[19, 7] Operation: 22-15=7 Exploring Operation: 19-15=4, Resulting Numbers: [22, 4] Generated Node #0,0,1: 11:[22, 4] Operation: 19-15=4 Exploring Operation: 22+15=37, Resulting Numbers: [19, 37] Generated Node #0,0,2: 11:[19, 37] Operation: 22+15=37 Exploring Operation: 22-19=3, Resulting Numbers: [15, 3] Generated Node #0,0,3: 11:[15, 3] Operation: 22-19=3 Moving to Node #0,3 Current State: 11:[73, 15, 70], Operations: ['92-22=70'] Exploring Operation: 73-70=3, Resulting Numbers: [15, 3] Generated Node #0,3,0: 11:[15, 3] Operation: 73-70=3 Exploring Operation: 73+15=88, Resulting Numbers: [70, 88] Generated Node #0,3,1: 11:[70, 88] Operation: 73+15=88 Exploring Operation: 73-15=58, Resulting Numbers: [70, 58] Generated Node #0,3,2: 11:[70, 58] Operation: 73-15=58 Exploring Operation: 70-15=55, Resulting Numbers: [73, 55] Generated Node #0,3,3: 11:[73, 55] Operation: 70-15=55 Moving to Node #0,2 Current State: 11:[92, 15, 51], Operations: ['73-22=51'] Exploring Operation: 92+15=107, Resulting Numbers: [51, 107] Generated Node #0,2,0: 11:[51, 107] Operation: 92+15=107 Exploring Operation: 51-15=36, Resulting Numbers: [92, 36] Generated Node #0,2,1: 11:[92, 36] Operation: 51-15=36 Exploring Operation: 92-15=77, Resulting Numbers: [51, 77] Generated Node #0,2,2: 11:[51, 77] Operation: 92-15=77 Exploring Operation: 92-51=41, Resulting Numbers: [15, 41] Generated Node #0,2,3: 11:[15, 41] Operation: 92-51=41 Moving to Node #0,1 Current State: 11:[73, 22, 77], Operations: ['92-15=77'] Exploring Operation: 77-22=55, Resulting Numbers: [73, 55] Generated Node #0,1,0: 11:[73, 55] Operation: 77-22=55 Exploring Operation: 73+22=95, Resulting Numbers: [77, 95] Generated Node #0,1,1: 11:[77, 95] Operation: 73+22=95 Exploring Operation: 77-73=4, Resulting Numbers: [22, 4] Generated Node #0,1,2: 11:[22, 4] Operation: 77-73=4 Exploring Operation: 73-22=51, Resulting Numbers: [77, 51] Generated Node #0,1,3: 11:[77, 51] Operation: 73-22=51 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 11:[22, 4], Operations: ['92-15=77', '77-73=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,11 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,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,0 Current State: 11:[73, 55], Operations: ['92-15=77', '77-22=55'] Exploring Operation: 73*55=4015, Resulting Numbers: [4015] 4015,11 unequal: No Solution Exploring Operation: 73-55=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 73+55=128, Resulting Numbers: [128] 128,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,3 Current State: 11:[77, 51], Operations: ['92-15=77', '73-22=51'] Exploring Operation: 77*51=3927, Resulting Numbers: [3927] 3927,11 unequal: No Solution Exploring Operation: 77+51=128, Resulting Numbers: [128] 128,11 unequal: No Solution Exploring Operation: 77-51=26, Resulting Numbers: [26] 26,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:[77, 95], Operations: ['92-15=77', '73+22=95'] Exploring Operation: 95-77=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 77*95=7315, Resulting Numbers: [7315] 7315,11 unequal: No Solution Exploring Operation: 77+95=172, Resulting Numbers: [172] 172,11 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: 11:[19, 7], Operations: ['92-73=19', '22-15=7'] Exploring Operation: 19*7=133, Resulting Numbers: [133] 133,11 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[15, 3], Operations: ['92-73=19', '22-19=3'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,11 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,11 unequal: No Solution Moving to Node #0,3,0 Current State: 11:[15, 3], Operations: ['92-22=70', '73-70=3'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,11 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[22, 4], Operations: ['92-73=19', '19-15=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,11 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[19, 37], Operations: ['92-73=19', '22+15=37'] Exploring Operation: 19*37=703, Resulting Numbers: [703] 703,11 unequal: No Solution Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,11 unequal: No Solution Moving to Node #0,2,3 Current State: 11:[15, 41], Operations: ['73-22=51', '92-51=41'] Exploring Operation: 15+41=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 15*41=615, Resulting Numbers: [615] 615,11 unequal: No Solution Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,11 unequal: No Solution Moving to Node #0,3,3 Current State: 11:[73, 55], Operations: ['92-22=70', '70-15=55'] Exploring Operation: 73*55=4015, Resulting Numbers: [4015] 4015,11 unequal: No Solution Exploring Operation: 73-55=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 73+55=128, Resulting Numbers: [128] 128,11 unequal: No Solution Moving to Node #0,3,2 Current State: 11:[70, 58], Operations: ['92-22=70', '73-15=58'] Exploring Operation: 70+58=128, Resulting Numbers: [128] 128,11 unequal: No Solution Exploring Operation: 70-58=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 70*58=4060, Resulting Numbers: [4060] 4060,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[92, 36], Operations: ['73-22=51', '51-15=36'] Exploring Operation: 92+36=128, Resulting Numbers: [128] 128,11 unequal: No Solution Exploring Operation: 92-36=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 92*36=3312, Resulting Numbers: [3312] 3312,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[51, 77], Operations: ['73-22=51', '92-15=77'] Exploring Operation: 51+77=128, Resulting Numbers: [128] 128,11 unequal: No Solution Exploring Operation: 51*77=3927, Resulting Numbers: [3927] 3927,11 unequal: No Solution Exploring Operation: 77-51=26, Resulting Numbers: [26] 26,11 unequal: No Solution Moving to Node #0,3,1 Current State: 11:[70, 88], Operations: ['92-22=70', '73+15=88'] Exploring Operation: 70*88=6160, Resulting Numbers: [6160] 6160,11 unequal: No Solution Exploring Operation: 70+88=158, Resulting Numbers: [158] 158,11 unequal: No Solution Exploring Operation: 88-70=18, Resulting Numbers: [18] 18,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[51, 107], Operations: ['73-22=51', '92+15=107'] Exploring Operation: 107-51=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 51+107=158, Resulting Numbers: [158] 158,11 unequal: No Solution Exploring Operation: 51*107=5457, Resulting Numbers: [5457] 5457,11 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 22, 71, 78, 1 ]
29
[ "71-22=49", "78*1=78", "78-49=29" ]
Current State: 29:[22, 71, 78, 1], Operations: [] Exploring Operation: 71-22=49, Resulting Numbers: [78, 1, 49] Generated Node #2: [78, 1, 49] from Operation: 71-22=49 Current State: 29:[78, 1, 49], Operations: ['71-22=49'] Exploring Operation: 78*1=78, Resulting Numbers: [49, 78] Generated Node #3: [49, 78] from Operation: 78*1=78 Current State: 29:[49, 78], Operations: ['71-22=49', '78*1=78'] Exploring Operation: 78-49=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[22, 71, 78, 1], Operations: [] Exploring Operation: 78-71=7, Resulting Numbers: [22, 1, 7] Generated Node #0,0: 29:[22, 1, 7] Operation: 78-71=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[22, 1, 7], Operations: ['78-71=7'] Exploring Operation: 22+1=23, Resulting Numbers: [7, 23] Generated Node #0,0,0: 29:[7, 23] Operation: 22+1=23 Moving to Node #0,0,0 Current State: 29:[7, 23], Operations: ['78-71=7', '22+1=23'] Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 57, 31, 24, 27 ]
45
[ "57*24=1368", "27+1368=1395", "1395/31=45" ]
Current State: 45:[57, 31, 24, 27], Operations: [] Exploring Operation: 57*24=1368, Resulting Numbers: [31, 27, 1368] Generated Node #2: [31, 27, 1368] from Operation: 57*24=1368 Current State: 45:[31, 27, 1368], Operations: ['57*24=1368'] Exploring Operation: 27+1368=1395, Resulting Numbers: [31, 1395] Generated Node #3: [31, 1395] from Operation: 27+1368=1395 Current State: 45:[31, 1395], Operations: ['57*24=1368', '27+1368=1395'] Exploring Operation: 1395/31=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[57, 31, 24, 27], Operations: [] Exploring Operation: 31-27=4, Resulting Numbers: [57, 24, 4] Generated Node #0,0: 45:[57, 24, 4] Operation: 31-27=4 Exploring Operation: 31-24=7, Resulting Numbers: [57, 27, 7] Generated Node #0,1: 45:[57, 27, 7] Operation: 31-24=7 Exploring Operation: 27-24=3, Resulting Numbers: [57, 31, 3] Generated Node #0,2: 45:[57, 31, 3] Operation: 27-24=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[57, 24, 4], Operations: ['31-27=4'] Exploring Operation: 24/4=6, Resulting Numbers: [57, 6] Generated Node #0,0,0: 45:[57, 6] Operation: 24/4=6 Exploring Operation: 57-4=53, Resulting Numbers: [24, 53] Generated Node #0,0,1: 45:[24, 53] Operation: 57-4=53 Exploring Operation: 57-24=33, Resulting Numbers: [4, 33] Generated Node #0,0,2: 45:[4, 33] Operation: 57-24=33 Moving to Node #0,0,0 Current State: 45:[57, 6], Operations: ['31-27=4', '24/4=6'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,45 unequal: No Solution Exploring Operation: 57*6=342, Resulting Numbers: [342] 342,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[4, 33], Operations: ['31-27=4', '57-24=33'] Exploring Operation: 4*33=132, Resulting Numbers: [132] 132,45 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,45 unequal: No Solution Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[24, 53], Operations: ['31-27=4', '57-4=53'] Exploring Operation: 24+53=77, Resulting Numbers: [77] 77,45 unequal: No Solution Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,45 unequal: No Solution Exploring Operation: 24*53=1272, Resulting Numbers: [1272] 1272,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[57, 27, 7], Operations: ['31-24=7'] Exploring Operation: 27-7=20, Resulting Numbers: [57, 20] Generated Node #0,1,0: 45:[57, 20] Operation: 27-7=20 Exploring Operation: 57-7=50, Resulting Numbers: [27, 50] Generated Node #0,1,1: 45:[27, 50] Operation: 57-7=50 Exploring Operation: 57-27=30, Resulting Numbers: [7, 30] Generated Node #0,1,2: 45:[7, 30] Operation: 57-27=30 Moving to Node #0,1,0 Current State: 45:[57, 20], Operations: ['31-24=7', '27-7=20'] Exploring Operation: 57*20=1140, Resulting Numbers: [1140] 1140,45 unequal: No Solution Exploring Operation: 57+20=77, Resulting Numbers: [77] 77,45 unequal: No Solution Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[27, 50], Operations: ['31-24=7', '57-7=50'] Exploring Operation: 27*50=1350, Resulting Numbers: [1350] 1350,45 unequal: No Solution Exploring Operation: 50-27=23, Resulting Numbers: [23] 23,45 unequal: No Solution Exploring Operation: 27+50=77, Resulting Numbers: [77] 77,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[7, 30], Operations: ['31-24=7', '57-27=30'] Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,45 unequal: No Solution Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,45 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,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,2 Current State: 45:[57, 31, 3], Operations: ['27-24=3'] Exploring Operation: 57/3=19, Resulting Numbers: [31, 19] Generated Node #0,2,0: 45:[31, 19] Operation: 57/3=19 Exploring Operation: 57-31=26, Resulting Numbers: [3, 26] Generated Node #0,2,1: 45:[3, 26] Operation: 57-31=26 Exploring Operation: 57-3=54, Resulting Numbers: [31, 54] Generated Node #0,2,2: 45:[31, 54] Operation: 57-3=54 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 45:[3, 26], Operations: ['27-24=3', '57-31=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,45 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,45 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 45:[31, 19], Operations: ['27-24=3', '57/3=19'] Exploring Operation: 31+19=50, Resulting Numbers: [50] 50,45 unequal: No Solution Exploring Operation: 31*19=589, Resulting Numbers: [589] 589,45 unequal: No Solution Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 45:[31, 54], Operations: ['27-24=3', '57-3=54'] Exploring Operation: 31+54=85, Resulting Numbers: [85] 85,45 unequal: No Solution Exploring Operation: 31*54=1674, Resulting Numbers: [1674] 1674,45 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 23, 77, 12, 75 ]
37
[ "23+77=100", "75-12=63", "100-63=37" ]
Current State: 37:[23, 77, 12, 75], Operations: [] Exploring Operation: 23+77=100, Resulting Numbers: [12, 75, 100] Generated Node #2: [12, 75, 100] from Operation: 23+77=100 Current State: 37:[12, 75, 100], Operations: ['23+77=100'] Exploring Operation: 75-12=63, Resulting Numbers: [100, 63] Generated Node #3: [100, 63] from Operation: 75-12=63 Current State: 37:[100, 63], Operations: ['23+77=100', '75-12=63'] Exploring Operation: 100-63=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[23, 77, 12, 75], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [23, 12, 2] Generated Node #0,0: 37:[23, 12, 2] Operation: 77-75=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[23, 12, 2], Operations: ['77-75=2'] Exploring Operation: 12*2=24, Resulting Numbers: [23, 24] Generated Node #0,0,0: 37:[23, 24] Operation: 12*2=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[23, 24], Operations: ['77-75=2', '12*2=24'] Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,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_1
mult_heuristic
[ 61, 39, 66, 35 ]
79
[ "61-39=22", "66+35=101", "101-22=79" ]
Current State: 79:[61, 39, 66, 35], Operations: [] Exploring Operation: 61-39=22, Resulting Numbers: [66, 35, 22] Generated Node #2: [66, 35, 22] from Operation: 61-39=22 Current State: 79:[66, 35, 22], Operations: ['61-39=22'] Exploring Operation: 66+35=101, Resulting Numbers: [22, 101] Generated Node #3: [22, 101] from Operation: 66+35=101 Current State: 79:[22, 101], Operations: ['61-39=22', '66+35=101'] Exploring Operation: 101-22=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[61, 39, 66, 35], Operations: [] Exploring Operation: 39+35=74, Resulting Numbers: [61, 66, 74] Generated Node #0,0: 79:[61, 66, 74] Operation: 39+35=74 Moving to Node #0,0 Current State: 79:[61, 66, 74], Operations: ['39+35=74'] Exploring Operation: 61+66=127, Resulting Numbers: [74, 127] Generated Node #0,0,0: 79:[74, 127] Operation: 61+66=127 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[74, 127], Operations: ['39+35=74', '61+66=127'] Exploring Operation: 127-74=53, Resulting Numbers: [53] 53,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 2, 37, 30, 47 ]
61
[ "37-30=7", "2*7=14", "47+14=61" ]
Current State: 61:[2, 37, 30, 47], Operations: [] Exploring Operation: 37-30=7, Resulting Numbers: [2, 47, 7] Generated Node #2: [2, 47, 7] from Operation: 37-30=7 Current State: 61:[2, 47, 7], Operations: ['37-30=7'] Exploring Operation: 2*7=14, Resulting Numbers: [47, 14] Generated Node #3: [47, 14] from Operation: 2*7=14 Current State: 61:[47, 14], Operations: ['37-30=7', '2*7=14'] Exploring Operation: 47+14=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[2, 37, 30, 47], Operations: [] Exploring Operation: 2*37=74, Resulting Numbers: [30, 47, 74] Generated Node #0,0: 61:[30, 47, 74] Operation: 2*37=74 Exploring Operation: 2*30=60, Resulting Numbers: [37, 47, 60] Generated Node #0,1: 61:[37, 47, 60] Operation: 2*30=60 Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[37, 47, 60], Operations: ['2*30=60'] Exploring Operation: 37+47=84, Resulting Numbers: [60, 84] Generated Node #0,1,0: 61:[60, 84] Operation: 37+47=84 Exploring Operation: 37+60=97, Resulting Numbers: [47, 97] Generated Node #0,1,1: 61:[47, 97] Operation: 37+60=97 Moving to Node #0,1,0 Current State: 61:[60, 84], Operations: ['2*30=60', '37+47=84'] Exploring Operation: 84-60=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 60+84=144, Resulting Numbers: [144] 144,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[47, 97], Operations: ['2*30=60', '37+60=97'] Exploring Operation: 47+97=144, Resulting Numbers: [144] 144,61 unequal: No Solution Exploring Operation: 97-47=50, Resulting Numbers: [50] 50,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[30, 47, 74], Operations: ['2*37=74'] Exploring Operation: 30+47=77, Resulting Numbers: [74, 77] Generated Node #0,0,0: 61:[74, 77] Operation: 30+47=77 Exploring Operation: 74-30=44, Resulting Numbers: [47, 44] Generated Node #0,0,1: 61:[47, 44] Operation: 74-30=44 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[74, 77], Operations: ['2*37=74', '30+47=77'] Exploring Operation: 77-74=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 74+77=151, Resulting Numbers: [151] 151,61 unequal: No Solution No 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: 61:[47, 44], Operations: ['2*37=74', '74-30=44'] Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 47+44=91, Resulting Numbers: [91] 91,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 16, 3, 32, 41 ]
79
[ "32/16=2", "41*2=82", "82-3=79" ]
Current State: 79:[16, 3, 32, 41], Operations: [] Exploring Operation: 32/16=2, Resulting Numbers: [3, 41, 2] Generated Node #2: [3, 41, 2] from Operation: 32/16=2 Current State: 79:[3, 41, 2], Operations: ['32/16=2'] Exploring Operation: 41*2=82, Resulting Numbers: [3, 82] Generated Node #3: [3, 82] from Operation: 41*2=82 Current State: 79:[3, 82], Operations: ['32/16=2', '41*2=82'] Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[16, 3, 32, 41], Operations: [] Exploring Operation: 16+32=48, Resulting Numbers: [3, 41, 48] Generated Node #0,0: 79:[3, 41, 48] Operation: 16+32=48 Exploring Operation: 16+3=19, Resulting Numbers: [32, 41, 19] Generated Node #0,1: 79:[32, 41, 19] Operation: 16+3=19 Exploring Operation: 3*32=96, Resulting Numbers: [16, 41, 96] Generated Node #0,2: 79:[16, 41, 96] Operation: 3*32=96 Exploring Operation: 16*3=48, Resulting Numbers: [32, 41, 48] Generated Node #0,3: 79:[32, 41, 48] Operation: 16*3=48 Moving to Node #0,3 Current State: 79:[32, 41, 48], Operations: ['16*3=48'] Exploring Operation: 32+41=73, Resulting Numbers: [48, 73] Generated Node #0,3,0: 79:[48, 73] Operation: 32+41=73 Exploring Operation: 32+48=80, Resulting Numbers: [41, 80] Generated Node #0,3,1: 79:[41, 80] Operation: 32+48=80 Exploring Operation: 41-32=9, Resulting Numbers: [48, 9] Generated Node #0,3,2: 79:[48, 9] Operation: 41-32=9 Exploring Operation: 41+48=89, Resulting Numbers: [32, 89] Generated Node #0,3,3: 79:[32, 89] Operation: 41+48=89 Moving to Node #0,2 Current State: 79:[16, 41, 96], Operations: ['3*32=96'] Exploring Operation: 96-16=80, Resulting Numbers: [41, 80] Generated Node #0,2,0: 79:[41, 80] Operation: 96-16=80 Exploring Operation: 16+41=57, Resulting Numbers: [96, 57] Generated Node #0,2,1: 79:[96, 57] Operation: 16+41=57 Exploring Operation: 41-16=25, Resulting Numbers: [96, 25] Generated Node #0,2,2: 79:[96, 25] Operation: 41-16=25 Exploring Operation: 16+96=112, Resulting Numbers: [41, 112] Generated Node #0,2,3: 79:[41, 112] Operation: 16+96=112 Moving to Node #0,1 Current State: 79:[32, 41, 19], Operations: ['16+3=19'] Exploring Operation: 41+19=60, Resulting Numbers: [32, 60] Generated Node #0,1,0: 79:[32, 60] Operation: 41+19=60 Exploring Operation: 32-19=13, Resulting Numbers: [41, 13] Generated Node #0,1,1: 79:[41, 13] Operation: 32-19=13 Exploring Operation: 32+19=51, Resulting Numbers: [41, 51] Generated Node #0,1,2: 79:[41, 51] Operation: 32+19=51 Exploring Operation: 32+41=73, Resulting Numbers: [19, 73] Generated Node #0,1,3: 79:[19, 73] Operation: 32+41=73 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[32, 60], Operations: ['16+3=19', '41+19=60'] Exploring Operation: 32*60=1920, Resulting Numbers: [1920] 1920,79 unequal: No Solution Exploring Operation: 32+60=92, Resulting Numbers: [92] 92,79 unequal: No Solution Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,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,2 Current State: 79:[41, 51], Operations: ['16+3=19', '32+19=51'] Exploring Operation: 41*51=2091, Resulting Numbers: [2091] 2091,79 unequal: No Solution Exploring Operation: 41+51=92, Resulting Numbers: [92] 92,79 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,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,3 Current State: 79:[19, 73], Operations: ['16+3=19', '32+41=73'] Exploring Operation: 19*73=1387, Resulting Numbers: [1387] 1387,79 unequal: No Solution Exploring Operation: 73-19=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 19+73=92, Resulting Numbers: [92] 92,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,1 Current State: 79:[41, 13], Operations: ['16+3=19', '32-19=13'] Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,79 unequal: No Solution Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,79 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: 79:[3, 41, 48], Operations: ['16+32=48'] Exploring Operation: 41-3=38, Resulting Numbers: [48, 38] Generated Node #0,0,0: 79:[48, 38] Operation: 41-3=38 Exploring Operation: 48-3=45, Resulting Numbers: [41, 45] Generated Node #0,0,1: 79:[41, 45] Operation: 48-3=45 Exploring Operation: 3+48=51, Resulting Numbers: [41, 51] Generated Node #0,0,2: 79:[41, 51] Operation: 3+48=51 Exploring Operation: 3+41=44, Resulting Numbers: [48, 44] Generated Node #0,0,3: 79:[48, 44] Operation: 3+41=44 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 79:[41, 51], Operations: ['16+32=48', '3+48=51'] Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 41+51=92, Resulting Numbers: [92] 92,79 unequal: No Solution Exploring Operation: 41*51=2091, Resulting Numbers: [2091] 2091,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,0,3 Current State: 79:[48, 44], Operations: ['16+32=48', '3+41=44'] Exploring Operation: 48+44=92, Resulting Numbers: [92] 92,79 unequal: No Solution Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,79 unequal: No Solution Exploring Operation: 48*44=2112, Resulting Numbers: [2112] 2112,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,0,0 Current State: 79:[48, 38], Operations: ['16+32=48', '41-3=38'] Exploring Operation: 48+38=86, Resulting Numbers: [86] 86,79 unequal: No Solution Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 48*38=1824, Resulting Numbers: [1824] 1824,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,0,1 Current State: 79:[41, 45], Operations: ['16+32=48', '48-3=45'] Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,79 unequal: No Solution Exploring Operation: 41+45=86, Resulting Numbers: [86] 86,79 unequal: No Solution Exploring Operation: 41*45=1845, Resulting Numbers: [1845] 1845,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 79:[48, 73], Operations: ['16*3=48', '32+41=73'] Exploring Operation: 48+73=121, Resulting Numbers: [121] 121,79 unequal: No Solution Exploring Operation: 48*73=3504, Resulting Numbers: [3504] 3504,79 unequal: No Solution Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[96, 57], Operations: ['3*32=96', '16+41=57'] Exploring Operation: 96+57=153, Resulting Numbers: [153] 153,79 unequal: No Solution Exploring Operation: 96*57=5472, Resulting Numbers: [5472] 5472,79 unequal: No Solution Exploring Operation: 96-57=39, Resulting Numbers: [39] 39,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[41, 80], Operations: ['16*3=48', '32+48=80'] Exploring Operation: 80-41=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 41*80=3280, Resulting Numbers: [3280] 3280,79 unequal: No Solution Exploring Operation: 41+80=121, Resulting Numbers: [121] 121,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[41, 80], Operations: ['3*32=96', '96-16=80'] Exploring Operation: 41+80=121, Resulting Numbers: [121] 121,79 unequal: No Solution Exploring Operation: 80-41=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 41*80=3280, Resulting Numbers: [3280] 3280,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[32, 89], Operations: ['16*3=48', '41+48=89'] Exploring Operation: 32*89=2848, Resulting Numbers: [2848] 2848,79 unequal: No Solution Exploring Operation: 89-32=57, Resulting Numbers: [57] 57,79 unequal: No Solution Exploring Operation: 32+89=121, Resulting Numbers: [121] 121,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[96, 25], Operations: ['3*32=96', '41-16=25'] Exploring Operation: 96*25=2400, Resulting Numbers: [2400] 2400,79 unequal: No Solution Exploring Operation: 96+25=121, Resulting Numbers: [121] 121,79 unequal: No Solution Exploring Operation: 96-25=71, Resulting Numbers: [71] 71,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[41, 112], Operations: ['3*32=96', '16+96=112'] Exploring Operation: 41+112=153, Resulting Numbers: [153] 153,79 unequal: No Solution Exploring Operation: 41*112=4592, Resulting Numbers: [4592] 4592,79 unequal: No Solution Exploring Operation: 112-41=71, Resulting Numbers: [71] 71,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[48, 9], Operations: ['16*3=48', '41-32=9'] Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,79 unequal: No Solution Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,79 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,79 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 2, 1, 71, 8 ]
18
[ "8/2=4", "1+71=72", "72/4=18" ]
Current State: 18:[2, 1, 71, 8], Operations: [] Exploring Operation: 8/2=4, Resulting Numbers: [1, 71, 4] Generated Node #2: [1, 71, 4] from Operation: 8/2=4 Current State: 18:[1, 71, 4], Operations: ['8/2=4'] Exploring Operation: 1+71=72, Resulting Numbers: [4, 72] Generated Node #3: [4, 72] from Operation: 1+71=72 Current State: 18:[4, 72], Operations: ['8/2=4', '1+71=72'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[2, 1, 71, 8], Operations: [] Exploring Operation: 71-8=63, Resulting Numbers: [2, 1, 63] Generated Node #0,0: 18:[2, 1, 63] Operation: 71-8=63 Exploring Operation: 71-2=69, Resulting Numbers: [1, 8, 69] Generated Node #0,1: 18:[1, 8, 69] Operation: 71-2=69 Moving to Node #0,0 Current State: 18:[2, 1, 63], Operations: ['71-8=63'] Exploring Operation: 63-2=61, Resulting Numbers: [1, 61] Generated Node #0,0,0: 18:[1, 61] Operation: 63-2=61 Exploring Operation: 63-1=62, Resulting Numbers: [2, 62] Generated Node #0,0,1: 18:[2, 62] Operation: 63-1=62 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[1, 61], Operations: ['71-8=63', '63-2=61'] Exploring Operation: 1*61=61, Resulting Numbers: [61] 61,18 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,18 unequal: No Solution No 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: 18:[2, 62], Operations: ['71-8=63', '63-1=62'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,18 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: 18:[1, 8, 69], Operations: ['71-2=69'] Exploring Operation: 1+8=9, Resulting Numbers: [69, 9] Generated Node #0,1,0: 18:[69, 9] Operation: 1+8=9 Exploring Operation: 69-8=61, Resulting Numbers: [1, 61] Generated Node #0,1,1: 18:[1, 61] Operation: 69-8=61 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[1, 61], Operations: ['71-2=69', '69-8=61'] Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,18 unequal: No Solution Exploring Operation: 1*61=61, Resulting Numbers: [61] 61,18 unequal: No Solution No 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: 18:[69, 9], Operations: ['71-2=69', '1+8=9'] Exploring Operation: 69-9=60, Resulting Numbers: [60] 60,18 unequal: No Solution Exploring Operation: 69+9=78, Resulting Numbers: [78] 78,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
[ 45, 3, 5, 43 ]
41
[ "5-3=2", "43*2=86", "86-45=41" ]
Current State: 41:[45, 3, 5, 43], Operations: [] Exploring Operation: 5-3=2, Resulting Numbers: [45, 43, 2] Generated Node #2: [45, 43, 2] from Operation: 5-3=2 Current State: 41:[45, 43, 2], Operations: ['5-3=2'] Exploring Operation: 43*2=86, Resulting Numbers: [45, 86] Generated Node #3: [45, 86] from Operation: 43*2=86 Current State: 41:[45, 86], Operations: ['5-3=2', '43*2=86'] Exploring Operation: 86-45=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[45, 3, 5, 43], Operations: [] Exploring Operation: 3*5=15, Resulting Numbers: [45, 43, 15] Generated Node #0,0: 41:[45, 43, 15] Operation: 3*5=15 Moving to Node #0,0 Current State: 41:[45, 43, 15], Operations: ['3*5=15'] Exploring Operation: 45-15=30, Resulting Numbers: [43, 30] Generated Node #0,0,0: 41:[43, 30] Operation: 45-15=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[43, 30], Operations: ['3*5=15', '45-15=30'] Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,41 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