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
[ 75, 18, 78, 84 ]
76
[ "84-75=9", "18/9=2", "78-2=76" ]
Current State: 76:[75, 18, 78, 84], Operations: [] Exploring Operation: 84-75=9, Resulting Numbers: [18, 78, 9] Generated Node #2: [18, 78, 9] from Operation: 84-75=9 Current State: 76:[18, 78, 9], Operations: ['84-75=9'] Exploring Operation: 18/9=2, Resulting Numbers: [78, 2] Generated Node #3: [78, 2] from Operation: 18/9=2 Current State: 76:[78, 2], Operations: ['84-75=9', '18/9=2'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[75, 18, 78, 84], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [18, 84, 3] Generated Node #0,0: 76:[18, 84, 3] Operation: 78-75=3 Exploring Operation: 84-78=6, Resulting Numbers: [75, 18, 6] Generated Node #0,1: 76:[75, 18, 6] Operation: 84-78=6 Exploring Operation: 84-75=9, Resulting Numbers: [18, 78, 9] Generated Node #0,2: 76:[18, 78, 9] Operation: 84-75=9 Moving to Node #0,1 Current State: 76:[75, 18, 6], Operations: ['84-78=6'] Exploring Operation: 18/6=3, Resulting Numbers: [75, 3] Generated Node #0,1,0: 76:[75, 3] Operation: 18/6=3 Exploring Operation: 75+6=81, Resulting Numbers: [18, 81] Generated Node #0,1,1: 76:[18, 81] Operation: 75+6=81 Exploring Operation: 18+6=24, Resulting Numbers: [75, 24] Generated Node #0,1,2: 76:[75, 24] Operation: 18+6=24 Moving to Node #0,2 Current State: 76:[18, 78, 9], Operations: ['84-75=9'] Exploring Operation: 78-9=69, Resulting Numbers: [18, 69] Generated Node #0,2,0: 76:[18, 69] Operation: 78-9=69 Exploring Operation: 18-9=9, Resulting Numbers: [78, 9] Generated Node #0,2,1: 76:[78, 9] Operation: 18-9=9 Exploring Operation: 18/9=2, Resulting Numbers: [78, 2] Generated Node #0,2,2: 76:[78, 2] Operation: 18/9=2 Moving to Node #0,0 Current State: 76:[18, 84, 3], Operations: ['78-75=3'] Exploring Operation: 18+3=21, Resulting Numbers: [84, 21] Generated Node #0,0,0: 76:[84, 21] Operation: 18+3=21 Exploring Operation: 84-3=81, Resulting Numbers: [18, 81] Generated Node #0,0,1: 76:[18, 81] Operation: 84-3=81 Exploring Operation: 18/3=6, Resulting Numbers: [84, 6] Generated Node #0,0,2: 76:[84, 6] Operation: 18/3=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[18, 81], Operations: ['78-75=3', '84-3=81'] Exploring Operation: 18+81=99, Resulting Numbers: [99] 99,76 unequal: No Solution Exploring Operation: 81-18=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 18*81=1458, Resulting Numbers: [1458] 1458,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:[84, 21], Operations: ['78-75=3', '18+3=21'] Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 84+21=105, Resulting Numbers: [105] 105,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:[84, 6], Operations: ['78-75=3', '18/3=6'] Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,76 unequal: No Solution Exploring Operation: 84+6=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 84-6=78, Resulting Numbers: [78] 78,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 76:[75, 3], Operations: ['84-78=6', '18/6=3'] Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,76 unequal: No Solution Exploring Operation: 75+3=78, Resulting Numbers: [78] 78,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[78, 2], Operations: ['84-75=9', '18/9=2'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[75, 18, 78, 84], Operations: [] Exploring Operation: 84-75=9, Resulting Numbers: [18, 78, 9] Generated Node #0,2: 76:[18, 78, 9] Operation: 84-75=9 Moving to Node #0,2 Current State: 76:[18, 78, 9], Operations: ['84-75=9'] Exploring Operation: 18/9=2, Resulting Numbers: [78, 2] Generated Node #0,2,2: 76:[78, 2] Operation: 18/9=2 Moving to Node #0,2,2 Current State: 76:[78, 2], Operations: ['84-75=9', '18/9=2'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
0.974826
hs_3
mult_heuristic
[ 45, 8, 4, 18 ]
31
[ "45+8=53", "4+18=22", "53-22=31" ]
Current State: 31:[45, 8, 4, 18], Operations: [] Exploring Operation: 45+8=53, Resulting Numbers: [4, 18, 53] Generated Node #2: [4, 18, 53] from Operation: 45+8=53 Current State: 31:[4, 18, 53], Operations: ['45+8=53'] Exploring Operation: 4+18=22, Resulting Numbers: [53, 22] Generated Node #3: [53, 22] from Operation: 4+18=22 Current State: 31:[53, 22], Operations: ['45+8=53', '4+18=22'] Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[45, 8, 4, 18], Operations: [] Exploring Operation: 8*4=32, Resulting Numbers: [45, 18, 32] Generated Node #0,0: 31:[45, 18, 32] Operation: 8*4=32 Exploring Operation: 45-4=41, Resulting Numbers: [8, 18, 41] Generated Node #0,1: 31:[8, 18, 41] Operation: 45-4=41 Exploring Operation: 45-8=37, Resulting Numbers: [4, 18, 37] Generated Node #0,2: 31:[4, 18, 37] Operation: 45-8=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[45, 18, 32], Operations: ['8*4=32'] Exploring Operation: 45-18=27, Resulting Numbers: [32, 27] Generated Node #0,0,0: 31:[32, 27] Operation: 45-18=27 Exploring Operation: 32-18=14, Resulting Numbers: [45, 14] Generated Node #0,0,1: 31:[45, 14] Operation: 32-18=14 Exploring Operation: 45-32=13, Resulting Numbers: [18, 13] Generated Node #0,0,2: 31:[18, 13] Operation: 45-32=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[32, 27], Operations: ['8*4=32', '45-18=27'] Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,31 unequal: No Solution Exploring Operation: 32*27=864, Resulting Numbers: [864] 864,31 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,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,1 Current State: 31:[45, 14], Operations: ['8*4=32', '32-18=14'] Exploring Operation: 45+14=59, Resulting Numbers: [59] 59,31 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[45, 8, 4, 18], Operations: [] Exploring Operation: 8*4=32, Resulting Numbers: [45, 18, 32] Generated Node #0,0: 31:[45, 18, 32] Operation: 8*4=32 Moving to Node #0,0 Current State: 31:[45, 18, 32], Operations: ['8*4=32'] Exploring Operation: 32-18=14, Resulting Numbers: [45, 14] Generated Node #0,0,1: 31:[45, 14] Operation: 32-18=14 Moving to Node #0,0,1 Current State: 31:[45, 14], Operations: ['8*4=32', '32-18=14'] Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 54, 67, 48, 73 ]
36
[ "54-48=6", "73-67=6", "6*6=36" ]
Current State: 36:[54, 67, 48, 73], Operations: [] Exploring Operation: 54-48=6, Resulting Numbers: [67, 73, 6] Generated Node #2: [67, 73, 6] from Operation: 54-48=6 Current State: 36:[67, 73, 6], Operations: ['54-48=6'] Exploring Operation: 73-67=6, Resulting Numbers: [6, 6] Generated Node #3: [6, 6] from Operation: 73-67=6 Current State: 36:[6, 6], Operations: ['54-48=6', '73-67=6'] Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[54, 67, 48, 73], Operations: [] Exploring Operation: 67-54=13, Resulting Numbers: [48, 73, 13] Generated Node #0,0: 36:[48, 73, 13] Operation: 67-54=13 Exploring Operation: 73-54=19, Resulting Numbers: [67, 48, 19] Generated Node #0,1: 36:[67, 48, 19] Operation: 73-54=19 Exploring Operation: 73-67=6, Resulting Numbers: [54, 48, 6] Generated Node #0,2: 36:[54, 48, 6] Operation: 73-67=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[54, 48, 6], Operations: ['73-67=6'] Exploring Operation: 54-48=6, Resulting Numbers: [6, 6] Generated Node #0,2,0: 36:[6, 6] Operation: 54-48=6 Exploring Operation: 54/6=9, Resulting Numbers: [48, 9] Generated Node #0,2,1: 36:[48, 9] Operation: 54/6=9 Exploring Operation: 48/6=8, Resulting Numbers: [54, 8] Generated Node #0,2,2: 36:[54, 8] Operation: 48/6=8 Moving to Node #0,2,0 Current State: 36:[6, 6], Operations: ['73-67=6', '54-48=6'] Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[54, 67, 48, 73], Operations: [] Exploring Operation: 73-67=6, Resulting Numbers: [54, 48, 6] Generated Node #0,2: 36:[54, 48, 6] Operation: 73-67=6 Moving to Node #0,2 Current State: 36:[54, 48, 6], Operations: ['73-67=6'] Exploring Operation: 54-48=6, Resulting Numbers: [6, 6] Generated Node #0,2,0: 36:[6, 6] Operation: 54-48=6 Moving to Node #0,2,0 Current State: 36:[6, 6], Operations: ['73-67=6', '54-48=6'] Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 91, 50, 67, 68 ]
41
[ "91-50=41", "68-67=1", "41*1=41" ]
Current State: 41:[91, 50, 67, 68], Operations: [] Exploring Operation: 91-50=41, Resulting Numbers: [67, 68, 41] Generated Node #2: [67, 68, 41] from Operation: 91-50=41 Current State: 41:[67, 68, 41], Operations: ['91-50=41'] Exploring Operation: 68-67=1, Resulting Numbers: [41, 1] Generated Node #3: [41, 1] from Operation: 68-67=1 Current State: 41:[41, 1], Operations: ['91-50=41', '68-67=1'] Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[91, 50, 67, 68], Operations: [] Exploring Operation: 91-50=41, Resulting Numbers: [67, 68, 41] Generated Node #0,0: 41:[67, 68, 41] Operation: 91-50=41 Exploring Operation: 91-67=24, Resulting Numbers: [50, 68, 24] Generated Node #0,1: 41:[50, 68, 24] Operation: 91-67=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[67, 68, 41], Operations: ['91-50=41'] Exploring Operation: 68-67=1, Resulting Numbers: [41, 1] Generated Node #0,0,0: 41:[41, 1] Operation: 68-67=1 Exploring Operation: 68-41=27, Resulting Numbers: [67, 27] Generated Node #0,0,1: 41:[67, 27] Operation: 68-41=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[41, 1], Operations: ['91-50=41', '68-67=1'] Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[91, 50, 67, 68], Operations: [] Exploring Operation: 91-50=41, Resulting Numbers: [67, 68, 41] Generated Node #0,0: 41:[67, 68, 41] Operation: 91-50=41 Moving to Node #0,0 Current State: 41:[67, 68, 41], Operations: ['91-50=41'] Exploring Operation: 68-67=1, Resulting Numbers: [41, 1] Generated Node #0,0,0: 41:[41, 1] Operation: 68-67=1 Moving to Node #0,0,0 Current State: 41:[41, 1], Operations: ['91-50=41', '68-67=1'] Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 89, 2, 87, 89 ]
84
[ "89/89=1", "87-2=85", "85-1=84" ]
Current State: 84:[89, 2, 87, 89], Operations: [] Exploring Operation: 89/89=1, Resulting Numbers: [2, 87, 1] Generated Node #2: [2, 87, 1] from Operation: 89/89=1 Current State: 84:[2, 87, 1], Operations: ['89/89=1'] Exploring Operation: 87-2=85, Resulting Numbers: [1, 85] Generated Node #3: [1, 85] from Operation: 87-2=85 Current State: 84:[1, 85], Operations: ['89/89=1', '87-2=85'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[89, 2, 87, 89], Operations: [] Exploring Operation: 89/89=1, Resulting Numbers: [2, 87, 1] Generated Node #0,0: 84:[2, 87, 1] Operation: 89/89=1 Exploring Operation: 89-2=87, Resulting Numbers: [87, 89, 87] Generated Node #0,1: 84:[87, 89, 87] Operation: 89-2=87 Exploring Operation: 89-87=2, Resulting Numbers: [2, 89, 2] Generated Node #0,2: 84:[2, 89, 2] Operation: 89-87=2 Exploring Operation: 89-89=0, Resulting Numbers: [2, 87, 0] Generated Node #0,3: 84:[2, 87, 0] Operation: 89-89=0 Exploring Operation: 89-87=2, Resulting Numbers: [89, 2, 2] Generated Node #0,4: 84:[89, 2, 2] Operation: 89-87=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[2, 87, 1], Operations: ['89/89=1'] Exploring Operation: 2*1=2, Resulting Numbers: [87, 2] Generated Node #0,0,0: 84:[87, 2] Operation: 2*1=2 Exploring Operation: 87-2=85, Resulting Numbers: [1, 85] Generated Node #0,0,1: 84:[1, 85] Operation: 87-2=85 Exploring Operation: 2/1=2, Resulting Numbers: [87, 2] Generated Node #0,0,2: 84:[87, 2] Operation: 2/1=2 Exploring Operation: 87-1=86, Resulting Numbers: [2, 86] Generated Node #0,0,3: 84:[2, 86] Operation: 87-1=86 Exploring Operation: 2+1=3, Resulting Numbers: [87, 3] Generated Node #0,0,4: 84:[87, 3] Operation: 2+1=3 Moving to Node #0,0,1 Current State: 84:[1, 85], Operations: ['89/89=1', '87-2=85'] Exploring Operation: 1*85=85, Resulting Numbers: [85] 85,84 unequal: No Solution Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[89, 2, 87, 89], Operations: [] Exploring Operation: 89/89=1, Resulting Numbers: [2, 87, 1] Generated Node #0,0: 84:[2, 87, 1] Operation: 89/89=1 Moving to Node #0,0 Current State: 84:[2, 87, 1], Operations: ['89/89=1'] Exploring Operation: 87-2=85, Resulting Numbers: [1, 85] Generated Node #0,0,1: 84:[1, 85] Operation: 87-2=85 Moving to Node #0,0,1 Current State: 84:[1, 85], Operations: ['89/89=1', '87-2=85'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 40, 90, 70, 13 ]
25
[ "70*13=910", "90+910=1000", "1000/40=25" ]
Current State: 25:[40, 90, 70, 13], Operations: [] Exploring Operation: 70*13=910, Resulting Numbers: [40, 90, 910] Generated Node #2: [40, 90, 910] from Operation: 70*13=910 Current State: 25:[40, 90, 910], Operations: ['70*13=910'] Exploring Operation: 90+910=1000, Resulting Numbers: [40, 1000] Generated Node #3: [40, 1000] from Operation: 90+910=1000 Current State: 25:[40, 1000], Operations: ['70*13=910', '90+910=1000'] Exploring Operation: 1000/40=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[40, 90, 70, 13], Operations: [] Exploring Operation: 90-70=20, Resulting Numbers: [40, 13, 20] Generated Node #0,0: 25:[40, 13, 20] Operation: 90-70=20 Exploring Operation: 70-40=30, Resulting Numbers: [90, 13, 30] Generated Node #0,1: 25:[90, 13, 30] Operation: 70-40=30 Exploring Operation: 90-40=50, Resulting Numbers: [70, 13, 50] Generated Node #0,2: 25:[70, 13, 50] Operation: 90-40=50 Moving to Node #0,0 Current State: 25:[40, 13, 20], Operations: ['90-70=20'] Exploring Operation: 40-20=20, Resulting Numbers: [13, 20] Generated Node #0,0,0: 25:[13, 20] Operation: 40-20=20 Exploring Operation: 40/20=2, Resulting Numbers: [13, 2] Generated Node #0,0,1: 25:[13, 2] Operation: 40/20=2 Exploring Operation: 40-13=27, Resulting Numbers: [20, 27] Generated Node #0,0,2: 25:[20, 27] Operation: 40-13=27 Moving to Node #0,1 Current State: 25:[90, 13, 30], Operations: ['70-40=30'] Exploring Operation: 90-30=60, Resulting Numbers: [13, 60] Generated Node #0,1,0: 25:[13, 60] Operation: 90-30=60 Exploring Operation: 90/30=3, Resulting Numbers: [13, 3] Generated Node #0,1,1: 25:[13, 3] Operation: 90/30=3 Exploring Operation: 90-13=77, Resulting Numbers: [30, 77] Generated Node #0,1,2: 25:[30, 77] Operation: 90-13=77 Moving to Node #0,2 Current State: 25:[70, 13, 50], Operations: ['90-40=50'] Exploring Operation: 50-13=37, Resulting Numbers: [70, 37] Generated Node #0,2,0: 25:[70, 37] Operation: 50-13=37 Exploring Operation: 70-50=20, Resulting Numbers: [13, 20] Generated Node #0,2,1: 25:[13, 20] Operation: 70-50=20 Exploring Operation: 70-13=57, Resulting Numbers: [50, 57] Generated Node #0,2,2: 25:[50, 57] Operation: 70-13=57 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 25:[13, 20], Operations: ['90-40=50', '70-50=20'] Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 13*20=260, Resulting Numbers: [260] 260,25 unequal: No Solution Exploring Operation: 13+20=33, Resulting Numbers: [33] 33,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 25:[70, 37], Operations: ['90-40=50', '50-13=37'] Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 70*37=2590, Resulting Numbers: [2590] 2590,25 unequal: No Solution Exploring Operation: 70+37=107, Resulting Numbers: [107] 107,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 25:[50, 57], Operations: ['90-40=50', '70-13=57'] Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 50+57=107, Resulting Numbers: [107] 107,25 unequal: No Solution Exploring Operation: 50*57=2850, Resulting Numbers: [2850] 2850,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 25:[20, 27], Operations: ['90-70=20', '40-13=27'] Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,25 unequal: No Solution Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[13, 3], Operations: ['70-40=30', '90/30=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,25 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[13, 2], Operations: ['90-70=20', '40/20=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[13, 20], Operations: ['90-70=20', '40-20=20'] Exploring Operation: 13*20=260, Resulting Numbers: [260] 260,25 unequal: No Solution Exploring Operation: 13+20=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[13, 60], Operations: ['70-40=30', '90-30=60'] Exploring Operation: 13*60=780, Resulting Numbers: [780] 780,25 unequal: No Solution Exploring Operation: 13+60=73, Resulting Numbers: [73] 73,25 unequal: No Solution Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[30, 77], Operations: ['70-40=30', '90-13=77'] Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,25 unequal: No Solution Exploring Operation: 30*77=2310, Resulting Numbers: [2310] 2310,25 unequal: No Solution Exploring Operation: 30+77=107, Resulting Numbers: [107] 107,25 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 66, 70, 92, 12 ]
19
[ "66+70=136", "92+136=228", "228/12=19" ]
Current State: 19:[66, 70, 92, 12], Operations: [] Exploring Operation: 66+70=136, Resulting Numbers: [92, 12, 136] Generated Node #2: [92, 12, 136] from Operation: 66+70=136 Current State: 19:[92, 12, 136], Operations: ['66+70=136'] Exploring Operation: 92+136=228, Resulting Numbers: [12, 228] Generated Node #3: [12, 228] from Operation: 92+136=228 Current State: 19:[12, 228], Operations: ['66+70=136', '92+136=228'] Exploring Operation: 228/12=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[66, 70, 92, 12], Operations: [] Exploring Operation: 70-66=4, Resulting Numbers: [92, 12, 4] Generated Node #0,0: 19:[92, 12, 4] Operation: 70-66=4 Exploring Operation: 92-66=26, Resulting Numbers: [70, 12, 26] Generated Node #0,1: 19:[70, 12, 26] Operation: 92-66=26 Exploring Operation: 92-70=22, Resulting Numbers: [66, 12, 22] Generated Node #0,2: 19:[66, 12, 22] Operation: 92-70=22 Moving to Node #0,2 Current State: 19:[66, 12, 22], Operations: ['92-70=22'] Exploring Operation: 66-22=44, Resulting Numbers: [12, 44] Generated Node #0,2,0: 19:[12, 44] Operation: 66-22=44 Exploring Operation: 66-12=54, Resulting Numbers: [22, 54] Generated Node #0,2,1: 19:[22, 54] Operation: 66-12=54 Exploring Operation: 66/22=3, Resulting Numbers: [12, 3] Generated Node #0,2,2: 19:[12, 3] Operation: 66/22=3 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 19:[12, 3], Operations: ['92-70=22', '66/22=3'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 19:[12, 44], Operations: ['92-70=22', '66-22=44'] Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,19 unequal: No Solution Exploring Operation: 12*44=528, Resulting Numbers: [528] 528,19 unequal: No Solution Exploring Operation: 12+44=56, Resulting Numbers: [56] 56,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 19:[22, 54], Operations: ['92-70=22', '66-12=54'] Exploring Operation: 22+54=76, Resulting Numbers: [76] 76,19 unequal: No Solution Exploring Operation: 22*54=1188, Resulting Numbers: [1188] 1188,19 unequal: No Solution Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,19 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: 19:[70, 12, 26], Operations: ['92-66=26'] Exploring Operation: 70-26=44, Resulting Numbers: [12, 44] Generated Node #0,1,0: 19:[12, 44] Operation: 70-26=44 Exploring Operation: 70-12=58, Resulting Numbers: [26, 58] Generated Node #0,1,1: 19:[26, 58] Operation: 70-12=58 Exploring Operation: 26-12=14, Resulting Numbers: [70, 14] Generated Node #0,1,2: 19:[70, 14] Operation: 26-12=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[12, 44], Operations: ['92-66=26', '70-26=44'] Exploring Operation: 12+44=56, Resulting Numbers: [56] 56,19 unequal: No Solution Exploring Operation: 12*44=528, Resulting Numbers: [528] 528,19 unequal: No Solution Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[26, 58], Operations: ['92-66=26', '70-12=58'] Exploring Operation: 26+58=84, Resulting Numbers: [84] 84,19 unequal: No Solution Exploring Operation: 26*58=1508, Resulting Numbers: [1508] 1508,19 unequal: No Solution Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 19:[70, 14], Operations: ['92-66=26', '26-12=14'] Exploring Operation: 70+14=84, Resulting Numbers: [84] 84,19 unequal: No Solution Exploring Operation: 70/14=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,19 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: 19:[92, 12, 4], Operations: ['70-66=4'] Exploring Operation: 92-12=80, Resulting Numbers: [4, 80] Generated Node #0,0,0: 19:[4, 80] Operation: 92-12=80 Exploring Operation: 92-4=88, Resulting Numbers: [12, 88] Generated Node #0,0,1: 19:[12, 88] Operation: 92-4=88 Exploring Operation: 92/4=23, Resulting Numbers: [12, 23] Generated Node #0,0,2: 19:[12, 23] Operation: 92/4=23 Moving to Node #0,0,2 Current State: 19:[12, 23], Operations: ['70-66=4', '92/4=23'] Exploring Operation: 12*23=276, Resulting Numbers: [276] 276,19 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,19 unequal: No Solution Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[4, 80], Operations: ['70-66=4', '92-12=80'] Exploring Operation: 4+80=84, Resulting Numbers: [84] 84,19 unequal: No Solution Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,19 unequal: No Solution Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[12, 88], Operations: ['70-66=4', '92-4=88'] Exploring Operation: 12+88=100, Resulting Numbers: [100] 100,19 unequal: No Solution Exploring Operation: 88-12=76, Resulting Numbers: [76] 76,19 unequal: No Solution Exploring Operation: 12*88=1056, Resulting Numbers: [1056] 1056,19 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 39, 79, 17, 73 ]
81
[ "73-39=34", "34/17=2", "79+2=81" ]
Current State: 81:[39, 79, 17, 73], Operations: [] Exploring Operation: 73-39=34, Resulting Numbers: [79, 17, 34] Generated Node #2: [79, 17, 34] from Operation: 73-39=34 Current State: 81:[79, 17, 34], Operations: ['73-39=34'] Exploring Operation: 34/17=2, Resulting Numbers: [79, 2] Generated Node #3: [79, 2] from Operation: 34/17=2 Current State: 81:[79, 2], Operations: ['73-39=34', '34/17=2'] Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[39, 79, 17, 73], Operations: [] Exploring Operation: 39-17=22, Resulting Numbers: [79, 73, 22] Generated Node #0,0: 81:[79, 73, 22] Operation: 39-17=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[79, 73, 22], Operations: ['39-17=22'] Exploring Operation: 79-73=6, Resulting Numbers: [22, 6] Generated Node #0,0,0: 81:[22, 6] Operation: 79-73=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[22, 6], Operations: ['39-17=22', '79-73=6'] Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,81 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
[ 17, 86, 81, 55 ]
67
[ "86-17=69", "81+55=136", "136-69=67" ]
Current State: 67:[17, 86, 81, 55], Operations: [] Exploring Operation: 86-17=69, Resulting Numbers: [81, 55, 69] Generated Node #2: [81, 55, 69] from Operation: 86-17=69 Current State: 67:[81, 55, 69], Operations: ['86-17=69'] Exploring Operation: 81+55=136, Resulting Numbers: [69, 136] Generated Node #3: [69, 136] from Operation: 81+55=136 Current State: 67:[69, 136], Operations: ['86-17=69', '81+55=136'] Exploring Operation: 136-69=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[17, 86, 81, 55], Operations: [] Exploring Operation: 86-17=69, Resulting Numbers: [81, 55, 69] Generated Node #0,0: 67:[81, 55, 69] Operation: 86-17=69 Moving to Node #0,0 Current State: 67:[81, 55, 69], Operations: ['86-17=69'] Exploring Operation: 81-55=26, Resulting Numbers: [69, 26] Generated Node #0,0,0: 67:[69, 26] Operation: 81-55=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[69, 26], Operations: ['86-17=69', '81-55=26'] Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,67 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
[ 89, 60, 5, 30 ]
47
[ "89+5=94", "60/30=2", "94/2=47" ]
Current State: 47:[89, 60, 5, 30], Operations: [] Exploring Operation: 89+5=94, Resulting Numbers: [60, 30, 94] Generated Node #2: [60, 30, 94] from Operation: 89+5=94 Current State: 47:[60, 30, 94], Operations: ['89+5=94'] Exploring Operation: 60/30=2, Resulting Numbers: [94, 2] Generated Node #3: [94, 2] from Operation: 60/30=2 Current State: 47:[94, 2], Operations: ['89+5=94', '60/30=2'] Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[89, 60, 5, 30], Operations: [] Exploring Operation: 5+30=35, Resulting Numbers: [89, 60, 35] Generated Node #0,0: 47:[89, 60, 35] Operation: 5+30=35 Exploring Operation: 60-5=55, Resulting Numbers: [89, 30, 55] Generated Node #0,1: 47:[89, 30, 55] Operation: 60-5=55 Exploring Operation: 89-60=29, Resulting Numbers: [5, 30, 29] Generated Node #0,2: 47:[5, 30, 29] Operation: 89-60=29 Exploring Operation: 89-5=84, Resulting Numbers: [60, 30, 84] Generated Node #0,3: 47:[60, 30, 84] Operation: 89-5=84 Exploring Operation: 89-30=59, Resulting Numbers: [60, 5, 59] Generated Node #0,4: 47:[60, 5, 59] Operation: 89-30=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[89, 60, 35], Operations: ['5+30=35'] Exploring Operation: 60-35=25, Resulting Numbers: [89, 25] Generated Node #0,0,0: 47:[89, 25] Operation: 60-35=25 Exploring Operation: 89+35=124, Resulting Numbers: [60, 124] Generated Node #0,0,1: 47:[60, 124] Operation: 89+35=124 Exploring Operation: 60+35=95, Resulting Numbers: [89, 95] Generated Node #0,0,2: 47:[89, 95] Operation: 60+35=95 Exploring Operation: 89-35=54, Resulting Numbers: [60, 54] Generated Node #0,0,3: 47:[60, 54] Operation: 89-35=54 Exploring Operation: 89-60=29, Resulting Numbers: [35, 29] Generated Node #0,0,4: 47:[35, 29] Operation: 89-60=29 Moving to Node #0,0,3 Current State: 47:[60, 54], Operations: ['5+30=35', '89-35=54'] Exploring Operation: 60*54=3240, Resulting Numbers: [3240] 3240,47 unequal: No Solution Exploring Operation: 60+54=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,47 unequal: No Solution Moving to Node #0,0,4 Current State: 47:[35, 29], Operations: ['5+30=35', '89-60=29'] Exploring Operation: 35+29=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 35*29=1015, Resulting Numbers: [1015] 1015,47 unequal: No Solution Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[89, 25], Operations: ['5+30=35', '60-35=25'] Exploring Operation: 89-25=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 89*25=2225, Resulting Numbers: [2225] 2225,47 unequal: No Solution Exploring Operation: 89+25=114, Resulting Numbers: [114] 114,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[60, 124], Operations: ['5+30=35', '89+35=124'] Exploring Operation: 60+124=184, Resulting Numbers: [184] 184,47 unequal: No Solution Exploring Operation: 60*124=7440, Resulting Numbers: [7440] 7440,47 unequal: No Solution Exploring Operation: 124-60=64, Resulting Numbers: [64] 64,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[89, 95], Operations: ['5+30=35', '60+35=95'] Exploring Operation: 95-89=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 89+95=184, Resulting Numbers: [184] 184,47 unequal: No Solution Exploring Operation: 89*95=8455, Resulting Numbers: [8455] 8455,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[89, 30, 55], Operations: ['60-5=55'] Exploring Operation: 89+30=119, Resulting Numbers: [55, 119] Generated Node #0,1,0: 47:[55, 119] Operation: 89+30=119 Exploring Operation: 89-55=34, Resulting Numbers: [30, 34] Generated Node #0,1,1: 47:[30, 34] Operation: 89-55=34 Exploring Operation: 55-30=25, Resulting Numbers: [89, 25] Generated Node #0,1,2: 47:[89, 25] Operation: 55-30=25 Exploring Operation: 30+55=85, Resulting Numbers: [89, 85] Generated Node #0,1,3: 47:[89, 85] Operation: 30+55=85 Exploring Operation: 89-30=59, Resulting Numbers: [55, 59] Generated Node #0,1,4: 47:[55, 59] Operation: 89-30=59 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 47:[55, 59], Operations: ['60-5=55', '89-30=59'] Exploring Operation: 55+59=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 55*59=3245, Resulting Numbers: [3245] 3245,47 unequal: No Solution Exploring Operation: 59-55=4, Resulting Numbers: [4] 4,47 unequal: No Solution No 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: 47:[30, 34], Operations: ['60-5=55', '89-55=34'] Exploring Operation: 30*34=1020, Resulting Numbers: [1020] 1020,47 unequal: No Solution Exploring Operation: 30+34=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 34-30=4, Resulting Numbers: [4] 4,47 unequal: No Solution No 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: 47:[89, 25], Operations: ['60-5=55', '55-30=25'] Exploring Operation: 89+25=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 89*25=2225, Resulting Numbers: [2225] 2225,47 unequal: No Solution Exploring Operation: 89-25=64, Resulting Numbers: [64] 64,47 unequal: No Solution No 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: 47:[55, 119], Operations: ['60-5=55', '89+30=119'] Exploring Operation: 55+119=174, Resulting Numbers: [174] 174,47 unequal: No Solution Exploring Operation: 119-55=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 55*119=6545, Resulting Numbers: [6545] 6545,47 unequal: No Solution No 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: 47:[89, 85], Operations: ['60-5=55', '30+55=85'] Exploring Operation: 89*85=7565, Resulting Numbers: [7565] 7565,47 unequal: No Solution Exploring Operation: 89-85=4, Resulting Numbers: [4] 4,47 unequal: No Solution Exploring Operation: 89+85=174, Resulting Numbers: [174] 174,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 47:[60, 30, 84], Operations: ['89-5=84'] Exploring Operation: 84-60=24, Resulting Numbers: [30, 24] Generated Node #0,3,0: 47:[30, 24] Operation: 84-60=24 Exploring Operation: 60+30=90, Resulting Numbers: [84, 90] Generated Node #0,3,1: 47:[84, 90] Operation: 60+30=90 Exploring Operation: 60-30=30, Resulting Numbers: [84, 30] Generated Node #0,3,2: 47:[84, 30] Operation: 60-30=30 Exploring Operation: 84-30=54, Resulting Numbers: [60, 54] Generated Node #0,3,3: 47:[60, 54] Operation: 84-30=54 Exploring Operation: 30+84=114, Resulting Numbers: [60, 114] Generated Node #0,3,4: 47:[60, 114] Operation: 30+84=114 Moving to Node #0,3,3 Current State: 47:[60, 54], Operations: ['89-5=84', '84-30=54'] Exploring Operation: 60*54=3240, Resulting Numbers: [3240] 3240,47 unequal: No Solution Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 60+54=114, Resulting Numbers: [114] 114,47 unequal: No Solution Moving to Node #0,3,0 Current State: 47:[30, 24], Operations: ['89-5=84', '84-60=24'] Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 30*24=720, Resulting Numbers: [720] 720,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[84, 30], Operations: ['89-5=84', '60-30=30'] Exploring Operation: 84-30=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 84*30=2520, Resulting Numbers: [2520] 2520,47 unequal: No Solution Exploring Operation: 84+30=114, Resulting Numbers: [114] 114,47 unequal: No Solution Moving to Node #0,3,1 Current State: 47:[84, 90], Operations: ['89-5=84', '60+30=90'] Exploring Operation: 84*90=7560, Resulting Numbers: [7560] 7560,47 unequal: No Solution Exploring Operation: 90-84=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 84+90=174, Resulting Numbers: [174] 174,47 unequal: No Solution Moving to Node #0,3,4 Current State: 47:[60, 114], Operations: ['89-5=84', '30+84=114'] Exploring Operation: 60*114=6840, Resulting Numbers: [6840] 6840,47 unequal: No Solution Exploring Operation: 60+114=174, Resulting Numbers: [174] 174,47 unequal: No Solution Exploring Operation: 114-60=54, Resulting Numbers: [54] 54,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,4 Current State: 47:[60, 5, 59], Operations: ['89-30=59'] Exploring Operation: 5+59=64, Resulting Numbers: [60, 64] Generated Node #0,4,0: 47:[60, 64] Operation: 5+59=64 Exploring Operation: 60+5=65, Resulting Numbers: [59, 65] Generated Node #0,4,1: 47:[59, 65] Operation: 60+5=65 Exploring Operation: 60/5=12, Resulting Numbers: [59, 12] Generated Node #0,4,2: 47:[59, 12] Operation: 60/5=12 Exploring Operation: 59-5=54, Resulting Numbers: [60, 54] Generated Node #0,4,3: 47:[60, 54] Operation: 59-5=54 Exploring Operation: 60-5=55, Resulting Numbers: [59, 55] Generated Node #0,4,4: 47:[59, 55] Operation: 60-5=55 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 47:[60, 54], Operations: ['89-30=59', '59-5=54'] Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 60+54=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 60*54=3240, Resulting Numbers: [3240] 3240,47 unequal: No Solution No 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: 47:[59, 55], Operations: ['89-30=59', '60-5=55'] Exploring Operation: 59*55=3245, Resulting Numbers: [3245] 3245,47 unequal: No Solution Exploring Operation: 59+55=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 59-55=4, Resulting Numbers: [4] 4,47 unequal: No Solution No 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: 47:[60, 64], Operations: ['89-30=59', '5+59=64'] Exploring Operation: 60*64=3840, Resulting Numbers: [3840] 3840,47 unequal: No Solution Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,47 unequal: No Solution Exploring Operation: 60+64=124, Resulting Numbers: [124] 124,47 unequal: No Solution No 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: 47:[59, 65], Operations: ['89-30=59', '60+5=65'] Exploring Operation: 59*65=3835, Resulting Numbers: [3835] 3835,47 unequal: No Solution Exploring Operation: 65-59=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 59+65=124, Resulting Numbers: [124] 124,47 unequal: No Solution No 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: 47:[59, 12], Operations: ['89-30=59', '60/5=12'] Exploring Operation: 59+12=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 59*12=708, Resulting Numbers: [708] 708,47 unequal: No Solution Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[89, 60, 5, 30], Operations: [] Exploring Operation: 89-30=59, Resulting Numbers: [60, 5, 59] Generated Node #0,4: 47:[60, 5, 59] Operation: 89-30=59 Moving to Node #0,4 Current State: 47:[60, 5, 59], Operations: ['89-30=59'] Exploring Operation: 60/5=12, Resulting Numbers: [59, 12] Generated Node #0,4,2: 47:[59, 12] Operation: 60/5=12 Moving to Node #0,4,2 Current State: 47:[59, 12], Operations: ['89-30=59', '60/5=12'] Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.922743
hs_5
sum_heuristic
[ 52, 76, 36, 40 ]
20
[ "76-52=24", "40-36=4", "24-4=20" ]
Current State: 20:[52, 76, 36, 40], Operations: [] Exploring Operation: 76-52=24, Resulting Numbers: [36, 40, 24] Generated Node #2: [36, 40, 24] from Operation: 76-52=24 Current State: 20:[36, 40, 24], Operations: ['76-52=24'] Exploring Operation: 40-36=4, Resulting Numbers: [24, 4] Generated Node #3: [24, 4] from Operation: 40-36=4 Current State: 20:[24, 4], Operations: ['76-52=24', '40-36=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[52, 76, 36, 40], Operations: [] Exploring Operation: 76-52=24, Resulting Numbers: [36, 40, 24] Generated Node #0,0: 20:[36, 40, 24] Operation: 76-52=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[36, 40, 24], Operations: ['76-52=24'] Exploring Operation: 40-36=4, Resulting Numbers: [24, 4] Generated Node #0,0,0: 20:[24, 4] Operation: 40-36=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[24, 4], Operations: ['76-52=24', '40-36=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[52, 76, 36, 40], Operations: [] Exploring Operation: 76-52=24, Resulting Numbers: [36, 40, 24] Generated Node #0,0: 20:[36, 40, 24] Operation: 76-52=24 Moving to Node #0,0 Current State: 20:[36, 40, 24], Operations: ['76-52=24'] Exploring Operation: 40-36=4, Resulting Numbers: [24, 4] Generated Node #0,0,0: 20:[24, 4] Operation: 40-36=4 Moving to Node #0,0,0 Current State: 20:[24, 4], Operations: ['76-52=24', '40-36=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 23, 35, 4, 88 ]
85
[ "35-23=12", "12/4=3", "88-3=85" ]
Current State: 85:[23, 35, 4, 88], Operations: [] Exploring Operation: 35-23=12, Resulting Numbers: [4, 88, 12] Generated Node #2: [4, 88, 12] from Operation: 35-23=12 Current State: 85:[4, 88, 12], Operations: ['35-23=12'] Exploring Operation: 12/4=3, Resulting Numbers: [88, 3] Generated Node #3: [88, 3] from Operation: 12/4=3 Current State: 85:[88, 3], Operations: ['35-23=12', '12/4=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[23, 35, 4, 88], Operations: [] Exploring Operation: 35-23=12, Resulting Numbers: [4, 88, 12] Generated Node #0,0: 85:[4, 88, 12] Operation: 35-23=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[4, 88, 12], Operations: ['35-23=12'] Exploring Operation: 4+12=16, Resulting Numbers: [88, 16] Generated Node #0,0,0: 85:[88, 16] Operation: 4+12=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[88, 16], Operations: ['35-23=12', '4+12=16'] Exploring Operation: 88-16=72, Resulting Numbers: [72] 72,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 54, 34, 6, 81 ]
13
[ "54+34=88", "81-6=75", "88-75=13" ]
Current State: 13:[54, 34, 6, 81], Operations: [] Exploring Operation: 54+34=88, Resulting Numbers: [6, 81, 88] Generated Node #2: [6, 81, 88] from Operation: 54+34=88 Current State: 13:[6, 81, 88], Operations: ['54+34=88'] Exploring Operation: 81-6=75, Resulting Numbers: [88, 75] Generated Node #3: [88, 75] from Operation: 81-6=75 Current State: 13:[88, 75], Operations: ['54+34=88', '81-6=75'] Exploring Operation: 88-75=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[54, 34, 6, 81], Operations: [] Exploring Operation: 54-34=20, Resulting Numbers: [6, 81, 20] Generated Node #0,0: 13:[6, 81, 20] Operation: 54-34=20 Exploring Operation: 54-6=48, Resulting Numbers: [34, 81, 48] Generated Node #0,1: 13:[34, 81, 48] Operation: 54-6=48 Exploring Operation: 81-34=47, Resulting Numbers: [54, 6, 47] Generated Node #0,2: 13:[54, 6, 47] Operation: 81-34=47 Exploring Operation: 54/6=9, Resulting Numbers: [34, 81, 9] Generated Node #0,3: 13:[34, 81, 9] Operation: 54/6=9 Exploring Operation: 81-54=27, Resulting Numbers: [34, 6, 27] Generated Node #0,4: 13:[34, 6, 27] Operation: 81-54=27 Start Sub Search at level 1: Moving to Node #0,4 Current State: 13:[34, 6, 27], Operations: ['81-54=27'] Exploring Operation: 34+6=40, Resulting Numbers: [27, 40] Generated Node #0,4,0: 13:[27, 40] Operation: 34+6=40 Exploring Operation: 34-6=28, Resulting Numbers: [27, 28] Generated Node #0,4,1: 13:[27, 28] Operation: 34-6=28 Exploring Operation: 34-27=7, Resulting Numbers: [6, 7] Generated Node #0,4,2: 13:[6, 7] Operation: 34-27=7 Exploring Operation: 27-6=21, Resulting Numbers: [34, 21] Generated Node #0,4,3: 13:[34, 21] Operation: 27-6=21 Exploring Operation: 6+27=33, Resulting Numbers: [34, 33] Generated Node #0,4,4: 13:[34, 33] Operation: 6+27=33 Moving to Node #0,4,2 Current State: 13:[6, 7], Operations: ['81-54=27', '34-27=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[54, 34, 6, 81], Operations: [] Exploring Operation: 81-54=27, Resulting Numbers: [34, 6, 27] Generated Node #0,4: 13:[34, 6, 27] Operation: 81-54=27 Moving to Node #0,4 Current State: 13:[34, 6, 27], Operations: ['81-54=27'] Exploring Operation: 34-27=7, Resulting Numbers: [6, 7] Generated Node #0,4,2: 13:[6, 7] Operation: 34-27=7 Moving to Node #0,4,2 Current State: 13:[6, 7], Operations: ['81-54=27', '34-27=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 73, 73, 50, 96 ]
46
[ "73-73=0", "96-50=46", "0+46=46" ]
Current State: 46:[73, 73, 50, 96], Operations: [] Exploring Operation: 73-73=0, Resulting Numbers: [50, 96, 0] Generated Node #2: [50, 96, 0] from Operation: 73-73=0 Current State: 46:[50, 96, 0], Operations: ['73-73=0'] Exploring Operation: 96-50=46, Resulting Numbers: [0, 46] Generated Node #3: [0, 46] from Operation: 96-50=46 Current State: 46:[0, 46], Operations: ['73-73=0', '96-50=46'] Exploring Operation: 0+46=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[73, 73, 50, 96], Operations: [] Exploring Operation: 73/73=1, Resulting Numbers: [50, 96, 1] Generated Node #0,0: 46:[50, 96, 1] Operation: 73/73=1 Exploring Operation: 96-50=46, Resulting Numbers: [73, 73, 46] Generated Node #0,1: 46:[73, 73, 46] Operation: 96-50=46 Exploring Operation: 96-73=23, Resulting Numbers: [73, 50, 23] Generated Node #0,2: 46:[73, 50, 23] Operation: 96-73=23 Exploring Operation: 73-73=0, Resulting Numbers: [50, 96, 0] Generated Node #0,3: 46:[50, 96, 0] Operation: 73-73=0 Exploring Operation: 96-73=23, Resulting Numbers: [73, 50, 23] Generated Node #0,4: 46:[73, 50, 23] Operation: 96-73=23 Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[73, 50, 23], Operations: ['96-73=23'] Exploring Operation: 73+23=96, Resulting Numbers: [50, 96] Generated Node #0,2,0: 46:[50, 96] Operation: 73+23=96 Exploring Operation: 73-50=23, Resulting Numbers: [23, 23] Generated Node #0,2,1: 46:[23, 23] Operation: 73-50=23 Exploring Operation: 50-23=27, Resulting Numbers: [73, 27] Generated Node #0,2,2: 46:[73, 27] Operation: 50-23=27 Exploring Operation: 50+23=73, Resulting Numbers: [73, 73] Generated Node #0,2,3: 46:[73, 73] Operation: 50+23=73 Exploring Operation: 73-23=50, Resulting Numbers: [50, 50] Generated Node #0,2,4: 46:[50, 50] Operation: 73-23=50 Moving to Node #0,2,1 Current State: 46:[23, 23], Operations: ['96-73=23', '73-50=23'] Exploring Operation: 23-23=0, Resulting Numbers: [0] 0,46 unequal: No Solution Exploring Operation: 23+23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[73, 73, 50, 96], Operations: [] Exploring Operation: 96-73=23, Resulting Numbers: [73, 50, 23] Generated Node #0,2: 46:[73, 50, 23] Operation: 96-73=23 Moving to Node #0,2 Current State: 46:[73, 50, 23], Operations: ['96-73=23'] Exploring Operation: 73-50=23, Resulting Numbers: [23, 23] Generated Node #0,2,1: 46:[23, 23] Operation: 73-50=23 Moving to Node #0,2,1 Current State: 46:[23, 23], Operations: ['96-73=23', '73-50=23'] Exploring Operation: 23+23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 72, 62, 17, 55 ]
96
[ "72+62=134", "55-17=38", "134-38=96" ]
Current State: 96:[72, 62, 17, 55], Operations: [] Exploring Operation: 72+62=134, Resulting Numbers: [17, 55, 134] Generated Node #2: [17, 55, 134] from Operation: 72+62=134 Current State: 96:[17, 55, 134], Operations: ['72+62=134'] Exploring Operation: 55-17=38, Resulting Numbers: [134, 38] Generated Node #3: [134, 38] from Operation: 55-17=38 Current State: 96:[134, 38], Operations: ['72+62=134', '55-17=38'] Exploring Operation: 134-38=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[72, 62, 17, 55], Operations: [] Exploring Operation: 62-55=7, Resulting Numbers: [72, 17, 7] Generated Node #0,0: 96:[72, 17, 7] Operation: 62-55=7 Exploring Operation: 72-55=17, Resulting Numbers: [62, 17, 17] Generated Node #0,1: 96:[62, 17, 17] Operation: 72-55=17 Exploring Operation: 72-62=10, Resulting Numbers: [17, 55, 10] Generated Node #0,2: 96:[17, 55, 10] Operation: 72-62=10 Exploring Operation: 72+17=89, Resulting Numbers: [62, 55, 89] Generated Node #0,3: 96:[62, 55, 89] Operation: 72+17=89 Exploring Operation: 72-17=55, Resulting Numbers: [62, 55, 55] Generated Node #0,4: 96:[62, 55, 55] Operation: 72-17=55 Moving to Node #0,2 Current State: 96:[17, 55, 10], Operations: ['72-62=10'] Exploring Operation: 17-10=7, Resulting Numbers: [55, 7] Generated Node #0,2,0: 96:[55, 7] Operation: 17-10=7 Exploring Operation: 55+10=65, Resulting Numbers: [17, 65] Generated Node #0,2,1: 96:[17, 65] Operation: 55+10=65 Exploring Operation: 55-17=38, Resulting Numbers: [10, 38] Generated Node #0,2,2: 96:[10, 38] Operation: 55-17=38 Exploring Operation: 17+10=27, Resulting Numbers: [55, 27] Generated Node #0,2,3: 96:[55, 27] Operation: 17+10=27 Exploring Operation: 55-10=45, Resulting Numbers: [17, 45] Generated Node #0,2,4: 96:[17, 45] Operation: 55-10=45 Moving to Node #0,1 Current State: 96:[62, 17, 17], Operations: ['72-55=17'] Exploring Operation: 17-17=0, Resulting Numbers: [62, 0] Generated Node #0,1,0: 96:[62, 0] Operation: 17-17=0 Exploring Operation: 62-17=45, Resulting Numbers: [17, 45] Generated Node #0,1,1: 96:[17, 45] Operation: 62-17=45 Exploring Operation: 17+17=34, Resulting Numbers: [62, 34] Generated Node #0,1,2: 96:[62, 34] Operation: 17+17=34 Exploring Operation: 62-17=45, Resulting Numbers: [17, 45] Generated Node #0,1,3: 96:[17, 45] Operation: 62-17=45 Exploring Operation: 17/17=1, Resulting Numbers: [62, 1] Generated Node #0,1,4: 96:[62, 1] Operation: 17/17=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[17, 45], Operations: ['72-55=17', '62-17=45'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,96 unequal: No Solution Exploring Operation: 17*45=765, Resulting Numbers: [765] 765,96 unequal: No Solution Exploring Operation: 17+45=62, Resulting Numbers: [62] 62,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 96:[17, 45], Operations: ['72-55=17', '62-17=45'] Exploring Operation: 17+45=62, Resulting Numbers: [62] 62,96 unequal: No Solution Exploring Operation: 17*45=765, Resulting Numbers: [765] 765,96 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 96:[62, 1], Operations: ['72-55=17', '17/17=1'] Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,96 unequal: No Solution Exploring Operation: 62+1=63, Resulting Numbers: [63] 63,96 unequal: No Solution Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,96 unequal: No Solution Exploring Operation: 62*1=62, Resulting Numbers: [62] 62,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[62, 0], Operations: ['72-55=17', '17-17=0'] Exploring Operation: 62*0=0, Resulting Numbers: [0] 0,96 unequal: No Solution Exploring Operation: 62+0=62, Resulting Numbers: [62] 62,96 unequal: No Solution Exploring Operation: 62-0=62, Resulting Numbers: [62] 62,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 96:[62, 34], Operations: ['72-55=17', '17+17=34'] Exploring Operation: 62-34=28, Resulting Numbers: [28] 28,96 unequal: No Solution Exploring Operation: 62*34=2108, Resulting Numbers: [2108] 2108,96 unequal: No Solution Exploring Operation: 62+34=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[72, 62, 17, 55], Operations: [] Exploring Operation: 72-55=17, Resulting Numbers: [62, 17, 17] Generated Node #0,1: 96:[62, 17, 17] Operation: 72-55=17 Moving to Node #0,1 Current State: 96:[62, 17, 17], Operations: ['72-55=17'] Exploring Operation: 17+17=34, Resulting Numbers: [62, 34] Generated Node #0,1,2: 96:[62, 34] Operation: 17+17=34 Moving to Node #0,1,2 Current State: 96:[62, 34], Operations: ['72-55=17', '17+17=34'] Exploring Operation: 62+34=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
mult_heuristic
[ 91, 63, 29, 86 ]
87
[ "91-63=28", "29+86=115", "115-28=87" ]
Current State: 87:[91, 63, 29, 86], Operations: [] Exploring Operation: 91-63=28, Resulting Numbers: [29, 86, 28] Generated Node #2: [29, 86, 28] from Operation: 91-63=28 Current State: 87:[29, 86, 28], Operations: ['91-63=28'] Exploring Operation: 29+86=115, Resulting Numbers: [28, 115] Generated Node #3: [28, 115] from Operation: 29+86=115 Current State: 87:[28, 115], Operations: ['91-63=28', '29+86=115'] Exploring Operation: 115-28=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[91, 63, 29, 86], Operations: [] Exploring Operation: 63+29=92, Resulting Numbers: [91, 86, 92] Generated Node #0,0: 87:[91, 86, 92] Operation: 63+29=92 Exploring Operation: 91-63=28, Resulting Numbers: [29, 86, 28] Generated Node #0,1: 87:[29, 86, 28] Operation: 91-63=28 Exploring Operation: 63-29=34, Resulting Numbers: [91, 86, 34] Generated Node #0,2: 87:[91, 86, 34] Operation: 63-29=34 Exploring Operation: 86-63=23, Resulting Numbers: [91, 29, 23] Generated Node #0,3: 87:[91, 29, 23] Operation: 86-63=23 Exploring Operation: 91-86=5, Resulting Numbers: [63, 29, 5] Generated Node #0,4: 87:[63, 29, 5] Operation: 91-86=5 Moving to Node #0,1 Current State: 87:[29, 86, 28], Operations: ['91-63=28'] Exploring Operation: 29+86=115, Resulting Numbers: [28, 115] Generated Node #0,1,0: 87:[28, 115] Operation: 29+86=115 Exploring Operation: 86-29=57, Resulting Numbers: [28, 57] Generated Node #0,1,1: 87:[28, 57] Operation: 86-29=57 Exploring Operation: 29+28=57, Resulting Numbers: [86, 57] Generated Node #0,1,2: 87:[86, 57] Operation: 29+28=57 Exploring Operation: 86+28=114, Resulting Numbers: [29, 114] Generated Node #0,1,3: 87:[29, 114] Operation: 86+28=114 Exploring Operation: 29-28=1, Resulting Numbers: [86, 1] Generated Node #0,1,4: 87:[86, 1] Operation: 29-28=1 Moving to Node #0,2 Current State: 87:[91, 86, 34], Operations: ['63-29=34'] Exploring Operation: 86-34=52, Resulting Numbers: [91, 52] Generated Node #0,2,0: 87:[91, 52] Operation: 86-34=52 Exploring Operation: 91-86=5, Resulting Numbers: [34, 5] Generated Node #0,2,1: 87:[34, 5] Operation: 91-86=5 Exploring Operation: 91-34=57, Resulting Numbers: [86, 57] Generated Node #0,2,2: 87:[86, 57] Operation: 91-34=57 Exploring Operation: 91+34=125, Resulting Numbers: [86, 125] Generated Node #0,2,3: 87:[86, 125] Operation: 91+34=125 Exploring Operation: 86+34=120, Resulting Numbers: [91, 120] Generated Node #0,2,4: 87:[91, 120] Operation: 86+34=120 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 87:[34, 5], Operations: ['63-29=34', '91-86=5'] Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,87 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,87 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,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,2,0 Current State: 87:[91, 52], Operations: ['63-29=34', '86-34=52'] Exploring Operation: 91+52=143, Resulting Numbers: [143] 143,87 unequal: No Solution Exploring Operation: 91*52=4732, Resulting Numbers: [4732] 4732,87 unequal: No Solution Exploring Operation: 91-52=39, Resulting Numbers: [39] 39,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,2,2 Current State: 87:[86, 57], Operations: ['63-29=34', '91-34=57'] Exploring Operation: 86+57=143, Resulting Numbers: [143] 143,87 unequal: No Solution Exploring Operation: 86-57=29, Resulting Numbers: [29] 29,87 unequal: No Solution Exploring Operation: 86*57=4902, Resulting Numbers: [4902] 4902,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,2,4 Current State: 87:[91, 120], Operations: ['63-29=34', '86+34=120'] Exploring Operation: 91+120=211, Resulting Numbers: [211] 211,87 unequal: No Solution Exploring Operation: 120-91=29, Resulting Numbers: [29] 29,87 unequal: No Solution Exploring Operation: 91*120=10920, Resulting Numbers: [10920] 10920,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,2,3 Current State: 87:[86, 125], Operations: ['63-29=34', '91+34=125'] Exploring Operation: 86*125=10750, Resulting Numbers: [10750] 10750,87 unequal: No Solution Exploring Operation: 86+125=211, Resulting Numbers: [211] 211,87 unequal: No Solution Exploring Operation: 125-86=39, Resulting Numbers: [39] 39,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 87:[91, 86, 92], Operations: ['63+29=92'] Exploring Operation: 86+92=178, Resulting Numbers: [91, 178] Generated Node #0,0,0: 87:[91, 178] Operation: 86+92=178 Exploring Operation: 92-91=1, Resulting Numbers: [86, 1] Generated Node #0,0,1: 87:[86, 1] Operation: 92-91=1 Exploring Operation: 91-86=5, Resulting Numbers: [92, 5] Generated Node #0,0,2: 87:[92, 5] Operation: 91-86=5 Exploring Operation: 91+86=177, Resulting Numbers: [92, 177] Generated Node #0,0,3: 87:[92, 177] Operation: 91+86=177 Exploring Operation: 92-86=6, Resulting Numbers: [91, 6] Generated Node #0,0,4: 87:[91, 6] Operation: 92-86=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[86, 1], Operations: ['63+29=92', '92-91=1'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,87 unequal: No Solution Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,87 unequal: No Solution Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,87 unequal: No Solution Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[91, 63, 29, 86], Operations: [] Exploring Operation: 63+29=92, Resulting Numbers: [91, 86, 92] Generated Node #0,0: 87:[91, 86, 92] Operation: 63+29=92 Moving to Node #0,0 Current State: 87:[91, 86, 92], Operations: ['63+29=92'] Exploring Operation: 92-91=1, Resulting Numbers: [86, 1] Generated Node #0,0,1: 87:[86, 1] Operation: 92-91=1 Moving to Node #0,0,1 Current State: 87:[86, 1], Operations: ['63+29=92', '92-91=1'] Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_5
mult_heuristic
[ 58, 66, 2, 70 ]
90
[ "70-58=12", "2*12=24", "66+24=90" ]
Current State: 90:[58, 66, 2, 70], Operations: [] Exploring Operation: 70-58=12, Resulting Numbers: [66, 2, 12] Generated Node #2: [66, 2, 12] from Operation: 70-58=12 Current State: 90:[66, 2, 12], Operations: ['70-58=12'] Exploring Operation: 2*12=24, Resulting Numbers: [66, 24] Generated Node #3: [66, 24] from Operation: 2*12=24 Current State: 90:[66, 24], Operations: ['70-58=12', '2*12=24'] Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[58, 66, 2, 70], Operations: [] Exploring Operation: 70-58=12, Resulting Numbers: [66, 2, 12] Generated Node #0,0: 90:[66, 2, 12] Operation: 70-58=12 Exploring Operation: 70-66=4, Resulting Numbers: [58, 2, 4] Generated Node #0,1: 90:[58, 2, 4] Operation: 70-66=4 Exploring Operation: 66-58=8, Resulting Numbers: [2, 70, 8] Generated Node #0,2: 90:[2, 70, 8] Operation: 66-58=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[58, 2, 4], Operations: ['70-66=4'] Exploring Operation: 58-2=56, Resulting Numbers: [4, 56] Generated Node #0,1,0: 90:[4, 56] Operation: 58-2=56 Exploring Operation: 58/2=29, Resulting Numbers: [4, 29] Generated Node #0,1,1: 90:[4, 29] Operation: 58/2=29 Exploring Operation: 58-4=54, Resulting Numbers: [2, 54] Generated Node #0,1,2: 90:[2, 54] Operation: 58-4=54 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 90:[4, 29], Operations: ['70-66=4', '58/2=29'] Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,90 unequal: No Solution Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,90 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,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, 54], Operations: ['70-66=4', '58-4=54'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,90 unequal: No Solution Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,90 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 90:[4, 56], Operations: ['70-66=4', '58-2=56'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,90 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[2, 70, 8], Operations: ['66-58=8'] Exploring Operation: 70-8=62, Resulting Numbers: [2, 62] Generated Node #0,2,0: 90:[2, 62] Operation: 70-8=62 Exploring Operation: 70/2=35, Resulting Numbers: [8, 35] Generated Node #0,2,1: 90:[8, 35] Operation: 70/2=35 Exploring Operation: 70+8=78, Resulting Numbers: [2, 78] Generated Node #0,2,2: 90:[2, 78] Operation: 70+8=78 Moving to Node #0,2,1 Current State: 90:[8, 35], Operations: ['66-58=8', '70/2=35'] Exploring Operation: 8*35=280, Resulting Numbers: [280] 280,90 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,90 unequal: No Solution Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[2, 78], Operations: ['66-58=8', '70+8=78'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,90 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,90 unequal: No Solution Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[2, 62], Operations: ['66-58=8', '70-8=62'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,90 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,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,0 Current State: 90:[66, 2, 12], Operations: ['70-58=12'] Exploring Operation: 66-12=54, Resulting Numbers: [2, 54] Generated Node #0,0,0: 90:[2, 54] Operation: 66-12=54 Exploring Operation: 66+12=78, Resulting Numbers: [2, 78] Generated Node #0,0,1: 90:[2, 78] Operation: 66+12=78 Exploring Operation: 66/2=33, Resulting Numbers: [12, 33] Generated Node #0,0,2: 90:[12, 33] Operation: 66/2=33 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 90:[12, 33], Operations: ['70-58=12', '66/2=33'] Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,90 unequal: No Solution Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,90 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[2, 54], Operations: ['70-58=12', '66-12=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,90 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,90 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 90:[2, 78], Operations: ['70-58=12', '66+12=78'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,90 unequal: No Solution Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,90 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,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
[ 34, 90, 9, 59 ]
83
[ "34+59=93", "90/9=10", "93-10=83" ]
Current State: 83:[34, 90, 9, 59], Operations: [] Exploring Operation: 34+59=93, Resulting Numbers: [90, 9, 93] Generated Node #2: [90, 9, 93] from Operation: 34+59=93 Current State: 83:[90, 9, 93], Operations: ['34+59=93'] Exploring Operation: 90/9=10, Resulting Numbers: [93, 10] Generated Node #3: [93, 10] from Operation: 90/9=10 Current State: 83:[93, 10], Operations: ['34+59=93', '90/9=10'] Exploring Operation: 93-10=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[34, 90, 9, 59], Operations: [] Exploring Operation: 34+9=43, Resulting Numbers: [90, 59, 43] Generated Node #0,0: 83:[90, 59, 43] Operation: 34+9=43 Exploring Operation: 9+59=68, Resulting Numbers: [34, 90, 68] Generated Node #0,1: 83:[34, 90, 68] Operation: 9+59=68 Moving to Node #0,0 Current State: 83:[90, 59, 43], Operations: ['34+9=43'] Exploring Operation: 59+43=102, Resulting Numbers: [90, 102] Generated Node #0,0,0: 83:[90, 102] Operation: 59+43=102 Exploring Operation: 90-43=47, Resulting Numbers: [59, 47] Generated Node #0,0,1: 83:[59, 47] Operation: 90-43=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[90, 102], Operations: ['34+9=43', '59+43=102'] Exploring Operation: 102-90=12, Resulting Numbers: [12] 12,83 unequal: No Solution Exploring Operation: 90+102=192, Resulting Numbers: [192] 192,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[59, 47], Operations: ['34+9=43', '90-43=47'] Exploring Operation: 59-47=12, Resulting Numbers: [12] 12,83 unequal: No Solution Exploring Operation: 59+47=106, Resulting Numbers: [106] 106,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 83:[34, 90, 68], Operations: ['9+59=68'] Exploring Operation: 90-34=56, Resulting Numbers: [68, 56] Generated Node #0,1,0: 83:[68, 56] Operation: 90-34=56 Exploring Operation: 34+68=102, Resulting Numbers: [90, 102] Generated Node #0,1,1: 83:[90, 102] Operation: 34+68=102 Moving to Node #0,1,1 Current State: 83:[90, 102], Operations: ['9+59=68', '34+68=102'] Exploring Operation: 90+102=192, Resulting Numbers: [192] 192,83 unequal: No Solution Exploring Operation: 102-90=12, Resulting Numbers: [12] 12,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[68, 56], Operations: ['9+59=68', '90-34=56'] Exploring Operation: 68+56=124, Resulting Numbers: [124] 124,83 unequal: No Solution Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,83 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 97, 11, 3, 89 ]
41
[ "97-89=8", "11*3=33", "8+33=41" ]
Current State: 41:[97, 11, 3, 89], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [11, 3, 8] Generated Node #2: [11, 3, 8] from Operation: 97-89=8 Current State: 41:[11, 3, 8], Operations: ['97-89=8'] Exploring Operation: 11*3=33, Resulting Numbers: [8, 33] Generated Node #3: [8, 33] from Operation: 11*3=33 Current State: 41:[8, 33], Operations: ['97-89=8', '11*3=33'] Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[97, 11, 3, 89], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [11, 3, 8] Generated Node #0,0: 41:[11, 3, 8] Operation: 97-89=8 Exploring Operation: 97-3=94, Resulting Numbers: [11, 89, 94] Generated Node #0,1: 41:[11, 89, 94] Operation: 97-3=94 Exploring Operation: 11*3=33, Resulting Numbers: [97, 89, 33] Generated Node #0,2: 41:[97, 89, 33] Operation: 11*3=33 Exploring Operation: 97-11=86, Resulting Numbers: [3, 89, 86] Generated Node #0,3: 41:[3, 89, 86] Operation: 97-11=86 Moving to Node #0,0 Current State: 41:[11, 3, 8], Operations: ['97-89=8'] Exploring Operation: 3*8=24, Resulting Numbers: [11, 24] Generated Node #0,0,0: 41:[11, 24] Operation: 3*8=24 Exploring Operation: 11*3=33, Resulting Numbers: [8, 33] Generated Node #0,0,1: 41:[8, 33] Operation: 11*3=33 Exploring Operation: 11+8=19, Resulting Numbers: [3, 19] Generated Node #0,0,2: 41:[3, 19] Operation: 11+8=19 Exploring Operation: 11+3=14, Resulting Numbers: [8, 14] Generated Node #0,0,3: 41:[8, 14] Operation: 11+3=14 Moving to Node #0,2 Current State: 41:[97, 89, 33], Operations: ['11*3=33'] Exploring Operation: 89-33=56, Resulting Numbers: [97, 56] Generated Node #0,2,0: 41:[97, 56] Operation: 89-33=56 Exploring Operation: 97-33=64, Resulting Numbers: [89, 64] Generated Node #0,2,1: 41:[89, 64] Operation: 97-33=64 Exploring Operation: 97-89=8, Resulting Numbers: [33, 8] Generated Node #0,2,2: 41:[33, 8] Operation: 97-89=8 Exploring Operation: 97+33=130, Resulting Numbers: [89, 130] Generated Node #0,2,3: 41:[89, 130] Operation: 97+33=130 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[33, 8], Operations: ['11*3=33', '97-89=8'] Exploring Operation: 33*8=264, Resulting Numbers: [264] 264,41 unequal: No Solution Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[97, 11, 3, 89], Operations: [] Exploring Operation: 11*3=33, Resulting Numbers: [97, 89, 33] Generated Node #0,2: 41:[97, 89, 33] Operation: 11*3=33 Moving to Node #0,2 Current State: 41:[97, 89, 33], Operations: ['11*3=33'] Exploring Operation: 97-89=8, Resulting Numbers: [33, 8] Generated Node #0,2,2: 41:[33, 8] Operation: 97-89=8 Moving to Node #0,2,2 Current State: 41:[33, 8], Operations: ['11*3=33', '97-89=8'] Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 47, 1, 20, 11 ]
55
[ "47-1=46", "20-11=9", "46+9=55" ]
Current State: 55:[47, 1, 20, 11], Operations: [] Exploring Operation: 47-1=46, Resulting Numbers: [20, 11, 46] Generated Node #2: [20, 11, 46] from Operation: 47-1=46 Current State: 55:[20, 11, 46], Operations: ['47-1=46'] Exploring Operation: 20-11=9, Resulting Numbers: [46, 9] Generated Node #3: [46, 9] from Operation: 20-11=9 Current State: 55:[46, 9], Operations: ['47-1=46', '20-11=9'] Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[47, 1, 20, 11], Operations: [] Exploring Operation: 47+11=58, Resulting Numbers: [1, 20, 58] Generated Node #0,0: 55:[1, 20, 58] Operation: 47+11=58 Exploring Operation: 20-1=19, Resulting Numbers: [47, 11, 19] Generated Node #0,1: 55:[47, 11, 19] Operation: 20-1=19 Exploring Operation: 47+20=67, Resulting Numbers: [1, 11, 67] Generated Node #0,2: 55:[1, 11, 67] Operation: 47+20=67 Exploring Operation: 20-11=9, Resulting Numbers: [47, 1, 9] Generated Node #0,3: 55:[47, 1, 9] Operation: 20-11=9 Exploring Operation: 47+1=48, Resulting Numbers: [20, 11, 48] Generated Node #0,4: 55:[20, 11, 48] Operation: 47+1=48 Moving to Node #0,3 Current State: 55:[47, 1, 9], Operations: ['20-11=9'] Exploring Operation: 1+9=10, Resulting Numbers: [47, 10] Generated Node #0,3,0: 55:[47, 10] Operation: 1+9=10 Exploring Operation: 47*1=47, Resulting Numbers: [9, 47] Generated Node #0,3,1: 55:[9, 47] Operation: 47*1=47 Exploring Operation: 47+1=48, Resulting Numbers: [9, 48] Generated Node #0,3,2: 55:[9, 48] Operation: 47+1=48 Exploring Operation: 47+9=56, Resulting Numbers: [1, 56] Generated Node #0,3,3: 55:[1, 56] Operation: 47+9=56 Exploring Operation: 47/1=47, Resulting Numbers: [9, 47] Generated Node #0,3,4: 55:[9, 47] Operation: 47/1=47 Moving to Node #0,1 Current State: 55:[47, 11, 19], Operations: ['20-1=19'] Exploring Operation: 47-19=28, Resulting Numbers: [11, 28] Generated Node #0,1,0: 55:[11, 28] Operation: 47-19=28 Exploring Operation: 47+11=58, Resulting Numbers: [19, 58] Generated Node #0,1,1: 55:[19, 58] Operation: 47+11=58 Exploring Operation: 47-11=36, Resulting Numbers: [19, 36] Generated Node #0,1,2: 55:[19, 36] Operation: 47-11=36 Exploring Operation: 47+19=66, Resulting Numbers: [11, 66] Generated Node #0,1,3: 55:[11, 66] Operation: 47+19=66 Exploring Operation: 19-11=8, Resulting Numbers: [47, 8] Generated Node #0,1,4: 55:[47, 8] Operation: 19-11=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[19, 58], Operations: ['20-1=19', '47+11=58'] Exploring Operation: 19*58=1102, Resulting Numbers: [1102] 1102,55 unequal: No Solution Exploring Operation: 19+58=77, Resulting Numbers: [77] 77,55 unequal: No Solution Exploring Operation: 58-19=39, Resulting Numbers: [39] 39,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 55:[11, 66], Operations: ['20-1=19', '47+19=66'] Exploring Operation: 11+66=77, Resulting Numbers: [77] 77,55 unequal: No Solution Exploring Operation: 11*66=726, Resulting Numbers: [726] 726,55 unequal: No Solution Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[47, 1, 20, 11], Operations: [] Exploring Operation: 20-1=19, Resulting Numbers: [47, 11, 19] Generated Node #0,1: 55:[47, 11, 19] Operation: 20-1=19 Moving to Node #0,1 Current State: 55:[47, 11, 19], Operations: ['20-1=19'] Exploring Operation: 47+19=66, Resulting Numbers: [11, 66] Generated Node #0,1,3: 55:[11, 66] Operation: 47+19=66 Moving to Node #0,1,3 Current State: 55:[11, 66], Operations: ['20-1=19', '47+19=66'] Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 4, 44, 20, 22 ]
31
[ "44/4=11", "20+22=42", "42-11=31" ]
Current State: 31:[4, 44, 20, 22], Operations: [] Exploring Operation: 44/4=11, Resulting Numbers: [20, 22, 11] Generated Node #2: [20, 22, 11] from Operation: 44/4=11 Current State: 31:[20, 22, 11], Operations: ['44/4=11'] Exploring Operation: 20+22=42, Resulting Numbers: [11, 42] Generated Node #3: [11, 42] from Operation: 20+22=42 Current State: 31:[11, 42], Operations: ['44/4=11', '20+22=42'] Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[4, 44, 20, 22], Operations: [] Exploring Operation: 4+20=24, Resulting Numbers: [44, 22, 24] Generated Node #0,0: 31:[44, 22, 24] Operation: 4+20=24 Exploring Operation: 4+22=26, Resulting Numbers: [44, 20, 26] Generated Node #0,1: 31:[44, 20, 26] Operation: 4+22=26 Exploring Operation: 44-4=40, Resulting Numbers: [20, 22, 40] Generated Node #0,2: 31:[20, 22, 40] Operation: 44-4=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[44, 22, 24], Operations: ['4+20=24'] Exploring Operation: 44-24=20, Resulting Numbers: [22, 20] Generated Node #0,0,0: 31:[22, 20] Operation: 44-24=20 Exploring Operation: 22+24=46, Resulting Numbers: [44, 46] Generated Node #0,0,1: 31:[44, 46] Operation: 22+24=46 Exploring Operation: 44-22=22, Resulting Numbers: [24, 22] Generated Node #0,0,2: 31:[24, 22] Operation: 44-22=22 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 31:[24, 22], Operations: ['4+20=24', '44-22=22'] Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 24*22=528, Resulting Numbers: [528] 528,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:[22, 20], Operations: ['4+20=24', '44-24=20'] Exploring Operation: 22*20=440, Resulting Numbers: [440] 440,31 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,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,1 Current State: 31:[44, 46], Operations: ['4+20=24', '22+24=46'] Exploring Operation: 44*46=2024, Resulting Numbers: [2024] 2024,31 unequal: No Solution Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,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:[44, 20, 26], Operations: ['4+22=26'] Exploring Operation: 20+26=46, Resulting Numbers: [44, 46] Generated Node #0,1,0: 31:[44, 46] Operation: 20+26=46 Exploring Operation: 44-26=18, Resulting Numbers: [20, 18] Generated Node #0,1,1: 31:[20, 18] Operation: 44-26=18 Exploring Operation: 44-20=24, Resulting Numbers: [26, 24] Generated Node #0,1,2: 31:[26, 24] Operation: 44-20=24 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 31:[26, 24], Operations: ['4+22=26', '44-20=24'] Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,31 unequal: No Solution Exploring Operation: 26*24=624, Resulting Numbers: [624] 624,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[20, 18], Operations: ['4+22=26', '44-26=18'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[44, 46], Operations: ['4+22=26', '20+26=46'] Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 44*46=2024, Resulting Numbers: [2024] 2024,31 unequal: No Solution Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,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,2 Current State: 31:[20, 22, 40], Operations: ['44-4=40'] Exploring Operation: 40-22=18, Resulting Numbers: [20, 18] Generated Node #0,2,0: 31:[20, 18] Operation: 40-22=18 Exploring Operation: 40-20=20, Resulting Numbers: [22, 20] Generated Node #0,2,1: 31:[22, 20] Operation: 40-20=20 Exploring Operation: 20+22=42, Resulting Numbers: [40, 42] Generated Node #0,2,2: 31:[40, 42] Operation: 20+22=42 Moving to Node #0,2,1 Current State: 31:[22, 20], Operations: ['44-4=40', '40-20=20'] Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,31 unequal: No Solution Exploring Operation: 22*20=440, Resulting Numbers: [440] 440,31 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[40, 42], Operations: ['44-4=40', '20+22=42'] Exploring Operation: 40+42=82, Resulting Numbers: [82] 82,31 unequal: No Solution Exploring Operation: 40*42=1680, Resulting Numbers: [1680] 1680,31 unequal: No Solution Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[20, 18], Operations: ['44-4=40', '40-22=18'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,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
mult_heuristic
[ 22, 25, 32, 43 ]
50
[ "22*25=550", "43-32=11", "550/11=50" ]
Current State: 50:[22, 25, 32, 43], Operations: [] Exploring Operation: 22*25=550, Resulting Numbers: [32, 43, 550] Generated Node #2: [32, 43, 550] from Operation: 22*25=550 Current State: 50:[32, 43, 550], Operations: ['22*25=550'] Exploring Operation: 43-32=11, Resulting Numbers: [550, 11] Generated Node #3: [550, 11] from Operation: 43-32=11 Current State: 50:[550, 11], Operations: ['22*25=550', '43-32=11'] Exploring Operation: 550/11=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[22, 25, 32, 43], Operations: [] Exploring Operation: 32-25=7, Resulting Numbers: [22, 43, 7] Generated Node #0,0: 50:[22, 43, 7] Operation: 32-25=7 Exploring Operation: 22+32=54, Resulting Numbers: [25, 43, 54] Generated Node #0,1: 50:[25, 43, 54] Operation: 22+32=54 Exploring Operation: 32-22=10, Resulting Numbers: [25, 43, 10] Generated Node #0,2: 50:[25, 43, 10] Operation: 32-22=10 Exploring Operation: 43-32=11, Resulting Numbers: [22, 25, 11] Generated Node #0,3: 50:[22, 25, 11] Operation: 43-32=11 Exploring Operation: 43-22=21, Resulting Numbers: [25, 32, 21] Generated Node #0,4: 50:[25, 32, 21] Operation: 43-22=21 Start Sub Search at level 1: Moving to Node #0,3 Current State: 50:[22, 25, 11], Operations: ['43-32=11'] Exploring Operation: 22/11=2, Resulting Numbers: [25, 2] Generated Node #0,3,0: 50:[25, 2] Operation: 22/11=2 Exploring Operation: 25-22=3, Resulting Numbers: [11, 3] Generated Node #0,3,1: 50:[11, 3] Operation: 25-22=3 Exploring Operation: 22+25=47, Resulting Numbers: [11, 47] Generated Node #0,3,2: 50:[11, 47] Operation: 22+25=47 Exploring Operation: 22-11=11, Resulting Numbers: [25, 11] Generated Node #0,3,3: 50:[25, 11] Operation: 22-11=11 Exploring Operation: 25-11=14, Resulting Numbers: [22, 14] Generated Node #0,3,4: 50:[22, 14] Operation: 25-11=14 Moving to Node #0,3,0 Current State: 50:[25, 2], Operations: ['43-32=11', '22/11=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,50 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[22, 25, 32, 43], Operations: [] Exploring Operation: 43-32=11, Resulting Numbers: [22, 25, 11] Generated Node #0,3: 50:[22, 25, 11] Operation: 43-32=11 Moving to Node #0,3 Current State: 50:[22, 25, 11], Operations: ['43-32=11'] Exploring Operation: 22/11=2, Resulting Numbers: [25, 2] Generated Node #0,3,0: 50:[25, 2] Operation: 22/11=2 Moving to Node #0,3,0 Current State: 50:[25, 2], Operations: ['43-32=11', '22/11=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 81, 37, 72, 89 ]
61
[ "81-37=44", "89-72=17", "44+17=61" ]
Current State: 61:[81, 37, 72, 89], Operations: [] Exploring Operation: 81-37=44, Resulting Numbers: [72, 89, 44] Generated Node #2: [72, 89, 44] from Operation: 81-37=44 Current State: 61:[72, 89, 44], Operations: ['81-37=44'] Exploring Operation: 89-72=17, Resulting Numbers: [44, 17] Generated Node #3: [44, 17] from Operation: 89-72=17 Current State: 61:[44, 17], Operations: ['81-37=44', '89-72=17'] Exploring Operation: 44+17=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[81, 37, 72, 89], Operations: [] Exploring Operation: 89-37=52, Resulting Numbers: [81, 72, 52] Generated Node #0,0: 61:[81, 72, 52] Operation: 89-37=52 Exploring Operation: 81-37=44, Resulting Numbers: [72, 89, 44] Generated Node #0,1: 61:[72, 89, 44] Operation: 81-37=44 Moving to Node #0,0 Current State: 61:[81, 72, 52], Operations: ['89-37=52'] Exploring Operation: 81-52=29, Resulting Numbers: [72, 29] Generated Node #0,0,0: 61:[72, 29] Operation: 81-52=29 Exploring Operation: 81-72=9, Resulting Numbers: [52, 9] Generated Node #0,0,1: 61:[52, 9] Operation: 81-72=9 Moving to Node #0,1 Current State: 61:[72, 89, 44], Operations: ['81-37=44'] Exploring Operation: 89-72=17, Resulting Numbers: [44, 17] Generated Node #0,1,0: 61:[44, 17] Operation: 89-72=17 Exploring Operation: 89-44=45, Resulting Numbers: [72, 45] Generated Node #0,1,1: 61:[72, 45] Operation: 89-44=45 Moving to Node #0,1,1 Current State: 61:[72, 45], Operations: ['81-37=44', '89-44=45'] Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 72+45=117, Resulting Numbers: [117] 117,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[72, 29], Operations: ['89-37=52', '81-52=29'] Exploring Operation: 72+29=101, Resulting Numbers: [101] 101,61 unequal: No Solution Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[52, 9], Operations: ['89-37=52', '81-72=9'] Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,61 unequal: No Solution Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[81, 37, 72, 89], Operations: [] Exploring Operation: 89-37=52, Resulting Numbers: [81, 72, 52] Generated Node #0,0: 61:[81, 72, 52] Operation: 89-37=52 Moving to Node #0,0 Current State: 61:[81, 72, 52], Operations: ['89-37=52'] Exploring Operation: 81-72=9, Resulting Numbers: [52, 9] Generated Node #0,0,1: 61:[52, 9] Operation: 81-72=9 Moving to Node #0,0,1 Current State: 61:[52, 9], Operations: ['89-37=52', '81-72=9'] Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 92, 19, 4, 29 ]
35
[ "92+19=111", "29+111=140", "140/4=35" ]
Current State: 35:[92, 19, 4, 29], Operations: [] Exploring Operation: 92+19=111, Resulting Numbers: [4, 29, 111] Generated Node #2: [4, 29, 111] from Operation: 92+19=111 Current State: 35:[4, 29, 111], Operations: ['92+19=111'] Exploring Operation: 29+111=140, Resulting Numbers: [4, 140] Generated Node #3: [4, 140] from Operation: 29+111=140 Current State: 35:[4, 140], Operations: ['92+19=111', '29+111=140'] Exploring Operation: 140/4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[92, 19, 4, 29], Operations: [] Exploring Operation: 92/4=23, Resulting Numbers: [19, 29, 23] Generated Node #0,0: 35:[19, 29, 23] Operation: 92/4=23 Exploring Operation: 92-29=63, Resulting Numbers: [19, 4, 63] Generated Node #0,1: 35:[19, 4, 63] Operation: 92-29=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[19, 29, 23], Operations: ['92/4=23'] Exploring Operation: 23-19=4, Resulting Numbers: [29, 4] Generated Node #0,0,0: 35:[29, 4] Operation: 23-19=4 Exploring Operation: 19+23=42, Resulting Numbers: [29, 42] Generated Node #0,0,1: 35:[29, 42] Operation: 19+23=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[29, 4], Operations: ['92/4=23', '23-19=4'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,35 unequal: No Solution Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,35 unequal: No Solution No 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: 35:[29, 42], Operations: ['92/4=23', '19+23=42'] Exploring Operation: 29+42=71, Resulting Numbers: [71] 71,35 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,35 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: 35:[19, 4, 63], Operations: ['92-29=63'] Exploring Operation: 19-4=15, Resulting Numbers: [63, 15] Generated Node #0,1,0: 35:[63, 15] Operation: 19-4=15 Exploring Operation: 63-19=44, Resulting Numbers: [4, 44] Generated Node #0,1,1: 35:[4, 44] Operation: 63-19=44 Moving to Node #0,1,1 Current State: 35:[4, 44], Operations: ['92-29=63', '63-19=44'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,35 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[63, 15], Operations: ['92-29=63', '19-4=15'] Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,35 unequal: No Solution Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,35 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
[ 37, 8, 86, 15 ]
71
[ "86-37=49", "8*15=120", "120-49=71" ]
Current State: 71:[37, 8, 86, 15], Operations: [] Exploring Operation: 86-37=49, Resulting Numbers: [8, 15, 49] Generated Node #2: [8, 15, 49] from Operation: 86-37=49 Current State: 71:[8, 15, 49], Operations: ['86-37=49'] Exploring Operation: 8*15=120, Resulting Numbers: [49, 120] Generated Node #3: [49, 120] from Operation: 8*15=120 Current State: 71:[49, 120], Operations: ['86-37=49', '8*15=120'] Exploring Operation: 120-49=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[37, 8, 86, 15], Operations: [] Exploring Operation: 37+8=45, Resulting Numbers: [86, 15, 45] Generated Node #0,0: 71:[86, 15, 45] Operation: 37+8=45 Moving to Node #0,0 Current State: 71:[86, 15, 45], Operations: ['37+8=45'] Exploring Operation: 86-15=71, Resulting Numbers: [45, 71] Generated Node #0,0,0: 71:[45, 71] Operation: 86-15=71 Moving to Node #0,0,0 Current State: 71:[45, 71], Operations: ['37+8=45', '86-15=71'] Exploring Operation: 45+71=116, Resulting Numbers: [116] 116,71 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 7, 27, 2, 72 ]
11
[ "7+2=9", "27+72=99", "99/9=11" ]
Current State: 11:[7, 27, 2, 72], Operations: [] Exploring Operation: 7+2=9, Resulting Numbers: [27, 72, 9] Generated Node #2: [27, 72, 9] from Operation: 7+2=9 Current State: 11:[27, 72, 9], Operations: ['7+2=9'] Exploring Operation: 27+72=99, Resulting Numbers: [9, 99] Generated Node #3: [9, 99] from Operation: 27+72=99 Current State: 11:[9, 99], Operations: ['7+2=9', '27+72=99'] Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[7, 27, 2, 72], Operations: [] Exploring Operation: 72/2=36, Resulting Numbers: [7, 27, 36] Generated Node #0,0: 11:[7, 27, 36] Operation: 72/2=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[7, 27, 36], Operations: ['72/2=36'] Exploring Operation: 36-27=9, Resulting Numbers: [7, 9] Generated Node #0,0,0: 11:[7, 9] Operation: 36-27=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[7, 9], Operations: ['72/2=36', '36-27=9'] Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 64, 70, 48, 43 ]
50
[ "48-43=5", "70/5=14", "64-14=50" ]
Current State: 50:[64, 70, 48, 43], Operations: [] Exploring Operation: 48-43=5, Resulting Numbers: [64, 70, 5] Generated Node #2: [64, 70, 5] from Operation: 48-43=5 Current State: 50:[64, 70, 5], Operations: ['48-43=5'] Exploring Operation: 70/5=14, Resulting Numbers: [64, 14] Generated Node #3: [64, 14] from Operation: 70/5=14 Current State: 50:[64, 14], Operations: ['48-43=5', '70/5=14'] Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[64, 70, 48, 43], Operations: [] Exploring Operation: 70-64=6, Resulting Numbers: [48, 43, 6] Generated Node #0,0: 50:[48, 43, 6] Operation: 70-64=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[48, 43, 6], Operations: ['70-64=6'] Exploring Operation: 48-43=5, Resulting Numbers: [6, 5] Generated Node #0,0,0: 50:[6, 5] Operation: 48-43=5 Moving to Node #0,0,0 Current State: 50:[6, 5], Operations: ['70-64=6', '48-43=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,50 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
[ 16, 74, 37, 39 ]
25
[ "39-16=23", "74/37=2", "23+2=25" ]
Current State: 25:[16, 74, 37, 39], Operations: [] Exploring Operation: 39-16=23, Resulting Numbers: [74, 37, 23] Generated Node #2: [74, 37, 23] from Operation: 39-16=23 Current State: 25:[74, 37, 23], Operations: ['39-16=23'] Exploring Operation: 74/37=2, Resulting Numbers: [23, 2] Generated Node #3: [23, 2] from Operation: 74/37=2 Current State: 25:[23, 2], Operations: ['39-16=23', '74/37=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[16, 74, 37, 39], Operations: [] Exploring Operation: 74-37=37, Resulting Numbers: [16, 39, 37] Generated Node #0,0: 25:[16, 39, 37] Operation: 74-37=37 Exploring Operation: 39-37=2, Resulting Numbers: [16, 74, 2] Generated Node #0,1: 25:[16, 74, 2] Operation: 39-37=2 Exploring Operation: 74/37=2, Resulting Numbers: [16, 39, 2] Generated Node #0,2: 25:[16, 39, 2] Operation: 74/37=2 Exploring Operation: 74-16=58, Resulting Numbers: [37, 39, 58] Generated Node #0,3: 25:[37, 39, 58] Operation: 74-16=58 Exploring Operation: 74-39=35, Resulting Numbers: [16, 37, 35] Generated Node #0,4: 25:[16, 37, 35] Operation: 74-39=35 Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[16, 39, 2], Operations: ['74/37=2'] Exploring Operation: 16*2=32, Resulting Numbers: [39, 32] Generated Node #0,2,0: 25:[39, 32] Operation: 16*2=32 Exploring Operation: 16+2=18, Resulting Numbers: [39, 18] Generated Node #0,2,1: 25:[39, 18] Operation: 16+2=18 Exploring Operation: 39-2=37, Resulting Numbers: [16, 37] Generated Node #0,2,2: 25:[16, 37] Operation: 39-2=37 Exploring Operation: 39-16=23, Resulting Numbers: [2, 23] Generated Node #0,2,3: 25:[2, 23] Operation: 39-16=23 Exploring Operation: 16/2=8, Resulting Numbers: [39, 8] Generated Node #0,2,4: 25:[39, 8] Operation: 16/2=8 Moving to Node #0,2,3 Current State: 25:[2, 23], Operations: ['74/37=2', '39-16=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,25 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[16, 74, 37, 39], Operations: [] Exploring Operation: 74/37=2, Resulting Numbers: [16, 39, 2] Generated Node #0,2: 25:[16, 39, 2] Operation: 74/37=2 Moving to Node #0,2 Current State: 25:[16, 39, 2], Operations: ['74/37=2'] Exploring Operation: 39-16=23, Resulting Numbers: [2, 23] Generated Node #0,2,3: 25:[2, 23] Operation: 39-16=23 Moving to Node #0,2,3 Current State: 25:[2, 23], Operations: ['74/37=2', '39-16=23'] Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 75, 44, 10, 75 ]
59
[ "75+75=150", "150/10=15", "44+15=59" ]
Current State: 59:[75, 44, 10, 75], Operations: [] Exploring Operation: 75+75=150, Resulting Numbers: [44, 10, 150] Generated Node #2: [44, 10, 150] from Operation: 75+75=150 Current State: 59:[44, 10, 150], Operations: ['75+75=150'] Exploring Operation: 150/10=15, Resulting Numbers: [44, 15] Generated Node #3: [44, 15] from Operation: 150/10=15 Current State: 59:[44, 15], Operations: ['75+75=150', '150/10=15'] Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[75, 44, 10, 75], Operations: [] Exploring Operation: 44+10=54, Resulting Numbers: [75, 75, 54] Generated Node #0,0: 59:[75, 75, 54] Operation: 44+10=54 Exploring Operation: 75-10=65, Resulting Numbers: [44, 75, 65] Generated Node #0,1: 59:[44, 75, 65] Operation: 75-10=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[75, 75, 54], Operations: ['44+10=54'] Exploring Operation: 75-54=21, Resulting Numbers: [75, 21] Generated Node #0,0,0: 59:[75, 21] Operation: 75-54=21 Exploring Operation: 75-54=21, Resulting Numbers: [75, 21] Generated Node #0,0,1: 59:[75, 21] Operation: 75-54=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[75, 21], Operations: ['44+10=54', '75-54=21'] Exploring Operation: 75-21=54, Resulting Numbers: [54] 54,59 unequal: No Solution Exploring Operation: 75+21=96, Resulting Numbers: [96] 96,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[75, 21], Operations: ['44+10=54', '75-54=21'] Exploring Operation: 75-21=54, Resulting Numbers: [54] 54,59 unequal: No Solution Exploring Operation: 75+21=96, Resulting Numbers: [96] 96,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[44, 75, 65], Operations: ['75-10=65'] Exploring Operation: 75-44=31, Resulting Numbers: [65, 31] Generated Node #0,1,0: 59:[65, 31] Operation: 75-44=31 Exploring Operation: 65-44=21, Resulting Numbers: [75, 21] Generated Node #0,1,1: 59:[75, 21] Operation: 65-44=21 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[65, 31], Operations: ['75-10=65', '75-44=31'] Exploring Operation: 65+31=96, Resulting Numbers: [96] 96,59 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[75, 21], Operations: ['75-10=65', '65-44=21'] Exploring Operation: 75-21=54, Resulting Numbers: [54] 54,59 unequal: No Solution Exploring Operation: 75+21=96, Resulting Numbers: [96] 96,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 80, 6, 36, 24 ]
64
[ "80*24=1920", "36-6=30", "1920/30=64" ]
Current State: 64:[80, 6, 36, 24], Operations: [] Exploring Operation: 80*24=1920, Resulting Numbers: [6, 36, 1920] Generated Node #2: [6, 36, 1920] from Operation: 80*24=1920 Current State: 64:[6, 36, 1920], Operations: ['80*24=1920'] Exploring Operation: 36-6=30, Resulting Numbers: [1920, 30] Generated Node #3: [1920, 30] from Operation: 36-6=30 Current State: 64:[1920, 30], Operations: ['80*24=1920', '36-6=30'] Exploring Operation: 1920/30=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[80, 6, 36, 24], Operations: [] Exploring Operation: 24/6=4, Resulting Numbers: [80, 36, 4] Generated Node #0,0: 64:[80, 36, 4] Operation: 24/6=4 Exploring Operation: 80-24=56, Resulting Numbers: [6, 36, 56] Generated Node #0,1: 64:[6, 36, 56] Operation: 80-24=56 Moving to Node #0,1 Current State: 64:[6, 36, 56], Operations: ['80-24=56'] Exploring Operation: 6+56=62, Resulting Numbers: [36, 62] Generated Node #0,1,0: 64:[36, 62] Operation: 6+56=62 Exploring Operation: 56-36=20, Resulting Numbers: [6, 20] Generated Node #0,1,1: 64:[6, 20] Operation: 56-36=20 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[36, 62], Operations: ['80-24=56', '6+56=62'] Exploring Operation: 36+62=98, Resulting Numbers: [98] 98,64 unequal: No Solution Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[6, 20], Operations: ['80-24=56', '56-36=20'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 64:[80, 36, 4], Operations: ['24/6=4'] Exploring Operation: 80/4=20, Resulting Numbers: [36, 20] Generated Node #0,0,0: 64:[36, 20] Operation: 80/4=20 Exploring Operation: 80-36=44, Resulting Numbers: [4, 44] Generated Node #0,0,1: 64:[4, 44] Operation: 80-36=44 Moving to Node #0,0,0 Current State: 64:[36, 20], Operations: ['24/6=4', '80/4=20'] Exploring Operation: 36+20=56, Resulting Numbers: [56] 56,64 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[4, 44], Operations: ['24/6=4', '80-36=44'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,64 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 40, 40, 50, 41 ]
71
[ "40+40=80", "50-41=9", "80-9=71" ]
Current State: 71:[40, 40, 50, 41], Operations: [] Exploring Operation: 40+40=80, Resulting Numbers: [50, 41, 80] Generated Node #2: [50, 41, 80] from Operation: 40+40=80 Current State: 71:[50, 41, 80], Operations: ['40+40=80'] Exploring Operation: 50-41=9, Resulting Numbers: [80, 9] Generated Node #3: [80, 9] from Operation: 50-41=9 Current State: 71:[80, 9], Operations: ['40+40=80', '50-41=9'] Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[40, 40, 50, 41], Operations: [] Exploring Operation: 40+50=90, Resulting Numbers: [40, 41, 90] Generated Node #0,0: 71:[40, 41, 90] Operation: 40+50=90 Exploring Operation: 40+40=80, Resulting Numbers: [50, 41, 80] Generated Node #0,1: 71:[50, 41, 80] Operation: 40+40=80 Exploring Operation: 40+41=81, Resulting Numbers: [40, 50, 81] Generated Node #0,2: 71:[40, 50, 81] Operation: 40+41=81 Exploring Operation: 40+41=81, Resulting Numbers: [40, 50, 81] Generated Node #0,3: 71:[40, 50, 81] Operation: 40+41=81 Exploring Operation: 40+50=90, Resulting Numbers: [40, 41, 90] Generated Node #0,4: 71:[40, 41, 90] Operation: 40+50=90 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[50, 41, 80], Operations: ['40+40=80'] Exploring Operation: 80-41=39, Resulting Numbers: [50, 39] Generated Node #0,1,0: 71:[50, 39] Operation: 80-41=39 Exploring Operation: 41+80=121, Resulting Numbers: [50, 121] Generated Node #0,1,1: 71:[50, 121] Operation: 41+80=121 Exploring Operation: 80-50=30, Resulting Numbers: [41, 30] Generated Node #0,1,2: 71:[41, 30] Operation: 80-50=30 Exploring Operation: 50+41=91, Resulting Numbers: [80, 91] Generated Node #0,1,3: 71:[80, 91] Operation: 50+41=91 Exploring Operation: 50-41=9, Resulting Numbers: [80, 9] Generated Node #0,1,4: 71:[80, 9] Operation: 50-41=9 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 71:[80, 91], Operations: ['40+40=80', '50+41=91'] Exploring Operation: 80*91=7280, Resulting Numbers: [7280] 7280,71 unequal: No Solution Exploring Operation: 91-80=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 80+91=171, Resulting Numbers: [171] 171,71 unequal: No Solution No 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: 71:[50, 39], Operations: ['40+40=80', '80-41=39'] Exploring Operation: 50*39=1950, Resulting Numbers: [1950] 1950,71 unequal: No Solution Exploring Operation: 50+39=89, Resulting Numbers: [89] 89,71 unequal: No Solution Exploring Operation: 50-39=11, Resulting Numbers: [11] 11,71 unequal: No Solution No 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: 71:[50, 121], Operations: ['40+40=80', '41+80=121'] Exploring Operation: 50*121=6050, Resulting Numbers: [6050] 6050,71 unequal: No Solution Exploring Operation: 50+121=171, Resulting Numbers: [171] 171,71 unequal: No Solution Exploring Operation: 121-50=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[40, 40, 50, 41], Operations: [] Exploring Operation: 40+40=80, Resulting Numbers: [50, 41, 80] Generated Node #0,1: 71:[50, 41, 80] Operation: 40+40=80 Moving to Node #0,1 Current State: 71:[50, 41, 80], Operations: ['40+40=80'] Exploring Operation: 41+80=121, Resulting Numbers: [50, 121] Generated Node #0,1,1: 71:[50, 121] Operation: 41+80=121 Moving to Node #0,1,1 Current State: 71:[50, 121], Operations: ['40+40=80', '41+80=121'] Exploring Operation: 121-50=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 76, 80, 21, 91 ]
74
[ "80-76=4", "91-21=70", "4+70=74" ]
Current State: 74:[76, 80, 21, 91], Operations: [] Exploring Operation: 80-76=4, Resulting Numbers: [21, 91, 4] Generated Node #2: [21, 91, 4] from Operation: 80-76=4 Current State: 74:[21, 91, 4], Operations: ['80-76=4'] Exploring Operation: 91-21=70, Resulting Numbers: [4, 70] Generated Node #3: [4, 70] from Operation: 91-21=70 Current State: 74:[4, 70], Operations: ['80-76=4', '91-21=70'] Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[76, 80, 21, 91], Operations: [] Exploring Operation: 91-80=11, Resulting Numbers: [76, 21, 11] Generated Node #0,0: 74:[76, 21, 11] Operation: 91-80=11 Exploring Operation: 91-21=70, Resulting Numbers: [76, 80, 70] Generated Node #0,1: 74:[76, 80, 70] Operation: 91-21=70 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[76, 80, 70], Operations: ['91-21=70'] Exploring Operation: 76-70=6, Resulting Numbers: [80, 6] Generated Node #0,1,0: 74:[80, 6] Operation: 76-70=6 Exploring Operation: 80-76=4, Resulting Numbers: [70, 4] Generated Node #0,1,1: 74:[70, 4] Operation: 80-76=4 Moving to Node #0,1,1 Current State: 74:[70, 4], Operations: ['91-21=70', '80-76=4'] Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[76, 80, 21, 91], Operations: [] Exploring Operation: 91-21=70, Resulting Numbers: [76, 80, 70] Generated Node #0,1: 74:[76, 80, 70] Operation: 91-21=70 Moving to Node #0,1 Current State: 74:[76, 80, 70], Operations: ['91-21=70'] Exploring Operation: 80-76=4, Resulting Numbers: [70, 4] Generated Node #0,1,1: 74:[70, 4] Operation: 80-76=4 Moving to Node #0,1,1 Current State: 74:[70, 4], Operations: ['91-21=70', '80-76=4'] Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 7, 46, 43, 77 ]
100
[ "77/7=11", "46+43=89", "11+89=100" ]
Current State: 100:[7, 46, 43, 77], Operations: [] Exploring Operation: 77/7=11, Resulting Numbers: [46, 43, 11] Generated Node #2: [46, 43, 11] from Operation: 77/7=11 Current State: 100:[46, 43, 11], Operations: ['77/7=11'] Exploring Operation: 46+43=89, Resulting Numbers: [11, 89] Generated Node #3: [11, 89] from Operation: 46+43=89 Current State: 100:[11, 89], Operations: ['77/7=11', '46+43=89'] Exploring Operation: 11+89=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[7, 46, 43, 77], Operations: [] Exploring Operation: 77-46=31, Resulting Numbers: [7, 43, 31] Generated Node #0,0: 100:[7, 43, 31] Operation: 77-46=31 Exploring Operation: 77/7=11, Resulting Numbers: [46, 43, 11] Generated Node #0,1: 100:[46, 43, 11] Operation: 77/7=11 Exploring Operation: 77-43=34, Resulting Numbers: [7, 46, 34] Generated Node #0,2: 100:[7, 46, 34] Operation: 77-43=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[46, 43, 11], Operations: ['77/7=11'] Exploring Operation: 43+11=54, Resulting Numbers: [46, 54] Generated Node #0,1,0: 100:[46, 54] Operation: 43+11=54 Exploring Operation: 46-43=3, Resulting Numbers: [11, 3] Generated Node #0,1,1: 100:[11, 3] Operation: 46-43=3 Exploring Operation: 43-11=32, Resulting Numbers: [46, 32] Generated Node #0,1,2: 100:[46, 32] Operation: 43-11=32 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[11, 3], Operations: ['77/7=11', '46-43=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,100 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,100 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,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:[46, 54], Operations: ['77/7=11', '43+11=54'] Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 46*54=2484, Resulting Numbers: [2484] 2484,100 unequal: No Solution Exploring Operation: 46+54=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[7, 46, 43, 77], Operations: [] Exploring Operation: 77/7=11, Resulting Numbers: [46, 43, 11] Generated Node #0,1: 100:[46, 43, 11] Operation: 77/7=11 Moving to Node #0,1 Current State: 100:[46, 43, 11], Operations: ['77/7=11'] Exploring Operation: 43+11=54, Resulting Numbers: [46, 54] Generated Node #0,1,0: 100:[46, 54] Operation: 43+11=54 Moving to Node #0,1,0 Current State: 100:[46, 54], Operations: ['77/7=11', '43+11=54'] Exploring Operation: 46+54=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 69, 53, 56, 75 ]
18
[ "75-69=6", "56-53=3", "6*3=18" ]
Current State: 18:[69, 53, 56, 75], Operations: [] Exploring Operation: 75-69=6, Resulting Numbers: [53, 56, 6] Generated Node #2: [53, 56, 6] from Operation: 75-69=6 Current State: 18:[53, 56, 6], Operations: ['75-69=6'] Exploring Operation: 56-53=3, Resulting Numbers: [6, 3] Generated Node #3: [6, 3] from Operation: 56-53=3 Current State: 18:[6, 3], Operations: ['75-69=6', '56-53=3'] Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[69, 53, 56, 75], Operations: [] Exploring Operation: 75-69=6, Resulting Numbers: [53, 56, 6] Generated Node #0,0: 18:[53, 56, 6] Operation: 75-69=6 Exploring Operation: 75-56=19, Resulting Numbers: [69, 53, 19] Generated Node #0,1: 18:[69, 53, 19] Operation: 75-56=19 Moving to Node #0,0 Current State: 18:[53, 56, 6], Operations: ['75-69=6'] Exploring Operation: 53-6=47, Resulting Numbers: [56, 47] Generated Node #0,0,0: 18:[56, 47] Operation: 53-6=47 Exploring Operation: 56-53=3, Resulting Numbers: [6, 3] Generated Node #0,0,1: 18:[6, 3] Operation: 56-53=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[6, 3], Operations: ['75-69=6', '56-53=3'] Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[69, 53, 56, 75], Operations: [] Exploring Operation: 75-69=6, Resulting Numbers: [53, 56, 6] Generated Node #0,0: 18:[53, 56, 6] Operation: 75-69=6 Moving to Node #0,0 Current State: 18:[53, 56, 6], Operations: ['75-69=6'] Exploring Operation: 56-53=3, Resulting Numbers: [6, 3] Generated Node #0,0,1: 18:[6, 3] Operation: 56-53=3 Moving to Node #0,0,1 Current State: 18:[6, 3], Operations: ['75-69=6', '56-53=3'] Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 21, 77, 30, 83 ]
27
[ "77*30=2310", "2310/21=110", "110-83=27" ]
Current State: 27:[21, 77, 30, 83], Operations: [] Exploring Operation: 77*30=2310, Resulting Numbers: [21, 83, 2310] Generated Node #2: [21, 83, 2310] from Operation: 77*30=2310 Current State: 27:[21, 83, 2310], Operations: ['77*30=2310'] Exploring Operation: 2310/21=110, Resulting Numbers: [83, 110] Generated Node #3: [83, 110] from Operation: 2310/21=110 Current State: 27:[83, 110], Operations: ['77*30=2310', '2310/21=110'] Exploring Operation: 110-83=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[21, 77, 30, 83], Operations: [] Exploring Operation: 83-77=6, Resulting Numbers: [21, 30, 6] Generated Node #0,0: 27:[21, 30, 6] Operation: 83-77=6 Exploring Operation: 77-30=47, Resulting Numbers: [21, 83, 47] Generated Node #0,1: 27:[21, 83, 47] Operation: 77-30=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[21, 30, 6], Operations: ['83-77=6'] Exploring Operation: 30-21=9, Resulting Numbers: [6, 9] Generated Node #0,0,0: 27:[6, 9] Operation: 30-21=9 Exploring Operation: 21+6=27, Resulting Numbers: [30, 27] Generated Node #0,0,1: 27:[30, 27] Operation: 21+6=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[6, 9], Operations: ['83-77=6', '30-21=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,27 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 27:[30, 27], Operations: ['83-77=6', '21+6=27'] Exploring Operation: 30+27=57, Resulting Numbers: [57] 57,27 unequal: No Solution Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[21, 83, 47], Operations: ['77-30=47'] Exploring Operation: 83-21=62, Resulting Numbers: [47, 62] Generated Node #0,1,0: 27:[47, 62] Operation: 83-21=62 Exploring Operation: 83-47=36, Resulting Numbers: [21, 36] Generated Node #0,1,1: 27:[21, 36] Operation: 83-47=36 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 27:[21, 36], Operations: ['77-30=47', '83-47=36'] Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,27 unequal: No Solution Exploring Operation: 21+36=57, Resulting Numbers: [57] 57,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 27:[47, 62], Operations: ['77-30=47', '83-21=62'] Exploring Operation: 47+62=109, Resulting Numbers: [109] 109,27 unequal: No Solution Exploring Operation: 62-47=15, Resulting Numbers: [15] 15,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 55, 70, 27, 75 ]
77
[ "55+70=125", "75-27=48", "125-48=77" ]
Current State: 77:[55, 70, 27, 75], Operations: [] Exploring Operation: 55+70=125, Resulting Numbers: [27, 75, 125] Generated Node #2: [27, 75, 125] from Operation: 55+70=125 Current State: 77:[27, 75, 125], Operations: ['55+70=125'] Exploring Operation: 75-27=48, Resulting Numbers: [125, 48] Generated Node #3: [125, 48] from Operation: 75-27=48 Current State: 77:[125, 48], Operations: ['55+70=125', '75-27=48'] Exploring Operation: 125-48=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[55, 70, 27, 75], Operations: [] Exploring Operation: 55-27=28, Resulting Numbers: [70, 75, 28] Generated Node #0,0: 77:[70, 75, 28] Operation: 55-27=28 Exploring Operation: 75-70=5, Resulting Numbers: [55, 27, 5] Generated Node #0,1: 77:[55, 27, 5] Operation: 75-70=5 Exploring Operation: 70-55=15, Resulting Numbers: [27, 75, 15] Generated Node #0,2: 77:[27, 75, 15] Operation: 70-55=15 Exploring Operation: 55+27=82, Resulting Numbers: [70, 75, 82] Generated Node #0,3: 77:[70, 75, 82] Operation: 55+27=82 Exploring Operation: 75-55=20, Resulting Numbers: [70, 27, 20] Generated Node #0,4: 77:[70, 27, 20] Operation: 75-55=20 Start Sub Search at level 1: Moving to Node #0,3 Current State: 77:[70, 75, 82], Operations: ['55+27=82'] Exploring Operation: 75-70=5, Resulting Numbers: [82, 5] Generated Node #0,3,0: 77:[82, 5] Operation: 75-70=5 Exploring Operation: 70+82=152, Resulting Numbers: [75, 152] Generated Node #0,3,1: 77:[75, 152] Operation: 70+82=152 Exploring Operation: 82-75=7, Resulting Numbers: [70, 7] Generated Node #0,3,2: 77:[70, 7] Operation: 82-75=7 Exploring Operation: 82-70=12, Resulting Numbers: [75, 12] Generated Node #0,3,3: 77:[75, 12] Operation: 82-70=12 Exploring Operation: 70+75=145, Resulting Numbers: [82, 145] Generated Node #0,3,4: 77:[82, 145] Operation: 70+75=145 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 77:[75, 12], Operations: ['55+27=82', '82-70=12'] Exploring Operation: 75+12=87, Resulting Numbers: [87] 87,77 unequal: No Solution Exploring Operation: 75*12=900, Resulting Numbers: [900] 900,77 unequal: No Solution Exploring Operation: 75-12=63, Resulting Numbers: [63] 63,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 77:[82, 5], Operations: ['55+27=82', '75-70=5'] Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[55, 70, 27, 75], Operations: [] Exploring Operation: 55+27=82, Resulting Numbers: [70, 75, 82] Generated Node #0,3: 77:[70, 75, 82] Operation: 55+27=82 Moving to Node #0,3 Current State: 77:[70, 75, 82], Operations: ['55+27=82'] Exploring Operation: 75-70=5, Resulting Numbers: [82, 5] Generated Node #0,3,0: 77:[82, 5] Operation: 75-70=5 Moving to Node #0,3,0 Current State: 77:[82, 5], Operations: ['55+27=82', '75-70=5'] Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 88, 71, 34, 28 ]
50
[ "88*28=2464", "71*34=2414", "2464-2414=50" ]
Current State: 50:[88, 71, 34, 28], Operations: [] Exploring Operation: 88*28=2464, Resulting Numbers: [71, 34, 2464] Generated Node #2: [71, 34, 2464] from Operation: 88*28=2464 Current State: 50:[71, 34, 2464], Operations: ['88*28=2464'] Exploring Operation: 71*34=2414, Resulting Numbers: [2464, 2414] Generated Node #3: [2464, 2414] from Operation: 71*34=2414 Current State: 50:[2464, 2414], Operations: ['88*28=2464', '71*34=2414'] Exploring Operation: 2464-2414=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[88, 71, 34, 28], Operations: [] Exploring Operation: 88-71=17, Resulting Numbers: [34, 28, 17] Generated Node #0,0: 50:[34, 28, 17] Operation: 88-71=17 Moving to Node #0,0 Current State: 50:[34, 28, 17], Operations: ['88-71=17'] Exploring Operation: 34/17=2, Resulting Numbers: [28, 2] Generated Node #0,0,0: 50:[28, 2] Operation: 34/17=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[28, 2], Operations: ['88-71=17', '34/17=2'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,50 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
[ 12, 63, 44, 17 ]
41
[ "63-12=51", "51/17=3", "44-3=41" ]
Current State: 41:[12, 63, 44, 17], Operations: [] Exploring Operation: 63-12=51, Resulting Numbers: [44, 17, 51] Generated Node #2: [44, 17, 51] from Operation: 63-12=51 Current State: 41:[44, 17, 51], Operations: ['63-12=51'] Exploring Operation: 51/17=3, Resulting Numbers: [44, 3] Generated Node #3: [44, 3] from Operation: 51/17=3 Current State: 41:[44, 3], Operations: ['63-12=51', '51/17=3'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[12, 63, 44, 17], Operations: [] Exploring Operation: 63-12=51, Resulting Numbers: [44, 17, 51] Generated Node #0,0: 41:[44, 17, 51] Operation: 63-12=51 Exploring Operation: 12+17=29, Resulting Numbers: [63, 44, 29] Generated Node #0,1: 41:[63, 44, 29] Operation: 12+17=29 Exploring Operation: 63-17=46, Resulting Numbers: [12, 44, 46] Generated Node #0,2: 41:[12, 44, 46] Operation: 63-17=46 Moving to Node #0,0 Current State: 41:[44, 17, 51], Operations: ['63-12=51'] Exploring Operation: 44+17=61, Resulting Numbers: [51, 61] Generated Node #0,0,0: 41:[51, 61] Operation: 44+17=61 Exploring Operation: 44-17=27, Resulting Numbers: [51, 27] Generated Node #0,0,1: 41:[51, 27] Operation: 44-17=27 Exploring Operation: 51-17=34, Resulting Numbers: [44, 34] Generated Node #0,0,2: 41:[44, 34] Operation: 51-17=34 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[44, 34], Operations: ['63-12=51', '51-17=34'] Exploring Operation: 44*34=1496, Resulting Numbers: [1496] 1496,41 unequal: No Solution Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,41 unequal: No Solution Exploring Operation: 44+34=78, Resulting Numbers: [78] 78,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[51, 27], Operations: ['63-12=51', '44-17=27'] Exploring Operation: 51*27=1377, Resulting Numbers: [1377] 1377,41 unequal: No Solution Exploring Operation: 51+27=78, Resulting Numbers: [78] 78,41 unequal: No Solution Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[51, 61], Operations: ['63-12=51', '44+17=61'] Exploring Operation: 51+61=112, Resulting Numbers: [112] 112,41 unequal: No Solution Exploring Operation: 51*61=3111, Resulting Numbers: [3111] 3111,41 unequal: No Solution Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,41 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: 41:[63, 44, 29], Operations: ['12+17=29'] Exploring Operation: 63-44=19, Resulting Numbers: [29, 19] Generated Node #0,1,0: 41:[29, 19] Operation: 63-44=19 Exploring Operation: 63-29=34, Resulting Numbers: [44, 34] Generated Node #0,1,1: 41:[44, 34] Operation: 63-29=34 Exploring Operation: 44-29=15, Resulting Numbers: [63, 15] Generated Node #0,1,2: 41:[63, 15] Operation: 44-29=15 Moving to Node #0,2 Current State: 41:[12, 44, 46], Operations: ['63-17=46'] Exploring Operation: 44-12=32, Resulting Numbers: [46, 32] Generated Node #0,2,0: 41:[46, 32] Operation: 44-12=32 Exploring Operation: 12+44=56, Resulting Numbers: [46, 56] Generated Node #0,2,1: 41:[46, 56] Operation: 12+44=56 Exploring Operation: 46-12=34, Resulting Numbers: [44, 34] Generated Node #0,2,2: 41:[44, 34] Operation: 46-12=34 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[44, 34], Operations: ['63-17=46', '46-12=34'] Exploring Operation: 44*34=1496, Resulting Numbers: [1496] 1496,41 unequal: No Solution Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,41 unequal: No Solution Exploring Operation: 44+34=78, Resulting Numbers: [78] 78,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[46, 32], Operations: ['63-17=46', '44-12=32'] Exploring Operation: 46*32=1472, Resulting Numbers: [1472] 1472,41 unequal: No Solution Exploring Operation: 46+32=78, Resulting Numbers: [78] 78,41 unequal: No Solution Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[46, 56], Operations: ['63-17=46', '12+44=56'] Exploring Operation: 46+56=102, Resulting Numbers: [102] 102,41 unequal: No Solution Exploring Operation: 46*56=2576, Resulting Numbers: [2576] 2576,41 unequal: No Solution Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,41 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: 41:[44, 34], Operations: ['12+17=29', '63-29=34'] Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,41 unequal: No Solution Exploring Operation: 44*34=1496, Resulting Numbers: [1496] 1496,41 unequal: No Solution Exploring Operation: 44+34=78, Resulting Numbers: [78] 78,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[29, 19], Operations: ['12+17=29', '63-44=19'] Exploring Operation: 29*19=551, Resulting Numbers: [551] 551,41 unequal: No Solution Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,41 unequal: No Solution Exploring Operation: 29+19=48, Resulting Numbers: [48] 48,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[63, 15], Operations: ['12+17=29', '44-29=15'] Exploring Operation: 63*15=945, Resulting Numbers: [945] 945,41 unequal: No Solution Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,41 unequal: No Solution Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,41 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 21, 55, 26, 55 ]
21
[ "55-55=0", "26*0=0", "21+0=21" ]
Current State: 21:[21, 55, 26, 55], Operations: [] Exploring Operation: 55-55=0, Resulting Numbers: [21, 26, 0] Generated Node #2: [21, 26, 0] from Operation: 55-55=0 Current State: 21:[21, 26, 0], Operations: ['55-55=0'] Exploring Operation: 26*0=0, Resulting Numbers: [21, 0] Generated Node #3: [21, 0] from Operation: 26*0=0 Current State: 21:[21, 0], Operations: ['55-55=0', '26*0=0'] Exploring Operation: 21+0=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[21, 55, 26, 55], Operations: [] Exploring Operation: 55-26=29, Resulting Numbers: [21, 55, 29] Generated Node #0,0: 21:[21, 55, 29] Operation: 55-26=29 Exploring Operation: 55/55=1, Resulting Numbers: [21, 26, 1] Generated Node #0,1: 21:[21, 26, 1] Operation: 55/55=1 Exploring Operation: 55-55=0, Resulting Numbers: [21, 26, 0] Generated Node #0,2: 21:[21, 26, 0] Operation: 55-55=0 Moving to Node #0,1 Current State: 21:[21, 26, 1], Operations: ['55/55=1'] Exploring Operation: 21*1=21, Resulting Numbers: [26, 21] Generated Node #0,1,0: 21:[26, 21] Operation: 21*1=21 Exploring Operation: 26-1=25, Resulting Numbers: [21, 25] Generated Node #0,1,1: 21:[21, 25] Operation: 26-1=25 Exploring Operation: 26-21=5, Resulting Numbers: [1, 5] Generated Node #0,1,2: 21:[1, 5] Operation: 26-21=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[21, 25], Operations: ['55/55=1', '26-1=25'] Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,21 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 21*25=525, Resulting Numbers: [525] 525,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 21:[1, 5], Operations: ['55/55=1', '26-21=5'] Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 21:[26, 21], Operations: ['55/55=1', '21*1=21'] Exploring Operation: 26+21=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 26*21=546, Resulting Numbers: [546] 546,21 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,21 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: 21:[21, 26, 0], Operations: ['55-55=0'] Exploring Operation: 26*0=0, Resulting Numbers: [21, 0] Generated Node #0,2,0: 21:[21, 0] Operation: 26*0=0 Exploring Operation: 21+0=21, Resulting Numbers: [26, 21] Generated Node #0,2,1: 21:[26, 21] Operation: 21+0=21 Exploring Operation: 26-21=5, Resulting Numbers: [0, 5] Generated Node #0,2,2: 21:[0, 5] Operation: 26-21=5 Moving to Node #0,0 Current State: 21:[21, 55, 29], Operations: ['55-26=29'] Exploring Operation: 29-21=8, Resulting Numbers: [55, 8] Generated Node #0,0,0: 21:[55, 8] Operation: 29-21=8 Exploring Operation: 55-21=34, Resulting Numbers: [29, 34] Generated Node #0,0,1: 21:[29, 34] Operation: 55-21=34 Exploring Operation: 55-29=26, Resulting Numbers: [21, 26] Generated Node #0,0,2: 21:[21, 26] Operation: 55-29=26 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 21:[21, 26], Operations: ['55-26=29', '55-29=26'] Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,21 unequal: No Solution Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 21*26=546, Resulting Numbers: [546] 546,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 21:[29, 34], Operations: ['55-26=29', '55-21=34'] Exploring Operation: 29*34=986, Resulting Numbers: [986] 986,21 unequal: No Solution Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,21 unequal: No Solution Exploring Operation: 29+34=63, Resulting Numbers: [63] 63,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[55, 8], Operations: ['55-26=29', '29-21=8'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,21 unequal: No Solution Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 21:[21, 0], Operations: ['55-55=0', '26*0=0'] Exploring Operation: 21*0=0, Resulting Numbers: [0] 0,21 unequal: No Solution Exploring Operation: 21-0=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[21, 55, 26, 55], Operations: [] Exploring Operation: 55-55=0, Resulting Numbers: [21, 26, 0] Generated Node #0,2: 21:[21, 26, 0] Operation: 55-55=0 Moving to Node #0,2 Current State: 21:[21, 26, 0], Operations: ['55-55=0'] Exploring Operation: 26*0=0, Resulting Numbers: [21, 0] Generated Node #0,2,0: 21:[21, 0] Operation: 26*0=0 Moving to Node #0,2,0 Current State: 21:[21, 0], Operations: ['55-55=0', '26*0=0'] Exploring Operation: 21-0=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.96875
hs_3
sum_heuristic
[ 58, 31, 19, 61 ]
47
[ "58+31=89", "61-19=42", "89-42=47" ]
Current State: 47:[58, 31, 19, 61], Operations: [] Exploring Operation: 58+31=89, Resulting Numbers: [19, 61, 89] Generated Node #2: [19, 61, 89] from Operation: 58+31=89 Current State: 47:[19, 61, 89], Operations: ['58+31=89'] Exploring Operation: 61-19=42, Resulting Numbers: [89, 42] Generated Node #3: [89, 42] from Operation: 61-19=42 Current State: 47:[89, 42], Operations: ['58+31=89', '61-19=42'] Exploring Operation: 89-42=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[58, 31, 19, 61], Operations: [] Exploring Operation: 61-19=42, Resulting Numbers: [58, 31, 42] Generated Node #0,0: 47:[58, 31, 42] Operation: 61-19=42 Exploring Operation: 31+19=50, Resulting Numbers: [58, 61, 50] Generated Node #0,1: 47:[58, 61, 50] Operation: 31+19=50 Moving to Node #0,1 Current State: 47:[58, 61, 50], Operations: ['31+19=50'] Exploring Operation: 61-50=11, Resulting Numbers: [58, 11] Generated Node #0,1,0: 47:[58, 11] Operation: 61-50=11 Exploring Operation: 61-58=3, Resulting Numbers: [50, 3] Generated Node #0,1,1: 47:[50, 3] Operation: 61-58=3 Moving to Node #0,0 Current State: 47:[58, 31, 42], Operations: ['61-19=42'] Exploring Operation: 58-31=27, Resulting Numbers: [42, 27] Generated Node #0,0,0: 47:[42, 27] Operation: 58-31=27 Exploring Operation: 31+42=73, Resulting Numbers: [58, 73] Generated Node #0,0,1: 47:[58, 73] Operation: 31+42=73 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[42, 27], Operations: ['61-19=42', '58-31=27'] Exploring Operation: 42+27=69, Resulting Numbers: [69] 69,47 unequal: No Solution Exploring Operation: 42-27=15, Resulting Numbers: [15] 15,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[58, 73], Operations: ['61-19=42', '31+42=73'] Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 58+73=131, Resulting Numbers: [131] 131,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 47:[58, 11], Operations: ['31+19=50', '61-50=11'] Exploring Operation: 58+11=69, Resulting Numbers: [69] 69,47 unequal: No Solution Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[58, 31, 19, 61], Operations: [] Exploring Operation: 31+19=50, Resulting Numbers: [58, 61, 50] Generated Node #0,1: 47:[58, 61, 50] Operation: 31+19=50 Moving to Node #0,1 Current State: 47:[58, 61, 50], Operations: ['31+19=50'] Exploring Operation: 61-50=11, Resulting Numbers: [58, 11] Generated Node #0,1,0: 47:[58, 11] Operation: 61-50=11 Moving to Node #0,1,0 Current State: 47:[58, 11], Operations: ['31+19=50', '61-50=11'] Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 63, 93, 19, 3 ]
95
[ "63/3=21", "93-19=74", "21+74=95" ]
Current State: 95:[63, 93, 19, 3], Operations: [] Exploring Operation: 63/3=21, Resulting Numbers: [93, 19, 21] Generated Node #2: [93, 19, 21] from Operation: 63/3=21 Current State: 95:[93, 19, 21], Operations: ['63/3=21'] Exploring Operation: 93-19=74, Resulting Numbers: [21, 74] Generated Node #3: [21, 74] from Operation: 93-19=74 Current State: 95:[21, 74], Operations: ['63/3=21', '93-19=74'] Exploring Operation: 21+74=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[63, 93, 19, 3], Operations: [] Exploring Operation: 63+3=66, Resulting Numbers: [93, 19, 66] Generated Node #0,0: 95:[93, 19, 66] Operation: 63+3=66 Exploring Operation: 63+19=82, Resulting Numbers: [93, 3, 82] Generated Node #0,1: 95:[93, 3, 82] Operation: 63+19=82 Exploring Operation: 93-63=30, Resulting Numbers: [19, 3, 30] Generated Node #0,2: 95:[19, 3, 30] Operation: 93-63=30 Exploring Operation: 63/3=21, Resulting Numbers: [93, 19, 21] Generated Node #0,3: 95:[93, 19, 21] Operation: 63/3=21 Exploring Operation: 63-19=44, Resulting Numbers: [93, 3, 44] Generated Node #0,4: 95:[93, 3, 44] Operation: 63-19=44 Moving to Node #0,3 Current State: 95:[93, 19, 21], Operations: ['63/3=21'] Exploring Operation: 93+21=114, Resulting Numbers: [19, 114] Generated Node #0,3,0: 95:[19, 114] Operation: 93+21=114 Exploring Operation: 93-21=72, Resulting Numbers: [19, 72] Generated Node #0,3,1: 95:[19, 72] Operation: 93-21=72 Exploring Operation: 21-19=2, Resulting Numbers: [93, 2] Generated Node #0,3,2: 95:[93, 2] Operation: 21-19=2 Exploring Operation: 93-19=74, Resulting Numbers: [21, 74] Generated Node #0,3,3: 95:[21, 74] Operation: 93-19=74 Exploring Operation: 93+19=112, Resulting Numbers: [21, 112] Generated Node #0,3,4: 95:[21, 112] Operation: 93+19=112 Moving to Node #0,2 Current State: 95:[19, 3, 30], Operations: ['93-63=30'] Exploring Operation: 30-3=27, Resulting Numbers: [19, 27] Generated Node #0,2,0: 95:[19, 27] Operation: 30-3=27 Exploring Operation: 19+3=22, Resulting Numbers: [30, 22] Generated Node #0,2,1: 95:[30, 22] Operation: 19+3=22 Exploring Operation: 30-19=11, Resulting Numbers: [3, 11] Generated Node #0,2,2: 95:[3, 11] Operation: 30-19=11 Exploring Operation: 3*30=90, Resulting Numbers: [19, 90] Generated Node #0,2,3: 95:[19, 90] Operation: 3*30=90 Exploring Operation: 30/3=10, Resulting Numbers: [19, 10] Generated Node #0,2,4: 95:[19, 10] Operation: 30/3=10 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 95:[19, 90], Operations: ['93-63=30', '3*30=90'] Exploring Operation: 19*90=1710, Resulting Numbers: [1710] 1710,95 unequal: No Solution Exploring Operation: 90-19=71, Resulting Numbers: [71] 71,95 unequal: No Solution Exploring Operation: 19+90=109, Resulting Numbers: [109] 109,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,2,4 Current State: 95:[19, 10], Operations: ['93-63=30', '30/3=10'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,95 unequal: No Solution Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,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,2,0 Current State: 95:[19, 27], Operations: ['93-63=30', '30-3=27'] Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 19+27=46, Resulting Numbers: [46] 46,95 unequal: No Solution Exploring Operation: 19*27=513, Resulting Numbers: [513] 513,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,2,2 Current State: 95:[3, 11], Operations: ['93-63=30', '30-19=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,95 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,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,2,1 Current State: 95:[30, 22], Operations: ['93-63=30', '19+3=22'] Exploring Operation: 30*22=660, Resulting Numbers: [660] 660,95 unequal: No Solution Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 30+22=52, Resulting Numbers: [52] 52,95 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: 95:[93, 3, 82], Operations: ['63+19=82'] Exploring Operation: 93+3=96, Resulting Numbers: [82, 96] Generated Node #0,1,0: 95:[82, 96] Operation: 93+3=96 Exploring Operation: 3+82=85, Resulting Numbers: [93, 85] Generated Node #0,1,1: 95:[93, 85] Operation: 3+82=85 Exploring Operation: 82-3=79, Resulting Numbers: [93, 79] Generated Node #0,1,2: 95:[93, 79] Operation: 82-3=79 Exploring Operation: 93-82=11, Resulting Numbers: [3, 11] Generated Node #0,1,3: 95:[3, 11] Operation: 93-82=11 Exploring Operation: 93-3=90, Resulting Numbers: [82, 90] Generated Node #0,1,4: 95:[82, 90] Operation: 93-3=90 Moving to Node #0,4 Current State: 95:[93, 3, 44], Operations: ['63-19=44'] Exploring Operation: 93-3=90, Resulting Numbers: [44, 90] Generated Node #0,4,0: 95:[44, 90] Operation: 93-3=90 Exploring Operation: 93-44=49, Resulting Numbers: [3, 49] Generated Node #0,4,1: 95:[3, 49] Operation: 93-44=49 Exploring Operation: 44-3=41, Resulting Numbers: [93, 41] Generated Node #0,4,2: 95:[93, 41] Operation: 44-3=41 Exploring Operation: 93+3=96, Resulting Numbers: [44, 96] Generated Node #0,4,3: 95:[44, 96] Operation: 93+3=96 Exploring Operation: 3+44=47, Resulting Numbers: [93, 47] Generated Node #0,4,4: 95:[93, 47] Operation: 3+44=47 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 95:[93, 41], Operations: ['63-19=44', '44-3=41'] Exploring Operation: 93*41=3813, Resulting Numbers: [3813] 3813,95 unequal: No Solution Exploring Operation: 93-41=52, Resulting Numbers: [52] 52,95 unequal: No Solution Exploring Operation: 93+41=134, Resulting Numbers: [134] 134,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,4,3 Current State: 95:[44, 96], Operations: ['63-19=44', '93+3=96'] Exploring Operation: 44*96=4224, Resulting Numbers: [4224] 4224,95 unequal: No Solution Exploring Operation: 44+96=140, Resulting Numbers: [140] 140,95 unequal: No Solution Exploring Operation: 96-44=52, Resulting Numbers: [52] 52,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,4,0 Current State: 95:[44, 90], Operations: ['63-19=44', '93-3=90'] Exploring Operation: 44*90=3960, Resulting Numbers: [3960] 3960,95 unequal: No Solution Exploring Operation: 90-44=46, Resulting Numbers: [46] 46,95 unequal: No Solution Exploring Operation: 44+90=134, Resulting Numbers: [134] 134,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,4,4 Current State: 95:[93, 47], Operations: ['63-19=44', '3+44=47'] Exploring Operation: 93+47=140, Resulting Numbers: [140] 140,95 unequal: No Solution Exploring Operation: 93-47=46, Resulting Numbers: [46] 46,95 unequal: No Solution Exploring Operation: 93*47=4371, Resulting Numbers: [4371] 4371,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,4,1 Current State: 95:[3, 49], Operations: ['63-19=44', '93-44=49'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,95 unequal: No Solution Exploring Operation: 3*49=147, Resulting Numbers: [147] 147,95 unequal: No Solution Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 95:[93, 19, 66], Operations: ['63+3=66'] Exploring Operation: 66-19=47, Resulting Numbers: [93, 47] Generated Node #0,0,0: 95:[93, 47] Operation: 66-19=47 Exploring Operation: 93+19=112, Resulting Numbers: [66, 112] Generated Node #0,0,1: 95:[66, 112] Operation: 93+19=112 Exploring Operation: 19+66=85, Resulting Numbers: [93, 85] Generated Node #0,0,2: 95:[93, 85] Operation: 19+66=85 Exploring Operation: 93-19=74, Resulting Numbers: [66, 74] Generated Node #0,0,3: 95:[66, 74] Operation: 93-19=74 Exploring Operation: 93-66=27, Resulting Numbers: [19, 27] Generated Node #0,0,4: 95:[19, 27] Operation: 93-66=27 Moving to Node #0,3,2 Current State: 95:[93, 2], Operations: ['63/3=21', '21-19=2'] Exploring Operation: 93*2=186, Resulting Numbers: [186] 186,95 unequal: No Solution Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[63, 93, 19, 3], Operations: [] Exploring Operation: 63/3=21, Resulting Numbers: [93, 19, 21] Generated Node #0,3: 95:[93, 19, 21] Operation: 63/3=21 Moving to Node #0,3 Current State: 95:[93, 19, 21], Operations: ['63/3=21'] Exploring Operation: 21-19=2, Resulting Numbers: [93, 2] Generated Node #0,3,2: 95:[93, 2] Operation: 21-19=2 Moving to Node #0,3,2 Current State: 95:[93, 2], Operations: ['63/3=21', '21-19=2'] Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.942708
hs_5
mult_heuristic
[ 41, 52, 33, 4 ]
79
[ "41*4=164", "52+33=85", "164-85=79" ]
Current State: 79:[41, 52, 33, 4], Operations: [] Exploring Operation: 41*4=164, Resulting Numbers: [52, 33, 164] Generated Node #2: [52, 33, 164] from Operation: 41*4=164 Current State: 79:[52, 33, 164], Operations: ['41*4=164'] Exploring Operation: 52+33=85, Resulting Numbers: [164, 85] Generated Node #3: [164, 85] from Operation: 52+33=85 Current State: 79:[164, 85], Operations: ['41*4=164', '52+33=85'] Exploring Operation: 164-85=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[41, 52, 33, 4], Operations: [] Exploring Operation: 33+4=37, Resulting Numbers: [41, 52, 37] Generated Node #0,0: 79:[41, 52, 37] Operation: 33+4=37 Exploring Operation: 52+4=56, Resulting Numbers: [41, 33, 56] Generated Node #0,1: 79:[41, 33, 56] Operation: 52+4=56 Exploring Operation: 41+33=74, Resulting Numbers: [52, 4, 74] Generated Node #0,2: 79:[52, 4, 74] Operation: 41+33=74 Exploring Operation: 41+4=45, Resulting Numbers: [52, 33, 45] Generated Node #0,3: 79:[52, 33, 45] Operation: 41+4=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[41, 52, 37], Operations: ['33+4=37'] Exploring Operation: 41+37=78, Resulting Numbers: [52, 78] Generated Node #0,0,0: 79:[52, 78] Operation: 41+37=78 Exploring Operation: 41+52=93, Resulting Numbers: [37, 93] Generated Node #0,0,1: 79:[37, 93] Operation: 41+52=93 Exploring Operation: 41-37=4, Resulting Numbers: [52, 4] Generated Node #0,0,2: 79:[52, 4] Operation: 41-37=4 Exploring Operation: 52+37=89, Resulting Numbers: [41, 89] Generated Node #0,0,3: 79:[41, 89] Operation: 52+37=89 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[52, 78], Operations: ['33+4=37', '41+37=78'] Exploring Operation: 52*78=4056, Resulting Numbers: [4056] 4056,79 unequal: No Solution Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,79 unequal: No Solution Exploring Operation: 52+78=130, Resulting Numbers: [130] 130,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 79:[41, 89], Operations: ['33+4=37', '52+37=89'] Exploring Operation: 89-41=48, Resulting Numbers: [48] 48,79 unequal: No Solution Exploring Operation: 41*89=3649, Resulting Numbers: [3649] 3649,79 unequal: No Solution Exploring Operation: 41+89=130, Resulting Numbers: [130] 130,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[37, 93], Operations: ['33+4=37', '41+52=93'] Exploring Operation: 37*93=3441, Resulting Numbers: [3441] 3441,79 unequal: No Solution Exploring Operation: 93-37=56, Resulting Numbers: [56] 56,79 unequal: No Solution Exploring Operation: 37+93=130, Resulting Numbers: [130] 130,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 79:[52, 4], Operations: ['33+4=37', '41-37=4'] Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,79 unequal: No Solution Exploring Operation: 52*4=208, Resulting Numbers: [208] 208,79 unequal: No Solution Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,79 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[41, 33, 56], Operations: ['52+4=56'] Exploring Operation: 41+56=97, Resulting Numbers: [33, 97] Generated Node #0,1,0: 79:[33, 97] Operation: 41+56=97 Exploring Operation: 41+33=74, Resulting Numbers: [56, 74] Generated Node #0,1,1: 79:[56, 74] Operation: 41+33=74 Exploring Operation: 33+56=89, Resulting Numbers: [41, 89] Generated Node #0,1,2: 79:[41, 89] Operation: 33+56=89 Exploring Operation: 41-33=8, Resulting Numbers: [56, 8] Generated Node #0,1,3: 79:[56, 8] Operation: 41-33=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[56, 74], Operations: ['52+4=56', '41+33=74'] Exploring Operation: 56*74=4144, Resulting Numbers: [4144] 4144,79 unequal: No Solution Exploring Operation: 74-56=18, Resulting Numbers: [18] 18,79 unequal: No Solution Exploring Operation: 56+74=130, Resulting Numbers: [130] 130,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 79:[41, 89], Operations: ['52+4=56', '33+56=89'] Exploring Operation: 41*89=3649, Resulting Numbers: [3649] 3649,79 unequal: No Solution Exploring Operation: 89-41=48, Resulting Numbers: [48] 48,79 unequal: No Solution Exploring Operation: 41+89=130, Resulting Numbers: [130] 130,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[33, 97], Operations: ['52+4=56', '41+56=97'] Exploring Operation: 97-33=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 33*97=3201, Resulting Numbers: [3201] 3201,79 unequal: No Solution Exploring Operation: 33+97=130, Resulting Numbers: [130] 130,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 79:[56, 8], Operations: ['52+4=56', '41-33=8'] Exploring Operation: 56+8=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,79 unequal: No Solution Exploring Operation: 56*8=448, Resulting Numbers: [448] 448,79 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[52, 4, 74], Operations: ['41+33=74'] Exploring Operation: 52+4=56, Resulting Numbers: [74, 56] Generated Node #0,2,0: 79:[74, 56] Operation: 52+4=56 Exploring Operation: 74-4=70, Resulting Numbers: [52, 70] Generated Node #0,2,1: 79:[52, 70] Operation: 74-4=70 Exploring Operation: 4+74=78, Resulting Numbers: [52, 78] Generated Node #0,2,2: 79:[52, 78] Operation: 4+74=78 Exploring Operation: 52-4=48, Resulting Numbers: [74, 48] Generated Node #0,2,3: 79:[74, 48] Operation: 52-4=48 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 79:[74, 56], Operations: ['41+33=74', '52+4=56'] Exploring Operation: 74-56=18, Resulting Numbers: [18] 18,79 unequal: No Solution Exploring Operation: 74+56=130, Resulting Numbers: [130] 130,79 unequal: No Solution Exploring Operation: 74*56=4144, Resulting Numbers: [4144] 4144,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 79:[52, 78], Operations: ['41+33=74', '4+74=78'] Exploring Operation: 52*78=4056, Resulting Numbers: [4056] 4056,79 unequal: No Solution Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,79 unequal: No Solution Exploring Operation: 52+78=130, Resulting Numbers: [130] 130,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 79:[52, 70], Operations: ['41+33=74', '74-4=70'] Exploring Operation: 52+70=122, Resulting Numbers: [122] 122,79 unequal: No Solution Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,79 unequal: No Solution Exploring Operation: 52*70=3640, Resulting Numbers: [3640] 3640,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 79:[74, 48], Operations: ['41+33=74', '52-4=48'] Exploring Operation: 74+48=122, Resulting Numbers: [122] 122,79 unequal: No Solution Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,79 unequal: No Solution Exploring Operation: 74*48=3552, Resulting Numbers: [3552] 3552,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[52, 33, 45], Operations: ['41+4=45'] Exploring Operation: 52-33=19, Resulting Numbers: [45, 19] Generated Node #0,3,0: 79:[45, 19] Operation: 52-33=19 Exploring Operation: 33+45=78, Resulting Numbers: [52, 78] Generated Node #0,3,1: 79:[52, 78] Operation: 33+45=78 Exploring Operation: 52+33=85, Resulting Numbers: [45, 85] Generated Node #0,3,2: 79:[45, 85] Operation: 52+33=85 Exploring Operation: 52+45=97, Resulting Numbers: [33, 97] Generated Node #0,3,3: 79:[33, 97] Operation: 52+45=97 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 79:[52, 78], Operations: ['41+4=45', '33+45=78'] Exploring Operation: 52+78=130, Resulting Numbers: [130] 130,79 unequal: No Solution Exploring Operation: 52*78=4056, Resulting Numbers: [4056] 4056,79 unequal: No Solution Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 79:[45, 85], Operations: ['41+4=45', '52+33=85'] Exploring Operation: 45+85=130, Resulting Numbers: [130] 130,79 unequal: No Solution Exploring Operation: 85-45=40, Resulting Numbers: [40] 40,79 unequal: No Solution Exploring Operation: 45*85=3825, Resulting Numbers: [3825] 3825,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 79:[33, 97], Operations: ['41+4=45', '52+45=97'] Exploring Operation: 97-33=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 33*97=3201, Resulting Numbers: [3201] 3201,79 unequal: No Solution Exploring Operation: 33+97=130, Resulting Numbers: [130] 130,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 79:[45, 19], Operations: ['41+4=45', '52-33=19'] Exploring Operation: 45*19=855, Resulting Numbers: [855] 855,79 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,79 unequal: No Solution Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 92, 49, 68, 62 ]
11
[ "92+49=141", "68+62=130", "141-130=11" ]
Current State: 11:[92, 49, 68, 62], Operations: [] Exploring Operation: 92+49=141, Resulting Numbers: [68, 62, 141] Generated Node #2: [68, 62, 141] from Operation: 92+49=141 Current State: 11:[68, 62, 141], Operations: ['92+49=141'] Exploring Operation: 68+62=130, Resulting Numbers: [141, 130] Generated Node #3: [141, 130] from Operation: 68+62=130 Current State: 11:[141, 130], Operations: ['92+49=141', '68+62=130'] Exploring Operation: 141-130=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[92, 49, 68, 62], Operations: [] Exploring Operation: 92-49=43, Resulting Numbers: [68, 62, 43] Generated Node #0,0: 11:[68, 62, 43] Operation: 92-49=43 Exploring Operation: 92-62=30, Resulting Numbers: [49, 68, 30] Generated Node #0,1: 11:[49, 68, 30] Operation: 92-62=30 Exploring Operation: 68-62=6, Resulting Numbers: [92, 49, 6] Generated Node #0,2: 11:[92, 49, 6] Operation: 68-62=6 Exploring Operation: 92-68=24, Resulting Numbers: [49, 62, 24] Generated Node #0,3: 11:[49, 62, 24] Operation: 92-68=24 Moving to Node #0,3 Current State: 11:[49, 62, 24], Operations: ['92-68=24'] Exploring Operation: 62-49=13, Resulting Numbers: [24, 13] Generated Node #0,3,0: 11:[24, 13] Operation: 62-49=13 Exploring Operation: 62-24=38, Resulting Numbers: [49, 38] Generated Node #0,3,1: 11:[49, 38] Operation: 62-24=38 Exploring Operation: 49-24=25, Resulting Numbers: [62, 25] Generated Node #0,3,2: 11:[62, 25] Operation: 49-24=25 Exploring Operation: 49+62=111, Resulting Numbers: [24, 111] Generated Node #0,3,3: 11:[24, 111] Operation: 49+62=111 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[24, 13], Operations: ['92-68=24', '62-49=13'] Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[92, 49, 68, 62], Operations: [] Exploring Operation: 92-68=24, Resulting Numbers: [49, 62, 24] Generated Node #0,3: 11:[49, 62, 24] Operation: 92-68=24 Moving to Node #0,3 Current State: 11:[49, 62, 24], Operations: ['92-68=24'] Exploring Operation: 62-49=13, Resulting Numbers: [24, 13] Generated Node #0,3,0: 11:[24, 13] Operation: 62-49=13 Moving to Node #0,3,0 Current State: 11:[24, 13], Operations: ['92-68=24', '62-49=13'] Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 18, 10, 43, 5 ]
34
[ "18*5=90", "90/10=9", "43-9=34" ]
Current State: 34:[18, 10, 43, 5], Operations: [] Exploring Operation: 18*5=90, Resulting Numbers: [10, 43, 90] Generated Node #2: [10, 43, 90] from Operation: 18*5=90 Current State: 34:[10, 43, 90], Operations: ['18*5=90'] Exploring Operation: 90/10=9, Resulting Numbers: [43, 9] Generated Node #3: [43, 9] from Operation: 90/10=9 Current State: 34:[43, 9], Operations: ['18*5=90', '90/10=9'] Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[18, 10, 43, 5], Operations: [] Exploring Operation: 10/5=2, Resulting Numbers: [18, 43, 2] Generated Node #0,0: 34:[18, 43, 2] Operation: 10/5=2 Exploring Operation: 43-10=33, Resulting Numbers: [18, 5, 33] Generated Node #0,1: 34:[18, 5, 33] Operation: 43-10=33 Moving to Node #0,1 Current State: 34:[18, 5, 33], Operations: ['43-10=33'] Exploring Operation: 18-5=13, Resulting Numbers: [33, 13] Generated Node #0,1,0: 34:[33, 13] Operation: 18-5=13 Exploring Operation: 33-18=15, Resulting Numbers: [5, 15] Generated Node #0,1,1: 34:[5, 15] Operation: 33-18=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[33, 13], Operations: ['43-10=33', '18-5=13'] Exploring Operation: 33+13=46, Resulting Numbers: [46] 46,34 unequal: No Solution Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[5, 15], Operations: ['43-10=33', '33-18=15'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,34 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: 34:[18, 43, 2], Operations: ['10/5=2'] Exploring Operation: 43-18=25, Resulting Numbers: [2, 25] Generated Node #0,0,0: 34:[2, 25] Operation: 43-18=25 Exploring Operation: 43-2=41, Resulting Numbers: [18, 41] Generated Node #0,0,1: 34:[18, 41] Operation: 43-2=41 Moving to Node #0,0,0 Current State: 34:[2, 25], Operations: ['10/5=2', '43-18=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[18, 41], Operations: ['10/5=2', '43-2=41'] Exploring Operation: 18+41=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,34 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 23, 96, 84, 52 ]
41
[ "96-23=73", "84-52=32", "73-32=41" ]
Current State: 41:[23, 96, 84, 52], Operations: [] Exploring Operation: 96-23=73, Resulting Numbers: [84, 52, 73] Generated Node #2: [84, 52, 73] from Operation: 96-23=73 Current State: 41:[84, 52, 73], Operations: ['96-23=73'] Exploring Operation: 84-52=32, Resulting Numbers: [73, 32] Generated Node #3: [73, 32] from Operation: 84-52=32 Current State: 41:[73, 32], Operations: ['96-23=73', '84-52=32'] Exploring Operation: 73-32=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[23, 96, 84, 52], Operations: [] Exploring Operation: 96-23=73, Resulting Numbers: [84, 52, 73] Generated Node #0,0: 41:[84, 52, 73] Operation: 96-23=73 Exploring Operation: 96-52=44, Resulting Numbers: [23, 84, 44] Generated Node #0,1: 41:[23, 84, 44] Operation: 96-52=44 Exploring Operation: 84-52=32, Resulting Numbers: [23, 96, 32] Generated Node #0,2: 41:[23, 96, 32] Operation: 84-52=32 Exploring Operation: 96-84=12, Resulting Numbers: [23, 52, 12] Generated Node #0,3: 41:[23, 52, 12] Operation: 96-84=12 Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[23, 52, 12], Operations: ['96-84=12'] Exploring Operation: 52-12=40, Resulting Numbers: [23, 40] Generated Node #0,3,0: 41:[23, 40] Operation: 52-12=40 Exploring Operation: 23-12=11, Resulting Numbers: [52, 11] Generated Node #0,3,1: 41:[52, 11] Operation: 23-12=11 Exploring Operation: 23+12=35, Resulting Numbers: [52, 35] Generated Node #0,3,2: 41:[52, 35] Operation: 23+12=35 Exploring Operation: 52-23=29, Resulting Numbers: [12, 29] Generated Node #0,3,3: 41:[12, 29] Operation: 52-23=29 Moving to Node #0,3,2 Current State: 41:[52, 35], Operations: ['96-84=12', '23+12=35'] Exploring Operation: 52*35=1820, Resulting Numbers: [1820] 1820,41 unequal: No Solution Exploring Operation: 52-35=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 52+35=87, Resulting Numbers: [87] 87,41 unequal: No Solution Moving to Node #0,3,0 Current State: 41:[23, 40], Operations: ['96-84=12', '52-12=40'] Exploring Operation: 23*40=920, Resulting Numbers: [920] 920,41 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 23+40=63, Resulting Numbers: [63] 63,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[12, 29], Operations: ['96-84=12', '52-23=29'] Exploring Operation: 12*29=348, Resulting Numbers: [348] 348,41 unequal: No Solution Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 12+29=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[23, 96, 84, 52], Operations: [] Exploring Operation: 96-84=12, Resulting Numbers: [23, 52, 12] Generated Node #0,3: 41:[23, 52, 12] Operation: 96-84=12 Moving to Node #0,3 Current State: 41:[23, 52, 12], Operations: ['96-84=12'] Exploring Operation: 52-23=29, Resulting Numbers: [12, 29] Generated Node #0,3,3: 41:[12, 29] Operation: 52-23=29 Moving to Node #0,3,3 Current State: 41:[12, 29], Operations: ['96-84=12', '52-23=29'] Exploring Operation: 12+29=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 84, 19, 47, 82 ]
100
[ "84-19=65", "82-47=35", "65+35=100" ]
Current State: 100:[84, 19, 47, 82], Operations: [] Exploring Operation: 84-19=65, Resulting Numbers: [47, 82, 65] Generated Node #2: [47, 82, 65] from Operation: 84-19=65 Current State: 100:[47, 82, 65], Operations: ['84-19=65'] Exploring Operation: 82-47=35, Resulting Numbers: [65, 35] Generated Node #3: [65, 35] from Operation: 82-47=35 Current State: 100:[65, 35], Operations: ['84-19=65', '82-47=35'] Exploring Operation: 65+35=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[84, 19, 47, 82], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [19, 47, 2] Generated Node #0,0: 100:[19, 47, 2] Operation: 84-82=2 Exploring Operation: 19+82=101, Resulting Numbers: [84, 47, 101] Generated Node #0,1: 100:[84, 47, 101] Operation: 19+82=101 Moving to Node #0,0 Current State: 100:[19, 47, 2], Operations: ['84-82=2'] Exploring Operation: 47-19=28, Resulting Numbers: [2, 28] Generated Node #0,0,0: 100:[2, 28] Operation: 47-19=28 Exploring Operation: 47+2=49, Resulting Numbers: [19, 49] Generated Node #0,0,1: 100:[19, 49] Operation: 47+2=49 Moving to Node #0,1 Current State: 100:[84, 47, 101], Operations: ['19+82=101'] Exploring Operation: 84-47=37, Resulting Numbers: [101, 37] Generated Node #0,1,0: 100:[101, 37] Operation: 84-47=37 Exploring Operation: 101-84=17, Resulting Numbers: [47, 17] Generated Node #0,1,1: 100:[47, 17] Operation: 101-84=17 Moving to Node #0,0,1 Current State: 100:[19, 49], Operations: ['84-82=2', '47+2=49'] Exploring Operation: 19+49=68, Resulting Numbers: [68] 68,100 unequal: No Solution Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[2, 28], Operations: ['84-82=2', '47-19=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,100 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[47, 17], Operations: ['19+82=101', '101-84=17'] Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,100 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[101, 37], Operations: ['19+82=101', '84-47=37'] Exploring Operation: 101-37=64, Resulting Numbers: [64] 64,100 unequal: No Solution Exploring Operation: 101+37=138, Resulting Numbers: [138] 138,100 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 55, 2, 69, 53 ]
63
[ "69-53=16", "16/2=8", "55+8=63" ]
Current State: 63:[55, 2, 69, 53], Operations: [] Exploring Operation: 69-53=16, Resulting Numbers: [55, 2, 16] Generated Node #2: [55, 2, 16] from Operation: 69-53=16 Current State: 63:[55, 2, 16], Operations: ['69-53=16'] Exploring Operation: 16/2=8, Resulting Numbers: [55, 8] Generated Node #3: [55, 8] from Operation: 16/2=8 Current State: 63:[55, 8], Operations: ['69-53=16', '16/2=8'] Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[55, 2, 69, 53], Operations: [] Exploring Operation: 69-55=14, Resulting Numbers: [2, 53, 14] Generated Node #0,0: 63:[2, 53, 14] Operation: 69-55=14 Exploring Operation: 69-2=67, Resulting Numbers: [55, 53, 67] Generated Node #0,1: 63:[55, 53, 67] Operation: 69-2=67 Exploring Operation: 69-53=16, Resulting Numbers: [55, 2, 16] Generated Node #0,2: 63:[55, 2, 16] Operation: 69-53=16 Exploring Operation: 55-53=2, Resulting Numbers: [2, 69, 2] Generated Node #0,3: 63:[2, 69, 2] Operation: 55-53=2 Exploring Operation: 55+2=57, Resulting Numbers: [69, 53, 57] Generated Node #0,4: 63:[69, 53, 57] Operation: 55+2=57 Moving to Node #0,3 Current State: 63:[2, 69, 2], Operations: ['55-53=2'] Exploring Operation: 69-2=67, Resulting Numbers: [2, 67] Generated Node #0,3,0: 63:[2, 67] Operation: 69-2=67 Exploring Operation: 2/2=1, Resulting Numbers: [69, 1] Generated Node #0,3,1: 63:[69, 1] Operation: 2/2=1 Exploring Operation: 2+2=4, Resulting Numbers: [69, 4] Generated Node #0,3,2: 63:[69, 4] Operation: 2+2=4 Exploring Operation: 2*2=4, Resulting Numbers: [69, 4] Generated Node #0,3,3: 63:[69, 4] Operation: 2*2=4 Exploring Operation: 69-2=67, Resulting Numbers: [2, 67] Generated Node #0,3,4: 63:[2, 67] Operation: 69-2=67 Moving to Node #0,2 Current State: 63:[55, 2, 16], Operations: ['69-53=16'] Exploring Operation: 55+16=71, Resulting Numbers: [2, 71] Generated Node #0,2,0: 63:[2, 71] Operation: 55+16=71 Exploring Operation: 16/2=8, Resulting Numbers: [55, 8] Generated Node #0,2,1: 63:[55, 8] Operation: 16/2=8 Exploring Operation: 55+2=57, Resulting Numbers: [16, 57] Generated Node #0,2,2: 63:[16, 57] Operation: 55+2=57 Exploring Operation: 16-2=14, Resulting Numbers: [55, 14] Generated Node #0,2,3: 63:[55, 14] Operation: 16-2=14 Exploring Operation: 2+16=18, Resulting Numbers: [55, 18] Generated Node #0,2,4: 63:[55, 18] Operation: 2+16=18 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 63:[2, 71], Operations: ['69-53=16', '55+16=71'] Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,63 unequal: No Solution Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,63 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 63:[55, 8], Operations: ['69-53=16', '16/2=8'] Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,63 unequal: No Solution Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[55, 2, 69, 53], Operations: [] Exploring Operation: 69-53=16, Resulting Numbers: [55, 2, 16] Generated Node #0,2: 63:[55, 2, 16] Operation: 69-53=16 Moving to Node #0,2 Current State: 63:[55, 2, 16], Operations: ['69-53=16'] Exploring Operation: 16/2=8, Resulting Numbers: [55, 8] Generated Node #0,2,1: 63:[55, 8] Operation: 16/2=8 Moving to Node #0,2,1 Current State: 63:[55, 8], Operations: ['69-53=16', '16/2=8'] Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 4, 28, 6, 56 ]
82
[ "4+28=32", "56-6=50", "32+50=82" ]
Current State: 82:[4, 28, 6, 56], Operations: [] Exploring Operation: 4+28=32, Resulting Numbers: [6, 56, 32] Generated Node #2: [6, 56, 32] from Operation: 4+28=32 Current State: 82:[6, 56, 32], Operations: ['4+28=32'] Exploring Operation: 56-6=50, Resulting Numbers: [32, 50] Generated Node #3: [32, 50] from Operation: 56-6=50 Current State: 82:[32, 50], Operations: ['4+28=32', '56-6=50'] Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[4, 28, 6, 56], Operations: [] Exploring Operation: 56/28=2, Resulting Numbers: [4, 6, 2] Generated Node #0,0: 82:[4, 6, 2] Operation: 56/28=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[4, 6, 2], Operations: ['56/28=2'] Exploring Operation: 6-4=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 82:[2, 2] Operation: 6-4=2 Moving to Node #0,0,0 Current State: 82:[2, 2], Operations: ['56/28=2', '6-4=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 84, 52, 57, 85 ]
67
[ "57-52=5", "85/5=17", "84-17=67" ]
Current State: 67:[84, 52, 57, 85], Operations: [] Exploring Operation: 57-52=5, Resulting Numbers: [84, 85, 5] Generated Node #2: [84, 85, 5] from Operation: 57-52=5 Current State: 67:[84, 85, 5], Operations: ['57-52=5'] Exploring Operation: 85/5=17, Resulting Numbers: [84, 17] Generated Node #3: [84, 17] from Operation: 85/5=17 Current State: 67:[84, 17], Operations: ['57-52=5', '85/5=17'] Exploring Operation: 84-17=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[84, 52, 57, 85], Operations: [] Exploring Operation: 85-52=33, Resulting Numbers: [84, 57, 33] Generated Node #0,0: 67:[84, 57, 33] Operation: 85-52=33 Exploring Operation: 84-52=32, Resulting Numbers: [57, 85, 32] Generated Node #0,1: 67:[57, 85, 32] Operation: 84-52=32 Exploring Operation: 85-57=28, Resulting Numbers: [84, 52, 28] Generated Node #0,2: 67:[84, 52, 28] Operation: 85-57=28 Exploring Operation: 84-57=27, Resulting Numbers: [52, 85, 27] Generated Node #0,3: 67:[52, 85, 27] Operation: 84-57=27 Moving to Node #0,0 Current State: 67:[84, 57, 33], Operations: ['85-52=33'] Exploring Operation: 57-33=24, Resulting Numbers: [84, 24] Generated Node #0,0,0: 67:[84, 24] Operation: 57-33=24 Exploring Operation: 84-33=51, Resulting Numbers: [57, 51] Generated Node #0,0,1: 67:[57, 51] Operation: 84-33=51 Exploring Operation: 84+33=117, Resulting Numbers: [57, 117] Generated Node #0,0,2: 67:[57, 117] Operation: 84+33=117 Exploring Operation: 57+33=90, Resulting Numbers: [84, 90] Generated Node #0,0,3: 67:[84, 90] Operation: 57+33=90 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[57, 51], Operations: ['85-52=33', '84-33=51'] Exploring Operation: 57+51=108, Resulting Numbers: [108] 108,67 unequal: No Solution Exploring Operation: 57-51=6, Resulting Numbers: [6] 6,67 unequal: No Solution Exploring Operation: 57*51=2907, Resulting Numbers: [2907] 2907,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 67:[84, 90], Operations: ['85-52=33', '57+33=90'] Exploring Operation: 90-84=6, Resulting Numbers: [6] 6,67 unequal: No Solution Exploring Operation: 84*90=7560, Resulting Numbers: [7560] 7560,67 unequal: No Solution Exploring Operation: 84+90=174, Resulting Numbers: [174] 174,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[84, 24], Operations: ['85-52=33', '57-33=24'] Exploring Operation: 84-24=60, Resulting Numbers: [60] 60,67 unequal: No Solution Exploring Operation: 84+24=108, Resulting Numbers: [108] 108,67 unequal: No Solution Exploring Operation: 84*24=2016, Resulting Numbers: [2016] 2016,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[57, 117], Operations: ['85-52=33', '84+33=117'] Exploring Operation: 57+117=174, Resulting Numbers: [174] 174,67 unequal: No Solution Exploring Operation: 117-57=60, Resulting Numbers: [60] 60,67 unequal: No Solution Exploring Operation: 57*117=6669, Resulting Numbers: [6669] 6669,67 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: 67:[57, 85, 32], Operations: ['84-52=32'] Exploring Operation: 57-32=25, Resulting Numbers: [85, 25] Generated Node #0,1,0: 67:[85, 25] Operation: 57-32=25 Exploring Operation: 85+32=117, Resulting Numbers: [57, 117] Generated Node #0,1,1: 67:[57, 117] Operation: 85+32=117 Exploring Operation: 57+32=89, Resulting Numbers: [85, 89] Generated Node #0,1,2: 67:[85, 89] Operation: 57+32=89 Exploring Operation: 85-32=53, Resulting Numbers: [57, 53] Generated Node #0,1,3: 67:[57, 53] Operation: 85-32=53 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 67:[57, 53], Operations: ['84-52=32', '85-32=53'] Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 57+53=110, Resulting Numbers: [110] 110,67 unequal: No Solution Exploring Operation: 57*53=3021, Resulting Numbers: [3021] 3021,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 67:[85, 89], Operations: ['84-52=32', '57+32=89'] Exploring Operation: 85*89=7565, Resulting Numbers: [7565] 7565,67 unequal: No Solution Exploring Operation: 85+89=174, Resulting Numbers: [174] 174,67 unequal: No Solution Exploring Operation: 89-85=4, Resulting Numbers: [4] 4,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[85, 25], Operations: ['84-52=32', '57-32=25'] Exploring Operation: 85*25=2125, Resulting Numbers: [2125] 2125,67 unequal: No Solution Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,67 unequal: No Solution Exploring Operation: 85+25=110, Resulting Numbers: [110] 110,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[57, 117], Operations: ['84-52=32', '85+32=117'] Exploring Operation: 117-57=60, Resulting Numbers: [60] 60,67 unequal: No Solution Exploring Operation: 57+117=174, Resulting Numbers: [174] 174,67 unequal: No Solution Exploring Operation: 57*117=6669, Resulting Numbers: [6669] 6669,67 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: 67:[84, 52, 28], Operations: ['85-57=28'] Exploring Operation: 84+28=112, Resulting Numbers: [52, 112] Generated Node #0,2,0: 67:[52, 112] Operation: 84+28=112 Exploring Operation: 52-28=24, Resulting Numbers: [84, 24] Generated Node #0,2,1: 67:[84, 24] Operation: 52-28=24 Exploring Operation: 52+28=80, Resulting Numbers: [84, 80] Generated Node #0,2,2: 67:[84, 80] Operation: 52+28=80 Exploring Operation: 84-28=56, Resulting Numbers: [52, 56] Generated Node #0,2,3: 67:[52, 56] Operation: 84-28=56 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 67:[52, 56], Operations: ['85-57=28', '84-28=56'] Exploring Operation: 52+56=108, Resulting Numbers: [108] 108,67 unequal: No Solution Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 52*56=2912, Resulting Numbers: [2912] 2912,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 67:[84, 80], Operations: ['85-57=28', '52+28=80'] Exploring Operation: 84-80=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 84+80=164, Resulting Numbers: [164] 164,67 unequal: No Solution Exploring Operation: 84*80=6720, Resulting Numbers: [6720] 6720,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[52, 112], Operations: ['85-57=28', '84+28=112'] Exploring Operation: 52*112=5824, Resulting Numbers: [5824] 5824,67 unequal: No Solution Exploring Operation: 52+112=164, Resulting Numbers: [164] 164,67 unequal: No Solution Exploring Operation: 112-52=60, Resulting Numbers: [60] 60,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 67:[84, 24], Operations: ['85-57=28', '52-28=24'] Exploring Operation: 84*24=2016, Resulting Numbers: [2016] 2016,67 unequal: No Solution Exploring Operation: 84+24=108, Resulting Numbers: [108] 108,67 unequal: No Solution Exploring Operation: 84-24=60, Resulting Numbers: [60] 60,67 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: 67:[52, 85, 27], Operations: ['84-57=27'] Exploring Operation: 85-27=58, Resulting Numbers: [52, 58] Generated Node #0,3,0: 67:[52, 58] Operation: 85-27=58 Exploring Operation: 52-27=25, Resulting Numbers: [85, 25] Generated Node #0,3,1: 67:[85, 25] Operation: 52-27=25 Exploring Operation: 52+27=79, Resulting Numbers: [85, 79] Generated Node #0,3,2: 67:[85, 79] Operation: 52+27=79 Exploring Operation: 85+27=112, Resulting Numbers: [52, 112] Generated Node #0,3,3: 67:[52, 112] Operation: 85+27=112 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 67:[52, 58], Operations: ['84-57=27', '85-27=58'] Exploring Operation: 52+58=110, Resulting Numbers: [110] 110,67 unequal: No Solution Exploring Operation: 52*58=3016, Resulting Numbers: [3016] 3016,67 unequal: No Solution Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 67:[85, 79], Operations: ['84-57=27', '52+27=79'] Exploring Operation: 85+79=164, Resulting Numbers: [164] 164,67 unequal: No Solution Exploring Operation: 85*79=6715, Resulting Numbers: [6715] 6715,67 unequal: No Solution Exploring Operation: 85-79=6, Resulting Numbers: [6] 6,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 67:[85, 25], Operations: ['84-57=27', '52-27=25'] Exploring Operation: 85+25=110, Resulting Numbers: [110] 110,67 unequal: No Solution Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,67 unequal: No Solution Exploring Operation: 85*25=2125, Resulting Numbers: [2125] 2125,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 67:[52, 112], Operations: ['84-57=27', '85+27=112'] Exploring Operation: 52*112=5824, Resulting Numbers: [5824] 5824,67 unequal: No Solution Exploring Operation: 112-52=60, Resulting Numbers: [60] 60,67 unequal: No Solution Exploring Operation: 52+112=164, Resulting Numbers: [164] 164,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 87, 40, 93, 34 ]
12
[ "87-40=47", "93-34=59", "59-47=12" ]
Current State: 12:[87, 40, 93, 34], Operations: [] Exploring Operation: 87-40=47, Resulting Numbers: [93, 34, 47] Generated Node #2: [93, 34, 47] from Operation: 87-40=47 Current State: 12:[93, 34, 47], Operations: ['87-40=47'] Exploring Operation: 93-34=59, Resulting Numbers: [47, 59] Generated Node #3: [47, 59] from Operation: 93-34=59 Current State: 12:[47, 59], Operations: ['87-40=47', '93-34=59'] Exploring Operation: 59-47=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[87, 40, 93, 34], Operations: [] Exploring Operation: 87-40=47, Resulting Numbers: [93, 34, 47] Generated Node #0,0: 12:[93, 34, 47] Operation: 87-40=47 Exploring Operation: 93-87=6, Resulting Numbers: [40, 34, 6] Generated Node #0,1: 12:[40, 34, 6] Operation: 93-87=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[40, 34, 6], Operations: ['93-87=6'] Exploring Operation: 40-34=6, Resulting Numbers: [6, 6] Generated Node #0,1,0: 12:[6, 6] Operation: 40-34=6 Exploring Operation: 40-6=34, Resulting Numbers: [34, 34] Generated Node #0,1,1: 12:[34, 34] Operation: 40-6=34 Moving to Node #0,1,0 Current State: 12:[6, 6], Operations: ['93-87=6', '40-34=6'] Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[87, 40, 93, 34], Operations: [] Exploring Operation: 93-87=6, Resulting Numbers: [40, 34, 6] Generated Node #0,1: 12:[40, 34, 6] Operation: 93-87=6 Moving to Node #0,1 Current State: 12:[40, 34, 6], Operations: ['93-87=6'] Exploring Operation: 40-34=6, Resulting Numbers: [6, 6] Generated Node #0,1,0: 12:[6, 6] Operation: 40-34=6 Moving to Node #0,1,0 Current State: 12:[6, 6], Operations: ['93-87=6', '40-34=6'] Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 19, 27, 15, 3 ]
23
[ "27-15=12", "12/3=4", "19+4=23" ]
Current State: 23:[19, 27, 15, 3], Operations: [] Exploring Operation: 27-15=12, Resulting Numbers: [19, 3, 12] Generated Node #2: [19, 3, 12] from Operation: 27-15=12 Current State: 23:[19, 3, 12], Operations: ['27-15=12'] Exploring Operation: 12/3=4, Resulting Numbers: [19, 4] Generated Node #3: [19, 4] from Operation: 12/3=4 Current State: 23:[19, 4], Operations: ['27-15=12', '12/3=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[19, 27, 15, 3], Operations: [] Exploring Operation: 27+3=30, Resulting Numbers: [19, 15, 30] Generated Node #0,0: 23:[19, 15, 30] Operation: 27+3=30 Exploring Operation: 27-3=24, Resulting Numbers: [19, 15, 24] Generated Node #0,1: 23:[19, 15, 24] Operation: 27-3=24 Exploring Operation: 19-3=16, Resulting Numbers: [27, 15, 16] Generated Node #0,2: 23:[27, 15, 16] Operation: 19-3=16 Exploring Operation: 19+3=22, Resulting Numbers: [27, 15, 22] Generated Node #0,3: 23:[27, 15, 22] Operation: 19+3=22 Exploring Operation: 15+3=18, Resulting Numbers: [19, 27, 18] Generated Node #0,4: 23:[19, 27, 18] Operation: 15+3=18 Moving to Node #0,1 Current State: 23:[19, 15, 24], Operations: ['27-3=24'] Exploring Operation: 24-15=9, Resulting Numbers: [19, 9] Generated Node #0,1,0: 23:[19, 9] Operation: 24-15=9 Exploring Operation: 15+24=39, Resulting Numbers: [19, 39] Generated Node #0,1,1: 23:[19, 39] Operation: 15+24=39 Exploring Operation: 24-19=5, Resulting Numbers: [15, 5] Generated Node #0,1,2: 23:[15, 5] Operation: 24-19=5 Exploring Operation: 19+15=34, Resulting Numbers: [24, 34] Generated Node #0,1,3: 23:[24, 34] Operation: 19+15=34 Exploring Operation: 19-15=4, Resulting Numbers: [24, 4] Generated Node #0,1,4: 23:[24, 4] Operation: 19-15=4 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 23:[24, 34], Operations: ['27-3=24', '19+15=34'] Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 24+34=58, Resulting Numbers: [58] 58,23 unequal: No Solution Exploring Operation: 24*34=816, Resulting Numbers: [816] 816,23 unequal: No Solution No 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: 23:[19, 9], Operations: ['27-3=24', '24-15=9'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,23 unequal: No Solution Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,23 unequal: No Solution No 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: 23:[19, 39], Operations: ['27-3=24', '15+24=39'] Exploring Operation: 19+39=58, Resulting Numbers: [58] 58,23 unequal: No Solution Exploring Operation: 19*39=741, Resulting Numbers: [741] 741,23 unequal: No Solution Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,23 unequal: No Solution No 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: 23:[24, 4], Operations: ['27-3=24', '19-15=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,23 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,23 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,23 unequal: No Solution No 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: 23:[15, 5], Operations: ['27-3=24', '24-19=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,23 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,23 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: 23:[19, 27, 18], Operations: ['15+3=18'] Exploring Operation: 19+18=37, Resulting Numbers: [27, 37] Generated Node #0,4,0: 23:[27, 37] Operation: 19+18=37 Exploring Operation: 19-18=1, Resulting Numbers: [27, 1] Generated Node #0,4,1: 23:[27, 1] Operation: 19-18=1 Exploring Operation: 27-19=8, Resulting Numbers: [18, 8] Generated Node #0,4,2: 23:[18, 8] Operation: 27-19=8 Exploring Operation: 27-18=9, Resulting Numbers: [19, 9] Generated Node #0,4,3: 23:[19, 9] Operation: 27-18=9 Exploring Operation: 27+18=45, Resulting Numbers: [19, 45] Generated Node #0,4,4: 23:[19, 45] Operation: 27+18=45 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 23:[27, 37], Operations: ['15+3=18', '19+18=37'] Exploring Operation: 27+37=64, Resulting Numbers: [64] 64,23 unequal: No Solution Exploring Operation: 37-27=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 27*37=999, Resulting Numbers: [999] 999,23 unequal: No Solution No 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: 23:[19, 9], Operations: ['15+3=18', '27-18=9'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,23 unequal: No Solution Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,23 unequal: No Solution No 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: 23:[18, 8], Operations: ['15+3=18', '27-19=8'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,23 unequal: No Solution No 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: 23:[27, 1], Operations: ['15+3=18', '19-18=1'] Exploring Operation: 27+1=28, Resulting Numbers: [28] 28,23 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,23 unequal: No Solution No 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: 23:[19, 45], Operations: ['15+3=18', '27+18=45'] Exploring Operation: 19*45=855, Resulting Numbers: [855] 855,23 unequal: No Solution Exploring Operation: 19+45=64, Resulting Numbers: [64] 64,23 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,23 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: 23:[27, 15, 22], Operations: ['19+3=22'] Exploring Operation: 27-22=5, Resulting Numbers: [15, 5] Generated Node #0,3,0: 23:[15, 5] Operation: 27-22=5 Exploring Operation: 27+15=42, Resulting Numbers: [22, 42] Generated Node #0,3,1: 23:[22, 42] Operation: 27+15=42 Exploring Operation: 22-15=7, Resulting Numbers: [27, 7] Generated Node #0,3,2: 23:[27, 7] Operation: 22-15=7 Exploring Operation: 27-15=12, Resulting Numbers: [22, 12] Generated Node #0,3,3: 23:[22, 12] Operation: 27-15=12 Exploring Operation: 15+22=37, Resulting Numbers: [27, 37] Generated Node #0,3,4: 23:[27, 37] Operation: 15+22=37 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 23:[22, 12], Operations: ['19+3=22', '27-15=12'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 22*12=264, Resulting Numbers: [264] 264,23 unequal: No Solution No 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: 23:[27, 37], Operations: ['19+3=22', '15+22=37'] Exploring Operation: 37-27=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 27+37=64, Resulting Numbers: [64] 64,23 unequal: No Solution Exploring Operation: 27*37=999, Resulting Numbers: [999] 999,23 unequal: No Solution No 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: 23:[22, 42], Operations: ['19+3=22', '27+15=42'] Exploring Operation: 22*42=924, Resulting Numbers: [924] 924,23 unequal: No Solution Exploring Operation: 22+42=64, Resulting Numbers: [64] 64,23 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,23 unequal: No Solution No 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: 23:[27, 7], Operations: ['19+3=22', '22-15=7'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,23 unequal: No Solution Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,23 unequal: No Solution No 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: 23:[15, 5], Operations: ['19+3=22', '27-22=5'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,23 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,23 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: 23:[19, 15, 30], Operations: ['27+3=30'] Exploring Operation: 19+15=34, Resulting Numbers: [30, 34] Generated Node #0,0,0: 23:[30, 34] Operation: 19+15=34 Exploring Operation: 30-19=11, Resulting Numbers: [15, 11] Generated Node #0,0,1: 23:[15, 11] Operation: 30-19=11 Exploring Operation: 30/15=2, Resulting Numbers: [19, 2] Generated Node #0,0,2: 23:[19, 2] Operation: 30/15=2 Exploring Operation: 19-15=4, Resulting Numbers: [30, 4] Generated Node #0,0,3: 23:[30, 4] Operation: 19-15=4 Exploring Operation: 30-15=15, Resulting Numbers: [19, 15] Generated Node #0,0,4: 23:[19, 15] Operation: 30-15=15 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 23:[19, 15], Operations: ['27+3=30', '30-15=15'] Exploring Operation: 19*15=285, Resulting Numbers: [285] 285,23 unequal: No Solution Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,23 unequal: No Solution No 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: 23:[30, 34], Operations: ['27+3=30', '19+15=34'] Exploring Operation: 30*34=1020, Resulting Numbers: [1020] 1020,23 unequal: No Solution Exploring Operation: 34-30=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 30+34=64, Resulting Numbers: [64] 64,23 unequal: No Solution No 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: 23:[15, 11], Operations: ['27+3=30', '30-19=11'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,23 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,23 unequal: No Solution No 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: 23:[19, 2], Operations: ['27+3=30', '30/15=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,23 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,23 unequal: No Solution No 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: 23:[30, 4], Operations: ['27+3=30', '19-15=4'] Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,23 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: 23:[27, 15, 16], Operations: ['19-3=16'] Exploring Operation: 27-15=12, Resulting Numbers: [16, 12] Generated Node #0,2,0: 23:[16, 12] Operation: 27-15=12 Exploring Operation: 27+15=42, Resulting Numbers: [16, 42] Generated Node #0,2,1: 23:[16, 42] Operation: 27+15=42 Exploring Operation: 16-15=1, Resulting Numbers: [27, 1] Generated Node #0,2,2: 23:[27, 1] Operation: 16-15=1 Exploring Operation: 15+16=31, Resulting Numbers: [27, 31] Generated Node #0,2,3: 23:[27, 31] Operation: 15+16=31 Exploring Operation: 27-16=11, Resulting Numbers: [15, 11] Generated Node #0,2,4: 23:[15, 11] Operation: 27-16=11 Moving to Node #0,2,3 Current State: 23:[27, 31], Operations: ['19-3=16', '15+16=31'] Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,23 unequal: No Solution Exploring Operation: 27*31=837, Resulting Numbers: [837] 837,23 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[16, 12], Operations: ['19-3=16', '27-15=12'] Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,23 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,23 unequal: No Solution Moving to Node #0,2,4 Current State: 23:[15, 11], Operations: ['19-3=16', '27-16=11'] Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,23 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[16, 42], Operations: ['19-3=16', '27+15=42'] Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 16*42=672, Resulting Numbers: [672] 672,23 unequal: No Solution Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[27, 1], Operations: ['19-3=16', '16-15=1'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 27+1=28, Resulting Numbers: [28] 28,23 unequal: No Solution Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,23 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 41, 81, 45, 17 ]
68
[ "81-41=40", "45-17=28", "40+28=68" ]
Current State: 68:[41, 81, 45, 17], Operations: [] Exploring Operation: 81-41=40, Resulting Numbers: [45, 17, 40] Generated Node #2: [45, 17, 40] from Operation: 81-41=40 Current State: 68:[45, 17, 40], Operations: ['81-41=40'] Exploring Operation: 45-17=28, Resulting Numbers: [40, 28] Generated Node #3: [40, 28] from Operation: 45-17=28 Current State: 68:[40, 28], Operations: ['81-41=40', '45-17=28'] Exploring Operation: 40+28=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[41, 81, 45, 17], Operations: [] Exploring Operation: 81-45=36, Resulting Numbers: [41, 17, 36] Generated Node #0,0: 68:[41, 17, 36] Operation: 81-45=36 Moving to Node #0,0 Current State: 68:[41, 17, 36], Operations: ['81-45=36'] Exploring Operation: 41-36=5, Resulting Numbers: [17, 5] Generated Node #0,0,0: 68:[17, 5] Operation: 41-36=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[17, 5], Operations: ['81-45=36', '41-36=5'] Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,68 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
[ 53, 77, 33, 22 ]
66
[ "77-53=24", "24-22=2", "33*2=66" ]
Current State: 66:[53, 77, 33, 22], Operations: [] Exploring Operation: 77-53=24, Resulting Numbers: [33, 22, 24] Generated Node #2: [33, 22, 24] from Operation: 77-53=24 Current State: 66:[33, 22, 24], Operations: ['77-53=24'] Exploring Operation: 24-22=2, Resulting Numbers: [33, 2] Generated Node #3: [33, 2] from Operation: 24-22=2 Current State: 66:[33, 2], Operations: ['77-53=24', '24-22=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[53, 77, 33, 22], Operations: [] Exploring Operation: 53-33=20, Resulting Numbers: [77, 22, 20] Generated Node #0,0: 66:[77, 22, 20] Operation: 53-33=20 Exploring Operation: 77-53=24, Resulting Numbers: [33, 22, 24] Generated Node #0,1: 66:[33, 22, 24] Operation: 77-53=24 Exploring Operation: 53-22=31, Resulting Numbers: [77, 33, 31] Generated Node #0,2: 66:[77, 33, 31] Operation: 53-22=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[33, 22, 24], Operations: ['77-53=24'] Exploring Operation: 33-24=9, Resulting Numbers: [22, 9] Generated Node #0,1,0: 66:[22, 9] Operation: 33-24=9 Exploring Operation: 33-22=11, Resulting Numbers: [24, 11] Generated Node #0,1,1: 66:[24, 11] Operation: 33-22=11 Exploring Operation: 24-22=2, Resulting Numbers: [33, 2] Generated Node #0,1,2: 66:[33, 2] Operation: 24-22=2 Moving to Node #0,1,2 Current State: 66:[33, 2], Operations: ['77-53=24', '24-22=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,66 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[53, 77, 33, 22], Operations: [] Exploring Operation: 77-53=24, Resulting Numbers: [33, 22, 24] Generated Node #0,1: 66:[33, 22, 24] Operation: 77-53=24 Moving to Node #0,1 Current State: 66:[33, 22, 24], Operations: ['77-53=24'] Exploring Operation: 24-22=2, Resulting Numbers: [33, 2] Generated Node #0,1,2: 66:[33, 2] Operation: 24-22=2 Moving to Node #0,1,2 Current State: 66:[33, 2], Operations: ['77-53=24', '24-22=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 75, 54, 13, 9 ]
43
[ "75-54=21", "13+9=22", "21+22=43" ]
Current State: 43:[75, 54, 13, 9], Operations: [] Exploring Operation: 75-54=21, Resulting Numbers: [13, 9, 21] Generated Node #2: [13, 9, 21] from Operation: 75-54=21 Current State: 43:[13, 9, 21], Operations: ['75-54=21'] Exploring Operation: 13+9=22, Resulting Numbers: [21, 22] Generated Node #3: [21, 22] from Operation: 13+9=22 Current State: 43:[21, 22], Operations: ['75-54=21', '13+9=22'] Exploring Operation: 21+22=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[75, 54, 13, 9], Operations: [] Exploring Operation: 75-9=66, Resulting Numbers: [54, 13, 66] Generated Node #0,0: 43:[54, 13, 66] Operation: 75-9=66 Exploring Operation: 54-9=45, Resulting Numbers: [75, 13, 45] Generated Node #0,1: 43:[75, 13, 45] Operation: 54-9=45 Exploring Operation: 13+9=22, Resulting Numbers: [75, 54, 22] Generated Node #0,2: 43:[75, 54, 22] Operation: 13+9=22 Exploring Operation: 75-13=62, Resulting Numbers: [54, 9, 62] Generated Node #0,3: 43:[54, 9, 62] Operation: 75-13=62 Moving to Node #0,0 Current State: 43:[54, 13, 66], Operations: ['75-9=66'] Exploring Operation: 13+66=79, Resulting Numbers: [54, 79] Generated Node #0,0,0: 43:[54, 79] Operation: 13+66=79 Exploring Operation: 54+13=67, Resulting Numbers: [66, 67] Generated Node #0,0,1: 43:[66, 67] Operation: 54+13=67 Exploring Operation: 54-13=41, Resulting Numbers: [66, 41] Generated Node #0,0,2: 43:[66, 41] Operation: 54-13=41 Exploring Operation: 66-13=53, Resulting Numbers: [54, 53] Generated Node #0,0,3: 43:[54, 53] Operation: 66-13=53 Moving to Node #0,2 Current State: 43:[75, 54, 22], Operations: ['13+9=22'] Exploring Operation: 75-22=53, Resulting Numbers: [54, 53] Generated Node #0,2,0: 43:[54, 53] Operation: 75-22=53 Exploring Operation: 75-54=21, Resulting Numbers: [22, 21] Generated Node #0,2,1: 43:[22, 21] Operation: 75-54=21 Exploring Operation: 54-22=32, Resulting Numbers: [75, 32] Generated Node #0,2,2: 43:[75, 32] Operation: 54-22=32 Exploring Operation: 75+22=97, Resulting Numbers: [54, 97] Generated Node #0,2,3: 43:[54, 97] Operation: 75+22=97 Moving to Node #0,1 Current State: 43:[75, 13, 45], Operations: ['54-9=45'] Exploring Operation: 75-13=62, Resulting Numbers: [45, 62] Generated Node #0,1,0: 43:[45, 62] Operation: 75-13=62 Exploring Operation: 75+13=88, Resulting Numbers: [45, 88] Generated Node #0,1,1: 43:[45, 88] Operation: 75+13=88 Exploring Operation: 45-13=32, Resulting Numbers: [75, 32] Generated Node #0,1,2: 43:[75, 32] Operation: 45-13=32 Exploring Operation: 75-45=30, Resulting Numbers: [13, 30] Generated Node #0,1,3: 43:[13, 30] Operation: 75-45=30 Moving to Node #0,3 Current State: 43:[54, 9, 62], Operations: ['75-13=62'] Exploring Operation: 62-9=53, Resulting Numbers: [54, 53] Generated Node #0,3,0: 43:[54, 53] Operation: 62-9=53 Exploring Operation: 9+62=71, Resulting Numbers: [54, 71] Generated Node #0,3,1: 43:[54, 71] Operation: 9+62=71 Exploring Operation: 54-9=45, Resulting Numbers: [62, 45] Generated Node #0,3,2: 43:[62, 45] Operation: 54-9=45 Exploring Operation: 54+9=63, Resulting Numbers: [62, 63] Generated Node #0,3,3: 43:[62, 63] Operation: 54+9=63 Moving to Node #0,0,3 Current State: 43:[54, 53], Operations: ['75-9=66', '66-13=53'] Exploring Operation: 54*53=2862, Resulting Numbers: [2862] 2862,43 unequal: No Solution Exploring Operation: 54+53=107, Resulting Numbers: [107] 107,43 unequal: No Solution Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,43 unequal: No Solution Moving to Node #0,3,0 Current State: 43:[54, 53], Operations: ['75-13=62', '62-9=53'] Exploring Operation: 54+53=107, Resulting Numbers: [107] 107,43 unequal: No Solution Exploring Operation: 54*53=2862, Resulting Numbers: [2862] 2862,43 unequal: No Solution Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,43 unequal: No Solution Moving to Node #0,3,2 Current State: 43:[62, 45], Operations: ['75-13=62', '54-9=45'] Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,43 unequal: No Solution Exploring Operation: 62+45=107, Resulting Numbers: [107] 107,43 unequal: No Solution Exploring Operation: 62*45=2790, Resulting Numbers: [2790] 2790,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[54, 53], Operations: ['13+9=22', '75-22=53'] Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 54*53=2862, Resulting Numbers: [2862] 2862,43 unequal: No Solution Exploring Operation: 54+53=107, Resulting Numbers: [107] 107,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[45, 62], Operations: ['54-9=45', '75-13=62'] Exploring Operation: 45*62=2790, Resulting Numbers: [2790] 2790,43 unequal: No Solution Exploring Operation: 45+62=107, Resulting Numbers: [107] 107,43 unequal: No Solution Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[66, 41], Operations: ['75-9=66', '54-13=41'] Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,43 unequal: No Solution Exploring Operation: 66+41=107, Resulting Numbers: [107] 107,43 unequal: No Solution Exploring Operation: 66*41=2706, Resulting Numbers: [2706] 2706,43 unequal: No Solution Moving to Node #0,3,1 Current State: 43:[54, 71], Operations: ['75-13=62', '9+62=71'] Exploring Operation: 54+71=125, Resulting Numbers: [125] 125,43 unequal: No Solution Exploring Operation: 54*71=3834, Resulting Numbers: [3834] 3834,43 unequal: No Solution Exploring Operation: 71-54=17, Resulting Numbers: [17] 17,43 unequal: No Solution Moving to Node #0,3,3 Current State: 43:[62, 63], Operations: ['75-13=62', '54+9=63'] Exploring Operation: 63-62=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 62*63=3906, Resulting Numbers: [3906] 3906,43 unequal: No Solution Exploring Operation: 62+63=125, Resulting Numbers: [125] 125,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[75, 32], Operations: ['13+9=22', '54-22=32'] Exploring Operation: 75*32=2400, Resulting Numbers: [2400] 2400,43 unequal: No Solution Exploring Operation: 75+32=107, Resulting Numbers: [107] 107,43 unequal: No Solution Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[75, 54, 13, 9], Operations: [] Exploring Operation: 13+9=22, Resulting Numbers: [75, 54, 22] Generated Node #0,2: 43:[75, 54, 22] Operation: 13+9=22 Moving to Node #0,2 Current State: 43:[75, 54, 22], Operations: ['13+9=22'] Exploring Operation: 54-22=32, Resulting Numbers: [75, 32] Generated Node #0,2,2: 43:[75, 32] Operation: 54-22=32 Moving to Node #0,2,2 Current State: 43:[75, 32], Operations: ['13+9=22', '54-22=32'] Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
0.955729
hs_4
sum_heuristic
[ 13, 82, 3, 38 ]
53
[ "82+38=120", "120/3=40", "13+40=53" ]
Current State: 53:[13, 82, 3, 38], Operations: [] Exploring Operation: 82+38=120, Resulting Numbers: [13, 3, 120] Generated Node #2: [13, 3, 120] from Operation: 82+38=120 Current State: 53:[13, 3, 120], Operations: ['82+38=120'] Exploring Operation: 120/3=40, Resulting Numbers: [13, 40] Generated Node #3: [13, 40] from Operation: 120/3=40 Current State: 53:[13, 40], Operations: ['82+38=120', '120/3=40'] Exploring Operation: 13+40=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[13, 82, 3, 38], Operations: [] Exploring Operation: 13*3=39, Resulting Numbers: [82, 38, 39] Generated Node #0,0: 53:[82, 38, 39] Operation: 13*3=39 Exploring Operation: 82-3=79, Resulting Numbers: [13, 38, 79] Generated Node #0,1: 53:[13, 38, 79] Operation: 82-3=79 Exploring Operation: 13+3=16, Resulting Numbers: [82, 38, 16] Generated Node #0,2: 53:[82, 38, 16] Operation: 13+3=16 Exploring Operation: 82-13=69, Resulting Numbers: [3, 38, 69] Generated Node #0,3: 53:[3, 38, 69] Operation: 82-13=69 Exploring Operation: 13+38=51, Resulting Numbers: [82, 3, 51] Generated Node #0,4: 53:[82, 3, 51] Operation: 13+38=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[82, 38, 39], Operations: ['13*3=39'] Exploring Operation: 38+39=77, Resulting Numbers: [82, 77] Generated Node #0,0,0: 53:[82, 77] Operation: 38+39=77 Exploring Operation: 82+38=120, Resulting Numbers: [39, 120] Generated Node #0,0,1: 53:[39, 120] Operation: 82+38=120 Exploring Operation: 39-38=1, Resulting Numbers: [82, 1] Generated Node #0,0,2: 53:[82, 1] Operation: 39-38=1 Exploring Operation: 82-39=43, Resulting Numbers: [38, 43] Generated Node #0,0,3: 53:[38, 43] Operation: 82-39=43 Exploring Operation: 82-38=44, Resulting Numbers: [39, 44] Generated Node #0,0,4: 53:[39, 44] Operation: 82-38=44 Moving to Node #0,0,4 Current State: 53:[39, 44], Operations: ['13*3=39', '82-38=44'] Exploring Operation: 39*44=1716, Resulting Numbers: [1716] 1716,53 unequal: No Solution Exploring Operation: 39+44=83, Resulting Numbers: [83] 83,53 unequal: No Solution Exploring Operation: 44-39=5, Resulting Numbers: [5] 5,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[38, 43], Operations: ['13*3=39', '82-39=43'] Exploring Operation: 38+43=81, Resulting Numbers: [81] 81,53 unequal: No Solution Exploring Operation: 38*43=1634, Resulting Numbers: [1634] 1634,53 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[82, 77], Operations: ['13*3=39', '38+39=77'] Exploring Operation: 82*77=6314, Resulting Numbers: [6314] 6314,53 unequal: No Solution Exploring Operation: 82+77=159, Resulting Numbers: [159] 159,53 unequal: No Solution Exploring Operation: 82-77=5, Resulting Numbers: [5] 5,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[39, 120], Operations: ['13*3=39', '82+38=120'] Exploring Operation: 39*120=4680, Resulting Numbers: [4680] 4680,53 unequal: No Solution Exploring Operation: 120-39=81, Resulting Numbers: [81] 81,53 unequal: No Solution Exploring Operation: 39+120=159, Resulting Numbers: [159] 159,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[82, 1], Operations: ['13*3=39', '39-38=1'] Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,53 unequal: No Solution Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,53 unequal: No Solution Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,53 unequal: No Solution Exploring Operation: 82+1=83, Resulting Numbers: [83] 83,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,1 Current State: 53:[13, 38, 79], Operations: ['82-3=79'] Exploring Operation: 79-13=66, Resulting Numbers: [38, 66] Generated Node #0,1,0: 53:[38, 66] Operation: 79-13=66 Exploring Operation: 13+38=51, Resulting Numbers: [79, 51] Generated Node #0,1,1: 53:[79, 51] Operation: 13+38=51 Exploring Operation: 38-13=25, Resulting Numbers: [79, 25] Generated Node #0,1,2: 53:[79, 25] Operation: 38-13=25 Exploring Operation: 79-38=41, Resulting Numbers: [13, 41] Generated Node #0,1,3: 53:[13, 41] Operation: 79-38=41 Exploring Operation: 13+79=92, Resulting Numbers: [38, 92] Generated Node #0,1,4: 53:[38, 92] Operation: 13+79=92 Moving to Node #0,1,0 Current State: 53:[38, 66], Operations: ['82-3=79', '79-13=66'] Exploring Operation: 66-38=28, Resulting Numbers: [28] 28,53 unequal: No Solution Exploring Operation: 38*66=2508, Resulting Numbers: [2508] 2508,53 unequal: No Solution Exploring Operation: 38+66=104, Resulting Numbers: [104] 104,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[79, 51], Operations: ['82-3=79', '13+38=51'] Exploring Operation: 79*51=4029, Resulting Numbers: [4029] 4029,53 unequal: No Solution Exploring Operation: 79-51=28, Resulting Numbers: [28] 28,53 unequal: No Solution Exploring Operation: 79+51=130, Resulting Numbers: [130] 130,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[13, 41], Operations: ['82-3=79', '79-38=41'] Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,53 unequal: No Solution Exploring Operation: 13+41=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 13*41=533, Resulting Numbers: [533] 533,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[79, 25], Operations: ['82-3=79', '38-13=25'] Exploring Operation: 79*25=1975, Resulting Numbers: [1975] 1975,53 unequal: No Solution Exploring Operation: 79+25=104, Resulting Numbers: [104] 104,53 unequal: No Solution Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,53 unequal: No Solution Moving to Node #0,1,4 Current State: 53:[38, 92], Operations: ['82-3=79', '13+79=92'] Exploring Operation: 38+92=130, Resulting Numbers: [130] 130,53 unequal: No Solution Exploring Operation: 92-38=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 38*92=3496, Resulting Numbers: [3496] 3496,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,2 Current State: 53:[82, 38, 16], Operations: ['13+3=16'] Exploring Operation: 38-16=22, Resulting Numbers: [82, 22] Generated Node #0,2,0: 53:[82, 22] Operation: 38-16=22 Exploring Operation: 82+16=98, Resulting Numbers: [38, 98] Generated Node #0,2,1: 53:[38, 98] Operation: 82+16=98 Exploring Operation: 38+16=54, Resulting Numbers: [82, 54] Generated Node #0,2,2: 53:[82, 54] Operation: 38+16=54 Exploring Operation: 82-16=66, Resulting Numbers: [38, 66] Generated Node #0,2,3: 53:[38, 66] Operation: 82-16=66 Exploring Operation: 82-38=44, Resulting Numbers: [16, 44] Generated Node #0,2,4: 53:[16, 44] Operation: 82-38=44 Moving to Node #0,2,3 Current State: 53:[38, 66], Operations: ['13+3=16', '82-16=66'] Exploring Operation: 66-38=28, Resulting Numbers: [28] 28,53 unequal: No Solution Exploring Operation: 38*66=2508, Resulting Numbers: [2508] 2508,53 unequal: No Solution Exploring Operation: 38+66=104, Resulting Numbers: [104] 104,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[82, 54], Operations: ['13+3=16', '38+16=54'] Exploring Operation: 82*54=4428, Resulting Numbers: [4428] 4428,53 unequal: No Solution Exploring Operation: 82-54=28, Resulting Numbers: [28] 28,53 unequal: No Solution Exploring Operation: 82+54=136, Resulting Numbers: [136] 136,53 unequal: No Solution Moving to Node #0,2,4 Current State: 53:[16, 44], Operations: ['13+3=16', '82-38=44'] Exploring Operation: 16+44=60, Resulting Numbers: [60] 60,53 unequal: No Solution Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,53 unequal: No Solution Exploring Operation: 16*44=704, Resulting Numbers: [704] 704,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[82, 22], Operations: ['13+3=16', '38-16=22'] Exploring Operation: 82*22=1804, Resulting Numbers: [1804] 1804,53 unequal: No Solution Exploring Operation: 82-22=60, Resulting Numbers: [60] 60,53 unequal: No Solution Exploring Operation: 82+22=104, Resulting Numbers: [104] 104,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[38, 98], Operations: ['13+3=16', '82+16=98'] Exploring Operation: 38+98=136, Resulting Numbers: [136] 136,53 unequal: No Solution Exploring Operation: 98-38=60, Resulting Numbers: [60] 60,53 unequal: No Solution Exploring Operation: 38*98=3724, Resulting Numbers: [3724] 3724,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 53:[3, 38, 69], Operations: ['82-13=69'] Exploring Operation: 69-3=66, Resulting Numbers: [38, 66] Generated Node #0,3,0: 53:[38, 66] Operation: 69-3=66 Exploring Operation: 38-3=35, Resulting Numbers: [69, 35] Generated Node #0,3,1: 53:[69, 35] Operation: 38-3=35 Exploring Operation: 3+69=72, Resulting Numbers: [38, 72] Generated Node #0,3,2: 53:[38, 72] Operation: 3+69=72 Exploring Operation: 3+38=41, Resulting Numbers: [69, 41] Generated Node #0,3,3: 53:[69, 41] Operation: 3+38=41 Exploring Operation: 69/3=23, Resulting Numbers: [38, 23] Generated Node #0,3,4: 53:[38, 23] Operation: 69/3=23 Moving to Node #0,3,0 Current State: 53:[38, 66], Operations: ['82-13=69', '69-3=66'] Exploring Operation: 38+66=104, Resulting Numbers: [104] 104,53 unequal: No Solution Exploring Operation: 38*66=2508, Resulting Numbers: [2508] 2508,53 unequal: No Solution Exploring Operation: 66-38=28, Resulting Numbers: [28] 28,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[69, 41], Operations: ['82-13=69', '3+38=41'] Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,53 unequal: No Solution Exploring Operation: 69*41=2829, Resulting Numbers: [2829] 2829,53 unequal: No Solution Exploring Operation: 69+41=110, Resulting Numbers: [110] 110,53 unequal: No Solution Moving to Node #0,3,1 Current State: 53:[69, 35], Operations: ['82-13=69', '38-3=35'] Exploring Operation: 69+35=104, Resulting Numbers: [104] 104,53 unequal: No Solution Exploring Operation: 69*35=2415, Resulting Numbers: [2415] 2415,53 unequal: No Solution Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,53 unequal: No Solution Moving to Node #0,3,2 Current State: 53:[38, 72], Operations: ['82-13=69', '3+69=72'] Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 38*72=2736, Resulting Numbers: [2736] 2736,53 unequal: No Solution Exploring Operation: 38+72=110, Resulting Numbers: [110] 110,53 unequal: No Solution Moving to Node #0,3,4 Current State: 53:[38, 23], Operations: ['82-13=69', '69/3=23'] Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 38+23=61, Resulting Numbers: [61] 61,53 unequal: No Solution Exploring Operation: 38*23=874, Resulting Numbers: [874] 874,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,4 Current State: 53:[82, 3, 51], Operations: ['13+38=51'] Exploring Operation: 82+3=85, Resulting Numbers: [51, 85] Generated Node #0,4,0: 53:[51, 85] Operation: 82+3=85 Exploring Operation: 82-3=79, Resulting Numbers: [51, 79] Generated Node #0,4,1: 53:[51, 79] Operation: 82-3=79 Exploring Operation: 51-3=48, Resulting Numbers: [82, 48] Generated Node #0,4,2: 53:[82, 48] Operation: 51-3=48 Exploring Operation: 51/3=17, Resulting Numbers: [82, 17] Generated Node #0,4,3: 53:[82, 17] Operation: 51/3=17 Exploring Operation: 3+51=54, Resulting Numbers: [82, 54] Generated Node #0,4,4: 53:[82, 54] Operation: 3+51=54 Moving to Node #0,4,1 Current State: 53:[51, 79], Operations: ['13+38=51', '82-3=79'] Exploring Operation: 51*79=4029, Resulting Numbers: [4029] 4029,53 unequal: No Solution Exploring Operation: 51+79=130, Resulting Numbers: [130] 130,53 unequal: No Solution Exploring Operation: 79-51=28, Resulting Numbers: [28] 28,53 unequal: No Solution Moving to Node #0,4,4 Current State: 53:[82, 54], Operations: ['13+38=51', '3+51=54'] Exploring Operation: 82+54=136, Resulting Numbers: [136] 136,53 unequal: No Solution Exploring Operation: 82-54=28, Resulting Numbers: [28] 28,53 unequal: No Solution Exploring Operation: 82*54=4428, Resulting Numbers: [4428] 4428,53 unequal: No Solution Moving to Node #0,4,0 Current State: 53:[51, 85], Operations: ['13+38=51', '82+3=85'] Exploring Operation: 51+85=136, Resulting Numbers: [136] 136,53 unequal: No Solution Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 51*85=4335, Resulting Numbers: [4335] 4335,53 unequal: No Solution Moving to Node #0,4,2 Current State: 53:[82, 48], Operations: ['13+38=51', '51-3=48'] Exploring Operation: 82*48=3936, Resulting Numbers: [3936] 3936,53 unequal: No Solution Exploring Operation: 82+48=130, Resulting Numbers: [130] 130,53 unequal: No Solution Exploring Operation: 82-48=34, Resulting Numbers: [34] 34,53 unequal: No Solution Moving to Node #0,4,3 Current State: 53:[82, 17], Operations: ['13+38=51', '51/3=17'] Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,53 unequal: No Solution Exploring Operation: 82*17=1394, Resulting Numbers: [1394] 1394,53 unequal: No Solution Exploring Operation: 82+17=99, Resulting Numbers: [99] 99,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 8, 71, 58, 9 ]
57
[ "8*9=72", "71+58=129", "129-72=57" ]
Current State: 57:[8, 71, 58, 9], Operations: [] Exploring Operation: 8*9=72, Resulting Numbers: [71, 58, 72] Generated Node #2: [71, 58, 72] from Operation: 8*9=72 Current State: 57:[71, 58, 72], Operations: ['8*9=72'] Exploring Operation: 71+58=129, Resulting Numbers: [72, 129] Generated Node #3: [72, 129] from Operation: 71+58=129 Current State: 57:[72, 129], Operations: ['8*9=72', '71+58=129'] Exploring Operation: 129-72=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[8, 71, 58, 9], Operations: [] Exploring Operation: 71-8=63, Resulting Numbers: [58, 9, 63] Generated Node #0,0: 57:[58, 9, 63] Operation: 71-8=63 Exploring Operation: 8+9=17, Resulting Numbers: [71, 58, 17] Generated Node #0,1: 57:[71, 58, 17] Operation: 8+9=17 Exploring Operation: 71-9=62, Resulting Numbers: [8, 58, 62] Generated Node #0,2: 57:[8, 58, 62] Operation: 71-9=62 Moving to Node #0,2 Current State: 57:[8, 58, 62], Operations: ['71-9=62'] Exploring Operation: 58-8=50, Resulting Numbers: [62, 50] Generated Node #0,2,0: 57:[62, 50] Operation: 58-8=50 Exploring Operation: 62-58=4, Resulting Numbers: [8, 4] Generated Node #0,2,1: 57:[8, 4] Operation: 62-58=4 Exploring Operation: 62-8=54, Resulting Numbers: [58, 54] Generated Node #0,2,2: 57:[58, 54] Operation: 62-8=54 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 57:[58, 54], Operations: ['71-9=62', '62-8=54'] Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 58*54=3132, Resulting Numbers: [3132] 3132,57 unequal: No Solution Exploring Operation: 58+54=112, Resulting Numbers: [112] 112,57 unequal: No Solution No 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: 57:[8, 4], Operations: ['71-9=62', '62-58=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,57 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,57 unequal: No Solution No 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: 57:[62, 50], Operations: ['71-9=62', '58-8=50'] Exploring Operation: 62*50=3100, Resulting Numbers: [3100] 3100,57 unequal: No Solution Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,57 unequal: No Solution Exploring Operation: 62+50=112, Resulting Numbers: [112] 112,57 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: 57:[58, 9, 63], Operations: ['71-8=63'] Exploring Operation: 63-9=54, Resulting Numbers: [58, 54] Generated Node #0,0,0: 57:[58, 54] Operation: 63-9=54 Exploring Operation: 63/9=7, Resulting Numbers: [58, 7] Generated Node #0,0,1: 57:[58, 7] Operation: 63/9=7 Exploring Operation: 63-58=5, Resulting Numbers: [9, 5] Generated Node #0,0,2: 57:[9, 5] Operation: 63-58=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[58, 54], Operations: ['71-8=63', '63-9=54'] Exploring Operation: 58*54=3132, Resulting Numbers: [3132] 3132,57 unequal: No Solution Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 58+54=112, Resulting Numbers: [112] 112,57 unequal: No Solution No 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: 57:[58, 7], Operations: ['71-8=63', '63/9=7'] Exploring Operation: 58*7=406, Resulting Numbers: [406] 406,57 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,57 unequal: No Solution Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,57 unequal: No Solution No 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: 57:[9, 5], Operations: ['71-8=63', '63-58=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,57 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,57 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: 57:[71, 58, 17], Operations: ['8+9=17'] Exploring Operation: 71-58=13, Resulting Numbers: [17, 13] Generated Node #0,1,0: 57:[17, 13] Operation: 71-58=13 Exploring Operation: 71-17=54, Resulting Numbers: [58, 54] Generated Node #0,1,1: 57:[58, 54] Operation: 71-17=54 Exploring Operation: 58-17=41, Resulting Numbers: [71, 41] Generated Node #0,1,2: 57:[71, 41] Operation: 58-17=41 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[58, 54], Operations: ['8+9=17', '71-17=54'] Exploring Operation: 58*54=3132, Resulting Numbers: [3132] 3132,57 unequal: No Solution Exploring Operation: 58+54=112, Resulting Numbers: [112] 112,57 unequal: No Solution Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,57 unequal: No Solution No 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: 57:[17, 13], Operations: ['8+9=17', '71-58=13'] Exploring Operation: 17*13=221, Resulting Numbers: [221] 221,57 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 17+13=30, Resulting Numbers: [30] 30,57 unequal: No Solution No 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: 57:[71, 41], Operations: ['8+9=17', '58-17=41'] Exploring Operation: 71*41=2911, Resulting Numbers: [2911] 2911,57 unequal: No Solution Exploring Operation: 71+41=112, Resulting Numbers: [112] 112,57 unequal: No Solution Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,57 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
[ 15, 95, 7, 60 ]
70
[ "15*7=105", "95-60=35", "105-35=70" ]
Current State: 70:[15, 95, 7, 60], Operations: [] Exploring Operation: 15*7=105, Resulting Numbers: [95, 60, 105] Generated Node #2: [95, 60, 105] from Operation: 15*7=105 Current State: 70:[95, 60, 105], Operations: ['15*7=105'] Exploring Operation: 95-60=35, Resulting Numbers: [105, 35] Generated Node #3: [105, 35] from Operation: 95-60=35 Current State: 70:[105, 35], Operations: ['15*7=105', '95-60=35'] Exploring Operation: 105-35=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[15, 95, 7, 60], Operations: [] Exploring Operation: 95-7=88, Resulting Numbers: [15, 60, 88] Generated Node #0,0: 70:[15, 60, 88] Operation: 95-7=88 Exploring Operation: 95-15=80, Resulting Numbers: [7, 60, 80] Generated Node #0,1: 70:[7, 60, 80] Operation: 95-15=80 Exploring Operation: 95-60=35, Resulting Numbers: [15, 7, 35] Generated Node #0,2: 70:[15, 7, 35] Operation: 95-60=35 Exploring Operation: 60/15=4, Resulting Numbers: [95, 7, 4] Generated Node #0,3: 70:[95, 7, 4] Operation: 60/15=4 Moving to Node #0,2 Current State: 70:[15, 7, 35], Operations: ['95-60=35'] Exploring Operation: 35/7=5, Resulting Numbers: [15, 5] Generated Node #0,2,0: 70:[15, 5] Operation: 35/7=5 Exploring Operation: 15+7=22, Resulting Numbers: [35, 22] Generated Node #0,2,1: 70:[35, 22] Operation: 15+7=22 Exploring Operation: 15-7=8, Resulting Numbers: [35, 8] Generated Node #0,2,2: 70:[35, 8] Operation: 15-7=8 Exploring Operation: 35-15=20, Resulting Numbers: [7, 20] Generated Node #0,2,3: 70:[7, 20] Operation: 35-15=20 Moving to Node #0,1 Current State: 70:[7, 60, 80], Operations: ['95-15=80'] Exploring Operation: 7+60=67, Resulting Numbers: [80, 67] Generated Node #0,1,0: 70:[80, 67] Operation: 7+60=67 Exploring Operation: 80-7=73, Resulting Numbers: [60, 73] Generated Node #0,1,1: 70:[60, 73] Operation: 80-7=73 Exploring Operation: 60-7=53, Resulting Numbers: [80, 53] Generated Node #0,1,2: 70:[80, 53] Operation: 60-7=53 Exploring Operation: 80-60=20, Resulting Numbers: [7, 20] Generated Node #0,1,3: 70:[7, 20] Operation: 80-60=20 Moving to Node #0,3 Current State: 70:[95, 7, 4], Operations: ['60/15=4'] Exploring Operation: 95-7=88, Resulting Numbers: [4, 88] Generated Node #0,3,0: 70:[4, 88] Operation: 95-7=88 Exploring Operation: 7+4=11, Resulting Numbers: [95, 11] Generated Node #0,3,1: 70:[95, 11] Operation: 7+4=11 Exploring Operation: 95-4=91, Resulting Numbers: [7, 91] Generated Node #0,3,2: 70:[7, 91] Operation: 95-4=91 Exploring Operation: 7-4=3, Resulting Numbers: [95, 3] Generated Node #0,3,3: 70:[95, 3] Operation: 7-4=3 Moving to Node #0,0 Current State: 70:[15, 60, 88], Operations: ['95-7=88'] Exploring Operation: 60/15=4, Resulting Numbers: [88, 4] Generated Node #0,0,0: 70:[88, 4] Operation: 60/15=4 Exploring Operation: 88-15=73, Resulting Numbers: [60, 73] Generated Node #0,0,1: 70:[60, 73] Operation: 88-15=73 Exploring Operation: 15+60=75, Resulting Numbers: [88, 75] Generated Node #0,0,2: 70:[88, 75] Operation: 15+60=75 Exploring Operation: 88-60=28, Resulting Numbers: [15, 28] Generated Node #0,0,3: 70:[15, 28] Operation: 88-60=28 Moving to Node #0,2,0 Current State: 70:[15, 5], Operations: ['95-60=35', '35/7=5'] Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[35, 8], Operations: ['95-60=35', '15-7=8'] Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,70 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,70 unequal: No Solution Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,70 unequal: No Solution Moving to Node #0,2,3 Current State: 70:[7, 20], Operations: ['95-60=35', '35-15=20'] Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,70 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,70 unequal: No Solution Moving to Node #0,1,3 Current State: 70:[7, 20], Operations: ['95-15=80', '80-60=20'] Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,70 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,70 unequal: No Solution Moving to Node #0,0,3 Current State: 70:[15, 28], Operations: ['95-7=88', '88-60=28'] Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,70 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[35, 22], Operations: ['95-60=35', '15+7=22'] Exploring Operation: 35+22=57, Resulting Numbers: [57] 57,70 unequal: No Solution Exploring Operation: 35*22=770, Resulting Numbers: [770] 770,70 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[60, 73], Operations: ['95-15=80', '80-7=73'] Exploring Operation: 73-60=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 60+73=133, Resulting Numbers: [133] 133,70 unequal: No Solution Exploring Operation: 60*73=4380, Resulting Numbers: [4380] 4380,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[80, 67], Operations: ['95-15=80', '7+60=67'] Exploring Operation: 80+67=147, Resulting Numbers: [147] 147,70 unequal: No Solution Exploring Operation: 80*67=5360, Resulting Numbers: [5360] 5360,70 unequal: No Solution Exploring Operation: 80-67=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[60, 73], Operations: ['95-7=88', '88-15=73'] Exploring Operation: 60+73=133, Resulting Numbers: [133] 133,70 unequal: No Solution Exploring Operation: 60*73=4380, Resulting Numbers: [4380] 4380,70 unequal: No Solution Exploring Operation: 73-60=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[88, 4], Operations: ['95-7=88', '60/15=4'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,70 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,70 unequal: No Solution Exploring Operation: 88*4=352, Resulting Numbers: [352] 352,70 unequal: No Solution Exploring Operation: 88+4=92, Resulting Numbers: [92] 92,70 unequal: No Solution Moving to Node #0,3,0 Current State: 70:[4, 88], Operations: ['60/15=4', '95-7=88'] Exploring Operation: 4+88=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 4*88=352, Resulting Numbers: [352] 352,70 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,70 unequal: No Solution Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,70 unequal: No Solution Moving to Node #0,3,2 Current State: 70:[7, 91], Operations: ['60/15=4', '95-4=91'] Exploring Operation: 7*91=637, Resulting Numbers: [637] 637,70 unequal: No Solution Exploring Operation: 91-7=84, Resulting Numbers: [84] 84,70 unequal: No Solution Exploring Operation: 7+91=98, Resulting Numbers: [98] 98,70 unequal: No Solution Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[88, 75], Operations: ['95-7=88', '15+60=75'] Exploring Operation: 88-75=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 88+75=163, Resulting Numbers: [163] 163,70 unequal: No Solution Exploring Operation: 88*75=6600, Resulting Numbers: [6600] 6600,70 unequal: No Solution Moving to Node #0,3,1 Current State: 70:[95, 11], Operations: ['60/15=4', '7+4=11'] Exploring Operation: 95+11=106, Resulting Numbers: [106] 106,70 unequal: No Solution Exploring Operation: 95*11=1045, Resulting Numbers: [1045] 1045,70 unequal: No Solution Exploring Operation: 95-11=84, Resulting Numbers: [84] 84,70 unequal: No Solution Moving to Node #0,3,3 Current State: 70:[95, 3], Operations: ['60/15=4', '7-4=3'] Exploring Operation: 95*3=285, Resulting Numbers: [285] 285,70 unequal: No Solution Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,70 unequal: No Solution Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[80, 53], Operations: ['95-15=80', '60-7=53'] Exploring Operation: 80+53=133, Resulting Numbers: [133] 133,70 unequal: No Solution Exploring Operation: 80-53=27, Resulting Numbers: [27] 27,70 unequal: No Solution Exploring Operation: 80*53=4240, Resulting Numbers: [4240] 4240,70 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 86, 55, 36, 89 ]
22
[ "86-55=31", "89-36=53", "53-31=22" ]
Current State: 22:[86, 55, 36, 89], Operations: [] Exploring Operation: 86-55=31, Resulting Numbers: [36, 89, 31] Generated Node #2: [36, 89, 31] from Operation: 86-55=31 Current State: 22:[36, 89, 31], Operations: ['86-55=31'] Exploring Operation: 89-36=53, Resulting Numbers: [31, 53] Generated Node #3: [31, 53] from Operation: 89-36=53 Current State: 22:[31, 53], Operations: ['86-55=31', '89-36=53'] Exploring Operation: 53-31=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[86, 55, 36, 89], Operations: [] Exploring Operation: 89-86=3, Resulting Numbers: [55, 36, 3] Generated Node #0,0: 22:[55, 36, 3] Operation: 89-86=3 Exploring Operation: 86-36=50, Resulting Numbers: [55, 89, 50] Generated Node #0,1: 22:[55, 89, 50] Operation: 86-36=50 Exploring Operation: 89-55=34, Resulting Numbers: [86, 36, 34] Generated Node #0,2: 22:[86, 36, 34] Operation: 89-55=34 Exploring Operation: 86-55=31, Resulting Numbers: [36, 89, 31] Generated Node #0,3: 22:[36, 89, 31] Operation: 86-55=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[55, 36, 3], Operations: ['89-86=3'] Exploring Operation: 36-3=33, Resulting Numbers: [55, 33] Generated Node #0,0,0: 22:[55, 33] Operation: 36-3=33 Exploring Operation: 36/3=12, Resulting Numbers: [55, 12] Generated Node #0,0,1: 22:[55, 12] Operation: 36/3=12 Exploring Operation: 55-36=19, Resulting Numbers: [3, 19] Generated Node #0,0,2: 22:[3, 19] Operation: 55-36=19 Exploring Operation: 55-3=52, Resulting Numbers: [36, 52] Generated Node #0,0,3: 22:[36, 52] Operation: 55-3=52 Moving to Node #0,0,2 Current State: 22:[3, 19], Operations: ['89-86=3', '55-36=19'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[86, 55, 36, 89], Operations: [] Exploring Operation: 89-86=3, Resulting Numbers: [55, 36, 3] Generated Node #0,0: 22:[55, 36, 3] Operation: 89-86=3 Moving to Node #0,0 Current State: 22:[55, 36, 3], Operations: ['89-86=3'] Exploring Operation: 55-36=19, Resulting Numbers: [3, 19] Generated Node #0,0,2: 22:[3, 19] Operation: 55-36=19 Moving to Node #0,0,2 Current State: 22:[3, 19], Operations: ['89-86=3', '55-36=19'] Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 64, 38, 55, 16 ]
64
[ "55-38=17", "17-16=1", "64*1=64" ]
Current State: 64:[64, 38, 55, 16], Operations: [] Exploring Operation: 55-38=17, Resulting Numbers: [64, 16, 17] Generated Node #2: [64, 16, 17] from Operation: 55-38=17 Current State: 64:[64, 16, 17], Operations: ['55-38=17'] Exploring Operation: 17-16=1, Resulting Numbers: [64, 1] Generated Node #3: [64, 1] from Operation: 17-16=1 Current State: 64:[64, 1], Operations: ['55-38=17', '17-16=1'] Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[64, 38, 55, 16], Operations: [] Exploring Operation: 55+16=71, Resulting Numbers: [64, 38, 71] Generated Node #0,0: 64:[64, 38, 71] Operation: 55+16=71 Exploring Operation: 55-38=17, Resulting Numbers: [64, 16, 17] Generated Node #0,1: 64:[64, 16, 17] Operation: 55-38=17 Exploring Operation: 64-55=9, Resulting Numbers: [38, 16, 9] Generated Node #0,2: 64:[38, 16, 9] Operation: 64-55=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[64, 16, 17], Operations: ['55-38=17'] Exploring Operation: 17-16=1, Resulting Numbers: [64, 1] Generated Node #0,1,0: 64:[64, 1] Operation: 17-16=1 Exploring Operation: 64/16=4, Resulting Numbers: [17, 4] Generated Node #0,1,1: 64:[17, 4] Operation: 64/16=4 Exploring Operation: 16+17=33, Resulting Numbers: [64, 33] Generated Node #0,1,2: 64:[64, 33] Operation: 16+17=33 Moving to Node #0,1,0 Current State: 64:[64, 1], Operations: ['55-38=17', '17-16=1'] Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[64, 38, 55, 16], Operations: [] Exploring Operation: 55-38=17, Resulting Numbers: [64, 16, 17] Generated Node #0,1: 64:[64, 16, 17] Operation: 55-38=17 Moving to Node #0,1 Current State: 64:[64, 16, 17], Operations: ['55-38=17'] Exploring Operation: 17-16=1, Resulting Numbers: [64, 1] Generated Node #0,1,0: 64:[64, 1] Operation: 17-16=1 Moving to Node #0,1,0 Current State: 64:[64, 1], Operations: ['55-38=17', '17-16=1'] Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 43, 11, 3, 13 ]
31
[ "43+11=54", "54/3=18", "13+18=31" ]
Current State: 31:[43, 11, 3, 13], Operations: [] Exploring Operation: 43+11=54, Resulting Numbers: [3, 13, 54] Generated Node #2: [3, 13, 54] from Operation: 43+11=54 Current State: 31:[3, 13, 54], Operations: ['43+11=54'] Exploring Operation: 54/3=18, Resulting Numbers: [13, 18] Generated Node #3: [13, 18] from Operation: 54/3=18 Current State: 31:[13, 18], Operations: ['43+11=54', '54/3=18'] Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[43, 11, 3, 13], Operations: [] Exploring Operation: 11*3=33, Resulting Numbers: [43, 13, 33] Generated Node #0,0: 31:[43, 13, 33] Operation: 11*3=33 Exploring Operation: 3*13=39, Resulting Numbers: [43, 11, 39] Generated Node #0,1: 31:[43, 11, 39] Operation: 3*13=39 Exploring Operation: 43-11=32, Resulting Numbers: [3, 13, 32] Generated Node #0,2: 31:[3, 13, 32] Operation: 43-11=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[43, 13, 33], Operations: ['11*3=33'] Exploring Operation: 43+13=56, Resulting Numbers: [33, 56] Generated Node #0,0,0: 31:[33, 56] Operation: 43+13=56 Exploring Operation: 43-13=30, Resulting Numbers: [33, 30] Generated Node #0,0,1: 31:[33, 30] Operation: 43-13=30 Exploring Operation: 33-13=20, Resulting Numbers: [43, 20] Generated Node #0,0,2: 31:[43, 20] Operation: 33-13=20 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[33, 30], Operations: ['11*3=33', '43-13=30'] Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,31 unequal: No Solution Exploring Operation: 33*30=990, Resulting Numbers: [990] 990,31 unequal: No Solution Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,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:[43, 20], Operations: ['11*3=33', '33-13=20'] Exploring Operation: 43*20=860, Resulting Numbers: [860] 860,31 unequal: No Solution Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 43+20=63, Resulting Numbers: [63] 63,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:[33, 56], Operations: ['11*3=33', '43+13=56'] Exploring Operation: 33+56=89, Resulting Numbers: [89] 89,31 unequal: No Solution Exploring Operation: 56-33=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 33*56=1848, Resulting Numbers: [1848] 1848,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[43, 11, 39], Operations: ['3*13=39'] Exploring Operation: 43+11=54, Resulting Numbers: [39, 54] Generated Node #0,1,0: 31:[39, 54] Operation: 43+11=54 Exploring Operation: 43-11=32, Resulting Numbers: [39, 32] Generated Node #0,1,1: 31:[39, 32] Operation: 43-11=32 Exploring Operation: 39-11=28, Resulting Numbers: [43, 28] Generated Node #0,1,2: 31:[43, 28] Operation: 39-11=28 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[39, 32], Operations: ['3*13=39', '43-11=32'] Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,31 unequal: No Solution Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,31 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 31:[43, 28], Operations: ['3*13=39', '39-11=28'] Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 43*28=1204, Resulting Numbers: [1204] 1204,31 unequal: No Solution Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[39, 54], Operations: ['3*13=39', '43+11=54'] Exploring Operation: 39+54=93, Resulting Numbers: [93] 93,31 unequal: No Solution Exploring Operation: 39*54=2106, Resulting Numbers: [2106] 2106,31 unequal: No Solution Exploring Operation: 54-39=15, Resulting Numbers: [15] 15,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,2 Current State: 31:[3, 13, 32], Operations: ['43-11=32'] Exploring Operation: 32-3=29, Resulting Numbers: [13, 29] Generated Node #0,2,0: 31:[13, 29] Operation: 32-3=29 Exploring Operation: 3+13=16, Resulting Numbers: [32, 16] Generated Node #0,2,1: 31:[32, 16] Operation: 3+13=16 Exploring Operation: 3*13=39, Resulting Numbers: [32, 39] Generated Node #0,2,2: 31:[32, 39] Operation: 3*13=39 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 31:[32, 39], Operations: ['43-11=32', '3*13=39'] Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 32+39=71, Resulting Numbers: [71] 71,31 unequal: No Solution Exploring Operation: 32*39=1248, Resulting Numbers: [1248] 1248,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 31:[32, 16], Operations: ['43-11=32', '3+13=16'] Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 32+16=48, Resulting Numbers: [48] 48,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 31:[13, 29], Operations: ['43-11=32', '32-3=29'] Exploring Operation: 13+29=42, Resulting Numbers: [42] 42,31 unequal: No Solution Exploring Operation: 13*29=377, Resulting Numbers: [377] 377,31 unequal: No Solution Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 65, 88, 29, 41 ]
83
[ "65+88=153", "29+41=70", "153-70=83" ]
Current State: 83:[65, 88, 29, 41], Operations: [] Exploring Operation: 65+88=153, Resulting Numbers: [29, 41, 153] Generated Node #2: [29, 41, 153] from Operation: 65+88=153 Current State: 83:[29, 41, 153], Operations: ['65+88=153'] Exploring Operation: 29+41=70, Resulting Numbers: [153, 70] Generated Node #3: [153, 70] from Operation: 29+41=70 Current State: 83:[153, 70], Operations: ['65+88=153', '29+41=70'] Exploring Operation: 153-70=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[65, 88, 29, 41], Operations: [] Exploring Operation: 65+41=106, Resulting Numbers: [88, 29, 106] Generated Node #0,0: 83:[88, 29, 106] Operation: 65+41=106 Exploring Operation: 65+29=94, Resulting Numbers: [88, 41, 94] Generated Node #0,1: 83:[88, 41, 94] Operation: 65+29=94 Exploring Operation: 88-29=59, Resulting Numbers: [65, 41, 59] Generated Node #0,2: 83:[65, 41, 59] Operation: 88-29=59 Exploring Operation: 29+41=70, Resulting Numbers: [65, 88, 70] Generated Node #0,3: 83:[65, 88, 70] Operation: 29+41=70 Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[65, 88, 70], Operations: ['29+41=70'] Exploring Operation: 65+70=135, Resulting Numbers: [88, 135] Generated Node #0,3,0: 83:[88, 135] Operation: 65+70=135 Exploring Operation: 65+88=153, Resulting Numbers: [70, 153] Generated Node #0,3,1: 83:[70, 153] Operation: 65+88=153 Exploring Operation: 70-65=5, Resulting Numbers: [88, 5] Generated Node #0,3,2: 83:[88, 5] Operation: 70-65=5 Exploring Operation: 88-65=23, Resulting Numbers: [70, 23] Generated Node #0,3,3: 83:[70, 23] Operation: 88-65=23 Moving to Node #0,3,0 Current State: 83:[88, 135], Operations: ['29+41=70', '65+70=135'] Exploring Operation: 88*135=11880, Resulting Numbers: [11880] 11880,83 unequal: No Solution Exploring Operation: 135-88=47, Resulting Numbers: [47] 47,83 unequal: No Solution Exploring Operation: 88+135=223, Resulting Numbers: [223] 223,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[70, 23], Operations: ['29+41=70', '88-65=23'] Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,83 unequal: No Solution Exploring Operation: 70*23=1610, Resulting Numbers: [1610] 1610,83 unequal: No Solution Exploring Operation: 70+23=93, Resulting Numbers: [93] 93,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[88, 5], Operations: ['29+41=70', '70-65=5'] Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[65, 88, 29, 41], Operations: [] Exploring Operation: 29+41=70, Resulting Numbers: [65, 88, 70] Generated Node #0,3: 83:[65, 88, 70] Operation: 29+41=70 Moving to Node #0,3 Current State: 83:[65, 88, 70], Operations: ['29+41=70'] Exploring Operation: 70-65=5, Resulting Numbers: [88, 5] Generated Node #0,3,2: 83:[88, 5] Operation: 70-65=5 Moving to Node #0,3,2 Current State: 83:[88, 5], Operations: ['29+41=70', '70-65=5'] Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 23, 72, 60, 23 ]
58
[ "23+72=95", "60-23=37", "95-37=58" ]
Current State: 58:[23, 72, 60, 23], Operations: [] Exploring Operation: 23+72=95, Resulting Numbers: [60, 95] Generated Node #2: [60, 95] from Operation: 23+72=95 Current State: 58:[60, 95], Operations: ['23+72=95'] Exploring Operation: 60-23=37, Resulting Numbers: [95, 37] Generated Node #3: [95, 37] from Operation: 60-23=37 Current State: 58:[95, 37], Operations: ['23+72=95', '60-23=37'] Exploring Operation: 95-37=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[23, 72, 60, 23], Operations: [] Exploring Operation: 23/23=1, Resulting Numbers: [72, 60, 1] Generated Node #0,0: 58:[72, 60, 1] Operation: 23/23=1 Exploring Operation: 72-23=49, Resulting Numbers: [60, 23, 49] Generated Node #0,1: 58:[60, 23, 49] Operation: 72-23=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[72, 60, 1], Operations: ['23/23=1'] Exploring Operation: 72-60=12, Resulting Numbers: [1, 12] Generated Node #0,0,0: 58:[1, 12] Operation: 72-60=12 Exploring Operation: 72-1=71, Resulting Numbers: [60, 71] Generated Node #0,0,1: 58:[60, 71] Operation: 72-1=71 Moving to Node #0,0,0 Current State: 58:[1, 12], Operations: ['23/23=1', '72-60=12'] Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,58 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[60, 71], Operations: ['23/23=1', '72-1=71'] Exploring Operation: 71-60=11, Resulting Numbers: [11] 11,58 unequal: No Solution Exploring Operation: 60+71=131, Resulting Numbers: [131] 131,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[60, 23, 49], Operations: ['72-23=49'] Exploring Operation: 49-23=26, Resulting Numbers: [60, 26] Generated Node #0,1,0: 58:[60, 26] Operation: 49-23=26 Exploring Operation: 60-49=11, Resulting Numbers: [23, 11] Generated Node #0,1,1: 58:[23, 11] Operation: 60-49=11 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 58:[60, 26], Operations: ['72-23=49', '49-23=26'] Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 60+26=86, Resulting Numbers: [86] 86,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 58:[23, 11], Operations: ['72-23=49', '60-49=11'] Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,58 unequal: No Solution Exploring Operation: 23+11=34, Resulting Numbers: [34] 34,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 76, 26, 66, 67 ]
51
[ "76-26=50", "67-66=1", "50+1=51" ]
Current State: 51:[76, 26, 66, 67], Operations: [] Exploring Operation: 76-26=50, Resulting Numbers: [66, 67, 50] Generated Node #2: [66, 67, 50] from Operation: 76-26=50 Current State: 51:[66, 67, 50], Operations: ['76-26=50'] Exploring Operation: 67-66=1, Resulting Numbers: [50, 1] Generated Node #3: [50, 1] from Operation: 67-66=1 Current State: 51:[50, 1], Operations: ['76-26=50', '67-66=1'] Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[76, 26, 66, 67], Operations: [] Exploring Operation: 76-26=50, Resulting Numbers: [66, 67, 50] Generated Node #0,0: 51:[66, 67, 50] Operation: 76-26=50 Exploring Operation: 67-66=1, Resulting Numbers: [76, 26, 1] Generated Node #0,1: 51:[76, 26, 1] Operation: 67-66=1 Exploring Operation: 76-67=9, Resulting Numbers: [26, 66, 9] Generated Node #0,2: 51:[26, 66, 9] Operation: 76-67=9 Exploring Operation: 76-66=10, Resulting Numbers: [26, 67, 10] Generated Node #0,3: 51:[26, 67, 10] Operation: 76-66=10 Moving to Node #0,2 Current State: 51:[26, 66, 9], Operations: ['76-67=9'] Exploring Operation: 66-26=40, Resulting Numbers: [9, 40] Generated Node #0,2,0: 51:[9, 40] Operation: 66-26=40 Exploring Operation: 26-9=17, Resulting Numbers: [66, 17] Generated Node #0,2,1: 51:[66, 17] Operation: 26-9=17 Exploring Operation: 66-9=57, Resulting Numbers: [26, 57] Generated Node #0,2,2: 51:[26, 57] Operation: 66-9=57 Exploring Operation: 26+9=35, Resulting Numbers: [66, 35] Generated Node #0,2,3: 51:[66, 35] Operation: 26+9=35 Moving to Node #0,3 Current State: 51:[26, 67, 10], Operations: ['76-66=10'] Exploring Operation: 67-10=57, Resulting Numbers: [26, 57] Generated Node #0,3,0: 51:[26, 57] Operation: 67-10=57 Exploring Operation: 26+10=36, Resulting Numbers: [67, 36] Generated Node #0,3,1: 51:[67, 36] Operation: 26+10=36 Exploring Operation: 26-10=16, Resulting Numbers: [67, 16] Generated Node #0,3,2: 51:[67, 16] Operation: 26-10=16 Exploring Operation: 67-26=41, Resulting Numbers: [10, 41] Generated Node #0,3,3: 51:[10, 41] Operation: 67-26=41 Moving to Node #0,0 Current State: 51:[66, 67, 50], Operations: ['76-26=50'] Exploring Operation: 66-50=16, Resulting Numbers: [67, 16] Generated Node #0,0,0: 51:[67, 16] Operation: 66-50=16 Exploring Operation: 66+50=116, Resulting Numbers: [67, 116] Generated Node #0,0,1: 51:[67, 116] Operation: 66+50=116 Exploring Operation: 67-66=1, Resulting Numbers: [50, 1] Generated Node #0,0,2: 51:[50, 1] Operation: 67-66=1 Exploring Operation: 67-50=17, Resulting Numbers: [66, 17] Generated Node #0,0,3: 51:[66, 17] Operation: 67-50=17 Moving to Node #0,1 Current State: 51:[76, 26, 1], Operations: ['67-66=1'] Exploring Operation: 26-1=25, Resulting Numbers: [76, 25] Generated Node #0,1,0: 51:[76, 25] Operation: 26-1=25 Exploring Operation: 76-26=50, Resulting Numbers: [1, 50] Generated Node #0,1,1: 51:[1, 50] Operation: 76-26=50 Exploring Operation: 76-1=75, Resulting Numbers: [26, 75] Generated Node #0,1,2: 51:[26, 75] Operation: 76-1=75 Exploring Operation: 76*1=76, Resulting Numbers: [26, 76] Generated Node #0,1,3: 51:[26, 76] Operation: 76*1=76 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 51:[1, 50], Operations: ['67-66=1', '76-26=50'] Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 1*50=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,51 unequal: No Solution Exploring Operation: 1+50=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[76, 26, 66, 67], Operations: [] Exploring Operation: 67-66=1, Resulting Numbers: [76, 26, 1] Generated Node #0,1: 51:[76, 26, 1] Operation: 67-66=1 Moving to Node #0,1 Current State: 51:[76, 26, 1], Operations: ['67-66=1'] Exploring Operation: 76-26=50, Resulting Numbers: [1, 50] Generated Node #0,1,1: 51:[1, 50] Operation: 76-26=50 Moving to Node #0,1,1 Current State: 51:[1, 50], Operations: ['67-66=1', '76-26=50'] Exploring Operation: 1+50=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_4
sum_heuristic
[ 73, 28, 16, 17 ]
14
[ "73-17=56", "56/28=2", "16-2=14" ]
Current State: 14:[73, 28, 16, 17], Operations: [] Exploring Operation: 73-17=56, Resulting Numbers: [28, 16, 56] Generated Node #2: [28, 16, 56] from Operation: 73-17=56 Current State: 14:[28, 16, 56], Operations: ['73-17=56'] Exploring Operation: 56/28=2, Resulting Numbers: [16, 2] Generated Node #3: [16, 2] from Operation: 56/28=2 Current State: 14:[16, 2], Operations: ['73-17=56', '56/28=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[73, 28, 16, 17], Operations: [] Exploring Operation: 73-17=56, Resulting Numbers: [28, 16, 56] Generated Node #0,0: 14:[28, 16, 56] Operation: 73-17=56 Exploring Operation: 28-16=12, Resulting Numbers: [73, 17, 12] Generated Node #0,1: 14:[73, 17, 12] Operation: 28-16=12 Exploring Operation: 73-28=45, Resulting Numbers: [16, 17, 45] Generated Node #0,2: 14:[16, 17, 45] Operation: 73-28=45 Exploring Operation: 73-16=57, Resulting Numbers: [28, 17, 57] Generated Node #0,3: 14:[28, 17, 57] Operation: 73-16=57 Moving to Node #0,2 Current State: 14:[16, 17, 45], Operations: ['73-28=45'] Exploring Operation: 17-16=1, Resulting Numbers: [45, 1] Generated Node #0,2,0: 14:[45, 1] Operation: 17-16=1 Exploring Operation: 45-17=28, Resulting Numbers: [16, 28] Generated Node #0,2,1: 14:[16, 28] Operation: 45-17=28 Exploring Operation: 16+17=33, Resulting Numbers: [45, 33] Generated Node #0,2,2: 14:[45, 33] Operation: 16+17=33 Exploring Operation: 45-16=29, Resulting Numbers: [17, 29] Generated Node #0,2,3: 14:[17, 29] Operation: 45-16=29 Moving to Node #0,0 Current State: 14:[28, 16, 56], Operations: ['73-17=56'] Exploring Operation: 28-16=12, Resulting Numbers: [56, 12] Generated Node #0,0,0: 14:[56, 12] Operation: 28-16=12 Exploring Operation: 56-28=28, Resulting Numbers: [16, 28] Generated Node #0,0,1: 14:[16, 28] Operation: 56-28=28 Exploring Operation: 56/28=2, Resulting Numbers: [16, 2] Generated Node #0,0,2: 14:[16, 2] Operation: 56/28=2 Exploring Operation: 56-16=40, Resulting Numbers: [28, 40] Generated Node #0,0,3: 14:[28, 40] Operation: 56-16=40 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 14:[16, 2], Operations: ['73-17=56', '56/28=2'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[73, 28, 16, 17], Operations: [] Exploring Operation: 73-17=56, Resulting Numbers: [28, 16, 56] Generated Node #0,0: 14:[28, 16, 56] Operation: 73-17=56 Moving to Node #0,0 Current State: 14:[28, 16, 56], Operations: ['73-17=56'] Exploring Operation: 56/28=2, Resulting Numbers: [16, 2] Generated Node #0,0,2: 14:[16, 2] Operation: 56/28=2 Moving to Node #0,0,2 Current State: 14:[16, 2], Operations: ['73-17=56', '56/28=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 74, 42, 34, 10 ]
17
[ "74+10=84", "42*34=1428", "1428/84=17" ]
Current State: 17:[74, 42, 34, 10], Operations: [] Exploring Operation: 74+10=84, Resulting Numbers: [42, 34, 84] Generated Node #2: [42, 34, 84] from Operation: 74+10=84 Current State: 17:[42, 34, 84], Operations: ['74+10=84'] Exploring Operation: 42*34=1428, Resulting Numbers: [84, 1428] Generated Node #3: [84, 1428] from Operation: 42*34=1428 Current State: 17:[84, 1428], Operations: ['74+10=84', '42*34=1428'] Exploring Operation: 1428/84=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[74, 42, 34, 10], Operations: [] Exploring Operation: 74-34=40, Resulting Numbers: [42, 10, 40] Generated Node #0,0: 17:[42, 10, 40] Operation: 74-34=40 Exploring Operation: 42-34=8, Resulting Numbers: [74, 10, 8] Generated Node #0,1: 17:[74, 10, 8] Operation: 42-34=8 Exploring Operation: 74-10=64, Resulting Numbers: [42, 34, 64] Generated Node #0,2: 17:[42, 34, 64] Operation: 74-10=64 Exploring Operation: 74-42=32, Resulting Numbers: [34, 10, 32] Generated Node #0,3: 17:[34, 10, 32] Operation: 74-42=32 Exploring Operation: 42-10=32, Resulting Numbers: [74, 34, 32] Generated Node #0,4: 17:[74, 34, 32] Operation: 42-10=32 Start Sub Search at level 1: Moving to Node #0,3 Current State: 17:[34, 10, 32], Operations: ['74-42=32'] Exploring Operation: 34-32=2, Resulting Numbers: [10, 2] Generated Node #0,3,0: 17:[10, 2] Operation: 34-32=2 Exploring Operation: 32-10=22, Resulting Numbers: [34, 22] Generated Node #0,3,1: 17:[34, 22] Operation: 32-10=22 Exploring Operation: 34+10=44, Resulting Numbers: [32, 44] Generated Node #0,3,2: 17:[32, 44] Operation: 34+10=44 Exploring Operation: 34-10=24, Resulting Numbers: [32, 24] Generated Node #0,3,3: 17:[32, 24] Operation: 34-10=24 Exploring Operation: 10+32=42, Resulting Numbers: [34, 42] Generated Node #0,3,4: 17:[34, 42] Operation: 10+32=42 Moving to Node #0,3,0 Current State: 17:[10, 2], Operations: ['74-42=32', '34-32=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,17 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,17 unequal: No Solution Moving to Node #0,3,3 Current State: 17:[32, 24], Operations: ['74-42=32', '34-10=24'] Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 32*24=768, Resulting Numbers: [768] 768,17 unequal: No Solution Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,17 unequal: No Solution Moving to Node #0,3,1 Current State: 17:[34, 22], Operations: ['74-42=32', '32-10=22'] Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,17 unequal: No Solution Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[32, 44], Operations: ['74-42=32', '34+10=44'] Exploring Operation: 32+44=76, Resulting Numbers: [76] 76,17 unequal: No Solution Exploring Operation: 32*44=1408, Resulting Numbers: [1408] 1408,17 unequal: No Solution Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,17 unequal: No Solution Moving to Node #0,3,4 Current State: 17:[34, 42], Operations: ['74-42=32', '10+32=42'] Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 34*42=1428, Resulting Numbers: [1428] 1428,17 unequal: No Solution Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,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 Current State: 17:[42, 10, 40], Operations: ['74-34=40'] Exploring Operation: 40/10=4, Resulting Numbers: [42, 4] Generated Node #0,0,0: 17:[42, 4] Operation: 40/10=4 Exploring Operation: 42-40=2, Resulting Numbers: [10, 2] Generated Node #0,0,1: 17:[10, 2] Operation: 42-40=2 Exploring Operation: 42+10=52, Resulting Numbers: [40, 52] Generated Node #0,0,2: 17:[40, 52] Operation: 42+10=52 Exploring Operation: 40-10=30, Resulting Numbers: [42, 30] Generated Node #0,0,3: 17:[42, 30] Operation: 40-10=30 Exploring Operation: 42-10=32, Resulting Numbers: [40, 32] Generated Node #0,0,4: 17:[40, 32] Operation: 42-10=32 Moving to Node #0,0,1 Current State: 17:[10, 2], Operations: ['74-34=40', '42-40=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,17 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[42, 30], Operations: ['74-34=40', '40-10=30'] Exploring Operation: 42*30=1260, Resulting Numbers: [1260] 1260,17 unequal: No Solution Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[42, 4], Operations: ['74-34=40', '40/10=4'] Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,17 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,17 unequal: No Solution Moving to Node #0,0,4 Current State: 17:[40, 32], Operations: ['74-34=40', '42-10=32'] Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 40*32=1280, Resulting Numbers: [1280] 1280,17 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[40, 52], Operations: ['74-34=40', '42+10=52'] Exploring Operation: 40+52=92, Resulting Numbers: [92] 92,17 unequal: No Solution Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 40*52=2080, Resulting Numbers: [2080] 2080,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[74, 10, 8], Operations: ['42-34=8'] Exploring Operation: 10-8=2, Resulting Numbers: [74, 2] Generated Node #0,1,0: 17:[74, 2] Operation: 10-8=2 Exploring Operation: 10+8=18, Resulting Numbers: [74, 18] Generated Node #0,1,1: 17:[74, 18] Operation: 10+8=18 Exploring Operation: 74-8=66, Resulting Numbers: [10, 66] Generated Node #0,1,2: 17:[10, 66] Operation: 74-8=66 Exploring Operation: 74-10=64, Resulting Numbers: [8, 64] Generated Node #0,1,3: 17:[8, 64] Operation: 74-10=64 Exploring Operation: 74+8=82, Resulting Numbers: [10, 82] Generated Node #0,1,4: 17:[10, 82] Operation: 74+8=82 Moving to Node #0,1,2 Current State: 17:[10, 66], Operations: ['42-34=8', '74-8=66'] Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 10+66=76, Resulting Numbers: [76] 76,17 unequal: No Solution Exploring Operation: 10*66=660, Resulting Numbers: [660] 660,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[8, 64], Operations: ['42-34=8', '74-10=64'] Exploring Operation: 8+64=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 8*64=512, Resulting Numbers: [512] 512,17 unequal: No Solution Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[74, 18], Operations: ['42-34=8', '10+8=18'] Exploring Operation: 74*18=1332, Resulting Numbers: [1332] 1332,17 unequal: No Solution Exploring Operation: 74+18=92, Resulting Numbers: [92] 92,17 unequal: No Solution Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[74, 2], Operations: ['42-34=8', '10-8=2'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,17 unequal: No Solution Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,17 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 74*2=148, Resulting Numbers: [148] 148,17 unequal: No Solution Moving to Node #0,1,4 Current State: 17:[10, 82], Operations: ['42-34=8', '74+8=82'] Exploring Operation: 10+82=92, Resulting Numbers: [92] 92,17 unequal: No Solution Exploring Operation: 10*82=820, Resulting Numbers: [820] 820,17 unequal: No Solution Exploring Operation: 82-10=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,2 Current State: 17:[42, 34, 64], Operations: ['74-10=64'] Exploring Operation: 64-34=30, Resulting Numbers: [42, 30] Generated Node #0,2,0: 17:[42, 30] Operation: 64-34=30 Exploring Operation: 64-42=22, Resulting Numbers: [34, 22] Generated Node #0,2,1: 17:[34, 22] Operation: 64-42=22 Exploring Operation: 42+64=106, Resulting Numbers: [34, 106] Generated Node #0,2,2: 17:[34, 106] Operation: 42+64=106 Exploring Operation: 42-34=8, Resulting Numbers: [64, 8] Generated Node #0,2,3: 17:[64, 8] Operation: 42-34=8 Exploring Operation: 42+34=76, Resulting Numbers: [64, 76] Generated Node #0,2,4: 17:[64, 76] Operation: 42+34=76 Moving to Node #0,2,1 Current State: 17:[34, 22], Operations: ['74-10=64', '64-42=22'] Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,17 unequal: No Solution Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[42, 30], Operations: ['74-10=64', '64-34=30'] Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 42*30=1260, Resulting Numbers: [1260] 1260,17 unequal: No Solution Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[64, 8], Operations: ['74-10=64', '42-34=8'] Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 64*8=512, Resulting Numbers: [512] 512,17 unequal: No Solution Exploring Operation: 64+8=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[34, 106], Operations: ['74-10=64', '42+64=106'] Exploring Operation: 34+106=140, Resulting Numbers: [140] 140,17 unequal: No Solution Exploring Operation: 34*106=3604, Resulting Numbers: [3604] 3604,17 unequal: No Solution Exploring Operation: 106-34=72, Resulting Numbers: [72] 72,17 unequal: No Solution Moving to Node #0,2,4 Current State: 17:[64, 76], Operations: ['74-10=64', '42+34=76'] Exploring Operation: 64*76=4864, Resulting Numbers: [4864] 4864,17 unequal: No Solution Exploring Operation: 76-64=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 64+76=140, Resulting Numbers: [140] 140,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 17:[74, 34, 32], Operations: ['42-10=32'] Exploring Operation: 74+34=108, Resulting Numbers: [32, 108] Generated Node #0,4,0: 17:[32, 108] Operation: 74+34=108 Exploring Operation: 34-32=2, Resulting Numbers: [74, 2] Generated Node #0,4,1: 17:[74, 2] Operation: 34-32=2 Exploring Operation: 74-32=42, Resulting Numbers: [34, 42] Generated Node #0,4,2: 17:[34, 42] Operation: 74-32=42 Exploring Operation: 74+32=106, Resulting Numbers: [34, 106] Generated Node #0,4,3: 17:[34, 106] Operation: 74+32=106 Exploring Operation: 74-34=40, Resulting Numbers: [32, 40] Generated Node #0,4,4: 17:[32, 40] Operation: 74-34=40 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 17:[32, 40], Operations: ['42-10=32', '74-34=40'] Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,17 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 17:[34, 42], Operations: ['42-10=32', '74-32=42'] Exploring Operation: 34*42=1428, Resulting Numbers: [1428] 1428,17 unequal: No Solution Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,17 unequal: No Solution Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 17:[74, 2], Operations: ['42-10=32', '34-32=2'] Exploring Operation: 74*2=148, Resulting Numbers: [148] 148,17 unequal: No Solution Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,17 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,17 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 17:[32, 108], Operations: ['42-10=32', '74+34=108'] Exploring Operation: 108-32=76, Resulting Numbers: [76] 76,17 unequal: No Solution Exploring Operation: 32+108=140, Resulting Numbers: [140] 140,17 unequal: No Solution Exploring Operation: 32*108=3456, Resulting Numbers: [3456] 3456,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 17:[34, 106], Operations: ['42-10=32', '74+32=106'] Exploring Operation: 34*106=3604, Resulting Numbers: [3604] 3604,17 unequal: No Solution Exploring Operation: 34+106=140, Resulting Numbers: [140] 140,17 unequal: No Solution Exploring Operation: 106-34=72, Resulting Numbers: [72] 72,17 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
[ 65, 30, 69, 41 ]
79
[ "69-65=4", "30*4=120", "120-41=79" ]
Current State: 79:[65, 30, 69, 41], Operations: [] Exploring Operation: 69-65=4, Resulting Numbers: [30, 41, 4] Generated Node #2: [30, 41, 4] from Operation: 69-65=4 Current State: 79:[30, 41, 4], Operations: ['69-65=4'] Exploring Operation: 30*4=120, Resulting Numbers: [41, 120] Generated Node #3: [41, 120] from Operation: 30*4=120 Current State: 79:[41, 120], Operations: ['69-65=4', '30*4=120'] Exploring Operation: 120-41=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[65, 30, 69, 41], Operations: [] Exploring Operation: 65+30=95, Resulting Numbers: [69, 41, 95] Generated Node #0,0: 79:[69, 41, 95] Operation: 65+30=95 Exploring Operation: 30+41=71, Resulting Numbers: [65, 69, 71] Generated Node #0,1: 79:[65, 69, 71] Operation: 30+41=71 Exploring Operation: 30+69=99, Resulting Numbers: [65, 41, 99] Generated Node #0,2: 79:[65, 41, 99] Operation: 30+69=99 Exploring Operation: 65+41=106, Resulting Numbers: [30, 69, 106] Generated Node #0,3: 79:[30, 69, 106] Operation: 65+41=106 Moving to Node #0,1 Current State: 79:[65, 69, 71], Operations: ['30+41=71'] Exploring Operation: 69+71=140, Resulting Numbers: [65, 140] Generated Node #0,1,0: 79:[65, 140] Operation: 69+71=140 Exploring Operation: 65+69=134, Resulting Numbers: [71, 134] Generated Node #0,1,1: 79:[71, 134] Operation: 65+69=134 Exploring Operation: 69-65=4, Resulting Numbers: [71, 4] Generated Node #0,1,2: 79:[71, 4] Operation: 69-65=4 Exploring Operation: 65+71=136, Resulting Numbers: [69, 136] Generated Node #0,1,3: 79:[69, 136] Operation: 65+71=136 Moving to Node #0,0 Current State: 79:[69, 41, 95], Operations: ['65+30=95'] Exploring Operation: 69-41=28, Resulting Numbers: [95, 28] Generated Node #0,0,0: 79:[95, 28] Operation: 69-41=28 Exploring Operation: 41+95=136, Resulting Numbers: [69, 136] Generated Node #0,0,1: 79:[69, 136] Operation: 41+95=136 Exploring Operation: 69+41=110, Resulting Numbers: [95, 110] Generated Node #0,0,2: 79:[95, 110] Operation: 69+41=110 Exploring Operation: 95-41=54, Resulting Numbers: [69, 54] Generated Node #0,0,3: 79:[69, 54] Operation: 95-41=54 Moving to Node #0,2 Current State: 79:[65, 41, 99], Operations: ['30+69=99'] Exploring Operation: 65+41=106, Resulting Numbers: [99, 106] Generated Node #0,2,0: 79:[99, 106] Operation: 65+41=106 Exploring Operation: 41+99=140, Resulting Numbers: [65, 140] Generated Node #0,2,1: 79:[65, 140] Operation: 41+99=140 Exploring Operation: 65-41=24, Resulting Numbers: [99, 24] Generated Node #0,2,2: 79:[99, 24] Operation: 65-41=24 Exploring Operation: 99-41=58, Resulting Numbers: [65, 58] Generated Node #0,2,3: 79:[65, 58] Operation: 99-41=58 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 79:[65, 58], Operations: ['30+69=99', '99-41=58'] Exploring Operation: 65*58=3770, Resulting Numbers: [3770] 3770,79 unequal: No Solution Exploring Operation: 65+58=123, Resulting Numbers: [123] 123,79 unequal: No Solution Exploring Operation: 65-58=7, Resulting Numbers: [7] 7,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 79:[99, 106], Operations: ['30+69=99', '65+41=106'] Exploring Operation: 106-99=7, Resulting Numbers: [7] 7,79 unequal: No Solution Exploring Operation: 99*106=10494, Resulting Numbers: [10494] 10494,79 unequal: No Solution Exploring Operation: 99+106=205, Resulting Numbers: [205] 205,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 79:[65, 140], Operations: ['30+69=99', '41+99=140'] Exploring Operation: 65+140=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 65*140=9100, Resulting Numbers: [9100] 9100,79 unequal: No Solution Exploring Operation: 140-65=75, Resulting Numbers: [75] 75,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 79:[99, 24], Operations: ['30+69=99', '65-41=24'] Exploring Operation: 99+24=123, Resulting Numbers: [123] 123,79 unequal: No Solution Exploring Operation: 99*24=2376, Resulting Numbers: [2376] 2376,79 unequal: No Solution Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,79 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: 79:[30, 69, 106], Operations: ['65+41=106'] Exploring Operation: 69-30=39, Resulting Numbers: [106, 39] Generated Node #0,3,0: 79:[106, 39] Operation: 69-30=39 Exploring Operation: 30+106=136, Resulting Numbers: [69, 136] Generated Node #0,3,1: 79:[69, 136] Operation: 30+106=136 Exploring Operation: 30+69=99, Resulting Numbers: [106, 99] Generated Node #0,3,2: 79:[106, 99] Operation: 30+69=99 Exploring Operation: 106-30=76, Resulting Numbers: [69, 76] Generated Node #0,3,3: 79:[69, 76] Operation: 106-30=76 Moving to Node #0,3,3 Current State: 79:[69, 76], Operations: ['65+41=106', '106-30=76'] Exploring Operation: 69*76=5244, Resulting Numbers: [5244] 5244,79 unequal: No Solution Exploring Operation: 76-69=7, Resulting Numbers: [7] 7,79 unequal: No Solution Exploring Operation: 69+76=145, Resulting Numbers: [145] 145,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[69, 54], Operations: ['65+30=95', '95-41=54'] Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,79 unequal: No Solution Exploring Operation: 69*54=3726, Resulting Numbers: [3726] 3726,79 unequal: No Solution Exploring Operation: 69+54=123, Resulting Numbers: [123] 123,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[95, 110], Operations: ['65+30=95', '69+41=110'] Exploring Operation: 110-95=15, Resulting Numbers: [15] 15,79 unequal: No Solution Exploring Operation: 95+110=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 95*110=10450, Resulting Numbers: [10450] 10450,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[106, 99], Operations: ['65+41=106', '30+69=99'] Exploring Operation: 106*99=10494, Resulting Numbers: [10494] 10494,79 unequal: No Solution Exploring Operation: 106+99=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 106-99=7, Resulting Numbers: [7] 7,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[71, 134], Operations: ['30+41=71', '65+69=134'] Exploring Operation: 71*134=9514, Resulting Numbers: [9514] 9514,79 unequal: No Solution Exploring Operation: 71+134=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 134-71=63, Resulting Numbers: [63] 63,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[95, 28], Operations: ['65+30=95', '69-41=28'] Exploring Operation: 95+28=123, Resulting Numbers: [123] 123,79 unequal: No Solution Exploring Operation: 95*28=2660, Resulting Numbers: [2660] 2660,79 unequal: No Solution Exploring Operation: 95-28=67, Resulting Numbers: [67] 67,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[69, 136], Operations: ['65+41=106', '30+106=136'] Exploring Operation: 136-69=67, Resulting Numbers: [67] 67,79 unequal: No Solution Exploring Operation: 69*136=9384, Resulting Numbers: [9384] 9384,79 unequal: No Solution Exploring Operation: 69+136=205, Resulting Numbers: [205] 205,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[106, 39], Operations: ['65+41=106', '69-30=39'] Exploring Operation: 106+39=145, Resulting Numbers: [145] 145,79 unequal: No Solution Exploring Operation: 106-39=67, Resulting Numbers: [67] 67,79 unequal: No Solution Exploring Operation: 106*39=4134, Resulting Numbers: [4134] 4134,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[69, 136], Operations: ['30+41=71', '65+71=136'] Exploring Operation: 136-69=67, Resulting Numbers: [67] 67,79 unequal: No Solution Exploring Operation: 69*136=9384, Resulting Numbers: [9384] 9384,79 unequal: No Solution Exploring Operation: 69+136=205, Resulting Numbers: [205] 205,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[69, 136], Operations: ['65+30=95', '41+95=136'] Exploring Operation: 69+136=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 69*136=9384, Resulting Numbers: [9384] 9384,79 unequal: No Solution Exploring Operation: 136-69=67, Resulting Numbers: [67] 67,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[65, 140], Operations: ['30+41=71', '69+71=140'] Exploring Operation: 65*140=9100, Resulting Numbers: [9100] 9100,79 unequal: No Solution Exploring Operation: 65+140=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 140-65=75, Resulting Numbers: [75] 75,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[71, 4], Operations: ['30+41=71', '69-65=4'] Exploring Operation: 71*4=284, Resulting Numbers: [284] 284,79 unequal: No Solution Exploring Operation: 71+4=75, Resulting Numbers: [75] 75,79 unequal: No Solution Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,79 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 48, 90, 28, 56 ]
70
[ "90-48=42", "56-28=28", "42+28=70" ]
Current State: 70:[48, 90, 28, 56], Operations: [] Exploring Operation: 90-48=42, Resulting Numbers: [28, 56, 42] Generated Node #2: [28, 56, 42] from Operation: 90-48=42 Current State: 70:[28, 56, 42], Operations: ['90-48=42'] Exploring Operation: 56-28=28, Resulting Numbers: [42, 28] Generated Node #3: [42, 28] from Operation: 56-28=28 Current State: 70:[42, 28], Operations: ['90-48=42', '56-28=28'] Exploring Operation: 42+28=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[48, 90, 28, 56], Operations: [] Exploring Operation: 90-56=34, Resulting Numbers: [48, 28, 34] Generated Node #0,0: 70:[48, 28, 34] Operation: 90-56=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[48, 28, 34], Operations: ['90-56=34'] Exploring Operation: 48+28=76, Resulting Numbers: [34, 76] Generated Node #0,0,0: 70:[34, 76] Operation: 48+28=76 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[34, 76], Operations: ['90-56=34', '48+28=76'] Exploring Operation: 76-34=42, Resulting Numbers: [42] 42,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
sum_heuristic
[ 96, 31, 98, 50 ]
29
[ "98-50=48", "96/48=2", "31-2=29" ]
Current State: 29:[96, 31, 98, 50], Operations: [] Exploring Operation: 98-50=48, Resulting Numbers: [96, 31, 48] Generated Node #2: [96, 31, 48] from Operation: 98-50=48 Current State: 29:[96, 31, 48], Operations: ['98-50=48'] Exploring Operation: 96/48=2, Resulting Numbers: [31, 2] Generated Node #3: [31, 2] from Operation: 96/48=2 Current State: 29:[31, 2], Operations: ['98-50=48', '96/48=2'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[96, 31, 98, 50], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [31, 50, 2] Generated Node #0,0: 29:[31, 50, 2] Operation: 98-96=2 Exploring Operation: 96-50=46, Resulting Numbers: [31, 98, 46] Generated Node #0,1: 29:[31, 98, 46] Operation: 96-50=46 Exploring Operation: 98-50=48, Resulting Numbers: [96, 31, 48] Generated Node #0,2: 29:[96, 31, 48] Operation: 98-50=48 Moving to Node #0,0 Current State: 29:[31, 50, 2], Operations: ['98-96=2'] Exploring Operation: 50/2=25, Resulting Numbers: [31, 25] Generated Node #0,0,0: 29:[31, 25] Operation: 50/2=25 Exploring Operation: 31-2=29, Resulting Numbers: [50, 29] Generated Node #0,0,1: 29:[50, 29] Operation: 31-2=29 Exploring Operation: 50-2=48, Resulting Numbers: [31, 48] Generated Node #0,0,2: 29:[31, 48] Operation: 50-2=48 Moving to Node #0,1 Current State: 29:[31, 98, 46], Operations: ['96-50=46'] Exploring Operation: 98-31=67, Resulting Numbers: [46, 67] Generated Node #0,1,0: 29:[46, 67] Operation: 98-31=67 Exploring Operation: 46-31=15, Resulting Numbers: [98, 15] Generated Node #0,1,1: 29:[98, 15] Operation: 46-31=15 Exploring Operation: 98-46=52, Resulting Numbers: [31, 52] Generated Node #0,1,2: 29:[31, 52] Operation: 98-46=52 Moving to Node #0,2 Current State: 29:[96, 31, 48], Operations: ['98-50=48'] Exploring Operation: 96-48=48, Resulting Numbers: [31, 48] Generated Node #0,2,0: 29:[31, 48] Operation: 96-48=48 Exploring Operation: 96/48=2, Resulting Numbers: [31, 2] Generated Node #0,2,1: 29:[31, 2] Operation: 96/48=2 Exploring Operation: 96-31=65, Resulting Numbers: [48, 65] Generated Node #0,2,2: 29:[48, 65] Operation: 96-31=65 Moving to Node #0,0,0 Current State: 29:[31, 25], Operations: ['98-96=2', '50/2=25'] Exploring Operation: 31*25=775, Resulting Numbers: [775] 775,29 unequal: No Solution Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 31+25=56, Resulting Numbers: [56] 56,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[31, 48], Operations: ['98-96=2', '50-2=48'] Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,29 unequal: No Solution Exploring Operation: 31+48=79, Resulting Numbers: [79] 79,29 unequal: No Solution Exploring Operation: 31*48=1488, Resulting Numbers: [1488] 1488,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[31, 48], Operations: ['98-50=48', '96-48=48'] Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,29 unequal: No Solution Exploring Operation: 31*48=1488, Resulting Numbers: [1488] 1488,29 unequal: No Solution Exploring Operation: 31+48=79, Resulting Numbers: [79] 79,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[50, 29], Operations: ['98-96=2', '31-2=29'] Exploring Operation: 50-29=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 50*29=1450, Resulting Numbers: [1450] 1450,29 unequal: No Solution Exploring Operation: 50+29=79, Resulting Numbers: [79] 79,29 unequal: No Solution Moving to Node #0,1,2 Current State: 29:[31, 52], Operations: ['96-50=46', '98-46=52'] Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 31+52=83, Resulting Numbers: [83] 83,29 unequal: No Solution Exploring Operation: 31*52=1612, Resulting Numbers: [1612] 1612,29 unequal: No Solution Moving to Node #0,2,1 Current State: 29:[31, 2], Operations: ['98-50=48', '96/48=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,29 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[96, 31, 98, 50], Operations: [] Exploring Operation: 98-50=48, Resulting Numbers: [96, 31, 48] Generated Node #0,2: 29:[96, 31, 48] Operation: 98-50=48 Moving to Node #0,2 Current State: 29:[96, 31, 48], Operations: ['98-50=48'] Exploring Operation: 96/48=2, Resulting Numbers: [31, 2] Generated Node #0,2,1: 29:[31, 2] Operation: 96/48=2 Moving to Node #0,2,1 Current State: 29:[31, 2], Operations: ['98-50=48', '96/48=2'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.971354
hs_3
sum_heuristic
[ 24, 43, 22, 89 ]
23
[ "24-22=2", "89-43=46", "46/2=23" ]
Current State: 23:[24, 43, 22, 89], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [43, 89, 2] Generated Node #2: [43, 89, 2] from Operation: 24-22=2 Current State: 23:[43, 89, 2], Operations: ['24-22=2'] Exploring Operation: 89-43=46, Resulting Numbers: [2, 46] Generated Node #3: [2, 46] from Operation: 89-43=46 Current State: 23:[2, 46], Operations: ['24-22=2', '89-43=46'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[24, 43, 22, 89], Operations: [] Exploring Operation: 89-24=65, Resulting Numbers: [43, 22, 65] Generated Node #0,0: 23:[43, 22, 65] Operation: 89-24=65 Exploring Operation: 43-24=19, Resulting Numbers: [22, 89, 19] Generated Node #0,1: 23:[22, 89, 19] Operation: 43-24=19 Exploring Operation: 89-43=46, Resulting Numbers: [24, 22, 46] Generated Node #0,2: 23:[24, 22, 46] Operation: 89-43=46 Exploring Operation: 89-22=67, Resulting Numbers: [24, 43, 67] Generated Node #0,3: 23:[24, 43, 67] Operation: 89-22=67 Exploring Operation: 43-22=21, Resulting Numbers: [24, 89, 21] Generated Node #0,4: 23:[24, 89, 21] Operation: 43-22=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[24, 22, 46], Operations: ['89-43=46'] Exploring Operation: 46-24=22, Resulting Numbers: [22, 22] Generated Node #0,2,0: 23:[22, 22] Operation: 46-24=22 Exploring Operation: 24-22=2, Resulting Numbers: [46, 2] Generated Node #0,2,1: 23:[46, 2] Operation: 24-22=2 Exploring Operation: 46-22=24, Resulting Numbers: [24, 24] Generated Node #0,2,2: 23:[24, 24] Operation: 46-22=24 Exploring Operation: 22+46=68, Resulting Numbers: [24, 68] Generated Node #0,2,3: 23:[24, 68] Operation: 22+46=68 Exploring Operation: 24+22=46, Resulting Numbers: [46, 46] Generated Node #0,2,4: 23:[46, 46] Operation: 24+22=46 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 23:[22, 22], Operations: ['89-43=46', '46-24=22'] Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,23 unequal: No Solution Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 23:[24, 24], Operations: ['89-43=46', '46-22=24'] Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 23:[46, 2], Operations: ['89-43=46', '24-22=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[24, 43, 22, 89], Operations: [] Exploring Operation: 89-43=46, Resulting Numbers: [24, 22, 46] Generated Node #0,2: 23:[24, 22, 46] Operation: 89-43=46 Moving to Node #0,2 Current State: 23:[24, 22, 46], Operations: ['89-43=46'] Exploring Operation: 24-22=2, Resulting Numbers: [46, 2] Generated Node #0,2,1: 23:[46, 2] Operation: 24-22=2 Moving to Node #0,2,1 Current State: 23:[46, 2], Operations: ['89-43=46', '24-22=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_5
sum_heuristic
[ 47, 63, 38, 68 ]
75
[ "47-38=9", "63/9=7", "68+7=75" ]
Current State: 75:[47, 63, 38, 68], Operations: [] Exploring Operation: 47-38=9, Resulting Numbers: [63, 68, 9] Generated Node #2: [63, 68, 9] from Operation: 47-38=9 Current State: 75:[63, 68, 9], Operations: ['47-38=9'] Exploring Operation: 63/9=7, Resulting Numbers: [68, 7] Generated Node #3: [68, 7] from Operation: 63/9=7 Current State: 75:[68, 7], Operations: ['47-38=9', '63/9=7'] Exploring Operation: 68+7=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[47, 63, 38, 68], Operations: [] Exploring Operation: 47-38=9, Resulting Numbers: [63, 68, 9] Generated Node #0,0: 75:[63, 68, 9] Operation: 47-38=9 Exploring Operation: 63-47=16, Resulting Numbers: [38, 68, 16] Generated Node #0,1: 75:[38, 68, 16] Operation: 63-47=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[38, 68, 16], Operations: ['63-47=16'] Exploring Operation: 38-16=22, Resulting Numbers: [68, 22] Generated Node #0,1,0: 75:[68, 22] Operation: 38-16=22 Exploring Operation: 68-38=30, Resulting Numbers: [16, 30] Generated Node #0,1,1: 75:[16, 30] Operation: 68-38=30 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[16, 30], Operations: ['63-47=16', '68-38=30'] Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,75 unequal: No Solution Exploring Operation: 16+30=46, Resulting Numbers: [46] 46,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:[68, 22], Operations: ['63-47=16', '38-16=22'] Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,75 unequal: No Solution Exploring Operation: 68+22=90, Resulting Numbers: [90] 90,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,0 Current State: 75:[63, 68, 9], Operations: ['47-38=9'] Exploring Operation: 68-63=5, Resulting Numbers: [9, 5] Generated Node #0,0,0: 75:[9, 5] Operation: 68-63=5 Exploring Operation: 63/9=7, Resulting Numbers: [68, 7] Generated Node #0,0,1: 75:[68, 7] Operation: 63/9=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[9, 5], Operations: ['47-38=9', '68-63=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[68, 7], Operations: ['47-38=9', '63/9=7'] Exploring Operation: 68+7=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[47, 63, 38, 68], Operations: [] Exploring Operation: 47-38=9, Resulting Numbers: [63, 68, 9] Generated Node #0,0: 75:[63, 68, 9] Operation: 47-38=9 Moving to Node #0,0 Current State: 75:[63, 68, 9], Operations: ['47-38=9'] Exploring Operation: 63/9=7, Resulting Numbers: [68, 7] Generated Node #0,0,1: 75:[68, 7] Operation: 63/9=7 Moving to Node #0,0,1 Current State: 75:[68, 7], Operations: ['47-38=9', '63/9=7'] Exploring Operation: 68+7=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_2
mult_heuristic
[ 3, 24, 48, 12 ]
52
[ "24/3=8", "48+12=60", "60-8=52" ]
Current State: 52:[3, 24, 48, 12], Operations: [] Exploring Operation: 24/3=8, Resulting Numbers: [48, 12, 8] Generated Node #2: [48, 12, 8] from Operation: 24/3=8 Current State: 52:[48, 12, 8], Operations: ['24/3=8'] Exploring Operation: 48+12=60, Resulting Numbers: [8, 60] Generated Node #3: [8, 60] from Operation: 48+12=60 Current State: 52:[8, 60], Operations: ['24/3=8', '48+12=60'] Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[3, 24, 48, 12], Operations: [] Exploring Operation: 3+48=51, Resulting Numbers: [24, 12, 51] Generated Node #0,0: 52:[24, 12, 51] Operation: 3+48=51 Exploring Operation: 48-24=24, Resulting Numbers: [3, 12, 24] Generated Node #0,1: 52:[3, 12, 24] Operation: 48-24=24 Exploring Operation: 48/12=4, Resulting Numbers: [3, 24, 4] Generated Node #0,2: 52:[3, 24, 4] Operation: 48/12=4 Exploring Operation: 48/24=2, Resulting Numbers: [3, 12, 2] Generated Node #0,3: 52:[3, 12, 2] Operation: 48/24=2 Moving to Node #0,3 Current State: 52:[3, 12, 2], Operations: ['48/24=2'] Exploring Operation: 3+12=15, Resulting Numbers: [2, 15] Generated Node #0,3,0: 52:[2, 15] Operation: 3+12=15 Exploring Operation: 3-2=1, Resulting Numbers: [12, 1] Generated Node #0,3,1: 52:[12, 1] Operation: 3-2=1 Exploring Operation: 3+2=5, Resulting Numbers: [12, 5] Generated Node #0,3,2: 52:[12, 5] Operation: 3+2=5 Exploring Operation: 12/3=4, Resulting Numbers: [2, 4] Generated Node #0,3,3: 52:[2, 4] Operation: 12/3=4 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 52:[2, 4], Operations: ['48/24=2', '12/3=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,52 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 52:[2, 15], Operations: ['48/24=2', '3+12=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,52 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 52:[12, 1], Operations: ['48/24=2', '3-2=1'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 52:[12, 5], Operations: ['48/24=2', '3+2=5'] Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 52:[3, 24, 4], Operations: ['48/12=4'] Exploring Operation: 3+24=27, Resulting Numbers: [4, 27] Generated Node #0,2,0: 52:[4, 27] Operation: 3+24=27 Exploring Operation: 3*4=12, Resulting Numbers: [24, 12] Generated Node #0,2,1: 52:[24, 12] Operation: 3*4=12 Exploring Operation: 24+4=28, Resulting Numbers: [3, 28] Generated Node #0,2,2: 52:[3, 28] Operation: 24+4=28 Exploring Operation: 4-3=1, Resulting Numbers: [24, 1] Generated Node #0,2,3: 52:[24, 1] Operation: 4-3=1 Moving to Node #0,1 Current State: 52:[3, 12, 24], Operations: ['48-24=24'] Exploring Operation: 12/3=4, Resulting Numbers: [24, 4] Generated Node #0,1,0: 52:[24, 4] Operation: 12/3=4 Exploring Operation: 3+24=27, Resulting Numbers: [12, 27] Generated Node #0,1,1: 52:[12, 27] Operation: 3+24=27 Exploring Operation: 24-12=12, Resulting Numbers: [3, 12] Generated Node #0,1,2: 52:[3, 12] Operation: 24-12=12 Exploring Operation: 24/12=2, Resulting Numbers: [3, 2] Generated Node #0,1,3: 52:[3, 2] Operation: 24/12=2 Moving to Node #0,0 Current State: 52:[24, 12, 51], Operations: ['3+48=51'] Exploring Operation: 24+12=36, Resulting Numbers: [51, 36] Generated Node #0,0,0: 52:[51, 36] Operation: 24+12=36 Exploring Operation: 24-12=12, Resulting Numbers: [51, 12] Generated Node #0,0,1: 52:[51, 12] Operation: 24-12=12 Exploring Operation: 24/12=2, Resulting Numbers: [51, 2] Generated Node #0,0,2: 52:[51, 2] Operation: 24/12=2 Exploring Operation: 51-24=27, Resulting Numbers: [12, 27] Generated Node #0,0,3: 52:[12, 27] Operation: 51-24=27 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 52:[51, 2], Operations: ['3+48=51', '24/12=2'] Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,52 unequal: No Solution Exploring Operation: 51*2=102, Resulting Numbers: [102] 102,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[51, 12], Operations: ['3+48=51', '24-12=12'] Exploring Operation: 51+12=63, Resulting Numbers: [63] 63,52 unequal: No Solution Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 51*12=612, Resulting Numbers: [612] 612,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 52:[12, 27], Operations: ['3+48=51', '51-24=27'] Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[51, 36], Operations: ['3+48=51', '24+12=36'] Exploring Operation: 51+36=87, Resulting Numbers: [87] 87,52 unequal: No Solution Exploring Operation: 51*36=1836, Resulting Numbers: [1836] 1836,52 unequal: No Solution Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 52:[4, 27], Operations: ['48/12=4', '3+24=27'] Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,52 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[3, 2], Operations: ['48-24=24', '24/12=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[24, 4], Operations: ['48-24=24', '12/3=4'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,52 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,52 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[12, 27], Operations: ['48-24=24', '3+24=27'] Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,52 unequal: No Solution Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[3, 12], Operations: ['48-24=24', '24-12=12'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[3, 28], Operations: ['48/12=4', '24+4=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,52 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[24, 1], Operations: ['48/12=4', '4-3=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[24, 12], Operations: ['48/12=4', '3*4=12'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 24*12=288, Resulting Numbers: [288] 288,52 unequal: No Solution Exploring Operation: 24+12=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,52 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 91, 5, 4, 33 ]
59
[ "91+5=96", "4+33=37", "96-37=59" ]
Current State: 59:[91, 5, 4, 33], Operations: [] Exploring Operation: 91+5=96, Resulting Numbers: [4, 33, 96] Generated Node #2: [4, 33, 96] from Operation: 91+5=96 Current State: 59:[4, 33, 96], Operations: ['91+5=96'] Exploring Operation: 4+33=37, Resulting Numbers: [96, 37] Generated Node #3: [96, 37] from Operation: 4+33=37 Current State: 59:[96, 37], Operations: ['91+5=96', '4+33=37'] Exploring Operation: 96-37=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[91, 5, 4, 33], Operations: [] Exploring Operation: 91-5=86, Resulting Numbers: [4, 33, 86] Generated Node #0,0: 59:[4, 33, 86] Operation: 91-5=86 Exploring Operation: 91-4=87, Resulting Numbers: [5, 33, 87] Generated Node #0,1: 59:[5, 33, 87] Operation: 91-4=87 Exploring Operation: 5*4=20, Resulting Numbers: [91, 33, 20] Generated Node #0,2: 59:[91, 33, 20] Operation: 5*4=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[91, 33, 20], Operations: ['5*4=20'] Exploring Operation: 91-33=58, Resulting Numbers: [20, 58] Generated Node #0,2,0: 59:[20, 58] Operation: 91-33=58 Exploring Operation: 33+20=53, Resulting Numbers: [91, 53] Generated Node #0,2,1: 59:[91, 53] Operation: 33+20=53 Exploring Operation: 91-20=71, Resulting Numbers: [33, 71] Generated Node #0,2,2: 59:[33, 71] Operation: 91-20=71 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 59:[91, 53], Operations: ['5*4=20', '33+20=53'] Exploring Operation: 91-53=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 91*53=4823, Resulting Numbers: [4823] 4823,59 unequal: No Solution Exploring Operation: 91+53=144, Resulting Numbers: [144] 144,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 59:[33, 71], Operations: ['5*4=20', '91-20=71'] Exploring Operation: 33*71=2343, Resulting Numbers: [2343] 2343,59 unequal: No Solution Exploring Operation: 33+71=104, Resulting Numbers: [104] 104,59 unequal: No Solution Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 59:[20, 58], Operations: ['5*4=20', '91-33=58'] Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 20+58=78, Resulting Numbers: [78] 78,59 unequal: No Solution Exploring Operation: 20*58=1160, Resulting Numbers: [1160] 1160,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[4, 33, 86], Operations: ['91-5=86'] Exploring Operation: 4+33=37, Resulting Numbers: [86, 37] Generated Node #0,0,0: 59:[86, 37] Operation: 4+33=37 Exploring Operation: 86-4=82, Resulting Numbers: [33, 82] Generated Node #0,0,1: 59:[33, 82] Operation: 86-4=82 Exploring Operation: 33-4=29, Resulting Numbers: [86, 29] Generated Node #0,0,2: 59:[86, 29] Operation: 33-4=29 Moving to Node #0,0,0 Current State: 59:[86, 37], Operations: ['91-5=86', '4+33=37'] Exploring Operation: 86+37=123, Resulting Numbers: [123] 123,59 unequal: No Solution Exploring Operation: 86*37=3182, Resulting Numbers: [3182] 3182,59 unequal: No Solution Exploring Operation: 86-37=49, Resulting Numbers: [49] 49,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[33, 82], Operations: ['91-5=86', '86-4=82'] Exploring Operation: 33+82=115, Resulting Numbers: [115] 115,59 unequal: No Solution Exploring Operation: 33*82=2706, Resulting Numbers: [2706] 2706,59 unequal: No Solution Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[86, 29], Operations: ['91-5=86', '33-4=29'] Exploring Operation: 86+29=115, Resulting Numbers: [115] 115,59 unequal: No Solution Exploring Operation: 86-29=57, Resulting Numbers: [57] 57,59 unequal: No Solution Exploring Operation: 86*29=2494, Resulting Numbers: [2494] 2494,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[5, 33, 87], Operations: ['91-4=87'] Exploring Operation: 5+33=38, Resulting Numbers: [87, 38] Generated Node #0,1,0: 59:[87, 38] Operation: 5+33=38 Exploring Operation: 87-5=82, Resulting Numbers: [33, 82] Generated Node #0,1,1: 59:[33, 82] Operation: 87-5=82 Exploring Operation: 33-5=28, Resulting Numbers: [87, 28] Generated Node #0,1,2: 59:[87, 28] Operation: 33-5=28 Moving to Node #0,1,0 Current State: 59:[87, 38], Operations: ['91-4=87', '5+33=38'] Exploring Operation: 87*38=3306, Resulting Numbers: [3306] 3306,59 unequal: No Solution Exploring Operation: 87-38=49, Resulting Numbers: [49] 49,59 unequal: No Solution Exploring Operation: 87+38=125, Resulting Numbers: [125] 125,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[33, 82], Operations: ['91-4=87', '87-5=82'] Exploring Operation: 33+82=115, Resulting Numbers: [115] 115,59 unequal: No Solution Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,59 unequal: No Solution Exploring Operation: 33*82=2706, Resulting Numbers: [2706] 2706,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[87, 28], Operations: ['91-4=87', '33-5=28'] Exploring Operation: 87+28=115, Resulting Numbers: [115] 115,59 unequal: No Solution Exploring Operation: 87*28=2436, Resulting Numbers: [2436] 2436,59 unequal: No Solution Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[91, 5, 4, 33], Operations: [] Exploring Operation: 91-4=87, Resulting Numbers: [5, 33, 87] Generated Node #0,1: 59:[5, 33, 87] Operation: 91-4=87 Moving to Node #0,1 Current State: 59:[5, 33, 87], Operations: ['91-4=87'] Exploring Operation: 33-5=28, Resulting Numbers: [87, 28] Generated Node #0,1,2: 59:[87, 28] Operation: 33-5=28 Moving to Node #0,1,2 Current State: 59:[87, 28], Operations: ['91-4=87', '33-5=28'] Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_3
sum_heuristic
[ 86, 82, 7, 88 ]
64
[ "86+82=168", "168/7=24", "88-24=64" ]
Current State: 64:[86, 82, 7, 88], Operations: [] Exploring Operation: 86+82=168, Resulting Numbers: [7, 88, 168] Generated Node #2: [7, 88, 168] from Operation: 86+82=168 Current State: 64:[7, 88, 168], Operations: ['86+82=168'] Exploring Operation: 168/7=24, Resulting Numbers: [88, 24] Generated Node #3: [88, 24] from Operation: 168/7=24 Current State: 64:[88, 24], Operations: ['86+82=168', '168/7=24'] Exploring Operation: 88-24=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[86, 82, 7, 88], Operations: [] Exploring Operation: 86-82=4, Resulting Numbers: [7, 88, 4] Generated Node #0,0: 64:[7, 88, 4] Operation: 86-82=4 Exploring Operation: 86-7=79, Resulting Numbers: [82, 88, 79] Generated Node #0,1: 64:[82, 88, 79] Operation: 86-7=79 Exploring Operation: 88-82=6, Resulting Numbers: [86, 7, 6] Generated Node #0,2: 64:[86, 7, 6] Operation: 88-82=6 Exploring Operation: 88-86=2, Resulting Numbers: [82, 7, 2] Generated Node #0,3: 64:[82, 7, 2] Operation: 88-86=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 64:[82, 7, 2], Operations: ['88-86=2'] Exploring Operation: 82-2=80, Resulting Numbers: [7, 80] Generated Node #0,3,0: 64:[7, 80] Operation: 82-2=80 Exploring Operation: 7+2=9, Resulting Numbers: [82, 9] Generated Node #0,3,1: 64:[82, 9] Operation: 7+2=9 Exploring Operation: 82/2=41, Resulting Numbers: [7, 41] Generated Node #0,3,2: 64:[7, 41] Operation: 82/2=41 Exploring Operation: 82-7=75, Resulting Numbers: [2, 75] Generated Node #0,3,3: 64:[2, 75] Operation: 82-7=75 Moving to Node #0,3,2 Current State: 64:[7, 41], Operations: ['88-86=2', '82/2=41'] Exploring Operation: 7+41=48, Resulting Numbers: [48] 48,64 unequal: No Solution Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,64 unequal: No Solution Exploring Operation: 7*41=287, Resulting Numbers: [287] 287,64 unequal: No Solution Moving to Node #0,3,3 Current State: 64:[2, 75], Operations: ['88-86=2', '82-7=75'] Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,64 unequal: No Solution Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,64 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,64 unequal: No Solution Moving to Node #0,3,0 Current State: 64:[7, 80], Operations: ['88-86=2', '82-2=80'] Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,64 unequal: No Solution Exploring Operation: 7*80=560, Resulting Numbers: [560] 560,64 unequal: No Solution Exploring Operation: 7+80=87, Resulting Numbers: [87] 87,64 unequal: No Solution Moving to Node #0,3,1 Current State: 64:[82, 9], Operations: ['88-86=2', '7+2=9'] Exploring Operation: 82*9=738, Resulting Numbers: [738] 738,64 unequal: No Solution Exploring Operation: 82-9=73, Resulting Numbers: [73] 73,64 unequal: No Solution Exploring Operation: 82+9=91, Resulting Numbers: [91] 91,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[7, 88, 4], Operations: ['86-82=4'] Exploring Operation: 88-4=84, Resulting Numbers: [7, 84] Generated Node #0,0,0: 64:[7, 84] Operation: 88-4=84 Exploring Operation: 88-7=81, Resulting Numbers: [4, 81] Generated Node #0,0,1: 64:[4, 81] Operation: 88-7=81 Exploring Operation: 88/4=22, Resulting Numbers: [7, 22] Generated Node #0,0,2: 64:[7, 22] Operation: 88/4=22 Exploring Operation: 7-4=3, Resulting Numbers: [88, 3] Generated Node #0,0,3: 64:[88, 3] Operation: 7-4=3 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 64:[7, 22], Operations: ['86-82=4', '88/4=22'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,64 unequal: No Solution Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,64 unequal: No Solution Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,64 unequal: No Solution No 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: 64:[4, 81], Operations: ['86-82=4', '88-7=81'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,64 unequal: No Solution Exploring Operation: 4+81=85, Resulting Numbers: [85] 85,64 unequal: No Solution Exploring Operation: 4*81=324, Resulting Numbers: [324] 324,64 unequal: No Solution No 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: 64:[7, 84], Operations: ['86-82=4', '88-4=84'] Exploring Operation: 7*84=588, Resulting Numbers: [588] 588,64 unequal: No Solution Exploring Operation: 7+84=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,64 unequal: No Solution Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,64 unequal: No Solution No 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: 64:[88, 3], Operations: ['86-82=4', '7-4=3'] Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 88*3=264, Resulting Numbers: [264] 264,64 unequal: No Solution Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,64 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: 64:[86, 7, 6], Operations: ['88-82=6'] Exploring Operation: 7+6=13, Resulting Numbers: [86, 13] Generated Node #0,2,0: 64:[86, 13] Operation: 7+6=13 Exploring Operation: 7-6=1, Resulting Numbers: [86, 1] Generated Node #0,2,1: 64:[86, 1] Operation: 7-6=1 Exploring Operation: 86-7=79, Resulting Numbers: [6, 79] Generated Node #0,2,2: 64:[6, 79] Operation: 86-7=79 Exploring Operation: 86-6=80, Resulting Numbers: [7, 80] Generated Node #0,2,3: 64:[7, 80] Operation: 86-6=80 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 64:[6, 79], Operations: ['88-82=6', '86-7=79'] Exploring Operation: 6+79=85, Resulting Numbers: [85] 85,64 unequal: No Solution Exploring Operation: 6*79=474, Resulting Numbers: [474] 474,64 unequal: No Solution Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,64 unequal: No Solution No 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: 64:[7, 80], Operations: ['88-82=6', '86-6=80'] Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,64 unequal: No Solution Exploring Operation: 7*80=560, Resulting Numbers: [560] 560,64 unequal: No Solution Exploring Operation: 7+80=87, Resulting Numbers: [87] 87,64 unequal: No Solution No 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: 64:[86, 1], Operations: ['88-82=6', '7-6=1'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,64 unequal: No Solution Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,64 unequal: No Solution Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,64 unequal: No Solution Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,64 unequal: No Solution No 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: 64:[86, 13], Operations: ['88-82=6', '7+6=13'] Exploring Operation: 86*13=1118, Resulting Numbers: [1118] 1118,64 unequal: No Solution Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,64 unequal: No Solution Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,64 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: 64:[82, 88, 79], Operations: ['86-7=79'] Exploring Operation: 82-79=3, Resulting Numbers: [88, 3] Generated Node #0,1,0: 64:[88, 3] Operation: 82-79=3 Exploring Operation: 88-82=6, Resulting Numbers: [79, 6] Generated Node #0,1,1: 64:[79, 6] Operation: 88-82=6 Exploring Operation: 82+88=170, Resulting Numbers: [79, 170] Generated Node #0,1,2: 64:[79, 170] Operation: 82+88=170 Exploring Operation: 88-79=9, Resulting Numbers: [82, 9] Generated Node #0,1,3: 64:[82, 9] Operation: 88-79=9 Moving to Node #0,1,1 Current State: 64:[79, 6], Operations: ['86-7=79', '88-82=6'] Exploring Operation: 79+6=85, Resulting Numbers: [85] 85,64 unequal: No Solution Exploring Operation: 79*6=474, Resulting Numbers: [474] 474,64 unequal: No Solution Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[82, 9], Operations: ['86-7=79', '88-79=9'] Exploring Operation: 82*9=738, Resulting Numbers: [738] 738,64 unequal: No Solution Exploring Operation: 82-9=73, Resulting Numbers: [73] 73,64 unequal: No Solution Exploring Operation: 82+9=91, Resulting Numbers: [91] 91,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[88, 3], Operations: ['86-7=79', '82-79=3'] Exploring Operation: 88*3=264, Resulting Numbers: [264] 264,64 unequal: No Solution Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[79, 170], Operations: ['86-7=79', '82+88=170'] Exploring Operation: 79*170=13430, Resulting Numbers: [13430] 13430,64 unequal: No Solution Exploring Operation: 170-79=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 79+170=249, Resulting Numbers: [249] 249,64 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, 40, 23, 23 ]
85
[ "28-23=5", "40-23=17", "5*17=85" ]
Current State: 85:[28, 40, 23, 23], Operations: [] Exploring Operation: 28-23=5, Resulting Numbers: [40, 5] Generated Node #2: [40, 5] from Operation: 28-23=5 Current State: 85:[40, 5], Operations: ['28-23=5'] Exploring Operation: 40-23=17, Resulting Numbers: [5, 17] Generated Node #3: [5, 17] from Operation: 40-23=17 Current State: 85:[5, 17], Operations: ['28-23=5', '40-23=17'] Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[28, 40, 23, 23], Operations: [] Exploring Operation: 40-23=17, Resulting Numbers: [28, 23, 17] Generated Node #0,0: 85:[28, 23, 17] Operation: 40-23=17 Exploring Operation: 40-28=12, Resulting Numbers: [23, 23, 12] Generated Node #0,1: 85:[23, 23, 12] Operation: 40-28=12 Exploring Operation: 40-23=17, Resulting Numbers: [28, 23, 17] Generated Node #0,2: 85:[28, 23, 17] Operation: 40-23=17 Moving to Node #0,0 Current State: 85:[28, 23, 17], Operations: ['40-23=17'] Exploring Operation: 23-17=6, Resulting Numbers: [28, 6] Generated Node #0,0,0: 85:[28, 6] Operation: 23-17=6 Exploring Operation: 28-23=5, Resulting Numbers: [17, 5] Generated Node #0,0,1: 85:[17, 5] Operation: 28-23=5 Exploring Operation: 28-17=11, Resulting Numbers: [23, 11] Generated Node #0,0,2: 85:[23, 11] Operation: 28-17=11 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 85:[17, 5], Operations: ['40-23=17', '28-23=5'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,85 unequal: No Solution Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[28, 40, 23, 23], Operations: [] Exploring Operation: 40-23=17, Resulting Numbers: [28, 23, 17] Generated Node #0,0: 85:[28, 23, 17] Operation: 40-23=17 Moving to Node #0,0 Current State: 85:[28, 23, 17], Operations: ['40-23=17'] Exploring Operation: 28-23=5, Resulting Numbers: [17, 5] Generated Node #0,0,1: 85:[17, 5] Operation: 28-23=5 Moving to Node #0,0,1 Current State: 85:[17, 5], Operations: ['40-23=17', '28-23=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 31, 56, 73, 68 ]
51
[ "73-31=42", "68*42=2856", "2856/56=51" ]
Current State: 51:[31, 56, 73, 68], Operations: [] Exploring Operation: 73-31=42, Resulting Numbers: [56, 68, 42] Generated Node #2: [56, 68, 42] from Operation: 73-31=42 Current State: 51:[56, 68, 42], Operations: ['73-31=42'] Exploring Operation: 68*42=2856, Resulting Numbers: [56, 2856] Generated Node #3: [56, 2856] from Operation: 68*42=2856 Current State: 51:[56, 2856], Operations: ['73-31=42', '68*42=2856'] Exploring Operation: 2856/56=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[31, 56, 73, 68], Operations: [] Exploring Operation: 73-68=5, Resulting Numbers: [31, 56, 5] Generated Node #0,0: 51:[31, 56, 5] Operation: 73-68=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[31, 56, 5], Operations: ['73-68=5'] Exploring Operation: 56-31=25, Resulting Numbers: [5, 25] Generated Node #0,0,0: 51:[5, 25] Operation: 56-31=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[5, 25], Operations: ['73-68=5', '56-31=25'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 22, 47, 70, 25 ]
69
[ "47-22=25", "25/25=1", "70-1=69" ]
Current State: 69:[22, 47, 70, 25], Operations: [] Exploring Operation: 47-22=25, Resulting Numbers: [70, 25, 25] Generated Node #2: [70, 25, 25] from Operation: 47-22=25 Current State: 69:[70, 25, 25], Operations: ['47-22=25'] Exploring Operation: 25/25=1, Resulting Numbers: [70, 1] Generated Node #3: [70, 1] from Operation: 25/25=1 Current State: 69:[70, 1], Operations: ['47-22=25', '25/25=1'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[22, 47, 70, 25], Operations: [] Exploring Operation: 22+47=69, Resulting Numbers: [70, 25, 69] Generated Node #0,0: 69:[70, 25, 69] Operation: 22+47=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[70, 25, 69], Operations: ['22+47=69'] Exploring Operation: 70-69=1, Resulting Numbers: [25, 1] Generated Node #0,0,0: 69:[25, 1] Operation: 70-69=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[25, 1], Operations: ['22+47=69', '70-69=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,69 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
[ 14, 4, 29, 28 ]
62
[ "28/14=2", "29*2=58", "4+58=62" ]
Current State: 62:[14, 4, 29, 28], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [4, 29, 2] Generated Node #2: [4, 29, 2] from Operation: 28/14=2 Current State: 62:[4, 29, 2], Operations: ['28/14=2'] Exploring Operation: 29*2=58, Resulting Numbers: [4, 58] Generated Node #3: [4, 58] from Operation: 29*2=58 Current State: 62:[4, 58], Operations: ['28/14=2', '29*2=58'] Exploring Operation: 4+58=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[14, 4, 29, 28], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [4, 29, 2] Generated Node #0,0: 62:[4, 29, 2] Operation: 28/14=2 Exploring Operation: 14*4=56, Resulting Numbers: [29, 28, 56] Generated Node #0,1: 62:[29, 28, 56] Operation: 14*4=56 Moving to Node #0,0 Current State: 62:[4, 29, 2], Operations: ['28/14=2'] Exploring Operation: 4+29=33, Resulting Numbers: [2, 33] Generated Node #0,0,0: 62:[2, 33] Operation: 4+29=33 Exploring Operation: 4-2=2, Resulting Numbers: [29, 2] Generated Node #0,0,1: 62:[29, 2] Operation: 4-2=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[2, 33], Operations: ['28/14=2', '4+29=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[29, 2], Operations: ['28/14=2', '4-2=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,62 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,62 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: 62:[29, 28, 56], Operations: ['14*4=56'] Exploring Operation: 56-28=28, Resulting Numbers: [29, 28] Generated Node #0,1,0: 62:[29, 28] Operation: 56-28=28 Exploring Operation: 56/28=2, Resulting Numbers: [29, 2] Generated Node #0,1,1: 62:[29, 2] Operation: 56/28=2 Moving to Node #0,1,1 Current State: 62:[29, 2], Operations: ['14*4=56', '56/28=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,62 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[29, 28], Operations: ['14*4=56', '56-28=28'] Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 29+28=57, Resulting Numbers: [57] 57,62 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 11, 77, 63, 64 ]
39
[ "11+77=88", "63+64=127", "127-88=39" ]
Current State: 39:[11, 77, 63, 64], Operations: [] Exploring Operation: 11+77=88, Resulting Numbers: [63, 64, 88] Generated Node #2: [63, 64, 88] from Operation: 11+77=88 Current State: 39:[63, 64, 88], Operations: ['11+77=88'] Exploring Operation: 63+64=127, Resulting Numbers: [88, 127] Generated Node #3: [88, 127] from Operation: 63+64=127 Current State: 39:[88, 127], Operations: ['11+77=88', '63+64=127'] Exploring Operation: 127-88=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[11, 77, 63, 64], Operations: [] Exploring Operation: 77/11=7, Resulting Numbers: [63, 64, 7] Generated Node #0,0: 39:[63, 64, 7] Operation: 77/11=7 Exploring Operation: 64-63=1, Resulting Numbers: [11, 77, 1] Generated Node #0,1: 39:[11, 77, 1] Operation: 64-63=1 Exploring Operation: 77-64=13, Resulting Numbers: [11, 63, 13] Generated Node #0,2: 39:[11, 63, 13] Operation: 77-64=13 Exploring Operation: 77-63=14, Resulting Numbers: [11, 64, 14] Generated Node #0,3: 39:[11, 64, 14] Operation: 77-63=14 Moving to Node #0,2 Current State: 39:[11, 63, 13], Operations: ['77-64=13'] Exploring Operation: 11+63=74, Resulting Numbers: [13, 74] Generated Node #0,2,0: 39:[13, 74] Operation: 11+63=74 Exploring Operation: 13-11=2, Resulting Numbers: [63, 2] Generated Node #0,2,1: 39:[63, 2] Operation: 13-11=2 Exploring Operation: 63-13=50, Resulting Numbers: [11, 50] Generated Node #0,2,2: 39:[11, 50] Operation: 63-13=50 Exploring Operation: 63-11=52, Resulting Numbers: [13, 52] Generated Node #0,2,3: 39:[13, 52] Operation: 63-11=52 Moving to Node #0,3 Current State: 39:[11, 64, 14], Operations: ['77-63=14'] Exploring Operation: 14-11=3, Resulting Numbers: [64, 3] Generated Node #0,3,0: 39:[64, 3] Operation: 14-11=3 Exploring Operation: 11+64=75, Resulting Numbers: [14, 75] Generated Node #0,3,1: 39:[14, 75] Operation: 11+64=75 Exploring Operation: 64-11=53, Resulting Numbers: [14, 53] Generated Node #0,3,2: 39:[14, 53] Operation: 64-11=53 Exploring Operation: 64-14=50, Resulting Numbers: [11, 50] Generated Node #0,3,3: 39:[11, 50] Operation: 64-14=50 Moving to Node #0,1 Current State: 39:[11, 77, 1], Operations: ['64-63=1'] Exploring Operation: 11+1=12, Resulting Numbers: [77, 12] Generated Node #0,1,0: 39:[77, 12] Operation: 11+1=12 Exploring Operation: 77-11=66, Resulting Numbers: [1, 66] Generated Node #0,1,1: 39:[1, 66] Operation: 77-11=66 Exploring Operation: 77/11=7, Resulting Numbers: [1, 7] Generated Node #0,1,2: 39:[1, 7] Operation: 77/11=7 Exploring Operation: 77-1=76, Resulting Numbers: [11, 76] Generated Node #0,1,3: 39:[11, 76] Operation: 77-1=76 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 39:[1, 7], Operations: ['64-63=1', '77/11=7'] Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[1, 66], Operations: ['64-63=1', '77-11=66'] Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,39 unequal: No Solution Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,39 unequal: No Solution Exploring Operation: 1*66=66, Resulting Numbers: [66] 66,39 unequal: No Solution Exploring Operation: 1+66=67, Resulting Numbers: [67] 67,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[77, 12], Operations: ['64-63=1', '11+1=12'] Exploring Operation: 77*12=924, Resulting Numbers: [924] 924,39 unequal: No Solution Exploring Operation: 77+12=89, Resulting Numbers: [89] 89,39 unequal: No Solution Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 39:[11, 76], Operations: ['64-63=1', '77-1=76'] Exploring Operation: 11+76=87, Resulting Numbers: [87] 87,39 unequal: No Solution Exploring Operation: 76-11=65, Resulting Numbers: [65] 65,39 unequal: No Solution Exploring Operation: 11*76=836, Resulting Numbers: [836] 836,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 39:[63, 64, 7], Operations: ['77/11=7'] Exploring Operation: 63-7=56, Resulting Numbers: [64, 56] Generated Node #0,0,0: 39:[64, 56] Operation: 63-7=56 Exploring Operation: 64-63=1, Resulting Numbers: [7, 1] Generated Node #0,0,1: 39:[7, 1] Operation: 64-63=1 Exploring Operation: 64-7=57, Resulting Numbers: [63, 57] Generated Node #0,0,2: 39:[63, 57] Operation: 64-7=57 Exploring Operation: 63/7=9, Resulting Numbers: [64, 9] Generated Node #0,0,3: 39:[64, 9] Operation: 63/7=9 Moving to Node #0,0,1 Current State: 39:[7, 1], Operations: ['77/11=7', '64-63=1'] Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[11, 50], Operations: ['77-64=13', '63-13=50'] Exploring Operation: 11+50=61, Resulting Numbers: [61] 61,39 unequal: No Solution Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[11, 77, 63, 64], Operations: [] Exploring Operation: 77-64=13, Resulting Numbers: [11, 63, 13] Generated Node #0,2: 39:[11, 63, 13] Operation: 77-64=13 Moving to Node #0,2 Current State: 39:[11, 63, 13], Operations: ['77-64=13'] Exploring Operation: 63-13=50, Resulting Numbers: [11, 50] Generated Node #0,2,2: 39:[11, 50] Operation: 63-13=50 Moving to Node #0,2,2 Current State: 39:[11, 50], Operations: ['77-64=13', '63-13=50'] Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.961806
hs_4
sum_heuristic
[ 7, 20, 17, 23 ]
62
[ "20-17=3", "23*3=69", "69-7=62" ]
Current State: 62:[7, 20, 17, 23], Operations: [] Exploring Operation: 20-17=3, Resulting Numbers: [7, 23, 3] Generated Node #2: [7, 23, 3] from Operation: 20-17=3 Current State: 62:[7, 23, 3], Operations: ['20-17=3'] Exploring Operation: 23*3=69, Resulting Numbers: [7, 69] Generated Node #3: [7, 69] from Operation: 23*3=69 Current State: 62:[7, 69], Operations: ['20-17=3', '23*3=69'] Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[7, 20, 17, 23], Operations: [] Exploring Operation: 20-17=3, Resulting Numbers: [7, 23, 3] Generated Node #0,0: 62:[7, 23, 3] Operation: 20-17=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[7, 23, 3], Operations: ['20-17=3'] Exploring Operation: 7+23=30, Resulting Numbers: [3, 30] Generated Node #0,0,0: 62:[3, 30] Operation: 7+23=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[3, 30], Operations: ['20-17=3', '7+23=30'] Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 9, 8, 29, 61 ]
49
[ "9+8=17", "61-29=32", "17+32=49" ]
Current State: 49:[9, 8, 29, 61], Operations: [] Exploring Operation: 9+8=17, Resulting Numbers: [29, 61, 17] Generated Node #2: [29, 61, 17] from Operation: 9+8=17 Current State: 49:[29, 61, 17], Operations: ['9+8=17'] Exploring Operation: 61-29=32, Resulting Numbers: [17, 32] Generated Node #3: [17, 32] from Operation: 61-29=32 Current State: 49:[17, 32], Operations: ['9+8=17', '61-29=32'] Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[9, 8, 29, 61], Operations: [] Exploring Operation: 61-29=32, Resulting Numbers: [9, 8, 32] Generated Node #0,0: 49:[9, 8, 32] Operation: 61-29=32 Moving to Node #0,0 Current State: 49:[9, 8, 32], Operations: ['61-29=32'] Exploring Operation: 32/8=4, Resulting Numbers: [9, 4] Generated Node #0,0,0: 49:[9, 4] Operation: 32/8=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[9, 4], Operations: ['61-29=32', '32/8=4'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 4, 12, 71, 15 ]
64
[ "12-4=8", "71-15=56", "8+56=64" ]
Current State: 64:[4, 12, 71, 15], Operations: [] Exploring Operation: 12-4=8, Resulting Numbers: [71, 15, 8] Generated Node #2: [71, 15, 8] from Operation: 12-4=8 Current State: 64:[71, 15, 8], Operations: ['12-4=8'] Exploring Operation: 71-15=56, Resulting Numbers: [8, 56] Generated Node #3: [8, 56] from Operation: 71-15=56 Current State: 64:[8, 56], Operations: ['12-4=8', '71-15=56'] Exploring Operation: 8+56=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[4, 12, 71, 15], Operations: [] Exploring Operation: 71-4=67, Resulting Numbers: [12, 15, 67] Generated Node #0,0: 64:[12, 15, 67] Operation: 71-4=67 Exploring Operation: 4+12=16, Resulting Numbers: [71, 15, 16] Generated Node #0,1: 64:[71, 15, 16] Operation: 4+12=16 Exploring Operation: 12-4=8, Resulting Numbers: [71, 15, 8] Generated Node #0,2: 64:[71, 15, 8] Operation: 12-4=8 Exploring Operation: 15-12=3, Resulting Numbers: [4, 71, 3] Generated Node #0,3: 64:[4, 71, 3] Operation: 15-12=3 Exploring Operation: 71-12=59, Resulting Numbers: [4, 15, 59] Generated Node #0,4: 64:[4, 15, 59] Operation: 71-12=59 Start Sub Search at level 1: Moving to Node #0,4 Current State: 64:[4, 15, 59], Operations: ['71-12=59'] Exploring Operation: 4+15=19, Resulting Numbers: [59, 19] Generated Node #0,4,0: 64:[59, 19] Operation: 4+15=19 Exploring Operation: 15-4=11, Resulting Numbers: [59, 11] Generated Node #0,4,1: 64:[59, 11] Operation: 15-4=11 Exploring Operation: 59-4=55, Resulting Numbers: [15, 55] Generated Node #0,4,2: 64:[15, 55] Operation: 59-4=55 Exploring Operation: 4*15=60, Resulting Numbers: [59, 60] Generated Node #0,4,3: 64:[59, 60] Operation: 4*15=60 Exploring Operation: 4+59=63, Resulting Numbers: [15, 63] Generated Node #0,4,4: 64:[15, 63] Operation: 4+59=63 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 64:[15, 63], Operations: ['71-12=59', '4+59=63'] Exploring Operation: 15*63=945, Resulting Numbers: [945] 945,64 unequal: No Solution Exploring Operation: 15+63=78, Resulting Numbers: [78] 78,64 unequal: No Solution Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,64 unequal: No Solution No 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: 64:[59, 19], Operations: ['71-12=59', '4+15=19'] Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 59*19=1121, Resulting Numbers: [1121] 1121,64 unequal: No Solution Exploring Operation: 59+19=78, Resulting Numbers: [78] 78,64 unequal: No Solution No 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: 64:[59, 11], Operations: ['71-12=59', '15-4=11'] Exploring Operation: 59+11=70, Resulting Numbers: [70] 70,64 unequal: No Solution Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,64 unequal: No Solution Exploring Operation: 59*11=649, Resulting Numbers: [649] 649,64 unequal: No Solution No 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: 64:[59, 60], Operations: ['71-12=59', '4*15=60'] Exploring Operation: 59+60=119, Resulting Numbers: [119] 119,64 unequal: No Solution Exploring Operation: 59*60=3540, Resulting Numbers: [3540] 3540,64 unequal: No Solution Exploring Operation: 60-59=1, Resulting Numbers: [1] 1,64 unequal: No Solution No 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: 64:[15, 55], Operations: ['71-12=59', '59-4=55'] Exploring Operation: 15+55=70, Resulting Numbers: [70] 70,64 unequal: No Solution Exploring Operation: 15*55=825, Resulting Numbers: [825] 825,64 unequal: No Solution Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,64 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: 64:[12, 15, 67], Operations: ['71-4=67'] Exploring Operation: 15-12=3, Resulting Numbers: [67, 3] Generated Node #0,0,0: 64:[67, 3] Operation: 15-12=3 Exploring Operation: 12+15=27, Resulting Numbers: [67, 27] Generated Node #0,0,1: 64:[67, 27] Operation: 12+15=27 Exploring Operation: 12+67=79, Resulting Numbers: [15, 79] Generated Node #0,0,2: 64:[15, 79] Operation: 12+67=79 Exploring Operation: 67-12=55, Resulting Numbers: [15, 55] Generated Node #0,0,3: 64:[15, 55] Operation: 67-12=55 Exploring Operation: 67-15=52, Resulting Numbers: [12, 52] Generated Node #0,0,4: 64:[12, 52] Operation: 67-15=52 Moving to Node #0,0,0 Current State: 64:[67, 3], Operations: ['71-4=67', '15-12=3'] Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,64 unequal: No Solution Exploring Operation: 67*3=201, Resulting Numbers: [201] 201,64 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[4, 12, 71, 15], Operations: [] Exploring Operation: 71-4=67, Resulting Numbers: [12, 15, 67] Generated Node #0,0: 64:[12, 15, 67] Operation: 71-4=67 Moving to Node #0,0 Current State: 64:[12, 15, 67], Operations: ['71-4=67'] Exploring Operation: 15-12=3, Resulting Numbers: [67, 3] Generated Node #0,0,0: 64:[67, 3] Operation: 15-12=3 Moving to Node #0,0,0 Current State: 64:[67, 3], Operations: ['71-4=67', '15-12=3'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
sum_heuristic
[ 7, 14, 93, 68 ]
25
[ "14+93=107", "68+107=175", "175/7=25" ]
Current State: 25:[7, 14, 93, 68], Operations: [] Exploring Operation: 14+93=107, Resulting Numbers: [7, 68, 107] Generated Node #2: [7, 68, 107] from Operation: 14+93=107 Current State: 25:[7, 68, 107], Operations: ['14+93=107'] Exploring Operation: 68+107=175, Resulting Numbers: [7, 175] Generated Node #3: [7, 175] from Operation: 68+107=175 Current State: 25:[7, 175], Operations: ['14+93=107', '68+107=175'] Exploring Operation: 175/7=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[7, 14, 93, 68], Operations: [] Exploring Operation: 93-14=79, Resulting Numbers: [7, 68, 79] Generated Node #0,0: 25:[7, 68, 79] Operation: 93-14=79 Exploring Operation: 93-68=25, Resulting Numbers: [7, 14, 25] Generated Node #0,1: 25:[7, 14, 25] Operation: 93-68=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[7, 14, 25], Operations: ['93-68=25'] Exploring Operation: 14-7=7, Resulting Numbers: [25, 7] Generated Node #0,1,0: 25:[25, 7] Operation: 14-7=7 Exploring Operation: 14/7=2, Resulting Numbers: [25, 2] Generated Node #0,1,1: 25:[25, 2] Operation: 14/7=2 Moving to Node #0,1,0 Current State: 25:[25, 7], Operations: ['93-68=25', '14-7=7'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[25, 2], Operations: ['93-68=25', '14/7=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[7, 68, 79], Operations: ['93-14=79'] Exploring Operation: 68-7=61, Resulting Numbers: [79, 61] Generated Node #0,0,0: 25:[79, 61] Operation: 68-7=61 Exploring Operation: 79-68=11, Resulting Numbers: [7, 11] Generated Node #0,0,1: 25:[7, 11] Operation: 79-68=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 25:[7, 11], Operations: ['93-14=79', '79-68=11'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,25 unequal: No Solution No 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: 25:[79, 61], Operations: ['93-14=79', '68-7=61'] Exploring Operation: 79-61=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 79+61=140, Resulting Numbers: [140] 140,25 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
[ 7, 16, 32, 37 ]
29
[ "37-16=21", "21/7=3", "32-3=29" ]
Current State: 29:[7, 16, 32, 37], Operations: [] Exploring Operation: 37-16=21, Resulting Numbers: [7, 32, 21] Generated Node #2: [7, 32, 21] from Operation: 37-16=21 Current State: 29:[7, 32, 21], Operations: ['37-16=21'] Exploring Operation: 21/7=3, Resulting Numbers: [32, 3] Generated Node #3: [32, 3] from Operation: 21/7=3 Current State: 29:[32, 3], Operations: ['37-16=21', '21/7=3'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[7, 16, 32, 37], Operations: [] Exploring Operation: 16-7=9, Resulting Numbers: [32, 37, 9] Generated Node #0,0: 29:[32, 37, 9] Operation: 16-7=9 Exploring Operation: 32-7=25, Resulting Numbers: [16, 37, 25] Generated Node #0,1: 29:[16, 37, 25] Operation: 32-7=25 Exploring Operation: 37-7=30, Resulting Numbers: [16, 32, 30] Generated Node #0,2: 29:[16, 32, 30] Operation: 37-7=30 Exploring Operation: 7+16=23, Resulting Numbers: [32, 37, 23] Generated Node #0,3: 29:[32, 37, 23] Operation: 7+16=23 Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[16, 32, 30], Operations: ['37-7=30'] Exploring Operation: 32-16=16, Resulting Numbers: [30, 16] Generated Node #0,2,0: 29:[30, 16] Operation: 32-16=16 Exploring Operation: 16+30=46, Resulting Numbers: [32, 46] Generated Node #0,2,1: 29:[32, 46] Operation: 16+30=46 Exploring Operation: 16+32=48, Resulting Numbers: [30, 48] Generated Node #0,2,2: 29:[30, 48] Operation: 16+32=48 Exploring Operation: 30-16=14, Resulting Numbers: [32, 14] Generated Node #0,2,3: 29:[32, 14] Operation: 30-16=14 Moving to Node #0,2,0 Current State: 29:[30, 16], Operations: ['37-7=30', '32-16=16'] Exploring Operation: 30+16=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 30*16=480, Resulting Numbers: [480] 480,29 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[32, 14], Operations: ['37-7=30', '30-16=14'] Exploring Operation: 32*14=448, Resulting Numbers: [448] 448,29 unequal: No Solution Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,29 unequal: No Solution Moving to Node #0,2,2 Current State: 29:[30, 48], Operations: ['37-7=30', '16+32=48'] Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 30*48=1440, Resulting Numbers: [1440] 1440,29 unequal: No Solution Exploring Operation: 30+48=78, Resulting Numbers: [78] 78,29 unequal: No Solution Moving to Node #0,2,1 Current State: 29:[32, 46], Operations: ['37-7=30', '16+30=46'] Exploring Operation: 32*46=1472, Resulting Numbers: [1472] 1472,29 unequal: No Solution Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 32+46=78, Resulting Numbers: [78] 78,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,3 Current State: 29:[32, 37, 23], Operations: ['7+16=23'] Exploring Operation: 37-32=5, Resulting Numbers: [23, 5] Generated Node #0,3,0: 29:[23, 5] Operation: 37-32=5 Exploring Operation: 32-23=9, Resulting Numbers: [37, 9] Generated Node #0,3,1: 29:[37, 9] Operation: 32-23=9 Exploring Operation: 32+23=55, Resulting Numbers: [37, 55] Generated Node #0,3,2: 29:[37, 55] Operation: 32+23=55 Exploring Operation: 37-23=14, Resulting Numbers: [32, 14] Generated Node #0,3,3: 29:[32, 14] Operation: 37-23=14 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 29:[32, 14], Operations: ['7+16=23', '37-23=14'] Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 32*14=448, Resulting Numbers: [448] 448,29 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,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,3,1 Current State: 29:[37, 9], Operations: ['7+16=23', '32-23=9'] Exploring Operation: 37+9=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 37*9=333, Resulting Numbers: [333] 333,29 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,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,3,0 Current State: 29:[23, 5], Operations: ['7+16=23', '37-32=5'] Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,29 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,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,3,2 Current State: 29:[37, 55], Operations: ['7+16=23', '32+23=55'] Exploring Operation: 37*55=2035, Resulting Numbers: [2035] 2035,29 unequal: No Solution Exploring Operation: 37+55=92, Resulting Numbers: [92] 92,29 unequal: No Solution Exploring Operation: 55-37=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,1 Current State: 29:[16, 37, 25], Operations: ['32-7=25'] Exploring Operation: 16+25=41, Resulting Numbers: [37, 41] Generated Node #0,1,0: 29:[37, 41] Operation: 16+25=41 Exploring Operation: 37-16=21, Resulting Numbers: [25, 21] Generated Node #0,1,1: 29:[25, 21] Operation: 37-16=21 Exploring Operation: 16+37=53, Resulting Numbers: [25, 53] Generated Node #0,1,2: 29:[25, 53] Operation: 16+37=53 Exploring Operation: 25-16=9, Resulting Numbers: [37, 9] Generated Node #0,1,3: 29:[37, 9] Operation: 25-16=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 29:[25, 21], Operations: ['32-7=25', '37-16=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 25*21=525, Resulting Numbers: [525] 525,29 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,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,1,0 Current State: 29:[37, 41], Operations: ['32-7=25', '16+25=41'] Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,29 unequal: No Solution Exploring Operation: 37*41=1517, Resulting Numbers: [1517] 1517,29 unequal: No Solution Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,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,1,2 Current State: 29:[25, 53], Operations: ['32-7=25', '16+37=53'] Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 25+53=78, Resulting Numbers: [78] 78,29 unequal: No Solution Exploring Operation: 25*53=1325, Resulting Numbers: [1325] 1325,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,1,3 Current State: 29:[37, 9], Operations: ['32-7=25', '25-16=9'] Exploring Operation: 37+9=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 37*9=333, Resulting Numbers: [333] 333,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,0 Current State: 29:[32, 37, 9], Operations: ['16-7=9'] Exploring Operation: 37+9=46, Resulting Numbers: [32, 46] Generated Node #0,0,0: 29:[32, 46] Operation: 37+9=46 Exploring Operation: 32+9=41, Resulting Numbers: [37, 41] Generated Node #0,0,1: 29:[37, 41] Operation: 32+9=41 Exploring Operation: 32-9=23, Resulting Numbers: [37, 23] Generated Node #0,0,2: 29:[37, 23] Operation: 32-9=23 Exploring Operation: 37-9=28, Resulting Numbers: [32, 28] Generated Node #0,0,3: 29:[32, 28] Operation: 37-9=28 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 29:[32, 28], Operations: ['16-7=9', '37-9=28'] Exploring Operation: 32*28=896, Resulting Numbers: [896] 896,29 unequal: No Solution Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,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:[37, 23], Operations: ['16-7=9', '32-9=23'] Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 37*23=851, Resulting Numbers: [851] 851,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,0 Current State: 29:[32, 46], Operations: ['16-7=9', '37+9=46'] Exploring Operation: 32+46=78, Resulting Numbers: [78] 78,29 unequal: No Solution Exploring Operation: 32*46=1472, Resulting Numbers: [1472] 1472,29 unequal: No Solution Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,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:[37, 41], Operations: ['16-7=9', '32+9=41'] Exploring Operation: 37*41=1517, Resulting Numbers: [1517] 1517,29 unequal: No Solution Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,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_4
sum_heuristic
[ 10, 54, 2, 32 ]
66
[ "10*2=20", "54+32=86", "86-20=66" ]
Current State: 66:[10, 54, 2, 32], Operations: [] Exploring Operation: 10*2=20, Resulting Numbers: [54, 32, 20] Generated Node #2: [54, 32, 20] from Operation: 10*2=20 Current State: 66:[54, 32, 20], Operations: ['10*2=20'] Exploring Operation: 54+32=86, Resulting Numbers: [20, 86] Generated Node #3: [20, 86] from Operation: 54+32=86 Current State: 66:[20, 86], Operations: ['10*2=20', '54+32=86'] Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[10, 54, 2, 32], Operations: [] Exploring Operation: 54/2=27, Resulting Numbers: [10, 32, 27] Generated Node #0,0: 66:[10, 32, 27] Operation: 54/2=27 Exploring Operation: 10+54=64, Resulting Numbers: [2, 32, 64] Generated Node #0,1: 66:[2, 32, 64] Operation: 10+54=64 Exploring Operation: 54-32=22, Resulting Numbers: [10, 2, 22] Generated Node #0,2: 66:[10, 2, 22] Operation: 54-32=22 Moving to Node #0,2 Current State: 66:[10, 2, 22], Operations: ['54-32=22'] Exploring Operation: 10/2=5, Resulting Numbers: [22, 5] Generated Node #0,2,0: 66:[22, 5] Operation: 10/2=5 Exploring Operation: 10+2=12, Resulting Numbers: [22, 12] Generated Node #0,2,1: 66:[22, 12] Operation: 10+2=12 Exploring Operation: 10+22=32, Resulting Numbers: [2, 32] Generated Node #0,2,2: 66:[2, 32] Operation: 10+22=32 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 66:[22, 5], Operations: ['54-32=22', '10/2=5'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,66 unequal: No Solution Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 66:[22, 12], Operations: ['54-32=22', '10+2=12'] Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,66 unequal: No Solution Exploring Operation: 22*12=264, Resulting Numbers: [264] 264,66 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 66:[2, 32], Operations: ['54-32=22', '10+22=32'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,66 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,66 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: 66:[2, 32, 64], Operations: ['10+54=64'] Exploring Operation: 64/32=2, Resulting Numbers: [2, 2] Generated Node #0,1,0: 66:[2, 2] Operation: 64/32=2 Exploring Operation: 2+64=66, Resulting Numbers: [32, 66] Generated Node #0,1,1: 66:[32, 66] Operation: 2+64=66 Exploring Operation: 64-32=32, Resulting Numbers: [2, 32] Generated Node #0,1,2: 66:[2, 32] Operation: 64-32=32 Moving to Node #0,0 Current State: 66:[10, 32, 27], Operations: ['54/2=27'] Exploring Operation: 32-27=5, Resulting Numbers: [10, 5] Generated Node #0,0,0: 66:[10, 5] Operation: 32-27=5 Exploring Operation: 32-10=22, Resulting Numbers: [27, 22] Generated Node #0,0,1: 66:[27, 22] Operation: 32-10=22 Exploring Operation: 10+27=37, Resulting Numbers: [32, 37] Generated Node #0,0,2: 66:[32, 37] Operation: 10+27=37 Moving to Node #0,1,0 Current State: 66:[2, 2], Operations: ['10+54=64', '64/32=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,66 unequal: No Solution Moving to Node #0,1,2 Current State: 66:[2, 32], Operations: ['10+54=64', '64-32=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,66 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,66 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[32, 66], Operations: ['10+54=64', '2+64=66'] Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,66 unequal: No Solution Exploring Operation: 32+66=98, Resulting Numbers: [98] 98,66 unequal: No Solution Exploring Operation: 32*66=2112, Resulting Numbers: [2112] 2112,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[10, 5], Operations: ['54/2=27', '32-27=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[27, 22], Operations: ['54/2=27', '32-10=22'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,66 unequal: No Solution Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[32, 37], Operations: ['54/2=27', '10+27=37'] Exploring Operation: 32+37=69, Resulting Numbers: [69] 69,66 unequal: No Solution Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 32*37=1184, Resulting Numbers: [1184] 1184,66 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 77, 65, 52, 90 ]
47
[ "90-77=13", "65/13=5", "52-5=47" ]
Current State: 47:[77, 65, 52, 90], Operations: [] Exploring Operation: 90-77=13, Resulting Numbers: [65, 52, 13] Generated Node #2: [65, 52, 13] from Operation: 90-77=13 Current State: 47:[65, 52, 13], Operations: ['90-77=13'] Exploring Operation: 65/13=5, Resulting Numbers: [52, 5] Generated Node #3: [52, 5] from Operation: 65/13=5 Current State: 47:[52, 5], Operations: ['90-77=13', '65/13=5'] Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[77, 65, 52, 90], Operations: [] Exploring Operation: 90-65=25, Resulting Numbers: [77, 52, 25] Generated Node #0,0: 47:[77, 52, 25] Operation: 90-65=25 Exploring Operation: 77-65=12, Resulting Numbers: [52, 90, 12] Generated Node #0,1: 47:[52, 90, 12] Operation: 77-65=12 Exploring Operation: 77-52=25, Resulting Numbers: [65, 90, 25] Generated Node #0,2: 47:[65, 90, 25] Operation: 77-52=25 Exploring Operation: 90-77=13, Resulting Numbers: [65, 52, 13] Generated Node #0,3: 47:[65, 52, 13] Operation: 90-77=13 Exploring Operation: 90-52=38, Resulting Numbers: [77, 65, 38] Generated Node #0,4: 47:[77, 65, 38] Operation: 90-52=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[77, 52, 25], Operations: ['90-65=25'] Exploring Operation: 52-25=27, Resulting Numbers: [77, 27] Generated Node #0,0,0: 47:[77, 27] Operation: 52-25=27 Exploring Operation: 77-25=52, Resulting Numbers: [52, 52] Generated Node #0,0,1: 47:[52, 52] Operation: 77-25=52 Exploring Operation: 52+25=77, Resulting Numbers: [77, 77] Generated Node #0,0,2: 47:[77, 77] Operation: 52+25=77 Exploring Operation: 77+25=102, Resulting Numbers: [52, 102] Generated Node #0,0,3: 47:[52, 102] Operation: 77+25=102 Exploring Operation: 77-52=25, Resulting Numbers: [25, 25] Generated Node #0,0,4: 47:[25, 25] Operation: 77-52=25 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[52, 52], Operations: ['90-65=25', '77-25=52'] Exploring Operation: 52+52=104, Resulting Numbers: [104] 104,47 unequal: No Solution Exploring Operation: 52/52=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 52*52=2704, Resulting Numbers: [2704] 2704,47 unequal: No Solution Exploring Operation: 52-52=0, Resulting Numbers: [0] 0,47 unequal: No Solution No 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: 47:[25, 25], Operations: ['90-65=25', '77-52=25'] Exploring Operation: 25-25=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 25+25=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 25/25=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 25*25=625, Resulting Numbers: [625] 625,47 unequal: No Solution No 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: 47:[77, 27], Operations: ['90-65=25', '52-25=27'] Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 77+27=104, Resulting Numbers: [104] 104,47 unequal: No Solution Exploring Operation: 77*27=2079, Resulting Numbers: [2079] 2079,47 unequal: No Solution No 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: 47:[77, 77], Operations: ['90-65=25', '52+25=77'] Exploring Operation: 77/77=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 77+77=154, Resulting Numbers: [154] 154,47 unequal: No Solution Exploring Operation: 77*77=5929, Resulting Numbers: [5929] 5929,47 unequal: No Solution Exploring Operation: 77-77=0, Resulting Numbers: [0] 0,47 unequal: No Solution No 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: 47:[52, 102], Operations: ['90-65=25', '77+25=102'] Exploring Operation: 102-52=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 52*102=5304, Resulting Numbers: [5304] 5304,47 unequal: No Solution Exploring Operation: 52+102=154, Resulting Numbers: [154] 154,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 47:[65, 52, 13], Operations: ['90-77=13'] Exploring Operation: 65+13=78, Resulting Numbers: [52, 78] Generated Node #0,3,0: 47:[52, 78] Operation: 65+13=78 Exploring Operation: 65/13=5, Resulting Numbers: [52, 5] Generated Node #0,3,1: 47:[52, 5] Operation: 65/13=5 Exploring Operation: 65-13=52, Resulting Numbers: [52, 52] Generated Node #0,3,2: 47:[52, 52] Operation: 65-13=52 Exploring Operation: 52+13=65, Resulting Numbers: [65, 65] Generated Node #0,3,3: 47:[65, 65] Operation: 52+13=65 Exploring Operation: 52-13=39, Resulting Numbers: [65, 39] Generated Node #0,3,4: 47:[65, 39] Operation: 52-13=39 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 47:[52, 52], Operations: ['90-77=13', '65-13=52'] Exploring Operation: 52+52=104, Resulting Numbers: [104] 104,47 unequal: No Solution Exploring Operation: 52-52=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 52*52=2704, Resulting Numbers: [2704] 2704,47 unequal: No Solution Exploring Operation: 52/52=1, Resulting Numbers: [1] 1,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 47:[65, 39], Operations: ['90-77=13', '52-13=39'] Exploring Operation: 65*39=2535, Resulting Numbers: [2535] 2535,47 unequal: No Solution Exploring Operation: 65-39=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 65+39=104, Resulting Numbers: [104] 104,47 unequal: No Solution No 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: 47:[52, 78], Operations: ['90-77=13', '65+13=78'] Exploring Operation: 52+78=130, Resulting Numbers: [130] 130,47 unequal: No Solution Exploring Operation: 52*78=4056, Resulting Numbers: [4056] 4056,47 unequal: No Solution Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,47 unequal: No Solution No 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: 47:[65, 65], Operations: ['90-77=13', '52+13=65'] Exploring Operation: 65+65=130, Resulting Numbers: [130] 130,47 unequal: No Solution Exploring Operation: 65*65=4225, Resulting Numbers: [4225] 4225,47 unequal: No Solution Exploring Operation: 65/65=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 65-65=0, Resulting Numbers: [0] 0,47 unequal: No Solution No 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: 47:[52, 5], Operations: ['90-77=13', '65/13=5'] Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[77, 65, 52, 90], Operations: [] Exploring Operation: 90-77=13, Resulting Numbers: [65, 52, 13] Generated Node #0,3: 47:[65, 52, 13] Operation: 90-77=13 Moving to Node #0,3 Current State: 47:[65, 52, 13], Operations: ['90-77=13'] Exploring Operation: 65/13=5, Resulting Numbers: [52, 5] Generated Node #0,3,1: 47:[52, 5] Operation: 65/13=5 Moving to Node #0,3,1 Current State: 47:[52, 5], Operations: ['90-77=13', '65/13=5'] Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.953993
hs_5
sum_heuristic
[ 45, 13, 48, 3 ]
15
[ "13+3=16", "45*16=720", "720/48=15" ]
Current State: 15:[45, 13, 48, 3], Operations: [] Exploring Operation: 13+3=16, Resulting Numbers: [45, 48, 16] Generated Node #2: [45, 48, 16] from Operation: 13+3=16 Current State: 15:[45, 48, 16], Operations: ['13+3=16'] Exploring Operation: 45*16=720, Resulting Numbers: [48, 720] Generated Node #3: [48, 720] from Operation: 45*16=720 Current State: 15:[48, 720], Operations: ['13+3=16', '45*16=720'] Exploring Operation: 720/48=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[45, 13, 48, 3], Operations: [] Exploring Operation: 48-45=3, Resulting Numbers: [13, 3, 3] Generated Node #0,0: 15:[13, 3, 3] Operation: 48-45=3 Moving to Node #0,0 Current State: 15:[13, 3, 3], Operations: ['48-45=3'] Exploring Operation: 13+3=16, Resulting Numbers: [3, 16] Generated Node #0,0,0: 15:[3, 16] Operation: 13+3=16 Moving to Node #0,0,0 Current State: 15:[3, 16], Operations: ['48-45=3', '13+3=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,15 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 54, 66, 24, 12 ]
84
[ "54+66=120", "24+12=36", "120-36=84" ]
Current State: 84:[54, 66, 24, 12], Operations: [] Exploring Operation: 54+66=120, Resulting Numbers: [24, 12, 120] Generated Node #2: [24, 12, 120] from Operation: 54+66=120 Current State: 84:[24, 12, 120], Operations: ['54+66=120'] Exploring Operation: 24+12=36, Resulting Numbers: [120, 36] Generated Node #3: [120, 36] from Operation: 24+12=36 Current State: 84:[120, 36], Operations: ['54+66=120', '24+12=36'] Exploring Operation: 120-36=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[54, 66, 24, 12], Operations: [] Exploring Operation: 66-54=12, Resulting Numbers: [24, 12, 12] Generated Node #0,0: 84:[24, 12, 12] Operation: 66-54=12 Exploring Operation: 66+24=90, Resulting Numbers: [54, 12, 90] Generated Node #0,1: 84:[54, 12, 90] Operation: 66+24=90 Exploring Operation: 66-24=42, Resulting Numbers: [54, 12, 42] Generated Node #0,2: 84:[54, 12, 42] Operation: 66-24=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[24, 12, 12], Operations: ['66-54=12'] Exploring Operation: 24-12=12, Resulting Numbers: [12, 12] Generated Node #0,0,0: 84:[12, 12] Operation: 24-12=12 Exploring Operation: 24/12=2, Resulting Numbers: [12, 2] Generated Node #0,0,1: 84:[12, 2] Operation: 24/12=2 Exploring Operation: 24-12=12, Resulting Numbers: [12, 12] Generated Node #0,0,2: 84:[12, 12] Operation: 24-12=12 Moving to Node #0,0,0 Current State: 84:[12, 12], Operations: ['66-54=12', '24-12=12'] Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[12, 2], Operations: ['66-54=12', '24/12=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,84 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[12, 12], Operations: ['66-54=12', '24-12=12'] Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[54, 12, 42], Operations: ['66-24=42'] Exploring Operation: 54-42=12, Resulting Numbers: [12, 12] Generated Node #0,2,0: 84:[12, 12] Operation: 54-42=12 Exploring Operation: 54-12=42, Resulting Numbers: [42, 42] Generated Node #0,2,1: 84:[42, 42] Operation: 54-12=42 Exploring Operation: 54+42=96, Resulting Numbers: [12, 96] Generated Node #0,2,2: 84:[12, 96] Operation: 54+42=96 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 84:[12, 12], Operations: ['66-24=42', '54-42=12'] Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,84 unequal: No Solution No 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: 84:[42, 42], Operations: ['66-24=42', '54-12=42'] Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[54, 66, 24, 12], Operations: [] Exploring Operation: 66-24=42, Resulting Numbers: [54, 12, 42] Generated Node #0,2: 84:[54, 12, 42] Operation: 66-24=42 Moving to Node #0,2 Current State: 84:[54, 12, 42], Operations: ['66-24=42'] Exploring Operation: 54-12=42, Resulting Numbers: [42, 42] Generated Node #0,2,1: 84:[42, 42] Operation: 54-12=42 Moving to Node #0,2,1 Current State: 84:[42, 42], Operations: ['66-24=42', '54-12=42'] Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic
[ 37, 29, 60, 55 ]
71
[ "37+29=66", "60-55=5", "66+5=71" ]
Current State: 71:[37, 29, 60, 55], Operations: [] Exploring Operation: 37+29=66, Resulting Numbers: [60, 55, 66] Generated Node #2: [60, 55, 66] from Operation: 37+29=66 Current State: 71:[60, 55, 66], Operations: ['37+29=66'] Exploring Operation: 60-55=5, Resulting Numbers: [66, 5] Generated Node #3: [66, 5] from Operation: 60-55=5 Current State: 71:[66, 5], Operations: ['37+29=66', '60-55=5'] Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[37, 29, 60, 55], Operations: [] Exploring Operation: 37+29=66, Resulting Numbers: [60, 55, 66] Generated Node #0,0: 71:[60, 55, 66] Operation: 37+29=66 Exploring Operation: 29+55=84, Resulting Numbers: [37, 60, 84] Generated Node #0,1: 71:[37, 60, 84] Operation: 29+55=84 Exploring Operation: 29+60=89, Resulting Numbers: [37, 55, 89] Generated Node #0,2: 71:[37, 55, 89] Operation: 29+60=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[60, 55, 66], Operations: ['37+29=66'] Exploring Operation: 55+66=121, Resulting Numbers: [60, 121] Generated Node #0,0,0: 71:[60, 121] Operation: 55+66=121 Exploring Operation: 60-55=5, Resulting Numbers: [66, 5] Generated Node #0,0,1: 71:[66, 5] Operation: 60-55=5 Exploring Operation: 60+55=115, Resulting Numbers: [66, 115] Generated Node #0,0,2: 71:[66, 115] Operation: 60+55=115 Moving to Node #0,0,2 Current State: 71:[66, 115], Operations: ['37+29=66', '60+55=115'] Exploring Operation: 66*115=7590, Resulting Numbers: [7590] 7590,71 unequal: No Solution Exploring Operation: 115-66=49, Resulting Numbers: [49] 49,71 unequal: No Solution Exploring Operation: 66+115=181, Resulting Numbers: [181] 181,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[60, 121], Operations: ['37+29=66', '55+66=121'] Exploring Operation: 60+121=181, Resulting Numbers: [181] 181,71 unequal: No Solution Exploring Operation: 121-60=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 60*121=7260, Resulting Numbers: [7260] 7260,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[66, 5], Operations: ['37+29=66', '60-55=5'] Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[37, 29, 60, 55], Operations: [] Exploring Operation: 37+29=66, Resulting Numbers: [60, 55, 66] Generated Node #0,0: 71:[60, 55, 66] Operation: 37+29=66 Moving to Node #0,0 Current State: 71:[60, 55, 66], Operations: ['37+29=66'] Exploring Operation: 60-55=5, Resulting Numbers: [66, 5] Generated Node #0,0,1: 71:[66, 5] Operation: 60-55=5 Moving to Node #0,0,1 Current State: 71:[66, 5], Operations: ['37+29=66', '60-55=5'] Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 53, 51, 12, 80 ]
12
[ "53+51=104", "12+80=92", "104-92=12" ]
Current State: 12:[53, 51, 12, 80], Operations: [] Exploring Operation: 53+51=104, Resulting Numbers: [12, 80, 104] Generated Node #2: [12, 80, 104] from Operation: 53+51=104 Current State: 12:[12, 80, 104], Operations: ['53+51=104'] Exploring Operation: 12+80=92, Resulting Numbers: [104, 92] Generated Node #3: [104, 92] from Operation: 12+80=92 Current State: 12:[104, 92], Operations: ['53+51=104', '12+80=92'] Exploring Operation: 104-92=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[53, 51, 12, 80], Operations: [] Exploring Operation: 80-53=27, Resulting Numbers: [51, 12, 27] Generated Node #0,0: 12:[51, 12, 27] Operation: 80-53=27 Exploring Operation: 53-51=2, Resulting Numbers: [12, 80, 2] Generated Node #0,1: 12:[12, 80, 2] Operation: 53-51=2 Exploring Operation: 80-51=29, Resulting Numbers: [53, 12, 29] Generated Node #0,2: 12:[53, 12, 29] Operation: 80-51=29 Exploring Operation: 53-12=41, Resulting Numbers: [51, 80, 41] Generated Node #0,3: 12:[51, 80, 41] Operation: 53-12=41 Moving to Node #0,0 Current State: 12:[51, 12, 27], Operations: ['80-53=27'] Exploring Operation: 27-12=15, Resulting Numbers: [51, 15] Generated Node #0,0,0: 12:[51, 15] Operation: 27-12=15 Exploring Operation: 51+12=63, Resulting Numbers: [27, 63] Generated Node #0,0,1: 12:[27, 63] Operation: 51+12=63 Exploring Operation: 51-12=39, Resulting Numbers: [27, 39] Generated Node #0,0,2: 12:[27, 39] Operation: 51-12=39 Exploring Operation: 51-27=24, Resulting Numbers: [12, 24] Generated Node #0,0,3: 12:[12, 24] Operation: 51-27=24 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 12:[12, 24], Operations: ['80-53=27', '51-27=24'] Exploring Operation: 12+24=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 12*24=288, Resulting Numbers: [288] 288,12 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[53, 51, 12, 80], Operations: [] Exploring Operation: 80-53=27, Resulting Numbers: [51, 12, 27] Generated Node #0,0: 12:[51, 12, 27] Operation: 80-53=27 Moving to Node #0,0 Current State: 12:[51, 12, 27], Operations: ['80-53=27'] Exploring Operation: 51-27=24, Resulting Numbers: [12, 24] Generated Node #0,0,3: 12:[12, 24] Operation: 51-27=24 Moving to Node #0,0,3 Current State: 12:[12, 24], Operations: ['80-53=27', '51-27=24'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 12, 45, 21, 8 ]
31
[ "21*8=168", "168/12=14", "45-14=31" ]
Current State: 31:[12, 45, 21, 8], Operations: [] Exploring Operation: 21*8=168, Resulting Numbers: [12, 45, 168] Generated Node #2: [12, 45, 168] from Operation: 21*8=168 Current State: 31:[12, 45, 168], Operations: ['21*8=168'] Exploring Operation: 168/12=14, Resulting Numbers: [45, 14] Generated Node #3: [45, 14] from Operation: 168/12=14 Current State: 31:[45, 14], Operations: ['21*8=168', '168/12=14'] Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[12, 45, 21, 8], Operations: [] Exploring Operation: 45-12=33, Resulting Numbers: [21, 8, 33] Generated Node #0,0: 31:[21, 8, 33] Operation: 45-12=33 Exploring Operation: 12+8=20, Resulting Numbers: [45, 21, 20] Generated Node #0,1: 31:[45, 21, 20] Operation: 12+8=20 Moving to Node #0,0 Current State: 31:[21, 8, 33], Operations: ['45-12=33'] Exploring Operation: 33-8=25, Resulting Numbers: [21, 25] Generated Node #0,0,0: 31:[21, 25] Operation: 33-8=25 Exploring Operation: 21+8=29, Resulting Numbers: [33, 29] Generated Node #0,0,1: 31:[33, 29] Operation: 21+8=29 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 31:[33, 29], Operations: ['45-12=33', '21+8=29'] Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[21, 25], Operations: ['45-12=33', '33-8=25'] Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 31:[45, 21, 20], Operations: ['12+8=20'] Exploring Operation: 45-21=24, Resulting Numbers: [20, 24] Generated Node #0,1,0: 31:[20, 24] Operation: 45-21=24 Exploring Operation: 45-20=25, Resulting Numbers: [21, 25] Generated Node #0,1,1: 31:[21, 25] Operation: 45-20=25 Moving to Node #0,1,1 Current State: 31:[21, 25], Operations: ['12+8=20', '45-20=25'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[20, 24], Operations: ['12+8=20', '45-21=24'] Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,31 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 47, 41, 25, 63 ]
94
[ "47-41=6", "25+63=88", "6+88=94" ]
Current State: 94:[47, 41, 25, 63], Operations: [] Exploring Operation: 47-41=6, Resulting Numbers: [25, 63, 6] Generated Node #2: [25, 63, 6] from Operation: 47-41=6 Current State: 94:[25, 63, 6], Operations: ['47-41=6'] Exploring Operation: 25+63=88, Resulting Numbers: [6, 88] Generated Node #3: [6, 88] from Operation: 25+63=88 Current State: 94:[6, 88], Operations: ['47-41=6', '25+63=88'] Exploring Operation: 6+88=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[47, 41, 25, 63], Operations: [] Exploring Operation: 25+63=88, Resulting Numbers: [47, 41, 88] Generated Node #0,0: 94:[47, 41, 88] Operation: 25+63=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[47, 41, 88], Operations: ['25+63=88'] Exploring Operation: 88-41=47, Resulting Numbers: [47, 47] Generated Node #0,0,0: 94:[47, 47] Operation: 88-41=47 Moving to Node #0,0,0 Current State: 94:[47, 47], Operations: ['25+63=88', '88-41=47'] Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[47, 41, 25, 63], Operations: [] Exploring Operation: 25+63=88, Resulting Numbers: [47, 41, 88] Generated Node #0,0: 94:[47, 41, 88] Operation: 25+63=88 Moving to Node #0,0 Current State: 94:[47, 41, 88], Operations: ['25+63=88'] Exploring Operation: 88-41=47, Resulting Numbers: [47, 47] Generated Node #0,0,0: 94:[47, 47] Operation: 88-41=47 Moving to Node #0,0,0 Current State: 94:[47, 47], Operations: ['25+63=88', '88-41=47'] Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 13, 43, 3, 10 ]
57
[ "13-3=10", "10*10=100", "100-43=57" ]
Current State: 57:[13, 43, 3, 10], Operations: [] Exploring Operation: 13-3=10, Resulting Numbers: [43, 10, 10] Generated Node #2: [43, 10, 10] from Operation: 13-3=10 Current State: 57:[43, 10, 10], Operations: ['13-3=10'] Exploring Operation: 10*10=100, Resulting Numbers: [43, 100] Generated Node #3: [43, 100] from Operation: 10*10=100 Current State: 57:[43, 100], Operations: ['13-3=10', '10*10=100'] Exploring Operation: 100-43=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[13, 43, 3, 10], Operations: [] Exploring Operation: 13+43=56, Resulting Numbers: [3, 10, 56] Generated Node #0,0: 57:[3, 10, 56] Operation: 13+43=56 Moving to Node #0,0 Current State: 57:[3, 10, 56], Operations: ['13+43=56'] Exploring Operation: 10-3=7, Resulting Numbers: [56, 7] Generated Node #0,0,0: 57:[56, 7] Operation: 10-3=7 Moving to Node #0,0,0 Current State: 57:[56, 7], Operations: ['13+43=56', '10-3=7'] Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,57 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 85, 4, 29, 29 ]
85
[ "29-29=0", "4*0=0", "85+0=85" ]
Current State: 85:[85, 4, 29, 29], Operations: [] Exploring Operation: 29-29=0, Resulting Numbers: [85, 4, 0] Generated Node #2: [85, 4, 0] from Operation: 29-29=0 Current State: 85:[85, 4, 0], Operations: ['29-29=0'] Exploring Operation: 4*0=0, Resulting Numbers: [85, 0] Generated Node #3: [85, 0] from Operation: 4*0=0 Current State: 85:[85, 0], Operations: ['29-29=0', '4*0=0'] Exploring Operation: 85+0=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[85, 4, 29, 29], Operations: [] Exploring Operation: 85+4=89, Resulting Numbers: [29, 29, 89] Generated Node #0,0: 85:[29, 29, 89] Operation: 85+4=89 Exploring Operation: 29-4=25, Resulting Numbers: [85, 29, 25] Generated Node #0,1: 85:[85, 29, 25] Operation: 29-4=25 Exploring Operation: 29-29=0, Resulting Numbers: [85, 4, 0] Generated Node #0,2: 85:[85, 4, 0] Operation: 29-29=0 Exploring Operation: 29-4=25, Resulting Numbers: [85, 29, 25] Generated Node #0,3: 85:[85, 29, 25] Operation: 29-4=25 Exploring Operation: 29/29=1, Resulting Numbers: [85, 4, 1] Generated Node #0,4: 85:[85, 4, 1] Operation: 29/29=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 85:[85, 4, 1], Operations: ['29/29=1'] Exploring Operation: 4/1=4, Resulting Numbers: [85, 4] Generated Node #0,4,0: 85:[85, 4] Operation: 4/1=4 Exploring Operation: 4+1=5, Resulting Numbers: [85, 5] Generated Node #0,4,1: 85:[85, 5] Operation: 4+1=5 Exploring Operation: 4*1=4, Resulting Numbers: [85, 4] Generated Node #0,4,2: 85:[85, 4] Operation: 4*1=4 Exploring Operation: 85*1=85, Resulting Numbers: [4, 85] Generated Node #0,4,3: 85:[4, 85] Operation: 85*1=85 Exploring Operation: 85/1=85, Resulting Numbers: [4, 85] Generated Node #0,4,4: 85:[4, 85] Operation: 85/1=85 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 85:[85, 5], Operations: ['29/29=1', '4+1=5'] Exploring Operation: 85+5=90, Resulting Numbers: [90] 90,85 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,85 unequal: No Solution Exploring Operation: 85*5=425, Resulting Numbers: [425] 425,85 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 85:[85, 4], Operations: ['29/29=1', '4/1=4'] Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,85 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,85 unequal: No Solution Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 85:[85, 4], Operations: ['29/29=1', '4*1=4'] Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,85 unequal: No Solution Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,85 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 85:[4, 85], Operations: ['29/29=1', '85*1=85'] Exploring Operation: 4*85=340, Resulting Numbers: [340] 340,85 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,85 unequal: No Solution Exploring Operation: 4+85=89, Resulting Numbers: [89] 89,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 85:[4, 85], Operations: ['29/29=1', '85/1=85'] Exploring Operation: 4+85=89, Resulting Numbers: [89] 89,85 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,85 unequal: No Solution Exploring Operation: 4*85=340, Resulting Numbers: [340] 340,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[85, 4, 0], Operations: ['29-29=0'] Exploring Operation: 4+0=4, Resulting Numbers: [85, 4] Generated Node #0,2,0: 85:[85, 4] Operation: 4+0=4 Exploring Operation: 85-0=85, Resulting Numbers: [4, 85] Generated Node #0,2,1: 85:[4, 85] Operation: 85-0=85 Exploring Operation: 4-0=4, Resulting Numbers: [85, 4] Generated Node #0,2,2: 85:[85, 4] Operation: 4-0=4 Exploring Operation: 85+0=85, Resulting Numbers: [4, 85] Generated Node #0,2,3: 85:[4, 85] Operation: 85+0=85 Exploring Operation: 4*0=0, Resulting Numbers: [85, 0] Generated Node #0,2,4: 85:[85, 0] Operation: 4*0=0 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 85:[85, 4], Operations: ['29-29=0', '4+0=4'] Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,85 unequal: No Solution Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,85 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 85:[4, 85], Operations: ['29-29=0', '85-0=85'] Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,85 unequal: No Solution Exploring Operation: 4*85=340, Resulting Numbers: [340] 340,85 unequal: No Solution Exploring Operation: 4+85=89, Resulting Numbers: [89] 89,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 85:[85, 4], Operations: ['29-29=0', '4-0=4'] Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,85 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,85 unequal: No Solution Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 85:[4, 85], Operations: ['29-29=0', '85+0=85'] Exploring Operation: 4+85=89, Resulting Numbers: [89] 89,85 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,85 unequal: No Solution Exploring Operation: 4*85=340, Resulting Numbers: [340] 340,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 85:[85, 0], Operations: ['29-29=0', '4*0=0'] Exploring Operation: 85*0=0, Resulting Numbers: [0] 0,85 unequal: No Solution Exploring Operation: 85+0=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[85, 4, 29, 29], Operations: [] Exploring Operation: 29-29=0, Resulting Numbers: [85, 4, 0] Generated Node #0,2: 85:[85, 4, 0] Operation: 29-29=0 Moving to Node #0,2 Current State: 85:[85, 4, 0], Operations: ['29-29=0'] Exploring Operation: 4*0=0, Resulting Numbers: [85, 0] Generated Node #0,2,4: 85:[85, 0] Operation: 4*0=0 Moving to Node #0,2,4 Current State: 85:[85, 0], Operations: ['29-29=0', '4*0=0'] Exploring Operation: 85+0=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.957465
hs_5
sum_heuristic
[ 74, 8, 57, 65 ]
10
[ "65-57=8", "8*8=64", "74-64=10" ]
Current State: 10:[74, 8, 57, 65], Operations: [] Exploring Operation: 65-57=8, Resulting Numbers: [74, 8, 8] Generated Node #2: [74, 8, 8] from Operation: 65-57=8 Current State: 10:[74, 8, 8], Operations: ['65-57=8'] Exploring Operation: 8*8=64, Resulting Numbers: [74, 64] Generated Node #3: [74, 64] from Operation: 8*8=64 Current State: 10:[74, 64], Operations: ['65-57=8', '8*8=64'] Exploring Operation: 74-64=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[74, 8, 57, 65], Operations: [] Exploring Operation: 74-65=9, Resulting Numbers: [8, 57, 9] Generated Node #0,0: 10:[8, 57, 9] Operation: 74-65=9 Exploring Operation: 74-57=17, Resulting Numbers: [8, 65, 17] Generated Node #0,1: 10:[8, 65, 17] Operation: 74-57=17 Exploring Operation: 74-8=66, Resulting Numbers: [57, 65, 66] Generated Node #0,2: 10:[57, 65, 66] Operation: 74-8=66 Exploring Operation: 65-57=8, Resulting Numbers: [74, 8, 8] Generated Node #0,3: 10:[74, 8, 8] Operation: 65-57=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[8, 57, 9], Operations: ['74-65=9'] Exploring Operation: 57-9=48, Resulting Numbers: [8, 48] Generated Node #0,0,0: 10:[8, 48] Operation: 57-9=48 Exploring Operation: 57-8=49, Resulting Numbers: [9, 49] Generated Node #0,0,1: 10:[9, 49] Operation: 57-8=49 Exploring Operation: 9-8=1, Resulting Numbers: [57, 1] Generated Node #0,0,2: 10:[57, 1] Operation: 9-8=1 Exploring Operation: 8+9=17, Resulting Numbers: [57, 17] Generated Node #0,0,3: 10:[57, 17] Operation: 8+9=17 Moving to Node #0,0,0 Current State: 10:[8, 48], Operations: ['74-65=9', '57-9=48'] Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,10 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,10 unequal: No Solution Exploring Operation: 8*48=384, Resulting Numbers: [384] 384,10 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[9, 49], Operations: ['74-65=9', '57-8=49'] Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,10 unequal: No Solution Exploring Operation: 9+49=58, Resulting Numbers: [58] 58,10 unequal: No Solution Exploring Operation: 9*49=441, Resulting Numbers: [441] 441,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[57, 1], Operations: ['74-65=9', '9-8=1'] Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,10 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,10 unequal: No Solution Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,10 unequal: No Solution Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[57, 17], Operations: ['74-65=9', '8+9=17'] Exploring Operation: 57*17=969, Resulting Numbers: [969] 969,10 unequal: No Solution Exploring Operation: 57+17=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,10 unequal: No Solution No 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: 10:[8, 65, 17], Operations: ['74-57=17'] Exploring Operation: 65-8=57, Resulting Numbers: [17, 57] Generated Node #0,1,0: 10:[17, 57] Operation: 65-8=57 Exploring Operation: 65-17=48, Resulting Numbers: [8, 48] Generated Node #0,1,1: 10:[8, 48] Operation: 65-17=48 Exploring Operation: 8+65=73, Resulting Numbers: [17, 73] Generated Node #0,1,2: 10:[17, 73] Operation: 8+65=73 Exploring Operation: 17-8=9, Resulting Numbers: [65, 9] Generated Node #0,1,3: 10:[65, 9] Operation: 17-8=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 10:[8, 48], Operations: ['74-57=17', '65-17=48'] Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,10 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,10 unequal: No Solution Exploring Operation: 8*48=384, Resulting Numbers: [384] 384,10 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,10 unequal: No Solution No 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: 10:[17, 57], Operations: ['74-57=17', '65-8=57'] Exploring Operation: 17*57=969, Resulting Numbers: [969] 969,10 unequal: No Solution Exploring Operation: 17+57=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,10 unequal: No Solution No 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: 10:[65, 9], Operations: ['74-57=17', '17-8=9'] Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,10 unequal: No Solution Exploring Operation: 65*9=585, Resulting Numbers: [585] 585,10 unequal: No Solution Exploring Operation: 65+9=74, Resulting Numbers: [74] 74,10 unequal: No Solution No 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: 10:[17, 73], Operations: ['74-57=17', '8+65=73'] Exploring Operation: 73-17=56, Resulting Numbers: [56] 56,10 unequal: No Solution Exploring Operation: 17*73=1241, Resulting Numbers: [1241] 1241,10 unequal: No Solution Exploring Operation: 17+73=90, Resulting Numbers: [90] 90,10 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: 10:[74, 8, 8], Operations: ['65-57=8'] Exploring Operation: 74-8=66, Resulting Numbers: [8, 66] Generated Node #0,3,0: 10:[8, 66] Operation: 74-8=66 Exploring Operation: 8-8=0, Resulting Numbers: [74, 0] Generated Node #0,3,1: 10:[74, 0] Operation: 8-8=0 Exploring Operation: 74-8=66, Resulting Numbers: [8, 66] Generated Node #0,3,2: 10:[8, 66] Operation: 74-8=66 Exploring Operation: 8/8=1, Resulting Numbers: [74, 1] Generated Node #0,3,3: 10:[74, 1] Operation: 8/8=1 Moving to Node #0,3,0 Current State: 10:[8, 66], Operations: ['65-57=8', '74-8=66'] Exploring Operation: 8+66=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 8*66=528, Resulting Numbers: [528] 528,10 unequal: No Solution Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,10 unequal: No Solution Moving to Node #0,3,2 Current State: 10:[8, 66], Operations: ['65-57=8', '74-8=66'] Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,10 unequal: No Solution Exploring Operation: 8*66=528, Resulting Numbers: [528] 528,10 unequal: No Solution Exploring Operation: 8+66=74, Resulting Numbers: [74] 74,10 unequal: No Solution Moving to Node #0,3,3 Current State: 10:[74, 1], Operations: ['65-57=8', '8/8=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,10 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,10 unequal: No Solution Moving to Node #0,3,1 Current State: 10:[74, 0], Operations: ['65-57=8', '8-8=0'] Exploring Operation: 74-0=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 74+0=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 74*0=0, Resulting Numbers: [0] 0,10 unequal: No Solution No 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: 10:[57, 65, 66], Operations: ['74-8=66'] Exploring Operation: 65-57=8, Resulting Numbers: [66, 8] Generated Node #0,2,0: 10:[66, 8] Operation: 65-57=8 Exploring Operation: 66-57=9, Resulting Numbers: [65, 9] Generated Node #0,2,1: 10:[65, 9] Operation: 66-57=9 Exploring Operation: 57+65=122, Resulting Numbers: [66, 122] Generated Node #0,2,2: 10:[66, 122] Operation: 57+65=122 Exploring Operation: 66-65=1, Resulting Numbers: [57, 1] Generated Node #0,2,3: 10:[57, 1] Operation: 66-65=1 Moving to Node #0,2,3 Current State: 10:[57, 1], Operations: ['74-8=66', '66-65=1'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,10 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,10 unequal: No Solution Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,10 unequal: No Solution Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[65, 9], Operations: ['74-8=66', '66-57=9'] Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,10 unequal: No Solution Exploring Operation: 65+9=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 65*9=585, Resulting Numbers: [585] 585,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[66, 8], Operations: ['74-8=66', '65-57=8'] Exploring Operation: 66*8=528, Resulting Numbers: [528] 528,10 unequal: No Solution Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,10 unequal: No Solution Exploring Operation: 66+8=74, Resulting Numbers: [74] 74,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[66, 122], Operations: ['74-8=66', '57+65=122'] Exploring Operation: 66*122=8052, Resulting Numbers: [8052] 8052,10 unequal: No Solution Exploring Operation: 66+122=188, Resulting Numbers: [188] 188,10 unequal: No Solution Exploring Operation: 122-66=56, Resulting Numbers: [56] 56,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 54, 10, 69, 92 ]
41
[ "54+10=64", "92-69=23", "64-23=41" ]
Current State: 41:[54, 10, 69, 92], Operations: [] Exploring Operation: 54+10=64, Resulting Numbers: [69, 92, 64] Generated Node #2: [69, 92, 64] from Operation: 54+10=64 Current State: 41:[69, 92, 64], Operations: ['54+10=64'] Exploring Operation: 92-69=23, Resulting Numbers: [64, 23] Generated Node #3: [64, 23] from Operation: 92-69=23 Current State: 41:[64, 23], Operations: ['54+10=64', '92-69=23'] Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[54, 10, 69, 92], Operations: [] Exploring Operation: 92-54=38, Resulting Numbers: [10, 69, 38] Generated Node #0,0: 41:[10, 69, 38] Operation: 92-54=38 Exploring Operation: 92-69=23, Resulting Numbers: [54, 10, 23] Generated Node #0,1: 41:[54, 10, 23] Operation: 92-69=23 Exploring Operation: 54-10=44, Resulting Numbers: [69, 92, 44] Generated Node #0,2: 41:[69, 92, 44] Operation: 54-10=44 Moving to Node #0,0 Current State: 41:[10, 69, 38], Operations: ['92-54=38'] Exploring Operation: 69-10=59, Resulting Numbers: [38, 59] Generated Node #0,0,0: 41:[38, 59] Operation: 69-10=59 Exploring Operation: 10+69=79, Resulting Numbers: [38, 79] Generated Node #0,0,1: 41:[38, 79] Operation: 10+69=79 Exploring Operation: 10+38=48, Resulting Numbers: [69, 48] Generated Node #0,0,2: 41:[69, 48] Operation: 10+38=48 Moving to Node #0,1 Current State: 41:[54, 10, 23], Operations: ['92-69=23'] Exploring Operation: 10+23=33, Resulting Numbers: [54, 33] Generated Node #0,1,0: 41:[54, 33] Operation: 10+23=33 Exploring Operation: 54+10=64, Resulting Numbers: [23, 64] Generated Node #0,1,1: 41:[23, 64] Operation: 54+10=64 Exploring Operation: 54-10=44, Resulting Numbers: [23, 44] Generated Node #0,1,2: 41:[23, 44] Operation: 54-10=44 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[54, 33], Operations: ['92-69=23', '10+23=33'] Exploring Operation: 54-33=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 54+33=87, Resulting Numbers: [87] 87,41 unequal: No Solution Exploring Operation: 54*33=1782, Resulting Numbers: [1782] 1782,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[23, 44], Operations: ['92-69=23', '54-10=44'] Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,41 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[23, 64], Operations: ['92-69=23', '54+10=64'] Exploring Operation: 23+64=87, Resulting Numbers: [87] 87,41 unequal: No Solution Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[54, 10, 69, 92], Operations: [] Exploring Operation: 92-69=23, Resulting Numbers: [54, 10, 23] Generated Node #0,1: 41:[54, 10, 23] Operation: 92-69=23 Moving to Node #0,1 Current State: 41:[54, 10, 23], Operations: ['92-69=23'] Exploring Operation: 54+10=64, Resulting Numbers: [23, 64] Generated Node #0,1,1: 41:[23, 64] Operation: 54+10=64 Moving to Node #0,1,1 Current State: 41:[23, 64], Operations: ['92-69=23', '54+10=64'] Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_3
sum_heuristic
[ 65, 66, 39, 32 ]
72
[ "66-65=1", "39+32=71", "1+71=72" ]
Current State: 72:[65, 66, 39, 32], Operations: [] Exploring Operation: 66-65=1, Resulting Numbers: [39, 32, 1] Generated Node #2: [39, 32, 1] from Operation: 66-65=1 Current State: 72:[39, 32, 1], Operations: ['66-65=1'] Exploring Operation: 39+32=71, Resulting Numbers: [1, 71] Generated Node #3: [1, 71] from Operation: 39+32=71 Current State: 72:[1, 71], Operations: ['66-65=1', '39+32=71'] Exploring Operation: 1+71=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[65, 66, 39, 32], Operations: [] Exploring Operation: 66-65=1, Resulting Numbers: [39, 32, 1] Generated Node #0,0: 72:[39, 32, 1] Operation: 66-65=1 Moving to Node #0,0 Current State: 72:[39, 32, 1], Operations: ['66-65=1'] Exploring Operation: 39+32=71, Resulting Numbers: [1, 71] Generated Node #0,0,0: 72:[1, 71] Operation: 39+32=71 Moving to Node #0,0,0 Current State: 72:[1, 71], Operations: ['66-65=1', '39+32=71'] Exploring Operation: 1+71=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[65, 66, 39, 32], Operations: [] Exploring Operation: 66-65=1, Resulting Numbers: [39, 32, 1] Generated Node #0,0: 72:[39, 32, 1] Operation: 66-65=1 Moving to Node #0,0 Current State: 72:[39, 32, 1], Operations: ['66-65=1'] Exploring Operation: 39+32=71, Resulting Numbers: [1, 71] Generated Node #0,0,0: 72:[1, 71] Operation: 39+32=71 Moving to Node #0,0,0 Current State: 72:[1, 71], Operations: ['66-65=1', '39+32=71'] Exploring Operation: 1+71=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 85, 2, 26, 2 ]
59
[ "85+2=87", "26+2=28", "87-28=59" ]
Current State: 59:[85, 2, 26, 2], Operations: [] Exploring Operation: 85+2=87, Resulting Numbers: [26, 87] Generated Node #2: [26, 87] from Operation: 85+2=87 Current State: 59:[26, 87], Operations: ['85+2=87'] Exploring Operation: 26+2=28, Resulting Numbers: [87, 28] Generated Node #3: [87, 28] from Operation: 26+2=28 Current State: 59:[87, 28], Operations: ['85+2=87', '26+2=28'] Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[85, 2, 26, 2], Operations: [] Exploring Operation: 2*26=52, Resulting Numbers: [85, 2, 52] Generated Node #0,0: 59:[85, 2, 52] Operation: 2*26=52 Exploring Operation: 26*2=52, Resulting Numbers: [85, 2, 52] Generated Node #0,1: 59:[85, 2, 52] Operation: 26*2=52 Moving to Node #0,0 Current State: 59:[85, 2, 52], Operations: ['2*26=52'] Exploring Operation: 2+52=54, Resulting Numbers: [85, 54] Generated Node #0,0,0: 59:[85, 54] Operation: 2+52=54 Exploring Operation: 85-2=83, Resulting Numbers: [52, 83] Generated Node #0,0,1: 59:[52, 83] Operation: 85-2=83 Moving to Node #0,1 Current State: 59:[85, 2, 52], Operations: ['26*2=52'] Exploring Operation: 85-2=83, Resulting Numbers: [52, 83] Generated Node #0,1,0: 59:[52, 83] Operation: 85-2=83 Exploring Operation: 2+52=54, Resulting Numbers: [85, 54] Generated Node #0,1,1: 59:[85, 54] Operation: 2+52=54 Moving to Node #0,0,0 Current State: 59:[85, 54], Operations: ['2*26=52', '2+52=54'] Exploring Operation: 85-54=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 85+54=139, Resulting Numbers: [139] 139,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[52, 83], Operations: ['26*2=52', '85-2=83'] Exploring Operation: 52+83=135, Resulting Numbers: [135] 135,59 unequal: No Solution Exploring Operation: 83-52=31, Resulting Numbers: [31] 31,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[52, 83], Operations: ['2*26=52', '85-2=83'] Exploring Operation: 52+83=135, Resulting Numbers: [135] 135,59 unequal: No Solution Exploring Operation: 83-52=31, Resulting Numbers: [31] 31,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[85, 54], Operations: ['26*2=52', '2+52=54'] Exploring Operation: 85+54=139, Resulting Numbers: [139] 139,59 unequal: No Solution Exploring Operation: 85-54=31, Resulting Numbers: [31] 31,59 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 89, 71, 9, 41 ]
14
[ "89-71=18", "41-9=32", "32-18=14" ]
Current State: 14:[89, 71, 9, 41], Operations: [] Exploring Operation: 89-71=18, Resulting Numbers: [9, 41, 18] Generated Node #2: [9, 41, 18] from Operation: 89-71=18 Current State: 14:[9, 41, 18], Operations: ['89-71=18'] Exploring Operation: 41-9=32, Resulting Numbers: [18, 32] Generated Node #3: [18, 32] from Operation: 41-9=32 Current State: 14:[18, 32], Operations: ['89-71=18', '41-9=32'] Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[89, 71, 9, 41], Operations: [] Exploring Operation: 89-71=18, Resulting Numbers: [9, 41, 18] Generated Node #0,0: 14:[9, 41, 18] Operation: 89-71=18 Exploring Operation: 89-41=48, Resulting Numbers: [71, 9, 48] Generated Node #0,1: 14:[71, 9, 48] Operation: 89-41=48 Exploring Operation: 71-41=30, Resulting Numbers: [89, 9, 30] Generated Node #0,2: 14:[89, 9, 30] Operation: 71-41=30 Moving to Node #0,0 Current State: 14:[9, 41, 18], Operations: ['89-71=18'] Exploring Operation: 18/9=2, Resulting Numbers: [41, 2] Generated Node #0,0,0: 14:[41, 2] Operation: 18/9=2 Exploring Operation: 41-18=23, Resulting Numbers: [9, 23] Generated Node #0,0,1: 14:[9, 23] Operation: 41-18=23 Exploring Operation: 41-9=32, Resulting Numbers: [18, 32] Generated Node #0,0,2: 14:[18, 32] Operation: 41-9=32 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 14:[9, 23], Operations: ['89-71=18', '41-18=23'] Exploring Operation: 9*23=207, Resulting Numbers: [207] 207,14 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[89, 71, 9, 41], Operations: [] Exploring Operation: 89-71=18, Resulting Numbers: [9, 41, 18] Generated Node #0,0: 14:[9, 41, 18] Operation: 89-71=18 Moving to Node #0,0 Current State: 14:[9, 41, 18], Operations: ['89-71=18'] Exploring Operation: 41-18=23, Resulting Numbers: [9, 23] Generated Node #0,0,1: 14:[9, 23] Operation: 41-18=23 Moving to Node #0,0,1 Current State: 14:[9, 23], Operations: ['89-71=18', '41-18=23'] Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 48, 33, 8, 3 ]
40
[ "48-33=15", "8*15=120", "120/3=40" ]
Current State: 40:[48, 33, 8, 3], Operations: [] Exploring Operation: 48-33=15, Resulting Numbers: [8, 3, 15] Generated Node #2: [8, 3, 15] from Operation: 48-33=15 Current State: 40:[8, 3, 15], Operations: ['48-33=15'] Exploring Operation: 8*15=120, Resulting Numbers: [3, 120] Generated Node #3: [3, 120] from Operation: 8*15=120 Current State: 40:[3, 120], Operations: ['48-33=15', '8*15=120'] Exploring Operation: 120/3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[48, 33, 8, 3], Operations: [] Exploring Operation: 48/8=6, Resulting Numbers: [33, 3, 6] Generated Node #0,0: 40:[33, 3, 6] Operation: 48/8=6 Exploring Operation: 48-8=40, Resulting Numbers: [33, 3, 40] Generated Node #0,1: 40:[33, 3, 40] Operation: 48-8=40 Exploring Operation: 48-33=15, Resulting Numbers: [8, 3, 15] Generated Node #0,2: 40:[8, 3, 15] Operation: 48-33=15 Exploring Operation: 33+8=41, Resulting Numbers: [48, 3, 41] Generated Node #0,3: 40:[48, 3, 41] Operation: 33+8=41 Exploring Operation: 33/3=11, Resulting Numbers: [48, 8, 11] Generated Node #0,4: 40:[48, 8, 11] Operation: 33/3=11 Moving to Node #0,2 Current State: 40:[8, 3, 15], Operations: ['48-33=15'] Exploring Operation: 15-3=12, Resulting Numbers: [8, 12] Generated Node #0,2,0: 40:[8, 12] Operation: 15-3=12 Exploring Operation: 3+15=18, Resulting Numbers: [8, 18] Generated Node #0,2,1: 40:[8, 18] Operation: 3+15=18 Exploring Operation: 15-8=7, Resulting Numbers: [3, 7] Generated Node #0,2,2: 40:[3, 7] Operation: 15-8=7 Exploring Operation: 15/3=5, Resulting Numbers: [8, 5] Generated Node #0,2,3: 40:[8, 5] Operation: 15/3=5 Exploring Operation: 8+15=23, Resulting Numbers: [3, 23] Generated Node #0,2,4: 40:[3, 23] Operation: 8+15=23 Moving to Node #0,1 Current State: 40:[33, 3, 40], Operations: ['48-8=40'] Exploring Operation: 33/3=11, Resulting Numbers: [40, 11] Generated Node #0,1,0: 40:[40, 11] Operation: 33/3=11 Exploring Operation: 33+3=36, Resulting Numbers: [40, 36] Generated Node #0,1,1: 40:[40, 36] Operation: 33+3=36 Exploring Operation: 3+40=43, Resulting Numbers: [33, 43] Generated Node #0,1,2: 40:[33, 43] Operation: 3+40=43 Exploring Operation: 40-33=7, Resulting Numbers: [3, 7] Generated Node #0,1,3: 40:[3, 7] Operation: 40-33=7 Exploring Operation: 33-3=30, Resulting Numbers: [40, 30] Generated Node #0,1,4: 40:[40, 30] Operation: 33-3=30 Moving to Node #0,0 Current State: 40:[33, 3, 6], Operations: ['48/8=6'] Exploring Operation: 33-6=27, Resulting Numbers: [3, 27] Generated Node #0,0,0: 40:[3, 27] Operation: 33-6=27 Exploring Operation: 33/3=11, Resulting Numbers: [6, 11] Generated Node #0,0,1: 40:[6, 11] Operation: 33/3=11 Exploring Operation: 33+3=36, Resulting Numbers: [6, 36] Generated Node #0,0,2: 40:[6, 36] Operation: 33+3=36 Exploring Operation: 33+6=39, Resulting Numbers: [3, 39] Generated Node #0,0,3: 40:[3, 39] Operation: 33+6=39 Exploring Operation: 6/3=2, Resulting Numbers: [33, 2] Generated Node #0,0,4: 40:[33, 2] Operation: 6/3=2 Moving to Node #0,4 Current State: 40:[48, 8, 11], Operations: ['33/3=11'] Exploring Operation: 11-8=3, Resulting Numbers: [48, 3] Generated Node #0,4,0: 40:[48, 3] Operation: 11-8=3 Exploring Operation: 48-11=37, Resulting Numbers: [8, 37] Generated Node #0,4,1: 40:[8, 37] Operation: 48-11=37 Exploring Operation: 48/8=6, Resulting Numbers: [11, 6] Generated Node #0,4,2: 40:[11, 6] Operation: 48/8=6 Exploring Operation: 48-8=40, Resulting Numbers: [11, 40] Generated Node #0,4,3: 40:[11, 40] Operation: 48-8=40 Exploring Operation: 8+11=19, Resulting Numbers: [48, 19] Generated Node #0,4,4: 40:[48, 19] Operation: 8+11=19 Moving to Node #0,3 Current State: 40:[48, 3, 41], Operations: ['33+8=41'] Exploring Operation: 48-3=45, Resulting Numbers: [41, 45] Generated Node #0,3,0: 40:[41, 45] Operation: 48-3=45 Exploring Operation: 48/3=16, Resulting Numbers: [41, 16] Generated Node #0,3,1: 40:[41, 16] Operation: 48/3=16 Exploring Operation: 48-41=7, Resulting Numbers: [3, 7] Generated Node #0,3,2: 40:[3, 7] Operation: 48-41=7 Exploring Operation: 48+3=51, Resulting Numbers: [41, 51] Generated Node #0,3,3: 40:[41, 51] Operation: 48+3=51 Exploring Operation: 41-3=38, Resulting Numbers: [48, 38] Generated Node #0,3,4: 40:[48, 38] Operation: 41-3=38 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 40:[3, 7], Operations: ['33+8=41', '48-41=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 40:[41, 16], Operations: ['33+8=41', '48/3=16'] Exploring Operation: 41*16=656, Resulting Numbers: [656] 656,40 unequal: No Solution Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,40 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 40:[41, 45], Operations: ['33+8=41', '48-3=45'] Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 41*45=1845, Resulting Numbers: [1845] 1845,40 unequal: No Solution Exploring Operation: 41+45=86, Resulting Numbers: [86] 86,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 40:[48, 38], Operations: ['33+8=41', '41-3=38'] Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 48*38=1824, Resulting Numbers: [1824] 1824,40 unequal: No Solution Exploring Operation: 48+38=86, Resulting Numbers: [86] 86,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 40:[41, 51], Operations: ['33+8=41', '48+3=51'] Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 41*51=2091, Resulting Numbers: [2091] 2091,40 unequal: No Solution Exploring Operation: 41+51=92, Resulting Numbers: [92] 92,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 40:[8, 5], Operations: ['48-33=15', '15/3=5'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[48, 33, 8, 3], Operations: [] Exploring Operation: 48-33=15, Resulting Numbers: [8, 3, 15] Generated Node #0,2: 40:[8, 3, 15] Operation: 48-33=15 Moving to Node #0,2 Current State: 40:[8, 3, 15], Operations: ['48-33=15'] Exploring Operation: 15/3=5, Resulting Numbers: [8, 5] Generated Node #0,2,3: 40:[8, 5] Operation: 15/3=5 Moving to Node #0,2,3 Current State: 40:[8, 5], Operations: ['48-33=15', '15/3=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.955729
hs_5
mult_heuristic
[ 95, 26, 75, 69 ]
76
[ "95-26=69", "69/69=1", "75+1=76" ]
Current State: 76:[95, 26, 75, 69], Operations: [] Exploring Operation: 95-26=69, Resulting Numbers: [75, 69, 69] Generated Node #2: [75, 69, 69] from Operation: 95-26=69 Current State: 76:[75, 69, 69], Operations: ['95-26=69'] Exploring Operation: 69/69=1, Resulting Numbers: [75, 1] Generated Node #3: [75, 1] from Operation: 69/69=1 Current State: 76:[75, 1], Operations: ['95-26=69', '69/69=1'] Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[95, 26, 75, 69], Operations: [] Exploring Operation: 95-69=26, Resulting Numbers: [26, 75, 26] Generated Node #0,0: 76:[26, 75, 26] Operation: 95-69=26 Exploring Operation: 95-75=20, Resulting Numbers: [26, 69, 20] Generated Node #0,1: 76:[26, 69, 20] Operation: 95-75=20 Exploring Operation: 75-69=6, Resulting Numbers: [95, 26, 6] Generated Node #0,2: 76:[95, 26, 6] Operation: 75-69=6 Exploring Operation: 95-26=69, Resulting Numbers: [75, 69, 69] Generated Node #0,3: 76:[75, 69, 69] Operation: 95-26=69 Exploring Operation: 69-26=43, Resulting Numbers: [95, 75, 43] Generated Node #0,4: 76:[95, 75, 43] Operation: 69-26=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[26, 75, 26], Operations: ['95-69=26'] Exploring Operation: 26-26=0, Resulting Numbers: [75, 0] Generated Node #0,0,0: 76:[75, 0] Operation: 26-26=0 Exploring Operation: 26+26=52, Resulting Numbers: [75, 52] Generated Node #0,0,1: 76:[75, 52] Operation: 26+26=52 Exploring Operation: 26/26=1, Resulting Numbers: [75, 1] Generated Node #0,0,2: 76:[75, 1] Operation: 26/26=1 Exploring Operation: 75-26=49, Resulting Numbers: [26, 49] Generated Node #0,0,3: 76:[26, 49] Operation: 75-26=49 Exploring Operation: 75-26=49, Resulting Numbers: [26, 49] Generated Node #0,0,4: 76:[26, 49] Operation: 75-26=49 Moving to Node #0,0,2 Current State: 76:[75, 1], Operations: ['95-69=26', '26/26=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,76 unequal: No Solution Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[95, 26, 75, 69], Operations: [] Exploring Operation: 95-69=26, Resulting Numbers: [26, 75, 26] Generated Node #0,0: 76:[26, 75, 26] Operation: 95-69=26 Moving to Node #0,0 Current State: 76:[26, 75, 26], Operations: ['95-69=26'] Exploring Operation: 26/26=1, Resulting Numbers: [75, 1] Generated Node #0,0,2: 76:[75, 1] Operation: 26/26=1 Moving to Node #0,0,2 Current State: 76:[75, 1], Operations: ['95-69=26', '26/26=1'] Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic