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
[ 8, 23, 55, 53 ]
93
[ "23-8=15", "55+53=108", "108-15=93" ]
Current State: 93:[8, 23, 55, 53], Operations: [] Exploring Operation: 23-8=15, Resulting Numbers: [55, 53, 15] Generated Node #2: [55, 53, 15] from Operation: 23-8=15 Current State: 93:[55, 53, 15], Operations: ['23-8=15'] Exploring Operation: 55+53=108, Resulting Numbers: [15, 108] Generated Node #3: [15, 108] from Operation: 55+53=108 Current State: 93:[15, 108], Operations: ['23-8=15', '55+53=108'] Exploring Operation: 108-15=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[8, 23, 55, 53], Operations: [] Exploring Operation: 55-23=32, Resulting Numbers: [8, 53, 32] Generated Node #0,0: 93:[8, 53, 32] Operation: 55-23=32 Exploring Operation: 55-53=2, Resulting Numbers: [8, 23, 2] Generated Node #0,1: 93:[8, 23, 2] Operation: 55-53=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[8, 23, 2], Operations: ['55-53=2'] Exploring Operation: 8+23=31, Resulting Numbers: [2, 31] Generated Node #0,1,0: 93:[2, 31] Operation: 8+23=31 Exploring Operation: 8/2=4, Resulting Numbers: [23, 4] Generated Node #0,1,1: 93:[23, 4] Operation: 8/2=4 Moving to Node #0,1,0 Current State: 93:[2, 31], Operations: ['55-53=2', '8+23=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[23, 4], Operations: ['55-53=2', '8/2=4'] Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[8, 53, 32], Operations: ['55-23=32'] Exploring Operation: 53-8=45, Resulting Numbers: [32, 45] Generated Node #0,0,0: 93:[32, 45] Operation: 53-8=45 Exploring Operation: 53+32=85, Resulting Numbers: [8, 85] Generated Node #0,0,1: 93:[8, 85] Operation: 53+32=85 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[8, 85], Operations: ['55-23=32', '53+32=85'] Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,93 unequal: No Solution Exploring Operation: 8+85=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[8, 23, 55, 53], Operations: [] Exploring Operation: 55-23=32, Resulting Numbers: [8, 53, 32] Generated Node #0,0: 93:[8, 53, 32] Operation: 55-23=32 Moving to Node #0,0 Current State: 93:[8, 53, 32], Operations: ['55-23=32'] Exploring Operation: 53+32=85, Resulting Numbers: [8, 85] Generated Node #0,0,1: 93:[8, 85] Operation: 53+32=85 Moving to Node #0,0,1 Current State: 93:[8, 85], Operations: ['55-23=32', '53+32=85'] Exploring Operation: 8+85=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 39, 4, 73, 46 ]
48
[ "73-39=34", "46-34=12", "4*12=48" ]
Current State: 48:[39, 4, 73, 46], Operations: [] Exploring Operation: 73-39=34, Resulting Numbers: [4, 46, 34] Generated Node #2: [4, 46, 34] from Operation: 73-39=34 Current State: 48:[4, 46, 34], Operations: ['73-39=34'] Exploring Operation: 46-34=12, Resulting Numbers: [4, 12] Generated Node #3: [4, 12] from Operation: 46-34=12 Current State: 48:[4, 12], Operations: ['73-39=34', '46-34=12'] Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[39, 4, 73, 46], Operations: [] Exploring Operation: 73-39=34, Resulting Numbers: [4, 46, 34] Generated Node #0,0: 48:[4, 46, 34] Operation: 73-39=34 Exploring Operation: 73-46=27, Resulting Numbers: [39, 4, 27] Generated Node #0,1: 48:[39, 4, 27] Operation: 73-46=27 Exploring Operation: 46-39=7, Resulting Numbers: [4, 73, 7] Generated Node #0,2: 48:[4, 73, 7] Operation: 46-39=7 Moving to Node #0,0 Current State: 48:[4, 46, 34], Operations: ['73-39=34'] Exploring Operation: 46-34=12, Resulting Numbers: [4, 12] Generated Node #0,0,0: 48:[4, 12] Operation: 46-34=12 Exploring Operation: 34-4=30, Resulting Numbers: [46, 30] Generated Node #0,0,1: 48:[46, 30] Operation: 34-4=30 Exploring Operation: 4+46=50, Resulting Numbers: [34, 50] Generated Node #0,0,2: 48:[34, 50] Operation: 4+46=50 Moving to Node #0,1 Current State: 48:[39, 4, 27], Operations: ['73-46=27'] Exploring Operation: 39+4=43, Resulting Numbers: [27, 43] Generated Node #0,1,0: 48:[27, 43] Operation: 39+4=43 Exploring Operation: 39-27=12, Resulting Numbers: [4, 12] Generated Node #0,1,1: 48:[4, 12] Operation: 39-27=12 Exploring Operation: 27-4=23, Resulting Numbers: [39, 23] Generated Node #0,1,2: 48:[39, 23] Operation: 27-4=23 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[4, 12], Operations: ['73-46=27', '39-27=12'] Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[39, 4, 73, 46], Operations: [] Exploring Operation: 73-46=27, Resulting Numbers: [39, 4, 27] Generated Node #0,1: 48:[39, 4, 27] Operation: 73-46=27 Moving to Node #0,1 Current State: 48:[39, 4, 27], Operations: ['73-46=27'] Exploring Operation: 39-27=12, Resulting Numbers: [4, 12] Generated Node #0,1,1: 48:[4, 12] Operation: 39-27=12 Moving to Node #0,1,1 Current State: 48:[4, 12], Operations: ['73-46=27', '39-27=12'] Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 90, 67, 3, 8 ]
49
[ "8-3=5", "90/5=18", "67-18=49" ]
Current State: 49:[90, 67, 3, 8], Operations: [] Exploring Operation: 8-3=5, Resulting Numbers: [90, 67, 5] Generated Node #2: [90, 67, 5] from Operation: 8-3=5 Current State: 49:[90, 67, 5], Operations: ['8-3=5'] Exploring Operation: 90/5=18, Resulting Numbers: [67, 18] Generated Node #3: [67, 18] from Operation: 90/5=18 Current State: 49:[67, 18], Operations: ['8-3=5', '90/5=18'] Exploring Operation: 67-18=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[90, 67, 3, 8], Operations: [] Exploring Operation: 90-67=23, Resulting Numbers: [3, 8, 23] Generated Node #0,0: 49:[3, 8, 23] Operation: 90-67=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[3, 8, 23], Operations: ['90-67=23'] Exploring Operation: 23-8=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 49:[3, 15] Operation: 23-8=15 Moving to Node #0,0,0 Current State: 49:[3, 15], Operations: ['90-67=23', '23-8=15'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 34, 3, 32, 93 ]
92
[ "34-3=31", "93-32=61", "31+61=92" ]
Current State: 92:[34, 3, 32, 93], Operations: [] Exploring Operation: 34-3=31, Resulting Numbers: [32, 93, 31] Generated Node #2: [32, 93, 31] from Operation: 34-3=31 Current State: 92:[32, 93, 31], Operations: ['34-3=31'] Exploring Operation: 93-32=61, Resulting Numbers: [31, 61] Generated Node #3: [31, 61] from Operation: 93-32=61 Current State: 92:[31, 61], Operations: ['34-3=31', '93-32=61'] Exploring Operation: 31+61=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[34, 3, 32, 93], Operations: [] Exploring Operation: 3*32=96, Resulting Numbers: [34, 93, 96] Generated Node #0,0: 92:[34, 93, 96] Operation: 3*32=96 Exploring Operation: 34-32=2, Resulting Numbers: [3, 93, 2] Generated Node #0,1: 92:[3, 93, 2] Operation: 34-32=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[3, 93, 2], Operations: ['34-32=2'] Exploring Operation: 93-3=90, Resulting Numbers: [2, 90] Generated Node #0,1,0: 92:[2, 90] Operation: 93-3=90 Exploring Operation: 3+2=5, Resulting Numbers: [93, 5] Generated Node #0,1,1: 92:[93, 5] Operation: 3+2=5 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[2, 90], Operations: ['34-32=2', '93-3=90'] Exploring Operation: 2+90=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[34, 3, 32, 93], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [3, 93, 2] Generated Node #0,1: 92:[3, 93, 2] Operation: 34-32=2 Moving to Node #0,1 Current State: 92:[3, 93, 2], Operations: ['34-32=2'] Exploring Operation: 93-3=90, Resulting Numbers: [2, 90] Generated Node #0,1,0: 92:[2, 90] Operation: 93-3=90 Moving to Node #0,1,0 Current State: 92:[2, 90], Operations: ['34-32=2', '93-3=90'] Exploring Operation: 2+90=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 2, 42, 35, 20 ]
59
[ "2+42=44", "35-20=15", "44+15=59" ]
Current State: 59:[2, 42, 35, 20], Operations: [] Exploring Operation: 2+42=44, Resulting Numbers: [35, 20, 44] Generated Node #2: [35, 20, 44] from Operation: 2+42=44 Current State: 59:[35, 20, 44], Operations: ['2+42=44'] Exploring Operation: 35-20=15, Resulting Numbers: [44, 15] Generated Node #3: [44, 15] from Operation: 35-20=15 Current State: 59:[44, 15], Operations: ['2+42=44', '35-20=15'] Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[2, 42, 35, 20], Operations: [] Exploring Operation: 2+35=37, Resulting Numbers: [42, 20, 37] Generated Node #0,0: 59:[42, 20, 37] Operation: 2+35=37 Exploring Operation: 2+42=44, Resulting Numbers: [35, 20, 44] Generated Node #0,1: 59:[35, 20, 44] Operation: 2+42=44 Exploring Operation: 2*20=40, Resulting Numbers: [42, 35, 40] Generated Node #0,2: 59:[42, 35, 40] Operation: 2*20=40 Exploring Operation: 2*35=70, Resulting Numbers: [42, 20, 70] Generated Node #0,3: 59:[42, 20, 70] Operation: 2*35=70 Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[42, 35, 40], Operations: ['2*20=40'] Exploring Operation: 42+40=82, Resulting Numbers: [35, 82] Generated Node #0,2,0: 59:[35, 82] Operation: 42+40=82 Exploring Operation: 42-35=7, Resulting Numbers: [40, 7] Generated Node #0,2,1: 59:[40, 7] Operation: 42-35=7 Exploring Operation: 35+40=75, Resulting Numbers: [42, 75] Generated Node #0,2,2: 59:[42, 75] Operation: 35+40=75 Exploring Operation: 42+35=77, Resulting Numbers: [40, 77] Generated Node #0,2,3: 59:[40, 77] Operation: 42+35=77 Moving to Node #0,2,2 Current State: 59:[42, 75], Operations: ['2*20=40', '35+40=75'] Exploring Operation: 42*75=3150, Resulting Numbers: [3150] 3150,59 unequal: No Solution Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,59 unequal: No Solution Exploring Operation: 42+75=117, Resulting Numbers: [117] 117,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[40, 77], Operations: ['2*20=40', '42+35=77'] Exploring Operation: 40*77=3080, Resulting Numbers: [3080] 3080,59 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,59 unequal: No Solution Exploring Operation: 40+77=117, Resulting Numbers: [117] 117,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[35, 82], Operations: ['2*20=40', '42+40=82'] Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,59 unequal: No Solution Exploring Operation: 35*82=2870, Resulting Numbers: [2870] 2870,59 unequal: No Solution Exploring Operation: 35+82=117, Resulting Numbers: [117] 117,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[40, 7], Operations: ['2*20=40', '42-35=7'] Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,59 unequal: No Solution Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,59 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[42, 20, 70], Operations: ['2*35=70'] Exploring Operation: 20+70=90, Resulting Numbers: [42, 90] Generated Node #0,3,0: 59:[42, 90] Operation: 20+70=90 Exploring Operation: 42+20=62, Resulting Numbers: [70, 62] Generated Node #0,3,1: 59:[70, 62] Operation: 42+20=62 Exploring Operation: 42-20=22, Resulting Numbers: [70, 22] Generated Node #0,3,2: 59:[70, 22] Operation: 42-20=22 Exploring Operation: 70-20=50, Resulting Numbers: [42, 50] Generated Node #0,3,3: 59:[42, 50] Operation: 70-20=50 Moving to Node #0,3,1 Current State: 59:[70, 62], Operations: ['2*35=70', '42+20=62'] Exploring Operation: 70-62=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 70*62=4340, Resulting Numbers: [4340] 4340,59 unequal: No Solution Exploring Operation: 70+62=132, Resulting Numbers: [132] 132,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[42, 50], Operations: ['2*35=70', '70-20=50'] Exploring Operation: 42*50=2100, Resulting Numbers: [2100] 2100,59 unequal: No Solution Exploring Operation: 50-42=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 42+50=92, Resulting Numbers: [92] 92,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[70, 22], Operations: ['2*35=70', '42-20=22'] Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,59 unequal: No Solution Exploring Operation: 70+22=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 70*22=1540, Resulting Numbers: [1540] 1540,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[42, 90], Operations: ['2*35=70', '20+70=90'] Exploring Operation: 42+90=132, Resulting Numbers: [132] 132,59 unequal: No Solution Exploring Operation: 90-42=48, Resulting Numbers: [48] 48,59 unequal: No Solution Exploring Operation: 42*90=3780, Resulting Numbers: [3780] 3780,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[42, 20, 37], Operations: ['2+35=37'] Exploring Operation: 42+20=62, Resulting Numbers: [37, 62] Generated Node #0,0,0: 59:[37, 62] Operation: 42+20=62 Exploring Operation: 42+37=79, Resulting Numbers: [20, 79] Generated Node #0,0,1: 59:[20, 79] Operation: 42+37=79 Exploring Operation: 42-20=22, Resulting Numbers: [37, 22] Generated Node #0,0,2: 59:[37, 22] Operation: 42-20=22 Exploring Operation: 20+37=57, Resulting Numbers: [42, 57] Generated Node #0,0,3: 59:[42, 57] Operation: 20+37=57 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 59:[42, 57], Operations: ['2+35=37', '20+37=57'] Exploring Operation: 42+57=99, Resulting Numbers: [99] 99,59 unequal: No Solution Exploring Operation: 42*57=2394, Resulting Numbers: [2394] 2394,59 unequal: No Solution Exploring Operation: 57-42=15, Resulting Numbers: [15] 15,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[37, 62], Operations: ['2+35=37', '42+20=62'] Exploring Operation: 37*62=2294, Resulting Numbers: [2294] 2294,59 unequal: No Solution Exploring Operation: 37+62=99, Resulting Numbers: [99] 99,59 unequal: No Solution Exploring Operation: 62-37=25, Resulting Numbers: [25] 25,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:[20, 79], Operations: ['2+35=37', '42+37=79'] Exploring Operation: 20*79=1580, Resulting Numbers: [1580] 1580,59 unequal: No Solution Exploring Operation: 20+79=99, Resulting Numbers: [99] 99,59 unequal: No Solution Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[2, 42, 35, 20], Operations: [] Exploring Operation: 2+35=37, Resulting Numbers: [42, 20, 37] Generated Node #0,0: 59:[42, 20, 37] Operation: 2+35=37 Moving to Node #0,0 Current State: 59:[42, 20, 37], Operations: ['2+35=37'] Exploring Operation: 42+37=79, Resulting Numbers: [20, 79] Generated Node #0,0,1: 59:[20, 79] Operation: 42+37=79 Moving to Node #0,0,1 Current State: 59:[20, 79], Operations: ['2+35=37', '42+37=79'] Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.953993
hs_4
sum_heuristic
[ 97, 41, 11, 97 ]
51
[ "97/97=1", "41+11=52", "52-1=51" ]
Current State: 51:[97, 41, 11, 97], Operations: [] Exploring Operation: 97/97=1, Resulting Numbers: [41, 11, 1] Generated Node #2: [41, 11, 1] from Operation: 97/97=1 Current State: 51:[41, 11, 1], Operations: ['97/97=1'] Exploring Operation: 41+11=52, Resulting Numbers: [1, 52] Generated Node #3: [1, 52] from Operation: 41+11=52 Current State: 51:[1, 52], Operations: ['97/97=1', '41+11=52'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[97, 41, 11, 97], Operations: [] Exploring Operation: 97-41=56, Resulting Numbers: [11, 97, 56] Generated Node #0,0: 51:[11, 97, 56] Operation: 97-41=56 Exploring Operation: 97-97=0, Resulting Numbers: [41, 11, 0] Generated Node #0,1: 51:[41, 11, 0] Operation: 97-97=0 Exploring Operation: 97-41=56, Resulting Numbers: [97, 11, 56] Generated Node #0,2: 51:[97, 11, 56] Operation: 97-41=56 Exploring Operation: 97/97=1, Resulting Numbers: [41, 11, 1] Generated Node #0,3: 51:[41, 11, 1] Operation: 97/97=1 Exploring Operation: 97-11=86, Resulting Numbers: [41, 97, 86] Generated Node #0,4: 51:[41, 97, 86] Operation: 97-11=86 Moving to Node #0,3 Current State: 51:[41, 11, 1], Operations: ['97/97=1'] Exploring Operation: 41+11=52, Resulting Numbers: [1, 52] Generated Node #0,3,0: 51:[1, 52] Operation: 41+11=52 Exploring Operation: 41-11=30, Resulting Numbers: [1, 30] Generated Node #0,3,1: 51:[1, 30] Operation: 41-11=30 Exploring Operation: 11+1=12, Resulting Numbers: [41, 12] Generated Node #0,3,2: 51:[41, 12] Operation: 11+1=12 Exploring Operation: 41*1=41, Resulting Numbers: [11, 41] Generated Node #0,3,3: 51:[11, 41] Operation: 41*1=41 Exploring Operation: 41+1=42, Resulting Numbers: [11, 42] Generated Node #0,3,4: 51:[11, 42] Operation: 41+1=42 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 51:[1, 52], Operations: ['97/97=1', '41+11=52'] Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[97, 41, 11, 97], Operations: [] Exploring Operation: 97/97=1, Resulting Numbers: [41, 11, 1] Generated Node #0,3: 51:[41, 11, 1] Operation: 97/97=1 Moving to Node #0,3 Current State: 51:[41, 11, 1], Operations: ['97/97=1'] Exploring Operation: 41+11=52, Resulting Numbers: [1, 52] Generated Node #0,3,0: 51:[1, 52] Operation: 41+11=52 Moving to Node #0,3,0 Current State: 51:[1, 52], Operations: ['97/97=1', '41+11=52'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 30, 43, 32, 69 ]
13
[ "32-30=2", "69-43=26", "26/2=13" ]
Current State: 13:[30, 43, 32, 69], Operations: [] Exploring Operation: 32-30=2, Resulting Numbers: [43, 69, 2] Generated Node #2: [43, 69, 2] from Operation: 32-30=2 Current State: 13:[43, 69, 2], Operations: ['32-30=2'] Exploring Operation: 69-43=26, Resulting Numbers: [2, 26] Generated Node #3: [2, 26] from Operation: 69-43=26 Current State: 13:[2, 26], Operations: ['32-30=2', '69-43=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[30, 43, 32, 69], Operations: [] Exploring Operation: 69-30=39, Resulting Numbers: [43, 32, 39] Generated Node #0,0: 13:[43, 32, 39] Operation: 69-30=39 Exploring Operation: 43-30=13, Resulting Numbers: [32, 69, 13] Generated Node #0,1: 13:[32, 69, 13] Operation: 43-30=13 Exploring Operation: 43-32=11, Resulting Numbers: [30, 69, 11] Generated Node #0,2: 13:[30, 69, 11] Operation: 43-32=11 Exploring Operation: 69-43=26, Resulting Numbers: [30, 32, 26] Generated Node #0,3: 13:[30, 32, 26] Operation: 69-43=26 Exploring Operation: 69-32=37, Resulting Numbers: [30, 43, 37] Generated Node #0,4: 13:[30, 43, 37] Operation: 69-32=37 Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[30, 32, 26], Operations: ['69-43=26'] Exploring Operation: 32-26=6, Resulting Numbers: [30, 6] Generated Node #0,3,0: 13:[30, 6] Operation: 32-26=6 Exploring Operation: 30-26=4, Resulting Numbers: [32, 4] Generated Node #0,3,1: 13:[32, 4] Operation: 30-26=4 Exploring Operation: 30+26=56, Resulting Numbers: [32, 56] Generated Node #0,3,2: 13:[32, 56] Operation: 30+26=56 Exploring Operation: 30+32=62, Resulting Numbers: [26, 62] Generated Node #0,3,3: 13:[26, 62] Operation: 30+32=62 Exploring Operation: 32-30=2, Resulting Numbers: [26, 2] Generated Node #0,3,4: 13:[26, 2] Operation: 32-30=2 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 13:[30, 6], Operations: ['69-43=26', '32-26=6'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 30*6=180, Resulting Numbers: [180] 180,13 unequal: No Solution Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 13:[26, 2], Operations: ['69-43=26', '32-30=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[30, 43, 32, 69], Operations: [] Exploring Operation: 69-43=26, Resulting Numbers: [30, 32, 26] Generated Node #0,3: 13:[30, 32, 26] Operation: 69-43=26 Moving to Node #0,3 Current State: 13:[30, 32, 26], Operations: ['69-43=26'] Exploring Operation: 32-30=2, Resulting Numbers: [26, 2] Generated Node #0,3,4: 13:[26, 2] Operation: 32-30=2 Moving to Node #0,3,4 Current State: 13:[26, 2], Operations: ['69-43=26', '32-30=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 78, 24, 40, 64 ]
66
[ "78*40=3120", "3120/24=130", "130-64=66" ]
Current State: 66:[78, 24, 40, 64], Operations: [] Exploring Operation: 78*40=3120, Resulting Numbers: [24, 64, 3120] Generated Node #2: [24, 64, 3120] from Operation: 78*40=3120 Current State: 66:[24, 64, 3120], Operations: ['78*40=3120'] Exploring Operation: 3120/24=130, Resulting Numbers: [64, 130] Generated Node #3: [64, 130] from Operation: 3120/24=130 Current State: 66:[64, 130], Operations: ['78*40=3120', '3120/24=130'] Exploring Operation: 130-64=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[78, 24, 40, 64], Operations: [] Exploring Operation: 24+40=64, Resulting Numbers: [78, 64, 64] Generated Node #0,0: 66:[78, 64, 64] Operation: 24+40=64 Exploring Operation: 78-64=14, Resulting Numbers: [24, 40, 14] Generated Node #0,1: 66:[24, 40, 14] Operation: 78-64=14 Exploring Operation: 78-40=38, Resulting Numbers: [24, 64, 38] Generated Node #0,2: 66:[24, 64, 38] Operation: 78-40=38 Moving to Node #0,2 Current State: 66:[24, 64, 38], Operations: ['78-40=38'] Exploring Operation: 24+38=62, Resulting Numbers: [64, 62] Generated Node #0,2,0: 66:[64, 62] Operation: 24+38=62 Exploring Operation: 38-24=14, Resulting Numbers: [64, 14] Generated Node #0,2,1: 66:[64, 14] Operation: 38-24=14 Exploring Operation: 64-38=26, Resulting Numbers: [24, 26] Generated Node #0,2,2: 66:[24, 26] Operation: 64-38=26 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 66:[64, 14], Operations: ['78-40=38', '38-24=14'] Exploring Operation: 64*14=896, Resulting Numbers: [896] 896,66 unequal: No Solution Exploring Operation: 64+14=78, Resulting Numbers: [78] 78,66 unequal: No Solution Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,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,0 Current State: 66:[64, 62], Operations: ['78-40=38', '24+38=62'] Exploring Operation: 64+62=126, Resulting Numbers: [126] 126,66 unequal: No Solution Exploring Operation: 64-62=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 64*62=3968, Resulting Numbers: [3968] 3968,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:[24, 26], Operations: ['78-40=38', '64-38=26'] Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 24*26=624, Resulting Numbers: [624] 624,66 unequal: No Solution Exploring Operation: 24+26=50, Resulting Numbers: [50] 50,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:[24, 40, 14], Operations: ['78-64=14'] Exploring Operation: 40-14=26, Resulting Numbers: [24, 26] Generated Node #0,1,0: 66:[24, 26] Operation: 40-14=26 Exploring Operation: 24+40=64, Resulting Numbers: [14, 64] Generated Node #0,1,1: 66:[14, 64] Operation: 24+40=64 Exploring Operation: 40-24=16, Resulting Numbers: [14, 16] Generated Node #0,1,2: 66:[14, 16] Operation: 40-24=16 Moving to Node #0,0 Current State: 66:[78, 64, 64], Operations: ['24+40=64'] Exploring Operation: 78-64=14, Resulting Numbers: [64, 14] Generated Node #0,0,0: 66:[64, 14] Operation: 78-64=14 Exploring Operation: 78-64=14, Resulting Numbers: [64, 14] Generated Node #0,0,1: 66:[64, 14] Operation: 78-64=14 Exploring Operation: 64/64=1, Resulting Numbers: [78, 1] Generated Node #0,0,2: 66:[78, 1] Operation: 64/64=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[64, 14], Operations: ['24+40=64', '78-64=14'] Exploring Operation: 64+14=78, Resulting Numbers: [78] 78,66 unequal: No Solution Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 64*14=896, Resulting Numbers: [896] 896,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[64, 14], Operations: ['24+40=64', '78-64=14'] Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 64*14=896, Resulting Numbers: [896] 896,66 unequal: No Solution Exploring Operation: 64+14=78, Resulting Numbers: [78] 78,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 66:[78, 1], Operations: ['24+40=64', '64/64=1'] Exploring Operation: 78/1=78, Resulting Numbers: [78] 78,66 unequal: No Solution Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,66 unequal: No Solution Exploring Operation: 78*1=78, Resulting Numbers: [78] 78,66 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: 66:[14, 64], Operations: ['78-64=14', '24+40=64'] Exploring Operation: 14+64=78, Resulting Numbers: [78] 78,66 unequal: No Solution Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 14*64=896, Resulting Numbers: [896] 896,66 unequal: No Solution Moving to Node #0,1,0 Current State: 66:[24, 26], Operations: ['78-64=14', '40-14=26'] Exploring Operation: 24+26=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 24*26=624, Resulting Numbers: [624] 624,66 unequal: No Solution Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,66 unequal: No Solution Moving to Node #0,1,2 Current State: 66:[14, 16], Operations: ['78-64=14', '40-24=16'] Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,66 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,66 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 15, 34, 40, 12 ]
21
[ "15+34=49", "40-12=28", "49-28=21" ]
Current State: 21:[15, 34, 40, 12], Operations: [] Exploring Operation: 15+34=49, Resulting Numbers: [40, 12, 49] Generated Node #2: [40, 12, 49] from Operation: 15+34=49 Current State: 21:[40, 12, 49], Operations: ['15+34=49'] Exploring Operation: 40-12=28, Resulting Numbers: [49, 28] Generated Node #3: [49, 28] from Operation: 40-12=28 Current State: 21:[49, 28], Operations: ['15+34=49', '40-12=28'] Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[15, 34, 40, 12], Operations: [] Exploring Operation: 40-34=6, Resulting Numbers: [15, 12, 6] Generated Node #0,0: 21:[15, 12, 6] Operation: 40-34=6 Exploring Operation: 40-15=25, Resulting Numbers: [34, 12, 25] Generated Node #0,1: 21:[34, 12, 25] Operation: 40-15=25 Exploring Operation: 34-15=19, Resulting Numbers: [40, 12, 19] Generated Node #0,2: 21:[40, 12, 19] Operation: 34-15=19 Moving to Node #0,0 Current State: 21:[15, 12, 6], Operations: ['40-34=6'] Exploring Operation: 15-12=3, Resulting Numbers: [6, 3] Generated Node #0,0,0: 21:[6, 3] Operation: 15-12=3 Exploring Operation: 15+6=21, Resulting Numbers: [12, 21] Generated Node #0,0,1: 21:[12, 21] Operation: 15+6=21 Exploring Operation: 15+12=27, Resulting Numbers: [6, 27] Generated Node #0,0,2: 21:[6, 27] Operation: 15+12=27 Moving to Node #0,1 Current State: 21:[34, 12, 25], Operations: ['40-15=25'] Exploring Operation: 25-12=13, Resulting Numbers: [34, 13] Generated Node #0,1,0: 21:[34, 13] Operation: 25-12=13 Exploring Operation: 34-12=22, Resulting Numbers: [25, 22] Generated Node #0,1,1: 21:[25, 22] Operation: 34-12=22 Exploring Operation: 34-25=9, Resulting Numbers: [12, 9] Generated Node #0,1,2: 21:[12, 9] Operation: 34-25=9 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[25, 22], Operations: ['40-15=25', '34-12=22'] Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 25*22=550, Resulting Numbers: [550] 550,21 unequal: No Solution Exploring Operation: 25+22=47, Resulting Numbers: [47] 47,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:[12, 9], Operations: ['40-15=25', '34-25=9'] Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[15, 34, 40, 12], Operations: [] Exploring Operation: 40-15=25, Resulting Numbers: [34, 12, 25] Generated Node #0,1: 21:[34, 12, 25] Operation: 40-15=25 Moving to Node #0,1 Current State: 21:[34, 12, 25], Operations: ['40-15=25'] Exploring Operation: 34-25=9, Resulting Numbers: [12, 9] Generated Node #0,1,2: 21:[12, 9] Operation: 34-25=9 Moving to Node #0,1,2 Current State: 21:[12, 9], Operations: ['40-15=25', '34-25=9'] Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 2, 8, 41, 5 ]
67
[ "8+5=13", "2*13=26", "41+26=67" ]
Current State: 67:[2, 8, 41, 5], Operations: [] Exploring Operation: 8+5=13, Resulting Numbers: [2, 41, 13] Generated Node #2: [2, 41, 13] from Operation: 8+5=13 Current State: 67:[2, 41, 13], Operations: ['8+5=13'] Exploring Operation: 2*13=26, Resulting Numbers: [41, 26] Generated Node #3: [41, 26] from Operation: 2*13=26 Current State: 67:[41, 26], Operations: ['8+5=13', '2*13=26'] Exploring Operation: 41+26=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[2, 8, 41, 5], Operations: [] Exploring Operation: 8*5=40, Resulting Numbers: [2, 41, 40] Generated Node #0,0: 67:[2, 41, 40] Operation: 8*5=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[2, 41, 40], Operations: ['8*5=40'] Exploring Operation: 2*40=80, Resulting Numbers: [41, 80] Generated Node #0,0,0: 67:[41, 80] Operation: 2*40=80 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[41, 80], Operations: ['8*5=40', '2*40=80'] Exploring Operation: 80-41=39, Resulting Numbers: [39] 39,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 24, 21, 14, 81 ]
22
[ "24+21=45", "81-14=67", "67-45=22" ]
Current State: 22:[24, 21, 14, 81], Operations: [] Exploring Operation: 24+21=45, Resulting Numbers: [14, 81, 45] Generated Node #2: [14, 81, 45] from Operation: 24+21=45 Current State: 22:[14, 81, 45], Operations: ['24+21=45'] Exploring Operation: 81-14=67, Resulting Numbers: [45, 67] Generated Node #3: [45, 67] from Operation: 81-14=67 Current State: 22:[45, 67], Operations: ['24+21=45', '81-14=67'] Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[24, 21, 14, 81], Operations: [] Exploring Operation: 81-24=57, Resulting Numbers: [21, 14, 57] Generated Node #0,0: 22:[21, 14, 57] Operation: 81-24=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[21, 14, 57], Operations: ['81-24=57'] Exploring Operation: 57-21=36, Resulting Numbers: [14, 36] Generated Node #0,0,0: 22:[14, 36] Operation: 57-21=36 Moving to Node #0,0,0 Current State: 22:[14, 36], Operations: ['81-24=57', '57-21=36'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[24, 21, 14, 81], Operations: [] Exploring Operation: 81-24=57, Resulting Numbers: [21, 14, 57] Generated Node #0,0: 22:[21, 14, 57] Operation: 81-24=57 Moving to Node #0,0 Current State: 22:[21, 14, 57], Operations: ['81-24=57'] Exploring Operation: 57-21=36, Resulting Numbers: [14, 36] Generated Node #0,0,0: 22:[14, 36] Operation: 57-21=36 Moving to Node #0,0,0 Current State: 22:[14, 36], Operations: ['81-24=57', '57-21=36'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 31, 30, 48, 93 ]
81
[ "93/31=3", "30+48=78", "3+78=81" ]
Current State: 81:[31, 30, 48, 93], Operations: [] Exploring Operation: 93/31=3, Resulting Numbers: [30, 48, 3] Generated Node #2: [30, 48, 3] from Operation: 93/31=3 Current State: 81:[30, 48, 3], Operations: ['93/31=3'] Exploring Operation: 30+48=78, Resulting Numbers: [3, 78] Generated Node #3: [3, 78] from Operation: 30+48=78 Current State: 81:[3, 78], Operations: ['93/31=3', '30+48=78'] Exploring Operation: 3+78=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[31, 30, 48, 93], Operations: [] Exploring Operation: 31+48=79, Resulting Numbers: [30, 93, 79] Generated Node #0,0: 81:[30, 93, 79] Operation: 31+48=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[30, 93, 79], Operations: ['31+48=79'] Exploring Operation: 93-79=14, Resulting Numbers: [30, 14] Generated Node #0,0,0: 81:[30, 14] Operation: 93-79=14 Moving to Node #0,0,0 Current State: 81:[30, 14], Operations: ['31+48=79', '93-79=14'] Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,81 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
[ 93, 4, 55, 96 ]
71
[ "96-55=41", "4*41=164", "164-93=71" ]
Current State: 71:[93, 4, 55, 96], Operations: [] Exploring Operation: 96-55=41, Resulting Numbers: [93, 4, 41] Generated Node #2: [93, 4, 41] from Operation: 96-55=41 Current State: 71:[93, 4, 41], Operations: ['96-55=41'] Exploring Operation: 4*41=164, Resulting Numbers: [93, 164] Generated Node #3: [93, 164] from Operation: 4*41=164 Current State: 71:[93, 164], Operations: ['96-55=41', '4*41=164'] Exploring Operation: 164-93=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[93, 4, 55, 96], Operations: [] Exploring Operation: 93+4=97, Resulting Numbers: [55, 96, 97] Generated Node #0,0: 71:[55, 96, 97] Operation: 93+4=97 Exploring Operation: 4+55=59, Resulting Numbers: [93, 96, 59] Generated Node #0,1: 71:[93, 96, 59] Operation: 4+55=59 Exploring Operation: 93-4=89, Resulting Numbers: [55, 96, 89] Generated Node #0,2: 71:[55, 96, 89] Operation: 93-4=89 Exploring Operation: 96-4=92, Resulting Numbers: [93, 55, 92] Generated Node #0,3: 71:[93, 55, 92] Operation: 96-4=92 Moving to Node #0,1 Current State: 71:[93, 96, 59], Operations: ['4+55=59'] Exploring Operation: 96-93=3, Resulting Numbers: [59, 3] Generated Node #0,1,0: 71:[59, 3] Operation: 96-93=3 Exploring Operation: 93-59=34, Resulting Numbers: [96, 34] Generated Node #0,1,1: 71:[96, 34] Operation: 93-59=34 Exploring Operation: 93+59=152, Resulting Numbers: [96, 152] Generated Node #0,1,2: 71:[96, 152] Operation: 93+59=152 Exploring Operation: 96-59=37, Resulting Numbers: [93, 37] Generated Node #0,1,3: 71:[93, 37] Operation: 96-59=37 Moving to Node #0,3 Current State: 71:[93, 55, 92], Operations: ['96-4=92'] Exploring Operation: 93+55=148, Resulting Numbers: [92, 148] Generated Node #0,3,0: 71:[92, 148] Operation: 93+55=148 Exploring Operation: 92-55=37, Resulting Numbers: [93, 37] Generated Node #0,3,1: 71:[93, 37] Operation: 92-55=37 Exploring Operation: 93-55=38, Resulting Numbers: [92, 38] Generated Node #0,3,2: 71:[92, 38] Operation: 93-55=38 Exploring Operation: 93-92=1, Resulting Numbers: [55, 1] Generated Node #0,3,3: 71:[55, 1] Operation: 93-92=1 Moving to Node #0,2 Current State: 71:[55, 96, 89], Operations: ['93-4=89'] Exploring Operation: 96-89=7, Resulting Numbers: [55, 7] Generated Node #0,2,0: 71:[55, 7] Operation: 96-89=7 Exploring Operation: 96-55=41, Resulting Numbers: [89, 41] Generated Node #0,2,1: 71:[89, 41] Operation: 96-55=41 Exploring Operation: 55+96=151, Resulting Numbers: [89, 151] Generated Node #0,2,2: 71:[89, 151] Operation: 55+96=151 Exploring Operation: 89-55=34, Resulting Numbers: [96, 34] Generated Node #0,2,3: 71:[96, 34] Operation: 89-55=34 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 71:[89, 41], Operations: ['93-4=89', '96-55=41'] Exploring Operation: 89*41=3649, Resulting Numbers: [3649] 3649,71 unequal: No Solution Exploring Operation: 89-41=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 89+41=130, Resulting Numbers: [130] 130,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 71:[96, 34], Operations: ['93-4=89', '89-55=34'] Exploring Operation: 96-34=62, Resulting Numbers: [62] 62,71 unequal: No Solution Exploring Operation: 96+34=130, Resulting Numbers: [130] 130,71 unequal: No Solution Exploring Operation: 96*34=3264, Resulting Numbers: [3264] 3264,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 71:[55, 7], Operations: ['93-4=89', '96-89=7'] Exploring Operation: 55*7=385, Resulting Numbers: [385] 385,71 unequal: No Solution Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 55+7=62, Resulting Numbers: [62] 62,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 71:[89, 151], Operations: ['93-4=89', '55+96=151'] Exploring Operation: 89+151=240, Resulting Numbers: [240] 240,71 unequal: No Solution Exploring Operation: 89*151=13439, Resulting Numbers: [13439] 13439,71 unequal: No Solution Exploring Operation: 151-89=62, Resulting Numbers: [62] 62,71 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: 71:[55, 96, 97], Operations: ['93+4=97'] Exploring Operation: 96-55=41, Resulting Numbers: [97, 41] Generated Node #0,0,0: 71:[97, 41] Operation: 96-55=41 Exploring Operation: 55+96=151, Resulting Numbers: [97, 151] Generated Node #0,0,1: 71:[97, 151] Operation: 55+96=151 Exploring Operation: 97-55=42, Resulting Numbers: [96, 42] Generated Node #0,0,2: 71:[96, 42] Operation: 97-55=42 Exploring Operation: 97-96=1, Resulting Numbers: [55, 1] Generated Node #0,0,3: 71:[55, 1] Operation: 97-96=1 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[96, 42], Operations: ['93+4=97', '97-55=42'] Exploring Operation: 96-42=54, Resulting Numbers: [54] 54,71 unequal: No Solution Exploring Operation: 96*42=4032, Resulting Numbers: [4032] 4032,71 unequal: No Solution Exploring Operation: 96+42=138, Resulting Numbers: [138] 138,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[97, 41], Operations: ['93+4=97', '96-55=41'] Exploring Operation: 97+41=138, Resulting Numbers: [138] 138,71 unequal: No Solution Exploring Operation: 97-41=56, Resulting Numbers: [56] 56,71 unequal: No Solution Exploring Operation: 97*41=3977, Resulting Numbers: [3977] 3977,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 71:[55, 1], Operations: ['93+4=97', '97-96=1'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,71 unequal: No Solution Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,71 unequal: No Solution Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,71 unequal: No Solution Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[97, 151], Operations: ['93+4=97', '55+96=151'] Exploring Operation: 97+151=248, Resulting Numbers: [248] 248,71 unequal: No Solution Exploring Operation: 151-97=54, Resulting Numbers: [54] 54,71 unequal: No Solution Exploring Operation: 97*151=14647, Resulting Numbers: [14647] 14647,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 71:[92, 38], Operations: ['96-4=92', '93-55=38'] Exploring Operation: 92-38=54, Resulting Numbers: [54] 54,71 unequal: No Solution Exploring Operation: 92+38=130, Resulting Numbers: [130] 130,71 unequal: No Solution Exploring Operation: 92*38=3496, Resulting Numbers: [3496] 3496,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[93, 37], Operations: ['96-4=92', '92-55=37'] Exploring Operation: 93+37=130, Resulting Numbers: [130] 130,71 unequal: No Solution Exploring Operation: 93*37=3441, Resulting Numbers: [3441] 3441,71 unequal: No Solution Exploring Operation: 93-37=56, Resulting Numbers: [56] 56,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[93, 37], Operations: ['4+55=59', '96-59=37'] Exploring Operation: 93+37=130, Resulting Numbers: [130] 130,71 unequal: No Solution Exploring Operation: 93*37=3441, Resulting Numbers: [3441] 3441,71 unequal: No Solution Exploring Operation: 93-37=56, Resulting Numbers: [56] 56,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[96, 34], Operations: ['4+55=59', '93-59=34'] Exploring Operation: 96*34=3264, Resulting Numbers: [3264] 3264,71 unequal: No Solution Exploring Operation: 96-34=62, Resulting Numbers: [62] 62,71 unequal: No Solution Exploring Operation: 96+34=130, Resulting Numbers: [130] 130,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[59, 3], Operations: ['4+55=59', '96-93=3'] Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,71 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,71 unequal: No Solution Exploring Operation: 59*3=177, Resulting Numbers: [177] 177,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[55, 1], Operations: ['96-4=92', '93-92=1'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,71 unequal: No Solution Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,71 unequal: No Solution Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,71 unequal: No Solution Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[92, 148], Operations: ['96-4=92', '93+55=148'] Exploring Operation: 92+148=240, Resulting Numbers: [240] 240,71 unequal: No Solution Exploring Operation: 92*148=13616, Resulting Numbers: [13616] 13616,71 unequal: No Solution Exploring Operation: 148-92=56, Resulting Numbers: [56] 56,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[96, 152], Operations: ['4+55=59', '93+59=152'] Exploring Operation: 152-96=56, Resulting Numbers: [56] 56,71 unequal: No Solution Exploring Operation: 96*152=14592, Resulting Numbers: [14592] 14592,71 unequal: No Solution Exploring Operation: 96+152=248, Resulting Numbers: [248] 248,71 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 24, 42, 32, 27 ]
20
[ "42-27=15", "32*15=480", "480/24=20" ]
Current State: 20:[24, 42, 32, 27], Operations: [] Exploring Operation: 42-27=15, Resulting Numbers: [24, 32, 15] Generated Node #2: [24, 32, 15] from Operation: 42-27=15 Current State: 20:[24, 32, 15], Operations: ['42-27=15'] Exploring Operation: 32*15=480, Resulting Numbers: [24, 480] Generated Node #3: [24, 480] from Operation: 32*15=480 Current State: 20:[24, 480], Operations: ['42-27=15', '32*15=480'] Exploring Operation: 480/24=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[24, 42, 32, 27], Operations: [] Exploring Operation: 42-32=10, Resulting Numbers: [24, 27, 10] Generated Node #0,0: 20:[24, 27, 10] Operation: 42-32=10 Exploring Operation: 42-27=15, Resulting Numbers: [24, 32, 15] Generated Node #0,1: 20:[24, 32, 15] Operation: 42-27=15 Exploring Operation: 42-24=18, Resulting Numbers: [32, 27, 18] Generated Node #0,2: 20:[32, 27, 18] Operation: 42-24=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[24, 27, 10], Operations: ['42-32=10'] Exploring Operation: 27-10=17, Resulting Numbers: [24, 17] Generated Node #0,0,0: 20:[24, 17] Operation: 27-10=17 Exploring Operation: 27-24=3, Resulting Numbers: [10, 3] Generated Node #0,0,1: 20:[10, 3] Operation: 27-24=3 Exploring Operation: 24-10=14, Resulting Numbers: [27, 14] Generated Node #0,0,2: 20:[27, 14] Operation: 24-10=14 Moving to Node #0,0,1 Current State: 20:[10, 3], Operations: ['42-32=10', '27-24=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[24, 17], Operations: ['42-32=10', '27-10=17'] Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 24+17=41, Resulting Numbers: [41] 41,20 unequal: No Solution Exploring Operation: 24*17=408, Resulting Numbers: [408] 408,20 unequal: No Solution Moving to Node #0,0,2 Current State: 20:[27, 14], Operations: ['42-32=10', '24-10=14'] Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,20 unequal: No Solution Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,20 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[24, 32, 15], Operations: ['42-27=15'] Exploring Operation: 32-15=17, Resulting Numbers: [24, 17] Generated Node #0,1,0: 20:[24, 17] Operation: 32-15=17 Exploring Operation: 32-24=8, Resulting Numbers: [15, 8] Generated Node #0,1,1: 20:[15, 8] Operation: 32-24=8 Exploring Operation: 24-15=9, Resulting Numbers: [32, 9] Generated Node #0,1,2: 20:[32, 9] Operation: 24-15=9 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 20:[24, 17], Operations: ['42-27=15', '32-15=17'] Exploring Operation: 24+17=41, Resulting Numbers: [41] 41,20 unequal: No Solution Exploring Operation: 24*17=408, Resulting Numbers: [408] 408,20 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 20:[15, 8], Operations: ['42-27=15', '32-24=8'] Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,20 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 20:[32, 9], Operations: ['42-27=15', '24-15=9'] Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,20 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[32, 27, 18], Operations: ['42-24=18'] Exploring Operation: 27-18=9, Resulting Numbers: [32, 9] Generated Node #0,2,0: 20:[32, 9] Operation: 27-18=9 Exploring Operation: 32-18=14, Resulting Numbers: [27, 14] Generated Node #0,2,1: 20:[27, 14] Operation: 32-18=14 Exploring Operation: 32-27=5, Resulting Numbers: [18, 5] Generated Node #0,2,2: 20:[18, 5] Operation: 32-27=5 Moving to Node #0,2,2 Current State: 20:[18, 5], Operations: ['42-24=18', '32-27=5'] Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,20 unequal: No Solution Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,20 unequal: No Solution Moving to Node #0,2,1 Current State: 20:[27, 14], Operations: ['42-24=18', '32-18=14'] Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,20 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,20 unequal: No Solution Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,20 unequal: No Solution Moving to Node #0,2,0 Current State: 20:[32, 9], Operations: ['42-24=18', '27-18=9'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,20 unequal: No Solution Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,20 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
[ 3, 36, 55, 31 ]
22
[ "3*36=108", "55+31=86", "108-86=22" ]
Current State: 22:[3, 36, 55, 31], Operations: [] Exploring Operation: 3*36=108, Resulting Numbers: [55, 31, 108] Generated Node #2: [55, 31, 108] from Operation: 3*36=108 Current State: 22:[55, 31, 108], Operations: ['3*36=108'] Exploring Operation: 55+31=86, Resulting Numbers: [108, 86] Generated Node #3: [108, 86] from Operation: 55+31=86 Current State: 22:[108, 86], Operations: ['3*36=108', '55+31=86'] Exploring Operation: 108-86=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[3, 36, 55, 31], Operations: [] Exploring Operation: 55-31=24, Resulting Numbers: [3, 36, 24] Generated Node #0,0: 22:[3, 36, 24] Operation: 55-31=24 Exploring Operation: 55-36=19, Resulting Numbers: [3, 31, 19] Generated Node #0,1: 22:[3, 31, 19] Operation: 55-36=19 Exploring Operation: 36-31=5, Resulting Numbers: [3, 55, 5] Generated Node #0,2: 22:[3, 55, 5] Operation: 36-31=5 Moving to Node #0,1 Current State: 22:[3, 31, 19], Operations: ['55-36=19'] Exploring Operation: 3+19=22, Resulting Numbers: [31, 22] Generated Node #0,1,0: 22:[31, 22] Operation: 3+19=22 Exploring Operation: 31-3=28, Resulting Numbers: [19, 28] Generated Node #0,1,1: 22:[19, 28] Operation: 31-3=28 Exploring Operation: 31-19=12, Resulting Numbers: [3, 12] Generated Node #0,1,2: 22:[3, 12] Operation: 31-19=12 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 22:[3, 12], Operations: ['55-36=19', '31-19=12'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,22 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,22 unequal: No Solution No 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: 22:[31, 22], Operations: ['55-36=19', '3+19=22'] Exploring Operation: 31+22=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 31*22=682, Resulting Numbers: [682] 682,22 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,22 unequal: No Solution No 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: 22:[19, 28], Operations: ['55-36=19', '31-3=28'] Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,22 unequal: No Solution Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,22 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: 22:[3, 36, 24], Operations: ['55-31=24'] Exploring Operation: 36/3=12, Resulting Numbers: [24, 12] Generated Node #0,0,0: 22:[24, 12] Operation: 36/3=12 Exploring Operation: 36-24=12, Resulting Numbers: [3, 12] Generated Node #0,0,1: 22:[3, 12] Operation: 36-24=12 Exploring Operation: 36-3=33, Resulting Numbers: [24, 33] Generated Node #0,0,2: 22:[24, 33] Operation: 36-3=33 Moving to Node #0,2 Current State: 22:[3, 55, 5], Operations: ['36-31=5'] Exploring Operation: 55/5=11, Resulting Numbers: [3, 11] Generated Node #0,2,0: 22:[3, 11] Operation: 55/5=11 Exploring Operation: 55-3=52, Resulting Numbers: [5, 52] Generated Node #0,2,1: 22:[5, 52] Operation: 55-3=52 Exploring Operation: 55-5=50, Resulting Numbers: [3, 50] Generated Node #0,2,2: 22:[3, 50] Operation: 55-5=50 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 22:[3, 11], Operations: ['36-31=5', '55/5=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,22 unequal: No Solution No 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: 22:[3, 50], Operations: ['36-31=5', '55-5=50'] Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,22 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,22 unequal: No Solution No 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: 22:[5, 52], Operations: ['36-31=5', '55-3=52'] Exploring Operation: 5+52=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 5*52=260, Resulting Numbers: [260] 260,22 unequal: No Solution Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 22:[3, 12], Operations: ['55-31=24', '36-24=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,22 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[24, 12], Operations: ['55-31=24', '36/3=12'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 24+12=36, Resulting Numbers: [36] 36,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[24, 33], Operations: ['55-31=24', '36-3=33'] Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,22 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 99, 28, 81, 71 ]
82
[ "99-28=71", "71/71=1", "81+1=82" ]
Current State: 82:[99, 28, 81, 71], Operations: [] Exploring Operation: 99-28=71, Resulting Numbers: [81, 71, 71] Generated Node #2: [81, 71, 71] from Operation: 99-28=71 Current State: 82:[81, 71, 71], Operations: ['99-28=71'] Exploring Operation: 71/71=1, Resulting Numbers: [81, 1] Generated Node #3: [81, 1] from Operation: 71/71=1 Current State: 82:[81, 1], Operations: ['99-28=71', '71/71=1'] Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[99, 28, 81, 71], Operations: [] Exploring Operation: 71-28=43, Resulting Numbers: [99, 81, 43] Generated Node #0,0: 82:[99, 81, 43] Operation: 71-28=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[99, 81, 43], Operations: ['71-28=43'] Exploring Operation: 99-43=56, Resulting Numbers: [81, 56] Generated Node #0,0,0: 82:[81, 56] Operation: 99-43=56 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[81, 56], Operations: ['71-28=43', '99-43=56'] Exploring Operation: 81-56=25, Resulting Numbers: [25] 25,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 3, 71, 94, 44 ]
73
[ "3+44=47", "94/47=2", "71+2=73" ]
Current State: 73:[3, 71, 94, 44], Operations: [] Exploring Operation: 3+44=47, Resulting Numbers: [71, 94, 47] Generated Node #2: [71, 94, 47] from Operation: 3+44=47 Current State: 73:[71, 94, 47], Operations: ['3+44=47'] Exploring Operation: 94/47=2, Resulting Numbers: [71, 2] Generated Node #3: [71, 2] from Operation: 94/47=2 Current State: 73:[71, 2], Operations: ['3+44=47', '94/47=2'] Exploring Operation: 71+2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[3, 71, 94, 44], Operations: [] Exploring Operation: 71-3=68, Resulting Numbers: [94, 44, 68] Generated Node #0,0: 73:[94, 44, 68] Operation: 71-3=68 Exploring Operation: 3+71=74, Resulting Numbers: [94, 44, 74] Generated Node #0,1: 73:[94, 44, 74] Operation: 3+71=74 Exploring Operation: 94-3=91, Resulting Numbers: [71, 44, 91] Generated Node #0,2: 73:[71, 44, 91] Operation: 94-3=91 Exploring Operation: 3+44=47, Resulting Numbers: [71, 94, 47] Generated Node #0,3: 73:[71, 94, 47] Operation: 3+44=47 Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[71, 44, 91], Operations: ['94-3=91'] Exploring Operation: 91-44=47, Resulting Numbers: [71, 47] Generated Node #0,2,0: 73:[71, 47] Operation: 91-44=47 Exploring Operation: 44+91=135, Resulting Numbers: [71, 135] Generated Node #0,2,1: 73:[71, 135] Operation: 44+91=135 Exploring Operation: 71-44=27, Resulting Numbers: [91, 27] Generated Node #0,2,2: 73:[91, 27] Operation: 71-44=27 Exploring Operation: 71+44=115, Resulting Numbers: [91, 115] Generated Node #0,2,3: 73:[91, 115] Operation: 71+44=115 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 73:[71, 47], Operations: ['94-3=91', '91-44=47'] Exploring Operation: 71+47=118, Resulting Numbers: [118] 118,73 unequal: No Solution Exploring Operation: 71-47=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 71*47=3337, Resulting Numbers: [3337] 3337,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 73:[91, 115], Operations: ['94-3=91', '71+44=115'] Exploring Operation: 115-91=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 91+115=206, Resulting Numbers: [206] 206,73 unequal: No Solution Exploring Operation: 91*115=10465, Resulting Numbers: [10465] 10465,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 73:[71, 135], Operations: ['94-3=91', '44+91=135'] Exploring Operation: 135-71=64, Resulting Numbers: [64] 64,73 unequal: No Solution Exploring Operation: 71*135=9585, Resulting Numbers: [9585] 9585,73 unequal: No Solution Exploring Operation: 71+135=206, Resulting Numbers: [206] 206,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 73:[91, 27], Operations: ['94-3=91', '71-44=27'] Exploring Operation: 91*27=2457, Resulting Numbers: [2457] 2457,73 unequal: No Solution Exploring Operation: 91-27=64, Resulting Numbers: [64] 64,73 unequal: No Solution Exploring Operation: 91+27=118, Resulting Numbers: [118] 118,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 73:[71, 94, 47], Operations: ['3+44=47'] Exploring Operation: 94+47=141, Resulting Numbers: [71, 141] Generated Node #0,3,0: 73:[71, 141] Operation: 94+47=141 Exploring Operation: 94-47=47, Resulting Numbers: [71, 47] Generated Node #0,3,1: 73:[71, 47] Operation: 94-47=47 Exploring Operation: 71+47=118, Resulting Numbers: [94, 118] Generated Node #0,3,2: 73:[94, 118] Operation: 71+47=118 Exploring Operation: 71-47=24, Resulting Numbers: [94, 24] Generated Node #0,3,3: 73:[94, 24] Operation: 71-47=24 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 73:[71, 47], Operations: ['3+44=47', '94-47=47'] Exploring Operation: 71-47=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 71+47=118, Resulting Numbers: [118] 118,73 unequal: No Solution Exploring Operation: 71*47=3337, Resulting Numbers: [3337] 3337,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 73:[94, 118], Operations: ['3+44=47', '71+47=118'] Exploring Operation: 94+118=212, Resulting Numbers: [212] 212,73 unequal: No Solution Exploring Operation: 118-94=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 94*118=11092, Resulting Numbers: [11092] 11092,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 73:[71, 141], Operations: ['3+44=47', '94+47=141'] Exploring Operation: 71*141=10011, Resulting Numbers: [10011] 10011,73 unequal: No Solution Exploring Operation: 141-71=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 71+141=212, Resulting Numbers: [212] 212,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 73:[94, 24], Operations: ['3+44=47', '71-47=24'] Exploring Operation: 94-24=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 94+24=118, Resulting Numbers: [118] 118,73 unequal: No Solution Exploring Operation: 94*24=2256, Resulting Numbers: [2256] 2256,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[94, 44, 74], Operations: ['3+71=74'] Exploring Operation: 74-44=30, Resulting Numbers: [94, 30] Generated Node #0,1,0: 73:[94, 30] Operation: 74-44=30 Exploring Operation: 44+74=118, Resulting Numbers: [94, 118] Generated Node #0,1,1: 73:[94, 118] Operation: 44+74=118 Exploring Operation: 94-44=50, Resulting Numbers: [74, 50] Generated Node #0,1,2: 73:[74, 50] Operation: 94-44=50 Exploring Operation: 94+44=138, Resulting Numbers: [74, 138] Generated Node #0,1,3: 73:[74, 138] Operation: 94+44=138 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 73:[74, 50], Operations: ['3+71=74', '94-44=50'] Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 74*50=3700, Resulting Numbers: [3700] 3700,73 unequal: No Solution Exploring Operation: 74+50=124, Resulting Numbers: [124] 124,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[94, 30], Operations: ['3+71=74', '74-44=30'] Exploring Operation: 94+30=124, Resulting Numbers: [124] 124,73 unequal: No Solution Exploring Operation: 94*30=2820, Resulting Numbers: [2820] 2820,73 unequal: No Solution Exploring Operation: 94-30=64, Resulting Numbers: [64] 64,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[94, 118], Operations: ['3+71=74', '44+74=118'] Exploring Operation: 118-94=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 94+118=212, Resulting Numbers: [212] 212,73 unequal: No Solution Exploring Operation: 94*118=11092, Resulting Numbers: [11092] 11092,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 73:[74, 138], Operations: ['3+71=74', '94+44=138'] Exploring Operation: 74+138=212, Resulting Numbers: [212] 212,73 unequal: No Solution Exploring Operation: 138-74=64, Resulting Numbers: [64] 64,73 unequal: No Solution Exploring Operation: 74*138=10212, Resulting Numbers: [10212] 10212,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[94, 44, 68], Operations: ['71-3=68'] Exploring Operation: 44+68=112, Resulting Numbers: [94, 112] Generated Node #0,0,0: 73:[94, 112] Operation: 44+68=112 Exploring Operation: 68-44=24, Resulting Numbers: [94, 24] Generated Node #0,0,1: 73:[94, 24] Operation: 68-44=24 Exploring Operation: 94-44=50, Resulting Numbers: [68, 50] Generated Node #0,0,2: 73:[68, 50] Operation: 94-44=50 Exploring Operation: 94+44=138, Resulting Numbers: [68, 138] Generated Node #0,0,3: 73:[68, 138] Operation: 94+44=138 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 73:[68, 50], Operations: ['71-3=68', '94-44=50'] Exploring Operation: 68*50=3400, Resulting Numbers: [3400] 3400,73 unequal: No Solution Exploring Operation: 68+50=118, Resulting Numbers: [118] 118,73 unequal: No Solution Exploring Operation: 68-50=18, Resulting Numbers: [18] 18,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[94, 112], Operations: ['71-3=68', '44+68=112'] Exploring Operation: 94+112=206, Resulting Numbers: [206] 206,73 unequal: No Solution Exploring Operation: 94*112=10528, Resulting Numbers: [10528] 10528,73 unequal: No Solution Exploring Operation: 112-94=18, Resulting Numbers: [18] 18,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[94, 24], Operations: ['71-3=68', '68-44=24'] Exploring Operation: 94+24=118, Resulting Numbers: [118] 118,73 unequal: No Solution Exploring Operation: 94-24=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 94*24=2256, Resulting Numbers: [2256] 2256,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 73:[68, 138], Operations: ['71-3=68', '94+44=138'] Exploring Operation: 68+138=206, Resulting Numbers: [206] 206,73 unequal: No Solution Exploring Operation: 138-68=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 68*138=9384, Resulting Numbers: [9384] 9384,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 14, 94, 62, 27 ]
73
[ "14+94=108", "62-27=35", "108-35=73" ]
Current State: 73:[14, 94, 62, 27], Operations: [] Exploring Operation: 14+94=108, Resulting Numbers: [62, 27, 108] Generated Node #2: [62, 27, 108] from Operation: 14+94=108 Current State: 73:[62, 27, 108], Operations: ['14+94=108'] Exploring Operation: 62-27=35, Resulting Numbers: [108, 35] Generated Node #3: [108, 35] from Operation: 62-27=35 Current State: 73:[108, 35], Operations: ['14+94=108', '62-27=35'] Exploring Operation: 108-35=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[14, 94, 62, 27], Operations: [] Exploring Operation: 94-14=80, Resulting Numbers: [62, 27, 80] Generated Node #0,0: 73:[62, 27, 80] Operation: 94-14=80 Exploring Operation: 14+27=41, Resulting Numbers: [94, 62, 41] Generated Node #0,1: 73:[94, 62, 41] Operation: 14+27=41 Exploring Operation: 14+62=76, Resulting Numbers: [94, 27, 76] Generated Node #0,2: 73:[94, 27, 76] Operation: 14+62=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[62, 27, 80], Operations: ['94-14=80'] Exploring Operation: 62+27=89, Resulting Numbers: [80, 89] Generated Node #0,0,0: 73:[80, 89] Operation: 62+27=89 Exploring Operation: 80-27=53, Resulting Numbers: [62, 53] Generated Node #0,0,1: 73:[62, 53] Operation: 80-27=53 Exploring Operation: 62-27=35, Resulting Numbers: [80, 35] Generated Node #0,0,2: 73:[80, 35] Operation: 62-27=35 Moving to Node #0,0,0 Current State: 73:[80, 89], Operations: ['94-14=80', '62+27=89'] Exploring Operation: 80+89=169, Resulting Numbers: [169] 169,73 unequal: No Solution Exploring Operation: 80*89=7120, Resulting Numbers: [7120] 7120,73 unequal: No Solution Exploring Operation: 89-80=9, Resulting Numbers: [9] 9,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[62, 53], Operations: ['94-14=80', '80-27=53'] Exploring Operation: 62*53=3286, Resulting Numbers: [3286] 3286,73 unequal: No Solution Exploring Operation: 62-53=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 62+53=115, Resulting Numbers: [115] 115,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[80, 35], Operations: ['94-14=80', '62-27=35'] Exploring Operation: 80+35=115, Resulting Numbers: [115] 115,73 unequal: No Solution Exploring Operation: 80-35=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 80*35=2800, Resulting Numbers: [2800] 2800,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[94, 62, 41], Operations: ['14+27=41'] Exploring Operation: 94-41=53, Resulting Numbers: [62, 53] Generated Node #0,1,0: 73:[62, 53] Operation: 94-41=53 Exploring Operation: 94-62=32, Resulting Numbers: [41, 32] Generated Node #0,1,1: 73:[41, 32] Operation: 94-62=32 Exploring Operation: 62+41=103, Resulting Numbers: [94, 103] Generated Node #0,1,2: 73:[94, 103] Operation: 62+41=103 Moving to Node #0,1,0 Current State: 73:[62, 53], Operations: ['14+27=41', '94-41=53'] Exploring Operation: 62*53=3286, Resulting Numbers: [3286] 3286,73 unequal: No Solution Exploring Operation: 62+53=115, Resulting Numbers: [115] 115,73 unequal: No Solution Exploring Operation: 62-53=9, Resulting Numbers: [9] 9,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[94, 103], Operations: ['14+27=41', '62+41=103'] Exploring Operation: 94*103=9682, Resulting Numbers: [9682] 9682,73 unequal: No Solution Exploring Operation: 103-94=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 94+103=197, Resulting Numbers: [197] 197,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[41, 32], Operations: ['14+27=41', '94-62=32'] Exploring Operation: 41*32=1312, Resulting Numbers: [1312] 1312,73 unequal: No Solution Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[14, 94, 62, 27], Operations: [] Exploring Operation: 14+27=41, Resulting Numbers: [94, 62, 41] Generated Node #0,1: 73:[94, 62, 41] Operation: 14+27=41 Moving to Node #0,1 Current State: 73:[94, 62, 41], Operations: ['14+27=41'] Exploring Operation: 94-62=32, Resulting Numbers: [41, 32] Generated Node #0,1,1: 73:[41, 32] Operation: 94-62=32 Moving to Node #0,1,1 Current State: 73:[41, 32], Operations: ['14+27=41', '94-62=32'] Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
sum_heuristic
[ 50, 9, 30, 11 ]
70
[ "11-9=2", "50*2=100", "100-30=70" ]
Current State: 70:[50, 9, 30, 11], Operations: [] Exploring Operation: 11-9=2, Resulting Numbers: [50, 30, 2] Generated Node #2: [50, 30, 2] from Operation: 11-9=2 Current State: 70:[50, 30, 2], Operations: ['11-9=2'] Exploring Operation: 50*2=100, Resulting Numbers: [30, 100] Generated Node #3: [30, 100] from Operation: 50*2=100 Current State: 70:[30, 100], Operations: ['11-9=2', '50*2=100'] Exploring Operation: 100-30=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[50, 9, 30, 11], Operations: [] Exploring Operation: 50-30=20, Resulting Numbers: [9, 11, 20] Generated Node #0,0: 70:[9, 11, 20] Operation: 50-30=20 Exploring Operation: 50-9=41, Resulting Numbers: [30, 11, 41] Generated Node #0,1: 70:[30, 11, 41] Operation: 50-9=41 Exploring Operation: 50+30=80, Resulting Numbers: [9, 11, 80] Generated Node #0,2: 70:[9, 11, 80] Operation: 50+30=80 Exploring Operation: 50-11=39, Resulting Numbers: [9, 30, 39] Generated Node #0,3: 70:[9, 30, 39] Operation: 50-11=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[9, 11, 20], Operations: ['50-30=20'] Exploring Operation: 11+20=31, Resulting Numbers: [9, 31] Generated Node #0,0,0: 70:[9, 31] Operation: 11+20=31 Exploring Operation: 20-9=11, Resulting Numbers: [11, 11] Generated Node #0,0,1: 70:[11, 11] Operation: 20-9=11 Exploring Operation: 20-11=9, Resulting Numbers: [9, 9] Generated Node #0,0,2: 70:[9, 9] Operation: 20-11=9 Exploring Operation: 11-9=2, Resulting Numbers: [20, 2] Generated Node #0,0,3: 70:[20, 2] Operation: 11-9=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[11, 11], Operations: ['50-30=20', '20-9=11'] Exploring Operation: 11/11=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 11*11=121, Resulting Numbers: [121] 121,70 unequal: No Solution Exploring Operation: 11+11=22, Resulting Numbers: [22] 22,70 unequal: No Solution Exploring Operation: 11-11=0, Resulting Numbers: [0] 0,70 unequal: No Solution No 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: 70:[9, 9], Operations: ['50-30=20', '20-11=9'] Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,70 unequal: No Solution Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,70 unequal: No Solution No 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: 70:[9, 31], Operations: ['50-30=20', '11+20=31'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,70 unequal: No Solution Exploring Operation: 9*31=279, Resulting Numbers: [279] 279,70 unequal: No Solution Exploring Operation: 9+31=40, Resulting Numbers: [40] 40,70 unequal: No Solution No 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: 70:[20, 2], Operations: ['50-30=20', '11-9=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,70 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 70:[9, 30, 39], Operations: ['50-11=39'] Exploring Operation: 39-9=30, Resulting Numbers: [30, 30] Generated Node #0,3,0: 70:[30, 30] Operation: 39-9=30 Exploring Operation: 39-30=9, Resulting Numbers: [9, 9] Generated Node #0,3,1: 70:[9, 9] Operation: 39-30=9 Exploring Operation: 9+30=39, Resulting Numbers: [39, 39] Generated Node #0,3,2: 70:[39, 39] Operation: 9+30=39 Exploring Operation: 30+39=69, Resulting Numbers: [9, 69] Generated Node #0,3,3: 70:[9, 69] Operation: 30+39=69 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 70:[9, 9], Operations: ['50-11=39', '39-30=9'] Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,70 unequal: No Solution Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,70 unequal: No Solution Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,70 unequal: No Solution No 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: 70:[9, 69], Operations: ['50-11=39', '30+39=69'] Exploring Operation: 69-9=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 9+69=78, Resulting Numbers: [78] 78,70 unequal: No Solution Exploring Operation: 9*69=621, Resulting Numbers: [621] 621,70 unequal: No Solution No 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: 70:[39, 39], Operations: ['50-11=39', '9+30=39'] Exploring Operation: 39*39=1521, Resulting Numbers: [1521] 1521,70 unequal: No Solution Exploring Operation: 39+39=78, Resulting Numbers: [78] 78,70 unequal: No Solution Exploring Operation: 39/39=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 39-39=0, Resulting Numbers: [0] 0,70 unequal: No Solution No 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: 70:[30, 30], Operations: ['50-11=39', '39-9=30'] Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,70 unequal: No Solution Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[30, 11, 41], Operations: ['50-9=41'] Exploring Operation: 30-11=19, Resulting Numbers: [41, 19] Generated Node #0,1,0: 70:[41, 19] Operation: 30-11=19 Exploring Operation: 30+41=71, Resulting Numbers: [11, 71] Generated Node #0,1,1: 70:[11, 71] Operation: 30+41=71 Exploring Operation: 41-30=11, Resulting Numbers: [11, 11] Generated Node #0,1,2: 70:[11, 11] Operation: 41-30=11 Exploring Operation: 41-11=30, Resulting Numbers: [30, 30] Generated Node #0,1,3: 70:[30, 30] Operation: 41-11=30 Moving to Node #0,1,1 Current State: 70:[11, 71], Operations: ['50-9=41', '30+41=71'] Exploring Operation: 11+71=82, Resulting Numbers: [82] 82,70 unequal: No Solution Exploring Operation: 11*71=781, Resulting Numbers: [781] 781,70 unequal: No Solution Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[11, 11], Operations: ['50-9=41', '41-30=11'] Exploring Operation: 11-11=0, Resulting Numbers: [0] 0,70 unequal: No Solution Exploring Operation: 11+11=22, Resulting Numbers: [22] 22,70 unequal: No Solution Exploring Operation: 11/11=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 11*11=121, Resulting Numbers: [121] 121,70 unequal: No Solution Moving to Node #0,1,3 Current State: 70:[30, 30], Operations: ['50-9=41', '41-11=30'] Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,70 unequal: No Solution Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,70 unequal: No Solution Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[41, 19], Operations: ['50-9=41', '30-11=19'] Exploring Operation: 41+19=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,70 unequal: No Solution Exploring Operation: 41*19=779, Resulting Numbers: [779] 779,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[9, 11, 80], Operations: ['50+30=80'] Exploring Operation: 80-9=71, Resulting Numbers: [11, 71] Generated Node #0,2,0: 70:[11, 71] Operation: 80-9=71 Exploring Operation: 80-11=69, Resulting Numbers: [9, 69] Generated Node #0,2,1: 70:[9, 69] Operation: 80-11=69 Exploring Operation: 11-9=2, Resulting Numbers: [80, 2] Generated Node #0,2,2: 70:[80, 2] Operation: 11-9=2 Exploring Operation: 9+11=20, Resulting Numbers: [80, 20] Generated Node #0,2,3: 70:[80, 20] Operation: 9+11=20 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 70:[11, 71], Operations: ['50+30=80', '80-9=71'] Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 11+71=82, Resulting Numbers: [82] 82,70 unequal: No Solution Exploring Operation: 11*71=781, Resulting Numbers: [781] 781,70 unequal: No Solution No 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: 70:[9, 69], Operations: ['50+30=80', '80-11=69'] Exploring Operation: 9+69=78, Resulting Numbers: [78] 78,70 unequal: No Solution Exploring Operation: 69-9=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 9*69=621, Resulting Numbers: [621] 621,70 unequal: No Solution No 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: 70:[80, 2], Operations: ['50+30=80', '11-9=2'] Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,70 unequal: No Solution Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,70 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,70 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,70 unequal: No Solution No 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: 70:[80, 20], Operations: ['50+30=80', '9+11=20'] Exploring Operation: 80/20=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 80-20=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 80+20=100, Resulting Numbers: [100] 100,70 unequal: No Solution Exploring Operation: 80*20=1600, Resulting Numbers: [1600] 1600,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_4
mult_heuristic
[ 33, 56, 3, 97 ]
71
[ "56-33=23", "97-3=94", "94-23=71" ]
Current State: 71:[33, 56, 3, 97], Operations: [] Exploring Operation: 56-33=23, Resulting Numbers: [3, 97, 23] Generated Node #2: [3, 97, 23] from Operation: 56-33=23 Current State: 71:[3, 97, 23], Operations: ['56-33=23'] Exploring Operation: 97-3=94, Resulting Numbers: [23, 94] Generated Node #3: [23, 94] from Operation: 97-3=94 Current State: 71:[23, 94], Operations: ['56-33=23', '97-3=94'] Exploring Operation: 94-23=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[33, 56, 3, 97], Operations: [] Exploring Operation: 33*3=99, Resulting Numbers: [56, 97, 99] Generated Node #0,0: 71:[56, 97, 99] Operation: 33*3=99 Moving to Node #0,0 Current State: 71:[56, 97, 99], Operations: ['33*3=99'] Exploring Operation: 99-56=43, Resulting Numbers: [97, 43] Generated Node #0,0,0: 71:[97, 43] Operation: 99-56=43 Moving to Node #0,0,0 Current State: 71:[97, 43], Operations: ['33*3=99', '99-56=43'] Exploring Operation: 97-43=54, Resulting Numbers: [54] 54,71 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 70, 39, 78, 88 ]
50
[ "78-70=8", "88/8=11", "39+11=50" ]
Current State: 50:[70, 39, 78, 88], Operations: [] Exploring Operation: 78-70=8, Resulting Numbers: [39, 88, 8] Generated Node #2: [39, 88, 8] from Operation: 78-70=8 Current State: 50:[39, 88, 8], Operations: ['78-70=8'] Exploring Operation: 88/8=11, Resulting Numbers: [39, 11] Generated Node #3: [39, 11] from Operation: 88/8=11 Current State: 50:[39, 11], Operations: ['78-70=8', '88/8=11'] Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[70, 39, 78, 88], Operations: [] Exploring Operation: 88-39=49, Resulting Numbers: [70, 78, 49] Generated Node #0,0: 50:[70, 78, 49] Operation: 88-39=49 Exploring Operation: 88-70=18, Resulting Numbers: [39, 78, 18] Generated Node #0,1: 50:[39, 78, 18] Operation: 88-70=18 Exploring Operation: 88-78=10, Resulting Numbers: [70, 39, 10] Generated Node #0,2: 50:[70, 39, 10] Operation: 88-78=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[70, 39, 10], Operations: ['88-78=10'] Exploring Operation: 70/10=7, Resulting Numbers: [39, 7] Generated Node #0,2,0: 50:[39, 7] Operation: 70/10=7 Exploring Operation: 70-10=60, Resulting Numbers: [39, 60] Generated Node #0,2,1: 50:[39, 60] Operation: 70-10=60 Exploring Operation: 70-39=31, Resulting Numbers: [10, 31] Generated Node #0,2,2: 50:[10, 31] Operation: 70-39=31 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 50:[10, 31], Operations: ['88-78=10', '70-39=31'] Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,50 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,50 unequal: No Solution No 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: 50:[39, 7], Operations: ['88-78=10', '70/10=7'] Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,50 unequal: No Solution Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,50 unequal: No Solution No 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: 50:[39, 60], Operations: ['88-78=10', '70-10=60'] Exploring Operation: 39+60=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 39*60=2340, Resulting Numbers: [2340] 2340,50 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: 50:[39, 78, 18], Operations: ['88-70=18'] Exploring Operation: 78-39=39, Resulting Numbers: [18, 39] Generated Node #0,1,0: 50:[18, 39] Operation: 78-39=39 Exploring Operation: 78-18=60, Resulting Numbers: [39, 60] Generated Node #0,1,1: 50:[39, 60] Operation: 78-18=60 Exploring Operation: 78/39=2, Resulting Numbers: [18, 2] Generated Node #0,1,2: 50:[18, 2] Operation: 78/39=2 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 50:[18, 2], Operations: ['88-70=18', '78/39=2'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,50 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,50 unequal: No Solution No 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: 50:[18, 39], Operations: ['88-70=18', '78-39=39'] Exploring Operation: 18+39=57, Resulting Numbers: [57] 57,50 unequal: No Solution Exploring Operation: 18*39=702, Resulting Numbers: [702] 702,50 unequal: No Solution Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,50 unequal: No Solution No 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: 50:[39, 60], Operations: ['88-70=18', '78-18=60'] Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 39*60=2340, Resulting Numbers: [2340] 2340,50 unequal: No Solution Exploring Operation: 39+60=99, Resulting Numbers: [99] 99,50 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: 50:[70, 78, 49], Operations: ['88-39=49'] Exploring Operation: 70-49=21, Resulting Numbers: [78, 21] Generated Node #0,0,0: 50:[78, 21] Operation: 70-49=21 Exploring Operation: 78-49=29, Resulting Numbers: [70, 29] Generated Node #0,0,1: 50:[70, 29] Operation: 78-49=29 Exploring Operation: 78-70=8, Resulting Numbers: [49, 8] Generated Node #0,0,2: 50:[49, 8] Operation: 78-70=8 Moving to Node #0,0,2 Current State: 50:[49, 8], Operations: ['88-39=49', '78-70=8'] Exploring Operation: 49*8=392, Resulting Numbers: [392] 392,50 unequal: No Solution Exploring Operation: 49+8=57, Resulting Numbers: [57] 57,50 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[70, 29], Operations: ['88-39=49', '78-49=29'] Exploring Operation: 70+29=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 70*29=2030, Resulting Numbers: [2030] 2030,50 unequal: No Solution Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[78, 21], Operations: ['88-39=49', '70-49=21'] Exploring Operation: 78*21=1638, Resulting Numbers: [1638] 1638,50 unequal: No Solution Exploring Operation: 78+21=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 23, 89, 55, 38 ]
95
[ "23+89=112", "55-38=17", "112-17=95" ]
Current State: 95:[23, 89, 55, 38], Operations: [] Exploring Operation: 23+89=112, Resulting Numbers: [55, 38, 112] Generated Node #2: [55, 38, 112] from Operation: 23+89=112 Current State: 95:[55, 38, 112], Operations: ['23+89=112'] Exploring Operation: 55-38=17, Resulting Numbers: [112, 17] Generated Node #3: [112, 17] from Operation: 55-38=17 Current State: 95:[112, 17], Operations: ['23+89=112', '55-38=17'] Exploring Operation: 112-17=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[23, 89, 55, 38], Operations: [] Exploring Operation: 89-55=34, Resulting Numbers: [23, 38, 34] Generated Node #0,0: 95:[23, 38, 34] Operation: 89-55=34 Exploring Operation: 55-23=32, Resulting Numbers: [89, 38, 32] Generated Node #0,1: 95:[89, 38, 32] Operation: 55-23=32 Exploring Operation: 55-38=17, Resulting Numbers: [23, 89, 17] Generated Node #0,2: 95:[23, 89, 17] Operation: 55-38=17 Exploring Operation: 55+38=93, Resulting Numbers: [23, 89, 93] Generated Node #0,3: 95:[23, 89, 93] Operation: 55+38=93 Moving to Node #0,2 Current State: 95:[23, 89, 17], Operations: ['55-38=17'] Exploring Operation: 23-17=6, Resulting Numbers: [89, 6] Generated Node #0,2,0: 95:[89, 6] Operation: 23-17=6 Exploring Operation: 23+89=112, Resulting Numbers: [17, 112] Generated Node #0,2,1: 95:[17, 112] Operation: 23+89=112 Exploring Operation: 23+17=40, Resulting Numbers: [89, 40] Generated Node #0,2,2: 95:[89, 40] Operation: 23+17=40 Exploring Operation: 89+17=106, Resulting Numbers: [23, 106] Generated Node #0,2,3: 95:[23, 106] Operation: 89+17=106 Moving to Node #0,3 Current State: 95:[23, 89, 93], Operations: ['55+38=93'] Exploring Operation: 93-89=4, Resulting Numbers: [23, 4] Generated Node #0,3,0: 95:[23, 4] Operation: 93-89=4 Exploring Operation: 23+89=112, Resulting Numbers: [93, 112] Generated Node #0,3,1: 95:[93, 112] Operation: 23+89=112 Exploring Operation: 89-23=66, Resulting Numbers: [93, 66] Generated Node #0,3,2: 95:[93, 66] Operation: 89-23=66 Exploring Operation: 23+93=116, Resulting Numbers: [89, 116] Generated Node #0,3,3: 95:[89, 116] Operation: 23+93=116 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 95:[23, 4], Operations: ['55+38=93', '93-89=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,95 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,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,3,1 Current State: 95:[93, 112], Operations: ['55+38=93', '23+89=112'] Exploring Operation: 93*112=10416, Resulting Numbers: [10416] 10416,95 unequal: No Solution Exploring Operation: 93+112=205, Resulting Numbers: [205] 205,95 unequal: No Solution Exploring Operation: 112-93=19, Resulting Numbers: [19] 19,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,3,3 Current State: 95:[89, 116], Operations: ['55+38=93', '23+93=116'] Exploring Operation: 116-89=27, Resulting Numbers: [27] 27,95 unequal: No Solution Exploring Operation: 89+116=205, Resulting Numbers: [205] 205,95 unequal: No Solution Exploring Operation: 89*116=10324, Resulting Numbers: [10324] 10324,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,3,2 Current State: 95:[93, 66], Operations: ['55+38=93', '89-23=66'] Exploring Operation: 93*66=6138, Resulting Numbers: [6138] 6138,95 unequal: No Solution Exploring Operation: 93+66=159, Resulting Numbers: [159] 159,95 unequal: No Solution Exploring Operation: 93-66=27, Resulting Numbers: [27] 27,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:[89, 38, 32], Operations: ['55-23=32'] Exploring Operation: 38+32=70, Resulting Numbers: [89, 70] Generated Node #0,1,0: 95:[89, 70] Operation: 38+32=70 Exploring Operation: 38-32=6, Resulting Numbers: [89, 6] Generated Node #0,1,1: 95:[89, 6] Operation: 38-32=6 Exploring Operation: 89-38=51, Resulting Numbers: [32, 51] Generated Node #0,1,2: 95:[32, 51] Operation: 89-38=51 Exploring Operation: 89+38=127, Resulting Numbers: [32, 127] Generated Node #0,1,3: 95:[32, 127] Operation: 89+38=127 Moving to Node #0,0 Current State: 95:[23, 38, 34], Operations: ['89-55=34'] Exploring Operation: 38+34=72, Resulting Numbers: [23, 72] Generated Node #0,0,0: 95:[23, 72] Operation: 38+34=72 Exploring Operation: 34-23=11, Resulting Numbers: [38, 11] Generated Node #0,0,1: 95:[38, 11] Operation: 34-23=11 Exploring Operation: 38-34=4, Resulting Numbers: [23, 4] Generated Node #0,0,2: 95:[23, 4] Operation: 38-34=4 Exploring Operation: 38-23=15, Resulting Numbers: [34, 15] Generated Node #0,0,3: 95:[34, 15] Operation: 38-23=15 Moving to Node #0,0,2 Current State: 95:[23, 4], Operations: ['89-55=34', '38-34=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,95 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[89, 6], Operations: ['55-38=17', '23-17=6'] Exploring Operation: 89-6=83, Resulting Numbers: [83] 83,95 unequal: No Solution Exploring Operation: 89*6=534, Resulting Numbers: [534] 534,95 unequal: No Solution Exploring Operation: 89+6=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[23, 89, 55, 38], Operations: [] Exploring Operation: 55-38=17, Resulting Numbers: [23, 89, 17] Generated Node #0,2: 95:[23, 89, 17] Operation: 55-38=17 Moving to Node #0,2 Current State: 95:[23, 89, 17], Operations: ['55-38=17'] Exploring Operation: 23-17=6, Resulting Numbers: [89, 6] Generated Node #0,2,0: 95:[89, 6] Operation: 23-17=6 Moving to Node #0,2,0 Current State: 95:[89, 6], Operations: ['55-38=17', '23-17=6'] Exploring Operation: 89+6=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.963542
hs_4
mult_heuristic
[ 12, 34, 3, 42 ]
21
[ "12*3=36", "36-34=2", "42/2=21" ]
Current State: 21:[12, 34, 3, 42], Operations: [] Exploring Operation: 12*3=36, Resulting Numbers: [34, 42, 36] Generated Node #2: [34, 42, 36] from Operation: 12*3=36 Current State: 21:[34, 42, 36], Operations: ['12*3=36'] Exploring Operation: 36-34=2, Resulting Numbers: [42, 2] Generated Node #3: [42, 2] from Operation: 36-34=2 Current State: 21:[42, 2], Operations: ['12*3=36', '36-34=2'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[12, 34, 3, 42], Operations: [] Exploring Operation: 42-34=8, Resulting Numbers: [12, 3, 8] Generated Node #0,0: 21:[12, 3, 8] Operation: 42-34=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[12, 3, 8], Operations: ['42-34=8'] Exploring Operation: 12+8=20, Resulting Numbers: [3, 20] Generated Node #0,0,0: 21:[3, 20] Operation: 12+8=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[3, 20], Operations: ['42-34=8', '12+8=20'] Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 24, 34, 48, 2 ]
38
[ "24+34=58", "48*2=96", "96-58=38" ]
Current State: 38:[24, 34, 48, 2], Operations: [] Exploring Operation: 24+34=58, Resulting Numbers: [48, 2, 58] Generated Node #2: [48, 2, 58] from Operation: 24+34=58 Current State: 38:[48, 2, 58], Operations: ['24+34=58'] Exploring Operation: 48*2=96, Resulting Numbers: [58, 96] Generated Node #3: [58, 96] from Operation: 48*2=96 Current State: 38:[58, 96], Operations: ['24+34=58', '48*2=96'] Exploring Operation: 96-58=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[24, 34, 48, 2], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [34, 2, 2] Generated Node #0,0: 38:[34, 2, 2] Operation: 48/24=2 Moving to Node #0,0 Current State: 38:[34, 2, 2], Operations: ['48/24=2'] Exploring Operation: 34+2=36, Resulting Numbers: [2, 36] Generated Node #0,0,0: 38:[2, 36] Operation: 34+2=36 Moving to Node #0,0,0 Current State: 38:[2, 36], Operations: ['48/24=2', '34+2=36'] Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[24, 34, 48, 2], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [34, 2, 2] Generated Node #0,0: 38:[34, 2, 2] Operation: 48/24=2 Moving to Node #0,0 Current State: 38:[34, 2, 2], Operations: ['48/24=2'] Exploring Operation: 34+2=36, Resulting Numbers: [2, 36] Generated Node #0,0,0: 38:[2, 36] Operation: 34+2=36 Moving to Node #0,0,0 Current State: 38:[2, 36], Operations: ['48/24=2', '34+2=36'] Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 73, 47, 25, 60 ]
27
[ "73+47=120", "120/60=2", "25+2=27" ]
Current State: 27:[73, 47, 25, 60], Operations: [] Exploring Operation: 73+47=120, Resulting Numbers: [25, 60, 120] Generated Node #2: [25, 60, 120] from Operation: 73+47=120 Current State: 27:[25, 60, 120], Operations: ['73+47=120'] Exploring Operation: 120/60=2, Resulting Numbers: [25, 2] Generated Node #3: [25, 2] from Operation: 120/60=2 Current State: 27:[25, 2], Operations: ['73+47=120', '120/60=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[73, 47, 25, 60], Operations: [] Exploring Operation: 73-60=13, Resulting Numbers: [47, 25, 13] Generated Node #0,0: 27:[47, 25, 13] Operation: 73-60=13 Exploring Operation: 73-47=26, Resulting Numbers: [25, 60, 26] Generated Node #0,1: 27:[25, 60, 26] Operation: 73-47=26 Exploring Operation: 73-25=48, Resulting Numbers: [47, 60, 48] Generated Node #0,2: 27:[47, 60, 48] Operation: 73-25=48 Exploring Operation: 60-25=35, Resulting Numbers: [73, 47, 35] Generated Node #0,3: 27:[73, 47, 35] Operation: 60-25=35 Exploring Operation: 60-47=13, Resulting Numbers: [73, 25, 13] Generated Node #0,4: 27:[73, 25, 13] Operation: 60-47=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[47, 25, 13], Operations: ['73-60=13'] Exploring Operation: 47-13=34, Resulting Numbers: [25, 34] Generated Node #0,0,0: 27:[25, 34] Operation: 47-13=34 Exploring Operation: 25+13=38, Resulting Numbers: [47, 38] Generated Node #0,0,1: 27:[47, 38] Operation: 25+13=38 Exploring Operation: 47-25=22, Resulting Numbers: [13, 22] Generated Node #0,0,2: 27:[13, 22] Operation: 47-25=22 Exploring Operation: 47+13=60, Resulting Numbers: [25, 60] Generated Node #0,0,3: 27:[25, 60] Operation: 47+13=60 Exploring Operation: 25-13=12, Resulting Numbers: [47, 12] Generated Node #0,0,4: 27:[47, 12] Operation: 25-13=12 Moving to Node #0,0,0 Current State: 27:[25, 34], Operations: ['73-60=13', '47-13=34'] Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[13, 22], Operations: ['73-60=13', '47-25=22'] Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,27 unequal: No Solution Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,27 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,27 unequal: No Solution Moving to Node #0,0,4 Current State: 27:[47, 12], Operations: ['73-60=13', '25-13=12'] Exploring Operation: 47*12=564, Resulting Numbers: [564] 564,27 unequal: No Solution Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,27 unequal: No Solution Exploring Operation: 47+12=59, Resulting Numbers: [59] 59,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[47, 38], Operations: ['73-60=13', '25+13=38'] Exploring Operation: 47-38=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 47*38=1786, Resulting Numbers: [1786] 1786,27 unequal: No Solution Exploring Operation: 47+38=85, Resulting Numbers: [85] 85,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[25, 60], Operations: ['73-60=13', '47+13=60'] Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,27 unequal: No Solution Exploring Operation: 25*60=1500, Resulting Numbers: [1500] 1500,27 unequal: No Solution Exploring Operation: 25+60=85, Resulting Numbers: [85] 85,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[25, 60, 26], Operations: ['73-47=26'] Exploring Operation: 25+26=51, Resulting Numbers: [60, 51] Generated Node #0,1,0: 27:[60, 51] Operation: 25+26=51 Exploring Operation: 25+60=85, Resulting Numbers: [26, 85] Generated Node #0,1,1: 27:[26, 85] Operation: 25+60=85 Exploring Operation: 60-25=35, Resulting Numbers: [26, 35] Generated Node #0,1,2: 27:[26, 35] Operation: 60-25=35 Exploring Operation: 60-26=34, Resulting Numbers: [25, 34] Generated Node #0,1,3: 27:[25, 34] Operation: 60-26=34 Exploring Operation: 26-25=1, Resulting Numbers: [60, 1] Generated Node #0,1,4: 27:[60, 1] Operation: 26-25=1 Moving to Node #0,1,2 Current State: 27:[26, 35], Operations: ['73-47=26', '60-25=35'] Exploring Operation: 26+35=61, Resulting Numbers: [61] 61,27 unequal: No Solution Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 26*35=910, Resulting Numbers: [910] 910,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[25, 34], Operations: ['73-47=26', '60-26=34'] Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,27 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,27 unequal: No Solution Moving to Node #0,1,4 Current State: 27:[60, 1], Operations: ['73-47=26', '26-25=1'] Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,27 unequal: No Solution Exploring Operation: 60+1=61, Resulting Numbers: [61] 61,27 unequal: No Solution Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,27 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[60, 51], Operations: ['73-47=26', '25+26=51'] Exploring Operation: 60*51=3060, Resulting Numbers: [3060] 3060,27 unequal: No Solution Exploring Operation: 60+51=111, Resulting Numbers: [111] 111,27 unequal: No Solution Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[26, 85], Operations: ['73-47=26', '25+60=85'] Exploring Operation: 26+85=111, Resulting Numbers: [111] 111,27 unequal: No Solution Exploring Operation: 26*85=2210, Resulting Numbers: [2210] 2210,27 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 27:[73, 25, 13], Operations: ['60-47=13'] Exploring Operation: 25+13=38, Resulting Numbers: [73, 38] Generated Node #0,4,0: 27:[73, 38] Operation: 25+13=38 Exploring Operation: 73-13=60, Resulting Numbers: [25, 60] Generated Node #0,4,1: 27:[25, 60] Operation: 73-13=60 Exploring Operation: 73-25=48, Resulting Numbers: [13, 48] Generated Node #0,4,2: 27:[13, 48] Operation: 73-25=48 Exploring Operation: 73+13=86, Resulting Numbers: [25, 86] Generated Node #0,4,3: 27:[25, 86] Operation: 73+13=86 Exploring Operation: 25-13=12, Resulting Numbers: [73, 12] Generated Node #0,4,4: 27:[73, 12] Operation: 25-13=12 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 27:[13, 48], Operations: ['60-47=13', '73-25=48'] Exploring Operation: 13+48=61, Resulting Numbers: [61] 61,27 unequal: No Solution Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,27 unequal: No Solution Exploring Operation: 13*48=624, Resulting Numbers: [624] 624,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,4,1 Current State: 27:[25, 60], Operations: ['60-47=13', '73-13=60'] Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,27 unequal: No Solution Exploring Operation: 25*60=1500, Resulting Numbers: [1500] 1500,27 unequal: No Solution Exploring Operation: 25+60=85, Resulting Numbers: [85] 85,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,4,4 Current State: 27:[73, 12], Operations: ['60-47=13', '25-13=12'] Exploring Operation: 73+12=85, Resulting Numbers: [85] 85,27 unequal: No Solution Exploring Operation: 73*12=876, Resulting Numbers: [876] 876,27 unequal: No Solution Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,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,4,0 Current State: 27:[73, 38], Operations: ['60-47=13', '25+13=38'] Exploring Operation: 73*38=2774, Resulting Numbers: [2774] 2774,27 unequal: No Solution Exploring Operation: 73+38=111, Resulting Numbers: [111] 111,27 unequal: No Solution Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,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,4,3 Current State: 27:[25, 86], Operations: ['60-47=13', '73+13=86'] Exploring Operation: 25+86=111, Resulting Numbers: [111] 111,27 unequal: No Solution Exploring Operation: 86-25=61, Resulting Numbers: [61] 61,27 unequal: No Solution Exploring Operation: 25*86=2150, Resulting Numbers: [2150] 2150,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,2 Current State: 27:[47, 60, 48], Operations: ['73-25=48'] Exploring Operation: 48-47=1, Resulting Numbers: [60, 1] Generated Node #0,2,0: 27:[60, 1] Operation: 48-47=1 Exploring Operation: 47+60=107, Resulting Numbers: [48, 107] Generated Node #0,2,1: 27:[48, 107] Operation: 47+60=107 Exploring Operation: 60-47=13, Resulting Numbers: [48, 13] Generated Node #0,2,2: 27:[48, 13] Operation: 60-47=13 Exploring Operation: 47+48=95, Resulting Numbers: [60, 95] Generated Node #0,2,3: 27:[60, 95] Operation: 47+48=95 Exploring Operation: 60-48=12, Resulting Numbers: [47, 12] Generated Node #0,2,4: 27:[47, 12] Operation: 60-48=12 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 27:[47, 12], Operations: ['73-25=48', '60-48=12'] Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,27 unequal: No Solution Exploring Operation: 47+12=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 47*12=564, Resulting Numbers: [564] 564,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,2,2 Current State: 27:[48, 13], Operations: ['73-25=48', '60-47=13'] Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,27 unequal: No Solution Exploring Operation: 48+13=61, Resulting Numbers: [61] 61,27 unequal: No Solution Exploring Operation: 48*13=624, Resulting Numbers: [624] 624,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,2,0 Current State: 27:[60, 1], Operations: ['73-25=48', '48-47=1'] Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,27 unequal: No Solution Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,27 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 60+1=61, Resulting Numbers: [61] 61,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,2,1 Current State: 27:[48, 107], Operations: ['73-25=48', '47+60=107'] Exploring Operation: 107-48=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 48+107=155, Resulting Numbers: [155] 155,27 unequal: No Solution Exploring Operation: 48*107=5136, Resulting Numbers: [5136] 5136,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,2,3 Current State: 27:[60, 95], Operations: ['73-25=48', '47+48=95'] Exploring Operation: 60+95=155, Resulting Numbers: [155] 155,27 unequal: No Solution Exploring Operation: 95-60=35, Resulting Numbers: [35] 35,27 unequal: No Solution Exploring Operation: 60*95=5700, Resulting Numbers: [5700] 5700,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,3 Current State: 27:[73, 47, 35], Operations: ['60-25=35'] Exploring Operation: 73+47=120, Resulting Numbers: [35, 120] Generated Node #0,3,0: 27:[35, 120] Operation: 73+47=120 Exploring Operation: 73-35=38, Resulting Numbers: [47, 38] Generated Node #0,3,1: 27:[47, 38] Operation: 73-35=38 Exploring Operation: 73-47=26, Resulting Numbers: [35, 26] Generated Node #0,3,2: 27:[35, 26] Operation: 73-47=26 Exploring Operation: 47-35=12, Resulting Numbers: [73, 12] Generated Node #0,3,3: 27:[73, 12] Operation: 47-35=12 Exploring Operation: 73+35=108, Resulting Numbers: [47, 108] Generated Node #0,3,4: 27:[47, 108] Operation: 73+35=108 Moving to Node #0,3,2 Current State: 27:[35, 26], Operations: ['60-25=35', '73-47=26'] Exploring Operation: 35+26=61, Resulting Numbers: [61] 61,27 unequal: No Solution Exploring Operation: 35*26=910, Resulting Numbers: [910] 910,27 unequal: No Solution Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,27 unequal: No Solution Moving to Node #0,3,1 Current State: 27:[47, 38], Operations: ['60-25=35', '73-35=38'] Exploring Operation: 47*38=1786, Resulting Numbers: [1786] 1786,27 unequal: No Solution Exploring Operation: 47+38=85, Resulting Numbers: [85] 85,27 unequal: No Solution Exploring Operation: 47-38=9, Resulting Numbers: [9] 9,27 unequal: No Solution Moving to Node #0,3,3 Current State: 27:[73, 12], Operations: ['60-25=35', '47-35=12'] Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,27 unequal: No Solution Exploring Operation: 73+12=85, Resulting Numbers: [85] 85,27 unequal: No Solution Exploring Operation: 73*12=876, Resulting Numbers: [876] 876,27 unequal: No Solution Moving to Node #0,3,0 Current State: 27:[35, 120], Operations: ['60-25=35', '73+47=120'] Exploring Operation: 35+120=155, Resulting Numbers: [155] 155,27 unequal: No Solution Exploring Operation: 35*120=4200, Resulting Numbers: [4200] 4200,27 unequal: No Solution Exploring Operation: 120-35=85, Resulting Numbers: [85] 85,27 unequal: No Solution Moving to Node #0,3,4 Current State: 27:[47, 108], Operations: ['60-25=35', '73+35=108'] Exploring Operation: 108-47=61, Resulting Numbers: [61] 61,27 unequal: No Solution Exploring Operation: 47+108=155, Resulting Numbers: [155] 155,27 unequal: No Solution Exploring Operation: 47*108=5076, Resulting Numbers: [5076] 5076,27 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
[ 45, 36, 80, 13 ]
12
[ "45+36=81", "80+13=93", "93-81=12" ]
Current State: 12:[45, 36, 80, 13], Operations: [] Exploring Operation: 45+36=81, Resulting Numbers: [80, 13, 81] Generated Node #2: [80, 13, 81] from Operation: 45+36=81 Current State: 12:[80, 13, 81], Operations: ['45+36=81'] Exploring Operation: 80+13=93, Resulting Numbers: [81, 93] Generated Node #3: [81, 93] from Operation: 80+13=93 Current State: 12:[81, 93], Operations: ['45+36=81', '80+13=93'] Exploring Operation: 93-81=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[45, 36, 80, 13], Operations: [] Exploring Operation: 45-36=9, Resulting Numbers: [80, 13, 9] Generated Node #0,0: 12:[80, 13, 9] Operation: 45-36=9 Exploring Operation: 80-45=35, Resulting Numbers: [36, 13, 35] Generated Node #0,1: 12:[36, 13, 35] Operation: 80-45=35 Exploring Operation: 80-36=44, Resulting Numbers: [45, 13, 44] Generated Node #0,2: 12:[45, 13, 44] Operation: 80-36=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[36, 13, 35], Operations: ['80-45=35'] Exploring Operation: 36-13=23, Resulting Numbers: [35, 23] Generated Node #0,1,0: 12:[35, 23] Operation: 36-13=23 Exploring Operation: 35-13=22, Resulting Numbers: [36, 22] Generated Node #0,1,1: 12:[36, 22] Operation: 35-13=22 Exploring Operation: 36-35=1, Resulting Numbers: [13, 1] Generated Node #0,1,2: 12:[13, 1] Operation: 36-35=1 Moving to Node #0,1,2 Current State: 12:[13, 1], Operations: ['80-45=35', '36-35=1'] Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[45, 36, 80, 13], Operations: [] Exploring Operation: 80-45=35, Resulting Numbers: [36, 13, 35] Generated Node #0,1: 12:[36, 13, 35] Operation: 80-45=35 Moving to Node #0,1 Current State: 12:[36, 13, 35], Operations: ['80-45=35'] Exploring Operation: 36-35=1, Resulting Numbers: [13, 1] Generated Node #0,1,2: 12:[13, 1] Operation: 36-35=1 Moving to Node #0,1,2 Current State: 12:[13, 1], Operations: ['80-45=35', '36-35=1'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 12, 32, 98, 37 ]
22
[ "12+98=110", "37-32=5", "110/5=22" ]
Current State: 22:[12, 32, 98, 37], Operations: [] Exploring Operation: 12+98=110, Resulting Numbers: [32, 37, 110] Generated Node #2: [32, 37, 110] from Operation: 12+98=110 Current State: 22:[32, 37, 110], Operations: ['12+98=110'] Exploring Operation: 37-32=5, Resulting Numbers: [110, 5] Generated Node #3: [110, 5] from Operation: 37-32=5 Current State: 22:[110, 5], Operations: ['12+98=110', '37-32=5'] Exploring Operation: 110/5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[12, 32, 98, 37], Operations: [] Exploring Operation: 98-37=61, Resulting Numbers: [12, 32, 61] Generated Node #0,0: 22:[12, 32, 61] Operation: 98-37=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[12, 32, 61], Operations: ['98-37=61'] Exploring Operation: 61-32=29, Resulting Numbers: [12, 29] Generated Node #0,0,0: 22:[12, 29] Operation: 61-32=29 Moving to Node #0,0,0 Current State: 22:[12, 29], Operations: ['98-37=61', '61-32=29'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,22 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
[ 4, 7, 19, 1 ]
56
[ "7-4=3", "19*3=57", "57-1=56" ]
Current State: 56:[4, 7, 19, 1], Operations: [] Exploring Operation: 7-4=3, Resulting Numbers: [19, 1, 3] Generated Node #2: [19, 1, 3] from Operation: 7-4=3 Current State: 56:[19, 1, 3], Operations: ['7-4=3'] Exploring Operation: 19*3=57, Resulting Numbers: [1, 57] Generated Node #3: [1, 57] from Operation: 19*3=57 Current State: 56:[1, 57], Operations: ['7-4=3', '19*3=57'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[4, 7, 19, 1], Operations: [] Exploring Operation: 19-7=12, Resulting Numbers: [4, 1, 12] Generated Node #0,0: 56:[4, 1, 12] Operation: 19-7=12 Exploring Operation: 19-1=18, Resulting Numbers: [4, 7, 18] Generated Node #0,1: 56:[4, 7, 18] Operation: 19-1=18 Exploring Operation: 7+19=26, Resulting Numbers: [4, 1, 26] Generated Node #0,2: 56:[4, 1, 26] Operation: 7+19=26 Exploring Operation: 4*1=4, Resulting Numbers: [7, 19, 4] Generated Node #0,3: 56:[7, 19, 4] Operation: 4*1=4 Exploring Operation: 19-4=15, Resulting Numbers: [7, 1, 15] Generated Node #0,4: 56:[7, 1, 15] Operation: 19-4=15 Moving to Node #0,4 Current State: 56:[7, 1, 15], Operations: ['19-4=15'] Exploring Operation: 7/1=7, Resulting Numbers: [15, 7] Generated Node #0,4,0: 56:[15, 7] Operation: 7/1=7 Exploring Operation: 7*1=7, Resulting Numbers: [15, 7] Generated Node #0,4,1: 56:[15, 7] Operation: 7*1=7 Exploring Operation: 15-7=8, Resulting Numbers: [1, 8] Generated Node #0,4,2: 56:[1, 8] Operation: 15-7=8 Exploring Operation: 7+1=8, Resulting Numbers: [15, 8] Generated Node #0,4,3: 56:[15, 8] Operation: 7+1=8 Exploring Operation: 15-1=14, Resulting Numbers: [7, 14] Generated Node #0,4,4: 56:[7, 14] Operation: 15-1=14 Moving to Node #0,2 Current State: 56:[4, 1, 26], Operations: ['7+19=26'] Exploring Operation: 4/1=4, Resulting Numbers: [26, 4] Generated Node #0,2,0: 56:[26, 4] Operation: 4/1=4 Exploring Operation: 26/1=26, Resulting Numbers: [4, 26] Generated Node #0,2,1: 56:[4, 26] Operation: 26/1=26 Exploring Operation: 4*1=4, Resulting Numbers: [26, 4] Generated Node #0,2,2: 56:[26, 4] Operation: 4*1=4 Exploring Operation: 1+26=27, Resulting Numbers: [4, 27] Generated Node #0,2,3: 56:[4, 27] Operation: 1+26=27 Exploring Operation: 1*26=26, Resulting Numbers: [4, 26] Generated Node #0,2,4: 56:[4, 26] Operation: 1*26=26 Moving to Node #0,0 Current State: 56:[4, 1, 12], Operations: ['19-7=12'] Exploring Operation: 1+12=13, Resulting Numbers: [4, 13] Generated Node #0,0,0: 56:[4, 13] Operation: 1+12=13 Exploring Operation: 12-4=8, Resulting Numbers: [1, 8] Generated Node #0,0,1: 56:[1, 8] Operation: 12-4=8 Exploring Operation: 4*1=4, Resulting Numbers: [12, 4] Generated Node #0,0,2: 56:[12, 4] Operation: 4*1=4 Exploring Operation: 12/4=3, Resulting Numbers: [1, 3] Generated Node #0,0,3: 56:[1, 3] Operation: 12/4=3 Exploring Operation: 4/1=4, Resulting Numbers: [12, 4] Generated Node #0,0,4: 56:[12, 4] Operation: 4/1=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[4, 13], Operations: ['19-7=12', '1+12=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[1, 8], Operations: ['19-7=12', '12-4=8'] Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[12, 4], Operations: ['19-7=12', '4*1=4'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 12*4=48, Resulting Numbers: [48] 48,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 56:[1, 3], Operations: ['19-7=12', '12/4=3'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 56:[12, 4], Operations: ['19-7=12', '4/1=4'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 12*4=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 56:[4, 7, 18], Operations: ['19-1=18'] Exploring Operation: 18-4=14, Resulting Numbers: [7, 14] Generated Node #0,1,0: 56:[7, 14] Operation: 18-4=14 Exploring Operation: 18-7=11, Resulting Numbers: [4, 11] Generated Node #0,1,1: 56:[4, 11] Operation: 18-7=11 Exploring Operation: 4*7=28, Resulting Numbers: [18, 28] Generated Node #0,1,2: 56:[18, 28] Operation: 4*7=28 Exploring Operation: 7-4=3, Resulting Numbers: [18, 3] Generated Node #0,1,3: 56:[18, 3] Operation: 7-4=3 Exploring Operation: 7+18=25, Resulting Numbers: [4, 25] Generated Node #0,1,4: 56:[4, 25] Operation: 7+18=25 Moving to Node #0,3 Current State: 56:[7, 19, 4], Operations: ['4*1=4'] Exploring Operation: 7+19=26, Resulting Numbers: [4, 26] Generated Node #0,3,0: 56:[4, 26] Operation: 7+19=26 Exploring Operation: 19+4=23, Resulting Numbers: [7, 23] Generated Node #0,3,1: 56:[7, 23] Operation: 19+4=23 Exploring Operation: 7*4=28, Resulting Numbers: [19, 28] Generated Node #0,3,2: 56:[19, 28] Operation: 7*4=28 Exploring Operation: 19-4=15, Resulting Numbers: [7, 15] Generated Node #0,3,3: 56:[7, 15] Operation: 19-4=15 Exploring Operation: 19-7=12, Resulting Numbers: [4, 12] Generated Node #0,3,4: 56:[4, 12] Operation: 19-7=12 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 56:[7, 15], Operations: ['4*1=4', '19-4=15'] Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 7*15=105, Resulting Numbers: [105] 105,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 56:[4, 26], Operations: ['4*1=4', '7+19=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 56:[4, 12], Operations: ['4*1=4', '19-7=12'] Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 56:[7, 23], Operations: ['4*1=4', '19+4=23'] Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 7*23=161, Resulting Numbers: [161] 161,56 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 56:[19, 28], Operations: ['4*1=4', '7*4=28'] Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,4 Current State: 56:[7, 14], Operations: ['19-4=15', '15-1=14'] Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[7, 14], Operations: ['19-1=18', '18-4=14'] Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,56 unequal: No Solution Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,56 unequal: No Solution Moving to Node #0,4,1 Current State: 56:[15, 7], Operations: ['19-4=15', '7*1=7'] Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,56 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[4, 27], Operations: ['7+19=26', '1+26=27'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,56 unequal: No Solution Moving to Node #0,4,0 Current State: 56:[15, 7], Operations: ['19-4=15', '7/1=7'] Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,56 unequal: No Solution Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,56 unequal: No Solution Moving to Node #0,4,3 Current State: 56:[15, 8], Operations: ['19-4=15', '7+1=8'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,56 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,56 unequal: No Solution Moving to Node #0,4,2 Current State: 56:[1, 8], Operations: ['19-4=15', '15-7=8'] Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[26, 4], Operations: ['7+19=26', '4/1=4'] Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,56 unequal: No Solution Moving to Node #0,2,4 Current State: 56:[4, 26], Operations: ['7+19=26', '1*26=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[26, 4], Operations: ['7+19=26', '4*1=4'] Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[4, 26], Operations: ['7+19=26', '26/1=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,56 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,56 unequal: No Solution Moving to Node #0,1,4 Current State: 56:[4, 25], Operations: ['19-1=18', '7+18=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,56 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[4, 11], Operations: ['19-1=18', '18-7=11'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[18, 28], Operations: ['19-1=18', '4*7=28'] Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 18*28=504, Resulting Numbers: [504] 504,56 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,56 unequal: No Solution Moving to Node #0,1,3 Current State: 56:[18, 3], Operations: ['19-1=18', '7-4=3'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,56 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,56 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 1, 41, 59, 62 ]
82
[ "1+59=60", "62-60=2", "41*2=82" ]
Current State: 82:[1, 41, 59, 62], Operations: [] Exploring Operation: 1+59=60, Resulting Numbers: [41, 62, 60] Generated Node #2: [41, 62, 60] from Operation: 1+59=60 Current State: 82:[41, 62, 60], Operations: ['1+59=60'] Exploring Operation: 62-60=2, Resulting Numbers: [41, 2] Generated Node #3: [41, 2] from Operation: 62-60=2 Current State: 82:[41, 2], Operations: ['1+59=60', '62-60=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[1, 41, 59, 62], Operations: [] Exploring Operation: 59-1=58, Resulting Numbers: [41, 62, 58] Generated Node #0,0: 82:[41, 62, 58] Operation: 59-1=58 Exploring Operation: 1+62=63, Resulting Numbers: [41, 59, 63] Generated Node #0,1: 82:[41, 59, 63] Operation: 1+62=63 Exploring Operation: 62-59=3, Resulting Numbers: [1, 41, 3] Generated Node #0,2: 82:[1, 41, 3] Operation: 62-59=3 Exploring Operation: 59-41=18, Resulting Numbers: [1, 62, 18] Generated Node #0,3: 82:[1, 62, 18] Operation: 59-41=18 Moving to Node #0,2 Current State: 82:[1, 41, 3], Operations: ['62-59=3'] Exploring Operation: 1*41=41, Resulting Numbers: [3, 41] Generated Node #0,2,0: 82:[3, 41] Operation: 1*41=41 Exploring Operation: 1*3=3, Resulting Numbers: [41, 3] Generated Node #0,2,1: 82:[41, 3] Operation: 1*3=3 Exploring Operation: 41/1=41, Resulting Numbers: [3, 41] Generated Node #0,2,2: 82:[3, 41] Operation: 41/1=41 Exploring Operation: 3-1=2, Resulting Numbers: [41, 2] Generated Node #0,2,3: 82:[41, 2] Operation: 3-1=2 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 82:[41, 2], Operations: ['62-59=3', '3-1=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[1, 41, 59, 62], Operations: [] Exploring Operation: 62-59=3, Resulting Numbers: [1, 41, 3] Generated Node #0,2: 82:[1, 41, 3] Operation: 62-59=3 Moving to Node #0,2 Current State: 82:[1, 41, 3], Operations: ['62-59=3'] Exploring Operation: 3-1=2, Resulting Numbers: [41, 2] Generated Node #0,2,3: 82:[41, 2] Operation: 3-1=2 Moving to Node #0,2,3 Current State: 82:[41, 2], Operations: ['62-59=3', '3-1=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 91, 93, 67, 93 ]
67
[ "93-93=0", "91*0=0", "67+0=67" ]
Current State: 67:[91, 93, 67, 93], Operations: [] Exploring Operation: 93-93=0, Resulting Numbers: [91, 67, 0] Generated Node #2: [91, 67, 0] from Operation: 93-93=0 Current State: 67:[91, 67, 0], Operations: ['93-93=0'] Exploring Operation: 91*0=0, Resulting Numbers: [67, 0] Generated Node #3: [67, 0] from Operation: 91*0=0 Current State: 67:[67, 0], Operations: ['93-93=0', '91*0=0'] Exploring Operation: 67+0=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[91, 93, 67, 93], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [67, 93, 2] Generated Node #0,0: 67:[67, 93, 2] Operation: 93-91=2 Exploring Operation: 93/93=1, Resulting Numbers: [91, 67, 1] Generated Node #0,1: 67:[91, 67, 1] Operation: 93/93=1 Moving to Node #0,1 Current State: 67:[91, 67, 1], Operations: ['93/93=1'] Exploring Operation: 91*1=91, Resulting Numbers: [67, 91] Generated Node #0,1,0: 67:[67, 91] Operation: 91*1=91 Exploring Operation: 91-1=90, Resulting Numbers: [67, 90] Generated Node #0,1,1: 67:[67, 90] Operation: 91-1=90 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[67, 90], Operations: ['93/93=1', '91-1=90'] Exploring Operation: 90-67=23, Resulting Numbers: [23] 23,67 unequal: No Solution Exploring Operation: 67+90=157, Resulting Numbers: [157] 157,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:[67, 91], Operations: ['93/93=1', '91*1=91'] Exploring Operation: 91-67=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 67+91=158, Resulting Numbers: [158] 158,67 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: 67:[67, 93, 2], Operations: ['93-91=2'] Exploring Operation: 67+2=69, Resulting Numbers: [93, 69] Generated Node #0,0,0: 67:[93, 69] Operation: 67+2=69 Exploring Operation: 93-2=91, Resulting Numbers: [67, 91] Generated Node #0,0,1: 67:[67, 91] Operation: 93-2=91 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[67, 91], Operations: ['93-91=2', '93-2=91'] Exploring Operation: 91-67=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 67+91=158, Resulting Numbers: [158] 158,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[93, 69], Operations: ['93-91=2', '67+2=69'] Exploring Operation: 93-69=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 93+69=162, Resulting Numbers: [162] 162,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 80, 83, 38, 72 ]
79
[ "80+72=152", "152/38=4", "83-4=79" ]
Current State: 79:[80, 83, 38, 72], Operations: [] Exploring Operation: 80+72=152, Resulting Numbers: [83, 38, 152] Generated Node #2: [83, 38, 152] from Operation: 80+72=152 Current State: 79:[83, 38, 152], Operations: ['80+72=152'] Exploring Operation: 152/38=4, Resulting Numbers: [83, 4] Generated Node #3: [83, 4] from Operation: 152/38=4 Current State: 79:[83, 4], Operations: ['80+72=152', '152/38=4'] Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[80, 83, 38, 72], Operations: [] Exploring Operation: 38+72=110, Resulting Numbers: [80, 83, 110] Generated Node #0,0: 79:[80, 83, 110] Operation: 38+72=110 Exploring Operation: 83-38=45, Resulting Numbers: [80, 72, 45] Generated Node #0,1: 79:[80, 72, 45] Operation: 83-38=45 Moving to Node #0,0 Current State: 79:[80, 83, 110], Operations: ['38+72=110'] Exploring Operation: 110-83=27, Resulting Numbers: [80, 27] Generated Node #0,0,0: 79:[80, 27] Operation: 110-83=27 Exploring Operation: 110-80=30, Resulting Numbers: [83, 30] Generated Node #0,0,1: 79:[83, 30] Operation: 110-80=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[80, 27], Operations: ['38+72=110', '110-83=27'] Exploring Operation: 80+27=107, Resulting Numbers: [107] 107,79 unequal: No Solution Exploring Operation: 80-27=53, Resulting Numbers: [53] 53,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[83, 30], Operations: ['38+72=110', '110-80=30'] Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,79 unequal: No Solution Exploring Operation: 83+30=113, Resulting Numbers: [113] 113,79 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: 79:[80, 72, 45], Operations: ['83-38=45'] Exploring Operation: 72+45=117, Resulting Numbers: [80, 117] Generated Node #0,1,0: 79:[80, 117] Operation: 72+45=117 Exploring Operation: 80-45=35, Resulting Numbers: [72, 35] Generated Node #0,1,1: 79:[72, 35] Operation: 80-45=35 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[80, 117], Operations: ['83-38=45', '72+45=117'] Exploring Operation: 80+117=197, Resulting Numbers: [197] 197,79 unequal: No Solution Exploring Operation: 117-80=37, Resulting Numbers: [37] 37,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 79:[72, 35], Operations: ['83-38=45', '80-45=35'] Exploring Operation: 72+35=107, Resulting Numbers: [107] 107,79 unequal: No Solution Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 4, 65, 36, 52 ]
77
[ "65-4=61", "52-36=16", "61+16=77" ]
Current State: 77:[4, 65, 36, 52], Operations: [] Exploring Operation: 65-4=61, Resulting Numbers: [36, 52, 61] Generated Node #2: [36, 52, 61] from Operation: 65-4=61 Current State: 77:[36, 52, 61], Operations: ['65-4=61'] Exploring Operation: 52-36=16, Resulting Numbers: [61, 16] Generated Node #3: [61, 16] from Operation: 52-36=16 Current State: 77:[61, 16], Operations: ['65-4=61', '52-36=16'] Exploring Operation: 61+16=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[4, 65, 36, 52], Operations: [] Exploring Operation: 52-36=16, Resulting Numbers: [4, 65, 16] Generated Node #0,0: 77:[4, 65, 16] Operation: 52-36=16 Moving to Node #0,0 Current State: 77:[4, 65, 16], Operations: ['52-36=16'] Exploring Operation: 65+16=81, Resulting Numbers: [4, 81] Generated Node #0,0,0: 77:[4, 81] Operation: 65+16=81 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[4, 81], Operations: ['52-36=16', '65+16=81'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[4, 65, 36, 52], Operations: [] Exploring Operation: 52-36=16, Resulting Numbers: [4, 65, 16] Generated Node #0,0: 77:[4, 65, 16] Operation: 52-36=16 Moving to Node #0,0 Current State: 77:[4, 65, 16], Operations: ['52-36=16'] Exploring Operation: 65+16=81, Resulting Numbers: [4, 81] Generated Node #0,0,0: 77:[4, 81] Operation: 65+16=81 Moving to Node #0,0,0 Current State: 77:[4, 81], Operations: ['52-36=16', '65+16=81'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 22, 54, 32, 74 ]
64
[ "22+54=76", "76-74=2", "32*2=64" ]
Current State: 64:[22, 54, 32, 74], Operations: [] Exploring Operation: 22+54=76, Resulting Numbers: [32, 74, 76] Generated Node #2: [32, 74, 76] from Operation: 22+54=76 Current State: 64:[32, 74, 76], Operations: ['22+54=76'] Exploring Operation: 76-74=2, Resulting Numbers: [32, 2] Generated Node #3: [32, 2] from Operation: 76-74=2 Current State: 64:[32, 2], Operations: ['22+54=76', '76-74=2'] Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[22, 54, 32, 74], Operations: [] Exploring Operation: 74-54=20, Resulting Numbers: [22, 32, 20] Generated Node #0,0: 64:[22, 32, 20] Operation: 74-54=20 Exploring Operation: 22+54=76, Resulting Numbers: [32, 74, 76] Generated Node #0,1: 64:[32, 74, 76] Operation: 22+54=76 Exploring Operation: 32-22=10, Resulting Numbers: [54, 74, 10] Generated Node #0,2: 64:[54, 74, 10] Operation: 32-22=10 Exploring Operation: 74-22=52, Resulting Numbers: [54, 32, 52] Generated Node #0,3: 64:[54, 32, 52] Operation: 74-22=52 Exploring Operation: 54-22=32, Resulting Numbers: [32, 74, 32] Generated Node #0,4: 64:[32, 74, 32] Operation: 54-22=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[22, 32, 20], Operations: ['74-54=20'] Exploring Operation: 22-20=2, Resulting Numbers: [32, 2] Generated Node #0,0,0: 64:[32, 2] Operation: 22-20=2 Exploring Operation: 22+32=54, Resulting Numbers: [20, 54] Generated Node #0,0,1: 64:[20, 54] Operation: 22+32=54 Exploring Operation: 32-20=12, Resulting Numbers: [22, 12] Generated Node #0,0,2: 64:[22, 12] Operation: 32-20=12 Exploring Operation: 22+20=42, Resulting Numbers: [32, 42] Generated Node #0,0,3: 64:[32, 42] Operation: 22+20=42 Exploring Operation: 32-22=10, Resulting Numbers: [20, 10] Generated Node #0,0,4: 64:[20, 10] Operation: 32-22=10 Moving to Node #0,0,0 Current State: 64:[32, 2], Operations: ['74-54=20', '22-20=2'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[22, 54, 32, 74], Operations: [] Exploring Operation: 74-54=20, Resulting Numbers: [22, 32, 20] Generated Node #0,0: 64:[22, 32, 20] Operation: 74-54=20 Moving to Node #0,0 Current State: 64:[22, 32, 20], Operations: ['74-54=20'] Exploring Operation: 22-20=2, Resulting Numbers: [32, 2] Generated Node #0,0,0: 64:[32, 2] Operation: 22-20=2 Moving to Node #0,0,0 Current State: 64:[32, 2], Operations: ['74-54=20', '22-20=2'] Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 49, 90, 58, 36 ]
46
[ "58-49=9", "90/9=10", "36+10=46" ]
Current State: 46:[49, 90, 58, 36], Operations: [] Exploring Operation: 58-49=9, Resulting Numbers: [90, 36, 9] Generated Node #2: [90, 36, 9] from Operation: 58-49=9 Current State: 46:[90, 36, 9], Operations: ['58-49=9'] Exploring Operation: 90/9=10, Resulting Numbers: [36, 10] Generated Node #3: [36, 10] from Operation: 90/9=10 Current State: 46:[36, 10], Operations: ['58-49=9', '90/9=10'] Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[49, 90, 58, 36], Operations: [] Exploring Operation: 90-36=54, Resulting Numbers: [49, 58, 54] Generated Node #0,0: 46:[49, 58, 54] Operation: 90-36=54 Exploring Operation: 58-49=9, Resulting Numbers: [90, 36, 9] Generated Node #0,1: 46:[90, 36, 9] Operation: 58-49=9 Exploring Operation: 58-36=22, Resulting Numbers: [49, 90, 22] Generated Node #0,2: 46:[49, 90, 22] Operation: 58-36=22 Exploring Operation: 90-49=41, Resulting Numbers: [58, 36, 41] Generated Node #0,3: 46:[58, 36, 41] Operation: 90-49=41 Exploring Operation: 90-58=32, Resulting Numbers: [49, 36, 32] Generated Node #0,4: 46:[49, 36, 32] Operation: 90-58=32 Moving to Node #0,4 Current State: 46:[49, 36, 32], Operations: ['90-58=32'] Exploring Operation: 49-36=13, Resulting Numbers: [32, 13] Generated Node #0,4,0: 46:[32, 13] Operation: 49-36=13 Exploring Operation: 36+32=68, Resulting Numbers: [49, 68] Generated Node #0,4,1: 46:[49, 68] Operation: 36+32=68 Exploring Operation: 36-32=4, Resulting Numbers: [49, 4] Generated Node #0,4,2: 46:[49, 4] Operation: 36-32=4 Exploring Operation: 49-32=17, Resulting Numbers: [36, 17] Generated Node #0,4,3: 46:[36, 17] Operation: 49-32=17 Exploring Operation: 49+32=81, Resulting Numbers: [36, 81] Generated Node #0,4,4: 46:[36, 81] Operation: 49+32=81 Moving to Node #0,0 Current State: 46:[49, 58, 54], Operations: ['90-36=54'] Exploring Operation: 49+58=107, Resulting Numbers: [54, 107] Generated Node #0,0,0: 46:[54, 107] Operation: 49+58=107 Exploring Operation: 54-49=5, Resulting Numbers: [58, 5] Generated Node #0,0,1: 46:[58, 5] Operation: 54-49=5 Exploring Operation: 58-54=4, Resulting Numbers: [49, 4] Generated Node #0,0,2: 46:[49, 4] Operation: 58-54=4 Exploring Operation: 49+54=103, Resulting Numbers: [58, 103] Generated Node #0,0,3: 46:[58, 103] Operation: 49+54=103 Exploring Operation: 58-49=9, Resulting Numbers: [54, 9] Generated Node #0,0,4: 46:[54, 9] Operation: 58-49=9 Moving to Node #0,3 Current State: 46:[58, 36, 41], Operations: ['90-49=41'] Exploring Operation: 36+41=77, Resulting Numbers: [58, 77] Generated Node #0,3,0: 46:[58, 77] Operation: 36+41=77 Exploring Operation: 58-36=22, Resulting Numbers: [41, 22] Generated Node #0,3,1: 46:[41, 22] Operation: 58-36=22 Exploring Operation: 41-36=5, Resulting Numbers: [58, 5] Generated Node #0,3,2: 46:[58, 5] Operation: 41-36=5 Exploring Operation: 58+36=94, Resulting Numbers: [41, 94] Generated Node #0,3,3: 46:[41, 94] Operation: 58+36=94 Exploring Operation: 58-41=17, Resulting Numbers: [36, 17] Generated Node #0,3,4: 46:[36, 17] Operation: 58-41=17 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 46:[41, 22], Operations: ['90-49=41', '58-36=22'] Exploring Operation: 41*22=902, Resulting Numbers: [902] 902,46 unequal: No Solution Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 41+22=63, Resulting Numbers: [63] 63,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 46:[58, 5], Operations: ['90-49=41', '41-36=5'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 58*5=290, Resulting Numbers: [290] 290,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 46:[36, 17], Operations: ['90-49=41', '58-41=17'] Exploring Operation: 36*17=612, Resulting Numbers: [612] 612,46 unequal: No Solution Exploring Operation: 36+17=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 46:[58, 77], Operations: ['90-49=41', '36+41=77'] Exploring Operation: 77-58=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 58*77=4466, Resulting Numbers: [4466] 4466,46 unequal: No Solution Exploring Operation: 58+77=135, Resulting Numbers: [135] 135,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 46:[41, 94], Operations: ['90-49=41', '58+36=94'] Exploring Operation: 41+94=135, Resulting Numbers: [135] 135,46 unequal: No Solution Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 41*94=3854, Resulting Numbers: [3854] 3854,46 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: 46:[49, 90, 22], Operations: ['58-36=22'] Exploring Operation: 49+22=71, Resulting Numbers: [90, 71] Generated Node #0,2,0: 46:[90, 71] Operation: 49+22=71 Exploring Operation: 90-22=68, Resulting Numbers: [49, 68] Generated Node #0,2,1: 46:[49, 68] Operation: 90-22=68 Exploring Operation: 90-49=41, Resulting Numbers: [22, 41] Generated Node #0,2,2: 46:[22, 41] Operation: 90-49=41 Exploring Operation: 90+22=112, Resulting Numbers: [49, 112] Generated Node #0,2,3: 46:[49, 112] Operation: 90+22=112 Exploring Operation: 49-22=27, Resulting Numbers: [90, 27] Generated Node #0,2,4: 46:[90, 27] Operation: 49-22=27 Moving to Node #0,1 Current State: 46:[90, 36, 9], Operations: ['58-49=9'] Exploring Operation: 90/9=10, Resulting Numbers: [36, 10] Generated Node #0,1,0: 46:[36, 10] Operation: 90/9=10 Exploring Operation: 90-36=54, Resulting Numbers: [9, 54] Generated Node #0,1,1: 46:[9, 54] Operation: 90-36=54 Exploring Operation: 36/9=4, Resulting Numbers: [90, 4] Generated Node #0,1,2: 46:[90, 4] Operation: 36/9=4 Exploring Operation: 36+9=45, Resulting Numbers: [90, 45] Generated Node #0,1,3: 46:[90, 45] Operation: 36+9=45 Exploring Operation: 90-9=81, Resulting Numbers: [36, 81] Generated Node #0,1,4: 46:[36, 81] Operation: 90-9=81 Moving to Node #0,4,2 Current State: 46:[49, 4], Operations: ['90-58=32', '36-32=4'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[49, 4], Operations: ['90-36=54', '58-54=4'] Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,46 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[22, 41], Operations: ['58-36=22', '90-49=41'] Exploring Operation: 22+41=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 22*41=902, Resulting Numbers: [902] 902,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[58, 5], Operations: ['90-36=54', '54-49=5'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 58*5=290, Resulting Numbers: [290] 290,46 unequal: No Solution Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,46 unequal: No Solution Moving to Node #0,0,4 Current State: 46:[54, 9], Operations: ['90-36=54', '58-49=9'] Exploring Operation: 54+9=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 54*9=486, Resulting Numbers: [486] 486,46 unequal: No Solution Exploring Operation: 54-9=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 54/9=6, Resulting Numbers: [6] 6,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[9, 54], Operations: ['58-49=9', '90-36=54'] Exploring Operation: 54-9=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 54/9=6, Resulting Numbers: [6] 6,46 unequal: No Solution Exploring Operation: 9+54=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 9*54=486, Resulting Numbers: [486] 486,46 unequal: No Solution Moving to Node #0,4,3 Current State: 46:[36, 17], Operations: ['90-58=32', '49-32=17'] Exploring Operation: 36+17=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 36*17=612, Resulting Numbers: [612] 612,46 unequal: No Solution Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[36, 10], Operations: ['58-49=9', '90/9=10'] Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[49, 90, 58, 36], Operations: [] Exploring Operation: 58-49=9, Resulting Numbers: [90, 36, 9] Generated Node #0,1: 46:[90, 36, 9] Operation: 58-49=9 Moving to Node #0,1 Current State: 46:[90, 36, 9], Operations: ['58-49=9'] Exploring Operation: 90/9=10, Resulting Numbers: [36, 10] Generated Node #0,1,0: 46:[36, 10] Operation: 90/9=10 Moving to Node #0,1,0 Current State: 46:[36, 10], Operations: ['58-49=9', '90/9=10'] Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.936632
hs_5
mult_heuristic
[ 16, 56, 57, 15 ]
82
[ "56-16=40", "57-15=42", "40+42=82" ]
Current State: 82:[16, 56, 57, 15], Operations: [] Exploring Operation: 56-16=40, Resulting Numbers: [57, 15, 40] Generated Node #2: [57, 15, 40] from Operation: 56-16=40 Current State: 82:[57, 15, 40], Operations: ['56-16=40'] Exploring Operation: 57-15=42, Resulting Numbers: [40, 42] Generated Node #3: [40, 42] from Operation: 57-15=42 Current State: 82:[40, 42], Operations: ['56-16=40', '57-15=42'] Exploring Operation: 40+42=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[16, 56, 57, 15], Operations: [] Exploring Operation: 57-16=41, Resulting Numbers: [56, 15, 41] Generated Node #0,0: 82:[56, 15, 41] Operation: 57-16=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[56, 15, 41], Operations: ['57-16=41'] Exploring Operation: 56-15=41, Resulting Numbers: [41, 41] Generated Node #0,0,0: 82:[41, 41] Operation: 56-15=41 Moving to Node #0,0,0 Current State: 82:[41, 41], Operations: ['57-16=41', '56-15=41'] Exploring Operation: 41+41=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[16, 56, 57, 15], Operations: [] Exploring Operation: 57-16=41, Resulting Numbers: [56, 15, 41] Generated Node #0,0: 82:[56, 15, 41] Operation: 57-16=41 Moving to Node #0,0 Current State: 82:[56, 15, 41], Operations: ['57-16=41'] Exploring Operation: 56-15=41, Resulting Numbers: [41, 41] Generated Node #0,0,0: 82:[41, 41] Operation: 56-15=41 Moving to Node #0,0,0 Current State: 82:[41, 41], Operations: ['57-16=41', '56-15=41'] Exploring Operation: 41+41=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 43, 26, 52, 21 ]
85
[ "52/26=2", "21*2=42", "43+42=85" ]
Current State: 85:[43, 26, 52, 21], Operations: [] Exploring Operation: 52/26=2, Resulting Numbers: [43, 21, 2] Generated Node #2: [43, 21, 2] from Operation: 52/26=2 Current State: 85:[43, 21, 2], Operations: ['52/26=2'] Exploring Operation: 21*2=42, Resulting Numbers: [43, 42] Generated Node #3: [43, 42] from Operation: 21*2=42 Current State: 85:[43, 42], Operations: ['52/26=2', '21*2=42'] Exploring Operation: 43+42=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[43, 26, 52, 21], Operations: [] Exploring Operation: 52/26=2, Resulting Numbers: [43, 21, 2] Generated Node #0,0: 85:[43, 21, 2] Operation: 52/26=2 Exploring Operation: 52-43=9, Resulting Numbers: [26, 21, 9] Generated Node #0,1: 85:[26, 21, 9] Operation: 52-43=9 Exploring Operation: 43+52=95, Resulting Numbers: [26, 21, 95] Generated Node #0,2: 85:[26, 21, 95] Operation: 43+52=95 Exploring Operation: 43-26=17, Resulting Numbers: [52, 21, 17] Generated Node #0,3: 85:[52, 21, 17] Operation: 43-26=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[26, 21, 9], Operations: ['52-43=9'] Exploring Operation: 26+9=35, Resulting Numbers: [21, 35] Generated Node #0,1,0: 85:[21, 35] Operation: 26+9=35 Exploring Operation: 21-9=12, Resulting Numbers: [26, 12] Generated Node #0,1,1: 85:[26, 12] Operation: 21-9=12 Exploring Operation: 26-21=5, Resulting Numbers: [9, 5] Generated Node #0,1,2: 85:[9, 5] Operation: 26-21=5 Exploring Operation: 26-9=17, Resulting Numbers: [21, 17] Generated Node #0,1,3: 85:[21, 17] Operation: 26-9=17 Moving to Node #0,1,2 Current State: 85:[9, 5], Operations: ['52-43=9', '26-21=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,85 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,85 unequal: No Solution Moving to Node #0,1,3 Current State: 85:[21, 17], Operations: ['52-43=9', '26-9=17'] Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,85 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[26, 12], Operations: ['52-43=9', '21-9=12'] Exploring Operation: 26*12=312, Resulting Numbers: [312] 312,85 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,85 unequal: No Solution Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[21, 35], Operations: ['52-43=9', '26+9=35'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,85 unequal: No Solution Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,85 unequal: No Solution Exploring Operation: 21*35=735, Resulting Numbers: [735] 735,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[26, 21, 95], Operations: ['43+52=95'] Exploring Operation: 95-21=74, Resulting Numbers: [26, 74] Generated Node #0,2,0: 85:[26, 74] Operation: 95-21=74 Exploring Operation: 26+21=47, Resulting Numbers: [95, 47] Generated Node #0,2,1: 85:[95, 47] Operation: 26+21=47 Exploring Operation: 95-26=69, Resulting Numbers: [21, 69] Generated Node #0,2,2: 85:[21, 69] Operation: 95-26=69 Exploring Operation: 26-21=5, Resulting Numbers: [95, 5] Generated Node #0,2,3: 85:[95, 5] Operation: 26-21=5 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 85:[95, 5], Operations: ['43+52=95', '26-21=5'] Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,85 unequal: No Solution Exploring Operation: 95+5=100, Resulting Numbers: [100] 100,85 unequal: No Solution Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,85 unequal: No Solution Exploring Operation: 95*5=475, Resulting Numbers: [475] 475,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,0 Current State: 85:[26, 74], Operations: ['43+52=95', '95-21=74'] Exploring Operation: 26*74=1924, Resulting Numbers: [1924] 1924,85 unequal: No Solution Exploring Operation: 26+74=100, Resulting Numbers: [100] 100,85 unequal: No Solution Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,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:[21, 69], Operations: ['43+52=95', '95-26=69'] Exploring Operation: 21+69=90, Resulting Numbers: [90] 90,85 unequal: No Solution Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,85 unequal: No Solution Exploring Operation: 21*69=1449, Resulting Numbers: [1449] 1449,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:[95, 47], Operations: ['43+52=95', '26+21=47'] Exploring Operation: 95-47=48, Resulting Numbers: [48] 48,85 unequal: No Solution Exploring Operation: 95+47=142, Resulting Numbers: [142] 142,85 unequal: No Solution Exploring Operation: 95*47=4465, Resulting Numbers: [4465] 4465,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,0 Current State: 85:[43, 21, 2], Operations: ['52/26=2'] Exploring Operation: 43*2=86, Resulting Numbers: [21, 86] Generated Node #0,0,0: 85:[21, 86] Operation: 43*2=86 Exploring Operation: 43-2=41, Resulting Numbers: [21, 41] Generated Node #0,0,1: 85:[21, 41] Operation: 43-2=41 Exploring Operation: 43+21=64, Resulting Numbers: [2, 64] Generated Node #0,0,2: 85:[2, 64] Operation: 43+21=64 Exploring Operation: 43-21=22, Resulting Numbers: [2, 22] Generated Node #0,0,3: 85:[2, 22] Operation: 43-21=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[21, 86], Operations: ['52/26=2', '43*2=86'] Exploring Operation: 21+86=107, Resulting Numbers: [107] 107,85 unequal: No Solution Exploring Operation: 86-21=65, Resulting Numbers: [65] 65,85 unequal: No Solution Exploring Operation: 21*86=1806, Resulting Numbers: [1806] 1806,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,0,3 Current State: 85:[2, 22], Operations: ['52/26=2', '43-21=22'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,85 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,85 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,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,0,2 Current State: 85:[2, 64], Operations: ['52/26=2', '43+21=64'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,85 unequal: No Solution Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,85 unequal: No Solution Exploring Operation: 2*64=128, Resulting Numbers: [128] 128,85 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,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,0,1 Current State: 85:[21, 41], Operations: ['52/26=2', '43-2=41'] Exploring Operation: 21+41=62, Resulting Numbers: [62] 62,85 unequal: No Solution Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,85 unequal: No Solution Exploring Operation: 21*41=861, Resulting Numbers: [861] 861,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,3 Current State: 85:[52, 21, 17], Operations: ['43-26=17'] Exploring Operation: 52-21=31, Resulting Numbers: [17, 31] Generated Node #0,3,0: 85:[17, 31] Operation: 52-21=31 Exploring Operation: 52-17=35, Resulting Numbers: [21, 35] Generated Node #0,3,1: 85:[21, 35] Operation: 52-17=35 Exploring Operation: 52+17=69, Resulting Numbers: [21, 69] Generated Node #0,3,2: 85:[21, 69] Operation: 52+17=69 Exploring Operation: 52+21=73, Resulting Numbers: [17, 73] Generated Node #0,3,3: 85:[17, 73] Operation: 52+21=73 Moving to Node #0,3,3 Current State: 85:[17, 73], Operations: ['43-26=17', '52+21=73'] Exploring Operation: 73-17=56, Resulting Numbers: [56] 56,85 unequal: No Solution Exploring Operation: 17*73=1241, Resulting Numbers: [1241] 1241,85 unequal: No Solution Exploring Operation: 17+73=90, Resulting Numbers: [90] 90,85 unequal: No Solution Moving to Node #0,3,0 Current State: 85:[17, 31], Operations: ['43-26=17', '52-21=31'] Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,85 unequal: No Solution Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,85 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,85 unequal: No Solution Moving to Node #0,3,2 Current State: 85:[21, 69], Operations: ['43-26=17', '52+17=69'] Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,85 unequal: No Solution Exploring Operation: 21*69=1449, Resulting Numbers: [1449] 1449,85 unequal: No Solution Exploring Operation: 21+69=90, Resulting Numbers: [90] 90,85 unequal: No Solution Moving to Node #0,3,1 Current State: 85:[21, 35], Operations: ['43-26=17', '52-17=35'] Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,85 unequal: No Solution Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,85 unequal: No Solution Exploring Operation: 21*35=735, Resulting Numbers: [735] 735,85 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
[ 21, 57, 22, 3 ]
34
[ "57-21=36", "36/3=12", "22+12=34" ]
Current State: 34:[21, 57, 22, 3], Operations: [] Exploring Operation: 57-21=36, Resulting Numbers: [22, 3, 36] Generated Node #2: [22, 3, 36] from Operation: 57-21=36 Current State: 34:[22, 3, 36], Operations: ['57-21=36'] Exploring Operation: 36/3=12, Resulting Numbers: [22, 12] Generated Node #3: [22, 12] from Operation: 36/3=12 Current State: 34:[22, 12], Operations: ['57-21=36', '36/3=12'] Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[21, 57, 22, 3], Operations: [] Exploring Operation: 22-21=1, Resulting Numbers: [57, 3, 1] Generated Node #0,0: 34:[57, 3, 1] Operation: 22-21=1 Exploring Operation: 57-22=35, Resulting Numbers: [21, 3, 35] Generated Node #0,1: 34:[21, 3, 35] Operation: 57-22=35 Exploring Operation: 21-3=18, Resulting Numbers: [57, 22, 18] Generated Node #0,2: 34:[57, 22, 18] Operation: 21-3=18 Exploring Operation: 57/3=19, Resulting Numbers: [21, 22, 19] Generated Node #0,3: 34:[21, 22, 19] Operation: 57/3=19 Exploring Operation: 57-21=36, Resulting Numbers: [22, 3, 36] Generated Node #0,4: 34:[22, 3, 36] Operation: 57-21=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[21, 3, 35], Operations: ['57-22=35'] Exploring Operation: 21+3=24, Resulting Numbers: [35, 24] Generated Node #0,1,0: 34:[35, 24] Operation: 21+3=24 Exploring Operation: 35-3=32, Resulting Numbers: [21, 32] Generated Node #0,1,1: 34:[21, 32] Operation: 35-3=32 Exploring Operation: 21-3=18, Resulting Numbers: [35, 18] Generated Node #0,1,2: 34:[35, 18] Operation: 21-3=18 Exploring Operation: 35-21=14, Resulting Numbers: [3, 14] Generated Node #0,1,3: 34:[3, 14] Operation: 35-21=14 Exploring Operation: 21/3=7, Resulting Numbers: [35, 7] Generated Node #0,1,4: 34:[35, 7] Operation: 21/3=7 Moving to Node #0,1,2 Current State: 34:[35, 18], Operations: ['57-22=35', '21-3=18'] Exploring Operation: 35*18=630, Resulting Numbers: [630] 630,34 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,34 unequal: No Solution Moving to Node #0,1,3 Current State: 34:[3, 14], Operations: ['57-22=35', '35-21=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[21, 32], Operations: ['57-22=35', '35-3=32'] Exploring Operation: 21*32=672, Resulting Numbers: [672] 672,34 unequal: No Solution Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,34 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,34 unequal: No Solution Moving to Node #0,1,4 Current State: 34:[35, 7], Operations: ['57-22=35', '21/3=7'] Exploring Operation: 35*7=245, Resulting Numbers: [245] 245,34 unequal: No Solution Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 35+7=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[35, 24], Operations: ['57-22=35', '21+3=24'] Exploring Operation: 35+24=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 35*24=840, Resulting Numbers: [840] 840,34 unequal: No Solution Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 34:[22, 3, 36], Operations: ['57-21=36'] Exploring Operation: 36-3=33, Resulting Numbers: [22, 33] Generated Node #0,4,0: 34:[22, 33] Operation: 36-3=33 Exploring Operation: 36-22=14, Resulting Numbers: [3, 14] Generated Node #0,4,1: 34:[3, 14] Operation: 36-22=14 Exploring Operation: 22+3=25, Resulting Numbers: [36, 25] Generated Node #0,4,2: 34:[36, 25] Operation: 22+3=25 Exploring Operation: 22-3=19, Resulting Numbers: [36, 19] Generated Node #0,4,3: 34:[36, 19] Operation: 22-3=19 Exploring Operation: 3+36=39, Resulting Numbers: [22, 39] Generated Node #0,4,4: 34:[22, 39] Operation: 3+36=39 Moving to Node #0,4,1 Current State: 34:[3, 14], Operations: ['57-21=36', '36-22=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,34 unequal: No Solution Moving to Node #0,4,3 Current State: 34:[36, 19], Operations: ['57-21=36', '22-3=19'] Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,34 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,34 unequal: No Solution Moving to Node #0,4,0 Current State: 34:[22, 33], Operations: ['57-21=36', '36-3=33'] Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,34 unequal: No Solution Moving to Node #0,4,2 Current State: 34:[36, 25], Operations: ['57-21=36', '22+3=25'] Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 36*25=900, Resulting Numbers: [900] 900,34 unequal: No Solution Exploring Operation: 36+25=61, Resulting Numbers: [61] 61,34 unequal: No Solution Moving to Node #0,4,4 Current State: 34:[22, 39], Operations: ['57-21=36', '3+36=39'] Exploring Operation: 22+39=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 22*39=858, Resulting Numbers: [858] 858,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,3 Current State: 34:[21, 22, 19], Operations: ['57/3=19'] Exploring Operation: 22-19=3, Resulting Numbers: [21, 3] Generated Node #0,3,0: 34:[21, 3] Operation: 22-19=3 Exploring Operation: 21-19=2, Resulting Numbers: [22, 2] Generated Node #0,3,1: 34:[22, 2] Operation: 21-19=2 Exploring Operation: 21+19=40, Resulting Numbers: [22, 40] Generated Node #0,3,2: 34:[22, 40] Operation: 21+19=40 Exploring Operation: 22-21=1, Resulting Numbers: [19, 1] Generated Node #0,3,3: 34:[19, 1] Operation: 22-21=1 Exploring Operation: 21+22=43, Resulting Numbers: [19, 43] Generated Node #0,3,4: 34:[19, 43] Operation: 21+22=43 Moving to Node #0,3,3 Current State: 34:[19, 1], Operations: ['57/3=19', '22-21=1'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,34 unequal: No Solution Moving to Node #0,3,1 Current State: 34:[22, 2], Operations: ['57/3=19', '21-19=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,34 unequal: No Solution Moving to Node #0,3,0 Current State: 34:[21, 3], Operations: ['57/3=19', '22-19=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,34 unequal: No Solution Moving to Node #0,3,2 Current State: 34:[22, 40], Operations: ['57/3=19', '21+19=40'] Exploring Operation: 22*40=880, Resulting Numbers: [880] 880,34 unequal: No Solution Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 22+40=62, Resulting Numbers: [62] 62,34 unequal: No Solution Moving to Node #0,3,4 Current State: 34:[19, 43], Operations: ['57/3=19', '21+22=43'] Exploring Operation: 19+43=62, Resulting Numbers: [62] 62,34 unequal: No Solution Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 19*43=817, Resulting Numbers: [817] 817,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[57, 3, 1], Operations: ['22-21=1'] Exploring Operation: 57-3=54, Resulting Numbers: [1, 54] Generated Node #0,0,0: 34:[1, 54] Operation: 57-3=54 Exploring Operation: 57/3=19, Resulting Numbers: [1, 19] Generated Node #0,0,1: 34:[1, 19] Operation: 57/3=19 Exploring Operation: 57*1=57, Resulting Numbers: [3, 57] Generated Node #0,0,2: 34:[3, 57] Operation: 57*1=57 Exploring Operation: 57-1=56, Resulting Numbers: [3, 56] Generated Node #0,0,3: 34:[3, 56] Operation: 57-1=56 Exploring Operation: 3-1=2, Resulting Numbers: [57, 2] Generated Node #0,0,4: 34:[57, 2] Operation: 3-1=2 Moving to Node #0,0,1 Current State: 34:[1, 19], Operations: ['22-21=1', '57/3=19'] Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[1, 54], Operations: ['22-21=1', '57-3=54'] Exploring Operation: 1+54=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 1*54=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,34 unequal: No Solution Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[3, 56], Operations: ['22-21=1', '57-1=56'] Exploring Operation: 3+56=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,34 unequal: No Solution Exploring Operation: 3*56=168, Resulting Numbers: [168] 168,34 unequal: No Solution Moving to Node #0,0,4 Current State: 34:[57, 2], Operations: ['22-21=1', '3-1=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,34 unequal: No Solution Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[3, 57], Operations: ['22-21=1', '57*1=57'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 3*57=171, Resulting Numbers: [171] 171,34 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 3+57=60, Resulting Numbers: [60] 60,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[57, 22, 18], Operations: ['21-3=18'] Exploring Operation: 57-18=39, Resulting Numbers: [22, 39] Generated Node #0,2,0: 34:[22, 39] Operation: 57-18=39 Exploring Operation: 22-18=4, Resulting Numbers: [57, 4] Generated Node #0,2,1: 34:[57, 4] Operation: 22-18=4 Exploring Operation: 57-22=35, Resulting Numbers: [18, 35] Generated Node #0,2,2: 34:[18, 35] Operation: 57-22=35 Exploring Operation: 57+22=79, Resulting Numbers: [18, 79] Generated Node #0,2,3: 34:[18, 79] Operation: 57+22=79 Exploring Operation: 22+18=40, Resulting Numbers: [57, 40] Generated Node #0,2,4: 34:[57, 40] Operation: 22+18=40 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 34:[18, 35], Operations: ['21-3=18', '57-22=35'] Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 18*35=630, Resulting Numbers: [630] 630,34 unequal: No Solution Exploring Operation: 18+35=53, Resulting Numbers: [53] 53,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 34:[22, 39], Operations: ['21-3=18', '57-18=39'] Exploring Operation: 22+39=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 22*39=858, Resulting Numbers: [858] 858,34 unequal: No Solution Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 34:[57, 4], Operations: ['21-3=18', '22-18=4'] Exploring Operation: 57*4=228, Resulting Numbers: [228] 228,34 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,34 unequal: No Solution Exploring Operation: 57+4=61, Resulting Numbers: [61] 61,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 34:[57, 40], Operations: ['21-3=18', '22+18=40'] Exploring Operation: 57*40=2280, Resulting Numbers: [2280] 2280,34 unequal: No Solution Exploring Operation: 57+40=97, Resulting Numbers: [97] 97,34 unequal: No Solution Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 34:[18, 79], Operations: ['21-3=18', '57+22=79'] Exploring Operation: 18*79=1422, Resulting Numbers: [1422] 1422,34 unequal: No Solution Exploring Operation: 18+79=97, Resulting Numbers: [97] 97,34 unequal: No Solution Exploring Operation: 79-18=61, Resulting Numbers: [61] 61,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 7, 4, 80, 21 ]
90
[ "7+4=11", "80+21=101", "101-11=90" ]
Current State: 90:[7, 4, 80, 21], Operations: [] Exploring Operation: 7+4=11, Resulting Numbers: [80, 21, 11] Generated Node #2: [80, 21, 11] from Operation: 7+4=11 Current State: 90:[80, 21, 11], Operations: ['7+4=11'] Exploring Operation: 80+21=101, Resulting Numbers: [11, 101] Generated Node #3: [11, 101] from Operation: 80+21=101 Current State: 90:[11, 101], Operations: ['7+4=11', '80+21=101'] Exploring Operation: 101-11=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[7, 4, 80, 21], Operations: [] Exploring Operation: 80/4=20, Resulting Numbers: [7, 21, 20] Generated Node #0,0: 90:[7, 21, 20] Operation: 80/4=20 Moving to Node #0,0 Current State: 90:[7, 21, 20], Operations: ['80/4=20'] Exploring Operation: 21/7=3, Resulting Numbers: [20, 3] Generated Node #0,0,0: 90:[20, 3] Operation: 21/7=3 Moving to Node #0,0,0 Current State: 90:[20, 3], Operations: ['80/4=20', '21/7=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,90 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 26, 21, 26, 15 ]
88
[ "26+21=47", "26+15=41", "47+41=88" ]
Current State: 88:[26, 21, 26, 15], Operations: [] Exploring Operation: 26+21=47, Resulting Numbers: [15, 47] Generated Node #2: [15, 47] from Operation: 26+21=47 Current State: 88:[15, 47], Operations: ['26+21=47'] Exploring Operation: 26+15=41, Resulting Numbers: [47, 41] Generated Node #3: [47, 41] from Operation: 26+15=41 Current State: 88:[47, 41], Operations: ['26+21=47', '26+15=41'] Exploring Operation: 47+41=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[26, 21, 26, 15], Operations: [] Exploring Operation: 26-15=11, Resulting Numbers: [21, 26, 11] Generated Node #0,0: 88:[21, 26, 11] Operation: 26-15=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[21, 26, 11], Operations: ['26-15=11'] Exploring Operation: 26-21=5, Resulting Numbers: [11, 5] Generated Node #0,0,0: 88:[11, 5] Operation: 26-21=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[11, 5], Operations: ['26-15=11', '26-21=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 20, 58, 6, 46 ]
78
[ "58-20=38", "46-6=40", "38+40=78" ]
Current State: 78:[20, 58, 6, 46], Operations: [] Exploring Operation: 58-20=38, Resulting Numbers: [6, 46, 38] Generated Node #2: [6, 46, 38] from Operation: 58-20=38 Current State: 78:[6, 46, 38], Operations: ['58-20=38'] Exploring Operation: 46-6=40, Resulting Numbers: [38, 40] Generated Node #3: [38, 40] from Operation: 46-6=40 Current State: 78:[38, 40], Operations: ['58-20=38', '46-6=40'] Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[20, 58, 6, 46], Operations: [] Exploring Operation: 58-46=12, Resulting Numbers: [20, 6, 12] Generated Node #0,0: 78:[20, 6, 12] Operation: 58-46=12 Exploring Operation: 58-20=38, Resulting Numbers: [6, 46, 38] Generated Node #0,1: 78:[6, 46, 38] Operation: 58-20=38 Exploring Operation: 20+58=78, Resulting Numbers: [6, 46, 78] Generated Node #0,2: 78:[6, 46, 78] Operation: 20+58=78 Moving to Node #0,0 Current State: 78:[20, 6, 12], Operations: ['58-46=12'] Exploring Operation: 20-12=8, Resulting Numbers: [6, 8] Generated Node #0,0,0: 78:[6, 8] Operation: 20-12=8 Exploring Operation: 20-6=14, Resulting Numbers: [12, 14] Generated Node #0,0,1: 78:[12, 14] Operation: 20-6=14 Exploring Operation: 20+6=26, Resulting Numbers: [12, 26] Generated Node #0,0,2: 78:[12, 26] Operation: 20+6=26 Moving to Node #0,2 Current State: 78:[6, 46, 78], Operations: ['20+58=78'] Exploring Operation: 46-6=40, Resulting Numbers: [78, 40] Generated Node #0,2,0: 78:[78, 40] Operation: 46-6=40 Exploring Operation: 78/6=13, Resulting Numbers: [46, 13] Generated Node #0,2,1: 78:[46, 13] Operation: 78/6=13 Exploring Operation: 78-46=32, Resulting Numbers: [6, 32] Generated Node #0,2,2: 78:[6, 32] Operation: 78-46=32 Moving to Node #0,1 Current State: 78:[6, 46, 38], Operations: ['58-20=38'] Exploring Operation: 46-38=8, Resulting Numbers: [6, 8] Generated Node #0,1,0: 78:[6, 8] Operation: 46-38=8 Exploring Operation: 46-6=40, Resulting Numbers: [38, 40] Generated Node #0,1,1: 78:[38, 40] Operation: 46-6=40 Exploring Operation: 46+38=84, Resulting Numbers: [6, 84] Generated Node #0,1,2: 78:[6, 84] Operation: 46+38=84 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[6, 8], Operations: ['58-20=38', '46-38=8'] Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,78 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[38, 40], Operations: ['58-20=38', '46-6=40'] Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 38*40=1520, Resulting Numbers: [1520] 1520,78 unequal: No Solution Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[20, 58, 6, 46], Operations: [] Exploring Operation: 58-20=38, Resulting Numbers: [6, 46, 38] Generated Node #0,1: 78:[6, 46, 38] Operation: 58-20=38 Moving to Node #0,1 Current State: 78:[6, 46, 38], Operations: ['58-20=38'] Exploring Operation: 46-6=40, Resulting Numbers: [38, 40] Generated Node #0,1,1: 78:[38, 40] Operation: 46-6=40 Moving to Node #0,1,1 Current State: 78:[38, 40], Operations: ['58-20=38', '46-6=40'] Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_3
sum_heuristic
[ 16, 85, 24, 84 ]
30
[ "84-16=68", "85*24=2040", "2040/68=30" ]
Current State: 30:[16, 85, 24, 84], Operations: [] Exploring Operation: 84-16=68, Resulting Numbers: [85, 24, 68] Generated Node #2: [85, 24, 68] from Operation: 84-16=68 Current State: 30:[85, 24, 68], Operations: ['84-16=68'] Exploring Operation: 85*24=2040, Resulting Numbers: [68, 2040] Generated Node #3: [68, 2040] from Operation: 85*24=2040 Current State: 30:[68, 2040], Operations: ['84-16=68', '85*24=2040'] Exploring Operation: 2040/68=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[16, 85, 24, 84], Operations: [] Exploring Operation: 85-24=61, Resulting Numbers: [16, 84, 61] Generated Node #0,0: 30:[16, 84, 61] Operation: 85-24=61 Exploring Operation: 85-84=1, Resulting Numbers: [16, 24, 1] Generated Node #0,1: 30:[16, 24, 1] Operation: 85-84=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[16, 24, 1], Operations: ['85-84=1'] Exploring Operation: 16-1=15, Resulting Numbers: [24, 15] Generated Node #0,1,0: 30:[24, 15] Operation: 16-1=15 Exploring Operation: 24-16=8, Resulting Numbers: [1, 8] Generated Node #0,1,1: 30:[1, 8] Operation: 24-16=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 30:[1, 8], Operations: ['85-84=1', '24-16=8'] Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,30 unequal: No Solution No 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: 30:[24, 15], Operations: ['85-84=1', '16-1=15'] Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,30 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: 30:[16, 84, 61], Operations: ['85-24=61'] Exploring Operation: 84-61=23, Resulting Numbers: [16, 23] Generated Node #0,0,0: 30:[16, 23] Operation: 84-61=23 Exploring Operation: 84-16=68, Resulting Numbers: [61, 68] Generated Node #0,0,1: 30:[61, 68] Operation: 84-16=68 Moving to Node #0,0,0 Current State: 30:[16, 23], Operations: ['85-24=61', '84-61=23'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 16+23=39, Resulting Numbers: [39] 39,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[61, 68], Operations: ['85-24=61', '84-16=68'] Exploring Operation: 61+68=129, Resulting Numbers: [129] 129,30 unequal: No Solution Exploring Operation: 68-61=7, Resulting Numbers: [7] 7,30 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
[ 67, 82, 79, 4 ]
60
[ "82-67=15", "79-4=75", "75-15=60" ]
Current State: 60:[67, 82, 79, 4], Operations: [] Exploring Operation: 82-67=15, Resulting Numbers: [79, 4, 15] Generated Node #2: [79, 4, 15] from Operation: 82-67=15 Current State: 60:[79, 4, 15], Operations: ['82-67=15'] Exploring Operation: 79-4=75, Resulting Numbers: [15, 75] Generated Node #3: [15, 75] from Operation: 79-4=75 Current State: 60:[15, 75], Operations: ['82-67=15', '79-4=75'] Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[67, 82, 79, 4], Operations: [] Exploring Operation: 79-67=12, Resulting Numbers: [82, 4, 12] Generated Node #0,0: 60:[82, 4, 12] Operation: 79-67=12 Exploring Operation: 82-79=3, Resulting Numbers: [67, 4, 3] Generated Node #0,1: 60:[67, 4, 3] Operation: 82-79=3 Exploring Operation: 82-67=15, Resulting Numbers: [79, 4, 15] Generated Node #0,2: 60:[79, 4, 15] Operation: 82-67=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[67, 4, 3], Operations: ['82-79=3'] Exploring Operation: 67-3=64, Resulting Numbers: [4, 64] Generated Node #0,1,0: 60:[4, 64] Operation: 67-3=64 Exploring Operation: 67-4=63, Resulting Numbers: [3, 63] Generated Node #0,1,1: 60:[3, 63] Operation: 67-4=63 Exploring Operation: 4*3=12, Resulting Numbers: [67, 12] Generated Node #0,1,2: 60:[67, 12] Operation: 4*3=12 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 60:[3, 63], Operations: ['82-79=3', '67-4=63'] Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,60 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[67, 82, 79, 4], Operations: [] Exploring Operation: 82-79=3, Resulting Numbers: [67, 4, 3] Generated Node #0,1: 60:[67, 4, 3] Operation: 82-79=3 Moving to Node #0,1 Current State: 60:[67, 4, 3], Operations: ['82-79=3'] Exploring Operation: 67-4=63, Resulting Numbers: [3, 63] Generated Node #0,1,1: 60:[3, 63] Operation: 67-4=63 Moving to Node #0,1,1 Current State: 60:[3, 63], Operations: ['82-79=3', '67-4=63'] Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 7, 26, 84, 35 ]
73
[ "84/7=12", "26+35=61", "12+61=73" ]
Current State: 73:[7, 26, 84, 35], Operations: [] Exploring Operation: 84/7=12, Resulting Numbers: [26, 35, 12] Generated Node #2: [26, 35, 12] from Operation: 84/7=12 Current State: 73:[26, 35, 12], Operations: ['84/7=12'] Exploring Operation: 26+35=61, Resulting Numbers: [12, 61] Generated Node #3: [12, 61] from Operation: 26+35=61 Current State: 73:[12, 61], Operations: ['84/7=12', '26+35=61'] Exploring Operation: 12+61=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[7, 26, 84, 35], Operations: [] Exploring Operation: 7+26=33, Resulting Numbers: [84, 35, 33] Generated Node #0,0: 73:[84, 35, 33] Operation: 7+26=33 Moving to Node #0,0 Current State: 73:[84, 35, 33], Operations: ['7+26=33'] Exploring Operation: 35+33=68, Resulting Numbers: [84, 68] Generated Node #0,0,0: 73:[84, 68] Operation: 35+33=68 Moving to Node #0,0,0 Current State: 73:[84, 68], Operations: ['7+26=33', '35+33=68'] Exploring Operation: 84-68=16, Resulting Numbers: [16] 16,73 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 3, 32, 63, 92 ]
43
[ "92-32=60", "60/3=20", "63-20=43" ]
Current State: 43:[3, 32, 63, 92], Operations: [] Exploring Operation: 92-32=60, Resulting Numbers: [3, 63, 60] Generated Node #2: [3, 63, 60] from Operation: 92-32=60 Current State: 43:[3, 63, 60], Operations: ['92-32=60'] Exploring Operation: 60/3=20, Resulting Numbers: [63, 20] Generated Node #3: [63, 20] from Operation: 60/3=20 Current State: 43:[63, 20], Operations: ['92-32=60', '60/3=20'] Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[3, 32, 63, 92], Operations: [] Exploring Operation: 92-63=29, Resulting Numbers: [3, 32, 29] Generated Node #0,0: 43:[3, 32, 29] Operation: 92-63=29 Exploring Operation: 92-3=89, Resulting Numbers: [32, 63, 89] Generated Node #0,1: 43:[32, 63, 89] Operation: 92-3=89 Exploring Operation: 3+32=35, Resulting Numbers: [63, 92, 35] Generated Node #0,2: 43:[63, 92, 35] Operation: 3+32=35 Exploring Operation: 63-3=60, Resulting Numbers: [32, 92, 60] Generated Node #0,3: 43:[32, 92, 60] Operation: 63-3=60 Moving to Node #0,0 Current State: 43:[3, 32, 29], Operations: ['92-63=29'] Exploring Operation: 3+29=32, Resulting Numbers: [32, 32] Generated Node #0,0,0: 43:[32, 32] Operation: 3+29=32 Exploring Operation: 3+32=35, Resulting Numbers: [29, 35] Generated Node #0,0,1: 43:[29, 35] Operation: 3+32=35 Exploring Operation: 29-3=26, Resulting Numbers: [32, 26] Generated Node #0,0,2: 43:[32, 26] Operation: 29-3=26 Exploring Operation: 32-3=29, Resulting Numbers: [29, 29] Generated Node #0,0,3: 43:[29, 29] Operation: 32-3=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[32, 32], Operations: ['92-63=29', '3+29=32'] Exploring Operation: 32*32=1024, Resulting Numbers: [1024] 1024,43 unequal: No Solution Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 32-32=0, Resulting Numbers: [0] 0,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[29, 35], Operations: ['92-63=29', '3+32=35'] Exploring Operation: 29*35=1015, Resulting Numbers: [1015] 1015,43 unequal: No Solution Exploring Operation: 29+35=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 43:[32, 26], Operations: ['92-63=29', '29-3=26'] Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,43 unequal: No Solution Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 43:[29, 29], Operations: ['92-63=29', '32-3=29'] Exploring Operation: 29*29=841, Resulting Numbers: [841] 841,43 unequal: No Solution Exploring Operation: 29+29=58, Resulting Numbers: [58] 58,43 unequal: No Solution Exploring Operation: 29/29=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 29-29=0, Resulting Numbers: [0] 0,43 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: 43:[63, 92, 35], Operations: ['3+32=35'] Exploring Operation: 92-63=29, Resulting Numbers: [35, 29] Generated Node #0,2,0: 43:[35, 29] Operation: 92-63=29 Exploring Operation: 63+35=98, Resulting Numbers: [92, 98] Generated Node #0,2,1: 43:[92, 98] Operation: 63+35=98 Exploring Operation: 63-35=28, Resulting Numbers: [92, 28] Generated Node #0,2,2: 43:[92, 28] Operation: 63-35=28 Exploring Operation: 92-35=57, Resulting Numbers: [63, 57] Generated Node #0,2,3: 43:[63, 57] Operation: 92-35=57 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 43:[35, 29], Operations: ['3+32=35', '92-63=29'] Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 35+29=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 35*29=1015, Resulting Numbers: [1015] 1015,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 43:[63, 57], Operations: ['3+32=35', '92-35=57'] Exploring Operation: 63+57=120, Resulting Numbers: [120] 120,43 unequal: No Solution Exploring Operation: 63*57=3591, Resulting Numbers: [3591] 3591,43 unequal: No Solution Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 43:[92, 28], Operations: ['3+32=35', '63-35=28'] Exploring Operation: 92+28=120, Resulting Numbers: [120] 120,43 unequal: No Solution Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 92*28=2576, Resulting Numbers: [2576] 2576,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 43:[92, 98], Operations: ['3+32=35', '63+35=98'] Exploring Operation: 92*98=9016, Resulting Numbers: [9016] 9016,43 unequal: No Solution Exploring Operation: 98-92=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 92+98=190, Resulting Numbers: [190] 190,43 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: 43:[32, 63, 89], Operations: ['92-3=89'] Exploring Operation: 89-63=26, Resulting Numbers: [32, 26] Generated Node #0,1,0: 43:[32, 26] Operation: 89-63=26 Exploring Operation: 32+63=95, Resulting Numbers: [89, 95] Generated Node #0,1,1: 43:[89, 95] Operation: 32+63=95 Exploring Operation: 63-32=31, Resulting Numbers: [89, 31] Generated Node #0,1,2: 43:[89, 31] Operation: 63-32=31 Exploring Operation: 89-32=57, Resulting Numbers: [63, 57] Generated Node #0,1,3: 43:[63, 57] Operation: 89-32=57 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[32, 26], Operations: ['92-3=89', '89-63=26'] Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,43 unequal: No Solution Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 43:[63, 57], Operations: ['92-3=89', '89-32=57'] Exploring Operation: 63+57=120, Resulting Numbers: [120] 120,43 unequal: No Solution Exploring Operation: 63*57=3591, Resulting Numbers: [3591] 3591,43 unequal: No Solution Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 43:[89, 31], Operations: ['92-3=89', '63-32=31'] Exploring Operation: 89+31=120, Resulting Numbers: [120] 120,43 unequal: No Solution Exploring Operation: 89-31=58, Resulting Numbers: [58] 58,43 unequal: No Solution Exploring Operation: 89*31=2759, Resulting Numbers: [2759] 2759,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[89, 95], Operations: ['92-3=89', '32+63=95'] Exploring Operation: 95-89=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 89*95=8455, Resulting Numbers: [8455] 8455,43 unequal: No Solution Exploring Operation: 89+95=184, Resulting Numbers: [184] 184,43 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: 43:[32, 92, 60], Operations: ['63-3=60'] Exploring Operation: 60-32=28, Resulting Numbers: [92, 28] Generated Node #0,3,0: 43:[92, 28] Operation: 60-32=28 Exploring Operation: 92-32=60, Resulting Numbers: [60, 60] Generated Node #0,3,1: 43:[60, 60] Operation: 92-32=60 Exploring Operation: 92-60=32, Resulting Numbers: [32, 32] Generated Node #0,3,2: 43:[32, 32] Operation: 92-60=32 Exploring Operation: 32+92=124, Resulting Numbers: [60, 124] Generated Node #0,3,3: 43:[60, 124] Operation: 32+92=124 Moving to Node #0,3,2 Current State: 43:[32, 32], Operations: ['63-3=60', '92-60=32'] Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 32-32=0, Resulting Numbers: [0] 0,43 unequal: No Solution Exploring Operation: 32*32=1024, Resulting Numbers: [1024] 1024,43 unequal: No Solution Moving to Node #0,3,1 Current State: 43:[60, 60], Operations: ['63-3=60', '92-32=60'] Exploring Operation: 60+60=120, Resulting Numbers: [120] 120,43 unequal: No Solution Exploring Operation: 60-60=0, Resulting Numbers: [0] 0,43 unequal: No Solution Exploring Operation: 60*60=3600, Resulting Numbers: [3600] 3600,43 unequal: No Solution Exploring Operation: 60/60=1, Resulting Numbers: [1] 1,43 unequal: No Solution Moving to Node #0,3,0 Current State: 43:[92, 28], Operations: ['63-3=60', '60-32=28'] Exploring Operation: 92+28=120, Resulting Numbers: [120] 120,43 unequal: No Solution Exploring Operation: 92*28=2576, Resulting Numbers: [2576] 2576,43 unequal: No Solution Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,43 unequal: No Solution Moving to Node #0,3,3 Current State: 43:[60, 124], Operations: ['63-3=60', '32+92=124'] Exploring Operation: 124-60=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 60+124=184, Resulting Numbers: [184] 184,43 unequal: No Solution Exploring Operation: 60*124=7440, Resulting Numbers: [7440] 7440,43 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 72, 81, 47, 72 ]
47
[ "72-72=0", "81*0=0", "47+0=47" ]
Current State: 47:[72, 81, 47, 72], Operations: [] Exploring Operation: 72-72=0, Resulting Numbers: [81, 47, 0] Generated Node #2: [81, 47, 0] from Operation: 72-72=0 Current State: 47:[81, 47, 0], Operations: ['72-72=0'] Exploring Operation: 81*0=0, Resulting Numbers: [47, 0] Generated Node #3: [47, 0] from Operation: 81*0=0 Current State: 47:[47, 0], Operations: ['72-72=0', '81*0=0'] Exploring Operation: 47+0=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[72, 81, 47, 72], Operations: [] Exploring Operation: 81-72=9, Resulting Numbers: [47, 72, 9] Generated Node #0,0: 47:[47, 72, 9] Operation: 81-72=9 Exploring Operation: 81-47=34, Resulting Numbers: [72, 72, 34] Generated Node #0,1: 47:[72, 72, 34] Operation: 81-47=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[47, 72, 9], Operations: ['81-72=9'] Exploring Operation: 47+9=56, Resulting Numbers: [72, 56] Generated Node #0,0,0: 47:[72, 56] Operation: 47+9=56 Exploring Operation: 72-9=63, Resulting Numbers: [47, 63] Generated Node #0,0,1: 47:[47, 63] Operation: 72-9=63 Moving to Node #0,0,1 Current State: 47:[47, 63], Operations: ['81-72=9', '72-9=63'] Exploring Operation: 47+63=110, Resulting Numbers: [110] 110,47 unequal: No Solution Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[72, 56], Operations: ['81-72=9', '47+9=56'] Exploring Operation: 72-56=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 72+56=128, Resulting Numbers: [128] 128,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:[72, 72, 34], Operations: ['81-47=34'] Exploring Operation: 72-34=38, Resulting Numbers: [72, 38] Generated Node #0,1,0: 47:[72, 38] Operation: 72-34=38 Exploring Operation: 72-34=38, Resulting Numbers: [72, 38] Generated Node #0,1,1: 47:[72, 38] Operation: 72-34=38 Moving to Node #0,1,0 Current State: 47:[72, 38], Operations: ['81-47=34', '72-34=38'] Exploring Operation: 72+38=110, Resulting Numbers: [110] 110,47 unequal: No Solution Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[72, 38], Operations: ['81-47=34', '72-34=38'] Exploring Operation: 72+38=110, Resulting Numbers: [110] 110,47 unequal: No Solution Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 28, 15, 14, 27 ]
42
[ "28*15=420", "14*27=378", "420-378=42" ]
Current State: 42:[28, 15, 14, 27], Operations: [] Exploring Operation: 28*15=420, Resulting Numbers: [14, 27, 420] Generated Node #2: [14, 27, 420] from Operation: 28*15=420 Current State: 42:[14, 27, 420], Operations: ['28*15=420'] Exploring Operation: 14*27=378, Resulting Numbers: [420, 378] Generated Node #3: [420, 378] from Operation: 14*27=378 Current State: 42:[420, 378], Operations: ['28*15=420', '14*27=378'] Exploring Operation: 420-378=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[28, 15, 14, 27], Operations: [] Exploring Operation: 28+15=43, Resulting Numbers: [14, 27, 43] Generated Node #0,0: 42:[14, 27, 43] Operation: 28+15=43 Exploring Operation: 28-27=1, Resulting Numbers: [15, 14, 1] Generated Node #0,1: 42:[15, 14, 1] Operation: 28-27=1 Moving to Node #0,1 Current State: 42:[15, 14, 1], Operations: ['28-27=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14, 14] Generated Node #0,1,0: 42:[14, 14] Operation: 15-1=14 Exploring Operation: 15*1=15, Resulting Numbers: [14, 15] Generated Node #0,1,1: 42:[14, 15] Operation: 15*1=15 Moving to Node #0,0 Current State: 42:[14, 27, 43], Operations: ['28+15=43'] Exploring Operation: 14+27=41, Resulting Numbers: [43, 41] Generated Node #0,0,0: 42:[43, 41] Operation: 14+27=41 Exploring Operation: 27-14=13, Resulting Numbers: [43, 13] Generated Node #0,0,1: 42:[43, 13] Operation: 27-14=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[43, 41], Operations: ['28+15=43', '14+27=41'] Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 42:[43, 13], Operations: ['28+15=43', '27-14=13'] Exploring Operation: 43+13=56, Resulting Numbers: [56] 56,42 unequal: No Solution Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,42 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: 42:[14, 14], Operations: ['28-27=1', '15-1=14'] Exploring Operation: 14/14=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 14-14=0, Resulting Numbers: [0] 0,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[14, 15], Operations: ['28-27=1', '15*1=15'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,42 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 1, 99, 53, 5 ]
51
[ "1*99=99", "53-5=48", "99-48=51" ]
Current State: 51:[1, 99, 53, 5], Operations: [] Exploring Operation: 1*99=99, Resulting Numbers: [53, 5, 99] Generated Node #2: [53, 5, 99] from Operation: 1*99=99 Current State: 51:[53, 5, 99], Operations: ['1*99=99'] Exploring Operation: 53-5=48, Resulting Numbers: [99, 48] Generated Node #3: [99, 48] from Operation: 53-5=48 Current State: 51:[99, 48], Operations: ['1*99=99', '53-5=48'] Exploring Operation: 99-48=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[1, 99, 53, 5], Operations: [] Exploring Operation: 99-53=46, Resulting Numbers: [1, 5, 46] Generated Node #0,0: 51:[1, 5, 46] Operation: 99-53=46 Moving to Node #0,0 Current State: 51:[1, 5, 46], Operations: ['99-53=46'] Exploring Operation: 5+46=51, Resulting Numbers: [1, 51] Generated Node #0,0,0: 51:[1, 51] Operation: 5+46=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[1, 51], Operations: ['99-53=46', '5+46=51'] Exploring Operation: 1*51=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[1, 99, 53, 5], Operations: [] Exploring Operation: 99-53=46, Resulting Numbers: [1, 5, 46] Generated Node #0,0: 51:[1, 5, 46] Operation: 99-53=46 Moving to Node #0,0 Current State: 51:[1, 5, 46], Operations: ['99-53=46'] Exploring Operation: 5+46=51, Resulting Numbers: [1, 51] Generated Node #0,0,0: 51:[1, 51] Operation: 5+46=51 Moving to Node #0,0,0 Current State: 51:[1, 51], Operations: ['99-53=46', '5+46=51'] Exploring Operation: 1*51=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 97, 6, 35, 92 ]
34
[ "97-6=91", "92-35=57", "91-57=34" ]
Current State: 34:[97, 6, 35, 92], Operations: [] Exploring Operation: 97-6=91, Resulting Numbers: [35, 92, 91] Generated Node #2: [35, 92, 91] from Operation: 97-6=91 Current State: 34:[35, 92, 91], Operations: ['97-6=91'] Exploring Operation: 92-35=57, Resulting Numbers: [91, 57] Generated Node #3: [91, 57] from Operation: 92-35=57 Current State: 34:[91, 57], Operations: ['97-6=91', '92-35=57'] Exploring Operation: 91-57=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[97, 6, 35, 92], Operations: [] Exploring Operation: 97-92=5, Resulting Numbers: [6, 35, 5] Generated Node #0,0: 34:[6, 35, 5] Operation: 97-92=5 Exploring Operation: 97-35=62, Resulting Numbers: [6, 92, 62] Generated Node #0,1: 34:[6, 92, 62] Operation: 97-35=62 Exploring Operation: 92-35=57, Resulting Numbers: [97, 6, 57] Generated Node #0,2: 34:[97, 6, 57] Operation: 92-35=57 Moving to Node #0,0 Current State: 34:[6, 35, 5], Operations: ['97-92=5'] Exploring Operation: 6-5=1, Resulting Numbers: [35, 1] Generated Node #0,0,0: 34:[35, 1] Operation: 6-5=1 Exploring Operation: 6*5=30, Resulting Numbers: [35, 30] Generated Node #0,0,1: 34:[35, 30] Operation: 6*5=30 Exploring Operation: 6+5=11, Resulting Numbers: [35, 11] Generated Node #0,0,2: 34:[35, 11] Operation: 6+5=11 Moving to Node #0,1 Current State: 34:[6, 92, 62], Operations: ['97-35=62'] Exploring Operation: 62-6=56, Resulting Numbers: [92, 56] Generated Node #0,1,0: 34:[92, 56] Operation: 62-6=56 Exploring Operation: 92-62=30, Resulting Numbers: [6, 30] Generated Node #0,1,1: 34:[6, 30] Operation: 92-62=30 Exploring Operation: 92-6=86, Resulting Numbers: [62, 86] Generated Node #0,1,2: 34:[62, 86] Operation: 92-6=86 Moving to Node #0,2 Current State: 34:[97, 6, 57], Operations: ['92-35=57'] Exploring Operation: 57-6=51, Resulting Numbers: [97, 51] Generated Node #0,2,0: 34:[97, 51] Operation: 57-6=51 Exploring Operation: 97-6=91, Resulting Numbers: [57, 91] Generated Node #0,2,1: 34:[57, 91] Operation: 97-6=91 Exploring Operation: 97-57=40, Resulting Numbers: [6, 40] Generated Node #0,2,2: 34:[6, 40] Operation: 97-57=40 Moving to Node #0,0,0 Current State: 34:[35, 1], Operations: ['97-92=5', '6-5=1'] Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[97, 6, 35, 92], Operations: [] Exploring Operation: 97-92=5, Resulting Numbers: [6, 35, 5] Generated Node #0,0: 34:[6, 35, 5] Operation: 97-92=5 Moving to Node #0,0 Current State: 34:[6, 35, 5], Operations: ['97-92=5'] Exploring Operation: 6-5=1, Resulting Numbers: [35, 1] Generated Node #0,0,0: 34:[35, 1] Operation: 6-5=1 Moving to Node #0,0,0 Current State: 34:[35, 1], Operations: ['97-92=5', '6-5=1'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.983507
hs_3
sum_heuristic
[ 65, 84, 77, 68 ]
49
[ "68-65=3", "84/3=28", "77-28=49" ]
Current State: 49:[65, 84, 77, 68], Operations: [] Exploring Operation: 68-65=3, Resulting Numbers: [84, 77, 3] Generated Node #2: [84, 77, 3] from Operation: 68-65=3 Current State: 49:[84, 77, 3], Operations: ['68-65=3'] Exploring Operation: 84/3=28, Resulting Numbers: [77, 28] Generated Node #3: [77, 28] from Operation: 84/3=28 Current State: 49:[77, 28], Operations: ['68-65=3', '84/3=28'] Exploring Operation: 77-28=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[65, 84, 77, 68], Operations: [] Exploring Operation: 84-77=7, Resulting Numbers: [65, 68, 7] Generated Node #0,0: 49:[65, 68, 7] Operation: 84-77=7 Exploring Operation: 84-68=16, Resulting Numbers: [65, 77, 16] Generated Node #0,1: 49:[65, 77, 16] Operation: 84-68=16 Exploring Operation: 77-68=9, Resulting Numbers: [65, 84, 9] Generated Node #0,2: 49:[65, 84, 9] Operation: 77-68=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[65, 68, 7], Operations: ['84-77=7'] Exploring Operation: 68-7=61, Resulting Numbers: [65, 61] Generated Node #0,0,0: 49:[65, 61] Operation: 68-7=61 Exploring Operation: 68-65=3, Resulting Numbers: [7, 3] Generated Node #0,0,1: 49:[7, 3] Operation: 68-65=3 Exploring Operation: 65-7=58, Resulting Numbers: [68, 58] Generated Node #0,0,2: 49:[68, 58] Operation: 65-7=58 Moving to Node #0,0,1 Current State: 49:[7, 3], Operations: ['84-77=7', '68-65=3'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,49 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[65, 61], Operations: ['84-77=7', '68-7=61'] Exploring Operation: 65*61=3965, Resulting Numbers: [3965] 3965,49 unequal: No Solution Exploring Operation: 65+61=126, Resulting Numbers: [126] 126,49 unequal: No Solution Exploring Operation: 65-61=4, Resulting Numbers: [4] 4,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[68, 58], Operations: ['84-77=7', '65-7=58'] Exploring Operation: 68+58=126, Resulting Numbers: [126] 126,49 unequal: No Solution Exploring Operation: 68-58=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 68*58=3944, Resulting Numbers: [3944] 3944,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[65, 77, 16], Operations: ['84-68=16'] Exploring Operation: 77-65=12, Resulting Numbers: [16, 12] Generated Node #0,1,0: 49:[16, 12] Operation: 77-65=12 Exploring Operation: 77-16=61, Resulting Numbers: [65, 61] Generated Node #0,1,1: 49:[65, 61] Operation: 77-16=61 Exploring Operation: 65-16=49, Resulting Numbers: [77, 49] Generated Node #0,1,2: 49:[77, 49] Operation: 65-16=49 Moving to Node #0,1,0 Current State: 49:[16, 12], Operations: ['84-68=16', '77-65=12'] Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,49 unequal: No Solution Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,49 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[65, 61], Operations: ['84-68=16', '77-16=61'] Exploring Operation: 65-61=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 65*61=3965, Resulting Numbers: [3965] 3965,49 unequal: No Solution Exploring Operation: 65+61=126, Resulting Numbers: [126] 126,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[77, 49], Operations: ['84-68=16', '65-16=49'] Exploring Operation: 77*49=3773, Resulting Numbers: [3773] 3773,49 unequal: No Solution Exploring Operation: 77+49=126, Resulting Numbers: [126] 126,49 unequal: No Solution Exploring Operation: 77-49=28, Resulting Numbers: [28] 28,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[65, 84, 9], Operations: ['77-68=9'] Exploring Operation: 65-9=56, Resulting Numbers: [84, 56] Generated Node #0,2,0: 49:[84, 56] Operation: 65-9=56 Exploring Operation: 84-9=75, Resulting Numbers: [65, 75] Generated Node #0,2,1: 49:[65, 75] Operation: 84-9=75 Exploring Operation: 84-65=19, Resulting Numbers: [9, 19] Generated Node #0,2,2: 49:[9, 19] Operation: 84-65=19 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 49:[9, 19], Operations: ['77-68=9', '84-65=19'] Exploring Operation: 9+19=28, Resulting Numbers: [28] 28,49 unequal: No Solution Exploring Operation: 9*19=171, Resulting Numbers: [171] 171,49 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 49:[84, 56], Operations: ['77-68=9', '65-9=56'] Exploring Operation: 84+56=140, Resulting Numbers: [140] 140,49 unequal: No Solution Exploring Operation: 84-56=28, Resulting Numbers: [28] 28,49 unequal: No Solution Exploring Operation: 84*56=4704, Resulting Numbers: [4704] 4704,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 49:[65, 75], Operations: ['77-68=9', '84-9=75'] Exploring Operation: 75-65=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 65+75=140, Resulting Numbers: [140] 140,49 unequal: No Solution Exploring Operation: 65*75=4875, Resulting Numbers: [4875] 4875,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 22, 86, 85, 17 ]
69
[ "86-22=64", "85/17=5", "64+5=69" ]
Current State: 69:[22, 86, 85, 17], Operations: [] Exploring Operation: 86-22=64, Resulting Numbers: [85, 17, 64] Generated Node #2: [85, 17, 64] from Operation: 86-22=64 Current State: 69:[85, 17, 64], Operations: ['86-22=64'] Exploring Operation: 85/17=5, Resulting Numbers: [64, 5] Generated Node #3: [64, 5] from Operation: 85/17=5 Current State: 69:[64, 5], Operations: ['86-22=64', '85/17=5'] Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[22, 86, 85, 17], Operations: [] Exploring Operation: 86-85=1, Resulting Numbers: [22, 17, 1] Generated Node #0,0: 69:[22, 17, 1] Operation: 86-85=1 Moving to Node #0,0 Current State: 69:[22, 17, 1], Operations: ['86-85=1'] Exploring Operation: 22-17=5, Resulting Numbers: [1, 5] Generated Node #0,0,0: 69:[1, 5] Operation: 22-17=5 Moving to Node #0,0,0 Current State: 69:[1, 5], Operations: ['86-85=1', '22-17=5'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,69 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 21, 57, 16, 98 ]
42
[ "16+98=114", "21*114=2394", "2394/57=42" ]
Current State: 42:[21, 57, 16, 98], Operations: [] Exploring Operation: 16+98=114, Resulting Numbers: [21, 57, 114] Generated Node #2: [21, 57, 114] from Operation: 16+98=114 Current State: 42:[21, 57, 114], Operations: ['16+98=114'] Exploring Operation: 21*114=2394, Resulting Numbers: [57, 2394] Generated Node #3: [57, 2394] from Operation: 21*114=2394 Current State: 42:[57, 2394], Operations: ['16+98=114', '21*114=2394'] Exploring Operation: 2394/57=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[21, 57, 16, 98], Operations: [] Exploring Operation: 98-21=77, Resulting Numbers: [57, 16, 77] Generated Node #0,0: 42:[57, 16, 77] Operation: 98-21=77 Exploring Operation: 98-57=41, Resulting Numbers: [21, 16, 41] Generated Node #0,1: 42:[21, 16, 41] Operation: 98-57=41 Exploring Operation: 98-16=82, Resulting Numbers: [21, 57, 82] Generated Node #0,2: 42:[21, 57, 82] Operation: 98-16=82 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[21, 16, 41], Operations: ['98-57=41'] Exploring Operation: 41-21=20, Resulting Numbers: [16, 20] Generated Node #0,1,0: 42:[16, 20] Operation: 41-21=20 Exploring Operation: 41-16=25, Resulting Numbers: [21, 25] Generated Node #0,1,1: 42:[21, 25] Operation: 41-16=25 Exploring Operation: 21-16=5, Resulting Numbers: [41, 5] Generated Node #0,1,2: 42:[41, 5] Operation: 21-16=5 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 42:[41, 5], Operations: ['98-57=41', '21-16=5'] Exploring Operation: 41*5=205, Resulting Numbers: [205] 205,42 unequal: No Solution Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 41+5=46, Resulting Numbers: [46] 46,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[16, 20], Operations: ['98-57=41', '41-21=20'] Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 16*20=320, Resulting Numbers: [320] 320,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[21, 25], Operations: ['98-57=41', '41-16=25'] Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 21*25=525, Resulting Numbers: [525] 525,42 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[57, 16, 77], Operations: ['98-21=77'] Exploring Operation: 77-16=61, Resulting Numbers: [57, 61] Generated Node #0,0,0: 42:[57, 61] Operation: 77-16=61 Exploring Operation: 77-57=20, Resulting Numbers: [16, 20] Generated Node #0,0,1: 42:[16, 20] Operation: 77-57=20 Exploring Operation: 57-16=41, Resulting Numbers: [77, 41] Generated Node #0,0,2: 42:[77, 41] Operation: 57-16=41 Moving to Node #0,0,1 Current State: 42:[16, 20], Operations: ['98-21=77', '77-57=20'] Exploring Operation: 16*20=320, Resulting Numbers: [320] 320,42 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[57, 61], Operations: ['98-21=77', '77-16=61'] Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 57*61=3477, Resulting Numbers: [3477] 3477,42 unequal: No Solution Exploring Operation: 57+61=118, Resulting Numbers: [118] 118,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[77, 41], Operations: ['98-21=77', '57-16=41'] Exploring Operation: 77+41=118, Resulting Numbers: [118] 118,42 unequal: No Solution Exploring Operation: 77*41=3157, Resulting Numbers: [3157] 3157,42 unequal: No Solution Exploring Operation: 77-41=36, Resulting Numbers: [36] 36,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[21, 57, 82], Operations: ['98-16=82'] Exploring Operation: 82-57=25, Resulting Numbers: [21, 25] Generated Node #0,2,0: 42:[21, 25] Operation: 82-57=25 Exploring Operation: 82-21=61, Resulting Numbers: [57, 61] Generated Node #0,2,1: 42:[57, 61] Operation: 82-21=61 Exploring Operation: 57-21=36, Resulting Numbers: [82, 36] Generated Node #0,2,2: 42:[82, 36] Operation: 57-21=36 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 42:[21, 25], Operations: ['98-16=82', '82-57=25'] Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 21*25=525, Resulting Numbers: [525] 525,42 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 42:[57, 61], Operations: ['98-16=82', '82-21=61'] Exploring Operation: 57*61=3477, Resulting Numbers: [3477] 3477,42 unequal: No Solution Exploring Operation: 57+61=118, Resulting Numbers: [118] 118,42 unequal: No Solution Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 42:[82, 36], Operations: ['98-16=82', '57-21=36'] Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 82*36=2952, Resulting Numbers: [2952] 2952,42 unequal: No Solution Exploring Operation: 82+36=118, Resulting Numbers: [118] 118,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 89, 33, 53, 9 ]
27
[ "89-33=56", "56-53=3", "9*3=27" ]
Current State: 27:[89, 33, 53, 9], Operations: [] Exploring Operation: 89-33=56, Resulting Numbers: [53, 9, 56] Generated Node #2: [53, 9, 56] from Operation: 89-33=56 Current State: 27:[53, 9, 56], Operations: ['89-33=56'] Exploring Operation: 56-53=3, Resulting Numbers: [9, 3] Generated Node #3: [9, 3] from Operation: 56-53=3 Current State: 27:[9, 3], Operations: ['89-33=56', '56-53=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[89, 33, 53, 9], Operations: [] Exploring Operation: 89-33=56, Resulting Numbers: [53, 9, 56] Generated Node #0,0: 27:[53, 9, 56] Operation: 89-33=56 Exploring Operation: 89-53=36, Resulting Numbers: [33, 9, 36] Generated Node #0,1: 27:[33, 9, 36] Operation: 89-53=36 Exploring Operation: 53-9=44, Resulting Numbers: [89, 33, 44] Generated Node #0,2: 27:[89, 33, 44] Operation: 53-9=44 Exploring Operation: 89-9=80, Resulting Numbers: [33, 53, 80] Generated Node #0,3: 27:[33, 53, 80] Operation: 89-9=80 Exploring Operation: 53-33=20, Resulting Numbers: [89, 9, 20] Generated Node #0,4: 27:[89, 9, 20] Operation: 53-33=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[33, 9, 36], Operations: ['89-53=36'] Exploring Operation: 36-9=27, Resulting Numbers: [33, 27] Generated Node #0,1,0: 27:[33, 27] Operation: 36-9=27 Exploring Operation: 33+9=42, Resulting Numbers: [36, 42] Generated Node #0,1,1: 27:[36, 42] Operation: 33+9=42 Exploring Operation: 36/9=4, Resulting Numbers: [33, 4] Generated Node #0,1,2: 27:[33, 4] Operation: 36/9=4 Exploring Operation: 33-9=24, Resulting Numbers: [36, 24] Generated Node #0,1,3: 27:[36, 24] Operation: 33-9=24 Exploring Operation: 36-33=3, Resulting Numbers: [9, 3] Generated Node #0,1,4: 27:[9, 3] Operation: 36-33=3 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 27:[9, 3], Operations: ['89-53=36', '36-33=3'] Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[89, 33, 53, 9], Operations: [] Exploring Operation: 89-53=36, Resulting Numbers: [33, 9, 36] Generated Node #0,1: 27:[33, 9, 36] Operation: 89-53=36 Moving to Node #0,1 Current State: 27:[33, 9, 36], Operations: ['89-53=36'] Exploring Operation: 36-33=3, Resulting Numbers: [9, 3] Generated Node #0,1,4: 27:[9, 3] Operation: 36-33=3 Moving to Node #0,1,4 Current State: 27:[9, 3], Operations: ['89-53=36', '36-33=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 58, 90, 39, 24 ]
85
[ "58+90=148", "39+24=63", "148-63=85" ]
Current State: 85:[58, 90, 39, 24], Operations: [] Exploring Operation: 58+90=148, Resulting Numbers: [39, 24, 148] Generated Node #2: [39, 24, 148] from Operation: 58+90=148 Current State: 85:[39, 24, 148], Operations: ['58+90=148'] Exploring Operation: 39+24=63, Resulting Numbers: [148, 63] Generated Node #3: [148, 63] from Operation: 39+24=63 Current State: 85:[148, 63], Operations: ['58+90=148', '39+24=63'] Exploring Operation: 148-63=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[58, 90, 39, 24], Operations: [] Exploring Operation: 58-39=19, Resulting Numbers: [90, 24, 19] Generated Node #0,0: 85:[90, 24, 19] Operation: 58-39=19 Exploring Operation: 58+39=97, Resulting Numbers: [90, 24, 97] Generated Node #0,1: 85:[90, 24, 97] Operation: 58+39=97 Exploring Operation: 58+24=82, Resulting Numbers: [90, 39, 82] Generated Node #0,2: 85:[90, 39, 82] Operation: 58+24=82 Exploring Operation: 39-24=15, Resulting Numbers: [58, 90, 15] Generated Node #0,3: 85:[58, 90, 15] Operation: 39-24=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[90, 24, 19], Operations: ['58-39=19'] Exploring Operation: 24-19=5, Resulting Numbers: [90, 5] Generated Node #0,0,0: 85:[90, 5] Operation: 24-19=5 Exploring Operation: 90-19=71, Resulting Numbers: [24, 71] Generated Node #0,0,1: 85:[24, 71] Operation: 90-19=71 Exploring Operation: 90-24=66, Resulting Numbers: [19, 66] Generated Node #0,0,2: 85:[19, 66] Operation: 90-24=66 Exploring Operation: 90+24=114, Resulting Numbers: [19, 114] Generated Node #0,0,3: 85:[19, 114] Operation: 90+24=114 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[90, 5], Operations: ['58-39=19', '24-19=5'] Exploring Operation: 90*5=450, Resulting Numbers: [450] 450,85 unequal: No Solution Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[58, 90, 39, 24], Operations: [] Exploring Operation: 58-39=19, Resulting Numbers: [90, 24, 19] Generated Node #0,0: 85:[90, 24, 19] Operation: 58-39=19 Moving to Node #0,0 Current State: 85:[90, 24, 19], Operations: ['58-39=19'] Exploring Operation: 24-19=5, Resulting Numbers: [90, 5] Generated Node #0,0,0: 85:[90, 5] Operation: 24-19=5 Moving to Node #0,0,0 Current State: 85:[90, 5], Operations: ['58-39=19', '24-19=5'] Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 64, 64, 15, 76 ]
62
[ "64/64=1", "76-15=61", "1+61=62" ]
Current State: 62:[64, 64, 15, 76], Operations: [] Exploring Operation: 64/64=1, Resulting Numbers: [15, 76, 1] Generated Node #2: [15, 76, 1] from Operation: 64/64=1 Current State: 62:[15, 76, 1], Operations: ['64/64=1'] Exploring Operation: 76-15=61, Resulting Numbers: [1, 61] Generated Node #3: [1, 61] from Operation: 76-15=61 Current State: 62:[1, 61], Operations: ['64/64=1', '76-15=61'] Exploring Operation: 1+61=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[64, 64, 15, 76], Operations: [] Exploring Operation: 76-15=61, Resulting Numbers: [64, 64, 61] Generated Node #0,0: 62:[64, 64, 61] Operation: 76-15=61 Exploring Operation: 76-64=12, Resulting Numbers: [64, 15, 12] Generated Node #0,1: 62:[64, 15, 12] Operation: 76-64=12 Exploring Operation: 64/64=1, Resulting Numbers: [15, 76, 1] Generated Node #0,2: 62:[15, 76, 1] Operation: 64/64=1 Exploring Operation: 76-64=12, Resulting Numbers: [64, 15, 12] Generated Node #0,3: 62:[64, 15, 12] Operation: 76-64=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[64, 64, 61], Operations: ['76-15=61'] Exploring Operation: 64/64=1, Resulting Numbers: [61, 1] Generated Node #0,0,0: 62:[61, 1] Operation: 64/64=1 Exploring Operation: 64-64=0, Resulting Numbers: [61, 0] Generated Node #0,0,1: 62:[61, 0] Operation: 64-64=0 Exploring Operation: 64-61=3, Resulting Numbers: [64, 3] Generated Node #0,0,2: 62:[64, 3] Operation: 64-61=3 Exploring Operation: 64-61=3, Resulting Numbers: [64, 3] Generated Node #0,0,3: 62:[64, 3] Operation: 64-61=3 Moving to Node #0,0,0 Current State: 62:[61, 1], Operations: ['76-15=61', '64/64=1'] Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,62 unequal: No Solution Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[64, 64, 15, 76], Operations: [] Exploring Operation: 76-15=61, Resulting Numbers: [64, 64, 61] Generated Node #0,0: 62:[64, 64, 61] Operation: 76-15=61 Moving to Node #0,0 Current State: 62:[64, 64, 61], Operations: ['76-15=61'] Exploring Operation: 64/64=1, Resulting Numbers: [61, 1] Generated Node #0,0,0: 62:[61, 1] Operation: 64/64=1 Moving to Node #0,0,0 Current State: 62:[61, 1], Operations: ['76-15=61', '64/64=1'] Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 55, 19, 72, 4 ]
81
[ "55-19=36", "36/4=9", "72+9=81" ]
Current State: 81:[55, 19, 72, 4], Operations: [] Exploring Operation: 55-19=36, Resulting Numbers: [72, 4, 36] Generated Node #2: [72, 4, 36] from Operation: 55-19=36 Current State: 81:[72, 4, 36], Operations: ['55-19=36'] Exploring Operation: 36/4=9, Resulting Numbers: [72, 9] Generated Node #3: [72, 9] from Operation: 36/4=9 Current State: 81:[72, 9], Operations: ['55-19=36', '36/4=9'] Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[55, 19, 72, 4], Operations: [] Exploring Operation: 19+72=91, Resulting Numbers: [55, 4, 91] Generated Node #0,0: 81:[55, 4, 91] Operation: 19+72=91 Exploring Operation: 55-19=36, Resulting Numbers: [72, 4, 36] Generated Node #0,1: 81:[72, 4, 36] Operation: 55-19=36 Exploring Operation: 55+19=74, Resulting Numbers: [72, 4, 74] Generated Node #0,2: 81:[72, 4, 74] Operation: 55+19=74 Exploring Operation: 72-55=17, Resulting Numbers: [19, 4, 17] Generated Node #0,3: 81:[19, 4, 17] Operation: 72-55=17 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[72, 4, 74], Operations: ['55+19=74'] Exploring Operation: 72+4=76, Resulting Numbers: [74, 76] Generated Node #0,2,0: 81:[74, 76] Operation: 72+4=76 Exploring Operation: 74-72=2, Resulting Numbers: [4, 2] Generated Node #0,2,1: 81:[4, 2] Operation: 74-72=2 Exploring Operation: 72/4=18, Resulting Numbers: [74, 18] Generated Node #0,2,2: 81:[74, 18] Operation: 72/4=18 Exploring Operation: 4+74=78, Resulting Numbers: [72, 78] Generated Node #0,2,3: 81:[72, 78] Operation: 4+74=78 Moving to Node #0,2,1 Current State: 81:[4, 2], Operations: ['55+19=74', '74-72=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,81 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,81 unequal: No Solution Moving to Node #0,2,3 Current State: 81:[72, 78], Operations: ['55+19=74', '4+74=78'] Exploring Operation: 72+78=150, Resulting Numbers: [150] 150,81 unequal: No Solution Exploring Operation: 72*78=5616, Resulting Numbers: [5616] 5616,81 unequal: No Solution Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[74, 76], Operations: ['55+19=74', '72+4=76'] Exploring Operation: 74*76=5624, Resulting Numbers: [5624] 5624,81 unequal: No Solution Exploring Operation: 74+76=150, Resulting Numbers: [150] 150,81 unequal: No Solution Exploring Operation: 76-74=2, Resulting Numbers: [2] 2,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[74, 18], Operations: ['55+19=74', '72/4=18'] Exploring Operation: 74*18=1332, Resulting Numbers: [1332] 1332,81 unequal: No Solution Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,81 unequal: No Solution Exploring Operation: 74+18=92, Resulting Numbers: [92] 92,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 81:[19, 4, 17], Operations: ['72-55=17'] Exploring Operation: 19+17=36, Resulting Numbers: [4, 36] Generated Node #0,3,0: 81:[4, 36] Operation: 19+17=36 Exploring Operation: 19+4=23, Resulting Numbers: [17, 23] Generated Node #0,3,1: 81:[17, 23] Operation: 19+4=23 Exploring Operation: 17-4=13, Resulting Numbers: [19, 13] Generated Node #0,3,2: 81:[19, 13] Operation: 17-4=13 Exploring Operation: 19-17=2, Resulting Numbers: [4, 2] Generated Node #0,3,3: 81:[4, 2] Operation: 19-17=2 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 81:[4, 2], Operations: ['72-55=17', '19-17=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 81:[4, 36], Operations: ['72-55=17', '19+17=36'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,81 unequal: No Solution Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,81 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,81 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 81:[17, 23], Operations: ['72-55=17', '19+4=23'] Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,81 unequal: No Solution Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 17*23=391, Resulting Numbers: [391] 391,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 81:[19, 13], Operations: ['72-55=17', '17-4=13'] Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,81 unequal: No Solution Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[72, 4, 36], Operations: ['55-19=36'] Exploring Operation: 72+4=76, Resulting Numbers: [36, 76] Generated Node #0,1,0: 81:[36, 76] Operation: 72+4=76 Exploring Operation: 72-36=36, Resulting Numbers: [4, 36] Generated Node #0,1,1: 81:[4, 36] Operation: 72-36=36 Exploring Operation: 72/36=2, Resulting Numbers: [4, 2] Generated Node #0,1,2: 81:[4, 2] Operation: 72/36=2 Exploring Operation: 36/4=9, Resulting Numbers: [72, 9] Generated Node #0,1,3: 81:[72, 9] Operation: 36/4=9 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 81:[4, 2], Operations: ['55-19=36', '72/36=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 81:[72, 9], Operations: ['55-19=36', '36/4=9'] Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,81 unequal: No Solution Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,81 unequal: No Solution Exploring Operation: 72*9=648, Resulting Numbers: [648] 648,81 unequal: No Solution Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[55, 19, 72, 4], Operations: [] Exploring Operation: 55-19=36, Resulting Numbers: [72, 4, 36] Generated Node #0,1: 81:[72, 4, 36] Operation: 55-19=36 Moving to Node #0,1 Current State: 81:[72, 4, 36], Operations: ['55-19=36'] Exploring Operation: 36/4=9, Resulting Numbers: [72, 9] Generated Node #0,1,3: 81:[72, 9] Operation: 36/4=9 Moving to Node #0,1,3 Current State: 81:[72, 9], Operations: ['55-19=36', '36/4=9'] Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.952257
hs_4
mult_heuristic
[ 94, 79, 20, 40 ]
75
[ "94-79=15", "20+40=60", "15+60=75" ]
Current State: 75:[94, 79, 20, 40], Operations: [] Exploring Operation: 94-79=15, Resulting Numbers: [20, 40, 15] Generated Node #2: [20, 40, 15] from Operation: 94-79=15 Current State: 75:[20, 40, 15], Operations: ['94-79=15'] Exploring Operation: 20+40=60, Resulting Numbers: [15, 60] Generated Node #3: [15, 60] from Operation: 20+40=60 Current State: 75:[15, 60], Operations: ['94-79=15', '20+40=60'] Exploring Operation: 15+60=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[94, 79, 20, 40], Operations: [] Exploring Operation: 94-79=15, Resulting Numbers: [20, 40, 15] Generated Node #0,0: 75:[20, 40, 15] Operation: 94-79=15 Exploring Operation: 94-20=74, Resulting Numbers: [79, 40, 74] Generated Node #0,1: 75:[79, 40, 74] Operation: 94-20=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[20, 40, 15], Operations: ['94-79=15'] Exploring Operation: 40/20=2, Resulting Numbers: [15, 2] Generated Node #0,0,0: 75:[15, 2] Operation: 40/20=2 Exploring Operation: 40-20=20, Resulting Numbers: [15, 20] Generated Node #0,0,1: 75:[15, 20] Operation: 40-20=20 Moving to Node #0,0,0 Current State: 75:[15, 2], Operations: ['94-79=15', '40/20=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,75 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[15, 20], Operations: ['94-79=15', '40-20=20'] Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[79, 40, 74], Operations: ['94-20=74'] Exploring Operation: 79-40=39, Resulting Numbers: [74, 39] Generated Node #0,1,0: 75:[74, 39] Operation: 79-40=39 Exploring Operation: 74-40=34, Resulting Numbers: [79, 34] Generated Node #0,1,1: 75:[79, 34] Operation: 74-40=34 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[79, 34], Operations: ['94-20=74', '74-40=34'] Exploring Operation: 79-34=45, Resulting Numbers: [45] 45,75 unequal: No Solution Exploring Operation: 79+34=113, Resulting Numbers: [113] 113,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:[74, 39], Operations: ['94-20=74', '79-40=39'] Exploring Operation: 74-39=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 74+39=113, Resulting Numbers: [113] 113,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 33, 46, 49, 15 ]
15
[ "33+46=79", "49+15=64", "79-64=15" ]
Current State: 15:[33, 46, 49, 15], Operations: [] Exploring Operation: 33+46=79, Resulting Numbers: [49, 15, 79] Generated Node #2: [49, 15, 79] from Operation: 33+46=79 Current State: 15:[49, 15, 79], Operations: ['33+46=79'] Exploring Operation: 49+15=64, Resulting Numbers: [79, 64] Generated Node #3: [79, 64] from Operation: 49+15=64 Current State: 15:[79, 64], Operations: ['33+46=79', '49+15=64'] Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[33, 46, 49, 15], Operations: [] Exploring Operation: 49-33=16, Resulting Numbers: [46, 15, 16] Generated Node #0,0: 15:[46, 15, 16] Operation: 49-33=16 Exploring Operation: 46-33=13, Resulting Numbers: [49, 15, 13] Generated Node #0,1: 15:[49, 15, 13] Operation: 46-33=13 Exploring Operation: 49-46=3, Resulting Numbers: [33, 15, 3] Generated Node #0,2: 15:[33, 15, 3] Operation: 49-46=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[33, 15, 3], Operations: ['49-46=3'] Exploring Operation: 33/3=11, Resulting Numbers: [15, 11] Generated Node #0,2,0: 15:[15, 11] Operation: 33/3=11 Exploring Operation: 33-15=18, Resulting Numbers: [3, 18] Generated Node #0,2,1: 15:[3, 18] Operation: 33-15=18 Exploring Operation: 33-3=30, Resulting Numbers: [15, 30] Generated Node #0,2,2: 15:[15, 30] Operation: 33-3=30 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 15:[3, 18], Operations: ['49-46=3', '33-15=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[33, 46, 49, 15], Operations: [] Exploring Operation: 49-46=3, Resulting Numbers: [33, 15, 3] Generated Node #0,2: 15:[33, 15, 3] Operation: 49-46=3 Moving to Node #0,2 Current State: 15:[33, 15, 3], Operations: ['49-46=3'] Exploring Operation: 33-15=18, Resulting Numbers: [3, 18] Generated Node #0,2,1: 15:[3, 18] Operation: 33-15=18 Moving to Node #0,2,1 Current State: 15:[3, 18], Operations: ['49-46=3', '33-15=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 30, 31, 3, 80 ]
84
[ "31-30=1", "3+80=83", "1+83=84" ]
Current State: 84:[30, 31, 3, 80], Operations: [] Exploring Operation: 31-30=1, Resulting Numbers: [3, 80, 1] Generated Node #2: [3, 80, 1] from Operation: 31-30=1 Current State: 84:[3, 80, 1], Operations: ['31-30=1'] Exploring Operation: 3+80=83, Resulting Numbers: [1, 83] Generated Node #3: [1, 83] from Operation: 3+80=83 Current State: 84:[1, 83], Operations: ['31-30=1', '3+80=83'] Exploring Operation: 1+83=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[30, 31, 3, 80], Operations: [] Exploring Operation: 31-30=1, Resulting Numbers: [3, 80, 1] Generated Node #0,0: 84:[3, 80, 1] Operation: 31-30=1 Exploring Operation: 30/3=10, Resulting Numbers: [31, 80, 10] Generated Node #0,1: 84:[31, 80, 10] Operation: 30/3=10 Exploring Operation: 3+80=83, Resulting Numbers: [30, 31, 83] Generated Node #0,2: 84:[30, 31, 83] Operation: 3+80=83 Exploring Operation: 30-3=27, Resulting Numbers: [31, 80, 27] Generated Node #0,3: 84:[31, 80, 27] Operation: 30-3=27 Exploring Operation: 31-3=28, Resulting Numbers: [30, 80, 28] Generated Node #0,4: 84:[30, 80, 28] Operation: 31-3=28 Moving to Node #0,0 Current State: 84:[3, 80, 1], Operations: ['31-30=1'] Exploring Operation: 3+80=83, Resulting Numbers: [1, 83] Generated Node #0,0,0: 84:[1, 83] Operation: 3+80=83 Exploring Operation: 3*1=3, Resulting Numbers: [80, 3] Generated Node #0,0,1: 84:[80, 3] Operation: 3*1=3 Exploring Operation: 3-1=2, Resulting Numbers: [80, 2] Generated Node #0,0,2: 84:[80, 2] Operation: 3-1=2 Exploring Operation: 3+1=4, Resulting Numbers: [80, 4] Generated Node #0,0,3: 84:[80, 4] Operation: 3+1=4 Exploring Operation: 80+1=81, Resulting Numbers: [3, 81] Generated Node #0,0,4: 84:[3, 81] Operation: 80+1=81 Moving to Node #0,4 Current State: 84:[30, 80, 28], Operations: ['31-3=28'] Exploring Operation: 80-28=52, Resulting Numbers: [30, 52] Generated Node #0,4,0: 84:[30, 52] Operation: 80-28=52 Exploring Operation: 30+28=58, Resulting Numbers: [80, 58] Generated Node #0,4,1: 84:[80, 58] Operation: 30+28=58 Exploring Operation: 30+80=110, Resulting Numbers: [28, 110] Generated Node #0,4,2: 84:[28, 110] Operation: 30+80=110 Exploring Operation: 80-30=50, Resulting Numbers: [28, 50] Generated Node #0,4,3: 84:[28, 50] Operation: 80-30=50 Exploring Operation: 30-28=2, Resulting Numbers: [80, 2] Generated Node #0,4,4: 84:[80, 2] Operation: 30-28=2 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 84:[80, 2], Operations: ['31-3=28', '30-28=2'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,84 unequal: No Solution Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,84 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,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,4,3 Current State: 84:[28, 50], Operations: ['31-3=28', '80-30=50'] Exploring Operation: 28*50=1400, Resulting Numbers: [1400] 1400,84 unequal: No Solution Exploring Operation: 28+50=78, Resulting Numbers: [78] 78,84 unequal: No Solution Exploring Operation: 50-28=22, Resulting Numbers: [22] 22,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,4,0 Current State: 84:[30, 52], Operations: ['31-3=28', '80-28=52'] Exploring Operation: 30*52=1560, Resulting Numbers: [1560] 1560,84 unequal: No Solution Exploring Operation: 30+52=82, Resulting Numbers: [82] 82,84 unequal: No Solution Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,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,4,1 Current State: 84:[80, 58], Operations: ['31-3=28', '30+28=58'] Exploring Operation: 80*58=4640, Resulting Numbers: [4640] 4640,84 unequal: No Solution Exploring Operation: 80-58=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 80+58=138, Resulting Numbers: [138] 138,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,4,2 Current State: 84:[28, 110], Operations: ['31-3=28', '30+80=110'] Exploring Operation: 28*110=3080, Resulting Numbers: [3080] 3080,84 unequal: No Solution Exploring Operation: 110-28=82, Resulting Numbers: [82] 82,84 unequal: No Solution Exploring Operation: 28+110=138, Resulting Numbers: [138] 138,84 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: 84:[30, 31, 83], Operations: ['3+80=83'] Exploring Operation: 31-30=1, Resulting Numbers: [83, 1] Generated Node #0,2,0: 84:[83, 1] Operation: 31-30=1 Exploring Operation: 30+31=61, Resulting Numbers: [83, 61] Generated Node #0,2,1: 84:[83, 61] Operation: 30+31=61 Exploring Operation: 83-30=53, Resulting Numbers: [31, 53] Generated Node #0,2,2: 84:[31, 53] Operation: 83-30=53 Exploring Operation: 30+83=113, Resulting Numbers: [31, 113] Generated Node #0,2,3: 84:[31, 113] Operation: 30+83=113 Exploring Operation: 83-31=52, Resulting Numbers: [30, 52] Generated Node #0,2,4: 84:[30, 52] Operation: 83-31=52 Moving to Node #0,3 Current State: 84:[31, 80, 27], Operations: ['30-3=27'] Exploring Operation: 80-31=49, Resulting Numbers: [27, 49] Generated Node #0,3,0: 84:[27, 49] Operation: 80-31=49 Exploring Operation: 31+27=58, Resulting Numbers: [80, 58] Generated Node #0,3,1: 84:[80, 58] Operation: 31+27=58 Exploring Operation: 80-27=53, Resulting Numbers: [31, 53] Generated Node #0,3,2: 84:[31, 53] Operation: 80-27=53 Exploring Operation: 80+27=107, Resulting Numbers: [31, 107] Generated Node #0,3,3: 84:[31, 107] Operation: 80+27=107 Exploring Operation: 31-27=4, Resulting Numbers: [80, 4] Generated Node #0,3,4: 84:[80, 4] Operation: 31-27=4 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 84:[80, 4], Operations: ['30-3=27', '31-27=4'] Exploring Operation: 80+4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[30, 31, 3, 80], Operations: [] Exploring Operation: 30-3=27, Resulting Numbers: [31, 80, 27] Generated Node #0,3: 84:[31, 80, 27] Operation: 30-3=27 Moving to Node #0,3 Current State: 84:[31, 80, 27], Operations: ['30-3=27'] Exploring Operation: 31-27=4, Resulting Numbers: [80, 4] Generated Node #0,3,4: 84:[80, 4] Operation: 31-27=4 Moving to Node #0,3,4 Current State: 84:[80, 4], Operations: ['30-3=27', '31-27=4'] Exploring Operation: 80+4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
sum_heuristic
[ 74, 95, 34, 9 ]
15
[ "74+95=169", "169-34=135", "135/9=15" ]
Current State: 15:[74, 95, 34, 9], Operations: [] Exploring Operation: 74+95=169, Resulting Numbers: [34, 9, 169] Generated Node #2: [34, 9, 169] from Operation: 74+95=169 Current State: 15:[34, 9, 169], Operations: ['74+95=169'] Exploring Operation: 169-34=135, Resulting Numbers: [9, 135] Generated Node #3: [9, 135] from Operation: 169-34=135 Current State: 15:[9, 135], Operations: ['74+95=169', '169-34=135'] Exploring Operation: 135/9=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[74, 95, 34, 9], Operations: [] Exploring Operation: 95-74=21, Resulting Numbers: [34, 9, 21] Generated Node #0,0: 15:[34, 9, 21] Operation: 95-74=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[34, 9, 21], Operations: ['95-74=21'] Exploring Operation: 34-21=13, Resulting Numbers: [9, 13] Generated Node #0,0,0: 15:[9, 13] Operation: 34-21=13 Moving to Node #0,0,0 Current State: 15:[9, 13], Operations: ['95-74=21', '34-21=13'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,15 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
[ 42, 69, 17, 49 ]
50
[ "49-42=7", "17*7=119", "119-69=50" ]
Current State: 50:[42, 69, 17, 49], Operations: [] Exploring Operation: 49-42=7, Resulting Numbers: [69, 17, 7] Generated Node #2: [69, 17, 7] from Operation: 49-42=7 Current State: 50:[69, 17, 7], Operations: ['49-42=7'] Exploring Operation: 17*7=119, Resulting Numbers: [69, 119] Generated Node #3: [69, 119] from Operation: 17*7=119 Current State: 50:[69, 119], Operations: ['49-42=7', '17*7=119'] Exploring Operation: 119-69=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[42, 69, 17, 49], Operations: [] Exploring Operation: 49-42=7, Resulting Numbers: [69, 17, 7] Generated Node #0,0: 50:[69, 17, 7] Operation: 49-42=7 Exploring Operation: 69-49=20, Resulting Numbers: [42, 17, 20] Generated Node #0,1: 50:[42, 17, 20] Operation: 69-49=20 Exploring Operation: 69-17=52, Resulting Numbers: [42, 49, 52] Generated Node #0,2: 50:[42, 49, 52] Operation: 69-17=52 Exploring Operation: 42-17=25, Resulting Numbers: [69, 49, 25] Generated Node #0,3: 50:[69, 49, 25] Operation: 42-17=25 Exploring Operation: 69-42=27, Resulting Numbers: [17, 49, 27] Generated Node #0,4: 50:[17, 49, 27] Operation: 69-42=27 Start Sub Search at level 1: Moving to Node #0,4 Current State: 50:[17, 49, 27], Operations: ['69-42=27'] Exploring Operation: 27-17=10, Resulting Numbers: [49, 10] Generated Node #0,4,0: 50:[49, 10] Operation: 27-17=10 Exploring Operation: 49-27=22, Resulting Numbers: [17, 22] Generated Node #0,4,1: 50:[17, 22] Operation: 49-27=22 Exploring Operation: 49-17=32, Resulting Numbers: [27, 32] Generated Node #0,4,2: 50:[27, 32] Operation: 49-17=32 Exploring Operation: 17+49=66, Resulting Numbers: [27, 66] Generated Node #0,4,3: 50:[27, 66] Operation: 17+49=66 Exploring Operation: 17+27=44, Resulting Numbers: [49, 44] Generated Node #0,4,4: 50:[49, 44] Operation: 17+27=44 Moving to Node #0,4,0 Current State: 50:[49, 10], Operations: ['69-42=27', '27-17=10'] Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,50 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,50 unequal: No Solution Moving to Node #0,4,4 Current State: 50:[49, 44], Operations: ['69-42=27', '17+27=44'] Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 49*44=2156, Resulting Numbers: [2156] 2156,50 unequal: No Solution Exploring Operation: 49+44=93, Resulting Numbers: [93] 93,50 unequal: No Solution Moving to Node #0,4,2 Current State: 50:[27, 32], Operations: ['69-42=27', '49-17=32'] Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 27*32=864, Resulting Numbers: [864] 864,50 unequal: No Solution Exploring Operation: 27+32=59, Resulting Numbers: [59] 59,50 unequal: No Solution Moving to Node #0,4,1 Current State: 50:[17, 22], Operations: ['69-42=27', '49-27=22'] Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,50 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,50 unequal: No Solution Moving to Node #0,4,3 Current State: 50:[27, 66], Operations: ['69-42=27', '17+49=66'] Exploring Operation: 27+66=93, Resulting Numbers: [93] 93,50 unequal: No Solution Exploring Operation: 27*66=1782, Resulting Numbers: [1782] 1782,50 unequal: No Solution Exploring Operation: 66-27=39, Resulting Numbers: [39] 39,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[42, 49, 52], Operations: ['69-17=52'] Exploring Operation: 42+49=91, Resulting Numbers: [52, 91] Generated Node #0,2,0: 50:[52, 91] Operation: 42+49=91 Exploring Operation: 42+52=94, Resulting Numbers: [49, 94] Generated Node #0,2,1: 50:[49, 94] Operation: 42+52=94 Exploring Operation: 49-42=7, Resulting Numbers: [52, 7] Generated Node #0,2,2: 50:[52, 7] Operation: 49-42=7 Exploring Operation: 52-49=3, Resulting Numbers: [42, 3] Generated Node #0,2,3: 50:[42, 3] Operation: 52-49=3 Exploring Operation: 52-42=10, Resulting Numbers: [49, 10] Generated Node #0,2,4: 50:[49, 10] Operation: 52-42=10 Moving to Node #0,2,4 Current State: 50:[49, 10], Operations: ['69-17=52', '52-42=10'] Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,50 unequal: No Solution Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[52, 7], Operations: ['69-17=52', '49-42=7'] Exploring Operation: 52+7=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 52*7=364, Resulting Numbers: [364] 364,50 unequal: No Solution Moving to Node #0,2,3 Current State: 50:[42, 3], Operations: ['69-17=52', '52-49=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,50 unequal: No Solution Exploring Operation: 42*3=126, Resulting Numbers: [126] 126,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[52, 91], Operations: ['69-17=52', '42+49=91'] Exploring Operation: 91-52=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 52*91=4732, Resulting Numbers: [4732] 4732,50 unequal: No Solution Exploring Operation: 52+91=143, Resulting Numbers: [143] 143,50 unequal: No Solution Moving to Node #0,2,1 Current State: 50:[49, 94], Operations: ['69-17=52', '42+52=94'] Exploring Operation: 94-49=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 49+94=143, Resulting Numbers: [143] 143,50 unequal: No Solution Exploring Operation: 49*94=4606, Resulting Numbers: [4606] 4606,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[42, 17, 20], Operations: ['69-49=20'] Exploring Operation: 42-17=25, Resulting Numbers: [20, 25] Generated Node #0,1,0: 50:[20, 25] Operation: 42-17=25 Exploring Operation: 42+17=59, Resulting Numbers: [20, 59] Generated Node #0,1,1: 50:[20, 59] Operation: 42+17=59 Exploring Operation: 20-17=3, Resulting Numbers: [42, 3] Generated Node #0,1,2: 50:[42, 3] Operation: 20-17=3 Exploring Operation: 42-20=22, Resulting Numbers: [17, 22] Generated Node #0,1,3: 50:[17, 22] Operation: 42-20=22 Exploring Operation: 42+20=62, Resulting Numbers: [17, 62] Generated Node #0,1,4: 50:[17, 62] Operation: 42+20=62 Moving to Node #0,1,0 Current State: 50:[20, 25], Operations: ['69-49=20', '42-17=25'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,50 unequal: No Solution Moving to Node #0,1,2 Current State: 50:[42, 3], Operations: ['69-49=20', '20-17=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,50 unequal: No Solution Exploring Operation: 42*3=126, Resulting Numbers: [126] 126,50 unequal: No Solution Moving to Node #0,1,3 Current State: 50:[17, 22], Operations: ['69-49=20', '42-20=22'] Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,50 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,50 unequal: No Solution Moving to Node #0,1,1 Current State: 50:[20, 59], Operations: ['69-49=20', '42+17=59'] Exploring Operation: 59-20=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 20+59=79, Resulting Numbers: [79] 79,50 unequal: No Solution Exploring Operation: 20*59=1180, Resulting Numbers: [1180] 1180,50 unequal: No Solution Moving to Node #0,1,4 Current State: 50:[17, 62], Operations: ['69-49=20', '42+20=62'] Exploring Operation: 17+62=79, Resulting Numbers: [79] 79,50 unequal: No Solution Exploring Operation: 17*62=1054, Resulting Numbers: [1054] 1054,50 unequal: No Solution Exploring Operation: 62-17=45, Resulting Numbers: [45] 45,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 50:[69, 49, 25], Operations: ['42-17=25'] Exploring Operation: 69-49=20, Resulting Numbers: [25, 20] Generated Node #0,3,0: 50:[25, 20] Operation: 69-49=20 Exploring Operation: 69+25=94, Resulting Numbers: [49, 94] Generated Node #0,3,1: 50:[49, 94] Operation: 69+25=94 Exploring Operation: 49+25=74, Resulting Numbers: [69, 74] Generated Node #0,3,2: 50:[69, 74] Operation: 49+25=74 Exploring Operation: 49-25=24, Resulting Numbers: [69, 24] Generated Node #0,3,3: 50:[69, 24] Operation: 49-25=24 Exploring Operation: 69-25=44, Resulting Numbers: [49, 44] Generated Node #0,3,4: 50:[49, 44] Operation: 69-25=44 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 50:[25, 20], Operations: ['42-17=25', '69-49=20'] Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 25*20=500, Resulting Numbers: [500] 500,50 unequal: No Solution No 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: 50:[49, 44], Operations: ['42-17=25', '69-25=44'] Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 49+44=93, Resulting Numbers: [93] 93,50 unequal: No Solution Exploring Operation: 49*44=2156, Resulting Numbers: [2156] 2156,50 unequal: No Solution No 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: 50:[69, 24], Operations: ['42-17=25', '49-25=24'] Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 69+24=93, Resulting Numbers: [93] 93,50 unequal: No Solution Exploring Operation: 69*24=1656, Resulting Numbers: [1656] 1656,50 unequal: No Solution No 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: 50:[69, 74], Operations: ['42-17=25', '49+25=74'] Exploring Operation: 69*74=5106, Resulting Numbers: [5106] 5106,50 unequal: No Solution Exploring Operation: 69+74=143, Resulting Numbers: [143] 143,50 unequal: No Solution Exploring Operation: 74-69=5, Resulting Numbers: [5] 5,50 unequal: No Solution No 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: 50:[49, 94], Operations: ['42-17=25', '69+25=94'] Exploring Operation: 94-49=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 49*94=4606, Resulting Numbers: [4606] 4606,50 unequal: No Solution Exploring Operation: 49+94=143, Resulting Numbers: [143] 143,50 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: 50:[69, 17, 7], Operations: ['49-42=7'] Exploring Operation: 69-17=52, Resulting Numbers: [7, 52] Generated Node #0,0,0: 50:[7, 52] Operation: 69-17=52 Exploring Operation: 17-7=10, Resulting Numbers: [69, 10] Generated Node #0,0,1: 50:[69, 10] Operation: 17-7=10 Exploring Operation: 17+7=24, Resulting Numbers: [69, 24] Generated Node #0,0,2: 50:[69, 24] Operation: 17+7=24 Exploring Operation: 69-7=62, Resulting Numbers: [17, 62] Generated Node #0,0,3: 50:[17, 62] Operation: 69-7=62 Exploring Operation: 69+7=76, Resulting Numbers: [17, 76] Generated Node #0,0,4: 50:[17, 76] Operation: 69+7=76 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 50:[7, 52], Operations: ['49-42=7', '69-17=52'] Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 7*52=364, Resulting Numbers: [364] 364,50 unequal: No Solution No 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: 50:[69, 10], Operations: ['49-42=7', '17-7=10'] Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 69*10=690, Resulting Numbers: [690] 690,50 unequal: No Solution Exploring Operation: 69+10=79, Resulting Numbers: [79] 79,50 unequal: No Solution No 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: 50:[17, 62], Operations: ['49-42=7', '69-7=62'] Exploring Operation: 17+62=79, Resulting Numbers: [79] 79,50 unequal: No Solution Exploring Operation: 62-17=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 17*62=1054, Resulting Numbers: [1054] 1054,50 unequal: No Solution No 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: 50:[69, 24], Operations: ['49-42=7', '17+7=24'] Exploring Operation: 69+24=93, Resulting Numbers: [93] 93,50 unequal: No Solution Exploring Operation: 69*24=1656, Resulting Numbers: [1656] 1656,50 unequal: No Solution Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,50 unequal: No Solution No 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: 50:[17, 76], Operations: ['49-42=7', '69+7=76'] Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 17*76=1292, Resulting Numbers: [1292] 1292,50 unequal: No Solution Exploring Operation: 17+76=93, Resulting Numbers: [93] 93,50 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
[ 36, 15, 51, 4 ]
33
[ "36-15=21", "4*21=84", "84-51=33" ]
Current State: 33:[36, 15, 51, 4], Operations: [] Exploring Operation: 36-15=21, Resulting Numbers: [51, 4, 21] Generated Node #2: [51, 4, 21] from Operation: 36-15=21 Current State: 33:[51, 4, 21], Operations: ['36-15=21'] Exploring Operation: 4*21=84, Resulting Numbers: [51, 84] Generated Node #3: [51, 84] from Operation: 4*21=84 Current State: 33:[51, 84], Operations: ['36-15=21', '4*21=84'] Exploring Operation: 84-51=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[36, 15, 51, 4], Operations: [] Exploring Operation: 51-15=36, Resulting Numbers: [36, 4, 36] Generated Node #0,0: 33:[36, 4, 36] Operation: 51-15=36 Moving to Node #0,0 Current State: 33:[36, 4, 36], Operations: ['51-15=36'] Exploring Operation: 36/36=1, Resulting Numbers: [4, 1] Generated Node #0,0,0: 33:[4, 1] Operation: 36/36=1 Moving to Node #0,0,0 Current State: 33:[4, 1], Operations: ['51-15=36', '36/36=1'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,33 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 70, 91, 99, 26 ]
12
[ "70+26=96", "99-91=8", "96/8=12" ]
Current State: 12:[70, 91, 99, 26], Operations: [] Exploring Operation: 70+26=96, Resulting Numbers: [91, 99, 96] Generated Node #2: [91, 99, 96] from Operation: 70+26=96 Current State: 12:[91, 99, 96], Operations: ['70+26=96'] Exploring Operation: 99-91=8, Resulting Numbers: [96, 8] Generated Node #3: [96, 8] from Operation: 99-91=8 Current State: 12:[96, 8], Operations: ['70+26=96', '99-91=8'] Exploring Operation: 96/8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[70, 91, 99, 26], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [91, 26, 29] Generated Node #0,0: 12:[91, 26, 29] Operation: 99-70=29 Exploring Operation: 91-70=21, Resulting Numbers: [99, 26, 21] Generated Node #0,1: 12:[99, 26, 21] Operation: 91-70=21 Exploring Operation: 99-91=8, Resulting Numbers: [70, 26, 8] Generated Node #0,2: 12:[70, 26, 8] Operation: 99-91=8 Exploring Operation: 70-26=44, Resulting Numbers: [91, 99, 44] Generated Node #0,3: 12:[91, 99, 44] Operation: 70-26=44 Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[70, 26, 8], Operations: ['99-91=8'] Exploring Operation: 70-8=62, Resulting Numbers: [26, 62] Generated Node #0,2,0: 12:[26, 62] Operation: 70-8=62 Exploring Operation: 70-26=44, Resulting Numbers: [8, 44] Generated Node #0,2,1: 12:[8, 44] Operation: 70-26=44 Exploring Operation: 70+8=78, Resulting Numbers: [26, 78] Generated Node #0,2,2: 12:[26, 78] Operation: 70+8=78 Exploring Operation: 26-8=18, Resulting Numbers: [70, 18] Generated Node #0,2,3: 12:[70, 18] Operation: 26-8=18 Moving to Node #0,2,1 Current State: 12:[8, 44], Operations: ['99-91=8', '70-26=44'] Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,12 unequal: No Solution Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,12 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,12 unequal: No Solution Moving to Node #0,2,3 Current State: 12:[70, 18], Operations: ['99-91=8', '26-8=18'] Exploring Operation: 70-18=52, Resulting Numbers: [52] 52,12 unequal: No Solution Exploring Operation: 70+18=88, Resulting Numbers: [88] 88,12 unequal: No Solution Exploring Operation: 70*18=1260, Resulting Numbers: [1260] 1260,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[26, 62], Operations: ['99-91=8', '70-8=62'] Exploring Operation: 26+62=88, Resulting Numbers: [88] 88,12 unequal: No Solution Exploring Operation: 62-26=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 26*62=1612, Resulting Numbers: [1612] 1612,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[26, 78], Operations: ['99-91=8', '70+8=78'] Exploring Operation: 78/26=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 26+78=104, Resulting Numbers: [104] 104,12 unequal: No Solution Exploring Operation: 26*78=2028, Resulting Numbers: [2028] 2028,12 unequal: No Solution Exploring Operation: 78-26=52, Resulting Numbers: [52] 52,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[91, 26, 29], Operations: ['99-70=29'] Exploring Operation: 91+26=117, Resulting Numbers: [29, 117] Generated Node #0,0,0: 12:[29, 117] Operation: 91+26=117 Exploring Operation: 29-26=3, Resulting Numbers: [91, 3] Generated Node #0,0,1: 12:[91, 3] Operation: 29-26=3 Exploring Operation: 91-26=65, Resulting Numbers: [29, 65] Generated Node #0,0,2: 12:[29, 65] Operation: 91-26=65 Exploring Operation: 91-29=62, Resulting Numbers: [26, 62] Generated Node #0,0,3: 12:[26, 62] Operation: 91-29=62 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 12:[26, 62], Operations: ['99-70=29', '91-29=62'] Exploring Operation: 26+62=88, Resulting Numbers: [88] 88,12 unequal: No Solution Exploring Operation: 26*62=1612, Resulting Numbers: [1612] 1612,12 unequal: No Solution Exploring Operation: 62-26=36, Resulting Numbers: [36] 36,12 unequal: No Solution No 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: 12:[29, 65], Operations: ['99-70=29', '91-26=65'] Exploring Operation: 29+65=94, Resulting Numbers: [94] 94,12 unequal: No Solution Exploring Operation: 65-29=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 29*65=1885, Resulting Numbers: [1885] 1885,12 unequal: No Solution No 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: 12:[91, 3], Operations: ['99-70=29', '29-26=3'] Exploring Operation: 91*3=273, Resulting Numbers: [273] 273,12 unequal: No Solution Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,12 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,12 unequal: No Solution No 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: 12:[29, 117], Operations: ['99-70=29', '91+26=117'] Exploring Operation: 117-29=88, Resulting Numbers: [88] 88,12 unequal: No Solution Exploring Operation: 29*117=3393, Resulting Numbers: [3393] 3393,12 unequal: No Solution Exploring Operation: 29+117=146, Resulting Numbers: [146] 146,12 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: 12:[99, 26, 21], Operations: ['91-70=21'] Exploring Operation: 26-21=5, Resulting Numbers: [99, 5] Generated Node #0,1,0: 12:[99, 5] Operation: 26-21=5 Exploring Operation: 99+26=125, Resulting Numbers: [21, 125] Generated Node #0,1,1: 12:[21, 125] Operation: 99+26=125 Exploring Operation: 99-21=78, Resulting Numbers: [26, 78] Generated Node #0,1,2: 12:[26, 78] Operation: 99-21=78 Exploring Operation: 99-26=73, Resulting Numbers: [21, 73] Generated Node #0,1,3: 12:[21, 73] Operation: 99-26=73 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 12:[21, 73], Operations: ['91-70=21', '99-26=73'] Exploring Operation: 73-21=52, Resulting Numbers: [52] 52,12 unequal: No Solution Exploring Operation: 21*73=1533, Resulting Numbers: [1533] 1533,12 unequal: No Solution Exploring Operation: 21+73=94, Resulting Numbers: [94] 94,12 unequal: No Solution No 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: 12:[26, 78], Operations: ['91-70=21', '99-21=78'] Exploring Operation: 26+78=104, Resulting Numbers: [104] 104,12 unequal: No Solution Exploring Operation: 26*78=2028, Resulting Numbers: [2028] 2028,12 unequal: No Solution Exploring Operation: 78/26=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 78-26=52, Resulting Numbers: [52] 52,12 unequal: No Solution No 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: 12:[99, 5], Operations: ['91-70=21', '26-21=5'] Exploring Operation: 99+5=104, Resulting Numbers: [104] 104,12 unequal: No Solution Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,12 unequal: No Solution Exploring Operation: 99*5=495, Resulting Numbers: [495] 495,12 unequal: No Solution No 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: 12:[21, 125], Operations: ['91-70=21', '99+26=125'] Exploring Operation: 125-21=104, Resulting Numbers: [104] 104,12 unequal: No Solution Exploring Operation: 21*125=2625, Resulting Numbers: [2625] 2625,12 unequal: No Solution Exploring Operation: 21+125=146, Resulting Numbers: [146] 146,12 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: 12:[91, 99, 44], Operations: ['70-26=44'] Exploring Operation: 91+99=190, Resulting Numbers: [44, 190] Generated Node #0,3,0: 12:[44, 190] Operation: 91+99=190 Exploring Operation: 91-44=47, Resulting Numbers: [99, 47] Generated Node #0,3,1: 12:[99, 47] Operation: 91-44=47 Exploring Operation: 99-44=55, Resulting Numbers: [91, 55] Generated Node #0,3,2: 12:[91, 55] Operation: 99-44=55 Exploring Operation: 99-91=8, Resulting Numbers: [44, 8] Generated Node #0,3,3: 12:[44, 8] Operation: 99-91=8 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 12:[44, 8], Operations: ['70-26=44', '99-91=8'] Exploring Operation: 44*8=352, Resulting Numbers: [352] 352,12 unequal: No Solution Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,12 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,12 unequal: No Solution No 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: 12:[99, 47], Operations: ['70-26=44', '91-44=47'] Exploring Operation: 99-47=52, Resulting Numbers: [52] 52,12 unequal: No Solution Exploring Operation: 99*47=4653, Resulting Numbers: [4653] 4653,12 unequal: No Solution Exploring Operation: 99+47=146, Resulting Numbers: [146] 146,12 unequal: No Solution No 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: 12:[91, 55], Operations: ['70-26=44', '99-44=55'] Exploring Operation: 91*55=5005, Resulting Numbers: [5005] 5005,12 unequal: No Solution Exploring Operation: 91-55=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 91+55=146, Resulting Numbers: [146] 146,12 unequal: No Solution No 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: 12:[44, 190], Operations: ['70-26=44', '91+99=190'] Exploring Operation: 190-44=146, Resulting Numbers: [146] 146,12 unequal: No Solution Exploring Operation: 44+190=234, Resulting Numbers: [234] 234,12 unequal: No Solution Exploring Operation: 44*190=8360, Resulting Numbers: [8360] 8360,12 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
[ 29, 57, 15, 46 ]
89
[ "57-29=28", "15+46=61", "28+61=89" ]
Current State: 89:[29, 57, 15, 46], Operations: [] Exploring Operation: 57-29=28, Resulting Numbers: [15, 46, 28] Generated Node #2: [15, 46, 28] from Operation: 57-29=28 Current State: 89:[15, 46, 28], Operations: ['57-29=28'] Exploring Operation: 15+46=61, Resulting Numbers: [28, 61] Generated Node #3: [28, 61] from Operation: 15+46=61 Current State: 89:[28, 61], Operations: ['57-29=28', '15+46=61'] Exploring Operation: 28+61=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[29, 57, 15, 46], Operations: [] Exploring Operation: 29+46=75, Resulting Numbers: [57, 15, 75] Generated Node #0,0: 89:[57, 15, 75] Operation: 29+46=75 Exploring Operation: 29+15=44, Resulting Numbers: [57, 46, 44] Generated Node #0,1: 89:[57, 46, 44] Operation: 29+15=44 Exploring Operation: 29+57=86, Resulting Numbers: [15, 46, 86] Generated Node #0,2: 89:[15, 46, 86] Operation: 29+57=86 Moving to Node #0,0 Current State: 89:[57, 15, 75], Operations: ['29+46=75'] Exploring Operation: 57-15=42, Resulting Numbers: [75, 42] Generated Node #0,0,0: 89:[75, 42] Operation: 57-15=42 Exploring Operation: 15+75=90, Resulting Numbers: [57, 90] Generated Node #0,0,1: 89:[57, 90] Operation: 15+75=90 Exploring Operation: 57+15=72, Resulting Numbers: [75, 72] Generated Node #0,0,2: 89:[75, 72] Operation: 57+15=72 Moving to Node #0,1 Current State: 89:[57, 46, 44], Operations: ['29+15=44'] Exploring Operation: 57+44=101, Resulting Numbers: [46, 101] Generated Node #0,1,0: 89:[46, 101] Operation: 57+44=101 Exploring Operation: 46+44=90, Resulting Numbers: [57, 90] Generated Node #0,1,1: 89:[57, 90] Operation: 46+44=90 Exploring Operation: 57+46=103, Resulting Numbers: [44, 103] Generated Node #0,1,2: 89:[44, 103] Operation: 57+46=103 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[57, 90], Operations: ['29+15=44', '46+44=90'] Exploring Operation: 90-57=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 57*90=5130, Resulting Numbers: [5130] 5130,89 unequal: No Solution Exploring Operation: 57+90=147, Resulting Numbers: [147] 147,89 unequal: No Solution No 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: 89:[46, 101], Operations: ['29+15=44', '57+44=101'] Exploring Operation: 101-46=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 46+101=147, Resulting Numbers: [147] 147,89 unequal: No Solution Exploring Operation: 46*101=4646, Resulting Numbers: [4646] 4646,89 unequal: No Solution No 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: 89:[44, 103], Operations: ['29+15=44', '57+46=103'] Exploring Operation: 44*103=4532, Resulting Numbers: [4532] 4532,89 unequal: No Solution Exploring Operation: 103-44=59, Resulting Numbers: [59] 59,89 unequal: No Solution Exploring Operation: 44+103=147, Resulting Numbers: [147] 147,89 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: 89:[15, 46, 86], Operations: ['29+57=86'] Exploring Operation: 15+86=101, Resulting Numbers: [46, 101] Generated Node #0,2,0: 89:[46, 101] Operation: 15+86=101 Exploring Operation: 15+46=61, Resulting Numbers: [86, 61] Generated Node #0,2,1: 89:[86, 61] Operation: 15+46=61 Exploring Operation: 46-15=31, Resulting Numbers: [86, 31] Generated Node #0,2,2: 89:[86, 31] Operation: 46-15=31 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 89:[86, 61], Operations: ['29+57=86', '15+46=61'] Exploring Operation: 86+61=147, Resulting Numbers: [147] 147,89 unequal: No Solution Exploring Operation: 86-61=25, Resulting Numbers: [25] 25,89 unequal: No Solution Exploring Operation: 86*61=5246, Resulting Numbers: [5246] 5246,89 unequal: No Solution No 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: 89:[46, 101], Operations: ['29+57=86', '15+86=101'] Exploring Operation: 46+101=147, Resulting Numbers: [147] 147,89 unequal: No Solution Exploring Operation: 101-46=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 46*101=4646, Resulting Numbers: [4646] 4646,89 unequal: No Solution No 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: 89:[86, 31], Operations: ['29+57=86', '46-15=31'] Exploring Operation: 86+31=117, Resulting Numbers: [117] 117,89 unequal: No Solution Exploring Operation: 86-31=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 86*31=2666, Resulting Numbers: [2666] 2666,89 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: 89:[75, 72], Operations: ['29+46=75', '57+15=72'] Exploring Operation: 75-72=3, Resulting Numbers: [3] 3,89 unequal: No Solution Exploring Operation: 75+72=147, Resulting Numbers: [147] 147,89 unequal: No Solution Exploring Operation: 75*72=5400, Resulting Numbers: [5400] 5400,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[57, 90], Operations: ['29+46=75', '15+75=90'] Exploring Operation: 57+90=147, Resulting Numbers: [147] 147,89 unequal: No Solution Exploring Operation: 90-57=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 57*90=5130, Resulting Numbers: [5130] 5130,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[75, 42], Operations: ['29+46=75', '57-15=42'] Exploring Operation: 75+42=117, Resulting Numbers: [117] 117,89 unequal: No Solution Exploring Operation: 75*42=3150, Resulting Numbers: [3150] 3150,89 unequal: No Solution Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,89 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 34, 87, 9, 69 ]
21
[ "87*9=783", "783-69=714", "714/34=21" ]
Current State: 21:[34, 87, 9, 69], Operations: [] Exploring Operation: 87*9=783, Resulting Numbers: [34, 69, 783] Generated Node #2: [34, 69, 783] from Operation: 87*9=783 Current State: 21:[34, 69, 783], Operations: ['87*9=783'] Exploring Operation: 783-69=714, Resulting Numbers: [34, 714] Generated Node #3: [34, 714] from Operation: 783-69=714 Current State: 21:[34, 714], Operations: ['87*9=783', '783-69=714'] Exploring Operation: 714/34=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[34, 87, 9, 69], Operations: [] Exploring Operation: 87-34=53, Resulting Numbers: [9, 69, 53] Generated Node #0,0: 21:[9, 69, 53] Operation: 87-34=53 Exploring Operation: 69-34=35, Resulting Numbers: [87, 9, 35] Generated Node #0,1: 21:[87, 9, 35] Operation: 69-34=35 Exploring Operation: 87-69=18, Resulting Numbers: [34, 9, 18] Generated Node #0,2: 21:[34, 9, 18] Operation: 87-69=18 Moving to Node #0,2 Current State: 21:[34, 9, 18], Operations: ['87-69=18'] Exploring Operation: 34-18=16, Resulting Numbers: [9, 16] Generated Node #0,2,0: 21:[9, 16] Operation: 34-18=16 Exploring Operation: 18/9=2, Resulting Numbers: [34, 2] Generated Node #0,2,1: 21:[34, 2] Operation: 18/9=2 Exploring Operation: 34-9=25, Resulting Numbers: [18, 25] Generated Node #0,2,2: 21:[18, 25] Operation: 34-9=25 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 21:[9, 16], Operations: ['87-69=18', '34-18=16'] Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,21 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 21:[18, 25], Operations: ['87-69=18', '34-9=25'] Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,21 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 21:[34, 2], Operations: ['87-69=18', '18/9=2'] Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,21 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,21 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: 21:[9, 69, 53], Operations: ['87-34=53'] Exploring Operation: 69-9=60, Resulting Numbers: [53, 60] Generated Node #0,0,0: 21:[53, 60] Operation: 69-9=60 Exploring Operation: 69-53=16, Resulting Numbers: [9, 16] Generated Node #0,0,1: 21:[9, 16] Operation: 69-53=16 Exploring Operation: 53-9=44, Resulting Numbers: [69, 44] Generated Node #0,0,2: 21:[69, 44] Operation: 53-9=44 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 21:[9, 16], Operations: ['87-34=53', '69-53=16'] Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,21 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,21 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,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:[53, 60], Operations: ['87-34=53', '69-9=60'] Exploring Operation: 53*60=3180, Resulting Numbers: [3180] 3180,21 unequal: No Solution Exploring Operation: 53+60=113, Resulting Numbers: [113] 113,21 unequal: No Solution Exploring Operation: 60-53=7, Resulting Numbers: [7] 7,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,2 Current State: 21:[69, 44], Operations: ['87-34=53', '53-9=44'] Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,21 unequal: No Solution Exploring Operation: 69*44=3036, Resulting Numbers: [3036] 3036,21 unequal: No Solution Exploring Operation: 69+44=113, Resulting Numbers: [113] 113,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 21:[87, 9, 35], Operations: ['69-34=35'] Exploring Operation: 87-9=78, Resulting Numbers: [35, 78] Generated Node #0,1,0: 21:[35, 78] Operation: 87-9=78 Exploring Operation: 87-35=52, Resulting Numbers: [9, 52] Generated Node #0,1,1: 21:[9, 52] Operation: 87-35=52 Exploring Operation: 35-9=26, Resulting Numbers: [87, 26] Generated Node #0,1,2: 21:[87, 26] Operation: 35-9=26 Moving to Node #0,1,1 Current State: 21:[9, 52], Operations: ['69-34=35', '87-35=52'] Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,21 unequal: No Solution Exploring Operation: 9+52=61, Resulting Numbers: [61] 61,21 unequal: No Solution Exploring Operation: 9*52=468, Resulting Numbers: [468] 468,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[35, 78], Operations: ['69-34=35', '87-9=78'] Exploring Operation: 35*78=2730, Resulting Numbers: [2730] 2730,21 unequal: No Solution Exploring Operation: 78-35=43, Resulting Numbers: [43] 43,21 unequal: No Solution Exploring Operation: 35+78=113, Resulting Numbers: [113] 113,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[87, 26], Operations: ['69-34=35', '35-9=26'] Exploring Operation: 87+26=113, Resulting Numbers: [113] 113,21 unequal: No Solution Exploring Operation: 87*26=2262, Resulting Numbers: [2262] 2262,21 unequal: No Solution Exploring Operation: 87-26=61, Resulting Numbers: [61] 61,21 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 55, 87, 91, 67 ]
16
[ "55+87=142", "91+67=158", "158-142=16" ]
Current State: 16:[55, 87, 91, 67], Operations: [] Exploring Operation: 55+87=142, Resulting Numbers: [91, 67, 142] Generated Node #2: [91, 67, 142] from Operation: 55+87=142 Current State: 16:[91, 67, 142], Operations: ['55+87=142'] Exploring Operation: 91+67=158, Resulting Numbers: [142, 158] Generated Node #3: [142, 158] from Operation: 91+67=158 Current State: 16:[142, 158], Operations: ['55+87=142', '91+67=158'] Exploring Operation: 158-142=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[55, 87, 91, 67], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [55, 67, 4] Generated Node #0,0: 16:[55, 67, 4] Operation: 91-87=4 Exploring Operation: 87-67=20, Resulting Numbers: [55, 91, 20] Generated Node #0,1: 16:[55, 91, 20] Operation: 87-67=20 Moving to Node #0,0 Current State: 16:[55, 67, 4], Operations: ['91-87=4'] Exploring Operation: 67-55=12, Resulting Numbers: [4, 12] Generated Node #0,0,0: 16:[4, 12] Operation: 67-55=12 Exploring Operation: 55-4=51, Resulting Numbers: [67, 51] Generated Node #0,0,1: 16:[67, 51] Operation: 55-4=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[4, 12], Operations: ['91-87=4', '67-55=12'] Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[55, 87, 91, 67], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [55, 67, 4] Generated Node #0,0: 16:[55, 67, 4] Operation: 91-87=4 Moving to Node #0,0 Current State: 16:[55, 67, 4], Operations: ['91-87=4'] Exploring Operation: 67-55=12, Resulting Numbers: [4, 12] Generated Node #0,0,0: 16:[4, 12] Operation: 67-55=12 Moving to Node #0,0,0 Current State: 16:[4, 12], Operations: ['91-87=4', '67-55=12'] Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 2, 75, 43, 16 ]
80
[ "75-43=32", "2*32=64", "16+64=80" ]
Current State: 80:[2, 75, 43, 16], Operations: [] Exploring Operation: 75-43=32, Resulting Numbers: [2, 16, 32] Generated Node #2: [2, 16, 32] from Operation: 75-43=32 Current State: 80:[2, 16, 32], Operations: ['75-43=32'] Exploring Operation: 2*32=64, Resulting Numbers: [16, 64] Generated Node #3: [16, 64] from Operation: 2*32=64 Current State: 80:[16, 64], Operations: ['75-43=32', '2*32=64'] Exploring Operation: 16+64=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[2, 75, 43, 16], Operations: [] Exploring Operation: 43-2=41, Resulting Numbers: [75, 16, 41] Generated Node #0,0: 80:[75, 16, 41] Operation: 43-2=41 Exploring Operation: 2+75=77, Resulting Numbers: [43, 16, 77] Generated Node #0,1: 80:[43, 16, 77] Operation: 2+75=77 Exploring Operation: 16/2=8, Resulting Numbers: [75, 43, 8] Generated Node #0,2: 80:[75, 43, 8] Operation: 16/2=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[75, 16, 41], Operations: ['43-2=41'] Exploring Operation: 75+16=91, Resulting Numbers: [41, 91] Generated Node #0,0,0: 80:[41, 91] Operation: 75+16=91 Exploring Operation: 41-16=25, Resulting Numbers: [75, 25] Generated Node #0,0,1: 80:[75, 25] Operation: 41-16=25 Exploring Operation: 75-41=34, Resulting Numbers: [16, 34] Generated Node #0,0,2: 80:[16, 34] Operation: 75-41=34 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 80:[16, 34], Operations: ['43-2=41', '75-41=34'] Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,80 unequal: No Solution No 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: 80:[75, 25], Operations: ['43-2=41', '41-16=25'] Exploring Operation: 75+25=100, Resulting Numbers: [100] 100,80 unequal: No Solution Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 75-25=50, Resulting Numbers: [50] 50,80 unequal: No Solution No 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: 80:[41, 91], Operations: ['43-2=41', '75+16=91'] Exploring Operation: 41+91=132, Resulting Numbers: [132] 132,80 unequal: No Solution Exploring Operation: 91-41=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 41*91=3731, Resulting Numbers: [3731] 3731,80 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: 80:[43, 16, 77], Operations: ['2+75=77'] Exploring Operation: 43-16=27, Resulting Numbers: [77, 27] Generated Node #0,1,0: 80:[77, 27] Operation: 43-16=27 Exploring Operation: 77-43=34, Resulting Numbers: [16, 34] Generated Node #0,1,1: 80:[16, 34] Operation: 77-43=34 Exploring Operation: 16+77=93, Resulting Numbers: [43, 93] Generated Node #0,1,2: 80:[43, 93] Operation: 16+77=93 Moving to Node #0,1,1 Current State: 80:[16, 34], Operations: ['2+75=77', '77-43=34'] Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,80 unequal: No Solution Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[77, 27], Operations: ['2+75=77', '43-16=27'] Exploring Operation: 77*27=2079, Resulting Numbers: [2079] 2079,80 unequal: No Solution Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 77+27=104, Resulting Numbers: [104] 104,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[43, 93], Operations: ['2+75=77', '16+77=93'] Exploring Operation: 43+93=136, Resulting Numbers: [136] 136,80 unequal: No Solution Exploring Operation: 93-43=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 43*93=3999, Resulting Numbers: [3999] 3999,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[75, 43, 8], Operations: ['16/2=8'] Exploring Operation: 43-8=35, Resulting Numbers: [75, 35] Generated Node #0,2,0: 80:[75, 35] Operation: 43-8=35 Exploring Operation: 75-43=32, Resulting Numbers: [8, 32] Generated Node #0,2,1: 80:[8, 32] Operation: 75-43=32 Exploring Operation: 75+8=83, Resulting Numbers: [43, 83] Generated Node #0,2,2: 80:[43, 83] Operation: 75+8=83 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 80:[43, 83], Operations: ['16/2=8', '75+8=83'] Exploring Operation: 43+83=126, Resulting Numbers: [126] 126,80 unequal: No Solution Exploring Operation: 83-43=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 43*83=3569, Resulting Numbers: [3569] 3569,80 unequal: No Solution No 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: 80:[8, 32], Operations: ['16/2=8', '75-43=32'] Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,80 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,80 unequal: No Solution No 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: 80:[75, 35], Operations: ['16/2=8', '43-8=35'] Exploring Operation: 75+35=110, Resulting Numbers: [110] 110,80 unequal: No Solution Exploring Operation: 75*35=2625, Resulting Numbers: [2625] 2625,80 unequal: No Solution Exploring Operation: 75-35=40, Resulting Numbers: [40] 40,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 63, 75, 14, 77 ]
66
[ "75-63=12", "77*12=924", "924/14=66" ]
Current State: 66:[63, 75, 14, 77], Operations: [] Exploring Operation: 75-63=12, Resulting Numbers: [14, 77, 12] Generated Node #2: [14, 77, 12] from Operation: 75-63=12 Current State: 66:[14, 77, 12], Operations: ['75-63=12'] Exploring Operation: 77*12=924, Resulting Numbers: [14, 924] Generated Node #3: [14, 924] from Operation: 77*12=924 Current State: 66:[14, 924], Operations: ['75-63=12', '77*12=924'] Exploring Operation: 924/14=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[63, 75, 14, 77], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [63, 14, 2] Generated Node #0,0: 66:[63, 14, 2] Operation: 77-75=2 Exploring Operation: 77-63=14, Resulting Numbers: [75, 14, 14] Generated Node #0,1: 66:[75, 14, 14] Operation: 77-63=14 Exploring Operation: 75-63=12, Resulting Numbers: [14, 77, 12] Generated Node #0,2: 66:[14, 77, 12] Operation: 75-63=12 Moving to Node #0,0 Current State: 66:[63, 14, 2], Operations: ['77-75=2'] Exploring Operation: 63+2=65, Resulting Numbers: [14, 65] Generated Node #0,0,0: 66:[14, 65] Operation: 63+2=65 Exploring Operation: 14/2=7, Resulting Numbers: [63, 7] Generated Node #0,0,1: 66:[63, 7] Operation: 14/2=7 Exploring Operation: 14-2=12, Resulting Numbers: [63, 12] Generated Node #0,0,2: 66:[63, 12] Operation: 14-2=12 Moving to Node #0,1 Current State: 66:[75, 14, 14], Operations: ['77-63=14'] Exploring Operation: 75-14=61, Resulting Numbers: [14, 61] Generated Node #0,1,0: 66:[14, 61] Operation: 75-14=61 Exploring Operation: 14/14=1, Resulting Numbers: [75, 1] Generated Node #0,1,1: 66:[75, 1] Operation: 14/14=1 Exploring Operation: 75-14=61, Resulting Numbers: [14, 61] Generated Node #0,1,2: 66:[14, 61] Operation: 75-14=61 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[14, 61], Operations: ['77-63=14', '75-14=61'] Exploring Operation: 14*61=854, Resulting Numbers: [854] 854,66 unequal: No Solution Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,66 unequal: No Solution Exploring Operation: 14+61=75, Resulting Numbers: [75] 75,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,1,2 Current State: 66:[14, 61], Operations: ['77-63=14', '75-14=61'] Exploring Operation: 14*61=854, Resulting Numbers: [854] 854,66 unequal: No Solution Exploring Operation: 14+61=75, Resulting Numbers: [75] 75,66 unequal: No Solution Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,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,1,1 Current State: 66:[75, 1], Operations: ['77-63=14', '14/14=1'] Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,66 unequal: No Solution Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,66 unequal: No Solution Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,66 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: 66:[14, 77, 12], Operations: ['75-63=12'] Exploring Operation: 77-12=65, Resulting Numbers: [14, 65] Generated Node #0,2,0: 66:[14, 65] Operation: 77-12=65 Exploring Operation: 14-12=2, Resulting Numbers: [77, 2] Generated Node #0,2,1: 66:[77, 2] Operation: 14-12=2 Exploring Operation: 77-14=63, Resulting Numbers: [12, 63] Generated Node #0,2,2: 66:[12, 63] Operation: 77-14=63 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 66:[14, 65], Operations: ['75-63=12', '77-12=65'] Exploring Operation: 14*65=910, Resulting Numbers: [910] 910,66 unequal: No Solution Exploring Operation: 14+65=79, Resulting Numbers: [79] 79,66 unequal: No Solution Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,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:[12, 63], Operations: ['75-63=12', '77-14=63'] Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,66 unequal: No Solution Exploring Operation: 12*63=756, Resulting Numbers: [756] 756,66 unequal: No Solution Exploring Operation: 12+63=75, Resulting Numbers: [75] 75,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:[77, 2], Operations: ['75-63=12', '14-12=2'] Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,66 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,66 unequal: No Solution Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 66:[14, 65], Operations: ['77-75=2', '63+2=65'] Exploring Operation: 14+65=79, Resulting Numbers: [79] 79,66 unequal: No Solution Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,66 unequal: No Solution Exploring Operation: 14*65=910, Resulting Numbers: [910] 910,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[63, 7], Operations: ['77-75=2', '14/2=7'] Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 63+7=70, Resulting Numbers: [70] 70,66 unequal: No Solution Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[63, 12], Operations: ['77-75=2', '14-2=12'] Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,66 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,66 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,66 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 44, 42, 47, 65 ]
20
[ "44-42=2", "65-47=18", "2+18=20" ]
Current State: 20:[44, 42, 47, 65], Operations: [] Exploring Operation: 44-42=2, Resulting Numbers: [47, 65, 2] Generated Node #2: [47, 65, 2] from Operation: 44-42=2 Current State: 20:[47, 65, 2], Operations: ['44-42=2'] Exploring Operation: 65-47=18, Resulting Numbers: [2, 18] Generated Node #3: [2, 18] from Operation: 65-47=18 Current State: 20:[2, 18], Operations: ['44-42=2', '65-47=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[44, 42, 47, 65], Operations: [] Exploring Operation: 65-42=23, Resulting Numbers: [44, 47, 23] Generated Node #0,0: 20:[44, 47, 23] Operation: 65-42=23 Exploring Operation: 47-44=3, Resulting Numbers: [42, 65, 3] Generated Node #0,1: 20:[42, 65, 3] Operation: 47-44=3 Exploring Operation: 65-47=18, Resulting Numbers: [44, 42, 18] Generated Node #0,2: 20:[44, 42, 18] Operation: 65-47=18 Exploring Operation: 65-44=21, Resulting Numbers: [42, 47, 21] Generated Node #0,3: 20:[42, 47, 21] Operation: 65-44=21 Moving to Node #0,2 Current State: 20:[44, 42, 18], Operations: ['65-47=18'] Exploring Operation: 44-18=26, Resulting Numbers: [42, 26] Generated Node #0,2,0: 20:[42, 26] Operation: 44-18=26 Exploring Operation: 44+18=62, Resulting Numbers: [42, 62] Generated Node #0,2,1: 20:[42, 62] Operation: 44+18=62 Exploring Operation: 42-18=24, Resulting Numbers: [44, 24] Generated Node #0,2,2: 20:[44, 24] Operation: 42-18=24 Exploring Operation: 44-42=2, Resulting Numbers: [18, 2] Generated Node #0,2,3: 20:[18, 2] Operation: 44-42=2 Moving to Node #0,3 Current State: 20:[42, 47, 21], Operations: ['65-44=21'] Exploring Operation: 42/21=2, Resulting Numbers: [47, 2] Generated Node #0,3,0: 20:[47, 2] Operation: 42/21=2 Exploring Operation: 47-42=5, Resulting Numbers: [21, 5] Generated Node #0,3,1: 20:[21, 5] Operation: 47-42=5 Exploring Operation: 47-21=26, Resulting Numbers: [42, 26] Generated Node #0,3,2: 20:[42, 26] Operation: 47-21=26 Exploring Operation: 42-21=21, Resulting Numbers: [47, 21] Generated Node #0,3,3: 20:[47, 21] Operation: 42-21=21 Moving to Node #0,0 Current State: 20:[44, 47, 23], Operations: ['65-42=23'] Exploring Operation: 44+47=91, Resulting Numbers: [23, 91] Generated Node #0,0,0: 20:[23, 91] Operation: 44+47=91 Exploring Operation: 47-44=3, Resulting Numbers: [23, 3] Generated Node #0,0,1: 20:[23, 3] Operation: 47-44=3 Exploring Operation: 44-23=21, Resulting Numbers: [47, 21] Generated Node #0,0,2: 20:[47, 21] Operation: 44-23=21 Exploring Operation: 47-23=24, Resulting Numbers: [44, 24] Generated Node #0,0,3: 20:[44, 24] Operation: 47-23=24 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[23, 3], Operations: ['65-42=23', '47-44=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,20 unequal: No Solution Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[44, 42, 47, 65], Operations: [] Exploring Operation: 65-42=23, Resulting Numbers: [44, 47, 23] Generated Node #0,0: 20:[44, 47, 23] Operation: 65-42=23 Moving to Node #0,0 Current State: 20:[44, 47, 23], Operations: ['65-42=23'] Exploring Operation: 47-44=3, Resulting Numbers: [23, 3] Generated Node #0,0,1: 20:[23, 3] Operation: 47-44=3 Moving to Node #0,0,1 Current State: 20:[23, 3], Operations: ['65-42=23', '47-44=3'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
sum_heuristic
[ 39, 36, 52, 81 ]
49
[ "36+81=117", "117/39=3", "52-3=49" ]
Current State: 49:[39, 36, 52, 81], Operations: [] Exploring Operation: 36+81=117, Resulting Numbers: [39, 52, 117] Generated Node #2: [39, 52, 117] from Operation: 36+81=117 Current State: 49:[39, 52, 117], Operations: ['36+81=117'] Exploring Operation: 117/39=3, Resulting Numbers: [52, 3] Generated Node #3: [52, 3] from Operation: 117/39=3 Current State: 49:[52, 3], Operations: ['36+81=117', '117/39=3'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[39, 36, 52, 81], Operations: [] Exploring Operation: 81-39=42, Resulting Numbers: [36, 52, 42] Generated Node #0,0: 49:[36, 52, 42] Operation: 81-39=42 Exploring Operation: 81-36=45, Resulting Numbers: [39, 52, 45] Generated Node #0,1: 49:[39, 52, 45] Operation: 81-36=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[39, 52, 45], Operations: ['81-36=45'] Exploring Operation: 52-39=13, Resulting Numbers: [45, 13] Generated Node #0,1,0: 49:[45, 13] Operation: 52-39=13 Exploring Operation: 45-39=6, Resulting Numbers: [52, 6] Generated Node #0,1,1: 49:[52, 6] Operation: 45-39=6 Moving to Node #0,1,1 Current State: 49:[52, 6], Operations: ['81-36=45', '45-39=6'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[45, 13], Operations: ['81-36=45', '52-39=13'] Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,49 unequal: No Solution Exploring Operation: 45+13=58, Resulting Numbers: [58] 58,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[36, 52, 42], Operations: ['81-39=42'] Exploring Operation: 42-36=6, Resulting Numbers: [52, 6] Generated Node #0,0,0: 49:[52, 6] Operation: 42-36=6 Exploring Operation: 52-36=16, Resulting Numbers: [42, 16] Generated Node #0,0,1: 49:[42, 16] Operation: 52-36=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[52, 6], Operations: ['81-39=42', '42-36=6'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[42, 16], Operations: ['81-39=42', '52-36=16'] Exploring Operation: 42+16=58, Resulting Numbers: [58] 58,49 unequal: No Solution Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 94, 75, 35, 92 ]
38
[ "94-75=19", "92-35=57", "57-19=38" ]
Current State: 38:[94, 75, 35, 92], Operations: [] Exploring Operation: 94-75=19, Resulting Numbers: [35, 92, 19] Generated Node #2: [35, 92, 19] from Operation: 94-75=19 Current State: 38:[35, 92, 19], Operations: ['94-75=19'] Exploring Operation: 92-35=57, Resulting Numbers: [19, 57] Generated Node #3: [19, 57] from Operation: 92-35=57 Current State: 38:[19, 57], Operations: ['94-75=19', '92-35=57'] Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[94, 75, 35, 92], Operations: [] Exploring Operation: 94-75=19, Resulting Numbers: [35, 92, 19] Generated Node #0,0: 38:[35, 92, 19] Operation: 94-75=19 Exploring Operation: 94-92=2, Resulting Numbers: [75, 35, 2] Generated Node #0,1: 38:[75, 35, 2] Operation: 94-92=2 Exploring Operation: 94-35=59, Resulting Numbers: [75, 92, 59] Generated Node #0,2: 38:[75, 92, 59] Operation: 94-35=59 Exploring Operation: 92-75=17, Resulting Numbers: [94, 35, 17] Generated Node #0,3: 38:[94, 35, 17] Operation: 92-75=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[75, 35, 2], Operations: ['94-92=2'] Exploring Operation: 75-2=73, Resulting Numbers: [35, 73] Generated Node #0,1,0: 38:[35, 73] Operation: 75-2=73 Exploring Operation: 75+2=77, Resulting Numbers: [35, 77] Generated Node #0,1,1: 38:[35, 77] Operation: 75+2=77 Exploring Operation: 35+2=37, Resulting Numbers: [75, 37] Generated Node #0,1,2: 38:[75, 37] Operation: 35+2=37 Exploring Operation: 75-35=40, Resulting Numbers: [2, 40] Generated Node #0,1,3: 38:[2, 40] Operation: 75-35=40 Moving to Node #0,1,3 Current State: 38:[2, 40], Operations: ['94-92=2', '75-35=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,38 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[94, 75, 35, 92], Operations: [] Exploring Operation: 94-92=2, Resulting Numbers: [75, 35, 2] Generated Node #0,1: 38:[75, 35, 2] Operation: 94-92=2 Moving to Node #0,1 Current State: 38:[75, 35, 2], Operations: ['94-92=2'] Exploring Operation: 75-35=40, Resulting Numbers: [2, 40] Generated Node #0,1,3: 38:[2, 40] Operation: 75-35=40 Moving to Node #0,1,3 Current State: 38:[2, 40], Operations: ['94-92=2', '75-35=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 55, 88, 2, 90 ]
56
[ "88+2=90", "90/90=1", "55+1=56" ]
Current State: 56:[55, 88, 2, 90], Operations: [] Exploring Operation: 88+2=90, Resulting Numbers: [55, 90, 90] Generated Node #2: [55, 90, 90] from Operation: 88+2=90 Current State: 56:[55, 90, 90], Operations: ['88+2=90'] Exploring Operation: 90/90=1, Resulting Numbers: [55, 1] Generated Node #3: [55, 1] from Operation: 90/90=1 Current State: 56:[55, 1], Operations: ['88+2=90', '90/90=1'] Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[55, 88, 2, 90], Operations: [] Exploring Operation: 88-55=33, Resulting Numbers: [2, 90, 33] Generated Node #0,0: 56:[2, 90, 33] Operation: 88-55=33 Exploring Operation: 90/2=45, Resulting Numbers: [55, 88, 45] Generated Node #0,1: 56:[55, 88, 45] Operation: 90/2=45 Exploring Operation: 90-88=2, Resulting Numbers: [55, 2, 2] Generated Node #0,2: 56:[55, 2, 2] Operation: 90-88=2 Exploring Operation: 90-55=35, Resulting Numbers: [88, 2, 35] Generated Node #0,3: 56:[88, 2, 35] Operation: 90-55=35 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[55, 2, 2], Operations: ['90-88=2'] Exploring Operation: 2*2=4, Resulting Numbers: [55, 4] Generated Node #0,2,0: 56:[55, 4] Operation: 2*2=4 Exploring Operation: 55+2=57, Resulting Numbers: [2, 57] Generated Node #0,2,1: 56:[2, 57] Operation: 55+2=57 Exploring Operation: 2+2=4, Resulting Numbers: [55, 4] Generated Node #0,2,2: 56:[55, 4] Operation: 2+2=4 Exploring Operation: 55+2=57, Resulting Numbers: [2, 57] Generated Node #0,2,3: 56:[2, 57] Operation: 55+2=57 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 56:[55, 4], Operations: ['90-88=2', '2*2=4'] Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,56 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,56 unequal: No Solution No 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: 56:[2, 57], Operations: ['90-88=2', '55+2=57'] Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,56 unequal: No Solution Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,56 unequal: No Solution No 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: 56:[55, 4], Operations: ['90-88=2', '2+2=4'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,56 unequal: No Solution Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,56 unequal: No Solution Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,56 unequal: No Solution No 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: 56:[2, 57], Operations: ['90-88=2', '55+2=57'] Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,56 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: 56:[2, 90, 33], Operations: ['88-55=33'] Exploring Operation: 90-2=88, Resulting Numbers: [33, 88] Generated Node #0,0,0: 56:[33, 88] Operation: 90-2=88 Exploring Operation: 33-2=31, Resulting Numbers: [90, 31] Generated Node #0,0,1: 56:[90, 31] Operation: 33-2=31 Exploring Operation: 90-33=57, Resulting Numbers: [2, 57] Generated Node #0,0,2: 56:[2, 57] Operation: 90-33=57 Exploring Operation: 90/2=45, Resulting Numbers: [33, 45] Generated Node #0,0,3: 56:[33, 45] Operation: 90/2=45 Moving to Node #0,0,2 Current State: 56:[2, 57], Operations: ['88-55=33', '90-33=57'] Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,56 unequal: No Solution Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,56 unequal: No Solution Moving to Node #0,0,3 Current State: 56:[33, 45], Operations: ['88-55=33', '90/2=45'] Exploring Operation: 33*45=1485, Resulting Numbers: [1485] 1485,56 unequal: No Solution Exploring Operation: 33+45=78, Resulting Numbers: [78] 78,56 unequal: No Solution Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[90, 31], Operations: ['88-55=33', '33-2=31'] Exploring Operation: 90-31=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 90+31=121, Resulting Numbers: [121] 121,56 unequal: No Solution Exploring Operation: 90*31=2790, Resulting Numbers: [2790] 2790,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[33, 88], Operations: ['88-55=33', '90-2=88'] Exploring Operation: 33+88=121, Resulting Numbers: [121] 121,56 unequal: No Solution Exploring Operation: 33*88=2904, Resulting Numbers: [2904] 2904,56 unequal: No Solution Exploring Operation: 88-33=55, Resulting Numbers: [55] 55,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 56:[88, 2, 35], Operations: ['90-55=35'] Exploring Operation: 88/2=44, Resulting Numbers: [35, 44] Generated Node #0,3,0: 56:[35, 44] Operation: 88/2=44 Exploring Operation: 35-2=33, Resulting Numbers: [88, 33] Generated Node #0,3,1: 56:[88, 33] Operation: 35-2=33 Exploring Operation: 88-35=53, Resulting Numbers: [2, 53] Generated Node #0,3,2: 56:[2, 53] Operation: 88-35=53 Exploring Operation: 88-2=86, Resulting Numbers: [35, 86] Generated Node #0,3,3: 56:[35, 86] Operation: 88-2=86 Moving to Node #0,3,2 Current State: 56:[2, 53], Operations: ['90-55=35', '88-35=53'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,56 unequal: No Solution Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,56 unequal: No Solution Moving to Node #0,3,0 Current State: 56:[35, 44], Operations: ['90-55=35', '88/2=44'] Exploring Operation: 35+44=79, Resulting Numbers: [79] 79,56 unequal: No Solution Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 35*44=1540, Resulting Numbers: [1540] 1540,56 unequal: No Solution Moving to Node #0,3,3 Current State: 56:[35, 86], Operations: ['90-55=35', '88-2=86'] Exploring Operation: 86-35=51, Resulting Numbers: [51] 51,56 unequal: No Solution Exploring Operation: 35+86=121, Resulting Numbers: [121] 121,56 unequal: No Solution Exploring Operation: 35*86=3010, Resulting Numbers: [3010] 3010,56 unequal: No Solution Moving to Node #0,3,1 Current State: 56:[88, 33], Operations: ['90-55=35', '35-2=33'] Exploring Operation: 88*33=2904, Resulting Numbers: [2904] 2904,56 unequal: No Solution Exploring Operation: 88-33=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 88+33=121, Resulting Numbers: [121] 121,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[55, 88, 45], Operations: ['90/2=45'] Exploring Operation: 55-45=10, Resulting Numbers: [88, 10] Generated Node #0,1,0: 56:[88, 10] Operation: 55-45=10 Exploring Operation: 88-45=43, Resulting Numbers: [55, 43] Generated Node #0,1,1: 56:[55, 43] Operation: 88-45=43 Exploring Operation: 88-55=33, Resulting Numbers: [45, 33] Generated Node #0,1,2: 56:[45, 33] Operation: 88-55=33 Exploring Operation: 55+45=100, Resulting Numbers: [88, 100] Generated Node #0,1,3: 56:[88, 100] Operation: 55+45=100 Moving to Node #0,1,1 Current State: 56:[55, 43], Operations: ['90/2=45', '88-45=43'] Exploring Operation: 55-43=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 55+43=98, Resulting Numbers: [98] 98,56 unequal: No Solution Exploring Operation: 55*43=2365, Resulting Numbers: [2365] 2365,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[45, 33], Operations: ['90/2=45', '88-55=33'] Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 45*33=1485, Resulting Numbers: [1485] 1485,56 unequal: No Solution Exploring Operation: 45+33=78, Resulting Numbers: [78] 78,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[88, 10], Operations: ['90/2=45', '55-45=10'] Exploring Operation: 88+10=98, Resulting Numbers: [98] 98,56 unequal: No Solution Exploring Operation: 88*10=880, Resulting Numbers: [880] 880,56 unequal: No Solution Exploring Operation: 88-10=78, Resulting Numbers: [78] 78,56 unequal: No Solution Moving to Node #0,1,3 Current State: 56:[88, 100], Operations: ['90/2=45', '55+45=100'] Exploring Operation: 88*100=8800, Resulting Numbers: [8800] 8800,56 unequal: No Solution Exploring Operation: 100-88=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 88+100=188, Resulting Numbers: [188] 188,56 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
[ 45, 5, 64, 7 ]
97
[ "45-5=40", "64-7=57", "40+57=97" ]
Current State: 97:[45, 5, 64, 7], Operations: [] Exploring Operation: 45-5=40, Resulting Numbers: [64, 7, 40] Generated Node #2: [64, 7, 40] from Operation: 45-5=40 Current State: 97:[64, 7, 40], Operations: ['45-5=40'] Exploring Operation: 64-7=57, Resulting Numbers: [40, 57] Generated Node #3: [40, 57] from Operation: 64-7=57 Current State: 97:[40, 57], Operations: ['45-5=40', '64-7=57'] Exploring Operation: 40+57=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[45, 5, 64, 7], Operations: [] Exploring Operation: 45+5=50, Resulting Numbers: [64, 7, 50] Generated Node #0,0: 97:[64, 7, 50] Operation: 45+5=50 Exploring Operation: 5*7=35, Resulting Numbers: [45, 64, 35] Generated Node #0,1: 97:[45, 64, 35] Operation: 5*7=35 Exploring Operation: 45+7=52, Resulting Numbers: [5, 64, 52] Generated Node #0,2: 97:[5, 64, 52] Operation: 45+7=52 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[45, 64, 35], Operations: ['5*7=35'] Exploring Operation: 45+64=109, Resulting Numbers: [35, 109] Generated Node #0,1,0: 97:[35, 109] Operation: 45+64=109 Exploring Operation: 64+35=99, Resulting Numbers: [45, 99] Generated Node #0,1,1: 97:[45, 99] Operation: 64+35=99 Exploring Operation: 45+35=80, Resulting Numbers: [64, 80] Generated Node #0,1,2: 97:[64, 80] Operation: 45+35=80 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 97:[64, 80], Operations: ['5*7=35', '45+35=80'] Exploring Operation: 64+80=144, Resulting Numbers: [144] 144,97 unequal: No Solution Exploring Operation: 64*80=5120, Resulting Numbers: [5120] 5120,97 unequal: No Solution Exploring Operation: 80-64=16, Resulting Numbers: [16] 16,97 unequal: No Solution No 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: 97:[45, 99], Operations: ['5*7=35', '64+35=99'] Exploring Operation: 45+99=144, Resulting Numbers: [144] 144,97 unequal: No Solution Exploring Operation: 45*99=4455, Resulting Numbers: [4455] 4455,97 unequal: No Solution Exploring Operation: 99-45=54, Resulting Numbers: [54] 54,97 unequal: No Solution No 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: 97:[35, 109], Operations: ['5*7=35', '45+64=109'] Exploring Operation: 35+109=144, Resulting Numbers: [144] 144,97 unequal: No Solution Exploring Operation: 35*109=3815, Resulting Numbers: [3815] 3815,97 unequal: No Solution Exploring Operation: 109-35=74, Resulting Numbers: [74] 74,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[64, 7, 50], Operations: ['45+5=50'] Exploring Operation: 7+50=57, Resulting Numbers: [64, 57] Generated Node #0,0,0: 97:[64, 57] Operation: 7+50=57 Exploring Operation: 64+7=71, Resulting Numbers: [50, 71] Generated Node #0,0,1: 97:[50, 71] Operation: 64+7=71 Exploring Operation: 64-7=57, Resulting Numbers: [50, 57] Generated Node #0,0,2: 97:[50, 57] Operation: 64-7=57 Moving to Node #0,0,0 Current State: 97:[64, 57], Operations: ['45+5=50', '7+50=57'] Exploring Operation: 64-57=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 64+57=121, Resulting Numbers: [121] 121,97 unequal: No Solution Exploring Operation: 64*57=3648, Resulting Numbers: [3648] 3648,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[50, 71], Operations: ['45+5=50', '64+7=71'] Exploring Operation: 71-50=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 50+71=121, Resulting Numbers: [121] 121,97 unequal: No Solution Exploring Operation: 50*71=3550, Resulting Numbers: [3550] 3550,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[50, 57], Operations: ['45+5=50', '64-7=57'] Exploring Operation: 50+57=107, Resulting Numbers: [107] 107,97 unequal: No Solution Exploring Operation: 50*57=2850, Resulting Numbers: [2850] 2850,97 unequal: No Solution Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[5, 64, 52], Operations: ['45+7=52'] Exploring Operation: 64-5=59, Resulting Numbers: [52, 59] Generated Node #0,2,0: 97:[52, 59] Operation: 64-5=59 Exploring Operation: 5+52=57, Resulting Numbers: [64, 57] Generated Node #0,2,1: 97:[64, 57] Operation: 5+52=57 Exploring Operation: 5+64=69, Resulting Numbers: [52, 69] Generated Node #0,2,2: 97:[52, 69] Operation: 5+64=69 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[64, 57], Operations: ['45+7=52', '5+52=57'] Exploring Operation: 64*57=3648, Resulting Numbers: [3648] 3648,97 unequal: No Solution Exploring Operation: 64-57=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 64+57=121, Resulting Numbers: [121] 121,97 unequal: No Solution No 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: 97:[52, 69], Operations: ['45+7=52', '5+64=69'] Exploring Operation: 52*69=3588, Resulting Numbers: [3588] 3588,97 unequal: No Solution Exploring Operation: 52+69=121, Resulting Numbers: [121] 121,97 unequal: No Solution Exploring Operation: 69-52=17, Resulting Numbers: [17] 17,97 unequal: No Solution No 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: 97:[52, 59], Operations: ['45+7=52', '64-5=59'] Exploring Operation: 59-52=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 52+59=111, Resulting Numbers: [111] 111,97 unequal: No Solution Exploring Operation: 52*59=3068, Resulting Numbers: [3068] 3068,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 73, 2, 98, 27 ]
54
[ "73-2=71", "98+27=125", "125-71=54" ]
Current State: 54:[73, 2, 98, 27], Operations: [] Exploring Operation: 73-2=71, Resulting Numbers: [98, 27, 71] Generated Node #2: [98, 27, 71] from Operation: 73-2=71 Current State: 54:[98, 27, 71], Operations: ['73-2=71'] Exploring Operation: 98+27=125, Resulting Numbers: [71, 125] Generated Node #3: [71, 125] from Operation: 98+27=125 Current State: 54:[71, 125], Operations: ['73-2=71', '98+27=125'] Exploring Operation: 125-71=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[73, 2, 98, 27], Operations: [] Exploring Operation: 98-73=25, Resulting Numbers: [2, 27, 25] Generated Node #0,0: 54:[2, 27, 25] Operation: 98-73=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[2, 27, 25], Operations: ['98-73=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27, 27] Generated Node #0,0,0: 54:[27, 27] Operation: 2+25=27 Moving to Node #0,0,0 Current State: 54:[27, 27], Operations: ['98-73=25', '2+25=27'] Exploring Operation: 27+27=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[73, 2, 98, 27], Operations: [] Exploring Operation: 98-73=25, Resulting Numbers: [2, 27, 25] Generated Node #0,0: 54:[2, 27, 25] Operation: 98-73=25 Moving to Node #0,0 Current State: 54:[2, 27, 25], Operations: ['98-73=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27, 27] Generated Node #0,0,0: 54:[27, 27] Operation: 2+25=27 Moving to Node #0,0,0 Current State: 54:[27, 27], Operations: ['98-73=25', '2+25=27'] Exploring Operation: 27+27=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 51, 40, 12, 80 ]
80
[ "51-40=11", "12-11=1", "80*1=80" ]
Current State: 80:[51, 40, 12, 80], Operations: [] Exploring Operation: 51-40=11, Resulting Numbers: [12, 80, 11] Generated Node #2: [12, 80, 11] from Operation: 51-40=11 Current State: 80:[12, 80, 11], Operations: ['51-40=11'] Exploring Operation: 12-11=1, Resulting Numbers: [80, 1] Generated Node #3: [80, 1] from Operation: 12-11=1 Current State: 80:[80, 1], Operations: ['51-40=11', '12-11=1'] Exploring Operation: 80*1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[51, 40, 12, 80], Operations: [] Exploring Operation: 51-12=39, Resulting Numbers: [40, 80, 39] Generated Node #0,0: 80:[40, 80, 39] Operation: 51-12=39 Exploring Operation: 51-40=11, Resulting Numbers: [12, 80, 11] Generated Node #0,1: 80:[12, 80, 11] Operation: 51-40=11 Moving to Node #0,0 Current State: 80:[40, 80, 39], Operations: ['51-12=39'] Exploring Operation: 80/40=2, Resulting Numbers: [39, 2] Generated Node #0,0,0: 80:[39, 2] Operation: 80/40=2 Exploring Operation: 80-40=40, Resulting Numbers: [39, 40] Generated Node #0,0,1: 80:[39, 40] Operation: 80-40=40 Moving to Node #0,1 Current State: 80:[12, 80, 11], Operations: ['51-40=11'] Exploring Operation: 12-11=1, Resulting Numbers: [80, 1] Generated Node #0,1,0: 80:[80, 1] Operation: 12-11=1 Exploring Operation: 12+11=23, Resulting Numbers: [80, 23] Generated Node #0,1,1: 80:[80, 23] Operation: 12+11=23 Moving to Node #0,0,0 Current State: 80:[39, 2], Operations: ['51-12=39', '80/40=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,80 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[80, 1], Operations: ['51-40=11', '12-11=1'] Exploring Operation: 80/1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[51, 40, 12, 80], Operations: [] Exploring Operation: 51-40=11, Resulting Numbers: [12, 80, 11] Generated Node #0,1: 80:[12, 80, 11] Operation: 51-40=11 Moving to Node #0,1 Current State: 80:[12, 80, 11], Operations: ['51-40=11'] Exploring Operation: 12-11=1, Resulting Numbers: [80, 1] Generated Node #0,1,0: 80:[80, 1] Operation: 12-11=1 Moving to Node #0,1,0 Current State: 80:[80, 1], Operations: ['51-40=11', '12-11=1'] Exploring Operation: 80/1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.988715
hs_2
mult_heuristic
[ 5, 56, 11, 23 ]
95
[ "5+56=61", "11+23=34", "61+34=95" ]
Current State: 95:[5, 56, 11, 23], Operations: [] Exploring Operation: 5+56=61, Resulting Numbers: [11, 23, 61] Generated Node #2: [11, 23, 61] from Operation: 5+56=61 Current State: 95:[11, 23, 61], Operations: ['5+56=61'] Exploring Operation: 11+23=34, Resulting Numbers: [61, 34] Generated Node #3: [61, 34] from Operation: 11+23=34 Current State: 95:[61, 34], Operations: ['5+56=61', '11+23=34'] Exploring Operation: 61+34=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[5, 56, 11, 23], Operations: [] Exploring Operation: 56-23=33, Resulting Numbers: [5, 11, 33] Generated Node #0,0: 95:[5, 11, 33] Operation: 56-23=33 Exploring Operation: 56-11=45, Resulting Numbers: [5, 23, 45] Generated Node #0,1: 95:[5, 23, 45] Operation: 56-11=45 Exploring Operation: 56+23=79, Resulting Numbers: [5, 11, 79] Generated Node #0,2: 95:[5, 11, 79] Operation: 56+23=79 Moving to Node #0,0 Current State: 95:[5, 11, 33], Operations: ['56-23=33'] Exploring Operation: 33-11=22, Resulting Numbers: [5, 22] Generated Node #0,0,0: 95:[5, 22] Operation: 33-11=22 Exploring Operation: 11-5=6, Resulting Numbers: [33, 6] Generated Node #0,0,1: 95:[33, 6] Operation: 11-5=6 Exploring Operation: 33/11=3, Resulting Numbers: [5, 3] Generated Node #0,0,2: 95:[5, 3] Operation: 33/11=3 Moving to Node #0,2 Current State: 95:[5, 11, 79], Operations: ['56+23=79'] Exploring Operation: 11-5=6, Resulting Numbers: [79, 6] Generated Node #0,2,0: 95:[79, 6] Operation: 11-5=6 Exploring Operation: 11+79=90, Resulting Numbers: [5, 90] Generated Node #0,2,1: 95:[5, 90] Operation: 11+79=90 Exploring Operation: 5+79=84, Resulting Numbers: [11, 84] Generated Node #0,2,2: 95:[11, 84] Operation: 5+79=84 Moving to Node #0,1 Current State: 95:[5, 23, 45], Operations: ['56-11=45'] Exploring Operation: 45-5=40, Resulting Numbers: [23, 40] Generated Node #0,1,0: 95:[23, 40] Operation: 45-5=40 Exploring Operation: 45-23=22, Resulting Numbers: [5, 22] Generated Node #0,1,1: 95:[5, 22] Operation: 45-23=22 Exploring Operation: 45/5=9, Resulting Numbers: [23, 9] Generated Node #0,1,2: 95:[23, 9] Operation: 45/5=9 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[5, 22], Operations: ['56-11=45', '45-23=22'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 5*22=110, Resulting Numbers: [110] 110,95 unequal: No Solution Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 95:[23, 9], Operations: ['56-11=45', '45/5=9'] Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,95 unequal: No Solution Exploring Operation: 23*9=207, Resulting Numbers: [207] 207,95 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[23, 40], Operations: ['56-11=45', '45-5=40'] Exploring Operation: 23+40=63, Resulting Numbers: [63] 63,95 unequal: No Solution Exploring Operation: 23*40=920, Resulting Numbers: [920] 920,95 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,95 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: 95:[5, 3], Operations: ['56-23=33', '33/11=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,95 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[5, 22], Operations: ['56-23=33', '33-11=22'] Exploring Operation: 5*22=110, Resulting Numbers: [110] 110,95 unequal: No Solution Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,95 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,95 unequal: No Solution Moving to Node #0,2,1 Current State: 95:[5, 90], Operations: ['56+23=79', '11+79=90'] Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,95 unequal: No Solution Exploring Operation: 5+90=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[5, 56, 11, 23], Operations: [] Exploring Operation: 56+23=79, Resulting Numbers: [5, 11, 79] Generated Node #0,2: 95:[5, 11, 79] Operation: 56+23=79 Moving to Node #0,2 Current State: 95:[5, 11, 79], Operations: ['56+23=79'] Exploring Operation: 11+79=90, Resulting Numbers: [5, 90] Generated Node #0,2,1: 95:[5, 90] Operation: 11+79=90 Moving to Node #0,2,1 Current State: 95:[5, 90], Operations: ['56+23=79', '11+79=90'] Exploring Operation: 5+90=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.971354
hs_3
sum_heuristic
[ 80, 26, 82, 81 ]
28
[ "80+82=162", "162/81=2", "26+2=28" ]
Current State: 28:[80, 26, 82, 81], Operations: [] Exploring Operation: 80+82=162, Resulting Numbers: [26, 81, 162] Generated Node #2: [26, 81, 162] from Operation: 80+82=162 Current State: 28:[26, 81, 162], Operations: ['80+82=162'] Exploring Operation: 162/81=2, Resulting Numbers: [26, 2] Generated Node #3: [26, 2] from Operation: 162/81=2 Current State: 28:[26, 2], Operations: ['80+82=162', '162/81=2'] Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[80, 26, 82, 81], Operations: [] Exploring Operation: 82-80=2, Resulting Numbers: [26, 81, 2] Generated Node #0,0: 28:[26, 81, 2] Operation: 82-80=2 Exploring Operation: 82-81=1, Resulting Numbers: [80, 26, 1] Generated Node #0,1: 28:[80, 26, 1] Operation: 82-81=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[26, 81, 2], Operations: ['82-80=2'] Exploring Operation: 26+2=28, Resulting Numbers: [81, 28] Generated Node #0,0,0: 28:[81, 28] Operation: 26+2=28 Exploring Operation: 81-26=55, Resulting Numbers: [2, 55] Generated Node #0,0,1: 28:[2, 55] Operation: 81-26=55 Moving to Node #0,0,1 Current State: 28:[2, 55], Operations: ['82-80=2', '81-26=55'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,28 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[81, 28], Operations: ['82-80=2', '26+2=28'] Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,28 unequal: No Solution Exploring Operation: 81+28=109, Resulting Numbers: [109] 109,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[80, 26, 1], Operations: ['82-81=1'] Exploring Operation: 80-1=79, Resulting Numbers: [26, 79] Generated Node #0,1,0: 28:[26, 79] Operation: 80-1=79 Exploring Operation: 80-26=54, Resulting Numbers: [1, 54] Generated Node #0,1,1: 28:[1, 54] Operation: 80-26=54 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[1, 54], Operations: ['82-81=1', '80-26=54'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,28 unequal: No Solution Exploring Operation: 1*54=54, Resulting Numbers: [54] 54,28 unequal: No Solution No 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: 28:[26, 79], Operations: ['82-81=1', '80-1=79'] Exploring Operation: 26+79=105, Resulting Numbers: [105] 105,28 unequal: No Solution Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,28 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
[ 92, 50, 24, 41 ]
77
[ "92+50=142", "24+41=65", "142-65=77" ]
Current State: 77:[92, 50, 24, 41], Operations: [] Exploring Operation: 92+50=142, Resulting Numbers: [24, 41, 142] Generated Node #2: [24, 41, 142] from Operation: 92+50=142 Current State: 77:[24, 41, 142], Operations: ['92+50=142'] Exploring Operation: 24+41=65, Resulting Numbers: [142, 65] Generated Node #3: [142, 65] from Operation: 24+41=65 Current State: 77:[142, 65], Operations: ['92+50=142', '24+41=65'] Exploring Operation: 142-65=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[92, 50, 24, 41], Operations: [] Exploring Operation: 41-24=17, Resulting Numbers: [92, 50, 17] Generated Node #0,0: 77:[92, 50, 17] Operation: 41-24=17 Exploring Operation: 50-41=9, Resulting Numbers: [92, 24, 9] Generated Node #0,1: 77:[92, 24, 9] Operation: 50-41=9 Exploring Operation: 50+24=74, Resulting Numbers: [92, 41, 74] Generated Node #0,2: 77:[92, 41, 74] Operation: 50+24=74 Exploring Operation: 50+41=91, Resulting Numbers: [92, 24, 91] Generated Node #0,3: 77:[92, 24, 91] Operation: 50+41=91 Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[92, 24, 9], Operations: ['50-41=9'] Exploring Operation: 92-24=68, Resulting Numbers: [9, 68] Generated Node #0,1,0: 77:[9, 68] Operation: 92-24=68 Exploring Operation: 92+9=101, Resulting Numbers: [24, 101] Generated Node #0,1,1: 77:[24, 101] Operation: 92+9=101 Exploring Operation: 92-9=83, Resulting Numbers: [24, 83] Generated Node #0,1,2: 77:[24, 83] Operation: 92-9=83 Exploring Operation: 24-9=15, Resulting Numbers: [92, 15] Generated Node #0,1,3: 77:[92, 15] Operation: 24-9=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 77:[9, 68], Operations: ['50-41=9', '92-24=68'] Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,77 unequal: No Solution Exploring Operation: 9*68=612, Resulting Numbers: [612] 612,77 unequal: No Solution Exploring Operation: 9+68=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[92, 50, 24, 41], Operations: [] Exploring Operation: 50-41=9, Resulting Numbers: [92, 24, 9] Generated Node #0,1: 77:[92, 24, 9] Operation: 50-41=9 Moving to Node #0,1 Current State: 77:[92, 24, 9], Operations: ['50-41=9'] Exploring Operation: 92-24=68, Resulting Numbers: [9, 68] Generated Node #0,1,0: 77:[9, 68] Operation: 92-24=68 Moving to Node #0,1,0 Current State: 77:[9, 68], Operations: ['50-41=9', '92-24=68'] Exploring Operation: 9+68=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 4, 51, 1, 69 ]
22
[ "51-4=47", "1*69=69", "69-47=22" ]
Current State: 22:[4, 51, 1, 69], Operations: [] Exploring Operation: 51-4=47, Resulting Numbers: [1, 69, 47] Generated Node #2: [1, 69, 47] from Operation: 51-4=47 Current State: 22:[1, 69, 47], Operations: ['51-4=47'] Exploring Operation: 1*69=69, Resulting Numbers: [47, 69] Generated Node #3: [47, 69] from Operation: 1*69=69 Current State: 22:[47, 69], Operations: ['51-4=47', '1*69=69'] Exploring Operation: 69-47=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[4, 51, 1, 69], Operations: [] Exploring Operation: 69-51=18, Resulting Numbers: [4, 1, 18] Generated Node #0,0: 22:[4, 1, 18] Operation: 69-51=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[4, 1, 18], Operations: ['69-51=18'] Exploring Operation: 4+18=22, Resulting Numbers: [1, 22] Generated Node #0,0,0: 22:[1, 22] Operation: 4+18=22 Moving to Node #0,0,0 Current State: 22:[1, 22], Operations: ['69-51=18', '4+18=22'] Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[4, 51, 1, 69], Operations: [] Exploring Operation: 69-51=18, Resulting Numbers: [4, 1, 18] Generated Node #0,0: 22:[4, 1, 18] Operation: 69-51=18 Moving to Node #0,0 Current State: 22:[4, 1, 18], Operations: ['69-51=18'] Exploring Operation: 4+18=22, Resulting Numbers: [1, 22] Generated Node #0,0,0: 22:[1, 22] Operation: 4+18=22 Moving to Node #0,0,0 Current State: 22:[1, 22], Operations: ['69-51=18', '4+18=22'] Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 45, 20, 26, 33 ]
84
[ "45-20=25", "26+33=59", "25+59=84" ]
Current State: 84:[45, 20, 26, 33], Operations: [] Exploring Operation: 45-20=25, Resulting Numbers: [26, 33, 25] Generated Node #2: [26, 33, 25] from Operation: 45-20=25 Current State: 84:[26, 33, 25], Operations: ['45-20=25'] Exploring Operation: 26+33=59, Resulting Numbers: [25, 59] Generated Node #3: [25, 59] from Operation: 26+33=59 Current State: 84:[25, 59], Operations: ['45-20=25', '26+33=59'] Exploring Operation: 25+59=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[45, 20, 26, 33], Operations: [] Exploring Operation: 45-33=12, Resulting Numbers: [20, 26, 12] Generated Node #0,0: 84:[20, 26, 12] Operation: 45-33=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[20, 26, 12], Operations: ['45-33=12'] Exploring Operation: 26-20=6, Resulting Numbers: [12, 6] Generated Node #0,0,0: 84:[12, 6] Operation: 26-20=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[12, 6], Operations: ['45-33=12', '26-20=6'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 16, 68, 48, 4 ]
11
[ "68-48=20", "20/4=5", "16-5=11" ]
Current State: 11:[16, 68, 48, 4], Operations: [] Exploring Operation: 68-48=20, Resulting Numbers: [16, 4, 20] Generated Node #2: [16, 4, 20] from Operation: 68-48=20 Current State: 11:[16, 4, 20], Operations: ['68-48=20'] Exploring Operation: 20/4=5, Resulting Numbers: [16, 5] Generated Node #3: [16, 5] from Operation: 20/4=5 Current State: 11:[16, 5], Operations: ['68-48=20', '20/4=5'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[16, 68, 48, 4], Operations: [] Exploring Operation: 68-16=52, Resulting Numbers: [48, 4, 52] Generated Node #0,0: 11:[48, 4, 52] Operation: 68-16=52 Exploring Operation: 68-48=20, Resulting Numbers: [16, 4, 20] Generated Node #0,1: 11:[16, 4, 20] Operation: 68-48=20 Exploring Operation: 48/16=3, Resulting Numbers: [68, 4, 3] Generated Node #0,2: 11:[68, 4, 3] Operation: 48/16=3 Exploring Operation: 68/4=17, Resulting Numbers: [16, 48, 17] Generated Node #0,3: 11:[16, 48, 17] Operation: 68/4=17 Exploring Operation: 48/4=12, Resulting Numbers: [16, 68, 12] Generated Node #0,4: 11:[16, 68, 12] Operation: 48/4=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[16, 4, 20], Operations: ['68-48=20'] Exploring Operation: 20-16=4, Resulting Numbers: [4, 4] Generated Node #0,1,0: 11:[4, 4] Operation: 20-16=4 Exploring Operation: 16/4=4, Resulting Numbers: [20, 4] Generated Node #0,1,1: 11:[20, 4] Operation: 16/4=4 Exploring Operation: 20-4=16, Resulting Numbers: [16, 16] Generated Node #0,1,2: 11:[16, 16] Operation: 20-4=16 Exploring Operation: 20/4=5, Resulting Numbers: [16, 5] Generated Node #0,1,3: 11:[16, 5] Operation: 20/4=5 Exploring Operation: 16-4=12, Resulting Numbers: [20, 12] Generated Node #0,1,4: 11:[20, 12] Operation: 16-4=12 Moving to Node #0,1,2 Current State: 11:[16, 16], Operations: ['68-48=20', '20-4=16'] Exploring Operation: 16*16=256, Resulting Numbers: [256] 256,11 unequal: No Solution Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,11 unequal: No Solution Moving to Node #0,1,4 Current State: 11:[20, 12], Operations: ['68-48=20', '16-4=12'] Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,11 unequal: No Solution Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 20*12=240, Resulting Numbers: [240] 240,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[16, 5], Operations: ['68-48=20', '20/4=5'] Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,11 unequal: No Solution Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[16, 68, 48, 4], Operations: [] Exploring Operation: 68-48=20, Resulting Numbers: [16, 4, 20] Generated Node #0,1: 11:[16, 4, 20] Operation: 68-48=20 Moving to Node #0,1 Current State: 11:[16, 4, 20], Operations: ['68-48=20'] Exploring Operation: 20/4=5, Resulting Numbers: [16, 5] Generated Node #0,1,3: 11:[16, 5] Operation: 20/4=5 Moving to Node #0,1,3 Current State: 11:[16, 5], Operations: ['68-48=20', '20/4=5'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 48, 4, 30, 34 ]
58
[ "48+30=78", "4*34=136", "136-78=58" ]
Current State: 58:[48, 4, 30, 34], Operations: [] Exploring Operation: 48+30=78, Resulting Numbers: [4, 34, 78] Generated Node #2: [4, 34, 78] from Operation: 48+30=78 Current State: 58:[4, 34, 78], Operations: ['48+30=78'] Exploring Operation: 4*34=136, Resulting Numbers: [78, 136] Generated Node #3: [78, 136] from Operation: 4*34=136 Current State: 58:[78, 136], Operations: ['48+30=78', '4*34=136'] Exploring Operation: 136-78=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[48, 4, 30, 34], Operations: [] Exploring Operation: 34-4=30, Resulting Numbers: [48, 30, 30] Generated Node #0,0: 58:[48, 30, 30] Operation: 34-4=30 Exploring Operation: 34-30=4, Resulting Numbers: [48, 4, 4] Generated Node #0,1: 58:[48, 4, 4] Operation: 34-30=4 Exploring Operation: 48+4=52, Resulting Numbers: [30, 34, 52] Generated Node #0,2: 58:[30, 34, 52] Operation: 48+4=52 Exploring Operation: 48-34=14, Resulting Numbers: [4, 30, 14] Generated Node #0,3: 58:[4, 30, 14] Operation: 48-34=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[48, 30, 30], Operations: ['34-4=30'] Exploring Operation: 48-30=18, Resulting Numbers: [30, 18] Generated Node #0,0,0: 58:[30, 18] Operation: 48-30=18 Exploring Operation: 48-30=18, Resulting Numbers: [30, 18] Generated Node #0,0,1: 58:[30, 18] Operation: 48-30=18 Exploring Operation: 30+30=60, Resulting Numbers: [48, 60] Generated Node #0,0,2: 58:[48, 60] Operation: 30+30=60 Exploring Operation: 30/30=1, Resulting Numbers: [48, 1] Generated Node #0,0,3: 58:[48, 1] Operation: 30/30=1 Moving to Node #0,0,3 Current State: 58:[48, 1], Operations: ['34-4=30', '30/30=1'] Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,58 unequal: No Solution Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[30, 18], Operations: ['34-4=30', '48-30=18'] Exploring Operation: 30+18=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,58 unequal: No Solution Exploring Operation: 30*18=540, Resulting Numbers: [540] 540,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[30, 18], Operations: ['34-4=30', '48-30=18'] Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,58 unequal: No Solution Exploring Operation: 30+18=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 30*18=540, Resulting Numbers: [540] 540,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[48, 60], Operations: ['34-4=30', '30+30=60'] Exploring Operation: 48+60=108, Resulting Numbers: [108] 108,58 unequal: No Solution Exploring Operation: 48*60=2880, Resulting Numbers: [2880] 2880,58 unequal: No Solution Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,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,2 Current State: 58:[30, 34, 52], Operations: ['48+4=52'] Exploring Operation: 34-30=4, Resulting Numbers: [52, 4] Generated Node #0,2,0: 58:[52, 4] Operation: 34-30=4 Exploring Operation: 30+34=64, Resulting Numbers: [52, 64] Generated Node #0,2,1: 58:[52, 64] Operation: 30+34=64 Exploring Operation: 52-30=22, Resulting Numbers: [34, 22] Generated Node #0,2,2: 58:[34, 22] Operation: 52-30=22 Exploring Operation: 52-34=18, Resulting Numbers: [30, 18] Generated Node #0,2,3: 58:[30, 18] Operation: 52-34=18 Moving to Node #0,2,0 Current State: 58:[52, 4], Operations: ['48+4=52', '34-30=4'] Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,58 unequal: No Solution Exploring Operation: 52*4=208, Resulting Numbers: [208] 208,58 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[34, 22], Operations: ['48+4=52', '52-30=22'] Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,58 unequal: No Solution Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,58 unequal: No Solution Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[52, 64], Operations: ['48+4=52', '30+34=64'] Exploring Operation: 52*64=3328, Resulting Numbers: [3328] 3328,58 unequal: No Solution Exploring Operation: 52+64=116, Resulting Numbers: [116] 116,58 unequal: No Solution Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,58 unequal: No Solution Moving to Node #0,2,3 Current State: 58:[30, 18], Operations: ['48+4=52', '52-34=18'] Exploring Operation: 30*18=540, Resulting Numbers: [540] 540,58 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,58 unequal: No Solution Exploring Operation: 30+18=48, Resulting Numbers: [48] 48,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:[48, 4, 4], Operations: ['34-30=4'] Exploring Operation: 4/4=1, Resulting Numbers: [48, 1] Generated Node #0,1,0: 58:[48, 1] Operation: 4/4=1 Exploring Operation: 48+4=52, Resulting Numbers: [4, 52] Generated Node #0,1,1: 58:[4, 52] Operation: 48+4=52 Exploring Operation: 48/4=12, Resulting Numbers: [4, 12] Generated Node #0,1,2: 58:[4, 12] Operation: 48/4=12 Exploring Operation: 48+4=52, Resulting Numbers: [4, 52] Generated Node #0,1,3: 58:[4, 52] Operation: 48+4=52 Moving to Node #0,1,1 Current State: 58:[4, 52], Operations: ['34-30=4', '48+4=52'] Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,58 unequal: No Solution Exploring Operation: 4*52=208, Resulting Numbers: [208] 208,58 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,58 unequal: No Solution Moving to Node #0,1,3 Current State: 58:[4, 52], Operations: ['34-30=4', '48+4=52'] Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 4*52=208, Resulting Numbers: [208] 208,58 unequal: No Solution Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,58 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[48, 1], Operations: ['34-30=4', '4/4=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,58 unequal: No Solution Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[4, 12], Operations: ['34-30=4', '48/4=12'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,58 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,58 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,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,3 Current State: 58:[4, 30, 14], Operations: ['48-34=14'] Exploring Operation: 4*14=56, Resulting Numbers: [30, 56] Generated Node #0,3,0: 58:[30, 56] Operation: 4*14=56 Exploring Operation: 14-4=10, Resulting Numbers: [30, 10] Generated Node #0,3,1: 58:[30, 10] Operation: 14-4=10 Exploring Operation: 4+14=18, Resulting Numbers: [30, 18] Generated Node #0,3,2: 58:[30, 18] Operation: 4+14=18 Exploring Operation: 30-4=26, Resulting Numbers: [14, 26] Generated Node #0,3,3: 58:[14, 26] Operation: 30-4=26 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 58:[30, 56], Operations: ['48-34=14', '4*14=56'] Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,58 unequal: No Solution Exploring Operation: 30+56=86, Resulting Numbers: [86] 86,58 unequal: No Solution Exploring Operation: 30*56=1680, Resulting Numbers: [1680] 1680,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,3,1 Current State: 58:[30, 10], Operations: ['48-34=14', '14-4=10'] Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,58 unequal: No Solution Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,58 unequal: No Solution Exploring Operation: 30*10=300, Resulting Numbers: [300] 300,58 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,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,3,2 Current State: 58:[30, 18], Operations: ['48-34=14', '4+14=18'] Exploring Operation: 30+18=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 30*18=540, Resulting Numbers: [540] 540,58 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,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,3,3 Current State: 58:[14, 26], Operations: ['48-34=14', '30-4=26'] Exploring Operation: 14*26=364, Resulting Numbers: [364] 364,58 unequal: No Solution Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,58 unequal: No Solution Exploring Operation: 14+26=40, Resulting Numbers: [40] 40,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_4
sum_heuristic
[ 92, 78, 33, 41 ]
22
[ "92-78=14", "41-33=8", "14+8=22" ]
Current State: 22:[92, 78, 33, 41], Operations: [] Exploring Operation: 92-78=14, Resulting Numbers: [33, 41, 14] Generated Node #2: [33, 41, 14] from Operation: 92-78=14 Current State: 22:[33, 41, 14], Operations: ['92-78=14'] Exploring Operation: 41-33=8, Resulting Numbers: [14, 8] Generated Node #3: [14, 8] from Operation: 41-33=8 Current State: 22:[14, 8], Operations: ['92-78=14', '41-33=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[92, 78, 33, 41], Operations: [] Exploring Operation: 92-78=14, Resulting Numbers: [33, 41, 14] Generated Node #0,0: 22:[33, 41, 14] Operation: 92-78=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[33, 41, 14], Operations: ['92-78=14'] Exploring Operation: 41-33=8, Resulting Numbers: [14, 8] Generated Node #0,0,0: 22:[14, 8] Operation: 41-33=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[14, 8], Operations: ['92-78=14', '41-33=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[92, 78, 33, 41], Operations: [] Exploring Operation: 92-78=14, Resulting Numbers: [33, 41, 14] Generated Node #0,0: 22:[33, 41, 14] Operation: 92-78=14 Moving to Node #0,0 Current State: 22:[33, 41, 14], Operations: ['92-78=14'] Exploring Operation: 41-33=8, Resulting Numbers: [14, 8] Generated Node #0,0,0: 22:[14, 8] Operation: 41-33=8 Moving to Node #0,0,0 Current State: 22:[14, 8], Operations: ['92-78=14', '41-33=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 97, 94, 91, 4 ]
96
[ "97+94=191", "91+4=95", "191-95=96" ]
Current State: 96:[97, 94, 91, 4], Operations: [] Exploring Operation: 97+94=191, Resulting Numbers: [91, 4, 191] Generated Node #2: [91, 4, 191] from Operation: 97+94=191 Current State: 96:[91, 4, 191], Operations: ['97+94=191'] Exploring Operation: 91+4=95, Resulting Numbers: [191, 95] Generated Node #3: [191, 95] from Operation: 91+4=95 Current State: 96:[191, 95], Operations: ['97+94=191', '91+4=95'] Exploring Operation: 191-95=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[97, 94, 91, 4], Operations: [] Exploring Operation: 94-91=3, Resulting Numbers: [97, 4, 3] Generated Node #0,0: 96:[97, 4, 3] Operation: 94-91=3 Exploring Operation: 91+4=95, Resulting Numbers: [97, 94, 95] Generated Node #0,1: 96:[97, 94, 95] Operation: 91+4=95 Exploring Operation: 97-94=3, Resulting Numbers: [91, 4, 3] Generated Node #0,2: 96:[91, 4, 3] Operation: 97-94=3 Exploring Operation: 97-91=6, Resulting Numbers: [94, 4, 6] Generated Node #0,3: 96:[94, 4, 6] Operation: 97-91=6 Moving to Node #0,0 Current State: 96:[97, 4, 3], Operations: ['94-91=3'] Exploring Operation: 97-3=94, Resulting Numbers: [4, 94] Generated Node #0,0,0: 96:[4, 94] Operation: 97-3=94 Exploring Operation: 4+3=7, Resulting Numbers: [97, 7] Generated Node #0,0,1: 96:[97, 7] Operation: 4+3=7 Exploring Operation: 4*3=12, Resulting Numbers: [97, 12] Generated Node #0,0,2: 96:[97, 12] Operation: 4*3=12 Exploring Operation: 4-3=1, Resulting Numbers: [97, 1] Generated Node #0,0,3: 96:[97, 1] Operation: 4-3=1 Moving to Node #0,3 Current State: 96:[94, 4, 6], Operations: ['97-91=6'] Exploring Operation: 94+6=100, Resulting Numbers: [4, 100] Generated Node #0,3,0: 96:[4, 100] Operation: 94+6=100 Exploring Operation: 94+4=98, Resulting Numbers: [6, 98] Generated Node #0,3,1: 96:[6, 98] Operation: 94+4=98 Exploring Operation: 6-4=2, Resulting Numbers: [94, 2] Generated Node #0,3,2: 96:[94, 2] Operation: 6-4=2 Exploring Operation: 4*6=24, Resulting Numbers: [94, 24] Generated Node #0,3,3: 96:[94, 24] Operation: 4*6=24 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 96:[6, 98], Operations: ['97-91=6', '94+4=98'] Exploring Operation: 98-6=92, Resulting Numbers: [92] 92,96 unequal: No Solution Exploring Operation: 6*98=588, Resulting Numbers: [588] 588,96 unequal: No Solution Exploring Operation: 6+98=104, Resulting Numbers: [104] 104,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,3,2 Current State: 96:[94, 2], Operations: ['97-91=6', '6-4=2'] Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,96 unequal: No Solution Exploring Operation: 94+2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[97, 94, 91, 4], Operations: [] Exploring Operation: 97-91=6, Resulting Numbers: [94, 4, 6] Generated Node #0,3: 96:[94, 4, 6] Operation: 97-91=6 Moving to Node #0,3 Current State: 96:[94, 4, 6], Operations: ['97-91=6'] Exploring Operation: 6-4=2, Resulting Numbers: [94, 2] Generated Node #0,3,2: 96:[94, 2] Operation: 6-4=2 Moving to Node #0,3,2 Current State: 96:[94, 2], Operations: ['97-91=6', '6-4=2'] Exploring Operation: 94+2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
sum_heuristic
[ 8, 92, 28, 7 ]
22
[ "92+28=120", "120/8=15", "7+15=22" ]
Current State: 22:[8, 92, 28, 7], Operations: [] Exploring Operation: 92+28=120, Resulting Numbers: [8, 7, 120] Generated Node #2: [8, 7, 120] from Operation: 92+28=120 Current State: 22:[8, 7, 120], Operations: ['92+28=120'] Exploring Operation: 120/8=15, Resulting Numbers: [7, 15] Generated Node #3: [7, 15] from Operation: 120/8=15 Current State: 22:[7, 15], Operations: ['92+28=120', '120/8=15'] Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[8, 92, 28, 7], Operations: [] Exploring Operation: 28-7=21, Resulting Numbers: [8, 92, 21] Generated Node #0,0: 22:[8, 92, 21] Operation: 28-7=21 Exploring Operation: 92-28=64, Resulting Numbers: [8, 7, 64] Generated Node #0,1: 22:[8, 7, 64] Operation: 92-28=64 Exploring Operation: 92-8=84, Resulting Numbers: [28, 7, 84] Generated Node #0,2: 22:[28, 7, 84] Operation: 92-8=84 Exploring Operation: 92-7=85, Resulting Numbers: [8, 28, 85] Generated Node #0,3: 22:[8, 28, 85] Operation: 92-7=85 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[8, 7, 64], Operations: ['92-28=64'] Exploring Operation: 64-8=56, Resulting Numbers: [7, 56] Generated Node #0,1,0: 22:[7, 56] Operation: 64-8=56 Exploring Operation: 64-7=57, Resulting Numbers: [8, 57] Generated Node #0,1,1: 22:[8, 57] Operation: 64-7=57 Exploring Operation: 8-7=1, Resulting Numbers: [64, 1] Generated Node #0,1,2: 22:[64, 1] Operation: 8-7=1 Exploring Operation: 64/8=8, Resulting Numbers: [7, 8] Generated Node #0,1,3: 22:[7, 8] Operation: 64/8=8 Moving to Node #0,1,3 Current State: 22:[7, 8], Operations: ['92-28=64', '64/8=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,22 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,22 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[8, 57], Operations: ['92-28=64', '64-7=57'] Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,22 unequal: No Solution Exploring Operation: 8+57=65, Resulting Numbers: [65] 65,22 unequal: No Solution Exploring Operation: 8*57=456, Resulting Numbers: [456] 456,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[7, 56], Operations: ['92-28=64', '64-8=56'] Exploring Operation: 7*56=392, Resulting Numbers: [392] 392,22 unequal: No Solution Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 7+56=63, Resulting Numbers: [63] 63,22 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,22 unequal: No Solution Moving to Node #0,1,2 Current State: 22:[64, 1], Operations: ['92-28=64', '8-7=1'] Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,22 unequal: No Solution Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,22 unequal: No Solution Exploring Operation: 64+1=65, Resulting Numbers: [65] 65,22 unequal: No Solution Exploring Operation: 64/1=64, Resulting Numbers: [64] 64,22 unequal: No Solution No 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: 22:[28, 7, 84], Operations: ['92-8=84'] Exploring Operation: 84-28=56, Resulting Numbers: [7, 56] Generated Node #0,2,0: 22:[7, 56] Operation: 84-28=56 Exploring Operation: 84/28=3, Resulting Numbers: [7, 3] Generated Node #0,2,1: 22:[7, 3] Operation: 84/28=3 Exploring Operation: 84/7=12, Resulting Numbers: [28, 12] Generated Node #0,2,2: 22:[28, 12] Operation: 84/7=12 Exploring Operation: 84-7=77, Resulting Numbers: [28, 77] Generated Node #0,2,3: 22:[28, 77] Operation: 84-7=77 Moving to Node #0,2,1 Current State: 22:[7, 3], Operations: ['92-8=84', '84/28=3'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[28, 12], Operations: ['92-8=84', '84/7=12'] Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 28*12=336, Resulting Numbers: [336] 336,22 unequal: No Solution Exploring Operation: 28+12=40, Resulting Numbers: [40] 40,22 unequal: No Solution Moving to Node #0,2,0 Current State: 22:[7, 56], Operations: ['92-8=84', '84-28=56'] Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,22 unequal: No Solution Exploring Operation: 7+56=63, Resulting Numbers: [63] 63,22 unequal: No Solution Exploring Operation: 7*56=392, Resulting Numbers: [392] 392,22 unequal: No Solution Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,22 unequal: No Solution Moving to Node #0,2,3 Current State: 22:[28, 77], Operations: ['92-8=84', '84-7=77'] Exploring Operation: 28*77=2156, Resulting Numbers: [2156] 2156,22 unequal: No Solution Exploring Operation: 77-28=49, Resulting Numbers: [49] 49,22 unequal: No Solution Exploring Operation: 28+77=105, Resulting Numbers: [105] 105,22 unequal: No Solution No 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: 22:[8, 28, 85], Operations: ['92-7=85'] Exploring Operation: 85-28=57, Resulting Numbers: [8, 57] Generated Node #0,3,0: 22:[8, 57] Operation: 85-28=57 Exploring Operation: 28-8=20, Resulting Numbers: [85, 20] Generated Node #0,3,1: 22:[85, 20] Operation: 28-8=20 Exploring Operation: 8+28=36, Resulting Numbers: [85, 36] Generated Node #0,3,2: 22:[85, 36] Operation: 8+28=36 Exploring Operation: 85-8=77, Resulting Numbers: [28, 77] Generated Node #0,3,3: 22:[28, 77] Operation: 85-8=77 Moving to Node #0,3,0 Current State: 22:[8, 57], Operations: ['92-7=85', '85-28=57'] Exploring Operation: 8*57=456, Resulting Numbers: [456] 456,22 unequal: No Solution Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,22 unequal: No Solution Exploring Operation: 8+57=65, Resulting Numbers: [65] 65,22 unequal: No Solution Moving to Node #0,3,3 Current State: 22:[28, 77], Operations: ['92-7=85', '85-8=77'] Exploring Operation: 77-28=49, Resulting Numbers: [49] 49,22 unequal: No Solution Exploring Operation: 28*77=2156, Resulting Numbers: [2156] 2156,22 unequal: No Solution Exploring Operation: 28+77=105, Resulting Numbers: [105] 105,22 unequal: No Solution Moving to Node #0,3,1 Current State: 22:[85, 20], Operations: ['92-7=85', '28-8=20'] Exploring Operation: 85-20=65, Resulting Numbers: [65] 65,22 unequal: No Solution Exploring Operation: 85+20=105, Resulting Numbers: [105] 105,22 unequal: No Solution Exploring Operation: 85*20=1700, Resulting Numbers: [1700] 1700,22 unequal: No Solution Moving to Node #0,3,2 Current State: 22:[85, 36], Operations: ['92-7=85', '8+28=36'] Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,22 unequal: No Solution Exploring Operation: 85+36=121, Resulting Numbers: [121] 121,22 unequal: No Solution Exploring Operation: 85*36=3060, Resulting Numbers: [3060] 3060,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[8, 92, 21], Operations: ['28-7=21'] Exploring Operation: 8+21=29, Resulting Numbers: [92, 29] Generated Node #0,0,0: 22:[92, 29] Operation: 8+21=29 Exploring Operation: 92-8=84, Resulting Numbers: [21, 84] Generated Node #0,0,1: 22:[21, 84] Operation: 92-8=84 Exploring Operation: 21-8=13, Resulting Numbers: [92, 13] Generated Node #0,0,2: 22:[92, 13] Operation: 21-8=13 Exploring Operation: 92-21=71, Resulting Numbers: [8, 71] Generated Node #0,0,3: 22:[8, 71] Operation: 92-21=71 Moving to Node #0,0,3 Current State: 22:[8, 71], Operations: ['28-7=21', '92-21=71'] Exploring Operation: 8+71=79, Resulting Numbers: [79] 79,22 unequal: No Solution Exploring Operation: 8*71=568, Resulting Numbers: [568] 568,22 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[21, 84], Operations: ['28-7=21', '92-8=84'] Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,22 unequal: No Solution Exploring Operation: 21*84=1764, Resulting Numbers: [1764] 1764,22 unequal: No Solution Exploring Operation: 21+84=105, Resulting Numbers: [105] 105,22 unequal: No Solution Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[92, 13], Operations: ['28-7=21', '21-8=13'] Exploring Operation: 92+13=105, Resulting Numbers: [105] 105,22 unequal: No Solution Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,22 unequal: No Solution Exploring Operation: 92*13=1196, Resulting Numbers: [1196] 1196,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[92, 29], Operations: ['28-7=21', '8+21=29'] Exploring Operation: 92-29=63, Resulting Numbers: [63] 63,22 unequal: No Solution Exploring Operation: 92*29=2668, Resulting Numbers: [2668] 2668,22 unequal: No Solution Exploring Operation: 92+29=121, Resulting Numbers: [121] 121,22 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
[ 32, 10, 8, 12 ]
52
[ "32*10=320", "320/8=40", "12+40=52" ]
Current State: 52:[32, 10, 8, 12], Operations: [] Exploring Operation: 32*10=320, Resulting Numbers: [8, 12, 320] Generated Node #2: [8, 12, 320] from Operation: 32*10=320 Current State: 52:[8, 12, 320], Operations: ['32*10=320'] Exploring Operation: 320/8=40, Resulting Numbers: [12, 40] Generated Node #3: [12, 40] from Operation: 320/8=40 Current State: 52:[12, 40], Operations: ['32*10=320', '320/8=40'] Exploring Operation: 12+40=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[32, 10, 8, 12], Operations: [] Exploring Operation: 32/8=4, Resulting Numbers: [10, 12, 4] Generated Node #0,0: 52:[10, 12, 4] Operation: 32/8=4 Moving to Node #0,0 Current State: 52:[10, 12, 4], Operations: ['32/8=4'] Exploring Operation: 12-10=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 52:[4, 2] Operation: 12-10=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[4, 2], Operations: ['32/8=4', '12-10=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,52 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
[ 90, 42, 3, 10 ]
30
[ "90/10=9", "42-3=39", "39-9=30" ]
Current State: 30:[90, 42, 3, 10], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [42, 3, 9] Generated Node #2: [42, 3, 9] from Operation: 90/10=9 Current State: 30:[42, 3, 9], Operations: ['90/10=9'] Exploring Operation: 42-3=39, Resulting Numbers: [9, 39] Generated Node #3: [9, 39] from Operation: 42-3=39 Current State: 30:[9, 39], Operations: ['90/10=9', '42-3=39'] Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[90, 42, 3, 10], Operations: [] Exploring Operation: 90-10=80, Resulting Numbers: [42, 3, 80] Generated Node #0,0: 30:[42, 3, 80] Operation: 90-10=80 Exploring Operation: 90/10=9, Resulting Numbers: [42, 3, 9] Generated Node #0,1: 30:[42, 3, 9] Operation: 90/10=9 Exploring Operation: 42/3=14, Resulting Numbers: [90, 10, 14] Generated Node #0,2: 30:[90, 10, 14] Operation: 42/3=14 Exploring Operation: 90-42=48, Resulting Numbers: [3, 10, 48] Generated Node #0,3: 30:[3, 10, 48] Operation: 90-42=48 Exploring Operation: 90/3=30, Resulting Numbers: [42, 10, 30] Generated Node #0,4: 30:[42, 10, 30] Operation: 90/3=30 Start Sub Search at level 1: Moving to Node #0,4 Current State: 30:[42, 10, 30], Operations: ['90/3=30'] Exploring Operation: 42-30=12, Resulting Numbers: [10, 12] Generated Node #0,4,0: 30:[10, 12] Operation: 42-30=12 Exploring Operation: 42+10=52, Resulting Numbers: [30, 52] Generated Node #0,4,1: 30:[30, 52] Operation: 42+10=52 Exploring Operation: 30-10=20, Resulting Numbers: [42, 20] Generated Node #0,4,2: 30:[42, 20] Operation: 30-10=20 Exploring Operation: 30/10=3, Resulting Numbers: [42, 3] Generated Node #0,4,3: 30:[42, 3] Operation: 30/10=3 Exploring Operation: 42-10=32, Resulting Numbers: [30, 32] Generated Node #0,4,4: 30:[30, 32] Operation: 42-10=32 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 30:[10, 12], Operations: ['90/3=30', '42-30=12'] Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,30 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,30 unequal: No Solution No 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: 30:[30, 32], Operations: ['90/3=30', '42-10=32'] Exploring Operation: 30+32=62, Resulting Numbers: [62] 62,30 unequal: No Solution Exploring Operation: 30*32=960, Resulting Numbers: [960] 960,30 unequal: No Solution Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,30 unequal: No Solution No 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: 30:[42, 3], Operations: ['90/3=30', '30/10=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,30 unequal: No Solution Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,30 unequal: No Solution Exploring Operation: 42*3=126, Resulting Numbers: [126] 126,30 unequal: No Solution No 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: 30:[42, 20], Operations: ['90/3=30', '30-10=20'] Exploring Operation: 42*20=840, Resulting Numbers: [840] 840,30 unequal: No Solution Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,30 unequal: No Solution Exploring Operation: 42+20=62, Resulting Numbers: [62] 62,30 unequal: No Solution No 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: 30:[30, 52], Operations: ['90/3=30', '42+10=52'] Exploring Operation: 30*52=1560, Resulting Numbers: [1560] 1560,30 unequal: No Solution Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,30 unequal: No Solution Exploring Operation: 30+52=82, Resulting Numbers: [82] 82,30 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: 30:[42, 3, 9], Operations: ['90/10=9'] Exploring Operation: 42-3=39, Resulting Numbers: [9, 39] Generated Node #0,1,0: 30:[9, 39] Operation: 42-3=39 Exploring Operation: 42-9=33, Resulting Numbers: [3, 33] Generated Node #0,1,1: 30:[3, 33] Operation: 42-9=33 Exploring Operation: 42/3=14, Resulting Numbers: [9, 14] Generated Node #0,1,2: 30:[9, 14] Operation: 42/3=14 Exploring Operation: 9/3=3, Resulting Numbers: [42, 3] Generated Node #0,1,3: 30:[42, 3] Operation: 9/3=3 Exploring Operation: 9-3=6, Resulting Numbers: [42, 6] Generated Node #0,1,4: 30:[42, 6] Operation: 9-3=6 Moving to Node #0,1,2 Current State: 30:[9, 14], Operations: ['90/10=9', '42/3=14'] Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,30 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[3, 33], Operations: ['90/10=9', '42-9=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[90, 42, 3, 10], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [42, 3, 9] Generated Node #0,1: 30:[42, 3, 9] Operation: 90/10=9 Moving to Node #0,1 Current State: 30:[42, 3, 9], Operations: ['90/10=9'] Exploring Operation: 42-9=33, Resulting Numbers: [3, 33] Generated Node #0,1,1: 30:[3, 33] Operation: 42-9=33 Moving to Node #0,1,1 Current State: 30:[3, 33], Operations: ['90/10=9', '42-9=33'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_5
sum_heuristic
[ 39, 96, 36, 38 ]
66
[ "39*96=3744", "3744/36=104", "104-38=66" ]
Current State: 66:[39, 96, 36, 38], Operations: [] Exploring Operation: 39*96=3744, Resulting Numbers: [36, 38, 3744] Generated Node #2: [36, 38, 3744] from Operation: 39*96=3744 Current State: 66:[36, 38, 3744], Operations: ['39*96=3744'] Exploring Operation: 3744/36=104, Resulting Numbers: [38, 104] Generated Node #3: [38, 104] from Operation: 3744/36=104 Current State: 66:[38, 104], Operations: ['39*96=3744', '3744/36=104'] Exploring Operation: 104-38=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[39, 96, 36, 38], Operations: [] Exploring Operation: 96-39=57, Resulting Numbers: [36, 38, 57] Generated Node #0,0: 66:[36, 38, 57] Operation: 96-39=57 Exploring Operation: 39-36=3, Resulting Numbers: [96, 38, 3] Generated Node #0,1: 66:[96, 38, 3] Operation: 39-36=3 Exploring Operation: 39-38=1, Resulting Numbers: [96, 36, 1] Generated Node #0,2: 66:[96, 36, 1] Operation: 39-38=1 Exploring Operation: 96-36=60, Resulting Numbers: [39, 38, 60] Generated Node #0,3: 66:[39, 38, 60] Operation: 96-36=60 Exploring Operation: 96-38=58, Resulting Numbers: [39, 36, 58] Generated Node #0,4: 66:[39, 36, 58] Operation: 96-38=58 Moving to Node #0,0 Current State: 66:[36, 38, 57], Operations: ['96-39=57'] Exploring Operation: 36+57=93, Resulting Numbers: [38, 93] Generated Node #0,0,0: 66:[38, 93] Operation: 36+57=93 Exploring Operation: 57-36=21, Resulting Numbers: [38, 21] Generated Node #0,0,1: 66:[38, 21] Operation: 57-36=21 Exploring Operation: 36+38=74, Resulting Numbers: [57, 74] Generated Node #0,0,2: 66:[57, 74] Operation: 36+38=74 Exploring Operation: 38-36=2, Resulting Numbers: [57, 2] Generated Node #0,0,3: 66:[57, 2] Operation: 38-36=2 Exploring Operation: 57-38=19, Resulting Numbers: [36, 19] Generated Node #0,0,4: 66:[36, 19] Operation: 57-38=19 Moving to Node #0,4 Current State: 66:[39, 36, 58], Operations: ['96-38=58'] Exploring Operation: 39+58=97, Resulting Numbers: [36, 97] Generated Node #0,4,0: 66:[36, 97] Operation: 39+58=97 Exploring Operation: 58-36=22, Resulting Numbers: [39, 22] Generated Node #0,4,1: 66:[39, 22] Operation: 58-36=22 Exploring Operation: 39-36=3, Resulting Numbers: [58, 3] Generated Node #0,4,2: 66:[58, 3] Operation: 39-36=3 Exploring Operation: 39+36=75, Resulting Numbers: [58, 75] Generated Node #0,4,3: 66:[58, 75] Operation: 39+36=75 Exploring Operation: 58-39=19, Resulting Numbers: [36, 19] Generated Node #0,4,4: 66:[36, 19] Operation: 58-39=19 Moving to Node #0,3 Current State: 66:[39, 38, 60], Operations: ['96-36=60'] Exploring Operation: 60-38=22, Resulting Numbers: [39, 22] Generated Node #0,3,0: 66:[39, 22] Operation: 60-38=22 Exploring Operation: 39-38=1, Resulting Numbers: [60, 1] Generated Node #0,3,1: 66:[60, 1] Operation: 39-38=1 Exploring Operation: 60-39=21, Resulting Numbers: [38, 21] Generated Node #0,3,2: 66:[38, 21] Operation: 60-39=21 Exploring Operation: 39+38=77, Resulting Numbers: [60, 77] Generated Node #0,3,3: 66:[60, 77] Operation: 39+38=77 Exploring Operation: 39+60=99, Resulting Numbers: [38, 99] Generated Node #0,3,4: 66:[38, 99] Operation: 39+60=99 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 66:[39, 22], Operations: ['96-36=60', '60-38=22'] Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 39*22=858, Resulting Numbers: [858] 858,66 unequal: No Solution Exploring Operation: 39+22=61, Resulting Numbers: [61] 61,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,3,2 Current State: 66:[38, 21], Operations: ['96-36=60', '60-39=21'] Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,66 unequal: No Solution Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 38*21=798, Resulting Numbers: [798] 798,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,3,1 Current State: 66:[60, 1], Operations: ['96-36=60', '39-38=1'] Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,66 unequal: No Solution Exploring Operation: 60+1=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,66 unequal: No Solution Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,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,3,3 Current State: 66:[60, 77], Operations: ['96-36=60', '39+38=77'] Exploring Operation: 60+77=137, Resulting Numbers: [137] 137,66 unequal: No Solution Exploring Operation: 60*77=4620, Resulting Numbers: [4620] 4620,66 unequal: No Solution Exploring Operation: 77-60=17, Resulting Numbers: [17] 17,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,3,4 Current State: 66:[38, 99], Operations: ['96-36=60', '39+60=99'] Exploring Operation: 38+99=137, Resulting Numbers: [137] 137,66 unequal: No Solution Exploring Operation: 99-38=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 38*99=3762, Resulting Numbers: [3762] 3762,66 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: 66:[96, 36, 1], Operations: ['39-38=1'] Exploring Operation: 96*1=96, Resulting Numbers: [36, 96] Generated Node #0,2,0: 66:[36, 96] Operation: 96*1=96 Exploring Operation: 96/1=96, Resulting Numbers: [36, 96] Generated Node #0,2,1: 66:[36, 96] Operation: 96/1=96 Exploring Operation: 36-1=35, Resulting Numbers: [96, 35] Generated Node #0,2,2: 66:[96, 35] Operation: 36-1=35 Exploring Operation: 96-36=60, Resulting Numbers: [1, 60] Generated Node #0,2,3: 66:[1, 60] Operation: 96-36=60 Exploring Operation: 96-1=95, Resulting Numbers: [36, 95] Generated Node #0,2,4: 66:[36, 95] Operation: 96-1=95 Moving to Node #0,1 Current State: 66:[96, 38, 3], Operations: ['39-36=3'] Exploring Operation: 96/3=32, Resulting Numbers: [38, 32] Generated Node #0,1,0: 66:[38, 32] Operation: 96/3=32 Exploring Operation: 38-3=35, Resulting Numbers: [96, 35] Generated Node #0,1,1: 66:[96, 35] Operation: 38-3=35 Exploring Operation: 96+3=99, Resulting Numbers: [38, 99] Generated Node #0,1,2: 66:[38, 99] Operation: 96+3=99 Exploring Operation: 96-38=58, Resulting Numbers: [3, 58] Generated Node #0,1,3: 66:[3, 58] Operation: 96-38=58 Exploring Operation: 96-3=93, Resulting Numbers: [38, 93] Generated Node #0,1,4: 66:[38, 93] Operation: 96-3=93 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[38, 32], Operations: ['39-36=3', '96/3=32'] Exploring Operation: 38*32=1216, Resulting Numbers: [1216] 1216,66 unequal: No Solution Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 38+32=70, Resulting Numbers: [70] 70,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,1,3 Current State: 66:[3, 58], Operations: ['39-36=3', '96-38=58'] Exploring Operation: 3*58=174, Resulting Numbers: [174] 174,66 unequal: No Solution Exploring Operation: 3+58=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,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,1,1 Current State: 66:[96, 35], Operations: ['39-36=3', '38-3=35'] Exploring Operation: 96-35=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 96*35=3360, Resulting Numbers: [3360] 3360,66 unequal: No Solution Exploring Operation: 96+35=131, Resulting Numbers: [131] 131,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,1,4 Current State: 66:[38, 93], Operations: ['39-36=3', '96-3=93'] Exploring Operation: 38+93=131, Resulting Numbers: [131] 131,66 unequal: No Solution Exploring Operation: 93-38=55, Resulting Numbers: [55] 55,66 unequal: No Solution Exploring Operation: 38*93=3534, Resulting Numbers: [3534] 3534,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,1,2 Current State: 66:[38, 99], Operations: ['39-36=3', '96+3=99'] Exploring Operation: 99-38=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 38+99=137, Resulting Numbers: [137] 137,66 unequal: No Solution Exploring Operation: 38*99=3762, Resulting Numbers: [3762] 3762,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 66:[38, 21], Operations: ['96-39=57', '57-36=21'] Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 38*21=798, Resulting Numbers: [798] 798,66 unequal: No Solution Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,66 unequal: No Solution Moving to Node #0,4,1 Current State: 66:[39, 22], Operations: ['96-38=58', '58-36=22'] Exploring Operation: 39*22=858, Resulting Numbers: [858] 858,66 unequal: No Solution Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 39+22=61, Resulting Numbers: [61] 61,66 unequal: No Solution Moving to Node #0,4,4 Current State: 66:[36, 19], Operations: ['96-38=58', '58-39=19'] Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,66 unequal: No Solution Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,66 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,66 unequal: No Solution Moving to Node #0,0,4 Current State: 66:[36, 19], Operations: ['96-39=57', '57-38=19'] Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,66 unequal: No Solution Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,66 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,66 unequal: No Solution Moving to Node #0,2,3 Current State: 66:[1, 60], Operations: ['39-38=1', '96-36=60'] Exploring Operation: 1*60=60, Resulting Numbers: [60] 60,66 unequal: No Solution Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,66 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,66 unequal: No Solution Exploring Operation: 1+60=61, Resulting Numbers: [61] 61,66 unequal: No Solution Moving to Node #0,4,2 Current State: 66:[58, 3], Operations: ['96-38=58', '39-36=3'] Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 58*3=174, Resulting Numbers: [174] 174,66 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,66 unequal: No Solution Moving to Node #0,0,3 Current State: 66:[57, 2], Operations: ['96-39=57', '38-36=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,66 unequal: No Solution Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,66 unequal: No Solution Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,66 unequal: No Solution Moving to Node #0,4,3 Current State: 66:[58, 75], Operations: ['96-38=58', '39+36=75'] Exploring Operation: 58*75=4350, Resulting Numbers: [4350] 4350,66 unequal: No Solution Exploring Operation: 58+75=133, Resulting Numbers: [133] 133,66 unequal: No Solution Exploring Operation: 75-58=17, Resulting Numbers: [17] 17,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[57, 74], Operations: ['96-39=57', '36+38=74'] Exploring Operation: 57+74=131, Resulting Numbers: [131] 131,66 unequal: No Solution Exploring Operation: 57*74=4218, Resulting Numbers: [4218] 4218,66 unequal: No Solution Exploring Operation: 74-57=17, Resulting Numbers: [17] 17,66 unequal: No Solution Moving to Node #0,2,4 Current State: 66:[36, 95], Operations: ['39-38=1', '96-1=95'] Exploring Operation: 36+95=131, Resulting Numbers: [131] 131,66 unequal: No Solution Exploring Operation: 95-36=59, Resulting Numbers: [59] 59,66 unequal: No Solution Exploring Operation: 36*95=3420, Resulting Numbers: [3420] 3420,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[38, 93], Operations: ['96-39=57', '36+57=93'] Exploring Operation: 93-38=55, Resulting Numbers: [55] 55,66 unequal: No Solution Exploring Operation: 38*93=3534, Resulting Numbers: [3534] 3534,66 unequal: No Solution Exploring Operation: 38+93=131, Resulting Numbers: [131] 131,66 unequal: No Solution Moving to Node #0,2,2 Current State: 66:[96, 35], Operations: ['39-38=1', '36-1=35'] Exploring Operation: 96*35=3360, Resulting Numbers: [3360] 3360,66 unequal: No Solution Exploring Operation: 96+35=131, Resulting Numbers: [131] 131,66 unequal: No Solution Exploring Operation: 96-35=61, Resulting Numbers: [61] 61,66 unequal: No Solution Moving to Node #0,2,0 Current State: 66:[36, 96], Operations: ['39-38=1', '96*1=96'] Exploring Operation: 96-36=60, Resulting Numbers: [60] 60,66 unequal: No Solution Exploring Operation: 36+96=132, Resulting Numbers: [132] 132,66 unequal: No Solution Exploring Operation: 36*96=3456, Resulting Numbers: [3456] 3456,66 unequal: No Solution Moving to Node #0,2,1 Current State: 66:[36, 96], Operations: ['39-38=1', '96/1=96'] Exploring Operation: 96-36=60, Resulting Numbers: [60] 60,66 unequal: No Solution Exploring Operation: 36+96=132, Resulting Numbers: [132] 132,66 unequal: No Solution Exploring Operation: 36*96=3456, Resulting Numbers: [3456] 3456,66 unequal: No Solution Moving to Node #0,4,0 Current State: 66:[36, 97], Operations: ['96-38=58', '39+58=97'] Exploring Operation: 36+97=133, Resulting Numbers: [133] 133,66 unequal: No Solution Exploring Operation: 97-36=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 36*97=3492, Resulting Numbers: [3492] 3492,66 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 87, 82, 83, 43 ]
90
[ "87-83=4", "43*4=172", "172-82=90" ]
Current State: 90:[87, 82, 83, 43], Operations: [] Exploring Operation: 87-83=4, Resulting Numbers: [82, 43, 4] Generated Node #2: [82, 43, 4] from Operation: 87-83=4 Current State: 90:[82, 43, 4], Operations: ['87-83=4'] Exploring Operation: 43*4=172, Resulting Numbers: [82, 172] Generated Node #3: [82, 172] from Operation: 43*4=172 Current State: 90:[82, 172], Operations: ['87-83=4', '43*4=172'] Exploring Operation: 172-82=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[87, 82, 83, 43], Operations: [] Exploring Operation: 87-82=5, Resulting Numbers: [83, 43, 5] Generated Node #0,0: 90:[83, 43, 5] Operation: 87-82=5 Exploring Operation: 87-83=4, Resulting Numbers: [82, 43, 4] Generated Node #0,1: 90:[82, 43, 4] Operation: 87-83=4 Exploring Operation: 83-82=1, Resulting Numbers: [87, 43, 1] Generated Node #0,2: 90:[87, 43, 1] Operation: 83-82=1 Moving to Node #0,2 Current State: 90:[87, 43, 1], Operations: ['83-82=1'] Exploring Operation: 43+1=44, Resulting Numbers: [87, 44] Generated Node #0,2,0: 90:[87, 44] Operation: 43+1=44 Exploring Operation: 87+1=88, Resulting Numbers: [43, 88] Generated Node #0,2,1: 90:[43, 88] Operation: 87+1=88 Exploring Operation: 87-43=44, Resulting Numbers: [1, 44] Generated Node #0,2,2: 90:[1, 44] Operation: 87-43=44 Moving to Node #0,0 Current State: 90:[83, 43, 5], Operations: ['87-82=5'] Exploring Operation: 83-43=40, Resulting Numbers: [5, 40] Generated Node #0,0,0: 90:[5, 40] Operation: 83-43=40 Exploring Operation: 83+5=88, Resulting Numbers: [43, 88] Generated Node #0,0,1: 90:[43, 88] Operation: 83+5=88 Exploring Operation: 43+5=48, Resulting Numbers: [83, 48] Generated Node #0,0,2: 90:[83, 48] Operation: 43+5=48 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[43, 88], Operations: ['87-82=5', '83+5=88'] Exploring Operation: 88-43=45, Resulting Numbers: [45] 45,90 unequal: No Solution Exploring Operation: 43*88=3784, Resulting Numbers: [3784] 3784,90 unequal: No Solution Exploring Operation: 43+88=131, Resulting Numbers: [131] 131,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,0 Current State: 90:[5, 40], Operations: ['87-82=5', '83-43=40'] Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,90 unequal: No Solution Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,90 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,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,2 Current State: 90:[83, 48], Operations: ['87-82=5', '43+5=48'] Exploring Operation: 83+48=131, Resulting Numbers: [131] 131,90 unequal: No Solution Exploring Operation: 83*48=3984, Resulting Numbers: [3984] 3984,90 unequal: No Solution Exploring Operation: 83-48=35, Resulting Numbers: [35] 35,90 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: 90:[82, 43, 4], Operations: ['87-83=4'] Exploring Operation: 82+4=86, Resulting Numbers: [43, 86] Generated Node #0,1,0: 90:[43, 86] Operation: 82+4=86 Exploring Operation: 82-43=39, Resulting Numbers: [4, 39] Generated Node #0,1,1: 90:[4, 39] Operation: 82-43=39 Exploring Operation: 43+4=47, Resulting Numbers: [82, 47] Generated Node #0,1,2: 90:[82, 47] Operation: 43+4=47 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[43, 86], Operations: ['87-83=4', '82+4=86'] Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,90 unequal: No Solution Exploring Operation: 86/43=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 43+86=129, Resulting Numbers: [129] 129,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[4, 39], Operations: ['87-83=4', '82-43=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,90 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,90 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 90:[82, 47], Operations: ['87-83=4', '43+4=47'] Exploring Operation: 82*47=3854, Resulting Numbers: [3854] 3854,90 unequal: No Solution Exploring Operation: 82+47=129, Resulting Numbers: [129] 129,90 unequal: No Solution Exploring Operation: 82-47=35, Resulting Numbers: [35] 35,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 90:[1, 44], Operations: ['83-82=1', '87-43=44'] Exploring Operation: 1*44=44, Resulting Numbers: [44] 44,90 unequal: No Solution Exploring Operation: 1+44=45, Resulting Numbers: [45] 45,90 unequal: No Solution Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[87, 44], Operations: ['83-82=1', '43+1=44'] Exploring Operation: 87*44=3828, Resulting Numbers: [3828] 3828,90 unequal: No Solution Exploring Operation: 87-44=43, Resulting Numbers: [43] 43,90 unequal: No Solution Exploring Operation: 87+44=131, Resulting Numbers: [131] 131,90 unequal: No Solution Moving to Node #0,2,1 Current State: 90:[43, 88], Operations: ['83-82=1', '87+1=88'] Exploring Operation: 43*88=3784, Resulting Numbers: [3784] 3784,90 unequal: No Solution Exploring Operation: 43+88=131, Resulting Numbers: [131] 131,90 unequal: No Solution Exploring Operation: 88-43=45, Resulting Numbers: [45] 45,90 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 78, 9, 95, 10 ]
36
[ "78-9=69", "95+10=105", "105-69=36" ]
Current State: 36:[78, 9, 95, 10], Operations: [] Exploring Operation: 78-9=69, Resulting Numbers: [95, 10, 69] Generated Node #2: [95, 10, 69] from Operation: 78-9=69 Current State: 36:[95, 10, 69], Operations: ['78-9=69'] Exploring Operation: 95+10=105, Resulting Numbers: [69, 105] Generated Node #3: [69, 105] from Operation: 95+10=105 Current State: 36:[69, 105], Operations: ['78-9=69', '95+10=105'] Exploring Operation: 105-69=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[78, 9, 95, 10], Operations: [] Exploring Operation: 95-10=85, Resulting Numbers: [78, 9, 85] Generated Node #0,0: 36:[78, 9, 85] Operation: 95-10=85 Exploring Operation: 78-10=68, Resulting Numbers: [9, 95, 68] Generated Node #0,1: 36:[9, 95, 68] Operation: 78-10=68 Exploring Operation: 95-78=17, Resulting Numbers: [9, 10, 17] Generated Node #0,2: 36:[9, 10, 17] Operation: 95-78=17 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[9, 10, 17], Operations: ['95-78=17'] Exploring Operation: 9+10=19, Resulting Numbers: [17, 19] Generated Node #0,2,0: 36:[17, 19] Operation: 9+10=19 Exploring Operation: 17-10=7, Resulting Numbers: [9, 7] Generated Node #0,2,1: 36:[9, 7] Operation: 17-10=7 Exploring Operation: 10-9=1, Resulting Numbers: [17, 1] Generated Node #0,2,2: 36:[17, 1] Operation: 10-9=1 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 36:[9, 7], Operations: ['95-78=17', '17-10=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 36:[17, 19], Operations: ['95-78=17', '9+10=19'] Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[78, 9, 95, 10], Operations: [] Exploring Operation: 95-78=17, Resulting Numbers: [9, 10, 17] Generated Node #0,2: 36:[9, 10, 17] Operation: 95-78=17 Moving to Node #0,2 Current State: 36:[9, 10, 17], Operations: ['95-78=17'] Exploring Operation: 9+10=19, Resulting Numbers: [17, 19] Generated Node #0,2,0: 36:[17, 19] Operation: 9+10=19 Moving to Node #0,2,0 Current State: 36:[17, 19], Operations: ['95-78=17', '9+10=19'] Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 3, 71, 58, 5 ]
24
[ "71-58=13", "13-5=8", "3*8=24" ]
Current State: 24:[3, 71, 58, 5], Operations: [] Exploring Operation: 71-58=13, Resulting Numbers: [3, 5, 13] Generated Node #2: [3, 5, 13] from Operation: 71-58=13 Current State: 24:[3, 5, 13], Operations: ['71-58=13'] Exploring Operation: 13-5=8, Resulting Numbers: [3, 8] Generated Node #3: [3, 8] from Operation: 13-5=8 Current State: 24:[3, 8], Operations: ['71-58=13', '13-5=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[3, 71, 58, 5], Operations: [] Exploring Operation: 58-5=53, Resulting Numbers: [3, 71, 53] Generated Node #0,0: 24:[3, 71, 53] Operation: 58-5=53 Exploring Operation: 71-58=13, Resulting Numbers: [3, 5, 13] Generated Node #0,1: 24:[3, 5, 13] Operation: 71-58=13 Exploring Operation: 71-5=66, Resulting Numbers: [3, 58, 66] Generated Node #0,2: 24:[3, 58, 66] Operation: 71-5=66 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[3, 5, 13], Operations: ['71-58=13'] Exploring Operation: 5-3=2, Resulting Numbers: [13, 2] Generated Node #0,1,0: 24:[13, 2] Operation: 5-3=2 Exploring Operation: 3+5=8, Resulting Numbers: [13, 8] Generated Node #0,1,1: 24:[13, 8] Operation: 3+5=8 Exploring Operation: 13-5=8, Resulting Numbers: [3, 8] Generated Node #0,1,2: 24:[3, 8] Operation: 13-5=8 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 24:[3, 8], Operations: ['71-58=13', '13-5=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[3, 71, 58, 5], Operations: [] Exploring Operation: 71-58=13, Resulting Numbers: [3, 5, 13] Generated Node #0,1: 24:[3, 5, 13] Operation: 71-58=13 Moving to Node #0,1 Current State: 24:[3, 5, 13], Operations: ['71-58=13'] Exploring Operation: 13-5=8, Resulting Numbers: [3, 8] Generated Node #0,1,2: 24:[3, 8] Operation: 13-5=8 Moving to Node #0,1,2 Current State: 24:[3, 8], Operations: ['71-58=13', '13-5=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 67, 54, 2, 75 ]
98
[ "67+54=121", "75+121=196", "196/2=98" ]
Current State: 98:[67, 54, 2, 75], Operations: [] Exploring Operation: 67+54=121, Resulting Numbers: [2, 75, 121] Generated Node #2: [2, 75, 121] from Operation: 67+54=121 Current State: 98:[2, 75, 121], Operations: ['67+54=121'] Exploring Operation: 75+121=196, Resulting Numbers: [2, 196] Generated Node #3: [2, 196] from Operation: 75+121=196 Current State: 98:[2, 196], Operations: ['67+54=121', '75+121=196'] Exploring Operation: 196/2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[67, 54, 2, 75], Operations: [] Exploring Operation: 75-67=8, Resulting Numbers: [54, 2, 8] Generated Node #0,0: 98:[54, 2, 8] Operation: 75-67=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[54, 2, 8], Operations: ['75-67=8'] Exploring Operation: 54-8=46, Resulting Numbers: [2, 46] Generated Node #0,0,0: 98:[2, 46] Operation: 54-8=46 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[2, 46], Operations: ['75-67=8', '54-8=46'] Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 99, 69, 78, 79 ]
11
[ "99+69=168", "78+79=157", "168-157=11" ]
Current State: 11:[99, 69, 78, 79], Operations: [] Exploring Operation: 99+69=168, Resulting Numbers: [78, 79, 168] Generated Node #2: [78, 79, 168] from Operation: 99+69=168 Current State: 11:[78, 79, 168], Operations: ['99+69=168'] Exploring Operation: 78+79=157, Resulting Numbers: [168, 157] Generated Node #3: [168, 157] from Operation: 78+79=157 Current State: 11:[168, 157], Operations: ['99+69=168', '78+79=157'] Exploring Operation: 168-157=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[99, 69, 78, 79], Operations: [] Exploring Operation: 99-79=20, Resulting Numbers: [69, 78, 20] Generated Node #0,0: 11:[69, 78, 20] Operation: 99-79=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[69, 78, 20], Operations: ['99-79=20'] Exploring Operation: 78-69=9, Resulting Numbers: [20, 9] Generated Node #0,0,0: 11:[20, 9] Operation: 78-69=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[20, 9], Operations: ['99-79=20', '78-69=9'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[99, 69, 78, 79], Operations: [] Exploring Operation: 99-79=20, Resulting Numbers: [69, 78, 20] Generated Node #0,0: 11:[69, 78, 20] Operation: 99-79=20 Moving to Node #0,0 Current State: 11:[69, 78, 20], Operations: ['99-79=20'] Exploring Operation: 78-69=9, Resulting Numbers: [20, 9] Generated Node #0,0,0: 11:[20, 9] Operation: 78-69=9 Moving to Node #0,0,0 Current State: 11:[20, 9], Operations: ['99-79=20', '78-69=9'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 4, 85, 72, 37 ]
55
[ "72-37=35", "4*35=140", "140-85=55" ]
Current State: 55:[4, 85, 72, 37], Operations: [] Exploring Operation: 72-37=35, Resulting Numbers: [4, 85, 35] Generated Node #2: [4, 85, 35] from Operation: 72-37=35 Current State: 55:[4, 85, 35], Operations: ['72-37=35'] Exploring Operation: 4*35=140, Resulting Numbers: [85, 140] Generated Node #3: [85, 140] from Operation: 4*35=140 Current State: 55:[85, 140], Operations: ['72-37=35', '4*35=140'] Exploring Operation: 140-85=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[4, 85, 72, 37], Operations: [] Exploring Operation: 85-37=48, Resulting Numbers: [4, 72, 48] Generated Node #0,0: 55:[4, 72, 48] Operation: 85-37=48 Exploring Operation: 85-72=13, Resulting Numbers: [4, 37, 13] Generated Node #0,1: 55:[4, 37, 13] Operation: 85-72=13 Exploring Operation: 72-37=35, Resulting Numbers: [4, 85, 35] Generated Node #0,2: 55:[4, 85, 35] Operation: 72-37=35 Moving to Node #0,1 Current State: 55:[4, 37, 13], Operations: ['85-72=13'] Exploring Operation: 37+13=50, Resulting Numbers: [4, 50] Generated Node #0,1,0: 55:[4, 50] Operation: 37+13=50 Exploring Operation: 37-13=24, Resulting Numbers: [4, 24] Generated Node #0,1,1: 55:[4, 24] Operation: 37-13=24 Exploring Operation: 4+37=41, Resulting Numbers: [13, 41] Generated Node #0,1,2: 55:[13, 41] Operation: 4+37=41 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[4, 50], Operations: ['85-72=13', '37+13=50'] Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 4*50=200, Resulting Numbers: [200] 200,55 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,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,1 Current State: 55:[4, 24], Operations: ['85-72=13', '37-13=24'] Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,55 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,55 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,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,2 Current State: 55:[13, 41], Operations: ['85-72=13', '4+37=41'] Exploring Operation: 13+41=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,55 unequal: No Solution Exploring Operation: 13*41=533, Resulting Numbers: [533] 533,55 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: 55:[4, 72, 48], Operations: ['85-37=48'] Exploring Operation: 72-48=24, Resulting Numbers: [4, 24] Generated Node #0,0,0: 55:[4, 24] Operation: 72-48=24 Exploring Operation: 72/4=18, Resulting Numbers: [48, 18] Generated Node #0,0,1: 55:[48, 18] Operation: 72/4=18 Exploring Operation: 48/4=12, Resulting Numbers: [72, 12] Generated Node #0,0,2: 55:[72, 12] Operation: 48/4=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[4, 24], Operations: ['85-37=48', '72-48=24'] Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,55 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,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,0,1 Current State: 55:[48, 18], Operations: ['85-37=48', '72/4=18'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 48+18=66, Resulting Numbers: [66] 66,55 unequal: No Solution Exploring Operation: 48*18=864, Resulting Numbers: [864] 864,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,0,2 Current State: 55:[72, 12], Operations: ['85-37=48', '48/4=12'] Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 72+12=84, Resulting Numbers: [84] 84,55 unequal: No Solution Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,55 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: 55:[4, 85, 35], Operations: ['72-37=35'] Exploring Operation: 85-35=50, Resulting Numbers: [4, 50] Generated Node #0,2,0: 55:[4, 50] Operation: 85-35=50 Exploring Operation: 85-4=81, Resulting Numbers: [35, 81] Generated Node #0,2,1: 55:[35, 81] Operation: 85-4=81 Exploring Operation: 4+35=39, Resulting Numbers: [85, 39] Generated Node #0,2,2: 55:[85, 39] Operation: 4+35=39 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 55:[4, 50], Operations: ['72-37=35', '85-35=50'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,55 unequal: No Solution Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 4*50=200, Resulting Numbers: [200] 200,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 55:[35, 81], Operations: ['72-37=35', '85-4=81'] Exploring Operation: 81-35=46, Resulting Numbers: [46] 46,55 unequal: No Solution Exploring Operation: 35+81=116, Resulting Numbers: [116] 116,55 unequal: No Solution Exploring Operation: 35*81=2835, Resulting Numbers: [2835] 2835,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 55:[85, 39], Operations: ['72-37=35', '4+35=39'] Exploring Operation: 85*39=3315, Resulting Numbers: [3315] 3315,55 unequal: No Solution Exploring Operation: 85-39=46, Resulting Numbers: [46] 46,55 unequal: No Solution Exploring Operation: 85+39=124, Resulting Numbers: [124] 124,55 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
[ 10, 7, 3, 38 ]
78
[ "7-3=4", "10*4=40", "38+40=78" ]
Current State: 78:[10, 7, 3, 38], Operations: [] Exploring Operation: 7-3=4, Resulting Numbers: [10, 38, 4] Generated Node #2: [10, 38, 4] from Operation: 7-3=4 Current State: 78:[10, 38, 4], Operations: ['7-3=4'] Exploring Operation: 10*4=40, Resulting Numbers: [38, 40] Generated Node #3: [38, 40] from Operation: 10*4=40 Current State: 78:[38, 40], Operations: ['7-3=4', '10*4=40'] Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[10, 7, 3, 38], Operations: [] Exploring Operation: 10+3=13, Resulting Numbers: [7, 38, 13] Generated Node #0,0: 78:[7, 38, 13] Operation: 10+3=13 Exploring Operation: 10-7=3, Resulting Numbers: [3, 38, 3] Generated Node #0,1: 78:[3, 38, 3] Operation: 10-7=3 Exploring Operation: 10-3=7, Resulting Numbers: [7, 38, 7] Generated Node #0,2: 78:[7, 38, 7] Operation: 10-3=7 Exploring Operation: 10+7=17, Resulting Numbers: [3, 38, 17] Generated Node #0,3: 78:[3, 38, 17] Operation: 10+7=17 Exploring Operation: 38-10=28, Resulting Numbers: [7, 3, 28] Generated Node #0,4: 78:[7, 3, 28] Operation: 38-10=28 Moving to Node #0,1 Current State: 78:[3, 38, 3], Operations: ['10-7=3'] Exploring Operation: 38+3=41, Resulting Numbers: [3, 41] Generated Node #0,1,0: 78:[3, 41] Operation: 38+3=41 Exploring Operation: 3-3=0, Resulting Numbers: [38, 0] Generated Node #0,1,1: 78:[38, 0] Operation: 3-3=0 Exploring Operation: 3+38=41, Resulting Numbers: [3, 41] Generated Node #0,1,2: 78:[3, 41] Operation: 3+38=41 Exploring Operation: 3/3=1, Resulting Numbers: [38, 1] Generated Node #0,1,3: 78:[38, 1] Operation: 3/3=1 Exploring Operation: 3+3=6, Resulting Numbers: [38, 6] Generated Node #0,1,4: 78:[38, 6] Operation: 3+3=6 Moving to Node #0,0 Current State: 78:[7, 38, 13], Operations: ['10+3=13'] Exploring Operation: 7+13=20, Resulting Numbers: [38, 20] Generated Node #0,0,0: 78:[38, 20] Operation: 7+13=20 Exploring Operation: 13-7=6, Resulting Numbers: [38, 6] Generated Node #0,0,1: 78:[38, 6] Operation: 13-7=6 Exploring Operation: 7+38=45, Resulting Numbers: [13, 45] Generated Node #0,0,2: 78:[13, 45] Operation: 7+38=45 Exploring Operation: 38-13=25, Resulting Numbers: [7, 25] Generated Node #0,0,3: 78:[7, 25] Operation: 38-13=25 Exploring Operation: 38-7=31, Resulting Numbers: [13, 31] Generated Node #0,0,4: 78:[13, 31] Operation: 38-7=31 Moving to Node #0,2 Current State: 78:[7, 38, 7], Operations: ['10-3=7'] Exploring Operation: 7-7=0, Resulting Numbers: [38, 0] Generated Node #0,2,0: 78:[38, 0] Operation: 7-7=0 Exploring Operation: 38-7=31, Resulting Numbers: [7, 31] Generated Node #0,2,1: 78:[7, 31] Operation: 38-7=31 Exploring Operation: 38-7=31, Resulting Numbers: [7, 31] Generated Node #0,2,2: 78:[7, 31] Operation: 38-7=31 Exploring Operation: 7+7=14, Resulting Numbers: [38, 14] Generated Node #0,2,3: 78:[38, 14] Operation: 7+7=14 Exploring Operation: 7/7=1, Resulting Numbers: [38, 1] Generated Node #0,2,4: 78:[38, 1] Operation: 7/7=1 Moving to Node #0,4 Current State: 78:[7, 3, 28], Operations: ['38-10=28'] Exploring Operation: 7+28=35, Resulting Numbers: [3, 35] Generated Node #0,4,0: 78:[3, 35] Operation: 7+28=35 Exploring Operation: 28-3=25, Resulting Numbers: [7, 25] Generated Node #0,4,1: 78:[7, 25] Operation: 28-3=25 Exploring Operation: 28/7=4, Resulting Numbers: [3, 4] Generated Node #0,4,2: 78:[3, 4] Operation: 28/7=4 Exploring Operation: 7-3=4, Resulting Numbers: [28, 4] Generated Node #0,4,3: 78:[28, 4] Operation: 7-3=4 Exploring Operation: 7+3=10, Resulting Numbers: [28, 10] Generated Node #0,4,4: 78:[28, 10] Operation: 7+3=10 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 78:[3, 4], Operations: ['38-10=28', '28/7=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,78 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 78:[7, 25], Operations: ['38-10=28', '28-3=25'] Exploring Operation: 7+25=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,78 unequal: No Solution Exploring Operation: 7*25=175, Resulting Numbers: [175] 175,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 78:[28, 4], Operations: ['38-10=28', '7-3=4'] Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 28*4=112, Resulting Numbers: [112] 112,78 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 78:[3, 35], Operations: ['38-10=28', '7+28=35'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 78:[28, 10], Operations: ['38-10=28', '7+3=10'] Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,78 unequal: No Solution Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 28*10=280, Resulting Numbers: [280] 280,78 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: 78:[3, 38, 17], Operations: ['10+7=17'] Exploring Operation: 3+17=20, Resulting Numbers: [38, 20] Generated Node #0,3,0: 78:[38, 20] Operation: 3+17=20 Exploring Operation: 17-3=14, Resulting Numbers: [38, 14] Generated Node #0,3,1: 78:[38, 14] Operation: 17-3=14 Exploring Operation: 3+38=41, Resulting Numbers: [17, 41] Generated Node #0,3,2: 78:[17, 41] Operation: 3+38=41 Exploring Operation: 38-17=21, Resulting Numbers: [3, 21] Generated Node #0,3,3: 78:[3, 21] Operation: 38-17=21 Exploring Operation: 38-3=35, Resulting Numbers: [17, 35] Generated Node #0,3,4: 78:[17, 35] Operation: 38-3=35 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 78:[38, 14], Operations: ['10+7=17', '17-3=14'] Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,78 unequal: No Solution Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,78 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 78:[3, 21], Operations: ['10+7=17', '38-17=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,78 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,78 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 78:[17, 41], Operations: ['10+7=17', '3+38=41'] Exploring Operation: 17*41=697, Resulting Numbers: [697] 697,78 unequal: No Solution Exploring Operation: 17+41=58, Resulting Numbers: [58] 58,78 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 78:[38, 20], Operations: ['10+7=17', '3+17=20'] Exploring Operation: 38*20=760, Resulting Numbers: [760] 760,78 unequal: No Solution Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,78 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 78:[17, 35], Operations: ['10+7=17', '38-3=35'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,78 unequal: No Solution Exploring Operation: 17+35=52, Resulting Numbers: [52] 52,78 unequal: No Solution Exploring Operation: 17*35=595, Resulting Numbers: [595] 595,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,4 Current State: 78:[38, 6], Operations: ['10-7=3', '3+3=6'] Exploring Operation: 38*6=228, Resulting Numbers: [228] 228,78 unequal: No Solution Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,78 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[38, 6], Operations: ['10+3=13', '13-7=6'] Exploring Operation: 38*6=228, Resulting Numbers: [228] 228,78 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,78 unequal: No Solution Moving to Node #0,0,3 Current State: 78:[7, 25], Operations: ['10+3=13', '38-13=25'] Exploring Operation: 7*25=175, Resulting Numbers: [175] 175,78 unequal: No Solution Exploring Operation: 7+25=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[3, 41], Operations: ['10-7=3', '3+38=41'] Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,78 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,78 unequal: No Solution Moving to Node #0,2,4 Current State: 78:[38, 1], Operations: ['10-3=7', '7/7=1'] Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 38+1=39, Resulting Numbers: [39] 39,78 unequal: No Solution Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[3, 41], Operations: ['10-7=3', '38+3=41'] Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,78 unequal: No Solution Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,78 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,78 unequal: No Solution Moving to Node #0,2,3 Current State: 78:[38, 14], Operations: ['10-3=7', '7+7=14'] Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,78 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,78 unequal: No Solution Moving to Node #0,1,3 Current State: 78:[38, 1], Operations: ['10-7=3', '3/3=1'] Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 38+1=39, Resulting Numbers: [39] 39,78 unequal: No Solution Moving to Node #0,2,0 Current State: 78:[38, 0], Operations: ['10-3=7', '7-7=0'] Exploring Operation: 38-0=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 38*0=0, Resulting Numbers: [0] 0,78 unequal: No Solution Exploring Operation: 38+0=38, Resulting Numbers: [38] 38,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[38, 0], Operations: ['10-7=3', '3-3=0'] Exploring Operation: 38-0=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 38+0=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 38*0=0, Resulting Numbers: [0] 0,78 unequal: No Solution Moving to Node #0,0,4 Current State: 78:[13, 31], Operations: ['10+3=13', '38-7=31'] Exploring Operation: 13*31=403, Resulting Numbers: [403] 403,78 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,78 unequal: No Solution Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[7, 31], Operations: ['10-3=7', '38-7=31'] Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 7*31=217, Resulting Numbers: [217] 217,78 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,78 unequal: No Solution Moving to Node #0,2,2 Current State: 78:[7, 31], Operations: ['10-3=7', '38-7=31'] Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 7*31=217, Resulting Numbers: [217] 217,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[13, 45], Operations: ['10+3=13', '7+38=45'] Exploring Operation: 13+45=58, Resulting Numbers: [58] 58,78 unequal: No Solution Exploring Operation: 13*45=585, Resulting Numbers: [585] 585,78 unequal: No Solution Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[38, 20], Operations: ['10+3=13', '7+13=20'] Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,78 unequal: No Solution Exploring Operation: 38*20=760, Resulting Numbers: [760] 760,78 unequal: No Solution Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,78 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 32, 22, 9, 68 ]
23
[ "32+22=54", "9+68=77", "77-54=23" ]
Current State: 23:[32, 22, 9, 68], Operations: [] Exploring Operation: 32+22=54, Resulting Numbers: [9, 68, 54] Generated Node #2: [9, 68, 54] from Operation: 32+22=54 Current State: 23:[9, 68, 54], Operations: ['32+22=54'] Exploring Operation: 9+68=77, Resulting Numbers: [54, 77] Generated Node #3: [54, 77] from Operation: 9+68=77 Current State: 23:[54, 77], Operations: ['32+22=54', '9+68=77'] Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[32, 22, 9, 68], Operations: [] Exploring Operation: 32-9=23, Resulting Numbers: [22, 68, 23] Generated Node #0,0: 23:[22, 68, 23] Operation: 32-9=23 Exploring Operation: 68-32=36, Resulting Numbers: [22, 9, 36] Generated Node #0,1: 23:[22, 9, 36] Operation: 68-32=36 Moving to Node #0,1 Current State: 23:[22, 9, 36], Operations: ['68-32=36'] Exploring Operation: 36/9=4, Resulting Numbers: [22, 4] Generated Node #0,1,0: 23:[22, 4] Operation: 36/9=4 Exploring Operation: 36-9=27, Resulting Numbers: [22, 27] Generated Node #0,1,1: 23:[22, 27] Operation: 36-9=27 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[22, 27], Operations: ['68-32=36', '36-9=27'] Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,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:[22, 4], Operations: ['68-32=36', '36/9=4'] Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,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:[22, 68, 23], Operations: ['32-9=23'] Exploring Operation: 68-23=45, Resulting Numbers: [22, 45] Generated Node #0,0,0: 23:[22, 45] Operation: 68-23=45 Exploring Operation: 68-22=46, Resulting Numbers: [23, 46] Generated Node #0,0,1: 23:[23, 46] Operation: 68-22=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[22, 45], Operations: ['32-9=23', '68-23=45'] Exploring Operation: 22+45=67, Resulting Numbers: [67] 67,23 unequal: No Solution Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[32, 22, 9, 68], Operations: [] Exploring Operation: 32-9=23, Resulting Numbers: [22, 68, 23] Generated Node #0,0: 23:[22, 68, 23] Operation: 32-9=23 Moving to Node #0,0 Current State: 23:[22, 68, 23], Operations: ['32-9=23'] Exploring Operation: 68-23=45, Resulting Numbers: [22, 45] Generated Node #0,0,0: 23:[22, 45] Operation: 68-23=45 Moving to Node #0,0,0 Current State: 23:[22, 45], Operations: ['32-9=23', '68-23=45'] Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 56, 98, 5, 17 ]
64
[ "98-56=42", "5+17=22", "42+22=64" ]
Current State: 64:[56, 98, 5, 17], Operations: [] Exploring Operation: 98-56=42, Resulting Numbers: [5, 17, 42] Generated Node #2: [5, 17, 42] from Operation: 98-56=42 Current State: 64:[5, 17, 42], Operations: ['98-56=42'] Exploring Operation: 5+17=22, Resulting Numbers: [42, 22] Generated Node #3: [42, 22] from Operation: 5+17=22 Current State: 64:[42, 22], Operations: ['98-56=42', '5+17=22'] Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[56, 98, 5, 17], Operations: [] Exploring Operation: 56+5=61, Resulting Numbers: [98, 17, 61] Generated Node #0,0: 64:[98, 17, 61] Operation: 56+5=61 Exploring Operation: 98-17=81, Resulting Numbers: [56, 5, 81] Generated Node #0,1: 64:[56, 5, 81] Operation: 98-17=81 Exploring Operation: 98-5=93, Resulting Numbers: [56, 17, 93] Generated Node #0,2: 64:[56, 17, 93] Operation: 98-5=93 Exploring Operation: 98-56=42, Resulting Numbers: [5, 17, 42] Generated Node #0,3: 64:[5, 17, 42] Operation: 98-56=42 Moving to Node #0,3 Current State: 64:[5, 17, 42], Operations: ['98-56=42'] Exploring Operation: 42-5=37, Resulting Numbers: [17, 37] Generated Node #0,3,0: 64:[17, 37] Operation: 42-5=37 Exploring Operation: 17+42=59, Resulting Numbers: [5, 59] Generated Node #0,3,1: 64:[5, 59] Operation: 17+42=59 Exploring Operation: 17-5=12, Resulting Numbers: [42, 12] Generated Node #0,3,2: 64:[42, 12] Operation: 17-5=12 Exploring Operation: 42-17=25, Resulting Numbers: [5, 25] Generated Node #0,3,3: 64:[5, 25] Operation: 42-17=25 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 64:[17, 37], Operations: ['98-56=42', '42-5=37'] Exploring Operation: 17*37=629, Resulting Numbers: [629] 629,64 unequal: No Solution Exploring Operation: 17+37=54, Resulting Numbers: [54] 54,64 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,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,3,1 Current State: 64:[5, 59], Operations: ['98-56=42', '17+42=59'] Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[56, 98, 5, 17], Operations: [] Exploring Operation: 98-56=42, Resulting Numbers: [5, 17, 42] Generated Node #0,3: 64:[5, 17, 42] Operation: 98-56=42 Moving to Node #0,3 Current State: 64:[5, 17, 42], Operations: ['98-56=42'] Exploring Operation: 17+42=59, Resulting Numbers: [5, 59] Generated Node #0,3,1: 64:[5, 59] Operation: 17+42=59 Moving to Node #0,3,1 Current State: 64:[5, 59], Operations: ['98-56=42', '17+42=59'] Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 45, 63, 92, 90 ]
74
[ "45+63=108", "92+90=182", "182-108=74" ]
Current State: 74:[45, 63, 92, 90], Operations: [] Exploring Operation: 45+63=108, Resulting Numbers: [92, 90, 108] Generated Node #2: [92, 90, 108] from Operation: 45+63=108 Current State: 74:[92, 90, 108], Operations: ['45+63=108'] Exploring Operation: 92+90=182, Resulting Numbers: [108, 182] Generated Node #3: [108, 182] from Operation: 92+90=182 Current State: 74:[108, 182], Operations: ['45+63=108', '92+90=182'] Exploring Operation: 182-108=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[45, 63, 92, 90], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [63, 92, 2] Generated Node #0,0: 74:[63, 92, 2] Operation: 90/45=2 Exploring Operation: 92-90=2, Resulting Numbers: [45, 63, 2] Generated Node #0,1: 74:[45, 63, 2] Operation: 92-90=2 Exploring Operation: 90-63=27, Resulting Numbers: [45, 92, 27] Generated Node #0,2: 74:[45, 92, 27] Operation: 90-63=27 Exploring Operation: 92-45=47, Resulting Numbers: [63, 90, 47] Generated Node #0,3: 74:[63, 90, 47] Operation: 92-45=47 Exploring Operation: 92-63=29, Resulting Numbers: [45, 90, 29] Generated Node #0,4: 74:[45, 90, 29] Operation: 92-63=29 Moving to Node #0,1 Current State: 74:[45, 63, 2], Operations: ['92-90=2'] Exploring Operation: 63+2=65, Resulting Numbers: [45, 65] Generated Node #0,1,0: 74:[45, 65] Operation: 63+2=65 Exploring Operation: 45-2=43, Resulting Numbers: [63, 43] Generated Node #0,1,1: 74:[63, 43] Operation: 45-2=43 Exploring Operation: 63-2=61, Resulting Numbers: [45, 61] Generated Node #0,1,2: 74:[45, 61] Operation: 63-2=61 Exploring Operation: 45+2=47, Resulting Numbers: [63, 47] Generated Node #0,1,3: 74:[63, 47] Operation: 45+2=47 Exploring Operation: 63-45=18, Resulting Numbers: [2, 18] Generated Node #0,1,4: 74:[2, 18] Operation: 63-45=18 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 74:[2, 18], Operations: ['92-90=2', '63-45=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,74 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,74 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[45, 65], Operations: ['92-90=2', '63+2=65'] Exploring Operation: 45*65=2925, Resulting Numbers: [2925] 2925,74 unequal: No Solution Exploring Operation: 45+65=110, Resulting Numbers: [110] 110,74 unequal: No Solution Exploring Operation: 65-45=20, Resulting Numbers: [20] 20,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[63, 43], Operations: ['92-90=2', '45-2=43'] Exploring Operation: 63+43=106, Resulting Numbers: [106] 106,74 unequal: No Solution Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,74 unequal: No Solution Exploring Operation: 63*43=2709, Resulting Numbers: [2709] 2709,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[45, 61], Operations: ['92-90=2', '63-2=61'] Exploring Operation: 45+61=106, Resulting Numbers: [106] 106,74 unequal: No Solution Exploring Operation: 45*61=2745, Resulting Numbers: [2745] 2745,74 unequal: No Solution Exploring Operation: 61-45=16, Resulting Numbers: [16] 16,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 74:[63, 47], Operations: ['92-90=2', '45+2=47'] Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 63+47=110, Resulting Numbers: [110] 110,74 unequal: No Solution Exploring Operation: 63*47=2961, Resulting Numbers: [2961] 2961,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 74:[63, 92, 2], Operations: ['90/45=2'] Exploring Operation: 63+2=65, Resulting Numbers: [92, 65] Generated Node #0,0,0: 74:[92, 65] Operation: 63+2=65 Exploring Operation: 92-63=29, Resulting Numbers: [2, 29] Generated Node #0,0,1: 74:[2, 29] Operation: 92-63=29 Exploring Operation: 92-2=90, Resulting Numbers: [63, 90] Generated Node #0,0,2: 74:[63, 90] Operation: 92-2=90 Exploring Operation: 92/2=46, Resulting Numbers: [63, 46] Generated Node #0,0,3: 74:[63, 46] Operation: 92/2=46 Exploring Operation: 63-2=61, Resulting Numbers: [92, 61] Generated Node #0,0,4: 74:[92, 61] Operation: 63-2=61 Moving to Node #0,4 Current State: 74:[45, 90, 29], Operations: ['92-63=29'] Exploring Operation: 90/45=2, Resulting Numbers: [29, 2] Generated Node #0,4,0: 74:[29, 2] Operation: 90/45=2 Exploring Operation: 90-29=61, Resulting Numbers: [45, 61] Generated Node #0,4,1: 74:[45, 61] Operation: 90-29=61 Exploring Operation: 45+29=74, Resulting Numbers: [90, 74] Generated Node #0,4,2: 74:[90, 74] Operation: 45+29=74 Exploring Operation: 90-45=45, Resulting Numbers: [29, 45] Generated Node #0,4,3: 74:[29, 45] Operation: 90-45=45 Exploring Operation: 45-29=16, Resulting Numbers: [90, 16] Generated Node #0,4,4: 74:[90, 16] Operation: 45-29=16 Moving to Node #0,2 Current State: 74:[45, 92, 27], Operations: ['90-63=27'] Exploring Operation: 92+27=119, Resulting Numbers: [45, 119] Generated Node #0,2,0: 74:[45, 119] Operation: 92+27=119 Exploring Operation: 45+27=72, Resulting Numbers: [92, 72] Generated Node #0,2,1: 74:[92, 72] Operation: 45+27=72 Exploring Operation: 92-45=47, Resulting Numbers: [27, 47] Generated Node #0,2,2: 74:[27, 47] Operation: 92-45=47 Exploring Operation: 92-27=65, Resulting Numbers: [45, 65] Generated Node #0,2,3: 74:[45, 65] Operation: 92-27=65 Exploring Operation: 45-27=18, Resulting Numbers: [92, 18] Generated Node #0,2,4: 74:[92, 18] Operation: 45-27=18 Moving to Node #0,3 Current State: 74:[63, 90, 47], Operations: ['92-45=47'] Exploring Operation: 90-63=27, Resulting Numbers: [47, 27] Generated Node #0,3,0: 74:[47, 27] Operation: 90-63=27 Exploring Operation: 90-47=43, Resulting Numbers: [63, 43] Generated Node #0,3,1: 74:[63, 43] Operation: 90-47=43 Exploring Operation: 63+47=110, Resulting Numbers: [90, 110] Generated Node #0,3,2: 74:[90, 110] Operation: 63+47=110 Exploring Operation: 63-47=16, Resulting Numbers: [90, 16] Generated Node #0,3,3: 74:[90, 16] Operation: 63-47=16 Exploring Operation: 90+47=137, Resulting Numbers: [63, 137] Generated Node #0,3,4: 74:[63, 137] Operation: 90+47=137 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 74:[63, 43], Operations: ['92-45=47', '90-47=43'] Exploring Operation: 63*43=2709, Resulting Numbers: [2709] 2709,74 unequal: No Solution Exploring Operation: 63+43=106, Resulting Numbers: [106] 106,74 unequal: No Solution Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 74:[47, 27], Operations: ['92-45=47', '90-63=27'] Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,74 unequal: No Solution Exploring Operation: 47*27=1269, Resulting Numbers: [1269] 1269,74 unequal: No Solution Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[45, 63, 92, 90], Operations: [] Exploring Operation: 92-45=47, Resulting Numbers: [63, 90, 47] Generated Node #0,3: 74:[63, 90, 47] Operation: 92-45=47 Moving to Node #0,3 Current State: 74:[63, 90, 47], Operations: ['92-45=47'] Exploring Operation: 90-63=27, Resulting Numbers: [47, 27] Generated Node #0,3,0: 74:[47, 27] Operation: 90-63=27 Moving to Node #0,3,0 Current State: 74:[47, 27], Operations: ['92-45=47', '90-63=27'] Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.951389
hs_5
sum_heuristic
[ 42, 86, 46, 23 ]
25
[ "86-42=44", "46+23=69", "69-44=25" ]
Current State: 25:[42, 86, 46, 23], Operations: [] Exploring Operation: 86-42=44, Resulting Numbers: [46, 23, 44] Generated Node #2: [46, 23, 44] from Operation: 86-42=44 Current State: 25:[46, 23, 44], Operations: ['86-42=44'] Exploring Operation: 46+23=69, Resulting Numbers: [44, 69] Generated Node #3: [44, 69] from Operation: 46+23=69 Current State: 25:[44, 69], Operations: ['86-42=44', '46+23=69'] Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[42, 86, 46, 23], Operations: [] Exploring Operation: 86-42=44, Resulting Numbers: [46, 23, 44] Generated Node #0,0: 25:[46, 23, 44] Operation: 86-42=44 Exploring Operation: 86-46=40, Resulting Numbers: [42, 23, 40] Generated Node #0,1: 25:[42, 23, 40] Operation: 86-46=40 Moving to Node #0,1 Current State: 25:[42, 23, 40], Operations: ['86-46=40'] Exploring Operation: 42-40=2, Resulting Numbers: [23, 2] Generated Node #0,1,0: 25:[23, 2] Operation: 42-40=2 Exploring Operation: 42-23=19, Resulting Numbers: [40, 19] Generated Node #0,1,1: 25:[40, 19] Operation: 42-23=19 Moving to Node #0,0 Current State: 25:[46, 23, 44], Operations: ['86-42=44'] Exploring Operation: 46-44=2, Resulting Numbers: [23, 2] Generated Node #0,0,0: 25:[23, 2] Operation: 46-44=2 Exploring Operation: 46-23=23, Resulting Numbers: [44, 23] Generated Node #0,0,1: 25:[44, 23] Operation: 46-23=23 Moving to Node #0,1,0 Current State: 25:[23, 2], Operations: ['86-46=40', '42-40=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,25 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[42, 86, 46, 23], Operations: [] Exploring Operation: 86-46=40, Resulting Numbers: [42, 23, 40] Generated Node #0,1: 25:[42, 23, 40] Operation: 86-46=40 Moving to Node #0,1 Current State: 25:[42, 23, 40], Operations: ['86-46=40'] Exploring Operation: 42-40=2, Resulting Numbers: [23, 2] Generated Node #0,1,0: 25:[23, 2] Operation: 42-40=2 Moving to Node #0,1,0 Current State: 25:[23, 2], Operations: ['86-46=40', '42-40=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 45, 45, 81, 78 ]
93
[ "45+45=90", "81-78=3", "90+3=93" ]
Current State: 93:[45, 45, 81, 78], Operations: [] Exploring Operation: 45+45=90, Resulting Numbers: [81, 78, 90] Generated Node #2: [81, 78, 90] from Operation: 45+45=90 Current State: 93:[81, 78, 90], Operations: ['45+45=90'] Exploring Operation: 81-78=3, Resulting Numbers: [90, 3] Generated Node #3: [90, 3] from Operation: 81-78=3 Current State: 93:[90, 3], Operations: ['45+45=90', '81-78=3'] Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[45, 45, 81, 78], Operations: [] Exploring Operation: 78-45=33, Resulting Numbers: [45, 81, 33] Generated Node #0,0: 93:[45, 81, 33] Operation: 78-45=33 Moving to Node #0,0 Current State: 93:[45, 81, 33], Operations: ['78-45=33'] Exploring Operation: 81-45=36, Resulting Numbers: [33, 36] Generated Node #0,0,0: 93:[33, 36] Operation: 81-45=36 Moving to Node #0,0,0 Current State: 93:[33, 36], Operations: ['78-45=33', '81-45=36'] Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,93 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 47, 73, 22, 68 ]
19
[ "73+68=141", "141/47=3", "22-3=19" ]
Current State: 19:[47, 73, 22, 68], Operations: [] Exploring Operation: 73+68=141, Resulting Numbers: [47, 22, 141] Generated Node #2: [47, 22, 141] from Operation: 73+68=141 Current State: 19:[47, 22, 141], Operations: ['73+68=141'] Exploring Operation: 141/47=3, Resulting Numbers: [22, 3] Generated Node #3: [22, 3] from Operation: 141/47=3 Current State: 19:[22, 3], Operations: ['73+68=141', '141/47=3'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[47, 73, 22, 68], Operations: [] Exploring Operation: 73-68=5, Resulting Numbers: [47, 22, 5] Generated Node #0,0: 19:[47, 22, 5] Operation: 73-68=5 Moving to Node #0,0 Current State: 19:[47, 22, 5], Operations: ['73-68=5'] Exploring Operation: 47-22=25, Resulting Numbers: [5, 25] Generated Node #0,0,0: 19:[5, 25] Operation: 47-22=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[5, 25], Operations: ['73-68=5', '47-22=25'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,19 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